Max Brunsfeld
c19aee5472
Carry over remaining tooltip disposal code from space-pen extensions
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
Signed-off-by: Nathan Sobo <nathan@github.com >
2014-12-03 17:02:47 -08:00
Ben Ogle
e9d49b1df3
📝 Add tooltip examples
2014-12-03 16:23:08 -08:00
Ben Ogle
5a456c8552
📝 Add arg to pane::destroyItem()
2014-12-03 16:11:29 -08:00
Kevin Sawicki
1179ced85c
Remove duplicate require
2014-12-03 15:07:07 -08:00
Ben Ogle
24f7638e8b
Add Workspace::panelForItem()
2014-12-03 12:46:42 -08:00
Kevin Sawicki
f4b08649a0
Use JSON example since package.json is target
2014-12-03 11:04:17 -08:00
Nathan Sobo
53b538311e
Add activationEvents deprecation warning
2014-12-03 12:00:53 -07:00
Ben Ogle
37e6f03346
Fix tooltip command display when command has no keybinding
2014-12-02 16:31:38 -08:00
Ben Ogle
ac23717f8c
Only beep when there is a workspace
...
Some specs might not create one.
2014-12-02 15:52:37 -08:00
Nathan Sobo
dd63d47c11
Add getters for decoration types in addition to ‘overlay’
2014-12-02 15:59:12 -07:00
Max Brunsfeld
714cbc9f4b
Add deprecation warning for Workspace::getActiveEditor
2014-12-02 12:46:05 -08:00
Max Brunsfeld
64e4053a19
Deprecate delegated properties on workspace
...
* ::activePaneItem was already deprecated, but the stack
trace was internal and confusing
* ::activePane is newly deprecated
2014-12-02 12:37:27 -08:00
Kevin Sawicki
cacaba936b
Add restart helper on Windows
2014-12-02 11:31:18 -08:00
Max Brunsfeld
b20589fbb6
Decrease default undo grouping interval to 300ms
2014-12-02 11:19:31 -08:00
Nathan Sobo
8a40be8345
Null guard container in Pane::destroyed
2014-12-02 11:57:38 -07:00
Nathan Sobo
2d8d330df7
Add Workspace::onDidDestroyPaneItem for symmetry with ::onDidDestroyPane
2014-12-02 11:57:38 -07:00
Nathan Sobo
fbc9c05096
Add Workspace::onDidDestroyPane
...
This helps with the background-tips conversion
2014-12-02 11:57:38 -07:00
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