Commit Graph

35178 Commits

Author SHA1 Message Date
Ashi Krishnan
f91a4bb295
Merge pull request #17721 from atom/get-range-for-syntax-node-with-selector
Add TreeSitterLanguageMode::getSyntaxNodeContainingRange and TreeSitterLanguageMode::getSyntaxNodeAtPosition
2018-07-24 16:00:54 -04:00
Ashi Krishnan
8435d7edad
Update tree-sitter-language-mode.js
Don't use a default predicate for `getRangeForSyntaxNodeContainingRange`.
2018-07-24 14:03:26 -04:00
Ashi Krishnan
d6ac437eb8 Restore getRangeForSyntaxNodeContainingRange to ensure selectLargerSyntaxNode and selectSmallerSyntaxNode keep working. 2018-07-23 16:00:00 -04:00
Ashi Krishnan
45ab5488ae Remove debugger, test focus, and lint fixes. 2018-07-23 15:59:22 -04:00
simurai
107ec432e5
⬆️ one-dark/light-ui@v1.12.4 2018-07-23 16:39:37 +09:00
Jason Rudolph
4a5ac6623f
Merge pull request #17722 from atom/metrics-1.6.0
⬆️ metrics@1.6.0
2018-07-21 08:24:57 -04:00
David Wilson
916abe7c6c
Merge pull request #17723 from atom/dw-fix-nightly-builds
Fix failing Windows nightly builds
2018-07-20 21:08:57 -07:00
Ashi Krishnan
926cf73e63 Tests for new query functions. 2018-07-20 21:22:12 -04:00
Ashi Krishnan
311b28a3a5 Added getSyntaxNodeAtPosition and getSyntaxNodeContainingRange, tested 2018-07-20 21:16:59 -04:00
Ashi Krishnan
7cbd209811 Allow a node matching function in bufferRangeForScopeAtPosition 2018-07-20 20:56:53 -04:00
Max Brunsfeld
d0a89fb460 ⬆️ languages, one-syntax themes 2018-07-20 17:24:11 -07:00
David Wilson
85dfb15e97 Use computed version when cleaning up nupkg files in Windows build 2018-07-20 16:29:01 -07:00
David Wilson
3904ff04b8 Disable delta nupkg generation for Windows nightly releases 2018-07-20 16:28:24 -07:00
Ashi Krishnan
be0565f3f4 Convert to atom doc 2018-07-20 18:47:46 -04:00
Ashi Krishnan
32c4624d95 Add specs, clean up whitespace. 2018-07-20 18:37:41 -04:00
Ashi Krishnan
6fe8b54350 Add tests and fix up the ascent query to find the smallest matching node. 2018-07-20 18:16:22 -04:00
Jason Rudolph
24a2d0eda2
⬆️ metrics@1.6.0 2018-07-20 17:53:21 -04:00
Max Brunsfeld
12a3972d90 🎨 Remove empty if branch 2018-07-20 14:18:55 -07:00
Jason Rudolph
457cde4525
Merge pull request #17720 from atom/jr-observe-repositories
Introduce `observeRepositories` and `onDidAddRepository`
2018-07-20 17:06:39 -04:00
Ashi Krishnan
176ee2a3b3 Change TreeSitterLanguageMode::bufferRangeForScopeAtPosition(position) to
bufferRangeForScopeAtPosition(selector, position), to match the TextMateLanguageMode
signature, extracting some selector matching logic to do so.

Needed for https://github.com/atom/toggle-quotes/issues/57
2018-07-20 16:22:15 -04:00
Max Brunsfeld
3e6b95bfbb Preload language-ruby's main module during snapshotting 2018-07-20 12:46:12 -07:00
Max Brunsfeld
ea90180f4f ⬆️ language-ruby 2018-07-20 12:38:35 -07:00
Jason Rudolph
2a5f7e20c3
Fix overly-specific assertion
Fixes failing assertions [1] that unnecessarily assumed that the 
repository was cloned using `https://github.com/atom/atom.git` as the 
URL, as opposed to `git@github.com:atom/atom.git` as the URL.

