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
Pieter de Bie
87b6a12cc4
Add release notes
2008-08-28 00:27:33 +02:00
Pieter de Bie
a294d911b0
Grapher: Add colors to lane
...
This introduces a new object, PBGitLane that keeps track of the current lane.
We used to only need a sha for a lane, but now that more information is
needed, an extra object is in order. PBGitLane keeps a lane index number. This
number is later used to pick a color.
2008-08-28 00:25:33 +02:00
Pieter de Bie
727e42fe1d
Refactor and rename graph code
2008-08-27 23:31:38 +02:00
Pieter de Bie
f45fa854f3
Add some Grapher Documentation
2008-08-27 23:12:47 +02:00
Pieter de Bie
58dd5e183e
Modify Rakefile to allow to publish stable releases
2008-08-27 23:10:09 +02:00
Pieter de Bie
792cfd6941
Merge branch 'fix_interspacing'
...
* fix_interspacing:
Remove cell size adjustment
Remove the horizontal spacing between the rows in the commit list tableview.
v0.1
2008-08-27 22:37:24 +02:00
Pieter de Bie
6886bc5afb
Remove cell size adjustment
...
We added a rect adjustment in the graphing cell in order to draw
outside the cell boundaries. This is no longer necessary
2008-08-27 22:36:42 +02:00
Ciarán Walsh
c1e701a379
Remove the horizontal spacing between the rows in the commit list tableview.
...
This is to prevent horizontal white lines from displaying in the graphs.
2008-08-27 21:15:23 +01:00
Pieter de Bie
d8068b1398
Don't display graph if there's a search or a sort
...
This does introduce a new issue: You can't reset the graph after
having ordered. How to introduce this into the GUI?
2008-08-27 22:14:11 +02:00
Pieter de Bie
6b36db750c
Grapher: User a lower line instead of a lower line somewhere
2008-08-27 21:58:48 +02:00
Pieter de Bie
bbeedd10ce
Rewrite the graphing code
...
This uses more Cocoa classes to draw the lines, making it easier to
understand and hopefully maintain.
Furthermore, we use less memory now, which is nice, but all the
dynamic arrays probably mean more CPU usage.
2008-08-27 21:51:42 +02:00
Pieter de Bie
b99e1a85d6
Merge commit 'ciaran/grapher'
...
* commit 'ciaran/grapher':
Grapher: add speed tests
Discard branches that run for too long
PBGitRevList: use --topo-order for better graphs
PBGitGrapher: Improve the grapher
First take on graphing
2008-08-27 18:10:59 +02:00
Ciarán Walsh
62f6463ec4
Suppress useless svn repository ID e-mail addresses.
...
When there is no e-mail address available git-svn will substitute the loginname@svn-repository-ID, but this is confusing and useless to have linked/display.
2008-08-27 13:12:19 +02:00
Ciarán Walsh
ce37b09862
Merge commit 'pieter/master' into grapher
...
Conflicts:
ApplicationController.m
GitX.xcodeproj/project.pbxproj
PBGitRepository.m
PBGitRevList.m
2008-08-19 13:12:20 +01:00
Ciarán Walsh
8de6a10c88
Remember the currently selected tab across sessions.
2008-08-19 08:32:03 +01:00
Ciarán Walsh
2b0a4da416
There’s no need for selectedTab to be an NSNumber (and certainly not an IBOutlet).
2008-08-19 08:32:03 +01:00
Ciarán Walsh
01a5cf3817
awakeFromNib should be void
2008-08-19 08:32:03 +01:00
Ciarán Walsh
159924ae9f
Add the standard ⌥⌘F shortcut to focus the search field in the toolbar
2008-08-19 08:32:03 +01:00
Ciarán Walsh
2cb8e7ac5a
Restore the search field functionality.
...
Allows searching by subject, author or SHA.
2008-08-19 08:32:02 +01:00
Pieter de Bie
072de9bbbd
Add a create_zip Rake task
...
This makes it easier for me to release new versions.
2008-08-19 01:11:30 +02:00
Pieter de Bie
0fccf5a3bb
Remove extra buttons
...
These aren't used for now anyway, and this looks cleaner.
2008-08-19 00:34:01 +02:00
Pieter de Bie
045db4b625
WebView: limit diffs to a width of 250, not 100
...
100 was a bit low.
2008-08-19 00:26:29 +02:00
Pieter de Bie
d39648e8d4
Show the current checked out HEAD if no branch is selected
2008-08-19 00:25:32 +02:00
Ciarán Walsh
9b6974bf31
Prevent confusing filenames when quick-looking files.
...
Instead of creating a file with a random prefix, create a file with the same name in a temporary directory name. This way the quicklook window shows the correct filename.
2008-08-19 00:16:31 +02:00
Ciarán Walsh
12faa4a8f0
Avoid showing .git dirs in the recent documents menu.
...
Instead (for non-bare repos) add the directory above the .git dir.
2008-08-19 00:16:15 +02:00
Pieter de Bie
d320a4bc43
Fix a bug in reading the current branch
2008-08-18 23:59:45 +02:00
Pieter de Bie
ec9861e543
Allow switching of branches
2008-08-18 23:54:48 +02:00
Pieter de Bie
3e8fbf6d15
Refactor command output to new functions
2008-08-18 23:26:15 +02:00
Pieter de Bie
9135163f24
Read the current branch from the repository
2008-08-18 23:06:37 +02:00
Pieter de Bie
eeca836454
Also readBranches when opening as a NSDocument.
2008-08-18 22:26:34 +02:00