Commit Graph

30014 Commits

Author SHA1 Message Date
Max Brunsfeld
1ad6a0f50c Merge pull request #12694 from atom/mb-ns-avoid-adding-non-existent-project-directories
Avoid adding non-existent project directories
2016-09-21 13:24:12 -07:00
Max Brunsfeld
b88fa984cf Wait for project folder to be added in main process tests 2016-09-21 11:37:37 -07:00
Max Brunsfeld
3039024d17 Go back to using promise based on window:loaded event in main process tests 2016-09-21 11:37:24 -07:00
Max Brunsfeld
cff4de5195 Wait for project directory to be added in main process test 2016-09-21 11:04:29 -07:00
Antonio Scandurra
bc2292e7dd Merge pull request #12745 from atom/as-tokenized-buffer-invalid-range
Always return an empty array in TokenizedBuffer.getInvalidatedRanges
2016-09-21 19:07:05 +02:00
Max Brunsfeld
da6bfedc76 Merge branch 'master' into mb-ns-avoid-adding-non-existent-project-directories 2016-09-21 09:54:04 -07:00
Antonio Scandurra
8e5f0a6904 ⬆️ text-buffer
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-21 18:29:04 +02:00
Wliu
81fd413f78 Merge pull request #12748 from atom/fk_update_language-perl
⬆️ language-perl@v0.37.0
2016-09-21 12:08:22 -04:00
Florian Kinder
cfb5b17815 ⬆️ language-perl@v0.37.0 2016-09-21 17:21:45 +02:00
Antonio Scandurra
42079b309d Always return an empty array in TokenizedBuffer.getInvalidatedRanges
..because TokenizedBuffer never synchronously invalidates beyond the
extent of the spatial change.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-21 16:56:19 +02:00
Antonio Scandurra
791a19494a ⬆️ spell-check 2016-09-21 13:38:32 +02:00
Antonio Scandurra
e2d0741ac2 Merge pull request #12730 from atom/as-dont-remeasure-first-char-of-line
Don't remeasure the first character of a line
2016-09-21 13:35:28 +02:00
Max Brunsfeld
890436a456 Spy on AtomEnvironment.destroy in window event handler spec 2016-09-20 17:45:58 -07:00
Max Brunsfeld
d1a4fd2378 Wait for reused window's project paths to update in main process test
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-20 16:52:47 -07:00
Max Brunsfeld
833b3b0ab0 Save state when reloading AtomWindow
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-20 16:10:11 -07:00
Max Brunsfeld
c2c7241eda Destroy AtomEnvironment in beforeunload handler, not unload handler
See https://github.com/electron/electron/issues/7278

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-20 16:10:05 -07:00
Nathan Sobo
c852317ca1 ⬆️ settings-view 2016-09-20 16:13:14 -06:00
Nathan Sobo
ef6b364605 Merge pull request #12733 from atom/ns-as-restart-application
Add atom.restartApplication
2016-09-20 15:06:55 -07:00
Nathan Sobo
fa41da182e Merge pull request #12697 from atom/ns-upgrade-atom-keymap
Improve support for international keyboards
2016-09-20 14:43:01 -07:00
Nathan Sobo
7872875c57 🎨 2016-09-20 15:15:55 -06:00
Nathan Sobo
fe9a7d1db3 Preserve command line flags when restarting
This performs restarts in the main process and uses ipc to request restarts from application windows. We preserve the following settings:

