Max Brunsfeld
f1f37ee948
Update syntax highlighting synchronously if parsing completes synchronously
2018-08-24 09:34:58 -07:00
Max Brunsfeld
f39ef32545
Delete spurious file
2018-08-24 09:34:58 -07:00
Max Brunsfeld
d1283fa69f
Fix TreeSitterLanguageMode.isRowCommented
2018-08-24 09:34:58 -07:00
Ash Wilson
592722d094
Spec for passing additional options to the test window
2018-08-22 10:27:50 -04:00
Ash Wilson
4e150179a9
Merge pull request #17736 from atom/aw/custom-line-number-gutter
...
Multiple, custom line number gutters
2018-08-21 18:17:31 -04:00
Ash Wilson
e04da46e8a
Quick spec for line number rendering
2018-08-21 16:59:48 -04:00
David Wilson
ad4553cbba
Merge pull request #17686 from atom/dw-repo-local-core-packages
...
Enable repo-local core packages in the 'packages' folder
2018-08-21 10:08:39 -07:00
Ash Wilson
ddb1dec987
Merge remote-tracking branch 'origin/master' into aw/custom-line-number-gutter
2018-08-21 11:39:47 -04:00
Max Brunsfeld
fd6f9d39bd
Make tree-sitter scope descriptors match HTML classes, not syntax tree
2018-08-20 10:40:55 -07:00
Max Brunsfeld
760b38c54b
Support a single scope name field on Tree-sitter grammars
...
* Remove the `legacyScopeName` field
* Remove the legacy scope name concept from the Config class
* Handle tree-sitter grammars and textmate grammars having the same
scope names
2018-08-20 09:58:37 -07:00
Max Brunsfeld
a01d0a7983
Adjust test to await fewer changes due to tree-sitter async bugfix
2018-08-13 10:15:34 -07:00
Max Brunsfeld
9072e58ea7
Merge pull request #17816 from atom/mb-tree-sitter-grammar-regex-tweaks
...
Support two different content-matching regexes for tree-sitter grammars
2018-08-10 13:33:24 -07:00
Max Brunsfeld
6d54578daa
Use setTimeout instead of setImmediate in MenuManager
...
This should fix the flaky test failures that have been occurring on windows VSTS builds
2018-08-10 12:33:00 -07:00
Max Brunsfeld
87784989ad
Merge pull request #17750 from atom/mb-reduce-test-noise
...
Fix errors causing tests to fail when run from the UI
2018-08-10 12:22:54 -07:00
Max Brunsfeld
6f41353e9f
Support two different content-matching regexes for tree-sitter grammars
...
* firstLineRegex is only tested against the first line of the file, and
if it matches, it allows the grammar to be used for the file.
* contentRegex is only tested if the grammar matched the file name
or the grammar's firstLineRegex matched. It is used to break ties
between grammars like C and C++, Flow and JS
2018-08-09 17:19:32 -07:00
David Wilson
298db7314c
Merge remote-tracking branch 'origin/master' into dw-repo-local-core-packages
2018-08-08 11:07:05 -07:00
Max Brunsfeld
826844c7e0
Emit onDidTokenize event from TreeSitterLanguageMode
2018-08-07 21:03:03 -07:00
David Wilson
6753b929cb
Don't depend on ATOM_DEV_RESOURCE_PATH for local core package path
2018-08-07 16:09:34 -07:00
Max Brunsfeld
058e2b82dc
Allow comma-separated selectors as keys in Tree-sitter scope mappings
2018-08-04 17:17:43 -07:00
Ash Wilson
b3518acd12
Merge branch 'master' into aw/custom-line-number-gutter
2018-07-31 07:54:57 -04:00
Ash Wilson
1b3f99c3d7
Merge pull request #17432 from atom/aw/watcher-up
...
atom/watcher upgrade
2018-07-30 15:36:06 -04:00
Ashi Krishnan
639164034f
Merge branch 'master' into regex-matchers-for-style-map
2018-07-30 12:46:08 -04:00
Ash Wilson
9beec5f175
Merge branch 'master' into aw/watcher-up
2018-07-30 09:26:08 -04:00
Ash Wilson
a61f006a62
Merge branch 'master' into aw/custom-line-number-gutter
2018-07-30 09:07:20 -04:00
Jason Rudolph
c74971e40c
Fix repository tests that fail when run in fork of atom/atom
...
Prior to this change, these tests assumed that the local repository is a
clone of atom/atom, and the tests (unintentionally) failed if the local
repository was a fork of atom/atom:
https://circleci.com/gh/marcomorain/atom-1/29
Instead of depending on the local clone of the atom repository for these
tests, this commit updates the tests to use one of the fixture
repositories. 😅
2018-07-27 09:40:38 -04:00
Max Brunsfeld
c8c4e4fa3d
Delete redundant test for on atom.onUpdateAvailable
...
This test emitted an event in the main process, which caused exceptions
in all *other* Atom windows 🙀 .
2018-07-26 10:23:51 -07:00
Max Brunsfeld
1e2e461e5e
Avoid excessive numbers of IPC event listeners in ApplicationDelegate
2018-07-26 10:20:01 -07:00
Jason Rudolph
c52dc23242
Merge pull request #17744 from atom/fix-17535
...
Teach Pane to always look for a pane item's onDidTerminatePendingState function
2018-07-26 08:44:49 -04:00
Jason Rudolph
84a241cb4e
Add failing test to demonstrate the bug identified in #17535
2018-07-24 16:45:37 -04:00
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
b61ade47fc
Merge master.
2018-07-24 14:09:42 -04:00
Ashi Krishnan
f2e54a70f0
Lint.
2018-07-24 13:34:41 -04:00
Ash Wilson
795c3b27aa
Use type
instead of kind
2018-07-24 09:53:14 -04:00
Ash Wilson
dbace171df
Add a kind
property to Gutters
2018-07-24 09:37:23 -04:00
Ashi Krishnan
45ab5488ae
Remove debugger, test focus, and lint fixes.
2018-07-23 15:59:22 -04:00
Ashi Krishnan
926cf73e63
Tests for new query functions.
2018-07-20 21:22:12 -04: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
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
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
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
Max Brunsfeld
a2f831f533
Merge branch 'master' into tree-sitter-injections
2018-07-13 16:10:19 -07:00
Max Brunsfeld
be5020f05f
Rework handling of edited ranges
2018-07-13 13:03:56 -07:00