Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-11 | d_type isn't portable so use lstat to get dirent modes. Suggested by and | Darren Tucker | |
"looks sane" deraadt@ | |||
2009-10-11 | Set the current window pointer to NULL when killing a winlink that is to be | Nicholas Marriott | |
replaced with link-window -k. This prevents it being pushed onto the last window stack and causing a use-after-free. Only took me an hour to find this :-/... | |||
2009-10-11 | Add a pipe-pane command to allow a pane to be piped to a shell command, for | Nicholas Marriott | |
example: pipe-pane 'cat >~/out' No arguments stops outputing and closes the pipe; the -o flag toggles a pipe and on and off (useful for key bindings). Suggested by espie@. | |||
2009-10-11 | Convert if-shell over to the background job framework as well. | Nicholas Marriott | |
2009-10-11 | Remove a debugging leftover and add copyright. | Nicholas Marriott | |
2009-10-11 | Switch run-shell over to queue the command in the background like #(). | Nicholas Marriott | |
2009-10-11 | There isn't much point in having a free function if it isn't used. | Nicholas Marriott | |
Also allow a NULL tree. | |||
2009-10-11 | Collect status from dead jobs and don't invoke the callback until both | Nicholas Marriott | |
all input (the socket is closed) and status is available. | |||
2009-10-11 | Clean up by introducing a wrapper struct for mouse clicks rather than passing | Nicholas Marriott | |
three u_chars around. As a side-effect this fixes incorrectly rejecting high cursor positions (because it was comparing them as signed char), reported by Tom Doherty. | |||
2009-10-11 | Braek some bits out of server_fill_client() that aren't really related to | Nicholas Marriott | |
polling into their own function. | |||
2009-10-10 | Put all jobs on a global all_jobs list and use that in server.c instead of | Nicholas Marriott | |
running through all the clients. | |||
2009-10-10 | -scroll mode which is dead. | Nicholas Marriott | |
2009-10-10 | Split list-panes off from list-windows. | Nicholas Marriott | |
2009-10-10 | Accept key and mouse input for keys in zombified windows if they are in a mode.. | Nicholas Marriott | |
2009-10-10 | When a window is zombified and automatic-rename is on, append [dead] to the | Nicholas Marriott | |
name. | |||
2009-10-10 | Rather than running status-left, status-right and window title #() with popen | Nicholas Marriott | |
immediately every redraw, queue them up and run them in the background, starting each once every status-interval. The actual status line uses the output from the last run. This brings several advantages: - tmux itself may be called from inside #() without causing the server to hang; - likewise, sleep or similar doesn't cause the server to block; - commands aren't run excessively often when redrawing; - commands shared by status-left and status-right, or used multiple times, will only be run once. run-shell and if-shell still use system()/popen() but will be changed over to use this too later. | |||
2009-10-10 | New option, mouse-select-pane. If on, the mouse may be used to select the | Nicholas Marriott | |
current pane. Suggested by sthen@ and also by someone else ages ago who I have forgotten. | |||
2009-10-10 | don't use a references to the device file to check the current mode | Alexandre Ratchov | |
2009-10-10 | make dev_done() common to audio and MIDI, and drop dev_thrudone() | Alexandre Ratchov | |
2009-10-10 | use dev_done() for loopback devices too and remove dev_loopdone() | Alexandre Ratchov | |
2009-10-10 | There is no point setting the scroll region up for line feeds unless scrolling | Nicholas Marriott | |
is actually going to happen, so don't. | |||
2009-10-10 | Add "grouped sessions" which have independent name, options, current window and | Nicholas Marriott | |
so on but where the linked windows are synchronized (ie creating, killing windows and so on are mirrored between the sessions). A grouped session may be created by passing -t to new-session. Had this around for a while, tested by a couple of people. | |||
2009-10-10 | We don't need independent file reader and writer anymore. So, | Alexandre Ratchov | |
destroy reader when writer terminates and destroy writer when reader terminates. This simplifies a lot the way we drain audio devices and will help simplifying other parts. | |||
2009-10-10 | Support for individual session idle time locking. May be enabled by turning off | Nicholas Marriott | |
the lock-server option (it is on by default). When this is off, each session locks when it has been idle for the lock-after-time setting. When on, the entire server locks when ALL sessions have been idle for their individual lock-after-time settings. This replaces one global-only option (lock-after-time) with another (lock-server), but the default behaviour is usually preferable so there don't seem to be many alternatives. Diff/idea largely from Thomas Adam, tweaked by me. | |||
2009-10-10 | Instead of passing a struct pollfd ** around through various functions, build | Nicholas Marriott | |
them into a tree and then convert into a flat poll array before and after poll. This adds a little code but should reduce annoying problems with ordering when adding new things that also need to be polled. | |||
2009-10-09 | Make abuf structure smaller: | Alexandre Ratchov | |
- put aproc-specific parameters into unions since they are never used together - remove constant ``data'' pointer always pointing the end of the abuf structure | |||
2009-10-09 | The UTF-8 detection idea doesn't work and I am reasonably happy with the | Nicholas Marriott | |
current methods, so remove the (already #ifdef 0'd) code. | |||
2009-10-09 | Add a simple synchronize-panes window option: when set, all input to any pane | Nicholas Marriott | |
that is part of the window is also sent to all other panes in the same window. Suggested by several, most recently Tomasz Pajor. | |||
2009-10-09 | Be less aggressive about turning the cursor off, only explicitly turn it off | Nicholas Marriott | |
when tmux is redrawing, otherwise leave in the state set by the application. | |||
2009-10-08 | some tweaks now that protocol 1 is not offered by default; ok markus | Jason McIntyre | |
2009-10-08 | Do not write "Connection to ... succeeded" messages to stdout. | Marco Pfatschbacher | |
OK gilles, rainer, millert, deraadt. | |||
2009-10-08 | disable protocol 1 by default (after a transition period of about 10 years) | Markus Friedl | |
ok deraadt | |||
2009-10-07 | Support J and K for scroll up and scroll down in copy mode with vi keys, | Nicholas Marriott | |
suggested by martynas. | |||
2009-10-07 | Fix comment. | Nicholas Marriott | |
2009-10-06 | prevent aproc structures to be deleted twice. Doesn't change anything | Alexandre Ratchov | |
for now but will be used in future code. | |||
2009-10-06 | Accept ^? for backspace as well as BSpace. | Nicholas Marriott | |
2009-10-06 | Remove scroll mode which is now redundant, copy mode should be used instead. | Nicholas Marriott | |
The = key binding now does nothing. | |||
2009-10-06 | Make C-Up and C-Down in copy mode scroll the screen up and down one line | Nicholas Marriott | |
without moving the cursor, like Up and Down in scroll mode (which will shortly disappear). | |||
2009-10-06 | bz#1596: fflush(NULL) before exec() to ensure that everying (motd | Damien Miller | |
in particular) has made it out before the streams go away. | |||
2009-10-05 | open the -f inputfile before letting lower-down functions call chdir() | Theo de Raadt | |
and move us to where we cannot open it. problem spotted by austin ok millert | |||
2009-10-05 | If no target client is specified to commands which accept one, try to guess the | Nicholas Marriott | |
current client, in a similar manner to how sessions already work: if the current session can be established and has only one client, use that; otherwise use the most recently created client. | |||
2009-10-05 | add -d flag. When started in server mode, if the -d flag is | Alexandre Ratchov | |
used aucat and midicat don't daemonize and log on stderr. | |||
2009-10-05 | missing includes | Theo de Raadt | |
2009-10-04 | Add (again) support for divert sockets. They allow you to: | Michele Marchetto | |
- queue packets from pf(4) to a userspace application - reinject packets from the application into the kernel stack. The divert socket can be bound to a special "divert port" and will receive every packet diverted to that port by pf(4). The pf syntax is pretty simple, e.g.: pass on em0 inet proto tcp from any to any port 80 divert-packet port 1 A lot of discussion have happened since my last commit that resulted in many changes and improvements. I would *really* like to thank everyone who took part in the discussion especially canacar@ who spotted out which are the limitations of this approach. OpenBSD divert(4) is meant to be compatible with software running on top of FreeBSD's divert sockets even though they are pretty different and will become even more with time. discusses with many, but mainly reyk@ canacar@ deraadt@ dlg@ claudio@ beck@ tested by reyk@ and myself ok reyk@ claudio@ beck@ manpage help and ok by jmc@ | |||
2009-10-04 | tweak previous; | Jason McIntyre | |
2009-10-04 | Get / and ? the right way round in vi mode, and use : for goto line rather than | Nicholas Marriott | |
g. | |||
2009-10-04 | Check for already locked/suspended clients in server_lock_client rather than | Nicholas Marriott | |
its callers. | |||
2009-10-04 | Add a key string for space ("Space") and document the names, suggested by | Nicholas Marriott | |
guenther@. Also document how to bind " and ', suggested by miod@. | |||
2009-10-04 | C-v and M-v too. | Nicholas Marriott | |
2009-10-04 | Support C-n/C-p with emacs keys in choice mode, also fix a comment. | Nicholas Marriott | |