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:           Thu Dec  4 18:45:09 UTC 2025

Modified Files:
        pkgsrc/textproc/treemd: Makefile cargo-depends.mk distinfo

Log Message:
textproc/treemd: update to 0.4.4

[0.4.4] - 2025-12-04
Added

    Raw source view toggle - Press r to toggle between rendered markdown and raw source view (#19)
        Shows original markdown with line numbers for debugging rendering issues
        [RAW] indicator in title bar and status bar when active
        Maintains scroll position when toggling

    Link search/filter in link navigator - Press / in link follow mode to filter links by text or URL
        Case-insensitive search across link text and targets
        Selection stays within filtered results
        Press Esc to clear filter or exit search mode

    Links in list items - Interactive mode now extracts and navigates to links within list item content
        Previously only standalone links were indexed; now links embedded in list items are accessible
        Links are indexed per-item with proper highlighting

    Selection indicator backgrounds - Added background colors to selection indicators for better visibility
        selection_indicator_bg theme field for customizing the background color
        Improves contrast in all themes, especially on light backgrounds

Changed

    Status messages auto-dismiss - Temporary status messages now auto-clear after 1 second
        Event loop uses polling with 100ms timeout for responsive UI updates
        No more stale "Rendered view enabled" messages lingering

Technical

    Event polling for piped stdin - Added poll_event() to tty module for non-blocking event handling
        Supports the same stdin redirection logic as read_event() for piped input scenarios
        Enables timed UI updates without user input

Acknowledgements

    docs: Minor formatting tweaks README.md by @Zearin in #16
    issues/suggestions: @firecat53 for #17 #18 #19 #20

[0.4.3] - 2025-12-03
Added

    Themeable UI colors - Replaced hardcoded colors with theme-based colors for better customization
        Added 6 new themeable color fields: title_bar_fg, scrollbar_fg, selection_indicator_fg, link_fg, link_selected_bg, table_border
        All 8 themes now include appropriate colors for these new fields (both RGB and 256-color variants)
        Users can now customize title bar, scrollbars, selection indicators, links, and table borders via config file
        Consistent theming across all UI elements

Fixed

    Search bar overlapping filtered outline results - Search bar no longer overlaps the outline when filtering headings (PR #14)
    Content panes overlapping status bar - Fixed layout issue where content panes could overlap the status bar (PR #13)

Refactored

    Layout builder - Replaced string-based section IDs with Section enum for type-safe layout management

Acknowledgements

    Fix content panes overlapping status bar by @kanatti in #13
    fix: prevent search bar from overlapping filtered outline results by @kanatti in #14
    ux suggestion: Improve the UI color theme @EduardsSk #15


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 pkgsrc/textproc/treemd/Makefile:1.8
--- pkgsrc/textproc/treemd/Makefile:1.7 Wed Dec  3 09:21:37 2025
+++ pkgsrc/textproc/treemd/Makefile     Thu Dec  4 18:45:09 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2025/12/03 09:21:37 pin Exp $
+# $NetBSD: Makefile,v 1.8 2025/12/04 18:45:09 pin Exp $
 
-DISTNAME=      treemd-0.4.2
+DISTNAME=      treemd-0.4.4
 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.7 pkgsrc/textproc/treemd/cargo-depends.mk:1.8
--- pkgsrc/textproc/treemd/cargo-depends.mk:1.7 Wed Dec  3 09:21:37 2025
+++ pkgsrc/textproc/treemd/cargo-depends.mk     Thu Dec  4 18:45:09 2025
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.7 2025/12/03 09:21:37 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.8 2025/12/04 18:45:09 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.7 pkgsrc/textproc/treemd/distinfo:1.8
--- pkgsrc/textproc/treemd/distinfo:1.7 Wed Dec  3 09:21:37 2025
+++ pkgsrc/textproc/treemd/distinfo     Thu Dec  4 18:45:09 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2025/12/03 09:21:37 pin Exp $
+$NetBSD: distinfo,v 1.8 2025/12/04 18:45:09 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.2.tar.gz) = 10d871da6ffdd05f213d3787306fb2fe584d8f3a96833b2cad3a18ad8e11b851
-SHA512 (treemd-0.4.2.tar.gz) = 3fb4a76255bc484aab90d3dc80d416f4e41f6ade933e21775360f9b9dd025305c8c34aef3105d4a1bdc0c262a6092abc07c9a2a2da6a7d33dac271ff90f9146f
-Size (treemd-0.4.2.tar.gz) = 381183 bytes
+BLAKE2s (treemd-0.4.4.tar.gz) = 38ee228ed114d696f67f1a182d07e8648468a94d9cd66bb5e3b5c3bebbc25f2c
+SHA512 (treemd-0.4.4.tar.gz) = 1d3b5e028aa42f94f2cdaf7506ded1bab4dc1cc1a3cb72caead5e0a189d3ae13e3dcc5a0364046a2d8759d8e5f441e03532e2ef970d7e8e7d4b2c0fe31542dfb
+Size (treemd-0.4.4.tar.gz) = 388284 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