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
Max Brunsfeld
b374c1a11a
Preserve 1st line's leading whitespace on paste
2014-11-22 09:43:23 -08:00
Max Brunsfeld
2a5081f0e0
Remove normalizeIndentOnPaste from config schema
2014-11-21 14:51:44 -08:00
Max Brunsfeld
bf83fb7b10
⬆️ text-buffer@3.7.0 for checkpoints
...
Also add methods on TextEditor to expose the new checkpoint
functionality
2014-11-21 11:06:43 -08:00
Nathan Sobo
e62ecbab6b
Work around chromium bug where focus gets stolen from shadow DOM
...
Fixes #4255
2014-11-21 11:04:42 -07:00
Ben Ogle
f79b78054c
Add title to TooltipManager args
2014-11-20 18:35:01 -08:00
Nathan Sobo
95d6ab1d4f
Add legacy ‘Syntax’ deserializer for GrammarRegistry
2014-11-20 15:28:37 -07:00
Nathan Sobo
97a56574e0
Merge pull request #4259 from atom/ns-deprecate-syntax-global
...
Rename atom.syntax to atom.grammars
2014-11-20 14:11:45 -07:00
Nathan Sobo
f475552673
Fix local variable name
2014-11-20 13:10:51 -07:00
Kevin Sawicki
7b4a9aa2e4
Patch statSyncNoException to handle non-string args
...
Non-string values were being coerced to strings which can cause
unexpected results.
Refs atom/atom-shell#843
Closes #4247
2014-11-20 11:15:10 -08:00
Ben Ogle
8afbab311f
Merge pull request #4248 from atom/bo-deprecate-workspace-view
...
Deprecate workspaceView
2014-11-20 10:53:19 -08:00
Nathan Sobo
32f2a95f07
Make GrammarRegistry::selectGrammar public since we use it in specs
2014-11-20 11:44:37 -07:00
Nathan Sobo
d53d01d95b
Replace atom.syntax with atom.grammars
2014-11-20 11:42:49 -07:00
Nathan Sobo
131522f93d
Rename Syntax to GrammarRegistry
2014-11-20 11:38:01 -07:00