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:           Tue Oct  8 15:40:42 UTC 2024

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

Log Message:
tree-sitter: update to 0.24.2.

[0.24.2] - 2024-10-06

Features

    Drop legacy binding updates

Bug Fixes

    templates: Properly replace author email

Build System and CI

    bindings: Improve cmake file
    cmake: Support amalgamated build
    cmake: Correct library scopes
    make: Fix tree-sitter.pc generation (#3745)

Other

    templates: Update npm packages

[0.24.1] - 2024-10-04

Bug Fixes

    generate: Move generated header files into the generate crate

[0.24.0] - 2024-10-04

Breaking

    Remove C++ support for external scanners (#3602)
    Remove filter flag from commands in favor of include and exclude (#3604)
    Remove the build-wasm subcommand (#3605)
    Move generation of grammar files to an init command (#3694)
    Implement StreamingIterator instead of Iterator for QueryMatches and QueryCaptures (#3504)
    generate: Remove unused rules (#3722)
    lib: Child_containing_descendant now returns direct children (#3703)
    lib: Treat nodes' end ranges exclusively in goto_first_child_for_{byte,point} (#3263)

Features

    Add an API to time out query executions (#3559)
    Add field_name_for_named_child (#3614)
    Add root field in node-types.json (#3615)
    Add eslint configuration package (#3666)
    Provide a rebuild flag to force rebuild parsers (#3672)
    Add shell completions (#3675)
    Move generate logic to its own crate (#3689)
    Add --overview-only to test subcommand (#3501)
    Move tree-sitter configuration to dedicated file (#3700) (#3700)
    api: Expose function to check if symbol represents a supertype (#3616)
    bindings: Bump go-tree-sitter version (#3564)
    cli: Add a no-ranges flag to the parse command (#3687)
    generate: Bump tree-sitter dev dependency to 0.23 (#3563)
    generate: Add a no-op --no-bindings flag
    init: Add an update flag (#3698)
    language: Derive Clone and Copy on LanguageFn (#3585)
    schema: Misc improvements (#3681)
    test: Test all queries

Bug Fixes

    Correct comment quote (#3630)
    Properly handle utf8 code points for highlight and tag assertions (#3610)
    Do not generate spurious files if the grammar path is not the default path (#3677)
    Disallow empty string literals in rules (#3679)
    Correct test name parsing when the prior test has equal signs (#3704)
    Handle more cases of editing subtrees that depend on column values (#3257)
    Exclude APIs that dup given file descriptors from WASI builds (#3475)
    Deprecate child_containing_descendant and add child_with_descendant instead (#3708)
    binding_web: Correct edit signature (#3599)
    binding_web: Remove nonexistent function definition (#3612)
    bindings: Use RUST_BINDING_VERSION in Cargo.toml template
    bindings: Lower go version to 1.22 (#3711)
    build: Correct wasm root path lookup (#3723)
    build: Force rebuild parsers when build is invoked (#3729)
    cli: Remove conflicting short flags in the fuzz subcommand (#3562)
    cli: Keep skipped tests unchanged in the test/corpus (#3590)
    cli: Remove duplicate short options from fuzz command (#3635) (#3635)
    cli: Generate the parser version from the config as well
    docs: Fix highlight readme example using compatible versions (#3573)
    fuzz: Skip tests marked with :skip & don't report errors on tests marked with :error (#3640)
    generate: Remove necessary files from gitignore template (#3561)
    generate: Disallow inline variables referencing themselves (#3569)
    generate: Add tree-sitter to the dev-dependencies of the Cargo.toml (#3597)
    generate: Do not generate large character sets for unused variables (#3606)
    generate: Remove excludes in Package.swift (#3631)
    generate: Add *.scm section to .editorconfig template (#3724)
    generate: Filter out unused rules in other spots (#3726)
    init: Fix some schema issues
    init: Don't prompt to reconfigure (#3713)
    init: Do not migrate package.json on error (#3718)
    lib: Correct extra node creation from non-zero root-alias cursors (#3568)
    lib: Backtrack to the last relevant iterator if no child was found (#3570)
    lib: Peek at the next sibling when iterating to find the child that contains a given descendant (#3566)
    lib: Correct descendant-for-range behavior with zero-width tokens (#3688)
    lib: Silence warnings with -Wpedantic (#3691)
    lib: Ensure an unfinished state was found before removing it (#3727)
    rust: Add missing TSNode functions (#3571)
    test: Exit with an error if a test marked with :error has no error
    test: Retain attributes when running test -u (#3572)
    test: Correctly handle assertions on empty lines (#3674)
    wasm: Use / paths for workdir (#3658)

Documentation

    Add Kotlin to the playground (#3560)
    changelog: Add 0.23.0 release notes (#3565)

Refactor

    Improve the grammar schema
    cli: Break out subcommand logic into separate functions (#3676)

Build System and CI

    Add backport workflow (#3575)
    Bump deps (#3696)
    Bump language to 0.1.1 (#3730)
    bindings: Add CMakeLists.txt file (#3608)
    cmake: Link wasmtime dependencies (#3717)
    deps: Bump the cargo group across 1 directory with 11 updates (#3644)
    deps: Bump the cargo group with 3 updates (#3671)
    lib: Build using cmake (#3541)
    make: Support darwin cross-compile (#3641)
    xtask: Bump cmake version in bump-version
    xtask: Only consider major and minor versions when validating the current version
    xtask: Ignore the language crate

Other

    Remove compile_flags.txt (#3667)
    Update generate crate paths (#3697)
    bindings: Update rust lib docs (#3621)
    lib: Add parameter names in declarations that are missing them (#3692)
    tests: Do not use .as_bytes().len() on strings (#3664)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/tree-sitter/Makefile \
    pkgsrc/textproc/tree-sitter/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/tree-sitter/PLIST

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.9 pkgsrc/textproc/tree-sitter/Makefile:1.10
--- pkgsrc/textproc/tree-sitter/Makefile:1.9    Fri Sep 13 09:59:13 2024
+++ pkgsrc/textproc/tree-sitter/Makefile        Tue Oct  8 15:40:41 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2024/09/13 09:59:13 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2024/10/08 15:40:41 wiz Exp $
 
-DISTNAME=      tree-sitter-0.23.0
+DISTNAME=      tree-sitter-0.24.2
 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.9 pkgsrc/textproc/tree-sitter/distinfo:1.10
--- pkgsrc/textproc/tree-sitter/distinfo:1.9    Fri Sep 13 09:59:13 2024
+++ pkgsrc/textproc/tree-sitter/distinfo        Tue Oct  8 15:40:41 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2024/09/13 09:59:13 wiz Exp $
+$NetBSD: distinfo,v 1.10 2024/10/08 15:40:41 wiz Exp $
 
-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
+BLAKE2s (tree-sitter-0.24.2.tar.gz) = 8f296efb802a8bf1ff7e90a3c9b9da6dc7a43d98289db87d5de4caffbc00ca67
+SHA512 (tree-sitter-0.24.2.tar.gz) = 0a32f21518e4775b73d671a97d3e69aedbe9a8cd62f5ebd4b15a18a4d8ae51985c066e6fa7cc2f817fec2c9c15133cbdc666edb8d58433bc19c289d9d8a950c2
+Size (tree-sitter-0.24.2.tar.gz) = 3018342 bytes
 SHA1 (patch-Makefile) = 97a9576a1c99e4594fef564ca9d7bbfc3d0d31d8

Index: pkgsrc/textproc/tree-sitter/PLIST
diff -u pkgsrc/textproc/tree-sitter/PLIST:1.4 pkgsrc/textproc/tree-sitter/PLIST:1.5
--- pkgsrc/textproc/tree-sitter/PLIST:1.4       Fri Sep 13 09:59:13 2024
+++ pkgsrc/textproc/tree-sitter/PLIST   Tue Oct  8 15:40:41 2024
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2024/09/13 09:59:13 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/10/08 15:40:41 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.23
+lib/libtree-sitter.so.0.24
 lib/pkgconfig/tree-sitter.pc



Home | Main Index | Thread Index | Old Index