186 Commits

Author SHA1 Message Date
Wliu
1bb944dadc Add specs 2015-11-04 16:22:01 -05:00
Wliu
5f8b2b643b Include package name metadata when creating errors 2015-11-04 16:00:57 -05: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
Antonio Scandurra
ff86eb6a59 Don't use atom.config global in ScopedProperties 2015-10-07 15:25:05 -05:00
Antonio Scandurra
4108939201 Don't use atom.{themes,menu,contextMenu} global in Package 2015-10-07 15:25:05 -05:00
Antonio Scandurra
7b25af5ad4 Remove more globals from Package
🔥 atom.{notifications,keymaps,commands,grammars,inDevMode}
2015-10-07 15:25:05 -05:00
Antonio Scandurra
c192004b06 Don't use atom.{config,styles} global in Package 2015-10-07 15:25:05 -05:00
Nathan Sobo
b649cb48ef Move static Package methods to PackageManager instance 2015-10-07 15:24:54 -05:00
Nathan Sobo
ee270db7ac Move document mutation to startEditorWindow 2015-10-07 15:24:53 -05:00
Thomas Johansen
38b8332c0b 🔥 Remove deprecations from Package 2015-09-22 10:37:05 -06:00
Nathan Sobo
ba3255ee56 Merge pull request #7896 from rameshvarun/extended-package
📝 Mark Package class as Extended, so that it appears in the docs.
2015-09-21 15:04:43 -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
6b66bf7b0a Fix use of _atomModuleCache in getNativeModuleDependencyPaths
Previously, we weren’t converting the relative path from the module
cache and the test wasn’t strong enough to detect this fact.
2015-09-17 17:21:52 -06:00
Chen Shen
20dcdf77a4 update 2015-09-17 09:52:00 -07:00
Chen Shen
7ea141b376 add 2015-09-17 09:09:57 -07:00
Nathan Sobo
7e0b0a4427 Cache incompatible packages based on electron version
This will cause us to re-check all packages when upgrading the version
of Electron.
2015-09-08 09:53:45 -06:00
Nathan Sobo
f5a591f6b3 Disable colored output from apm rebuild 2015-09-08 09:53:45 -06:00
Nathan Sobo
ea5b12d69c Clear build failures, cached incompatible modules after rebuild 2015-09-08 09:53:45 -06:00
Nathan Sobo
f571ee7baf Add Package::rebuild 2015-09-08 09:53:45 -06:00
Max Brunsfeld
b682658427 Rename 'disabledKeymaps' -> 'packagesWithKeymapsDisabled' 2015-07-31 10:37:56 -07:00
Max Brunsfeld
b02cb57344 Deactivate keymaps when deactivating packages
Refs #8130
2015-07-29 20:55:47 -07:00
Tom Munro
7753953944 Clean up keymap disabled config check and remove spurious newline 2015-07-29 20:13:26 -07:00
Tom Munro
b57d2e1dd0 Move disabledKeymaps observer into package manager 2015-07-29 11:59:32 -07:00
Tom Munro
b9c12857fb Add support for activating and deactivating package-specific keymaps 2015-07-28 22:27:10 -07:00
Varun Ramesh
b660b5ba02 📝 Mark Package class as Extended, so that it appears in the docs. 2015-07-14 15:53:24 -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
0edce07446 Use folder name when metadata name is empty string or non-string 2015-06-10 16:46:35 -07:00
Machiste Quintana
f9c612d1c8 Use an empty object if metadata is ~null 2015-06-08 21:33:07 -04:00
Machiste Quintana
07da68c95e Don't reassign metadata.name 2015-06-08 21:18:21 -04:00
Machiste Quintana
d78bc3f234 🎨 2015-06-08 21:14:11 -04:00
Machiste Quintana
0f876a73cc Only use package directory name as fallback
Fixes https://github.com/atom/atom/issues/7174
2015-06-08 20:45:41 -04:00
Kevin Sawicki
fed19872b3 Keep old configDefaults support in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
558d10434a Keep old context menu format in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
3c647dc7af Keep activate events in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
7e34164c4b Keep old folder names in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
db9b655d49 Mark which grammars are from bundled packages 2015-05-18 15:30:14 -07:00
Kevin Sawicki
117080b16d Check that url is string before replacing prefix 2015-05-14 11:30:41 -07:00
Kevin Sawicki
5dd4a2a1dc Remove metadata return 2015-05-14 11:29:39 -07:00
Jessica Lord
3dbff720f2 Check for url before replacing 2015-05-12 16:59:27 -07:00
Jessica Lord
b8c0c661ea Correct package name, remove log 2015-05-12 16:57:50 -07:00
Jessica Lord
e64c6dfd2f Check for repository, log error (temp) 2015-05-12 15:00:40 -07:00
Jessica Lord
d7aa2fc2c4 Only remove 'git+' if 'git' type matches 2015-05-12 12:13:14 -07:00
Jessica Lord
4b9718f5cf Remove 'git+' prefix 2015-05-12 11:54:39 -07:00
Jessica Lord
8f80e1db13 Only normalize unpublished packages
Packages published to APM are normalized already, this catches locally
linked/developed packages.
2015-05-08 12:24:43 -07:00
Jessica Lord
5d7161acd7 Don't need to replace now, use module directly 2015-05-05 15:26:29 -07:00
Jessica Lord
97ad2f30e0 normalize all of package.json
use different module, catch throws, and still remove the ‘git’ prefix
from urls.
2015-05-04 15:04:03 -07:00
Jessica Lord
4771435b84 Only normalize short urls 2015-04-30 11:41:57 -07:00
Jessica Lord
9dfd1ac5aa Normalize repository short urls 2015-04-30 11:22:52 -07:00
Ivan Zuzak
cfdf5f1bcc Move Grim.deprecate call so that it can be correctly attributed 2015-04-26 11:22:07 +02:00