Skip to content
Snippets Groups Projects
  1. Jul 06, 2015
    • Konstantin Osipov's avatar
      gh-897: stored functions in C/C++ · fccb62ce
      Konstantin Osipov authored
      Implement basic support for stored functions in C/C++.
      
      - split away struct func from struct func_def (function
      object and function definition object).
      - extend box.schema.func.create() to accept 'language' argument.
      - move module API related cmake magic to its own file
      - add test/lib to gitignore
      - update to the new test-run
      - add a test
      fccb62ce
  2. Apr 28, 2015
  3. Apr 24, 2015
  4. Apr 22, 2015
    • Roman Tsisyk's avatar
      Rename module.h to tarantool.h · b53e4674
      Roman Tsisyk authored
      b53e4674
    • Roman Tsisyk's avatar
    • Roman Tsisyk's avatar
      Define public module API for Tarantool Lua/C modules · efe97b7b
      Roman Tsisyk authored
      This patch adds `src/module.h` header file with definition of all public
      API functions suitable to use in Lua/C modules for Tarantool. This header
      is automatically generated from src/*.h by CMake (`make generate_module_api`)
      by extracting code blocks between /** \cond public */ /* \endcond public */
      Doxygen-style comments.
      
      Definitions of functions in module.h are frozen and must not be changed by
      future commits/releases. A new test case `app/module_api` is added to check
      compilation, linkage and loading of Lua modules and functionality of
      provided API functions.
      
      Other changes:
      
       * Convert mysql and pg to use module.h and prepare to convert to .c
       * Fix includes in say.h, coeio.h
       * Rename luaL_pushnumber64 to luaL_pushuint64 and
                luaL_pushinumber64 to luaL_pushint64
       * Add LUA_API macros to public luaL_* functions (actually adds extern "C")
      efe97b7b
  5. Mar 06, 2015
  6. Feb 25, 2015
  7. Jan 30, 2015
  8. Jan 21, 2015
  9. Dec 01, 2014
  10. Nov 26, 2014
  11. Nov 22, 2014
  12. Nov 18, 2014
  13. Oct 23, 2014
  14. Oct 22, 2014
  15. Oct 20, 2014
    • bigbes's avatar
      Multiple changes: · 526dade3
      bigbes authored
      0) DIST.LUA: Move dist.lua to tarantoolctl (+ DEB + RPM + DOCS)
      0) DIST.LUA: Delete -w option
      1) CMAKE: Add pod2man function for generating MAN Files from POD format
      2) RPM: Add man files for tarantoolctl, move tarantoolctl+initscripts
      from `tarantool` into `tarantool-common`
      3) DEB: Remove tarantoolctl.1 creation
      4) Remove trailing whitespaces
      
      Fixes gh-570
      Fixes gh-557
      526dade3
    • knizhnik's avatar
      Merge with master · e7206964
      knizhnik authored
      e7206964
  16. Sep 24, 2014
  17. Sep 19, 2014
    • Roman Tsisyk's avatar
      Security update for libyaml · 4657acc3
      Roman Tsisyk authored
      libyaml updated to upstream 0.1.6 (hg bce8b60f0b9a) in order to
      fix heap overflow in yaml_parser_scan_uri_escapes.
      
      This patch also revert our hack with extra identation of
      flow-style sequences and maps at root level:
      
          setmetatable({10, 15, 20}, { __serialize="seq"})
          now encoded as
          "--- [10, 15, 20]\n...\n"
          instead of
          "---\n[10, 15, 20]\n...\n".
      
      This trick is no more needed because REPL never uses flow mode
      at root level.
      4657acc3
  18. Sep 09, 2014
  19. Sep 08, 2014
  20. Sep 01, 2014
  21. Aug 31, 2014
    • bigbes's avatar
      Add systemd specs and following remarks: · 87812978
      bigbes authored
      * In RPM/DEB we introduce new utility - tarantool_ctl (extra/dist/dist.lua)
      * /var/pid -> /var/run
      * Fix extra/dist/dist.lua
      * /extra/dist/tarantool.init and /extra/dist/tarantool.service now
        are regenerated by cmake (paths to `dist.lua`)
      * Systemd service (Uses sysv-init script)
      * RPM Supports both systemd and init (by using '--with systemd' in
        rpmbuild flags)
      87812978
  22. Aug 26, 2014
    • Roman Tsisyk's avatar
      Refactor msgpack, yaml, cjson to use common code base · 5a7d8b07
      Roman Tsisyk authored
      Major changes:
      
       - All common logic and code from all serializes replaced by
         luaL_field/luaL_serializer functions
       - All features and methods were unified
       - cdata support added to JSON
       - ffi's .NULL added to JSON
       - .cfg{} method added to MsgPack, YAML and JSON
       - .new() method added to MsgPack and YAML
       - NaN and Inf checks ported from JSON
       - array vs map detection logic ported from JSON
       - support for __serialize hint added for table/cdata/userdata
       - _serializer_compact and _serializer_type superseded by __serialize
       - 64-bit integers encoding/decoding fixed in JSON and YAML
       - floating point encoding/decoding fixed in YAML
       - JSON was converted from submodule
       - New TAP-based tests added for MsgPack, MsgPackFFI, YAML, JSON
      5a7d8b07
  23. Aug 06, 2014
  24. Jul 30, 2014
  25. Jul 10, 2014
  26. Jul 09, 2014
    • Roman Tsisyk's avatar
      Improve UUID support on all platforms · 717b855c
      Roman Tsisyk authored
      This patch adds a new implementation of UUID library.
      New library generates RFC4122 compatible random-based (version 4)
      UUIDs using data from /dev/(u)random. The uuidgen(2) syscall is also
      supported on BSD system. `struct tt_uuid` redefined from RFC4122.
      Complimentary functions rewrotten to remove dependecy on e2fs libuuid.
      Lua bindings refactored to use new library and support all features.
      
      Closes #317
      717b855c
  27. Jun 27, 2014
  28. Jun 23, 2014
  29. Jun 20, 2014
  30. Jun 16, 2014
  31. Jun 11, 2014
Loading