Commit Graph

33 Commits

Author SHA1 Message Date
Wliu
9a402392ab
Add specs 2017-11-14 00:13:58 +01:00
Damien Guard
199bab8993
Fix a few more tests 2017-09-08 19:00:27 -07:00
Damien Guard
af66c5efaa
Fix two more tests 2017-09-08 19:00:26 -07:00
Antonio Scandurra
eabe693179 Fix spec/package-spec.coffee 2017-03-28 12:26:03 +02:00
Matthew Dapena-Tretter
25518b9c8e Add initialize() hook to packages 2016-11-30 14:27:29 -08:00
Indrek Ardel
55f3311c01 Remove unused variables 2016-09-26 20:52:13 +03:00
Max Brunsfeld
9a72c7e65e Fix exception when package requires an incompatible native module 2016-08-02 12:14:00 -07: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
cb2b068d77 Load view providers from files specified in package.json 2015-11-19 16:58:20 -08: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
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
14a2181c66 Don’t use jQuery in package-spec 2015-09-18 20:48:47 -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
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
Machiste Quintana
659ddb67ad Add Package.loadMetadata() specs 2015-06-08 20:57:35 -04:00
Nathan Sobo
d26c19a0ec Deprecate Project::resolve
It’s not something that will make sense once we add the ability to have
multiple directories in a project. This adds a new private method on
Project, ::resolvePath, with the original implementation for convenience
until we actually implement multi-folder projects.
2015-01-09 15:03:07 -08:00
Nathan Sobo
19bf64f3cd Revert "Deprecate Project::resolve"
This reverts commit 3c5bd9f10a.
2015-01-09 13:58:01 -08:00
Nathan Sobo
3c5bd9f10a Deprecate Project::resolve
It’s not something that will make sense once we add the ability to have
multiple directories in a project.
2015-01-09 13:40:35 -08:00
Ben Ogle
43ccf0a041 Convert require ‘atom’ to require '../src/space-pen-extensions' 2014-11-26 14:55:38 -08:00
Nathan Sobo
2d3d64f399 Call reloadStylesheets instead of reloadStylesheet in spec 2014-11-04 16:37:23 -07:00
Nathan Sobo
1eb3d8bf99 Use ‘atom-text-editor’ custom tag name for TextEditorElement 2014-10-09 07:39:14 -07:00
Ben Ogle
0afd8a1392 Add Package::onDidDeactivate 2014-09-09 15:09:18 -07:00
Kevin Sawicki
f7187f1d5a Spy on atom.inDevMode() 2014-07-31 08:42:31 -07:00
Kevin Sawicki
d47348e8f9 Cache incompatible modules in local storage 2014-07-25 15:34:03 -07:00
Kevin Sawicki
1ea909d4db Check installed packages for working native modules
Test require each native module in each installed package to make sure
it can be required successfully in Atom.
2014-07-25 15:19:16 -07:00
Kevin Sawicki
3f8d9a4c47 Combine AtomPackage and Package 2014-02-17 12:59:03 -08:00