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: Tue Dec 9 11:39:11 UTC 2025
Modified Files:
pkgsrc/textproc/treemd: Makefile cargo-depends.mk distinfo
Log Message:
textproc/treemd: update to 0.4.7
[0.4.7] - 2025-12-07
Added
Command palette - Press : to open a fuzzy-searchable command palette (#32)
Type to filter commands with fuzzy matching
Navigate with j/k or arrow keys, execute with Enter
Commands include: Save width, Toggle outline, Toggle help, Toggle raw source, Jump to top/bottom, Quit
Each command has aliases (e.g., w/write/save for save width)
Save outline width with confirmation - Press S to save current outline width to config with modal confirmation (#32)
Shows confirmation dialog before saving
Respects power users: manual config values are session-only until explicitly saved
New users with default config get auto-save behavior
Document search with n/N navigation - Full in-document search with match highlighting (#30)
Press / in content pane to search within the document
Press n for next match, N for previous match
Matches highlighted in content view
Status bar shows match count and current position
Fixed
File creation modal not appearing - Fixed issue where following links to non-existent files would say "file opened" but not show the creation prompt
exit_interactive_mode() and exit_link_follow_mode() were overwriting the ConfirmFileCreate mode
Now checks if file creation is pending before resetting mode
Double .md extension on wikilinks - Fixed wikilinks like [[file.md]] creating file.md.md
Now detects if wikilink target already has a markdown extension
Only adds .md if not already present
Anchor links in interactive mode - Following anchor links to headings in current file now works correctly (#29)
Changed from select_by_text() to jump_to_anchor() for proper anchor handling
Anchor links like #installation now jump to correct heading
Wikilinks with path separators - Wikilinks containing / now work correctly (#28)
Removed overly restrictive check that blocked all paths with /
Still blocks .. for security (prevents directory traversal)
[[docs/guide]] now resolves to docs/guide.md
Checkbox toggle scroll jump - Toggling checkboxes no longer causes page to jump to top (#31)
Saves and restores scroll position and element index on file reload
Interactive mode state preserved after checkbox toggle
Config value protection - Outline width cycling no longer overwrites custom config values (#32)
Tracks whether config has custom outline width at startup
Power users with custom values: cycling is session-only
New users with standard values: auto-save for convenience
Technical
Command palette system (src/tui/app.rs)
CommandAction enum for available actions
PaletteCommand struct with fuzzy matching and scoring
PALETTE_COMMANDS constant with all commands and aliases
Filter/navigation/execution methods for palette state
Save confirmation modal (src/tui/ui/popups.rs)
render_save_width_confirm() for confirmation dialog
render_command_palette() for command palette UI
Config tracking (src/tui/app.rs)
config_has_custom_outline_width flag to detect power user configs
Standard widths: 20%, 30%, 40% - anything else is custom
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 pkgsrc/textproc/treemd/Makefile:1.10
--- pkgsrc/textproc/treemd/Makefile:1.9 Sat Dec 6 14:01:29 2025
+++ pkgsrc/textproc/treemd/Makefile Tue Dec 9 11:39:11 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2025/12/06 14:01:29 pin Exp $
+# $NetBSD: Makefile,v 1.10 2025/12/09 11:39:11 pin Exp $
-DISTNAME= treemd-0.4.6
+DISTNAME= treemd-0.4.7
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.9 pkgsrc/textproc/treemd/cargo-depends.mk:1.10
--- pkgsrc/textproc/treemd/cargo-depends.mk:1.9 Sat Dec 6 14:01:29 2025
+++ pkgsrc/textproc/treemd/cargo-depends.mk Tue Dec 9 11:39:11 2025
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.9 2025/12/06 14:01:29 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.10 2025/12/09 11:39:11 pin Exp $
CARGO_CRATE_DEPENDS+= addr2line-0.25.1
CARGO_CRATE_DEPENDS+= adler2-2.0.1
Index: pkgsrc/textproc/treemd/distinfo
diff -u pkgsrc/textproc/treemd/distinfo:1.9 pkgsrc/textproc/treemd/distinfo:1.10
--- pkgsrc/textproc/treemd/distinfo:1.9 Sat Dec 6 14:01:29 2025
+++ pkgsrc/textproc/treemd/distinfo Tue Dec 9 11:39:11 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2025/12/06 14:01:29 pin Exp $
+$NetBSD: distinfo,v 1.10 2025/12/09 11:39:11 pin Exp $
BLAKE2s (addr2line-0.25.1.crate) = cc5c422ec48ccef5c2c46379d2f600644609490afafea5020f2020815d1146e6
SHA512 (addr2line-0.25.1.crate) = c400f3b6ccaff8a1c0d7d82c708a1784b8fd5ba64b6e420e85819d59b1cadb55fa59c852925093b921469f272d1d5140cf12f013ae75d1e1bc85021097df8fc2
@@ -627,9 +627,9 @@ Size (tracing-subscriber-0.3.20.crate) =
BLAKE2s (tree_magic_mini-3.2.0.crate) = e3c62f82f8c429d5628526addb79cc9cce1ab85a82c92a54f7d2b63473d13668
SHA512 (tree_magic_mini-3.2.0.crate) = 7151639da4a20f3e0da8059f0b6b05dbb497462ce0ca23df8b07c5e515d49dbb905371259a51f5cba634f62b1dfb9d79aa0ee212e31a74f46f30715a82ee4e8d
Size (tree_magic_mini-3.2.0.crate) = 15962 bytes
-BLAKE2s (treemd-0.4.6.tar.gz) = 45f3cd3900e8366b5980ca00ed007dd5a71ade7031819ff2b6d4161d1a57adb7
-SHA512 (treemd-0.4.6.tar.gz) = b1a26a5deb014b389c71e5a5dfb182abf6d1c9626686b6291f0be48591128e60b8e4f6153e94f1a57ec5349de95def3db39d92b4021ab610375a275b6b2fbe2c
-Size (treemd-0.4.6.tar.gz) = 393886 bytes
+BLAKE2s (treemd-0.4.7.tar.gz) = 7446d6796b0d7b2eaf7838efe883f934ca0ac365d569e61477b1546201c94b00
+SHA512 (treemd-0.4.7.tar.gz) = e52fa0706e19bf6549ec359c542ee926863dc84b5c1db4f1f147863752dd03632fdfc4ba23a743d495e09f8c28e39134a869d0eb56c07242556399dadb876453
+Size (treemd-0.4.7.tar.gz) = 400515 bytes
BLAKE2s (unicase-2.8.1.crate) = 6a87002c4bd702bb961347b5ecac9404f9a65359b563c199608a3eaaf66195ea
SHA512 (unicase-2.8.1.crate) = 99a3944a5c987376bdea5fe6c0797e881bc8e6f629c56120ce811c8ebbed0a3ba24617decb74d6939699c8fc994c662eb292869ab407c0ba0ec460a32ede0190
Size (unicase-2.8.1.crate) = 24088 bytes
Home |
Main Index |
Thread Index |
Old Index