Skip to content
Snippets Groups Projects
  1. Feb 10, 2014
  2. Feb 06, 2014
    • Dmitry Simonenko's avatar
      remove absolute prefix from MODULE_DIR · 5ce02833
      Dmitry Simonenko authored
      5ce02833
    • Dmitry Simonenko's avatar
      plugins-to-lua-modules: migrate from plugins to lua modules. · 4f6db98f
      Dmitry Simonenko authored
      Summary:
      * PLUGIN_DIR -> MODULE_DIR
      * MODULE_DIR prefix is /usr/lib/tarantool/VERSION
      * MODULE_DIR automatically appends to both lua c/path
      * removed plugin autoload facility in src/lua/init.cc
      * removed admin console plugin dependencies
      * moved src/box/lua/sql.lua to separate module = require('box.net.sql')
      * moved src/plugin/pg = require('box.net.pg')
      * moved src/plugin/mysql = require('box.net.mysql')
      * default .so and .lua install is lib/tarantool/modules/{box/net/}
      * debian spec and tests are updated
      4f6db98f
  3. Jan 28, 2014
  4. Dec 25, 2013
  5. Dec 24, 2013
    • Eugine Blikh's avatar
      ### site building · cd4e3270
      Eugine Blikh authored
      All layouts are in doc/www-data.in/_layout and are written in Jinja1
      (django-like templates). All texts are in doc/www-data.in/_texts
      
      Text files contains YAML files with chunks of markdown strings:
      ```
      $module:
          $uno: |
              some text in markdown
          $dos: |
              it may be multiline
          $tres: |
              # header 1
              ```
              may have some embedded code
              ```
              e.t.c
          ...
      ```
      where `$module` is name of layout file, `$uno`, `$dos`, `$tres`... are
      name of parts (template parts `{{ $module.$part }}`)
      Site still stores files in `doc/www-data` for copying on server.
      Also it integrates documentation (only on stable/master branches) into site (still templlates)
      Usage of new `extra/static.py`:
      ```bash
      $ cmake . -DENABLE-DOC=TRUE
      $ make
      $ cd /doc/www-data.in/
      $ ../../extra/static.py site `# build site`
      $ ../../extra/static.py docs `# embed docs`
      ```
      
       ### documentation building
      
      Add `html-saxon-chunk` and `html-chunk` targets for building chunked
      html documentation.
      
      `make` in `doc/user` now builds `html-saxon` and `html-saxon-chunk`
      targets
      cd4e3270
  6. Dec 21, 2013
  7. Dec 16, 2013
  8. Dec 06, 2013
  9. Dec 03, 2013
    • Konstantin Osipov's avatar
      Since msgpuck is an external project, remove #include <lib/library/header.h> · f33c1c87
      Konstantin Osipov authored
      msgpuck is an external project and hosts its headers within
      the same directory which contains its C files.
      
      Therefore, for msgpuck, we have to add src/lib to the header search path,
      whether we want it or not.
      
      Since it's there anyway, kill include/lib and move all
      headers of all other stand-alone libraries to their respective
      directories in lib/.
      
      include_directories(src/) is a total blasphemy, and is thus
      removed.
      f33c1c87
  10. Dec 02, 2013
  11. 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
    • Roman Tsisyk's avatar
      2f72b43a
  12. Nov 01, 2013
  13. Oct 12, 2013
  14. Oct 10, 2013
    • Konstantin Osipov's avatar
      Another attempt to fix fdatasync() on Darwin and FreeBSD · 4ac5a610
      Konstantin Osipov authored
      Use check_symbol_exists(), not check_function_exists(),
      to discover fdatasync(), since apparently on some BSD systems
      the symbol is present in the library but not in the headers
      (I hope not vice versa).
      
      Don't use check_prototype_definition, since it's not available
      in CMake 2.6.
      4ac5a610
  15. Oct 09, 2013
    • Konstantin Osipov's avatar
      https://blueprints.launchpad.net/tarantool/+spec/start-replication-last-dump · c67278ce
      Konstantin Osipov authored
      Review fixes:
      
      - New configuration variable 'replication_protocol'
      is defined in the configuration file. The original patch
      would hand-craft it into generated files.
      - Simplified  numeric version id generation.
      - Removed timeouts from new sio_* calls. They did't quite work,
      especially with blocking sockits. Timeouts should at least use
      select(), which updates wait time on exit..
      - Removed include cfg/tarantool_box_cfg.h into recovery.cc, instead
      passed around all arguments explicitly.
      - Removed unused headers.
      - reused handshake code in master and replica
      - simplified handshake in replica fiber
      - removed clutter
      - touched here and there.
      c67278ce
  16. Sep 30, 2013
  17. Sep 23, 2013
  18. Sep 08, 2013
  19. Aug 26, 2013
    • Dmitry Simonenko's avatar
      lua-console: make admin console work entirely under lua. · 90ebc525
      Dmitry Simonenko authored
      Integrate libyaml instead of internal yaml formaters.
      
      changelog:
      * fixed i64 convertion bug
      * refactored bindings to new admin .info() scheme
      * moved lua plugin api to separate file
      * moved lua fiber api to separate file
      * slab binding refactored
      * added fiber lua bindings
      * rewriten admin reply handler
      * proper yaml end-of-document formater
      * proper server error formater
      * fixed bug with leftover data on stack on exception error
      * added support of i64 types to lyyaml
      * removed couple of box.show_ bindings
      * console client fixes to support new scheme
      
      This push has a yet broken test's.
      90ebc525
  20. Aug 20, 2013
  21. Jul 11, 2013
  22. Jul 10, 2013
  23. Jul 08, 2013
  24. Jun 28, 2013
  25. Jun 25, 2013
  26. Jun 24, 2013
  27. Jun 20, 2013
  28. Jun 18, 2013
  29. Jun 07, 2013
  30. Jun 06, 2013
    • Konstantin Osipov's avatar
      Hand-port rpm-split-spec branch. · 4583e56d
      Konstantin Osipov authored
      The patch which removes the CPack-generated spec
      and adds a proper spec for client, server and library
      was done by Dmitry Simonenko.
      
      Hand-port the patch to the master, since it's gone too
      far away from the origin and merging it ends up in a mess.
      4583e56d
  31. Jun 04, 2013
Loading