Commit Graph

31 Commits

Author SHA1 Message Date
Kim Does ac0327249d Add icons for the history view and commit view 2008-11-20 15:09:55 +01:00
Pieter de Bie 6fcc12d69d CommitView: Allow drag 'n drop of staged / unstaged files 2008-11-18 23:59:25 +01:00
Pieter de Bie 0975426f2f CommitView: move index functions to separate controller
This merges functionality that was previously stored in the
combination of PBGitCommitController / PBChangedFile to a
dedicated controller, PBGitIndexController.
2008-11-18 23:59:25 +01:00
Pieter de Bie 874737fcb5 CommitView: Allow multiple selection 2008-11-18 23:59:25 +01:00
Pieter de Bie 82aa6a3232 Autosave divider position
This autosaves the position of the divider in the splitviews
of the commit view and the history view
2008-11-17 13:56:33 +01:00
Pieter de Bie 8dcb8553ed Fix XIB inconsistencies in naming 2008-11-17 13:54:11 +01:00
Pieter de Bie 90db001409 WebCommitView: Add a state display
This adds a div in the webview to display the current commit
state. It allows us to notify the user of new commits by
showing something in the webview, rather than a modal
dialog.
2008-11-01 20:56:33 +01:00
Pieter de Bie 77ad37a76a History/CommitView: Use a nice-looking splitview divider
This uses images based on those in Mail.app to create a nice
looking splitview (Hush, don't tell Apple!)
2008-10-31 23:44:24 +01:00
Pieter de Bie b252de1a76 CommitView: Allow committing per hunk 2008-10-21 23:31:45 +02:00
Jeff Mesnil fc63af0709 CommitView: Add a vertical line to the commit message
Since Git recommends to use 50 characters in the first line of a commit
message, this adds a vertical line to the commit message view to show where
the 50 char limit is.

[PB: This preference can be changed using a user default -- for now we don't
have a preference pane yet, so this is hidden.]
2008-10-21 14:56:43 +02:00
Pieter de Bie 472d36c7f9 CommitView: Add context menu to revert changes 2008-10-10 21:59:23 +02:00
Pieter de Bie e659e63fc0 CommitView: Add option to amend commits 2008-10-10 21:59:23 +02:00
Pieter de Bie e418878c1b CommitView: Add command-shift-enter shortcut to commit 2008-10-10 21:59:21 +02:00
Pieter de Bie b2cd87cb72 GitWindow: Don't try to be smart with the view selector
Previously, we would try to copy the view selector from within
the RepositoryWindow, so we could reuse it and change it if we
need to.

However, that causes problems if you have another window open:
if we try to add an item using the insertItemWithIdentifier:atIndex:
method, the item will be added to _all_ toolbars with the same
identifier, even if those toolbars already have the item!

As I see no easy way to fix that, we completely avoid the issue
by not inserting any objects and just copying the view selector
from view to view.
2008-10-04 23:00:11 +02:00
Pieter de Bie a42adc6d82 CommitView: Allow doubleclick to (un)stage changes 2008-10-04 22:41:21 +02:00
Pieter de Bie ff6cc26181 CommitView: Don't show commit / amend radio buttons
As this function is not yet implemented, just don't show it.
2008-09-26 00:41:57 +02:00
Pieter de Bie 978d7cb2b1 CommitView: Correctly set the default commitmessage font to Monaco 12
This way, wo don't need any text entered to set a font.
2008-09-26 00:11:49 +02:00
Pieter de Bie 37cda5faa4 CommitView: Intelligently add files
Rather than rereading our status every time we add something,
calculate where a file should go.
2008-09-25 23:57:48 +02:00
Pieter de Bie 0ad81bc2a6 CommitView: Use the status bar to update on status 2008-09-25 23:31:24 +02:00
Pieter de Bie 3f923f51a1 CommitView: Add commit capability 2008-09-24 01:08:10 +02:00
Pieter de Bie 76e176e8b4 Add staging and unstaging of files 2008-09-24 00:47:41 +02:00
Ciarán Walsh 9893037d86 Hit testing and action sending 2008-09-23 22:41:32 +01:00
Ciarán Walsh b8292f1b34 Adding an icon and text cell implementation from CocoaDev 2008-09-23 22:11:28 +01:00
Pieter de Bie 62612f0e51 Use a more logical checkout 2008-09-23 21:51:31 +02:00
Pieter de Bie 8a687840cb Merge commit 'HEAD@{1}'
* commit 'HEAD@{1}':
  Show a pretty status bar

Conflicts:
	PBGitCommitView.xib
2008-09-23 20:30:18 +02:00
Ciarán Walsh 5111b363ef Setting up target/action for the file icon buttons 2008-09-23 18:37:15 +01:00
Ciarán Walsh 7be97dcbf8 Using button cells instead of image cells, for the icons, so we can hook up an action. 2008-09-23 18:08:28 +01:00
Pieter de Bie e9f4830e1c Show a pretty status bar 2008-09-23 02:40:59 +02:00
Pieter de Bie 44009b6f3e CommitView: use only one array for all files 2008-09-23 02:04:12 +02:00
Pieter de Bie 252796ee26 CommitView: Show basic files 2008-09-23 01:02:33 +02:00
Pieter de Bie 65b61d4502 add more files 2008-09-19 23:33:26 +02:00