Pieter de Bie
95c4bcbaba
Don't store the windowcontroller in an iVar
...
There's no need to, as we can just retrieve it from
the WindowControllers array.
2008-09-28 13:31:47 +02:00
Pieter de Bie
b255fb39d8
Fix branch reloading
...
This fixes a regression in 86606ef8 , where the branches array was
created anew every time the branches were reloaded, causing you to
lose current branch selection.
2008-09-28 13:10:57 +02:00
Pieter de Bie
a2217fe099
Reload commits after doing a commit
2008-09-28 13:03:55 +02:00
Pieter de Bie
1f7d745bb9
RevList: Decorate commits in the same thread
...
This simplifies matters greatly, and shouldn't be a huge performance
decrease (unless you have > 2 cores, but even then). This also
fixes a bug with the new --early-output, where commits would show
multiple times because they were outputted twice.
2008-09-28 12:14:13 +02:00
Pieter de Bie
4131258108
CommitController: Read index data to EOF
...
Otherwise not all information may be parsed correctly
2008-09-27 00:32:06 +02:00
Pieter de Bie
709547ac85
Add Commit/History options in View menu
2008-09-26 23:30:52 +02:00
Pieter de Bie
86606ef815
Add a --commit option to the CLI client
...
This changes a lot of code, so quick review:
* RepositoryDocumentController now returns the document without selecting a ref
* PBGitWindowController now optionally shows the default view, or selects no view at all
* PBGitRepository keeps a pointer to its WindowController so that it can change views
2008-09-26 23:22:15 +02:00
Pieter de Bie
de9f4ddf91
HistoryView: Add copy behaviour in commit list
...
This copies text like:
2e7cd5268d (Remember selected view (history or commit))
to the pasteboard on command-c
2008-09-26 18:43:06 +02:00
Pieter de Bie
0a80eb16cb
RevList: Use --early-output to get some first hits quickly
...
This uses the --early-output feature of git logs to
display the first few commits quickly
2008-09-26 02:18:29 +02:00
Pieter de Bie
2f0131af0d
RevList: Rewrite parents with path limiting
...
This appends the --children option to `git log`, so
that parents are correctly rewritten.
2008-09-26 01:59:22 +02:00
Pieter de Bie
0d0a83f381
HistoryView: Reset the sorting after selecting another branch
2008-09-26 00:56:16 +02:00
Pieter de Bie
8c01a2964b
HistoryView: Don't show path lines if the list is changed
...
This avoids drawing path lines if the list is sorted
or if there is a search, which would show the lines incorrectly.
2008-09-26 00:52:33 +02:00
Pieter de Bie
ff6cc26181
CommitView: Don't show commit / amend radio buttons
...
As this function is not yet implemented, just don't show it.
2008-09-26 00:41:57 +02:00
Pieter de Bie
b243e86a58
CommitController: Don't show files that are in conflict twice
2008-09-26 00:39:56 +02:00
Pieter de Bie
d3f97bdfcb
GitWindowController: bind selected view to controller
...
This used to be bound to the UserDefaults, but that introduced the
bug that switching the view in one window also switched it in other
open windows.
See 2e7cd5268d
2008-09-26 00:35:05 +02:00
Pieter de Bie
188d13f2e3
WebGitController: Add a policy to open links in browser
...
This was supposed to accompany the "Add gistie" commit, but
somehow I forgot. Without this, links to be opened in new windows
would not function.
2008-09-26 00:23:32 +02:00
Pieter de Bie
0f60b0cc44
HTMLView: Escape commit message from HTML entities
2008-09-26 00:19:30 +02:00
Pieter de Bie
978d7cb2b1
CommitView: Correctly set the default commitmessage font to Monaco 12
...
This way, wo don't need any text entered to set a font.
2008-09-26 00:11:49 +02:00
Pieter de Bie
b005066fb2
CommitView: Make sure controllers are notified on refresh
...
This makes sure the controllers are notified if we empty the file
array for an index refresh.
I don't know if this is necessary, but it can't hurt.
2008-09-26 00:04:01 +02:00
Pieter de Bie
973d83e35c
CommitView: Switch icon colors
...
It makes more sense to color existing icons green, and
new icons white.
2008-09-25 23:59:12 +02:00
Pieter de Bie
37cda5faa4
CommitView: Intelligently add files
...
Rather than rereading our status every time we add something,
calculate where a file should go.
2008-09-25 23:57:48 +02:00
Pieter de Bie
001b6bf10e
CommitView: Handle new files better
...
This fixes the 'cat' command that was acting up and also shows
information when a file could not be displayed
2008-09-25 23:45:14 +02:00
Pieter de Bie
d58127e6a2
CommitView: Sort items based on status and then path
2008-09-25 23:37:44 +02:00
Pieter de Bie
08338c5e2d
Update ReleaseNotes
2008-09-25 23:31:48 +02:00
Pieter de Bie
0ad81bc2a6
CommitView: Use the status bar to update on status
2008-09-25 23:31:24 +02:00
Pieter de Bie
55b37d903c
CommitView: Asynchronously read in the files
...
This makes the gui more responsive, as it doesn't block while
exec'ing git 3 times.
2008-09-25 23:15:00 +02:00
Pieter de Bie
c6966ade41
HistoryView: Add a method to put a commit online
2008-09-25 22:25:46 +02:00
Michiel Holtkamp
991045c019
Changed default diff.html (nothing to commit) to something more understandable
2008-09-24 18:26:50 +02:00
Pieter de Bie
aafc284eb8
ChangedFile: add a path separator to reset command
...
Sometimes a file could not be reset because it contained weird characters.
This hopefully fixes it.
2008-09-24 17:33:19 +02:00
Pieter de Bie
b257f0090a
Fix compiler warnings
2008-09-24 17:19:58 +02:00
Pieter de Bie
2676a20291
Fix some compiler warnings
2008-09-24 01:25:30 +02:00
Pieter de Bie
3f923f51a1
CommitView: Add commit capability
2008-09-24 01:08:10 +02:00
Pieter de Bie
4024753045
PBEasyPipe: Add a new method to provide input
2008-09-24 01:07:15 +02:00
Pieter de Bie
76e176e8b4
Add staging and unstaging of files
2008-09-24 00:47:41 +02:00
Ciarán Walsh
2e7cd5268d
Remember selected view (history or commit)
2008-09-23 22:58:53 +01:00
Ciarán Walsh
9893037d86
Hit testing and action sending
2008-09-23 22:41:32 +01:00
Ciarán Walsh
3a8c0c8892
A bit of tidying up
2008-09-23 22:24:39 +01:00
Ciarán Walsh
b8292f1b34
Adding an icon and text cell implementation from CocoaDev
2008-09-23 22:11:28 +01:00
Pieter de Bie
62612f0e51
Use a more logical checkout
2008-09-23 21:51:31 +02:00
Pieter de Bie
9b3909e759
CommitView: Add a status bar to the diff view
2008-09-23 21:51:20 +02:00
Pieter de Bie
81e257f4e6
CommitController: add missing declaration
2008-09-23 20:31:46 +02:00
Pieter de Bie
8a687840cb
Merge commit 'HEAD@{1}'
...
* commit 'HEAD@{1}':
Show a pretty status bar
Conflicts:
PBGitCommitView.xib
2008-09-23 20:30:18 +02:00
Ciarán Walsh
5111b363ef
Setting up target/action for the file icon buttons
2008-09-23 18:37:15 +01:00
Ciarán Walsh
7be97dcbf8
Using button cells instead of image cells, for the icons, so we can hook up an action.
2008-09-23 18:08:28 +01:00
Pieter de Bie
e9f4830e1c
Show a pretty status bar
2008-09-23 02:40:59 +02:00
Pieter de Bie
cafcdeac5a
Remove leftover file references
2008-09-23 02:18:02 +02:00
Pieter de Bie
44009b6f3e
CommitView: use only one array for all files
2008-09-23 02:04:12 +02:00
Pieter de Bie
252796ee26
CommitView: Show basic files
2008-09-23 01:02:33 +02:00
Pieter de Bie
4ebe4b4aa9
PBGitRepository: add a handle for in-worktree-commands
2008-09-22 22:49:59 +02:00
Pieter de Bie
53dfea545e
PBViewController: Extract common code to a superclass
2008-09-22 21:40:42 +02:00