Commits


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


missing error check in gw_display_index()


introduce gw_display_error so gw_display_index doesn't have double-duty


call khtml_close() in gw_display_index() even when an error occurred


free all the things allocated by gw_summary() in one place


simplify error return from pledge failure in gw_summary


allow callers of gw_get_repo_age to tell which error occured, if any


don't use stdbool.h