[1] https://circleci.com/gh/atom/atom/7981
2018-07-20 15:15:59 -04:00
Max Brunsfeld
67402229f4
Merge pull request #17717 from atom/mb-tree-sitter-fixes
Fix bugs found when adding ruby tree-sitter grammar
2018-07-20 11:59:50 -07:00
Max Brunsfeld
9555449489 🎨 Clean up TreeSitterLanguageMode 2018-07-20 11:10:12 -07:00
Jason Rudolph
55da0d8f5d
Introduce atom.project.observeRepositories(callback) 2018-07-20 14:05:56 -04:00
Jason Rudolph
806d9311bf
Introduce atom.project.onDidAddRepository(callback) 2018-07-20 14:04:22 -04:00
Max Brunsfeld
ac3bc51c2a Improve criteria for when to fold partial vs entire buffer rows 2018-07-20 10:43:32 -07:00
Max Brunsfeld
137acb2f90 Fix highlighting when parent nodes extend beyond their first and last children 2018-07-20 10:16:19 -07:00
Max Brunsfeld
a283ca365f Fix a ruby folding issue 2018-07-19 17:15:04 -07:00
Max Brunsfeld
e500f933e0
Merge pull request #17702 from atom/fb-rh-text-editor-component-updateClassList
Modify TextEditorComponent updateClassList to always add managed classes to element
2018-07-19 16:27:21 -07:00
Max Brunsfeld
9136909f0b ⬆️ language-html 2018-07-19 16:03:29 -07:00
Max Brunsfeld
94425ebc44 ⬆️ language-ruby 2018-07-19 15:56:38 -07:00
David Wilson
f0e07a3a7f
Merge pull request #17674 from atom/rfc-003-consolidate-core-packages
RFC 003: Consolidate Core Atom Packages
2018-07-19 15:36:34 -07:00
David Wilson
3e4acb677f Set RFC 003 status to Accepted 2018-07-19 15:35:20 -07:00
David Wilson
c40af11733 Add current decision to question about using git subtree in migrations 2018-07-19 15:34:58 -07:00
David Wilson
e549841d83
Merge pull request #17716 from atom/dw-fix-atom-sh
Use correct executable name for Atom Dev.app in atom.sh on macOS
2018-07-19 11:51:17 -07:00
David Wilson
9c9cb12081 Use correct executable name for Atom Dev.app in atom.sh 2018-07-19 10:53:43 -07:00
Max Brunsfeld
c9a4bb4245 Fix logic for updating foldable range cache 2018-07-18 17:09:47 -07:00
Max Brunsfeld
84b2ba742d ⬆️ tree-sitter, language packages 2018-07-18 16:21:43 -07:00
David Wilson
0006249c88 📝 More updates from feedback 2018-07-18 14:36:02 -07:00
Ash Wilson
643ffd6bb6
Merge pull request #17701 from atom/aw/github-up-dev
GitHub update on atom dev
2018-07-17 10:51:28 -04:00
Ash Wilson
cde0503e57
⬆️ github 2018-07-17 08:36:28 -04:00
Max Brunsfeld
8f7a55971e ⬆️ language-html 2018-07-16 17:31:04 -07:00
Max Brunsfeld
b028876606 ⬆️ language-javascript 2018-07-16 16:19:53 -07:00
Max Brunsfeld
65201b72d8
Merge pull request #17551 from atom/tree-sitter-injections
Add Tree-sitter grammar injections
2018-07-16 15:15:24 -07:00
Max Brunsfeld
83f0a0bad2 ⬆️ language-html, language-javascript 2018-07-16 15:14:32 -07:00
Ryan Holinshead
a280019847 Add spec to test that updateClassList does not blow away the managed class names (editor, is-focused, mini) when the element class names are changed.
Released under CC0
2018-07-16 14:58:39 -07:00
Max Brunsfeld
8fa9a45a54 Incorporated injected languages in scope descriptors 2018-07-16 14:17:39 -07:00
Max Brunsfeld
ebd546f572 Fix handling of folds inside highlighted tokens 2018-07-16 14:17:39 -07:00