Skip to content
Snippets Groups Projects
  1. Apr 14, 2014
  2. Apr 11, 2014
  3. Apr 10, 2014
  4. Apr 08, 2014
    • Konstantin Osipov's avatar
      [gh-226] First approximation of interactive mode. · 22fff07b
      Konstantin Osipov authored
      tarantool_box without arguments runs in interactive mode.
      @todo:
          - log_level by default should be 'critical'
          - wal_mode by default should be 'none'
          - pid_file by default should be 'none'
          - readline should be called via coeio, to not block
          event loop while it's running
      22fff07b
  5. Mar 20, 2014
    • Roman Tsisyk's avatar
      Fix build system to properly support pluggable modules · 876e401a
      Roman Tsisyk authored
       * Install *.lua modules into ${DATADIR}/tarantool/1.5
          and *.so modules into ${LIBDIR}/tarantool/1.5
       * Fix default package.path and package.cpath
       * Install Lua headers to ${INCLUDE_DIR}/tarantool/1.5
       * Install config.h to ${INCLUDE_DIR}/tarantool/1.5
       * Add a new package - tarantool-dev (server development headers)
       * Use RPM Macroses in rpm.spec
       * Fix tarball generation for Debian
       * Use GNUInstallDirs.cmake to setup directories
      876e401a
  6. Feb 10, 2014
  7. 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
  8. Jan 28, 2014
  9. Dec 25, 2013
  10. 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
  11. Dec 21, 2013
  12. Dec 16, 2013
  13. Dec 06, 2013
  14. 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
  15. Dec 02, 2013
  16. 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
  17. Nov 01, 2013
  18. Oct 12, 2013
  19. 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
  20. 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
  21. Sep 30, 2013
  22. Sep 23, 2013
  23. Sep 08, 2013
  24. 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
  25. Aug 20, 2013
  26. Jul 11, 2013
  27. Jul 10, 2013
  28. Jul 08, 2013
Loading