Commit Graph

197 Commits

Author SHA1 Message Date
Pieter de Bie 194fe0ca3f Show the selected branch on startup
First, I had to disable this setting to show the branch,
now I have to enable it again?...
2008-09-19 19:56:14 +02:00
Pieter de Bie 887cf21bf7 Also reload refs in the webview 2008-09-19 19:41:47 +02:00
Pieter de Bie f705bd46ab Merge branch 'insta-decorate'
* insta-decorate:
  Add framework to support removing refs
  Show refs in HTML view
  Allow copy and pasting of web source by pressing 'c'
  Refactor cellInfo structure
  Only decorate if we need to
  Multithread test
  Add objective c diff header

Conflicts:
	GitX.xcodeproj/project.pbxproj
2008-09-19 19:22:40 +02:00
Pieter de Bie 1f783c91c4 Reload refs on refresh 2008-09-19 19:17:07 +02:00
Pieter de Bie 86a34b64ae Remember window location when quitting GitX 2008-09-19 18:36:24 +02:00
Pieter de Bie 38f16a2122 Allow copy and pasting of web source by pressing 'c' 2008-09-19 15:03:51 +02:00
Pieter de Bie f8270f38fb Add framework to support removing refs 2008-09-19 14:40:51 +02:00
Pieter de Bie 58f0a383b2 Show refs in HTML view 2008-09-19 13:56:46 +02:00
Pieter de Bie f48d0022e2 Allow copy and pasting of web source by pressing 'c' 2008-09-19 13:55:33 +02:00
Pieter de Bie db39aeebeb Also look for git in /usr/local/bin/git 2008-09-18 02:22:35 +02:00
Pieter de Bie 6e978dcea4 Refactor cellInfo structure
This makes the PBGitRevisionCell a bit nicer by retrieving all values
from the PBGitCommit object itself, and using another NSTextFieldCell to
draw the text.

This mean that PBGitGrapher now stores its information in the PBGitCommit's,
rather than in a custom grapher array. Also, because we don't need the
grapher to display refs anymore, the ref labels are also displayed when
using path limiting (for example, 'gitx -- Makefile').
2008-09-18 01:27:05 +02:00
Pieter de Bie 48fa140813 Only decorate if we need to 2008-09-17 23:40:42 +02:00
Pieter de Bie eeb3309f1e Multithread test 2008-09-17 23:13:05 +02:00
Pieter de Bie 3d21ae4053 Add objective c diff header 2008-09-17 12:58:39 +02:00
Pieter de Bie c91b3ff201 Remove the .gitattributes file
With the switch to XCode 3.1, it's no longer necessary to treat the
xibs as binary
2008-09-14 19:47:40 +02:00
Pieter de Bie c2e871229c Hopefully select the correct branch on startup
This removes the 'Avoid empty selection' attribute on the branch controller.
This should hopefully help with selecting the default branch correctly in
the menu.
2008-09-14 19:47:00 +02:00
Pieter de Bie 8c94e1b514 Optimize revision walker bindings
This simplifies the procedure used to walk revisions
by only loading in commits if the branch selection
was changed.
2008-09-14 15:09:20 +02:00
Pieter de Bie caf3b92e90 Force the creation of the gitx clitool 2008-09-13 01:32:56 +02:00
Pieter de Bie 49a58c9d40 Update fixed 2008-09-13 00:26:42 +02:00
Pieter de Bie f57a03d378 Version 0.3.1 v0.3.1 2008-09-13 00:24:29 +02:00
Pieter de Bie 0fe804aebb Move file to the right place 2008-09-13 00:24:08 +02:00
Pieter de Bie 69c340e4a8 Fix an out-of-bounds bug 2008-09-13 00:24:08 +02:00
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