Commit Graph

  • 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
  • 05d07413ff 3.0-rc. Nicholas Marriott 2019-05-28 15:46:17 +01:00
  • b8360504f3 Merge branch 'obsd-master' Thomas Adam 2019-05-28 15:02:26 +01:00
  • a062650d4b Tweak menu option. Nicholas Marriott 2019-05-28 14:49:50 +01:00
  • f012db9be9 Add regress for conf files. Nicholas Marriott 2019-05-28 13:21:02 +01:00
  • 299d4f3aaa Exit 1 correctly if source-file fails. nicm 2019-05-28 12:20:28 +00:00
  • eba6cf61c9 Merge branch 'obsd-master' Thomas Adam 2019-05-28 13:02:27 +01:00
  • 0ec410689c Allow source-file to take multiple arguments. nicm 2019-05-28 11:46:30 +00:00
  • e0fd295054 Change the default right click pane to open the menu if not in a mode and no application mouse. nicm 2019-05-28 10:27:11 +00:00
  • 99a8469ee4 Add key bindings to open the window and pane menus (C-m and M-m for now). nicm 2019-05-28 10:05:24 +00:00
  • 12255411f2 Allow menu items to be disabled by putting a - at the start of their name, rather than just including #[dim] which still allowed them to be chosen. nicm 2019-05-28 09:50:54 +00:00
  • c0116b2c5b Merge branch 'obsd-master' Thomas Adam 2019-05-28 09:02:26 +01:00
  • 799a154b91 Change display-menu from taking a single string to a set of arguments, which is much easier to work with. Based on a diff from Avi Halachmi. nicm 2019-05-28 07:18:42 +00:00
  • 793f4d89d6 Merge branch 'obsd-master' Thomas Adam 2019-05-27 19:02:25 +01:00
  • 90cd045cf3 Clarify newlines inside {} a little. nicm 2019-05-27 16:22:32 +00:00
  • 94f6488f0e Go less crazy with horizontal separators on default menus. nicm 2019-05-27 15:29:46 +00:00
  • d4bf4bd7c7 Merge branch 'obsd-master' Thomas Adam 2019-05-27 15:02:28 +01:00
  • 522d1bd309 Add. Nicholas Marriott 2019-05-27 14:39:44 +01:00
  • a21de4c483 Mention <><=>=. Nicholas Marriott 2019-05-27 14:39:06 +01:00
  • 714311a696 Add {}. Nicholas Marriott 2019-05-27 14:37:47 +01:00
  • 9f0904ce6f Remove unused fparseln compat code. Nicholas Marriott 2019-05-27 14:28:05 +01:00
  • ae3eba6e08 Fix crash when killing the current window, reported by Jesus Rafael Sanchez in GitHub issue 1760. nicm 2019-05-27 12:48:52 +00:00
  • 6b332127ca Add an additional {} syntax for defining strings in the configuration file, making it much tidier to define commands that contain other tmux or shell commands (like if-shell). Also tweak bind-key to expect a string if it is only given one argument, so {} can be used with it as well. From Avi Halachmi. nicm 2019-05-27 12:16:27 +00:00
  • bd40d704e2 Merge branch 'obsd-master' Thomas Adam 2019-05-27 09:02:26 +01:00
  • 65e5e14561 Fix the intended ordering of items in buffer mode - it should not always be tag 0 when the tree is empty. GitHub issue 1759. nicm 2019-05-27 06:50:04 +00:00
  • 103e44d936 Merge branch 'obsd-master' Thomas Adam 2019-05-26 21:02:26 +01:00
  • 097973e3d5 Add keys for new menu items. nicm 2019-05-26 18:43:43 +00:00
  • 5fef946df4 Always redraw overlay if it is on (so status line doesn't redraw over it). nicm 2019-05-26 18:27:52 +00:00
  • 023c2c5392 Do not accept choice unless mouse has actually moved before. nicm 2019-05-26 18:19:52 +00:00
  • e90d4a6021 Add formats for word and line under the mouse and use them to add some items to the pane menu. nicm 2019-05-26 17:34:45 +00:00
  • 2e84d1cf03 Merge branch 'obsd-master' Thomas Adam 2019-05-26 15:02:25 +01:00
  • 6431005169 Add a way to append or prepend to a format if the length has been limited. nicm 2019-05-26 12:02:42 +00:00
  • 9beb3eb593 Merge branch 'obsd-master' Thomas Adam 2019-05-26 13:02:26 +01:00
  • 6dee409981 Some other platforms doesn't support fmemopen(3) (not unexpectedly), so don't use it - since we only use getc/ungetc on the file anyway it is easy not to. nicm 2019-05-26 10:08:50 +00:00
  • f3fc81b178 Merge branch 'master' of github.com:ThomasAdam/tmux Thomas Adam 2019-05-25 18:50:05 +01:00
  • 463bd8abb9 Merge branch 'obsd-master' Thomas Adam 2019-05-25 18:41:51 +01:00
  • a65a6d62d1 Add <, >, <=, >= for formats, GitHub issue 1747. nicm 2019-05-25 16:51:10 +00:00
  • 207789dc2d Client name can actually be NULL, so use address in that case. nicm 2019-05-25 10:46:55 +00:00
  • d7586d3d65 Use client name when logging command queue. nicm 2019-05-25 10:44:09 +00:00
  • f8d3d247d8 Merge cmd_list_parse into cmd-parse.y so it can use the new alias processing code. nicm 2019-05-25 07:18:20 +00:00
  • 6b0fa14470 Fix error handling in if-shell. nicm 2019-05-25 07:15:53 +00:00
  • a69211aff5 Fix up regress test. Nicholas Marriott 2019-05-25 08:09:23 +01:00
  • 930245d7ff Make cmd_log_argv take a printf-like format for the prefix. nicm 2019-05-25 06:58:10 +00:00
  • 0dc8b7d5d8 unbreak build, okay nicm@ espie 2019-05-23 21:36:42 +00:00
  • 19a3a9ee20 Merge branch 'obsd-master' Thomas Adam 2019-05-23 21:02:30 +01:00
  • f3e01ecc42 Fix line numbers - commands are added after the line ends so they need to get line - 1. nicm 2019-05-23 18:39:00 +00:00
  • 6c260af56d Use the same argument escaping code for options as well. nicm 2019-05-23 18:33:53 +00:00
  • e817821104 Mention \. Nicholas Marriott 2019-05-23 19:27:41 +01:00
  • f006116bac Environment variables can start with { also. nicm 2019-05-23 18:22:13 +00:00
  • 43431e7e84 Merge branch 'obsd-master' Thomas Adam 2019-05-23 17:02:25 +01:00
  • eb8b51effc Fix drawing of status-right when it is aligned to the centre, GitHub issue 1754. nicm 2019-05-23 14:44:33 +00:00
  • 389cf63cbc Tweak text. Nicholas Marriott 2019-05-23 15:18:09 +01:00
  • 2148fe33cd CHANGES: remove note to packagers Thomas Adam 2019-05-23 15:15:34 +01:00
  • 1a6540fea0 CHANGES: remove note to packagers Thomas Adam 2019-05-23 15:15:34 +01:00
  • 7d702f3cef Don't remove group items for group 0 (no group). nicm 2019-05-23 13:08:43 +00:00
  • d0c462f718 Fix length calculation for pasting UTF-8 characters in the status line, GitHub issue 1753. nicm 2019-05-23 12:47:52 +00:00
  • 238d2aa870 CHANGES: mention yacc Thomas Adam 2019-05-23 15:11:13 +01:00
  • 6bb505eb73 CHANGES: mention yacc Thomas Adam 2019-05-23 15:11:13 +01:00
  • 83b9807370 Remove duplicate. Nicholas Marriott 2019-05-23 13:32:18 +01:00
  • 3e6e533779 Add yacc(1) bits. Nicholas Marriott 2019-05-23 13:04:41 +01:00
  • 27bfb56ad5 Break the argument escaping code into a separate function and use it to escape key bindings in list-keys. Also escape ~ and ; and $ properly. nicm 2019-05-23 14:03:44 +00:00
  • c49f2a0365 Merge branch 'obsd-master' Thomas Adam 2019-05-23 15:02:28 +01:00
  • 3e3eb1dd0f Don't remove group items for group 0 (no group). nicm 2019-05-23 13:08:43 +00:00
  • a4fe7e81c8 Fix length calculation for pasting UTF-8 characters in the status line, GitHub issue 1753. nicm 2019-05-23 12:47:52 +00:00
  • 4ce26b0393 Remove duplicate. Nicholas Marriott 2019-05-23 13:32:18 +01:00
  • 82bf0f4d48 configure.ac: add AC_PROC_YACC Thomas Adam 2019-05-23 13:09:34 +01:00
  • 8590ee65e6 TRAVIS: add bison to build deps Thomas Adam 2019-05-23 13:06:47 +01:00