Commit Graph

107 Commits

Author SHA1 Message Date
Max Brunsfeld
d835ac0ac8 Add spec for re-registering schema after unloading package 2015-12-08 11:27:20 -08:00
Max Brunsfeld
03a2846eb5 Remove redundant unloadPackage call in spec 2015-12-07 17:24:34 -08:00
Antonio Scandurra
1c5c973823 Merge branch 'master' into as-user-keybindings-priority
# Conflicts:
#	spec/package-manager-spec.coffee
2015-12-04 16:18:56 +01:00
Antonio Scandurra
5dfd765bcf Do not override user-defined keymaps when reloading packages 2015-11-26 10:39:47 +01:00
Max Brunsfeld
327cf6997b Remember which packages use atom APIs at main module load time
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 17:35:38 -08:00
Max Brunsfeld
24938c0361 Defer loading view providers until activation or deserializer use
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 16:28:08 -08:00
Max Brunsfeld
d6e5ea8564 Defer requiring packages' main modules if they use new package.json fields 2015-11-23 16:05:32 -08:00
Max Brunsfeld
2d29fd6e79 Load config schemas from packages' package.json files 2015-11-23 15:53:26 -08:00
Max Brunsfeld
cb2b068d77 Load view providers from files specified in package.json 2015-11-19 16:58:20 -08:00
Max Brunsfeld
46272cd192 Load deserializers lazily 2015-11-18 14:31:16 -08:00
Max Brunsfeld
ade1ef7a4c Load deserializers from files specified in package.json 2015-11-18 14:03:49 -08:00
Nikolay Yakimov
fe47394b22 Update specs for deferred activation hooks 2015-11-11 07:51:04 -07:00
Kevin Sawicki
a0c208974b Add failing spec 2015-11-10 13:54:42 -08:00
Wliu
1bb944dadc Add specs 2015-11-04 16:22:01 -05:00
Antonio Scandurra
b2d178f641 💚 Avoid resetting atom.grammars
...because it messes up subsequent tests that hit code paths that make use of
atom.grammars.

/cc: @nathansobo @maxbrunsfeld
2015-10-07 15:25:05 -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
8116889652 Remove unnecessary assignment of grim.removeDeprecatedApis from spec 2015-09-22 10:37:13 -06:00
Thomas Johansen
b5c4f0c2ad 🔥 Remove uninstallAutocompletePlus and migrateSublimeTabsSettings 2015-09-22 10:37:06 -06:00
Thomas Johansen
38b8332c0b 🔥 Remove deprecations from Package 2015-09-22 10:37:05 -06:00
Nathan Sobo
4a7cbff6d3 Remove Q from PackageManager, ThemeManager, Package, ThemePackage
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-09-18 21:24:59 -06:00
Nathan Sobo
0ab27610e5 Don’t use jQuery in package-manager-spec 2015-09-18 20:48:46 -06:00
Nathan Sobo
c7ecad5576 Remove EditorView 2015-09-18 20:48:45 -06:00
Max Brunsfeld
b682658427 Rename 'disabledKeymaps' -> 'packagesWithKeymapsDisabled' 2015-07-31 10:37:56 -07:00
Tom Munro
b57d2e1dd0 Move disabledKeymaps observer into package manager 2015-07-29 11:59:32 -07:00
Tom Munro
90ec8df3e6 Change spec to test disabling and enabling keymaps after activation 2015-07-29 09:28:37 -07:00
Tom Munro
b6b81fc2ed Remove extra newlines 2015-07-29 09:08:04 -07:00
Tom Munro
b9c12857fb Add support for activating and deactivating package-specific keymaps 2015-07-28 22:27:10 -07:00
Kevin Sawicki
6e59763b7a Spy on theme activation to prevent watcher leak
Closes #8012
2015-07-27 15:37:01 -07:00
Joe Fitzgerald
b3b046aa66 Add activationHooks To package.json
- Trigger the `{grammar-package-name}:grammar-used` hook when grammar is set for tokenized-buffer
2015-07-09 02:33:17 -04:00
Kevin Sawicki
71f9c26418 Only migrate config when not including deprecated APIs 2015-06-05 08:47:00 -07:00
Kevin Sawicki
022d0cead3 Re-enable tree-view and tabs sublime-tabs is installed 2015-06-05 08:43:11 -07:00
Kevin Sawicki
91e3a76d17 Update spec for new deprecation data 2015-06-04 10:53:12 -07:00
Kevin Sawicki
2523e72e50 🎨 2015-06-03 09:49:03 -07:00
Kevin Sawicki
df2bd62327 Load deprecated packages when including deprecated APIs 2015-06-03 09:47:13 -07:00
Kevin Sawicki
4bb6728784 Add atom.packages.getDeprecatedPackageMetadata 2015-06-03 09:19:57 -07:00
Kevin Sawicki
d557e78847 Add spec for deprecated packages 2015-06-03 09:19:57 -07:00
Ben Ogle
a937dc2fd4 Dont remove symlinked autocomplete-plus packages 2015-05-13 11:30:35 -07:00
Ben Ogle
ef224e39db Remove catch 2015-05-13 09:19:03 -07:00
Ben Ogle
b0c9a93420 Fix another lint error 2015-05-13 09:19:03 -07:00
Ben Ogle
e7d921bfbc Add specs for autocomplete deletion 2015-05-13 09:19:03 -07:00
Kevin Sawicki
b7dddeebfe Guard against no hosted git info
Closes #6693
2015-05-07 13:24:03 -07:00
Jessica Lord
c228c3fcf7 Add spec and feature to test normalizing repository short urls 2015-04-30 11:23:11 -07:00
Kevin Sawicki
fda6bb3624 Add notification when reloading stylesheets fails 2015-04-15 09:18:02 -07:00
Machiste Quintana
5d2392ea67 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
Jessica Lord
2c46748307 add spec to check missing service methods are skipped
Signed-off-by: Kevin Sawicki <kevin@github.com>
2015-03-18 15:38:13 -07:00
Max Brunsfeld
7ec46933bd Batch service providers by package 2015-03-13 11:42:30 -07:00
Kevin Sawicki
7a3065e0fb Add spec for invalid settings notification 2015-03-04 11:18:15 -08:00
Kevin Sawicki
f02fa4a245 Add spec for invalid grammar notification 2015-03-04 11:12:09 -08:00
Kevin Sawicki
59c3dea77b Show notification for invalid context menu selector 2015-03-04 10:02:04 -08:00
Kevin Sawicki
a2d9ba2d2e Only try to require main module once 2015-03-04 10:02:04 -08:00