Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Code Log


Commit Date  
[cc094f] (4.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 581:

Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...

2009-12-04 22:14:47 View
Download
[e35f5b] (4.4 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
[6a1ebb] (4.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 371:

Add "grouped sessions" which have independent name, options, current window and
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-11 23:38:16 View
Download
[930f67] (4.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 320:

Reference count clients and sessions rather than relying on a saved index for
cmd-choose-*.

2009-09-07 23:59:19 View
Download
[bd5b01] (4.5 kB) by Tiago Cunha Tiago Cunha

Include <ctype.h>.

2009-08-25 13:55:29 View
Download
[8fd77c] (4.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 294:

Add a choose-client command and extend choose-{session,window} to accept a
template. After a choice is made, %% (or %1) in the template is replaced by the
name of the session, window or client suitable for -t and the result executed
as a command. So, for example, "choose-window "killw -t '%%'"" will kill the
selected window.

The defaults if no template is given are (as now) select-window for
choose-window, switch-client for choose-session, and detach-client for
choose-client (now bound to D).

2009-08-25 13:53:39 View
Download
[d8a2ce] (3.3 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 217:

Show the bell/activity/current status and the window title in the choice list.

2009-08-09 16:41:17 View
Download
[d637cb] (2.7 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] (2.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
[89543e] (2.8 kB) by Nicholas Marriott Nicholas Marriott

A similar for fix for window_choose: don't rely on the callback always being
called to free data, have a separate free callback and call it from the mode
cleanup code.

2009-07-17 12:12:54 View
Download
[097b96] (2.8 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] (2.8 kB) by Nicholas Marriott Nicholas Marriott

Space trimmage mega-diff.

2009-05-04 17:58:27 View
Download
[a583bb] (2.8 kB) by Nicholas Marriott Nicholas Marriott

Display the layout name in window lists.

2009-04-30 16:27:29 View
Download
[93230a] (2.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
[95b143] (2.8 kB) by Nicholas Marriott Nicholas Marriott

Don't die when run non-interactively. DOH.

2009-01-18 19:10:08 View
Download
[3efd1f] (2.8 kB) by Nicholas Marriott Nicholas Marriott

find-window command.

2009-01-18 17:20:52 View
Download
[0e197b] (2.8 kB) by Nicholas Marriott Nicholas Marriott

Tidy a few warnings.

2009-01-17 18:47:37 View
Download
[94e9eb] (2.8 kB) by Nicholas Marriott Nicholas Marriott

Recalculate sizes and don't redraw if unnecessary.

2009-01-15 19:41:12 View
Download
[0b2a2a] (2.7 kB) by Nicholas Marriott Nicholas Marriott

Show number of panes.

2009-01-15 19:38:36 View
Download
[d29ca3] (2.7 kB) by Nicholas Marriott Nicholas Marriott

Two new commands, choose-window and choose-session which work only when bound to a key and allow the window or session to be selected from a list.

2009-01-15 19:27:31 View
Download