aboutsummaryrefslogtreecommitdiff
path: root/window.c
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\|
| * Because pledge(2) does not allow us to pass directory file descriptorsnicm2015-10-31
| | | | | | | | | | | | | | | | | | around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
* | Merge branch 'obsd-master'Thomas Adam2015-10-27
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
| * Move struct options into options.c.nicm2015-10-27
| |
* | Merge branch 'obsd-master'Thomas Adam2015-09-14
|\|
| * When the active pane changes, redraw panes if the style hasnicm2015-09-14
| | | | | | | | changed. From Cam Hutchison.
* | Merge branch 'obsd-master'Thomas Adam2015-08-30
|\| | | | | | | | | | | Conflicts: Makefile format.c
| * Remove some old prototypes and unused functions.nicm2015-08-29
| |
| * Move alerts onto events rather than checking every loop.nicm2015-08-29
| |
| * Treat entering or leaving a mode as pane changed.nicm2015-08-29
| |
| * Better take on reducing the name timer. Again check for name changes innicm2015-08-29
| | | | | | | | | | | | 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.
| * Only set default title to hostname on screens that are being used for anicm2015-08-28
| | | | | | | | window pane, no point in calling gethostname() for temporary screens.
| * Revert previous; we do need a timer, until I have a better idea. Wenicm2015-08-28
| | | | | | | | | | | | 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.
| * We now only checking for name changes when the active pane has changed,nicm2015-08-28
| | | | | | | | | | | | | | 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).
* | Merge branch 'obsd-master'Thomas Adam2015-08-28
|\|
| * Error messages should not have a trailing period.nicm2015-08-28
| |
| * Only do the automatic-rename dance if the pane has changed (seen output,nicm2015-08-28
| | | | | | | | or new active pane).
* | Merge branch 'obsd-master'Thomas Adam2015-07-17
|\|
| * Do not call window_unzoom from window_destroy because it will try to addnicm2015-07-17
| | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2015-06-17
|\|
| * Move the shuffle code from new-window -a into a function and add a -anicm2015-06-17
| | | | | | | | flag for move-window too. From Thomas Adam.
* | Merge branch 'obsd-master'Thomas Adam2015-06-15
|\|
| * Add window_activity format, from Thomas Adam based on a diff originallynicm2015-06-15
| | | | | | | | from propos6 at gmail dot com.
* | Merge branch 'obsd-master'Thomas Adam2015-06-04
|\|
| * Add support for a single "marked pane". There is one marked pane in thenicm2015-06-04
| | | | | | | | | | | | | | | | | | server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
* | Merge branch 'obsd-master'Thomas Adam2015-05-13
|\|
| * To replace c0-*, add a high watermark to the pty event, and also backoffnicm2015-05-12
| | | | | | | | | | when the any of the ttys the pane is going to write to has buffered enough data.
| * Remove the c0-* options which never really worked satisfactorily. Goingnicm2015-05-11
| | | | | | | | to try something else...
* | Merge branch 'obsd-master'Thomas Adam2015-05-09
|\| | | | | | | | | Conflicts: tmux.h
| * Style spacing nits.nicm2015-05-07
| |
* | Merge branch 'obsd-master'Thomas Adam2015-05-06
|\|
| * Add a format window_linked which is 1 if a window has been linkednicm2015-05-06
| | | | | | | | | | | | | | multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me.
* | Merge branch 'obsd-master'Thomas Adam2015-04-28
|\|
| * Add select-layout -o to undo the last layout change (apply the previouslynicm2015-04-28
| | | | | | | | set layout).
* | Merge branch 'obsd-master'Thomas Adam2015-04-27
|\| | | | | | | | | | | Conflicts: Makefile tmux.1
| * Get rid of window_choose_list type.nicm2015-04-25
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-25
|\|
| * Make message log a TAILQ.nicm2015-04-25
| |
| * Move the functions to convert ids from strings into session.c and window.c.nicm2015-04-25
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-25
|\|
| * Change the windows array into an RB tree and fix some places where wenicm2015-04-22
| | | | | | | | were only looking at the first winlink for a window in a session.
| * window_index is only used in one place (window_destroy) so inline it there.nicm2015-04-22
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-22
|\|
| * Always format real layout even when zoomed.nicm2015-04-21
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-20
|\|
| * Use a more sensible buffer size for flags string.nicm2015-04-20
| |
| * Rewrite of tmux mouse support which was a mess. Instead of havingnicm2015-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files.
| * Support setting the default window and pane background colours (windownicm2015-04-19
| | | | | | | | | | and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor.
* | Merge branch 'obsd-master'Thomas Adam2015-02-14
|\| | | | | | | | | Conflicts: Makefile
| * Entries in the window list can be NULL, prompted by a crash seen by Bennicm2015-02-09
| | | | | | | | Boeckel.