Commit Graph

657 Commits

Author SHA1 Message Date
Kevin Sawicki
4c773439d2 Bind meta-T to display modified/untracked files 2013-03-04 21:43:33 -08:00
Kevin Sawicki
77bc42bd45 Put status indicator on right side of fuzzy finder
Closes #313
2013-03-04 21:43:33 -08:00
Kevin Sawicki
3852b7212b Remove git-status-changed event from Buffer
This is now fired as a status-changed event from
the Git class when the checkout completes normally
and the status of the path changes.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
77a5f4775a Show Git status indicators on directories
Closes #301
2013-03-04 21:43:33 -08:00
Kevin Sawicki
587a6552ea Use subscribe instead of on 2013-03-04 21:43:33 -08:00
Kevin Sawicki
4fe6db240b Consolidate Git status checking
Now the status bar and tree view both listen for
status change events and use the cached information
available from the git object to update their views.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
2ec4d558ba Make project's Git repository a window global
This allows it to operate independently of the
project and mirror the availability of the root view
and project.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
910be149ab Show status icons in fuzzy finder 2013-03-04 21:43:33 -08:00
Kevin Sawicki
50bc1aac74 Add task to refresh status of repository
By default this will occur when the window gains
focus and the Git class can now be subscribed to
so listeners can become notified when the status
of a repository changes.
2013-03-04 21:43:32 -08:00
probablycorey
30d4cb81b8 Use Courier as the default font for specs
Fixes #323
2013-03-04 16:40:02 -08:00
Adam Roben
6511d0e111 Replace ## in package-generator templates with __
This is a workaround for
<http://code.google.com/p/gyp/issues/detail?id=323>.

A future change will cause gyp to generate Makefiles to compile
.coffee/.cson files to .js/.json. Makefiles use # as the comment
character, and gyp isn't smart enough to escape the #. So now we don't
use # in filenames to work around this bug.
2013-03-04 11:21:29 -05:00
Kevin Sawicki
58bd83a225 Always unsubscribe when changing buffers
Previously subscribeToBuffer() returned early
in certain cases without first unsubscribing to
the current buffer.
2013-03-01 10:54:52 -08:00
Kevin Sawicki
14bd7741d1 Change octicon based on creating file or folder 2013-02-28 16:04:18 -08:00
Kevin Sawicki
e36a3c18fb Remove .coffee extension from package main 2013-02-28 15:15:09 -08:00
Kevin Sawicki
35ca8a42a1 Display error when symbol's file does not exist 2013-02-28 15:06:48 -08:00
Kevin Sawicki
56d92fe029 Hide/show loading message instead of toggling 2013-02-28 11:25:02 -08:00
Kevin Sawicki
23c3b18cf4 Add [] as word boundaries
This is a common boundary used in markdown link text
2013-02-27 11:08:35 -08:00
Kevin Sawicki
a4efc32d45 Display corrections for misspelling on meta-0
A select list will now display with possible corrections
and the misspelling will be replaced when one is selected.
2013-02-27 10:08:02 -08:00
Kevin Sawicki
b5c9e634fd Add addViews method to mirror destroyViews 2013-02-27 08:42:01 -08:00
Kevin Sawicki
1f4df2878f Add spec for disabling spell check of a grammar 2013-02-27 08:39:51 -08:00
Kevin Sawicki
2f8b8c4fc7 💄 2013-02-27 08:33:06 -08:00
Kevin Sawicki
0398e160ae Include apostrophe in word regex 2013-02-26 19:15:18 -08:00
Kevin Sawicki
65cb929b99 Add initial spell checker package
This adds spell checking to editor's using the
text, markdown, or Git commit message grammars.
2013-02-26 18:49:22 -08:00
Corey Johnson & Kevin Sawicki
6e4f497ef6 💄 2013-02-26 09:58:55 -08:00
Corey Johnson & Kevin Sawicki
34ab1d5c03 Remove unused variable 2013-02-25 18:20:42 -08:00
Kevin Sawicki
9f6855e2cb Remove useless div around function details 2013-02-25 15:29:46 -08:00
Kevin Sawicki
6d7971cd50 Reduce flakiness of symbols view spec
Make sure file is removed before a file is moved
over top of it.
2013-02-25 14:03:16 -08:00
Kevin Sawicki & Nathan Sobo
94a17e73ba Don't automatically focus when attach is called
Only focus when toggling the tree view or revealing
an active file.

