Nathan Sobo
1eab423a1c
Clarify that we’re taking an event in the parameter name
2014-12-02 11:57:38 -07:00
Kevin Sawicki
fb96b01f30
Log from quitAndInstall
2014-12-02 10:42:46 -08:00
Kevin Sawicki
0fe9dc6aa9
Spawn new atom.exe immediately on quitAndInstall
2014-12-02 10:30:58 -08:00
Nathan Sobo
01f87d9678
Null guard workspace element for deprecated update-available dispatch
2014-12-02 11:14:33 -07:00
Kevin Sawicki
ed42a275ab
💄
2014-12-02 09:21:56 -08:00
Kevin Sawicki
1c0c8db042
Add unsupported state to update manager
2014-12-02 08:58:00 -08:00
Max Brunsfeld
a7a9b3707f
Merge pull request #4365 from atom/ns-view-registry-cleanup
...
Clean up view registry API
2014-12-02 08:55:00 -08:00
Nathan Sobo
9a9347e3a5
Simplify ViewRegistry::addViewProvider API
...
It now takes two arguments, a model constructor and a create view
callback that is passed the model.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-12-01 17:53:03 -08:00
Max Brunsfeld
e4bcb96dcc
Change ::setModel to ::initialize on all element classes
2014-12-01 17:52:19 -08:00
Kevin Sawicki
db17a6cba4
📝 Remove stray to
2014-12-01 17:42:14 -08:00
Nathan Sobo
4591f00a65
Remove view registry references from the workspace model layer
...
Removed various ::getView methods from the model. Using the atom.views
global in the views for now, but going to switch them over to using a
locally assigned view registry instead in a subsequent commit.
2014-12-01 16:28:33 -08:00
Ben Ogle
b635fa0c97
Use Grim.
...
Refs #3706
2014-12-01 10:58:23 -08:00
Nathan Sobo
7dc9d0c8ce
Add Workspace::onWillDestroyPaneItem
...
It is needed by the autosave package which previously relied on DOM
bubbling to coalesce events from various panes.
2014-12-01 10:39:29 -07:00
Kevin Sawicki
be2d49a410
Remove unused subscriptions ivar
...
Closes #4343
2014-12-01 08:37:51 -08:00
Max Brunsfeld
9d60fd2322
Deprecate changeFocus option to Workspace::open
...
Its documentation was already removed, and it was already
deprecated in ::openSync.
2014-11-28 11:42:01 -08:00
Max Brunsfeld
6b3ba8e332
Add panel getter methods to workspace
...
This will make it easier to test packages that use panels
without using the DOM
2014-11-28 09:56:02 -08:00
Nathan Sobo
de619a731b
Merge pull request #4315 from atom/remove-deprecations
...
Remove deprecations from core
2014-11-27 12:16:35 -07:00
Nathan Sobo
b2025ebad0
Don’t openPath on window startup for spec windows
...
It causes specs to fail because the window loses focus somehow when
this gets run.
2014-11-27 11:13:46 -07:00
Nathan Sobo
0b44cee8db
Separate IPC messages that don’t belong in the command palette
...
Path opening and update signaling were both using the command-sending
IPC mechanism, but neither is actually a command. This commit adds a
second “message” channel with custom handling on the render process
side for these messages, rather than attempting to route them through
commands.
2014-11-27 10:30:50 -07:00
Nathan Sobo
5fed6199ec
💄 grammar
2014-11-27 09:23:35 -07:00
Nathan Sobo
ffbcddf063
Always focus pane element when pane model is activated
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-26 18:25:55 -07:00
Nathan Sobo
b341749d54
Add TextEditorElement::setUpdatedSynchronously
...
To allow testing of async editor rendering in packages. This is helpful
for overlay decorations which behave differently when rendering is
async.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-26 18:13:12 -07:00
Max Brunsfeld
b125565776
Call space pen attach hooks after attached
2014-11-26 15:09:20 -08:00
Ben Ogle
6f82281b8f
Use Project::getPaths() and Project::setPaths()
2014-11-26 14:55:40 -08:00
Ben Ogle
2c7bbf8e9f
Remove Project deserialize deprecation
2014-11-26 14:55:39 -08:00
Nathan Sobo
e2813b4dd9
📝 overlay decoration options in TextEditor::decorateMarker
2014-11-26 15:14:56 -07:00
Nathan Sobo
1e50985ec7
Add ‘position’ option to overlay decorations
...
By default overlays are positioned at the head of the given marker.
This option allows them to be positioned at the tail instead by passing
`position: ’tail’` when creating the decoration, which is useful for
autocomplete.
2014-11-26 12:29:52 -07:00
Nathan Sobo
1d6087fcd3
Add TextEditor::getDecorations and ::getOverlayDecorations
...
Required for autocomplete upgrades.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-26 12:17:26 -07:00
Nathan Sobo
b9950ef2df
Match coordinate types when computing overlay pixel position
...
Heads up @benogle
2014-11-26 09:28:12 -07:00
Ben Ogle
18f83e90f7
Add isEquals to notifications
2014-11-25 15:44:14 -08:00
Ben Ogle
4e0ab92827
Fix Notification::getDetail
2014-11-25 15:44:14 -08:00
Ben Ogle
19fcc1c441
💄 on message
2014-11-25 15:44:14 -08:00
Ben Ogle
1f5fa27113
Trigger a notification when there is a keymap issue
2014-11-25 15:44:14 -08:00
Ben Ogle
362bd2e61a
Use atom.notifications when there is a config file error
2014-11-25 15:44:13 -08:00
Ben Ogle
cec5a83eff
📝 Update restoreDefault to doc scopeSelector
2014-11-25 12:10:54 -08:00
Nathan Sobo
a7c3c15885
Don’t assume presence of unsubscribe method in SpacePen callRemoveHooks
2014-11-25 10:01:27 -07:00
Nathan Sobo
85d6689344
Merge pull request #4305 from atom/ns-add-legacy-panel-classes
...
Add legacy panel classes for theme support
2014-11-25 07:43:17 -07:00
Max Brunsfeld
0abd25ad6f
Fix ordering of panels in panel containers
...
An off-by-one error caused new panels to be inserted later
in the document than intended.
2014-11-24 17:29:31 -08:00
Nathan Sobo
dda2b2e893
Don’t apply ‘tool-panel’ class to modal panels
2014-11-24 16:46:47 -07:00
Nathan Sobo
8cb0197638
Add legacy ‘from-top’ class at the view layer, not the model
...
This blends in to our approach with the other legacy panel classes.
2014-11-24 16:38:04 -07:00
Nathan Sobo
73763d3e41
Add legacy panel classes to support old theme selectors
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-24 16:37:37 -07:00
Ben Ogle
1ae8862a9c
Notification::getTimestamp()
2014-11-24 14:58:21 -08:00
Ben Ogle
68693e3ca0
Remove issue related stuff
2014-11-24 14:58:21 -08:00
Ben Ogle
e24a562387
Use bug icon for fatal errors
2014-11-24 14:58:21 -08:00
Ben Ogle
9c6a5fb4fa
Messages -> notifications
2014-11-24 14:58:21 -08:00
Ben Ogle
96d8721c9e
Add some things to Message
2014-11-24 14:58:21 -08:00
Ben Ogle
568151b1a5
📝
2014-11-24 14:58:21 -08:00
Ben Ogle
3d6c9ee554
Add a MessageManager to atom.messages
2014-11-24 14:58:20 -08:00
Ben Ogle
d5d6422d28
Add beginning of message system
2014-11-24 14:58:20 -08:00
Nathan Sobo
d75c35285c
Publicize checkpoint methods and deprecate open-ended transactions
...
On TextEditor
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-24 14:23:48 -07:00