Commit Graph

9945 Commits

Author SHA1 Message Date
Nicholas Marriott
0c84a20d2f Emit window-layout-changed on swap-pane, from George Nachman. 2022-04-06 14:43:12 +01:00
Nicholas Marriott
996e54763c Better error reporting when applying custom layouts. 2022-04-06 14:41:44 +01:00
Nicholas Marriott
18105c8ecb Do not send focus sequences when focus is enabled or disabled by the
application if it is turned off. GitHub issue 3142.
2022-04-06 14:30:37 +01:00
Nicholas Marriott
d6306b634e Add an ACL list for users connecting to the tmux socket. Users may be forbidden
from attaching, forced to attach read-only, or allowed to attach read-write. A
new command, server-access, configures the list. tmux gets the user using
getpeereid(3) of the client socket. Users must still configure file system
permissions manually.
2022-04-06 14:28:50 +01:00
Nicholas Marriott
6e9a9d265e Fix version. 2022-04-06 14:26:19 +01:00
Nicholas Marriott
36648f2668 Merge remote-tracking branch 'origin/3.3-rc' 2022-04-06 14:25:57 +01:00
Nicholas Marriott
7f86cab1d2 Merge tag '3.3-rc'
3.3-rc
2022-04-06 14:24:33 +01:00
Nicholas Marriott
39b1e96b45 Add to CHANGES. 2022-04-06 14:24:17 +01:00
nicm
1e9c3b3c63 Preserve CRLF flag when respawning. 2022-04-06 14:19:52 +01:00
naddy
fc6580574e man pages: add missing commas between subordinate and main clauses
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@
2022-04-06 14:19:52 +01:00
nicm
2df7bc14fa Capture up to used size not available size for each line. 2022-04-06 14:19:52 +01:00
nicm
880abd0ec2 Report error if creating socket fails with -D. 2022-04-06 14:19:52 +01:00
Nicholas Marriott
1c69a91c25 Add support for systemd socket activation (where systemd creates the Unix
domain socket for tmux rather than tmux creating it). Build with
--enable-systemd. From Julien Moutinho in GitHub issue 3119.
2022-04-06 14:19:52 +01:00
nicm
98de5784a0 Fix exit message if creating socket fails. 2022-04-06 14:19:51 +01:00
nicm
d4eda7f9e5 Add unit (milliseconds) to escape-time, show unset colours as "none"
rather than "invalid" and don't show the same text twice for user
options in customize mode.
2022-04-06 14:19:51 +01:00
nicm
89a0046ad3 Add a capability for OSC 7 and use it similarly to how the title is set
(and controlled by the same set-titles option). GitHub issue 3127.
2022-04-06 14:19:51 +01:00
nicm
60a0a904e0 Check scroll-on-clear for ED also. 2022-04-06 14:19:51 +01:00
nicm
c0508c9321 Add an option (scroll-on-clear) to control if tmux scrolls into history
on clear, from Robert Lange in GitHub issue 3121.
2022-04-06 14:19:51 +01:00
nicm
fe44b105e4 Add an option to set the character used for unused areas of the
terminal, GitHub issue 3110.
2022-04-06 14:19:51 +01:00
nicm
ad7113e0db With -f use percentages of window size not pane size, GitHub issue 2866. 2022-04-06 14:19:51 +01:00
nicm
23e613fcf5 Fix user hooks (which are strings not arrays). 2022-04-06 14:19:51 +01:00
nicm
98b92c0525 Add remain-on-exit-format to set text shown when pane is dead. 2022-04-06 14:19:51 +01:00
nicm
57f331438a Add argument to refresh-client -l to forward clipboard to a pane. GitHub
issue 3068.
2022-04-06 14:19:51 +01:00
nicm
8aed444201 Add formats for client and server UID and user (for multiuser setups). 2022-04-06 14:19:50 +01:00
Nicholas Marriott
f97d784f17 Use getpeerucred if available (not tested). 2022-04-06 14:19:50 +01:00
Nicholas Marriott
759f949654 Need a declaration for getpeereid also. 2022-04-06 14:19:50 +01:00
Nicholas Marriott
f1d8724198 Add getpeerid compat. 2022-04-06 14:19:50 +01:00
Nicholas Marriott
367ee79df0 Remove unnecessary declarations. 2022-04-06 14:19:50 +01:00
nicm
d5a84de842 Pass client when adding menu item, GitHub issue 3103. 2022-04-06 14:19:50 +01:00
nicm
355ced93cc Allow optional arguments. 2022-04-06 14:19:50 +01:00
nicm
bc0bd8213d Don't convert codes for special keys (Tab, Enter, Escape). 2022-04-06 14:19:50 +01:00
topcat001
141a823ea4 Use PATH_MAX instead of MAXPATHLEN. 2022-04-06 14:19:50 +01:00
nicm
42e7959336 Exit on SIGHUP before attach also, GitHub issue 3084. 2022-04-06 14:19:50 +01:00
nicm
9947f7416a Map control keys back to an ASCII uppercase letter when passing them on
as extended keys.
2022-04-06 14:19:50 +01:00
deraadt
c030d6fe36 MAXCOMLEN is no longer needed in these programs, so remove the annotation
from sys/param.h include lines, or remove the include lines entirely if
it this was the least requirement.
ok millert
2022-04-06 14:19:50 +01:00
nicm
046530878b Do not attempt to update focus (and crash) when there is no previous window. 2022-04-06 14:19:50 +01:00
nicm
a26ebccd42 Add next_session_id format with the next session ID, GitHub issue 3078. 2022-04-06 14:19:50 +01:00
nicm
92a26a8b8c Initialize copy_width before adjusting it, GitHub issue 3079. 2022-04-06 14:19:50 +01:00
nicm
f74a98cd07 Use correct size for screen when popup is created without borders. 2022-04-06 14:19:50 +01:00
nicm
4893edd5d6 Add a window-resized hook which is fired when the window is actually
resized which may be later than the client resize, GitHub issue 2995.
2022-04-06 14:19:49 +01:00
nicm
6a0a783c26 Support more mouse buttons when the terminal sends them, GitHub issue
3055.
2022-04-06 14:19:49 +01:00
Nicholas Marriott
7f40c5b647 No not allow static linking on macOS. 2022-04-06 14:19:49 +01:00
nicm
eabbc80b75 Add an option (default off) to control the passthrough escape sequence.
Like set-clipboard and allow-rename it is safer to forbid this by
default.
2022-04-06 14:19:49 +01:00
nicm
190b88fcab Do not create a buffer from an OSC 52 response if we have not sent a
query.
2022-04-06 14:19:49 +01:00
nicm
2adbe3ec16 Do not return error with -q, GitHub issue 3065. 2022-04-06 14:19:49 +01:00
nicm
9efa419955 Use ACS for pane border indicators so they work with different line
types, from Thomas Adam.
2022-04-06 14:19:49 +01:00
nicm
921be61930 Adjust size given to resize-pane for pane status line, GitHub issue
3050.
2022-04-06 14:19:49 +01:00
Thomas Adam
b0ff446727 Merge branch 'obsd-master' into master 2022-04-01 14:01:11 +01:00
nicm
65c0af76fb Preserve CRLF flag when respawning. 2022-04-01 10:11:59 +00:00
Thomas Adam
87b248f3e8 Merge branch 'obsd-master' into master 2022-03-31 20:01:11 +01:00