CVS commit: pkgsrc/textproc/treemd
"pin" <[email protected]> Wed, 29 Jul 2026 11:16:18 +0000
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc
Committed By: pin
Date: Wed Jul 29 11:16:18 UTC 2026
Modified Files:
pkgsrc/textproc/treemd: Makefile cargo-depends.mk distinfo
Log Message:
textproc/treemd: update to 0.6.0
[0.6.0] - 2026-07-22
Added
- Remote Markdown documents - Open https:// URLs directly or use github:owner/repo shorthand to browse a repository's README
- GFM and Obsidian callouts - Render blockquote callouts such as > [!NOTE] with dedicated labels and styling
- Generated man pages - treemd --man-page prints a complete manual page suitable for installation with man
- Query-language documentation and integration coverage - Added user and implementation guides plus end-to-end fixtures for selectors, pipelines, expressions,
and section extraction
Changed
- Query evaluation and section extraction were unified - Chained selectors and pipelines now preserve their input context, while all heading-based extraction
uses the parser's byte offsets and code-block-aware structure
- Interactive editing is transactional - Checkbox and table edits are computed by pure, fence-aware transforms and recorded only after a successful edit; live
reload refuses to overwrite buffered changes
- TUI interaction was modernized - Esc consistently backs out, q quits, text-entry fields share editing shortcuts, status messages have a unified lifecycle,
and help/footer/palette content follows the active keybindings and theme
- Dependencies were refreshed - Updated the full lockfile, including turbovault-parser 1.6, clap_mangen 0.3, mermaid-rs-renderer 0.3, regex 1.13, and open 5.4
- Release automation was hardened - CI now covers Rust 1.90, default/all/minimal feature sets, strict Clippy and formatting, package validation, dependency
auditing, and locked release builds across Linux, macOS, and Windows; weekly Cargo and GitHub Actions updates are enabled
Fixed
- Query-language correctness - Fixed chained selectors, object-expression context, subtraction lexing, malformed-number errors, elif parsing, array indexing,
per-element any/all/sort_by/group_by, Unicode string lengths, oversized repetition, invalid regular expressions, and recursion-depth handling
- Missing and incorrectly scoped selectors - Implemented paragraph, blockquote, and frontmatter selectors, and constrained code/link descendant queries to
their parent section
- Markdown section edge cases - CRLF input, setext headings, tilde fences, indented heading-like text in code, headings at EOF, and documents without ATX
headings no longer panic or produce incorrect sections
- Buffered edits could be lost - External file changes can no longer silently discard unsaved table edits
- Checkbox and table edits could target or rewrite the wrong content - Checkbox toggles now respect the current section, list marker, occurrence, state, and
fenced code; table edits preserve escaped pipes, CRLF, trailing newlines, and table boundaries
- Unicode and very wide terminals could panic - Display truncation is now Unicode-width-aware and popup/modal sizing avoids u16 overflow
- TUI correctness regressions - Fixed wikilink subdirectory creation, editor mouse-capture handoff, table line counting, outline filter counts, and modifier
chords inserting literal characters
- Markdown fixtures were unintentionally ignored - Narrowed the repository's Markdown ignore rules so documentation and regression fixtures are tracked
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/textproc/treemd/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/treemd/cargo-depends.mk \
pkgsrc/textproc/treemd/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed)
(text/x-diff, 145.1 KB) - not displayed