aboutsummaryrefslogtreecommitdiffstats
path: root/ui-log.c
Commit message (Expand)AuthorAgeFilesLines
...
| * ui-log: use css to make full-log prettier•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-11-301-8/+6
| * ui-log: (ab)use extra columns for commit message when showmsg=1•••If the commit message has extra long lines it's better to use the author/ files/lines columns to show those lines than to push the columns of screen and force the users to hscroll. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-11-291-6/+7
| * 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-5/+27
* | ui-log: try to disambiguate ref names•••The 'h' querystring parameter in cgit is normally used to specify a branch (i.e. a ref below refs/heads/), but if a repository contains a tag with the same name as a branch the output from ui-log would use the tag as start-revision. This patch tries to fix the issue by checking if the specified ref is valid as a branch name; if so, the full refname is used in the call to setup_revisions(). Noticed-by: Takamori Yamaguchi <akschar@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-12-031-2/+15
|/
* Use GIT-1.6.0.2•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-10-051-4/+2
* Make a few more columns in repolist and log view clickable•••Less mouse movement is nice. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-04-141-0/+5
* Make branches, tags and log play better together in the summary view•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-04-141-16/+26
* 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
* 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-0/+1
* Move cgit_repo into cgit_context•••This removes the global variable which is used to keep track of the currently selected repository, and adds a new variable in the cgit_context structure. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-02-161-5/+5
* 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-10/+10
* Fix html error detected by test-suite•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-11-111-1/+1
* Show lines changed as -n/+m in shortlogs•••This is way more informative than the total number of changed lines. Suggested-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-11-061-7/+14
* Add search parameters to cgit_log_link•••This makes the [prev] and [next] links work correctly on search results. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-11-031-2/+4
* Teach log search about --grep, --author and --committer•••This makes the log searching more explicit, using a dropdown box to specify the commit field to match against. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-10-281-3/+6
* Add ofs argument to cgit_log_link and use it in ui-log.c•••This fixes a bug in the prev/next links on the log page: when on the default branch the links to prev/next page would contain h=(null). Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-06-291-9/+7
* ui-log: honor id=sha1 on querystring•••This teaches ui-log to prefer id=sha1 and fallback to h=rev if no id- parameter is specified. With this change, summary, log, commit and tree views now passes current branch using h parameter and current revision using id parameter. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-06-171-0/+3
* Add cgit_commit_link() + support for id=sha1 to commit view•••This adds a function to generate links to the commit page and extends said page to use id from querystring as primary revision specified (fallback to h). Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-06-171-5/+2
* Add option to disable pager to cgit_print_log().•••This is needed for upcomming shortlog on summary page patch. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Ondrej Jirman2007-05-311-14/+16
* Use &amp; instead of & in URLs.•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Ondrej Jirman2007-05-311-2/+2
* Use cgit_print_age() on summary and log pages•••Update the pages to show relative dates instead of yyyy-mm-dd hh:mm:ss Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-221-6/+2
* Add knobs to enable/disable files/lines changed in log view•••These columns can cause lots of IO on the server, so add settings to explicitly enable them. Also, add per repo settings to optionally disable the columns if sitewide enabled. While at it, do not allow repo.snapshot to enable snapshots if the global setting is disabled. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-181-12/+21
* Change commit-view to expect h parameter, not id•••The change makes the commit-page benefit from repo.defbranch. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-161-2/+1
* Add log filtering by path and link to it from tree view•••This enables path-filtering in log-view, and adds a link per entry in tree-view to show the log for each file/directory. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-141-2/+6
* Show number of changed lines in log view•••Use the new file-diff interface to calculate number of changed lines per commit. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-131-1/+11
* Show number of changed files in log view•••This uses the new tree-diff functions to calculate number of files changed per commit. Also fix some whitespace issues. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-131-2/+15
* Layout updateLars Hjemli2007-02-211-1/+0
* Add parameter to adjust max message length in log listings•••The parameter "max-message-length" can be specified in cgitrc, default value is 60. This affects the log message shown in repo summary and shortlog. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-01-281-1/+1
* Cleanup table listings•••Make the output for <table class='list'> a bit nicer Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net> Lars Hjemli2007-01-281-1/+1
* Add basic log filtering•••This enables case-insensitive grep on logentris using the new search box Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-281-3/+10
* Only show first 80 characters of commit subject in log and summary•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-221-2/+2
* Reformat code to avoid excessive line lengths•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-161-1/+3
* Add cgit_free_commitinfo() and use where needed•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-161-4/+1
* Add ui-commit.c + misc ui cleanups•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-161-8/+3
* Add a common commit parser•••Make a better commit parser, replacing the ugly one in ui-log.c Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-151-63/+13
* Add simple pager to log page•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-141-2/+29
* Add display of tree content w/ui-tree.c•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-131-1/+6
* Move log-functions into ui-log.c•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-111-0/+115