Branch: refs/heads/master
Home: https://github.com/tmux/tmux
Commit: 723010ba72e337832402f8e44981c02caa30b476
https://github.com/tmux/tmux/commit/723010ba72e337832402f8e44981c02caa30b476
Author: nicm <nicm>
Date: 2019-05-23 (Thu, 23 May 2019)
Changed paths:
M Makefile
M cfg.c
M cmd-command-prompt.c
M cmd-confirm-before.c
M cmd-display-panes.c
M cmd-if-shell.c
M cmd-list.c
A cmd-parse.y
M cmd-queue.c
M cmd-source-file.c
R cmd-string.c
M cmd.c
M control.c
M key-bindings.c
M menu.c
M mode-tree.c
M options.c
M tmux.1
M tmux.h
Log Message:
-----------
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.
Commit: 75aeb733f292639f8332df11315ca8280e5631fd
https://github.com/tmux/tmux/commit/75aeb733f292639f8332df11315ca8280e5631fd
Author: Thomas Adam <[email protected]>
Date: 2019-05-23 (Thu, 23 May 2019)
Changed paths:
M Makefile.am
M cfg.c
M cmd-command-prompt.c
M cmd-confirm-before.c
M cmd-display-panes.c
M cmd-if-shell.c
M cmd-list.c
A cmd-parse.y
M cmd-queue.c
M cmd-source-file.c
R cmd-string.c
M cmd.c
M control.c
M key-bindings.c
M menu.c
M mode-tree.c
M options.c
M tmux.1
M tmux.h
Log Message:
-----------
Merge branch 'obsd-master'
Compare: https://github.com/tmux/tmux/compare/7ca2e2fe88cd...75aeb733f292
--
You received this message because you are subscribed to the Google Groups
"tmux-git" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-git/tmux/tmux/push/refs/heads/master/7ca2e2-75aeb7%40github.com.
For more options, visit https://groups.google.com/d/optout.