AmendHub

jcs

/

amend

/

amendments

Amendments on December 17, 2025

util: copy_file: These refs won't be valid at this point

jcs made amendment 158 9 months ago

Amendments on December 6, 2025


Amendments on November 4, 2024

diffreg: Fix short overflow in newcand

jcs made amendment 155 about 1 year ago

Amendments on October 25, 2024

tetab: Remove, no longer needed

jcs made amendment 154 about 1 year ago

*: Switch diff views to TextView

This removes the 32k limit on viewing/committing a diff and the need
to keep checking for overflow.
 
We can also get rid of tetab since TextView incorporates that.
jcs made amendment 153 about 1 year ago

Amendments on October 24, 2024

settings: Minor tweaks

jcs made amendment 152 about 1 year ago

*: err -> panic

jcs made amendment 151 about 1 year ago

Amendments on October 2, 2024

repo: HFS has a max filename size of 31 characters

When creating temporary files for diffing, truncate to that size
jcs made amendment 150 about 1 year ago

Amendments on August 27, 2024

browser: err->panic

jcs made amendment 149 over 2 years ago

committer: Use panic and warn, make diff_line a normal allocation

We were not gaining anything by making it a Handle
jcs made amendment 148 over 2 years ago

util: Import strcasecmp and hexify, drop err and warnx

jcs made amendment 147 over 2 years ago

Amendments on March 21, 2024

settings: Move storage from resources to a separate preferences file

Keeping settings bundled with the app was cleaner but it meant they
would get reset every time the app was updated.
 
On System 7+ these will go in System Folder:Preferences, on System 6
it will go in System Folder.
jcs made amendment 146 over 2 years ago

amend.h: Move AMEND_CREATOR here, it'll be used for other files

jcs made amendment 145 over 2 years ago

diffreg: Re-init static vars in diffreg

context_vec_start is used to calculate other things, so when we
started freeing and nullifying it, subsequent runs used non-zero
values for some of these variables. Reset them all just to be safe.
jcs made amendment 144 over 2 years ago

util: Add GetSystemSubfolder, outline default dialog buttons

jcs made amendment 143 over 2 years ago

Amendments on March 18, 2024

committer: free focusable on close

jcs made amendment 142 over 2 years ago

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