- May 30, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
- write the docs - remove unnecessary introduction of Perl - properly implement, document and test box.fiber.wrap() - rename box.find, explore alternatives (none) - rewrite box.unpack('R') to reuse code and do what's expected of it.
-
- May 23, 2013
-
-
Dmitry E. Oboukhov authored
* Rewrite box.net.box: - connection process is in internal fiber, so connector can reconnect lost connections * Add box.fiber.wrap function that runs new detached fiber * Add some tests
-
- Feb 08, 2013
-
-
Roman Tsisyk authored
-
- Dec 17, 2012
-
-
Roman Tsisyk authored
-
- Nov 29, 2012
-
-
Konstantin Osipov authored
-
- Oct 20, 2012
-
-
Konstantin Osipov authored
Move memcached to src/ Make iproto.m dependend on box/*, not vice versa. Remove box_ prefixes from test suite names. Initialize networking outside of box/. This makes Box a step closer to being just a storage layer for Tarantool. Still some ugly deps since box/ continues to manage local hot standby and memcached expire (todo: move it out).
-
- Oct 14, 2012
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Move mod/box/ src/box. Fix broken packages. Rename tarantool_cpack.cmake to cpack.cmake.
-
- Oct 03, 2012
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Make box.lua just one of the many files which can be compiled into the server. Fix lbox_tonumber64 to not truncate large Lua numbers (which don't fit into 32 bit range). Make box.fiber.id() work according to the docs.
-
- Sep 04, 2012
-
-
Dmitry E. Oboukhov authored
-
Dmitry E. Oboukhov authored
-
Dmitry E. Oboukhov authored
-
- Aug 31, 2012
-
-
Dmitry E. Oboukhov authored
-
- Aug 30, 2012
-
-
Dmitry E. Oboukhov authored
-
Dmitry E. Oboukhov authored
-
- Aug 28, 2012
-
-
Dmitry E. Oboukhov authored
-
Konstantin Osipov authored
Fix coding style, add comments, remove an unused variable (int raise).
-
- Aug 27, 2012
-
-
Dmitry E. Oboukhov authored
-
- Aug 21, 2012
-
-
Dmitry E. Oboukhov authored
-
Dmitry E. Oboukhov authored
If libuuid is not found it won't be linked/used.
-
Dmitry E. Oboukhov authored
-
- Jun 21, 2012
-
-
Konstantin Osipov authored
-
- May 14, 2012
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Move out from box.m INSERT/UPDATE/SELECT/DELETE/CALL implementation.
-
Konstantin Osipov authored
-
- May 12, 2012
-
-
Konstantin Osipov authored
-
- Apr 29, 2012
-
-
Konstantin Osipov authored
Convert box.lua to box.lua.c and compile it in. Fix broken out-of-source build of luajit, by adding a few more generated files to touch-nocreate rule.
-
- Dec 23, 2011
-
-
Aleksey Demakov authored
-
- Dec 19, 2011
-
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
-
- Nov 10, 2011
-
-
Konstantin Osipov authored
An intermediate step, use size0 for 'size' temporarily, to ensure there are no compilation errors. This is a code review of Konstantin Shulgin's branch refactoring-tbuf.
-
- Aug 25, 2011
-
-
Konstantin Osipov authored
Fix a bug when Lua transaction was rolled back twice when Lua procedure was invoked from CALL. Change the way arguments to and from CALL statement in the binary protocol are passed: we used to pass everything from the wire as a single binary blob. Now every field of the received tuple is passed in as a separate string argument. Everything passed back from Lua is converted to a tuple. This makes CALL response similar to one of SELECT. Improve box.pack() to convert its argument to integer when necessary. Add an argument count check to box.pack(). Additionally, now box.pack() can be used to pack operations of 'UPDATE'. Use tarantool_lua_tostring() in iov_add_ret(): this function is now used to convert return values to the binary protocol in box_lua.m. This is necessary if we try to send boolean or nil over the binary wire, since Lua C API lua_tostring() does not convert them. Add box.lua - a system Lua script compiled into Tarantool and containing a bunch of Lua code preloaded at startup. Populate box.lua with implementation of basic Lua functions: box.select(), box.update(), box.replace(), box.insert() (currently an alias for box.replace()), box.delete(). They are all wrappers around box.process(). Move box_lua_init() to the beginning of mod_init(), since Lua in future can be used in recover(). Fix a wrong assumption about the contents of Lua stack in iov_add_multret(). Update sql.g Python SQL grammar to allow an empty argumeent list for procedure in CALL statement. Add initial documentation on Lua procedures. Add more Lua tests. Unrelated: rename INSERT to REPLACE, and UPDATE_FIELDS to UPDATE. Remove SELECT_LIMIT, which is not used any more.
-
- Aug 03, 2011
-
-
Konstantin Shulgin authored
The box tuple implementation was moved to separate file. Tuple flags NEW and SEARCH was removed (unused). box_mode enum was removed (unused).
-
- Jul 26, 2011
-
-
Konstantin Osipov authored
Add tuple print-out in yaml format, to be able to print Lua procedures output in the administrative console. Add box.process() function, the main callback into box from Lua. It takes a binary packet and passes it on to box for execution. The results of execution are added to fiber iov vector, so we can always just grab them and print out, which we do in the administrative console.
-
- Jul 14, 2011
-
-
Konstantin Osipov authored
Touch the generated files at configure to avoid unnecessary rebuild. Fix out-of-source builds and tests (test/box/protocol.test was the main offender).
-
- Jul 05, 2011
-
-
Konstantin Osipov authored
We modify memcached code quite often, and asking ragel to regenerate .m from .rl file every time .rl file changed was tiresome both for revision control and for code reviews. Leave in memcached-grammar.rl only memcached_dispsatch(), which is generated by ragel, and everything else move to memcached.m. This should lessen cases when we have to re-generate memcached-grammar.m. This patch doesn't produce any code changes, only moves the code (and cleans up include files at start of memcached.m).
-
Konstantin Osipov authored
-