Commit Graph

25586 Commits

Author SHA1 Message Date
Nathan Sobo
085b945015 Don't mess with disposables in initialize 2015-10-07 15:24:52 -05:00
Nathan Sobo
e0d426b817 Register deserializers, view providers, and commands in Atom constructor
Previously, these registrations were scattered all over the codebase and
required that `global.atom` be defined, which creating weird ordering
issues. Registering them all from the global makes the relationships
clearer and means we don’t have to assign a global to set up a fully-
functional environment.
2015-10-07 15:24:52 -05:00
Nathan Sobo
27762866c0 Build GrammarRegistry in Atom environment constructor
As part of this, we no longer serialize/deserialize the grammar registry
instance, but instead just restore the grammarOverridesByPath state.
Ultimately I’d like to store these overrides on the editor instead.
2015-10-07 15:24:52 -05:00
Nathan Sobo
c1f5d6b8bf Build Clipboard in Atom environment constructor 2015-10-07 15:24:52 -05:00
Nathan Sobo
35c2ccd508 Build MenuManager in Atom environment constructor 2015-10-07 15:24:52 -05:00
Nathan Sobo
6de0da792b Build ContextMenuManager in Atom environment constructor 2015-10-07 15:24:52 -05:00
Nathan Sobo
943f6cf513 Build ThemeManager in Atom environment constructor 2015-10-07 15:24:52 -05:00
Nathan Sobo
c4bbd2bbf2 Build StyleManager in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
33e7af611e Build views in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
5d919c89a1 Fix tooltip manager specs 2015-10-07 15:24:51 -05:00
Nathan Sobo
2c440dada8 Assign commands in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
54ab5980fa Assign tooltips in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
68b9512da0 Assign keymaps in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
88d80b1c97 Assign config in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
43c959fdeb Assign notifications in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
009dae1717 Default to using the jasmine-test-runner in Atom’s dev resource path 2015-10-07 15:24:51 -05:00
Nathan Sobo
b32d49fab1 Allow running of individual test paths in legacy jasmine runner 2015-10-07 15:24:51 -05:00
Nathan Sobo
2e54ae1e57 Allow a custom test runner path to be specified in package.json
If the nearest containing package.json of a test path has an
atomTestRunner field, we’ll require the specified file as a test runner
rather than the default jasmine runner.
2015-10-07 15:24:50 -05:00
Nathan Sobo
7a77ffde43 Log to stdout from terminal runner via ipc
For some reason, logging to stderr/stdout from the render process only
works when Atom is run via child_process.spawn, which is how `apm test`
invokes it.

I’m trying to make a convenient interface for running tests directly via
the `atom` command, and this is the only way I could find to long to
stdout from the render process.

I’m also choosing stdout rather than stderr because in this case, you’re
intentionally running the tests and want to see feedback.
2015-10-07 15:24:50 -05:00
Nathan Sobo
e4d64309b7 Allow multiple test paths to be specified as command line arguments 2015-10-07 15:24:50 -05:00
Nathan Sobo
e886d8b253 Rename “bootstrap” scripts
They’re just window initialization scripts, and this new naming makes
that a lot clearer.
2015-10-07 15:24:50 -05:00
Nathan Sobo
8e988e874e Rename exitWhenDone to headless 2015-10-07 15:24:50 -05:00
Nathan Sobo
2600115ebe Start moving toward a customizable test runner 2015-10-07 15:24:50 -05:00
Thomas Johansen
5e78eadf3b Merge pull request #9062 from fscherwi/patch-2
Upgrade asar for builds
2015-10-07 17:43:08 +02:00
Max Brunsfeld
7311c9e54e Merge branch 'beta' 2015-10-06 15:47:28 -07:00
Max Brunsfeld
aaf8118363 Handle windows asset names containing spaces in publish-build task 2015-10-06 15:08:26 -07:00
Max Brunsfeld
360d6670af Merge branch 'beta' 2015-10-06 12:59:02 -07:00
fscherwi
3e39c1c580 ⬆️ asar 2015-10-06 21:05:47 +02:00
Max Brunsfeld
06a0a26ba0 Include version in socket path on mac and linux 2015-10-06 10:17:29 -07:00
Max Brunsfeld
9db8edc954 Handle asset names containing spaces in publish-build task 2015-10-06 09:37:35 -07:00
Daniel Hengeveld
b2d9ea0350 Update apm-rest-api.md 2015-10-06 15:40:47 +02:00
Max Brunsfeld
c9382299ad Parameterize asset names in publish-build task 2015-10-05 18:22:09 -07:00
Max Brunsfeld
3da9e07e37 Merge branch 'beta' 2015-10-05 17:26:18 -07:00
Max Brunsfeld
467c89bfb3 In integration tests, handle executable path with spaces in it 2015-10-05 16:49:35 -07:00
Ben Ogle
d5a0e2f6c4 ⬆️ autocomplete-plus 2015-10-05 16:34:01 -07:00
Kevin Sawicki
3ecec87ea5 ⬆️ language-perl@0.30 2015-10-05 16:19:28 -07:00
Kevin Sawicki
9a0eab9b1e ⬆️ language-csharp@0.11 2015-10-05 16:00:58 -07:00
Kevin Sawicki
7c24bf2da5 ⬆️ language-xml@0.33 2015-10-05 15:48:30 -07:00
Kevin Sawicki
1e116391c7 ⬆️ language-make@0.19 2015-10-05 15:46:14 -07:00
Max Brunsfeld
2096affced Merge branch 'beta' 2015-10-05 15:37:42 -07:00
Max Brunsfeld
6b9845588b ⬆️ grunt-electron-installer 2015-10-05 15:37:30 -07:00
Max Brunsfeld
dd00450264 Merge branch 'beta' 2015-10-05 15:31:57 -07:00
Max Brunsfeld
47f75479b7 1.1.0-beta.1 2015-10-05 15:31:32 -07:00
Max Brunsfeld
44bc85ea23 Merge branch 'beta' 2015-10-05 15:16:55 -07:00
Nathan Sobo
a64d5b18e2 Fix linter errors 2015-10-05 15:48:20 -06:00
Max Brunsfeld
ce3d02d4fc Use nupkg version-formatting code from grunt-electron-installer 2015-10-05 14:28:28 -07:00
Nathan Sobo
9c27849031 Merge pull request #9051 from atom/ns-avoid-redundant-item-adds
Avoid redundant onDidAddPaneItem notifications when items are move between panes
2015-10-05 15:10:30 -06:00
Max Brunsfeld
eefac5c780 ⬆️ settings-view 2015-10-05 14:03:20 -07:00
Kevin Sawicki
aa96c6d66b ⬆️ legal-eagle@0.11
Refs #9050
2015-10-05 13:35:32 -07:00
Nathan Sobo
ddb08d0c46 Avoid redundant onDidAddPaneItem notifications
Refs #9012
2015-10-05 12:34:49 -06:00