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
Kevin Sawicki
23d1c72a5f
Remove unused imports
2015-04-03 11:29:14 -07:00
Kevin Sawicki
c24948ebcc
Conditionally include deprecations in Pane
2015-04-03 11:29:14 -07:00
Kevin Sawicki
45afc9eb46
Handle EISDIR save errors
...
Closes #6100
2015-03-26 13:29:30 -07:00
Kevin Sawicki
590a4b0fd5
Add explicit return after for loop
2015-03-19 11:48:40 -07:00
liuxiong332
86ef14b600
when split panes and replace the pane with new pane axis, switch the flex scale
2015-03-17 15:48:32 +08:00
liuxiong332
c05a410d11
add serialization for pane's flex scale when resize the pane
2015-03-17 15:35:16 +08:00
Kevin Sawicki
05bcebe583
Add unsubscribe from item helper
2015-03-16 16:44:53 -07:00
Kevin Sawicki
0a16371845
Dispose of destroyed listener on remove item
2015-03-16 16:44:53 -07:00
Kevin Sawicki
4d344c16b3
Don't call on when onDidDestroy exists
2015-03-16 16:44:53 -07:00
Kevin Sawicki
03a59c570e
Subscribe to onDidDestroy when available
2015-03-16 16:44:52 -07:00
Kevin Sawicki
3952831ff1
Add custom notification for ENOSPC save errors
...
Closes #5825
2015-03-03 13:53:18 -08:00
Ben Ogle
dcbff35ef5
Handle EEXIST error with a better message
...
Closes #5518
2015-02-12 09:55:51 -08:00