Thomas Adam
82bf0f4d48
configure.ac: add AC_PROC_YACC
2019-05-23 13:12:03 +01:00
Thomas Adam
8590ee65e6
TRAVIS: add bison to build deps
2019-05-23 13:12:03 +01:00
Nicholas Marriott
bf2cf33fc6
Add yacc(1) bits.
2019-05-23 13:04:41 +01:00
Thomas Adam
75aeb733f2
Merge branch 'obsd-master'
2019-05-23 13:02:27 +01:00
nicm
723010ba72
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.
2019-05-23 11:13:30 +00:00
Nicholas Marriott
7ca2e2fe88
Add a config.
2019-05-23 11:57:04 +01:00
Thomas Adam
9d450cc6d0
Merge branch 'obsd-master'
2019-05-22 21:02:28 +01:00
nicm
5571d7a21c
Fix crash if window doesn't exist, GitHub issue 1751.
2019-05-22 18:58:31 +00:00
Nicholas Marriott
e353d0cab3
Another config.
2019-05-22 19:49:48 +01:00
Nicholas Marriott
282f7fbd37
Add a test config.
2019-05-22 13:31:20 +01:00
Nicholas Marriott
b68fc7f104
Two more configs.
2019-05-22 07:12:38 +01:00
Nicholas Marriott
54dfe36340
Another.
2019-05-21 17:07:08 +01:00
Thomas Adam
c4f4904f9b
More configs
2019-05-21 16:43:34 +01:00
Nicholas Marriott
d769fec8d6
More configs.
2019-05-21 14:41:07 +01:00
Nicholas Marriott
f1ce611345
Add another one.
2019-05-21 11:28:12 +01:00
Thomas Adam
3856116069
Merge branch 'obsd-master'
2019-05-21 09:02:37 +01:00
Nicholas Marriott
afe231c94c
Add a few test configs thanks to various people.
2019-05-21 08:02:17 +01:00
nicm
ae4cccb4f1
Fix a couple of Ta from Alphonse Mariya.
2019-05-21 07:01:14 +00:00
Thomas Adam
98ee93bde3
Merge branch 'obsd-master'
2019-05-20 15:02:40 +01:00
nicm
87d82170a6
Fix ordering of source-file with multiple files and add flags to load_cfg.
2019-05-20 13:23:32 +00:00
Thomas Adam
3a7e15511b
Merge branch 'obsd-master'
2019-05-20 13:02:36 +01:00
nicm
e128c7fcd8
Replace the various identical error callbacks with a single one in cmd-queue.c.
2019-05-20 11:46:06 +00:00
nicm
8db89f8efb
Add a helper to allocate a cmd_list.
2019-05-20 11:34:37 +00:00
Thomas Adam
c271cb9ff8
Merge branch 'obsd-master'
2019-05-20 07:02:36 +01:00
nicm
6e0c663a89
Fix the color space parameter in RGB SGR, from Brad Town.
2019-05-20 05:35:46 +00:00
Thomas Adam
56246c2936
README.md: mention TODO list on the tmux wiki
2019-05-19 13:31:09 +01:00
Thomas Adam
54da493476
Merge branch 'obsd-master'
2019-05-18 23:02:36 +01:00
nicm
82ebd98c5f
Move the single command flag (CMD_CONTROL) into the shared flags.
2019-05-18 21:14:10 +00:00
Nicholas Marriott
831c67c2d8
Remove TODO, moving onto website.
2019-05-18 14:44:31 +01:00
Nicholas Marriott
d6f7be6345
Add to CHANGES.
2019-05-18 13:29:38 +01:00
Thomas Adam
eb064e8a62
Merge branch 'obsd-master'
2019-05-17 09:02:36 +01:00
nicm
9b83b1daa6
Change a couple of ACS characters to be more sensible and add a few
...
missing ones, reported by Ricardo Banffy.
2019-05-17 05:48:25 +00:00
nicm
4acd345c6a
Initialize default size variables, from Thomas Adam.
2019-05-17 05:47:31 +00:00
Thomas Adam
d9ac0e7576
Merge branch 'obsd-master'
2019-05-15 22:50:42 +01:00
Nicholas Marriott
dcf0bc2cc9
Mention CONTRIBUTING.
2019-05-15 21:42:43 +01:00
nicm
cf4566b47b
Fix dragging when in view mode rather than copy mode, GitHub issue 1740
...
from Brad Town.
2019-05-15 19:25:53 +00:00
Nicholas Marriott
50e77536fe
Less headings.
2019-05-15 20:21:38 +01:00
Nicholas Marriott
cd4e467751
Kill tmux for logs.
2019-05-15 20:21:07 +01:00
Thomas Adam
9228fead48
Merge branch 'obsd-master'
2019-05-14 09:02:28 +01:00
nicm
38b8a198ba
Fix sizing of main-vertical and main-horizontal layouts, GitHub issue 1736.
2019-05-14 07:37:50 +00:00
Thomas Adam
1eefbd28e8
Merge branch 'obsd-master'
2019-05-13 23:02:26 +01:00
nicm
1ee944a19d
Add support for overline (SGR 53), from Ricardo Banffy.
2019-05-13 20:10:23 +00:00
nicm
1b0512aa7e
Always include Lock in the menu.
2019-05-13 20:07:02 +00:00
Thomas Adam
b5b5d35eee
Merge branch 'obsd-master'
2019-05-13 11:02:31 +01:00
nicm
c5f660e33a
Fix column width for copy mode commands.
2019-05-13 08:56:07 +00:00
Nicholas Marriott
e1e520d741
Clarify a little.
2019-05-13 09:51:51 +01:00
Thomas Adam
699d9d2fac
Merge branch 'obsd-master'
2019-05-12 21:02:27 +01:00
nicm
c3c3927c2b
Oops, removed too much in last change.
2019-05-12 18:18:30 +00:00
nicm
00f19b7f91
Fix some indentation and dead assignments.
2019-05-12 18:16:33 +00:00
Thomas Adam
42da951edf
README.md: avaailable -> available
...
Correct typo.
2019-05-12 18:37:32 +01:00