aboutsummaryrefslogtreecommitdiffstats
path: root/parsing.c
AgeCommit message (Collapse)AuthorFilesLines
2007-01-17Add function cgit_parse_tag()Lars Hjemli1-0/+47
Teach cgit how to extract author info from a tag. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-01-16Handle empty/malformed commit messagesLars Hjemli1-6/+13
An empty commit message would trigger a segfault in the current cgit_parse_commit(). Also, make sure that all char-pointers are properly initialized.
2007-01-04Handle %xx encoding in querystringLars Hjemli1-0/+21
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)>
2006-12-28Handle '+' in querystringLars Hjemli1-0/+2
Translate '+' to ' ' in querystring parser (still doesn't handle %xx) Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-16Teach commit parser about author/committer email + timestampLars Hjemli1-2/+10
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>
2006-12-16Add ui-commit.c + misc ui cleanupsLars Hjemli1-0/+1
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-15Add a common commit parserLars Hjemli1-0/+53
Make a better commit parser, replacing the ugly one in ui-log.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli1-0/+106
Signed-off-by: Lars Hjemli <hjemli@gmail.com>