Repository navigation
v0.1.1
Responding to initial user reports for v0.1.0.
Note the removal of "--web" and sending users to CodeReview instead.
Changed
- Tabs display at tab stops, in the TUI and in headless output, instead of as one space.
- The TUI uses the nearest 256 colors when the terminal does not advertise 24-bit color (macOS
Terminal.app). --minimal,--full,--whole-updatesand--paint-reindent-movesapply in the TUI too, for
that run only.--reviewrejects a BEFORE/AFTER pair and--mode, and--headlessrejects--mode, instead
of ignoring one flag.codediff git configurewrites the resolved path of the running binary todiff.external.change N/Mcounts changes in the ordernwalks them.- The render-options badge names what differs from
--full. - Panel titles name languages as people write them (C++, Lua, Markdown). The JSON
language
values are unchanged. - Library: the
diff::solve_*pass modules are crate-private,ASTDiff::is_validhas noafter
parameter, andNodeCachetakes a lifetime (see Fixed). Breaking for library users, against
the policy above; the library API was never meant to be relied on (see the crate docs).
Fixed
- The TUI cursor lands on the right column on lines with non-ASCII text.
- Ctrl-C quits from every screen, and Ctrl-E scrolls instead of opening
$EDITOR. - The theme dialog opens on the syntax theme in use, and accepting a preset keeps the saved Custom
palette. - Home and End move the cursor, not only the view.
$VISUAL/$EDITORmay carry arguments (code -w,emacsclient -t).- Omitting
--whole-updatesno longer switches a saved "Whole-pair updates" setting off. - The TUI exits when its input stream closes.
- A block whose children were all deleted no longer takes its whole subtree with it: code matched
inside it (a body moved from anifinto anunless) is shown as matched, not deleted and
inserted. - Library:
NodeCacheborrows theCodeit was built from, so a cache that outlives itsCode
no longer compiles; before, safe code could read freed memory through it.
Removed
- The browser front end (
codediff-web) and thewebCargo feature. Breaking for anyone who
installed withcargo install codediff --features web; for reviewing changes in a browser, use
codereview. The GitHub Pages showcase is unaffected.