Commit Graph

  • c22470bd14 3.0-rc3. 3.0 Nicholas Marriott 2019-06-14 16:17:34 +01:00
  • 4c28ed4e4e Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 16:10:38 +01:00
  • 31cb95893e #{ is no longer special. Nicholas Marriott 2019-06-14 16:10:27 +01:00
  • ae83a5b010 Add to CHANGES. Nicholas Marriott 2019-06-14 16:09:49 +01:00
  • 29b70e2757 Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 16:06:20 +01:00
  • 52b8274285 Do not crash if the environment variable is present but empty. nicm 2019-06-13 21:24:09 +00:00
  • dcb2bb33a2 Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 16:05:26 +01:00
  • a924694820 Use the right client when working out where to save or load the buffer, reported by kn@. nicm 2019-06-13 21:44:13 +00:00
  • 0a94dbe051 A couple of minor parser changes around conditions: 1) only treat #{ specially after a condition, otherwise as a comment (which is more as most people expect) 2) allow formats to be quoted after a condition. nicm 2019-06-14 12:04:11 +00:00
  • 8da756c4f0 Restore missing functions. Nicholas Marriott 2019-06-14 16:02:34 +01:00
  • 7bb8ab1c0e Add a bit to {}. Nicholas Marriott 2019-06-14 12:40:35 +01:00
  • 5e9757b30b Merge branch 'obsd-master' Thomas Adam 2019-06-14 15:51:09 +01:00
  • d1d3bbb458 Show filename with -v for source-file. nicm 2019-06-14 13:34:45 +00:00
  • 45203582ff A couple of minor parser changes around conditions: 1) only treat #{ specially after a condition, otherwise as a comment (which is more as most people expect) 2) allow formats to be quoted after a condition. nicm 2019-06-14 12:04:11 +00:00
  • ebc9dcb3bb Add a bit to {}. Nicholas Marriott 2019-06-14 12:40:35 +01:00
  • 4bbf941436 Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 10:34:05 +01:00
  • f31847db62 Improve description of #{. Nicholas Marriott 2019-06-14 10:33:55 +01:00
  • f35f15b107 Use the right client when working out where to save or load the buffer, reported by kn@. nicm 2019-06-13 21:44:13 +00:00
  • eef11b64e1 Do not crash if the environment variable is present but empty. nicm 2019-06-13 21:24:09 +00:00
  • b8a9c740bb tweak previous; jmc 2019-06-13 21:04:21 +00:00
  • 26b9a8e49b Set the cursor x at the same time as changing the y or the end of line marker may not be redrawn. nicm 2019-06-13 20:38:05 +00:00
  • 3e72e98e3b Add regular expression support for the format search, match and substitute modifiers. nicm 2019-06-13 19:46:00 +00:00
  • d5902eeae9 Merge branch 'obsd-master' Thomas Adam 2019-06-12 11:02:25 +01:00
  • 7e6a26cc9d Do not use $TMUX to find the session because for windows in multiple sessions it is wrong as often as it is right, and for windows in one session it is pointless. Instead check TMUX_PANE to find the pane and look for the MRU session as usual. GitHub issue 1793. nicm 2019-06-12 09:10:29 +00:00
  • b12df01861 Pass target on to new commands with if -F. nicm 2019-06-12 08:47:07 +00:00
  • 9d42bd328c Do not always resize the window back to its original size after applying a layout, let the normal window resize process do it. This means windows are not resized at all if window-size is manual, and are not resized multiple times if later attached to a different size terminal. nicm 2019-06-12 08:08:33 +00:00
  • e337c1ba7d Do not try to parse command when unsetting, GitHub issue 1788. nicm 2019-06-08 21:48:29 +00:00
  • 057c04e32a Merge branch 'obsd-master' Thomas Adam 2019-06-11 15:02:26 +01:00
  • 8e971f187a Update README.md Nicholas Marriott 2019-06-11 14:27:40 +01:00
  • e8814a7e93 Add to CHANGES. Nicholas Marriott 2019-06-11 14:23:47 +01:00
  • 1a9f9c09b4 Do not resize panes unless they are in an attached, active window. From Morten M Neergaard in GitHub issue 1782. nicm 2019-06-11 13:09:00 +00:00
  • d9ad461b5e Merge branch 'obsd-master' Thomas Adam 2019-06-09 09:02:26 +01:00
  • 915097d312 Exiting alternate screen mode should restore cursor position and attributes even if already outside alternate screen mode. GitHub issue 1789. nicm 2019-06-09 06:50:24 +00:00
  • 181841fb67 Merge branch 'obsd-master' Thomas Adam 2019-06-09 01:02:26 +01:00
  • 43796bf131 Do not try to parse command when unsetting, GitHub issue 1788. nicm 2019-06-08 21:48:29 +00:00
  • e13c1e5320 Merge branch 'obsd-master' Thomas Adam 2019-06-07 23:02:26 +01:00
  • e37f34facc Do not load the config file if the server is exiting because it failed to start, otherwise commands like lsk which start the server again can end up looping infinitely. Also make the first client exit correctly. Problem reported by Wael M Nasreddine. nicm 2019-06-07 20:09:17 +00:00
  • c91680822d Merge branch 'obsd-master' Thomas Adam 2019-06-05 23:02:26 +01:00
  • 37bb993f53 Merge branch '3.0-rc' Nicholas Marriott 2019-06-05 21:06:30 +01:00
  • db5a7c1740 Need to increment the argument to skip the prefix earlier, fixes repeated incremental search in copy mode, reported by Kaushal Modi in GitHub issue 1780. nicm 2019-06-05 19:00:36 +00:00
  • 1ec3fb5f30 Merge branch 'obsd-master' Thomas Adam 2019-06-05 21:02:26 +01:00
  • 8f40796f05 Add a -v flag to source-file to show the commands and line numbers. nicm 2019-06-05 20:00:53 +00:00
  • 09e90c1645 Need to increment the argument to skip the prefix earlier, fixes repeated incremental search in copy mode, reported by Kaushal Modi in GitHub issue 1780. nicm 2019-06-05 19:00:36 +00:00
  • f274b1b9d7 Merge branch '3.0-rc' Nicholas Marriott 2019-06-05 15:13:56 +01:00
  • 53914e50b9 RC2. Nicholas Marriott 2019-06-05 15:09:42 +01:00
  • e252984993 If only one of -x or -y is given, use the calculated size for the other. Also fix some warnings. Pointed out by Ben Boeckel. Nicholas Marriott 2019-06-05 06:44:08 +01:00
  • d3f0c72e20 Merge branch 'obsd-master' Thomas Adam 2019-06-03 21:02:26 +01:00
  • 4ca1de1b8b Add new-session -X and attach-session -x to send SIGHUP to parent when detaching (like detach-client -P). From Colin Watson in GitHub issue 1773. nicm 2019-06-03 18:28:37 +00:00
  • 17bc11bd15 yacc(1) copies its union so it is not a good place to store TAILQ_HEADs. Allocate them instead. Found from a problem reported by sthen@. nicm 2019-06-02 07:10:15 +00:00
  • f6933e43c2 Merge branch 'obsd-master' Thomas Adam 2019-06-02 09:02:27 +01:00
  • 900238a306 yacc(1) copies its union so it is not a good place to store TAILQ_HEADs. Allocate them instead. Found from a problem reported by sthen@. nicm 2019-06-02 07:10:15 +00:00
  • 027a7ac829 Merge branch 'obsd-master' Thomas Adam 2019-06-01 19:02:26 +01:00
  • 2c6c3a1d27 If only one of -x or -y is given, use the calculated size for the other. Pointed out by Ben Boeckel. nicm 2019-06-01 16:21:37 +00:00
  • 8382ae65b7 Merge branch 'obsd-master' Thomas Adam 2019-06-01 09:02:27 +01:00
  • ec690208a3 Move link. Nicholas Marriott 2019-06-01 08:07:22 +01:00
  • b28b8312f2 Mention CHANGES. Nicholas Marriott 2019-06-01 08:05:55 +01:00
  • c2d79add31 Should be caps. Nicholas Marriott 2019-06-01 07:28:31 +01:00
  • feff55b92f Try this instead. Nicholas Marriott 2019-06-01 07:26:39 +01:00
  • 3d29b97768 Link to file. Nicholas Marriott 2019-06-01 07:24:33 +01:00
  • 39ea8a2787 Need stdlib.h, from Ben Boeckel. nicm 2019-06-01 06:20:22 +00:00
  • 480cdedcac Merge branch 'obsd-master' Thomas Adam 2019-06-01 01:02:25 +01:00
  • 88ee5a1a00 Add a crashing config. Nicholas Marriott 2019-05-31 22:50:30 +01:00
  • 2c5f3074bc Fix warnings, from Ben Boeckel. nicm 2019-05-31 21:41:17 +00:00
  • 9d2ef8bf0d Merge branch '3.0-rc' Nicholas Marriott 2019-05-31 15:18:56 +01:00
  • 1a3a973bd0 Allow % strings that are all numbers or %s, and fix a double free. Both reported by George Nachman, GitHub issues 1765 and 1766. nicm 2019-05-31 11:34:09 +00:00
  • adf9e77702 Merge branch 'obsd-master' Thomas Adam 2019-05-31 15:02:27 +01:00
  • 82e47403c6 Allow % strings that are all numbers or %s, and fix a double free. Both reported by George Nachman, GitHub issues 1765 and 1766. nicm 2019-05-31 11:34:09 +00:00
  • 41b8bb4eef Merge branch 'obsd-master' Thomas Adam 2019-05-30 23:02:27 +01:00
  • b26523c26d Remove a leftover abort and some fixes from cppcheck. nicm 2019-05-30 20:54:03 +00:00
  • 200a1c62c6 Merge branch '3.0-rc' Nicholas Marriott 2019-05-30 13:12:50 +01:00
  • e4eec92852 No longer need to reduce line number by one. nicm 2019-05-30 10:04:33 +00:00
  • 2df757521a Merge branch 'obsd-master' Thomas Adam 2019-05-30 13:02:26 +01:00
  • 8fb796b5b3 No longer need to reduce line number by one. nicm 2019-05-30 10:04:33 +00:00
  • 82b25a9d62 Merge branch 'obsd-master' Thomas Adam 2019-05-30 11:02:27 +01:00
  • 89d2c7eb26 I had hoped that non-xenl terminals had died out, at least in fairly modern OSs, but no - DragonFly BSD's console returns to haunt us. Fix it at least somewhat. GitHub issue 1763. nicm 2019-05-30 07:42:41 +00:00
  • 026450c1a8 Add test for xenl terminals. Nicholas Marriott 2019-05-30 07:52:24 +01:00
  • c5e2532b67 Merge branch '3.0-rc' Nicholas Marriott 2019-05-29 23:04:28 +01:00
  • 75d112c484 The line number needs to be updated only after the \n is processed by the parser, so store a flag and update it next time around. Also each new line needs its own shared data. nicm 2019-05-29 19:34:42 +00:00
  • 414208aab1 Merge branch 'obsd-master' Thomas Adam 2019-05-29 23:02:25 +01:00
  • 7dced37673 Use VIS_CSTYLE for the arguments and add the missing escapes it can generate to the parser. nicm 2019-05-29 20:05:14 +00:00
  • 95d68fcba1 Merge branch '3.0-rc' Nicholas Marriott 2019-05-29 20:43:29 +01:00
  • a05c3a7aa6 Add command order test. Nicholas Marriott 2019-05-29 20:43:11 +01:00
  • c17edd594e The line number needs to be updated only after the \n is processed by the parser, so store a flag and update it next time around. Also each new line needs its own shared data. nicm 2019-05-29 19:34:42 +00:00
  • 47795d1695 Update .travis.yml from master. Nicholas Marriott 2019-05-29 14:40:41 +01:00
  • 2ce8e0110c Don't even need this? Nicholas Marriott 2019-05-29 14:32:49 +01:00
  • 4425c1e1b3 Tweak again. Nicholas Marriott 2019-05-29 14:24:09 +01:00
  • 409d52ed41 Try OS X. Nicholas Marriott 2019-05-29 14:19:26 +01:00
  • e90b5dcea3 Merge branch 'obsd-master' Thomas Adam 2019-05-29 13:02:35 +01:00
  • ffcc60211d Merge branch '3.0-rc' Nicholas Marriott 2019-05-29 12:13:55 +01:00
  • 7cdb1cfc8d as -> and. Nicholas Marriott 2019-05-29 12:13:46 +01:00
  • 480ba99a16 Merge branch '3.0-rc' Nicholas Marriott 2019-05-29 12:07:05 +01:00
  • 8827b7f9a6 Tweak {} text. Nicholas Marriott 2019-05-29 11:25:07 +01:00
  • a4424fbebf Support \ooo escapes, from Avi Halachmi. nicm 2019-05-29 10:08:36 +00:00
  • eefbbfde77 Merge branch '3.0-rc' Nicholas Marriott 2019-05-28 21:05:00 +01:00
  • 7eeb479705 Do not read past the end of the argument string if it is empty. nicm 2019-05-28 18:30:30 +00:00
  • 8d137233a9 Redraw status line if size changes, GitHub issue 1762. Also fix length of target buffer when pasting into status line. nicm 2019-05-28 18:53:36 +00:00
  • c96957583f Merge branch 'obsd-master' Thomas Adam 2019-05-28 21:02:28 +01:00
  • 580cd16f4c Redraw status line if size changes, GitHub issue 1762. Also fix length of target buffer when pasting into status line. nicm 2019-05-28 18:53:36 +00:00
  • 4382538e4b Do not read past the end of the argument string if it is empty. nicm 2019-05-28 18:30:30 +00:00
  • e7a530fe4c Next will be 3.1. Nicholas Marriott 2019-05-28 15:48:31 +01:00