From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladislav Shpilevoy Subject: [PATCH 0/2] Move 'core' lib to src/lib Date: Mon, 25 Feb 2019 23:56:45 +0300 Message-Id: To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com List-ID: The commit messages comprehensively describe the intention of this patchset, so I will not copypaste it here. Just one sentence: it is needed for SWIM, since SWIM depends in src/, being itself placed in src/lib/ - it is illegal. Branch: http://github.com/tarantool/tarantool/tree/gerold103/relocate-core-lib Vladislav Shpilevoy (2): Move 'uri' lib to src/lib/ Move 'core' and 'uuid' libs to src/lib CMakeLists.txt | 2 + src/CMakeLists.txt | 82 +++--------------------------- src/box/applier.h | 2 +- src/lib/CMakeLists.txt | 3 ++ src/lib/core/CMakeLists.txt | 49 ++++++++++++++++++ src/{ => lib/core}/assoc.c | 0 src/{ => lib/core}/assoc.h | 0 src/{ => lib/core}/backtrace.cc | 0 src/{ => lib/core}/backtrace.h | 0 src/{ => lib/core}/cbus.c | 0 src/{ => lib/core}/cbus.h | 0 src/{ => lib/core}/clock.c | 0 src/{ => lib/core}/clock.h | 0 src/{ => lib/core}/coio.cc | 0 src/{ => lib/core}/coio.h | 0 src/{ => lib/core}/coio_buf.cc | 0 src/{ => lib/core}/coio_buf.h | 0 src/{ => lib/core}/coio_file.c | 0 src/{ => lib/core}/coio_file.h | 0 src/{ => lib/core}/coio_task.c | 0 src/{ => lib/core}/coio_task.h | 0 src/{ => lib/core}/coll.c | 0 src/{ => lib/core}/coll.h | 0 src/{ => lib/core}/coll_def.c | 0 src/{ => lib/core}/coll_def.h | 0 src/{ => lib/core}/diag.c | 0 src/{ => lib/core}/diag.h | 0 src/{ => lib/core}/errinj.c | 0 src/{ => lib/core}/errinj.h | 0 src/{ => lib/core}/evio.c | 1 - src/{ => lib/core}/evio.h | 2 +- src/{ => lib/core}/exception.cc | 0 src/{ => lib/core}/exception.h | 0 src/{ => lib/core}/fiber.c | 0 src/{ => lib/core}/fiber.h | 0 src/{ => lib/core}/fiber_channel.c | 0 src/{ => lib/core}/fiber_channel.h | 0 src/{ => lib/core}/fiber_cond.c | 0 src/{ => lib/core}/fiber_cond.h | 0 src/{ => lib/core}/fiber_pool.c | 0 src/{ => lib/core}/fiber_pool.h | 0 src/{ => lib/core}/fio.c | 0 src/{ => lib/core}/fio.h | 0 src/{ => lib/core}/http_parser.c | 0 src/{ => lib/core}/http_parser.h | 0 src/{ => lib/core}/latch.c | 0 src/{ => lib/core}/latch.h | 0 src/{ => lib/core}/memory.c | 0 src/{ => lib/core}/memory.h | 0 src/{ => lib/core}/mpstream.c | 0 src/{ => lib/core}/mpstream.h | 0 src/{ => lib/core}/port.c | 0 src/{ => lib/core}/port.h | 0 src/{ => lib/core}/random.c | 0 src/{ => lib/core}/random.h | 0 src/{ => lib/core}/ratelimit.h | 0 src/{ => lib/core}/reflection.c | 0 src/{ => lib/core}/reflection.h | 0 src/{ => lib/core}/say.c | 0 src/{ => lib/core}/say.h | 0 src/{ => lib/core}/sio.c | 2 +- src/{ => lib/core}/sio.h | 0 src/{ => lib/core}/trigger.cc | 0 src/{ => lib/core}/trigger.h | 0 src/{ => lib/core}/util.c | 0 src/lib/uri/CMakeLists.txt | 10 ++++ src/{ => lib/uri}/uri.c | 0 src/{ => lib/uri}/uri.h | 0 src/{ => lib/uri}/uri.rl | 0 src/lib/uuid/CMakeLists.txt | 2 + src/{ => lib/uuid}/tt_uuid.c | 0 src/{ => lib/uuid}/tt_uuid.h | 0 src/lua/httpc.c | 2 +- test/unit/CMakeLists.txt | 4 +- test/unit/uri.c | 2 +- 75 files changed, 80 insertions(+), 83 deletions(-) create mode 100644 src/lib/core/CMakeLists.txt rename src/{ => lib/core}/assoc.c (100%) rename src/{ => lib/core}/assoc.h (100%) rename src/{ => lib/core}/backtrace.cc (100%) rename src/{ => lib/core}/backtrace.h (100%) rename src/{ => lib/core}/cbus.c (100%) rename src/{ => lib/core}/cbus.h (100%) rename src/{ => lib/core}/clock.c (100%) rename src/{ => lib/core}/clock.h (100%) rename src/{ => lib/core}/coio.cc (100%) rename src/{ => lib/core}/coio.h (100%) rename src/{ => lib/core}/coio_buf.cc (100%) rename src/{ => lib/core}/coio_buf.h (100%) rename src/{ => lib/core}/coio_file.c (100%) rename src/{ => lib/core}/coio_file.h (100%) rename src/{ => lib/core}/coio_task.c (100%) rename src/{ => lib/core}/coio_task.h (100%) rename src/{ => lib/core}/coll.c (100%) rename src/{ => lib/core}/coll.h (100%) rename src/{ => lib/core}/coll_def.c (100%) rename src/{ => lib/core}/coll_def.h (100%) rename src/{ => lib/core}/diag.c (100%) rename src/{ => lib/core}/diag.h (100%) rename src/{ => lib/core}/errinj.c (100%) rename src/{ => lib/core}/errinj.h (100%) rename src/{ => lib/core}/evio.c (99%) rename src/{ => lib/core}/evio.h (99%) rename src/{ => lib/core}/exception.cc (100%) rename src/{ => lib/core}/exception.h (100%) rename src/{ => lib/core}/fiber.c (100%) rename src/{ => lib/core}/fiber.h (100%) rename src/{ => lib/core}/fiber_channel.c (100%) rename src/{ => lib/core}/fiber_channel.h (100%) rename src/{ => lib/core}/fiber_cond.c (100%) rename src/{ => lib/core}/fiber_cond.h (100%) rename src/{ => lib/core}/fiber_pool.c (100%) rename src/{ => lib/core}/fiber_pool.h (100%) rename src/{ => lib/core}/fio.c (100%) rename src/{ => lib/core}/fio.h (100%) rename src/{ => lib/core}/http_parser.c (100%) rename src/{ => lib/core}/http_parser.h (100%) rename src/{ => lib/core}/latch.c (100%) rename src/{ => lib/core}/latch.h (100%) rename src/{ => lib/core}/memory.c (100%) rename src/{ => lib/core}/memory.h (100%) rename src/{ => lib/core}/mpstream.c (100%) rename src/{ => lib/core}/mpstream.h (100%) rename src/{ => lib/core}/port.c (100%) rename src/{ => lib/core}/port.h (100%) rename src/{ => lib/core}/random.c (100%) rename src/{ => lib/core}/random.h (100%) rename src/{ => lib/core}/ratelimit.h (100%) rename src/{ => lib/core}/reflection.c (100%) rename src/{ => lib/core}/reflection.h (100%) rename src/{ => lib/core}/say.c (100%) rename src/{ => lib/core}/say.h (100%) rename src/{ => lib/core}/sio.c (99%) rename src/{ => lib/core}/sio.h (100%) rename src/{ => lib/core}/trigger.cc (100%) rename src/{ => lib/core}/trigger.h (100%) rename src/{ => lib/core}/util.c (100%) create mode 100644 src/lib/uri/CMakeLists.txt rename src/{ => lib/uri}/uri.c (100%) rename src/{ => lib/uri}/uri.h (100%) rename src/{ => lib/uri}/uri.rl (100%) create mode 100644 src/lib/uuid/CMakeLists.txt rename src/{ => lib/uuid}/tt_uuid.c (100%) rename src/{ => lib/uuid}/tt_uuid.h (100%) -- 2.17.2 (Apple Git-113)