AmendHub

jcs

/

amend

/

amendments

Amendments on August 17, 2022

commit_list: Fix off-by-one in calculating log length

This would occasionally print a character of garbage after the log
depending on what was next in memory.
jcs made amendment 85 over 2 years ago

bile: Sync with upstream, minor fixes

jcs made amendment 84 over 2 years ago

Amendments on August 16, 2022

*: Use new focusable API

jcs made amendment 83 over 2 years ago

focusable: Import focusable framework

jcs made amendment 82 over 2 years ago

Amendments on June 15, 2022

repo: Limit filename length when creating temporary files

Files can be 31 characters long, so appending " (Amend tmp)" to a
long filename can put us over that limit. Work in a Str31 and put
our "[tmp] " and "[deleted] " labels at the beginning so we don't
end up overwriting the existing file if the filename is already 31
characters long.
Check error result of getpath calls as well.
jcs made amendment 80 over 2 years ago

rez: Release 3.4

jcs made amendment 79 over 2 years ago

util: xGetStringAsChar: Properly release resource after use

jcs made amendment 77 over 2 years ago

main: Raise window when dragging, stop responding to activateEvt

Other minor cleanups made here while debugging crash issues
jcs made amendment 76 over 2 years ago

util: Fix possible corruption/crash in progress()

Don't reset the port back to what we thought it was at the beginning
since it may have changed between progress("") and progress(NULL), and
SetPort with a bogus window might be what's causing crashes later
Also constify DITL definitions while we're here
jcs made amendment 75 over 2 years ago

repo: Provide some progress during commit

jcs made amendment 74 over 2 years ago

settings: Remove left over resource file switching in settings_save

Fixes crash
jcs made amendment 72 over 2 years ago

Amendments on June 14, 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 over 2 years ago

Amendments on June 3, 2022

README: Add 3.3 changes

jcs made amendment 69 over 2 years ago

rez: Release 3.3

jcs made amendment 68 over 2 years ago

bile_alloc: Replace bubble sort of objects in map

The map is always sorted, so we can avoid burning some CPU by not
iterating through the entire map every time. Find the first place
to stick the new object based on its position and shift everything
else up in one memmove.
Sped up bile regression tests by 16%
jcs made amendment 67 over 2 years ago