175 Commits

Author SHA1 Message Date
Pieter de Bie eda55b142b Release version 0.3 v0.3 2008-09-12 23:10:29 +02:00
Pieter de Bie f0fb0c87cd Also display HEAD if on a detached HEAD 2008-09-12 22:57:22 +02:00
Pieter de Bie 978a22c5a5 Add 'v' as a shortcut to show large diffs 2008-09-12 22:17:31 +02:00
Pieter de Bie ce2fa7961f Update releasenotes 2008-09-12 22:13:40 +02:00
Pieter de Bie c3c4f98c66 Allow hunk navigation by using j/k keys 2008-09-12 22:12:58 +02:00
Pieter de Bie 78e45bd22c Add support for --left-right
This draws rectangles instead of circles when someone supplies
--left-right as a GitX argument
2008-09-12 20:29:09 +02:00
Pieter de Bie 69c0cae04f Update documentation 2008-09-12 19:35:11 +02:00
Pieter de Bie 3d42a4e942 Select the current HEAD if running gitx without arguments 2008-09-12 18:44:10 +02:00
Pieter de Bie 0617f11619 Select existing ref if it exists 2008-09-12 18:44:06 +02:00
Pieter de Bie 787c7892a2 Don't draw a graph when we have path specifier
This is currently broken. Gitk fixes it by recalculating the parents
of every commit, but this is expensive so it's not yet implemented.
2008-09-12 18:41:03 +02:00
Pieter de Bie 12e2044c34 Simplify PBGitRevList
We don't need the old initialisation anymore
2008-09-12 18:03:55 +02:00
Pieter de Bie 3c7a22ef56 Let the gitx CLI use our RevSpecification 2008-09-12 17:56:42 +02:00
Pieter de Bie dea6a77d02 Add branch control to the PBGitRepository
This allows you to add and select specific branches
2008-09-12 17:55:45 +02:00
Pieter de Bie 81d80cbbe4 Fix potential bug when reading in a revision that is not simple 2008-09-12 17:54:28 +02:00
Pieter de Bie fc88117659 Extend PBGitRevSPecifier
This makes the description more useful and adds a
path limiter function
2008-09-12 17:53:56 +02:00
Pieter de Bie e3af731305 Use a PBGitRevSpecifier to specify possible branches 2008-09-12 17:28:08 +02:00
Pieter de Bie 7b2efe1ac2 Change current document when called with different arguments 2008-09-12 14:47:06 +02:00
Pieter de Bie b6b54bcca5 Display arguments if they are there 2008-09-12 14:46:43 +02:00
Pieter de Bie 9b6695e3a0 Only show the open dialog if the application is active
This fixes an issue where command line arguments were not passed because
the repository was already opened.
2008-09-12 14:32:15 +02:00
Pieter de Bie 42e8196e1f Pass on arguments from the command line to the revwalk mechanism 2008-09-12 13:18:05 +02:00
Pieter de Bie 68bf7621ed RevList: Use passed on parameters on specifying commits 2008-09-12 13:18:05 +02:00
Pieter de Bie 5ceb62a0d5 CLI: allow passing of command line arguments 2008-09-12 13:18:05 +02:00
Pieter de Bie 2702572a7b Also use our icon for the .git filetype 2008-09-12 12:51:44 +02:00
Pieter de Bie 4dde9f3095 Allow selection of .git directories in the modal dialog 2008-09-12 12:45:06 +02:00
Pieter de Bie bcba52e3d9 Fix detection of bare repositories 2008-09-12 12:37:23 +02:00
Pieter de Bie 84d929d6fc Allow scrolling of the webView by pressing space 2008-09-12 11:54:45 +02:00
Pieter de Bie 8c076bb8ad Fix the 'parent' link in commits
This allows you to click on the parent link to select a parent. Also fixes
an issue that the NSTableView would not scroll to the correct commit.
2008-09-12 11:54:39 +02:00
Pieter de Bie db68f38232 Also display remote heads in branch list 2008-09-12 11:45:05 +02:00
Bob Aman d96916db17 Added temporary icon for GitX. 2008-09-10 20:34:18 +02:00
Pieter de Bie e94dc16e4a Add Sparkle update framework v0.2.1 2008-09-07 00:21:59 +02:00
Pieter de Bie 7a96328a67 Bump version to 0.2 v0.2 2008-09-06 23:11:53 +02:00
Pieter de Bie 7f5c353ea8 Use prettier colors for labels 2008-09-06 23:10:09 +02:00
Pieter de Bie ad2e001747 Grapher: don't let the labels go down 2008-09-06 23:01:50 +02:00
Pieter de Bie 06f737df9a Use PBGitRef for other refs 2008-09-06 23:00:41 +02:00
Pieter de Bie d35786952c Merge branch 'display_tags'
* display_tags:
  Grapher: add coloring to ref labels
  Fix a crashing bug in PBGitRepository
  Add a PBGitRef, a class to represent refs
  Some minor cleanup of the commit-ref drawing.
  Grapher: draw ref names
  Grapher: dereference annotated tags
  Grapher: add first part of displaying refs
