260 Commits

Author SHA1 Message Date
Nathan Sobo
fa66048d71 Guard against focusing a destroyed pane 2015-11-12 17:34:48 -07:00
Eli Fatsi
84a6f0cb75 Remap pane:show-item-9 to activate last pane item 2015-11-11 10:09:09 -07:00
Kevin Sawicki
e95ce5d1d0 Handle EAGAIN errors when saving pane items
Closes #8202
2015-11-10 16:30:12 -08:00
Kevin Sawicki
24511fef92 Add custom notification for ELOOP save errors
Closes #9242
2015-11-10 15:55:23 -08:00
Nathan Sobo
d2fdc414e7 Merge pull request #8919 from bencolon/workspace_vertical_splits
Add top/bottom split options when opening uri in a workspace
2015-10-22 14:13:42 -06:00
Ben Colon
1b0d72b232 Add up/down split options when opening uri in a workspace 2015-10-22 17:03:10 +02:00
Nathan Sobo
bd199545c0 In PaneContainer.prototype.saveAll, only save modified items 2015-10-21 20:22:20 -06:00
Nathan Sobo
84aa8471b4 Pass AppDelegate to Workspace, Pane instead of bound functions
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 18:54:48 -06:00
Nathan Sobo
ed1c37cdbf Bind confirm when deserializing panes
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 17:29:41 -06:00
Max Brunsfeld
369f3d2648 Don't use atom.{notifications,config,deserializers,confirm} in Pane
Still need to get rid of one use of showSaveDialogSync
2015-10-09 17:18:26 -07:00
Max Brunsfeld
9924288a6f Use atom environment argument to deserialize in Pane, PaneAxis 2015-10-07 15:25:05 -05:00
Nathan Sobo
3d118b8a33 Pass atom environment as second arg when deserializing objects 2015-10-07 15:24:56 -05:00
Nathan Sobo
e0d426b817 Register deserializers, view providers, and commands in Atom constructor
Previously, these registrations were scattered all over the codebase and
required that `global.atom` be defined, which creating weird ordering
issues. Registering them all from the global makes the relationships
clearer and means we don’t have to assign a global to set up a fully-
functional environment.
2015-10-07 15:24:52 -05:00
Nathan Sobo
a64d5b18e2 Fix linter errors 2015-10-05 15:48:20 -06:00
Nathan Sobo
ddb08d0c46 Avoid redundant onDidAddPaneItem notifications
Refs #9012
2015-10-05 12:34:49 -06:00
Nathan Sobo
0a67cb9729 Merge pull request #8682 from atom/tj-remove-deprecations
Remove deprecated code
2015-09-23 10:41:26 -06:00
Nathan Sobo
b3b7b3f3dd Don’t use Serializable mixin in Pane 2015-09-22 10:37:15 -06:00
Nathan Sobo
0b0dddee82 🔥 Remove deprecations from Pane 2015-09-22 10:37:08 -06:00
Thomas Johansen
b548f7f3f0 🔥 Remove deprecations from Pane 2015-09-22 10:37:06 -06:00
Nathan Sobo
3f41c994b7 Throw exception when adding a pane item that has already been destroyed
Closes atom/bracket-matcher#178
2015-09-22 08:57:00 -06:00
Kevin Sawicki
65a465416a 📝 Document flexScale passed to callback 2015-08-19 15:23:11 -07:00
Martin Rodalgaard
7131c39a73 📝 fix pane flex scale doc 2015-08-20 00:15:38 +02:00
Kevin Sawicki
83b99ef962 Move size adjusting to model 2015-08-13 06:54:51 -07:00
Max Brunsfeld
3ae7721fcb Merge pull request #8092 from MaximSokolov/add-missing-argument
📝 Add missing argument
2015-07-27 09:27:56 -07:00
Maxim Sokolov
e725020037 📝 Add missing argument 2015-07-27 16:04:33 +03:00
George Ogata
45694dcda0 Fire event before a pane is destroyed. 2015-07-23 18:47:38 -04:00
Kevin Sawicki
c039c820a4 Handle ECONNRESET errors when saving
Closes #7849
2015-07-20 16:03:47 -07:00
Kevin Sawicki
8bad01ca5b Guard against null item like saveItem/saveItemAs does 2015-07-08 21:11:49 -07:00
Kevin Sawicki
770dc9821e paneItem -> item for consistency 2015-07-08 15:40:42 -07:00
Kevin Sawicki
8c9ecbaf03 Add custom notification for ESPIPE 2015-07-08 15:40:42 -07:00
Kevin Sawicki
485f4dc3a3 Add custom notification for EINTR 2015-07-08 15:40:42 -07:00
Kevin Sawicki
c3e73bdd26 Add custom notification for EIO 2015-07-08 15:40:42 -07:00
Kevin Sawicki
3e744b0714 Add custom notification for ENOTSUP 2015-07-08 15:40:42 -07:00
Kevin Sawicki
7d88f9ea66 Use item path when error has no path 2015-07-08 15:40:42 -07:00
Ivan Žužak
cd31770121 Guard against non-string messages in Pane.handleSaveError 2015-07-07 19:51:16 +02:00
Ivan Zuzak
f9a54ae552 Check if error message exists before using it 2015-07-05 08:35:26 +02:00
Nathan Sobo
8348b2c039 Throw exception when adding a non-object pane item 2015-07-01 13:29:13 -05:00
George Ogata
8a5dfeae05 Add Pane::onWillRemoveItem event. 2015-06-24 00:16:45 -04:00
Jesse Grosjean
1dbfd0b5ac Rename to getSaveDialogOptions and document in TextEditor 2015-06-08 16:20:53 -04:00
Jesse Grosjean
f88e21cbb0 Allow items to provide savePanel options. 2015-06-06 22:21:51 -04:00
liuxiong332
e46d3b0d27 Merge remote-tracking branch 'origin' into pane-resize
Conflicts:
	src/pane-element.coffee
	src/pane.coffee
2015-04-15 10:09:41 +08:00
Kevin Sawicki
55b6499b7d Add notification for ENXIO save error
Closes #5576
2015-04-14 15:25:36 -07:00
Kevin Sawicki
c4062d8fea Remove destroyed event deprecation 2015-04-06 13:57:52 -07:00
Kevin Sawicki
b45aa8c51f includeDeprecations -> includeDeprecatedAPIs 2015-04-06 13:44:17 -07:00
Kevin Sawicki
fcefe55e0d Add deprecated check for item.getUri 2015-04-06 11:08:01 -07:00
Kevin Sawicki
383523677e Use new Model superclass in Pane 2015-04-06 11:07:20 -07:00
Kevin Sawicki
96b95b74e9 Conditionally include Pane model properties and behaviors 2015-04-06 11:04:10 -07:00
Kevin Sawicki
39a1d6b788 Wrap getUri in deprecated API check 2015-04-06 10:59:06 -07:00
Kevin Sawicki
f5aab35476 Check Grim.includeDeprecatedAPIs before emitting 2015-04-03 11:29:17 -07:00
Kevin Sawicki
7d592c8b78 includeDeprecations -> includeDeprecatedAPIs 2015-04-03 11:29:16 -07:00