aboutsummaryrefslogtreecommitdiff
path: root/arguments.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master' into masterThomas Adam2021-09-10
|\
| * Keep -? as usage.nicm2021-09-09
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-09-09
|\|
| * Expand argument to run-shell again.nicm2021-09-09
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-09-02
|\|
| * Change copying arguments to that flags without arguments are insertednicm2021-09-02
| | | | | | | | | | correctly and empty arguments lists do not crash. Fixes crash reported by & ok mpi@.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-27
|\|
| * Replace %% in command lists (by copying them) for template arguments ,nicm2021-08-27
| | | | | | | | | | this means they can be used with {} as well. Also make argument processing from an existing vector preserve commands. GitHub issue 2858.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-25
|\|
| * Validate command argument types (string or command list) and give morenicm2021-08-25
| | | | | | | | useful error messages.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-23
|\|
| * args_make_commands_now needs to take an extra reference to the returnednicm2021-08-23
| | | | | | | | command list since it will be freed already.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-23
|\|
| * Move command argument parsing common functions and don't bother to parsenicm2021-08-23
| | | | | | | | again if given a command rather than a string.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-22
|\|
| * Free value properly.nicm2021-08-21
| |
| * Pass typed arguments out of the parser into the arguments list and letnicm2021-08-21
| | | | | | | | it convert them into strings.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-21
|\|
| * Rename a member to match what it will be in future.nicm2021-08-21
| |
| * Wrap command argument definitions in their own struct.nicm2021-08-21
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-20
|\|
| * A couple more spacing fixes.nicm2021-08-20
| |
| * Hide struct args behind a couple of accessor functions.nicm2021-08-20
| |
| * Expose args_value struct (will be needed soon) and add some missing frees.nicm2021-08-20
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-20
|\|
| * Add a way to create an empty arguments set.nicm2021-08-20
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-12
|\|
| * Fix quoting with newlines and single quotes.nicm2020-06-12
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-04
|\|
| * Instead of using a custom parse function to process {}, treat it as anicm2020-06-04
| | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2020-05-26
|\|
| * Fix some error strings, from Kris Katterjohn.nicm2020-05-25
| |
| * Add formats for after hook command arguments.nicm2020-05-16
| |
* | Add formats for after hook command arguments.Nicholas Marriott2020-05-05
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-22
|\|
| * Change so main-pane-width and height can be given as a percentage.nicm2020-04-22
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-13
|\|
| * Print empty arguments properly.nicm2020-04-12
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-21
|\|
| * Break code to convert an argument as a percentage into a common function.nicm2020-03-21
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-17
|\|
| * getopt is not required to set optarg to NULL when there is no argumentnicm2020-03-17
| | | | | | | | and some do not, so set it explicitly each time.
* | Merge branch 'obsd-master'Thomas Adam2019-07-09
|\|
| * Add a -H flag to send-keys to send literal keys given as hex numbersnicm2019-07-09
| | | | | | | | | | | | (needed for control clients to send mouse sequences). Also add some format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in GitHub issues 1832 and 1833.
* | Merge branch 'obsd-master'Thomas Adam2019-06-20
|\|
| * Add a -A flag to show-options to show parent options as well.nicm2019-06-20
| |
* | Merge branch 'obsd-master'Thomas Adam2019-05-29
|\|
| * Use VIS_CSTYLE for the arguments and add the missing escapes it cannicm2019-05-29
| | | | | | | | generate to the parser.
* | Merge branch 'obsd-master'Thomas Adam2019-05-28
|\|
| * Do not read past the end of the argument string if it is empty.nicm2019-05-28
| |