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
23244de327
Autoflow package is loaded using package.cson
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
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
Kevin Sawicki
a52983928e
Remove unused code now in bracket-matcher package
2013-02-08 09:51:31 -07:00
Kevin Sawicki
eba089ce97
Remove single and double quotes from highlighted pairs
2013-02-08 09:51:31 -07:00
Nathan Sobo
6e191aba5b
Move matching bracket insertion to bracket-matcher package
2013-02-08 09:51:31 -07:00
Nathan Sobo
6be72bac54
Guard against undefined marker ranges
2013-02-06 20:45:50 -07:00
Justin Palmer
eb7f4514e4
Merge pull request #244 from github/ui-polish
...
Ui polish
2013-02-06 18:33:50 -08:00
Nathan Sobo
9c6b658fe5
Merge branch 'dev' into markers
2013-02-06 18:10:42 -07:00
Nathan Sobo
5b3755a170
Fix errors in benchmarks
...
One notable change is that if the editor has a display update pending,
we wait until it completes before moving on to the next benchmark.
2013-02-06 18:01:32 -07:00
Nathan Sobo
56c81ccf0f
Memoize head and tail screen positions in DisplayBufferMarker
2013-02-06 17:32:13 -07:00
Nathan Sobo
4fdb1c454e
Restore marker cleanup assertions
...
Now that EditSessions clean up their markers, we can pass these tests
again.
2013-02-06 17:29:08 -07:00
Nathan Sobo
0bd98bf8f8
Do a better job cleaning up after Editors and EditSessions
...
- EditSessions destroy their Selections when they are destroyed
- Editors destroy their EditSessions when they are destroyed
- Editors unsubscribe from the document and window when they are
removed from the DOM.
- When an EditSession is destroyed via any code path, the Editor with
that EditSession removes it.
- Selections no longer trigger 'destroyed' events if their parent
EditSession has already been destroyed.
These are all really intertwined, so I'm doing them as one commit
since that was the only way to keep the specs green.
2013-02-06 16:54:19 -07:00
Justin Palmer
5ad38c9bc6
bracket matcher animation was kind of annoying when typing between brackets
2013-02-06 15:14:00 -08:00
Justin Palmer
1f50ca8d16
cleanup statusbar styles
2013-02-06 15:12:22 -08:00
Justin Palmer
124b2c0c07
lets do just mini on the grammar overlay since it originates from the middle
2013-02-06 14:48:33 -08:00
Justin Palmer
3675407ca7
use from-bottom overlay for grammar view
2013-02-06 13:51:40 -08:00
Justin Palmer
cec0757f55
sublte animation on bracket match
2013-02-06 13:40:12 -08:00
Nathan Sobo
28c31dc2e1
Merge branch 'dev' into markers
2013-02-06 14:27:30 -07:00