pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/treemd
Module Name: pkgsrc
Committed By: pin
Date: Mon Dec 15 13:17:36 UTC 2025
Modified Files:
pkgsrc/textproc/treemd: Makefile cargo-depends.mk distinfo
Log Message:
textproc/treemd: update to 0.5.3
[0.5.3] - 2025-12-13
Added
Styled keybinding hints footer - New context-aware footer bar showing relevant keybindings
Styled key badges with theme colors (help_key_bg, help_key_fg, help_desc_fg, footer_bg)
Hints update based on current mode (Normal, Interactive, LinkFollow, DocSearch, etc.)
Element-specific hints in interactive mode (Checkbox, Table, Link, Details, CodeBlock, Image)
Table mode shows cell navigation hints (j/k Row, h/l Col, e Edit, y Copy)
Vim-style count prefixes - Repeat motions with numeric prefixes like vim
5j moves down 5 items, 10k moves up 10 items
Works in Normal mode (outline/content navigation) and Interactive mode
Supports: j/k navigation, h/l table columns, content scrolling
0 without count goes to first item (vim behavior preserved)
Link follow mode still uses 1-9 for direct link jumping
Collapse/Expand commands - New command palette commands for outline management
:collapse / :ca - Collapse all headings with children
:expand / :ea - Expand all headings
:collapse N - Collapse all headings at level N (e.g., :collapse 2 for h2)
:expand N - Expand all headings at level N
Status messages show count of affected headings
Inline HTML tag rendering - Parse HTML tags in details block summaries
<strong>, <b> render as bold
<em>, <i> render as italic
<code> renders as inline code
No longer shows literal <strong> tags in rendered view
Nested interactive elements in details blocks - Select elements inside expanded details
Tables, links, code blocks, images inside details are now selectable
Hierarchical status display: ▸Navigation > Table: 5×3
Expansion state persists after exiting interactive mode
Safe edit buffer system - Table cell edits are now buffered in memory instead of immediately written to file
Changes are applied to in-memory document for immediate display
Explicit save required with :w command to write changes to disk
Status shows "X unsaved change(s)" after edits
Prevents accidental data loss from unforeseen bugs
Save command (:w) - New command to save pending edits
:w, :write, or :save writes all buffered edits to file atomically
Shows confirmation: "Saved X change(s) to filename.md"
Undo command (:u and Ctrl+z) - Undo table cell edits before saving
:u or :undo in command palette undoes last edit
Ctrl+z keybinding in Interactive and InteractiveTable modes
Stack-based undo: each edit can be individually reverted
Shows remaining unsaved changes count after undo
Quit confirmation for unsaved changes - Prompts before quitting with unsaved edits
Dialog shows number of unsaved changes
Enter/y saves changes and quits
Escape cancels and returns to normal mode
Changed
Status bar shows context-aware position - Position info based on focused pane
Outline focused: [Outline] 3/15 (20%) - heading position
Content focused: [Content] Line 42 (35%) - scroll position
Cleaner status bar without inline keybinding hints (moved to footer)
Esc key behavior in normal mode - Shows helpful hint instead of doing nothing
Displays: "Press q to quit • : for commands • ? for help"
Guides new users on how to exit or access features
Fixed
Table navigation in interactive mode - j/k now moves cells when in table mode
Previously j/k moved between elements instead of table rows
Esc now exits table mode before exiting interactive mode
Table row bounds - Can now navigate to last row in tables
Fixed off-by-one error in table_move_down()
Technical
Theme footer colors (src/tui/theme.rs)
Added help_key_bg, help_key_fg, help_desc_fg, footer_bg to all 16 theme variants
Added help_key_style(), help_desc_style(), footer_style() helper methods
Updated with_custom_colors() and with_color_mode_custom() for footer fields
Config footer colors (src/config.rs)
Added footer color fields to CustomThemeConfig for user customization
Layout footer section (src/tui/ui/layout.rs)
Added Section::Footer to layout system
Count prefix system (src/tui/app.rs, src/tui/mod.rs)
Added count_prefix: Option<usize> to App state
accumulate_count_digit(), take_count(), clear_count(), has_count() methods
Event loop accumulates digits before motion commands
Collapse/expand methods (src/tui/app.rs)
collapse_all(), expand_all(), collapse_level(n), expand_level(n)
Added CollapseAll, ExpandAll, CollapseLevel, ExpandLevel to CommandAction
HTML parsing utility (src/parser/utils.rs)
Added parse_inline_html() function for HTML tag to InlineElement conversion
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/treemd/Makefile \
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.
Modified files:
Index: pkgsrc/textproc/treemd/Makefile
diff -u pkgsrc/textproc/treemd/Makefile:1.11 pkgsrc/textproc/treemd/Makefile:1.12
--- pkgsrc/textproc/treemd/Makefile:1.11 Sat Dec 13 19:53:45 2025
+++ pkgsrc/textproc/treemd/Makefile Mon Dec 15 13:17:36 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2025/12/13 19:53:45 pin Exp $
+# $NetBSD: Makefile,v 1.12 2025/12/15 13:17:36 pin Exp $
-DISTNAME= treemd-0.5.2
+DISTNAME= treemd-0.5.3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=Epistates/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Index: pkgsrc/textproc/treemd/cargo-depends.mk
diff -u pkgsrc/textproc/treemd/cargo-depends.mk:1.11 pkgsrc/textproc/treemd/cargo-depends.mk:1.12
--- pkgsrc/textproc/treemd/cargo-depends.mk:1.11 Sat Dec 13 19:53:45 2025
+++ pkgsrc/textproc/treemd/cargo-depends.mk Mon Dec 15 13:17:36 2025
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.11 2025/12/13 19:53:45 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.12 2025/12/15 13:17:36 pin Exp $
CARGO_CRATE_DEPENDS+= addr2line-0.25.1
CARGO_CRATE_DEPENDS+= adler2-2.0.1
@@ -239,7 +239,7 @@ CARGO_CRATE_DEPENDS+= tracing-error-0.2.
CARGO_CRATE_DEPENDS+= tracing-subscriber-0.3.22
CARGO_CRATE_DEPENDS+= tree_magic_mini-3.2.2
CARGO_CRATE_DEPENDS+= turbovault-core-1.2.4
-CARGO_CRATE_DEPENDS+= turbovault-parser-1.2.4
+CARGO_CRATE_DEPENDS+= turbovault-parser-1.2.5
CARGO_CRATE_DEPENDS+= typenum-1.19.0
CARGO_CRATE_DEPENDS+= unicase-2.8.1
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.22
Index: pkgsrc/textproc/treemd/distinfo
diff -u pkgsrc/textproc/treemd/distinfo:1.11 pkgsrc/textproc/treemd/distinfo:1.12
--- pkgsrc/textproc/treemd/distinfo:1.11 Sat Dec 13 19:53:45 2025
+++ pkgsrc/textproc/treemd/distinfo Mon Dec 15 13:17:36 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2025/12/13 19:53:45 pin Exp $
+$NetBSD: distinfo,v 1.12 2025/12/15 13:17:36 pin Exp $
BLAKE2s (addr2line-0.25.1.crate) = cc5c422ec48ccef5c2c46379d2f600644609490afafea5020f2020815d1146e6
SHA512 (addr2line-0.25.1.crate) = c400f3b6ccaff8a1c0d7d82c708a1784b8fd5ba64b6e420e85819d59b1cadb55fa59c852925093b921469f272d1d5140cf12f013ae75d1e1bc85021097df8fc2
@@ -714,15 +714,15 @@ Size (tracing-subscriber-0.3.22.crate) =
BLAKE2s (tree_magic_mini-3.2.2.crate) = 963c1acb2d39fa2b75bdb48a69729bd11a709c45e4130e93e9dd0538eef09b9e
SHA512 (tree_magic_mini-3.2.2.crate) = 37c627d440ae8e0ba9c2d0a322cc68252d6c1e56548483142a1e801c057521cb5a6387e8a7849c25de6d9dfcbaf579fa900b37d93ff023057591d3bbda843a3b
Size (tree_magic_mini-3.2.2.crate) = 16074 bytes
-BLAKE2s (treemd-0.5.2.tar.gz) = fffc6b499c28517ce751629c3dce2898e282877e755298cae64be58e68ade2c4
-SHA512 (treemd-0.5.2.tar.gz) = 84c69e7be92e6085a8c0973cffa80ec3a9dee8f60739ed9ef81f3b629cac1acbe89358681384de82c765942273fc9e5ce95353f42244b649b627f63e7e921daa
-Size (treemd-0.5.2.tar.gz) = 420464 bytes
+BLAKE2s (treemd-0.5.3.tar.gz) = c0ca4dfd16633488e7e21ce02304365e078afa6f385d3a3bfc4f76ae92b1b262
+SHA512 (treemd-0.5.3.tar.gz) = 75045ab99f8da28937cb5bdff02b0e303e9ea85bc7735857d6a13ab3175aa83f5e62c4f57e53bbfddae603b9357dfe38c5d9d8eb560cfcf73ac96621b583dcb5
+Size (treemd-0.5.3.tar.gz) = 431297 bytes
BLAKE2s (turbovault-core-1.2.4.crate) = d1e078c31f483c9e01b48c58b85381ba501037d831c645652f99a2761acb5cf5
SHA512 (turbovault-core-1.2.4.crate) = 6b27a9aadbe1581be839c2e5d9360e450e9b3dd4552f9fa8e73161d31c7aa648a8bf78e178176e75107767a7d34907ffbd82ee77d23672b9eedd0c52050a467b
Size (turbovault-core-1.2.4.crate) = 37367 bytes
-BLAKE2s (turbovault-parser-1.2.4.crate) = dadd9d8eae2bee391325e1bf23380e72ebd3f8d87d5b7234269e8f105e873024
-SHA512 (turbovault-parser-1.2.4.crate) = 7ba1e942e7bc71eb6d49ad4b88c7db12beaf06d836ede25762a7d7b48302dd04a0b94f47c29441b2e36a72dea0eb215417e2381cac4f9ae8207b826789950002
-Size (turbovault-parser-1.2.4.crate) = 43283 bytes
+BLAKE2s (turbovault-parser-1.2.5.crate) = f2a46a6660e7a6042d193f35ded4e0e6b3a717f36bc5adf63d45a766ab81202b
+SHA512 (turbovault-parser-1.2.5.crate) = d9a9f9cf25064285b74f3c9e3db9f9e4337f198598ac744a35c230ff3e35b59b77ec778edb0d371db0d71c28b94f7645c390f4a7b571261cf0caf4fad881c606
+Size (turbovault-parser-1.2.5.crate) = 43445 bytes
BLAKE2s (typenum-1.19.0.crate) = 80b44dc55e4bf94091b8882ffecd8b65b421bee8fec93e878f36eab55aa58f68
SHA512 (typenum-1.19.0.crate) = 09ebcd7a2cc11f422469cf4fe706f1988bcd81d628e2bab3f54ae82b0aa5486d03a4392187a3736c13dc0c2027053387f89ac656caff72f36365c8be38bc7ff4
Size (typenum-1.19.0.crate) = 76414 bytes
Home |
Main Index |
Thread Index |
Old Index