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
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
d8f0743888
Fix bug in Project::getEditors
2014-04-04 15:31:44 -07:00
probablycorey
7685b27218
Move editor tracking to workspace
2014-04-04 15:31:20 -07:00
probablycorey
56bea31b5e
Move Project::eachEditor to Workspace::eachEditor
2014-04-04 15:31:01 -07:00
probablycorey
0f5f6c8657
Move openers to workspace
2014-04-04 15:30:22 -07:00
probablycorey
d0276e60b5
Remove periods
2014-04-04 14:52:48 -07:00
probablycorey
e58c2d8368
Fix WorkSpace typo
2014-04-03 10:37:20 -07:00
probablycorey
56222a072a
Add deprecation warnings
2014-04-01 16:59:16 -07:00
Kevin Sawicki
3346ddac38
Bump max size to 2MB
2014-02-27 15:32:19 -08:00
Kevin Sawicki
0d9e7a5e08
Only scan dirty buffers that are inside the project
2014-02-27 14:44:34 -08:00
Kevin Sawicki
2c5ae6e553
Add back size check when creating buffers
2014-02-19 09:19:09 -08:00
Kevin Sawicki
1988ed9e92
📝 Doc undefined return case
2014-02-19 09:19:09 -08:00
Kevin Sawicki
43f272d1e7
Require Directory from pathwatcher
2014-02-19 09:19:08 -08:00
Kevin Sawicki
8900d9efdd
Require TextBuffer from text-buffer module
2014-02-19 09:19:08 -08:00
probablycorey
93bd0c8412
🔥 whitespace
2014-02-13 11:00:29 -08:00
probablycorey
f473bfdb95
Move actual opener logic back to project.
...
Not all specs create a workspace and workspaceView, so there were
failures. They probably SHOULD all have workspace and workspaceView
but that is beyond the scope of this PR.
2014-02-13 10:52:07 -08:00