jcs
/amend
/amendments
Amendments on October 29, 2021
jcs made amendment
26
over 3 years ago
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.
browser+committer: Improve Edit menu ops, add Cut+Paste in committer
Keep track of which TextEdit control was last clicked in committer and
make Edit menu operations affect that one.
jcs made amendment
23
over 3 years ago
jcs made amendment
22
over 3 years ago
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.
jcs made amendment
19
over 3 years ago
Amendments on October 23, 2021
jcs made amendment
18
over 3 years ago
committer: Try to release log TE hText after commit, not close
If we close the window without a commit, that might do something bad
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
Amendments on October 22, 2021
browser+committer: Enable TETab on all TextEdits
Fix some logic errors in UpdateScrollbarForTE
jcs made amendment
14
over 3 years ago
tetab: Add standalone tab handling module for TextEdit controls
This uses TE's TECustomHook functionality to hook into width
calculation, drawing, and hit testing to expand tabs into a
configurable number of spaces (defaulting to 4). This requires
using the new styled TextEdit control available in System 6+.
Amendments on October 20, 2021
jcs made amendment
12
over 3 years ago
jcs made amendment
11
over 3 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
browser: Fix diff viewing when already scrolled
The TE was not getting scrolled back up when changed, but doing this
is tricker than it should be to avoid excessive redraws
jcs made amendment
8
over 3 years ago
repo: Show diff header with full log message
Add a utility function to append text to a TE without redrawing it