aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Drop mouse-utf8 option and always turn on UTF-8 mouse if the client saysnicm2015-11-11
| | | | it supports UTF-8.
* If realpath() fails just try the original path.nicm2015-11-10
|
* Handle absolute paths properly, and don't use resolved path innicm2015-11-10
| | | | realpath() fails.
* Same bug as last commit, but in the other copy of the loop in this file...nicm2015-11-05
|
* Update the internal wcwidth(3) table of tmux(1) to match the dataschwarze2015-11-05
| | | | | | | | | in /usr/src/share/locale/ctype/en_US.UTF-8.src, with one single exception: Keep U+00AD SOFT HYPHEN at width 1 rather than moving it to width 0, a tradition already observed in the old https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c . While here, manually rebalance the btree for optimal lookup speed. OK nicm@
* Pass through right click if mouse is on, from Patrick Palka.nicm2015-11-05
|
* Detach the client we are looping over, from Thomas Adam.nicm2015-11-03
|
* Fall back silently to ~ or / rather than checking -c with access(), thisnicm2015-10-31
| | | | was the old behaviour.
* Don't shift version out of peerid, it is needed later.nicm2015-10-31
|
* The output log is only useful once and it means creating a file, so opennicm2015-10-31
| | | | it once at startup instead of in every call to tty_open.
* Because pledge(2) does not allow us to pass directory file descriptorsnicm2015-10-31
| | | | | | | | | around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
* Break version check into a separate function, and limit version to 8 bits.nicm2015-10-29
|
* Like options, move the environ struct into environ.c.nicm2015-10-28
|
* Move struct options into options.c.nicm2015-10-27
|
* No more TMPDIR.nicm2015-10-27
|
* Break the common process set up, event loop and imsg dispatch codenicm2015-10-27
| | | | | between server and client out into a separate internal API. This will make it easier to add another process.
* Count brackets in #{?...} so that nested conditional formats work, fromnicm2015-10-27
| | | | Daniel De Graaf.
* The format callback may not always succeed, so we need to check fornicm2015-10-27
| | | | NULL. From Patrick Palka.
* Use copy-mode -et= in WheelUpPane binding, from Patrick Palka.nicm2015-10-27
|
* If a mouse event has no key binding, pass it through to the pane itnicm2015-10-26
| | | | | happened in, not the active pane like normal key presses. Fixes problems seen by Enrico Ghirardi.
* Default bindings for mouse wheel on status line to change window (likenicm2015-10-26
| | | | we had before), from Patrick Palka.
* Handle unknown keys more gracefully, return a string instead of NULL.nicm2015-10-26
|
* Some extra logging of where keys are actually going.nicm2015-10-26
|
* space before punctuation;jmc2015-10-26
|
* Extend the modifiers allowed before formats: as well as the existingnicm2015-10-25
| | | | | | | #{=10:...} length limit, add #{t:...} to convert a time_t format to a string, #{b:...} for basename and #{d:...} for dirname. Remove all the foo_string time formats as they can now be replaced by "t:", for example #{window_activity_string} becomes #{t:window_activity}.
* Pass output from jobs through format_expand() so they are expanded againnicm2015-10-25
| | | | (this was the previous behaviour).
* Let's see if anyone screams about not being able to specify $TMPDIRderaadt2015-10-25
| | | | | | | | | for their tmux sockets. (Over the years, I have seen $TMPDIR set up worse than /tmp many times, and don't know how this practice infected other parts of the system. Nothing uses tmpdir(3), nor a huge-temporary-file program like sort.) ok nicm
* Pasting mouse escape sequences is unlikely, so skip them when workingnicm2015-10-23
| | | | out whether the user is pasting.
* Remove some unnecessary checks before free().nicm2015-10-23
|
* If $TMUX is set, and we are unsure about the session, use it.nicm2015-10-23
|
* tmux can call pledge() in main with large set and then reduce itnicm2015-10-23
| | | | | slightly in the server to "stdio rpath wpath cpath fattr unix recvfd proc exec tty ps".
* Format for scroll position, from Jorge Morante.nicm2015-10-23
|
* Use tty_term_flag not _has for XT, and make -2 force direct use ofnicm2015-10-23
| | | | 256-colour escape sequences (so setaf/setab can be bypassed if needed).
* If the pane is still on all_window_panes but not actually connected tonicm2015-10-22
| | | | | | window or session (which can happen if it is killed during a command sequence and something else has a reference), fall back to the best effort. Fixes "tmux killw\; detach" for Rudis Muiznieks.
* Unzoom before -LRUD, reported by Andy Weidenbaum.nicm2015-10-22
|
* Log identify messages.nicm2015-10-22
|
* This should not be changed.nicm2015-10-22
|
* Rename shutdown to exit.nicm2015-10-22
|
* client_key_table was missing.nicm2015-10-21
|
* By popular demand add a default binding for mouse wheel up to scrollnicm2015-10-21
| | | | into history (if the mouse is, on of course).
* Use client pointer not file descriptor in logging.nicm2015-10-20
|
* The table could change when retrying so don't save it at start ofnicm2015-10-20
| | | | server_client_handle_key.
* Pass current directory as a string rather than a file descriptor becausenicm2015-10-18
| | | | pledge doesn't let us pass directory file descriptors.
* Add pledge "stdio unix sendfd proc exec tty" to tmux client process,nicm2015-10-17
| | | | "sendfd" is dropped after first message from the server.
* Don't free after calling paste_set but do after evbuffer_add, from Theonicm2015-10-16
| | | | Buehler.
* Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptguenther2015-10-11
| | | | | | sizeof(struct sockaddr_un), so do the simple, portable thing ok beck@ deraadt@
* Couple of memory leaks in error paths, from Frederik Vanderstraeten.nicm2015-10-07
|
* Adding colors=256 to *256color* was always pretty stupid and now itnicm2015-09-25
| | | | won't work (without adding setaf@:setab@ too).
* If the terminal has colors=256, only try to use setaf/setab if theynicm2015-09-25
| | | | exist, reported by Filipe Brandenburger.
* Free the history when it is cleared, based on a diff from Carlo Cannas.nicm2015-09-25
|