AmendHub

jcs

/

amend

/

amendments

/

commit_list.c

Amendments on November 1, 2023

browser: Use a custom LDEF for file list to cross out deleted files

Also sort the list with deleted files at the bottom
jcs made amendment 253 about 1 year ago

Amendments on May 4, 2023

browser: Speed up repo loads by only loading newest 100 amendments

Usually I just open a repo and want to diff+commit, but loading 500
amendments takes forever. Just load the newest 100 to show some
history, and add a list item that, when clicked, will load the full
history.
This is configurable by a new setting and can be 0 to disable.
Also, since we are sorting amendment IDs through bile, assume they're
already in order by date and avoid having to sort them all again
after processing.
jcs made amendment 249 about 1 year ago

Amendments on February 6, 2023

*: Lots of little fixes and dead variable removal

Found by cppcheck and scan-build
jcs made amendment 110 over 2 years ago

Amendments on August 17, 2022

commit_list: Fix off-by-one in calculating log length

This would occasionally print a character of garbage after the log
depending on what was next in memory.
jcs made amendment 85 over 2 years ago

Amendments on January 11, 2022

*: Integrate with bile, lots of minor changes

Sprinkle snprintf and strlcpy where useful
Remove ALRT/DITL resources that util doesn't need anymore
Handle diffing deleted files properly
jcs made amendment 44 over 3 years ago

Amendments on November 22, 2021

Repo: Support file deletion, repo versioning and migration

I broke my own rule of always adding versions to things, so start
now and migrate all unversioned repos to version 2 which adds file
flags.
When a file is deleted, doing a diff of it will diff against a blank
file and then the file in the repo is marked as deleted. For now this
just draws the file with tildes in the file list, but a custom LDEF
will draw these as strucken through.
Also fix a few bugs along the way...
jcs made amendment 31 over 3 years ago

Amendments on October 19, 2021

commit_list: Only draw first line of log message

Fix drawing coordinates to go from the top to fix short cells at the bottom of the list
jcs made amendment 6 over 3 years ago

commit_list: Show log line on top in bold, details below

jcs made amendment 5 over 3 years ago

Initial import of Amend through Amend!

jcs made amendment 1 over 3 years ago