• src/syncterm/Manual.txt s

    From Deuc¿@VERT to Git commit to main/sbbs/m on Thursday, April 23, 2026 22:56:00
    https://gitlab.synchro.net/main/sbbs/-/commit/5934587716e0e2b2d904920b
    Modified Files:
    src/syncterm/Manual.txt src/uifc/filepick.c filepick.h uifc.h uifc32.c uifctest.c
    Log Message:
    uifc: rework filepick, add multi-select and directory pickers

    filepick.c is refactored from a single 450-line function into small
    field handlers around an fp_state struct. Long-standing TODO flags (UIFC_FP_UNIXSORT, UIFC_FP_SHOWHIDDEN) now work; results are sorted case-insensitively with directories first and ".." pinned to the top.
    Magic keycode constants are replaced with a new UIFC_EXTKEY() macro,
    file sizes are rendered via byte_estimate_to_str() with IEC suffixes,
    and glob() is replaced with globi() so case-insensitive matching is
    portable.

    Two new public entry points:
    filepick_multi() Ä tag any number of files across directories
    filepick() Ä now also honours UIFC_FP_DIRSEL for dir selection

    Layout gains an info pane (filename + size + mtime), dedicated
    OK/Cancel footer buttons (plus Review in MULTI mode), truncated-path
    display that keeps the deepest directory visible, and a uifcapi_t
    edit_item field so callers can override the F2 label that bottomline()
    draws when WIN_EDIT is set.

    uifctest gets Multi-file picker and Directory picker menu entries.

    syncterm/Manual.txt documents the shared file browser, its three
    panes, footer buttons, and full keyboard + mouse bindings including
    Ctrl+Enter as an OK shortcut and F2 to review the multi-select set.

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Thursday, April 23, 2026 23:45:00
    https://gitlab.synchro.net/main/sbbs/-/commit/262023b439e2ec752823c8e8
    Modified Files:
    src/syncterm/Manual.txt src/uifc/filepick.c
    Log Message:
    uifc: Ctrl+A tags every file in the multi-file picker

    Adds a Select-All shortcut to the multi-pick file browser: Ctrl+A in
    the directory or file pane tags every entry currently visible in the
    file pane (directories live in s->dirs, not s->files, so they are
    never selectable). sel_add() is idempotent, so pressing Ctrl+A on an already-fully-tagged list is a no-op.

    Status-bar hint is left alone; the shortcut is documented in the
    File Browser section of Manual.txt.

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net