Commits


remove gw_get_got_link function


fix broken build_folder logic


improve error checking for gw_get_repo_heads


migrate gw_summary from gotweb_ui.h to kcgihtml


add diff link to short log messages


improve gw_template error handling, remove gw_briefs from gotweb_ui and move to kcgihtml


revert 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491; it broke 'n' (search next) In the log view, 'n' sometimes failed to search for the next matching commit and tog dead-locked. So a yield or mutex unlock/lock is required for search to work. Perhaps we need a different fix?


avoid leaking memory in gw_get_site_link()


better error checking for gw_get_repo_tags()


improved error checking for gw_get_diff()


improve error checking and memory management in gw_get_repo_tree()


fix lost gw_gen_commit_msg_header in gw_blame


make commit ID links in gotweb's blame page point to diffs rather than blobs


improve error checking in in gw_get_diff() and use getline(3) to read lines


support strings of arbitrary length in gw_html_escape(); add XXX comment


HTML-escape errors displayed by gw_display_error()


let gw_get_file_read_blob() worry about blob content; caller handles the rest


use separate functions for blaming vs. reading a blob


make gw_get_file_blame_blob() return a got_error


improve error handling, and plug some memleaks, related to repo age strings


read repository owner name with gitconfig parser instead of a hand-rolled one


improve error handling for gw_get_clone_url()


fix fread(3) error check added in previous commit


proper error handling for gw_get_repo_description()


replace improperly removed break