summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-11-24Make environ_set va_args and use it to tidy up some calls. Also add anicm
missing word in manpage (from jmc).
2015-11-24Shell command from -c doesn't have to be global, pass it as an argument.nicm
2015-11-24Do lock failures slightly better, return a special value so we don'tnicm
unlink the wrong thing.
2015-11-24Actually show something (even if it not that helpful) if the servernicm
fails to start (for example if it can't create the socket), rather than hanging or showing nothing.
2015-11-24Document socket_path format.nicm
2015-11-24Tidy the code that works out the socket path, and just use the full pathnicm
in the global socket_path rather than copying it.
2015-11-24Remove malloc_options DEBUG bit.nicm
2015-11-24Switch a fprintf to a fatal, and wrap some long lines.nicm
2015-11-24Remove the -I part of show-messages which isn't really that useful; thenicm
server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}')
2015-11-24All kill-session -C to clear alerts in all windows, suggested by Aaronnicm
U'Ren.
2015-11-24Log some system and libevent information at startup.nicm
2015-11-24Show libevent version in showmsgs -I.nicm
2015-11-24Make the log stuff a bit tidier with some helper functions.nicm
2015-11-24Fix usage of detach-client.nicm
2015-11-24Don't allow options in table without scope set.nicm
2015-11-23Partly revert previous, it is harmless to keep support for UTF-8 mousenicm
mode inside tmux, just no longer support it for tmux itself.
2015-11-23Remove support for the UTF-8 mouse extension. This was a briefly used,nicm
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.
2015-11-22Don't leak extddata, memset after freeing it, not before. From Patricknicm
Palka.
2015-11-22Add getpw to pledge, makes tmux work in YP environments, discovered bynicm
matthieu, ok deraadt
2015-11-22If display-time is set to 0, show status messages until a key is pressed;tim
OK nicm@
2015-11-20Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.nicm
2015-11-20The alerts callback should be fired for bells even if bell-action isnicm
none because it also affects the status line bell indicator (and bell-action does not). Fixes a problem reported by tim@.
2015-11-20Instead of separate tables for different types of options, give eachnicm
option a scope type (server, session, window) in one table.
2015-11-19Only assume pasting with at least two characters, reduces problems fornicm
people who can type ^B c very fast, or who are using tmux inside something else that buffers.
2015-11-19The activity flag could already be set, so queue the callback always (ifnicm
not already queued) rather than only if the flag is being added. Fixes a problem reported by tim@
2015-11-18Use format_expand_time for display-message.nicm
2015-11-18Use __unused rather than rolling our own.nicm
2015-11-18Add s/foo/bar/: prefix for formats to substitute bar for foo.nicm
2015-11-18Sync the entire xmalloc.[ch] with the other users, but with the additionnicm
of xrealloc, xvasprintf, xvsnprintf.
2015-11-18Don't update activity time twice for new sessions, and add some logging.nicm
2015-11-17Merge xmalloc.[ch] files across base, skipping OpenSSH for now.tobias
ok nicm
2015-11-160x7f is a valid key.nicm
2015-11-15Make key_code unsigned long long not uint64_t which is more portable fornicm
printf formats, and move UTF8_SIZE define down to near the rest of the UTF-8 bits.
2015-11-15Accidentally turned off pledge, turn it back on.nicm
2015-11-14The character is an int so use %x not %hhx.nicm
2015-11-14The private use area at U+E000 to U+F8FF is not very useful if it isnicm
width 0, make it width 1 instead.
2015-11-14All these return values from utf8_* are confusing, use an enum.nicm
2015-11-14Rename a variable in utf8_combine for consistency and use 0xfffd fornicm
unknown Unicode.
2015-11-14Couple of assignments to remove compiler warnings.nicm
2015-11-14Be more strict about invalid UTF-8.nicm
2015-11-14Push stdout and stderr to clients more aggressively, and add an event tonicm
continue if the send fails.
2015-11-14Log more of UTF-8 input.nicm
2015-11-13Log option names in fatal() for missing option.nicm
2015-11-13Two spacing and spelling nits.nicm
2015-11-13Add window_visible_layout which ignores zoomed panes and use it fornicm
control mode (which needs to know all panes), from George Nachman.
2015-11-13Long overdue change to the way we store cells in the grid: now, insteadnicm
of storing a full grid_cell with UTF-8 data and everything, store a new type grid_cell_entry. This can either be the cell itself (for ASCII cells), or an offset into an extended array (per line) for UTF-8 data. This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the majority for most users) without the complexity of the shadow array we had before. Grid memory without any UTF-8 is about half. The disadvantage that cells can no longer be modified in place and need to be copied out of the grid and back but it turned out to be lot less complicated than I expected.
2015-11-12Rename overly-long utf8data to ud throughout.nicm
2015-11-12grid_put_utf8 is unused, remove it.nicm
2015-11-12Add utf8_padcstr and use it to align columns in list-keys.nicm
2015-11-12tweak previous; ok nicmjmc