summaryrefslogtreecommitdiff
path: root/ui-atom.h (unfollow)
Commit message (Expand)AuthorFilesLines
2010-09-19Install filter scriptsTodd Zullinger1-0/+4
2010-09-19Add Makefile targets to install/uninstall docsTodd Zullinger1-1/+38
2010-09-19Generalize doc generationTodd Zullinger1-7/+16
2010-09-19Use GIT-1.7.3Lars Hjemli2-1/+1
2010-09-04prefer html_raw() to write()Mark Lodato3-12/+12
2010-09-04ui-repolist: fix redefinition of _XOPEN_SOURCEMark Lodato1-6/+0
2010-09-04fix errors in printf-style format stringsMark Lodato6-12/+25
2010-09-04use __attribute__ to catch printf format mistakesMark Lodato3-0/+5
2010-09-01ui-snapshot: actually compress zip archivesLars Hjemli1-0/+1
2010-08-29html: fix strcpy bug in convert_query_hexcharMark Lodato1-4/+5
2010-08-29t0108-patch: add 'tests_done' to endMark Lodato1-0/+2
2010-08-22Add support for 'section-from-path' optionLars Hjemli4-6/+45
2010-08-22Add support for "readme" optionLars Hjemli6-24/+43
2010-08-22Use GIT-1.7.2.2Lars Hjemli7-10/+10
2010-08-20Support refspecs in about-filter.Jason A. Donenfeld5-7/+63
2010-08-04ui-log: Display git notes when presentJeff Smith2-0/+23
2010-08-04ui-commit: Display git notes when presentJeff Smith3-0/+34
2010-08-04Add support for 'enable-gitweb-owner' optionJason A. Donenfeld4-9/+33
2010-08-04Add support for 'remove-suffix' optionJason A. Donenfeld4-0/+13
2010-08-04Add support for 'project-list' optionJason A. Donenfeld5-8/+70
2010-08-03CGIT 0.8.3.3v0.8.3.3Lars Hjemli1-1/+1
2010-08-03ui-refs.c: avoid segfault on unparsed ref objectsLars Hjemli1-12/+14
2010-07-22commit-links.sh: Seperate the expressions for filtering commit messages.Jeff Smith1-7/+9
2010-07-22Makefile: do not include dependency-file on `make clean`Lynn Lin1-1/+3
2010-07-18ui-diff: Add link to ignore/show whitespace changes in diffsJohan Herland2-0/+15
2010-07-18Add URL parameter 'ignorews' for optionally ignoring whitespace in diffsJohan Herland6-12/+25
2010-07-13Reencode author and committerRémi Lagacé1-0/+4
2010-06-19ui-log.c: allow commit range as search expressionLars Hjemli2-4/+8
2010-06-19ui-diff: Add links to increase/decrease number of context lines in diffsJohan Herland2-1/+23
2010-06-19Add URL parameter 'context' for changing the number of context lines in diffsJohan Herland6-7/+11
2010-06-19ui-shared.c: path-limit style nitpickLars Hjemli1-4/+2
2010-06-19Fix style of commit-filter links in commit-subject.Johan Herland1-1/+4
2010-06-19CGIT 0.8.3.2v0.8.3.2Lars Hjemli1-1/+1
2010-06-19ui-log: Preserve path limit in outgoing linksJohan Herland1-12/+15
2010-06-19ui-shared: Preserve path limit in "tab bar" linksJohan Herland1-5/+6
2010-06-19ui-commit: Preserve path limit in links to commit pageJohan Herland5-12/+15
2010-06-19ui-commit: Preserve path limit in links to tree and diff pagesJohan Herland1-1/+5
2010-06-19ui-patch: Apply path limit to generated patchJohan Herland6-8/+10
2010-06-19ui-commit: Limit diff based on path limit in qry.pathJohan Herland3-4/+4
2010-06-19ui-diff: Teach diffstat to obey path limitJohan Herland1-3/+5
2010-06-19ui-tree: Remove unnecessary path breadcrumb navigationJohan Herland1-13/+2
2010-06-19ui-shared: Teach "breadcrumb" navigation to path limit display beneath tab barJohan Herland2-1/+82
2010-06-19ui-shared: Display path limit directly beneath tab bar in relevant pagesJohan Herland2-0/+14
2010-06-19ui-shared: Replace ctx.qry.path with ctx.qry.vpathJohan Herland1-4/+4
2010-06-19struct cgit_cmd: Differentiate between various usages of ctx.qry.pathJohan Herland4-22/+30
2010-06-19ui-shared: Remove needless cgit_get_cmd() call, and refactor hc() accordinglyJohan Herland1-19/+12
2010-06-19ui-shared: Improve const-ness in APIJohan Herland2-65/+80
2010-06-19Remove unused variable in shared.cJohan Herland1-1/+0
2010-06-19Fix small typo in cgitrc exampleJohan Herland1-1/+1
2010-04-08shared.c: avoid memory leak during diffLars Hjemli1-0/+8
shared.cLars Hjemli4-82/+86 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for generic object output into ui-view.cLars Hjemli4-34/+43 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move log-functions into ui-log.cLars Hjemli5-111/+121 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move repo summary functions into ui-summary.cLars Hjemli4-47/+59 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for repolist output into ui-repolist.cLars Hjemli5-70/+90 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move common output-functions into ui-shared.cLars Hjemli4-82/+99 While at it, replace the cgit_[lib_]error constants with a proper function Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli4-28/+29 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Avoid infinite loops in caching layerLars Hjemli3-14/+31 Add a global variable, cgit_max_lock_attemps, to avoid the possibility of infinite loops when failing to acquire a lockfile. This could happen on broken setups or under crazy server load. Incidentally, this also fixes a lurking bug in cache_lock() where an uninitialized returnvalue was used. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Let 'make install' clear all cachefilesLars Hjemli1-0/+2 Signed-off-by: Lars Hjemli <hjemli@gmail.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>