Katrina Uychaco
49fb287592
Don't load packages starting with dot. Fixes #9805
2016-04-12 20:35:30 -07:00
Michelle Tilley
383174d380
Load apm path from config
...
Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-03-10 21:28:40 -08:00
Nathan Sobo
6292484c97
Always strip git+ prefix and .git suffix from package repository URLs
...
Previously, a guard based on the presence of the _id field (which is
inserted by npm during installation) prevented a regex replacement of
the git+ prefix on URLs. Now we always do this. Since the .git suffix
also causes problems and we’re removing that in packages, I now remove
that as well.
2016-02-29 17:30:03 -07:00
Katrina Uychaco
bf264c6a6a
Merge branch 'master' into ku-crash-recovery
2016-02-15 21:40:59 -08:00
Max Brunsfeld
9c0aa629d7
Let packages define deserializers & view providers as main module methods
2016-02-10 14:28:57 -08:00
Katrina Uychaco
5e21f7bad9
Serialize package upon deactivation
2016-02-01 16:11:10 -08:00
Katrina Uychaco
8d55bbcdea
🎨 clean up test
2016-01-27 15:10:35 -07:00
Katrina Uychaco
39cb52c224
Fix tests for serialization
2016-01-27 11:13:29 -07:00
Katrina Uychaco
a8692f1984
Extract serialize functionality from ::deactivatePackage. Tests WIP
2016-01-26 22:46:17 -07:00
Machiste Quintana
088b32f9d5
Unfocus spec
2016-01-11 13:44:27 -05:00
Machiste Quintana
e7f15d06e4
✅ Add failing spec for disabling an already disabled package
2016-01-11 13:44:27 -05:00
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