2008-09-06 22:31:29 +02:00
Pieter de Bie 939a1079f9 Grapher: add coloring to ref labels 2008-09-06 22:31:10 +02:00
Pieter de Bie 96917943b6 Fix a crashing bug in PBGitRepository
A ref might be less than 11 characters. In those cases, the substringToIndex
would produce a fatal out-of-bounds.
2008-09-06 22:29:18 +02:00
Pieter de Bie 8e949184bc Add a PBGitRef, a class to represent refs 2008-09-06 22:28:44 +02:00
Ciarán Walsh f631f54ddc Some minor cleanup of the commit-ref drawing.
Proper calculation of the width required; each ref is given its own rounded box.
2008-09-06 21:13:58 +02:00
Pieter de Bie 96bd5d826c Update project settings
This sets the version number correctly
2008-08-28 20:35:57 +02:00
Pieter de Bie 63341f93cf Use --topo-order when asking for commits
This fixes a bug where for example the Git.git repository
did not display correctly, as some commits were emitted before
their parents
2008-08-28 20:34:09 +02:00
Pieter de Bie b4d7816be7 Grapher: draw ref names
This simply draws the ref names in the cell, without any markup or correct
rect.
2008-08-28 18:07:34 +02:00
Pieter de Bie ae7d15a247 Grapher: dereference annotated tags
The for-each-ref construct used to return the tag sha for annotated tags.
We're not really interested in that, so also display its referenced object.
2008-08-28 17:46:54 +02:00
Pieter de Bie 9bfccb5ea5 Grapher: add first part of displaying refs
This adds the "hasRef" boolean member in PBGitCellInfo which is set to true
if the specific commit has symbolic refs.

This is the first part in supporting labels just like gitk has. For now,
commits with refs are just displayed with a red circle.

Things that need to be done to support all refs:

	* Make the NSDictionary in PBGitRepository contain arrays of refs,
	  not a single string
	* Make PBGitGrapher store all refs of a commit in the PBGitCellInfo
	* Figure out a nice way to display the labels in PBGitRevisionCell
2008-08-28 17:29:34 +02:00
Pieter de Bie d21926e213 Don't draw lanes if we don't have any parents anymore 2008-08-28 02:55:15 +02:00
Pieter de Bie 3c481e4472 Add a Refresh menu item 2008-08-28 02:07:35 +02:00
Pieter de Bie db1384bb7e Fix graph drawing bugs
There were two bugs in the drawing code
First of all, the code would overwrite a current commit, thereby
not allowing a merge.

Furthermore, it failed to unindent a commit if we missed a column.
2008-08-28 01:53:05 +02:00
Pieter de Bie ed13cf5194 Grapher: use Tango colors for now 2008-08-28 01:06:26 +02:00
Pieter de Bie 1283e308c8 Really move the spacer 2008-08-28 00:35:11 +02:00
Pieter de Bie aa1e156d4a Move branches menu to the left, disable list editing 2008-08-28 00:31:50 +02:00