Max Brunsfeld
3a69e5bcb2
Merge pull request #12761 from atom/ns-mb-fix-dock-icon-click
...
Use app 'activate' event instead of defunct 'activate-with-no-open-windows'
2016-09-22 16:31:10 -07:00
Nathan Sobo
6535c64995
Merge pull request #12760 from atom/mb-ns-better-user-bindings
...
Make it easier to define user key bindings
2016-09-22 15:16:34 -07:00
Nathan Sobo
da09ebbc4b
Fix style guide links in CONTRIBUTING.md
...
We opted to just drop the CSS style guide for now because we don’t
really follow one. @simurai please correct that if I’m wrong.
Closes #12066
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2016-09-22 16:14:59 -06:00
Nathan Sobo
85efc08d13
Merge pull request #12753 from lgeiger/tildify-path
...
Tildify path in title bar
2016-09-22 15:07:50 -07:00
Nathan Sobo
f14587d3cc
Use app activate event instead of defunct activate-with-no-open-windows
...
This restores the ability to open a Window by single-clicking the dock
icon on macOS.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2016-09-22 15:54:44 -06:00
Max Brunsfeld
fff8ca196f
⬆️ season
2016-09-22 14:43:49 -07:00
Max Brunsfeld
db781dd54f
Disallow duplicate keys when loading package keymaps
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-09-22 14:21:36 -07:00
Max Brunsfeld
59189dc0d5
⬆️ atom-keymap for new priority semantics
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-09-22 14:20:56 -07:00
Max Brunsfeld
0b7e141921
Merge pull request #12759 from atom/ns-mb-dont-serialize-packages-when-deactivating
...
Don't interleave package serialization with package deactivations
2016-09-22 14:08:02 -07:00
Max Brunsfeld
864dc935c8
⬆️ service-hub (from pre-release)
2016-09-22 13:25:47 -07:00
Max Brunsfeld
519f1b70ec
⬆️ service-hub (from pre-release)
2016-09-22 13:24:59 -07:00
Nathan Sobo
19a4f1ab89
Null guard AtomWindow instance in window-method ipc handler
...
Since things are async, I think the window could potentially disappear
before we can handle the message.
2016-09-22 14:14:37 -06:00
Nathan Sobo
b7126aff4c
Don't serialize packages in deactivatePackages
...
Serialization still occurs when deactivating a single package via the
API. Otherwise, when the window is closed or reloaded we will serialize
all packages as a result of saving the window state.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2016-09-22 12:39:06 -06:00
Nathan Sobo
3a4ae04f74
Use call/respondTo helpers to return a promise from window method ipcs
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2016-09-22 12:18:09 -06:00
Nathan Sobo
50128949d4
Call window methods on AtomWindow when ipc'ing from render process
...
This enables saveState to be called when requesting a window reload from the render process.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2016-09-22 11:41:57 -06:00
Nathan Sobo
9ace7b899c
Bind promptForRestart since it calls a method now
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2016-09-22 11:29:39 -06:00
Antonio Scandurra
9977aa5df2
Merge pull request #12754 from atom/as-always-clear-measurements-when-editor-becomes-visible
...
Always invalidate yardstick measurements when the editor becomes visible
2016-09-22 18:58:07 +02:00
Lukas Geiger
498a56a603
Tildify path in title bar
...
This will use ~/ for the path to the home directory
2016-09-22 11:14:03 +02:00
Antonio Scandurra
a45afcbba4
Always invalidate yardstick measurements when the editor becomes visible
...
...because content could get reflowed and previous measurements might
become inaccurate. Typically, this could occur when measuring while the
editor is hidden: in that case, the yardstick would always report `0px`
and save that position into the cache. Then, when the editor becomes
visible again, the wrong `0px` value would be returned, thus causing
cursors etc. to be displayed incorrectly.
This was being shadowed by a bug in our measurements cache, but after
fixing it in #12730 it started becoming evident.
2016-09-22 09:50:51 +02:00
Wliu
bb0b0857f4
Merge pull request #12695 from atom/wl-windows-build-instructions
...
Simplify Windows build instructions
2016-09-21 23:09:15 -04:00
Wliu
f7642a476d
Add missing period
...
[ci skip]
2016-09-21 21:51:47 -04:00
Wliu
a3329db7db
Remove duplicate asterik
2016-09-21 21:50:40 -04:00
Wliu
6ca37c33e0
📝 🎨
...
[ci skip]
2016-09-21 21:06:13 -04:00
Wliu
1232c60f18
📝
2016-09-21 20:59:15 -04:00
Ian Olsen
be9814b882
⬆️ fs-plus
2016-09-21 17:01:17 -07:00
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