Vhyrro
e5357dc5ad
ref(rust_bindings): add from_raw() functions
2023-04-04 15:08:53 +03:00
Vhyrro
6c2957c8d3
ref(rust_bindings): move into_raw() functions into the ffi module
2023-04-04 15:08:53 +03:00
Vhyrro
576e4c7d06
fix(rust_bindings): use-after-free for Language::into_raw()
2023-04-04 15:08:53 +03:00
Vhyrro
3d396e120b
feat(rust_bindings): provide into_raw() functions for treesitter structs
2023-04-04 15:08:53 +03:00
Andrew Hlynskyi
342527ebbd
Merge pull request #2168 from tree-sitter/fix/proc-macro
...
chore: nit picking in internal proc_macro crate
2023-04-04 14:14:07 +03:00
Andrew Hlynskyi
c1f784498f
chore: nit picking in internal proc_macro crate
2023-04-04 13:51:10 +03:00
github-actions[bot]
e6c585537f
Merge pull request #2169 from tree-sitter/release/v0.20.8
...
Release: v0.20.8 - recovered
2023-04-04 09:44:52 +00:00
Andrew Hlynskyi
0c49d6745b
0.20.8 - recovered
2023-04-04 12:15:07 +03:00
Andrew Hlynskyi
404ae5f49a
cicd: fix bug in release workflow
2023-04-04 11:44:50 +03:00
Andrew Hlynskyi
86ec87a4ba
Merge pull request #2167 from tree-sitter/cicd-new-workflow
...
CICD: new workflow
2023-04-04 04:27:16 +03:00
Andrew Hlynskyi
34a83dfe69
cicd: update status badge
2023-04-04 03:42:58 +03:00
Andrew Hlynskyi
da894afef5
cargo: specify minimum supported Rust version
2023-04-04 03:42:55 +03:00
Andrew Hlynskyi
cc4f932d17
cicd: new workflow
2023-04-04 03:42:16 +03:00
Andrew Hlynskyi
1b1c3974f7
Merge pull request #2137 from tree-sitter/remove-all-dead-badges
...
chore: remove all dead badges
2023-03-16 18:02:39 +02:00
Andrew Hlynskyi
ec2af46f6f
chore: remove all dead badges
2023-03-16 18:00:02 +02:00
Andrew Hlynskyi
342af830ac
Merge pull request #2136 from tree-sitter/drop-appveyor
...
CI: drop AppVeyor and its badge
2023-03-16 17:51:07 +02:00
Andrew Hlynskyi
78fd9196f7
ci: drop AppVeyor and its badge
2023-03-16 17:29:27 +02:00
Andrew Hlynskyi
2636f001a7
Merge pull request #2135 from tree-sitter/no-flaky-tests
...
No flaky tests - make all tests run in a reliable way; V2
2023-03-16 15:48:11 +02:00
Andrew Hlynskyi
ddb0af9509
test: use random SEED numbers
...
This is needed to omit occurrences of the same seed in a sequence of
following seeds due to the reason of that two initial seed are very
close if based on unix epoch seconds.
2023-03-16 15:17:21 +02:00
Andrew Hlynskyi
3aeef44eb6
test: run all corpus tests with 10 retries
2023-03-16 15:17:21 +02:00
Andrew Hlynskyi
588549c093
test: run test_parsing_with_a_timeout with 10 retries
2023-03-16 15:17:21 +02: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
Andrew Hlynskyi
e1b9dc9b70
Merge pull request #2086 from tree-sitter/dependabot/cargo/webbrowser-0.8.3
...
Bump webbrowser from 0.5.5 to 0.8.3
2023-03-15 18:39:42 +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
Andrew Hlynskyi
42f1147897
Merge pull request #1895 from jamessan/cli-min-ts-ver
...
cli: Bump tree-sitter dependency to 0.20.10
2023-03-15 17:58:17 +02:00
James McCoy
23faf59f16
cli: Bump tree-sitter dependency to 0.20.10
...
tree-sitter/tree-sitter#2085 added the ts_query_is_pattern_non_local API
and its usage in tree-sitter-cli, so bump version accordingly.
2023-03-15 09:58:32 -04:00
Andrew Hlynskyi
a318b42c8b
Merge pull request #2129 from tree-sitter/update-deps
...
Update deps in docs and binding-web tests
2023-03-15 13:30:39 +02:00
Andrew Hlynskyi
ff7cb8dd20
Merge pull request #2127 from tree-sitter/fix-ci-tests
...
CI: fix tests
2023-03-15 12:44:06 +02:00
Andrew Hlynskyi
2ce06b623e
docs: update Gemfile.lock to fix GH dependabot complains
...
Updated with commands like:
> gem install bundler
> bundle config set --local path 'vendor/bundle'
> bundle update --bundler
> #bundle add webrick
> bundle update
> #bundle exec jekyll serve
2023-03-15 12:38:06 +02:00
Andrew Hlynskyi
1b2a3e3c73
docs: add webrick to Gemfile to fix a compat issue
2023-03-15 12:31:54 +02:00
Andrew Hlynskyi
47c1e858ef
Update deps: lib/binding_web/package.json
2023-03-14 20:37:12 +02:00
Andrew Hlynskyi
ca152a93dd
ci: fix tests
2023-03-14 20:06:31 +02:00
Max Brunsfeld
25d9c989eb
Update python error corpus to reflect grammar changes
2023-03-13 14:25:24 -07: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
c51896d32d
Merge pull request #2085 from tree-sitter/faster-query-in-range
...
Improve the performance of running a query in a small range of a large file
2023-02-16 12:26:46 -08:00
Max Brunsfeld
8dcf851739
Add unit test for querying within a range of a long top-level repetition
2023-02-16 12:03:51 -08:00
Max Brunsfeld
837899e456
Add API for checking if a pattern in a query is non-local
2023-02-16 11:59:34 -08:00
Max Brunsfeld
40703f110c
Fix bug in maintenance of query cursor's tree depth
2023-02-16 11:59:34 -08:00
Max Brunsfeld
bd63fb2a0d
Tweak query tests
2023-02-16 11:59:34 -08:00
Max Brunsfeld
fa869cf3ed
Restructure query_cursor_advance to explicitly control which hidden nodes it descends into
2023-02-16 11:59:34 -08:00
Max Brunsfeld
29c9073177
Extract 'internal' versions of tree cursor movement fns that allow visiting hidden nodes
2023-02-16 11:59:34 -08:00
Max Brunsfeld
189cf6d59d
Group analysis state sets into QueryAnalysis struct
2023-02-16 11:59:34 -08:00
Max Brunsfeld
32ce1fccd0
Precompute the set of repetition symbols that can match rootless patterns
2023-02-16 11:59:34 -08:00
Max Brunsfeld
ff2436a6f8
Add --row-range, --quiet, and --time flags to query subcommand
2023-02-14 14:41:25 -08:00
Max Brunsfeld
125503ff3b
Fix CLI build on windows
2023-02-13 23:40:06 -08:00
Max Brunsfeld
450c67484b
For now, don't implement ts_tree_print_dot_graph on windows
2023-02-13 23:18:41 -08:00
Max Brunsfeld
0b817a609f
Clear the parse stack when terminating parsing early due to error cost
...
This fixes a bug where the parse tree would not be rebalanced if this
code path was taken.
2023-02-13 13:45:12 -08:00
Max Brunsfeld
97fd990822
Add --dot flag to parse subcommand, for printing tree as DOT graph
2023-02-13 12:33:34 -08:00