Skip to content
Snippets Groups Projects
  1. Apr 22, 2015
    • 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. Apr 20, 2015
  3. Apr 17, 2015
  4. Apr 16, 2015
  5. Apr 15, 2015
  6. Apr 14, 2015
    • Konstantin Osipov's avatar
      gh-791: a fix and a test case · 7a8668d8
      Konstantin Osipov authored
      A fix and a test case for gh-791: call() return value can't contain
      a Lua map.
      
      Treat a map as a scalar, i.e. convert it to a tuple field on return
      from call.
      
      Use a simple heuristics to distinguish a map from an array:
      if the first key of the map is integer 1, it's an array.
      This approach works pretty well for JSON maps, which can't have
      non-string keys anyway.
      7a8668d8
    • Konstantin Osipov's avatar
      setlocale: silence the warning on CentOS 6.6 · d7047223
      Konstantin Osipov authored
      If failed to set locale to C.UTF-8 (the standard one which supports UTF-8),
      try other options. Keep trying ad naeuseam to silence the warning,
      since this raises support questions.
      
      CentOS 6.6 has en_US.utf8.
      Debian, FreeBSD and Darwin have en_US.utf-8.
      d7047223
    • Konstantin Osipov's avatar
      Merge branch 'ocelot-master' · e710df9a
      Konstantin Osipov authored
      e710df9a
  7. Apr 13, 2015
  8. Apr 12, 2015
  9. Apr 11, 2015
  10. Apr 10, 2015
  11. Apr 09, 2015
    • Roman Tsisyk's avatar
      Fix #323: implement system views · 4c159681
      Roman Tsisyk authored
      Add _vspace, _vindex, _vuser, _vfunc and _vpriv virtual spaces (views)
      which contains only objects allowed to the current user.
      
      This patch is needed for client connectors to work under non-admin user.
      4c159681
Loading