Kevin Sawicki
967db1f7b8
Remove more empty Private: comment blocks
2014-02-06 11:21:03 -08:00
Kevin Sawicki
932a792289
Remove Private: prefix
2014-02-06 10:02:53 -08:00
Kevin Sawicki
ece269f158
📝 Consistently mention what classes have global instances
2014-02-04 10:06:37 -08:00
Kevin Sawicki
4f6c655294
Remove grunt-download-atom-shell as package dependency
2014-01-03 08:32:23 -08:00
Kevin Sawicki
cef7577826
Install apm into node_modules
...
settings-views launches apm via a NodeBufferedProcess so it still needs to
be available built against Atom's headers.
The version in apm/ is just for running via the CLI directly and is compiled
against node's headers.
2013-12-17 19:25:44 -08:00
Kevin Sawicki
ed8800d182
Install apm to apm/ from vendor/apm
2013-12-17 16:53:31 -08:00
Cheng Zhao
99d6955644
Ignore grunt-download-atom-shell when loading packages.
2013-12-03 22:04:21 +08:00
Kevin Sawicki
7fa4121227
📝 Mark PackageManager constructor as private
2013-11-22 15:19:23 -08:00
Kevin Sawicki
78b48345ac
Update reference to renamed param
2013-11-22 11:52:21 -08:00
Kevin Sawicki
33eb0bae8f
📝 Add docs to all public methods
2013-11-22 11:37:29 -08:00
Kevin Sawicki
fde1560377
📝 doc PackageManager as public
2013-11-22 10:59:43 -08:00
Kevin Sawicki
89d8eac091
Remove console.log statement
2013-11-18 16:09:25 -08:00
Kevin Sawicki
a66543048b
Include buffer in emitted events
2013-11-18 10:06:14 -08:00
Kevin Sawicki
8f63e40ba0
Default packageDependencies outside of try block
2013-11-11 13:05:45 -08:00
Kevin Sawicki
6c09a42545
Call getPackageDependencies from getAvailablePackagePaths
2013-11-11 13:04:04 -08:00
Kevin Sawicki
c8aeb8ec2d
Add PackageManager::isBundledPackage
2013-11-11 12:01:44 -08:00
Kevin Sawicki
0d75bcae48
Add PackageManager::getPackageDirPaths
2013-11-11 11:53:25 -08:00
Kevin Sawicki
a377a49004
Use atom.config instead of window.config
2013-11-11 09:16:44 -08:00
Kevin Sawicki
9c79e39401
Upgrade to fs-plus@0.4.0
2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a
Upgrade to fs-plus@0.3.0
2013-11-01 08:46:03 -07:00
Kevin Sawicki
83dcf79bcf
Use fs-plus
2013-11-01 08:46:02 -07:00
Kevin Sawicki
059671c454
🐎 Load packages by path
...
Previously the package paths were converted to names and then
re-resolved to paths.
Now we just load the paths directly reducing the number of stat calls
and saving ~50ms in PackageManager::loadPackages
Also now internal packages are loaded by parsing the package.json
file for packageDependencies instead of loading the metadata for all
packages in node_modules and checking the engines field.
2013-10-29 13:31:42 -07:00
Kevin Sawicki
bdd4ac63f4
Watch themes after activation instead of loading
2013-10-29 13:31:41 -07:00
Kevin Sawicki
43dae4e9eb
Add helper to get apm path
2013-10-22 15:52:04 -07:00
Ben Ogle
967c04fb19
Clean up theme check in PackageManager with PackageActivators
...
You can now call `PackageManager.registerPackageActivator` for specific
package types. On `PackageManager.activate` it will call your
`PackageActivator.activatePackages(packages)` with the proper packages.
2013-10-22 15:07:09 -07:00
Ben Ogle
8ac84359b1
Fix docs
2013-10-22 15:06:54 -07:00
Ben Ogle
f2c1ea9b5a
Remove log lines
2013-10-22 15:06:54 -07:00
Ben Ogle
7b1b73e8eb
Watch the core.disabledPackages config option
2013-10-22 15:06:54 -07:00
Ben Ogle
81e6150fde
Return package if its already loaded
2013-10-22 15:06:53 -07:00
Ben Ogle
0b74dfc67a
Remove unnecessary lines
2013-10-22 15:06:25 -07:00
Ben Ogle
9f753cd3b9
💄
2013-10-22 15:06:25 -07:00
Ben Ogle
4440210d9a
Fix tests
2013-10-22 15:06:25 -07:00
Ben Ogle
56832b11fc
Refactor pkg and themeManager -- all themes stored in the pkg manager
2013-10-22 15:06:25 -07:00
Ben Ogle
077cb9ddb7
Add an enableTheme() function to ThemeManager
...
And use it in the activatePackage() function in PackageManager
2013-10-22 15:04:55 -07:00
Kevin Sawicki
d430aafb7c
Remove bundle rename shim
2013-10-22 13:03:27 -07:00
Kevin Sawicki
c1fae082b4
Add shim for hyperlink bundle rename
2013-10-22 12:04:39 -07:00
Kevin Sawicki
40ab5938f2
Convert old bundle names until specs are updated
2013-10-22 11:54:19 -07:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -07:00
Kevin Sawicki
e5ac73e0db
Use includeInto instead of _.extend
2013-10-14 17:28:26 -07:00
Kevin Sawicki
0b0c3229d3
EventEmitter is exported as Emitter
2013-10-14 17:28:26 -07:00
Kevin Sawicki
a0486bc9b0
Use emit instead of trigger
2013-10-14 17:28:26 -07:00
Kevin Sawicki
f9a0e038a5
Use emissary for EventEmitter and Subscriber
2013-10-14 17:28:26 -07:00
Matt Colyer
abd8bd1253
Handle errors in package.json gracefully
2013-10-11 12:49:31 -07:00
Kevin Sawicki
87bfcf5683
💉 dependencies into AtomPackage
...
Removes use of resourcePath and config globals
2013-10-07 16:11:59 -07:00
Kevin Sawicki
a3559d1289
Call methods through this instead of atom global
2013-10-07 16:11:59 -07:00
Kevin Sawicki
7cae014d09
💄 Initialize ivars in constructor
2013-10-02 13:40:34 -07:00
Kevin Sawicki
ed5dbe983e
Trigger event when packages are loaded
2013-10-02 13:40:34 -07:00
Kevin Sawicki
fc3dcd9749
Add PackageManager class accessible from atom.packages
2013-10-02 13:40:33 -07:00