Commit Graph

467 Commits

Author SHA1 Message Date
Max Brunsfeld
a9531fc4dd Install atom command as 'atom-beta' when using beta version 2015-09-23 14:10:07 -07:00
Thomas Johansen
a2071a7093 🔥 Remove deprecations from global atom module 2015-09-22 10:37:05 -06:00
Nathan Sobo
fb341b094b Add Promise.prototype.done shim
Base on our research, this is the only non-standard Q method people are
really calling. We didn’t check the really obscure stuff, but this
should cover the vast majority of issues.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-09-18 21:26:14 -06:00
Nathan Sobo
c790f987d4 Drop space-pen-extensions from atom.coffee 2015-09-18 20:48:47 -06:00
Nathan Sobo
6fec11780b 🔫 WorkspaceView shim 2015-09-18 20:48:43 -06:00
Max Brunsfeld
6c73f5eda7 Merge branch 'master' of https://github.com/jonathandelgado/atom into jonathandelgado-master 2015-08-25 12:36:58 -07:00
Jonathan Delgado
c292299516 Changed setting disableInitialEmptyEditor to openEmptyEditorOnStart 2015-08-23 07:51:22 -07:00
Max Brunsfeld
1bfbf7f9d3 Map line numbers in onerror handler w/ source-map-support 2015-08-20 11:58:45 -07:00
Jonathan Delgado
31634f3f53 Add disableInitialEmptyEditor setting 2015-08-15 10:21:25 -07:00
Ross Allen
51c73bd6e9 Use Returns keyword in global atom object docs
Use the `Returns` keyword in function docs so they are put
in panels like other return values in docs.
2015-07-28 15:00:51 -07:00
Daniel Hengeveld
afee699137 Move view registration for Pane & Gutter related views earlier
Registering them in pane-container led to packages deserializing
before e.g. Gutter was available.
2015-07-08 17:07:26 -07: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
c9a8585b49 🎨 2015-06-30 15:30:58 -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
d1057b5de7 Fill error message in if needed for package specs 2015-06-20 18:37:54 +02:00
Nathan Sobo
a24816f76b Handle null errors to support existing uses in tests 2015-06-20 18:37:54 +02: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
a0778217df Merge pull request #7145 from FoldingText/Item-provides-save-panel-options
Item provides save panel options
2015-06-11 15:28:24 -07:00
Kevin Sawicki
7d7b2375e1 Focus right after showing 2015-06-10 09:27:20 -07:00
Nikhil Narula
50f4fe5b6c Correct isMaximixed misspelling to isMaximized 2015-06-08 20:43:13 -04:00
Jesse Grosjean
6cdc555a93 Clone options parameter before modifying it. 2015-06-08 20:40:15 -04:00
Jesse Grosjean
656c91beb4 Preserve previous API behavior 2015-06-08 16:19:39 -04:00
Jesse Grosjean
f88e21cbb0 Allow items to provide savePanel options. 2015-06-06 22:21:51 -04:00
Kevin Sawicki
41d3764189 🎨 2015-05-13 10:09:34 -07:00
Kevin Sawicki
42004ce770 Remove unneeded ? 2015-05-13 09:37:14 -07:00
Kevin Sawicki
1f9f17f9ff Don't display window in spec mode 2015-05-13 09:37:13 -07:00
Kevin Sawicki
2707b09f00 restoreWindow -> displayWindow 2015-05-13 09:37:13 -07:00
Kevin Sawicki
8439099a06 Call show from within restoreWindow 2015-05-13 09:37:13 -07:00
Kevin Sawicki
10c65b53f9 Don't store background for spec windows 2015-05-13 09:37:13 -07:00
Kevin Sawicki
104bece119 Add restoreWindow helper 2015-05-13 09:37:13 -07:00
Kevin Sawicki
88c1c8404e Display window after wiring up windor.onerror 2015-05-13 09:37:13 -07:00
Kevin Sawicki
87fd2ec188 Store background on unload 2015-05-13 09:37:13 -07:00
Kevin Sawicki
943df49300 Read/write window background in local storage 2015-05-13 09:37:13 -07:00
Kevin Sawicki
2254468855 Show window as early as possible 2015-05-13 09:37:13 -07:00
Kevin Sawicki
0b24307096 Mark atom.notifications public 2015-04-23 16:10:31 -07:00
Kevin Sawicki
e6a49c4531 Remove unused resource path 2015-04-15 15:55:31 -07:00
Kevin Sawicki
5a8885aeed Revert "Revert "Add asar support in Atom"" 2015-04-15 15:55:30 -07:00
Max Brunsfeld
b8c7f655f9 🎨 Extract logic for storage folder into separate class 2015-04-15 15:09:49 -07:00
Kevin Sawicki
4160a8c239 Merge pull request #6230 from mnquintana/coffeelint-plus
Lint for more styleguide errors
2015-04-08 12:07:23 -07:00
Kevin Sawicki
018fe0e8b8 Only set atom.__workspaceView in deprecated mode 2015-04-07 15:11:53 -07:00
Max Brunsfeld
f39c67411a Rename 'add-root-folder' -> 'add-project-folder' 2015-04-07 12:10:12 -07:00
Machiste Quintana
2bb2022b5b 👕 2015-04-07 00:05:19 -04:00
Machiste Quintana
5d2392ea67 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
Max Brunsfeld
5df56fc50a Add workspace element command for 'add root folder' 2015-04-06 15:19:40 -07:00
Kevin Sawicki
7d592c8b78 includeDeprecations -> includeDeprecatedAPIs 2015-04-03 11:29:16 -07:00
Kevin Sawicki
e41a366e08 Using single Model class require 2015-04-03 11:29:15 -07:00