aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Remove the cmd_find_{session,window,pane,index} functions (which arenicm2015-12-13
| | | | | just wrappers around cmd_find_target) and just use cmd_find_target directly.
* Move logging into cmd_find_target rather than each function.nicm2015-12-13
|
* Instead of every command resolving the target (-t or -s) itself, preparenicm2015-12-13
| | | | | | | | | | | | | | | | the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell the prepare step what it is expecting. This is a requirement for having hooks on commands (for example, if you hook "select-window -t1:2", the hook command should to operate on window 1:2 not whatever it thinks is the current window), and should allow some other target improvements. The old cmd_find_* functions remain for the moment but that layer will be dropped later. Joint work with Thomas Adam.
* Add key-table option to set the default key table for a session, allowsnicm2015-12-12
| | | | different key bindings for different sessions and a few other things.
* Return after changing key table.nicm2015-12-12
|
* Allow prefix and prefix2 to be set to None to disable (useful if younicm2015-12-12
| | | | would rather bind the prefix in the root table).
* Style nits and line wrapping of function declarations.nicm2015-12-11
|
* Mention {src,dst}-{window,pane} where we define target-{window,pane}.nicm2015-12-11
|
* We cannot do hooks_find and then hooks_remove because it might have comenicm2015-12-11
| | | | | | | from the parent (global) tree, instead make it remove by name like options. While here, also tidy up a few bits of options and hooks handling (use RB_FOREACH_SAFE, and a helper function for the free).
* Check alerts when session changes, from Patrick Palka.nicm2015-12-11
|
* Add cmdq as an argument to format_create and add a format for thenicm2015-12-11
| | | | command name (will also be used for more later).
* Remove format_create_flags and just pass flags to format_create.nicm2015-12-08
|
* Spacing nits.nicm2015-12-08
|
* Ed was meant to be El;jmc2015-12-08
|
* Add hooks infrastructure, basic commands (set-hook, show-hooks) and anicm2015-12-08
| | | | | | couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam.
* Use ^= instead of a verbose alternative. ok nicm@mmcc2015-12-08
|
* Fix bell indicators across detach, reported by Torbjorn Lonnemark, diffnicm2015-12-07
| | | | from Thomas Adam.
* EAGAIN handling for imsg_read. OK henning@ benno@claudio2015-12-05
|
* Mark new active pane changed after pane lost in window, and afternicm2015-12-02
| | | | break-pane. Reported by tim@.
* Do not deref wp if window_get_active_at returns NULL which can happen onnicm2015-12-01
| | | | very large terminals, from Michael Graczyk.
* Delete a duplicated lineguenther2015-11-29
| | | | ok jmc@
* Do not set a limit on the length of commands when printing them.nicm2015-11-27
|
* Don't print error if none to print.nicm2015-11-25
|
* Make environ_set va_args and use it to tidy up some calls. Also add anicm2015-11-24
| | | | missing word in manpage (from jmc).
* Shell command from -c doesn't have to be global, pass it as an argument.nicm2015-11-24
|
* Do lock failures slightly better, return a special value so we don'tnicm2015-11-24
| | | | unlink the wrong thing.
* Actually show something (even if it not that helpful) if the servernicm2015-11-24
| | | | | fails to start (for example if it can't create the socket), rather than hanging or showing nothing.
* Document socket_path format.nicm2015-11-24
|
* Tidy the code that works out the socket path, and just use the full pathnicm2015-11-24
| | | | in the global socket_path rather than copying it.
* Remove malloc_options DEBUG bit.nicm2015-11-24
|
* Switch a fprintf to a fatal, and wrap some long lines.nicm2015-11-24
|
* Remove the -I part of show-messages which isn't really that useful; thenicm2015-11-24
| | | | | server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}')
* All kill-session -C to clear alerts in all windows, suggested by Aaronnicm2015-11-24
| | | | U'Ren.
* Log some system and libevent information at startup.nicm2015-11-24
|
* Show libevent version in showmsgs -I.nicm2015-11-24
|
* Make the log stuff a bit tidier with some helper functions.nicm2015-11-24
|
* Fix usage of detach-client.nicm2015-11-24
|
* Don't allow options in table without scope set.nicm2015-11-24
|
* Partly revert previous, it is harmless to keep support for UTF-8 mousenicm2015-11-23
| | | | mode inside tmux, just no longer support it for tmux itself.
* Remove support for the UTF-8 mouse extension. This was a briefly used,nicm2015-11-23
| | | | | | | | poor idea that was fairly quickly replaced by SGR mouse input (which is now widespread). It is impossible to tell the difference between UTF-8 and non-UTF-8 mouse input; since the mouse-utf8 option was removed tmux has not handled it correctly in any case; and it is ridiculous to have three different forms of mouse input.
* Don't leak extddata, memset after freeing it, not before. From Patricknicm2015-11-22
| | | | Palka.
* Add getpw to pledge, makes tmux work in YP environments, discovered bynicm2015-11-22
| | | | matthieu, ok deraadt
* If display-time is set to 0, show status messages until a key is pressed;tim2015-11-22
| | | | OK nicm@
* Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.nicm2015-11-20
|
* The alerts callback should be fired for bells even if bell-action isnicm2015-11-20
| | | | | none because it also affects the status line bell indicator (and bell-action does not). Fixes a problem reported by tim@.
* Instead of separate tables for different types of options, give eachnicm2015-11-20
| | | | option a scope type (server, session, window) in one table.
* Only assume pasting with at least two characters, reduces problems fornicm2015-11-19
| | | | | people who can type ^B c very fast, or who are using tmux inside something else that buffers.
* The activity flag could already be set, so queue the callback always (ifnicm2015-11-19
| | | | | not already queued) rather than only if the flag is being added. Fixes a problem reported by tim@
* Use format_expand_time for display-message.nicm2015-11-18
|
* Use __unused rather than rolling our own.nicm2015-11-18
|