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
3454249b58
Allow ENOENT errors in project.open
2015-01-14 16:15:52 -08:00
Ben Ogle
9bb6a18d41
Support empty paths
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
b8efbedee1
Create a warning notification when buffer has a watch error
2015-01-14 16:15:52 -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
bc454f14e0
Add a warning notification for oversize file open
2015-01-14 16:15:51 -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
Lee Dohm
0b98093370
📝 Prevent confusion over project.contains
...
See https://discuss.atom.io/t/testing-for-the-existence-of-a-file/14079
2015-01-05 21:32:11 -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
Erdem Bayer
a0038b6f56
Create a global option to follow symlinks in project-wide search
...
Fixes https://github.com/atom/find-and-replace/issues/271
2014-12-18 17:23:23 +02:00
Ben Ogle
2c7bbf8e9f
Remove Project deserialize deprecation
2014-11-26 14:55:39 -08:00
Kevin Sawicki
268a3649b6
Use core.fileEncoding as default buffer encoding
2014-11-11 09:47:34 -08:00
Ben Ogle
1ed927f213
Remove getPath() deprecation in project::scan
2014-11-06 14:49:13 -08:00
Nathan Sobo
99b8e159bd
Add Project::onDidChangePaths event
2014-10-01 10:48:39 -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
Ben Ogle
683d0d1b16
Editor -> TextEditor
2014-09-25 15:14:29 -07:00
Ben Ogle
82c53b539a
editor.coffee -> text-editor.coffee
2014-09-25 15:14:29 -07:00
Ben Ogle
7a429b024e
Use GitRepository rather than Git
2014-09-22 11:07:41 -07:00
Ben Ogle
0963077a32
Reorganize Project class into sections
2014-09-17 14:26:15 -07:00
Ben Ogle
cfffae936c
Deprecate pathForRepositoryUrl for eventual removal
2014-09-17 14:23:46 -07:00
Ben Ogle
49937b2956
Revert "Add Project::onDidChangePath()"
...
This reverts commit ed4acb02d8 .
Conflicts:
src/project.coffee
2014-09-10 11:56:38 -07:00
Ben Ogle
40b32930cf
Revert "Add Project::onDidCreateBuffer"
...
This reverts commit 4070e5fb25 .
2014-09-10 11:55:41 -07:00
Ben Ogle
61fa1c4230
Revert "Add Project::observeBuffers"
...
This reverts commit b6fe72ef9e .
Conflicts:
src/project.coffee
2014-09-10 11:55:26 -07:00
Ben Ogle
2e219f288d
Add sections for docs clarity
2014-09-09 15:55:47 -07:00
Ben Ogle
dddd17c11b
Fix observeBuffers
2014-09-09 14:29:14 -07:00
Ben Ogle
ffbb18a0f8
Remove event comments, add method section comment
2014-09-09 14:16:10 -07:00
Ben Ogle
b6fe72ef9e
Add Project::observeBuffers
2014-09-09 14:13:26 -07:00
Ben Ogle
4070e5fb25
Add Project::onDidCreateBuffer
2014-09-09 14:12:49 -07:00
Ben Ogle
ed4acb02d8
Add Project::onDidChangePath()
2014-09-09 13:58:23 -07:00
Nathan Sobo
a947a357f4
Upgrade text-buffer for event subscription methods
2014-09-04 12:44:53 -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
Ben Ogle
bbdd304834
Merge pull request #3229 from atom/docs-metadata
...
New API docs
2014-08-27 11:33:04 -07:00
Kevin Sawicki
5ba86b3dbc
Normalize file paths in Project::resolve
...
This ensures the drive case letter is consistent on Windows
when opening file paths from the command line.
2014-08-26 10:22:20 -07:00
Ben Ogle
6c19a58c7c
📝 Convert Project docs
2014-08-25 15:13:45 -07:00
Aaron Shafovaloff
d986ab0293
Removed unnecessary comma
2014-08-21 10:09:32 -06: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
Kevin Sawicki
fd0f323666
Open directory path instead of project path
...
This ensures that the repository opened is always project’s
path instead of the potentially non-existent path or file
specified to Project::setPath
2014-05-23 15:05:04 -07:00
Corey Johnson
10636b96bc
buildBufferSync can't be deprecated because TokenizedBuffer uses it
2014-04-22 16:48:01 -07:00
Corey Johnson
e56fa3ec4f
Use PaneContainer to keep the state of open editors
2014-04-11 11:10:00 -07:00
Corey Johnson
fe0d714710
Fix inconsistent indentation
2014-04-11 10:51:56 -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