pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/tree-sitter



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Dec 20 22:28:43 UTC 2025

Modified Files:
        pkgsrc/textproc/tree-sitter: Makefile PLIST distinfo
        pkgsrc/textproc/tree-sitter/patches: patch-Makefile

Log Message:
tree-sitter: update to 0.26.3.

0.26.3

What's Changed

    docs(cli): fix wrong file path for Java bindings test by @Marcono1234 in #5117
    ci(release): use node 24 by @ObserverOfTime in #5120
    build(deps): cargo update by @clason in #5125
    0.26.3 by @clason in #5126

0.26.2

What's Changed

    build(deps): bump esbuild from 0.27.0 to 0.27.1 in /lib/binding_web in the npm group across 1 directory by @dependabot[bot] in #5113
    0.26.x by @WillLillis in #5115

0.26.1

What's Changed

    feat(cli): specify abi version via env var by @ObserverOfTime in #4173
    ci: use ubuntu-22.04 for x64 builds by @amaanq in #4175
    fix(lib): prevent finished_tree assertion failure by @ribru17 in #4176
    build: do not define _POSIX_C_SOURCE on NetBSD by @0-wiz-0 in #4181
    fix(web): provide type in the exports by @robertohuertasm in #4185
    add generate crate to workspace & adjust to new clippy lints by @amaanq in #4192
    refactor(web): rename tree-sitter.js to web-tree-sitter.js by @amaanq in #4194
    feat: Windows support using MinGW-w64 by @MisterDA in #4201
    Fix crash when loading languages w/ old ABI via wasm by @maxbrunsfeld in #4210
    Ignore external tokens that are zero-length and extra by @maxbrunsfeld in #4213
    Reset result_symbol field of lexer in wasm memory in between invocations by @maxbrunsfeld in #4218
    Decrease the MSRV for the tree-sitter-language crate by @maxbrunsfeld in #4221
    fix(wasm): restore passing in ERROR to descendantsOfType by @WillLillis in #4226
    typo: but is only works → but it only works by @hippietrail in #4242
    adapt to new rust lints and tweak ci by @WillLillis in #4249
    Mark all format-like macros for Clippy by @nyurik in #4231
    fix symbol leak for character sets by @polazarus in #4255
    Fix cases where error recovery could infinite loop by @maxbrunsfeld in #4257
    fix(rust): adapt to new nightly lint by @WillLillis in #4254
    fix(lib): remove duplicate TSLanguageMetadata typedef by @notxvilka in #4268
    rust bindings: Add information about using WASM grammar files to README by @lucifayr in #4235
    Update build.zig.zon for zig master/0.14 by @nihklas in #4258
    fix(docs): update test command flag from -f to -i by @jonshea in #4263
    fix(cli): properly escape invisible characters in parse error output by @WillLillis in #4276
    feat(lib): quote invalid nodes, fields, and captures by @ribru17 in #4278
    build(deps): bump ring from 0.17.8 to 0.17.13 by @dependabot[bot] in #4272
    fix(build): bump version to 0.26.0 by @clason in #4282
    fix(xtask): error if new version supplied to xtask is less than or equal to current version by @WillLillis in #4287
    fix(make): make install shouldn’t fail when a parser bundles no queries by @mavit in #4284
    Change (Node | null)[] return types to Node[] by @tmr232 in #4283
    build(deps): bump the cargo group across 1 directory with 21 updates by @dependabot[bot] in #4275
    chore(cli): remove deprecated --no-bindings flag from generate command by @WillLillis in #4292
    build.zig.zon: Fix package hashes for Zig 0.14 by @JacobCrabill in #4301
    build(deps): bump the cargo group across 1 directory with 8 updates by @dependabot[bot] in #4307
    fix(rust): address new clippy lint for pointer comparisons by @WillLillis in #4305
    fix(rust): use core crates for no_std by @Tiggilyboo in #4303
    build(deps): update emscripten to v4.0.5 by @clason in #4309
    fix(rust): address new nightly lint for pointer comparisons by @WillLillis in #4313
    fix(highlight): account for multiple rows in highlight testing assertions by @WillLillis in #4333
    docs: Fix link to named-vs-anonymous-nodes section by @ZedThree in #4328
    Fix typo of "corresponds" by @bernardosulzbach in #4340
    build(deps): bump the cargo group across 1 directory with 5 updates by @dependabot[bot] in #4342
    ci: bump actions/create-github-app-token from 1 to 2 in the actions group by @dependabot[bot] in #4341
    Add @generated to parser.c header by @edgarogh in #4338
    Fix WASI build by not calling a non-existent function. by @jaboatman in #4343
    fix(rust): clarify error message for non-token reserved words by @jonshea in #4323
    Make highlighting more deterministic when themes are ambiguous by @narpfel in #4327
    fix(lib): reset parser options after use by @ribru17 in #4355
    fix(bindings): report wasm store error in rust bindings set_language by @WillLillis in #4348
    build(deps): bump the cargo group with 4 updates by @dependabot[bot] in #4360
    fix(xtask): trim EMSCRIPTEN_TAG arg to docker command in build-wasm command by @WillLillis in #4365
    fix(web): correct childWithDescendant() functionality by @ribru17 in #4363
    Tidy up the docs in auto-generated Rust bindings by @LikeLakers2 in #4294
    binding_web: replace dynamic require with import by @tmr232 in #4304
    Refine the documentation and command line help for "parse --edits" by @danielpunkass in #4191
    export wasm files to better support bundling use cases by @vemoo in #4208
    build(deps): bump vite from 6.1.0 to 6.2.6 in /lib/binding_web by @dependabot[bot] in #4352
    style(cli): formatting by @amaanq in #4373
    fix(ci): increase timeouts for flaky tests by @WillLillis in #4371
    perf(highlight): use BTreeMap over IndexMap for highlight configs by @WillLillis in #4372
    build(deps): bump the cargo group with 2 updates by @dependabot[bot] in #4386
    Fixed typo in parsing explanation by @Tamchuk in #4388
    cli: Compile parsers to wasm using wasi-sdk, not emscripten by @maxbrunsfeld in #4393
    Fix wasm build issues introduced by switching to wasi-sdk by @maxbrunsfeld in #4407
    fix(xtask): properly trim emscripten version at the source by @WillLillis in #4402
    fix(parse): mark logging closure as move by @WillLillis in #4406
    docs(rust): remove adding cc as a build dependency for consumers by @amaanq in #4409
    fix(generate): mark url as a Windows-only dependency by @amaanq in #4411
    build(deps): bump the cargo group with 3 updates by @dependabot[bot] in #4416
    fix(lib): do not access the alias sequence for the end subtree in ts_subtree_summarize_children by @amaanq in #4414
    build(deps): bump vite from 6.3.2 to 6.3.4 in /lib/binding_web by @dependabot[bot] in #4419
    fix(rust): address some new nightly clippy lints by @WillLillis in #4424
    fix(query): correct last_child_step_index in cases where a new step wasn't created. by @WillLillis in #4422
    build(deps): bump the cargo group with 2 updates by @dependabot[bot] in #4433
    fix(lib): return early for empty predicate step slice by @WillLillis in #4440
    build(deps): bump the cargo group with 6 updates by @dependabot[bot] in #4444
    illumos has endian.h by @papertigers in #4450
    build(deps): bump cc from 1.2.22 to 1.2.23 in the cargo group by @dependabot[bot] in https://github.com/tree-s...


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/textproc/tree-sitter/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/tree-sitter/PLIST
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/tree-sitter/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/tree-sitter/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/tree-sitter/Makefile
diff -u pkgsrc/textproc/tree-sitter/Makefile:1.26 pkgsrc/textproc/tree-sitter/Makefile:1.27
--- pkgsrc/textproc/tree-sitter/Makefile:1.26   Tue Sep 23 16:35:22 2025
+++ pkgsrc/textproc/tree-sitter/Makefile        Sat Dec 20 22:28:43 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2025/09/23 16:35:22 adam Exp $
+# $NetBSD: Makefile,v 1.27 2025/12/20 22:28:43 wiz Exp $
 
