aboutsummaryrefslogtreecommitdiffstats
path: root/ui-refs.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'stable'Lars Hjemli2010-08-031-12/+14
|\
| * ui-refs.c: avoid segfault on unparsed ref objects•••When a ref refers to something other then a commit or tag object, cgit could segfault when trying to display the tag info. Noticed-by: Eugene Sajine <euguess@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2010-08-031-12/+14
* | ui-commit: Preserve path limit in links to commit page•••This includes adding a path argument to cgit_commit_link() and updating all its callers. The callers from within the commit page (i.e. the "commit", "unidiff"/"side-by-side diff" and "parent" links) all preserve the path limit of the current commit page. All other callers pass NULL (i.e. no path limit). Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Johan Herland2010-06-191-1/+1
* | Merge branch 'lh/remote-branches'Lars Hjemli2009-12-081-0/+2
|\ \
| * | Add support for remote branches•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2009-11-071-0/+2
| |/
* / Add possibility to switch between unidiff and side-by-side-diff.•••A new config option side-by-side-diffs added, defaulting to 0, meaning unidiff. Also a query option (ss) is used toggle this. In the commit page you can switch between the two diff formats by clicking on the link on the "commit"-row, to the right of (patch). In the diff page you can switch by using the link at the start of the page. All commit-links and diff-links will remember the choice. Signed-off-by: Ragnar Ouchterlony <ragnar@lysator.liu.se> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Ragnar Ouchterlony2009-09-161-1/+1
|/
* ui-refs.c: improve handling of lightweight tags•••When a lightweight tag is referencing a commit object, cgit now uses the commit date when comparing tag age. Also, the commitdate and author info is printed in the refs view, making lightweight tags appear similar to annotated tags. Signed-off-by: Stefan Bühler <lighttpd@stbuehler.de> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Stefan Bühler2009-08-161-1/+18
* Make all tags viewable•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Robin Redeker2009-01-111-1/+1
* ui-refs: avoid SEGFAULT on lightweight tags•••Signed-off-by: Robin Redeker <elmex@ta-sa.org> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Robin Redeker2009-01-101-1/+1
* Merge branch 'full-log'•••Conflicts: cgit.c cgit.h Lars Hjemli2008-12-061-1/+2
|\
| * ui-log: add support for showing the full commit message•••Some users prefer to see the full message, so to make these users happy the new querystring parameter "showmsg" can be used to print the full commit message per log entry. A link is provided in the log heading to make this function accessible, and all links and forms tries to preserve the users preference. Note: the new link is not displayed on the summary page since the point of the summary page is to be a summary, but it is still obeyed if specified manually. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-11-291-1/+2
* | ui-refs.c: show download links for all tags referring to commit objects•••The snapshot function has only been linked to from the commit page while users often would want to download a certain release. With this patch, direct download links will now be printed for each tagged release on the repo summary page. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-12-011-3/+34
|/
* ui-refs: use cgit_tag_link()•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-10-051-6/+2
* Make branches, tags and log play better together in the summary view•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-04-141-13/+12
* Add ui-shared.h•••This is finally a proper headerfile for the shared ui-functions which used to reside in cgit.h Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-03-241-0/+1
* Add separate header-files for each page/view•••Yet another step towards removing cgit.h. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-03-241-0/+172
* Introduce html.h•••All html-functions can be quite easily separated from the rest of cgit, so lets do it; the only issue was html_filemode which uses some git-defined macros so the function is moved into ui-shared.c::cgit_print_filemode(). Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-03-181-3/+1
* Introduce struct cgit_context•••This struct will hold all the cgit runtime information currently found in a multitude of global variables. The first cleanup removes all querystring-related variables. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-02-161-2/+2
* Add support for refs view•••This enables the new urls $repo/refs, $repo/refs/heads and $repo/refs/tags, which can be used to print _all_ branches and/or tags. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-10-271-0/+30