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
85a588b5b0
Fix tests, adapt to tree-sitter-json 40a81c01a40ac48744e0c8ccabbaba1920441199
2023-04-22 12:08:50 +03:00
Andrew Hlynskyi
c2e264ac0a
emscripten: 3.1.35
2023-04-17 18:14:27 +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
Lewis Russell
1e81a1b67f
feat(lib): add ts_query_cursor_set_max_start_depth query API
...
This allows configuring cursors from traversing too deep into a tree.
2023-04-17 11:15:13 +03:00
Andrew Hlynskyi
2c8861d5ca
Merge pull request #2212 from ahlinc/windows-arm64
...
cicd: cleanup and add building for windows-arm64
2023-04-17 01:08:47 +03:00
Andrew Hlynskyi
26eeb0fc7f
Merge pull request #2213 from ahlinc/fix/cli-npm-installation
...
cli: npm - strict platform / arch mapping for provided targets
2023-04-17 00:40:33 +03:00
Andrew Hlynskyi
1666283f37
cicd: cleanup and add building for windows-arm64
2023-04-17 00:21:54 +03:00
Andrew Hlynskyi
7642fda99f
cli: npm - strict platform / arch mapping for provided targets
2023-04-17 00:17:43 +03:00
Andrew Hlynskyi
cae83253a2
cli: pack readme file into npm package
2023-04-17 00:03:17 +03:00
Andrew Hlynskyi
613382c70a
docs: update badges; fix markdown lint complains
...
Linter config `.vscode/settings.json`:
```json
{
"[markdown]": {
"files.trimTrailingWhitespace": false,
},
"markdownlint.config": {
"default": true,
// "ul-style": {
// "style": "asterisk"
// },
"MD001": false,
"MD024": false,
"MD025": false,
"MD033": false,
"MD041": false,
"MD053": false,
},
}
```
2023-04-16 23:39:08 +03:00
Andrew Hlynskyi
9f7166790e
Merge pull request #2183 from joelspadin/fix-windows-build-wasm
...
fix: use / paths in docker when building WASM on Windows
2023-04-10 09:33:55 +03:00
Andrew Hlynskyi
8c6d157ca5
fix(dsl): fix formatting
2023-04-09 19:53:36 +03:00
Andrew Hlynskyi
ae738c3c0f
fix(dsl): add support for rule refs to externals
2023-04-09 19:53:36 +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
Christian Clason
52f22a65eb
cicd: build CLI for macos-arm64
2023-04-07 10:23:21 +03:00
Andrew Hlynskyi
0d326824d2
test: add a reproducing test for #2162
2023-04-06 04:49:39 +03:00
Andreas Deininger
0751736d17
docs: convert various links to https protocol
2023-04-04 18:05:46 +03:00
Andrew Hlynskyi
c1f784498f
chore: nit picking in internal proc_macro crate
2023-04-04 13:51:10 +03:00
Andrew Hlynskyi
da894afef5
cargo: specify minimum supported Rust version
2023-04-04 03:42:55 +03:00
Andrew Hlynskyi
ec2af46f6f
chore: remove all dead badges
2023-03-16 18:00:02 +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
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
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
ca152a93dd
ci: fix tests
2023-03-14 20:06:31 +02:00
Max Brunsfeld
b1ad55909d
0.20.8
2023-03-13 12:22:10 -07: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
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
97fd990822
Add --dot flag to parse subcommand, for printing tree as DOT graph
2023-02-13 12:33:34 -08:00
Andrew Hlynskyi
6f42c78f2d
Merge pull request #2019 from verhovsky/error-message
...
cli: make error message more specific for building in `docker`
2023-01-27 11:45:04 +02:00
sogaiu
23ce370fa3
cli: Stop config.json search sooner if TREE_SITTER_DIR set
2023-01-16 15:30:40 +09:00
sogaiu
adeb8d0aa9
cli: Make init-config respect TREE_SITTER_DIR
2023-01-16 15:30:38 +09:00
Andrew Hlynskyi
f627a97d24
loader: use portable way of path joining
2023-01-11 04:12:13 +02:00
Andrew Hlynskyi
c7d431b53e
Add setting TREE_SITTER_DEBUG in the test subcommand
...
Were asked in #1218
2023-01-10 10:47:24 +02:00
Boris Verkhovskiy
61b85b2664
Make error message more specific
2023-01-08 08:10:14 -07:00
Andrew Hlynskyi
108d0ecede
loader: add TREE_SITTER_LIBDIR; cli: add --libdir to tree-sitter generate
...
Closes #1336
2023-01-06 10:28:47 +02:00
Andrew Hlynskyi
5088781ef9
cli: add -b, --build flags for tree-sitter generate
2023-01-06 10:28:47 +02:00
Andrew Hlynskyi
ad45f5cd2c
Remove unused no-minimize arg for the generate command
2023-01-06 10:28:47 +02:00
Andrew Hlynskyi
88fe1d00c4
Bump Emscripten version to 3.1.29
2023-01-06 08:32:31 +02:00
Andrew Hlynskyi
b1024a1493
cli: Fix build.rs in case of the current branch ref was packed
...
Support SHA lookup in .git/packed-refs
2023-01-03 00:44:01 +02: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
Andrew Hlynskyi
870fb8772f
Merge pull request #1953 from tree-sitter/fix/playground-port-bind-racing
...
fix(cli): Racing on playground webserver port binding
2022-11-16 06:28:43 +02:00
Max Brunsfeld
8883d43bee
Merge pull request #1941 from mliszcz/master
...
Fix test output formatting for rules starting with M/U
2022-11-15 17:13:39 -08:00