df5acfa444
Accepting request 1268905 from editors:tree-sitter
Ana Guerrero2025-04-15 14:44:49 +00:00
13055e391b
- update to 0.25.3: Full changelog: https://github.com/tree-sitter/tree-sitter/releases/tag/v0.25.3 Bug Fixes * Fixed an infinite loop that could happen in some grammars during error recovery if the end of the file was reached. * Fixed a parser-generation error where internal character set constants were given external linkage, which could cause linking errors on some platforms if multiple Tree-sitter parsers were linked into the same application. - update to 0.25.2: Full changelog: https://github.com/tree-sitter/tree-sitter/releases/tag/v0.25.2 Bug Fixes * Fixed a crash that could occur when loading WASM-compiled languages that were generated with an earlier version of the Tree-sitter CLI. * Fixed incorrect tokenization when using WASM-compiled languages, if the language's external scanner did not assign to result_symbol * Fixed an infinite loop that could occur if external scanners returned empty extra tokens
Björn Bidar
2025-04-12 23:02:32 +00:00
a2c590e295
Accepting request 1268789 from home:mvyskocil:branches:editors:tree-sitter
Björn Bidar
2025-04-12 23:02:32 +00:00
62625ea889
Accepting request 1243095 from editors:tree-sitter
Ana Guerrero2025-02-05 11:39:50 +00:00
d323fe961b
Accepting request 1243095 from editors:tree-sitter
Ana Guerrero2025-02-05 11:39:50 +00:00
79ead549eb
- update to 0.25.1: * cli: Specify abi version via env var * bindings: Correct Zig bindings to expose a language function * lib: Prevent finished_tree assertion failure * Correct build steps for WASM files * rust: Correct doc comments
Björn Bidar
2025-02-04 12:05:38 +00:00
328f174fe6
Accepting request 1242861 from home:rrahl0
Björn Bidar
2025-02-04 12:05:38 +00:00
982cf5462e
Accepting request 1238374 from editors:tree-sitter
Ana Guerrero2025-01-17 17:37:50 +00:00
4e09d1ad7c
Accepting request 1238374 from editors:tree-sitter
Ana Guerrero2025-01-17 17:37:50 +00:00
585cb90ab8
- update to 0.24.7: * lib: Use inclusive range check for non-empty nodes in next sibling computation
Richard Rahl
2025-01-17 04:23:50 +00:00
72d5a6c530
Accepting request 1238373 from home:rrahl0
Richard Rahl
2025-01-17 04:23:50 +00:00
8283d1fe55
Accepting request 1234118 from editors:tree-sitter
Ana Guerrero2025-01-02 18:19:29 +00:00
4b3a044358
Accepting request 1234118 from editors:tree-sitter
Ana Guerrero2025-01-02 18:19:29 +00:00
19e2790d8f
- update to 0.24.6: * playground: backport new playground
Richard Rahl
2024-12-31 10:04:33 +00:00
4a30825a3f
Accepting request 1234117 from home:rrahl0
Richard Rahl
2024-12-31 10:04:33 +00:00
0efa94e8b4
Accepting request 1230679 from editors:tree-sitter
Ana Guerrero2024-12-13 21:33:01 +00:00
8daeff90fa
Accepting request 1230679 from editors:tree-sitter
Ana Guerrero2024-12-13 21:33:01 +00:00
edafe9557c
Accepting request 1230678 from home:rrahl0
Richard Rahl
2024-12-13 05:09:08 +00:00
0b5ecf3c12
Accepting request 1230678 from home:rrahl0
Richard Rahl
2024-12-13 05:09:08 +00:00
8860fab65f
osc copypac from project:editors package:tree-sitter revision:36
Richard Rahl
2024-12-05 08:04:30 +00:00
53d59d0499
osc copypac from project:editors package:tree-sitter revision:36
Richard Rahl
2024-12-05 08:04:30 +00:00
e546d6b50f
Accepting request 1226339 from editors
Ana Guerrero2024-11-26 19:55:25 +00:00
c55cc2bcc3
Accepting request 1226339 from editors
Ana Guerrero2024-11-26 19:55:25 +00:00
bedc578f43
- update to 0.24.4: * loader: Add language_for_configuration * loader: Add error message when a tree-sitter.json file is invalid * node: Support single-file executables via bun build --compile * node: Update bindings when necessary * Return LanguageRef in Parser::language * bindings: Update CMakeLists.txt file * cli: Pass all fields to tree-sitter.json in init * cli: Use contains over is in warning * cmake: Use current source dir for EXISTS check * generate: Do not set the unit reduction symbol if it's in the extras array * init: Use current path if unspecified * init: Use camel name from config in missing spots * lib: Simplify edge cases with zero-width tokens * lib: Correctly fetch the node name in query errors * loader: Don't print warnings if the file is not found * loader: Improve language lookup speed * bindings: Rename cmake test target * Memory errors in wasm_store
Martin Pluskal2024-11-25 19:56:30 +00:00
5b6d7d0718
Accepting request 1217056 from editors
Ana Guerrero2024-10-23 19:09:00 +00:00
931c0429d2
Accepting request 1217056 from editors
Ana Guerrero2024-10-23 19:09:00 +00:00
e4f5a8607f
- update to 0.24.3: * build: fix incorrect variable checks * fix(lib): correct unexpected side effect in get_column when the lexer is at EOF * build(deps): bump wasmtime to v25.0.2
Martin Pluskal2024-10-22 14:43:36 +00:00
299d045aee
Accepting request 1205864 from home:rrahl0
Björn Bidar
2024-10-08 10:10:46 +00:00
41c2d78cf6
Accepting request 1201370 from editors
Ana Guerrero2024-09-18 13:26:42 +00:00
f9ec472f26
Accepting request 1201370 from editors
Ana Guerrero2024-09-18 13:26:42 +00:00
c23cd3b70c
- update to 0.23.0: * test: modernize scanner files * fix: always reset to the first language when iterating over language * feat(zig): update outdated path syntax * feat(bindings): add query constants to python * style(bindings): fix indent & line endings * feat(dsl)!: support other JS runtimes * feat(bindings): add node, python, swift tests * introduce tree-sitter-language crate for grammar crates to depend on * refactor: remove ansi_term dependency * refactor: remove difference dependency * feat: add fuzz subcommand * fix(wasm): update test * feat(lib): add ts_query_end_byte_for_pattern * fix(rust): fix new clippy warnings * feat(lib): support no_std * Reset language when resetting wasm store * docs: clean up binding & parser lists * clone wasm store engine * fix(cli): dedup preceding_auxiliary_symbols - use of ldconfig_scriptlets, and removal of the duplicate setting of buildflags
Björn Bidar
2024-09-16 08:18:59 +00:00
dfe5997412
Accepting request 1201293 from home:rrahl0
Björn Bidar
2024-09-16 08:18:59 +00:00
52b24ce6fa
Accepting request 1182974 from editors
Ana Guerrero2024-06-24 18:50:46 +00:00
6656afca92
Accepting request 1182974 from editors
Ana Guerrero2024-06-24 18:50:46 +00:00
58c82a45bb
- update to version 0.22.6: * Improve handling of serialization buffer overflows * Reverse iteration through node parents * cli: Support NO_COLOR * cli: Add test listing and allow users to parse a specific test number * grammar: Add "inherits" field if available * Correctly load field data from wasm languages * Improve error message when the tree-sitter field is malformed * Don't error out on package.json lookup errors if --no-bindings is passed * cli: Keep default cc flags in build * cli: Properly account for multi-grammar repos when using docker to build a wasm parser * generate: Don't check arbitrarily named dirs * generate: Take AsRef<Path> for the path parameter to avoid clones * highlight: Correct signature of ts_highlighter_add_language * lib: Do not return field names for extras * lib: Advance the lookahead end byte by 4 when there's an invalid code point * rust: Update README example * rust: Use unix + wasi cfg instead of not windows for fd * wasm: Correct childrenFromFieldXXX method signatures * xtask: Always bump every crate in tandem * zig: Make usable as a zig dependency * Documentation: Mention build command variables - update to version 0.22.5: * Avoid generating unused character set constants * rust: Compilation on wasm32-wasi - update to version 0.22.4: * Fix sorting of transitions within a lex state * Include 2-character ranges in array-based state transitions - update to version 0.22.3: * Add strncat to wasm stdlib
Martin Pluskal2024-06-24 08:30:10 +00:00
577039b86d
Accepting request 1182854 from home:rrahl0:branches:editors
Martin Pluskal2024-06-24 08:30:10 +00:00
ccd887b51f
Accepting request 1162836 from editors
Ana Guerrero2024-03-28 12:52:32 +00:00
684d256dab
Accepting request 1162836 from editors
Ana Guerrero2024-03-28 12:52:32 +00:00
4f0bc7765f
Accepting request 1162313 from home:Thaodan:editors
Martin Pluskal2024-03-27 08:35:27 +00:00
1f69a568bf
Accepting request 1162313 from home:Thaodan:editors
Martin Pluskal2024-03-27 08:35:27 +00:00
c7748fe0d2
Accepting request 1161444 from editors
Ana Guerrero2024-03-25 20:07:17 +00:00
4ebabbf3f6
Accepting request 1161444 from editors
Ana Guerrero2024-03-25 20:07:17 +00:00
6291acbcdd
Accepting request 1160845 from home:Thaodan:editors
Martin Pluskal2024-03-25 15:00:40 +00:00
dc21d26264
Accepting request 1160845 from home:Thaodan:editors
Martin Pluskal2024-03-25 15:00:40 +00:00
80f7b377e9
Accepting request 1159663 from home:uncomfyhalomacro:branches:editors
Martin Pluskal2024-03-22 19:27:01 +00:00
873996d5bd
Accepting request 1159663 from home:uncomfyhalomacro:branches:editors
Martin Pluskal2024-03-22 19:27:01 +00:00
d10e68f11a
- Add CVE-2022-45299-update-webbrowser.patch (copied from gh#tree-sitter/tree-sitter#2042) to use more recent version of webbrowser-rs, which has been fixed against CVE-2022-45299 (bsc#1207196).
Matej Cepl2023-01-18 10:13:09 +00:00
d2e3b3baac
- Add CVE-2022-45299-update-webbrowser.patch (copied from gh#tree-sitter/tree-sitter#2042) to use more recent version of webbrowser-rs, which has been fixed against CVE-2022-45299 (bsc#1207196).
Matej Cepl2023-01-18 10:13:09 +00:00
1efc05ba17
- Update to 0.20.4: - Always generate parser.h, regardless of chosen ABI version - add test for removals in eager query matches - remove non-local query matches for locals - remove unfinished queries from 'ts_query_cursor_remove_match' - prevent future matches for '#is-not? local' patterns - Represent quantifiers using bytes instead of ints - Prefix globally visible TSquantifier values - Rewrite quantifier oeprations - Add pointer indirection to AnalysisStateSet - Fixed rust build, updated docs - get_column now counts codepoints - Add realloc to wasm exports - Add link to Protocol Buffers grammar - Convert more fixture grammars from JSON to JS - Simplify allocation-recording in test suite using new ts_set_allocator API - Address feedback - Make SubtreeInlineData work on Big-Endian - Replace allocator struct with function pointers - cli: Fix parsing of test files with newlines in test names - Avoid allocator from being switched more than once - Remove ts_allocator from api.h - Add TSAllocator and ts_set_allocator in api.h - Fix declaration of ts_toggle_allocation_recording - Allow to change the allocator dynamically - Support @module as a highlight key. - add link to in-development Elixir parser - Added bindings for Java and Kotlin to index.md - Remove unnecessary types from binding.rs
Matej Cepl2022-02-23 12:34:40 +00:00
cf38cc0593
- Update to 0.20.4: - Always generate parser.h, regardless of chosen ABI version - add test for removals in eager query matches - remove non-local query matches for locals - remove unfinished queries from 'ts_query_cursor_remove_match' - prevent future matches for '#is-not? local' patterns - Represent quantifiers using bytes instead of ints - Prefix globally visible TSquantifier values - Rewrite quantifier oeprations - Add pointer indirection to AnalysisStateSet - Fixed rust build, updated docs - get_column now counts codepoints - Add realloc to wasm exports - Add link to Protocol Buffers grammar - Convert more fixture grammars from JSON to JS - Simplify allocation-recording in test suite using new ts_set_allocator API - Address feedback - Make SubtreeInlineData work on Big-Endian - Replace allocator struct with function pointers - cli: Fix parsing of test files with newlines in test names - Avoid allocator from being switched more than once - Remove ts_allocator from api.h - Add TSAllocator and ts_set_allocator in api.h - Fix declaration of ts_toggle_allocation_recording - Allow to change the allocator dynamically - Support @module as a highlight key. - add link to in-development Elixir parser - Added bindings for Java and Kotlin to index.md - Remove unnecessary types from binding.rs
Matej Cepl2022-02-23 12:34:40 +00:00