Kevin Sawicki
bf88f26b85
Merge pull request #126 from github/dev
...
Merge dev into master
2013-01-11 11:39:40 -08:00
Kevin Sawicki
0123bc7b91
Remove unneeded package name
2013-01-11 11:31:26 -08:00
Kevin Sawicki
93fc1b6c4d
Remove unneeded attachToDom() call in spec
2013-01-11 10:51:01 -08:00
Kevin Sawicki
a950673767
Remove duplicate simulateDomAttachment function
2013-01-11 10:42:43 -08:00
Kevin Sawicki
eaa164e109
Use subscribe for window focus event handler
2013-01-11 10:37:33 -08:00
Kevin Sawicki
170b50ddf0
Use search pattern with fewer matches to speed up spec
2013-01-11 10:25:41 -08:00
Kevin Sawicki
bab6a12321
Remove empty Packages section
2013-01-11 10:15:55 -08:00
Kevin Sawicki
cecec376e3
Use h1 for Packages and Features sections
2013-01-11 10:10:56 -08:00
Kevin Sawicki
97b1bc5f09
editor:close-?-editors => editor:close-?-edit-sessions
2013-01-11 09:54:00 -08:00
Kevin Sawicki
7caf45dd25
Make command heatmap take up all available space
2013-01-11 09:49:02 -08:00
Kevin Sawicki
184f7d9f45
💄
2013-01-11 09:22:41 -08:00
Kevin Sawicki
572b258547
Only open paths that are files that exist
...
The filesystem may have changed while the fuzzy finder
is open or since the last time the paths were loaded so
don't try to open paths unless they are files that
currently exist when confirmed.
2013-01-11 09:19:15 -08:00
Kevin Sawicki
7939b52da0
Marks paths for reload on focus and config events
...
Show the last loaded paths and load the latest in the
background when the FuzzyFinder is opened after a config
or focus event has been fired.
Previously the paths were completely cleared and the indexing
message was displayed while the latest paths were loaded.
2013-01-11 08:59:42 -08:00
Kevin Sawicki
618d9f5748
Replace fuzzy-finder with fuzzyFinder in spec config key path
2013-01-11 08:53:15 -08:00
Kevin Sawicki
07fd29ccc4
Remove unneeded attachToDom() call
2013-01-11 08:31:56 -08:00
Kevin Sawicki
30fc2536e0
Ignore basic core move events in heatmap
2013-01-11 08:29:50 -08:00
Kevin Sawicki
3a582eab63
Display editor's grammar name in status bar
...
Clicking on the grammar name displays the list of
available grammars that can be switched to.
2013-01-10 17:51:15 -08:00
Kevin Sawicki & Nathan Sobo
2fb27bb2dd
Store pathToOpen using new atom.set/getWindowState api
...
When you use `setWindowState`, your data is saved across refreshes.
You can only store state that can be serialized to JSON.
2013-01-10 18:04:22 -07:00
Kevin Sawicki & Nathan Sobo
ac3c059246
Extract _.setValueForKeyPath to underscore extensions
2013-01-10 18:02:55 -07:00
Nathan Sobo
b307bcc0de
Handle single long words that exceed the wrap column in autoflow
2013-01-10 17:29:41 -07:00
Nathan Sobo
b0fe034c9a
Add autoflow package w/ autoflow:reflow-paragraph command
2013-01-10 17:29:41 -07:00
Nathan Sobo
2086c2b353
Fix point snippet prefix
2013-01-10 17:29:41 -07:00
Kevin Sawicki
d27080cee6
Always set pathToOpen in RootView.initialize
...
Without this an untitled buffer will be opened when
Atom is reopened after being closed with no editors
open.
2013-01-10 16:24:40 -08:00
Kevin Sawicki
8bf16ba602
Don't attach the tree view when a project path changes
...
The tree view shouldn't automatically open when the
project first gets a path after not having one.
It can be still be toggled to be opened once the
project has a path.
2013-01-10 15:39:32 -08:00
Kevin Sawicki & Nathan Sobo
63dbc2f783
Remove double spies on native pasteboard methods
2013-01-10 15:33:30 -08:00
Kevin Sawicki & Nathan Sobo
80c506340f
Run specs from all package directory paths
2013-01-10 15:31:18 -08:00
Kevin Sawicki
e76d6808b7
Upgrade to latest octicons
2013-01-10 14:37:14 -08:00
Kevin Sawicki
6d914cdc7a
Don't attach the TreeView if RootView's path to open is a file
2013-01-10 14:11:56 -08:00
Kevin Sawicki
1316e2136c
Don't attach the TreeView when the project has no path
2013-01-10 13:43:30 -08:00
Kevin Sawicki
196a013cbc
Remove unneded focus() call
...
focus() is called from attach()
2013-01-10 13:38:51 -08:00
Kevin Sawicki & Nathan Sobo
3af97c4e38
Add Event.currentTargetView() and Event.targetView()
2013-01-10 11:41:07 -08:00
Kevin Sawicki & Nathan Sobo
4dc7ade4e6
Globally mock pasteboard read and write in specs
2013-01-10 11:41:07 -08:00
Corey Johnson
c3a2b99b69
Merge pull request #124 from github/auto-indent-config
...
Auto-indent config
2013-01-10 11:02:54 -08:00
Corey Johnson
0c0d48b8f6
Add commands to toggle auto-indent options
2013-01-10 10:40:05 -08:00
Corey Johnson
ca41bf0709
Set auto-indent config defaults
2013-01-10 10:38:44 -08:00
Kevin Sawicki
a3f46ed184
Remove command packages now handled by editor
2013-01-10 10:08:46 -08:00
Corey Johnson
d53572d54d
Rename editor.autoIndentPastedText to editor.autoIndentOnPaste
2013-01-10 09:42:20 -08:00
Corey Johnson
d2521ca8b8
Set editor.autoIndent to false for tests
...
Auto-indenting makes it more difficult to write simple tests. So we turn it off.
2013-01-10 09:41:49 -08:00
Kevin Sawicki
4ff737aa71
Remove old strip-trailing-whitespace from extensions
2013-01-10 09:40:27 -08:00
Corey Johnson
4f0e2c1e9b
Add editor.autoIndentPastedText config option
2013-01-10 09:31:57 -08:00
Corey Johnson
d55dfc8a6f
AutoIndent is a config property instead of a syntax property
2013-01-10 09:31:23 -08:00
Kevin Sawicki
f63ed1035d
Correct typo in spec
2013-01-10 09:30:12 -08:00
Kevin Sawicki
c3a993c1f6
Support logging longest suites
2013-01-10 09:29:42 -08:00
Kevin Sawicki
14d9fc5e45
Search for a more specific string
...
This spec only requires one match so don't search
for something that has many matches and will take
longer to display.
Reduces the run time of this spec by ~1.5 seconds.
2013-01-10 09:01:14 -08:00
Kevin Sawicki
339d29e1b5
Search for something with fewer results
...
Previously the search query used in the command panel
spec returned 500+ matches when the specs needed far
less to verify moving up and down and scrolling.
This reduces the time take to run the command panel spec
by ~2.5 seconds.
2013-01-10 08:47:10 -08:00
Kevin Sawicki
7a89de077b
Log longest specs explicitly
...
Instead of logging them to the console at the end of the run,
add two new methods, logLongestSpec() and logLongestSpecs(number)
to the window object that will print out the results.
2013-01-10 08:37:32 -08:00
Kevin Sawicki
f76db1f957
Log 10 longest running specs
2013-01-09 19:21:04 -08:00
Kevin Sawicki & Nathan Sobo
06e39595ba
Make RootView listen for events before loading packages
...
This is because RootView listens to some of its own events. It needs
to be first in line to handle its own events because package event
handlers might rely on tree view's event handlers having been run.
This also brings behavior more in line with what we'll experience in
specs.
2013-01-09 19:27:19 -07:00
Kevin Sawicki & Nathan Sobo
3db7af1edf
Don't show the tree view until the project has a path
2013-01-09 19:27:19 -07:00
Kevin Sawicki & Nathan Sobo
bb6bed85c6
Raise exception when destroyed repo is accessed
2013-01-09 17:12:15 -08:00