Pieter de Bie
b2c03bc97b
HistoryView: Correctly update branches when changing them
...
I stupidly used "observe.." instead of register.. so KVC
didn't even work
2008-11-19 02:12:03 +01:00
Pieter de Bie
6038c20d7d
HistoryView: Add a "Local Branches" option
2008-11-19 02:10:21 +01:00
Pieter de Bie
a62e14ffe7
HistoryView: Remove the BranchController
...
This wasn't used anyway. A good idea would be to create a new
branchcontroller that takes care of all these revs, rather than
letting PBGitRepository take care of that
2008-11-19 01:54:14 +01:00
Pieter de Bie
92437c6663
WIP: Use a nicer branches menu
2008-11-19 01:41:27 +01:00
Pieter de Bie
66f3588b77
Merge branch 'master' of git://github.com/bkerley/gitx
...
* 'master' of git://github.com/bkerley/gitx:
Use a task (that is properly disposed of) for reading the rev list
make taskForCommand public so other classes can use it
Wait for a child to clear it out.
use outputForCommand instead of handleForCommand to save code, remove zombie-leaking bug
2008-11-19 00:14:10 +01:00
Arjen Laarhoven
17158e888d
GitX.xcodeproj: Quote paths in html copy script
...
When the path to the project contains spaces, the html copy script
fails. Fix it by properly quoting the `resource_path' variable.
2008-11-19 00:13:30 +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
aaca7d6e67
HistoryView: Don't make the tree contents field editable
...
This would cause some heavy errors because the PBGitTree
class in not KVC compatible for the contents.
2008-11-18 23:59:25 +01:00
Bryce Kerley
8f2cc570f5
Use a task (that is properly disposed of) for reading the rev list
2008-11-17 16:07:30 -05:00
Bryce Kerley
146db09ea4
make taskForCommand public so other classes can use it
2008-11-17 16:07:30 -05:00
Bryce Kerley
3922b543ba
Wait for a child to clear it out.
2008-11-17 16:07:30 -05:00
Bryce Kerley
d8b926c13d
use outputForCommand instead of handleForCommand to save code, remove zombie-leaking bug
2008-11-17 16:07:30 -05:00
Pieter de Bie
2f0dc3bbd5
Site: correct gitx path
2008-11-17 20:19:10 +01:00
Pieter de Bie
6577ee424f
Site: Update to 0.5
2008-11-17 15:38:26 +01:00
Pieter de Bie
b9d6e41e65
Update Sparke feed (oops)
2008-11-17 15:31:56 +01:00
Pieter de Bie
92c1349217
Update the Sparkle feed to point to frim.nl
...
This is the new home of the sparkle feed. We keep the old one
for a while so older clients will still update.
2008-11-17 15:24:30 +01:00
Pieter de Bie
cea5507d51
Site: update screencasts part
...
This uses a new fancy inline video display and also shows newly created
screencasts, specifically for GitX v0.5
2008-11-17 15:16:00 +01:00
Pieter de Bie
9f166e61f6
GitX version 0.5
v0.5
2008-11-17 14:08:25 +01:00
Pieter de Bie
a950505972
PBRefController: reload items when checking out branch
...
This will update the view with the new current branch.
2008-11-17 14:03:06 +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
562ee7c6dd
Update ignorefile
2008-11-17 13:54:37 +01:00
Pieter de Bie
8dcb8553ed
Fix XIB inconsistencies in naming
2008-11-17 13:54:11 +01:00
Kim Does
ca7816b523
Add new icons for "Add Branch" and "Add Label"
...
The "Add Label"/tag will be used in the future
2008-11-17 13:52:25 +01:00
bkerley
f1a6d0663d
fix setString-related failures
2008-11-10 13:09:14 -07:00
Pieter de Bie
b8e1b6da77
RevList: Optimize revision walking
...
This is a naive approach at optimizing the revision walking.
2008-11-08 23:22:21 +01:00
Pieter de Bie
bcc167be1b
CLITool: Change installation path to /usr/local/bin
2008-11-08 23:16:57 +01:00
Pieter de Bie
00e44b35d0
RefController: Allow checking out branches
2008-11-01 23:24:41 +01:00
Pieter de Bie
058fbcff58
RefController: Refactor ref menu to its own class
2008-11-01 23:16:41 +01:00
Pieter de Bie
a9dad9dd31
GitRevisionCell: Allow right-clicking on refs
...
This reuses the code in the RefController to show context menus
when right-clicking on refs.
2008-11-01 22:51:10 +01:00
Pieter de Bie
e02ee5231c
WebHistoryController: Move ref deletion to RefController
...
That's why it's there, after all. This also makes the system
more robust and catches some more errors.
The next thing this enables is to also allow right-clicking
on refs in the commit list.
2008-11-01 22:51:10 +01:00
Pieter de Bie
8a399c0793
GitCommit: Add a 'removeRef' function
...
The ref functionality is somewhat weird right now, in that
some parts of the code require a nil array when there are no
refs. So, we add a good removeRef accessor to keep track of this
2008-11-01 22:51:10 +01:00
Pieter de Bie
23c918660c
HistoryView: Allow creation of branches
2008-11-01 22:51:10 +01:00
Pieter de Bie
79e5304aa7
WebHistoryView: don't error out when reloading refs
...
We changed the showRef() prototype to take the current ref, but
didn't change all callers.
2008-11-01 22:51:06 +01:00
Pieter de Bie
304a1a5d03
Remove stray debug messages
2008-11-01 21:14:57 +01:00
Pieter de Bie
4cefe8ee92
HistoryView: Allow dragging of refs to move them
2008-11-01 21:14:24 +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
e232181fae
Add a GitX:// protocol handler
...
This allows to read in arbitrary blobs from the repository.
For more information, see the CallingFromWebKit.txt
document in the Documentation/ directory.
2008-11-01 19:06:05 +01:00
Pieter de Bie
b7645ec967
PBWebHistoryController: show the commit diff async
...
This should make the GUI more responsive by allowing the diff
to be read in the background. This assumes that
[PBGitCommit details] is threadsafe, so we should keep it that
way.
2008-10-31 23:45:39 +01:00
Pieter de Bie
db39ff7f92
PBWebController: Add a script accessor
...
This allows easy access to the window's script object
2008-10-31 23:44:28 +01:00
Pieter de Bie
0a40f876d1
PBWebController: Add asynchronous functions
...
This allows us to keep the UI responsive while
running expensive commands
2008-10-31 23:44:28 +01:00
Pieter de Bie
38a49e251e
ReleaseNotes: Update up to 0.5
2008-10-31 23:44:28 +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
1d19bd64df
PBChangedFile: Don't use cat to read file contents
...
This changes PBChangedFile to read in files by using
NSString's stringWithContentsOfFile: method.
It still uses the UTF8 encoding scheme so that we
can capture binary files. This should perhaps be loosened to
also allow other encodings.
2008-10-29 00:49:47 +01:00
Pieter de Bie
41a906d715
PBGitRepository: Don't return a ref if we error out
...
This fixes the -parseReference: method to return nil if
there is an error in the git call. This also simplifies
our commit controller.
2008-10-29 00:24:10 +01:00
Pieter de Bie
9382cbf266
Merge commit '9e2618c3ea0e0517e156c3e04b9dba356311f361'
...
* commit '9e2618c3ea0e0517e156c3e04b9dba356311f361':
Reorder project
CommitView: Allow committing per hunk
2008-10-28 23:08:13 +01:00
Pieter de Bie
d491f3b3ae
CommitWebView: Display new files
...
This was broken when refactoring the commit code
2008-10-27 17:42:36 +01:00
Pieter de Bie
19f4d94ec6
Add a Complete SHA service
...
This adds a service bound to ⌘⇧7 that expands
any ref to its abbreviated SHA and its subject
line, much like ⌘C in the commit list does.
2008-10-27 17:40:46 +01:00
Kim Does
593606fa22
Site: Fix anchors in seeit page
2008-10-23 22:57:29 +02:00