* dev mode
* custom resource path
* safe mode
* portable mode
* socket path
* log file path
* user data dir
2016-09-20 15:13:46 -06:00
Max Brunsfeld
46eb861f84 Try manually tearing down atom env before reloading window in main process spec 2016-09-20 12:37:40 -07:00
Nathan Sobo
1d740b4169 Relaunch Atom when changing the title bar style
Now that we have the required API

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-20 11:39:58 -06:00
Nathan Sobo
6aa8d33a05 Add atom.restartApplication
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-20 11:37:34 -06:00
Max Brunsfeld
cec2c87793 Assert about remote directories' types in main process test 2016-09-20 09:54:28 -07:00
Max Brunsfeld
30fdb70dfd Initialize app-started promise before reloading AtomWindow 2016-09-20 09:53:54 -07:00
Antonio Scandurra
24f9c24d79 🐛 Perform measurements only when editor is visible 2016-09-20 15:29:31 +02:00
Antonio Scandurra
fae507d70d Don't remeasure the first character of a line
Previously we were ignoring the measurement cache for characters located
at `left: 0px` because `0` is evaluated as falsy in Javascript, causing
those character to be constantly re-measured.

This commit fixes it so that we explicitly check for null values when
consulting the cache.
2016-09-20 15:03:41 +02:00
simurai
a2e8d1a53a ⬆️ solarized-dark/light-syntax@v1.0.3 2016-09-20 15:01:15 +09:00
Max Brunsfeld
7c93063861 Merge remote-tracking branch 'origin/master' into mb-ns-avoid-adding-non-existent-project-directories 2016-09-19 12:31:38 -07:00
Max Brunsfeld
ee1b8160e5 Wait for each window to save its state in main process test
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-19 12:06:37 -07:00
Max Brunsfeld
511fe1a576 Tweak test again for travis
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-19 11:02:48 -07:00
Wliu
2ed2121e4b ⬆️ package-generator@1.0.1 2016-09-17 11:07:57 -04:00
Wliu
bfb3a877eb ⬆️ open-on-github@1.2.1 2016-09-17 11:07:10 -04:00
Wliu
240e41eaf6 ⬆️ snippets@1.0.3 2016-09-17 11:06:29 -04:00
Nathan Sobo
dbb8dec748 ⬆️ atom-keymap 2016-09-16 16:49:18 -06:00
Nathan Sobo
7bba3e86b2 Try this on travis 2016-09-16 16:47:33 -06:00
Nathan Sobo
77f77f719f Merge pull request #12674 from atom/fb-mdt-destroyed-panes-in-getPanes
Don't include destroyed panes in result of PaneContainer.getPanes() after PaneContainer is destroyed
2016-09-16 14:06:10 -07:00
Nathan Sobo
212cb0df34 Resolve AtomWindow.reload promise once window fully starts 2016-09-16 14:33:30 -06:00
Nathan Sobo
f62bf2c7e0 Focus test on for travis 2016-09-16 14:22:23 -06:00
Nathan Sobo
5fad2bdbf9 Return a promise from AtomWindow.reload that resolves on window:loaded 2016-09-16 14:10:34 -06:00
Nathan Sobo
290c4ecefd ⬆️ atom-keymap 2016-09-16 12:19:14 -06:00
Max Brunsfeld
e444076a46 WIP - debug travis CI failures 2016-09-15 17:29:02 -07:00
Max Brunsfeld
0d2b7d12b7 Fix test description 2016-09-15 16:56:10 -07:00
Max Brunsfeld
4fa24a05da Fix invalid usage of activation disposable in Package::load
Like deserializers and config schema, directory providers are added
at package load time, and *not* removed when the package is deactivated
2016-09-15 16:34:39 -07:00
Max Brunsfeld
3758fe5646 Use fake directory provider in integration test for remote dirs
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-15 16:33:04 -07:00
Max Brunsfeld
09b50f8740 Don't remove non-local directories on Project deserialization 2016-09-15 16:32:14 -07:00
Nathan Sobo
88f47990d0 ⬆️ atom-keymap 2016-09-15 14:23:03 -06:00
Nathan Sobo
fe7a9ed419 Fix unset keystroke handling, 🎨 2016-09-15 14:15:41 -06:00
Nathan Sobo
a6094d2ed0 Don't allow menu shortcuts that could conflict with AltGraph characters
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-15 14:08:35 -06:00