aboutsummaryrefslogtreecommitdiffstats
path: root/ui-diff.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing prototype declarationsPeter Colberg2016-01-141-1/+1
| | | | Signed-off-by: Peter Colberg <peter@colberg.org>
* Allow for creating raw diffs with cgit_print_diff()Lukas Fleischer2013-08-161-1/+1
| | | | | | | This adds a parameter to cgit_print_diff() to create raw diffs, using the same format as `git diff <commit>`. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
* Always #include corresponding .h in .c filesJohn Keeping2013-04-081-3/+0
| | | | | | | | | | | | While doing this, remove declarations from header files where the corresponding definition is declared "static" in order to avoid build errors. Also re-order existing headers in ui-*.c so that the file-specific header always comes immediately after "cgit.h", helping with future consistency. Signed-off-by: John Keeping <john@keeping.me.uk>
* ui-diff.c: create a control panel for diff optionsLars Hjemli2011-03-061-1/+3
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* ssdiff: anchors for ssdiffBernhard Reutner-Fischer2011-02-191-0/+6
| | | | | | | Emit anchors to the respective revisions in side-by-side diff view Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Integrate diffstat with diffLars Hjemli2008-04-241-0/+3
| | | | | | | | This creates a generic diffstat function in ui-diff, which then is invoked from cgit_print_diff with the result that both commit and diff- view gets a diffstat. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add separate header-files for each page/viewLars Hjemli2008-03-241-0/+7
Yet another step towards removing cgit.h. Signed-off-by: Lars Hjemli <hjemli@gmail.com>