Commit Graph

9491 Commits

Author SHA1 Message Date
Thomas Adam
4d3367e965 Merge branch 'obsd-master' into master 2021-08-21 16:01:26 +01:00
nicm
68cacaec68 Remove some members of struct cmd which are no longer used. 2021-08-21 14:10:08 +00:00
nicm
c286fbdcd7 Preserve command group when moving temporary list to current list being
buit.
2021-08-21 14:06:17 +00:00
Thomas Adam
62036121fa Merge branch 'obsd-master' into master 2021-08-21 12:01:41 +01:00
nicm
110ba767e5 Rename a member to match what it will be in future. 2021-08-21 10:28:05 +00:00
nicm
08e6360f23 Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
nicm
d371764d02 Wrap command argument definitions in their own struct. 2021-08-21 08:44:59 +00:00
Thomas Adam
b0da0cee4d Merge branch 'obsd-master' into master 2021-08-20 22:01:46 +01:00
nicm
d589be6c65 A couple more spacing fixes. 2021-08-20 20:08:30 +00:00
nicm
caa8703a23 Spacing tweaks. 2021-08-20 20:04:22 +00:00
nicm
5f32b7d961 Hide struct args behind a couple of accessor functions. 2021-08-20 19:50:16 +00:00
nicm
de94a344f6 Add a couple of const and fix some warnings. 2021-08-20 19:34:51 +00:00
nicm
c76b28de24 Remove some unnecessary blank lines. 2021-08-20 19:08:36 +00:00
Thomas Adam
944fde7c57 Merge branch 'obsd-master' into master 2021-08-20 20:01:27 +01:00
nicm
90dd474c3e Expose args_value struct (will be needed soon) and add some missing frees. 2021-08-20 18:59:53 +00:00
nicm
6cbc83c6a6 Add a way to create an empty arguments set. 2021-08-20 17:53:54 +00:00
nicm
e463e8622d Remove stray spaces after function names. 2021-08-20 17:50:42 +00:00
nicm
01b13de655 Fill colour palette correctly from option for new panes, GitHub issue
2831.
2021-08-20 17:36:03 +00:00
Nicholas Marriott
41822ef782 Regress fixes. 2021-08-20 18:20:49 +01:00
Nicholas Marriott
5ed5b11b45 Add zeraphel complex binding to regress. 2021-08-20 14:34:44 +01:00
Thomas Adam
84955e3d62 Merge branch 'obsd-master' into master 2021-08-20 12:01:15 +01:00
nicm
f984446d19 Actually parse contents of {} as a command and then convert to a string
instead of just copying arguments around as strings.
2021-08-20 09:06:26 +00:00
Thomas Adam
0f02fecd95 Merge branch 'obsd-master' into master 2021-08-20 10:01:21 +01:00
Nicholas Marriott
28d26fca35 Update a regress conf for new syntax. 2021-08-20 07:58:44 +01:00
Nicholas Marriott
3676779156 Fix format test for new behaviour. 2021-08-20 07:58:44 +01:00
nicm
3177d7b617 Add a helper function for actually parsing the command. 2021-08-20 06:30:57 +00:00
Thomas Adam
551bafc18d Merge branch 'obsd-master' into master 2021-08-18 20:01:17 +01:00
nicm
5413a73ded Need to flatten arguments for aliases. 2021-08-18 15:16:33 +00:00
Thomas Adam
c587ad027f Merge branch 'obsd-master' into master 2021-08-18 12:01:19 +01:00
nicm
82836c7394 Push the conversion of {} to string up out of the parser and into the
command builder.
2021-08-18 10:15:08 +00:00
Thomas Adam
a8be47f0f4 Merge branch 'obsd-master' into master 2021-08-17 22:01:18 +01:00
nicm
5fdea440ce Treat a pane that has died the same as no pane when sending data to
control mode clients, GitHub issue 2828.
2021-08-17 20:17:21 +00:00
nicm
66aaa9e484 Fix pipe-pane usage. 2021-08-17 19:37:55 +00:00
nicm
2b0d798982 Do not block with incremental command prompt. 2021-08-17 19:26:42 +00:00
Thomas Adam
bacae4b4ad Merge branch 'obsd-master' into master 2021-08-17 18:01:16 +01:00
nicm
4f62aadc93 Set the right session if detach-on-destroy is off. 2021-08-17 16:19:00 +00:00
Thomas Adam
7869ec87e0 Merge branch 'obsd-master' into master 2021-08-17 14:01:16 +01:00
nicm
de9697b456 calloc for confirm-before data since the item needs to start NULL. 2021-08-17 11:20:13 +00:00
Thomas Adam
0dad8dd982 Merge branch 'obsd-master' into master 2021-08-17 10:01:19 +01:00
nicm
41ababdf6c Be more sophisticated about enabling synchronized updates when there is
an overlay and treat it like the active pane (use for commands which
move the cursor only). When there is an overlay also use it for all
panes and not just the active pane. GitHub issue 2826.
2021-08-17 08:44:52 +00:00
nicm
1a7eb6ca90 Revert previous; this is not how it should work. 2021-08-17 08:22:44 +00:00
nicm
158f0e8c41 Start sync before drawing popup. 2021-08-17 07:14:33 +00:00
Nicholas Marriott
f2d4a1f022 Needs fcntl.h. 2021-08-16 13:51:55 +01:00
Nicholas Marriott
21ce1e04fe Fuzzer needs some other bits it seems. 2021-08-14 22:30:20 +01:00
Nicholas Marriott
c1be1b351d Minor cleanups, GitHub issue 2824. 2021-08-14 18:39:56 +01:00
Thomas Adam
22e5fc02c3 Merge branch 'obsd-master' into master 2021-08-14 18:01:17 +01:00
nicm
30786abe0e Some other missing palette NULL checks, from oss-fuzz. 2021-08-14 16:26:29 +00:00
Thomas Adam
3f8954b11b Merge branch 'obsd-master' into master 2021-08-14 16:01:17 +01:00
nicm
befe7cb1c5 Do not use NULL palette when clearing. 2021-08-14 14:00:07 +00:00
Thomas Adam
65a539c02e Merge branch 'obsd-master' into master 2021-08-14 10:01:18 +01:00