AmendHub

jcs

/

amend

/

amendments

/

repo.c

Amendments on June 2, 2022

bile: Sync with other projects

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

repo: Exclude repo file itself when showing 'add file' dialog

jcs made amendment 61 over 2 years ago

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

bile: New code

jcs made amendment 53 over 2 years ago

Amendments on January 20, 2022

repo: In "Add Files" dialog, only show files that can be added

Filter out files in directories other than the repo's, and filter out
files that already exist in the repo
jcs made amendment 52 over 2 years ago

Amendments on January 19, 2022

bile: Version 2 :/

Increased header size with some padding for future work, now includes
both map pointers in the header
jcs made amendment 48 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

repo: New repo version 3, switching to bile files

No migration at this time, it's done with a different program
jcs made amendment 42 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

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

repo: Don't use D_IGNOREBLANKS for diffreg

Using this causes some diffs to be wrong when the change was just
indenting or unindenting a line.
jcs made amendment 25 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 23, 2021

repo: Use BlockMove for overlapping data shift

This allows us to go back to using a single, expanded Handle when
shoving data into the TE.
Thanks to jjuran in #cyberpals for the tip
jcs made amendment 16 over 2 years ago

Amendments on October 22, 2021

browser+committer: Enable TETab on all TextEdits

Fix some logic errors in UpdateScrollbarForTE
jcs made amendment 15 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