-DISTNAME=      tree-sitter-0.25.10
+DISTNAME=      tree-sitter-0.26.3
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tree-sitter/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/textproc/tree-sitter/PLIST
diff -u pkgsrc/textproc/tree-sitter/PLIST:1.6 pkgsrc/textproc/tree-sitter/PLIST:1.7
--- pkgsrc/textproc/tree-sitter/PLIST:1.6       Sun Feb  2 15:54:45 2025
+++ pkgsrc/textproc/tree-sitter/PLIST   Sat Dec 20 22:28:43 2025
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.6 2025/02/02 15:54:45 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/12/20 22:28:43 wiz Exp $
 include/tree_sitter/api.h
 lib/libtree-sitter.a
 lib/libtree-sitter.so
 lib/libtree-sitter.so.0
-lib/libtree-sitter.so.0.25
+lib/libtree-sitter.so.0.26
 lib/pkgconfig/tree-sitter.pc

Index: pkgsrc/textproc/tree-sitter/distinfo
diff -u pkgsrc/textproc/tree-sitter/distinfo:1.24 pkgsrc/textproc/tree-sitter/distinfo:1.25
--- pkgsrc/textproc/tree-sitter/distinfo:1.24   Tue Sep 23 16:35:22 2025
+++ pkgsrc/textproc/tree-sitter/distinfo        Sat Dec 20 22:28:43 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2025/09/23 16:35:22 adam Exp $
+$NetBSD: distinfo,v 1.25 2025/12/20 22:28:43 wiz Exp $
 
