summaryrefslogtreecommitdiff
path: root/cgit.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* implement repo.logo and repo.logo-linkBernhard Reutner-Fischer2011-02-191-2/+6
* Add `strict-export` optionFelix Hanley2010-11-081-0/+2
* Merge branch 'ml/bugfix'Lars Hjemli2010-09-191-1/+1
|\
| * fix errors in printf-style format stringsMark Lodato2010-09-041-1/+1
* | Merge branch 'lh/section-from-path'Lars Hjemli2010-09-191-0/+2
|\ \
| * | Add support for 'section-from-path' optionLars Hjemli2010-08-221-0/+2
| |/
* / Add support for "readme" optionLars Hjemli2010-08-221-5/+3
|/
* Use GIT-1.7.2.2Lars Hjemli2010-08-221-1/+1
* Support refspecs in about-filter.Jason A. Donenfeld2010-08-201-1/+3
* Add support for 'enable-gitweb-owner' optionJason A. Donenfeld2010-08-041-0/+3
* Add support for 'remove-suffix' optionJason A. Donenfeld2010-08-041-0/+3
* Add support for 'project-list' optionJason A. Donenfeld2010-08-041-5/+22
* Merge branch 'jh/ignorews'Lars Hjemli2010-07-181-0/+2
|\
| * Add URL parameter 'ignorews' for optionally ignoring whitespace in diffsJohan Herland2010-07-181-0/+2
* | Merge branch 'lh/macros'Lars Hjemli2010-07-181-5/+5
|\ \
| * | Add support for environment variable expansionLars Hjemli2010-03-221-5/+5
* | | Merge branch 'jh/context-lines'Lars Hjemli2010-06-221-0/+2
|\ \ \ | | |/ | |/|
| * | Add URL parameter 'context' for changing the number of context lines in diffsJohan Herland2010-06-191-0/+2
* | | Merge branch 'jh/path-limit'Lars Hjemli2010-06-221-0/+6
|\| |
| * | struct cgit_cmd: Differentiate between various usages of ctx.qry.pathJohan Herland2010-06-191-0/+6
| |/
* | Merge branch 'ag/atom-fixes'Lars Hjemli2010-06-191-0/+5
|\ \
| * | Add 'max-atom-items' config variableAaron Griffin2010-03-221-0/+3
| * | Add all=1 query param for atom feedsAaron Griffin2010-03-221-0/+2
| |/
* / Optionally generate verbose parent linksLars Hjemli2010-02-271-0/+4
|/
* Merge branch 'stable'Lars Hjemli2010-02-271-1/+1
|\
| * Clear the whole contextDaniel Milde2010-02-271-1/+1
* | Merge branch 'lh/remote-branches'Lars Hjemli2009-12-081-0/+4
|\ \
| * | Add support for remote branchesLars Hjemli2009-11-071-0/+4
* | | Merge branch 'ro/ssdiff'Lars Hjemli2009-12-081-0/+5
|\ \ \
| * | | Add possibility to switch between unidiff and side-by-side-diff.Ragnar Ouchterlony2009-09-161-0/+5
* | | | Merge branch 'master' of http://op-co.de/cgitLars Hjemli2009-12-081-0/+3
|\ \ \ \
| * | | | "max-blob-size" config var to limit generated HTML sizeGeorg Lukas2009-11-281-0/+3
| | |/ / | |/| |
* | | | Merge branch 'stable'Lars Hjemli2009-12-081-2/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Don't crash when a repo-specific readme file is usedSami Kyöstilä2009-12-081-2/+2
| |/
* / Skip leading "/" in url querystring valueStefan Bühler2009-10-061-0/+2
|/
* Merge branch 'lh/repo-scan'Lars Hjemli2009-09-131-54/+211
|\
| * cgit.c: respect repo-local 'snapshots' option for --scan-pathLars Hjemli2009-08-241-0/+10
| * cgit.c: only print first line of repo.desc in print_repo()Lars Hjemli2009-08-241-2/+14
| * Add and use cgit_find_stats_periodname() in print_repo()Lars Hjemli2009-08-241-0/+3
| * cgit.c: generate repo.snapshots in print_repo()Lars Hjemli2009-08-241-0/+25
| * cgit.c: add missing options to print_repo()Lars Hjemli2009-08-241-0/+18
| * Add config option 'enable-filter-overrides'Lars Hjemli2009-08-241-6/+9
| * ui-repolist: handle empty sections similar to NULL sectionsLars Hjemli2009-08-241-0/+1
| * Add support for repo-local cgitrc fileLars Hjemli2009-08-241-4/+4
| * cgit.c: refactor repo_config() from config_cb()Lars Hjemli2009-08-241-41/+48
| * Add config option 'repo.section'Lars Hjemli2009-08-241-0/+2
| * Introduce 'section' as canonical spelling for 'repo.group'Lars Hjemli2009-08-241-2/+2
| * Add support for --scan-path command line optionLars Hjemli2009-08-241-1/+2
| * Rename 'repo.scan' to 'scan-path'Lars Hjemli2009-08-241-5/+5
| * cgit.c: add support for caching autodetected repositoriesLars Hjemli2009-08-241-1/+74
com> 2006-12-11Fix cache algorithm loopholeLars Hjemli3-11/+16 This closes the door for unneccessary calls to cgit_fill_cache(). Noticed by Linus. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add version identifier in generated filesLars Hjemli2-9/+14 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add license file and copyright noticesLars Hjemli5-0/+372 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add caching infrastructureLars Hjemli9-28/+353 This enables internal caching of page output. Page requests are split into four groups: 1) repo listing (front page) 2) repo summary 3) repo pages w/symbolic references in query string 4) repo pages w/constant sha1's in query string Each group has a TTL specified in minutes. When a page is requested, a cached filename is stat(2)'ed and st_mtime is compared to time(2). If TTL has expired (or the file didn't exist), the cached file is regenerated. When generating a cached file, locking is used to avoid parallell processing of the request. If multiple processes tries to aquire the same lock, the ones who fail to get the lock serves the (expired) cached file. If the cached file don't exist, the process instead calls sched_yield(2) before restarting the request processing. Signed-off-by: Lars Hjemli <hjemli@gmail.com>