Commit Graph

  • 08779aa2a3 Fix breakage in fuzzer, from David Korczynski, GitHub issue 4871. master Nicholas Marriott 2026-02-24 08:27:15 +00:00
  • 6898e26a7a Fix bug with utf-8 extended characters not respecting visible range. floating_panes Michael Grant 2026-02-24 01:19:24 +00:00
  • bc47bc7c22 Merge branch 'obsd-master' Thomas Adam 2026-02-23 12:01:08 +00:00
  • dc693601f4 Merge branch 'obsd-master' Thomas Adam 2026-02-23 10:01:08 +00:00
  • f1f9c63cdb Free history entries properly, from Huihui Huang in GitHub issue 4870. nicm 2026-02-23 09:12:57 +00:00
  • 0cc4f0fd76 Use buffer size for b64_pton, from someone in GitHub issue 4882. nicm 2026-02-23 09:08:07 +00:00
  • 0dc1b5adfb Do not leak list on failure, reported by Huihui Huang. nicm 2026-02-23 08:58:40 +00:00
  • a76e6eca6b Another memory leak from Huihui Huang. nicm 2026-02-23 08:54:56 +00:00
  • 8c7278b53a Memory leaks in cmd_display_menu, from Huihui Huang. nicm 2026-02-23 08:50:00 +00:00
  • 50a3b4c777 Free format on -a, reported by Huihui Huang. nicm 2026-02-23 08:46:57 +00:00
  • 3094ca1da5 Fix memory leaks, reported by Huihui Huang in GitHub issue 4872. nicm 2026-02-23 08:45:27 +00:00
  • 23ad10c849 Set cell to default when off screen to avoid crash when logging it. nicm 2026-02-23 08:29:30 +00:00
  • c9fb989a31 Merge branch 'obsd-master' Thomas Adam 2026-02-23 08:11:38 +00:00
  • e2cf40ef99 Fix crash cause by not having a wp pointer in tty.c. Michael Grant 2026-02-23 08:08:31 +00:00
  • 8356578a54 Update tmux bash completion file link in README, from Hyun Seungmin. Nicholas Marriott 2026-02-20 08:43:35 +00:00
  • 0310404155 Reuse the same extended slot when clearing non-RGB cells as well. From Michael K Darling in GitHub issue 4865. nicm 2026-02-20 08:41:23 +00:00
  • 96515c9f47 Merge branch 'master' into floating_panes Michael Grant 2026-02-18 09:28:38 +00:00
  • 03f8690f9c Pass which clipboard is set through to the terminal, from Axel Lindskog in GitHub issue 4858. nicm 2026-02-18 09:10:31 +00:00
  • 4cc3de4f84 Merge branch 'obsd-master' Thomas Adam 2026-02-17 08:51:05 +00:00
  • fedd4440f0 Reuse extended entry when clearing RGB cell, to prevent memory growth when cells are repeatedly cleared (they are only compacted when scrolled off screen). From Michael K Darling in GitHub issue 4862. nicm 2026-02-17 07:42:58 +00:00
  • 55cedc24fa Format layout change string once per window in control notify, from Conor Taylor in GitHub issue 4848. nicm 2026-02-16 08:45:38 +00:00
  • c9162837a0 Pull format allocation outside of loop for control subs, from Conor Taylor in GitHub issue 4848. nicm 2026-02-16 08:42:57 +00:00
  • f218463976 grid_peek_cell can return NULL, so check for it. From Conor Taylor in GitHub issue 4848. nicm 2026-02-16 08:02:04 +00:00
  • 1f0c54f7ea Initialize bufname, reported by Mark Kelly. nicm 2026-02-15 17:43:26 +00:00
  • d3522c328c Merge branch 'obsd-master' Thomas Adam 2026-02-12 11:10:01 +00:00
  • 96e18faa93 Merge branch 'master' into floating_panes Michael Grant 2026-02-11 09:40:21 +00:00
  • 476c6e89ad Check the overlay visible ranges when we have a tty and check the panes visible ranges when we have a wp. Overlays checked at tty level (for most part) and pane overlays checked at screen level where possible to keep separation of abstraction relatively clean. Michael Grant 2026-02-11 09:30:48 +00:00
  • 7e50eb0e83 Make paste_get_top return a copy of the buffer name which is more sensible and avoids a double free pointed out by DongHan Kim. nicm 2026-02-11 08:30:37 +00:00
  • 5b455abecc Do not write before buffer when parsing empty clipboard or palette replies, or try to allocate zero bytes with an empty clipboard sequence. Reported by DongHan Kim. nicm 2026-02-11 08:23:21 +00:00
  • 7d41761e84 Fix clients_calculate_size for manual type when window is NULL. From Elias Oenal in GitHub issue 4849. nicm 2026-02-10 10:02:11 +00:00
  • 25f6d8b1e9 Implement some obvious missing sort orders, from Dane Jensen in GitHub issue 4813. nicm 2026-02-10 09:55:53 +00:00
  • 5a33616e65 Check for no window when updating clients, GitHub issue 4851. nicm 2026-02-10 09:00:30 +00:00
  • 1cf17b06ae Batch printable output in control mode, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:40:03 +00:00
  • aa03706ed0 Remove redundant call to tty_attributes, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:34:43 +00:00
  • d8794e2b30 Check log level before log_debug in tty_draw_line, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:31:45 +00:00
  • b7939eb266 Don't call event_add again if the event is already pending, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:30:21 +00:00
  • 19b9a34c48 Only loop over clients if table actually found, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:28:53 +00:00
  • f016e08153 Fix wrong TAILQ member in input_cancel_requests from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:27:17 +00:00
  • 7b1c503086 Clear search counts when clearing marks in case of repeated search, reported by Daniel Pereira in GitHub issue 4817. nicm 2026-02-06 10:28:42 +00:00
  • 5865001e4a Also check PANE_STATUSREADY for pane_dead format to match pane_dead_status. GitHub issue 4841 from Joshua Pollack. nicm 2026-02-06 10:23:26 +00:00
  • 62944da74b Make OSC 52 work in popups, from gogongxt at 163 dot com in GitHub issue 4797. nicm 2026-02-03 09:07:44 +00:00
  • 588013bb44 Refresh copy mode when style changes, from Josh Cooper in GitHub issue 4830. nicm 2026-02-03 08:53:58 +00:00
  • 615c27c117 Merge branch 'obsd-master' Thomas Adam 2026-02-02 19:06:25 +00:00
  • 3c3d9ce3a9 Break sorting out into a common file so formats and modes use the same code. Also add -O for sorting to the list commands. From Dane Jensen in GitHub issue 4813. nicm 2026-02-02 10:08:30 +00:00
  • b46a96d454 Second try with static visual_ranges using calloc. Michael Grant 2026-01-29 14:34:18 +00:00
  • f67cf7d053 Return static range as last resort. Michael Grant 2026-01-29 11:46:21 +00:00
  • 66011fe48b Do not treat cells as empty unless the background colour stays the same. Fixes invisible clock in clock mode, reported by tb@. nicm 2026-01-29 09:08:19 +00:00
  • 2ad0f4a9e7 Merge branch 'master' into floating_panes Nicholas Marriott 2026-01-29 08:43:41 +00:00
  • d7f59eccaf Merge branch 'obsd-master' Thomas Adam 2026-01-28 17:25:42 +00:00
  • 1ec9ca497b Merge with visible_ranges banch. Convert visible_ranges to new style. Michael Grant 2026-01-28 15:26:00 +00:00
  • e652213855 Merge branch 'obsd-master' Thomas Adam 2026-01-23 10:50:55 +00:00
  • f70150a663 Replace overlay_ranges with visible_ranges which can hold more than three ranges (will be needed for floating panes); move the visible ranges checks outside of tty_draw_line and rewrite it to fix issues with partially-obscured wide characters. With Michael Grant. nicm 2026-01-23 10:45:53 +00:00
  • dd5d0f4f0c Merge master. Michael Grant 2026-01-23 09:29:39 +00:00
  • fe52f76913 Fiddle with some more warnings. Nicholas Marriott 2026-01-22 15:02:42 +00:00
  • 0d9c3c895c Stick the pragmas outside the function (make GCC 4 happier) and under __GNUC__. Nicholas Marriott 2026-01-22 14:29:29 +00:00
  • 6525bb7cef Line length/style nits. Nicholas Marriott 2026-01-22 14:16:39 +00:00
  • 0790e74f84 Fix strftime warning in gcc. Michael Grant 2026-01-22 14:11:00 +00:00
  • 195a9cfd88 When history-limit is changed, apply to existing panes, not just new ones. GitHub issue 4705. nicm 2026-01-22 08:55:01 +00:00
  • ecbf8d76d0 Reevaluate menu and popup styles on each draw to allow them to change when options change, from Josh Cooper in GitHub issues 4828 and 4829. nicm 2026-01-22 07:52:24 +00:00
  • 818745a605 Set PANE_STYLECHANGED when user options change, from Josh Cooper in GitHub issue 4825. nicm 2026-01-22 07:42:30 +00:00
  • 26aacd0e32 Handle theme keys earlier so they are processed even if a popup is open. From Josh Cooper in GitHub issue 4827. nicm 2026-01-22 07:39:35 +00:00
  • d1a6ce8e7f Associate each visible_ranges with some other object (tty, popup_data, etc) so it is easier to keep track of its lifecycle, but still avoid allocating for each use. Nicholas Marriott 2026-01-21 21:26:32 +00:00
  • b22537e8a4 Conflict resolve. Michael Grant 2026-01-21 19:36:05 +00:00
  • a25c14d472 Change overlay_ranges into visible_ranges. Michael Grant 2026-01-21 19:34:19 +00:00
  • 7730d38339 Skip correct width when moving to next position. Nicholas Marriott 2026-01-21 15:58:11 +00:00
  • 58e498c9d3 Use right cell for empty check. Nicholas Marriott 2026-01-21 15:35:33 +00:00
  • 35485f2b5e Fix selection with tty_draw_line. Nicholas Marriott 2026-01-21 12:23:46 +00:00
  • 8e06739e26 Fix window-size=latest not resizing on switch-client in session groups. From Ilya Grigoriev in GitHub issue 4818. nicm 2026-01-20 22:50:08 +00:00
  • b108653f02 Change overlay_ranges to visible_ranges. Nicholas Marriott 2026-01-20 21:09:30 +00:00
  • 25f72cf240 Rewrite tty_draw_line to be simpler and not to check overlay ranges. Nicholas Marriott 2026-01-20 21:08:49 +00:00
  • ab1f2ef71c Add a function to convert a screen to a string, from Michael Grant. nicm 2026-01-20 16:32:05 +00:00
  • d2e09cb259 Add a --enable-optimizations configure flag. Nicholas Marriott 2026-01-20 15:42:22 +00:00
  • bf8ea85bd7 Merge branch 'obsd-master' Thomas Adam 2026-01-19 10:01:08 +00:00
  • 9c0aeaff40 Now the copy mode indicator can be changed, we need to redraw it when the cursor is moved. GitHub issue 4774. nicm 2026-01-19 08:20:51 +00:00
  • 95b4bb51c6 Merge branch 'obsd-master' Thomas Adam 2026-01-14 22:01:08 +00:00
  • 1e5f93b7b6 Add -e flag to command-prompt to close if empty, from Dane Jensen in GitHub issue 4812. nicm 2026-01-14 19:43:43 +00:00
  • b89d46bb00 Add a regression test from Ilya Grigoriev. Nicholas Marriott 2026-01-13 20:29:21 +00:00
  • 97d61131df Merge branch 'obsd-master' Thomas Adam 2026-01-12 10:01:08 +00:00
  • 5721767921 Correctly draw indicators when pane-border-indicators is set to both. Reported by Ilya Grigoriev in GitHub issue 4780. nicm 2026-01-12 07:50:16 +00:00
  • a443531280 Remember last pane or type of location for double and triple clicks and correctly handle it changes between first and second or second and third. GitHub issue 4795 from Shaobo Song. nicm 2026-01-12 07:48:36 +00:00
  • ad083677c5 Merge branch 'obsd-master' Thomas Adam 2026-01-11 14:01:08 +00:00
  • 426467856d Add paste to the default pane menu, GitHub issue 4763. nicm 2026-01-11 11:48:46 +00:00
  • d1df8dcccc focus-follows-mouse: honour floating panes Thomas Adam 2026-01-09 19:00:17 +00:00
  • 844042744e Merge branch 'obsd-master' Thomas Adam 2026-01-09 18:01:07 +00:00
  • 65b3a95be8 Removing padding needs to go through screen_write_collect_trim or there may end up multiple items covering the same region. nicm 2026-01-09 15:04:00 +00:00
  • a50d00aa47 Merge pull request #4799 from tmux/master Michael Grant 2026-01-09 11:30:16 +01:00
  • ca95950148 Merge branch 'obsd-master' Thomas Adam 2026-01-08 14:01:08 +00:00
  • 6234d79852 Do not set manual size if no window. nicm 2026-01-08 12:05:02 +00:00
  • a5d8b92012 Merge branch 'obsd-master' Thomas Adam 2026-01-08 10:01:08 +00:00
  • 890cfc6dc3 Copy palette responses before processing them since they are not strings. nicm 2026-01-08 07:54:23 +00:00
  • 34add944f2 Merge branch 'master' into feature-floating-window-panes Michael Grant 2026-01-07 23:41:29 +01:00
  • 95f85efc49 Fix some of the offset issues when windows size is greater than tty size. Michael Grant 2026-01-07 22:28:23 +00:00
  • 0e6fc2e88b Merge branch 'obsd-master' Thomas Adam 2026-01-07 22:01:07 +00:00
  • c8ccd420be Reduce request timeout to 500 milliseconds to match the extended escape-time, and discard palette requests if receiving a reply for a different index. nicm 2026-01-07 20:16:32 +00:00
  • ff4f6b9066 Extend escape timeout if there are active forwarded requests not just tmux's own requests. GitHub issue 4793. nicm 2026-01-07 20:03:34 +00:00
  • 7cffa2de78 Merge branch 'obsd-master' Thomas Adam 2026-01-07 20:01:09 +00:00
  • e2afaaea75 Correct redrawing of wide characters when overwritten. Reported by Jake Stewart in GitHub issue 4737. nicm 2026-01-07 18:29:15 +00:00
  • 75d3974c12 Merge branch 'obsd-master' Thomas Adam 2026-01-07 10:01:08 +00:00
  • 583f12ea71 Work out the default command from the queue in case it has been set from the config file, GitHub issue 4791. nicm 2026-01-07 08:16:20 +00:00
  • 3de7a8ad8d Merge branch 'obsd-master' Thomas Adam 2026-01-06 22:01:07 +00:00