summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/BlobDiffPage.java
Commit message (Collapse)AuthorAgeFilesLines
* Implement configurable tab length support for blob viewsJames Moger2015-05-221-2/+2
|
* Add links to commit diff and blob diff pages to toggle whitespace settingJames Moger2015-03-071-0/+3
|
* Expose the DiffComparator choice as an url parameter (?w=1)James Moger2015-03-071-2/+2
|
* Add DiffComparator argument to all DiffUtils calls, default to ignore all ↵James Moger2015-03-071-2/+4
| | | | whitespace
* Add a blink comparator and pixel difference to image diffsTom2014-11-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Pixel difference uses CSS mix-blend-mode, which is supported currently only on Firefox >= 32 and on Safari >= 7.1. Implementation is behind a Javascript feature test. For other browsers, there's a blink comparator. Code changes: * ImageDiffHandler now takes the page it's used on as argument. We need that to get labels. DOM generated is a little bit different (new controls). * Diff pages adapted to new constructor of ImageDiffHandler. * CSS and Javascript changes implementing the new controls, making use of two new static image resources. Since I felt that the new controls deserved tooltips, I also gave the opacity slider a tooltip: changed to <a>, and slider handle changed from <div> to <span>. CSS ensures everything still displays the same (basically display:inline-block). * Supplied messages for English, French, and German for the new tooltips. Tested on IE8, Safari 6.1.6 & 7.1, Chrome 38, FF 33.1 & FF 3.6.13
* Opacity adjustments for image diffsTom2014-11-121-0/+6
| | | | | | | | * ImageDiffHandler adds the slider; styled in gitblit.css * imgdiff.js is a little bottom-loaded Javascript that adjusts the opacity on sliders' scroll events. * The three diff pages add this bottom script to the page if needed * GitBlitDiffFormatter: center image diffs.
* Image diffsTom2014-11-111-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Ticket 88: https://dev.gitblit.com/tickets/gitblit.git/88 Based on Lea Verou's pure CSS slider: http://lea.verou.me/2014/07/image-comparison-slider-with-pure-css/ * Add a callback interface, pass it through DiffUtils to the GitBlitDiffFormatter. Is needed because the rendering needs access to the repositoryName and other things that are known only at higher levels. * New class ImageDiffHandler responsible for rendering an image diff. Called for all binary diffs, doesn't do anything if it's not an image. HTML is generated via JSoup: no worries about forgetting to close a tag, not about HTML escaping, nor about XSS. * The 3 diff pages set up such an ImageDIffHandler and pass it along. * CSS changes: from Lea Verou, with some minor improvements. I think in the long run there'll be no way around rewriting the HTML diff formatter from scratch, not using the standard JGit DiffFormatter at all.
* Explicitly declare RepositoryPage subclasses that reference commitsJames Moger2014-09-171-0/+5
|
* Trim trailing whitespace and organize importsJames Moger2013-09-301-1/+1
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Add normalized diffstats to the commit, commitdiff, and compare pagesJames Moger2013-09-271-2/+2
| | | | Change-Id: I8f26746a611e9ab955efe8b2597cc81db48fb085
* Removed GitWeb-style diff rendererJames Moger2013-09-181-7/+2
|
* Implemented optional page cachingJames Moger2013-07-191-0/+3
|
* Overhauled navigation and flattened lookJames Moger2013-05-191-0/+5
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-271-0/+85
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.