ObserverOfTime
e920009d60
fix(bindings): only include top level LICENSE file
...
Ref: tree-sitter/workflows#33
(cherry picked from commit 436162ae7c )
2025-07-29 23:52:03 -04:00
ObserverOfTime
b4fd46fdc0
fix(bindings): use parser title in lib.rs description
...
(cherry picked from commit c3012a7d8a )
2025-07-29 23:51:51 -04:00
Veesh Goldman
ab6c98eed7
fix(cli): require correct setuptools version
...
(cherry picked from commit b09a15eb54 )
2025-06-27 14:46:01 +02:00
tree-sitter-ci-bot[bot]
4fcf78cfec
fix(bindings): update swift & node dependencies ( #4432 ) ( #4499 )
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2025-06-07 15:09:22 -04:00
Kai Pastor
c44110c29f
fix(build): pkgconfig and use of GNUInstallDirs ( #4319 )
...
* Fix pkgconfig
Init CMAKE_INSTALL_INCLUDEDIR before pc file generation.
Install pc file to CMAKE_INSTALL_LIBDIR/pkgconfig -
it accompanies the architecture-dependent library.
* Include GNUInstallDirs early
The CMake module initializes variables which are used for
exported information (CMake and pkgconfig).
* Change pc file install destination
(cherry picked from commit 0bdf698673 )
2025-05-31 12:12:29 +02:00
Max Brunsfeld
4cac30b54a
Ignore lock files in grammar repos
...
It is very common practice to ignore
these lock files for libraries, since they do not apply to applications
that use the libraries. The lock files are especially not useful in
tree-sitter grammar repos, since tree-sitter grammars should not have
dependencies. The lock files are just a source of merge conflicts and
spurious CI failures.
2025-05-29 11:33:49 +02:00
MichiRecRoom
d44d0f94da
docs(rust): improve bindings' crate doc
...
(cherry picked from commit 853ca46899 )
2025-04-19 12:01:25 +02:00
Peter Oliver
d25e5d48ea
fix(build): make install shouldn’t fail when a parser bundles no queries ( #4284 )
...
(cherry picked from commit 17471bdfcc )
2025-03-14 10:06:40 +01:00
Amaan Qureshi
eed662df98
fix(bindings): correct Zig bindings to expose a language function
...
Instead of having users declare the extern function themselves, they can
pass in the language to `Language.create` in the zig bindings. If they
really want, they can always opt into the `extern fn tree_sitter_LANG()
*const ts.Language` approach.
2025-02-02 02:07:36 -05:00
ObserverOfTime
51acdf9723
feat(bindings)!: update swift bindings
2025-01-31 10:16:01 -05:00
ObserverOfTime
1b3a9a4563
chore(bindings): include license file in crate
2025-01-31 16:22:25 +02:00
Amaan Qureshi
016dd7afbf
feat(bindings): use cc 1.2 for Rust
2025-01-26 13:12:58 -05:00
ObserverOfTime
5cfeba9c0d
feat(bindings): add opt-in zig bindings
2025-01-25 03:47:19 -05:00
Amaan Qureshi
46f8d1267c
feat(init): add a title field to grammars
2025-01-25 03:20:43 -05:00
Amaan Qureshi
4820d50336
fix(init): handle parser name replacements better when a kebab-case name is expected
2025-01-25 03:20:43 -05:00
Amaan Qureshi
bde94aed4d
feat(init): add a class-name field to grammars
2025-01-25 03:20:43 -05:00
Amaan Qureshi
6dbcfdf282
feat(init): add an optional funding field
2025-01-25 03:20:43 -05:00
Scorg
40eb26e580
build(bindings): move header to tree_sitter subdirectory
...
This patch allows users to include the parser by the same path from
local build as well as installed location. Previously it was not
possible to include the header prior to installing the built parser.
2025-01-20 13:17:24 -05:00
ObserverOfTime
a9dbb7257c
feat(bindings): support free-threaded python build
2025-01-19 12:45:08 -05:00
ObserverOfTime
7bf51ae08a
feat(bindings): drop python 3.9 support
2025-01-19 12:45:08 -05:00
Damien Guard
4170f71dbc
feat(generate): add .exp and .lib files to gitignore template
...
On Windows, tree-sitter-cli creates parser.exp and parser.lib so ideally we'd exclude those automatically.
2025-01-06 16:13:39 -05:00
Amaan Qureshi
3456330fe9
fix: update outdated links
2025-01-03 15:09:33 -05:00
ObserverOfTime
a08c4b58ab
fix(bindings): include headers & queries in python sdist
2024-11-25 09:45:13 -05:00
Peter Oliver
8eb4407200
feat(make,cmake): install queries along with parser libraries
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-11-25 07:59:25 -05:00
Amaan Qureshi
d73b66cbbc
fix(cmake): use current source dir for EXISTS check
2024-11-10 04:00:32 +01:00
Amaan Qureshi
ac4595e808
feat(node): update bindings when necessary
2024-11-10 03:55:58 +01:00
Amaan Qureshi
134233f33a
feat(node): support single-file executables via bun build --compile
2024-11-10 03:47:32 +01:00
ObserverOfTime
1d5502d7b2
chore(bindings): update go binding version
2024-11-09 21:03:38 +01:00
ObserverOfTime
2d5a4b6bd6
chore(bindings): include tree-sitter.json file
2024-11-09 21:03:38 +01:00
ObserverOfTime
8588c96691
fix(bindings): fix scanner check in binding.gyp
...
Use `fs.existsSync` rather than `fs.exists`
2024-11-03 06:02:39 -05:00
ObserverOfTime
02ff0af69c
build(bindings): rename cmake test target
...
CTest creates a test target which breaks the build when the parser is
included via FetchContent in a CMake project that uses CTest
2024-10-31 23:12:28 -04:00
ObserverOfTime
3661689389
feat(bindings): drop language name from node
2024-10-26 23:53:58 +00:00
ObserverOfTime
d3a127a48f
chore(bindings): more small changes
...
- Rename cmakelists.txt to cmakelists.cmake
- Bump node-addon-api version in package.json
- Remove License classifier from pyproject.toml
- Move require call to top level in Node.js test
2024-10-20 16:55:27 +00:00
ObserverOfTime
8681960fbc
chore(bindings): correct editorconfig indent size
2024-10-19 18:31:46 +00:00
ObserverOfTime
c23670264f
chore(bindings): drop pkg-config Requires field
2024-10-19 18:31:46 +00:00
ObserverOfTime
4089569934
chore(bindings): improve gitattributes file
...
- Separate bindings into language sections
- Mark all metadata & lockfiles as generated
2024-10-19 18:31:46 +00:00
ObserverOfTime
5df4706b19
chore(bindings): clean up package.json
...
- Use PARSER_URL in repository
- Remove tree-sitter section
2024-10-19 18:31:46 +00:00
ObserverOfTime
66dab20462
feat(bindings): auto-detect scanners
2024-10-19 18:31:09 +00:00
Amaan Qureshi
cc2caecf7a
build: tweak Cargo.tomls
2024-10-06 01:48:43 -04:00
ObserverOfTime
95f24e0364
chore(templates): update npm packages
2024-10-05 17:23:09 -04:00
Carlo Cabrera
079c69313f
build(make): fix tree-sitter.pc generation ( #3745 )
2024-10-05 18:27:21 +03:00
ObserverOfTime
a397b454a3
build(bindings): improve cmake file
...
- Use placeholders for version, description, homepage
- Add option for `TREE_SITTER_REUSE_ALLOCATOR`
- Define `TREE_SITTER_DEBUG` in debug mode
2024-10-04 11:15:29 -04:00
Amaan Qureshi
2047b22ae5
fix(generate): move generated header files into the generate crate
2024-10-04 00:47:30 -04:00
Sergio A. Vargas
e4dec3d3d8
fix(generate): add *.scm section to .editorconfig template
2024-10-03 16:41:47 -04:00
ObserverOfTime
608506cb57
fix(init): fix some schema issues
...
- Validate CamelCase name, TextMate scope
- Skip serialization of unused properties
- Disallow additional properties in schema
2024-10-01 11:37:57 -04:00
ObserverOfTime
939e61c58d
build(bindings): add CMakeLists.txt file
2024-09-30 14:43:55 -04:00
Amaan Qureshi
03313dbbf0
fix(bindings): lower go version to 1.22
2024-09-30 14:00:25 -04:00
Amaan Qureshi
f2e1aa3d72
fix(bindings): use RUST_BINDING_VERSION in Cargo.toml template
2024-09-30 14:00:25 -04:00
Amaan Qureshi
2e3504a422
fix(cli): generate the parser version from the config as well
2024-09-30 13:23:43 -04:00
Amaan Qureshi
ea3846a2c5
feat: move tree-sitter configuration to dedicated file ( #3700 )
2024-09-30 11:11:23 -04:00