-BLAKE2s (tree-sitter-0.25.10.tar.gz) = bbefed373021c1cd9f8623dae766293d8c96748900c77cb31a521ee73c076d8f
-SHA512 (tree-sitter-0.25.10.tar.gz) = f0465a2fabe303c1b62f1f55ed08aa57372ac11370d229adcccd99b5e8067be53e92da281cdfbcd034e2ecefb33ac90a119eeac9035670ac8fbaa4242cb87a11
-Size (tree-sitter-0.25.10.tar.gz) = 864648 bytes
-SHA1 (patch-Makefile) = a49243c34531169a60fe6e00d8bc81e676624dc3
+BLAKE2s (tree-sitter-0.26.3.tar.gz) = 991ff506f22c659894613c1e025655f45486c7059063701cb134b8d1281d2a46
+SHA512 (tree-sitter-0.26.3.tar.gz) = ae2b59938ce41f6936d98e454adfc05a3890b2b3d24485b0d992e6f1d2dd1e8d9124e6a3eddc3d594f0cdb831362ff2c9b44b72364b22d3526150d23a9d15781
+Size (tree-sitter-0.26.3.tar.gz) = 900789 bytes
+SHA1 (patch-Makefile) = 2872a25ed5fdef4affcb7e4596a6c1c40b7bb5fb

Index: pkgsrc/textproc/tree-sitter/patches/patch-Makefile
diff -u pkgsrc/textproc/tree-sitter/patches/patch-Makefile:1.8 pkgsrc/textproc/tree-sitter/patches/patch-Makefile:1.9
--- pkgsrc/textproc/tree-sitter/patches/patch-Makefile:1.8      Tue Sep 23 16:35:22 2025
+++ pkgsrc/textproc/tree-sitter/patches/patch-Makefile  Sat Dec 20 22:28:43 2025
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile,v 1.8 2025/09/23 16:35:22 adam Exp $
+$NetBSD: patch-Makefile,v 1.9 2025/12/20 22:28:43 wiz Exp $
 
 - Avoid to possibly pass extra optimization CFLAGS
 - Do not override PCLIBDIR for FreeBSD, NetBSD and DragonFly
 
---- Makefile.orig      2025-09-22 21:52:56.000000000 +0000
+--- Makefile.orig      2025-12-13 12:41:03.000000000 +0000
 +++ Makefile
-@@ -25,7 +25,7 @@ OBJ := $(SRC:.c=.o)
+@@ -22,7 +22,7 @@ OBJ := $(SRC:.c=.o)
  
  # define default flags, and override to append mandatory flags
  ARFLAGS := rcs
@@ -14,13 +14,13 @@ $NetBSD: patch-Makefile,v 1.8 2025/09/23
  override CFLAGS += -std=c11 -fPIC -fvisibility=hidden
  override CFLAGS += -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -D_DARWIN_C_SOURCE
  override CFLAGS += -Ilib/src -Ilib/src/wasm -Ilib/include
-@@ -46,9 +46,6 @@ else
+@@ -47,9 +47,6 @@ else
+       SOEXTVER_MAJOR = $(SOEXT).$(SONAME_MAJOR)
        SOEXTVER = $(SOEXT).$(SONAME_MAJOR).$(SONAME_MINOR)
        LINKSHARED += -shared -Wl,-soname,libtree-sitter.$(SOEXTVER)
- endif
 -ifneq ($(filter $(shell uname),FreeBSD NetBSD DragonFly),)
 -      PCLIBDIR := $(PREFIX)/libdata/pkgconfig
 -endif
+ endif
  
  all: libtree-sitter.a libtree-sitter.$(SOEXT) tree-sitter.pc
- 



Home | Main Index | Thread Index | Old Index