summaryrefslogtreecommitdiff
path: root/cgit.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add log filtering by path and link to it from tree viewLars Hjemli2007-05-141-2/+2
* Add commitdiff between commit and each of it's parentLars Hjemli2007-05-131-1/+1
* Add max-commit-count parameter to cgitrcLars Hjemli2007-05-131-0/+1
* Add standard interface for file diff functionsLars Hjemli2007-05-131-0/+7
* Add shared diff-handling functionsLars Hjemli2007-05-131-0/+5
* Add submodule links in tree listingLars Hjemli2007-05-111-0/+2
* Add support for downloading single blobsLars Hjemli2007-05-091-0/+1
* ui-view: show pathname if specified in querystringLars Hjemli2007-05-081-1/+1
* Update to libgit 1.5.2-rc2Lars Hjemli2007-05-081-4/+16
* Make snapshot feature configurableLars Hjemli2007-02-081-0/+2
* Add support for snapshotsLars Hjemli2007-02-081-0/+10
* Read repo-info from /etc/cgitrcLars Hjemli2007-02-041-1/+17
* Add parameter to adjust max message length in log listingsLars Hjemli2007-01-281-0/+2
* Add function cgit_parse_tag()Lars Hjemli2007-01-171-0/+8
* WIP: add paths/backlinks to tree/blobviewLars Hjemli2007-01-121-1/+2
* Remove troublesome chars from cachefile namesLars Hjemli2007-01-121-0/+1
* Move cache_prepare() to cgitLars Hjemli2007-01-121-1/+0
* Handle %xx encoding in querystringLars Hjemli2007-01-041-0/+2
* Add basic log filteringLars Hjemli2006-12-281-1/+1
* Add generic support for search box in page headerLars Hjemli2006-12-281-1/+3
* Only show first 80 characters of commit subject in log and summaryLars Hjemli2006-12-221-0/+1
* Add basic diff viewLars Hjemli2006-12-201-0/+2
* Show list of modified files in ui-commit.cLars Hjemli2006-12-171-0/+1
* Add cgit_free_commitinfo() and use where neededLars Hjemli2006-12-161-0/+2
* Teach commit parser about author/committer email + timestampLars Hjemli2006-12-161-0/+4
* Add argument parsing + switch for uncached operationLars Hjemli2006-12-161-0/+1
* Move cgit_print_date into ui-shared, reuse in ui-summaryLars Hjemli2006-12-161-0/+1
* Add ui-commit.c + misc ui cleanupsLars Hjemli2006-12-161-2/+3
* Add a common commit parserLars Hjemli2006-12-151-0/+9
* Add simple pager to log pageLars Hjemli2006-12-141-0/+1
* Add display of tree content w/ui-tree.cLars Hjemli2006-12-131-0/+1
* Don't truncate valid cachefilesLars Hjemli2006-12-111-0/+1
* Move global variables + callback functions into shared.cLars Hjemli2006-12-111-3/+4
* Move functions for generic object output into ui-view.cLars Hjemli2006-12-111-0/+1
* Move log-functions into ui-log.cLars Hjemli2006-12-111-3/+2
* Move repo summary functions into ui-summary.cLars Hjemli2006-12-111-0/+3
* Move functions for repolist output into ui-repolist.cLars Hjemli2006-12-111-0/+8
* Move common output-functions into ui-shared.cLars Hjemli2006-12-111-1/+8
* Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli2006-12-111-0/+1
* Avoid infinite loops in caching layerLars Hjemli2006-12-111-0/+1
* Fix cache algorithm loopholeLars Hjemli2006-12-111-1/+2
* Add caching infrastructureLars Hjemli2006-12-101-2/+45
* Import cgit prototype from git treeLars Hjemli2006-12-091-0/+21
.9.0.2&id=76827d8679d1d2bd46e8cddf7da2ce4178e1d676&follow=1'>Add 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>