11
0

13 Commits

Author SHA256 Message Date
e8418359f5 Accepting request 1229639 from editors:tree-sitter
- update to 0.23.1:
  * ci(publish): add attestations and generate parser
  * chore: generate
  * build: update bindings
  * feat: improve identifier regex
  * fix(go): correct module name
- update to 0.23.0:
  * chore: generate
  * fix: properly handle nested strings of different types inside
  * feat: support preproc warnings
  * fix(scanner): verbatim string parsing with immediate quotes
- add neovim links
- switch over to download_files service, as nothing special happens
  with the source
- add devel package

OBS-URL: https://build.opensuse.org/request/show/1229639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-c-sharp?expand=0&rev=4
2024-12-11 20:03:02 +00:00
Richard Rahl
5ab151aedd OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-c-sharp?expand=0&rev=1 2024-12-05 08:13:17 +00:00
b7e439c8d9 Accepting request 1191439 from editors
- Update to version 0.21.3:
  * fix(scanner): correct max serialization size check
  * fix: don't push verbatim interpolations to the stack early
  * fix: allow optional trailing commands in bracketed_argument_list
  * fix: verbatim content with double quotes

OBS-URL: https://build.opensuse.org/request/show/1191439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-c-sharp?expand=0&rev=3
2024-08-05 15:21:11 +00:00
Björn Bidar
785479894c - Update to version 0.21.3:
* fix(scanner): correct max serialization size check
  * fix: don't push verbatim interpolations to the stack early
  * fix: allow optional trailing commands in bracketed_argument_list
  * fix: verbatim content with double quotes

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=10
2024-08-03 15:59:10 +00:00
cad7b9a59d Accepting request 1186014 from editors
- Update to version 0.21.2:
  * fix: properly handle raw strings
  * feat: parse arguments in base lists
  * fix: add back 'base' literal to `non_lvalue_expression`
  * feat: expose literal content in the parse tree
  * fix: missing `>` in email
  * fix: correct repository field
  * fix: update node-gyp-build
  * build: update bindings and manifests
  * test: update tests
  * feat: update queries
  * feat!: rewrite the grammar to support missing features & reduce state count
  * build: update bindings
  * chore: regenerate with latest cli
  * refactor: move and flatten tests to `test/`
  * fix highlight raw_string_literal
  * Support for do and while loops named fields (#324)
  * Highlight improvements for variables
  * Remove `type` field names from simple lists and add more test cases
  * Simplify highlighting queries
  * Add `type` fields
  * Add missing operators to highlight query (#315)
  * Adjust non-parenthesized lambda parameter list
  * Change `parameters` field name in lambda expression
  * Add field names to test files
  * Remove unnecessary conflict rules (#311)
  * fix: make optional semicolons external to avoid intensive build times (#309)
  * Highlight lambda expressions with specified return values (C# 10). (#308)
  * Ensure method invocations are highlighted. (#307)
  * Fix unhandled parameter modifier combination
  * Add test case with multiple parameter modifiers on the same parameter
  * Highlight a few extra keywords. (#305)
  * Modernize and expand syntax highlighting (#304)
  * Fix grammar to handle explicitly implemented conversion operators
  * Add test case for explicitly implemented conversion operator
  * Fix grammar to handle checked operators
  * Add test case for checked operators
  * Fix grammar to handle explicitly implemented operators
  * Add test case for explicitly implemented operator
  * Fix record base type
  * Add test case for non-identifier record base type
  * Fix "logical and" Parsed as "cast + deref" While Preserving Generic Invocations (#299)
  * Add coverage for generic method invocations
  * Revert "Fix "logical and" parsed as "cast + dereference" (#294)"
  * Remove deprecated actions (#297)
  * Extract character literal contents (#296)
  * Extract string literal contents and encoding (#295)
  * Fix "logical and" parsed as "cast + dereference" (#294)
  * Fix C# raw_string_literal (#293)
  * Add test for `var` highlighting
  * Add sample generated highlight test file
  * Add syntax highlight generator
  * Adds GH tags queries (#291)
  * Add `nameof` contextual keyword test cases
  * Add `commaSep2` helper
  * Add file_sizes.txt
  * Fix implicit type and named type conflict
  * Add `var` to contextual keywords
  * Add test cases with `var` identifiers
  * Remove contextual keyword `set`, `get`, `init`, `add`, `remove`
  * Remove impossible types from object creation expression
  * Remove impossible base types for nullable and pointer types
  * Fix `scoped` as parameter type
  * Add `scoped` as a contextual keyword
  * Add test cases with `scoped` identifiers
  * Add file size checking to prevent large unintended growth (#284)
  * Remove `dynamic` and `nameof` from contextual keywords
  * Specify associativity for pointer indirection
  * Update copyright notice
  * Add test cases with `file` identifiers
  * Add missing contextual keywords to `_contextual_keywords`
  * Order contextual keywords alphabetically
  * Fix `_lvalue_expression` to include pointer indirection
  * Add test case for assignment with pointer indirection
  * Split expression rule to improve parsing conflicting input
  * Add test case for declaration parsed as expression
  * Update corpus files to match formatting of `tree-sitter test -u`
  * Align build/test/node with tree-sitter-javascript (#267)
  * Add C#11 >>> operator and >>>= assignment (#266)
  * Improve operator and operator overload coverage (#265)
  * Allow records primary constructor base to be generic (#262)
  * Add support for `scoped` types (#261)
  * Update readme to tick off file scoped types (#260)
  * Add optional lambda return type (#259)
  * Remove all precedence from type system (#256)
  * Add support for `file` scoped classes (#257)
  * Remove some unnecessary conflicts (#255)
  * Fix ambiguity between cast and parenthesized invocation (#250)
  * Add test for `ref` and `ref readonly` in `delegate` declaration (#246)
  * Add `ref`/`ref readonly` types to the type system (#251)
  * Add CSX preprocessor directives (#248)
  * Add `void` to predefined types (#249)
  * Add support for enhanced `#line` directives (#245)
  * Add support for `static` modifier on anonymous method expressions (#244)
  * First stab at raw string literals (#240)

OBS-URL: https://build.opensuse.org/request/show/1186014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-c-sharp?expand=0&rev=2
2024-07-09 18:04:16 +00:00
Björn Bidar
1457f0d1e7 Hope that's enough ram
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=8
2024-07-07 16:08:17 +00:00
Björn Bidar
6647a6172b Hope that's enough ram
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=7
2024-07-07 16:04:34 +00:00
Björn Bidar
b4745730cd Hope that's enough ram
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=6
2024-07-07 15:56:32 +00:00
Björn Bidar
08ed289f4e Hope that's enough ram
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=5
2024-07-07 15:54:09 +00:00
Björn Bidar
f326d03f97 - Update to version 0.21.2:
* fix: properly handle raw strings
  * feat: parse arguments in base lists
  * fix: add back 'base' literal to `non_lvalue_expression`
  * feat: expose literal content in the parse tree
  * fix: missing `>` in email
  * fix: correct repository field
  * fix: update node-gyp-build
  * build: update bindings and manifests
  * test: update tests
  * feat: update queries
  * feat!: rewrite the grammar to support missing features & reduce state count
  * build: update bindings
  * chore: regenerate with latest cli
  * refactor: move and flatten tests to `test/`
  * fix highlight raw_string_literal
  * Support for do and while loops named fields (#324)
  * Highlight improvements for variables
  * Remove `type` field names from simple lists and add more test cases
  * Simplify highlighting queries
  * Add `type` fields
  * Add missing operators to highlight query (#315)
  * Adjust non-parenthesized lambda parameter list
  * Change `parameters` field name in lambda expression
  * Add field names to test files
  * Remove unnecessary conflict rules (#311)
  * fix: make optional semicolons external to avoid intensive build times (#309)
  * Highlight lambda expressions with specified return values (C# 10). (#308)
  * Ensure method invocations are highlighted. (#307)
  * Fix unhandled parameter modifier combination
  * Add test case with multiple parameter modifiers on the same parameter
  * Highlight a few extra keywords. (#305)
  * Modernize and expand syntax highlighting (#304)
  * Fix grammar to handle explicitly implemented conversion operators
  * Add test case for explicitly implemented conversion operator
  * Fix grammar to handle checked operators
  * Add test case for checked operators
  * Fix grammar to handle explicitly implemented operators
  * Add test case for explicitly implemented operator
  * Fix record base type
  * Add test case for non-identifier record base type
  * Fix "logical and" Parsed as "cast + deref" While Preserving Generic Invocations (#299)
  * Add coverage for generic method invocations
  * Revert "Fix "logical and" parsed as "cast + dereference" (#294)"
  * Remove deprecated actions (#297)
  * Extract character literal contents (#296)
  * Extract string literal contents and encoding (#295)
  * Fix "logical and" parsed as "cast + dereference" (#294)
  * Fix C# raw_string_literal (#293)
  * Add test for `var` highlighting
  * Add sample generated highlight test file
  * Add syntax highlight generator
  * Adds GH tags queries (#291)
  * Add `nameof` contextual keyword test cases
  * Add `commaSep2` helper
  * Add file_sizes.txt
  * Fix implicit type and named type conflict
  * Add `var` to contextual keywords
  * Add test cases with `var` identifiers
  * Remove contextual keyword `set`, `get`, `init`, `add`, `remove`
  * Remove impossible types from object creation expression
  * Remove impossible base types for nullable and pointer types
  * Fix `scoped` as parameter type
  * Add `scoped` as a contextual keyword
  * Add test cases with `scoped` identifiers
  * Add file size checking to prevent large unintended growth (#284)
  * Remove `dynamic` and `nameof` from contextual keywords
  * Specify associativity for pointer indirection
  * Update copyright notice
  * Add test cases with `file` identifiers
  * Add missing contextual keywords to `_contextual_keywords`
  * Order contextual keywords alphabetically
  * Fix `_lvalue_expression` to include pointer indirection
  * Add test case for assignment with pointer indirection
  * Split expression rule to improve parsing conflicting input
  * Add test case for declaration parsed as expression
  * Update corpus files to match formatting of `tree-sitter test -u`
  * Align build/test/node with tree-sitter-javascript (#267)
  * Add C#11 >>> operator and >>>= assignment (#266)
  * Improve operator and operator overload coverage (#265)
  * Allow records primary constructor base to be generic (#262)
  * Add support for `scoped` types (#261)
  * Update readme to tick off file scoped types (#260)
  * Add optional lambda return type (#259)
  * Remove all precedence from type system (#256)
  * Add support for `file` scoped classes (#257)
  * Remove some unnecessary conflicts (#255)
  * Fix ambiguity between cast and parenthesized invocation (#250)
  * Add test for `ref` and `ref readonly` in `delegate` declaration (#246)
  * Add `ref`/`ref readonly` types to the type system (#251)
  * Add CSX preprocessor directives (#248)
  * Add `void` to predefined types (#249)
  * Add support for enhanced `#line` directives (#245)
  * Add support for `static` modifier on anonymous method expressions (#244)
  * First stab at raw string literals (#240)

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=4
2024-07-07 14:10:09 +00:00
347d38ef33 Accepting request 1162468 from editors
New package for tree-sitter grammar c-sharp

OBS-URL: https://build.opensuse.org/request/show/1162468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-c-sharp?expand=0&rev=1
2024-03-27 19:42:12 +00:00
Björn Bidar
5531253e26 - Also don't build on Arm 32bit as memory isn't enough for tree-sitter generate
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=2
2024-03-26 22:56:20 +00:00
Martin Pluskal
5b8819aa57 Accepting request 1161510 from home:Thaodan:editors
New package grammar for the C# language

OBS-URL: https://build.opensuse.org/request/show/1161510
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-c-sharp?expand=0&rev=1
2024-03-25 20:12:30 +00:00