Commit Graph

12365 Commits

Author SHA1 Message Date
Nicholas Marriott
5f278c8f2a Regress for damage rectangles. 2026-10-02 15:15:02 +01:00
tmux update bot
92e14631d3 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Sync redraw should use the given rows not the scroll region now.
  Instead of redrawing the entire pane or scene when moving or redrawing a pane, add damage rectangles and redraw only the affected spans. From Michael Grant.
  Do not leak client if lost before configuration is loaded, and do not load multiple times. GitHub issues 5661 and 5662 from Alexandre Fiori.
  Restore the zoom when swap-pane refuses a floating pane, GitHub issue 5660 from Alexandre Fiori.
  Do not use client for copy-mode -S if NULL, reported by Martin Vlach.
2026-10-02 14:10:43 +00:00
nicm
556235fbe2 Sync redraw should use the given rows not the scroll region now. 2026-10-02 14:10:41 +00:00
nicm
0a1adfa116 Instead of redrawing the entire pane or scene when moving or redrawing a
pane, add damage rectangles and redraw only the affected spans. From
Michael Grant.
2026-10-02 14:10:41 +00:00
nicm
950a7f6631 Do not leak client if lost before configuration is loaded, and do not load
multiple times. GitHub issues 5661 and 5662 from Alexandre Fiori.
2026-10-02 14:10:41 +00:00
nicm
a511a7ab55 Restore the zoom when swap-pane refuses a floating pane, GitHub issue
5660 from Alexandre Fiori.
2026-10-02 14:10:41 +00:00
nicm
5932140d30 Do not use client for copy-mode -S if NULL, reported by Martin Vlach. 2026-10-02 14:10:41 +00:00
Nicholas Marriott
4712726062 Tests for 5661 etc, from Alexandre Fiori. 2026-10-02 13:28:16 +01:00
Nicholas Marriott
ff1364a19c copy-mode -S test. 2026-10-02 13:13:32 +01:00
Nicholas Marriott
5a820e63b7 Update CHANGES. 2026-09-30 14:38:50 +01:00
Nicholas Marriott
8d3172f4d4 Fix test on macOS. 2026-09-30 06:46:05 +01:00
tmux update bot
e04f7876c9 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add NULL checks for clients that may not have identified yet, GitHub issue 5663.
2026-09-29 23:00:12 +00:00
nicm
4a98a9dea8 Add NULL checks for clients that may not have identified yet, GitHub
issue 5663.
2026-09-29 23:00:10 +00:00
Nicholas Marriott
5e4b8cc39e Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Do not format times that localtime_r and ctime_r cannot convert, from Alexandre Fiori.
  Add a maximum repeat size as well as count.
2026-09-29 20:08:52 +01:00
nicm
c34432980f Do not format times that localtime_r and ctime_r cannot convert, from
Alexandre Fiori.
2026-09-29 19:03:18 +00:00
nicm
1bb90bdd62 Add a maximum repeat size as well as count. 2026-09-29 19:03:18 +00:00
Nicholas Marriott
ffbbdcc852 Test for 5659 from Alexandre Fiori. 2026-09-29 15:00:09 +01:00
Nicholas Marriott
30e6a552b4 More repeat tests. 2026-09-29 12:58:51 +01:00
Nicholas Marriott
3a5df8780f Fix test socket names. 2026-09-29 06:50:38 +01:00
tmux update bot
bef6f61b6f Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Do not try to decode UTF-8 if it is too long to match the pattern.
  Do not allocate for repeat inside loop but allocate up front and just copy in the loop.
2026-09-28 21:22:23 +00:00
nicm
95aaa6cc2a Do not try to decode UTF-8 if it is too long to match the pattern. 2026-09-28 21:22:21 +00:00
nicm
389908d001 Do not allocate for repeat inside loop but allocate up front and just
copy in the loop.
2026-09-28 21:22:21 +00:00
tmux update bot
4bb0cc98d3 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Copy all #s at once when multiple are seen before [ rather than only copying one at a time which can be very slow.
  Check time every iteration for expensive repeat loop.
