jcs
/amend
/amendments
/repo.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
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.
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.
Amendments on August 17, 2022
repo: Factor out amendment marshalling
I wish I could use bile's marshalling for this, but the current
on-disk format of things is weird in Amend and would require a
database upgrade to convert to bile's way of storing variable-length
fields.
Start on renaming commit to amendment.
Amendments on June 15, 2022
jcs made amendment
78
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.
Amendments on January 11, 2022
repo: New repo version 3, switching to bile files
No migration at this time, it's done with a different program
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 :(
Amendments on December 16, 2021
jcs made amendment
37
over 2 years ago
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.
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...
Amendments on October 28, 2021
patch: Initial progress on patch applying
Unify on "patch" instead of "diff" terminology for export/apply
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.
Amendments on October 20, 2021
jcs made amendment
11
over 2 years ago
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
repo: Only load first 32K into TE when viewing diffs
If this truncates, add a line saying so
jcs made amendment
1
over 2 years ago
1