Website Summary Files Commits Branches @commit @diff @stats
path: root / parsing.c
Commit message (Collapse)AuthorAgeLinesSHA
* Add function cgit_parse_tag()
 Lars Hjemli
2007-01-17-0/+47a69061f
| | | | | | Teach cgit how to extract author info from a tag. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Handle empty/malformed commit messages
 Lars Hjemli
2007-01-16-6/+1366091f9
| | | | | | | An empty commit message would trigger a segfault in the current cgit_parse_commit(). Also, make sure that all char-pointers are properly initialized.
* Handle %xx encoding in querystring
 Lars Hjemli
2007-01-04-0/+2152e605c
| | | | | | | 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)>
* Handle '+' in querystring
 Lars Hjemli
2006-12-28-0/+205b1319
| | | | | | Translate '+' to ' ' in querystring parser (still doesn't handle %xx) Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Teach commit parser about author/committer email + timestamp
 Lars Hjemli
2006-12-16-2/+1077078ba
| | | | | | | | | | | 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>
* Add ui-commit.c + misc ui cleanups
 Lars Hjemli
2006-12-16-0/+19a8f886
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add a common commit parser
 Lars Hjemli
2006-12-15-0/+532101e26
| | | | | | Make a better commit parser, replacing the ugly one in ui-log.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.c
 Lars Hjemli
2006-12-11-0/+10651ada4f
Signed-off-by: Lars Hjemli <hjemli@gmail.com>