Commit Graph

8599 Commits

Author SHA1 Message Date
David Wilson
d0ecc657ce Merge pull request #17958 from cacheflow/add-capturing-to-keydown-events-when-hiding-tooltips
Fix: Added capturing to keydown events when hiding tooltips
2018-09-06 08:18:56 -07:00
David Wilson
c03ddebaef Merge pull request #16940 from BoykoAlex/atom-links
Support `atom` protocol links when links are handled
2018-09-06 07:32:49 -07:00
Max Brunsfeld
ba96bbf8f1 Add TreeSitterLanguageMode.tokenForPosition 2018-09-05 09:54:43 -07:00
David Wilson
f5cda2b70b Merge remote-tracking branch 'origin/master' into atom-links 2018-09-05 09:43:06 -07:00
Max Brunsfeld
60c19afca2 Move more textmate-specific tests to TextMateLanguageMode spec 2018-09-04 11:37:30 -07:00
Max Brunsfeld
0db70b7865 Fix up text editor specs 2018-09-04 11:37:30 -07:00
Ashi Krishnan
e4248d13c8 Disable useTreeSitterParsers in the TextMateLanguageMode specs. 2018-09-04 11:37:30 -07:00
Max Brunsfeld
d88ae67a20 Update fixture package to use a tree-sitter grammar 2018-09-04 11:37:30 -07:00
Lexis Alexander
52331786a2 Fix: Added capturing to keydown events when hiding tooltips 2018-08-30 14:11:33 -07:00
Max Brunsfeld
3160c60c00 Always include root scope name in Tree-sitter scope descriptors 2018-08-30 12:30:52 -07:00
Max Brunsfeld
6456f8a032 Update language mode synchronously for multiple synchronous buffer changes 2018-08-30 12:30:34 -07:00
Ash Wilson
e3e315c5e9 Merge branch 'master' of github.com:atom/atom into pr-11139/atom/ld-change-range-event 2018-08-29 15:08:50 -04:00
Stepan Hruda
069d3ec91a Merge pull request #17873 from atom/fb-sh-close-on-unload
During quit, close unloaded windows
2018-08-27 20:32:26 -04:00
Stepan Hruda
12c4e596b9 During quit, close unloaded windows
Released under CC0.
2018-08-27 19:06:36 -04:00
Max Brunsfeld
5c74112f79 Merge pull request #17913 from captbaritone/race
Avoid serialization race condition with slow package deactivation
2018-08-27 12:59:07 -07:00
Jordan Eldredge
351b624487 Fix unloading serialization test 2018-08-27 10:24:04 -07:00
Max Brunsfeld
51044ce16e Avoid babel in test files that are run in the main process 2018-08-24 12:07:24 -07:00
Max Brunsfeld
467415af19 Merge branch 'master' into wl-rm-safe-clipboard 2018-08-24 11:57:36 -07:00
Max Brunsfeld
4d3a9ec17b Update TextEditorRegistry spec to expect sync updates 2018-08-24 10:37:06 -07:00
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