aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add new-session -X and attach-session -x to send SIGHUP to parent whennicm2019-06-03
| | | | | detaching (like detach-client -P). From Colin Watson in GitHub issue 1773.
* yacc(1) copies its union so it is not a good place to storenicm2019-06-02
| | | | | TAILQ_HEADs. Allocate them instead. Found from a problem reported by sthen@.
* If only one of -x or -y is given, use the calculated size for thenicm2019-06-01
| | | | other. Pointed out by Ben Boeckel.
* Need stdlib.h, from Ben Boeckel.nicm2019-06-01
|
* Fix warnings, from Ben Boeckel.nicm2019-05-31
|
* Allow % strings that are all numbers or %s, and fix a double free. Bothnicm2019-05-31
| | | | reported by George Nachman, GitHub issues 1765 and 1766.
* Remove a leftover abort and some fixes from cppcheck.nicm2019-05-30
|
* No longer need to reduce line number by one.nicm2019-05-30
|
* I had hoped that non-xenl terminals had died out, at least in fairlynicm2019-05-30
| | | | | modern OSs, but no - DragonFly BSD's console returns to haunt us. Fix it at least somewhat. GitHub issue 1763.
* Use VIS_CSTYLE for the arguments and add the missing escapes it cannicm2019-05-29
| | | | generate to the parser.
* The line number needs to be updated only after the \n is processed bynicm2019-05-29
| | | | | the parser, so store a flag and update it next time around. Also each new line needs its own shared data.
* Support \ooo escapes, from Avi Halachmi.nicm2019-05-29
|
* Redraw status line if size changes, GitHub issue 1762. Also fix lengthnicm2019-05-28
| | | | of target buffer when pasting into status line.
* Do not read past the end of the argument string if it is empty.nicm2019-05-28
|
* Exit 1 correctly if source-file fails.nicm2019-05-28
|
* Allow source-file to take multiple arguments.nicm2019-05-28
|
* Change the default right click pane to open the menu if not in a modenicm2019-05-28
| | | | and no application mouse.
* Add key bindings to open the window and pane menus (C-m and M-m for now).nicm2019-05-28
|
* Allow menu items to be disabled by putting a - at the start of theirnicm2019-05-28
| | | | | name, rather than just including #[dim] which still allowed them to be chosen.
* Change display-menu from taking a single string to a set of arguments,nicm2019-05-28
| | | | which is much easier to work with. Based on a diff from Avi Halachmi.
* Clarify newlines inside {} a little.nicm2019-05-27
|
* Go less crazy with horizontal separators on default menus.nicm2019-05-27
|
* Fix crash when killing the current window, reported by Jesus Rafaelnicm2019-05-27
| | | | Sanchez in GitHub issue 1760.
* Add an additional {} syntax for defining strings in the configurationnicm2019-05-27
| | | | | | | file, making it much tidier to define commands that contain other tmux or shell commands (like if-shell). Also tweak bind-key to expect a string if it is only given one argument, so {} can be used with it as well. From Avi Halachmi.
* Fix the intended ordering of items in buffer mode - it should not alwaysnicm2019-05-27
| | | | be tag 0 when the tree is empty. GitHub issue 1759.
* Add keys for new menu items.nicm2019-05-26
|
* Always redraw overlay if it is on (so status line doesn't redraw over it).nicm2019-05-26
|
* Do not accept choice unless mouse has actually moved before.nicm2019-05-26
|
* Add formats for word and line under the mouse and use them to add somenicm2019-05-26
| | | | items to the pane menu.
* Add a way to append or prepend to a format if the length has been limited.nicm2019-05-26
|
* Some other platforms doesn't support fmemopen(3) (not unexpectedly), sonicm2019-05-26
| | | | | don't use it - since we only use getc/ungetc on the file anyway it is easy not to.
* Add <, >, <=, >= for formats, GitHub issue 1747.nicm2019-05-25
|
* Client name can actually be NULL, so use address in that case.nicm2019-05-25
|
* Use client name when logging command queue.nicm2019-05-25
|
* Merge cmd_list_parse into cmd-parse.y so it can use the new aliasnicm2019-05-25
| | | | processing code.
* Fix error handling in if-shell.nicm2019-05-25
|
* Make cmd_log_argv take a printf-like format for the prefix.nicm2019-05-25
|
* unbreak build, okay nicm@espie2019-05-23
|
* Fix line numbers - commands are added after the line ends so they need tonicm2019-05-23
| | | | get line - 1.
* Use the same argument escaping code for options as well.nicm2019-05-23
|
* Environment variables can start with { also.nicm2019-05-23
|
* Fix drawing of status-right when it is aligned to the centre, GitHubnicm2019-05-23
| | | | issue 1754.
* Break the argument escaping code into a separate function and use it tonicm2019-05-23
| | | | escape key bindings in list-keys. Also escape ~ and ; and $ properly.
* Don't remove group items for group 0 (no group).nicm2019-05-23
|
* Fix length calculation for pasting UTF-8 characters in the status line,nicm2019-05-23
| | | | GitHub issue 1753.
* Replace the split parser code (cfg.c and cmd-string.c) with a singlenicm2019-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix crash if window doesn't exist, GitHub issue 1751.nicm2019-05-22
|
* Fix a couple of Ta from Alphonse Mariya.nicm2019-05-21
|
* Fix ordering of source-file with multiple files and add flags to load_cfg.nicm2019-05-20
|
* Replace the various identical error callbacks with a single one in cmd-queue.c.nicm2019-05-20
|