Website Summary Files Commits Branches @commit @diff @stats
path: root / Makefile
Commit message (Collapse)AuthorAgeLinesSHA
...
* Add ui-commit.c + misc ui cleanups
 Lars Hjemli
2006-12-16-1/+19a8f886
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add separate makefile-rule to clear current cache
 Lars Hjemli
2006-12-13-2/+4c45b817
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add display of tree content w/ui-tree.c
 Lars Hjemli
2006-12-13-1/+106fe0c2
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Move global variables + callback functions into shared.c
 Lars Hjemli
2006-12-11-2/+244923f8
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Move functions for generic object output into ui-view.c
 Lars Hjemli
2006-12-11-1/+1df63119
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Move log-functions into ui-log.c
 Lars Hjemli
2006-12-11-1/+2d14c5f6
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Move repo summary functions into ui-summary.c
 Lars Hjemli
2006-12-11-1/+11418034
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Move functions for repolist output into ui-repolist.c
 Lars Hjemli
2006-12-11-1/+174620f1
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Move common output-functions into ui-shared.c
 Lars Hjemli
2006-12-11-1/+15a106eb
| | | | | | While at it, replace the cgit_[lib_]error constants with a proper function 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-2/+351ada4f
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Let 'make install' clear all cachefiles
 Lars Hjemli
2006-12-11-0/+2a581ed8
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add version identifier in generated files
 Lars Hjemli
2006-12-10-6/+876827d8
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add caching infrastructure
 Lars Hjemli
2006-12-10-2/+425105d7
| | | | | | | | | | | | | | | | | | | | | | 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>
* Replace useless make rules with generic $(OBJECTS) dependency
 Lars Hjemli
2006-12-09-5/+1c76a52b
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Import cgit prototype from git tree
 Lars Hjemli
2006-12-09-0/+240d169ad
This enables basic cgit functionality, using libgit.a and xdiff/lib.a from git + a custom "git.h" + openssl for sha1 routines. Signed-off-by: Lars Hjemli <hjemli@gmail.com>