Commit graph

4179 commits

Author SHA1 Message Date
Andrew Hlynskyi
8eacd34fd7 chore(cicd): better naming in the build matrix 2023-04-10 22:20:24 +03:00
Andrew Hlynskyi
7bc2bb605e cicd: switch main workflow to work on any branch except release/v* prefixed
The `release/v*` prefixed branches can be used only with a PR opened on
such branches. The release branches only accepted in the main repo
and not from forks.

Also this workflow enables runining on every `push` unconditionaly.
This leads to parallel runs on `push` and `pull_request` events
and that would seen in PR checks also in parallel, but this is
useful because checks that run on the `push` event runs on
head ref while checks on the `pull_request` event runs on
an additional `refs/pull/<PR>/merge` ref what is created
by Github on every push to a PR to check that it can be
merged to a target branch without conflicts and passed checks.
2023-04-10 21:20:36 +03:00
Andrew Hlynskyi
90fca305bf Merge branch 'recover-web-v0.20.8' into master 2023-04-10 20:32:59 +03:00
Andrew Hlynskyi
de906378ab web: 0.20.8 2023-04-10 19:50:32 +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
15504fd53c
Merge pull request #2191 from tree-sitter/cicd-tweaks-2
cicd: don't cancel runs on master by concurrency condition
2023-04-10 04:29:07 +03:00
Andrew Hlynskyi
4a723c985d cicd: don't cancel runs on master by concurrency condition 2023-04-10 03:55:23 +03:00
Andrew Hlynskyi
9ccfd648c9
Merge pull request #2190 from tree-sitter/fix-docs
chore(docs): fix misprint repetitions and remove dangling spaces
2023-04-09 20:47:26 +03:00
Andrew Hlynskyi
2869cdc60b
Merge pull request #2189 from tree-sitter/fix-dsl-d
fix(dsl): add support for rule refs to externals in `dsl.d.ts`
2023-04-09 20:47:14 +03:00
Andrew Hlynskyi
1f051d339c chore(docs): fix misprint repetitions and remove dangling spaces 2023-04-09 20:40:18 +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
Andrew Hlynskyi
e4d64457c3
Merge pull request #2142 from katrinafyi/patch-1
docs: alphabetise language bindings on front page
2023-04-09 17:50:22 +03:00
Kait Lam
e3ea048db1 docs: alphabetise language bindings on front page
This helps with readability when scanning for a particular language. It is, strangely, almost sorted with the exception of Java and Kotlin.
2023-04-09 17:48:00 +03:00
Andrew Hlynskyi
1cf8379461
Merge pull request #2188 from c4rlo/patch-1
docs: remove mention of Atom
2023-04-08 21:21:28 +03:00
Carlo Teubner
34e0ab696c
docs: remove mention of Atom
Atom is dead, so this mention seems unnecessary now.
2023-04-08 18:10:44 +01:00
Andrew Hlynskyi
366d0fde87
Merge pull request #2187 from tree-sitter/cicd-tweaks
cicd: better matrix construction, a separate sanitize workflow, manual trigger for the build workflow
2023-04-08 15:32:01 +03:00
Andrew Hlynskyi
d8caf6f8c5 chore(cicd): change formatting 2023-04-08 08:48:01 +03:00
Andrew Hlynskyi
f03f024ec4 cicd: change approach for matrix shaping with an anchor name plus extras 2023-04-08 08:48:01 +03:00
Andrew Hlynskyi
96086806d5 cicd: change author configuring for a tag 2023-04-08 08:48:01 +03:00
Andrew Hlynskyi
bb122d6d47 cicd: separate sanitize workflow + manual trigger for build workflow 2023-04-08 02:45:58 +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
Andrew Hlynskyi
978a2db239
Merge pull request #2178 from clason/master
ci: build CLI for macos-arm64
2023-04-07 10:48:34 +03:00
Andrew Hlynskyi
71f32a2166 cicd: additional tweaks 2023-04-07 10:23:25 +03:00
Christian Clason
52f22a65eb cicd: build CLI for macos-arm64 2023-04-07 10:23:21 +03:00
Andrew Hlynskyi
bbcf1e3746
Merge pull request #2176 from tree-sitter/ci-ubsan
cicd: additional tests running job with enabled UBSAN + repro test for #2162
2023-04-06 04:57:25 +03:00
Andrew Hlynskyi
0d326824d2 test: add a reproducing test for #2162 2023-04-06 04:49:39 +03:00
Andrew Hlynskyi
487e3d0f56
Merge pull request #2177 from tree-sitter/fix-oob-2162
lib: fix OOB in query engine reported in #2162 🐛
2023-04-06 04:28:28 +03:00
Andrew Hlynskyi
4c2a36302b lib: fix OOB in query engine reported in #2162 2023-04-06 03:59:55 +03:00
Andrew Hlynskyi
0376533c04 cicd: add a test job with enabled UBSAN 2023-04-06 01:59:41 +03:00
Andrew Hlynskyi
25680274cc
Merge pull request #2171 from tree-sitter/bindgen-update
Update `script/generate-bindings` to use latest rust-bindgen 0.64.0 version
2023-04-04 22:40:52 +03:00
Andrew Hlynskyi
c38f78345e binding(rust): update script/generate-bindings to use latest rust-bindgen 0.64.0 version 2023-04-04 22:16:27 +03:00
Andrew Hlynskyi
c26dde0414
Merge pull request #1947 from hickford/patch-3
docs: explain naming convention for bindings and parsers
2023-04-04 18:37:18 +03:00
Andrew Hlynskyi
550bf4c9a8
Merge pull request #1884 from mattmassicotte/fix/subtree-and-query-integer-sizing
lib: fix subtree and query integer sizing
2023-04-04 18:33:16 +03:00
Andrew Hlynskyi
96d4e8e997
Merge pull request #2163 from deining/convert-to-https
docs: convert various links to https protocol
2023-04-04 18:31:38 +03:00
M Hickford
5ce60ef9e5 docs: clarify naming convention for bindings and parsers 2023-04-04 18:29:52 +03:00
Andreas Deininger
0751736d17 docs: convert various links to https protocol 2023-04-04 18:05:46 +03:00
Matt
65c16bfb17 query casts 2023-04-04 17:43:27 +03:00
Matt
cde45268b6 subtree casts 2023-04-04 17:43:27 +03:00
Andrew Hlynskyi
6d1904c221
Merge pull request #2104 from tree-sitter/fix/ts_node_field_name_for_child
lib: fix `ts_node_field_name_for_child` implementation
2023-04-04 17:39:11 +03:00
Andrew Hlynskyi
0261a13984 lib: fix ts_node_field_name_for_child implementation
With hidden subtrees correct incorporation and field inheritance support.
2023-04-04 16:54:32 +03:00
Andrew Hlynskyi
a025e8e8f0
Merge pull request #2126 from vhyrro/master
feat: expose the `ffi` interface via `into_raw()` and `T::from_raw()`
2023-04-04 16:21:18 +03:00
Andrew Hlynskyi
d56506b727 ref(rust_bindings): keep Query construction logic in a one place 2023-04-04 15:08:53 +03:00
Vhyrro
e5357dc5ad ref(rust_bindings): add from_raw() functions 2023-04-04 15:08:53 +03:00
Vhyrro
6c2957c8d3 ref(rust_bindings): move into_raw() functions into the ffi module 2023-04-04 15:08:53 +03:00
Vhyrro
576e4c7d06 fix(rust_bindings): use-after-free for Language::into_raw() 2023-04-04 15:08:53 +03:00
Vhyrro
3d396e120b feat(rust_bindings): provide into_raw() functions for treesitter structs 2023-04-04 15:08:53 +03:00
Andrew Hlynskyi
342527ebbd
Merge pull request #2168 from tree-sitter/fix/proc-macro
chore: nit picking in internal proc_macro crate
2023-04-04 14:14:07 +03:00
Andrew Hlynskyi
c1f784498f chore: nit picking in internal proc_macro crate 2023-04-04 13:51:10 +03:00
github-actions[bot]
e6c585537f
Merge pull request #2169 from tree-sitter/release/v0.20.8
Release: v0.20.8 - recovered
2023-04-04 09:44:52 +00:00