Commit graph

4162 commits

Author SHA1 Message Date
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
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
Andrew Hlynskyi
0c49d6745b 0.20.8 - recovered 2023-04-04 12:15:07 +03:00
Andrew Hlynskyi
404ae5f49a cicd: fix bug in release workflow 2023-04-04 11:44:50 +03:00
Andrew Hlynskyi
86ec87a4ba
Merge pull request #2167 from tree-sitter/cicd-new-workflow
CICD: new workflow
2023-04-04 04:27:16 +03:00
Andrew Hlynskyi
34a83dfe69 cicd: update status badge 2023-04-04 03:42:58 +03:00
Andrew Hlynskyi
da894afef5 cargo: specify minimum supported Rust version 2023-04-04 03:42:55 +03:00
Andrew Hlynskyi
cc4f932d17 cicd: new workflow 2023-04-04 03:42:16 +03:00
Andrew Hlynskyi
1b1c3974f7
Merge pull request #2137 from tree-sitter/remove-all-dead-badges
chore: remove all dead badges
2023-03-16 18:02:39 +02:00
Andrew Hlynskyi
ec2af46f6f chore: remove all dead badges 2023-03-16 18:00:02 +02:00
Andrew Hlynskyi
342af830ac
Merge pull request #2136 from tree-sitter/drop-appveyor
CI: drop AppVeyor and its badge
2023-03-16 17:51:07 +02:00
Andrew Hlynskyi
78fd9196f7 ci: drop AppVeyor and its badge 2023-03-16 17:29:27 +02:00
Andrew Hlynskyi
2636f001a7
Merge pull request #2135 from tree-sitter/no-flaky-tests
No flaky tests - make all tests run in a reliable way; V2
2023-03-16 15:48:11 +02:00
Andrew Hlynskyi
ddb0af9509 test: use random SEED numbers
This is needed to omit occurrences of the same seed in a sequence of
following seeds due to the reason of that two initial seed are very
close if based on unix epoch seconds.
2023-03-16 15:17:21 +02:00
Andrew Hlynskyi
3aeef44eb6 test: run all corpus tests with 10 retries 2023-03-16 15:17:21 +02:00
Andrew Hlynskyi
588549c093 test: run test_parsing_with_a_timeout with 10 retries 2023-03-16 15:17:21 +02:00
Andrew Hlynskyi
62f8c431ae test: add retry and test_with_seed proc macros 2023-03-16 15:17:21 +02:00
Andrew Hlynskyi
457eb2fe76 Update Cargo.lock 2023-03-15 20:04:50 +02:00
Andrew Hlynskyi
e1b9dc9b70
Merge pull request #2086 from tree-sitter/dependabot/cargo/webbrowser-0.8.3
Bump webbrowser from 0.5.5 to 0.8.3
2023-03-15 18:39:42 +02:00