AmendHub

jcs

/

amend

/

amendments

/

amend.h

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 5 months 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 11 months 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 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 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 16, 2021


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

Amendments on October 29, 2021

browser+committer: Improve Edit menu ops, add Cut+Paste in committer

Keep track of which TextEdit control was last clicked in committer and
make Edit menu operations affect that one.
jcs made amendment 24 over 2 years ago

Amendments on October 28, 2021

patch: Initial progress on patch applying

Unify on "patch" instead of "diff" terminology for export/apply
jcs made amendment 21 over 2 years ago

Amendments on October 27, 2021

browser+repo: Add diff exporting

Refactor diff header generation into a function to also use here.
When disabling menus, only disable their items. This avoids having
to call DrawMenuBar() which flashes annoyingly.
jcs made amendment 20 over 2 years ago

Amendments on October 20, 2021


Amendments on October 19, 2021

Initial import of Amend through Amend!

jcs made amendment 1 over 2 years ago