Commit Graph

35006 Commits

Author SHA1 Message Date
Ashi Krishnan
302ee1e2c1 WIP child ranges 2018-07-05 13:09:22 -04:00
Ashi Krishnan
aca13c1d6d merge 2018-07-05 12:14:26 -04:00
Max Brunsfeld
e16e68094f Update highlighting when an injectable tree-sitter grammar is loaded 2018-06-29 14:47:38 -07:00
Max Brunsfeld
623af0ca90 Fix possible mismatch between .findMarkers and .descendantsOfType 2018-06-29 12:55:43 -07:00
Max Brunsfeld
60c59c795c Fix highlighting problem when seeking past the end of a syntax tree 2018-06-29 12:53:43 -07:00
Max Brunsfeld
41c124cc13 Define highlight iter's position in terms of tree cursor position
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-28 19:50:57 -07:00
Max Brunsfeld
cdb9529b68 Emit highlight change events when removing injections
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-27 15:40:06 -07:00
Max Brunsfeld
6c85ff84a5 Start parsing right away when constructing a TreeSitterLanguageMode
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-27 14:31:48 -07:00
Max Brunsfeld
613d4d65e9 Add text getter to SyntaxNode
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-27 13:13:08 -07:00
Max Brunsfeld
4d3916f74e Add tests and docs for addInjectionPoint
Also, replace `addInjectionPattern` API with a single `injectionRegExp` 
field on the grammar.

Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-27 12:39:29 -07:00
Max Brunsfeld
930691c689 ⬆️ tree-sitter 2018-06-27 11:14:13 -07:00
Max Brunsfeld
890d955f70 Only update injections intersecting changed ranges 2018-06-26 20:54:18 -07:00
Max Brunsfeld
c05dcb0bb8 Fix syntax highlighting problems with injected languages
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-26 15:30:03 -07:00
Max Brunsfeld
e60f0f9b60 Get first test for grammar injections passing
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-26 13:46:33 -07:00
Max Brunsfeld
37a3ae1491 Start work on Tree-sitter grammar injections
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-22 16:21:32 -07:00
Max Brunsfeld
d881918367 wip 2018-06-20 15:38:06 -07:00
Jason Rudolph
26cd4a07d1 ⬆️ metrics@1.3.0 2018-06-20 11:35:28 -04:00
Max Brunsfeld
3e94a8358c ⬆️ tree-sitter 2018-06-19 16:38:56 -07:00
Max Brunsfeld
e297babfdd Merge pull request #17537 from atom/mb-html-folding-fix
Fix Tree-sitter folding bug affecting HTML
2018-06-18 14:47:33 -07:00
Max Brunsfeld
ed48feda82 Fix Tree-sitter folding bug affecting HTML 2018-06-18 14:41:34 -07:00
Max Brunsfeld
0e1decb2db ⬆️ language-html for tree-sitter parser update 2018-06-18 11:57:46 -07:00
Max Brunsfeld
f8f8e9331a ⬆️ languages for tree-sitter parser updates 2018-06-18 11:55:53 -07:00
Max Brunsfeld
718098f319 ⬆️ tree-sitter 2018-06-18 11:49:10 -07:00
Jason Rudolph
15e769a176 Merge pull request #17518 from atom/electron-2.0.2
⬆️ electron@2.0.2
2018-06-15 17:50:24 -04:00
Jason Rudolph
838ac08155 ⬆️ :electron: 2.0.2 2018-06-15 15:27:44 -04:00
Hubot
61c52463f0 1.30.0-dev 2018-06-15 11:08:13 -07:00
David Wilson
f2429dbbae ⬆️ language-gfm 2018-06-15 11:05:47 -07:00
Ash Wilson
3254350fba Merge pull request #17516 from atom/aw/github-up-dev
Upgrade atom/github on dev
2018-06-15 10:30:06 -04:00
Ash Wilson
b63366c3bb ⬆️ atom/github 2018-06-15 09:16:20 -04:00
David Wilson
3717b48ba1 Merge pull request #17445 from atom/dw-nightly-releases-rfc
Add proposed RFC "Atom Nightly Releases"
2018-06-14 10:20:33 -07:00
David Wilson
485ef94902 Set RFC 001 status back to Proposed 2018-06-13 16:27:52 -07:00
David Wilson
7346a91740 Merge pull request #17379 from atom/dw-updateable-packages-rfc
Add proposed RFC 'Updateable Bundled Packages'
2018-06-13 16:23:09 -07:00
David Wilson
48584e9f9f Add the RFC template for future RFCs 2018-06-13 15:14:45 -07:00
David Wilson
5ee80c0115 Fix indentation in bulleted list 2018-06-13 15:11:51 -07:00
David Wilson
5af47312c2 Set RFC 001 status to Accepted 2018-06-13 15:09:45 -07:00
David Wilson
a95c1fb0ca Rename RFC 001 to use "Updatable" 2018-06-13 15:09:44 -07:00
David Wilson
11bdbd13db Change "updateable" to "updatable" 2018-06-13 15:09:44 -07:00
David Wilson
1917ee7702 Add possible mitigation for lack of updated package snapshots 2018-06-13 15:09:44 -07:00
David Wilson
25577e93b1 Add automation requirement to rule #3 2018-06-13 15:09:44 -07:00
David Wilson
b179d9e121 Remove unneeded prompt block 2018-06-13 15:09:43 -07:00
David Wilson
579ffa4a39 Add Drawbacks subsection headers 2018-06-13 15:09:43 -07:00
David Wilson
185a386344 Add snapshot/non-snapshot timings, update wording 2018-06-13 15:09:43 -07:00
Jason Rudolph
51f3d5c20e Fix property name 2018-06-13 15:09:43 -07:00
Jason Rudolph
6a9b9c302b Add missing word 2018-06-13 15:09:43 -07:00
David Wilson
6ca40a6521 Update RFC based on feedback 2018-06-13 15:09:42 -07:00
David Wilson
f05a8b8e5e Add proposed RFC 'Updateable Bundled Packages' 2018-06-13 15:09:42 -07:00
David Wilson
7704120ead Set RFC 002 status to Accepted 2018-06-13 15:07:34 -07:00
David Wilson
fdabdf5d53 Fix minor details and wording 2018-06-13 15:06:54 -07:00
David Wilson
16ed259c4d Add draft of "Atom Nightly Releases" RFC 2018-06-13 14:40:11 -07:00
Jason Rudolph
ff1a0c35d8 Merge pull request #17510 from atom/metrics-1.2.8
⬆️ metrics@1.2.8
2018-06-13 16:42:06 -04:00