Commit Graph

  • 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
  • 1ed5326f5a Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2015-04-28 15:18:53 +01:00
  • ab5f9ab55b Update two of the screenshots. Nicholas Marriott 2015-04-28 15:12:45 +01:00
  • dc2adc6bc1 Merge branch 'obsd-master' Thomas Adam 2015-04-28 14:57:15 +01:00
  • 7981e653d8 But this does work. Nicholas Marriott 2015-04-28 14:01:03 +01:00
  • bc9198072b Upload all the files. Nicholas Marriott 2015-04-28 13:58:17 +01:00
  • e88c48ce0e This doesn't work. Nicholas Marriott 2015-04-28 13:58:00 +01:00
  • f54f3e2abe Add logo to www, also centre the page. Nicholas Marriott 2015-04-28 13:47:54 +01:00
  • bb210ce773 Add tmux logo, createed by Jason Long. Nicholas Marriott 2015-04-28 13:46:47 +01:00
  • e36fab2f70 If looking for an index, don't fill in window when given a session. nicm 2015-04-28 12:09:24 +00:00
  • 14d8cd6445 Do not do a search for the tty path if there isn't one. nicm 2015-04-28 11:57:20 +00:00
  • 094a047ddf If can't find pane as a pane, try as a window; likewise if can't find window as a session. nicm 2015-04-28 11:33:17 +00:00
  • 771744426e Add select-layout -o to undo the last layout change (apply the previously set layout). nicm 2015-04-28 10:43:13 +00:00
  • 3eb40a520a No paths.h on Solaris. Nicholas Marriott 2015-04-28 10:36:17 +01:00
  • 7d98c51805 Merge branch 'obsd-master' Thomas Adam 2015-04-28 09:10:51 +01:00
  • c2bc84aa4d Do not include unattached clients when trying to find one for target. nicm 2015-04-27 22:58:58 +00:00
  • b7777e7ef3 Reset cfg_ncauses to 0 as well or we could allocate the wrong size if called again. nicm 2015-04-27 22:50:35 +00:00
  • 91f6347485 Assign to the right variable when comparing clients. nicm 2015-04-27 22:42:10 +00:00
  • 94a8ef1cae Merge branch 'obsd-master' Thomas Adam 2015-04-27 21:21:55 +01:00
  • 95195f5258 Rewrite of the target resolution internals to be simpler and more consistent but with much less duplication, but keeping the same internal API. Also adds more readable aliases for some of the special tokens used in targets (eg "{start}" instead of "^"). Some behaviours may have changed, for example prefix matches now happen before fnmatch. nicm 2015-04-27 16:25:57 +00:00
  • a70762c9b5 If the requested pane is already active, do not unzoom the window (or do anything else). Prevents mouse clicking when zoomed causing unzoom, reported by Jose Antonio Delgado Alfonso (with a different fix). nicm 2015-04-27 07:49:36 +00:00
  • 5bd5c9c84e Remove panes from layout if spawning them fails, reported by Anthony J Bentley. nicm 2015-04-26 20:25:20 +00:00
  • 72e9ebf2ec Merge branch 'obsd-master' Thomas Adam 2015-04-25 20:45:02 +00:00
  • 05e7fbd60f Get rid of window_choose_list type. nicm 2015-04-25 18:56:05 +00:00
  • 1d1208e335 Fix some char* -> char *. nicm 2015-04-25 18:49:01 +00:00
  • a568b9cadc Use a char **,u_int pair for cfg_causes. nicm 2015-04-25 18:47:01 +00:00
  • 07dfdb974d Make message log a TAILQ. nicm 2015-04-25 18:33:59 +00:00
  • 6dbd63ba4f Move the functions to convert ids from strings into session.c and window.c. nicm 2015-04-25 18:09:28 +00:00
  • d23af6cca0 Explicitly cancel mouse "button" mode, this happens implicitly with some one of the other things we send with xterm, but not with urxvt. Reported by sthen@. nicm 2015-04-25 15:57:48 +00:00
  • 56e1132db4 Merge branch 'obsd-master' Thomas Adam 2015-04-25 10:02:46 +00:00
  • aeedb464a6 Convert clients list into a TAILQ. nicm 2015-04-24 23:17:11 +00:00
  • 583b4ab72b Set working directory for run-shell and if-shell. nicm 2015-04-24 22:19:36 +00:00
  • 5a2d0533a8 Allow choice options (multiple states) to be toggled between states 0 and 1. nicm 2015-04-24 21:38:18 +00:00
  • a5a873dccc Set up signal handler earlier so that we don't get zombies, reported by sobrado@. nicm 2015-04-24 20:58:44 +00:00
  • ab73997cc5 use reallocarray instead of calloc; avoid the zero before infill ok nicm deraadt 2015-04-23 07:45:50 +00:00
  • 9a453dd354 Make session_has return a flag, returning the first winlink found is a recipe for errors. nicm 2015-04-22 15:32:33 +00:00
  • 8d66f4fba4 Change the windows array into an RB tree and fix some places where we were only looking at the first winlink for a window in a session. nicm 2015-04-22 15:30:11 +00:00
  • 89e80cabd5 window_index is only used in one place (window_destroy) so inline it there. nicm 2015-04-22 15:05:03 +00:00
  • 0a88377086 Merge branch 'obsd-master' Thomas Adam 2015-04-22 10:05:54 +01:00
  • 3909aff06a Look up indexes as number before name, makes more sense if windows are named starting with numbers. From Thomas Adam. nicm 2015-04-21 22:42:27 +00:00
  • 69f292a90e Always format real layout even when zoomed. nicm 2015-04-21 22:38:49 +00:00
  • 93b2871cab Do not die on USR1 if any of the socket parent directories are missing. Reported by Robin Powell. nicm 2015-04-21 22:32:40 +00:00
  • 7a72eff4a4 Simplify error messages when socket connect fails, suggested by "Karthik K". nicm 2015-04-21 22:21:41 +00:00
  • d16b640fe8 The free callback could end up being fired before the done callback (happens on Cygwin), so use a reference count instead of a single flag. SF bug 188 reported by "iceboy". nicm 2015-04-21 21:31:02 +00:00
  • 0e7219d437 Fix moving windows to nonexistent indexes when renumber-windows is off. From Thomas Adam, reported by Daniel Levai and Theo Buehler. nicm 2015-04-21 21:24:49 +00:00
  • d1337053b6 Bind mouse dragging so that it is passed through to applications if they want it rather than entering copy mode. nicm 2015-04-21 15:34:32 +00:00
  • 4cf4302962 Don't eat the mouse event that triggers a drag end because we may want to pass it on to application inside the pane. nicm 2015-04-21 15:21:41 +00:00
  • 1f404f6a23 Put mouse_any_flag back, don't know where it went to (still in man page). nicm 2015-04-21 15:18:38 +00:00
  • bc3786ece9 Pass mouse events through to commands for if-shell. nicm 2015-04-21 15:18:06 +00:00
  • 0610f44380 cmd_mouse_pane can return NULL, check for that. nicm 2015-04-21 15:16:06 +00:00
  • 07d93db427 Remove unused-but-set variables, from Thomas Adam. nicm 2015-04-20 15:41:32 +00:00
  • bded743706 Support for multiple key tables to commands to be bound to sequences of keys. The default key bindings become the "prefix" table and -n the "root" table. Keys may be bound in new tables with bind -T and switch-client -T used to specify the table in which the next key should be looked up. Based on a diff from Keith Amling. nicm 2015-04-20 15:34:56 +00:00
  • 3497843f02 Style nit - unnecessary brackets. nicm 2015-04-20 14:48:55 +00:00
  • b25dc423b0 Merge branch 'obsd-master' Thomas Adam 2015-04-20 15:44:27 +01:00
  • 0fd9a97202 Make jump-to-backward/jump-to-forward repeatable with jump-reverse/jump-again, from Jacob Niehus. nicm 2015-04-20 09:39:21 +00:00
  • 6f587570ed Use a more sensible buffer size for flags string. nicm 2015-04-20 07:50:49 +00:00
  • acb8248ba6 +. Nicholas Marriott 2015-04-20 08:46:21 +01:00
  • 8101f1ef16 tweak previous; jmc 2015-04-19 22:10:30 +00:00
  • bbac2aee1f Honour renumber-windows when unlinking a window, from Thomas Adam. nicm 2015-04-19 21:46:52 +00:00
  • bf635e7741 Rewrite of tmux mouse support which was a mess. Instead of having options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). nicm 2015-04-19 21:34:21 +00:00
  • ee123c2489 Support setting the default window and pane background colours (window and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor. nicm 2015-04-19 21:05:27 +00:00
  • 24c8f523eb +. Nicholas Marriott 2015-04-19 19:40:12 +01:00
  • aaad44bbe7 +. Nicholas Marriott 2015-04-19 19:34:58 +01:00
  • 370cf75458 Merge branch 'obsd-master' Thomas Adam 2015-04-19 14:44:56 +01:00
  • 4a7587931c Fix some issues in bright colour handling. Bold background doesn't exist so there is no reason for tty_check_bg to mess with the BRIGHT flag at all, ever. Also use aixterm colours for 256-to-16 translation if the terminal supports them. And there is no reason for tty_colours_bg to worry about whether the terminal supports them - tty_check_bg has already taken care of it. nicm 2015-04-15 22:34:46 +00:00
  • eec27f9257 Use tty_term_flag not _has for flags, also fix a typo (position not permission). nicm 2015-04-15 22:10:13 +00:00
  • f922920609 Fix setting old-style window -fg/-bg/-attr options that aren't global. nicm 2015-04-15 15:44:40 +00:00
  • 0cd55eb1e7 Add a -x flag to copy-selection, append-selection and start-named-buffer to prevent it exiting copy mode after copying. From J Raynor with a few tweaks by me. nicm 2015-04-10 16:00:08 +00:00
  • 009a5e4213 in the case -> in this case. nicm 2015-04-10 07:23:14 +00:00
  • 6920be311b When replacing, don't free the old paste until after the new one's name has been copied. Fixes a use-after-free in window-copy.c. Bug reported by J Raynor (who also provided a different fix). nicm 2015-04-07 13:06:22 +00:00
  • 3aa72b42b2 Add a helper function to convert time, and add session_activity formats (the latter from Takatoshi Matsumoto). nicm 2015-03-31 17:58:36 +00:00
  • 02df86079b Fix some format specifier nits, from Ben Boeckel. nicm 2015-03-31 17:45:10 +00:00
  • 5e956f1148 Make place const to avoid a warning, from Ben Boeckel. Nicholas Marriott 2015-03-31 09:25:51 +01:00
  • cd9ccbc1e9 set-titles-string now uses formats, not the status bits (so no #() for now). Reported by landry. nicm 2015-03-11 08:17:37 +00:00
  • 7536d690fd Explicitly look for cpp and egrep to avoid AC_EGREP_CPP messing up output. 2.0 Nicholas Marriott 2015-03-01 21:46:05 +00:00
  • b8aec17af1 Merge branch 'obsd-master' Thomas Adam 2015-02-24 23:05:08 +00:00
  • f4196138ce Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2015-02-18 22:36:53 +00:00
  • fe1aa9299e Merge branch 'tmp' Nicholas Marriott 2015-02-18 22:36:31 +00:00
  • 568f5ef3c6 When given an invalid style, don't set the option to the default. Fix from J Raynor. Also make style_parse not alter the grid_cell when it fails. nicm 2015-02-18 15:32:37 +00:00
  • bafe6f5a7c Remove LocalWords. Nicholas Marriott 2015-02-16 17:19:37 +00:00
  • be6dc83277 Revert "Add -Wno-format-nonliteral to Makefile.am" Thomas Adam 2015-02-15 21:19:51 +00:00
  • c2bbaab2ac Add -Wno-format-nonliteral to Makefile.am Thomas Adam 2015-02-15 20:07:48 +00:00
  • ffb83d23e1 Merge branch 'obsd-master' Thomas Adam 2015-02-14 23:54:07 +00:00
  • 4d05d88304 Take a reference to prevent cmdq being freed during the command. Can happen to cfg_cmd_q (possibly others) when source-file recurses into cmdq_continue. Fixes bug reported by Ismail Donmez and Theo Buehler. nicm 2015-02-12 09:56:19 +00:00