about summary refs log tree commit diff
path: root/ui-blame.c (follow)
Commit message (Collapse)AuthorAge
* git: update to v2.18.0Christian Hesse2018-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to git version v2.18.0. Required changes follow upstream commits: * Convert find_unique_abbrev* to struct object_id (aab9583f7b5ea5463eb3f653a0b4ecac7539dc94) * sha1_file: convert read_sha1_file to struct object_id (b4f5aca40e6f77cbabcbf4ff003c3cf30a1830c8) * sha1_file: convert sha1_object_info* to object_id (abef9020e3df87c441c9a3a95f592fce5fa49bb9) * object-store: move packed_git and packed_git_mru to object store (a80d72db2a73174b3f22142eb2014b33696fd795) * treewide: rename tree to maybe_tree (891435d55da80ca3654b19834481205be6bdfe33) The changed data types required some of our own functions to be converted to struct object_id: ls_item print_dir print_dir_entry print_object single_tree_cb walk_tree write_tree_link And finally we use new upstream functions that were added for struct object_id: hashcpy -> oidcpy sha1_to_hex -> oid_to_hex Signed-off-by: Christian Hesse <mail@eworm.de> Reviewed-by: John Keeping <john@keeping.me.uk>
* ui-blame: free read_sha1_file() buffer after useAndy Green2018-06-19
| | | | | Signed-off-by: Andy Green <andy@warmcat.com> Signed-off-by: John Keeping <john@keeping.me.uk>
* ui-blame: Allow syntax highlightingJeff Smith2018-01-19
| | | | | | | | | | Place file contents into a single block so that syntax highlighting can be applied in the usual fashion. Place the alternating color bars behind the file contents. Force the default syntax highlighting background to transparent. Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
* ui-blame: Make each column into a single table cellJeff Smith2018-01-19
| | | | | Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
* ui-blame: Break out emit_blame_entry into component methodsJeff Smith2018-01-19
| | | | | Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
* ui-blame: Distinguish hashes column from lines columnJeff Smith2018-01-19
| | | | | Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
* git: update to v2.16.0Christian Hesse2018-01-19
| | | | | | | | | | | | | | | Update to git version v2.16.0: * refs: convert resolve_ref_unsafe to struct object_id (49e61479be913f67e66bb3fdf8de9475c41b58bd) * diff: remove DIFF_OPT_SET macro (23dcf77f48feb49c54bad09210f093a799816334) * log: add option to choose which refs to decorate (65516f586b69307f977cd67cc45513a296cabc25) * diff: convert flags to be stored in bitfields (02f2f56bc377c287c411947d0e1482aac888f8db) Signed-off-by: Christian Hesse <mail@eworm.de>
* ui-blame: add blame UIJeff Smith2017-10-03
Implement a page which provides the blame view of a specified file. This feature is controlled by a new config variable, "enable-blame", which is disabled by default. Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
9cc0f08c195940de05d5394f7b1ad4d44365e'>tests: only do lua tests if lua is compiled-inJason A. Donenfeld2014-01-20 * cgit: add --version argument for printing infoJason A. Donenfeld2014-01-20 * cache: use sendfile() instead of a pair of read() + write()Sebastian Andrzej Siewior2014-01-19 * README: document pkg-config for luajitJason A. Donenfeld2014-01-19 * makefile: bump versionJason A. Donenfeld2014-01-17 * mailmap: source before lighttpdJason A. Donenfeld2014-01-17 * ui-shared: do not allow negative minutesJason A. Donenfeld2014-01-17 * auth: document tweakables in lua scriptJason A. Donenfeld2014-01-17 * repolist: make owner clickable to searchJason A. Donenfeld2014-01-17 * ui-shared: move about tab all the way to the leftJason A. Donenfeld2014-01-17 * filter: don't forget to reap the auth filterJason A. Donenfeld2014-01-17 * cgit.c: free tmp variableJason A. Donenfeld2014-01-17 * Switch to exclusively using global ctxLukas Fleischer2014-01-17 * auth: have cgit calculate login addressJason A. Donenfeld2014-01-16 * auth: lua string comparisons are time invariant