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
Kevin Sawicki
0264fd6be5
Rename writeSync to writeFileSync
2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a
Upgrade to fs-plus@0.3.0
2013-11-01 08:46:03 -07:00
probablycorey
1f30231d5c
Project.scan scans buffer if the file is modified
...
Closes #487
2013-10-24 15:32:32 -07:00
probablycorey
c424f7bafa
Remove console.log
2013-10-24 15:04:38 -07:00
probablycorey
72a89231f8
Fix Project spec
2013-10-15 10:58:33 -07:00
probablycorey
af8ecef30d
Add 'Sync' to end of Project's synchronous open methods
...
Remove 'Async' from Project's asynchronous open methods
2013-10-15 09:45:43 -07:00
probablycorey
c44b04e47a
Merge remote-tracking branch 'origin/master' into cj-make-packages-async
2013-10-14 15:54:22 -07:00
Kevin Sawicki
8e73258168
Remove unused Project::getFilePaths
2013-10-14 09:53:26 -07:00
Matt Colyer
4d415d3ca9
Generate evil file fixtures depending on platform
2013-10-11 14:09:17 -07:00
Matt Colyer
6a37f9dad4
Merge branch 'master' into some-files-are-just-too-evil
2013-10-11 13:43:12 -07:00
probablycorey
92c6ad66eb
Rename Project::open to Project::openSync
...
…and Project::openAsync to Project::open
2013-10-11 10:57:09 -07:00