Commit graph

  • bef217b241 Switch a fprintf to a fatal, and wrap some long lines. nicm 2015-11-24 22:04:36 +0000
  • 1e2df2d464 Remove the -I part of show-messages which isn't really that useful; the server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}') nicm 2015-11-24 21:52:06 +0000
  • 9fd3318dd8 All kill-session -C to clear alerts in all windows, suggested by Aaron U'Ren. nicm 2015-11-24 21:50:06 +0000
  • 4e3015a892 Log some system and libevent information at startup. nicm 2015-11-24 21:32:36 +0000
  • bdbbd9711c Show libevent version in showmsgs -I. nicm 2015-11-24 21:23:44 +0000
  • 9cccb8c115 Make the log stuff a bit tidier with some helper functions. nicm 2015-11-24 21:19:46 +0000
  • 4ec61bef46 Fix usage of detach-client. nicm 2015-11-24 20:40:51 +0000
  • 0a2ef2b932 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-24 18:50:24 +0000
  • 7b085136a7 -sys/queue.h in proc.c, and nuke the unnecessary C++ header guards stuff and sys/cdefs.h in vis.h (it causes problems on some platforms). Reported by someone on GitHub, issue 212. Nicholas Marriott 2015-11-24 18:46:50 +0000
  • 534f9e3ab1 Merge branch 'obsd-master' Thomas Adam 2015-11-24 10:01:13 +0000
  • b32ce34cf2 Don't allow options in table without scope set. nicm 2015-11-24 09:34:55 +0000
  • 3f47ff6ecd Merge branch 'obsd-master' Thomas Adam 2015-11-24 00:01:16 +0000
  • 2adf3f42ee Partly revert previous, it is harmless to keep support for UTF-8 mouse mode inside tmux, just no longer support it for tmux itself. nicm 2015-11-23 23:47:57 +0000
  • b642b3c8e3 Merge branch 'obsd-master' Thomas Adam 2015-11-23 21:21:12 +0000
  • d63de1e407 Merge branch 'obsd-master' Thomas Adam 2015-11-23 21:20:54 +0000
  • 32e510bd70 Remove support for the UTF-8 mouse extension. This was a briefly used, 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. nicm 2015-11-23 20:53:09 +0000
  • 28e72ae34d Don't leak extddata, memset after freeing it, not before. From Patrick Palka. nicm 2015-11-22 19:42:57 +0000
  • 01a2ddf3f8 Add getpw to pledge, makes tmux work in YP environments, discovered by matthieu, ok deraadt nicm 2015-11-22 19:41:19 +0000
  • 4fcc02ee9d If display-time is set to 0, show status messages until a key is pressed; OK nicm@ tim 2015-11-22 18:28:01 +0000
  • 78a00c845c Merge branch 'obsd-master' Thomas Adam 2015-11-21 14:24:33 +0000
  • 2c482939fd Move tmux.h below system includes. Nicholas Marriott 2015-11-21 08:03:18 +0000
  • 933929cd62 Memory leaks and an uninitialized part of utf8_data, from Patrick Palka. nicm 2015-11-20 22:02:54 +0000
  • 40fefe2cbc The alerts callback should be fired for bells even if bell-action is none because it also affects the status line bell indicator (and bell-action does not). Fixes a problem reported by tim@. nicm 2015-11-20 16:33:46 +0000
  • fce56c56ef Instead of separate tables for different types of options, give each option a scope type (server, session, window) in one table. nicm 2015-11-20 12:01:19 +0000
  • 374e273df5 Only assume pasting with at least two characters, reduces problems for people who can type ^B c very fast, or who are using tmux inside something else that buffers. nicm 2015-11-19 22:46:46 +0000
  • cf688db4b5 Merge branch 'obsd-master' Thomas Adam 2015-11-19 16:01:12 +0000
  • 98967c5ec9 The activity flag could already be set, so queue the callback always (if not already queued) rather than only if the flag is being added. Fixes a problem reported by tim@ nicm 2015-11-19 14:55:25 +0000
  • 45b4e337cb Merge branch 'obsd-master' Thomas Adam 2015-11-18 18:01:13 +0000
  • 82760a9960 Use format_expand_time for display-message. nicm 2015-11-18 16:49:13 +0000
  • c15487318b unused -> __unused. Nicholas Marriott 2015-11-18 16:45:44 +0000
  • a58eaec540 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-18 16:42:25 +0000
  • 7fe8edc396 Merge branch 'obsd-master' Thomas Adam 2015-11-18 16:01:23 +0000
  • 8b4b3ff4fc Add __unused, will be needed shortly. Nicholas Marriott 2015-11-18 14:37:08 +0000
  • 577c0e3e5a Use __unused rather than rolling our own. nicm 2015-11-18 14:27:44 +0000
  • 5a5b950e8b Add s/foo/bar/: prefix for formats to substitute bar for foo. nicm 2015-11-18 14:13:55 +0000
  • f8a1f8843c Add -Wno-attributes. Nicholas Marriott 2015-11-18 14:10:48 +0000
  • 9bba26f8c5 Add reallocarray prototype. Nicholas Marriott 2015-11-18 14:09:17 +0000
  • 8fa822b521 Merge branch 'obsd-master' Thomas Adam 2015-11-18 14:01:12 +0000
  • 64571368dc Sync the entire xmalloc.[ch] with the other users, but with the addition of xrealloc, xvasprintf, xvsnprintf. nicm 2015-11-18 13:06:54 +0000
  • 93742ed5df Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-18 12:55:22 +0000
  • a77960c540 Add reallocarray to compat. Nicholas Marriott 2015-11-18 12:54:29 +0000
  • 4b703d3049 Merge branch 'obsd-master' Thomas Adam 2015-11-18 10:01:11 +0000
  • ca5e6bf5f2 Don't update activity time twice for new sessions, and add some logging. nicm 2015-11-18 09:22:29 +0000
  • 44cad8f4ed Merge branch 'obsd-master' Thomas Adam 2015-11-17 20:01:12 +0000
  • d0505fd042 Merge xmalloc.[ch] files across base, skipping OpenSSH for now. tobias 2015-11-17 18:25:03 +0000
  • 349a62ed4f Merge branch 'obsd-master' Thomas Adam 2015-11-17 00:01:09 +0000
  • 775fb562bd 0x7f is a valid key. nicm 2015-11-16 22:57:51 +0000
  • e26cb1aca4 Passthrough for ssh commands to proxy Nicolas Viennot 2015-11-15 15:57:02 -0500
  • 1686a15fb6 Merge branch 'obsd-master' Thomas Adam 2015-11-16 00:01:10 +0000
  • 661d0dfac9 Make key_code unsigned long long not uint64_t which is more portable for printf formats, and move UTF8_SIZE define down to near the rest of the UTF-8 bits. nicm 2015-11-15 22:50:38 +0000
  • 8213558cc7 Merge branch 'obsd-master' Thomas Adam 2015-11-15 22:49:25 +0000
  • a582b62287 Accidentally turned off pledge, turn it back on. nicm 2015-11-15 14:32:48 +0000
  • 6172129f6f added back hostname param Nicolas Viennot 2015-11-13 16:53:30 -0500
  • 2d9145cd73 remove proxy connect at boot time Nicolas Viennot 2015-11-02 04:37:28 -0500
  • bb820fa761 Merge branch 'obsd-master' Thomas Adam 2015-11-14 14:01:08 +0000
  • 14d90e4901 The character is an int so use %x not %hhx. nicm 2015-11-14 12:20:19 +0000
  • 3db0d50df4 The private use area at U+E000 to U+F8FF is not very useful if it is width 0, make it width 1 instead. nicm 2015-11-14 12:03:23 +0000
  • f12d7f0d4b Merge branch 'obsd-master' Thomas Adam 2015-11-14 12:01:09 +0000
  • 205d15e82d All these return values from utf8_* are confusing, use an enum. nicm 2015-11-14 11:45:43 +0000
  • 7b4b78b419 Merge branch 'obsd-master' Thomas Adam 2015-11-14 11:38:52 +0000
  • 7b749eff35 Merge branch 'obsd-master' Thomas Adam 2015-11-14 11:38:30 +0000
  • f401791a56 Rename a variable in utf8_combine for consistency and use 0xfffd for unknown Unicode. nicm 2015-11-14 11:13:44 +0000
  • dab63b029e Couple of assignments to remove compiler warnings. nicm 2015-11-14 10:57:59 +0000
  • 64333e3ef8 Be more strict about invalid UTF-8. nicm 2015-11-14 10:56:31 +0000
  • c56b81a2ce Push stdout and stderr to clients more aggressively, and add an event to continue if the send fails. nicm 2015-11-14 09:41:06 +0000
  • 23266e8e09 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-14 09:04:41 +0000
  • 31d880f751 Update the TODO file. Nicholas Marriott 2015-11-14 09:04:13 +0000
  • 908e6bb68f Log more of UTF-8 input. nicm 2015-11-14 08:25:12 +0000
  • 276ca5f04c Merge branch 'obsd-master' Thomas Adam 2015-11-13 18:01:13 +0000
  • c4893d8efd Log option names in fatal() for missing option. nicm 2015-11-13 16:06:43 +0000
  • 1016f112bf Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-13 16:06:11 +0000
  • b7397bf413 utf8 option is gone. Nicholas Marriott 2015-11-13 16:05:58 +0000
  • 45a10dde95 Merge branch 'obsd-master' Thomas Adam 2015-11-13 14:01:10 +0000
  • 88aa1c8dc3 Two spacing and spelling nits. nicm 2015-11-13 12:18:52 +0000
  • e2917b2627 Merge branch 'obsd-master' Thomas Adam 2015-11-13 10:43:07 +0000
  • 3df4959f51 Merge branch 'obsd-master' Thomas Adam 2015-11-13 10:42:45 +0000
  • 531869bd92 Add window_visible_layout which ignores zoomed panes and use it for control mode (which needs to know all panes), from George Nachman. nicm 2015-11-13 10:00:26 +0000
  • c5689a5a40 Long overdue change to the way we store cells in the grid: now, instead 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. nicm 2015-11-13 08:09:28 +0000
  • a7027ed8e5 Merge branch 'obsd-master' Thomas Adam 2015-11-13 00:01:15 +0000
  • e71a915412 Rename overly-long utf8data to ud throughout. nicm 2015-11-12 22:04:37 +0000
  • b2f19c9d06 Merge branch 'obsd-master' Thomas Adam 2015-11-12 16:01:09 +0000
  • f2d03f4fdd grid_put_utf8 is unused, remove it. nicm 2015-11-12 14:50:57 +0000
  • 4f88344df3 Merge branch 'obsd-master' Thomas Adam 2015-11-12 14:01:14 +0000
  • a209ea3953 Add utf8_padcstr and use it to align columns in list-keys. nicm 2015-11-12 12:43:36 +0000
  • 1da7475d0e tweak previous; ok nicm jmc 2015-11-12 12:36:34 +0000
  • d6daf37df4 Tidy utf8.c a little: build table on first use, and make utf8_width take a u_int rather than splitting and then combining again in utf8_split. nicm 2015-11-12 12:19:57 +0000
  • 5f483499f3 Merge branch 'obsd-master' Thomas Adam 2015-11-12 12:01:17 +0000
  • 0cc812ae34 tmux is UTF-8, so if $TMUX is set (tmux running in tmux), the client is UTF-8. Also try to make the existing checks more readable. nicm 2015-11-12 11:24:08 +0000
  • c41673f3fa If we know the terminal outside tmux is not UTF-8, replace UTF-8 in error messages and whatnot with underscores the same as we do when we draw UTF-8 characters as part of the screen. nicm 2015-11-12 11:10:50 +0000
  • 1b86f520ea Nuke the utf8 and status-utf8 options and make tmux only a UTF-8 terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on). nicm 2015-11-12 11:09:11 +0000
  • a0f3999ce7 Remove the mouse_utf8_flag format as well. nicm 2015-11-12 11:07:10 +0000
  • 69e0b8326a Support UTF-8 key bindings by expanding the key type from int to uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.) nicm 2015-11-12 11:05:34 +0000
  • 333da3b64b Merge branch 'obsd-master' Thomas Adam 2015-11-12 10:01:09 +0000
  • 7062b0e65d Default history-file should be "" not NULL, from Greg Onufe. nicm 2015-11-12 08:19:18 +0000
  • f2e4aa8d1c Merge branch 'obsd-master' Thomas Adam 2015-11-12 00:01:10 +0000
  • 00c34df186 Drop mouse-utf8 option and always turn on UTF-8 mouse if the client says it supports UTF-8. nicm 2015-11-11 23:23:33 +0000
  • 35fd6d134a Merge branch 'obsd-master' Thomas Adam 2015-11-11 08:14:36 +0000
  • 6f3475c6c7 If realpath() fails just try the original path. nicm 2015-11-10 22:33:47 +0000
  • 005e462e01 Handle absolute paths properly, and don't use resolved path in realpath() fails. nicm 2015-11-10 22:29:33 +0000
  • dcdccf8333 Same bug as last commit, but in the other copy of the loop in this file... nicm 2015-11-05 23:32:21 +0000