Commit Graph

25860 Commits

Author SHA1 Message Date
Nathan Sobo
83a0cf28cd 🎨
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 15:47:45 -06:00
Nathan Sobo
e92cb86335 Introduce ApplicationDelegate to AtomEnvironment
All external actions are performed via this delegate for test-isolation
purposes.
2015-10-13 15:42:57 -06:00
Nathan Sobo
a8ca3165a0 Remove dead code 2015-10-13 14:46:28 -06:00
Antonio Scandurra
695fad501c ⬆️ find-and-replace 2015-10-13 19:04:57 +02:00
Antonio Scandurra
6459891c89 💚 Make sure to destroy AtomEnvironment in specs 2015-10-13 15:30:45 +02:00
Antonio Scandurra
1df90a220e ⬆️ Bump more dependencies 2015-10-13 13:59:51 +02:00
Antonio Scandurra
e51bad5618 🐛 Install WindowEventHandler in ctor 2015-10-13 12:38:45 +02:00
Antonio Scandurra
3ac0656a26 Reset Workspace before Project
Otherwise some paths will be leaked.
2015-10-13 11:29:51 +02:00
Antonio Scandurra
dbf65b4d97 ⬆️ Bump dependencies 2015-10-13 10:44:25 +02:00
Antonio Scandurra
cf5d94f084 Return a promise in test runners 2015-10-13 09:02:37 +02:00
Antonio Scandurra
4a59da9194 Express timeout in seconds 2015-10-13 08:35:02 +02:00
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