Skip to content
Snippets Groups Projects
  1. Oct 26, 2022
    • Vladimir Davydov's avatar
      msgpack: fix crash on decode of 0xc1 · e48a8f4b
      Vladimir Davydov authored
      0xc1 isn't a valid MsgPack header, but it was allowed by mp_check.
      As a result, msgpack.decode crashed while trying to decode it.
      This commit updates the msgpuck library to fix this issue.
      
      Closes #7818
      
      NO_DOC=bug fix
      
      (cherry picked from commit ced405af)
      e48a8f4b
  2. May 31, 2022
  3. Feb 17, 2022
    • Yan Shtunder's avatar
      Add mp_encode_str0() into msgpuck.h · 99d6b8d0
      Yan Shtunder authored
      Msgpuck is a submodule for tarantool and is needed while packaging.
      Moved function of mp_encode_str0() from mp_error.cc into a common
      place is msgpuck.h.
      
      Needed for packaging workflow in tarantool/tarantool:
      tarantool/tarantool#6260
      
      NO_DOC=no visible changes
      NO_CHANGELOG=no visible changes
      99d6b8d0
  4. May 21, 2020
  5. Jun 21, 2019
    • Serge Petrenko's avatar
      lib: update msgpuck library · 00d770a9
      Serge Petrenko authored
      The ability to encode/decode ext types is added to msgpuck.
      These types will be used for decimal encoding/decoding in tarantool.
      
      Needed for #692
      00d770a9
  6. Feb 04, 2019
    • Kirill Shcherbatov's avatar
      Update msgpuck library · c4f2ffb8
      Kirill Shcherbatov authored
      The msgpack dependency has been updated because the new version
      introduces the new mp_stack class which we will use to parse
      tuple without recursion when initializing the field map.
      
      Needed for #1012
      c4f2ffb8
  7. Jun 23, 2017
  8. Feb 07, 2017
  9. Jan 27, 2017
  10. Dec 22, 2016
  11. Dec 15, 2016
  12. Oct 14, 2016
  13. Sep 28, 2016
  14. Jun 17, 2016
  15. May 12, 2016
  16. Jan 18, 2016
  17. Sep 16, 2015
  18. Aug 24, 2015
    • Sulverus's avatar
      net.box: speed optimizations · 4e9bde25
      Sulverus authored
      * msgpack encoding with lua c api(call, insert, eval, ping)
      * remove extra hash lookup in net.box
      * review fixes for netbox-write
      * rewrite all encoding fucntions using Lua/C
      * replace channels with fiber.sleep()/fiber.wakeup()
      * review fixes (remove an unnecessary include)
      4e9bde25
  19. Jan 30, 2014
  20. Jan 21, 2014
  21. Dec 25, 2013
  22. Dec 03, 2013
  23. Nov 13, 2013
    • Roman Tsisyk's avatar
      Replace BER encoding with MsgPack everywhere · 37fef8eb
      Roman Tsisyk authored
      This commit completely changes the data format used by Tarantool.
      A new binary serialization format called MsgPack (http://msgpack.org)
      has been introduced to store tuples, keys, request members, etc.
      MsgPack supports various data types and hierarchical structures. Since
      tuple & keys format has been changed, the binary protocol is no more
      compatible with 1.5 clients.
      
      The list of major changes:
      
       * Add MsgPack library and unit tests as a submodule
       * Add Lua bindings for the library and unit tests for it
       * Update IPROTO to use MsgPack for all kinds of requests
       * Change struct tuple to use MsgPack Array instead of BER-encoded fields
       * Remove fixed offsets from tuples (cannot be supported by MsgPack)
       * Replace const char *key, key_part pairs with MsgPack Arrays
       * Rework comparators and indicies to support MsgPack'ed fields
       * Merge NUM and NUM64 types into the one single type (NUM)
       * Rewrite box_lua.cc functions to support MsgPack instead of BER
       * Rewrite tuple_update to support MsgPack instead of BER
       * Totaly remove varint32 functions from all modules
       * Rework lua_tofield and YAML encoder to properly support Lua tables
       * Modifie bootstrap files and system spaces to use the new format
       * Add MsgPack support to the test system via msgpack-python
       * Update tests to use proper data types and remove unneeded box.packs
      
      Tarantool 1.6 is the world's first MsgPack-based database!
      37fef8eb
Loading