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 DB3442F04D for ; Wed, 15 May 2019 06:02:53 -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 aKnQpcV7k1lf for ; Wed, 15 May 2019 06:02:53 -0400 (EDT) Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (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 46B182F04C for ; Wed, 15 May 2019 06:02:53 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 0/7] swim lua preparation, again From: Vladislav Shpilevoy References: Message-ID: <8f3025a1-257c-e810-ae18-c7fe8b8ef89d@tarantool.org> Date: Wed, 15 May 2019 13:02:44 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 Pushed to the master. On 15/05/2019 02:06, Vladislav Shpilevoy wrote: > 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) > >