Up to [local] / src / usr.bin / tmux
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7, Thu Jul 30 16:32:12 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
There aren't many client message types or code to handle them so get rid of the lookup table and use a switch, merge the tiny handler functions into it, and move the whole lot to client.c. Also change client_msg_dispatch to consume as many messages as possible and move the call to it to the right place so it checks for signals afterwards. Prompted by suggestions from eric@.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 29 14:17:26 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
Rename struct hdrtype to msgtype which is a better name and can be used even when struct hdr disappears.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 26 12:58:44 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.4: +7 -8 lines
Diff to previous 1.4 (colored)
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.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 23 20:24:27 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.3: +26 -30 lines
Diff to previous 1.3 (colored)
Tidy client message return slightly: convert flags into an enum, and merge error string into struct client_ctx as well.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 21 18:52:03 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)
Nix a few unused attributes on arguments which are no longer unused.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 2 11:17:03 2009 UTC (14 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
Make code clearer: - if (hdr->size > SIZE_MAX - 1) + if (hdr->size == SIZE_MAX) OK nicm@
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 1 22:58:49 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
Import tmux, a terminal multiplexor allowing (among other things) a single terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti