From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id CE8852EA63 for ; Tue, 14 May 2019 19:06:29 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v7DE9tc-2ZPV for ; Tue, 14 May 2019 19:06:29 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 1DC852EA42 for ; Tue, 14 May 2019 19:06:29 -0400 (EDT) From: Vladislav Shpilevoy Subject: [tarantool-patches] [PATCH 0/7] swim lua preparation, again Date: Wed, 15 May 2019 02:06:18 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: kostja@tarantool.org This patchset consists of patches quite independent and needed for proper functioning of SWIM Lua API. Most of them are refactoring, and a couple of bug fixes. Branch: http://github.com/tarantool/tarantool/tree/gerold103/swim-lua-preparation Issue: https://github.com/tarantool/tarantool/issues/3234 Vladislav Shpilevoy (7): swim: drop swim_info() function swim: encapsulate 'uint16' payload size inside swim.c swim: do not rebind when new 'port' is 0 swim: set 'left' status in self on swim_quit() msgpack: allow to pass 'struct ibuf *' into encode() msgpack: allow to pass 'const char *' into decode() Drop an unused function and class src/box/lua/merger.c | 24 ++--------------- src/lib/swim/swim.c | 29 ++++---------------- src/lib/swim/swim.h | 9 ++----- src/lib/swim/swim_transport_udp.c | 14 ++++++++-- src/lua/msgpack.c | 28 ++++++-------------- src/lua/utils.c | 43 ++++++++++++++++++++++++++++++ src/lua/utils.h | 44 +++++++++++++------------------ test/app-tap/msgpack.test.lua | 7 ++--- test/app/msgpack.result | 44 ++++++++++++++++++++++++++++++- test/app/msgpack.test.lua | 16 +++++++++++ test/unit/swim.c | 20 +++++++++----- test/unit/swim.result | 21 ++++++++------- test/unit/swim_test_utils.c | 12 ++++----- test/unit/swim_test_utils.h | 6 ++--- 14 files changed, 187 insertions(+), 130 deletions(-) -- 2.20.1 (Apple Git-117)