Commit Graph

6141 Commits

Author SHA1 Message Date
Adam Roben
5f2bd9edd7 Add a prebuild script for Constructicon
Constructicon will run this just before building the project, so this is
our chance to install the node modules we need and create the
.xcodeproj.
2013-03-05 14:32:50 -08:00
Kevin Sawicki
91347f14f2 Build libgit2 with thread safe option enabled 2013-03-05 14:27:19 -08:00
Corey Johnson & Kevin Sawicki
7eee81cd6a Return early when clipping tokenless screenline
Closes #337
2013-03-05 10:44:15 -08:00
Corey Johnson & Kevin Sawicki
94099358f3 Inserting whitespace never auto-outdents
Closes #340

Shout out to @nathansobo
2013-03-05 10:19:24 -08:00
probablycorey
37e4091723 💩 2013-03-05 10:13:18 -08:00
probablycorey
17fc679b25 Trigger resize event on editor before wrap guide specs 2013-03-05 09:43:38 -08:00
Corey Johnson & Kevin Sawicki
8c1ec19797 Always destroy misspelling markers 2013-03-05 09:24:41 -08:00
Kevin Sawicki
1c09a1352b Return {} when object is empty 2013-03-05 08:46:17 -08:00
Kevin Sawicki
5ddea28d80 Wrap objects inside arrays in {} 2013-03-05 08:42:24 -08:00
Kevin Sawicki
887e285cce 💄 2013-03-04 22:07:22 -08:00
Kevin Sawicki
464aed92cb Don't return before freeing references 2013-03-04 22:04:13 -08:00
Kevin Sawicki
eb00623807 Return null when no merge base is found 2013-03-04 21:56:14 -08:00
Kevin Sawicki
60c2829af4 Move ahead/behind defaults to Git class 2013-03-04 21:47:21 -08:00
Kevin Sawicki
a389d57219 Remove unneeded null terminators
These are already added by sprintf
2013-03-04 21:43:35 -08:00
Kevin Sawicki
11b5fc14dc Check that remote length is non-zero 2013-03-04 21:43:35 -08:00
Kevin Sawicki
5005aa0c7c Add null terminator to upstream branch string 2013-03-04 21:43:35 -08:00
Kevin Sawicki
673e8c948f Prevent repository config from leaking 2013-03-04 21:43:35 -08:00
Kevin Sawicki
8b7e3c1092 Remove unused imports 2013-03-04 21:43:35 -08:00
Kevin Sawicki
a1570a77e0 Add back saved event handler 2013-03-04 21:43:35 -08:00
Kevin Sawicki
165dffc15d Always return array from Git.getLineDiffs() 2013-03-04 21:43:34 -08:00
Kevin Sawicki
060ed27a2f Set context lines to 1 for line diffs 2013-03-04 21:43:34 -08:00
Kevin Sawicki
885da83df2 💄 2013-03-04 21:43:34 -08:00
Kevin Sawicki
c9ef846727 Only replace .git segment if trailing 2013-03-04 21:43:34 -08:00
Kevin Sawicki
c14aa3b86f Default status to 0 if undefined
This keeps the status-changed event from triggering
the first time the status is requested as it goes
from undefined to 0 which should be treated as no
change.
2013-03-04 21:43:34 -08:00
Kevin Sawicki
1be0b817de Specify text as second parameter 2013-03-04 21:43:34 -08:00
Kevin Sawicki
14a73337ce Remove unused diff options 2013-03-04 21:43:34 -08:00
Kevin Sawicki
72851486d8 💄 2013-03-04 21:43:34 -08:00
Kevin Sawicki
ab5043f890 Add method to get line diffs for path and text 2013-03-04 21:43:34 -08:00
Kevin Sawicki
e3ebda7d30 Show commits ahead/behind upstream in status bar 2013-03-04 21:43:34 -08:00
Kevin Sawicki
fd82f3f8a4 Add method to get ahead/behind commit counts 2013-03-04 21:43:34 -08:00
Kevin Sawicki
3703877ae8 Default status flags to 0 2013-03-04 21:43:34 -08:00
Kevin Sawicki
4384c69dcf Delete cached statuses unless non-zero 2013-03-04 21:43:34 -08:00
Kevin Sawicki
7838f3741f Update status finder keybinding to meta-B 2013-03-04 21:43:33 -08:00
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
31690d16ec Remove unused import 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
2e7e4b3ee4 💄 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
219a8581fd 💄 2013-03-04 21:43:33 -08:00
Kevin Sawicki
94449f772c Initialize statuses and task variables correctly 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
68b61d71c6 Trigger event when path status changes 2013-03-04 21:43:32 -08:00
Kevin Sawicki
083562e1aa Abort status task when destroyed 2013-03-04 21:43:32 -08:00
Kevin Sawicki
c6e89d33f8 Git.refreshStatuses() -> Git.refreshStatus() 2013-03-04 21:43:32 -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
Kevin Sawicki
4add7b6213 Support getting status of entire repository
New Git.getAllStatuses() method returns all non-ignored
status entries in the repository.
2013-03-04 21:43:32 -08:00