Kevin Sawicki
e95ce5d1d0
Handle EAGAIN errors when saving pane items
...
Closes #8202
2015-11-10 16:30:12 -08:00
Kevin Sawicki
cfd5b7b354
Handle EMFILE errors on open
...
Closes #8429
2015-11-10 16:20:58 -08:00
Kevin Sawicki
24511fef92
Add custom notification for ELOOP save errors
...
Closes #9242
2015-11-10 15:55:23 -08:00
Kevin Sawicki
95f56aa41e
Merge pull request #9514 from atom/ks-disabled-keymaps-for-uninstalled-packages
...
Guard against not loaded packages when updating disabled keymaps
2015-11-10 15:06:42 -08:00
Nathan Sobo
91bece4336
Merge pull request #9490 from aki77/fix/activatePackages
...
Fix activatePackages
2015-11-10 15:00:06 -07:00
Kevin Sawicki
4692ca9702
Guard against package not being loaded
2015-11-10 13:54:42 -08:00
Nathan Sobo
581d736184
Merge pull request #9426 from atom/ns-editor-marker-layers
...
Optimize markers via new layers API and treap-based index
2015-11-09 23:02:26 -07:00
Nathan Sobo
d4818244f3
Merge pull request #9476 from atom/ns-fix-dev-mode
...
Always set devMode to true for spec windows
2015-11-09 14:57:17 -07:00
Nathan Sobo
c97ecf9da2
Don’t disable render backgrounding. Doesn’t seem to make a difference.
2015-11-09 14:56:42 -07:00
Kevin Sawicki
589d489eb9
Retain role field from menu items config
2015-11-09 12:30:29 -08:00
Nathan Sobo
fc5788c43b
Disable renderer backgrounding
2015-11-09 00:35:34 -07:00
Nathan Sobo
213e7d0b35
Schedule marker updates with nextTick instead of setImmediate
...
From what I understand, nextTick callbacks actually happen at the end
of the current event loop cycle rather than the next one. The naming is
confusing.
2015-11-09 00:35:33 -07:00
Nathan Sobo
1aa4b7e06a
Clear nextUpdatePromise immediately when an animation frame fires
2015-11-09 00:35:33 -07:00
Nathan Sobo
54a9012796
Clear next update promise when resetting ViewRegistry
2015-11-09 00:35:33 -07:00
Nathan Sobo
fe88611e79
Tear down timers when destroying TextEditorPresenter
2015-11-09 00:35:33 -07:00
Nathan Sobo
b9528dcb39
Cancel ViewRegistry animation frames between specs
2015-11-09 00:35:33 -07:00
Nathan Sobo
e9dfc080a3
Convert text-editor-component-spec to Babel for async/await
...
It's much easier to reason about async/await than Jasmine's
built-in queuing system, and using them made it easier to
debug flaky async tests.
2015-11-09 00:35:32 -07:00
Nathan Sobo
51a7c9ea68
Always set devMode to true for spec windows
2015-11-09 00:35:32 -07:00
Nathan Sobo
3a4199a0cd
Allow (start/end)(Buffer/Screen)Position in findMarker queries on layers
2015-11-09 00:35:32 -07:00
Nathan Sobo
533146bc6a
Document new APIs
2015-11-09 00:35:32 -07:00
Nathan Sobo
9714f2e729
Emit decoration events synchronously in legacy spec environment
...
This is needed to keep a bunch of package tests passing that expect
synchronous decoration updates.
2015-11-09 00:35:31 -07:00
Nathan Sobo
9ee3d53975
Destroy the selections marker layer when editors are destroyed
2015-11-09 00:35:31 -07:00
Nathan Sobo
2f81e5faac
Store folds in their own marker layer
2015-11-09 00:35:31 -07:00
Nathan Sobo
29bb1bb31b
Add TextEditor-level marker layers and use them for selections
2015-11-09 00:35:31 -07:00
Nathan Sobo
1ee6384332
Add TextEditorMarkerLayer
2015-11-09 00:35:31 -07:00
Nathan Sobo
b1a5b58fa2
Rename Marker to TextEditorMarker to resolve ambiguity w/ TextBuffer API
...
We expose both kinds of markers in Atom, and the docs were actually
wrong when we refer to Markers from TextBuffer because it linked to the
TextEditor layer’s Marker implementation. This will clarify the
difference.
2015-11-09 00:35:30 -07:00
Nathan Sobo
78513f4528
Remove duplicated method definition
2015-11-09 00:35:28 -07:00
Nathan Sobo
a3ff0ad75a
🎨 Rename method
2015-11-09 00:35:28 -07:00
Nathan Sobo
75d0a0820c
Allow properties to be overridden for a single marker in LayerDecoration
2015-11-09 00:35:28 -07:00
Nathan Sobo
acf142863c
Add TextEditor::decorateMarkerLayer
2015-11-09 00:35:27 -07:00
Nathan Sobo
3a25fe4975
Remove id from decoration properties
...
It doesn’t make sense to include this when we’ll reuse the same
properties for multiple decoration instances when decorating marker
layers.
2015-11-09 00:35:27 -07:00
Nathan Sobo
d7b0ab9179
Simplify updating of custom gutter decoration state
2015-11-09 00:35:27 -07:00
Nathan Sobo
92ed7c8b15
Don’t return Decoration objects from model to view
...
Preparation for LayerDecorations, in which individual decoration objects
won’t exist for every marker.
2015-11-09 00:35:27 -07:00
Nathan Sobo
d46091d7e5
Remove dead code
2015-11-09 00:35:27 -07:00
Nathan Sobo
800440d5ca
Remove logging
2015-11-09 00:35:27 -07:00
Nathan Sobo
4b5e4d02eb
Use real clock in text-editor-component-spec
...
This will make it much easier to test asynchronous update logic.
2015-11-09 00:35:18 -07:00
Nathan Sobo
1aefb22789
Add ViewRegistry.prototype.getNextUpdatePromise
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2015-11-09 00:35:18 -07:00
Max Brunsfeld
cdaac9dfcc
wip
2015-11-09 00:35:18 -07:00
aki
396e8a42a4
Fix activatePackages
2015-11-08 23:14:13 +09:00
Nathan Sobo
d46cea9c41
Disable throttling in test windows via WebAudio hack
...
Throttling in test windows is annoying when tests run interactively,
and *seems* to cause issues with animation frames not firing even in
headless tests, though it’s difficult to fully confirm since this issue
is intermittent.
2015-11-07 16:01:20 -07:00
Nathan Sobo
1fd2ba084c
Merge pull request #8232 from lpommers/move-lines-up-and-down-with-multiple-selections
...
Move lines up and down with multiple selections
2015-11-07 14:40:58 -07:00
Wliu
232f54ed84
🔥 subpixel-font-scaling
...
This option was removed in Electron v0.33.9
2015-11-07 10:41:03 -05:00
Nathan Sobo
a8ceaa80f1
Always set devMode to true for spec windows
2015-11-06 16:01:21 -07:00
Antonio Scandurra
7d97241f35
🎨
2015-11-06 17:41:00 +01:00
Antonio Scandurra
dd10216943
🐎 Make LanguageMode::unfoldAll faster
2015-11-06 13:16:09 +01:00
abe33
5b192ea295
🎨 Fix typo in moveLineUp comment
2015-11-05 20:36:22 +01:00
abe33
a4c2c724d6
Merge branch 'master' of github.com:atom/atom into cn-move-lines-up-and-down-with-multiple-selections
2015-11-05 18:59:18 +01:00
Wliu
1bb944dadc
Add specs
2015-11-04 16:22:01 -05:00
Wliu
5f8b2b643b
Include package name metadata when creating errors
2015-11-04 16:00:57 -05:00
abe33
80553028c1
🐛 Fix top of a wrapped line not visible when moving it up
2015-11-04 19:14:44 +01:00