Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 06, 2015
  3. Feb 25, 2015
  4. Jan 30, 2015
  5. Jan 21, 2015
  6. Dec 01, 2014
  7. Nov 26, 2014
  8. Nov 22, 2014
  9. Nov 18, 2014
  10. Oct 23, 2014
  11. Oct 22, 2014
  12. 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
  13. Sep 24, 2014
  14. 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
  15. Sep 09, 2014
  16. Sep 08, 2014
  17. Sep 01, 2014
  18. 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
  19. 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
  20. Aug 06, 2014
  21. Jul 30, 2014
  22. Jul 10, 2014
  23. 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
  24. Jun 27, 2014
  25. Jun 23, 2014
  26. Jun 20, 2014
  27. Jun 16, 2014
  28. Jun 11, 2014
    • bigbes's avatar
      Add generating src.rpm in the current dir · 452e7564
      bigbes authored
      452e7564
    • bigbes's avatar
      Fix error related to absence of rpmbuild · 1fa3e8fb
      bigbes authored
      1fa3e8fb
    • bigbes's avatar
      Update rpmspec · 9d1039e9
      bigbes authored
      * Move building of modules into Lua (in rpmspec)
      * Remove tarantool.cfg and init.d/tarantool_box from SCL spec (bug in cmake28-epel-6-x86_64)
      * Merge two specs (for EL and other RPM linuxes)
      * Add Fedora's Mock specifications
      9d1039e9
    • bigbes's avatar
      - Create 3 new rpm-specs: · df24154c
      bigbes authored
        * extra/rpm/tarantool-scl.rpm.spec - SCL spec for 1.5
        * extra/rpm/tarantool-el.rpm.spec.in - Enetrprise Linux 5/6 Specification
        * extra/rpm/tarantool.rpm.spec.in - Specification for other Linuxs
      - Build (tarantool-el.rpm.spec and tarantool.rpm.spec) with `--define 'scl 15'`for SCL build.
      - Preserve old spec (for compatibility)
      - Add dependencies into Specifications, two specs for Mock.
      - Create configuration files for Mock builds for EL-{5,6}-{i386,x86_64}
      
        Working with Mock:
          cmake .
          make new_rpm{_el,}_src
          mock -r <config> --init
          mock -r <config> --rebuild <path_to_srpm>
      
        Merging commits
      df24154c
Loading