Commit Graph

25849 Commits

Author SHA1 Message Date
Nathan Sobo
f7a3e6c425 Don’t load base style sheets until config is loaded
We need to know what themes are active in order to load the correct LESS
variables.
2015-10-12 16:12:46 -06:00
Nathan Sobo
d4c88cc7fd Merge branch 'master' into ns-alternative-test-env 2015-10-12 15:55:28 -06:00
Nathan Sobo
69e8b0cfb1 Prevent title change during specs 2015-10-12 15:19:55 -06:00
Nathan Sobo
79d9a13ea7 Fix ENOENT exceptions in text-editor-spec 2015-10-12 15:09:28 -06:00
Kevin Sawicki
b27c1140a7 ⬆️ language-shellscript@0.19 2015-10-12 13:36:43 -07:00
Nathan Sobo
c82e331b7d Return a Disposable from mocked method to avoid exception it specs 2015-10-12 14:12:13 -06:00
Nathan Sobo
29fe98581e Don’t assign atom.themes.workspace in spec-helper 2015-10-12 13:54:35 -06:00
Kevin Sawicki
21d11daf0c Merge pull request #9101 from atom/tj-fix-dragging-and-dropping-files
Fix #4300 by preventing 'will-navigate' event from firing
2015-10-12 12:01:41 -07:00
Kevin Sawicki
12143f6380 ⬆️ language-html@0.42 2015-10-12 11:29:19 -07:00
Kevin Sawicki
bcbf999d95 ⬆️ language-sass@0.42 2015-10-12 11:26:01 -07:00
Nathan Sobo
751334440c Merge pull request #9029 from ssorallen/stop-changing-active-pane
Add `onDidStopChangingActivePaneItem` for async callbacks
2015-10-12 12:19:37 -06:00
Kevin Sawicki
e7fcac40ec ⬆️ language-clojure@0.18 2015-10-12 11:15:53 -07:00
Kevin Sawicki
13bd16f2b8 ⬆️ autoflow@0.26 2015-10-12 11:15:39 -07:00
Machisté N. Quintana
db02ccf580 Merge pull request #9123 from ForNeVeR/patch-1
Mention node.js 4 in the Windows build guide
2015-10-12 13:46:54 -04:00
Antonio Scandurra
3ee0be33d5 🐎 Speed up test suite by disposing Project::emitter 2015-10-12 19:46:12 +02:00
Kevin Sawicki
8d7949344d ⬆️ language-shellscript@0.18 2015-10-12 10:43:35 -07:00
Ross Allen
41984a2317 Add onDidStopChangingActivePaneItem for async callbacks
`onDidChangeActivePaneItem` is called synchronously when the active pane
item changes, and several non-critical actions preform work on that
event. Critical UI feedback, like changing the active tab, needs to
happen synchronously, but most other functionality should be run
asynchronously.
2015-10-12 10:24:07 -07:00
Friedrich von Never
7d541be125 Mention node.js 4.0. 2015-10-12 21:51:06 +06:00
Antonio Scandurra
304d35a300 Shim process stdout and stderr 2015-10-12 15:39:56 +02:00
Antonio Scandurra
56e13bba69 Reset Workspace in AtomEnvironment 2015-10-12 15:01:00 +02:00
Antonio Scandurra
612664fd4d 📝 Remember how/when to reset AtomEnviroment::workspace 2015-10-12 09:00:58 +02:00
Antonio Scandurra
aebc1229f1 Always install uncaught error handler 2015-10-12 08:29:43 +02:00
Antonio Scandurra
e1a1474b8d 🐛 Clear views after resetting everything else
This prevents a bug where calling `::getView` returns two different instances if
such method is invoked after views are cleared out (e.g. packages deactivation
in `packageManager.reset()`).
2015-10-11 19:27:19 +02:00
Antonio Scandurra
f77f62625e Add activateItem config to Workspace::open
Now that we have deleted `Project::open(...)`, all the methods that previously
used it need to switch to `Workspace::open(...)` instead. These two methods,
however, are not idempotent because the latter performs additional operations.

