Skip to content
Snippets Groups Projects
  1. Jul 25, 2011
    • Konstantin Osipov's avatar
      Merge remote branch 'origin' · 4adf2783
      Konstantin Osipov authored
      4adf2783
    • Konstantin Osipov's avatar
      Lua: code review. Add rudimentary Lua support. · 70f14ca3
      Konstantin Osipov authored
      Implement rudimentary Lua support in the administrative console.
      Remove exec module command, it's not used and we now
      have Lua for similar purposes.
      
      Add a first Lua module, "box", which
      has only one function -- "pack", and test it.
      'pack' is derived from box.tbuf module in the
      original Lua patch.
      
      Fix a bug in box-protocol.txt, tuple format
      description.
      
      Add a copyright header to include/errcode.h (unrelated).
      
      Implement a prototype for Lua initialization
      procedure: there is a function tarantool_lua_init(),
      which any code, core or modules, can call.
      tarantool_lua_init() calls mod_lua_init() to
      add module-specific Lua extentions.
      
      Fix a bug in mod/CMakeLists.txt, generate_admin_c
      CMake target didn't exist, so admin.m wasn't
      re-generated correctly when admin.rl was changed.
      70f14ca3
  2. Jul 24, 2011
    • Konstantin Osipov's avatar
      A pre-requisite patch for Lua stored procedures: fiber->pool. · d6965dc0
      Konstantin Osipov authored
      A pre-requisite patch for Lua stored procedures:
      
      in some cases, it would be nice to create a Lua context
      in connection and destroy it when a connection ends.
      
      Unfortunately, right now fiber connections are stateless:
      there is on fiber constructor, destructor, or non-global fiber
      state.
      
      Change that by introducing fiber->pool, an allocation
      pool in which memory lives till a fiber is destroyed
      or becomes a zombie.
      
      We already have fiber->pool, which life cycle is different:
      it is created when a fiber starts, destroyed when a fiber
      ends, but also is garbage-collected once in a while.
      
      Rename this pool to fiber->gc_pool, to allow using
      name 'fiber->pool for something else.
      
      This patch only performs a rename and does nothing else.
      d6965dc0
  3. Jul 14, 2011
  4. Jul 13, 2011
  5. Jul 12, 2011
  6. Jul 11, 2011
  7. Jul 08, 2011
  8. Jul 07, 2011
    • Yuriy Vostrikov's avatar
      Import LuaJIT · 11d940de
      Yuriy Vostrikov authored
      11d940de
    • Konstantin Shulgin's avatar
      refactoring · cfdfc25e
      Konstantin Shulgin authored
      the tarantool logger process was changed from tee to cat.
      cfdfc25e
    • Konstantin Shulgin's avatar
      Merge branch 'master' into feature-feeder-in-core-merge · 6a8f51bd
      Konstantin Shulgin authored
      Conflicts:
      	cfg/tarantool_box_cfg.c
      	cfg/tarantool_box_cfg.cfg
      	cfg/tarantool_box_cfg.h
      	cfg/tarantool_feeder_cfg.c
      	cfg/tarantool_feeder_cfg.h
      	core/exception.m
      	core/fiber.m
      	core/log_io.m
      	core/log_io_remote.m
      	include/fiber.h
      	mod/box/box.h
      	mod/box/box.m
      	mod/box/box_cfg.cfg_tmpl
      	mod/box/memcached.m
      	mod/box/memcached.rl
      	mod/feeder/feeder.m
      	test/box_replication/common.result
      	test/box_replication/suite.ini
      	test/lib/admin_connection.py
      	test/lib/box_connection.py
      	test/lib/server.py
      	test/lib/sql_ast.py
      	test/lib/tarantool_box_server.py
      	test/lib/tarantool_connection.py
      	test/lib/tarantool_feeder_server.py
      	test/lib/tarantool_server.py
      6a8f51bd
  9. Jul 06, 2011
Loading