Commit graph

55 commits

Author SHA1 Message Date
Max Brunsfeld
bdd3f20522 Add PropertySheet::map method 2018-12-13 16:30:40 -08:00
Max Brunsfeld
4a361fbb3f Implement Copy for Node 2018-12-13 10:08:50 -08:00
Max Brunsfeld
494329c93b Add Parser.set_included_ranges and Node.range 2018-12-13 10:08:25 -08:00
Max Brunsfeld
85347541f1 Allow PropertySheet selectors to match the root node
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-12-11 17:30:12 -08:00
Max Brunsfeld
ba9da0a9b4 0.3.4 2018-12-11 10:35:03 -08:00
Max Brunsfeld
b0a7c854a4 Avoid redundant regex complication when instantiating PropertySheets 2018-12-10 14:57:46 -08:00
Max Brunsfeld
beb60194d1 0.3.3 2018-12-03 14:42:25 -08:00
Max Brunsfeld
fbb220f193 Add test for regexes in property sheets 2018-12-03 10:43:58 -08:00
Max Brunsfeld
11610e1df6 Eliminate deserializer lifetime on PropertySheet
The PropertySheet is intended to be a long-lived object, whereas its
JSON source is not needed once the property sheet is instantiated.

Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-29 20:59:47 -08:00
Max Brunsfeld
c9ce314695 Make PropertySheet generic on the properties type
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-29 16:21:01 -08:00
Max Brunsfeld
d5b53cde7d Respect the :text pseudo-class in TreePropertyCursor
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-28 17:26:48 -08:00
Max Brunsfeld
a741265ead Replace all u32s in the API with usizes
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-28 17:26:16 -08:00
Max Brunsfeld
8fdcf84ff3 0.3.2 2018-11-20 16:00:45 -08:00
Max Brunsfeld
afe7223582 Upgrade Tree-sitter, use single source file in build script 2018-11-20 15:56:16 -08:00
Max Brunsfeld
db360b73fb Add Tree.walk_with_properties 2018-10-13 14:27:17 -07:00
Max Brunsfeld
a8cbde6dbf Run rustfmt on lib.rs 2018-10-09 08:23:02 -07:00
Max Brunsfeld
91d35dec7d Add Parser.parser_utf8_io() method 2018-10-08 22:33:43 -07:00
Max Brunsfeld
572e8c202e Implement Send for Parser 2018-10-08 22:33:11 -07:00
Max Brunsfeld
0c2e1c189b Implement Clone for Language 2018-10-08 22:32:58 -07:00
Max Brunsfeld
c8125ec617 Make Language send + sync, add language methods 2018-10-08 11:45:57 -07:00
Max Brunsfeld
5fbb261316 0.3.1 2018-07-20 13:36:42 -07:00
Max Brunsfeld
bdd52376a8 Fix cargo category slugs 2018-07-20 13:36:12 -07:00
Max Brunsfeld
47a7430da3 0.3.0 2018-07-20 13:33:17 -07:00
Max Brunsfeld
c477e45fcc Update to the latest Tree-sitter 2018-07-20 13:33:17 -07:00
Max Brunsfeld
af6530d3b7
Merge pull request #1 from srenatus/sr/readme-fixes
README.md: small fixes
2018-06-28 09:47:13 -07:00
Stephan Renatus
2eff3225ba README.md: small fixes
To call .set_language on parser, it needs to be mut; also, the syntax
for the extern "C" blocks seemed to be a bit off.

Both now corresponds to what's in the tests.

Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-06-28 10:25:01 +02:00
Max Brunsfeld
86c8206e35 0.2.0 2018-06-19 16:21:02 -07:00
Max Brunsfeld
5efc28f2f3 Update to latest tree-sitter API 2018-06-19 16:19:37 -07:00
Max Brunsfeld
16a7366ec7 0.1.1 2018-05-18 15:06:05 -07:00
Max Brunsfeld
0034fce809 Add some fields to the cargo manifest 2018-05-18 15:05:31 -07:00
Max Brunsfeld
45660e7b4e Make syntax trees implement Send 2018-05-18 15:02:22 -07:00
Max Brunsfeld
4da669ce8d Fix bugs in editing/reparsing 2018-05-18 14:28:15 -07:00
Max Brunsfeld
819b140701 Make set_logger take a boxed function 2018-05-18 14:06:49 -07:00
Max Brunsfeld
e6d580597d Add crates.io badge to README 2018-05-18 12:02:52 -07:00
Max Brunsfeld
c0b49e9935 Fix include globs in package manifest 2018-05-18 11:57:00 -07:00
Max Brunsfeld
a27ac49dea Flesh out README 2018-05-18 11:42:13 -07:00
Max Brunsfeld
870dc11f79 Implement Eq and Debug for Node 2018-05-18 11:15:37 -07:00
Max Brunsfeld
e10a817704 Switch back to default c compiler on travis 2018-05-18 10:55:42 -07:00
Max Brunsfeld
4603542747 Add more public methods and tests 2018-05-18 10:55:20 -07:00
Max Brunsfeld
993bfea669 Add missing source file 2018-05-18 10:39:00 -07:00
Max Brunsfeld
654789f925 Use UTF8PROC_STATIC macro 2018-05-18 10:27:36 -07:00
Max Brunsfeld
7748f8e168 Fetch submodules on appveyor 2018-05-18 10:16:28 -07:00
Max Brunsfeld
8d485857e1 Tweak build script for windows 2018-05-18 10:11:29 -07:00
Max Brunsfeld
29c0cd3aa4 Add appveyor config 2018-05-18 09:58:34 -07:00
Max Brunsfeld
e61edf5398 Don't perform platform-specific name mangling on C functions for bindings 2018-05-18 09:30:00 -07:00
Max Brunsfeld
29dfa05504 Try clang 2018-05-17 21:13:59 -07:00
Max Brunsfeld
13e26b5007 Try a static flag 2018-05-17 18:08:44 -07:00
Max Brunsfeld
b1ff399960 ⬆️ tree-sitter for warning fixes 2018-05-17 18:02:01 -07:00
Max Brunsfeld
572a60183c Suppress warnings associated w/ generated bindings 2018-05-17 17:41:44 -07:00
Max Brunsfeld
7e6675d56e Use a more unique library name when building C sources 2018-05-17 17:41:44 -07:00