Commit Graph

4341 Commits

Author SHA1 Message Date
Kevin Sawicki
304d4f741e Exit unless brew exists 2012-10-09 11:51:28 -07:00
Kevin Sawicki
aa5b68e9a9 Install gyp via custom formula 2012-10-09 11:47:07 -07:00
Kevin Sawicki
df1658e0e7 Correct typo in create-project task description 2012-10-09 11:10:02 -07:00
Corey Johnson
7afbac5a4e Merge branch 'transpose' 2012-10-09 11:03:26 -07:00
Corey Johnson
a2f2e388d5 Test 💄
Instead of inserting text into an existing buffer, I replaced all text in the buffer to make the test easier to understand.
2012-10-09 11:02:39 -07:00
Corey Johnson & Kevin Sawicki
bd6313372e Remove TextMate bundles from Atom source
Bundles are now cloned into ~/.atom/bundles using `rake
clone-default-bundles`
2012-10-09 10:44:07 -07:00
Corey Johnson & Kevin Sawicki
9f686f95f8 Only create .atom directory if it doesn't exist 2012-10-09 10:44:07 -07:00
Kevin Sawicki
37f454aece Support core up/down events in preview list 2012-10-09 10:41:57 -07:00
Will Farrington
ec937d7ea8 Merge pull request #51 from github/status-bar-buffer-modified-indicator
Add buffer modified indicator
2012-10-09 09:36:46 -07:00
Will Farrington
d5b0e7acd2 memoize Buffer @contentOnDisk so we don't re-read the whole file on every buffer-change event 2012-10-08 18:17:15 -10:00
Will Farrington
4b3505d9b5 Disable buffer modified indicator if buffer content matches content on disk 2012-10-08 17:55:35 -10:00
Will Farrington
7dd69cfecd Merge remote-tracking branch 'origin/master' into status-bar-buffer-modified-indicator 2012-10-08 17:38:55 -10:00
Chris Wanstrath
602f4ee233 trigger buffer-change after the change, not before 2012-10-08 20:28:18 -07:00
Chris Wanstrath
fa10a8e6ac use the local selection instance 2012-10-08 20:13:16 -07:00
Chris Wanstrath
f5f18abbf0 ctrl-t: transpose 2012-10-08 20:08:07 -07:00
Kevin Sawicki
7fc362c801 Prune paths that are files
This avoids an extra call to isDirectory for each path
that has already been determined to be a file and
therefore not a directory.
2012-10-08 12:10:49 -07:00
Kevin Sawicki
7ab088df8b Check recurse flag before verifying path is directory
Avoid an unnecessary native call if recursing into the current
path has already been avoided.
2012-10-08 11:47:48 -07:00
Will Farrington
214735f1d7 add some specs for buffer modified indicator 2012-10-07 09:48:46 -10:00
Will Farrington
09024e0dc8 Merge remote-tracking branch 'origin/master' into status-bar-buffer-modified-indicator 2012-10-07 09:13:08 -10:00
Kevin Sawicki
f6c29a1d51 Add core:page-up and core:page-down support to tree view 2012-10-05 15:50:32 -07:00
Kevin Sawicki
4b20a26974 Add core:move-to-top and core:move-to-bottom support to tree view 2012-10-05 15:30:54 -07:00
Nathan Sobo
e38367df8c Merge branch 'master' into event-palette
Conflicts:
	src/app/editor.coffee
2012-10-05 11:09:17 -10:00
Nathan Sobo
c09f7ebc60 Fix the command panel's handling of move-up/move-down
Forgot to add the core: prefix to this area
2012-10-05 10:55:55 -10:00
Nathan Sobo
d4b6ba4c11 Make SelectList handle prefixed move-up and move-down events 2012-10-05 10:43:24 -10:00
Nathan Sobo
a180e6d703 Merge branch 'master' into event-palette
Conflicts:
	spec/extensions/fuzzy-finder-spec.coffee
	src/app/editor.coffee
	src/extensions/fuzzy-finder/fuzzy-finder.coffee
