Damien Guard
3fd1dbdce3
Clean up temporary files when running specs
2016-12-01 10:48:45 -08:00
Damien Guard
c0bb35d42a
Remove use of deleted stringtoid function
2016-11-29 16:55:14 -08:00
Indrek Ardel
55f3311c01
Remove unused variables
2016-09-26 20:52:13 +03:00
Damien Guard
1500381ac9
Tweaks to the specs improvements from feedback
2016-04-19 14:25:44 -07:00
Damien Guard
99e716f9ed
Fix specs failures on Windows including paths
2016-04-15 11:25:05 -07:00
Nathan Sobo
1e4466e260
Get ThemeManager specs passing after removing deprecations
2015-09-22 10:37:13 -06:00
Nathan Sobo
3e529e8e76
Don’t use jQuery in theme-manager-spec
2015-09-18 20:48:47 -06:00
Kevin Sawicki
f8e940fdc0
Add spec for invalid theme stylesheet notification
2015-04-15 09:18:02 -07:00
Machiste Quintana
5d2392ea67
👕 Fix new coffeelint errors
2015-04-06 23:59:54 -04:00
Kevin Sawicki
46e881739c
Set themes names at beginning of spec
2015-03-16 15:11:12 -07: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
Ben Ogle
683203a9a1
Attempt to fix theme manager specs
...
They work for me!
2015-01-14 16:15:53 -08:00
Ben Ogle
3ec3c2b69d
Fix theme manager specs
2015-01-14 16:15:53 -08:00
Ben Ogle
4be793f465
Post notifications when the user’s sheet cannot be loaded / parsed
2015-01-14 16:15:53 -08: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
Nathan Sobo
37ba67728b
Fix core deprecations
2015-01-09 08:24:48 -08:00
Nathan Sobo
30513cfde0
Rename ThemeManager methods for clarity/consistency
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-01-08 17:51:09 -08:00
Nathan Sobo
7dd67caf57
Remove ‘group’ parameter to addStyleSheet in favor of ‘priority’
2015-01-07 09:51:42 -07:00
Nathan Sobo
b4756aa9b7
Remove unnecessary deprecation warning suppression
2014-12-30 13:55:49 -06:00
Nathan Sobo
651fa1aa42
💄 spelling
2014-12-30 13:53:46 -06:00
Nathan Sobo
db17fe2daa
💄 Move example to a better parent describe
2014-12-30 13:53:38 -06:00
Max Brunsfeld
d90daf07f8
In PackageManager::activatePackage reject, don't throw
2014-12-23 16:47:43 -08:00
Nathan Sobo
68bc3f6ead
Add assertions and suppress deprecation warnings in theme-manager-spec
...
The new expected behavior is now tested. The deprecated behavior is
also tested until we remove it later.
2014-11-27 09:03:40 -07:00
Ben Ogle
ffda2386c3
Suppress deprecations for package loading.
2014-11-26 14:55:40 -08:00
Ben Ogle
3fd5ba9b3c
Remove unnecessary workspaceView requires
2014-11-26 14:55:39 -08:00
Ben Ogle
43ccf0a041
Convert require ‘atom’ to require '../src/space-pen-extensions'
2014-11-26 14:55:38 -08:00
Ben Ogle
3fc514659a
Remove workspaceView references from ThemeManager
2014-11-19 17:46:32 -08:00
Nathan Sobo
49471070a3
Move public stylesheet related methods off of atom.themes
...
* Move atom.themes.getUserStylesheetPath to
atom.styles.getUserStyleSheetPath
* Deprecate atom.themes.requireStylesheet
2014-11-19 10:31:03 -07:00
Max Brunsfeld
003c101f14
W/o shadow-dom, don't add global atom-styles element for text editor
...
Signed-off-by: Nathan Sobo <nathan@github.com>
2014-11-07 13:05:46 -08:00
Ben Ogle
4537e9bd1a
Fix specs
2014-11-04 16:37:27 -07:00
Nathan Sobo
cdb62812d2
Don’t use syntax themes in spec because they are inserted in shadow DOM
2014-11-04 16:37:23 -07:00
Ben Ogle
ee4116536d
Move the ViewRegistry to atom.views
2014-10-30 13:42:27 -07:00
Kevin Sawicki
6e827434fd
Log a warning when a enabled theme isn't installed
2014-10-30 10:04:38 -07:00
Lee Dohm
d20e91897a
Load the default themes when configured themes don't exist
2014-10-29 19:42:42 -07:00
Nathan Sobo
04b3eef768
Fix theme-manager-specs
2014-10-15 15:14:13 -06:00
Nathan Sobo
1eb3d8bf99
Use ‘atom-text-editor’ custom tag name for TextEditorElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
211a1c75e2
Return a disposable from ThemeManager::requireStylesheet
2014-09-30 14:02:04 -06:00
Nathan Sobo
fd3cb1a232
💄 theme-manager-spec
2014-09-30 14:01:41 -06:00
Nathan Sobo
7f41be3103
Use atom.workspace.getView to construct WorkspaceViews
...
It returns the root DOM node of the workspace. Eventually this will
be a custom element but for now it’s just a DOM node with a
__spacePenView reference on it.
2014-09-19 16:24:12 -06:00
Ben Ogle
5ba5215f5d
Add event subscription methods to ThemeManager
2014-09-09 15:35:00 -07:00
Ben Ogle
3bf348e51f
Add ThemeManager::onDidReloadAll
2014-09-09 15:24:55 -07:00
Ben Ogle
26d696a93d
Add classes to the workspace for themes
...
Fixes #3097
2014-08-21 11:53:10 -07:00
Kevin Sawicki
f447781e01
Allow any bundled theme when in safe mode
...
Check enabled names against the bundled names and ensure
one bundled UI and one bundled syntax theme are enabled,
defaulting to the dark themes when necessary.
2014-08-11 15:24:49 -07:00
Maximilian Schüßler
c2304e1124
Fix indentation
2014-08-08 19:59:45 +02:00
Maximilian Schüßler
b463d9d876
Load the default themes in safe mode
2014-08-05 13:32:16 +02:00
Ben Ogle
e620121953
Add spec for loading theme with incomplete variable file
2014-07-11 14:04:54 -07:00
Kevin Sawicki
c700ca0430
Remove unused sync option
2014-05-21 08:55:40 -07:00
Nathan Sobo
84e76556da
Try to fix flaky spec
2014-05-20 11:11:35 -06:00