Commit Graph

127 Commits

Author SHA1 Message Date
Kevin Sawicki
27ffac5f1a Set less property on caught error 2015-03-24 13:17:57 -07:00
Kevin Sawicki
40b4e36c09 Add custom formatting for Less errors 2015-03-24 13:17:56 -07:00
Kevin Sawicki
ec0681ed36 Merge pull request #6038 from atom/ks-remove-unwanted-loop-returns
Remove unwanted loop returns
2015-03-19 14:16:26 -07:00
Kevin Sawicki
9f31afcbc9 Add explicit return after while loop 2015-03-19 11:48:40 -07:00
Kevin Sawicki
590a4b0fd5 Add explicit return after for loop 2015-03-19 11:48:40 -07:00
Jessica Lord
a787242e7a check that services method exists
Signed-off-by: Kevin Sawicki <kevin@github.com>
2015-03-18 15:37:16 -07:00
Max Brunsfeld
7ec46933bd Batch service providers by package 2015-03-13 11:42:30 -07:00
Scott Chacon
c4500af55a Merge remote-tracking branch 'origin/master' into remove-docs 2015-03-11 15:11:59 -07:00
Scott Chacon
b3325d64b0 update internal docs links 2015-03-11 15:11:46 -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
92754bb9a3 Add notification for package grammar errors 2015-03-04 10:51:49 -08:00
Kevin Sawicki
49a26ea326 Add notification for package settings errors 2015-03-04 10:51:03 -08:00
Kevin Sawicki
2f476b31ec Don't return collected array 2015-03-04 10:10:43 -08:00
Kevin Sawicki
59c3dea77b Show notification for invalid context menu selector 2015-03-04 10:02:04 -08:00
Kevin Sawicki
a2d9ba2d2e Only try to require main module once 2015-03-04 10:02:04 -08:00
Kevin Sawicki
cb0bf28793 Remove stray trace 2015-03-04 10:02:03 -08:00
Kevin Sawicki
33e01256a7 Only manipulate stack for selector errors 2015-03-04 10:02:03 -08:00
Kevin Sawicki
8ba434f4c4 Show notifications on load/activate errors 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
Ivan Žužak
3dc1029362 🔥 remove unused variable 2015-02-24 19:03:10 +01: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
5638c7fb6a Remove atom.services global
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-02 10:01:34 -08:00
Max Brunsfeld
027ebc78c4 Respect service{Provisions,Dependencies} in packages' metadata 2015-02-02 10:00:53 -08:00
Nathan Sobo
94cee03335 Provide package name for styles metadata deprecations 2015-01-14 18:48:26 -07: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
c078f64293 Rename package stylesheets/ directory to styles/ 2015-01-09 08:42:15 -08:00
Nathan Sobo
caf613e7c8 Associate packageName metadata with scoped-properties/ deprecation
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-01-08 17:41:50 -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
7dd67caf57 Remove ‘group’ parameter to addStyleSheet in favor of ‘priority’ 2015-01-07 09:51:42 -07:00
Nathan Sobo
b4246a2f07 Load package settings from settings and deprecate scoped-properties 2014-12-29 15:46:10 -06:00
Max Brunsfeld
08d183dff1 Remove unused $ variable in Package 2014-12-22 17:33:30 -08:00
Ben Ogle
e83784e141 Merge pull request #4535 from mark-hahn/activateNowAPI
Fixed activateNow when no activation promise
2014-12-12 11:58:26 -08:00
Mark Hahn
93e3a5af2a Fixed activateNow when no activation promise 2014-12-10 23:00:14 -08:00
Kevin Sawicki
218f6ab629 Guard against no stylesheet disposable 2014-12-05 13:32:37 -08:00
Kevin Sawicki
f4b08649a0 Use JSON example since package.json is target 2014-12-03 11:04:17 -08:00
Nathan Sobo
53b538311e Add activationEvents deprecation warning 2014-12-03 12:00:53 -07:00
Nathan Sobo
d53d01d95b Replace atom.syntax with atom.grammars 2014-11-20 11:42:49 -07:00
Nathan Sobo
c75e692269 Don’t add undefined context menus when activating package resources
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2014-11-11 16:24:02 -07: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
Nathan Sobo
c11675dca1 Don’t recycle the same composite disposable for stylesheet activation 2014-11-04 16:37:23 -07:00
Nathan Sobo
582066915b Apply syntax theme stylesheets in text editor shadow DOM via atom.styles 2014-11-04 16:37:21 -07:00
Nathan Sobo
1a98cb7070 Use atom.styles to activate stylesheets in packages 2014-11-04 16:37:21 -07:00
Kevin Sawicki
892cdae622 Return false when resource path does not match resources path 2014-10-21 13:28:09 -07:00
Kevin Sawicki
0303ebb5e5 Add resolved main path to package cache 2014-10-21 13:28:08 -07:00
Kevin Sawicki
eab791d47e Cache paths are relative to resource path 2014-10-21 13:28:08 -07:00
Kevin Sawicki
6ad96d98b8 Bypass cache when in dev mode 2014-10-21 13:28:08 -07:00
Kevin Sawicki
ed4ebefdc1 Use resourcePath on PackageManager 2014-10-21 13:28:08 -07:00