2012-10-05 10:29:10 -10:00
Nathan Sobo
eae7fcdd97 Fix breaking due to "root-view:" prefixed events 2012-10-05 10:07:37 -10:00
Nathan Sobo
082a666a92 TreeView's move-up/down responds to core:move-up/down 2012-10-05 10:07:37 -10:00
Nathan Sobo
ae224ca515 Prefix events handled by root-view with "root-view:" 2012-10-05 10:07:37 -10:00
Nathan Sobo
9906dd41b4 Give editor-specific events the "editor:" prefix 2012-10-05 10:07:37 -10:00
Nathan Sobo
16bf8d3c3f Fix fuzzy-finder spec 2012-10-05 10:07:37 -10:00
Nathan Sobo
0ab50cf102 Move cut, copy, and paste into "core:" 2012-10-05 10:07:37 -10:00
Nathan Sobo
23f4e533d9 Move undo and redo in "core:" 2012-10-05 10:07:37 -10:00
Nathan Sobo
a2a15a90fd Move backspace and delete into "core:" 2012-10-05 10:07:37 -10:00
Nathan Sobo
8cde98bf45 Move select-to-top/bottom and select-all into "core:" 2012-10-05 10:07:36 -10:00
Nathan Sobo
c221729407 Move "select-up/down/left-right" into "core:" 2012-10-05 10:07:36 -10:00
Nathan Sobo
6df8ebb183 Bind emacs bindings for "core:" events to body 2012-10-05 10:07:36 -10:00
Nathan Sobo
6061c3e52a Prefix move-to-top/bottom page-up/down with "core:" 2012-10-05 10:07:36 -10:00
Nathan Sobo
67c6ed8de7 Prefix "move-*" events with "core:"
I want to prefix all custom events for better categorization and to
distinguish them from built-in webkit events
2012-10-05 10:07:36 -10:00
Kevin Sawicki
c30220ae80 Uncomment lines that match non-whitespace prefix of comment regex 2012-10-04 15:37:28 -07:00
Nathan Sobo
6bfffcac55 Clear the miniEditor when showing the event palette 2012-10-04 10:26:07 -10:00
Nathan Sobo
c57e448ddd Un-F 2012-10-04 10:26:07 -10:00
Nathan Sobo
fc318ce5e9 Correctly focus fuzzy-finder/event-palette when triggered while other is showing
When canceling the fuzzy finder or event palette, we should only focus the root view / previous element if the mini editor is still focused. Otherwise, it was a change of focus elsewhere that caused us to be cancelled, and we don't want to interfere with that focus change.
2012-10-04 10:26:07 -10:00
Nathan Sobo
b979c2f671 Make the event palette narrower for now 2012-10-04 10:26:07 -10:00
Nathan Sobo
a895aa0826 Ctrl-enter toggles event palette (hides when showing)
I changed the event name to event-palette:toggle because ctrl-enter
should hide the event palette when it is showing. Previously that
broke, because we would try to re-show the event palette.
2012-10-04 10:26:07 -10:00
Nathan Sobo
66c997f75d Make EventPalette a SelectList subclass 2012-10-04 10:26:07 -10:00
Nathan Sobo
eced862902 Add select-list keymap that handles up/down/confirm/cancel
This means these bindings can be removed from the fuzzy finder keymap
2012-10-04 10:26:07 -10:00
Nathan Sobo
4f43169586 Un-F 2012-10-04 10:26:07 -10:00
Nathan Sobo
1e9b40a6ea Select the first list item after changing the list filter 2012-10-04 10:26:07 -10:00
Nathan Sobo
a4c25f1cb7 Fix bug where editor was not focused when selecting a path in fuzzy finder
This is hard to test. What was happening before is that the opening of
the file in the editor was causing the mini editor in the fuzzy finder
to be unfocused, which was then triggering the mini editor to cancel.
Some strange interaction of a focus triggered by a focus was causing
the editor to actually lose focus. By using @cancel to close the editor
instead of @detach, we avoid spurious handling of the unfocusing of the
editor because @cancel already avoids that.
2012-10-04 10:26:07 -10:00
Nathan Sobo
081a57b511 Position select lists at the top center like Sublime Text does 2012-10-04 10:26:07 -10:00