From a75da918b4095f2af736a848061f076fd59827fb17f3b191c9de0e056af2cd5a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 22 Feb 2022 17:43:35 +0000 Subject: [PATCH 1/2] - Update to 0.20.4. OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=4 --- tree-sitter-0.20.0.tar.gz | 3 --- tree-sitter-0.20.4.tar.gz | 3 +++ tree-sitter-vendor.tar.xz | 4 ++-- tree-sitter.changes | 5 +++++ tree-sitter.spec | 4 ++-- 5 files changed, 12 insertions(+), 7 deletions(-) delete mode 100644 tree-sitter-0.20.0.tar.gz create mode 100644 tree-sitter-0.20.4.tar.gz diff --git a/tree-sitter-0.20.0.tar.gz b/tree-sitter-0.20.0.tar.gz deleted file mode 100644 index 3a71292..0000000 --- a/tree-sitter-0.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a8070b9de17c3b8096181fe8530320ab3e8cca685d8bee6a3e8d164b5fb47da -size 2876764 diff --git a/tree-sitter-0.20.4.tar.gz b/tree-sitter-0.20.4.tar.gz new file mode 100644 index 0000000..49edd48 --- /dev/null +++ b/tree-sitter-0.20.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:979ad0b36eb90975baf0c65d155d106276cac08afb1c2fe0ad54d4b7d498ce39 +size 2909707 diff --git a/tree-sitter-vendor.tar.xz b/tree-sitter-vendor.tar.xz index 3becd59..d1e32c9 100644 --- a/tree-sitter-vendor.tar.xz +++ b/tree-sitter-vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ba825c7e495542e9122a0e417be30e23856f8657027613544fd951b8bc2339d5 -size 8023324 +oid sha256:5652d52a933a8f86dde61f74ddb90fa76104bea9af1601d36fb2ec2625b0d972 +size 8100748 diff --git a/tree-sitter.changes b/tree-sitter.changes index 939062b..46cde8b 100644 --- a/tree-sitter.changes +++ b/tree-sitter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 22 16:46:36 UTC 2022 - Matej Cepl + +- Update to 0.20.4. + ------------------------------------------------------------------- Fri Nov 5 03:18:24 UTC 2021 - William Brown diff --git a/tree-sitter.spec b/tree-sitter.spec index 2ab22d8..894d2b4 100644 --- a/tree-sitter.spec +++ b/tree-sitter.spec @@ -1,7 +1,7 @@ # # spec file for package tree-sitter # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define somajor 0 %define libdirname tree_sitter Name: tree-sitter -Version: 0.20.0 +Version: 0.20.4 Release: 0 Summary: An incremental parsing system for programming tools License: MIT From 1efc05ba170fa261c3f0df64edf811dd0fd716048434653ff0b398cfbc568be7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 23 Feb 2022 12:34:40 +0000 Subject: [PATCH 2/2] - 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 OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=5 --- tree-sitter.changes | 105 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 104 insertions(+), 1 deletion(-) diff --git a/tree-sitter.changes b/tree-sitter.changes index 46cde8b..e87c773 100644 --- a/tree-sitter.changes +++ b/tree-sitter.changes @@ -1,7 +1,110 @@ ------------------------------------------------------------------- Tue Feb 22 16:46:36 UTC 2022 - Matej Cepl -- Update to 0.20.4. +- 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 + - Always include playground.html in the CLI binary + - playground: Make query error underlines render in safari + - web: Fix script directory that's passed to locateFile + - Use serde's derive feature everywhere + - Improve query execution logging + - Rename Query::step_is_definite -> + is_pattern_guaranteed_at_step + - Add link to Lua bindings + - Convert more test grammars from JSON to JS + - Add link to swift bindings package + - Convert some of the fixture grammars from JSON to JS + - Use serde's derive feature + - Simplified corpus test output comparisons + - Add link to elisp parser + - Add tree-sitter-cuda, tree-sitter-glsl, + tree-sitter-commonlisp + - Avoid dynamic regex construction when parsing test files + - chore(cli): Rename all internal web_ui stuff to playground + - cli(query): Improve and unify query subcommand output + - binding(rust): Mark set_cancellation_flag self as mutable + - fix(wasm): Fix predicates in alternations, resolves #1392 + - fix(cli): Panic on queries containing alternation with + predicates + - Add WGSL WebGPU Shading Language + - Add HCL (Terraform) and Hack to the list of supported + languages + - Add link to OCaml bindings to list and sort list + alphabetically. + - Add Objective-C language parser + - feat(rust): Add an id() method for QueryMatch + - Assign ids to query matches only when the matches are + returned + - feat(cli): add a flag to compile a parser in debug mode with + -O0 C/C++ compiler flag + - Put emscripten-version file in cli directory + - Fix 'include!' error when building the CLI outside of the + repo + - fix(lib): fix segfault on ts_query_new with incompatible + grammar version, close #1318 + - Add Graphviz DOT parser + - chore(web): Add the LICENSE file to the web-tree-sitter npm + package + - chore(cli): Add the LICENSE file to the tree-sitter-cli npm + package + - Support for suffixes in test file separators Some languages + use the non-suffixed separators in their syntax Fixes #982 + - Handle aliases in unicode property escapes in regexes + - Update `smallbitvec` dependency + - `Generator::add_parse_table`: Store entries in hash map + - Use `IndexMap` and `FxHash` for some hot hash maps + - fix(cli): Remove tree-sitter grammar ./... call limitation + - Always print where the playground is running + - Correct quiet description for playground + - fix(cli): allow dead code in Logger + - docs(Using parsers): Fix spelling, remove unusual keyword + - Fix highlighting typo on "creating parsers" site + - feat(cli): Make "test" output more readable + - fix(cli): Improve error messages on config.json loading, + closes #1227 + - fix(parser): count rows in the debug log from 0 + - Docs: document `_` wildcard node + - Add SQL parser + - feat(cli): Add a lot of help messages for CLI options + - fix(cli): fix theme key loading from config.json, closes + #1232 + - fix(cli): Avoid ENOENT if config.json is not in + TREE_SITTER_DIR + - feat(cli/loader): Add TREE_SITTER_INTERNAL_BUILD C/C++ + compiler definition + - feat(cli): Set TREE_SITTER_DEBUG env var on 'tree-sitter + parse -d' + - allow `~` or `$HOME` in `parser-directories` + - update set_included_ranges to modify extent if the current + position is at the very beginning of the included range ------------------------------------------------------------------- Fri Nov 5 03:18:24 UTC 2021 - William Brown