From f0635717b3e840a72a962a2014b18d84fac4c83a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 11 Aug 2009 17:18:35 +0000 Subject: Switch tmux to use imsg. This is the last major change to make the client-server protocol more resilient and make the protocol versioning work properly. In future, the only things requiring a protocol version bump will be changes in the message structs, and (when both client and server have this change) mixing different versions should nicely report an error message. As a side effect this also makes the code tidier, fixes a problem with the way errors reported during server startup were handled, and supports fd passing (which will be used in future). Looked over by eric@, thanks. Please note that mixing a client with this change with an older server or vice versa may cause tmux to crash or hang - tmux should be completely exited before upgrading. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bec2a8bb..97d39afa 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,8 @@ SRCS= attributes.c buffer-poll.c buffer.c cfg.c client-fn.c \ cmd-set-environment.c cmd-show-environment.c \ cmd-up-pane.c cmd-display-message.c cmd.c \ colour.c environ.c grid-view.c grid.c input-keys.c \ - input.c key-bindings.c key-string.c layout-set.c layout.c log.c \ + imsg.c imsg-buffer.c input.c key-bindings.c key-string.c \ + layout-set.c layout.c log.c \ mode-key.c names.c options-cmd.c options.c paste.c procname.c \ resize.c screen-redraw.c screen-write.c screen.c server-fn.c \ server-msg.c server.c session.c status.c tmux.c tty-keys.c tty-term.c \ -- cgit v1.2.3