Skip to content
Snippets Groups Projects
  1. Dec 04, 2013
  2. Dec 03, 2013
    • Konstantin Osipov's avatar
      space-luatriggers, gh-40, code review · b0e9a91f
      Konstantin Osipov authored
      Use common context for lua reference and for trigger state.
      Wrap all calls to lua_call into a try/catch block.
      Introduce LuarefGuard
      Remove box_luactx, it's not adding any value now.
      Implement multiple triggers. Reuse code in lua/trigger.cc.
      Misc cleanups.
      Rename a few files.
      b0e9a91f
    • Dmitry E. Oboukhov's avatar
      Add lua bindings for space triggers, fixes gh-40. · 1ea674e8
      Dmitry E. Oboukhov authored
      on_replace triggers on struct lua_trigger.
      Session and space triggers use the same technology.
      Code cleanup.
      1ea674e8
    • Konstantin Osipov's avatar
      Implement LuarefGuard, move some more state to struct trigger · 77483fc9
      Konstantin Osipov authored
      Miscallenous cleanups and refactoring.
      
      Add comments to trigger.h
      Implement LuarefGuard - a stack object to automatically
      release a Lua reference on return or exception.
      
      Add more context to struct trigger and get rid of specialized
      objects in alter.cc.
      
      Add optional 'destroy' to struct trigger, which is required
      in space-luatriggers.
      77483fc9
    • 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
  3. Dec 02, 2013
  4. Nov 29, 2013
  5. Nov 28, 2013
    • Konstantin Osipov's avatar
      Try to fix broken plugins. · 43a1be28
      Konstantin Osipov authored
      43a1be28
    • Konstantin Osipov's avatar
      Fix undefined PATH_MAX on FreeBSD · 92566bfe
      Konstantin Osipov authored
      92566bfe
    • Konstantin Osipov's avatar
      A code cleanup, pre-requisite for space-luatriggers · c6bc6375
      Konstantin Osipov authored
      Make assoc.c a C file, not C++.
      
      Remove dead code in recovery.c, read_log().
      
      Factor out utility functions from lua/init.cc to lua/utils.c,
      and use lua/utils.c in the rest of the code. The purpose
      of lua/init.c is to initialize Lua subsystem in the server.
      
      Decopule say.cc from the rest of the server, move to say.c
      
      Decouple fiber.cc from tarantool_cfg.
      
      Decouple opts.c from tarantool_cfg.
      
      Introduce lbox_call() which wraps Lua errors into a Tarantool
      exception and use it everywhere where we used to use lua_call().
      
      Remove box/box_lua.cc:root_L, which was just a copy of tarantool_L.
      
      Move plugin API implementation from lua/init.cc to src/plugin.c,
      plugins must be available for JS and others too.
      
      Remove unnecessary GNUisms from plugin.c (argh!)
      
      Remove dead code which was trying to sandbox 'ffi' package.
      
      Fix lbox_print() which prints to the log to look more like
      normal print. We should implement say() bindings in the future,
      for now make what we have work the way it should work.
      
      Update ER_PROC_LUA error message text and remove noise from it
      (imporves readability of Lua errors a bit).
      c6bc6375
    • Konstantin Osipov's avatar
      Merge branch 'tt-parallel' · a029466f
      Konstantin Osipov authored
      a029466f
    • Eugine Blikh's avatar
      Remove memcached completely · 97fc67d7
      Eugine Blikh authored
      97fc67d7
    • Eugine Blikh's avatar
      Add error messages and fix bug · 47575b65
      Eugine Blikh authored
      47575b65
  6. Nov 27, 2013
  7. Nov 26, 2013
  8. Nov 25, 2013
  9. Nov 22, 2013
Loading