Amaan Qureshi
8bb98dfdc2
Merge pull request #2914 from amaanq/clippy-pt2
...
chore: apply clippy fixes
2024-02-04 05:00:44 -05:00
Amaan Qureshi
55afb4efaf
ci: remove unnecessary targets
2024-02-04 04:19:09 -05:00
Amaan Qureshi
62b3794838
chore(tags): apply clippy fixes
2024-02-04 04:19:09 -05:00
Amaan Qureshi
f32fa784be
chore(highlight): apply clippy fixes
2024-02-04 04:19:09 -05:00
Amaan Qureshi
28bb2a8c1c
chore(lib): apply clippy fixes
2024-02-04 04:18:59 -05:00
Amaan Qureshi
04ff704bca
chore(cli): apply clippy fixes
2024-02-04 04:18:48 -05:00
Amaan Qureshi
03aa007847
Merge pull request #2907 from tree-sitter/dependabot/github_actions/actions/download-artifact-4
...
ci: bump actions/download-artifact from 3 to 4
2024-02-03 22:36:58 -05:00
Amaan Qureshi
2957ce9497
Merge pull request #2911 from dundargoc/ci/publish
...
ci: deduplicate publish workflow
2024-02-03 22:23:20 -05:00
Amaan Qureshi
1fb16a72ac
chore(loader): apply clippy fixes
2024-02-03 19:38:37 -05:00
Amaan Qureshi
1b44a6f912
chore(config): apply clippy fixes
2024-02-03 19:38:30 -05:00
dundargoc
67bc1e37c3
ci: deduplicate publish workflow
2024-02-04 00:21:34 +01:00
dependabot[bot]
a9a552a4b2
ci: bump actions/download-artifact from 3 to 4
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 23:16:30 +00:00
Amaan Qureshi
b16e43d112
Merge pull request #2906 from dundargoc/ci/dependabot
...
ci: add dependabot for automatic actions updates
2024-02-03 18:16:02 -05:00
dundargoc
f91050c8c0
ci: add dependabot for automatic actions updates
2024-02-04 00:04:20 +01:00
Amaan Qureshi
14641d170d
Merge pull request #2900 from dundargoc/ci/msrv
...
ci: remove msrv.yml workflow as it's not really used
2024-02-03 16:31:05 -05:00
dundargoc
dfb2bd97d4
ci: remove msrv.yml workflow as it's not really used
...
If it does become relevant to actually implement this is can be done at
that time. Having a non-functional stub isn't useful.
2024-02-03 11:25:14 +01:00
Amaan Qureshi
4e8a9e654f
Merge pull request #2896 from dundargoc/ci/fast_checks
...
ci: merge fast_checks into full_rust_checks
2024-02-02 21:00:44 -05:00
dundargoc
b122c59ca3
ci: merge fast_checks into full_rust_checks
...
It's not necessary to have two separate linting workflows as the full
lints themselves are very quick.
2024-02-02 23:45:33 +01:00
Amaan Qureshi
ff89b539f2
Merge pull request #2894 from amaanq/parser-h
...
fix: do not install `parser.h`
2024-02-02 12:06:36 -05:00
Amaan Qureshi
f4c40f6098
fix: do not install parser.h
2024-02-02 11:30:24 -05:00
Amaan Qureshi
8ab14a0ee5
fix(node): update tests
2024-02-02 11:30:24 -05:00
Amaan Qureshi
9f2dc9d6b5
fix: rework parser.h includes for test grammars and multi-grammar repos
2024-02-02 10:42:39 -05:00
Amaan Qureshi
422e74fbdb
chore: update javascript-relevant tests
2024-02-02 08:58:22 -05:00
Amaan Qureshi
fadfa19be8
chore: update javascript error trees
2024-02-02 03:06:38 -05:00
Max Brunsfeld
1d8975319c
Merge pull request #2840 from tree-sitter/language-reference-count
...
Introduce APIs for managing the lifetimes of languages, allow WASM languages to be deleted
2024-01-30 10:24:37 -08:00
Max Brunsfeld
d351f81b4a
Release stale instances from wasm store when languages are dropped
2024-01-29 10:17:49 -08:00
Amaan Qureshi
abd0ec75f5
Merge pull request #2815 from SKalt/issue-2814-podman-support
...
feat(cli): support building WASM via podman
2024-01-29 01:46:34 -05:00
Steven Kalt
d35efd4608
feat(cli): support building WASM via podman
...
Previously, `tree-sitter build-wasm` had the ability to build WASM
by using docker to pull in an image with a complete emscripten toolchain.
This commit adds the ability to use podman to do the same thing.
Using podman requires two notable changes:
1. Using the fully-qualified image name. Docker defaults to prepending
`docker.io` to the image name, but podman does not.
2. Podman will mount the `/src/` volume as belonging to root unless
`--userns=keep-id` is passed. I think podman's different
volume-ownership is related to podman's daemonless execution and
`--uidmap` functionality, but I'm not 100% sure.
To test, I ran
```sh
script/fetch-fixtures
script/generate-fixtures
script/generate-fixtures-wasm # <- the important one!
```
which worked as well as the docker version.
2024-01-29 00:50:32 -05:00
Amaan Qureshi
78c297e6ed
Merge pull request #2881 from amaanq/doc-links
...
docs: add various binding and grammar links
2024-01-25 21:51:23 -05:00
Amaan Qureshi
571fc02bd4
docs: add various binding and grammar links
...
Co-authored-by: Ramkumar Ramachandra <r@artagnon.com>
Co-authored-by: Yutaro Sakamoto <yutaro-sakamoto@yutaro-sakamoto.com>
Co-authored-by: Philipp Mildenberger <philipp@mildenberger.me>
Co-authored-by: Sepehr Laal <5657848+3p3r@users.noreply.github.com>
Co-authored-by: Lachance, Alexandre <alexandrelachance@me.com>
Co-authored-by: Derek Stride <derek@stride.host>
Co-authored-by: John Didion <github@didion.net>
Co-authored-by: Felix Rath <felixm.rath@gmail.com>
Co-authored-by: Javier Suarez <jsuarez@salesforce.com>
Co-authored-by: Fabian Wermelinger <fab4100@posteo.net>
Co-authored-by: Colin Kennedy <ckanimate@gmail.com>
Co-authored-by: Alfred Fuller <afuller@buf.build>
Co-authored-by: Boris Verkhovskiy <boris.verk@gmail.com>
Co-authored-by: Stanislav Romanov <kaermorchen@gmail.com>
Co-authored-by: Hamza Hamud <53880692+hhamud@users.noreply.github.com>
Co-authored-by: Tomas Sandven <tomas@sandven.email>
Co-authored-by: Vladimir Kazanov <vkazanov@inbox.ru>
Co-authored-by: citronneur <citronneur@gmail.com>
Co-authored-by: DennySun2100 <138833544+DennySun2100@users.noreply.github.com>
Co-authored-by: Z572 <37945516+Z572@users.noreply.github.com>
Co-authored-by: alaviss <leorize+oss@disroot.org>
2024-01-25 21:41:07 -05:00
Amaan Qureshi
65c2f58018
Merge pull request #2708 from dist1ll/master
...
docs: Add missing closing parenthesis
2024-01-25 20:47:49 -05:00
Adrian Alic
6fd3582ae3
Add missing closing parenthesis
2024-01-25 20:45:46 -05:00
Amaan Qureshi
92b743cf51
Merge pull request #2705 from mroch/patch-1
...
fix: documentation typos
2024-01-25 20:34:43 -05:00
Marshall Roch
6eacca9606
fix documentation typos
2024-01-25 20:33:15 -05:00
Amaan Qureshi
449f86dafc
Merge pull request #2879 from calebdw/fix-crlf_cicd
...
fix: specify eof should be lf for windows cicd
2024-01-25 20:24:46 -05:00
Caleb White
ae7adddc4d
fix: specify eof should be lf for windows cicd
2024-01-25 20:12:36 -05:00
github-actions[bot]
41f9f3fdd1
Merge pull request #2880 from tree-sitter/release/v0.20.9
...
0.20.9
2024-01-25 20:44:40 +00:00
Max Brunsfeld
c4142737ec
Merge branch 'master' into language-reference-count
2024-01-25 12:43:56 -08:00
Amaan Qureshi
98be227227
0.20.9
2024-01-25 15:05:17 -05:00
Amaan Qureshi
386a1c598a
Merge pull request #2878 from amaanq/test-corpus-fix
...
fix: account for grammars in subdirectories, add typescript to test corpus
2024-01-25 14:24:48 -05:00
Max Brunsfeld
3c66dd2d6c
Add missing language return in ts_query_new
...
Co-authored-by: Antonio <antonio@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
Co-authored-by: Joseph <joseph@zed.dev>
2024-01-25 11:06:54 -08:00
Amaan Qureshi
b26e0a8ec0
fix: account for grammars in subdirectories, add typescript to test corpus
2024-01-25 14:02:12 -05:00
Amaan Qureshi
ef5621c0e2
Merge pull request #2795 from savetheclocktower/fix-quantified-predicates
...
fix: Handle quantified predicates on `web-tree-sitter` properly
2024-01-25 13:31:40 -05:00
Max Brunsfeld
31c4044974
Bump wasmtime to v16 release
2023-12-31 11:33:28 -08:00
Max Brunsfeld
bfb966e2e0
Enable wasm feature when running tests on CI
2023-12-31 10:06:03 -08:00
Max Brunsfeld
675da7bfe8
Free C error message properly when loading wasm language fails
2023-12-31 10:05:42 -08:00
Max Brunsfeld
3139760fa9
Record allocations in wasm language error test
2023-12-31 10:05:06 -08:00
Max Brunsfeld
82c1b5ead3
Fix compile error in parser hang test
2023-12-27 15:10:52 -08:00
Max Brunsfeld
4a8e4b1963
Allow wasm languages to be deleted
2023-12-27 15:00:16 -08:00
Max Brunsfeld
da16cb1459
Introduce language ref-count management C APIs, remove Copy impl for Language in Rust
2023-12-27 14:59:16 -08:00