probablycorey
92c6ad66eb
Rename Project::open to Project::openSync
...
…and Project::openAsync to Project::open
2013-10-11 10:57:09 -07:00
probablycorey
3ed0f7bde4
Project::openAsync always resolves the filePath
2013-10-10 12:01:49 -07:00
probablycorey
d883834626
Comment 💄
2013-10-10 11:57:32 -07:00
probablycorey
9a61c545f4
Update comments in project
2013-10-07 16:12:44 -07:00
probablycorey
b4fb526d75
Simplify early return statement
2013-10-07 16:10:38 -07:00
probablycorey
13232de4b9
Chain promises better
2013-10-07 11:46:03 -07:00
probablycorey
b468a6f375
Get text buffer loading to work with multi-stage load
2013-10-03 16:58:11 -07:00
probablycorey
cc68925ab7
Make Project::resolve handle null file names
2013-10-03 13:23:27 -07:00
probablycorey
b315e62a43
Add Project::openAsync and Project::bufferForPathAsync
2013-10-03 10:28:12 -07:00
Ben Ogle
a9e383afa4
Add paths-searched event to the scan-handler
...
This allows the interface to know how many total paths were searched
2013-09-26 14:33:41 -07:00
probablycorey
f467746cba
Project::scan uses core.ignoredNames
2013-09-25 11:03:29 -07:00
probablycorey
cd554a4f7b
Project::scan uses a task to do its work
2013-09-25 11:03:28 -07:00
probablycorey
e26d7a0320
wip
2013-09-25 11:03:28 -07:00
probablycorey
861adf6692
Start using scandal and make the specs pass
2013-09-25 11:03:28 -07:00
Ben Ogle
6dd08f85d3
Return the lineText from project.scan
...
Also change up match -> matchText for consistency.
2013-09-25 11:03:28 -07:00
Ben Ogle
cf88868bf0
Use the full name of the -G option
2013-09-25 11:03:28 -07:00
Ben Ogle
d8fdbcf1b1
Use the -G param in project::scan to search within directories
2013-09-25 11:03:28 -07:00
Kevin Sawicki
ed1dcceb31
Add Public keyword to all exported classes
2013-09-20 10:03:02 -07:00
Kevin Sawicki
8cadf8252d
Use openers ivar
2013-09-20 10:02:22 -07:00
Kevin Sawicki
a06012cf2e
Remove duplicate constructor
2013-09-20 10:02:21 -07:00
Kevin Sawicki
0d88104367
Store openers on instance instead of on class
...
This allows packages to not have require access to Project just to register
a custom opener and allows projects to have different sets of openers.
2013-09-20 10:02:21 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
probablycorey
82de7009d5
Allow for case insensitive project.scan searches
2013-09-18 14:41:38 -07:00
Kevin Sawicki
aaea8bdb31
Trigger buffer-created from Project::addBufferAtIndex
...
This ensures that any listeners for this event will be notified when
a buffer is add via deserialization from a telepath document.
2013-09-02 11:46:32 -07:00
Kevin Sawicki
63a3d9de94
Pass project to Git.open in the options hash
...
Previously the project global was unavailable in the Git constructor
since it had not been set as a global yet and so the Git instance was never
configured to watch the project's buffers for save/reload events. This caused
the status to be out of sync in places like the gutter and status bar.
2013-09-02 11:34:20 -07:00
Kevin Sawicki
989fffba6a
🚱 Destroy repo in Project::setPath
...
Previously if the new path was non-null then the current repo would be
leaked and never destroyed
2013-08-29 18:08:01 -07:00
Kevin Sawicki
8307ae8938
💄 correct lint indentation problem
2013-08-28 20:32:35 -07:00
Kevin Sawicki & Nathan Sobo
2bd4386090
Destroy unretained buffers when serializing project
...
Previously buffers could linger indefinitely if an error occurred
during startup between the deserialization of the project and the
original retaining edit session.
2013-08-28 18:37:40 -07:00
Matt Colyer
631995996b
Reformat comments for project.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
61e5e6ea28
Fix delegation references in comments
2013-08-27 10:16:58 -07:00
Kevin Sawicki
decaa3dfcf
💄 Move extend calls to top of class
2013-08-26 19:09:42 -07:00
Kevin Sawicki
8f193e4fb5
Remove default edit session options from Project
...
Instead read the config values directly where they are actually
used such as in EditSession, TokenizedBuffer, and DisplayBuffer.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
a0db412140
Use editor.softTabs config value when creating edit sessions
...
This replaces the internal softWrap state and removes the previous
getter and setter for this value that was on Project.
2013-08-21 18:12:26 -07:00
Kevin Sawicki
2f4a57e5e4
Remove get/setSoftWrap from Project
...
The config should now be the place that soft wrap settings is interacted
with.
2013-08-21 18:08:59 -07:00
Kevin Sawicki
147e75ad95
Use editor.softWrap config value when creating edit sessions
...
Closes #666
2013-08-21 17:17:06 -07:00
Kevin Sawicki
2f4db45320
Use editor.tabLength config value when creating edit sessions
...
Closes #708
2013-08-21 17:12:04 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00
Chris Wanstrath
9af38c8c53
plugins/ (not working yet)
2011-08-27 15:13:12 -07:00
Chris Wanstrath
409a77c485
gigantic ass reorg. let me know if this breaks.
2011-08-27 03:55:56 -07:00