Kevin Sawicki & Nathan Sobo
89192c2ee2
Extract helpers to session-utils
2013-06-28 04:39:27 -06:00
Kevin Sawicki & Nathan Sobo
b5b408d134
Open new window when joining collaboration session
2013-06-28 04:39:27 -06:00
Kevin Sawicki
b08f320ed5
Remove mini class to give id enough room
2013-06-28 04:39:27 -06:00
Kevin Sawicki
4c7025ae81
Add message to join prompt
2013-06-28 04:39:27 -06:00
Kevin Sawicki
554af1becb
Add initial collaboration keymap
2013-06-28 04:39:27 -06:00
Kevin Sawicki
6d49e0fd57
Pass through all window settings as load settings
2013-06-28 04:39:26 -06:00
Kevin Sawicki
31d872fbfe
Add atom.openWindow()
2013-06-28 04:39:26 -06:00
Kevin Sawicki
b842a727ee
Support sending in windowState to AtomWindow ctor
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
0851b4d011
Replicate pane splitting and removal
...
We're using Peer.js to stream changes to shared telepath documents
between participants.
We're replacing the rootView of joiners in a somewhat hacky way,
but replication of pane splits and items is fully tested.
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
6480e956af
Keep resident window state object
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
9c95a4751b
Return telepath documents from getWindowState()
2013-06-28 04:39:25 -06:00
Kevin Sawicki & Nathan Sobo
d283834978
Add initial document sharing over peerJS connection
2013-06-28 04:38:22 -06:00
Kevin Sawicki
66b490b5da
Add initial collaboration package
2013-06-28 04:38:22 -06:00
Cheng Zhao
e434f7c0a9
💄
2013-06-27 22:39:41 +08:00
Cheng Zhao
e7aac2ef6e
Show confirm close dialog as sheet.
2013-06-27 21:30:47 +08:00
Cheng Zhao
45ce8e1d63
Ask for close confirmation in beforeunload handler.
2013-06-27 18:39:29 +08:00
Cheng Zhao
bdbec54f24
Make PaneContainer.confirmClose() synchronous.
2013-06-27 16:21:14 +08:00
Cheng Zhao
6c0f4c09d9
Make Pane.promptToSaveItem synchronous.
2013-06-27 12:40:36 +08:00
Kevin Sawicki
e67676b01c
Use deleteSelectedText() instead of delete()
...
Selection.delete() adds to the selection if it is empty which
we don't want to do when replacing selected text.
Closes #603
2013-06-26 19:03:45 -07:00
Kevin Sawicki
f3b50eed3b
Migrate close bindings from editor namespace to pane
...
These were left over from the pane migration still under
the editor namespace and were previously not accessible via
a keybinding.
2013-06-25 13:15:39 -07:00
probablycorey
a4217909c0
Don't check for updates in background if version is a sha
...
If the version is a 7 char sha, then we assume it is a local build.
2013-06-25 09:54:03 -07:00
Kevin Sawicki
86c8343107
Score grammar matches using longest fileType match
...
Previously the score for two grammars matching on path
was equal and so the first one would be selected.
Now the longer match will have a higher score and will be selected
over other grammars with shorter fileType match lengths.
Closes #602
2013-06-24 18:23:54 -07:00
Kevin Sawicki
6b6ce03c72
Use hasParent() instead of isOnDom()
2013-06-24 18:03:35 -07:00
Kevin Sawicki
a7ee5985db
Separate variable from requires
2013-06-24 16:56:52 -07:00
Kevin Sawicki
be354f78a6
Focus root view if previously focused element is no longer attached
...
This can be the case when a select list is triggered while a different
select list is already open and so the second list to open has no
element to restore focus to when it closes.
2013-06-24 16:46:36 -07:00
Kevin Sawicki
ab75f6f635
Don't detach on focusout when detaching
2013-06-24 16:45:26 -07:00
Kevin Sawicki
d6513e9aa9
Use BufferedProcess for apm commands
...
This ensures the path to node is always available in the environment.
2013-06-24 16:44:40 -07:00
Kevin Sawicki
32c2548442
Allow spaces before fenced code block language
2013-06-24 15:13:51 -07:00
Kevin Sawicki
1cf02c22a7
Support colorizing fenced python blocks
2013-06-24 15:08:19 -07:00
Kevin Sawicki
6879f0d0ac
Update initialPath on project path changes
...
atom.setPathToOpen() is now longer available and instead
the load settings should be updated.
2013-06-24 10:41:44 -07:00
Kevin Sawicki
d31d18360b
Store untitled window state under load settings
...
This keeps untitled windows from contaminating each other by
storing to the same state path on disk but still stores state
across reloads of the windows.
Closes #599
2013-06-24 10:37:53 -07:00
Kevin Sawicki
aeee3c9ade
Remove unused methods
2013-06-24 08:53:15 -07:00
Kevin Sawicki
503ff13eb3
Sort keys in fence extension hash
2013-06-20 21:59:21 -07:00
Kevin Sawicki
2792f0d835
Map XML fence to grammar
2013-06-20 21:59:12 -07:00
probablycorey
0328c77be1
Don't copy themes to .atom dir
2013-06-20 17:15:51 -07:00
Kevin Sawicki & Nathan Sobo
eab21e19f6
💄
2013-06-20 16:13:42 -07:00
Kevin Sawicki & Nathan Sobo
266548d75c
Implement dev window opening with meta-O
2013-06-20 16:12:11 -07:00
probablycorey
4731c1f3f0
Hack to always update from the speakeasy master release
...
Related to https://github.com/atom/atom-shell/issues/33
2013-06-20 12:15:35 -07:00
probablycorey
d5808e1164
Let constructicon set the SUFeedURL
2013-06-20 12:15:35 -07:00
Nathan Sobo
44e73200ff
Default editor.normalizeIndentOnPaste to true
2013-06-19 13:01:23 -06:00
Nathan Sobo
48b4c62696
Add editor.normalizeIndentOnPaste to the config panel
2013-06-19 13:01:01 -06:00
Corey Johnson & Nathan Sobo
b9accadb70
When normalizing indent, ignore leading spaces of first line
...
Fixes #594
2013-06-19 12:21:05 -06:00
Kevin Sawicki
e358c67da5
Listen for correct path loader progress event
2013-06-19 10:17:23 -07:00
Kevin Sawicki
1764677b7d
Unsubscribe markers when destroying display buffer
...
Previously the display buffer markers would still fire events
even after a display buffer was destroyed since they were not
being unsubscribed from their underlying buffer marker which
could still fire events in the case of an editor split on the
same buffer.
Closes #593
2013-06-19 09:56:55 -07:00
probablycorey
264ddbe183
Use app.getVersion instead of the version file
2013-06-19 09:43:34 -07:00
probablycorey
d8ba422178
Replace global.homeDir with app.getHomeDir()
2013-06-19 09:33:34 -07:00
Cheng Zhao
95f43917a4
Use @resourcePath when resource path of specs doesn't exist.
...
People may put atom under places other than ~/github/atom and wants to
run specs.
2013-06-19 14:01:24 +08:00
Cheng Zhao
e0f806f0fb
Use app.getHomeDir() API to get home dir.
2013-06-19 13:57:31 +08:00
Kevin Sawicki & Nathan Sobo
01a7b5fbc6
Throw exception when referencing a non-existent screen line
2013-06-18 14:34:23 -06:00
Kevin Sawicki
1178d844d0
Look before and after empty lines for max indent level
...
Previously the indentation guide level for empty lines was
derived by only looking after the empty line which caused gaps
in certain cases.
Now the indentation for an empty line is the higher value of the
previous non-empty line indentation and the following non-empty
line indentation.
Closes #588
2013-06-18 09:56:31 -07:00