Commit Graph

  • 2aa177d102 Do not eliminate redundant clears, the code is wrong and doing it correctly wouldn't be worth it. GitHub issue 2298. nicm 2020-07-06 10:07:02 +00:00
  • 66d5e5de7a Add a way for control mode clients to subscribe to a format and be notified of changes rather than having to poll. GitHub issue 2242. nicm 2020-07-06 09:14:20 +00:00
  • af82094439 Merge branch 'obsd-master' Thomas Adam 2020-07-06 10:01:19 +01:00
  • 2bf612a806 Always send xterm-style keys for M-Left and M-Right. GitHub issue 2296. nicm 2020-07-06 07:27:39 +00:00
  • c0d9eaff9b Merge branch 'obsd-master' Thomas Adam 2020-07-04 16:01:20 +01:00
  • 1e42689661 kill-window -a cannot just walk the list of windows because if renumber-windows is on, the window it wants to keep could be moved. Change to renumber afterwards and also behave better if the window is linked into the session twice. GitHub issue 2287. nicm 2020-07-04 14:24:02 +00:00
  • a109e839d1 Fix version. Nicholas Marriott 2020-07-03 12:03:25 +01:00
  • 6b01eac774 Merge branch '3.2-rc' Nicholas Marriott 2020-07-03 12:03:07 +01:00
  • 5661346c41 Missing word, from annihilannic at hotmail dot com, GitHub issue 2288. nicm 2020-07-03 07:07:50 +00:00
  • 0d0fc13aaa Check if client is NULL before using it, GitHub issue 2295. nicm 2020-07-03 07:00:12 +00:00
  • 83868ceb1a Replace TAILQ concatenation loop with TAILQ_CONCAT bket 2020-06-29 15:53:28 +00:00
  • 0fa306d73c Merge branch 'obsd-master' Thomas Adam 2020-07-03 10:01:20 +01:00
  • 43e1577b5d Missing word, from annihilannic at hotmail dot com, GitHub issue 2288. nicm 2020-07-03 07:07:50 +00:00
  • 2b1e8d06e1 Check if client is NULL before using it, GitHub issue 2295. nicm 2020-07-03 07:00:12 +00:00
  • a284664e71 Merge branch 'obsd-master' Thomas Adam 2020-06-29 18:01:18 +01:00
  • 2a9bdb700d Replace TAILQ concatenation loop with TAILQ_CONCAT bket 2020-06-29 15:53:28 +00:00
  • 629ba1b838 Check for no pane border status line separately from top/bottom. nicm 2020-06-27 10:23:10 +00:00
  • c9b4d5a4a5 Fix 0x Unicode character parsing, GitHub issue 2286. nicm 2020-06-27 10:19:59 +00:00
  • 6cacaa94a5 Silently ignore -a or -b if the window index doesn't exist and create using that index (this is how it used to work), reported by Romain Francoise. nicm 2020-06-25 08:56:02 +00:00
  • 332aca754b Merge branch 'obsd-master' Thomas Adam 2020-06-27 12:01:18 +01:00
  • b6aeb86c20 Check for no pane border status line separately from top/bottom. nicm 2020-06-27 10:23:10 +00:00
  • 74df7071ad Fix 0x Unicode character parsing, GitHub issue 2286. nicm 2020-06-27 10:19:59 +00:00
  • 04a1a84bb8 Merge branch 'obsd-master' Thomas Adam 2020-06-25 12:01:17 +01:00
  • f69bdda950 Silently ignore -a or -b if the window index doesn't exist and create using that index (this is how it used to work), reported by Romain Francoise. nicm 2020-06-25 08:56:02 +00:00
  • 43295bd4a5 Correctly redraw pane border bottom line when the status line is on and at the bottom, reported by Kaushal Modi. nicm 2020-06-23 14:10:43 +00:00
  • e215a566a4 Use xvasprintf not vasprintf. nicm 2020-06-23 05:23:26 +00:00
  • 2a2ebf315f Merge branch 'obsd-master' Thomas Adam 2020-06-23 16:01:18 +01:00
  • 5340bf556e Correctly redraw pane border bottom line when the status line is on and at the bottom, reported by Kaushal Modi. nicm 2020-06-23 14:10:43 +00:00
  • 1f515663d1 Merge branch 'obsd-master' Thomas Adam 2020-06-23 08:01:18 +01:00
  • 2964dde903 Use xvasprintf not vasprintf. nicm 2020-06-23 05:23:26 +00:00
  • e450416c93 3.2-rc. Nicholas Marriott 2020-06-22 12:55:10 +01:00
  • b730083d7a Add to CHANGES. Nicholas Marriott 2020-06-22 12:53:43 +01:00
  • 3a1fc7315c Add getline compat. Nicholas Marriott 2020-06-18 21:01:55 +01:00
  • 3df68d6b00 Fix regress test for am. Nicholas Marriott 2020-06-18 21:01:45 +01:00
  • 6c437d45ac Merge branch 'obsd-master' Thomas Adam 2020-06-18 12:01:22 +01:00
  • 068b92b051 The redraw callback could be fired with a NULL pane if it updates while in a mode, problem reported by Martin Vahlensieck. nicm 2020-06-18 08:41:56 +00:00
  • 2372b0fdc6 Add a flag to make a client wait for an empty line before exiting in control mode to avoid stray commands ending up in the shell. nicm 2020-06-18 08:34:22 +00:00
  • eb448daa1a Merge branch 'obsd-master' Thomas Adam 2020-06-16 10:01:21 +01:00
  • 1bf9555e4f d and D keys to reset to default in customize mode. nicm 2020-06-16 08:18:34 +00:00
  • afe4ea4250 Correctly move to previous line when looking for previous word, from Derry Jing. nicm 2020-06-16 07:28:57 +00:00
  • 824efe7be4 Merge branch 'obsd-master' Thomas Adam 2020-06-13 12:01:20 +01:00
  • 1c78155e70 Add -b flags to insert a window before (like the existing -a for after) to break-pane, move-window, new-window. GitHub issue 2261. nicm 2020-06-13 09:05:53 +00:00
  • 4000052d92 Merge branch 'obsd-master' Thomas Adam 2020-06-12 12:01:17 +01:00
  • d52ac7d027 Do not wait on shutdown for commands started with run -b. nicm 2020-06-12 10:31:12 +00:00
  • bd3fb2fb10 Merge branch 'obsd-master' Thomas Adam 2020-06-12 10:01:19 +01:00
  • d8d7769104 Check if a pane needs to be paused when output is written rather than just when it is queued. nicm 2020-06-12 08:35:01 +00:00
  • 4c3bdc5a36 move-pane also defaults to marked pane now, reported by Ben Challenor. nicm 2020-06-12 07:52:38 +00:00
  • cf63465eb0 Fix quoting with newlines and single quotes. nicm 2020-06-12 07:10:43 +00:00
  • b5c86fdc0c Merge branch 'obsd-master' Thomas Adam 2020-06-11 22:01:23 +01:00
  • 63c2ed1483 Add some formats for search in copy mode (search_present, search_match). GitHub issue 2268. nicm 2020-06-11 19:43:34 +00:00
  • 2e5b496053 Merge branch 'obsd-master' Thomas Adam 2020-06-11 14:01:19 +01:00
  • e8c99496cd Merge branch 'obsd-master' Thomas Adam 2020-06-11 12:01:19 +01:00
  • cf13d1e110 Fix a crash when completing sessions, from Anindya Mukherjee. nicm 2020-06-11 10:56:19 +00:00
  • 50ee41423f Add a -A option to pause a pane manually. nicm 2020-06-11 09:55:47 +00:00
  • ea4425b9bd Merge branch 'obsd-master' Thomas Adam 2020-06-10 10:01:20 +01:00
  • 23d79cfda8 Instead of a buffer size limit on each pane, set a limit of 300 seconds of data for each client in control mode. nicm 2020-06-10 07:27:10 +00:00
  • 8b673cc4f2 Merge branch 'obsd-master' Thomas Adam 2020-06-10 08:01:19 +01:00
  • fddcad6957 When the pause-after flag is set, send an alternative %extended-output form instead of %output with the age of the output. nicm 2020-06-10 06:23:43 +00:00
  • 208d9449b7 Merge branch 'obsd-master' Thomas Adam 2020-06-09 12:01:18 +01:00
  • fee585ea14 Include width in error message. nicm 2020-06-09 10:37:00 +00:00
  • 30eaf885c4 Merge branch 'obsd-master' Thomas Adam 2020-06-09 10:01:17 +01:00
  • c60389acbf It is not sensible to store pointers into an array we are going to realloc (duh), use two trees instead. nicm 2020-06-09 08:34:33 +00:00
  • 9ffdcc7656 Merge branch 'obsd-master' Thomas Adam 2020-06-06 14:01:17 +01:00
  • a4a3d89598 Use bitshifts instead of a union for encoding UTF-8 into 32 bits, which is more friendly to GCC3. nicm 2020-06-06 12:38:32 +00:00
  • 0d8ba2e57f Add to CHANGES. Nicholas Marriott 2020-06-05 14:56:55 +01:00
  • 92c8cc17c3 Merge branch 'obsd-master' Thomas Adam 2020-06-05 14:01:19 +01:00
  • d919fa1ed0 Change how panes are resized so that the code is clearer and if the pane is resized multiple times during one event loop, it is forced to resize at the end. Also don't zoom/unzoom in switch-client if the pane hasn't changed. GitHub issue 2260. nicm 2020-06-05 11:20:51 +00:00
  • 47a5afe5bf Merge branch 'obsd-master' Thomas Adam 2020-06-05 12:01:18 +01:00
  • 03b2998abe Do not take the address of a potentially unaligned member. nicm 2020-06-05 09:35:41 +00:00
  • c908d2039f Fix various confusion about am vs xenl. nicm 2020-06-05 09:32:15 +00:00
  • a06cf900c7 Merge branch 'obsd-master' Thomas Adam 2020-06-05 10:01:22 +01:00
  • 4e5e2c19d0 Now that we mostly only search visible text, the rate limit on repeating search does not seem to be necessary, remove it for the moment. nicm 2020-06-05 07:44:42 +00:00
  • c586208991 Add support for pausing a pane when the output buffered for a control mode client gets too far behind. The pause-after flag with a time is set on the pane with refresh-client -f and a paused pane may be resumed with refresh-client -A. GitHub issue 2217. nicm 2020-06-05 07:33:57 +00:00
  • 976cf6c60f Merge branch 'obsd-master' Thomas Adam 2020-06-05 00:01:19 +01:00
  • d9cd493d09 Reset wrapped flag when clearing or moving lines, GitHub issue 2215. nicm 2020-06-04 21:41:31 +00:00
  • 2154e1f4fb Search marks outside the visible text are not useful, so there is no point in allocating a big buffer to store them - just allocate the visible text size, and ignore any outside. nicm 2020-06-04 21:40:27 +00:00
  • 8b43fcd82b Merge branch 'obsd-master' Thomas Adam 2020-06-04 22:01:17 +01:00
  • c4732af006 Some improvements to performance of searching: nicm 2020-06-04 20:41:57 +00:00
  • c8bddfba2b Merge branch 'obsd-master' Thomas Adam 2020-06-04 18:01:17 +01:00
  • 4403afe29c A } can go on the same line as a command. nicm 2020-06-04 16:06:01 +00:00
  • 81ba6477ff Merge branch 'obsd-master' Thomas Adam 2020-06-04 12:01:20 +01:00
  • 23a3742dc8 Update CHANGES. Nicholas Marriott 2020-06-04 11:42:51 +01:00
  • 4ea3370316 Shorten some long lines. nicm 2020-06-04 10:36:28 +00:00
  • a9bf5367da Correct respawn-* - they don't always use the creation command. nicm 2020-06-04 10:34:40 +00:00
  • dc74d2e054 Make the -no-clear command variants not clear the search marks either. nicm 2020-06-04 10:24:14 +00:00
  • b0a6025897 Merge branch 'obsd-master' Thomas Adam 2020-06-04 10:01:20 +01:00
  • d3c5202f50 Allow strings to span multiple lines - newlines and any leading whitespace are removed, as well as any following comments that couldn't be part of a format. This allows long formats or other strings to be annotated and indented. nicm 2020-06-04 08:30:44 +00:00
  • b3782d2dc8 Instead of using a custom parse function to process {}, treat it as a set of statements and parse with yacc, then convert back to a string as the last step. This means the rules are consistent inside and outside {}, %if and friends work at the right time, and the final result isn't littered with unnecessary newlines. nicm 2020-06-04 07:12:05 +00:00
  • f837dcdd58 Merge branch 'obsd-master' Thomas Adam 2020-06-03 18:01:17 +01:00
  • 3f6af4156f Make paste -p the default for ], GitHub issue 2248. nicm 2020-06-03 16:35:40 +00:00
  • 62c0617d79 Merge branch 'obsd-master' Thomas Adam 2020-06-03 00:01:20 +01:00
  • 3d5decb305 Merge branch 'obsd-master' Thomas Adam 2020-06-02 22:01:20 +01:00
  • 4694e9a2b6 Move the code to set up a padding cell into grid.c. nicm 2020-06-02 20:51:46 +00:00
  • 2a4d4bda2b Allow UTF-8 characters of width 0 to be stored, it is useful to be able to put padding cells in as width 0. nicm 2020-06-02 20:10:23 +00:00
  • f5366ff828 Missing ; in previous. nicm 2020-06-02 19:16:46 +00:00
  • 5fbae8c8c6 Fire copy-pipe command even if there is no text, means it works if it has side effects. nicm 2020-06-02 19:10:26 +00:00
  • ebe866c378 Merge branch 'obsd-master' Thomas Adam 2020-06-02 20:01:18 +01:00
  • 7e501f1993 UTF-8 keys need to be big endian so the size bits are at the top. nicm 2020-06-02 17:17:44 +00:00
  • 049ccb4a4b Merge branch 'obsd-master' Thomas Adam 2020-06-02 14:01:17 +01:00
  • 822ee4e0a6 Fail rather than fatal on UTF-8 width 0. nicm 2020-06-02 11:29:00 +00:00