#
03a1f8dd |
| 11-Oct-2021 |
nicm <nicm@openbsd.org> |
Add -e flag to set environment for popup, from Alexis Hildebrandt in GitHub issue 2924.
|
#
67a3a2b6 |
| 15-Sep-2021 |
nicm <nicm@openbsd.org> |
For the moment, restore if-shell and run-shell to parsing at the last moment (when the shell command completes) rather than when first invoked, GitHub issue 2872.
|
#
0b5b9347 |
| 09-Sep-2021 |
nicm <nicm@openbsd.org> |
Expand argument to run-shell again.
|
#
e4c0b811 |
| 25-Aug-2021 |
nicm <nicm@openbsd.org> |
Validate command argument types (string or command list) and give more useful error messages.
|
#
2db6a388 |
| 23-Aug-2021 |
nicm <nicm@openbsd.org> |
Move command argument parsing common functions and don't bother to parse again if given a command rather than a string.
|
#
afdf680f |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Stop caring about empty commands, just treat as a null command.
|
#
a51dead1 |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Add args parsing callback for some future work, currently unused.
|
#
1693b10b |
| 20-Aug-2021 |
nicm <nicm@openbsd.org> |
Hide struct args behind a couple of accessor functions.
|
#
d530b597 |
| 13-Aug-2021 |
nicm <nicm@openbsd.org> |
Set return code for confirm-before and make command-prompt also block, GitHub issue 2822.
|
#
309e6403 |
| 02-Mar-2021 |
nicm <nicm@openbsd.org> |
Drop support for popups where the content is provided directly to tmux (which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can
Drop support for popups where the content is provided directly to tmux (which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can accept multiple arguments to avoid escaping problems (like the other commands).
show more ...
|
#
035dc73d |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Make client -c and -t handling common in cmd-queue.c and try to be clearer about whether the client is the target client (must have a session) or not.
|
#
1c43462c |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Add helpers for the simple case of parse string and add to command queue.
|
#
c1e0bdab |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
When adding a list of commands to the queue, instead of automatically creating a new state for each group of commands, require the caller to create one and use it for all the commands in the list. Th
When adding a list of commands to the queue, instead of automatically creating a new state for each group of commands, require the caller to create one and use it for all the commands in the list. This means the current target works even with list with multiple groups (which can happen if they are defined with newlines).
show more ...
|
#
823b6d6d |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Move cmdq_state into cmd-queue.c.
|
#
054f42ac |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Rename cmdq_shared to cmdq_state which will better reflect what it is (going to be) used for.
|
#
ee160a9a |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Store a key event not a mouse event in the shared data.
|
#
040343ae |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its use more clearly defined and preparation for some future work).
|
#
90d7ba38 |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Make struct cmd local to cmd.c and move it out of tmux.h.
|
#
a6396ca2 |
| 19-Mar-2020 |
nicm <nicm@openbsd.org> |
Add a flag to run a background process in a pty as well, not used for anything yet.
|
#
0292d916 |
| 17-Jul-2019 |
nicm <nicm@openbsd.org> |
Use the right client for if -b.
|
#
780ca620 |
| 18-Jun-2019 |
nicm <nicm@openbsd.org> |
Add a cmdq_continue function rather than twiddling the flag directly.
|
#
56a89001 |
| 12-Jun-2019 |
nicm <nicm@openbsd.org> |
Pass target on to new commands with if -F.
|
#
17a881a5 |
| 25-May-2019 |
nicm <nicm@openbsd.org> |
Fix error handling in if-shell.
|
#
df6ab229 |
| 23-May-2019 |
nicm <nicm@openbsd.org> |
Replace the split parser code (cfg.c and cmd-string.c) with a single parser using yacc(1). This is a major change but is clearer and simpler and allows some edge cases to be made more consistent, as
Replace the split parser code (cfg.c and cmd-string.c) with a single parser using yacc(1). This is a major change but is clearer and simpler and allows some edge cases to be made more consistent, as well as tidying up how aliases are handled. It will also allow some further improvements later.
Entirely the same parser is now used for parsing the configuration file and for string commands. This means that constructs previously only available in .tmux.conf, such as %if, can now be used in string commands (for example, those given to if-shell - not commands invoked from the shell, they are still parsed by the shell itself).
The only syntax change I am aware of is that #{} outside quotes or a comment is now considered a format and not a comment, so #{ is now a syntax error (notably, if it is at the start of a line).
This also adds two new sections to the man page documenting the syntax and outlining how parsing and command execution works.
Thanks to everyone who sent me test configs (they still all parse without errors - but this doesn't mean they still work as intended!).
Thanks to Avi Halachmi for testing and man page improvements, also to jmc@ for reviewing the man page changes.
show more ...
|
#
04131cda |
| 27-Aug-2018 |
nicm <nicm@openbsd.org> |
Memory leaks, from Gang Fan in GitHub issue 1453.
|