Commit Graph

5578 Commits

Author SHA1 Message Date
Kevin Sawicki
e419ec1848 Migrate fixtures package to not extend AtomPackage 2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
ac6ec1c2a7 Remove rootView as parameter to activate 2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
adb867cbd1 Use global rootView in GoToLineView 2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
659c6bbd56 Remove old style package support
All packages have been migrated to the new style.
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
db257e1811 Delete unused DeferredAtomPackage 2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
2d80d27ca7 Modernize command-panel package with package.cson 2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
9043f8290f Deactivate rootView in afterEach 2013-02-08 17:28:06 -08:00
Kevin Sawicki
b277945718 Modernize command-logger package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
cb28d75b00 Modernize tree-view package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
3629c01e27 Modernize bracket-matcher package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
1b85e131e1 Modernize snippets package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
e5506276db Don't toggle events in beforeEach to activate package
Instead find the view after the event in the spec has
been triggered that causes it to activate.
2013-02-08 17:28:06 -08:00
Kevin Sawicki
f522b2da63 Modernize command-palette package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
34c570bed5 Modernize editor-stats package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
a70f5ea1f7 Modernize gists package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
df962afe0e Modernize markdown-preview package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
ab385e8d38 Modernize status-bar package with package.cson 2013-02-08 17:28:06 -08:00
Kevin Sawicki
9557b2c3e3 Modernize symbols-view package with package.cson 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
21ad921f26 Modernize tabs package with package.cson 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
99fb8e2b3b Modernize wrap-guide package to use package.cson 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
c18abc154a Verify logged warning parsing invalid.plist 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
ef02f237cb Terminate load task when package is deactivated 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
c1203d48e2 Only call terminate when worker isn't null 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
e12461db88 Create root view before loading package 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
e959c371e3 Terminate task when fuzzy finder is deactivated
Task no longer invokes task methods after task has
been terminated.
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
044468714a Rename finder variable to finderView 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
3c2e43fb31 Remove unneeded rootView variable 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
833321fa23 Modernize fuzzy-finder package to use package.cson 2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
3c36eaf454 Un-f spec 2013-02-08 17:28:05 -08:00
Corey Johnson
23244de327 Autoflow package is loaded using package.cson 2013-02-08 17:28:04 -08:00
Corey Johnson
6f05e66825 Add rootView to atom spec to eliminate warnings 2013-02-08 17:28:04 -08:00
Corey Johnson
f24bfab5e5 Modernized autocomplete package 2013-02-08 17:28:04 -08:00
Kevin Sawicki
cdf29691d7 Use same noop function for all disabled handlers 2013-02-08 17:28:04 -08:00
Kevin Sawicki & Nathan Sobo
641a0d43cc Retrigger event after package module is activated
The event that triggers the package module to be activated is
now retriggered after the package module is initialized but without
any previously registered handlers. Instead only the handlers registered
by the package module will be triggered.  The prior event handlers are then
restored after the event is retriggered.

This allows package modules to bind event handlers during initialization
that will be triggered by the same event that caused the package module
intialization to occur.  This simplifies the common case of having the same
event cause a package module to initialize and attach.
2013-02-08 17:28:04 -08:00
Kevin Sawicki
51f5bb95d0 Kill unneeded param 2013-02-08 17:28:04 -08:00
Kevin Sawicki
ed0de80af3 💄 2013-02-08 17:28:04 -08:00
Kevin Sawicki
7c41b15e00 Support activation events in package manifest
These events will load the package's main module
when first triggered.  The go-to-line package has been
migrated to use this new option.
2013-02-08 17:28:04 -08:00
Kevin Sawicki
d884bf58e8 Support specifying main module in package.cson
Migrated strip-trailing-whitespace package to include
a package.cson with a main being a file in the lib directory
instead of the index.coffee at the root of the package.
2013-02-08 17:28:04 -08:00
Kevin Sawicki
856b378f54 Set metadata to empty hash when missing 2013-02-08 17:28:04 -08:00
Kevin Sawicki
cd56d0a1d2 Remove unneeded pack check 2013-02-08 17:28:04 -08:00
Kevin Sawicki
16ff07d319 Use paths when loading grammars from workers 2013-02-08 17:28:04 -08:00
Corey Johnson & Kevin Sawicki
3b4f07701b Build packages using paths instead of filenames 2013-02-08 17:28:04 -08:00
Corey Johnson & Kevin Sawicki
bdac42b188 Don't directly require packages with manifests 2013-02-08 17:28:03 -08:00
Corey Johnson
66d618a41c Fix snippet specs 2013-02-08 17:28:03 -08:00
Corey Johnson
a89fdd7714 Reset the loadedPackages before each test.
Also stop including fixturePackagesPath in configs.packageDirPaths. Instead load fixture packages as needed
2013-02-08 17:28:03 -08:00
Corey Johnson
3078d74e5d Refactor atom.coffee's package methods 2013-02-08 17:28:03 -08:00
Corey Johnson
74ae4a6413 Remove getTextMatePackages 2013-02-08 17:28:03 -08:00
Kevin Sawicki
5b4c8cf8f0 Only require git if exluding ignored files 2013-02-08 15:01:26 -08:00
Justin Palmer
45179bacc9 smaller retina icon 2013-02-08 14:31:23 -08:00
Kevin Sawicki
a52983928e Remove unused code now in bracket-matcher package 2013-02-08 09:51:31 -07:00