Commit Graph

  • a81685bfac Add static in cmd-* and fix a few other nits. nicm 2016-10-10 21:51:39 +00:00
  • c426e485e5 Loads more static, except for cmd-*.c and window-*.c. nicm 2016-10-10 21:29:23 +00:00
  • 27126f8797 Merge branch 'obsd-master' Thomas Adam 2016-10-10 20:01:11 +01:00
  • 66b5477cc1 Do not allow the opposite pane to resize when dragging with the mouse because it is not possible to keep the mouse on the border when the minimum size is reached. nicm 2016-10-10 17:28:30 +00:00
  • 226b6a2192 Merge branch 'obsd-master' Thomas Adam 2016-10-10 16:01:12 +01:00
  • 7d4b416fe6 Some more static. nicm 2016-10-10 13:54:47 +00:00
  • 215d3f8c0d Merge branch 'obsd-master' Thomas Adam 2016-10-09 18:01:10 +01:00
  • b8f2dd8237 Make the CLIENT_STATUS flag imply that pane status lines are redrawn if they are enabled and break the actual screen generation code into a separate function. Fixes problems reported by Romain Francoise. nicm 2016-10-09 16:24:34 +00:00
  • 526e860a7a Merge branch 'obsd-master' Thomas Adam 2016-10-09 10:01:12 +01:00
  • 1db6d6fea6 Pass file/line to new command for if-shell so that errors appear sensibly. nicm 2016-10-09 08:06:51 +00:00
  • 48dd250af1 Handle NULL window or session for user options. nicm 2016-10-09 07:58:35 +00:00
  • 44449b305b Use xsnprintf not snprintf for the prompt in window_copy_write_line because we don't care if it is truncated to the screen width, we don't want it to be fatal. nicm 2016-10-09 07:30:28 +00:00
  • fb0b2cd37a Merge branch 'obsd-master' Thomas Adam 2016-10-06 00:01:11 +01:00
  • 30086e504c screen_write_copy tried to be clever and clear the line if it reached the end of the source, but it was wrong and causes problems that are only showing up now we are more aggressive about skipping redundant screen updates. Remove the optimization entirely as more trouble than it is worth to fix (and it'll have to go when BCE is done anyway). nicm 2016-10-05 22:00:29 +00:00
  • 5b8f033e06 Merge branch 'obsd-master' Thomas Adam 2016-10-05 14:01:10 +01:00
  • f55c991a1b Wrap some long lines in screen-write.c. nicm 2016-10-05 12:36:36 +00:00
  • 4117a7ed19 Keep buffer creation time and add accessors for it and the order number. nicm 2016-10-05 12:34:05 +00:00
  • b4f95c43fc Allow cmd_mouse_at return arguments to be NULL. nicm 2016-10-05 12:32:13 +00:00
  • 4740ecbeae Merge branch 'obsd-master' Thomas Adam 2016-10-04 02:01:11 +01:00
  • ddfed259f6 Merge branch 'obsd-master' Thomas Adam 2016-10-04 00:01:11 +01:00
  • 1b31d148c9 Remove some dead code in cmd-move-window.c and make a load of local functions static. nicm 2016-10-03 22:52:11 +00:00
  • 6943fbbb81 Merge branch 'obsd-master' Thomas Adam 2016-10-03 22:01:12 +01:00
  • 305c832a97 Document set-hook -u. nicm 2016-10-03 20:58:39 +00:00
  • 61dfbe702e Remove some redundant checks and make ich/dch consistent. nicm 2016-10-03 19:19:18 +00:00
  • 23254f59da Fix typos Thomas Adam 2016-09-30 09:50:40 +01:00
  • bb7cc8e8fd Start working on 2.4 Thomas Adam 2016-09-29 22:00:00 +01:00
  • 52869ed182 Release tmux 2.3 2.3 Thomas Adam 2016-09-29 21:54:12 +01:00
  • 19104d592b Merge branch 'obsd-master' Thomas Adam 2016-09-29 12:01:11 +01:00
  • cf7f3a436a Check padding when writing any character with width > 1, in case they overlap after the first character (for example with cells xy and ab, y is replacing a). nicm 2016-09-29 08:50:43 +00:00
  • c41916ee16 Merge branch 'obsd-master' Thomas Adam 2016-09-28 18:01:11 +01:00
  • bb5798aa0e Couple of vasprintf -> xvasprintf. nicm 2016-09-28 14:40:07 +00:00
  • 27591570c4 Merge branch 'obsd-master' Thomas Adam 2016-09-28 10:01:11 +01:00
  • acacb718e5 Rate limit TIOCSWINSZ on a timer to avoid programs getting hammered with SIGWINCH when the size changes rapidly. To help a problem reported by Rui Pinheiro. nicm 2016-09-28 08:30:44 +00:00
  • 30f2e8ff29 Merge branch 'obsd-master' Thomas Adam 2016-09-26 12:01:12 +01:00
  • 69e980602b Support set -a (append) with user options, suggested by Xandor Schiefer. nicm 2016-09-26 09:02:34 +00:00
  • cbde98f67b Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2016-09-16 18:09:51 +01:00
  • 895f1d93d5 Merge branch 'obsd-master' Thomas Adam 2016-09-16 16:01:16 +01:00
  • eb50e7a2c8 Swap watermarks from high (4096) to low (128) when we get full buffers into the read callback several times in succession; swap back when we see empty buffers several times. This hopefully limits how much programs that print a lot for a long period can monopolize tmux (like large, fast compiling), without penalizing programs that print a lot briefly (like most curses applications). Helps a lot for me, the actual numbers may need tweaking later. nicm 2016-09-16 13:43:41 +00:00
  • 6e8f400edc Do not use utf8proc by default. Nicholas Marriott 2016-09-15 20:37:48 +01:00
  • a5b29a1250 Merge branch 'obsd-master' Thomas Adam 2016-09-12 18:01:12 +01:00
  • 2e5584c2b4 Allow repeat count to be specified in mode key tables with bind-key -R, and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode. nicm 2016-09-12 15:40:58 +00:00
  • 060515684d Apple have changed their API again, from Gregory Pakosz. Nicholas Marriott 2016-09-12 11:06:35 +01:00
  • c6cdab1f79 Use ncurses OR curses, don't mix header and library. Tested by Rob Paisley. Nicholas Marriott 2016-09-08 19:28:56 +01:00
  • 3ed0973493 Solaris build fixes from Rob Paisley. Nicholas Marriott 2016-09-08 15:32:15 +01:00
  • f68a908c8a Merge branch 'obsd-master' Thomas Adam 2016-09-04 20:01:16 +01:00
  • fed1e384ad Add support for performing a full width split (with splitw -f), rather than splitting the current cell. From Stephen Kent. nicm 2016-09-04 17:37:06 +00:00
  • 999c1c771b Merge branch 'obsd-master' Thomas Adam 2016-09-03 00:01:14 +01:00
  • 727ce7e4bb Check for headers for ncurses and libevent as well as libraries. Nicholas Marriott 2016-09-02 22:05:06 +01:00
  • 2627ab322e Remember the number of lines scrolled into the history (versus cleared into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin. nicm 2016-09-02 20:57:20 +00:00
  • 6c94774b70 Add support for using utf8proc with --enable-utf8proc, useful for platforms (like OS X) where the system implementation is crap. From Joshua Rubin. Nicholas Marriott 2016-09-01 20:40:03 +01:00
  • ae297cb487 Merge branch 'obsd-master' Thomas Adam 2016-08-28 02:01:11 +01:00
  • 537964b92d Kill empty window after moving pane and updating current window, so that index is still valid before renumber-windows happens. Fixes issue reported by Eric Pruitt. nicm 2016-08-27 23:35:00 +00:00
  • 1bc467fe52 Merge branch 'obsd-master' Thomas Adam 2016-08-25 12:01:10 +01:00
  • 6bf033beae Do not crash if display-message used without a client, issue reported by Serge Aleynikov, fix from Thomas Adam. nicm 2016-08-25 09:33:14 +00:00
  • 88eb302221 Merge branch 'obsd-master' Thomas Adam 2016-08-22 22:01:13 +01:00
  • 43f292b2e0 Two minor fixes from dilyan palauzov. nicm 2016-08-22 20:07:58 +00:00
  • baf1550227 Merge branch 'obsd-master' Thomas Adam 2016-08-03 12:01:11 +01:00
  • f811127bb6 We only replace the first %%, not multiple (use %2 for second). nicm 2016-08-03 09:08:40 +00:00
  • f8cc48a43f Fix minimum size when pane status line is enabled, reported by Y Petremann. nicm 2016-08-03 09:07:02 +00:00
  • af38936473 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2016-07-19 10:43:10 +01:00
  • 0e11036055 Add to .mailmap. Nicholas Marriott 2016-07-19 10:42:44 +01:00
  • a24260bb23 Merge branch 'obsd-master' Thomas Adam 2016-07-15 12:01:10 +01:00
  • 9436a31603 Tweak output of environment logging. nicm 2016-07-15 09:52:34 +00:00
  • 1718420c48 Log environment to new panes. nicm 2016-07-15 09:28:32 +00:00
  • 68b1fd0cc6 Wrap some long lines and apply some static. nicm 2016-07-15 09:27:35 +00:00
  • d4eeeb5498 Merge branch 'obsd-master' Thomas Adam 2016-07-15 04:01:12 +01:00
  • 0f73af876f Don't update cells in each block of data read from a pane immediately, instead track them as change (dirty) and update them once at the end, saves much time if repeatedly writing the same cell. Also fix comparison of cells being equal in a few places (memcmp is not enough). nicm 2016-07-15 00:49:08 +00:00
  • 1fd6ca2260 Instead of representing colours in several different forms with various cell flags, convert to use an int with flags marking 256 or RGB colours in the top byte (except in cells, which we don't want to make any bigger). From Brad Town. nicm 2016-07-15 00:42:56 +00:00
  • 2d843b5021 Merge branch 'obsd-master' Thomas Adam 2016-07-07 12:01:11 +01:00
  • fc118e13a9 tmux: only consider ACCESSPERMS for setting mode on socket_path. semarie 2016-07-07 09:24:09 +00:00
  • 25e128d398 Remove duplicate daemon.c and time.h. Nicholas Marriott 2016-06-27 10:57:02 +01:00
  • 93f42d360b Merge branch 'obsd-master' Thomas Adam 2016-06-16 14:01:11 +01:00
  • 325cbe90d9 Allow a command to be specified to display-panes, similar to command-prompt, rather than always just selecting the pane. nicm 2016-06-16 10:55:47 +00:00
  • d35a9ac5f2 Linux: <time.h> Thomas Adam 2016-06-16 11:43:05 +01:00
  • 1ad7c6b8f8 Merge branch 'obsd-master' Thomas Adam 2016-06-15 18:01:11 +01:00
  • 0c7ddae2ab Add missing buffer_name format, from Awal Garg. nicm 2016-06-15 14:43:06 +00:00
  • 5c12230a08 Merge branch 'obsd-master' Thomas Adam 2016-06-15 12:01:11 +01:00
  • bee3e3e28d Copy mode needs to keep the original grid intact so it can copy from it if needed, so it disables reading from the pane. This can be problem with some programs. So make tmux automatically exit all modes after 180 seconds of inactivity and if there is pending output. nicm 2016-06-15 09:13:46 +00:00
  • 068b8b03ad Add -F to list-commands. nicm 2016-06-15 08:54:11 +00:00
  • 150c9f3fe0 Add *.dSYM for OS X. Nicholas Marriott 2016-06-15 09:51:08 +01:00
  • 697b912f26 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2016-06-10 16:38:52 +01:00
  • b9c95937ed Add to TODO. Nicholas Marriott 2016-06-10 16:38:40 +01:00
  • 1a53e79057 Merge branch 'obsd-master' Thomas Adam 2016-06-10 14:01:10 +01:00
  • c84ed36719 Spelling, from Josh Soref. Nicholas Marriott 2016-06-10 12:47:15 +01:00
  • 17e4744459 Spelling error (incrased -> increased), from Josh Soref. nicm 2016-06-10 11:46:15 +00:00
  • fa68d0a16e Merge branch 'obsd-master' Thomas Adam 2016-06-06 12:01:10 +01:00
  • d9450bfccd Much faster (and smaller) method of mapping RGB colour to an xterm(1) colour, from Avi Halachmi. nicm 2016-06-06 10:12:58 +00:00
  • cc096ae929 Merge branch 'obsd-master' Thomas Adam 2016-06-06 10:01:11 +01:00
  • 1f75c98f49 Note how to subscribe to ML. Nicholas Marriott 2016-06-06 09:30:39 +01:00
  • aba4438013 Cache selected state so that cells going from selected to unselected are not skipped, reported by Omar Sandoval. nicm 2016-06-06 07:28:52 +00:00
  • 00cf5fbde6 Insert new panes after the pane being split in the list rather than always after the active pane. This is more sensible when doing it with commands rather than keys. nicm 2016-06-06 07:24:31 +00:00
  • 3c10df4f87 Allow #[] in window-status-separator. nicm 2016-06-06 07:23:36 +00:00
  • 89c17e44fb Updated link for bash(1) completions. Nicholas Marriott 2016-06-01 00:06:02 +01:00
  • 20d2a31b40 Update TODO. Nicholas Marriott 2016-05-31 22:13:44 +01:00
  • c7a0f56c71 Merge branch 'obsd-master' Thomas Adam 2016-05-30 12:01:13 +01:00
  • 1921fac814 Cache the window styles and do not look up the window-style options unless they have changed. nicm 2016-05-30 09:50:20 +00:00
  • 36ab4c7c49 Do not draw character to screen if it has not changed, and do not save last character if it won't be used. This (and last few commits) prompted by a report from Hubert depesz Lubaczewski. nicm 2016-05-30 09:32:24 +00:00
  • 7d105738b6 Send two cub1 instead of using cub for moving the cursor two left. This is normally better because using cub1 will be ^H^H (so two bytes) but cub would be ^[[2D (four). nicm 2016-05-30 09:26:49 +00:00
  • 5e9412608e No longer set __progname, we have getprogname(). Nicholas Marriott 2016-05-30 10:02:08 +01:00
  • 7a2fed494b Merge branch 'obsd-master' Thomas Adam 2016-05-28 02:01:10 +01:00