Commit Graph

  • a412dd616f Fix loop comparison broken in last commit, from Thomas Adam. nicm 2015-06-09 07:07:06 +00:00
  • 02a848d77c It isn't supposed to... Nicholas Marriott 2015-06-08 09:46:14 +01:00
  • 7acc4addb5 Merge branch 'obsd-master' Thomas Adam 2015-06-07 23:42:25 +01:00
  • c4e811e519 Add -E flag when attaching or switching client to bypass update-environment, from Steven Lu. nicm 2015-06-07 21:39:39 +00:00
  • a5c55e4393 Update TODO. Nicholas Marriott 2015-06-07 08:36:03 +01:00
  • ed6c036ee3 Use ints for the calculations rather than u_char, they could end up signed. nicm 2015-06-05 22:50:27 +00:00
  • 55b96a5bd5 Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2) like xterm(1) does, by mapping to the nearest in the 256 colour palette. nicm 2015-06-05 22:33:39 +00:00
  • 1cb073d48e Use fixed colour tables rather than generated and do a quick search for exact match before doing the distance comparison. nicm 2015-06-05 22:01:17 +00:00
  • 641a9cd3f5 Similarly, for sessions use a callback to free rather than checking every loop. nicm 2015-06-05 18:18:32 +00:00
  • 10e90ae01f Change deref to the more sensible unref, and add a couple I missed before. nicm 2015-06-05 18:06:30 +00:00
  • 8c93b768e4 Instead of putting dead clients on a list and checking it every loop, use event_once to queue a callback to deal with them. Also dead clients with references would never actually be freed because the wrap-up functions (the callback for stdin, or status_prompt_clear) would never be called. So call them in server_client_lost. nicm 2015-06-05 18:01:12 +00:00
  • b0782df8a6 Do not use the key variable uninitialized (in a debug log statement), reported by jungleboogie0 at gmail dot com. nicm 2015-06-05 15:10:13 +00:00
  • f7598b8a26 Only need *.ch in compat. Nicholas Marriott 2015-06-05 12:44:15 +01:00
  • 2f586905fc Fix a warning. nicm 2015-06-05 09:09:08 +00:00
  • 4219939c10 Make it so that if a window or session target is prefixed with an =, only an exact name or index match is accepted, no special character, prefix match, or fnmatch. nicm 2015-06-05 08:14:16 +00:00
  • 6b2129696f Move the nested check from client to server and compare the client tty name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX. nicm 2015-06-04 23:27:51 +00:00
  • dc0d34e137 tweak SYNOPSIS and usage(); jmc 2015-06-04 20:34:22 +00:00
  • 83a70172a4 Merge branch 'obsd-master' Thomas Adam 2015-06-04 16:01:07 +01:00
  • 4a6c06d6a9 Make unsetting a global option restore it to the default. Diff lying around for a while, I have forgotten who suggested it :-/. nicm 2015-06-04 14:29:33 +00:00
  • 02e348c069 Merge branch 'obsd-master' Thomas Adam 2015-06-04 12:59:41 +01:00
  • a863834574 Add support for a single "marked pane". There is one marked pane in the 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). nicm 2015-06-04 11:43:51 +00:00
  • 1de74e27e5 Spaces -> tabs. Nicholas Marriott 2015-06-04 11:40:27 +01:00
  • d058e963fd Update mailmap. Nicholas Marriott 2015-06-04 11:36:44 +01:00
  • 13808ccede Merge branch 'obsd-master' Thomas Adam 2015-06-04 11:17:39 +01:00
  • a3edfd9e84 teminal -> terminal, from Corey Farwell. nicm 2015-06-04 09:42:29 +00:00
  • 75b70be4a6 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-06-04 10:38:04 +01:00
  • b67db455a8 Update TODO with some items from old SF tickets. Nicholas Marriott 2015-06-04 10:37:39 +01:00
  • 2c29b3e82c SYNCING: Few tweaks Thomas Adam 2015-06-04 10:35:40 +01:00
  • 8fcac1b794 SYNCING: Update for GH Thomas Adam 2015-06-04 09:26:35 +01:00
  • 75061cb45d I no longer need to care about GCC 3. Nicholas Marriott 2015-06-04 08:50:20 +01:00
  • 20598dff25 Note version this happened. Nicholas Marriott 2015-06-04 08:47:23 +01:00
  • 0b22d574e0 Update FAQ for new behaviour. Nicholas Marriott 2015-06-04 08:46:49 +01:00
  • 1df39aa962 I don't think we should carry around scripts. I'm not too sure about examples/ at all, nobody is maintaining it... Nicholas Marriott 2015-06-04 08:26:50 +01:00
  • 9d80ad16f9 Remove old tools. Nicholas Marriott 2015-06-04 08:25:39 +01:00
  • c0a790453c Add a couple of presentations I wrote a few years ago. One for the ill-fated AsiaBSDCon in 2011 (canceled due to Fukushima) and the other for LinuxTag 11 in Berlin. Nicholas Marriott 2015-06-04 08:23:40 +01:00
  • dbc5d7b331 Fix clone URL. Nicholas Marriott 2015-06-04 01:27:47 +01:00
  • 3ed03df23f Remove this file. Nicholas Marriott 2015-06-04 01:26:03 +01:00
  • 32bc8f4dd4 HTML bits are now elsewhere. Nicholas Marriott 2015-06-04 01:21:41 +01:00
  • d2b35e19cd No more SF. Nicholas Marriott 2015-06-04 00:44:22 +01:00
  • 89131c3e90 No $Id$. Nicholas Marriott 2015-06-04 00:38:01 +01:00
  • fc2fb0eb95 Update mailing list addresses. Nicholas Marriott 2015-06-03 18:57:35 +01:00
  • dfd72f5250 -$Id$. Nicholas Marriott 2015-06-03 18:42:36 +01:00
  • 11ae6d16e5 $Id$ -> $OpenBSD$. Nicholas Marriott 2015-06-03 18:35:44 +01:00
  • 09bcbc57da $Id$ -> $OpenBSD$. Nicholas Marriott 2015-06-03 18:28:26 +01:00
  • 1c3e1bae41 Remove $Id$. Nicholas Marriott 2015-06-03 18:26:25 +01:00
  • 3821ca4917 Update TODO. Nicholas Marriott 2015-06-02 15:16:13 +01:00
  • 7bf5d4b946 Merge branch 'obsd-master' Thomas Adam 2015-06-01 16:01:19 +01:00
  • a3c6172495 Missing t at end of response, from Vincent Bernat. nicm 2015-06-01 13:59:57 +00:00
  • b675e6b2d5 Merge branch 'obsd-master' Thomas Adam 2015-06-01 12:01:17 +01:00
  • 58b50fb543 Clear signal handlers before event_reinit as apparently it can otherwise cause libevent to go strange. nicm 2015-06-01 09:20:19 +00:00
  • 7712e6f82b Merge branch 'obsd-master' Thomas Adam 2015-06-01 02:01:17 +01:00
  • 7e067cb9dc does not need syslog.h deraadt 2015-05-31 23:27:06 +00:00
  • c39dfb17ae Merge branch 'obsd-master' Thomas Adam 2015-05-30 02:01:18 +01:00
  • 2a8c2648f0 Don't use special strings if #() commands fail, just remove the format (as if the command produced nothing). Makes constructions that can fail like '#(test whatever && echo foo)' work as they did before. nicm 2015-05-29 23:26:52 +00:00
  • 74c755f2ab Expand formats again inside #(), and free the temporaries. nicm 2015-05-29 23:12:38 +00:00
  • a55e569af5 Use RB_MIN to get the lowest index for the current window when creating grouped sessions, rather than using RB_ROOT. nicm 2015-05-29 23:02:27 +00:00
  • beffdf6575 Merge branch 'obsd-master' Thomas Adam 2015-05-27 16:01:22 +01:00
  • 379400cfa6 Move the jobs output cache into the formats code so that #() work more generally (for example, again working in set-titles-string). nicm 2015-05-27 13:28:04 +00:00
  • f538f2ae9b Merge branch 'obsd-master' Thomas Adam 2015-05-20 10:01:19 +01:00
  • 7140cce7f3 Return empty string if format is empty rather than attempting to allocate zero bytes. nicm 2015-05-20 06:39:02 +00:00
  • 1ec93570bf Merge branch 'obsd-master' n6tadam 2015-05-19 12:01:20 +01:00
  • 2c53b23d59 In terminfo, sometimes cvvis implies cnorm and sometimes it doesn't, so don't assume it does. Fixes missing cursor with emacs-in-tmux-in-tmux. nicm 2015-05-19 08:48:37 +00:00
  • 4123d69b51 README.md: github-specific readme Thomas Adam 2015-05-17 14:52:58 +01:00
  • 35d21be19a TRAVIS-CI: correct path to configure Thomas Adam 2015-05-17 14:39:04 +01:00
  • beb0c01c27 Hook repo to Travis-CI Thomas Adam 2015-05-17 14:34:11 +01:00
  • 00471dc783 Merge branch 'obsd-master' Thomas Adam 2015-05-13 09:44:11 +01:00
  • 3f4ee98162 To replace c0-*, add a high watermark to the pty event, and also backoff when the any of the ttys the pane is going to write to has buffered enough data. nicm 2015-05-12 22:40:38 +00:00
  • 37ae8a9e0f Tidy blank lines when outputting server info. nicm 2015-05-12 19:36:08 +00:00
  • ec34439f9c Add a session_alerts format which is a list of all the alerts in the current session in symbolic form (something like "0!,4~,5!"). Use this in the default set-titles-string. Prompted by a request from Jan ONDREJ. nicm 2015-05-12 15:29:29 +00:00
  • e958db09a7 Add bell-action "other" to pass through bells in all windows except the current, suggested by Jan ONDREJ. nicm 2015-05-12 15:27:46 +00:00
  • b833fabeb2 Left the c0-* options behind in the table. nicm 2015-05-11 10:58:22 +00:00
  • 44364d7112 Remove the c0-* options which never really worked satisfactorily. Going to try something else... nicm 2015-05-11 10:10:16 +00:00
  • 4165ed96f8 Add back __CYGWIN__ block Thomas Adam 2015-05-09 20:03:24 +01:00
  • c11f628342 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Thomas Adam 2015-05-09 12:53:53 +01:00
  • 504b97b6a4 Merge branch 'obsd-master' Thomas Adam 2015-05-09 12:51:41 +01:00
  • 92faa2eaeb Put the tty structs together, and tabify. nicm 2015-05-08 16:48:12 +00:00
  • 592cb73a69 grid_marker_cell is no longer used. nicm 2015-05-08 16:44:03 +00:00
  • 74b2c40b1b mode_key_entry can go into mode-key.c; also a few spaces->tabs. nicm 2015-05-08 16:33:29 +00:00
  • a538141a72 window_choose_mode_item can move into window-choose.c. nicm 2015-05-08 16:23:34 +00:00
  • c4a4bd6ac5 Move input parser structs into input.c (removing fairly useless saved_cursor_[xy] formats as a side-effect). nicm 2015-05-08 16:18:04 +00:00
  • 879de25583 Remove some stuff that accidentally ended up here from portable, and remove a little-used debug function. nicm 2015-05-08 15:56:49 +00:00
  • d174b9cfcc Update environment when switching sessions as well as attaching, from Si Beaumont. nicm 2015-05-07 14:07:16 +00:00
  • 8e9b6e0948 Style spacing nits. nicm 2015-05-07 11:42:56 +00:00
  • 63b7a031a5 queue.h should come from compat.h. Nicholas Marriott 2015-05-07 11:43:52 +01:00
  • 1282bb81fe array.h can be local to window-choose.c now. nicm 2015-05-07 08:08:54 +00:00
  • 7becf326e3 Use a TAILQ not array for find-window. nicm 2015-05-07 07:59:52 +00:00
  • 73c871ba0a Simplify environ_push so it doesn't need the ARRAY_* functions. nicm 2015-05-07 07:35:31 +00:00
  • b6be03f01a If status line is at the top, the offset needs to be adjusted when drawing pane numbers. Based on a diff from John O'Meara. nicm 2015-05-07 07:16:14 +00:00
  • 0b39e6427f Remove ARRAY_* from history and expand completion to complete a) layout names and b) targets beginning with -t or -s. nicm 2015-05-06 23:56:46 +00:00
  • 6525ca5158 Start working on 2.1 Thomas Adam 2015-05-07 00:00:02 +01:00
  • e362d42dc6 CHANGES for tmux 2.0 Thomas Adam 2015-05-06 23:45:58 +01:00
  • f10d3675f8 Merge branch 'obsd-master' Thomas Adam 2015-05-06 10:03:52 +01:00
  • 31b1ab4852 Add a format window_linked which is 1 if a window has been linked 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. nicm 2015-05-06 08:35:39 +00:00
  • 33a585c47f Turn cursor off during redraw, pointed out by George Nachman. nicm 2015-05-06 07:52:06 +00:00
  • 672df72b71 Use the right index when expanding/collapsing tree, from Thomas Adam. nicm 2015-05-04 13:04:10 +00:00
  • c0cf4843e5 Merge branch 'obsd-master' Thomas Adam 2015-04-29 18:42:12 +01:00
  • 69b8f100b7 Do not complain when directions fail. nicm 2015-04-29 16:26:17 +00:00
  • 7382ba82c5 If default-terminal is set to "screen" or "screen-*", emulate screen's historical (incorrect) behaviour for SGR 3 and send smso (standout). Previously, we would send sitm (italics) if the terminal outside had it and smso otherwise. This was acceptably until recently because xterm's terminfo entry lacked sitm, so most users got smso. nicm 2015-04-29 15:59:08 +00:00
  • 8794562a85 Add tmux4.png. Nicholas Marriott 2015-04-28 16:04:07 +01:00
  • 31ab5caa35 Renumber screenshots. Nicholas Marriott 2015-04-28 15:34:09 +01:00