AmendHub

jcs

/

amend

/

amendments

Amendments on March 18, 2024

repo: Bump repo version just to fix diffs generated in 3.3

3.3 had a bug in diffreg that was inserting errant newlines after a
@@ chunk, which confuses patch. We can detect and fix these, which
we do with a version migration. The repo format doesn't actually
change.
 
Unfortunately we still have problems with files that didn't have
newlines at the end since we were just inserting a newline rather
than leaving the default "\ No newline at end of file" that diff
prints, which patch knows to ignore. I'm not sure it's possible to
automatically detect and fix such diffs at this point.
 
Also show amendment number when viewing.
jcs made amendment 141 over 2 years ago

diffreg: Remove hack appending a newline for newline-less files

This made our diffs look nicer but it breaks patch's ability to
reconstruct some diffs, so it must go.
jcs made amendment 140 over 2 years ago

Amendments on March 15, 2024

repo: Add missing xfree of bile object

jcs made amendment 139 over 2 years ago

Amendments on March 7, 2024


Amendments on February 16, 2024

diffreg: Free context_vec_start on exit

jcs made amendment 137 over 2 years ago

util: Import new malloc debugging, ditch malloc notes

jcs made amendment 135 over 2 years ago

Amendments on February 1, 2024

util: Fix truncated termination in snprintf, handle 0 length

jcs made amendment 134 over 2 years ago

Amendments on January 11, 2024

settings: Center dialog, enforce author min size

jcs made amendment 133 over 2 years ago

rez: Release 3.8

jcs made amendment 132 over 2 years ago

diffreg: Check for command+. while running and abort

Also free some arrays that don't seem to ever get freed, just
realloc'd.
jcs made amendment 131 over 2 years ago

util: Clear any progress dialog before raising warn

jcs made amendment 130 over 2 years ago

repo: If command+period is pressed while loading a repo, abort

jcs made amendment 129 over 2 years ago

committer: If command+period is pressed during diffing, abort

It would be nice to be able to do this while in diffreg but maybe
some other time.
jcs made amendment 128 over 2 years ago

util: Add CommandPeriodPressed

jcs made amendment 127 over 2 years ago

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 126 over 2 years ago

Amendments on October 24, 2023

editor: Update scrollbar for log window at launch

jcs made amendment 125 over 2 years ago

Amendments on September 19, 2023

bile+repo: Faster sorts

jcs made amendment 124 over 3 years ago

Amendments on May 4, 2023

repo+browser: Amendments are in order in array now

We're no longer putting newest amendments first, and after making
an amendment, it will be last in the list
jcs made amendment 123 over 3 years ago

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 122 over 3 years ago