postcasio
867f920329
Handle EROFS errors when saving
2015-01-20 09:56:00 +00:00
Ben Ogle
828b841f17
Roll two whens into one
2015-01-16 11:24:24 -08:00
Ben Ogle
11bda1b47a
Add error handling for EBUSY as well
2015-01-16 11:07:32 -08:00
Ben Ogle
93f109fbba
Add a better message for EPERM errors.
2015-01-16 10:45:48 -08:00
Ben Ogle
3454249b58
Allow ENOENT errors in project.open
2015-01-14 16:15:52 -08:00
Ben Ogle
4af007dce3
💄
2015-01-14 16:15:52 -08:00
Ben Ogle
1e7da34346
Use code rather than name for custom error
2015-01-14 16:15:52 -08:00
Ben Ogle
d5e04e883e
Use the error.code and path in the error
2015-01-14 16:15:52 -08:00
Ben Ogle
2f3ce50875
Add large file issue link to large file error
2015-01-14 16:15:51 -08:00
Ben Ogle
c20d3a8182
Throw an error when the error is unhandled
2015-01-14 16:15:51 -08:00
Ben Ogle
ca1f66d197
Post a notification when the user cannot access a file
2015-01-14 16:15:51 -08:00
Ben Ogle
11d4222c9f
Handle error when opening a file that doesn’t exist
2015-01-14 16:15:51 -08:00
Ben Ogle
bc454f14e0
Add a warning notification for oversize file open
2015-01-14 16:15:51 -08:00
Nathan Sobo
e60a9e45f7
Display package name correctly for ::getUri deprecation warnings
...
We capture the package name during the call to ::addOpener and use it
if any open items have the deprecated ::getUri method.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-01-14 14:23:17 -07:00
Nathan Sobo
0a66e9d21e
Centralize deprecation warnings about getUri in Pane::addItem
2015-01-14 11:36:28 -07:00
Nathan Sobo
56da4f49d4
Avoid spurious deprecation warnings when editor URIs are undefined
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-01-14 11:21:08 -07:00
Nathan Sobo
7f8ab72f53
Capitalize initialisms
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-01-12 22:00:24 -08:00
Max Brunsfeld
ee73d2cf2a
📝 fix ::onDidChangeActivePaneItem docs
...
Refs #4946
2015-01-12 08:24:44 -08:00
Nathan Sobo
d26c19a0ec
Deprecate Project::resolve
...
It’s not something that will make sense once we add the ability to have
multiple directories in a project. This adds a new private method on
Project, ::resolvePath, with the original implementation for convenience
until we actually implement multi-folder projects.
2015-01-09 15:03:07 -08:00
Nathan Sobo
19bf64f3cd
Revert "Deprecate Project::resolve"
...
This reverts commit 3c5bd9f10a .
2015-01-09 13:58:01 -08:00
Nathan Sobo
3c5bd9f10a
Deprecate Project::resolve
...
It’s not something that will make sense once we add the ability to have
multiple directories in a project.
2015-01-09 13:40:35 -08:00
Kevin Sawicki
2cb13e1a66
Remove lint warning
2015-01-07 14:33:18 -08:00
Lee Dohm
f73d3df233
📝 Add priority recommendation for variable-sized panels
...
Applies to #4834
2015-01-03 10:36:56 -08:00
Nathan Sobo
bdfc862dac
Move Project::replace to Workspace
2014-12-29 11:43:17 -06:00
Nathan Sobo
2c7aa170e9
Move Project::scan to Workspace
2014-12-29 11:35:07 -06:00
Max Brunsfeld
a1b4820c04
Revert "Revert "Merge pull request #4631 ""
...
This reverts commit dc2a453986 .
Conflicts:
spec/config-spec.coffee
src/config.coffee
2014-12-23 09:26:40 -08:00
aershov
11112cb374
Call setCursorBufferPosition only if this method exists
...
@kevinsawicki:
That way in the case where a custom editor is opened that isn't a text editor,
it won't blow up if the custom editor doesn't implement setCursorBufferPosition.
2014-12-23 00:42:43 +03:00
aershov
229e7e03b2
Respect initialLine and initialColumn options when reopening a file
...
Fix #1743
2014-12-21 21:08:18 +03:00
Max Brunsfeld
dc2a453986
Revert "Merge pull request #4631 from atom/mb-new-config-api"
...
This reverts commit 5147fb6a8b , reversing
changes made to 9bbbb58084 .
2014-12-16 15:27:39 -08:00
Max Brunsfeld
9f851e55d1
Add Config::unset
...
Deprecate Config::restoreDefault
2014-12-16 14:00:57 -08:00
Ben Ogle
f199c71fa8
Specs for the eacces error
2014-12-15 17:42:27 -08:00
Ben Ogle
67b39845c8
Add a better error message when a directory cannot be written to.
...
Closes #4607
2014-12-15 17:19:54 -08:00
Ben Ogle
a42505b6ae
Handle is a directory error
...
Closes #4616
2014-12-15 17:08:46 -08:00
Ben Ogle
fad93b8d7e
Remove fake catch of Q errors on open
...
Closes #4628
2014-12-15 15:47:10 -08:00
Nathan Sobo
6ccc60342f
Remove deprecated Workspace::activePane references
2014-12-09 10:45:54 -07:00
Ben Ogle
24f7638e8b
Add Workspace::panelForItem()
2014-12-03 12:46:42 -08:00
Max Brunsfeld
714cbc9f4b
Add deprecation warning for Workspace::getActiveEditor
2014-12-02 12:46:05 -08:00
Max Brunsfeld
64e4053a19
Deprecate delegated properties on workspace
...
* ::activePaneItem was already deprecated, but the stack
trace was internal and confusing
* ::activePane is newly deprecated
2014-12-02 12:37:27 -08:00
Nathan Sobo
2d8d330df7
Add Workspace::onDidDestroyPaneItem for symmetry with ::onDidDestroyPane
2014-12-02 11:57:38 -07:00
Nathan Sobo
fbc9c05096
Add Workspace::onDidDestroyPane
...
This helps with the background-tips conversion
2014-12-02 11:57:38 -07:00
Nathan Sobo
9a9347e3a5
Simplify ViewRegistry::addViewProvider API
...
It now takes two arguments, a model constructor and a create view
callback that is passed the model.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-12-01 17:53:03 -08:00
Nathan Sobo
4591f00a65
Remove view registry references from the workspace model layer
...
Removed various ::getView methods from the model. Using the atom.views
global in the views for now, but going to switch them over to using a
locally assigned view registry instead in a subsequent commit.
2014-12-01 16:28:33 -08:00
Nathan Sobo
7dc9d0c8ce
Add Workspace::onWillDestroyPaneItem
...
It is needed by the autosave package which previously relied on DOM
bubbling to coalesce events from various panes.
2014-12-01 10:39:29 -07:00
Max Brunsfeld
9d60fd2322
Deprecate changeFocus option to Workspace::open
...
Its documentation was already removed, and it was already
deprecated in ::openSync.
2014-11-28 11:42:01 -08:00
Max Brunsfeld
6b3ba8e332
Add panel getter methods to workspace
...
This will make it easier to test packages that use panels
without using the DOM
2014-11-28 09:56:02 -08:00
Nathan Sobo
8cb0197638
Add legacy ‘from-top’ class at the view layer, not the model
...
This blends in to our approach with the other legacy panel classes.
2014-11-24 16:38:04 -07:00
Nathan Sobo
d53d01d95b
Replace atom.syntax with atom.grammars
2014-11-20 11:42:49 -07:00
Nathan Sobo
49471070a3
Move public stylesheet related methods off of atom.themes
...
* Move atom.themes.getUserStylesheetPath to
atom.styles.getUserStyleSheetPath
* Deprecate atom.themes.requireStylesheet
2014-11-19 10:31:03 -07:00
Nathan Sobo
0a92b6b681
Add Workspace::paneForItem
2014-11-10 08:20:59 -07:00
Ben Ogle
b29a61ec87
Update deprecation warning test
2014-11-06 15:19:49 -08:00