Commit Graph

307 Commits

Author SHA1 Message Date
Pieter de Bie ca6caee473 UserManual: fix home link 2008-10-10 21:59:21 +02:00
Pieter de Bie d3e945da90 UserManual: Add an upload task 2008-10-10 21:59:21 +02:00
Pieter de Bie 92cbaef70d UserManual: minimum requirements are git v1.5.4, not v1.5.3 2008-10-10 21:59:21 +02:00
Rufus Cable 7f4d6c28a9 Add /usr/local/git/bin/git to binary search path (this is used by the OSX binaries listed on the Git home page). 2008-10-10 21:59:21 +02:00
Pieter de Bie 2797d6aeb6 Update the Sparkle feed for 0.4 2008-10-10 21:59:21 +02:00
Pieter de Bie d16ee44b67 Release version 0.4 2008-10-10 21:59:21 +02:00
Pieter de Bie f26cbee2fc Add a help menu item 2008-10-10 21:59:20 +02:00
Pieter de Bie 97f80a2e51 Remove leftover code 2008-10-10 21:59:18 +02:00
Pieter de Bie 40e29732f4 Update ReleaseNotes 2008-10-04 23:04:12 +02:00
Pieter de Bie b2cd87cb72 GitWindow: Don't try to be smart with the view selector
Previously, we would try to copy the view selector from within
the RepositoryWindow, so we could reuse it and change it if we
need to.

However, that causes problems if you have another window open:
if we try to add an item using the insertItemWithIdentifier:atIndex:
method, the item will be added to _all_ toolbars with the same
identifier, even if those toolbars already have the item!

As I see no easy way to fix that, we completely avoid the issue
by not inserting any objects and just copying the view selector
from view to view.
2008-10-04 23:00:11 +02:00
Pieter de Bie a42adc6d82 CommitView: Allow doubleclick to (un)stage changes 2008-10-04 22:41:21 +02:00
Pieter de Bie 7793e5eed4 GitRepository: Quiet a git error when resolving symbolic ref
We already catch this in our code, so this was just
confusing the debug output.
2008-10-04 22:41:21 +02:00
Pieter de Bie 5a7d1e9d30 EasyPipe: Only show debug when user pref is set 2008-10-04 22:41:21 +02:00
Pieter de Bie 8c9697968b Better handle the cases when a Git binary can't be found 2008-10-04 22:41:16 +02:00
Pieter de Bie a8cb5905ea DiffView: Hilight trailing whitespace 2008-10-04 22:38:57 +02:00
Pieter de Bie 57d5db9d49 Documentation: Add User Manual
This is a first attempt on creating a user manual
for GitX. It's style is currently stolen from
Scott Schacon's git-scm.com website.
2008-10-04 00:56:18 +02:00
Pieter de Bie ffae6a8564 GitRepository: Add an "all branches" option in branches list
This is probably the most common non-branch GitX option, so
let's add it by default
2008-10-03 19:25:50 +02:00
Pieter de Bie bae7566cde HistoryView: Allow tripple-clicking on header to undo sorting 2008-10-03 19:07:05 +02:00
Pieter de Bie 8c59a1249a CommitView: Also read in new objects with null-separator 2008-10-03 19:06:47 +02:00
Pieter de Bie 36e8f1e5f2 gitx-cli: Add help text 2008-10-03 18:44:18 +02:00
Pieter de Bie a66ae7c1e7 Grapher: Always reset colors at start of graphing 2008-10-03 18:27:12 +02:00
Pieter de Bie 49631753a8 HistoryView: Allow sorting on commit subject
This was broken after binding the subject column
to the commit itself, rather than it's subject.
2008-10-03 18:24:15 +02:00
Pieter de Bie c3f5d517b3 Graphs: use chars to store line number
This reduces memory cost somewhat (10MB on the git.git repository),
while still keeping the same functionality :) Better would be to
use structs in a c array in the cellinfo, as the NSArray and
NSObject type information together now use more memory.
2008-10-03 18:10:43 +02:00
Pieter de Bie a0f248ef9f CommitView: Also show deleted files correctly 2008-10-03 18:06:57 +02:00
Pieter de Bie 7a5716b24d CommitView: Use null-terminated strings when reading the index 2008-10-03 18:06:41 +02:00
Pieter de Bie 7d0aa866ef Merge branch 'pu/cw/toolbar'
* pu/cw/toolbar:
  Move toolbar to view xib
  RepositoryWindow: Prettify view selector
  RepositoryWindow: Move view selector to the left and add a separator
  Adding view-specific toolbars.
2008-10-03 17:20:51 +02:00
Pieter de Bie e2119d011b Merge branch 'pu/pb/nicer_diff'
* pu/pb/nicer_diff:
  DiffView: make diff width 100%
2008-10-03 17:20:47 +02:00
Pieter de Bie e329493154 Move toolbar to view xib 2008-10-03 17:18:26 +02:00
Pieter de Bie 37a812504a DiffView: make diff width 100% 2008-10-03 14:44:18 +02:00
Pieter de Bie 9a927bcad4 RepositoryWindow: Prettify view selector 2008-10-02 22:13:56 +02:00
Pieter de Bie 7347d7d254 RepositoryWindow: Move view selector to the left and add a separator 2008-10-02 22:04:59 +02:00
Christian Jacobsen e25aec668b GitRepository: Skip empty lines when parsing refs
This fixes loading repositories.
2008-10-02 20:46:07 +02:00
Ciarán Walsh e1704729f9 Adding view-specific toolbars. 2008-09-30 23:14:02 +01:00
Pieter de Bie b753ab09e5 CommitView: Don't allow empty commits 2008-09-28 21:25:53 +02:00
Pieter de Bie 4de0a4a4bb Add a file to test diff display on 2008-09-28 20:55:02 +02:00
Pieter de Bie 8c457e9f83 Use an alternative style for the diffs 2008-09-28 20:48:55 +02:00
Pieter de Bie 8835624d29 CommitView: Escape HTML characters with new files 2008-09-28 16:57:50 +02:00
Pieter de Bie 01966d59c7 WindowController: Make sure the subview is the right size before adding it
This fixes a rendering bug when you start in commit view and 
then switch to History view.
2008-09-28 16:14:47 +02:00
Pieter de Bie 1028157cbc Fix memory leaks
This changes a bunch of ivars to __weak's, to avoid reference loops.
Furthermore, in PBGitHistoryController, we need to call [webView close],
otherwise some memory will never be freed?
2008-09-28 16:14:00 +02:00
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