Commit Graph

34203 Commits

Author SHA1 Message Date
Max Brunsfeld
ead8b907b9 ⬆️ text-buffer, find-and-replace 2018-01-16 17:42:48 -08:00
Nathan Sobo
c984897311 ⬆️ about 2018-01-16 13:31:39 -06:00
Nathan Sobo
9807e56154 Merge pull request #16575 from atom/ns-null-guard-scope-prefix
Null guard auto-prefixing of `.` to scopes for backward compatibility
2018-01-16 12:10:26 -07:00
Nathan Sobo
d93565423a Null guard auto-prefixing of '.' to scopes for backward compatibility
In some cases, packages such as atom-beautify manually construct scope
descriptors with an empty scopes array.
2018-01-16 11:30:27 -06:00
Wliu
32dfb019ee Merge pull request #16570 from UziTech/patch-5
Update all {Repository} to {GitRepository}
2018-01-16 00:37:47 -05:00
Tony Brix
174672d00b Update all {Repository} to {GitRepository} 2018-01-15 23:34:43 -06:00
Antonio Scandurra
5a3e1d28ca Merge pull request #16546 from atom/as-allow-clicking-scrollbar-with-dock-indicators
Programmatically detect when mouse approaches the edge of a dock
2018-01-15 10:08:26 +01:00
Antonio Scandurra
176552fb7b Change assertion to reflect the new programmatic dock revealing 2018-01-15 09:48:42 +01:00
David Wilson
6c066f8db1 Merge pull request #16548 from MoritzKn/patch-2
Link spec for finding icon dir in install script
2018-01-12 17:02:47 -08:00
Moritz
cef511c5d2 Link spec for finding icon dir in install script
This is a follow up for #15498
2018-01-13 01:53:19 +01:00
Max Brunsfeld
0fb429174c ⬆️ language-c 2018-01-12 16:51:36 -08:00
Max Brunsfeld
c0795e0255 ⬆️ autocomplete-plus 2018-01-12 16:43:04 -08:00
Damien Guard
61df0bd6d9 No longer used on appveyor 2018-01-12 15:24:21 -08:00
David Wilson
3f7a29b86c Merge pull request #16542 from atom/dw-preserve-editor-settings
Preserve some TextEditor settings when language mode changes
2018-01-12 13:52:47 -08:00
David Wilson
dbd4a0a4c0 Preserve TextEditor settings when language mode changes
This change fixes #13829 which reports that the `softWrapped` setting of
an untitled TextEditor is lost when the buffer is saved to a file.  This
is caused by logic that updates TextEditor settings when the buffer's
language mode changes.

The fix is to preserve any TextEditor settings that would not change when
switching between the previous and current language mode of the buffer.
2018-01-12 13:51:35 -08:00
Antonio Scandurra
8077f46fdf Programmatically detect when mouse approaches the edge of a dock
Previously, we would assign dock elements a minimum width/height of 2
pixels so that we could detect when the mouse approached the edge of a
hidden dock in order to show the chevron buttons. This, however, was
causing confusion for users, who expected that extra space to be
clickable in order to scroll editors located in the center dock.

