Commit Graph

71 Commits

Author SHA1 Message Date
Corey Johnson
0d95718d1f Remove focused spec 2014-04-22 11:04:14 -07:00
Corey Johnson
1da23e8d04 Remove deprecations from atom-spec 2014-04-22 11:01:21 -07:00
Nathan Sobo
65564e2012 Rename atom.keymap to atom.keymaps 2014-03-31 16:28:55 -06: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
a651254e38 Require fs-plus directly in specs 2014-02-23 17:19:00 -08:00
Kevin Sawicki
e439847b59 Remove preferences folder spec 2014-02-17 14:24:26 -08:00
Kevin Sawicki
04290ebbbb Wait for package to be activated 2014-02-17 14:06:59 -08:00
Kevin Sawicki
3f8d9a4c47 Combine AtomPackage and Package 2014-02-17 12:59:03 -08:00
probablycorey
c6baed045d Merge remote-tracking branch 'origin/master' into ks-remove-immediate-and-sync-activate-calls
Conflicts:
	package.json
2014-02-11 12:29:02 -08:00
probablycorey
13e435a4f9 Update Atom Spec 2014-02-10 15:52:33 -08:00
probablycorey
ffb7093cf3 Merge branch 'cj-make-package-activation-consistent' into cj-update-markdown-preview
Conflicts:
	src/deserializer-manager.coffee
	src/workspace.coffee
2014-02-10 14:17:46 -08:00
Kevin Sawicki
fe5640df4b Return promise if it already exists
This prevents successive calls to atom.packages.activatePackage from
activating an AtomPackage multiple times.
2014-02-07 15:23:53 -08:00
probablycorey
d9a47f256c Update specs 2014-02-07 11:21:52 -08:00
probablycorey
f10e55b4d5 Remove deferred package deserializers 2014-02-05 14:46:49 -08:00
Nathan Sobo
23957d7f66 WIP: Make atom global a telepath model
Specs seem to be green but hang on what I'm assuming to be a long GC
pause near the end. I need to investigate what's going on memory wise.
2013-12-12 14:33:50 -08:00
Nathan Sobo
8a8df8d6cb Add Atom::isReleasedVersion, which determines if the version is a SHA 2013-12-11 12:28:20 -08:00
Kevin Sawicki
3ce6176313 Rename rootView to workspaceView 2013-11-26 11:02:53 -08:00
Kevin Sawicki
99480901e2 Add missing atom prefix 2013-11-20 17:23:47 -08:00
Kevin Sawicki
f9498732a5 Add atom prefix to rootView 2013-11-20 17:23:47 -08:00
Kevin Sawicki
2eeb399cf1 Remove deserializer shims on window 2013-11-20 13:51:12 -08:00
Kevin Sawicki
ce3ec75c55 Remove remaining package manager shims 2013-11-20 12:49:15 -08:00
Kevin Sawicki
ede29d99c1 Access package manager via atom.packages 2013-11-20 12:48:05 -08:00
Kevin Sawicki
5fa55026d5 Call loadPackage on atom.packages 2013-11-20 12:48:05 -08:00
Kevin Sawicki
6d04d57e74 Remove atom.loadPackage shim 2013-11-20 12:48:05 -08:00
Kevin Sawicki
568aa1d396 Remove some package manager shims on atom global 2013-11-20 12:48:05 -08:00
Corey Johnson
a98377b899 Merge pull request #1132 from atom/cj-editor-rename
Editor & EditSession rename
2013-11-20 10:11:09 -08:00
Kevin Sawicki
233d819e04 Add atom prefix to syntax global 2013-11-19 16:37:50 -08:00
probablycorey
756c2be64a Replace editor instance variables with editorView 2013-11-19 14:57:35 -08:00
probablycorey
cb8e378af6 Use keyBinding in place of binding in method names 2013-11-15 13:49:17 -08:00
probablycorey
2fb00af255 Rename keyMapping to keyBinding 2013-11-14 16:20:35 -08:00
probablycorey
94a8d16664 Update specs 2013-11-14 16:05:17 -08:00
Kevin Sawicki
a377a49004 Use atom.config instead of window.config 2013-11-11 09:16:44 -08:00
Kevin Sawicki
9f8a8139e0 Use atom.syntax instead of window.syntax 2013-11-11 08:53:52 -08:00
Kevin Sawicki
9b3edc89a6 Use atom.keymap in specs 2013-11-11 08:43:14 -08:00
Matt Colyer
7ba4782ceb Don't focus atom-spec.coffee 2013-11-05 16:37:54 -08:00
Matt Colyer
ee280d87f9 Ensure we're using proper dom ids in specs 2013-11-04 16:33:11 -08:00
Ben Ogle
997891f298 Fixup specs 2013-10-22 15:07:09 -07:00
Ben Ogle
967c04fb19 Clean up theme check in PackageManager with PackageActivators
You can now call `PackageManager.registerPackageActivator` for specific
package types. On `PackageManager.activate` it will call your
`PackageActivator.activatePackages(packages)` with the proper packages.
2013-10-22 15:07:09 -07:00
Ben Ogle
c614519529 Clean up the tests; add tests for disablePackage() 2013-10-22 15:06:54 -07:00
Ben Ogle
7b1b73e8eb Watch the core.disabledPackages config option 2013-10-22 15:06:54 -07:00
Ben Ogle
4440210d9a Fix tests 2013-10-22 15:06:25 -07:00
Ben Ogle
077cb9ddb7 Add an enableTheme() function to ThemeManager
And use it in the activatePackage() function in PackageManager
2013-10-22 15:04:55 -07:00
Kevin Sawicki
3b05b40d66 Update package names for new language- prefix 2013-10-22 09:01:30 -07:00
Matt Colyer
5541875965 Don't append duplicate menu items
Fixes #995
2013-10-18 10:20:03 -07:00
probablycorey
c44b04e47a Merge remote-tracking branch 'origin/master' into cj-make-packages-async 2013-10-14 15:54:22 -07:00
Matt Colyer
12b42bf459 Initialize AtomPackage attributes earlier
This should make our package loading process a bit more robust.
2013-10-11 12:49:31 -07:00
Matt Colyer
abd8bd1253 Handle errors in package.json gracefully 2013-10-11 12:49:31 -07:00
probablycorey
b0e9b4b81f Rename RootView.open to RootView.openSync 2013-10-11 10:55:10 -07:00
Matt Colyer
ffdfe63a4e Add specs 2013-10-08 16:23:34 -07:00
Kevin Sawicki
ea2779b029 Activate stylesheets from deferred deserializer 2013-10-02 19:10:53 -07:00