| Commit message (Expand) | Author | Age | Files | Lines |
| * | 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 Ouchterlony | 2009-09-16 | 1 | -2/+2 |
| * | Use GIT-1.6.4.3•••Signed-off-by: Lars Hjemli <larsh@slackbox.hjemli.net>
| Lars Hjemli | 2009-09-13 | 1 | -1/+1 |
| * | ui-log.c: handle lightweight tags when printing commit decorations•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2009-08-16 | 1 | -0/+4 |
| * | Handle binary files in diffs•••This teaches all diff-related operations (i.e. ui-log, ui-diff and ui-patch)
how to handle binary files.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2009-01-31 | 1 | -1/+6 |
| * | Change toggle to more meaningful term•••In the log interface, there is a toggle link at the top, but it isn't clear
what's being toggled. I've changed it to "Expand" and "Collapse" to make it
clear that you are getting more and less information, respectively.
Signed-off-by: Justin Waters <justin.waters@timesys.com>
| Justin Waters | 2009-01-11 | 1 | -1/+2 |
| * | ui-log: show name-decorations in log output•••Commits are now decorated with a clickable 'label' for each ref pointing
at it, similar to how gitweb and gitk displays commit decorations.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2009-01-11 | 1 | -0/+35 |
| * | Merge branch 'full-log'•••Conflicts:
cgit.c
cgit.h
| Lars Hjemli | 2008-12-06 | 1 | -7/+28 |
| |\ |
|
| | * | ui-log: use css to make full-log prettier•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2008-11-30 | 1 | -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 Hjemli | 2008-11-29 | 1 | -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 Hjemli | 2008-11-29 | 1 | -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 Hjemli | 2008-12-03 | 1 | -2/+15 |
| |/ |
|
| * | Use GIT-1.6.0.2•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2008-10-05 | 1 | -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 Hjemli | 2008-04-14 | 1 | -0/+5 |
| * | Make branches, tags and log play better together in the summary view•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2008-04-14 | 1 | -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 Hjemli | 2008-03-24 | 1 | -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 Hjemli | 2008-03-18 | 1 | -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 Hjemli | 2008-02-16 | 1 | -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 Hjemli | 2008-02-16 | 1 | -10/+10 |
| * | Fix html error detected by test-suite•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2007-11-11 | 1 | -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 Hjemli | 2007-11-06 | 1 | -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 Hjemli | 2007-11-03 | 1 | -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 Hjemli | 2007-10-28 | 1 | -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 Hjemli | 2007-06-29 | 1 | -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 Hjemli | 2007-06-17 | 1 | -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 Hjemli | 2007-06-17 | 1 | -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 Jirman | 2007-05-31 | 1 | -14/+16 |
| * | Use & instead of & in URLs.•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Ondrej Jirman | 2007-05-31 | 1 | -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 Hjemli | 2007-05-22 | 1 | -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 Hjemli | 2007-05-18 | 1 | -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 Hjemli | 2007-05-16 | 1 | -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 Hjemli | 2007-05-14 | 1 | -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 Hjemli | 2007-05-13 | 1 | -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 Hjemli | 2007-05-13 | 1 | -2/+15 |
| * | Layout update | Lars Hjemli | 2007-02-21 | 1 | -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 Hjemli | 2007-01-28 | 1 | -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 Hjemli | 2007-01-28 | 1 | -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 Hjemli | 2006-12-28 | 1 | -3/+10 |
| * | Only show first 80 characters of commit subject in log and summary•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-22 | 1 | -2/+2 |
| * | Reformat code to avoid excessive line lengths•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-16 | 1 | -1/+3 |
| * | Add cgit_free_commitinfo() and use where needed•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-16 | 1 | -4/+1 |
| * | Add ui-commit.c + misc ui cleanups•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-16 | 1 | -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 Hjemli | 2006-12-15 | 1 | -63/+13 |
| * | Add simple pager to log page•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-14 | 1 | -2/+29 |
| * | Add display of tree content w/ui-tree.c•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-13 | 1 | -1/+6 |
| * | Move log-functions into ui-log.c•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-11 | 1 | -0/+115 |