AmendHub

jcs

/

amend

/

amendments

/

main.c

Amendments on April 17, 2023

browser+main: Hopefully fix a bug that was crashing after committing

Under heavy memory pressure, List Manager seems to close our
custom resource and then re-open it, clearing the custom addr
we set during setup. Make sure it's still alive before doing
an update or we'll jump to NULL.
jcs made amendment 113 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

util: Sync upstream, use new about box code

jcs made amendment 100 about 1 year ago

main: Add missing glue to make Desk Accessories work

jcs made amendment 94 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

main: Raise window when dragging, stop responding to activateEvt

Other minor cleanups made here while debugging crash issues
jcs made amendment 76 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 December 15, 2021

main: Fix crash processing MultiFinder suspend/resume events

jcs made amendment 35 over 2 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 2 years ago

Amendments on November 17, 2021

About box: Fix VersRecHndl parsing

The length of the inital shortVersion is variable, it's a Pascal
string.
jcs made amendment 30 over 2 years ago

Amendments on November 11, 2021

main+committer: Respond to MultiFinder suspend/resume events

jcs made amendment 27 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

main: Implement plumbing to open a file from Finder at startup

If a .repo file was double-clicked in Finder, open it instead of
showing the Open dialog
jcs made amendment 10 over 2 years ago