Commit Graph

13361 Commits

Author SHA1 Message Date
Nathan Sobo
fa66048d71 Guard against focusing a destroyed pane 2015-11-12 17:34:48 -07:00
Antonio Scandurra
05550699bd Merge pull request #9524 from atom/as-transact-async
Introduce Config::transactAsync
2015-11-12 09:26:26 +01:00
Max Brunsfeld
62f4f32d23 Merge pull request #9528 from efatsi/master
Remap pane:show-item-9 to activate last pane item
2015-11-11 15:14:08 -08:00
Nathan Sobo
ab6f26368b Add link to comment 2015-11-11 12:15:14 -07:00
Nathan Sobo
db0149ca65 Merge pull request #9529 from atom/as-fix-bad-fat-arrow
Use fat arrow when showing errors in CommandInstaller
2015-11-11 12:02:36 -07:00
Max Brunsfeld
eafffd9733 Merge pull request #9444 from atom/mb-synchronous-scroll-position
Allow synchronous control of scroll position through TextEditor model
2015-11-11 09:58:05 -08:00
Antonio Scandurra
b895baacbf Make transactAsync private 2015-11-11 18:30:06 +01:00
Antonio Scandurra
60841e574a Make sure showing errors works correctly 2015-11-11 18:18:55 +01:00
Eli Fatsi
84a6f0cb75 Remap pane:show-item-9 to activate last pane item 2015-11-11 10:09:09 -07:00
Max Brunsfeld
4c3d355298 👕 Add missing space after comma 2015-11-11 08:44:36 -08:00
Antonio Scandurra
8c3c2dfa8d 🎨 2015-11-11 09:59:41 +01:00
Antonio Scandurra
c85088fb46 🎨 2015-11-11 09:58:07 +01:00
Antonio Scandurra
68ea20a705 📝 2015-11-11 09:56:25 +01:00
Antonio Scandurra
38d713379f 🎨 Introduce Config::transactAsync 2015-11-11 09:55:20 +01:00
Antonio Scandurra
7e1a1bc8b0 Merge branch 'master' into as-faster-settings-load
# Conflicts:
#	src/package-manager.coffee
2015-11-11 09:09:47 +01:00
Kevin Sawicki
64d272050d Handle ENOTDIR errors on open
Closes #7864
2015-11-10 16:35:34 -08:00
Kevin Sawicki
e95ce5d1d0 Handle EAGAIN errors when saving pane items
Closes #8202
2015-11-10 16:30:12 -08:00
Max Brunsfeld
0c72500b9e Set firstVisibleScreenRow property before emitting event 2015-11-10 16:29:39 -08:00
Max Brunsfeld
9a35e4c9ec 🎨 Extract methods for setting scroll position based on model 2015-11-10 16:28:31 -08:00
Max Brunsfeld
fefb387d3c Merge branch 'master' into mb-synchronous-scroll-position
Conflicts:
	src/text-editor-presenter.coffee
	src/text-editor.coffee
2015-11-10 16:23:39 -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
Antonio Scandurra
d4a67a7db5 🎨 Call it ::beginTransaction 2015-11-10 11:42:39 +01:00
Antonio Scandurra
e437234c58 Transact on both async and sync package activation 2015-11-10 11:05:31 +01: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
Max Brunsfeld
1304648361 Make getLastVisibleScreenRow a model API again 2015-11-09 11:00:38 -08:00
Max Brunsfeld
48cc5e713e Make presenter respond to external changes to model's first visible screen row 2015-11-09 10:13:09 -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