3 Commits

Author SHA256 Message Date
Martin Pluskal
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

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=27
2024-06-24 08:30:10 +00:00
Martin Pluskal
4f0bc7765f Accepting request 1162313 from home:Thaodan:editors
- Add workaround to packaging macros for RPM being to old on current Leap
- Add workaround for Python below 3.9 on Leap

OBS-URL: https://build.opensuse.org/request/show/1162313
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=25
2024-03-27 08:35:27 +00:00
Martin Pluskal
80f7b377e9 Accepting request 1159663 from home:uncomfyhalomacro:branches:editors
- Update to version 0.22.2:
  * fix(lib): allow hiding symbols
  * feat(lib): implement Display for Node
  * test: fix header writes
  * chore: turbofish styling
  * feat(cli)!: add a separate build command to compile parsers
  * ci: simplify workflows
  * docs(license): update year
  * fix(lib): avoid possible UB of calling memset on a null ptr when 0 is passed into `array_grow_by`
  * fix(lib): makefile installation
- Update _service file
  * replace obsoleted mode "disabled" with "manual"
  * use download_files instead of performing scm

OBS-URL: https://build.opensuse.org/request/show/1159663
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=22
2024-03-22 19:27:01 +00:00