- 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

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=27
This commit is contained in:
Martin Pluskal 2024-06-24 08:30:10 +00:00 committed by Git OBS Bridge
parent 4f0bc7765f
commit 58c82a45bb
5 changed files with 70 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c829523b876d4a37e1bd46a655c133a93669c0fe98fcd84972b168849c27afc
size 3040339

BIN
tree-sitter-0.22.6.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Fri Jun 21 20:32:46 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- 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
* Generate simpler code for matching large character sets
* When loading languages via WASM, gracefully handle memory errors and leaks in external scanners
* bindings: Add utf-8 flag to python & node
* bindings: Generate parser.c if missing
* bindings: Remove required platforms for swift
* cli: Fix mismatched parenthesis when accounting for &&
* lib: Do not consider childless nodes for ts_node_parent
* lib: Properly account for aliased root nodes and root nodes with
children in ts_subtree_string
* lib: Account for the root node of a tree cursor being an alias
* lib: Use correct format specifier in log message
* parser: Fix variadic macro
* render: Proper function prototypes
* Add a semicolon after SKIP macros
* Add back build-wasm temporarily
* Add lifetime to matches function
* Default output directory for build --wasm should use current_dir
* Fix sorting of wasm stdlib symbols
* Insert "tree-sitter" section in current directory's package.json if it exists
* Tie the lifetime of the cursor to the query in QueryCursor::captures()
* Wrong flag check in build.rs
* cli: Reduced the compile time of generated parsers by generating C code with fewer conditionals
* parser: Make REDUCE macro non-variadic
* js: Misc fixes & tidying
* rust: Misc fixes & tidying
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 25 21:58:38 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de> Mon Mar 25 21:58:38 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@ -19,7 +19,7 @@
%define somajor 0 %define somajor 0
%define libdirname tree_sitter %define libdirname tree_sitter
Name: tree-sitter Name: tree-sitter
Version: 0.22.2 Version: 0.22.6
Release: 0 Release: 0
Summary: An incremental parsing system for programming tools Summary: An incremental parsing system for programming tools
License: GPL-2.0-only AND MIT License: GPL-2.0-only AND MIT
@ -73,6 +73,9 @@ developing applications that use %{name}.
%prep %prep
%autosetup -p1 -a1 %autosetup -p1 -a1
#remove gitignore file from docs
rm %{_builddir}/%{name}-%{version}/docs/.gitignore
cp %{SOURCE21} . cp %{SOURCE21} .
cp %{SOURCE22} . cp %{SOURCE22} .
cp %{SOURCE23} . cp %{SOURCE23} .
@ -103,9 +106,11 @@ install -Dm644 %{SOURCE25} %{buildroot}%{_fileattrsdir}/$(basename %{SOURCE25})
install -Dm755 %{SOURCE26} %{buildroot}%{_rpmconfigdir}/$(basename %{SOURCE26}) install -Dm755 %{SOURCE26} %{buildroot}%{_rpmconfigdir}/$(basename %{SOURCE26})
%post -n lib%{name}%{somajor} -p /sbin/ldconfig %post -n lib%{name}%{somajor} -p /sbin/ldconfig
%postun -n lib%{name}%{somajor} -p /sbin/ldconfig %postun -n lib%{name}%{somajor} -p /sbin/ldconfig
%files %files
%license LICENSE
%doc README.md CONTRIBUTING.md %doc README.md CONTRIBUTING.md
%{_bindir}/tree-sitter %{_bindir}/tree-sitter
%{_rpmconfigdir}/tree-sitter-target.py %{_rpmconfigdir}/tree-sitter-target.py

BIN
vendor.tar.zst (Stored with Git LFS)

Binary file not shown.