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
Nathan Sobo
1eb3d8bf99
Use ‘atom-text-editor’ custom tag name for TextEditorElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
8941b97ed2
Use ‘atom-workspace’ custom tag name for WorkspaceElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
f082f93ead
Update specs for new ContextMenuManager API/behavior
...
When selectors have the same specificity, menu items added *later*
appear higher in the list.
2014-09-30 12:06:26 -06:00
Ben Ogle
fc3ba775c8
Support schemas in packages
2014-09-29 16:08:03 -07:00
Nathan Sobo
47f8f7eb11
Switch specs to use activationCommands instead of activationEvents
...
The activationEvents are converted to the same format as
activationCommands, and that property will be deprecated.
2014-09-24 14:34:29 -06:00
Nathan Sobo
63181a17c8
Support activationCommands field in package.json
...
This field mandates selectors in its structure and closely matches the
API of `atom.commands.add`. It will supplant `activationEvents` moving
forward.
2014-09-24 14:34:28 -06:00
Nathan Sobo
a492596f7f
Allow atom.commands to participate in activationEvents
...
* Activation events can be handled via atom.commands
* Pre-existing listeners registered via atom.commands are disabled when
replaying events for the activated package.
2014-09-24 14:34:28 -06:00
Kevin Sawicki
8c2bcf3943
Catch and log deactivate errors
...
Closes #3538
2014-09-15 08:34:54 -07:00
Kevin Sawicki
56df7bdbe3
Add version to package
2014-07-25 15:23:36 -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
adaee84933
Remove unused fixtures
2014-07-23 10:11:02 -07:00
Kevin Sawicki
84ff28ee69
Remove unused package fixtures
2014-07-23 10:11:01 -07:00
Kevin Sawicki
cfb1501720
Remove unused replication fixture
2014-07-23 10:11:01 -07:00
Ben Ogle
e620121953
Add spec for loading theme with incomplete variable file
2014-07-11 14:04:54 -07:00
Kevin Sawicki
0524a724e1
Move fixtures into repo
2014-06-02 10:17:13 -07:00
probablycorey
7f57a094f6
Determine softTab state after the buffer is tokenized.
2014-05-28 16:31:00 -07:00
probablycorey
6bb260140b
Don't use comment lines to determine soft/hard tabs.
...
Closes atom/language-php#24
Closes #1733
2014-05-07 12:18:05 -07:00
Kevin Sawicki
8cb66895f0
Check that activations events are present
...
Having an empty array, object, or string will now be treated
as no activation events.
This was reported as being confusing since people were just clearing
the array generated by the package generator but their packages weren't
activating.
2014-03-11 16:15:30 -07:00
Kevin Sawicki
3571d1e60e
Remove unused .tmbundle fixture
2014-02-17 14:47:05 -08:00
Kevin Sawicki
e439847b59
Remove preferences folder spec
2014-02-17 14:24:26 -08:00