Pieter de Bie
188d13f2e3
WebGitController: Add a policy to open links in browser
...
This was supposed to accompany the "Add gistie" commit, but
somehow I forgot. Without this, links to be opened in new windows
would not function.
2008-09-26 00:23:32 +02:00
Pieter de Bie
b257f0090a
Fix compiler warnings
2008-09-24 17:19:58 +02:00
Pieter de Bie
ea3cd7287c
Add support for removing refs
...
This is somewhat hackish, in that it reloads all commits after deleting
a ref, but at least it works
2008-09-22 21:12:26 +02:00
Pieter de Bie
708c08a293
First part of splitting views
2008-09-19 21:36:52 +02:00
Pieter de Bie
887cf21bf7
Also reload refs in the webview
2008-09-19 19:41:47 +02:00
Pieter de Bie
f8270f38fb
Add framework to support removing refs
2008-09-19 14:40:51 +02:00
Pieter de Bie
f48d0022e2
Allow copy and pasting of web source by pressing 'c'
2008-09-19 13:55:33 +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
8c076bb8ad
Fix the 'parent' link in commits
...
This allows you to click on the parent link to select a parent. Also fixes
an issue that the NSTableView would not scroll to the correct commit.
2008-09-12 11:54:39 +02:00
Ciarán Walsh
d600dded88
The repository is owned by the window controller now, and PBWebGitController shouldn't need to use the ApplicationController
2008-08-18 18:17:30 +01:00
Jean-Paul van Oosten
e95cef4248
Renamed the "doetHet" function to loadCommit
2008-06-18 22:49:00 +02:00
Pieter de Bie
ede8892dc9
PBGitRepository: Abstract revision walking to new class PBGitRevList
...
The revision walking code made the PBGitRepository unclean. Especially if
we want to keep multiple PBGitRepository objects around (e.g. persistent
data store), it needs to be more simple. This neatly extracts the revision
walking code from the repository code.
2008-06-17 19:32:38 +02:00
Pieter de Bie
6ba944b2ac
Implement a DetailsController
...
This controller makes sure that only the current view
receives its notifications. Therefore we won't do any work that we don't
see, like parsing diffs or asking for trees. This makes everything quicker.
2008-06-16 03:13:08 +02:00
Pieter de Bie
3432e514b8
Show nicely formatted diff
...
This steals the idea and markup from Gitnub. Thanks! :)
2008-06-15 18:22:00 +02:00
Pieter de Bie
f4a81e217c
Make the link to previous parents work
2008-06-15 16:46:31 +02:00
Pieter de Bie
2e4ea6edab
Load commit list in a separate thread
...
This makes the initial startup much faster. Commits get loaded in a separate
thread, and are displayed every 1000 commits.
There is a bug in here that makes fails a click while it is loading the commit
list. Not sure how to fix this, perhaps send the arrayController?
2008-06-15 16:46:25 +02:00
Pieter de Bie
8226a42fab
Fix a bug that would break the search when an invalid search term was entered
2008-06-14 21:47:43 +02:00
Pieter de Bie
a3d0d66d31
Use a stylesheet for detailed view
...
This simplifies the HTML code somewhat
2008-06-14 20:08:01 +02:00
Pieter de Bie
79e9ba9fb6
Add a detailed HTML view
2008-06-14 17:38:29 +02:00