summaryrefslogtreecommitdiffstats
path: root/cmd-if-shell.c
AgeCommit message (Expand)Author
2019-05-25Fix error handling in if-shell.nicm
2019-05-23Replace the split parser code (cfg.c and cmd-string.c) with a singlenicm
2018-08-27Memory leaks, from Gang Fan in GitHub issue 1453.nicm
2018-08-23Move job struct into job.c.nicm
2018-05-24Make server_client_get_cwd used (almost) everywhere we need to work outnicm
2018-03-08Add a missing client-detached hook when the server shuts down, and donicm
2017-04-25if-shell doesn't need to queue its error message into a callback, and innicm
2017-04-22Get rid of the extra layer of flags and cmd_prepare() and just store thenicm
2017-04-22Fix if-shell without a client (so in the config file). Reported by Theonicm
2017-04-21Store state shared between multiple commands in the queue in a sharednicm
2017-04-20If a #() command doesn't exit, use its most recent line of output (itnicm
2017-03-08Add a helper function for the most common format_create/defaults/expandnicm
2017-02-03Add a window or pane id "tag" to each format tree and use it to separatenicm
2017-01-15It is silly for cmd_list_parse to return an integer error when it couldnicm
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.nicm
2016-10-16Rewrite command queue handling. Each client still has a command queue,nicm
2016-10-13Trying to do hooks generically is way too complicated and unreliable andnicm
2016-10-10Add static in cmd-* and fix a few other nits.nicm
2016-10-09Pass file/line to new command for if-shell so that errors appearnicm
2016-04-29Expand client formats (like run-shell), from Stephen M Coakley.nicm
2016-04-29Final parts of command hooks, add before- and after- hooks to each command.nicm
2016-03-01Remove some more unused variables, and use RB_FOREACH_SAFE innicm
2015-12-14Instead of combined flags for -c, -s, -t, split into different setsnicm
2015-12-13Use member names in cmd_entry definitions so I stop getting confusednicm
2015-12-13Instead of every command resolving the target (-t or -s) itself, preparenicm
2015-12-11Add cmdq as an argument to format_create and add a format for thenicm
2015-12-08Remove format_create_flags and just pass flags to format_create.nicm
2015-11-20Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.nicm
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsnicm
2015-09-16Rename cmd_q dead flag to a general flags bitmask (will be more flags later).nicm
2015-04-24Set working directory for run-shell and if-shell.nicm
2015-04-21The free callback could end up being fired before the done callbacknicm
2015-04-21Pass mouse events through to commands for if-shell.nicm
2015-04-19Rewrite of tmux mouse support which was a mess. Instead of havingnicm
2015-02-05Wrap all the individual format_* calls in a single format_defaultsnicm
2014-12-02Add -F to if-shell to allow it to be used to check for format or optionnicm
2014-10-20Instead of setting up the default keys by building the key structnicm
2013-10-10Make cmdq->client_exit a tristate (-1 means "not set") so that ifnicm
2013-03-25Try to establish client for run-shell and if-shell if no -t.Nicholas Marriott
2013-03-25Extend jobs to support writing and use that for copy-pipe instead ofNicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
2013-03-24Expand format variables in the run-shell and if-shell shell commands,Nicholas Marriott
2013-03-22Add functions to allocate and free command contexts rather than doing itNicholas Marriott
2012-08-11Remove dead code, from Sean Estabrooks.Nicholas Marriott
2012-07-11Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2011-10-27Didn't really think the else behaviour through - requiring argv toNicholas Marriott
2011-10-18Add an else clause for if-shell, from "arno-" on SourceForge.Nicholas Marriott
2011-05-25Nuke a redundant if statement, from Tiago Cunha.Nicholas Marriott
2011-01-26Simplify the way jobs work and drop the persist type, so all jobs areNicholas Marriott