Kevin Sawicki & Nathan Sobo
019a0f2b84
Don't deserialize null pane container root
2013-07-22 19:58:59 -07:00
Kevin Sawicki & Nathan Sobo
501a6b7d11
Add site global used to create all telepath documents
2013-07-22 19:58:27 -07:00
Kevin Sawicki & Nathan Sobo
0370eb9236
Default soft wrap to millionth column
...
This is because peer.js cannot encode Infinity
but it should be ideally controlled via a boolean
flag instead of column number.
2013-07-22 18:40:57 -07:00
Kevin Sawicki & Nathan Sobo
4cba8ab48f
Serialize project when editor window is unloaded
2013-07-22 18:39:32 -07:00
Kevin Sawicki & Nathan Sobo
f4e7693e70
💩 Put apm back to version we clobbered during merge
2013-07-22 18:47:16 -06:00
Kevin Sawicki & Nathan Sobo
73adc40c4e
💄 use array-shorthand instead of new Range
2013-07-22 18:39:46 -06:00
Kevin Sawicki & Nathan Sobo
844469a9a7
Resolve filePath in Project.buildBuffer
2013-07-22 18:39:22 -06:00
Kevin Sawicki & Nathan Sobo
faa8a8d9fc
Use absolute path instead of uri when opening save-as dialog
2013-07-22 18:18:42 -06:00
Kevin Sawicki & Nathan Sobo
fa59aafffb
Relativize buffer paths for replication
...
TextBuffers now maintain a reference to their containing project to
make it easier to test replication of buffers between environments
without worrying about the value of the `project` global.
We're also starting the process of moving the `git` global into Project
as the `Project.repository` property.
2013-07-22 18:13:01 -06:00
Corey Johnson & Matt Colyer
d051cbe0f6
Add video and audio streams to host view
2013-07-22 14:13:58 -07:00
Corey Johnson & Matt Colyer
1f18c0ba02
Stream audio and video feed of host to guest view
...
Conflicts:
src/packages/collaboration/lib/session-utils.coffee
2013-07-22 13:58:55 -07:00
Corey Johnson & Matt Colyer
034aaa2927
Assume first message sent by host is a telepath document
2013-07-22 13:57:46 -07:00
probablycorey
7b57c12f59
💄
2013-07-22 13:57:36 -07:00
Kevin Sawicki & Nathan Sobo
642df0924d
Merge branch 'master' into shared-buffers
...
Conflicts:
vendor/apm
2013-07-22 11:54:51 -07:00
Kevin Sawicki & Nathan Sobo
1685d62cae
Don't allow caching of coffee requires to be overridden in tasks
...
This is a follow-on to the previous commit which handled the index.html
case.
2013-07-22 11:50:14 -07:00
Kevin Sawicki & Nathan Sobo
e705e3e045
Don't allow caching of coffee requires to be overridden
...
Previously coffeestack was requiring a different version of coffeescript
than atom was, which had a side effect of re-registering the extension
handler for .coffee requires. This disabled coffee-cache, which made
require really slow again.
2013-07-22 11:44:39 -07:00
Kevin Sawicki
56a2c79fe1
Merge branch 'collaboration-presence' into shared-buffers
...
Conflicts:
src/app/edit-session.coffee
src/app/project.coffee
src/app/text-buffer.coffee
src/app/window.coffee
src/packages/collaboration/lib/bootstrap.coffee
src/packages/collaboration/lib/session-utils.coffee
vendor/telepath
2013-07-22 10:12:45 -07:00
Kevin Sawicki
0bb7d3ba09
Default save as dialog to directory of active item
2013-07-22 09:11:57 -07:00
Ben Ogle
8e92499ebb
Fix comments so they match up with actual behavior
2013-07-22 09:02:05 -07:00
Ben Ogle
62e0274ff6
hook selectToFirstCharacterOfLine up to a command in editor.
2013-07-22 09:02:05 -07:00
Ben Ogle
fe4c4e9751
Add selectToFirstCharacterOfLine to editSession
2013-07-22 09:02:05 -07:00
Kevin Sawicki
baa03f5587
Upgrade apm
...
Closes #638
2013-07-22 08:35:10 -07:00
Nathan Sobo
d85560e886
💄
2013-07-21 18:38:51 -06:00
Nathan Sobo
25d594e717
Update spell-check package for new telepath-based marker API
2013-07-21 18:00:55 -06:00
Nathan Sobo
383ba80d1e
Use EditSession.getSoftTabs instead of .softTabs attr in snippets spec
2013-07-21 17:51:42 -06:00
Nathan Sobo
561e666091
Eliminate EditSession.markersForBufferPosition
...
We use findMarkers for everything now
2013-07-21 17:51:02 -06:00
Nathan Sobo
071f8a6a84
Use .findMarkers instead of .markersForBufferPosition in snippets
2013-07-21 17:50:12 -06:00
Nathan Sobo
da95d26c58
Upgrade telepath to fix markers at end of buffer being invalid
2013-07-21 17:49:51 -06:00
Nathan Sobo
9c4478302e
Translate attribute names in DisplayBufferMarker.matchesAttributes
2013-07-21 17:49:15 -06:00
Nathan Sobo
28a0bdaf95
Add TextBuffer.destroyMarker
2013-07-21 17:14:16 -06:00
Nathan Sobo
50ade54c3c
Also serialize project in pane specs that remove the pane from the DOM
...
The project contains the only reference to the buffer that belongs to
the edit session in the serialized pane. If we tear down the pane then
the edit session is destroyed and the buffer is removed. So we have to
serialize and restore the project to its previous state once we finish
tearing down the view.
2013-07-21 16:55:44 -06:00
Nathan Sobo
d43f459ad1
Fall back to .serialize() if a pane item has no .getState() method
2013-07-21 16:46:22 -06:00
Nathan Sobo
383985d331
Ensure there is clean serialization of RootView state
...
Everything from RootView to Pane needs to return a serialized clone of
its state, so we don't accidentally further mutate the serialized state
in tests.
2013-07-20 22:40:40 -06:00
Nathan Sobo
5246d4cd72
Add Project.getState() and make Project.serialize clone state
2013-07-20 21:24:32 -06:00
Nathan Sobo
97c4b9a83a
Don't clone state in EditSession.getState()
2013-07-20 21:21:51 -06:00
Nathan Sobo
ff9acb50ff
Deserialize display buffer when deserializing edit sessions
...
Previously, we kept display buffer attributes in the edit session's
serialized state, then recreated a fresh display buffer each time when
deserializing edit sessions. Now that DisplayBuffer and TokenizedBuffer
are serializable, we can just include them directly when serializing
the edit session.
2013-07-20 18:21:44 -06:00
Nathan Sobo
ca0832e58e
Include folds in DisplayBuffer deserialization
2013-07-20 16:41:46 -07:00
Nathan Sobo
503629fdcb
💄
2013-07-20 16:40:38 -07:00
Nathan Sobo
eeeb453cf9
Back DisplayBuffer with a telepath document
2013-07-20 16:22:26 -07:00
Nathan Sobo
e1f795a352
Back TokenizedBuffer with a telepath document
2013-07-20 15:42:13 -07:00
Nathan Sobo
2b7a294cdd
Use new marker attribute API to store/replicate selection goal ranges
2013-07-20 02:24:35 -07:00
Nathan Sobo
c85932d46b
Preserve folds and all selection attributes when copying EditSessions
2013-07-20 02:23:12 -07:00
Nathan Sobo
75cf1acce1
Honor preserveFolds option when creating a new selection
2013-07-20 02:23:12 -07:00
Nathan Sobo
7f5d71dada
💄
2013-07-20 02:23:12 -07:00
Nathan Sobo
1f8fd3c16c
Fix isReversed option name
2013-07-20 02:23:12 -07:00
Nathan Sobo
7ccfd6c94b
💄
2013-07-20 02:23:12 -07:00
Nathan Sobo
1911ef2d80
Fix 'isReversed' option name for marker creation
2013-07-20 02:23:12 -07:00
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