Nathan Sobo
df733aa3de
Add a basic test for opening an editor in largeFileMode if >= 2MB
2015-06-05 23:25:48 +02:00
Nathan Sobo
ffcebdad33
Remove outdated test
2015-06-05 23:14:11 +02:00
Machiste Quintana
d5bcc0433d
WIP: 👕 Fix linter errors
2015-05-22 16:29:12 -04:00
Machiste Quintana
4fb58317ec
🔥 Redundant lines
2015-04-30 13:41:47 -04:00
Machiste Quintana
2bd7cc9a99
Reset font size if editor.fontSize is changed from anywhere
2015-04-28 22:58:35 -04:00
Machiste Quintana
12b59cf610
Only reset font size if font size has been changed
2015-04-28 06:27:03 -04:00
Machiste Quintana
f4b228c908
Reset font size to window's starting font size
2015-04-28 06:27:03 -04:00
Machiste Quintana
5d2392ea67
👕 Fix new coffeelint errors
2015-04-06 23:59:54 -04:00
Max Brunsfeld
cbefdd6c5e
Make Workspace::scan work w/ multiple root directories
2015-02-24 14:22:39 -08:00
Kevin Sawicki
5de95759cd
Spy on editor.save
2015-02-05 15:24:00 -08:00
postcasio
867f920329
Handle EROFS errors when saving
2015-01-20 09:56:00 +00: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
cbd42ac20c
Don’t need the pane in workspace.open
2015-01-14 16:15:52 -08:00
Ben Ogle
8435826e8a
Remove linter errors
2015-01-14 16:15:52 -08:00
Ben Ogle
16468eb65d
Move workspace specs to workspace.
2015-01-14 16:15:52 -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
4138b95146
Remove unnecessary < chars. wtf
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
7f8ab72f53
Capitalize initialisms
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-01-12 22:00:24 -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
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
aecd689593
Call Workspace::getActiveTextEditor, not ::getActiveEditor
2014-12-04 08:57:33 -08:00
Ben Ogle
24f7638e8b
Add Workspace::panelForItem()
2014-12-03 12:46:42 -08: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
Max Brunsfeld
e4bcb96dcc
Change ::setModel to ::initialize on all element classes
2014-12-01 17:52:19 -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
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
f64a813fc6
Remove deprecated Project::setPath call
2014-11-27 09:09:33 -07:00
Nathan Sobo
1e9a8b92f2
Fix workspace model spec now that legacy panel class is added in view
2014-11-24 17:03:32 -07:00
Ben Ogle
9b1d5e1864
Add addModalPanel to atom.workspace.
2014-11-04 13:48:48 -08:00
Ben Ogle
299710f08a
Integrate the pane containers into the workspace
2014-10-16 16:17:44 -07:00
Ben Ogle
734a79b7ec
Add initial panel API.
...
It can only add things to the left right now.
2014-10-16 13:44:03 -07:00
Ben Ogle
c16d84527d
fix specs related to title
2014-10-13 17:48:06 -07:00
Kevin Sawicki
d12a2cf284
Unfocus spec
2014-10-03 15:23:54 -07:00
Nathan Sobo
e3245ec4b8
Remove logging from spec
2014-10-03 15:56:12 -06:00
Nathan Sobo
f004f8c45d
Merge branch 'master' into ns-workspace-custom-elements
...
Conflicts:
spec/pane-view-spec.coffee
spec/workspace-view-spec.coffee
src/workspace-view.coffee
src/workspace.coffee
2014-10-01 11:49:23 -06:00
Nathan Sobo
33c1ce863e
Pluralize Project API
...
This changes all APIs concerning paths and repositories on the project
to be plural, preparing us to switch to multi-folder projects. It
doesn’t make any changes to actually support multiple folders. Instead
we just wrap the previous return values in singleton arrays.
* constructor ‘path’ params -> ‘paths’
* getRootDirectory -> getDirectories
* getPath -> getPaths
* setPath -> setPaths
* getRepo -> getRepositories
2014-10-01 10:48:39 -06:00
Nathan Sobo
70a804bdb4
Rename Workspace::registerOpener to ::addOpener for consistency
2014-09-30 17:09:35 -06:00
Nathan Sobo
ae488fc7fe
Update document edited status in workspace model
...
This also fixes a previous oversight where the status wasn’t updated
when switching between pane items with different modified status.
2014-09-24 17:00:25 -06:00
Nathan Sobo
28deb9dec5
Maintain document.title in the workspace model, not the view
2014-09-24 16:26:54 -06:00
Nathan Sobo
54378b11d4
Isolate ViewRegistry specs
2014-09-19 16:24:12 -06:00
Nathan Sobo
7baa3b6f09
Start on Workspace::getView
2014-09-19 16:24:12 -06:00