Nathan Kinsinger
03dc7819b4
Disable Commit button when there are no staged files.
2010-02-19 22:54:55 -07:00
Pieter de Bie
438a3f808d
GitIndexController: reorder methods a bit, remove unnecessary stuff
2009-09-13 16:55:40 +02:00
Pieter de Bie
03e1d3e882
WIP: Add GUI support for the new index
2009-09-13 16:55:38 +02:00
Benjamin Kramer
a8f4304f86
Fix checkbox scaling warnings
...
This fixes Snow Leopard's "The image scaling property should not be used with
checkboxes" warnings. Noticed by Stonewall Ballard.
2009-08-31 22:35:33 +02:00
Nicholas Riley
3ee50de56b
Truncate the middle of pathnames in the Unstaged/Staged Changes lists.
...
Previously, the ends of the pathnames were truncated instead, which
could lose the filename.
2009-07-07 11:56:55 +01:00
Nicholas Riley
9fff83a0af
Reduce font size of staged/unstaged changes lists.
...
This is better for smaller screens and deeply nested paths.
2009-07-07 11:56:35 +01:00
Johannes Gilger
93124387c4
PBGitCommit: Add "Sign-Off" button/method
...
This adds a small method signOff which simply appends a SOB-line to the
current commit-message, using user.name and user.email.
Signed-off-by: Johannes Gilger <heipei@hackvalue.de >
Signed-off-by: Pieter de Bie <frimmirf+gitx@gmail.com >
2009-06-11 23:39:08 +01:00
Pieter de Bie
87fae3f03e
CommitView: Remove a stray label
2009-01-25 18:29:27 +00:00
Pieter de Bie
8c34fc9d84
CommitView: Actually show commit message
...
The message that the commit was succesful used to disappear
because after the commit, the index would refresh and another
file would be shown. We fix this by never requiring a file to be
selected.
2009-01-19 20:08:55 +00:00
Pieter de Bie
4dd7a46b86
Allow Toolbar customization
...
This allows both toolbars to be customized.
2008-12-01 13:50:51 +01:00
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