gotweb


Log

Author Commit Date CI Message
Tracey Emery 56997cd3 2020-02-14T22:19:41 rename commit to commit_id in gw_trans and fix setting gw_trans->commit_id from gw_index leave comment explaining this
Tracey Emery f9315db0 2020-02-14T22:07:17 initialize author and committer to prevent double free on error
Tracey Emery deac617c 2020-02-14T21:49:11 where we can, use a single open repo object to reduce opening and closing a repo
Tracey Emery 3c245a0e 2020-02-14T21:01:29 further simplify objects carries around in struct gw_header
Tracey Emery 4e8d6e3e 2020-02-14T20:56:45 simplify getting commit header info and open and close in scope discussed at length with stsp
Stefan Sperling 2011c142 2020-02-14T11:19:43 simplify gw_get_repo_age() and close several resource leaks
Stefan Sperling 7eb2c8df 2020-02-14T11:13:16 no need to dup refname in gw_output_repo_heads()
Stefan Sperling eb4f3ad3 2020-02-14T11:13:16 check for any symbolic refs and skip them, not just HEAD
Stefan Sperling 17d4bf8d 2020-02-14T11:13:16 refname in gw_get_repo_age() doesn't need to be duplicated; simplify
Stefan Sperling 742ba378 2020-02-14T10:50:54 there is no need to strdup() gw_trans->headref
Stefan Sperling 122f3af5 2020-02-14T10:41:25 add missing error checks in gw_get_header()
Stefan Sperling a4c23852 2020-02-14T10:25:50 gotweb: decorate only the branch's tip commit ID with "(branch)"; add XXX
Stefan Sperling b0a1bc86 2020-02-14T10:05:22 gw_free_headers() frees just one gw_header so rename it to gw_free_header()
Stefan Sperling 92786174 2020-02-14T09:48:39 make gotweb's summary page display which branch the commit briefs belong to
Tracey Emery 7ecc73af 2020-02-13T23:49:31 ensure we close the final checked dir in gw_load_got_path and use better error message
Tracey Emery cc18a904 2020-02-13T23:40:43 catch invalid actions and git paths earlier in querystring parsing
Tracey Emery 6f6f771f 2020-02-13T23:28:37 set gw_err in correct code path
Tracey Emery 88759617 2020-02-13T22:25:33 remove free(refs_str) that was reintroduced with rebase
Tracey Emery f1200fe3 2020-02-13T22:20:46 fixup initial action querystring error and use the err.tmpl finally
Stefan Sperling d81f9039 2020-02-13T20:49:27 jump to error handling consistently in gw_load_got_path()
Stefan Sperling a81394a7 2020-02-13T20:42:44 eliminate unnecessary strdup() via an intermediate variable in gw_get_commit()
Tracey Emery 53e81e48 2020-02-13T20:38:29 remove unneeded asprintf and clean up a couple of lines
Tracey Emery 5c65becf 2020-02-13T20:27:04 remove all usage of strdup("") and simply check for NULL instead
Tracey Emery 39fdad0d 2020-02-13T18:07:50 avoid strdup on author and committer
Tracey Emery d1635ae4 2020-02-13T18:02:36 backout changes in a942aa37d2d222c183405af276d7bd07f9657398 and expand strdup error checking
Stefan Sperling 4d6abe2b 2020-02-13T10:55:02 no need to deep-copy repo_file param from querystring; add some XXX comments
Stefan Sperling dda76f18 2020-02-13T10:52:18 add another XXX comment; I'm not quite sure what to do about this just yet
Stefan Sperling f652ec0c 2020-02-13T10:43:59 no need to deep-copy the repository name from the request; just point to it
Stefan Sperling 26dc3004 2020-02-13T10:40:47 put braces around multi-line if (...)
Stefan Sperling 5d1296de 2020-02-13T10:37:36 no need to copy gotweb's action name; just look it up in static memory
Stefan Sperling b0ca5974 2020-02-13T10:31:23 reduce indentation level of code in gw_parse_querystring; no functional change
Stefan Sperling 1620a2b8 2020-02-13T10:15:49 add XXX comment to code that seems... off...
Stefan Sperling 8f484ce9 2020-02-13T10:12:43 list all branch heads on gotweb summary page, not just the first one
Stefan Sperling 4619e1f2 2020-02-13T10:11:07 consistent error return from gw_init_gw_dir()
Stefan Sperling a02d5f81 2020-02-13T10:05:24 break out of loop on error, instead of returning, in gw_index()
Stefan Sperling d4159696 2020-02-13T10:02:21 remove unused second parameter from gw_apply_unveil()
Tracey Emery 30ecb075 2020-02-12T17:11:48 gotweb TODO changes
Tracey Emery 1dcb8908 2020-02-12T14:51:25 fix missed viewport name attribute
Tracey Emery 00f13350 2020-02-10T16:37:31 order, consistency, minor jump cleanup
Tracey Emery a942aa37 2020-02-10T15:54:56 improve strdup error handling
Tracey Emery 30171116 2020-02-09T19:06:37 remove no longer needed buf.h header
Tracey Emery 9133a7e6 2020-02-09T19:04:00 simplify asprintf error return
Tracey Emery 565d9dcb 2020-02-09T18:48:56 simply error handling in gw_index
Tracey Emery b3f1f953 2020-02-09T17:52:48 remove gw_index from gotweb_ui.h and eliminated gotweb_ui.h
Tracey Emery 833eae29 2020-02-08T19:44:46 remove my migration comments guides
Tracey Emery 63ee0dca 2020-02-08T19:38:13 migrate minor elements from gotweb_ui.h
Tracey Emery 4ae179a2 2020-02-08T19:00:15 remove gw_get_site_link from gotweb_ui
Tracey Emery 9eed6f10 2020-02-08T17:55:48 remove gw_summary heads from gotweb_ui.h
Tracey Emery aaed5792 2020-02-08T17:07:49 migrate head html from gotweb_ui.h
Tracey Emery ef2c200c 2020-02-07T16:59:24 properly handle lightweight tags
Tracey Emery 0d100d0b 2020-02-07T15:20:55 improve error display in TEMPL_CONTENT
Tracey Emery 78a9dab5 2020-02-07T15:05:51 eliminate gw_html_escape and use css for remaining newline breaks
Stefan Sperling 7bf16821 2020-02-07T08:32:02 properly skip non-repo dirss in gotweb repo path by masking related errors
Stefan Sperling 00c42163 2020-02-07T08:18:38 ensure that we set a mime-type and display index if a blob is empty
Tracey Emery 056e30c8 2020-02-06T23:34:49 also add the kcgi element ... whoops
Tracey Emery dad0fde4 2020-02-06T23:31:12 add a href link to tag_commit on gw_summary
Tracey Emery 38b240fb 2020-02-06T23:26:44 remove tags from gotweb_ui.h for both gw_summary and gw_tag something is failing occasionally in gw_output_repo_tags which needs investigated
Tracey Emery 626b25b6 2020-02-06T21:04:08 remove gw_tree from gotweb_ui.h
Tracey Emery 9a9d12ca 2020-02-06T18:02:12 improve the output of gw_blame
Tracey Emery 889ff356 2020-02-06T16:42:24 remove unneeded return
Tracey Emery e0857cfe 2020-02-06T15:55:15 improve the output of gw_blob
Stefan Sperling 7afec891 2020-02-06T09:07:26 kcgi_strerror() takes an enum kcgi_err parameter, not a boolean expression
Stefan Sperling 2447adad 2020-02-06T09:04:58 gw_kcgi_error() takes an enum kcgi_err parameter, not a boolean expression
Tracey Emery b4fba448 2020-02-05T17:07:01 move elements from gw_commits and gw_diff to their respective template files
Tracey Emery a5594e37 2020-02-05T16:54:46 fix my own build_folder logic error
Tracey Emery 95bd51cf 2020-02-05T16:46:09 clean up unused elements in gotweb_ui.h
Tracey Emery f7cc9480 2020-02-05T16:43:40 remove gw_diff from gotweb_ui.h
Tracey Emery 7eb9c9ed 2020-02-04T17:53:49 return on error, don't set return_html
Tracey Emery 27192be7 2020-02-04T17:52:01 fix author and committer email in functions slated for deletion
Tracey Emery 87ca24ac 2020-02-04T17:11:05 add back accidentally removed commiter title
Tracey Emery 21a55cc7 2020-02-04T16:54:23 remove gw_commits from gotweb_ui.h and clean up kerr conversions
Stefan Sperling ef72fe2c 2020-02-04T07:21:23 add missing conversion from kcgi error code to got_error in gw_briefs()
Tracey Emery 185ba3ba 2020-02-04T00:51:59 remove gw_get_got_link function
Tracey Emery 0e8c500a 2020-02-04T00:47:30 fix broken build_folder logic
Tracey Emery 51d4a92d 2020-02-03T22:20:33 improve error checking for gw_get_repo_heads
Tracey Emery 783ec107 2020-02-03T22:11:46 migrate gw_summary from gotweb_ui.h to kcgihtml
Tracey Emery 52f8346c 2020-02-03T21:26:41 add diff link to short log messages
Tracey Emery bd275801 2020-02-03T21:20:28 improve gw_template error handling, remove gw_briefs from gotweb_ui and move to kcgihtml
Stefan Sperling eb89db64 2020-02-03T16:35:07 avoid leaking memory in gw_get_site_link()
Stefan Sperling 6eccd105 2020-02-03T16:27:24 better error checking for gw_get_repo_tags()
Stefan Sperling 83eb9a68 2020-02-03T16:16:10 improved error checking for gw_get_diff()
Stefan Sperling 84bf4df2 2020-02-03T16:01:12 improve error checking and memory management in gw_get_repo_tree()
Tracey Emery f146a4ea 2020-02-03T15:14:53 fix lost gw_gen_commit_msg_header in gw_blame
Stefan Sperling 1d28db1e 2020-02-03T13:29:13 make commit ID links in gotweb's blame page point to diffs rather than blobs
Stefan Sperling d4729381 2020-02-03T13:22:26 improve error checking in in gw_get_diff() and use getline(3) to read lines
Stefan Sperling 070fee27 2020-02-03T12:58:20 support strings of arbitrary length in gw_html_escape(); add XXX comment
Stefan Sperling 33dc7bd2 2020-02-03T10:59:43 HTML-escape errors displayed by gw_display_error()
Stefan Sperling 5894d523 2020-02-03T10:33:59 let gw_get_file_read_blob() worry about blob content; caller handles the rest
Stefan Sperling 4fd4726a 2020-02-03T10:25:00 use separate functions for blaming vs. reading a blob
Stefan Sperling a81f3554 2020-02-03T10:02:26 make gw_get_file_blame_blob() return a got_error
Stefan Sperling 55ccf528 2020-02-03T09:48:17 improve error handling, and plug some memleaks, related to repo age strings
Stefan Sperling 9a1cc63f 2020-02-03T09:18:40 read repository owner name with gitconfig parser instead of a hand-rolled one
Stefan Sperling 59d3c40e 2020-02-03T08:34:24 improve error handling for gw_get_clone_url()
Stefan Sperling 1ab830c1 2020-02-03T08:28:36 fix fread(3) error check added in previous commit
Stefan Sperling 32cd4d18 2020-02-03T08:21:44 proper error handling for gw_get_repo_description()
Tracey Emery b8b04565 2020-02-02T17:27:39 add missed error catching in gotweb
Stefan Sperling 872742ce 2020-02-01T17:18:54 in gotweb, use the same binary file detection heuristic as grep(1); ok tracey
Tracey Emery de6bdba4 2020-01-31T17:30:05 prevent null folder in blame hash link
Tracey Emery 10d47faf 2020-01-31T17:22:43 add link to blame hash for blob of that commit
Tracey Emery 1570c56f 2020-01-30T20:17:57 add conditional variable assignment operator to CHROOT_DIR