jcs
/amend
/amendments
Amendments on August 17, 2022
jcs made amendment
86
over 2 years ago
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
84
over 2 years ago
Amendments on August 16, 2022
jcs made amendment
83
over 2 years ago
jcs made amendment
82
over 2 years ago
Amendments on June 15, 2022
jcs made amendment
81
over 2 years ago
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
79
over 2 years ago
jcs made amendment
78
over 2 years ago
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
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
74
over 2 years ago
jcs made amendment
73
over 2 years ago
jcs made amendment
72
over 2 years ago
Amendments on June 14, 2022
jcs made amendment
71
over 2 years ago
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.
Amendments on June 3, 2022
jcs made amendment
69
over 2 years ago
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%