summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-08-29Better take on reducing the name timer. Again check for name changes innicm
the main loop after events that may have changed the pane, but do so at most once every 500 millis. If the pane changed too soon, use a timer to ensure that a check happens later.
2015-08-29Microseconds in log time.nicm
2015-08-28Only set default title to hostname on screens that are being used for anicm
window pane, no point in calling gethostname() for temporary screens.
2015-08-28Make a few more expensive (ish) formats functions instead of inline.nicm
2015-08-28Allow formats to be specified as functions (in the code) so they arenicm
only evaluated on demand rather than each time a format tree is constructed. Use this for expensive formats like pane_current_command.
2015-08-28Revert previous; we do need a timer, until I have a better idea. Wenicm
can't do the name check every loop, because that is too expensive, and we can't make sure it only happens infrequently because we have no idea when the next change will happen.
2015-08-28We now only checking for name changes when the active pane has changed,nicm
but that can only happen when we have already been woken up by a read event, so there is no need for a timer, we can just check the changed flag on the end of that read event (we already loop over the windows to check for bells etc anyway).
2015-08-28Check changed flag after restarting timer.nicm
2015-08-28Remove unused prototypes.nicm
2015-08-28Don't leak name when freeing session, from Kuang-che Wu.nicm
2015-08-28Per-session timers for locking, and remove the global one-second timer.nicm
2015-08-28Make session_update_activity more useful and use it in more places.nicm
2015-08-28Remove the lock-server option which is a bit redundant, it isn't thatnicm
different without it.
2015-08-28Give clock mode its own timer.nicm
2015-08-28Run status update on a per-client timer at status-interval.nicm
2015-08-28Log time with message.nicm
2015-08-28Move format job cleanup onto its own timer.nicm
2015-08-28Allow environment variables in #{}.nicm
2015-08-28Error messages should not have a trailing period.nicm
2015-08-28Only do the automatic-rename dance if the pane has changed (seen output,nicm
or new active pane).
2015-08-25When searching for tabs, start from screen width, fixes out-of-boundsnicm
read found by Kuang-che Wu.
2015-08-24In grid_duplicate_lines, if the line is empty (cellsize == 0) then clearnicm
the destination celldata pointer rather than leaving a stale copy of the source pointer (which may later be freed). Fixes a crash found by Kuang-che Wu.
2015-08-16Come out of copy mode when history is cleared.nicm
2015-08-13right-up should be right-of, also rename the values too.nicm
2015-08-12Rename left/right/up/down relative to active pane to add -of suffixnicm
(left-of/right-of/etc) to remove conflict with left/right meaning leftmost or rightmost pane. From Ben Boeckel.
2015-07-29status_out and associated data structures are no longer used.nicm
2015-07-28Tidy up the way terminals are described and move some structs out of tmux.h.nicm
2015-07-27Make -q suppress ambiguous option warnings too, from Cam Hutchison.nicm
2015-07-20Add an option (history-file) for a file to save/restore command promptnicm
history, from Olof-Joachim Frahm.
2015-07-20Correct the tsl/fsl sequence to ]0 not ]2 (from Marcel Korpel). Whilenicm
here, Xr xterm and remove some advice about elinks that is better elsewhere.
2015-07-17Do not call window_unzoom from window_destroy because it will try to addnicm
a notification which will get confused because the reference count is already zero and end up back in window_destroy and a double free. Instead, just destroy the layouts directly. Noticed by Thomas Adam.
2015-07-17Initialize client fd to -1 as well, from Bobby Powers.nicm
2015-07-13Reset G0/G1 state when resetting everything else with send-keys -R.nicm
2015-07-13Ignore environment variables that are too long to send to the server.nicm
2015-07-13Fix line endings.nicm
2015-07-13Initialize cwd fd to -1 so that we don't close fd 0 if the client isnicm
destroyed before it is changed. Also allow ttyname() to fail. Fixes problems when running out of file descriptors reported by Bruno Sutic.
2015-07-13Add a format to show if client is a control client. From Bruno Sutic.nicm
2015-07-13Add a -s flag to show-environment to output Bourne shell commands a lanicm
ssh-agent. Mostly from Cam Hutchison with some changes by me.
2015-07-13Revert to marking lines as wrapped on newlines, fixes problems withnicm
capturep -J.
2015-07-06Update environment with -E when attach-session used on an alreadynicm
attached session or switch-client used on the current session. From Cam Hutchison.
2015-06-18Use the SRCDST define for usage.nicm
2015-06-18Use xsnprintf.nicm
2015-06-18Remove a stray : and tweak paragraph.nicm
2015-06-17Change break-pane to take target and source panes (-t and -s) in linenicm
with other commands, from Thomas Adam.
2015-06-17Break cmdq_continue inner loop into a helper function.nicm
2015-06-17Move the shuffle code from new-window -a into a function and add a -anicm
flag for move-window too. From Thomas Adam.
2015-06-17Use an explicit job state instead of avoid closing our side of thenicm
socketpair and setting it to -1 to mark when the other side is closed. This avoids closing it while the libevent bufferevent still has it (it could try to add it to the polled set which some mechanisms don't like). Fixes part a problem reported by Bruno Sutic.
2015-06-15Add window_activity format, from Thomas Adam based on a diff originallynicm
from propos6 at gmail dot com.
2015-06-14Add a format for client PID (client_pid) and server PID (pid). Diff fornicm
client_pid from Thomas Adam.
2015-06-10wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.nicm