Commit Graph

6836 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
2973a81293 Don't assign text grammar by default. Just use the null grammar. 2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
144984c726 Make LanguageMode unsubscribe from syntax global when destroyed 2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
1b56cfb270 LanguageMode switches to a better-matching grammar when it is added 2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
16b53d3183 Eliminate syntax.grammarsByFileType hash 2013-04-03 18:34:53 -06:00
Corey Johnson & Nathan Sobo
05d6adc6c7 Change syntax.selectGrammar to choose the highest-scoring grammar
This sets us up to switch to a grammar when it is loaded if it is a
better match for the current file.
2013-04-03 18:34:53 -06:00
Nathan Sobo
ed1c5d3417 Localize grammar reloading / setting to LanguageMode
Previously, logic associated with swapping grammars was a bit
scattered. Now grammar reloading / assignment methods delegate to
LanguageMode directly, and it emits a 'grammar-changed' event when
the grammar changes. Now EditSession and TokenizedBuffer listen for
this event and perform necessary actions for grammar change.
2013-04-03 18:34:53 -06:00
Kevin Sawicki
cf357376b3 Only add wrap guide to pane-based editors 2013-04-03 17:30:24 -07:00
Kevin Sawicki
b4eb7d072e Only expand folder when needed for file asserts
Closes #470
2013-04-03 17:07:23 -07:00
Kevin Sawicki
4f8d51450a Add missing space in expected string 2013-04-03 16:01:17 -07:00
Kevin Sawicki
b50b2231d6 Render all operations when moving to bottom 2013-04-03 15:55:07 -07:00
Kevin Sawicki
a762291de9 Render more operations when path is collapsed
Previously the command panel would shrink when a path was
collapsed since operations that hadn't been rendered yet weren't
properly added to the DOM.

This removes the collapse/expand animation since it becomes jittery
when combined with rendering new path and operation views.
2013-04-03 15:53:07 -07:00
Kevin Sawicki
ec2b116674 💄 2013-04-03 15:53:07 -07:00
Kevin Sawicki
0b9f6b14ba Put 'atom' in window title when no panes are open
Previously the title would revert to 'index.html' when
focus was gained and no panes were open.
2013-04-03 15:53:07 -07:00
Corey Johnson & Nathan Sobo
d136837c79 Fix version spec 2013-04-03 15:28:43 -07:00
Corey Johnson & Nathan Sobo
081967dc95 Change development version number to the sha 2013-04-03 15:24:17 -07:00
Corey Johnson & Nathan Sobo
101605e50f Add atom.crashMainProcess and atom.crashRenderProcess 2013-04-03 15:08:16 -07:00
Corey Johnson & Nathan Sobo
262e2fe1ec Add Quincy crash reporter framework 2013-04-03 15:08:16 -07:00
Kevin Sawicki
5d2a0a0223 Use fs.chmod() to make atom.sh executable 2013-04-03 15:01:23 -07:00
Kevin Sawicki
8447a22419 Support reloading the window from the event palette 2013-04-03 14:48:11 -07:00
Kevin Sawicki
b6eed51eed Merge pull request #460 from github/nak-powered-search
Nak powered search
2013-04-03 14:21:07 -07:00
Kevin Sawicki
d1fd3c8d7c Invoke callback with empty array on non-zero exit code 2013-04-03 13:54:52 -07:00
Kevin Sawicki
a3ef9c204b Use repository URL for nak dependency
This is temporary until https://github.com/gjtorikian/nak/pull/17/files
is merged and released.
2013-04-03 13:47:03 -07:00
Kevin Sawicki
52d47f555f Don't run clean before test
Clean should be optional
2013-04-03 12:11:45 -07:00
Kevin Sawicki
a5870cedd2 Use more generic core.excludeVcsIgnoredPaths config key 2013-04-03 11:45:55 -07:00
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