Граф коммитов

186 Коммитов

Автор SHA1 Сообщение Дата
Jérôme Laban 964d652192
Merge pull request #6 from unoplatform/dev/jela/ready-to-run
feat: Add ready to run
2024-10-26 15:37:57 -04:00
Jerome Laban 31bbec583e feat: Add ready to run 2024-10-26 15:32:03 -04:00
Jerome Laban 7b316f6630 fix: Adjust padding 2024-10-26 14:29:29 -04:00
Jérôme Laban fdcda3ede2
Merge pull request #5 from unoplatform/dev/jela/net9-update
.NET 9 Update
2024-10-26 14:25:46 -04:00
Jerome Laban 8e84f5ed2b chore: Update to latest uno 2024-10-26 14:14:23 -04:00
Jerome Laban 7b438ff9ff chore: Adjust publish 2024-10-25 22:29:46 -04:00
Jerome Laban e76cbd1473 chore: Adjust output path 2024-10-25 22:18:49 -04:00
Jerome Laban b2daea961b chore: Adjust uno 2024-10-25 22:11:47 -04:00
Jerome Laban 4fd5ecdfc3 chore: Adjust tfm 2024-10-25 22:03:48 -04:00
Jerome Laban fbb0a448b6 chore: Adjust gitversion 2024-10-25 22:01:28 -04:00
Jerome Laban edfa365060 chore: Update to net9 2024-10-25 21:57:30 -04:00
Jerome Laban e18a2fb662 Merge remote-tracking branch 'kirill/main' into dev/jela/net9-update 2024-10-25 20:44:53 -04:00
Kirill Osenkov 30f7d31d98
Merge pull request #83 from KirillOsenkov/dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
2024-09-03 17:26:08 -07:00
dependabot[bot] 9a2b6b1455
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 21:43:03 +00:00
Kirill Osenkov 72bdd095d5 Fix #82
For records need to pick an overload that passes SyntaxKind
2023-09-15 13:46:20 -07:00
Kirill Osenkov 003d0974a8 Bump to Roslyn 4.7.0 2023-09-15 13:23:46 -07:00
Kirill Osenkov e08d89d25b
Create FUNDING.yml 2023-02-23 23:29:37 -07:00
Kirill Osenkov 92890f9ce8 Use Roslyn to parse literal values
Pick the right overload of SyntaxFactory.Literal() based on the parsed type of the literal. Otherwise when we interpret the tree we could have called SyntaxFactory.Literal(double) for "1UL".

Add a test for binary literal.

Fixes #78
2023-02-10 12:31:05 -08:00
Kirill Osenkov 0b90c3ed62 Add Actions pipeline to publish to Azure App Service 2022-11-25 12:49:22 -08:00
Kirill Osenkov 5ab84f282e Target net6.0 2022-11-25 12:46:04 -08:00
Kirill Osenkov 7b6913b35f Properly roundtrip numeric literals
Detect if the SyntaxFactory.Literal(X) is not enough to properly represent the source program, and switch to the full overload SyntaxFactory.Literal(string, X) in that case.

Fixes #77
2022-11-25 12:37:57 -08:00
Kirill Osenkov 40de7c62fd
Merge pull request #76 from NugetNinja/users/nugetninja/evergreen
Auto dependencies upgrade by bot.
2022-10-21 10:33:00 -07:00
Nuget Ninja c0154fcd8f Auto csproj fix and update by bot. 2022-10-22 01:10:13 +08:00
Kirill Osenkov d3425254a4 Remove empty line 2022-09-08 21:09:28 -07:00
Kirill Osenkov e7ea5141eb
Merge pull request #75 from KirillOsenkov/dependabot/nuget/src/Quoter.Web/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /src/Quoter.Web
2022-06-22 19:53:49 -07:00
dependabot[bot] 4e911f954e
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /src/Quoter.Web
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 00:15:36 +00:00
Kirill Osenkov cddf4d6000 Fix another issue with escaped characters
Don't do regular escape if we're doing verbatim escape
2021-09-15 20:14:29 -07:00
Kirill Osenkov 73dd6db872 Fix escaped characters
Use the actual C# parser to escape and unescape string literals, instead of using custom written logic that didn't take all chars into account (such as \0).

Fixes #72
2021-09-15 18:00:26 -07:00
Kirill Osenkov b0440d7df4 Use LangVersion latest 2021-09-15 17:40:37 -07:00
Kirill Osenkov 778b39bdc5 Use LanguageVersion.Preview when parsing.
Add test for NotPattern
2021-08-23 15:05:18 -07:00
Kirill Osenkov 509b0dde35 Bump Roslyn. 2021-08-23 14:28:07 -07:00
Kirill Osenkov 43c1d6455e
Merge pull request #70 from bernd5/parse_as_script
Bugfix: Invalid code generation for literals with encoded entities like line breaks or unicode code points
2021-08-21 21:09:57 -07:00
bernd b3ca5a1180 Test added 2021-08-22 01:21:40 +02:00
bernd ea356a82fd do not touch trivia handling 2021-08-21 15:28:48 +02:00
bernd edc77df569 Bugfix: Invalid code generation for literals with encoded entities like line breaks or unicode code points 2021-08-21 15:27:56 +02:00
Kirill Osenkov a89164fcdf Update to Roslyn 3.10.0-3.final 2021-05-29 18:53:28 -07:00
Kirill Osenkov 8fb4d327bc
Merge pull request #67 from bernd5/main
Allow "Parse as Script"
2021-05-06 09:24:15 -07:00
Bernd Baumanns 6493098e33 PR to fix #36 2021-05-06 13:36:42 +02:00
Kirill Osenkov dc9c6c7772 Support hex, uint, ulong, float, double and decimal literals
Fixes #66
2021-04-20 19:41:35 -07:00
Kirill Osenkov 9d8c7c28fa Extract variables. 2021-04-20 15:31:00 -07:00
Kirill Osenkov 9813e254f5 Fix whitespace. 2021-04-13 20:18:48 -07:00
Kirill Osenkov 9159f479bb
Merge pull request #64 from bernd5/csfile
"ReadyToRun"- template added (similar to LinqPad-extension)
2021-04-13 20:04:25 -07:00
Kirill Osenkov 8294b8fab3
Merge pull request #63 from bernd5/fix_identifier
Bugfix for verbatim-identifiers and contextual keywords, always-false case "value.IsMissing" removed
2021-04-13 19:59:47 -07:00
Bernd Baumanns d869d6806e apply formatting 2021-04-12 09:03:35 +02:00
Bernd Baumanns d2a3ffa9fa Usage of SyntaxFacts.GetContextualKeywordKind, rename of misleading escapedTokenValueText => tokenText 2021-04-12 08:54:25 +02:00
Bernd Baumanns d8bfd40292 simple test 2021-04-11 23:54:19 +02:00
Bernd Baumanns 36913d0c9e "ReadyToRun"- template added (similar to LinqPad-extension) 2021-04-11 23:17:41 +02:00
Bernd Baumanns 76f9da5733 Bugfix for verbatim-identifiers and contextual keywords, always-false case "value.IsMissing" removed 2021-04-11 22:24:23 +02:00
Kirill Osenkov 2ac5ddd562 Remove duplicated (unused) code. 2021-03-04 12:35:05 -08:00
Kirill Osenkov 90117a07c1 Fix Linqpad. 2021-03-04 12:02:16 -08:00