head 1.5; access; symbols pkgsrc-2026Q3:1.4.0.2 pkgsrc-2026Q3-base:1.4 pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2026.11.26.22.44.02; author kim; state Exp; branches; next 1.4; commitid JuiTZp8VtwnXu15H; 1.4 date 2026.08.18.14.42.19; author kim; state Exp; branches; next 1.3; commitid LyYjhMBlHFVm18SG; 1.3 date 2026.06.28.08.02.12; author adam; state Exp; branches; next 1.2; commitid XDYQKs9sCspFtxLG; 1.2 date 2026.06.24.17.53.57; author gdt; state Exp; branches; next 1.1; commitid WKTm1OYaIPoTS4LG; 1.1 date 2026.05.03.20.34.45; author kim; state Exp; branches; next ; commitid sOBWPGiJtZOxrpEG; desc @@ 1.5 log @py-libtmux: Update to 0.68.0 User-visible changes since 0.61.0. tmux 3.3a and Python 3.11 are now the minimum. 0.68.0 A closed pane, window or session raises TmuxObjectDoesNotExist, also from Pane.capture_pane() and Pane.send_keys(), which used to return an empty result. Server.run_shell() raises VersionTooLow on tmux 3.3a and 3.4 instead of returning []. Session.new_window() with select_existing=True reuses a window by index or target on every tmux, and rejects kill_existing=True alongside it. expand_formats is the one parameter name for tmux's -F. 0.67.1 Fix: new_window(select_existing=True) finds a window by its literal name on every tmux. 0.67.0 A "#" in session names, window names, pane titles, start directories and buffer paths is kept as typed; wrap a value in the new libtmux.Format to have tmux expand it. new_session(kill_session=True) kills only the exactly named session; new exact= argument for session names. 0.66.0 Files created by save_buffer() are readable by their owner only. send_keys(hex_keys=True) no longer adds Enter. A socket path too long for tmux raises SocketPathTooLong. 0.65.0 tmux 3.3a is the minimum; 0.64.0 was the last release to support tmux 3.2a. Publishes a capability matrix of the tmux features gated by release. 0.64.0 Fixes only: commands act on the object they were called on, values starting with "-" or ending in ";" reach tmux as data, a newline in a pane's path no longer breaks listings. 0.63.0 Python 3.11 is the minimum. Pane.break_pane() returns the destination window when it moves a window's only pane; show_hook() reads the hooks added in tmux 3.8. 0.62.0 Pane.from_env() and siblings for code running inside tmux, Window.linked_sessions, and tmux-accurate resolution of windows linked into several sessions. ObjectDoesNotExist and MultipleObjectsReturned now derive from LibTmuxException. @ text @$NetBSD: distinfo,v 1.4 2026/08/18 14:42:19 kim Exp $ BLAKE2s (libtmux-0.68.0.tar.gz) = b6c59ef88b92de7bebaa8b773e11a719ba0def02045914d76180f7df2cbff727 SHA512 (libtmux-0.68.0.tar.gz) = 5321106536d3f89e76765ea9bf2d4efc378470fa0569813a5dc1e4742de6e5d7810ab8e5861e01a2e9279920879db05a23e34461bc1a0537f8084b5c5b9b62fb Size (libtmux-0.68.0.tar.gz) = 717849 bytes @ 1.4 log @py-libtmux: Update to 0.61.0 0.61.0 (2026-07-04) -- hardening for the tmux 3.7 patch line. - Pane.break_pane() no longer names the broken-out window "libtmux" on tmux 3.7a/3.7b when no window_name is given; tmux's own default (usually the running command) is kept. - New libtmux.common.get_version_str(), returning the raw tmux version string with the point-release suffix ("3.7a") that get_version() strips for numeric comparison. - The test suite now passes against tmux 3.7a and 3.7b. A window-name test had assumed the ":"/"." rejection introduced in 3.7, which tmux reverted in 3.7a. 0.60.0 (2026-06-28) -- completes tmux 3.7 feature parity. Every 3.7-only surface is version-gated, so tmux 3.2a-3.6 keep working unchanged. - Floating panes via Window.new_pane() and Pane.new_pane(): a pane that sits above the tiled layout like a popup but behaves like a real pane. Sized with width/height, positioned with x/y. Requires tmux 3.7. - Type support for the new tmux 3.7 options: server get-clipboard; session focus-follows-mouse, message-format and prompt-command-cursor-style; window copy-mode line-number, tree-mode preview and window-pane status format options; the "key" value of the pane remain-on-exit option; and the pane border styles that 3.7 widened to pane scope. - New tmux 3.7 pane format variables on Pane: floating pane geometry and flags, OSC 9;4 progress reporting, pane_pipe_pid, and the bracket paste and synchronized output screen-mode flags. - New tmux 3.7 command flags on the existing wrappers: capture_pane (hyperlinks, line numbers, line flags), split (empty pane, style and border styles, message, keep), Session.kill (session group), paste_buffer (raw bytes), command_prompt (no freeze), list_keys (output format), run_shell (trailing args expanded as #{1}/#{2}) and refresh_client (request the terminal clipboard). Each warns and is ignored on tmux older than 3.7. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2026/06/28 08:02:12 adam Exp $ d3 3 a5 3 BLAKE2s (libtmux-0.61.0.tar.gz) = f5b701867df5569e9ae6e781214c5f85aeb5e59801c34954a390f559a913f3c9 SHA512 (libtmux-0.61.0.tar.gz) = b395ec50520d0d98aacead74f23310495688ce257bba3bbc32271595f9ab80061802bee882e50838d4361b5d691cb3d4a642dbde134245eea952f79afb64f1c1 Size (libtmux-0.61.0.tar.gz) = 546122 bytes @ 1.3 log @py-libtmux: updated to 0.59.0 libtmux 0.59.0 (2026-06-27) libtmux 0.59.0 adds support for tmux 3.7. tmux 3.7 shipped an upstream regression that crashed the server on `break-pane`; {meth}`~libtmux.Pane.break_pane` now works around it so breaking and rejoining panes works again, and tmux 3.7 joins the tested version matrix alongside 3.2a-3.6. Fixes `break-pane` no longer crashes the tmux 3.7 server tmux 3.7 shipped a regression where `break-pane` aborts the server with a NULL-pointer dereference whenever a pane is broken out of a window without an explicit name (fixed upstream after the 3.7 release). {meth}`~libtmux.Pane.break_pane` now works around this on tmux 3.7 by always supplying a name and applying the requested one afterwards, so breaking a pane into a new window — and joining it back with {meth}`~libtmux.Pane.join` — work again. Older and post-3.7 tmux are unaffected. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2026/06/24 17:53:57 gdt Exp $ d3 3 a5 3 BLAKE2s (libtmux-0.59.0.tar.gz) = 59a9c211b4a30e6761ab4cd9d4c8bd91c3a860ca3e778784752743e4d090d1f9 SHA512 (libtmux-0.59.0.tar.gz) = c4ccf7766cf72dc38f7f4134872891dc1cd625fe03de8e759bfd6718214bff8ae9f92f4dc5d4da38d545bdd4910b82ae31867d5745ec5b67aad818e52723ad5f Size (libtmux-0.59.0.tar.gz) = 518313 bytes @ 1.2 log @misc/py-libtmux: Update to 0.58.1 ## libtmux 0.58.1 (2026-06-16) libtmux 0.58.1 restores compatibility with pytest 9.1. The bundled pytest plugin no longer aborts at import time, so projects that rely on libtmux's fixtures can move to the latest pytest without their test suite failing before collection. ## libtmux 0.58.0 (2026-05-23) libtmux 0.58.0 fixes subprocess output decoding on non-UTF-8 locales. Both {class}`~libtmux.common.tmux_cmd` and {class}`~libtmux._internal.control_mode.ControlMode` now enforce UTF-8 when reading tmux output, matching tmux's own encoding contract. ## libtmux 0.57.1 (2026-05-18) Restores the "lenient-by-default" behavior for {attr}`~libtmux.Server.sessions` and {attr}`~libtmux.Server.clients` that was changed in 0.57.0. ### Behavioral Changes #### Lenient `Server.sessions` and `Server.clients` accessors #### Stricter `search_*` methods ## libtmux 0.57.0 (2026-05-17) libtmux 0.57.0 broadens tmux support around attached clients, tmux-native filtering, and format-token fields. {class}`~libtmux.Client` gives callers a typed object for attached terminals, `search_*()` methods let tmux return only matching sessions, windows, and panes, and more tmux format tokens are exposed as typed attributes. {exc}`~libtmux.exc.LibTmuxException` now records which tmux subcommand failed, making command errors easier to handle downstream. ### Breaking changes #### `LibTmuxException` string form gains a subcommand prefix (#672) #### `Server.sessions`, `Server.clients`, and `Server.search_sessions` raise on tmux errors (#672) ### What's new #### `Client` object and `Server.clients` accessor (#672) #### `Server.display_message` and `Window.display_message` (#672) #### tmux-native filtering with `search_*()` (#672) #### `Pane.send_keys(cmd=None, …)` flag-only invocation (#672) #### `Server.list_buffers(format_string=, filter=)` (#672) #### `Server.run_shell(cwd=, show_stderr=)` (#672) #### `Pane.capture_pane(pending=True)` (#672) #### More format-token fields on tmux objects (#672) ## libtmux 0.56.0 (2026-05-10) libtmux 0.56.0 is the tmux command-parity release. It adds more than 50 commands across {class}`~libtmux.Server`, {class}`~libtmux.Session`, {class}`~libtmux.Window`, and {class}`~libtmux.Pane`, filling in many commands that previously required raw {meth}`~libtmux.Server.cmd` calls. It also adds attached-client test support so interactive tmux commands can be covered in headless test suites. ### What's new #### Interactive tmux commands are now scriptable (#653) #### tmux buffer I/O has first-class support (#653) #### Server commands cover key bindings, clients, shell execution, and access (#653) #### Windows and panes can be rearranged through the object API (#653) #### Improvements (#653) #### Attached-client tests are available through `control_mode` (#653) ### Development #### tmux 3.7 is within the known-version range (#653) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2026/05/03 20:34:45 kim Exp $ d3 3 a5 3 BLAKE2s (libtmux-0.58.1.tar.gz) = c9af0b529af780ccfef9ef734b1f9b8b4045617b5c6fc12953f3248fc282cc60 SHA512 (libtmux-0.58.1.tar.gz) = e19e2d0b45b51caaca3c4e95ac3f4233d3b5a56d5ff1ee7745f6d5838b89ab677999b4ebe24577270123a5884ce11be1f6476f976b514b422724fcadeb8d0c41 Size (libtmux-0.58.1.tar.gz) = 523267 bytes @ 1.1 log @Add tmuxp @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 BLAKE2s (libtmux-0.55.1.tar.gz) = 8c4a8dcdc856ff1722b08092f639ab358797cd4db62b88855d491596506e088e SHA512 (libtmux-0.55.1.tar.gz) = bbd1c3b01fab3ff22fbd898de3fad8577804dd5d2010ed68996063046dc03207b6dc647fbe840b25677a99908c9c97ed72e4fcda324f39e782c716cfa28bdd03 Size (libtmux-0.55.1.tar.gz) = 445016 bytes @