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
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