aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Expand)AuthorAge
...
* ui-commit: replace 'unsigned char sha1[20]' with 'struct object_id oid'Christian Hesse2016-10-04
* ui-blob: replace 'unsigned char sha1[20]' with 'struct object_id oid'Christian Hesse2016-10-04
* cgit: replace 'unsigned char sha1[20]' with 'struct object_id oid'Christian Hesse2016-10-04
* Makefile: remove extra spaceJason A. Donenfeld2016-10-01
* Simplify http_parse_querystring()Lukas Fleischer2016-10-01
* ui-tree: remove a fixed size bufferJohn Keeping2016-10-01
* ui-tag: clean up taginfoJohn Keeping2016-10-01
* shared: make cgit_free_taginfo() publicJohn Keeping2016-10-01
* shared: remove return value from cgit_free_commitinfo()John Keeping2016-10-01
* tree: allow skipping through single-child treesJohn Keeping2016-10-01
* ui-ssdiff: fix decl-after-statement warningsJohn Keeping2016-10-01
* ui-shared: fix decl-after-statement warningsJohn Keeping2016-10-01
* configfile: fix EOF handlingJohn Keeping2016-10-01
* git: update to v2.10.0Christian Hesse2016-09-04
* Fix qry.head leak on errorRichard Maw2016-07-12
* git: update to v2.9.1Christian Hesse2016-07-12
* Link with -ldl on GNU/kFreeBSDPeter Colberg2016-07-06
* Fix spelling in man pagePeter Colberg2016-07-06
* ui-shared: fix segfault when defbranch is NULLEric Wong2016-07-06
* css: consistent use of empty linesChristian Hesse2016-07-05
* ui-log: color line changesChristian Hesse2016-07-05
* Avoid ambiguities when prettifying snapshot namesLukas Fleischer2016-07-05
* git: update to v2.9.0Christian Hesse2016-06-17
* cgit.mk: Use $PKG_CONFIGKylie McClain2016-06-17
* md2html: use utf-8 and flush output bufferJason A. Donenfeld2016-06-17
* Hosted on HTTPS nowJason A. Donenfeld2016-06-07
* Bump version.v1.0Jason A. Donenfeld2016-06-07
* git: update to v2.8.3Christian Hesse2016-05-20
* ui-diff: action='.' is not correctJason A. Donenfeld2016-05-12
* forms: action should not be emptyJason A. Donenfeld2016-05-12
* ui-shared: Remove a name attribute with an empty valueJuuso Lapinlampi2016-05-12
* ui-shared: HTML-ize DOCTYPE and <html>Juuso Lapinlampi2016-05-12
* ui-shared: Simplify cgit_print_error_page() logicJuuso Lapinlampi2016-05-12
* git: update to v2.8.2Christian Hesse2016-05-12
* ui-log: Simplify decoration codeTim Nordell2016-05-12
* ui-log: Do not always emit decoration spanTim Nordell2016-05-12
* Renamed repo-specific configuration for enable-html-serving in cgitrc.5.txtMatt Comben2016-03-08
* ui-shared: redirect should not exit early for cacheJason A. Donenfeld2016-02-26
* about: path_info might not be validJason A. Donenfeld2016-02-26
* tabs: do not use target=_blankJason A. Donenfeld2016-02-23
* css: fix indentationJason A. Donenfeld2016-02-23
* css: use less blurry icon for external linkChristian Hesse2016-02-23
* md2html: Do syntax highlighting tooJason A. Donenfeld2016-02-23
* git: update to v2.7.2Christian Hesse2016-02-23
* ui-plain: fix to show a repo's root directory listing in plain viewJoe Anakata2016-02-22
* cmd: redirect empty about/ to homepage or summaryJason A. Donenfeld2016-02-22
* ui-shared: add homepage to tabsJason A. Donenfeld2016-02-22
* ui-atom: avoid DATE_STRFTIMEJohn Keeping2016-02-08
* Avoid DATE_STRFTIME for long/short datesJohn Keeping2016-02-08
* ui-stats: cast pointer before checking for zeroJohn Keeping2016-02-08
">commit->date); html("<tr><td>"); strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M", time); html_txt(buf); html("</td><td>"); char *qry = fmt("id=%s", sha1_to_hex(commit->object.sha1)); char *url = cgit_pageurl(cgit_query_repo, "commit", qry); html_link_open(url, NULL, NULL); html_ntxt(cgit_max_msg_len, info->subject); html_link_close(); files = 0; lines = 0; cgit_diff_commit(commit, inspect_files); html("</td><td class='right'>"); htmlf("%d", files); html("</td><td class='right'>"); htmlf("%d", lines); html("</td><td>"); html_txt(info->author); html("</td></tr>\n"); cgit_free_commitinfo(info); } void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path) { struct rev_info rev; struct commit *commit; const char *argv[] = {NULL, tip, NULL, NULL, NULL}; int argc = 2; int i; if (grep) argv[argc++] = fmt("--grep=%s", grep); if (path) { argv[argc++] = "--"; argv[argc++] = path; } init_revisions(&rev, NULL); rev.abbrev = DEFAULT_ABBREV; rev.commit_format = CMIT_FMT_DEFAULT; rev.verbose_header = 1; rev.show_root_diff = 0; setup_revisions(argc, argv, &rev, NULL); if (rev.grep_filter) { rev.grep_filter->regflags |= REG_ICASE; compile_grep_patterns(rev.grep_filter); } prepare_revision_walk(&rev); html("<table class='list nowrap'>"); html("<tr class='nohover'><th class='left'>Date</th>" "<th class='left'>Message</th>" "<th class='left'>Files</th>" "<th class='left'>Lines</th>" "<th class='left'>Author</th></tr>\n"); if (ofs<0) ofs = 0; for (i = 0; i < ofs && (commit = get_revision(&rev)) != NULL; i++) { free(commit->buffer); commit->buffer = NULL; free_commit_list(commit->parents); commit->parents = NULL; } for (i = 0; i < cnt && (commit = get_revision(&rev)) != NULL; i++) { print_commit(commit); free(commit->buffer); commit->buffer = NULL; free_commit_list(commit->parents); commit->parents = NULL; } html("</table>\n"); html("<div class='pager'>"); if (ofs > 0) { html("&nbsp;<a href='"); html(cgit_pageurl(cgit_query_repo, cgit_query_page, fmt("h=%s&ofs=%d", tip, ofs-cnt))); html("'>[prev]</a>&nbsp;"); } if ((commit = get_revision(&rev)) != NULL) { html("&nbsp;<a href='"); html(cgit_pageurl(cgit_query_repo, "log", fmt("h=%s&ofs=%d", tip, ofs+cnt))); html("'>[next]</a>&nbsp;"); } html("</div>"); }