Amaan Qureshi
7233c2f26f
feat: use lockfiles to dedup recompilation
2024-02-12 06:30:36 -05:00
Amaan Qureshi
a969fc428c
chore: move dependencies into the workspace and inherit from there
2024-02-08 15:24:09 -05:00
Amaan Qureshi
214e27083a
feat(cli): upgrade to clap v4
2024-02-08 05:39:41 -05:00
dundargoc
ea7f6e1fa3
build: update Cargo.lock
2024-02-07 21:37:35 +01:00
dependabot[bot]
3d849cb40e
build(deps): bump bindgen from 0.66.1 to 0.69.4
...
Bumps [bindgen](https://github.com/rust-lang/rust-bindgen ) from 0.66.1 to 0.69.4.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases )
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.66.1...v0.69.4 )
---
updated-dependencies:
- dependency-name: bindgen
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 20:16:49 -05:00
dependabot[bot]
e592833ea3
build(deps): bump which from 4.4.2 to 6.0.0
...
Bumps [which](https://github.com/harryfei/which-rs ) from 4.4.2 to 6.0.0.
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/harryfei/which-rs/compare/4.4.2...6.0.0 )
---
updated-dependencies:
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 21:53:01 +00:00
Amaan Qureshi
4153a1beaa
Merge pull request #2929 from tree-sitter/dependabot/cargo/toml-0.8.9
...
build(deps): bump toml from 0.7.8 to 0.8.9
2024-02-05 16:04:02 -05:00
Amaan Qureshi
d86d4bb33b
Merge pull request #2930 from tree-sitter/dependabot/cargo/memchr-2.7.1
...
build(deps): bump memchr from 2.6.4 to 2.7.1
2024-02-05 16:03:29 -05:00
dependabot[bot]
65137d62e5
build(deps): bump memchr from 2.6.4 to 2.7.1
...
Bumps [memchr](https://github.com/BurntSushi/memchr ) from 2.6.4 to 2.7.1.
- [Commits](https://github.com/BurntSushi/memchr/compare/2.6.4...2.7.1 )
---
updated-dependencies:
- dependency-name: memchr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 19:59:19 +00:00
dependabot[bot]
86e522aa43
build(deps): bump toml from 0.7.8 to 0.8.9
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.8 to 0.8.9.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.8...toml-v0.8.9 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 19:59:08 +00:00
Max Brunsfeld
f4788b49c0
Merge branch 'master' into wasm-stdlib
2024-02-05 11:55:58 -08:00
Amaan Qureshi
5e8885ff11
chore(deps): remove atty
2024-02-05 00:46:38 -05:00
Amaan Qureshi
3fcad25bd3
Merge pull request #2912 from tree-sitter/dependabot/cargo/shlex-1.3.0
...
build(deps): bump shlex from 1.2.0 to 1.3.0
2024-02-04 13:25:04 -05:00
dependabot[bot]
07593f2e7e
build(deps): bump zerocopy from 0.7.15 to 0.7.32
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.15 to 0.7.32.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.15...v0.7.32 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-04 03:24:00 +00:00
dependabot[bot]
84704e7d93
build(deps): bump shlex from 1.2.0 to 1.3.0
...
Bumps [shlex](https://github.com/comex/rust-shlex ) from 1.2.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/comex/rust-shlex/commits )
---
updated-dependencies:
- dependency-name: shlex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-04 03:23:59 +00:00
Max Brunsfeld
e054de4191
Return an error from build-wasm if scanner uses unavailable functions
2024-02-02 12:04:49 -08:00
Max Brunsfeld
1d8975319c
Merge pull request #2840 from tree-sitter/language-reference-count
...
Introduce APIs for managing the lifetimes of languages, allow WASM languages to be deleted
2024-01-30 10:24:37 -08:00
Amaan Qureshi
98be227227
0.20.9
2024-01-25 15:05:17 -05:00
Max Brunsfeld
31c4044974
Bump wasmtime to v16 release
2023-12-31 11:33:28 -08:00
Max Brunsfeld
091652721e
Use upstream wasmtime
2023-10-27 12:43:16 +01:00
Max Brunsfeld
f4e2f68f14
Merge branch 'master' into wasm-language
2023-10-27 12:11:43 +01:00
Andrew Hlynskyi
c63f1680ad
chore(rust): improve perf for position funcs
2023-10-05 17:24:01 +03:00
Andrew Hlynskyi
4278e03b11
feat: generate Rust bindings during build process
...
It can be used as:
> cargo build -p tree-sitter -F bindgen
2023-08-21 02:56:14 +03:00
Andrew Hlynskyi
59b8eaf911
rust: pin serde version on 1.0.171 due to serde-rs/serde#2538
2023-08-19 16:15:47 +03:00
Andrew Hlynskyi
f0fde974e4
Remove lazy_static lib dep forgotten in 622359b4
2023-08-12 00:10:35 +03:00
Amaan Qureshi
13de63a113
chore: update Cargo.lock
2023-07-20 07:04:49 -04:00
Patrick Thomson
cb58bc593f
Add --check flag to tree-sitter highlight.
...
Recently I've been pulling a lot of grammars into GitHub's highlighting backend,
replacing legacy language support with tree-sitter highlighting queries.
Our backend systems have a standard set of highlight captures we expect, very
similar to the standard tagging captures we expect. Though end-user applications
are free to choose whatever tagging nomenclature they want, I think it's nice to
include a checking stage that will help us ensure that we know whether a capture
might be recognized or not. It will also help us figure out where we need to
expand our standard set of captures (see #1539 ).
2023-07-15 20:49:03 -04:00
Amaan Qureshi
3504aa3260
fix(deps): bump proc-macro2 as an unstable feature became stabilized
2023-07-10 16:12:19 -04:00
Andrew Hlynskyi
e966c5ad5b
fix: use SIGINT instead of stdin for interruption to don't mess up piped commands
2023-05-02 10:43:46 +03:00
Andrew Hlynskyi
d4d5e29c91
feat(lib): ts_query_cursor_set_max_start_depth - use 0 to reset
2023-04-17 11:16:04 +03:00
Joel Spadin
10178ade35
fix: Use / paths when building WASM
...
Changed the build-wasm command to always use forward slashes in paths,
since using Windows style paths breaks if the build is run with Docker.
Fixes #532
2023-04-07 13:07:45 -05:00
Andrew Hlynskyi
c1f784498f
chore: nit picking in internal proc_macro crate
2023-04-04 13:51:10 +03:00
Andrew Hlynskyi
0c49d6745b
0.20.8 - recovered
2023-04-04 12:15:07 +03:00
Andrew Hlynskyi
cc4f932d17
cicd: new workflow
2023-04-04 03:42:16 +03:00
Andrew Hlynskyi
62f8c431ae
test: add retry and test_with_seed proc macros
2023-03-16 15:17:21 +02:00
Andrew Hlynskyi
457eb2fe76
Update Cargo.lock
2023-03-15 20:04:50 +02:00
dependabot[bot]
a1388d9be1
Bump webbrowser from 0.5.5 to 0.8.3
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.5.5 to 0.8.3.
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.5.5...v0.8.3 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 16:10:11 +00:00
Max Brunsfeld
b1ad55909d
0.20.8
2023-03-13 12:22:10 -07:00
Max Brunsfeld
811bc8256d
lib: 0.20.10
2023-03-13 12:21:19 -07:00
Max Brunsfeld
bd63fb2a0d
Tweak query tests
2023-02-16 11:59:34 -08:00
Andrew Hlynskyi
c669e5ee15
Fix permanent rebuild triggering in a git worktree due to wrong git branch file path
2022-12-11 19:16:20 +02:00
Max Brunsfeld
08ccf5babf
Disable most wasmtime features
2022-11-15 17:14:33 -08:00
Max Brunsfeld
d47713ee4a
Integrate WASM compilation into the CLI's Loader
2022-11-15 17:14:33 -08:00
Max Brunsfeld
3f1a7f9cd4
Start work on ability to load wasm languages from native lib, via wasmtime
2022-11-15 17:14:33 -08:00
Max Brunsfeld
b268e412ad
0.20.7
2022-09-02 15:00:47 -07:00
Max Brunsfeld
2be51abcd8
Bump library versions
2022-09-02 15:00:09 -07:00
Max Brunsfeld
01df16ca9f
lib: 0.20.8
2022-06-27 15:07:40 -07:00
Max Brunsfeld
db91399ea7
lib: 0.20.7
2022-06-22 16:03:21 -07:00
Max Brunsfeld
ccd6bf554d
0.20.6
2022-03-02 20:50:52 -08:00
Max Brunsfeld
1b2e90f647
libs: 0.20.6
2022-03-02 20:50:29 -08:00