Commit Graph

13 Commits

Author SHA1 Message Date
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
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