Since some specs relied on not activating an item after opening it, this commit
adds a parameter to prevent such activation.

Refs: 1ebcf166c7
2015-10-11 18:24:42 +02:00
Antonio Scandurra
5d6713f6fa Pass deserializerManager in Workspace 2015-10-11 18:11:54 +02:00
simurai
69d9da1fa5 ⬆️ tree-view@v0.190.0 2015-10-10 19:58:31 +09:00
Max Brunsfeld
74c0836be5 🔥 Duplicate devMode/inDevMode parameter to Package, PackageManager 2015-10-09 17:34:22 -07:00
Max Brunsfeld
75463829f9 Pass inDevMode to package-manager as a boolean value
Rather than as a bound function
2015-10-09 17:26:19 -07:00
Max Brunsfeld
369f3d2648 Don't use atom.{notifications,config,deserializers,confirm} in Pane
Still need to get rid of one use of showSaveDialogSync
2015-10-09 17:18:26 -07:00
Thomas Johansen
af36a23e95 🐛 Fix #4300 by preventing 'will-navigate' 2015-10-10 01:21:49 +02:00
Max Brunsfeld
b467c83e76 Remove unused requires in spec-helper 2015-10-09 13:46:51 -07:00
Max Brunsfeld
778023c78b Make factory for StylesElements on atom.styles 2015-10-09 13:46:32 -07:00
Ivan Žužak
d35160af1c ⬆️ settings-view@0.229.0 2015-10-09 21:11:20 +02:00
Antonio Scandurra
1a8beef74f 🐛 Load config schema before loading base stylesheets 2015-10-09 19:10:55 +02:00
Antonio Scandurra
4ce814320d Call side effects methods after instantiating instance variables
This prevents a 🐛 where the `onDidLoadBundledKeymaps` was fired before
`MenuManager` had the chance to listen to it thereby not showing the appropriate
menu entries.
2015-10-09 17:41:33 +02:00
Ivan Žužak
1d5fa01dc4 ⬆️ settings-view@0.227.0 2015-10-09 12:21:39 +02:00
Antonio Scandurra
60e4b78da3 Move package reset down into PackageManager 2015-10-09 10:04:04 +02:00
Antonio Scandurra
4863b71fd7 Set timeout in the main process 2015-10-09 09:20:19 +02:00
Max Brunsfeld
43d0241685 Reset project in AtomEnvironment::reset 2015-10-08 17:54:43 -07:00
Max Brunsfeld
7617c35856 Rename AtomEnvironment::removeEditorWindow -> ::destroy 2015-10-08 17:51:27 -07:00
Max Brunsfeld
5c545c0898 Don't register CommandRegistry's window listeners in AtomEnvironment constructor 2015-10-08 17:34:41 -07:00
Max Brunsfeld
04c85e3aae Avoid using atom global in registerDefaultCommands 2015-10-08 17:21:55 -07:00
Max Brunsfeld
4835fef7be Reset service-hub in AtomEnvironment::reset() 2015-10-08 16:29:54 -07:00
Max Brunsfeld
a9c8640ab1 Stop using directory providers when their providing packages are deactivated 2015-10-08 15:20:13 -07:00
Max Brunsfeld
b754f1e125 Clean up project specs for custom directory and repository providers 2015-10-08 15:15:02 -07:00
Max Brunsfeld
2af6f995b4 Clean up repository-providers when their providing packages are are deactivated 2015-10-08 13:49:37 -07:00
Max Brunsfeld
c268b4e050 Remove unused stylesheet cleanup in spec-helper 2015-10-08 13:11:58 -07:00
Max Brunsfeld
fb2a1284f6 Clear notifications and context menus in AtomEnvironment::reset 2015-10-08 12:41:07 -07:00
Max Brunsfeld
9a4cbb9e16 Wait for async service consumption in project spec 2015-10-08 12:40:23 -07:00
Max Brunsfeld
d0283d8f05 Reset Clipboard in AtomEnvironment::reset 2015-10-08 11:56:12 -07:00