aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui-summary.c
Commit message (Expand)AuthorAge
* global: make 'char *path' const where possibleChristian Hesse2019-06-05
* ui-summary: send images plain for about pageChristian Hesse2015-08-17
* summary: move layout into page functionJohn Keeping2015-08-14
* about: move layout into page functionsJohn Keeping2015-08-14
* Remove redundant includesJohn Keeping2015-08-13
* Avoid non-ANSI function declarationsJohn Keeping2015-03-09
* cgit: show clone URLs for empty repoJason A. Donenfeld2015-03-05
* ui-summary: add "rel='vcs-git'" to clone URL linksJohn Keeping2014-12-23
* Extract clone URL printing to ui-shared.cJohn Keeping2014-12-23
* git: update for git 2.0Christian Hesse2014-06-28
* remove trailing whitespaces from source filesChristian Hesse2014-04-17
* filter: return on null filter from open and closeJason A. Donenfeld2014-01-14
* filter: pass extra arguments via cgit_open_filterJohn Keeping2014-01-12
* Replace most uses of strncmp() with prefixcmp()Lukas Fleischer2014-01-10
* Update copyright informationLukas Fleischer2014-01-08
* ui-summary: do not free refJason A. Donenfeld2013-05-28
* readme: use string_list instead of space deliminationsJason A. Donenfeld2013-05-26
* ui-summary: Disallow directory traversalJason A. Donenfeld2013-05-25
* readme: Accept multiple candidates and test them.Jason A. Donenfeld2013-05-25
* ui-summary: Pass filename to about-filterJason A. Donenfeld2013-05-25
* ui-summary: Use default branch for readme if : prefixJason A. Donenfeld2013-05-25
* use struct strbuf instead of static buffersJohn Keeping2013-04-08
* Always #include corresponding .h in .c filesJohn Keeping2013-04-08
* ui-summary.c: Move urls variable into print_urls()Lukas Fleischer2013-03-20
* Fix colspan valuesLukas Fleischer2013-03-20
* ui-log: Add "commit-sort" option for controlling commit orderingTobias Bieniek2012-10-17
* cgit.c: add 'clone-url' setting with support for macro expansionLars Hjemli2011-06-13
* cgit.c: always setup cgit repo environment variablesLars Hjemli2011-06-13
* cgit_open_filter: also take the repo as a parameterFerry Huberts2011-03-26
* ui-log: Line-wrap long commit subjects when showmsg is enabledJohan Herland2010-11-16
* Add support for "readme" optionLars Hjemli2010-08-22
* Support refspecs in about-filter.Jason A. Donenfeld2010-08-20
* Add 'about-filter' and 'repo.about-filter' optionsLars Hjemli2009-08-09
* ui-summary: enable arbitrary paths below repo.readmeLars Hjemli2009-08-09
* ui-summary: use html_url_path()Lars Hjemli2008-10-05
* ui-summary: show clone urlsLars Hjemli2008-07-27
* Prepare for 'about repo' pageLars Hjemli2008-04-28
* Make branches, tags and log play better together in the summary viewLars Hjemli2008-04-14
* Add separate header-files for each page/viewLars Hjemli2008-03-24
* Introduce html.hLars Hjemli2008-03-18
* Move cgit_repo into cgit_contextLars Hjemli2008-02-16
* Add all config variables into struct cgit_contextLars Hjemli2008-02-16
* Introduce struct cgit_contextLars Hjemli2008-02-16
* Fix html error detected by test-suiteLars Hjemli2007-11-11
* Add search parameters to cgit_log_linkLars Hjemli2007-11-03
* Change the cgit layoutLars Hjemli2007-10-30
* Make print_branch() handle refs not pointing at commitsLars Hjemli2007-10-28
* Teach log search about --grep, --author and --committerLars Hjemli2007-10-28
* Cleanup code introduced by the filter-refs topicLars Hjemli2007-10-27
* Add links to the new refs page from summary pageLars Hjemli2007-10-27
(get_sha1(head,sha1)) { cgit_print_error(fmt("Bad ref: %s", head)); return; } } type = sha1_object_info(sha1, &size); if((!hex) && type == OBJ_COMMIT && path) { commit = lookup_commit_reference(sha1); match_path = path; matched_sha1 = sha1; read_tree_recursive(commit->tree, NULL, 0, 0, paths, walk_tree, NULL); type = sha1_object_info(sha1,&size); } if (type == OBJ_BAD) { cgit_print_error(fmt("Bad object name: %s", hex)); return; } buf = read_sha1_file(sha1, &type, &size); if (!buf) { cgit_print_error(fmt("Error reading object %s", hex)); return; } buf[size] = '\0'; ctx.page.mimetype = ctx.qry.mimetype; ctx.page.filename = path; cgit_print_http_headers(&ctx); write(htmlfd, buf, size); }