Website Summary Files Commits Branches @commit @diff @stats
path: root / shared.c
Commit message (Collapse)AuthorAgeLinesSHA
* WIP: add paths/backlinks to tree/blobview
 Lars Hjemli
2007-01-12-0/+35cd2bf7
|
* Handle %xx encoding in querystring
 Lars Hjemli
2007-01-04-0/+1352e605c
| | | | | | | 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)>
* Add generic support for search box in page header
 Lars Hjemli
2006-12-28-0/+3e39d738
| | | | | | | This adds the ability to show a search box in any pageheader with correct href and hidden form data, but does not enable the box on any pages. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add missing ttl-options in config
 Lars Hjemli
2006-12-22-0/+8378cae6
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add basic diff view
 Lars Hjemli
2006-12-20-0/+436aba00
| | | | | | Finally, xdiff is used to show per-file diffs via commit view. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add cgit_free_commitinfo() and use where needed
 Lars Hjemli
2006-12-16-0/+10aaa24bd
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add cache-root option to /cgit/rc
 Lars Hjemli
2006-12-16-0/+261245ad
| | | | | | | | Somehow, this option was forgotten when parsing the configfile. Add it. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add argument parsing + switch for uncached operation
 Lars Hjemli
2006-12-16-0/+3521dc7a
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for the following options to cgit: --root=<path> --cache=<path> --nocache --query=<querystring> --repo=<reponame> --page=<pagename> --head=<branchname> --sha1=<sha1> --ofs=<number> On startup, /etc/cgitrc is parsed, followed by argument parsing and finally querystring parsing. If --nocache is specified (or set in /etc/gitrc), caching is disabled and cgit instead generates pages to stdout. The combined effect of these two changes makes testing/debugging a lot less painfull. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add head comment to shared.c
 Lars Hjemli
2006-12-16-0/+8a1a7999
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add simple pager to log page
 Lars Hjemli
2006-12-14-3/+6420712a
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Move global variables + callback functions into shared.c
 Lars Hjemli
2006-12-11-0/+7444923f8
Signed-off-by: Lars Hjemli <hjemli@gmail.com>