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:           Fri Sep 13 09:59:13 UTC 2024

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

Log Message:
tree-sitter: update to 0.23.0.

[0.23.0] - 2024-08-26

Breaking

    Introduce tree-sitter-language crate for grammar crates to depend on (#3069)
    Revert interning of a sequence or choice of a single rule (#3548)
    bindings: Use capsules in python (#3384)
    dsl: Support other JS runtimes (#3355)

Features

    Add fuzz subcommand (#3385)
    Allow external scanners to use the logger (#3204)
    bindings: Add query constants to python
    bindings: Add node, python, swift tests (#3178)
    bindings: Update npm scripts (#3210)
    cli: Bump unicode data to v15.1.0
    cli: Add debug build flag (#3279)
    cli: Attach helpful context when grammar.json cannot be found (#3405)
    cli: Add --show-fields flag to test command (#3502)
    lib: Add ts_query_end_byte_for_pattern (#3451)
    lib: Support no_std
    zig: Update outdated path syntax (#3383)

Bug Fixes

    Always reset to the first language when iterating over language attributes (#3375)
    Better error when a supertype rule is invalid (#3400)
    Intern a sequence or choice of a single element the same as the element itself
    Do not "absorb" rules that consist of a single terminal if the rule is hidden (#2577)
    bindings: Update go bindings (#3544)
    cli: Installation via authenticated proxy (#3414)
    cli: Dedup preceding_auxiliary_symbols (#3550)
    dsl: Improve error message when a rule function returns undefined (#3452)
    generate: Rename cargo.toml template (#3532)
    go: Update parser name in binding files, add to docs (#3547)
    lib: A null clock must have tv_nsec be 0 as well (#3372)
    lib: Restrict pattern_map optimization when a wildcard step has an immediate first child (#3440)
    lib: An empty root node should not precede an empty range (#3450)
    lib: Fix api header C++ interop (#3534)
    make: Fail properly on Windows (#3418)
    rust: Fetch CARGO_MANIFEST_DIR at runtime in build script (#3352)
    rust: Fix new clippy warnings (#3491)
    test: Multi-grammar corpus tests are now in the repo root (#3342)
    wasm: Update test

Performance

    Hoist out common subexpressions in satisfies_text_predicates (#3397)

Documentation

    Update changelog
    Remove duplicate pr # in changelog
    Add note for bullet
    Fix syntax highlighting unit testing example (#3434)
    Add tsserver annotation to example (#3460)
    Fix tree cursor documentation (#3324)
    Document rust library features (#3395)
    Clean up binding & parser lists (#3443)

Refactor

    Remove ansi_term dependency (#3387)
    Remove difference dependency (#3388)
    scripts: Clean up bash scripts (#3231)

Testing

    Modernize scanner files (#3340)

Build System and CI

    deps: bump wasmtime, cc, and wasmparser (#3529
    bindings: Use language version in soname (#3308)
    lib: Include the minor in the soname
    loader: Make dependencies optional (#1638)
    swift: Declare header search path (#3474)
    wasm: Don't minify JS (#3380)
    wasm: Bump emscripten to 3.1.64 (#3497)
    wasm: Support big endian machines (#3492)
    zig: Git ignore updated Zig cache directory (#3408)

Other

    Swap sprintf() for snprintf() (#3430)
    Add .build to gitignore (#3498)
    Reset language when resetting wasm store (#3495)
    Clone wasm store engine (#3542)
    bindings: Fix indent & line endings (#3284)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/tree-sitter/Makefile \
    pkgsrc/textproc/tree-sitter/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/tree-sitter/PLIST
cvs rdiff -u -r1.4 -r1.5 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.8 pkgsrc/textproc/tree-sitter/Makefile:1.9
--- pkgsrc/textproc/tree-sitter/Makefile:1.8    Sun May 12 18:40:08 2024
+++ pkgsrc/textproc/tree-sitter/Makefile        Fri Sep 13 09:59:13 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2024/05/12 18:40:08 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2024/09/13 09:59:13 wiz Exp $
 
-DISTNAME=      tree-sitter-0.22.6
+DISTNAME=      tree-sitter-0.23.0
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tree-sitter/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/textproc/tree-sitter/distinfo
diff -u pkgsrc/textproc/tree-sitter/distinfo:1.8 pkgsrc/textproc/tree-sitter/distinfo:1.9
--- pkgsrc/textproc/tree-sitter/distinfo:1.8    Sun May 12 18:40:08 2024
+++ pkgsrc/textproc/tree-sitter/distinfo        Fri Sep 13 09:59:13 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2024/05/12 18:40:08 wiz Exp $
+$NetBSD: distinfo,v 1.9 2024/09/13 09:59:13 wiz Exp $
 
-BLAKE2s (tree-sitter-0.22.6.tar.gz) = 0edc7922a82deea528ade3e0bb6627ccff919117804f84c5b89a5760ed8857ec
-SHA512 (tree-sitter-0.22.6.tar.gz) = bf0b87bb9ce16b049824e53933986ac451a7b7f432df39ee9d4546627d740ae689af9e838a53cc50e29d66d6d85d51dab7490d66a429a14bcc9d0b8e2935a63a
-Size (tree-sitter-0.22.6.tar.gz) = 3036954 bytes
-SHA1 (patch-Makefile) = 05d71cceda39bd1c83d015064fad562fbb077975
+BLAKE2s (tree-sitter-0.23.0.tar.gz) = e01680f7a30616c484415aa11548d4bb0f902fda09b1628a22450e053297e9a6
+SHA512 (tree-sitter-0.23.0.tar.gz) = ab821be564ac7223cc4f9659c08922a78016af9dd3bd69166706fb6a889ac175ba2712a337a1303aceb8f44beaf58640a183e77dddc2c57e35da23079d0cd7b9
+Size (tree-sitter-0.23.0.tar.gz) = 2977346 bytes
+SHA1 (patch-Makefile) = 97a9576a1c99e4594fef564ca9d7bbfc3d0d31d8

Index: pkgsrc/textproc/tree-sitter/PLIST
diff -u pkgsrc/textproc/tree-sitter/PLIST:1.3 pkgsrc/textproc/tree-sitter/PLIST:1.4
--- pkgsrc/textproc/tree-sitter/PLIST:1.3       Sun Mar 17 14:19:18 2024
+++ pkgsrc/textproc/tree-sitter/PLIST   Fri Sep 13 09:59:13 2024
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2024/03/17 14:19:18 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/09/13 09:59:13 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.22
+lib/libtree-sitter.so.0.23
 lib/pkgconfig/tree-sitter.pc

Index: pkgsrc/textproc/tree-sitter/patches/patch-Makefile
diff -u pkgsrc/textproc/tree-sitter/patches/patch-Makefile:1.4 pkgsrc/textproc/tree-sitter/patches/patch-Makefile:1.5
--- pkgsrc/textproc/tree-sitter/patches/patch-Makefile:1.4      Sun Mar 17 14:19:18 2024
+++ pkgsrc/textproc/tree-sitter/patches/patch-Makefile  Fri Sep 13 09:59:13 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile,v 1.4 2024/03/17 14:19:18 wiz Exp $
+$NetBSD: patch-Makefile,v 1.5 2024/09/13 09:59:13 wiz Exp $
 
 - Avoid to possibly pass extra optimization CFLAGS
 - Do not override PCLIBDIR for FreeBSD, NetBSD and DragonFly
 
---- Makefile.orig      2024-03-17 11:31:58.000000000 +0000
+--- Makefile.orig      2024-08-26 13:07:00.000000000 +0000
 +++ Makefile
-@@ -19,7 +19,7 @@ OBJ := $(SRC:.c=.o)
+@@ -23,7 +23,7 @@ OBJ := $(SRC:.c=.o)
  
  # define default flags, and override to append mandatory flags
  ARFLAGS := rcs
@@ -14,9 +14,9 @@ $NetBSD: patch-Makefile,v 1.4 2024/03/17
  override CFLAGS += -std=c11 -fPIC -fvisibility=hidden
  override CFLAGS += -Ilib/src -Ilib/src/wasm -Ilib/include
  
-@@ -41,9 +41,6 @@ else
-       SOEXTVER = so.$(SONAME_MAJOR).$(SONAME_MINOR)
-       LINKSHARED += -shared -Wl,-soname,libtree-sitter.so.$(SONAME_MAJOR)
+@@ -43,9 +43,6 @@ else
+       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



Home | Main Index | Thread Index | Old Index