With this commit we will instead register a global `mousemove` event on
the window right when attaching the workspace element to the DOM (the
event handler is debounced, so this shouldn't have any performance
consequence). Then, when mouse moves, we will programmatically detect
when it is approaching to the edge of a dock and show the chevron button
accordingly. This allows us to remove the `min-width` property from the
dock container element, which eliminates the confusing behavior
described above.
2018-01-12 17:12:55 +01:00
Antonio Scandurra
a7e642e473 Destroy underlying element when resetting or destroying Workspace 2018-01-12 16:06:35 +01:00
Antonio Scandurra
7f408e7791 ⬆️ settings-view 2018-01-12 14:43:26 +01:00
Antonio Scandurra
f44c353591 ⬆️ text-buffer
Fixes #15924
Refs atom/text-buffer#285
2018-01-12 09:30:54 +01:00
Max Brunsfeld
30e4929db2 ⬆️ language-javascript 2018-01-11 16:13:22 -08:00
Max Brunsfeld
582fa6b092 ⬆️ autocomplete-plus, languages
For editor.nonWordCharacters, autocomplete.extraWordCharacters tweak
2018-01-11 15:15:17 -08:00
Jason Rudolph
d20eaf3965 Merge pull request #16533 from atom/run-appveyor-installer-task-on-master-branch
Teach AppVeyor to run installer task for master branch
2018-01-11 10:40:56 -05:00
Jason Rudolph
992ebe352d Be kind to build queue: Skip installer for non-release/non-master branch 2018-01-11 09:01:59 -05:00
Jason Rudolph
9165488f38 Remove debugging logic 2018-01-11 08:56:43 -05:00
Jason Rudolph
9188b98b8e Fix syntax ... maybe 🙏 2018-01-11 08:28:34 -05:00
Jason Rudolph
f5356eea99 Echo AppVeyor env vars earlier 2018-01-11 08:21:49 -05:00
Jason Rudolph
cdb21a063f Echo AppVeyor env vars for debugging 2018-01-11 08:06:38 -05:00
Damien Guard
63d3a47ea8 Do not sign PRs 2018-01-10 15:58:04 -08:00
Damien Guard
5e64206f90 Appveyor double-ampersand nonsense 2018-01-10 15:45:57 -08:00
Damien Guard
4422318584 Build the right things on appveyor 2018-01-10 15:41:21 -08:00
Jason Rudolph
058c13e252 Teach AppVeyor to run installer task for master branch 2018-01-10 17:24:43 -05:00
David Wilson
2cb66ae9e1 Merge pull request #15498 from MoritzKn/refactor-install-script
Refactor install script for linux (install dev channel parallel, use icon themes)
2018-01-10 10:50:23 -08:00
Antonio Scandurra
64f46256e3 Merge pull request #16530 from atom/as-fix-state-loading-race-condition
Fix race condition between opening new files and restoring window state
2018-01-10 14:33:25 +01:00
Antonio Scandurra
a5c0223592 Fix race condition between opening new files and restoring window state
This commit fixes a race condition in the
`attemptRestoreProjectStateForPaths` function that could cause a file to
be opened more than once within the same workspace pane.

In particular, when opening some file into an empty window, Atom tries
to recover the state for the project containing the file (if there is
one). However, we were previously not waiting until the
`AtomEnvironment`'s state had been fully deserialized before trying to
load the requested file into the workspace. If the same file also
existed in the serialized representation of the workspace, it could end
up being opened twice.

With this commit we will now wait until the environment has been fully
deserialized before honoring the user's request of loading new files
into an empty window. Also, tests have been restructured to test more
thoroughly this interaction.
2018-01-10 13:22:09 +01:00
Antonio Scandurra
e85b8738d1 Allow destroying AtomEnvironment instances that haven't been initialized 2018-01-10 13:11:25 +01:00
Antonio Scandurra
3e93c61173 ⬆️ find-and-replace 2018-01-10 11:20:16 +01:00
Antonio Scandurra
1280a3dce5 ⬆️ spell-check 2018-01-10 10:48:57 +01:00
Max Brunsfeld
59f2b21d6c Merge pull request #16524 from atom/mb-fix-tree-sitter-slowness
Fix two tree-sitter performance problems
2018-01-09 21:29:55 -08:00
Max Brunsfeld
4084922cb4 Optimize TreeSitterHighlightIterator.seek 2018-01-09 17:38:10 -08:00
Max Brunsfeld
a9a58a7bb2 ⬆️ tree-sitter to fix an error recovery hang 2018-01-09 17:22:21 -08:00
Wliu
26df68c9f6 Merge pull request #16245 from atom/wl-async-save-dialog
Make showSaveDialog async
2018-01-09 18:56:18 -05:00
Wliu
c84eeb3ae0 Merge branch 'master' into wl-async-save-dialog 2018-01-09 17:20:57 -05:00
Wliu
cd123456ca Merge pull request #16229 from atom/wl-async-confirm
Make atom.confirm async
2018-01-09 17:19:51 -05:00
Michelle Tilley
5748f2367c Merge pull request #16521 from atom/dg-remove-protocol-handler-if-set-to-never-on-startup
If protocol handler set to never, unregister it on Windows
2018-01-09 13:34:41 -08:00
Michelle Tilley
fd50e02162 👕 2018-01-09 12:19:33 -08:00
Wliu
18ee2e6f11 Oops 2018-01-09 14:56:09 -05:00
Michelle Tilley
233e519007 Add winreg to snapshot ignore list 2018-01-09 11:52:18 -08:00
Damien Guard
7afa03345a If protocol handler set top never, unregister it on Windows 2018-01-09 11:38:05 -08:00
Nathan Sobo
b5c939d5ce Merge pull request #16518 from atom/ns-as-fix-add-selection
Don't add fully-contained selections above/below
2018-01-09 10:10:13 -07:00
Antonio Scandurra
450d6b12fa Don't add fully-contained selections above/below
This is slower than it needs to be and creates behavioral problems when
selections get merged in some cases.

Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-09 16:47:26 +01:00