Go to file
tstarling b0f00103e2 Added tests and fixed bugs
* Added unit tests for the two Lua interpreter classes
* Fixed a bug in checkType()
* Have Scribunto_LuaSandboxInterpreter throw an exception on construct
  when the extension doesn't exist, to match the standalone behaviour.
* In Scribunto_LuaSandboxInterpreter, removed debugging statements
  accidentally left in.
* Convert LuaSandboxTimeoutError to the appropriate common error
  message.
* Moved the option munging from the sandbox engine to the interpreter,
  so that the interpreter can be unit tested separately.
* Use /bin/sh instead of bash for lua_ulimit.sh, since dash is smaller
  and still supports ulimit.
* Use exec to run the lua binary, so that the vsize of the shell doesn't
  add to the memory limit.
* Added a quit function to the standalone interpreter. Unused at present.
* Don't add a comma after the last element of a table in a Lua
  expression.
* Make the SIGXCPU detection work: proc_open() runs the command via a
  shell, which reports signals in the child via the exit status, so
  proc_get_status() will never return a valid termsig element.
* In MWServer:call(), fixed a bug causing the return values to be
  wrapped in an array.
* Fixed a misunderstanding of what select() does.
* In MWServer:getStatus(), fixed indexes so that vsize will be correct.
  Removed RSS, since it wasn't used anyway and turns out to be measured
  in multiples of the page size, and I couldn't be bothered trying to
  fetch that from getconf. Return the PID and vsize as numbers rather
  than strings.
* Added a simple table dump feature to MWServer:debug().
* Fixed brackets in MWServer:tostring().
* Added missing Linux 32-bit binary.

Change-Id: Ibf5f4656b1c0a9f81287d363184c3fe9d2abdafd
2012-04-16 14:41:08 +10:00
common Added tests and fixed bugs 2012-04-16 14:41:08 +10:00
engines Added tests and fixed bugs 2012-04-16 14:41:08 +10:00
tests/engines Added tests and fixed bugs 2012-04-16 14:41:08 +10:00
.gitreview Adding .gitreview 2012-04-06 13:46:17 -04:00
Scribunto.i18n.php Introduced standalone interpreter, implemented module isolation 2012-04-13 20:45:26 +10:00
Scribunto.magic.php File moves for extension rename, and removed unused directory 2012-04-06 05:06:27 +00:00
Scribunto.namespaces.php File moves for extension rename, and removed unused directory 2012-04-06 05:06:27 +00:00
Scribunto.php Added tests and fixed bugs 2012-04-16 14:41:08 +10:00