Maxim Sukharev
|
a647de1ef5
|
add missing unicode include to query.c
it causes problems with building tree-sitter with cgo
|
2019-11-28 01:32:41 +01:00 |
|
Max Brunsfeld
|
284489a83b
|
Fix home directory name in travis config file
|
2019-11-22 13:05:46 -08:00 |
|
Max Brunsfeld
|
a23e8b3dcb
|
Merge pull request #492 from tree-sitter/query-fixes
Fix handling of tricky patterns in tree queries
|
2019-11-22 13:05:20 -08:00 |
|
Max Brunsfeld
|
c957a5b8e7
|
Add test for handling of too many states in query captures
|
2019-11-22 11:54:32 -08:00 |
|
Max Brunsfeld
|
e3f6b1a1af
|
Query - If too many states, kill the one w/ the earliest capture
|
2019-11-22 11:54:12 -08:00 |
|
Max Brunsfeld
|
71998ef3c1
|
web: 0.15.11
|
2019-11-20 11:12:50 -08:00 |
|
Max Brunsfeld
|
9ea3668f75
|
wasm: Fix logic for finding language functions
|
2019-11-20 11:10:49 -08:00 |
|
Max Brunsfeld
|
70309ad846
|
0.15.14
|
2019-11-20 10:56:25 -08:00 |
|
Max Brunsfeld
|
87c2021e6e
|
Merge pull request #490 from tree-sitter/fix-compiler-warnings
Fix a few compiler warnings
|
2019-11-20 10:48:32 -08:00 |
|
Damien Guard
|
599e4f0ec4
|
Fix a few compiler warnings
|
2019-11-20 10:21:10 -08:00 |
|
Max Brunsfeld
|
594da085ef
|
Merge pull request #489 from tree-sitter/named-aliases
Properly handle productions that contain named aliases
|
2019-11-19 15:04:50 -08:00 |
|
Max Brunsfeld
|
5a979d1457
|
node-types: Add test for field merging with aliases
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
|
2019-11-19 14:31:56 -08:00 |
|
Max Brunsfeld
|
1d63434664
|
Refactor node-type merging
|
2019-11-19 11:57:21 -08:00 |
|
Max Brunsfeld
|
5489bc4dc5
|
Fix small issues with merging node types
* Merge the `required` field with an 'and', not an 'or'
* Merge field info in addition to children info
|
2019-11-19 11:55:21 -08:00 |
|
Timothy Clem
|
e2325102d1
|
No printing
|
2019-11-19 09:03:35 -08:00 |
|
Timothy Clem
|
c346ce4a5e
|
Try not to loose existing children
|
2019-11-18 14:48:24 -08:00 |
|
Timothy Clem
|
5c72642634
|
A test demonstrating the issue with named aliases
|
2019-11-18 14:47:48 -08:00 |
|
Tuấn-Anh Nguyễn
|
8e6220a0c5
|
Allow QueryCursor::matches' text_callback to return any AsRef<[u8]> (#488)
|
2019-11-17 10:40:06 -08:00 |
|
Max Brunsfeld
|
ce633a85c6
|
Improve ts_language_symbol_for_name function
|
2019-11-15 14:21:13 -08:00 |
|
Max Brunsfeld
|
660efd8c0f
|
Fix handling of token rules directly inside of alias, prec, or field.
Fixes #483
|
2019-11-15 10:53:17 -08:00 |
|
Max Brunsfeld
|
b4a2f4ed60
|
Fix debug/release conditional compilation flags for free()
|
2019-11-15 10:09:22 -08:00 |
|
Max Brunsfeld
|
967da88371
|
Avoid unnecessary recompiles between debug & test builds
This makes development much quicker when switching back and forth
between compiling with RLS while editing and running tests with
`cargo test`.
|
2019-11-14 13:34:25 -08:00 |
|
Max Brunsfeld
|
d45b98c7d9
|
node-types - Fix duplicate when a terminal is aliased with the same name as a non-terminal
|
2019-11-14 09:31:25 -08:00 |
|
Max Brunsfeld
|
b7696a8800
|
0.15.13
|
2019-11-13 10:55:24 -08:00 |
|
Max Brunsfeld
|
5767bbc806
|
Avoid generating C char literals with control characters
Fixes #487
|
2019-11-13 10:54:34 -08:00 |
|
Max Brunsfeld
|
a2bbc7391b
|
node-types: Fix handling of simple aliased inlined rules
|
2019-11-13 10:38:47 -08:00 |
|
Emily Marigold Klassen
|
1d2f171067
|
binding_web: fix typo in fieldNameForId (#481)
|
2019-11-08 21:55:08 -08:00 |
|
Max Brunsfeld
|
079aa26a99
|
Link to docs.rs from docs site
|
2019-11-08 14:31:24 -08:00 |
|
Max Brunsfeld
|
78f800935e
|
binding_rust: 0.5.0
|
2019-11-08 14:22:01 -08:00 |
|
Max Brunsfeld
|
1909ae2cee
|
binding_rust: Improve node children APIs
Closes #480
|
2019-11-08 14:20:10 -08:00 |
|
Max Brunsfeld
|
c6d1bd2b04
|
Fix a few rustdoc links
|
2019-11-08 12:43:26 -08:00 |
|
Max Brunsfeld
|
662af0afc1
|
binding_rust: 0.4.0
|
2019-11-08 12:30:58 -08:00 |
|
Max Brunsfeld
|
d68dfa78b2
|
Add misssing docs to rust binding
|
2019-11-08 12:29:26 -08:00 |
|
Max Brunsfeld
|
a7824cf59d
|
Fix docs for ts_node_is_extra
Fixes #446
|
2019-11-05 09:49:16 -08:00 |
|
Max Brunsfeld
|
a506ceec3f
|
Link to contributing docs from installation section of docs
Refs #478
|
2019-11-04 12:50:43 -08:00 |
|
Max Brunsfeld
|
3214de55f0
|
Merge pull request #475 from tree-sitter/null-characters
Don't assume that null characters mean EOF
|
2019-10-31 15:58:50 -07:00 |
|
Max Brunsfeld
|
32621cde2b
|
Remove .gitmodules file
|
2019-10-31 14:32:50 -07:00 |
|
Max Brunsfeld
|
39ceff1908
|
Restore json corpus tests, which accidentally weren't running
|
2019-10-31 14:32:50 -07:00 |
|
Max Brunsfeld
|
d765332c61
|
Don't rely on new eof ABI in parsers unless --next-abi is passed
|
2019-10-31 14:32:50 -07:00 |
|
Max Brunsfeld
|
d3b7caa565
|
Add a TSLexer.eof() API, use it in generated parsers
|
2019-10-31 14:11:52 -07:00 |
|
Max Brunsfeld
|
a62b7a70f3
|
Lexer: track EOF state without relying on null character as lookahead
|
2019-10-31 14:11:52 -07:00 |
|
Max Brunsfeld
|
5a3a672e30
|
Expand on query docs
|
2019-10-30 10:26:10 -07:00 |
|
Max Brunsfeld
|
9e765ceba6
|
highlight: Skip injection codepath if there are no ranges found
|
2019-10-29 13:49:07 -07:00 |
|
Max Brunsfeld
|
077cd4970c
|
Handle empty list of included ranges w/ non-null pointer
|
2019-10-29 13:45:04 -07:00 |
|
Max Brunsfeld
|
d5dc4bbcaa
|
Fix some errors in new query docs
|
2019-10-28 17:32:10 -07:00 |
|
Max Brunsfeld
|
6146c39b0a
|
Add information about queries on the docs site
|
2019-10-28 17:19:57 -07:00 |
|
Max Brunsfeld
|
4b7c36a40b
|
Merge pull request #473 from bfredl/oldtree
fix invalid docs for ts_tree_get_changed_ranges
|
2019-10-28 15:51:45 -07:00 |
|
Max Brunsfeld
|
42dfba29c6
|
Make ts_tree_get_changed_ranges less confusing
|
2019-10-28 15:33:41 -07:00 |
|
Björn Linse
|
124ae30138
|
fix invalid docs for ts_tree_get_changed_ranges
|
2019-10-25 21:19:33 +02:00 |
|
Max Brunsfeld
|
9b4b46ae11
|
Merge pull request #472 from tree-sitter/query-fuzz
Run highlighting logic in fuzzer
|
2019-10-24 10:35:51 -07:00 |
|