Commit Graph

226 Commits

Author SHA1 Message Date
Kevin Sawicki
33accdf1f3 Match directory name to package.json name 2015-06-10 17:06:08 -07: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
659ddb67ad Add Package.loadMetadata() specs 2015-06-08 20:57:35 -04:00
Kevin Sawicki
022d0cead3 Re-enable tree-view and tabs sublime-tabs is installed 2015-06-05 08:43:11 -07:00
Kevin Sawicki
d557e78847 Add spec for deprecated packages 2015-06-03 09:19:57 -07:00
Kevin Sawicki
00505188fa Add spec for grammar score tie-breaking 2015-05-18 15:30:14 -07:00
Jessica Lord
b8c0c661ea Correct package name, remove log 2015-05-12 16:57:50 -07:00
Jessica Lord
8a89054545 Fixture name to match fixture dir 2015-05-12 15:16:15 -07:00
Jessica Lord
d03153fab5 No spaces in package.json name 2015-05-12 12:58:50 -07:00
Jessica Lord
3e73eadb6c Correct semver by adding 3rd digit 2015-05-11 16:08:44 -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
f8e940fdc0 Add spec for invalid theme stylesheet notification 2015-04-15 09:18:02 -07:00
Kevin Sawicki
14d1fc2269 Merge pull request #5898 from basarat/master
Transpile all .ts files
2015-03-26 14:33:04 -07:00
Jessica Lord
cac361e6df add packages for new spec
Signed-off-by: Kevin Sawicki <kevin@github.com>
2015-03-18 15:34:28 -07:00
Basarat Syed
8793bebfab tests for typescript transpiling 2015-03-18 17:53:15 +11: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
a7bd20f08f Remove unused fixture 2015-03-04 10:02:03 -08:00
Kevin Sawicki
333a495d55 Catch errors adding activation commands 2015-03-04 10:02:03 -08:00
Kevin Sawicki
bfe3bc3659 Make package activate optional 2015-02-25 11:16:09 -08:00
Kevin Sawicki
caff9e0866 Merge pull request #5579 from sebmck/babel
Rename 6to5 to Babel
2015-02-20 15:04:26 -08:00
Kevin Sawicki
d721cc62e3 Report deprecations in tasks 2015-02-19 14:12:48 -08:00
Sebastian McKenzie
52506a0df2 Rename 6to5 to Babel 2015-02-18 12:23:58 +11:00
Kevin Sawicki
20b2be51d9 Add initial compile cache spec 2015-02-12 14:22:46 -08:00
Kevin Sawicki
6e3d41f433 Suppress deprecations in BufferedNodeProcess
This keeps it consistent with the render process which also suppresses
deprecations

Closes #5383
2015-02-04 15:27:17 -08:00
Kevin Sawicki
853ad9cee3 Re-throw stylesheet compile errors
This makes it consistent with other read errors. Previously a Notification
was returned in the error case causing errors downstream where the package's
stylesheets array was assumed to be a path/content tuple.

Closes atom/deprecation-cop#22
2015-02-02 17:55:36 -08:00
Max Brunsfeld
3739995ddb Merge pull request #5277 from atom/mb-package-json-services
Allow packages to specify services in their package.json files
2015-02-02 17:07:41 -08:00
Kevin Sawicki
f9f7cf6d34 Add more 6to5 specs 2015-02-02 13:29:20 -08:00
Max Brunsfeld
14969c0522 Avoid using private serviceHub in package manager test
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-02 10:01:56 -08:00
Max Brunsfeld
65f2ffa55e Rename service keys in package.json
* serviceProvisions -> providedServices
* serviceDependencies -> consumedServices

Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-02 10:01:50 -08:00
Max Brunsfeld
cb8b254502 Use version-ranges in fixture package with service deps 2015-02-02 10:00:53 -08:00
Max Brunsfeld
027ebc78c4 Respect service{Provisions,Dependencies} in packages' metadata 2015-02-02 10:00:53 -08:00
Nathan Sobo
49699bddf2 Fix styleSheets manifest key in package.json of fixtures 2015-01-14 19:52:26 -07:00
Nathan Sobo
fb4956dde6 Fix deprecated styleSheets manifest key 2015-01-14 18:48:27 -07:00
Nathan Sobo
e60a9e45f7 Display package name correctly for ::getUri deprecation warnings
We capture the package name during the call to ::addOpener and use it
if any open items have the deprecated ::getUri method.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-01-14 14:23:17 -07:00
Max Brunsfeld
174b7072b7 Add specs for Task events
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-01-09 16:59:13 -08:00
Nathan Sobo
0a5b4f9b33 Make “style sheet” two words in package.json metadata
Rename `stylesheets` -> `styleSheets`
Rename `stylesheetsMain` -> `mainStyleSheet`
2015-01-09 09:04:04 -08:00
Nathan Sobo
932d3755ce Rename stylesheets/ directory in fixture packages 2015-01-09 08:56:12 -08:00
Kevin Sawicki
6fe7eb086f Gracefully handle empty keymaps and menus
Closes atom/settings-view#310
2015-01-07 09:18:57 -08:00
Nathan Sobo
b4246a2f07 Load package settings from settings and deprecate scoped-properties 2014-12-29 15:46:10 -06:00
Max Brunsfeld
aecd689593 Call Workspace::getActiveTextEditor, not ::getActiveEditor 2014-12-04 08:57:33 -08:00
Ben Ogle
2d885496a3 Update to new menu format 2014-11-26 14:55:39 -08:00
Ben Ogle
fb223db958 Remove workspaceView from PackageManager specs 2014-11-19 17:46:32 -08:00
Nathan Sobo
481e444ffe Reassign context to undefined because CoffeeScript needs a var keyword
Fixes #4100
2014-11-07 18:00:38 -07:00
Nathan Sobo
d060ecdc24 Assign package stylesheet context based on double-extension in file name
If stylesheet files are named with 2 extensions, the first extension is
used as the context argument when the package’s stylesheets are loaded.
This allows people to target the text editor by naming their stylesheet
`index.atom-text-editor.less`.
2014-11-04 16:37:26 -07:00
Kevin Sawicki
6e827434fd Log a warning when a enabled theme isn't installed 2014-10-30 10:04:38 -07:00
Kevin Sawicki
826681b6c2 Add relative path cache spec 2014-10-15 13:09:46 -07:00