Code Log


Commit Date  
[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.8 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
[5263b3] (1.9 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 150:

Now that #P could be in the status line, flag it for redraw when the active
pane changes.

2009-07-21 16:27:41 View
Download
[545893] (1.8 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
[1e574b] (1.9 kB) by Nicholas Marriott Nicholas Marriott

Get rid of the PANE_HIDDEN flag in favour of a function, and moving the
decision for whether or not a pane should be drawn out of the layout code and
into the redraw code.

This is needed for the new layout design, getting it in now to make that easier
to work on.

2009-07-15 17:42:44 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
[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
[93230a] (1.8 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
[d1eb15] (1.9 kB) by Nicholas Marriott Nicholas Marriott

switch-pane is now select-pane.

2009-01-14 19:56:55 View
Download
[b4ac8c] (None) by Nicholas Marriott Nicholas Marriott

Multiple window splitting.

2009-01-14 19:29:32 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
[f91e7b] (None) by Nicholas Marriott Nicholas Marriott

If no command is specified, assume new-session.

2008-06-03 05:35:51 View
Download
[873175] (None) by Nicholas Marriott Nicholas Marriott

Add a windowonly generic command and use it where appropriate. Also trim includes and unused.

2008-06-02 22:09:49 View
Download
[95cc21] (None) by Nicholas Marriott Nicholas Marriott

Quick man page update, also fix some usages and get rid of some CMD_KEY checks.

2008-06-02 21:36:51 View
Download
[c7243b] (None) by Nicholas Marriott Nicholas Marriott

Move -s and -c down a level so handling them is the responsibility of the command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.

2008-06-02 18:08:17 View
Download
[7dc18f] (None) by Nicholas Marriott Nicholas Marriott

set/reset mode window functions.

2007-12-06 10:04:43 View
Download
[103748] (None) by Nicholas Marriott Nicholas Marriott

Major reorganisation of screen handling.

2007-12-06 09:46:23 View
Download
[76c8a5] (None) by Nicholas Marriott Nicholas Marriott

Big internal reorganisation to move tty control into parent.

2007-11-27 19:23:34 View
Download
[18d72e] (None) by Nicholas Marriott Nicholas Marriott

Partial copy mode. Currently does the same as scroll mode but using a cursor. Also fix bug where resizing would leave crap lying around.

2007-11-22 18:09:43 View
Download
[edca8a] (None) by Nicholas Marriott Nicholas Marriott

Don't switch to scroll mode unless no other mode.

2007-11-21 20:06:48 View
Download
Older >