Pieter de Bie
1472487f00
html/commit.js: Show E-mail addresses again.
...
This was broken in 62f6463ec4
2008-09-22 11:35:48 +02:00
Pieter de Bie
887cf21bf7
Also reload refs in the webview
2008-09-19 19:41:47 +02:00
Pieter de Bie
58f0a383b2
Show refs in HTML view
2008-09-19 13:56:46 +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
978a22c5a5
Add 'v' as a shortcut to show large diffs
2008-09-12 22:17:31 +02:00
Pieter de Bie
c3c4f98c66
Allow hunk navigation by using j/k keys
2008-09-12 22:12:58 +02:00
Ciarán Walsh
62f6463ec4
Suppress useless svn repository ID e-mail addresses.
...
When there is no e-mail address available git-svn will substitute the loginname@svn-repository-ID, but this is confusing and useless to have linked/display.
2008-08-27 13:12:19 +02:00
Pieter de Bie
045db4b625
WebView: limit diffs to a width of 250, not 100
...
100 was a bit low.
2008-08-19 00:26:29 +02:00
Jean-Paul van Oosten
e95cef4248
Renamed the "doetHet" function to loadCommit
2008-06-18 22:49:00 +02:00
Jean-Paul van Oosten
edc3ceadac
WebView now scrolls to the top on update
...
Just added a call to the scroll-function in commit.js.
2008-06-18 22:49:00 +02:00
Pieter de Bie
447a8dc48c
PBGitRepository: Also request parents when doing our revwalk
...
This is necessary for cool graph displaying, to be made.
2008-06-17 19:18:40 +02:00
Pieter de Bie
7555b1fa04
PBWebGit: Fix display of commit message when there is no diff
...
This happens for example in conflictless merge commits.
2008-06-17 16:59:22 +02:00
Pieter de Bie
b8b92e6aaf
PBWebGit: escape diff before inserting it into to the view
...
We used to escape a diff only after it was formatted. This would cause
some elements to hang the interface (like an iFrame)
2008-06-17 15:58:17 +02:00
Pieter de Bie
0fa37ba024
Only show commits if they are of reasonable size
...
This shows a link people should click if they want to display a huge diff
(more than 10k lines). This speeds up the browsing a lot :)
2008-06-16 03:27:52 +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
2d1324479e
Allower a bigger diff before not displaying it
2008-06-14 21:47:20 +02:00
Pieter de Bie
1ef4fe8a6b
Only display a diff when it is small enough
...
The diff display is rather slow now, probably because everything is
put into one big pre tag. Before we can fix this, we have to parse the
diff better. For now, just display a message.
2008-06-14 21:29:20 +02:00
Pieter de Bie
12b13d2aa4
Use a Commit model in Javascript to parse commit data
...
This includes the prototype library in the bundle for convenience.
Whenever a new commit is selected, a new Commit object is created that
is going to parse the raw message. From the object we can select
author information, diffs, etc.
Currently there is still a bug with commits without content changes.
2008-06-14 21:03:49 +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