Commit Graph

35190 Commits

Author SHA1 Message Date
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
Benjamin Gray
1fc0f0d683 Merge pull request #16342 from davidrsfalcao/master
'cmd--': As default for 'window:decrease-font-size' on MacOs
2018-07-26 09:34:13 +10:00
Max Brunsfeld
cf621ad596 ⬆️ language-python 2018-07-25 12:00:05 -07:00
Jason Rudolph
c045556c73 Merge pull request #17743 from atom/find-and-replace-0.215.12
⬆️ find-and-replace@0.215.12
2018-07-25 11:51:20 -04:00
Jason Rudolph
79734bd058 ⬆️ find-and-replace@0.215.12 2018-07-25 10:37:30 -04:00
Max Brunsfeld
024feb1fff Merge pull request #17740 from atom/mb-tree-sitter-python-highlighting-fix
Fix tree-sitter highlighting regression affecting python
2018-07-24 16:51:24 -07:00
Max Brunsfeld
aefc3233e3 Highlight iterator - only ascend when at the last child 2018-07-24 14:28:03 -07:00
Jason Rudolph
4402dd6d29 Fix #17535
Treat `onDidTerminatePendingState` and `onDidDestroy` as independent 
optional functions that a PaneItem can implement. A PaneItem is free to 
implement neither, just one of them, or both of them.
2018-07-24 16:50:47 -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
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