Amaan Qureshi
ce5f5fffc1
chore(generate): dedup and warn about duplicate or invalid rules
2024-02-11 01:28:31 -05:00
Amaan Qureshi
78ccc39ca9
fix: properly error out when the word property is an invalid rule
2024-02-11 00:37:23 -05:00
Amaan Qureshi
cca814afd2
chore: add java and tsx to corpus tests
2024-02-10 18:25:35 -05:00
Amaan Qureshi
3d68ca4583
fix: inherited grammar generation
2024-02-10 18:25:35 -05:00
dundargoc
77d7843b7b
ci: remove minimum glibc information in summary page
...
It clutters up the page with unnecessary information. This information
can be provided as release notes or another form if needed.
2024-02-10 18:50:12 +01:00
Amaan Qureshi
e4894ac8b4
chore(cli): use spawn to display emcc's stdout and stderr
...
Co-authored-by: Nbiba Bedis <bedisnbiba@gmail.com>
2024-02-09 14:17:34 +01:00
dundargoc
8759352542
build: add useful development targets to makefile
2024-02-09 13:19:28 +01:00
Amaan Qureshi
697e318a6c
fix(wasm): remove C++ mangled symbols
...
No more upstream scanners use C++ so we're going to encourage to prefer
using C instead. It is just much easier to work with overall
2024-02-09 06:58:56 -05:00
dundargoc
95b08f107a
docs: create issue template
...
This will help enforce a minimum amount of necessary information, and
also help with automatic labeling.
2024-02-09 12:34:18 +01:00
dundargoc
38cb60ccda
ci: only create release for normal semver tags
...
We don't need releases for pre-releases.
2024-02-09 10:56:15 +01:00
Caleb White
6ccc1d11c8
chore: document preferred language for scanner
2024-02-09 03:21:23 -05:00
Amaan Qureshi
dcb34b25ec
fix: prettify xml output and add node position info
2024-02-08 18:09:10 -05:00
dundargoc
ce191e02c5
fix: use correct printf specifiers
2024-02-08 22:46:43 +01:00
Amaan Qureshi
a969fc428c
chore: move dependencies into the workspace and inherit from there
2024-02-08 15:24:09 -05:00
Amaan Qureshi
7980669267
feat: support dot graph output on windows
2024-02-08 15:21:47 -05:00
dundargoc
ff367ebf4c
build: enable -pedantic
...
Co-authored-by: Patrick Thomson <patrickt@github.com>
2024-02-08 16:12:54 +01:00
Luma
94a198d20f
ci(windows): exit in script when failing
2024-02-08 14:21:42 +01:00
Amaan Qureshi
214e27083a
feat(cli): upgrade to clap v4
2024-02-08 05:39:41 -05:00
dundargoc
df1fe842eb
docs: various fixes
...
Closes https://github.com/tree-sitter/tree-sitter/issues/1317 .
Closes https://github.com/tree-sitter/tree-sitter/issues/1752 .
Closes https://github.com/tree-sitter/tree-sitter/issues/2439 .
Co-authored-by: Simon Hengel <sol@typeful.net>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Laytan Laats <laytanlaats@hotmail.com>
2024-02-08 00:08:59 +01:00
dundargoc
ea7f6e1fa3
build: update Cargo.lock
2024-02-07 21:37:35 +01:00
Thanabodee Charoenpiriyakij
9fb06643f3
docs: fix incorrect Tree::edit example in README.md
2024-02-07 21:24:02 +01:00
Amaan Qureshi
96a440af35
chore(web): add and apply eslint formatting
2024-02-07 12:18:44 -05:00
dundargoc
5f63074057
ci: introduce "response bot"
...
It's basically a bot that closes issues or PRs if the author hasn't
responded after 30 days. This is only done on issues/PRs that has the
`more-information-needed` label and is meant to be used for issues that
has hit a dead-end and cannot progress without further information from
the author. If the author responds after an issue is closed and gives
more context the issue can simply be reopened.
2024-02-07 16:26:24 +01:00
Amaan Qureshi
4f3a3debe8
Merge pull request #2951 from amaanq/export-schema-fix
...
fix: don't add extraneous exports to the json and add missing rules to the schema
2024-02-07 07:20:52 -05:00
Amaan Qureshi
767db31114
fix: remove redundant code
2024-02-07 07:13:03 -05:00
Amaan Qureshi
993ee75d8c
fix: don't add extraneous exports to the json and add missing rules to the schema
2024-02-07 07:10:51 -05:00
Amaan Qureshi
f349be529a
Merge pull request #2672 from daumantas-kavolis-sensmetry/timers
...
feat: Better time and stat
2024-02-07 03:58:04 -05:00
Daumantas Kavolis
08d211a546
feat: improve time reports
2024-02-07 03:19:02 -05:00
Amaan Qureshi
0feaddd0b5
Merge pull request #2948 from amaanq/vec-to-slice
...
refactor: swap `&Vec[T]` with `&[T]` where appropriate
2024-02-07 03:18:55 -05:00
Amaan Qureshi
59be1edaa1
refactor: swap &Vec[T] with &[T] where appropriate
2024-02-07 02:50:31 -05:00
Amaan Qureshi
d14d898f11
Merge pull request #2901 from buckynbrocko/test-diff-key-wording
...
cli: reworded test diff color key
2024-02-07 01:33:26 -05:00
buckynbrocko
8b38ab67de
chore(cli): reword test diff legend
2024-02-07 01:33:06 -05:00
Amaan Qureshi
8a43199bdc
Merge pull request #2902 from buckynbrocko/cli-test-include-exclude
...
feat: non-breaking include/exclude regex options for subcommand test
2024-02-07 01:32:57 -05:00
buckynbrocko
a4a7edc5af
feat(cli): add include/exclude options to the test subcommand
2024-02-07 01:04:54 -05:00
Amaan Qureshi
fcfc934a27
Merge pull request #2944 from dundargoc/build/version
...
build: bump minimum version to 1.70.0
2024-02-06 23:44:52 -05:00
Amaan Qureshi
032a1089fd
Merge pull request #2936 from dundargoc/ci/release
...
ci: rework release strategy
2024-02-06 23:42:59 -05:00
Amaan Qureshi
37d9df3989
Merge pull request #2943 from dundargoc/ci/clippy
...
refactor: clippy
2024-02-06 23:41:54 -05:00
dundargoc
c8bd6705cf
chore: clippy
2024-02-06 23:34:14 -05:00
Amaan Qureshi
a1870b6013
Merge pull request #2945 from amaanq/optimize-and-fix-query-iter
...
fix: do not skip over spaces that are surrounded by quotes
2024-02-06 20:25:22 -05:00
Amaan Qureshi
f601c87091
fix: do not skip over spaces that are surrounded by quotes
2024-02-06 19:00:43 -05:00
Amaan Qureshi
a0ddae9d1a
Merge pull request #2724 from plugwash/master
...
cli - update to regex-syntax 0.8
2024-02-06 19:00:11 -05:00
dundargoc
92aa628dd9
build: bump minimum version to 1.70.0
...
Package which v6.0.0 requires rustc 1.70 or newer.
2024-02-07 00:16:45 +01:00
dundargoc
c3ab70cc98
ci: rework release strategy
...
Switch the release trigger from PR to a git tag. In practice this would
mean tagging a commit in master branch and pushing it with
`git push --tags`.
The benefit of this is that tagging is already an event that is reserved
for maintainers, so we can remove the need for verifying whether the
event was done by a maintainer.
We also no longer need to keep track of the tag. Previously the trigger
was a PR which has a different ref from the tag, so manual bookkeeping
was required to ensure github used the tag reference instead of the PR
reference. Having the tagging itself be the trigger removes this need
entirely as the default checkout will already use the tag as reference.
2024-02-06 14:48:50 +01:00
Amaan Qureshi
7147c72737
Merge pull request #2932 from tree-sitter/dependabot/bundler/docs/nokogiri-1.16.2
...
build(deps-dev): bump nokogiri from 1.14.3 to 1.16.2 in /docs
2024-02-05 20:17:49 -05:00
Amaan Qureshi
618668c900
Merge pull request #2927 from tree-sitter/dependabot/cargo/bindgen-0.69.4
...
build(deps): bump bindgen from 0.66.1 to 0.69.4
2024-02-05 20:17:18 -05: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
Amaan Qureshi
9b47270980
Merge pull request #2773 from dcreager/rust-linking
...
feat: include build script links in Rust bindings
2024-02-05 20:05:22 -05:00
Douglas Creager
44aa80d678
feat: include build script links in Rust bindings
...
This patch updates the Rust binding's build script to output [build
metadata][links]. This makes it easier for downstream crates to
determine the include path, in case they need to compile their own C
code that requires the tree-sitter headers.
[links]: https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key
2024-02-05 20:05:05 -05:00
Amaan Qureshi
1ce0918e8d
Merge pull request #2933 from tree-sitter/dependabot/cargo/which-6.0.0
...
build(deps): bump which from 4.4.2 to 6.0.0
2024-02-05 18:30:15 -05:00
Amaan Qureshi
16083d2c0e
Merge pull request #2935 from dundargoc/ci/timeout
...
ci: add timeout to build.yml
2024-02-05 17:27:32 -05:00