2026-09-28 17:33:04 +00:00
nicm
5fbfaca6a8 Copy all #s at once when multiple are seen before [ rather than only
copying one at a time which can be very slow.
2026-09-28 17:26:42 +00:00
nicm
c4eb4ab5df Check time every iteration for expensive repeat loop. 2026-09-28 17:26:42 +00:00
Nicholas Marriott
6ad23bb99c Update test. 2026-09-28 17:55:47 +01:00
Nicholas Marriott
6a5745c771 Some more crazy stuff to make systemd OOM work properly (stop it killing entire
process groups insead of a single process), GitHub issue 5640 from Damian
Nowak.
2026-09-28 17:36:52 +01:00
tmux update bot
8a9122df1d Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Use mode screen for cursor not base which may be wrong during synchronized updates. GitHub issue 5648 from bugreporter23 at gmail dot com.
2026-09-28 15:30:43 +00:00
nicm
5e5e15f6c7 Use mode screen for cursor not base which may be wrong during
synchronized updates. GitHub issue 5648 from bugreporter23 at gmail dot
com.
2026-09-28 15:30:41 +00:00
tmux update bot
a9b9795487 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Do not use subtraction for comparators, this doesn't really matter for IDs but it breaks key sorting. GitHub issue 5646 from Alexandre Fiori.
  Fix dragging a floating pane by its top border over a tiled pane's status line, GitHub issue 5645 from Michael Grant.
  Fix floating panes not being detected as obscuring the pane behind them, GitHub issue 5641 from Michael Grant.
  Exit 128 + SIGHUP like popups did if waiting for a pane that was killed, from Alexandre Fiori.
2026-09-28 12:05:39 +00:00
nicm
db3950ed07 Do not use subtraction for comparators, this doesn't really matter for
IDs but it breaks key sorting. GitHub issue 5646 from Alexandre Fiori.
2026-09-28 12:05:37 +00:00
nicm
a16e62849d Fix dragging a floating pane by its top border over a tiled pane's
status line, GitHub issue 5645 from Michael Grant.
2026-09-28 12:05:37 +00:00
nicm
bbecdc802f Fix floating panes not being detected as obscuring the pane behind them,
GitHub issue 5641 from Michael Grant.
2026-09-28 12:05:37 +00:00
nicm
884101263e Exit 128 + SIGHUP like popups did if waiting for a pane that was killed,
from Alexandre Fiori.
2026-09-28 12:05:37 +00:00
Nicholas Marriott
294bf0bf16 Test for 5648. 2026-09-28 12:26:40 +01:00
Nicholas Marriott
31b622781b Sort fix tests from Alexandre Fiori. 2026-09-28 11:42:15 +01:00
Nicholas Marriott
797d7c176e Test for 5645. 2026-09-28 11:30:01 +01:00
tmux update bot
33a42286f6 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add a second comparison for key bindings to avoid ties, GitHub issue 5647 from Alexandre Fiori.
  Bounds check size and offsets for v1 layouts, found by ossfuzz.
2026-09-28 10:25:05 +00:00
nicm
86af3c8167 Add a second comparison for key bindings to avoid ties, GitHub issue
5647 from Alexandre Fiori.
2026-09-28 10:25:03 +00:00
nicm
abb1c79886 Bounds check size and offsets for v1 layouts, found by ossfuzz. 2026-09-28 10:25:03 +00:00
Nicholas Marriott
2d7148b3fa Tests for 5641. 2026-09-28 11:10:24 +01:00
Nicholas Marriott
4aeb3f61f0 5643 test from Alexandre Fiori. 2026-09-28 10:56:24 +01:00
Nicholas Marriott
ef712916f6 Check for v1 bounds checks. 2026-09-28 10:32:12 +01:00
Nicholas Marriott
71c790d659 Fix test. 2026-09-28 09:23:29 +01:00
tmux update bot
94796f6b11 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Tighten up TMUX_TMPDIR - do not allow relative paths or .. or if realpath fails. From Alexandre Fiori.
2026-09-25 23:37:17 +00:00
nicm
11a0799925 Tighten up TMUX_TMPDIR - do not allow relative paths or .. or if
realpath fails. From Alexandre Fiori.
2026-09-25 23:37:16 +00:00
tmux update bot
c98dca28de Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Discard keys if there is no session, fixes crash reported by Artyom Pertsovsky.
2026-09-25 17:28:20 +00:00
nicm
7a816f90e7 Discard keys if there is no session, fixes crash reported by Artyom
Pertsovsky.
2026-09-25 17:28:18 +00:00
Nicholas Marriott
d928682b38 5438 test. 2026-09-25 14:45:18 +01:00
tmux update bot
7742e00932 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Fix some indentation.
  Do not overflow window indexes at INT_MAX in new-window -a and renumber-windows. GitHub issue 5637 from Alexandre Fiori.
2026-09-25 12:18:32 +00:00