Commit Graph

33 Commits

Author SHA1 Message Date
Pieter de Bie e329493154 Move toolbar to view xib 2008-10-03 17:18:26 +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
Ciarán Walsh e1704729f9 Adding view-specific toolbars. 2008-09-30 23:14:02 +01:00
Pieter de Bie d3f97bdfcb GitWindowController: bind selected view to controller
This used to be bound to the UserDefaults, but that introduced the
bug that switching the view in one window also switched it in other
open windows.

See 2e7cd5268d
2008-09-26 00:35:05 +02:00
Ciarán Walsh 2e7cd5268d Remember selected view (history or commit) 2008-09-23 22:58:53 +01:00
Pieter de Bie e9f4830e1c Show a pretty status bar 2008-09-23 02:40:59 +02:00
Pieter de Bie 7f337cda2a Show current branch in branch menu
This kept going broken, so now instead of Interface Builder bindings,
we create the binding ourselves
2008-09-20 11:24:21 +02:00
Pieter de Bie aa2d76f261 Re-enable the search field 2008-09-20 10:30:56 +02:00
Pieter de Bie 43d7285ac1 Add a commit view mockup 2008-09-19 22:25:48 +02:00
Pieter de Bie 708c08a293 First part of splitting views 2008-09-19 21:36:52 +02:00
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 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 86a34b64ae Remember window location when quitting GitX 2008-09-19 18:36:24 +02:00
Pieter de Bie f8270f38fb Add framework to support removing refs 2008-09-19 14:40:51 +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 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 f57a03d378 Version 0.3.1 2008-09-13 00:24:29 +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 e3af731305 Use a PBGitRevSpecifier to specify possible branches 2008-09-12 17:28:08 +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 06f737df9a Use PBGitRef for other refs 2008-09-06 23:00:41 +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
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
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 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 9135163f24 Read the current branch from the repository 2008-08-18 23:06:37 +02:00
Pieter de Bie f786fe2b0b Read branches in a repository
This adds a -readBranches function which allows you to read in all
branches in our repository. It is used in the branch display popup box.
2008-08-18 22:03:41 +02:00
Pieter de Bie 4c18f592f5 Fix 'commits loaded' label
The value binding of this label was lost after switching to a Document-based
view. This restores it.
2008-08-18 13:23:56 +02:00
Ciarán Walsh 5450d2c700 The tab buttons were connected to the setRawView: action, which meant that all buttons would switch to raw mode. The tab switching is done via a binding to selectedTab. 2008-08-18 12:07:06 +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