Commit graph

4747 commits

Author SHA1 Message Date
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
dundargoc
9d8e31bf9f ci: add timeout to build.yml
This will abort the run early if it gets caught in an infinite loop
during testing.
2024-02-05 23:19:36 +01: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
dependabot[bot]
7f3122bc00
build(deps-dev): bump nokogiri from 1.14.3 to 1.16.2 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.3 to 1.16.2.
- [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.3...v1.16.2)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 21:04:01 +00: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
Max Brunsfeld
3fe69d629f
Merge pull request #2897 from tree-sitter/wasm-stdlib
Provide a consistent set of standard library function to wasm parsers across environments
2024-02-05 12:24:17 -08: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
Amaan Qureshi
59e64d74fe
Merge pull request #2925 from dundargoc/ci/workflow
ci: remove workflow_dispatch from build.yml
2024-02-05 14:58:02 -05:00
Amaan Qureshi
8d1a595f63
Merge pull request #2924 from dundargoc/ci/dependabot
ci: include cargo packages to dependabot
2024-02-05 14:57:37 -05:00
Max Brunsfeld
11e73bedc3 Remove unnecessary static lifetime 2024-02-05 11:57:24 -08:00
Max Brunsfeld
f4788b49c0 Merge branch 'master' into wasm-stdlib 2024-02-05 11:55:58 -08:00
dundargoc
2003d23518 ci: include cargo packages to dependabot 2024-02-05 20:20:20 +01:00
dundargoc
7b0b2464cd ci: remove workflow_dispatch from build.yml
The cases where you'd need to manually run tests with specific
parameters should be rare.
2024-02-05 20:15:56 +01:00
Max Brunsfeld
63f34236e3 Add iswxdigit to wasm stdlib 2024-02-05 10:20:27 -08:00
Max Brunsfeld
ad9091afe0 Fix wasm build errors due to builtin symbols 2024-02-05 10:19:34 -08:00
root
b7d48b48fd
chore(cli): update to regex-syntax 0.8
regex-syntax has restructured the Ast enum a bit, rather than having a Class
member it now has seperate members for different types of Class.
2024-02-05 01:22:09 -05:00
Amaan Qureshi
03abb6179c
Merge pull request #2780 from bugwelle/patch-1
fix(docs): Fix link to contributing guide
2024-02-05 01:13:03 -05:00
Amaan Qureshi
48db3b0e3a
Merge pull request #2923 from amaanq/console-log
feat: allow the grammar to log to stdout
2024-02-05 01:10:19 -05:00
Amaan Qureshi
5e8885ff11
chore(deps): remove atty 2024-02-05 00:46:38 -05:00
Amaan Qureshi
000c2f4dec
feat: allow the grammar to log to stdout 2024-02-05 00:46:34 -05:00
Amaan Qureshi
f2bd0f004f
Merge pull request #2922 from dundargoc/ci/cache
ci: add caching to build.yml
2024-02-04 19:27:59 -05:00
dundargoc
fdd0e21041 ci: add caching to build.yml 2024-02-05 00:52:18 +01: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
Amaan Qureshi
5f48393d14
Merge pull request #2905 from tree-sitter/dependabot/bundler/docs/activesupport-7.1.3
build(deps-dev): bump activesupport from 7.0.4.3 to 7.1.3 in /docs
2024-02-04 13:24:57 -05:00
Amaan Qureshi
d28af96847
Merge pull request #2913 from tree-sitter/dependabot/cargo/zerocopy-0.7.32
build(deps): bump zerocopy from 0.7.15 to 0.7.32
2024-02-04 13:24:28 -05:00
Amaan Qureshi
dd2dc236c4
Merge pull request #2909 from tree-sitter/dependabot/github_actions/mymindstorm/setup-emsdk-14
ci: bump mymindstorm/setup-emsdk from 12 to 14
2024-02-04 13:24:03 -05:00
Amaan Qureshi
e86cb85c81
Merge pull request #2917 from dundargoc/ci/cache
ci(checks): use rust-cache action to cache dependencies
2024-02-04 13:10:07 -05:00