This prevents the tree view from stealing focus when it
is attached during deserialization.
2013-02-25 11:53:42 -08:00
Kevin Sawicki
6563dabe51 Simplify loading message toggling
Add the 'is-loading' class and text from the
content method and just call toggle directly on
the outlet to hide/show.
2013-02-25 10:19:11 -08:00
Kevin Sawicki
9b231e8c4e Add increase indent pattern for GFM scope 2013-02-25 08:58:47 -08:00
Kevin Sawicki
8b2c088bc9 Add support for escaped characters in TOML strings 2013-02-24 19:40:47 -08:00
Kevin Sawicki
fca182a470 Add initial TOML support 2013-02-24 09:56:26 -08:00
Kevin Sawicki
a712f00d7e Put expects in a runs block 2013-02-22 21:48:50 -08:00
Corey Johnson & Kevin Sawicki
c7ff431d13 Don't rely on specific time in EditorStats spec 2013-02-22 17:17:07 -08:00
Kevin Sawicki
297ee396ca Remove empty package-generator keymap 2013-02-22 11:44:23 -08:00
Kevin Sawicki
69b93c5397 Bind ctrl-[] to collapse and expand directories 2013-02-20 16:48:40 -08:00
Kevin Sawicki
932f2c4603 Use RootView.eachEditor to attach snippet commands
Previously the 'editor:attached' was used which would not
fire for editors already attached and so any editors
opened before the snippets package was loaded would not
have snippets enabled.
2013-02-20 12:06:03 -08:00
Kevin Sawicki
3532631002 Remove unused require 2013-02-19 21:12:58 -08:00
Corey Johnson & Nathan Sobo
47aa74133f Remove unneeded calls to rootView.deactivate 2013-02-19 18:26:51 -07:00
Corey Johnson & Nathan Sobo
9e8831f710 RootView.initialize no longer assigns window.rootView or calls open 2013-02-19 18:26:50 -07:00
Corey Johnson & Nathan Sobo
0b5ea8578f Eliminate rootView.project references. 2013-02-19 18:26:50 -07:00
Nathan Sobo
7f2747ead0 Make project a global and refactor startup process 2013-02-19 18:26:50 -07:00
Corey Johnson & Kevin Sawicki
e4f87d522f Rename Task.terminate to Task.abort 2013-02-19 10:57:04 -08:00
Corey Johnson & Kevin Sawicki
7db83662b5 Only terminate worker after the worker completes work 2013-02-19 10:57:04 -08:00
Kevin Sawicki
10430842b0 Use binary icon for .woff and .DS_Store extensions 2013-02-16 09:54:20 -08:00
Kevin Sawicki
54812a6ff8 Bind l to insert link in markdown 2013-02-15 15:18:13 -08:00
Kevin Sawicki
2910f7798a Always use global rootView object
This removes the last few places where rootView was
looked up via jQuery selector and instead just uses
the rootView property available on the window.
2013-02-15 09:56:03 -08:00
Kevin Sawicki
ef4449d1ed Don't store package state in command-panel package
The package loader now only calls serialize if activate
has been called and reuses the previous state if the package
is never activated.
2013-02-14 17:30:45 -08:00
Kevin Sawicki & Nathan Sobo
992fbaafbc Recycle bracket highlight views 2013-02-14 18:08:26 -07:00
Corey Johnson
35ff2744ac Attach the tree view if the project has no serialized state 2013-02-14 16:40:24 -08:00