aboutsummaryrefslogtreecommitdiffstats
path: root/parsing.c
Commit message (Expand)AuthorAgeFilesLines
* Restrict deep nesting of configfiles•••There is no point in restricting the number of included config- files, but there is a point in restricting the nestinglevel of configfiles: to avoid recursive inclusions. This is easily achieved by decrementing the static nesting-variable upon exit from cgit_read_config(). Also fix some whitespace breakage. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-151-4/+6
* Add include-parameter to config files•••This parameter can be used to include another config-file, like a standalone repository listing. Suggested in a patch by Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-141-6/+8
* Update to libgit 1.5.2-rc2•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-081-3/+3
* Do not die if tag has no message•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-02-041-2/+2
* Add function cgit_parse_tag()•••Teach cgit how to extract author info from a tag. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-01-171-0/+47
* Handle empty/malformed commit messages•••An empty commit message would trigger a segfault in the current cgit_parse_commit(). Also, make sure that all char-pointers are properly initialized. Lars Hjemli2007-01-161-6/+13
* Handle %xx encoding in querystring•••Convert valid %xx expressions in querystring to ascii, ignore invalid expressions (i.e. eat the three characters %xx). Signed-off-by: Lars Hjemli <larsh@hal-2004.(none)> Lars Hjemli2007-01-041-0/+21
* Handle '+' in querystring•••Translate '+' to ' ' in querystring parser (still doesn't handle %xx) Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-281-0/+2
* Teach commit parser about author/committer email + timestamp•••We want all four of these when showing a commit, so save them in the commitinfo struct. Btw: There's probably no good reason to save committer timestamp since it's already available in commit->date. But it doesn't hurt us either, and it makes the parser look more complete, so we just do it. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-161-2/+10
* Add ui-commit.c + misc ui cleanups•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-161-0/+1
* 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-0/+53
* Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.c•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2006-12-111-0/+106