Kevin Sawicki
d736ebff38
Don't deserialize buffers with inaccessible paths
2015-01-16 09:33:42 -08:00
Kevin Sawicki
16cc9f76c4
📝 Tweak spec description
2015-01-16 09:33:42 -08:00
Kevin Sawicki
6ad8aa7e5c
Ignore buffer errors when the path is a directory
...
This would previously cause Atom to fail to launch if a buffer's
serialized path was now a directory on launch.
2015-01-16 09:33:42 -08:00
Ben Ogle
274ae6cd57
Use buffer.getPath not @getPath in project
...
😬
2015-01-14 16:15:53 -08:00
Ben Ogle
3dc908c5ff
Use eventType
from pathwatcher's watch errors in messages
2015-01-14 16:15:53 -08:00
Ben Ogle
b8efbedee1
Create a warning notification when buffer has a watch error
2015-01-14 16:15:52 -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
Nathan Sobo
ddc04f2278
Fix spec name
2014-11-27 09:11:21 -07:00
Ben Ogle
d8f64c15b8
Use project.getDirectories()
2014-11-26 14:55:39 -08: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
Kevin Sawicki
24add494ae
Normalize project path in Project::setPath
...
This will remove consecutive slashes as well as . and ..
characters and make path comparisons accurate.
Closes atom/tree-view#191
2014-09-02 10:49:02 -07:00
Kevin Sawicki
2e554ac819
Use cross platform path in Project::replace spec
2014-07-05 10:01:19 -07:00
Ben Ogle
06d06d10e0
💄
2014-07-01 10:45:13 -07:00
Ben Ogle
44b95fc637
Emit errors from the out of process searches
2014-07-01 10:44:30 -07:00
Kevin Sawicki
0245ec28eb
Always handle resolving absolute URIs
2014-06-02 15:45:47 -07:00
Kevin Sawicki
94f86cb461
Don't resolve uris when project has not path
2014-06-02 15:41:05 -07:00
Corey Johnson
9d92a27ccf
Remove deprecated method calls from project spec
2014-04-23 16:50:25 -07:00
Corey Johnson
1583271e2f
Use setTextInRange instead of change
2014-04-18 15:50:30 -07:00
probablycorey
63a80a4d4d
Revert "Revert "Merge pull request #1844 from atom/cj-move-functionality-to-workspace""
...
This reverts commit 87d008c337
.
2014-04-08 10:52:19 -07:00
probablycorey
87d008c337
Revert "Merge pull request #1844 from atom/cj-move-functionality-to-workspace"
...
This reverts commit 2d7dda066c
, reversing
changes made to 96e3c63291
.
2014-04-08 10:44:08 -07:00
probablycorey
11a91fb974
Move editor-created
specs to Workspace
2014-04-04 15:31:44 -07:00
probablycorey
1d426e8fd2
Move editor-created
event to Workspace
2014-04-04 15:31:44 -07:00
probablycorey
6f0094e6ce
Move editor removal specs to Workspace
2014-04-04 15:31:44 -07:00
Kevin Sawicki
0d9e7a5e08
Only scan dirty buffers that are inside the project
2014-02-27 14:44:34 -08:00
Kevin Sawicki
189ebc4476
Remove _/fs from modules directly
2014-02-23 17:09:05 -08:00
probablycorey
ee09eee374
Move (un)registerOpener to Workspace
2014-02-12 17:12:48 -08:00
Nathan Sobo
c6770aa83e
Merge remote-tracking branch 'origin/master' into ns-remove-telepath-from-core
...
Conflicts:
package.json
src/pane.coffee
2014-01-03 17:46:45 -07:00
Nathan Sobo
bc65137911
Remove telepath from Project, WorkspaceView, and Pane*
2014-01-03 16:23:23 -07:00
Kevin Sawicki
33c1353500
Only generate evil files when needed
2013-12-31 15:11:29 -08:00
Nathan Sobo
611559ecd6
Fix pane spec. Fully test serialization lifecycle via ::testPersistence.
2013-12-17 17:05:54 -07:00
Nathan Sobo
425c076221
Make Editor a telepath.Model subclass
2013-12-10 17:32:34 -08:00
Kevin Sawicki
3cfe50585a
Move eachBuffer spec to project-spec
2013-11-26 19:35:43 -08:00
Kevin Sawicki
48692e5127
Update EditSession to Editor in method references
2013-11-26 19:35:16 -08:00
Ben Ogle
46f73d037f
Fix replace on open buffers. only replace paths specified.
...
Closes find-and-replace#85
2013-11-26 17:08:21 -08:00
Kevin Sawicki
91640f0886
Add atom prefix to project references
2013-11-20 17:23:47 -08:00
Kevin Sawicki
d0b380e535
Add atom prefix to rootView and project references
2013-11-20 17:23:47 -08:00
Kevin Sawicki
f3ea3a3395
Add missing atom.deserializers prefix
2013-11-20 14:33:55 -08:00
probablycorey
31a9bb83cf
Replace editSession variables with editor
2013-11-19 15:22:47 -08:00
Kevin Sawicki
ee1ec4670d
Listen for destroyed events on deserialized buffers
2013-11-19 09:08:24 -08:00
Kevin Sawicki
d3fed57cb3
Only serialize project state for persistence
2013-11-15 11:17:34 -08:00
Kevin Sawicki
7d87ae00ff
Use Atom::replicate for second project
2013-11-15 11:17:34 -08:00
Kevin Sawicki
a377a49004
Use atom.config instead of window.config
2013-11-11 09:16:44 -08:00
Ben Ogle
5f8e757f57
Merge pull request #1102 from atom/bo-add-replace
...
Add replace() to project and buffer
2013-11-08 16:57:38 -08:00
Ben Ogle
ddd560b785
Add replace to project and buffer
2013-11-08 12:20:43 -08:00
Matt Colyer
3119ed9dfe
Update project-spec.coffee for windows
2013-11-06 16:45:10 -08:00
Kevin Sawicki
621058aa9e
Register copied edit sessions on the project
...
Without this any split edit sessions won't be passed to package
listeners that register using project.eachEditSession()
Closes #1065
2013-11-01 15:51:27 -07:00