Nathan Sobo
6ccb9573c6
Drop unused requires
2015-09-18 20:48:46 -06:00
Nathan Sobo
54549f916a
Change assertion API to pass error to callback
...
Don’t assume anything about metadata. Just give assertion callers access
to the error object.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-07-07 19:29:23 -05:00
Nathan Sobo
1d8035c3cc
Back out changes to onDidThrowError API
2015-06-30 15:30:58 -05:00
Nathan Sobo
5d957b677b
Revert "Merge pull request #7373 from atom/revert-7350-ns-assertions"
...
This reverts commit 1a3441a503
, reversing
changes made to 1aab5e74d9
.
2015-06-30 15:30:58 -05:00
Nathan Sobo
b7a8ddd153
Revert "Add assertion mechanism"
2015-06-22 14:27:05 -05:00
Nathan Sobo
11c3b3444b
Return a boolean from atom.assert
2015-06-20 18:37:53 +02:00
Nathan Sobo
a1f6a15c0b
Add atom.assert and atom.onDidFailAssertion
2015-06-20 18:37:53 +02:00
Nathan Sobo
cd35107f8c
Call atom.onDidThrowError handlers with the error object
...
…and remove a bunch of dead source maps handling. Source map handling
for stack traces is now built into Chromium so it shouldn’t be needed
here.
Original event properties maintained for backward compatibility with the
1.0 API. Can be deprecated for 2.0 once we transition
exception-reporter.
2015-06-20 18:37:53 +02:00
Kevin Sawicki
b2ee37ab29
Unfocus spec
2015-05-14 10:01:06 -07:00
Kevin Sawicki
c4d7df9e99
Prevent global variables from leaking out of index.js
2015-05-14 09:54:35 -07:00
Max Brunsfeld
b8c7f655f9
🎨 Extract logic for storage folder into separate class
2015-04-15 15:09:49 -07:00
Ben Ogle
c13dce2d8f
Fix spec
2015-04-13 18:32:01 -07:00
Max Brunsfeld
f39c67411a
Rename 'add-root-folder' -> 'add-project-folder'
2015-04-07 12:10:12 -07:00
Max Brunsfeld
5df56fc50a
Add workspace element command for 'add root folder'
2015-04-06 15:19:40 -07:00
Ben Ogle
5f7015f303
Remove isInitialEmptyEditor
2015-03-03 13:18:02 -08:00
Ben Ogle
80b1d89c62
Check getLoadSettings to decide to open initial buffer
2015-03-03 12:34:54 -08:00
Ben Ogle
80cd20193a
Move the logic for opening empty initial buffer to renderer
2015-03-03 11:39:38 -08:00
Max Brunsfeld
ddcb874f6b
Base state file path on sorted project paths
2015-02-26 12:50:56 -08:00
Max Brunsfeld
173502bab4
Base state path on project paths
2015-02-26 11:21:44 -08:00
Kevin Sawicki
a4976c32ae
Remove release notes from event payload
...
The release notes are provided by Squirrel on Mac but not by Squirrel for
Windows and the release notes package pulls them down manually anyway
so this field is no longer needed.
Checking for the presence of the release notes previously was preventing the
event from firing on Windows which would cause old release notes to show in
the package.
Closes #3757
2015-02-03 14:57:33 -08:00
Kevin Sawicki
bae903a772
Update spec for changed config default
2014-12-19 18:44:21 -08:00
Erdem Bayer
a0038b6f56
Create a global option to follow symlinks in project-wide search
...
Fixes https://github.com/atom/find-and-replace/issues/271
2014-12-18 17:23:23 +02: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
Ben Ogle
60a49d9c81
nof
2014-11-26 14:55:39 -08:00
Ben Ogle
43ccf0a041
Convert require ‘atom’ to require '../src/space-pen-extensions'
2014-11-26 14:55:38 -08:00
Ben Ogle
016f32d62e
Add a FIXME for this workspaceView bit
2014-11-19 17:46:32 -08:00
Ben Ogle
74966bd547
Emit an event object from atom.onDidThrowError
2014-11-19 11:28:01 -08:00
Ben Ogle
e534997bf9
Specs for the error handler.
2014-11-18 14:42:03 -08:00
Ben Ogle
ee4116536d
Move the ViewRegistry to atom.views
2014-10-30 13:42:27 -07:00
Ben Ogle
0bb8821644
Editor config uses a schema
2014-09-29 16:08:03 -07:00
Ben Ogle
5fdf3f894c
Load the config from Atom class so as not to duplicate
2014-09-29 16:07:02 -07:00
Ben Ogle
5bf09716ef
convert the workspace config to use a schema
2014-09-29 16:06:27 -07:00
Nathan Sobo
c094b7a0ef
Extract package-manager-specs from atom-specs
2014-09-24 14:34:28 -06:00
Nathan Sobo
7f41be3103
Use atom.workspace.getView to construct WorkspaceViews
...
It returns the root DOM node of the workspace. Eventually this will
be a custom element but for now it’s just a DOM node with a
__spacePenView reference on it.
2014-09-19 16:24:12 -06:00
Ben Ogle
c0dd53104a
Make a managing the atom window section
...
de-public the get/setWindowDimensions in favor of
the (get|set)(Size|Position)
2014-09-16 11:37:11 -07:00
Kevin Sawicki
8c2bcf3943
Catch and log deactivate errors
...
Closes #3538
2014-09-15 08:34:54 -07:00
Ben Ogle
6e3c945fa2
Use event methods for theme subscriptions
2014-09-10 17:26:08 -07:00
Kevin Sawicki
35a48f0cfb
Update specs to expect an element
2014-09-08 09:33:51 -07:00
Kevin Sawicki
e8cd59eaef
Waits for reloaded event from ThemeManager
...
Previously disabling a theme wouldn't wait for the full reload
to finish since and the spec would intermittently fail because
the promise was fulfilled after the spec completed and the
subscription was leaked.
2014-08-26 14:23:20 -07:00
probablycorey
a3f046b948
Fix getVersion spec
2014-07-22 14:10:29 -07:00
probablycorey
832aeffd4f
Add basic updater spec
2014-07-08 11:12:28 -07:00
Kevin Sawicki
d4366aa09e
Pass element not jQuery object as target
...
Previously this was passing since ctrl-z was completely unbound at
this point which isn't the case on Windows.
2014-06-02 10:17:12 -07:00
Nathan Sobo
3f1ce617a7
Try to fix flaky spec
2014-05-16 15:05:49 -06:00
Nathan Sobo
ce668e7139
Fix subscription leak when ~/.atom/styles.less is present running specs
2014-05-16 08:33:49 -06:00
Corey Johnson
0d95718d1f
Remove focused spec
2014-04-22 11:04:14 -07:00
Corey Johnson
1da23e8d04
Remove deprecations from atom-spec
2014-04-22 11:01:21 -07:00
Nathan Sobo
65564e2012
Rename atom.keymap to atom.keymaps
2014-03-31 16:28:55 -06:00
Kevin Sawicki
8cb66895f0
Check that activations events are present
...
Having an empty array, object, or string will now be treated
as no activation events.
This was reported as being confusing since people were just clearing
the array generated by the package generator but their packages weren't
activating.
2014-03-11 16:15:30 -07:00
Kevin Sawicki
a651254e38
Require fs-plus directly in specs
2014-02-23 17:19:00 -08:00
Kevin Sawicki
e439847b59
Remove preferences folder spec
2014-02-17 14:24:26 -08:00