Kevin Sawicki
ede5e88a19
Merge origin/master into nak-powered-search
...
Conflicts:
src/packages/command-panel/lib/preview-list.coffee
src/packages/fuzzy-finder/lib/load-paths-task.coffee
2013-04-03 11:43:35 -07:00
Kevin Sawicki
0b3a91b5fe
Rename VCS ignore config setting to fuzzyFinder.hideVcsIgnoredPaths
2013-04-03 11:39:16 -07:00
Nathan Sobo
40aa81e9c1
Add required activate method to avoid logging during specs
2013-04-03 12:34:56 -06:00
Kevin Sawicki
ace71acb3c
Invoke callback even when command fails
2013-04-03 11:34:27 -07:00
Nathan Sobo
5d22cff6ad
🙊
2013-04-03 12:33:40 -06:00
Kevin Sawicki
19cf333e52
Use long opts for readability
2013-04-03 11:32:42 -07:00
Kevin Sawicki
e176141846
Follow symlinks loading paths
2013-04-03 11:22:20 -07:00
Garen Torikian
3347aba5ff
Merge branch 'nak-powered-search' of github.com:github/atom into nak-powered-search
2013-04-03 11:04:37 -07:00
Garen Torikian
ee15855383
Bump nak
2013-04-03 11:04:15 -07:00
Nathan Sobo
930cd9551b
💄 add eof newlines
2013-04-03 12:01:37 -06:00
Nathan Sobo
f03b6207de
Make all requires of 'fs-utils' assign to fsUtils var instead of fs
2013-04-03 12:01:37 -06:00
Jeremy McAnally
a99e4ef5a9
Making an edit to .github
...
To make the docs build...
2013-04-03 14:44:30 -03:00
Nathan Sobo
5df78812ef
Rename EditSession.scanInRange to scanInBufferRange
...
This is more consistent with other range-oriented methods on
EditSession. At this layer, we need to be explicit about what kind
of range we are talking about.
2013-04-03 11:28:55 -06:00
Nathan Sobo
59a5a5bc8f
Always pass a hash to TextBuffer.scanInRange iterators
...
This makes it easy to only assign variables for the information you
need in the iterator. Before, we always forced you to take a match and
a range as the first two arguments even if you weren't using them.
2013-04-03 11:16:49 -06:00
Nathan Sobo
68a02fe009
Use backwardsScanInRange
instead of passing true
2013-04-03 11:03:45 -06:00
Nathan Sobo
11f140ac5a
Don't save/load window state to/from disk when pathToOpen is undefined
...
This fixes a bug where `meta-n` was not opening a new buffer in the
opened window if window state was previously saved for an `undefined`
path.
2013-04-03 10:27:57 -06:00
Nathan Sobo
ec93dc38b7
Version serialized state of EditSession
...
Since buffers are now serialized directly, previous versions of the
EditSession state which used the buffer's path as the `buffer` key
are no longer valid.
2013-04-03 10:21:56 -06:00
Kevin Sawicki
aa8fb3eb4b
Add failing symlink spec
2013-04-03 08:33:16 -07:00
Kevin Sawicki
917fbaadad
Use splat instead of apply
2013-04-03 08:27:36 -07:00
Kevin Sawicki
2dc1817807
Push new paths onto existing array
2013-04-03 08:24:31 -07:00
Kevin Sawicki
320d177038
Use consistent quotes
2013-04-03 08:19:04 -07:00
Kevin Sawicki
acf538cf4b
Remove unused aborted ivar
2013-04-03 08:18:00 -07:00
Kevin Sawicki
ba028f6358
Support ~/.atom/user.less
2013-04-02 17:37:21 -07:00
Kevin Sawicki
326910eeed
Don't output curl progress bar during ci build
2013-04-02 17:28:26 -07:00
probablycorey
f4264f00f8
Modernize markdown preview spec
2013-04-02 17:09:08 -07:00
Corey Johnson
606f446c27
Log warning when trying to render non-markdown file
2013-04-02 17:00:42 -07:00
Corey Johnson
2944b64795
Show GitHub API error message when markdown preview fails
2013-04-02 17:00:41 -07:00
Corey Johnson
55d4625091
Only display markdown preview on save if preview already exists
2013-04-02 17:00:41 -07:00
Corey Johnson
5f2c4dad95
Only show markdown preview if the edit session's grammar is GFM
2013-04-02 16:59:44 -07:00
Corey Johnson
e03f2fd738
Markdown preview listens to core:save
on activate
2013-04-02 16:59:44 -07:00
Mutwin Kraus
5c93fd4574
Update markdown preview when markdown buffer is saved
2013-04-02 16:59:44 -07:00
Kevin Sawicki
22af597c42
💄
2013-04-02 16:50:53 -07:00
Kevin Sawicki
34ca5ce949
nak no longer includes a space after the colon
2013-04-02 16:49:33 -07:00
Garen Torikian
955e1571a2
Bump nak version to add @kevinsawicki changes
2013-04-02 16:40:32 -07:00
Garen Torikian
79ac5d606d
Bump nak again
2013-04-02 15:39:40 -07:00
Mutwin Kraus
9a6b5986fe
Add editor.selectLine
2013-04-02 15:24:12 -07:00
Mutwin Kraus
a9c74762cc
Add focusPreviousPane
to pane container
2013-04-02 15:24:12 -07:00
Garen Torikian
936d4f6d53
Merge branch 'nak-powered-search' of github.com:github/atom into nak-powered-search
2013-04-02 14:57:40 -07:00
Garen Torikian
f33a8538e3
Bump nak version to allow for multiple matches
2013-04-02 14:57:20 -07:00
Nathan Sobo
1bbc9f61e9
Remove unsaved buffer prompt on reload now that we handle it correctly
2013-04-02 15:45:17 -06:00
Nathan Sobo
dab8c5b53b
Assign cachedDiskContents when unsaved buffer is deserialized
...
This allows the buffer to return to an "unmodified" state if the
unsaved changes are reversed.
2013-04-02 15:45:16 -06:00
Nathan Sobo
3150785db2
Ensure we never deserialize two instances of the same buffer
...
We might have two edit sessions pointing to the same buffer, for
example if we have a split pane… So when we deserialize a buffer, we
always need to check that we don't already have an instance of that
buffer on the project. If we do, then we've already deserialized it
once so we don't need to worry about the saved text.
We still have a problem when deserializing previously unsaved buffers,
because we can't use the path to identify them.
2013-04-02 15:45:16 -06:00
Nathan Sobo
f531d36060
Condense / cleanup TextBuffer serialization specs
...
Typically it's fine to test serialization behaviorally. If we can
deserialize the serialized state correctly, then we're generally
happy. We don't need explicit tests on the serialized state… but I
added a couple assertions to ensure we don't write text when we don't
need to. It would have been more correct to just modify the saved
file and verify we load the new state, but it's not worth the hassle.
2013-04-02 15:45:16 -06:00
Nathan Sobo
9efc326ff3
Remove spec that can be covered in text-buffer specs
2013-04-02 15:45:16 -06:00
Nathan Sobo
e8216a8313
Don't store @project reference inside TextBuffer. Use the global.
2013-04-02 15:45:16 -06:00
Nathan Sobo
78211acafd
Use project.bufferForPath
to build buffers in specs
...
This reflects the way buffers should always be created in practice. It
registers buffers on project, which will be important when testing
that we always get the same buffer when deserializing a buffer for a
path we've already opened.
2013-04-02 15:45:16 -06:00
Nathan Sobo
40975f15d3
💄 Follow whitespace conventions for specs
2013-04-02 15:45:16 -06:00
Mutwin Kraus
cc87595e4e
Serialize TextBuffer inside EditSession serialize
2013-04-02 15:45:16 -06:00
Mutwin Kraus
693d8258ad
Preserve buffer contents for unsaved files when reloading
2013-04-02 15:45:16 -06:00
Kevin Sawicki
9a8fd062c4
Throw error instead of string
2013-04-02 14:40:55 -07:00