Commit Graph

22 Commits

Author SHA1 Message Date
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 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 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 3c481e4472 Add a Refresh menu item 2008-08-28 02:07:35 +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.
2008-08-27 22:37:24 +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 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 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 0def8d34d7 Splitting the window and it’s associated controllers into a separate nib; this will allow multiple repository windows to be used.
PBDetailController is the window controller, and now takes ownership of the repository so we can bind to it through File’s Owner in the nib file. Currently the ApplicationController creates a new PBDetailController at startup with the opened repository.
2008-08-18 07:31:39 +01:00
Pieter de Bie e2b507313b Delete temporary files when they are deallocated
This will remove a lot of the stray files in the
temporary dir. However, they won't be deleted on exit
of the program. What to do about this?
2008-06-17 05:56:00 +02:00
Pieter de Bie b18b957190 Allow QuickLook to activate by pressing space
Subclasses NSOutlineView to PBQLOutlineView that takes a controller which
should respond to toggleQuickLook:. This is used for our tree walker to
actually show QuickLook when space is pressed.
2008-06-17 02:55:49 +02:00
Pieter de Bie 28e8bacb89 Add QuickLook support in tree view
This adds a QuickLook button that will allow you to directly view any file in
the tree view in QuickLook. This is really nice for PDF's and images. You can
select multiple files and even play a slideshow if you want.

Currently it does not remove temporary files it created. This means that they
will probably stay around until you reboot.
2008-06-17 02:29:27 +02:00
Pieter de Bie cc6ac22047 Allow double click to open file 2008-06-16 14:19:38 +02:00
Pieter de Bie e6da252ee0 Add shortcuts and menu items for different views 2008-06-16 03:19:01 +02:00
Pieter de Bie 6ba944b2ac Implement a DetailsController
This controller makes sure that only the current view
receives its notifications. Therefore we won't do any work that we don't
see, like parsing diffs or asking for trees. This makes everything quicker.
2008-06-16 03:13:08 +02:00
Pieter de Bie d6a0b1bb4c Use a separate controller for tabs 2008-06-16 02:19:26 +02:00