Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Code Log


Commit Date  
[b43388] (1.9 kB) by Nicholas Marriott Nicholas Marriott

We can't tell what the terminal has done with a DCS string, so reset the
cursor and attributes afterwards.

2012-09-05 09:59:41 View
Download
[81858d] (1.9 kB) by Tiago Cunha Tiago Cunha

Now that the queue _SAFE macros are available, use them instead of rolling
our own. This is analogous to the recent changes to the detach-client and
kill-{session,window} commands.

2012-07-12 21:04:43 View
Download
[1f5e6e] (2.0 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 1151:

Make command exec functions return an enum rather than -1/0/1 values and
add a new value to mean "leave client running but don't attach" to fix
problems with using some commands in a command sequence. Most of the
work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.

2012-07-11 19:37:32 View
Download
[391f1f] (1.9 kB) by Tiago Cunha Tiago Cunha

Expand the Id keyword.

2011-07-09 09:42:33 View
Download
[1df427] (2.0 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 829:

Clean up and simplify tmux command argument parsing.

Originally, tmux commands were parsed in the client process into a
struct with the command data which was then serialised and sent to the
server to be executed. The parsing was later moved into the server (an
argv was sent from the client), but the parse step and intermediate
struct was kept.

This change removes that struct and the separate parse step. Argument
parsing and printing is now common to all commands (in arguments.c) with
each command left with just an optional check function (to validate the
arguments at parse time), the exec function and a function to set up any
key bindings (renamed from the old init function).

This is overall more simple and consistent.

There should be no changes to any commands behaviour or syntax although
as this touches every command please watch for any unexpected changes.

2011-01-07 14:45:34 View
Download
[e35f5b] (2.1 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 539:

Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the
command entry structs and a couple of functions to check/set the flags.

2009-11-14 17:56:39 View
Download
[85ae64] (2.1 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 442:

-a option to kill all except current pane. From Tiago Cunha, thanks!

2009-10-25 10:41:03 View
Download
[7335ef] (1.7 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 333:

Move some common and untidy code for window link/unlink into generic functions
instead of duplicating it in move/link window..

2009-09-20 22:15:32 View
Download
[1650b8] (1.7 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 200:

Merge pane number into the target specification for pane commands. Instead of
using -p index, a target pane is now addressed with the normal -t window form
but suffixed with a period and a pane index, for example :0.2 or
mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in
the current window, if that fails the same rules are followed as for a target
window and the current pane in that window used.

As a side-effect this now means that swap-pane can swap panes between
different windows.

Note that this changes the syntax of the break-pane, clear-history, kill-pane,
resize-pane, select-pane and swap-pane commands.

2009-07-30 20:45:20 View
Download
[d637cb] (1.9 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 181:

Make all messages sent between the client and server fixed size.

This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.

As a side-effect this also removes a lot of now-unused command marshalling
code.

Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.

2009-07-28 22:12:16 View
Download
[545893] (1.9 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 142:

Each window now has a tree of layout cells associated with it. In this tree,
each node is either a horizontal or vertical cell containing a list of other
cells running from left-to-right or top-to-bottom, or a leaf cell which is
associated with a pane.

The major functional changes are:

- panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and
vertically (splitw -v, C-b ");
- panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D,
bound to C-b left/right/up/down and C-b M-left/right/up/down);
- layouts are now applied and then may be modified by resizing or splitting
panes, rather than being fixed and reapplied when the window is resized or
panes are added;
- manual-vertical layout is no longer necessary, and active-only layout is gone
(but may return in future);
- the main-pane layouts now reduce the size of the main pane to fit all panes
if possible.

Thanks to all who tested.

2009-07-20 15:42:05 View
Download
[19cb1f] (1.9 kB) by Nicholas Marriott Nicholas Marriott

Make it so using kill-pane to destroy the last pane in a window destroys the
window instead of being an error.

2009-07-18 11:07:14 View
Download
[097b96] (1.9 kB) by Nicholas Marriott Nicholas Marriott

Having fixed flags for single-character getopt options is a bit hard to
maintain and is only going to get worse as more are used. So instead, add a new
uint64_t member to cmd_entry which is a bitmask of upper and lowercase options
accepted by the command.

This means new single character options can be used without the need to add it
explicitly to the list.

2009-07-14 06:43:33 View
Download
[143aa7] (1.9 kB) by Nicholas Marriott Nicholas Marriott

Space trimmage mega-diff.

2009-05-04 17:58:27 View
Download
[91bc68] (1.9 kB) by Nicholas Marriott Nicholas Marriott

- Allow switching to hidden windows (for active-only layout).
- Don't update unnecessarily for other layouts when changing active pane doesn't matter.

2009-04-01 21:10:08 View
Download
[b6450b] (1.9 kB) by Nicholas Marriott Nicholas Marriott

Basic horizontal splitting and layout management. Still some redraw and other
issues - particularly, don't mix with manual pane resizing and be careful when
viewing from multiple clients; generally cycling the layout a few times will
fix most problems. Getting this in for testing while I think about how to deal
with manual mode.

Split window as normal and cycle the layouts with C-b space. Some of the
layouts will work better when swap-pane comes along.

2009-04-01 18:21:42 View
Download
[56f80a] (1.9 kB) by Nicholas Marriott Nicholas Marriott

break-pane command to split a pane off into a new window; bound to ! by default.

2009-03-07 09:29:54 View
Download
[93230a] (1.9 kB) by Nicholas Marriott Nicholas Marriott

Pass return code from _exec; allow command sequences to work from the command line.

2009-01-19 18:23:40 View
Download
[b4ac8c] (1.9 kB) by Nicholas Marriott Nicholas Marriott

Multiple window splitting.

2009-01-14 19:29:32 View
Download
[f85559] (1.9 kB) by Nicholas Marriott Nicholas Marriott

kill-pane command.

2009-01-13 06:50:10 View
Download
[162bac] (None) by Nicholas Marriott Nicholas Marriott

Window splitting. Two vertical panes fixed 50% each. This is a huge diff, still a couple of bugs (notably heap corruption somewhere causing segfault on exit).

2009-01-11 23:31:46 View
Download
[88ab74] (None) by Nicholas Marriott Nicholas Marriott

Clock mode.

2009-01-10 19:35:40 View
Download
[9722e7] (None) by Nicholas Marriott Nicholas Marriott

Comments no longer valid.

2009-01-10 18:08:55 View
Download
[0b9b87] (None) by Nicholas Marriott Nicholas Marriott

Big reorganisation of command-line syntax.

2008-06-05 21:25:00 View
Download
[642c0b] (None) by Nicholas Marriott Nicholas Marriott

Easy bits of arg printing for list-keys.

2008-06-05 16:35:32 View
Download
Older >