Lee Dohm
57ea5c0fc4
Fix typo in function call
2016-02-12 18:57:38 -08:00
Aaron Contreras
500afb0f20
Improve split API, add new commands and rewrite existing ones
...
Allow empty splits, as well as moving (instead of copying) active item
2016-02-02 00:50:10 +01:00
Katrina Uychaco
4c1ebdf1b9
Merge branch 'master' into ku-pending-editor
2016-01-14 17:40:41 -08:00
Katrina Uychaco
44a648a9ea
Destroy any existing pending pane item when adding a pending item
2016-01-14 17:21:48 -08:00
Katrina Uychaco
24b2f5e0cc
Keep pending pane upon losing focus
2016-01-13 18:53:10 -08:00
Nathan Sobo
db74f4a8f0
Merge pull request #10178 from atom/ku-pending-editor
...
Open file in pending state on single click
2016-01-08 14:45:14 -07:00
Katrina Uychaco
3bcb062ab0
Add friendly message for ETIMEDOUT
2016-01-06 18:23:25 -08:00
Katrina Uychaco
9efb3328bc
Add helper to map error codes to friendly messages
2016-01-06 18:20:46 -08:00
Katrina Uychaco
63b5ddbd99
Handle out-of-bound indices for ::activateItemAtIndex
2015-12-24 13:58:59 -08:00
Katrina Uychaco
e26ae05597
Fix bug in ::activateItemAtIndex
...
Revert to original code to conform to specs.
2015-12-24 13:34:58 -08:00
Katrina Uychaco
4c4e16ac3b
Fix bug in ::activateItem
...
Only destroy active item if it is not the same as the new item.
2015-12-24 12:29:22 -08:00
Katrina Uychaco
219ebea98b
Fix bug in ::activate Item
...
Check if isPending function exists on item before invoking.
2015-12-24 01:31:19 -08:00
Katrina Uychaco
27cc953c07
Destroy pending item when new item is activated
2015-12-24 01:08:28 -08: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