AmendHub

jcs

/

amend

/

amendments

/

committer.c

Amendments on April 17, 2023

committer+editor: Update log scrollbar after cut or paste

jcs made amendment 114 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 about 1 year ago

Amendments on November 10, 2022

browser: Tweak menu language, fix bug in amendment exporting

We were passing a NULL pointer to SFPutFile instead of an empty
Pascal string, which has bad results on System 7. Now we will
supply "amendment_##.diff" as the default filename.
Also rename exporting functions to export an amendment instead of
a patch. The patch utility applies a diff, not a patch. But we're
exporting the whole amendment anyway.
jcs made amendment 107 about 1 year ago

Amendments on September 12, 2022

committer: Add Command+W shortcut to cancel commit

This requires passing through all keystrokes through focusable and
filtering on the receiver.
jcs made amendment 103 about 1 year ago

Amendments on September 6, 2022

browser: Limit initial window size to about 81 characters in committer view

This way we can show a +/- line with 80 characters of code
jcs made amendment 96 about 1 year ago

Amendments on August 18, 2022


Amendments on August 17, 2022

editor: Add amendment metadata editor

This allows changing an amendment's author, date/time, and log.
Also continue on changing commit to amendment.
jcs made amendment 88 about 1 year ago

Amendments on August 16, 2022

*: Use new focusable API

jcs made amendment 83 about 1 year ago

Amendments on June 15, 2022


Amendments on June 7, 2022

diffreg: Open files as binary to get expected newline handling

Unbeknownst to me, THINK C's file stream library transparently
converts \r newlines to \n. By opening files as binary, this is
disabled and we get \r newlines as expected.
jcs made amendment 70 about 1 year ago

Amendments on April 16, 2022

committer: Update file metadata on commit even if no text changes

When diffing each file, if there is no text change but a
size/mtime/ctime change that caused us to examine the file to begin
with, we should save that new data on commit so we don't have to
examine it again on the next commit.
jcs made amendment 64 over 2 years ago

Amendments on February 3, 2022

browser+committer: Use a null caretHook on read-only TextEdits

This allows us to still use TEActivate to get proper highlighting but
without showing an errant, sometimes blinking cursor.
jcs made amendment 57 over 2 years ago

Amendments on January 22, 2022

browser+commiter: Don't dispose of controls when closing

DisposeWindow should do this itself
jcs made amendment 54 over 2 years ago

Amendments on January 19, 2022

browser+committer: Revert previous

It doesn't redraw highlighted text properly, so I'll need to figure
something else out
jcs made amendment 50 over 2 years ago

Amendments on January 18, 2022

browser+committer: Call TEDeactivate on read-only TextEdit boxes

This prevents drawing a cursor in them
jcs made amendment 47 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 2 years ago

Amendments on December 30, 2021

repo: Implement a backup mechanism, backup the repo before committing

Unfortunately some bug in Amend can cause a crash during/after a
commit which corrupts the resource file, making it unusable :(
jcs made amendment 39 over 2 years ago

Amendments on December 16, 2021


Amendments on December 15, 2021

committer: If "All Files" is selected, skip diffing unchanged files

If the file size, ctime, and mtime are all the same, consider it
unchanged.
jcs made amendment 33 over 2 years ago