jcs
/amend
/amendments
Amendments on October 19, 2026
jcs made amendment
204
23 days ago
jcs made amendment
203
23 days ago
jcs made amendment
202
23 days ago
jcs made amendment
201
23 days ago
Amendments on October 4, 2026
jcs made amendment
200
about 1 month ago
jcs made amendment
199
about 1 month ago
jcs made amendment
198
about 1 month ago
util: Put resource fork size in a different field in 'struct stat'
Anything that cares about the size of the resource fork is going to
need to be modified to do something with it, so adding them together
as st_size was not helpful.
This was the root cause of the optimization in repo that tried to
skip unchanged files not working, since the resource forks of .c
files in THINK C are modified frequently even when the content
doesn't change.
Also fix a bug in TEGetWidth using the wrong fields, and a memory
leak in UpdateScrollbarForTE.
jcs made amendment
196
about 1 month ago
jcs made amendment
195
about 1 month ago
jcs made amendment
194
about 1 month ago
jcs made amendment
193
about 1 month ago
bile: Add bile_begin and bile_commit to do things in transactions
Rather than writing the new map on every change, one can enter a
transaction and defer writing the new map until bile_commit. This
way if a crash happens during changes, the map won't be left
pointing at partial progress.
jcs made amendment
191
about 1 month ago
jcs made amendment
190
about 1 month ago
repo: Fix error paths, handle not-deleted but zero-length files
bile can't store zero-length files so just delete the TEXT object
and treat it as deleted, but any future diff will just recreate the
file as zero-length. Probably not ideal but this seems like a rare
case (or someone adding a file that only has a resource fork which
we can't handle anyway).
committer: Add missing HLock, check teLength instead of nLines
Apparently an empty TE can still have nLines of 1
Amendments on October 3, 2026
jcs made amendment
187
about 1 month ago
bile: Set new map_ptr to new map obj, not the one about to be freed
Also set bile->last_error consistently.
Amendments on October 2, 2026
*: Adapt to new xmalloc/xmalloczero
Also fix a memory leak in the latest repo migration