Nathan Sobo
74347ea874
Upgrade telepath to allow marker attributes to be updated
2013-07-20 02:23:06 -07:00
Nathan Sobo
de1b69dbc9
Add DisplayBuffer.copy
2013-07-18 11:34:39 -07:00
Nathan Sobo
8b53b4d749
Add ability to copy display buffer markers
2013-07-18 10:25:03 -07:00
Nathan Sobo
c54bb792b2
Make EditSession.copy return a copy with a unique id and markers
...
We want to be able to use the copy independently, which means we
should not use EditSession@deserialize to create it because that will
tie us to the same selection markers.
2013-07-18 06:23:43 -07:00
Nathan Sobo
804df73e8d
Get edit session specs passing with selection based markers
2013-07-17 19:16:42 -07:00
Nathan Sobo
a724ef3b40
Tag selection markers with a disambiguating EditSession id
...
This prevents selection markers created by different edit sessions
from being shared. Otherwise every edit session for a buffer would be
forced to have the same selection/cursor state.
2013-07-17 15:29:21 -07:00
Nathan Sobo
ab8c0bbf04
Make DisplayBuffer.getMarkers call down into TextBuffer.getMarkers
2013-07-17 15:00:15 -07:00
Ben Ogle & Nathan Sobo
96f434f276
Set languageMode and softTabs in constructor, not setBuffer
...
The softTabs option is only in scope in the constructor, and it can
sometimes be needed if we're unable to auto-determine the softTabs
setting from the buffer.
2013-07-17 14:59:46 -07:00
Ben Ogle & Nathan Sobo
ba3fa50c6e
Add DisplayBufferMarker.getAttributes
2013-07-17 14:58:21 -07:00
Ben Ogle & Nathan Sobo
e8d4bbe5e7
💄 Extract setBuffer/buildDisplayBuffer methods
2013-07-17 12:05:18 -07:00
Ben Ogle & Nathan Sobo
bb695ec53f
Replicate the destruction of selections
2013-07-17 11:53:39 -07:00
Ben Ogle & Nathan Sobo
6079dd4ba3
💄
2013-07-17 11:33:56 -07:00
Ben Ogle & Nathan Sobo
47bfac22c2
Replicate the addition of new selections
2013-07-17 11:12:42 -07:00
Ben Ogle & Nathan Sobo
461e331f58
🙊
2013-07-17 11:12:18 -07:00
Ben Ogle & Nathan Sobo
f32e1fc643
Replicate initial EditSession selection state
2013-07-17 10:25:28 -07:00
Ben Ogle & Nathan Sobo
baeae2d8d5
Upgrade telepath so we can query 'invalidation' key in findMarkers
2013-07-17 10:25:02 -07:00
Kevin Sawicki & Nathan Sobo
abc20b3a05
Update text buffer to use telepath markers
2013-07-15 17:07:06 -07:00
Kevin Sawicki
010fa219aa
Move Point and Range specs to telepath
2013-07-05 12:53:51 -07:00
Kevin Sawicki
cdbbb114f6
Use PeerServer ☁️ instead of EC2
2013-07-05 12:53:51 -07:00
Kevin Sawicki
b8bd9b6ec6
Compare site id using site from original event
...
Previously the site was being looked for in a copy of the event where
only the range and text keys were picked and so it was always missing.
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
5a26fa838f
Emit markers-updated event for remote buffer changes
...
This is temporary until markers are a part of telepath.
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
bffe361151
Upgrade telepath
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
bf45beedbe
Swap parameter order for Document.deserialize()
2013-07-05 12:53:51 -07:00
Kevin Sawicki & Nathan Sobo
e82170efcb
Serialize EditSession's buffer's id instead of its path
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
9b22ca4825
Serialize window state in telepath format
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
85cc81851f
Replicate insertion and removal of project buffers
...
Buffers are now destroyed when removed from the project if they
haven't been destroyed already.
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
30273c6a66
Add serialization version to TextBuffer
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
e01ac96b66
Guard against a null pending changed event
...
Previously TextBuffer would emit change events even when the change
was empty. SharedString does not emit empty change events and so a
pending event may no longer be present when a marker-updated event
fires.
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
2ff282011b
💄
2013-07-05 12:53:50 -07:00
Kevin Sawicki
f766bbbb38
Remove Point and Range classes now provided by telepath
2013-07-05 12:53:50 -07:00
Kevin Sawicki
e5ef23dc5a
Expect null instead of undefined for invalid line rows
2013-07-05 12:53:50 -07:00
Kevin Sawicki
fddcbae4eb
Clip range specified to change()
2013-07-05 12:53:50 -07:00
Kevin Sawicki
2d313e07ff
Clip position in characterIndexForPosition()
2013-07-05 12:53:50 -07:00
Kevin Sawicki
1efa480b4e
Upgrade telepath
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
05a3f35512
Normalize line endings in TextBuffer.change()
2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
72f9af4d00
Replicate buffer changes
...
Still some failures due to line endings
2013-07-05 12:53:49 -07:00
Kevin Sawicki & Nathan Sobo
dd0f7a032f
Start basing Buffer's text on a replicable string
2013-07-05 12:53:49 -07:00
Kevin Sawicki & Nathan Sobo
010c3435da
Add Project serialization version
2013-07-05 12:53:49 -07:00
Kevin Sawicki & Nathan Sobo
da3a89fc27
Don't show pane items that can't be deserialized
2013-07-05 12:53:49 -07:00
Nathan Sobo
30e4531a8f
Store buffer paths instead of serialized buffers in EditSession state
...
Since there can be multiple edit sessions per buffer, it doesn't make
sense to serialize the buffer multiple times. Previously, we were
de-duplicating buffers in the deserialize method itself, but this won't
work now that we want to replicate buffers.
2013-07-05 12:53:49 -07:00
Kevin Sawicki
651bbaa3ce
Create an empty ~/.atom/config.cson when missing
...
Closes #614
2013-07-05 09:17:44 -07:00
Kevin Sawicki & Nathan Sobo
0448ba5ceb
Remove atom-shell during partial-clean task instead of clean task
2013-07-03 17:53:43 -07:00
Kevin Sawicki & Nathan Sobo
6d70bf9106
Remove node_modules during script/cibuild so they recompile during bootstrap
2013-07-03 17:53:43 -07:00
Cheng Zhao
857629e07e
Revert "Revert "Upgrade apm: update node to v0.10.12.""
...
This reverts commit 18c5c788d7 .
2013-07-04 08:52:13 +08:00
Cheng Zhao
18c5c788d7
Revert "Upgrade apm: update node to v0.10.12."
...
This reverts commit 433beac9aa .
2013-07-04 08:37:59 +08:00
Cheng Zhao
a8e7a9a091
Should also clean atom-shell.
2013-07-04 07:22:15 +08:00
Kevin Sawicki
59097ddf96
Remove ~/.atom/.node-gyp during clean
2013-07-03 09:26:04 -07:00
Cheng Zhao
433beac9aa
Upgrade apm: update node to v0.10.12.
2013-07-03 18:23:41 +08:00
Kevin Sawicki
c7f6e87132
Only use event.which when key identifier is non-ASCII
...
Previously event.which was used when it was less than the key identifier
which broke fn-delete since that generates a valid key identifier but a
lower event.which value that does not translate to 'delete' using the char
code converter.
Close #611
2013-07-02 13:13:45 -07:00
Garen Torikian
64e2fee975
Merge pull request #610 from github/add-nooutput-to-biscotto
...
Bump the biscotto version
2013-07-02 11:13:20 -07:00