Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'obsd-master' | Thomas Adam | 2014-05-13 |
|\ | | | | | | | | | | | Conflicts: format.c window.c | ||
| * | If multiple arguments are given to new-session, new-window, | nicm | 2014-05-13 |
| | | | | | | | | | | | | split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor. | ||
| * | Just use char ** for argv like normal people, not char *const *. | nicm | 2014-05-09 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-04-23 |
|\| | | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c | ||
| * | Remove the choose-list command to prepare for some later choose-* work. | nicm | 2014-04-16 |
| | | |||
| * | Don't write into buffer if no arguments, reported by Filipe Rosset. | nicm | 2014-03-31 |
| | | |||
* | | Don't write into buffer if no arguments, reported by Filipe Rosset. | Nicholas Marriott | 2014-02-26 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas | 2014-01-20 |
|\| | |||
| * | Allow attach-session -t to accept a window and pane to select them on | nicm | 2014-01-09 |
| | | | | | | | | attach. Based on a diff from J Raynor. | ||
| * | We accidentally haven't been using $TMUX to work out the session for a | nicm | 2013-10-10 |
| | | | | | | | | | | | | while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ. | ||
| * | Remove now unused cmd_get_default_path. | nicm | 2013-10-10 |
| | | |||
| * | Support -c for new-session, based on code from J Raynor. | nicm | 2013-10-10 |
| | | |||
* | | We accidentally haven't been using $TMUX to work out the session for a while | Nicholas Marriott | 2013-10-06 |
| | | | | | | | | | | and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ. | ||
* | | Remove now unused cmd_get_default_path. | Nicholas Marriott | 2013-10-06 |
| | | |||
* | | Support -c for new-session, based on code from J Raynor. | Nicholas Marriott | 2013-10-01 |
| | | |||
* | | Remove the barely-used and unnecessary command check() function. | Nicholas Marriott | 2013-08-21 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2013-05-25 |
|\| | | | | | | | | | Conflicts: tmux.h | ||
| * | Reserve space for \0 in cmd_print, from George Nachman. | Nicholas Marriott | 2013-05-15 |
| | | |||
| * | Sort includes and fix spaces. | Nicholas Marriott | 2013-03-25 |
| | | |||
| * | Rename session idx to session id throughout and add $ prefix to targets | Nicholas Marriott | 2013-03-25 |
| | | | | | | | | to use it, extended from a diff from George Nachman. | ||
| * | Add a wait-for command which blocks a client on a named channel until it | Nicholas Marriott | 2013-03-25 |
| | | | | | | | | is woken up again (with wait-for -S). From Thiago Padilha. | ||
| * | Add a command queue to standardize and simplify commands that call other | Nicholas Marriott | 2013-03-24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client. | ||
| * | Fix error reporting for client commands by adding a flag to | Nicholas Marriott | 2013-03-24 |
| | | | | | | | | | | cmd_find_client to tell it whether or not to show errors, sometimes it's needed and sometimes not. | ||
| * | Need to set clients in context before changing their reference count. | Nicholas Marriott | 2013-03-22 |
| | | |||
| * | Add functions to allocate and free command contexts rather than doing it | Nicholas Marriott | 2013-03-22 |
| | | | | | | | | all on the stack. | ||
| * | Do not crash when calling choose-tree with a command that changes the mode. | Nicholas Marriott | 2013-03-21 |
| | | |||
* | | Spacing, warning nits. | Nicholas Marriott | 2013-03-25 |
| | | |||
* | | Rename session idx to session id throughout and add $ prefix to targets to use | Nicholas Marriott | 2013-03-07 |
| | | | | | | | | it, extended from a diff from George Nachman. | ||
* | | Add a wait-for command which blocks a client on a named channel until it is | Nicholas Marriott | 2013-03-06 |
| | | | | | | | | wokrn up again (with wait-for -S). From Thiago Padilha. | ||
* | | tty.path can be NULL, don't dereference it. From George Nachman. | Nicholas Marriott | 2013-03-04 |
| | | |||
* | | Add a command queue to standardize and simplify commands that call other | Nicholas Marriott | 2013-02-23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client. | ||
* | | Fix error reporting for client commands by adding a flag to cmd_find_client to | Nicholas Marriott | 2013-02-22 |
| | | | | | | | | tell it whether or not to show errors, sometimes it's needed and sometimes not. | ||
* | | Need to set clients in context before changing their reference count. | Nicholas Marriott | 2013-02-20 |
| | | |||
* | | Add functions to allocate and free command contexts rather than doing it all on | Nicholas Marriott | 2013-02-18 |
| | | | | | | | | the stack. | ||
* | | Do not crash when calling choose-tree with a command that changes the mode. | Nicholas Marriott | 2013-02-13 |
| | | |||
* | | Fix constness again, sigh. | Nicholas Marriott | 2013-02-13 |
| | | |||
* | | Fix constness of cmd_template_replace. | Nicholas Marriott | 2013-02-13 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2013-01-30 |
|\| | | | | | | | | | | | Conflicts: Makefile grid-utf8.c | ||
| * | Style nits - return (x) not return x. | Nicholas Marriott | 2013-01-18 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2012-12-31 |
|\| | | | | | | | Sync from OpenBSD. | ||
| * | Add ^ and $ special command targets to select lowest and highest | Nicholas Marriott | 2012-12-24 |
| | | | | | | | | numbered windows, from Raghavendra D Prabhu. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2012-11-27 |
|\| | | | | | | | Sync from OpenBSD. | ||
| * | Fix session choice so that preferring unattached sessions actually | Nicholas Marriott | 2012-11-27 |
| | | | | | | | | works, reported by Drew Frank. | ||
| * | Use pgrp of pty fd not pid of immediate child when recovering current | Nicholas Marriott | 2012-09-24 |
| | | | | | | | | working directory (like current process). From Marcel Partap. | ||
| * | add cmd-choose-list to allow arbitrary options to be selected. From | Nicholas Marriott | 2012-09-03 |
| | | | | | | | | Thomas Adam. | ||
| * | Make command exec functions return an enum rather than -1/0/1 values and | Nicholas Marriott | 2012-07-11 |
| | | | | | | | | | | | | add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531. | ||
| * | xfree is not particularly helpful, remove it. From Thomas Adam. | Nicholas Marriott | 2012-07-10 |
| | | |||
| * | Add choose-tree command to show windows and sessions in the same | Nicholas Marriott | 2012-07-08 |
| | | | | | | | | | | list. Change choose-window and -session to use the same code. From Thomas Adam. | ||
| * | Do not crash when the current session has no window, fixes a bug | Nicholas Marriott | 2012-06-18 |
| | | | | | | | | reported by Giorgio Lando. Fix from Thomas Adam. | ||
| * | Do not return a buffer on the stack, mentioned by jsg a while ago. | Nicholas Marriott | 2012-04-23 |
| | |