aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | Merge branch 'lh/module-links'Gravatar Lars Hjemli2012-03-19-15/+85
|\ \ \
| * | | Do not provide a default value for `module-link`Gravatar Lars Hjemli2011-06-15-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old default value was an abomination which never should have been allowed to see the light of day. This patch removes the default, which is a backwards incompatible change with low probability of causing anyone any real trouble (a repo with submodules, displayed by cgit using the default value of `module-link`, is very unlikely to actually generate working links). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | | ui-plain.c: add support for path-selected submodule linksGravatar Lars Hjemli2011-06-15-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ui-plain.c, the links generated for submodule entry ignored the fact that the entry was in fact a submodule. This patch adds proper submodule links to the plain directory listings. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | | ui-tree.c: add support for path-selected submodule linksGravatar Lars Hjemli2011-06-15-10/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current 'repo.module-link' option is sufficient when all gitlinks in a repository can be converted to commit links in a uniform way, but not when different submodules/paths needs different settings. This patch adds support for 'repo.module-link.<path>', which will be used for linking to submodules at paths matching one such entry. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | | | Merge branch 'stable'Gravatar Lars Hjemli2012-03-19-3/+31
|\ \ \ \
| * | | | filters/syntax-highlighting.sh: work around highlight --force bugGravatar Ferry Huberts2012-03-19-0/+17
| | | | |
| * | | | filters/highlight.sh: manually support highlight version 2 and 3Gravatar Ferry Huberts2012-03-19-0/+11
| | | | |
| * | | | tests: properly quote arguments to printfGravatar Ferry Huberts2012-03-18-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v2: incorporate remarks of Lukas Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
| * | | | tests: handle paths with whitespaceGravatar Ferry Huberts2012-03-18-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v2: incorporate remarks of Lukas Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
* | | | | css: force text color to black on decorationsGravatar Ferry Huberts2012-03-19-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improves readability when embedding into a page that has the text color set to a different color Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
* | | | | css: vertically align the cgit logo imageGravatar Ferry Huberts2012-03-19-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When embedding cgit in other pages, the logo alignment needs to be specified to avoid any css rules from the embedding page to make the page look bad. Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
* | | | | css: prefix all styles with div#cgitGravatar Ferry Huberts2012-03-19-169/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to facilitate easier embedding Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
* | | | | Merge branch 'stable'Gravatar Lars Hjemli2012-03-18-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | CGIT-0.9.0.3Gravatar Lars Hjemli2012-03-18-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | | | | Merge branch 'stable'Gravatar Lars Hjemli2012-03-18-7/+5
|\ \ \ \ \ | |/ / / /
| * | | | segfault fix on some bogus requestsGravatar Eric Wong2012-03-18-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctx.qry.head can be NULL in some cases due to bad requests by weird bots. I managed to reproduce with: PATH_INFO=/repo.git/shop.php QUERY_STRING=id= Signed-off-by: Eric Wong <normalperson@yhbt.net>
| * | | | use correct type for sizeofGravatar Jamie Couture2012-03-18-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **L would have worked well too. Depending on the distribution sizeof *L may return 8 instead of 4. **L is preferable, but since we don't expect this datatype to change very often, sizeof int is less subtle and easier to understand. Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
| * | | | ui-ssdiff.c: correct length check for LCS tableGravatar Eric Wong2012-01-08-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each individual string may be too long for its respective dimension of the LCS table. Signed-off-by: Eric Wong <normalperson@yhbt.net>
* | | | | Merge branch 'stable'Gravatar Lars Hjemli2012-01-04-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Fix segmentation fault in empty repositoryGravatar John Keeping2012-01-04-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a repository is empty, the ATOM feed link is written in the header, but this involves formatting ctx->qry.head which is NULL in this case. With glibc, vsnprintf formats "%s" with a NULL input as "(null)" but on Solaris this results in a segmentation fault. Since we don't have a meaningful head for the atom feed in an empty repository, it's simplest not to write out the link element at all. Signed-off-by: John Keeping <john@metanate.com>
* | | | | Merge branch 'stable'Gravatar Lars Hjemli2012-01-04-3/+3
|\ \ \ \ \ | |/ / / /
| * | | | Makefile: fetch git tarballs from http://hjemli.net/git/git/Gravatar Lars Hjemli2012-01-04-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The git tarballs are currently not available from kernel.org, so for now the makefile will download autogenerated tarballs from cgit. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | | | fix css color value and vertical-align valueGravatar Norberto Lopes2012-01-04-2/+2
| | | | |
* | | | | ui-ssdiff.c: set correct diffmode in "control panel"Gravatar Tim Chen2012-01-04-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When side-by-side-diffs=1 was set in cgitrc, specifying 'ss=0' in the querystring would not set the 'unified' option as active in the dropdown box used to select diffmode.
* | | | | Merge branch 'stable'Gravatar Lars Hjemli2012-01-04-17/+68
|\ \ \ \ \ | |/ / / /
| * | | | Fix diff mode switching when side-by-side-diffs=1Gravatar Tim Chen2012-01-04-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When side-by-side-diffs=1 was set in cgitrc, specyfing 'ss=0' in the query- string would not switch to unified diffs. This patch fixes the issue by introducing a separate variable to track the occurrence of "ss" in the querystring.
| * | | | ui-log.c: do not show remote heads if enable-remote-branches=0Gravatar Georg Müller2012-01-04-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | If remote branches are not enabled, the branches are still listed in the log view. This patch removes them if enable-remote-branches=0.
| * | | | Add sort parameter to pager of repo listGravatar Tobias Grimm2012-01-04-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the repolist is paged, the page-links are missing the sort parameter, causing the initial page to be custom sorted, but any clicked page will then be with the default sort order again.
| * | | | ui-ssdiff: move LCS table away from the stackGravatar Jamie Couture2012-01-04-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |