Andrew Hlynskyi
e783d8848d
cicd: don't start release on draft PRs
2023-05-20 00:53:31 +03:00
Andrew Hlynskyi
1f42f1efc0
cicd: show info about minimal required GLIBC version for CLI
2023-05-20 00:53:31 +03:00
Andrew Hlynskyi
3af763e4be
cicd: build - add a rust-test-threads number input parameter
2023-05-20 00:53:31 +03:00
Andrew Hlynskyi
fcbc3db1ab
cicd: build - add a run-tests input parameter
2023-05-19 23:40:34 +03:00
Andrew Hlynskyi
b41c678da6
cicd: rollback runner version to link against older GLIBC
2023-05-19 01:25:46 +03:00
Andrew Hlynskyi
2a9d951cd6
Merge pull request #2263 from ahlinc/update-wasm-build-script
...
Update `script/wasm-build` and add a `--verbose` option
2023-05-16 11:28:19 +03:00
Andrew Hlynskyi
a9dfcb9e47
script/build-wasm: update emcc options to use actual non-deprecated names
2023-05-16 04:46:46 +03:00
Andrew Hlynskyi
e6a14b24ba
Merge pull request #2261 from ahlinc/emscripten-3.1.37
...
emscripten: 3.1.37
2023-05-16 04:45:00 +03:00
Andrew Hlynskyi
be179a3c80
script/build-wasm: add a --verbose option
2023-05-15 17:03:24 +03:00
Andrew Hlynskyi
543e9cdc93
emscripten: 3.1.37
2023-05-15 13:11:55 +03:00
Andrew Hlynskyi
91e4d94016
Merge pull request #2107 from Philipp-M/fix-group-first-child
...
Fix bug with first child group anchor (anchor had no effect)
2023-05-13 20:00:34 +03:00
Philipp Mildenberger
55a8db10cc
fix: bug with first child group anchor (anchor had no effect)
2023-05-13 19:40:49 +03:00
Andrew Hlynskyi
da269ac350
test: add a test case to demonstrate the #2107 issue
2023-05-13 19:40:49 +03:00
Andrew Hlynskyi
833d966419
Merge pull request #2258 from tree-sitter/test-reorg-helpers
...
chore(test): reorganize test helpers
2023-05-13 19:25:42 +03:00
Andrew Hlynskyi
09fe5f29d9
fix(test): stick tree-sitter-cpp fixture grammar to a specific hash
...
It's needed to fix tests fail: https://github.com/tree-sitter/tree-sitter-cpp/pull/202#issuecomment-1546279646
See CLI xtask notes in https://github.com/tree-sitter/tree-sitter/issues/1223
2023-05-13 18:57:42 +03:00
Andrew Hlynskyi
ceac2380ed
chore(test): reorganize test helpers
2023-05-12 19:29:51 +03:00
Andrew Hlynskyi
a62bac5370
Merge pull request #2243 from ahlinc/cicd-imp
...
cicd: a series of small improvements
2023-05-03 06:22:12 +03:00
Andrew Hlynskyi
ebd80906fb
cicd: a series of small improvements
2023-05-03 05:29:34 +03:00
Andrew Hlynskyi
8caef571ef
Merge pull request #2238 from tree-sitter/fix-2133
...
fix: use SIGINT instead of stdin for interruption to don't mess up piped commands
2023-05-02 12:51:06 +03: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
321a652626
Merge pull request #2223 from tree-sitter/fix-2039
...
fix: get_column() segfault on EOF, don't do lookahead without EOF check first
2023-04-22 13:21:07 +03:00
Andrew Hlynskyi
46ea3e3e8c
Merge pull request #2224 from tree-sitter/fix-tests
...
Fix tests, adapt to `tree-sitter-json` latest changes
2023-04-22 12:42:26 +03:00
Andrew Hlynskyi
63d9f7146f
Fix get_column() segfault on EOF, don't do lookahead without EOF check first
2023-04-22 12:11:26 +03:00
Andrew Hlynskyi
85a588b5b0
Fix tests, adapt to tree-sitter-json 40a81c01a40ac48744e0c8ccabbaba1920441199
2023-04-22 12:08:50 +03:00
Andrew Hlynskyi
ae1556647a
Merge pull request #2219 from ahlinc/fix-query-step-init
...
lib: make query step init depend from MAX_STEP_CAPTURE_COUNT declaration
2023-04-19 23:36:25 +03:00
Andrew Hlynskyi
4f4b86a40b
lib: make query step init depend from MAX_STEP_CAPTURE_COUNT decl
2023-04-19 09:37:46 +03:00
Andrew Hlynskyi
c4871a2604
Merge pull request #2214 from ahlinc/emscripten-3.1.35
...
emscripten: 3.1.35
2023-04-17 18:40:06 +03:00
Andrew Hlynskyi
c2e264ac0a
emscripten: 3.1.35
2023-04-17 18:14:27 +03:00
Andrew Hlynskyi
af92bfc022
Merge pull request #2140 from lewis6991/master
...
feat: add `ts_query_cursor_set_max_depth()`
2023-04-17 11:56:18 +03:00
Andrew Hlynskyi
cc6596be82
chore(bindgen): update bindgen to 0.65.1 and regenerate bindings
2023-04-17 11:24:05 +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
03b276d335
Merge pull request #2211 from ahlinc/docs-fixes
...
docs: fix markdown linter warnings + improve some details
2023-04-17 00:39:31 +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
3c806913d8
docs: improve external scanner details and fix conflicting tokens details
...
* Removed convention notes introduced in #1947 due to:
* It doesn't so strict for bindings and they may need to obey to some
target language conventions.
* For language grammars there is a note that states the same in the
`Creating Parsers` section.
* Removed `External Scanning` item introduced in 87a0517 commit
originated from #1612 due to unclear consistency with other
5 original statements. There is a similar explanation in the
`Other External Scanner Details` section.
2023-04-16 23:46:21 +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
6c520452ad
chore: fix years in the license file
2023-04-16 23:39:08 +03:00
Andrew Hlynskyi
0e4ff0bb27
chore: fix lib version in Makefile and set it to 0.20.10
2023-04-16 23:39:01 +03:00
Andrew Hlynskyi
d7fcc7aad3
Merge pull request #2206 from tree-sitter/fix-docs-prec-rules
...
docs: remove controversial statement
2023-04-15 05:43:04 +03:00
Andrew Hlynskyi
934dd1213f
Merge pull request #2202 from tree-sitter/dependabot/bundler/docs/nokogiri-1.14.3
...
chore(deps): bump nokogiri from 1.14.2 to 1.14.3 in /docs
2023-04-15 05:42:23 +03:00
Andrew Hlynskyi
e87e40f224
Merge pull request #2201 from tree-sitter/dependabot/bundler/docs/commonmarker-0.23.9
...
chore(deps): bump commonmarker from 0.23.8 to 0.23.9 in /docs
2023-04-15 05:42:11 +03:00
dependabot[bot]
d5465b9a32
chore(deps): bump nokogiri from 1.14.2 to 1.14.3 in /docs
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 05:16:06 +03:00
dependabot[bot]
e47f05062a
chore(deps): bump commonmarker from 0.23.8 to 0.23.9 in /docs
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.8 to 0.23.9.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.8...v0.23.9 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 05:15:36 +03:00
Andrew Hlynskyi
b5e6d18086
docs: add a grammar syntax sample for lexical precedence
2023-04-15 05:10:02 +03:00
Andrew Hlynskyi
bfd56a1e59
docs: remove controversial Earliest Starting Position item added previously by 87a0517
2023-04-15 05:10:02 +03:00
Andrew Hlynskyi
f403edc9eb
Merge pull request #2207 from tree-sitter/cicd-issue
...
cicd: fix windows targets sporadic issue due to corrupted PATH
2023-04-15 04:34:49 +03:00