Commit Graph

315 Commits

Author SHA1 Message Date
Pieter de Bie 69e1c6fc45 CommitView: Don't break on oneliners
e2210f7306e4c1647ff068f660db1674ce0391e1 (CommitView: Add a better reflog entry)
created a bug where an exception was thrown if you enter a one-lined commit
message.
2008-10-10 21:59:22 +02:00
Pieter de Bie 64f1957ec9 Gistie: Create private gists by default
We can make this optional once the PrefPane is in
2008-10-10 21:59:22 +02:00
Pieter de Bie fd146bd44b CommitView: Add a better reflog entry
This adds an entry in the form of

	commit: CommitView: Add a better reflog entry

to the reflog upon commit, rather than

	Commit from GitX

which isn't very informative
2008-10-10 21:59:22 +02:00
Pieter de Bie 40e9726254 WebControllers: Refactor to use common code 2008-10-10 21:59:21 +02:00
Pieter de Bie 19750e15a0 Add ~/bin/git to search paths 2008-10-10 21:59:21 +02:00
Pieter de Bie d66a105a4b CommitView: Allow rootless commits
This fixes the committing of rootless commits by not
requiring a HEAD parent if there isn't one.
2008-10-10 21:59:21 +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 55da6d5bbc HistoryView: Show whitespace in commit message 2008-10-10 21:59:21 +02:00
Pieter de Bie ca6caee473 UserManual: fix home link 2008-10-10 21:59:21 +02:00
Pieter de Bie d3e945da90 UserManual: Add an upload task 2008-10-10 21:59:21 +02:00
Pieter de Bie 92cbaef70d UserManual: minimum requirements are git v1.5.4, not v1.5.3 2008-10-10 21:59:21 +02:00
Rufus Cable 7f4d6c28a9 Add /usr/local/git/bin/git to binary search path (this is used by the OSX binaries listed on the Git home page). 2008-10-10 21:59:21 +02:00
Pieter de Bie 2797d6aeb6 Update the Sparkle feed for 0.4 2008-10-10 21:59:21 +02:00
Pieter de Bie d16ee44b67 Release version 0.4 2008-10-10 21:59:21 +02:00
Pieter de Bie f26cbee2fc Add a help menu item 2008-10-10 21:59:20 +02:00
Pieter de Bie 97f80a2e51 Remove leftover code 2008-10-10 21:59:18 +02:00
Pieter de Bie 40e29732f4 Update ReleaseNotes 2008-10-04 23:04:12 +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 7793e5eed4 GitRepository: Quiet a git error when resolving symbolic ref
We already catch this in our code, so this was just
confusing the debug output.
2008-10-04 22:41:21 +02:00
Pieter de Bie 5a7d1e9d30 EasyPipe: Only show debug when user pref is set 2008-10-04 22:41:21 +02:00
Pieter de Bie 8c9697968b Better handle the cases when a Git binary can't be found 2008-10-04 22:41:16 +02:00
Pieter de Bie a8cb5905ea DiffView: Hilight trailing whitespace 2008-10-04 22:38:57 +02:00
Pieter de Bie 57d5db9d49 Documentation: Add User Manual
This is a first attempt on creating a user manual
for GitX. It's style is currently stolen from
Scott Schacon's git-scm.com website.
2008-10-04 00:56:18 +02:00
Pieter de Bie ffae6a8564 GitRepository: Add an "all branches" option in branches list
This is probably the most common non-branch GitX option, so
let's add it by default
2008-10-03 19:25:50 +02:00
Pieter de Bie bae7566cde HistoryView: Allow tripple-clicking on header to undo sorting 2008-10-03 19:07:05 +02:00
Pieter de Bie 8c59a1249a CommitView: Also read in new objects with null-separator 2008-10-03 19:06:47 +02:00
Pieter de Bie 36e8f1e5f2 gitx-cli: Add help text 2008-10-03 18:44:18 +02:00
Pieter de Bie a66ae7c1e7 Grapher: Always reset colors at start of graphing 2008-10-03 18:27:12 +02:00
Pieter de Bie 49631753a8 HistoryView: Allow sorting on commit subject
This was broken after binding the subject column
to the commit itself, rather than it's subject.
2008-10-03 18:24:15 +02:00
Pieter de Bie c3f5d517b3 Graphs: use chars to store line number
This reduces memory cost somewhat (10MB on the git.git repository),
while still keeping the same functionality :) Better would be to
use structs in a c array in the cellinfo, as the NSArray and
NSObject type information together now use more memory.
2008-10-03 18:10:43 +02:00
Pieter de Bie a0f248ef9f CommitView: Also show deleted files correctly 2008-10-03 18:06:57 +02:00
Pieter de Bie 7a5716b24d CommitView: Use null-terminated strings when reading the index 2008-10-03 18:06:41 +02:00
Pieter de Bie 7d0aa866ef Merge branch 'pu/cw/toolbar'
* pu/cw/toolbar:
  Move toolbar to view xib
  RepositoryWindow: Prettify view selector
  RepositoryWindow: Move view selector to the left and add a separator
  Adding view-specific toolbars.
2008-10-03 17:20:51 +02:00
Pieter de Bie e2119d011b Merge branch 'pu/pb/nicer_diff'
* pu/pb/nicer_diff:
  DiffView: make diff width 100%
2008-10-03 17:20:47 +02:00
Pieter de Bie e329493154 Move toolbar to view xib 2008-10-03 17:18:26 +02:00
Pieter de Bie 37a812504a DiffView: make diff width 100% 2008-10-03 14:44:18 +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
Christian Jacobsen e25aec668b GitRepository: Skip empty lines when parsing refs
This fixes loading repositories.
2008-10-02 20:46:07 +02:00
Ciarán Walsh e1704729f9 Adding view-specific toolbars. 2008-09-30 23:14:02 +01:00
Pieter de Bie b753ab09e5 CommitView: Don't allow empty commits 2008-09-28 21:25:53 +02:00
Pieter de Bie 4de0a4a4bb Add a file to test diff display on 2008-09-28 20:55:02 +02:00
Pieter de Bie 8c457e9f83 Use an alternative style for the diffs 2008-09-28 20:48:55 +02:00
Pieter de Bie 8835624d29 CommitView: Escape HTML characters with new files 2008-09-28 16:57:50 +02:00
Pieter de Bie 01966d59c7 WindowController: Make sure the subview is the right size before adding it
This fixes a rendering bug when you start in commit view and 
then switch to History view.
2008-09-28 16:14:47 +02:00
Pieter de Bie 1028157cbc Fix memory leaks
This changes a bunch of ivars to __weak's, to avoid reference loops.
Furthermore, in PBGitHistoryController, we need to call [webView close],
otherwise some memory will never be freed?
2008-09-28 16:14:00 +02:00
Pieter de Bie 95c4bcbaba Don't store the windowcontroller in an iVar
There's no need to, as we can just retrieve it from
the WindowControllers array.
2008-09-28 13:31:47 +02:00
Pieter de Bie b255fb39d8 Fix branch reloading
This fixes a regression in 86606ef8, where the branches array was
created anew every time the branches were reloaded, causing you to
lose current branch selection.
2008-09-28 13:10:57 +02:00
Pieter de Bie a2217fe099 Reload commits after doing a commit 2008-09-28 13:03:55 +02:00