Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/7] box/console: add support for internal types
@ 2020-05-08 11:47 Cyrill Gorcunov
  2020-05-08 11:47 ` [Tarantool-patches] [PATCH 1/7] box/console: console_session_vtab -- use designated initialization Cyrill Gorcunov
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Cyrill Gorcunov @ 2020-05-08 11:47 UTC (permalink / raw)
  To: tml

In the series we implement support for internal taranool types
such as ULL. To be able to do so we implement own serializer
thus the output is simiar to encodings in yaml mode.

Once things settle down we will drop serpent module. I guess
I need to explain why serpent didn't fit: there is no interface
inside serpent to fetch internal tarantool types and adding it
means more work to do than implement an own serializer.

issue https://github.com/tarantool/tarantool/issues/4682
branch gorcunov/gh-4682-console-numbers

Cyrill Gorcunov (7):
  box/console: console_session_vtab -- use designated initialization
  box/console: use tabs instead of spaces in consolelib
  box/console: rename format to format_yaml
  box/console: rename luaL_yaml_default to serializer_yaml
  box/console: implement lua serializer
  box/console: switch to new lua serializer
  test: extend console lua test

 src/box/CMakeLists.txt            |    1 +
 src/box/lua/console.c             |  111 +++-
 src/box/lua/console.lua           |   75 +--
 src/box/lua/serialize_lua.c       | 1021 +++++++++++++++++++++++++++++
 src/box/lua/serialize_lua.h       |   67 ++
 test/app-tap/console_lua.test.lua |   28 +-
 6 files changed, 1238 insertions(+), 65 deletions(-)
 create mode 100644 src/box/lua/serialize_lua.c
 create mode 100644 src/box/lua/serialize_lua.h

-- 
2.26.2

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [Tarantool-patches] [PATCH 0/7] box/console: add support for internal types
@ 2020-05-12 13:50 Cyrill Gorcunov
  2020-05-18 12:46 ` Kirill Yukhin
  0 siblings, 1 reply; 15+ messages in thread
From: Cyrill Gorcunov @ 2020-05-12 13:50 UTC (permalink / raw)
  To: tml

In the series we implement support for internal taranool types
such as ULL. To be able to do so we implement own serializer
thus the output is simiar to encodings in yaml mode.

Once things settle down we will drop serpent module. I guess
I need to explain why serpent didn't fit: there is no interface
inside serpent to fetch internal tarantool types and adding it
means more work to do than implement an own serializer.

v-2:
 - address issues with achors encoding

issue https://github.com/tarantool/tarantool/issues/4682
branch gorcunov/gh-4682-console-numbers-2

Cyrill Gorcunov (7):
  box/console: console_session_vtab -- use designated initialization
  box/console: use tabs instead of spaces in consolelib
  box/console: rename format to format_yaml
  box/console: rename luaL_yaml_default to serializer_yaml
  box/console: implement lua serializer
  box/console: switch to new lua serializer
  test: extend console lua test

 src/box/CMakeLists.txt            |    1 +
 src/box/lua/console.c             |  111 ++-
 src/box/lua/console.lua           |   80 +--
 src/box/lua/serialize_lua.c       | 1059 +++++++++++++++++++++++++++++
 src/box/lua/serialize_lua.h       |   67 ++
 test/app-tap/console_lua.test.lua |   33 +-
 6 files changed, 1280 insertions(+), 71 deletions(-)
 create mode 100644 src/box/lua/serialize_lua.c
 create mode 100644 src/box/lua/serialize_lua.h

-- 
2.26.2

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-05-18 12:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 11:47 [Tarantool-patches] [PATCH 0/7] box/console: add support for internal types Cyrill Gorcunov
2020-05-08 11:47 ` [Tarantool-patches] [PATCH 1/7] box/console: console_session_vtab -- use designated initialization Cyrill Gorcunov
2020-05-08 11:47 ` [Tarantool-patches] [PATCH 2/7] box/console: use tabs instead of spaces in consolelib Cyrill Gorcunov
2020-05-08 11:47 ` [Tarantool-patches] [PATCH 3/7] box/console: rename format to format_yaml Cyrill Gorcunov
2020-05-08 11:47 ` [Tarantool-patches] [PATCH 4/7] box/console: rename luaL_yaml_default to serializer_yaml Cyrill Gorcunov
2020-05-08 11:47 ` [Tarantool-patches] [PATCH 5/7] box/console: implement lua serializer Cyrill Gorcunov
2020-05-08 11:47 ` [Tarantool-patches] [PATCH 6/7] box/console: switch to new " Cyrill Gorcunov
2020-05-08 11:47 ` [Tarantool-patches] [PATCH 7/7] test: extend console lua test Cyrill Gorcunov
2020-05-08 16:04 ` [Tarantool-patches] [PATCH 0/7] box/console: add support for internal types Oleg Babin
2020-05-08 16:19   ` Cyrill Gorcunov
2020-05-12 17:06     ` Mons Anderson
2020-05-12 17:31       ` Cyrill Gorcunov
2020-05-12 13:53 ` Cyrill Gorcunov
2020-05-12 13:50 Cyrill Gorcunov
2020-05-18 12:46 ` Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox