Commits


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


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()


add missed error catching in gotweb


in gotweb, use the same binary file detection heuristic as grep(1); ok tracey


prevent null folder in blame hash link


add link to blame hash for blob of that commit


whoops, add back leading slash


attempt to detect non-plain-text blob and download as file instead, otherwise display plain text in browser


remove html from blob output


add gw_blob to increase the usefulness of gw_tree


alternate color of tree lines to prepare for blob/blame conversion