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  
[c12e0b] (1.7 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 567:

Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.

2009-11-28 14:50:37 View
Download
[e35f5b] (1.7 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
[d637cb] (1.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
[097b96] (1.7 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
[bb459b] (1.7 kB) by Nicholas Marriott Nicholas Marriott

Whitespace and more syncing.

2009-06-25 16:34:50 View
Download
[cdce5f] (1.7 kB) by Nicholas Marriott Nicholas Marriott

Indentation.

2009-05-19 16:29:35 View
Download
[6db7bd] (1.7 kB) by Nicholas Marriott Nicholas Marriott

Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide character and seeing how much the cursor moves. Currently tries to figure out if this works by some stupid checks on the terminal, these need to be rethought. Also might be better using a width 1 character rather than width 2.

2009-05-19 16:08:35 View
Download
[03d531] (1.6 kB) by Nicholas Marriott Nicholas Marriott

Move sx,sy into tty rather than client.

2009-02-11 17:50:36 View
Download
[93230a] (1.6 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
[fb6c8e] (1.6 kB) by Nicholas Marriott Nicholas Marriott

New command, server-info, to show server info + terminal details. Also tweak term stuff a bit.

2009-01-10 01:30:38 View
Download
[ed1031] (1.6 kB) by Nicholas Marriott Nicholas Marriott

Update key handling code. Simplify, support ctrl properly and add a new window option (xterm-keys) to output xterm key codes including ctrl and, if available, alt and shift.

2009-01-09 16:45:58 View
Download
2009-01-07 20:11:51 View
Download
[0b9b87] (1.6 kB) by Nicholas Marriott Nicholas Marriott

Big reorganisation of command-line syntax.

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

Easy bits of arg printing for list-keys.

2008-06-05 16:35:32 View
Download
[f91e7b] (1.6 kB) by Nicholas Marriott Nicholas Marriott

If no command is specified, assume new-session.

2008-06-03 05:35:51 View
Download
[eaee4d] (1.6 kB) by Nicholas Marriott Nicholas Marriott

Quick and dirty kill-server command.

2008-06-03 05:10:38 View
Download
[c7243b] (1.6 kB) 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
[76c8a5] (1.6 kB) by Nicholas Marriott Nicholas Marriott

Big internal reorganisation to move tty control into parent.

2007-11-27 19:23:34 View
Download
[b359f9] (1.6 kB) by Nicholas Marriott Nicholas Marriott

Add -c option to specify client, and move detach/refresh to client rather than session.

2007-11-16 21:12:31 View
Download
[25e94a] (1.6 kB) by Nicholas Marriott Nicholas Marriott

List client command.

2007-10-23 09:36:19 View
Download
[26b340] (None) by Nicholas Marriott Nicholas Marriott

Lose command index enum in favour of runtime-calculated index.

2007-10-04 22:04:01 View
Download
[75e1e4] (None) by Nicholas Marriott Nicholas Marriott

Lose usage and move it into the struct.

2007-10-04 21:48:11 View
Download
[292ad5] (None) by Nicholas Marriott Nicholas Marriott

List keys command.

2007-10-04 00:18:59 View
Download
[815815] (None) by Nicholas Marriott Nicholas Marriott

Next/last/previous window, some other tweaks.

2007-10-04 00:02:10 View
Download
[df716e] (None) by Nicholas Marriott Nicholas Marriott

Rewrite command handling to be more generic. Not finished!

2007-10-03 21:31:07 View
Download