probablycorey
19da22d440
Revert "Project doesn't serialize non-modified buffers that don't exist on disk"
...
This reverts commit ec3e139632 .
2013-12-10 10:15:03 -08:00
probablycorey
51ff3ec46a
Revert "Rename destroyNonExistentNonModified"
...
This reverts commit 22ec8c3a75 .
2013-12-10 10:14:56 -08:00
probablycorey
22ec8c3a75
Rename destroyNonExistentNonModified
2013-12-09 12:06:44 -08:00
probablycorey
ec3e139632
Project doesn't serialize non-modified buffers that don't exist on disk
2013-12-09 11:41:57 -08:00
Nathan Sobo
b61654b52f
Upgrade to telepath 0.61.0
...
This version adds a bunch of reactive primitives and ensures we destroy
documents when they are no longer referenced.
2013-12-06 21:55:57 -08:00
Kevin Sawicki
9ce22fd6d3
Add back internally used isPathModified
2013-12-03 13:37:21 -08:00
Kevin Sawicki
6f1dd702b0
Add back internally used Project::findBufferForPath
2013-12-03 12:12:28 -08:00
Kevin Sawicki
4998fdda85
Remove unused methods in Project
2013-12-03 11:40:28 -08:00
Kevin Sawicki
d1496a0634
Rename EditSession to Editor
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
62d84e5d4b
📝 Doc Project::registerOpener
2013-11-22 15:40:50 -08:00
Kevin Sawicki
cdc7f70b22
Pass buffer from event to TextBuffer::removeBuffer
...
Previously only the last buffer would be destroyed since the buffer
from the loop variable was being used.
2013-11-21 13:04:47 -08:00
probablycorey
c3de3d8eea
Update documentation
2013-11-20 10:04:28 -08:00
probablycorey
31a9bb83cf
Replace editSession variables with editor
2013-11-19 15:22:47 -08:00
probablycorey
bf05ddb958
🔫
...
I screwed up a rebase, this nasty commit is the result.
2013-11-19 15:15:12 -08:00
probablycorey
955d379e0e
Rename EditSession to TextEditor
2013-11-19 14:56:09 -08:00
Kevin Sawicki
ee1ec4670d
Listen for destroyed events on deserialized buffers
2013-11-19 09:08:24 -08:00
Kevin Sawicki
20811a9f52
📝 Mention which methods are telepath hooks
2013-11-15 11:17:35 -08:00
Kevin Sawicki
e2d4b58d5f
Remove unused Range
2013-11-15 11:17:35 -08:00
Kevin Sawicki
93bfe0edf6
Store path when set in project
2013-11-15 11:17:34 -08:00
Kevin Sawicki
e4b3d3a83c
Call getValues() when iterating over buffers
2013-11-15 11:17:34 -08:00
Kevin Sawicki
11f1ef9d8b
Destroy unretained buffers in beforePersistence
2013-11-15 11:17:34 -08:00
Kevin Sawicki
8b17b7eca9
Remove unused repoUrl property
2013-11-15 11:17:33 -08:00
Kevin Sawicki
34f1472653
Use getValues() when iterating over buffers
2013-11-15 11:17:33 -08:00
Kevin Sawicki
dc7e7f9ed0
Listen for buffer destroyed in Project
2013-11-15 11:17:33 -08:00
Kevin Sawicki
11787e5a5d
Return added buffer from Project::addBufferAtIndex
2013-11-15 11:17:32 -08:00
Kevin Sawicki
957374eb40
Call telepath.Array::getValues() during clone
2013-11-15 11:17:32 -08:00
Kevin Sawicki
6290c19264
Set up spec Project as telepath model
2013-11-15 11:17:32 -08:00
Kevin Sawicki
913bb82d6e
Remove debug logging
2013-11-15 11:17:32 -08:00
Kevin Sawicki
1808e5f991
Initial 🔪 at extending telepath.Model in Project/TextBuffer
2013-11-15 11:17:32 -08:00
Matt Colyer
001fe5931e
Merge branch 'master' into win-package-specs
...
Conflicts:
package.json
2013-11-11 14:22:31 -08:00
Kevin Sawicki
a377a49004
Use atom.config instead of window.config
2013-11-11 09:16:44 -08:00
Kevin Sawicki
d793d114d4
Use atom.site instead of window.site
2013-11-11 08:44:26 -08:00
Ben Ogle
ee896846bb
Comments. Change up the api a tiny bit.
2013-11-08 12:25:59 -08:00
Ben Ogle
ddd560b785
Add replace to project and buffer
2013-11-08 12:20:43 -08:00
Matt Colyer
a168692eea
Don't relativize uris
2013-11-08 09:39:51 -08:00
Kevin Sawicki
83dcf79bcf
Use fs-plus
2013-11-01 08:46:02 -07:00
Nathan Sobo
62ccf92a5d
Get core specs passing w/ Telepath v0.14.0. Delete replication specs.
...
Telepath v0.14.0 is a ground-up rewrite of the replication library,
which is principally designed to support moving document fragments
within the overall document. But it's also a lot better in a number of
ways. This commit does the minimal to get things working on the new
telepath. Standard package specs don't pass yet. Also, I deleted the
replication specs since they are extremely convoluted and will be able
to be replaced with much better versions once I complete the changes
enabled by the new Telepath.
2013-10-31 17:08:40 -06:00
Kevin Sawicki
b9274412c5
Refresh index and status after opening repo
...
Previously this relied on an initial window focus event firing
to kick off the initial load. This focus event no longer fires
in jquery 2.0 so just explicitly refresh the index and status when
setting the project path.
2013-10-30 14:42:24 -07:00
Kevin Sawicki
2f62123a75
Merge branch 'master' into win-bootstrap-native-modules
2013-10-28 17:33:39 -07:00
Kevin Sawicki
d6159a38d4
Make project.resolve work on Windows
2013-10-28 15:21:08 -07:00
Corey Johnson
ef2a322229
Merge pull request #1037 from atom/cj-buffer-serialization
...
When opening a window, only use serialized buffer text if the contents on disk have not changed.
2013-10-28 09:48:43 -07:00
probablycorey
32bc8a6258
Remove initialText option from TextBuffer constructor
2013-10-25 13:50:06 -07:00
probablycorey
1f30231d5c
Project.scan scans buffer if the file is modified
...
Closes #487
2013-10-24 15:32:32 -07:00
probablycorey
9a839045e5
Merge remote-tracking branch 'origin/master' into cj-make-packages-async
2013-10-16 10:51:34 -07:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -07:00
probablycorey
57d9aa6019
Rename TextBuffer::load to TextBuffer::loadSync
2013-10-15 10:39:50 -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
Kevin Sawicki
e5ac73e0db
Use includeInto instead of _.extend
2013-10-14 17:28:26 -07:00
Kevin Sawicki
0b0c3229d3
EventEmitter is exported as Emitter
2013-10-14 17:28:26 -07:00