summaryrefslogtreecommitdiffstats
path: root/server.c
AgeCommit message (Collapse)Author
2023-09-17Merge branch 'obsd-master'Thomas Adam
2023-09-15Change UTF-8 combining to inspect the previous character at the cursornicm
position rather than keeping the last character from the input stream, this is how most terminals work and fixes problems with displaying these characters in vim. GitHub issue 3600.
2023-09-01Merge branch 'obsd-master'Thomas Adam
2023-09-01Rewrite combined character handling to be more consistent and to supportnicm
newer Unicode combined characters (which we have to "know" are combined since they are not width zero). GitHub issue 3600.
2022-06-30Merge branch 'obsd-master'Thomas Adam
2022-06-30Add support for OSC 8 hyperlinks (a VTE extension now supported by othernicm
terminals such as iTerm2). Originally written by me then extended and completed by first Will Noble and later Jeff Chiang. GitHub issues 911, 2621, 2890, 3240.
2022-06-21Merge branch 'obsd-master'Thomas Adam
2022-06-21Store time lines are scrolled into history and display in copy mode.nicm
2022-05-30Add an ACL list for users connecting to the tmux socket. Users may benicm
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. From Dallas Lyons and others.
2022-04-06Add an ACL list for users connecting to the tmux socket. Users may be forbiddenNicholas Marriott
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-03-28Merge branch 'obsd-master' into masterThomas Adam
2022-03-28Add support for systemd socket activation (where systemd creates the UnixNicholas Marriott
domain socket for tmux rather than tmux creating it). Build with --enable-systemd. From Julien Moutinho in GitHub issue 3119.
2022-03-28Report error if creating socket fails with -D.nicm
2022-03-25Merge branch 'obsd-master' into masterThomas Adam
2022-03-25Fix exit message if creating socket fails.nicm
2021-06-10Fix warnings, from Jan Tache in GitHub issue 2692.nicm
2021-05-03Fix warnings, from Jan Tache in GitHub issue 2692.Nicholas Marriott
2021-03-11malloc_trim is itself very poor and gets slower and slower as the heap becomesNicholas Marriott
more fragmented. Run it only once an hour. GitHub issue 2551.
2021-03-11Merge branch 'obsd-master' into masterThomas Adam
2021-03-11Tidy old jobs every hour instead of every 30 seconds.nicm
2021-02-17Merge branch 'obsd-master' into masterThomas Adam
2021-02-11Add a couple of helper functions, and flush imsgs on exit.nicm
2021-01-17Look for libevent2 differently from libevent for platforms with both.Nicholas Marriott
2020-09-16Merge branch 'obsd-master'Thomas Adam
2020-09-16Fix some warnings, GitHub issue 2382.nicm
2020-06-18Merge branch 'obsd-master'Thomas Adam
2020-06-18Add a flag to make a client wait for an empty line before exiting innicm
control mode to avoid stray commands ending up in the shell.
2020-06-01Merge branch 'obsd-master'Thomas Adam
2020-06-01Instead of sending all data to control mode clients as fast as possible,nicm
add a limit of how much data will be sent to the client and try to use it for panes with some degree of fairness. GitHub issue 2217, with George Nachman.
2020-05-16Add a -D flag to ask tmux not to daemonize, useful both for running anicm
debugger (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
2020-05-16Change message log to be per server rather than per client and includenicm
every command that is run.
2020-05-16Add 'e' key in buffer mode to open the buffer in an editor.nicm
2020-05-15xterm-keys has been on by default for 5 years and all other modern terminalsNicholas Marriott
use these key sequences by default. Merge the code into the main tty and input tree processing (convering the latter to use a tree rather than a table at the same time) and make the option a no-op.
2020-05-10Add a -D flag to ask tmux not to daemonize, useful both for running a debuggerNicholas Marriott
(lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
2020-05-06Change message log to be per server rather than per client and include everyNicholas Marriott
command that is run.
2020-05-01Add 'e' key in buffer mode to open the buffer in an editor.Nicholas Marriott
2020-03-12Merge branch 'obsd-master'Thomas Adam
2020-03-12When the server socket is given by the user with -S, create it withnicm
umask 177 instead of 117 because it may not be in a safe directory like the default directory in /tmp. The user can chmod it more open after it is created if they want.
2019-06-20Merge branch 'obsd-master'Thomas Adam
2019-06-20Expand command formats in %if and move the config file loading later (tonicm
when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler.
2019-06-07Merge branch 'obsd-master'Thomas Adam
2019-06-07Do not load the config file if the server is exiting because it failednicm
to start, otherwise commands like lsk which start the server again can end up looping infinitely. Also make the first client exit correctly. Problem reported by Wael M Nasreddine.
2019-05-20Merge branch 'obsd-master'Thomas Adam
2019-05-20Replace the various identical error callbacks with a single one in cmd-queue.c.nicm
2019-04-17Break new window and pane creation common code from various commands andnicm
window.c into a separate file spawn.c.
2019-04-07Break new window and pane creation common code from various commands andNicholas Marriott
window.c into a separate file spawn.c.
2018-08-23Merge branch 'obsd-master'Thomas Adam
2018-08-23Move job struct into job.c.nicm
2018-08-18Merge branch 'obsd-master'Thomas Adam
2018-08-18SESSION_UNATTACHED flag is no longer necessary now we have an attachednicm
count instead.