From b657f38535c3c27a848353ef853d6667d6acc917 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 30 Jan 2013 20:28:47 +0100 Subject: version 3.5.0 * new: API lanes.require(), use it instead of regular require() for modules that export C functions you need to send over. * new: lanes no longer require 'lanes.core' by default in every created state. Use {required={"lanes.core"}} if you need to transfer lanes functions. * internal: because of the above, reworked the timer implementation to remove upvalue-dependency on lanes.core * new: API lanes.timer_lane, to be able to operate on timer lane if need be * improved: if a module is a full userdata, scan its metatable for function database population * improved: on_state_create can be a Lua function * changed: on_state_create is called after the base libraries are loaded * package[loaders|searchers] is no longer transfered as function naming depends on slot order * internal: changed separator from '.' to '/' in lookup databases to be able to distinguish search levels and dot coming from module names * added some mode debug spew * updated tests to reflect the above changes --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5406dad..fc44fac 100644 --- a/Makefile +++ b/Makefile @@ -88,6 +88,8 @@ test: $(MAKE) atexit $(MAKE) linda_perf $(MAKE) rupval + $(MAKE) package + $(MAKE) pingpong basic: tests/basic.lua $(_TARGET_SO) $(_PREFIX) $(LUA) $< @@ -167,6 +169,12 @@ atexit: tests/atexit.lua $(_TARGET_SO) rupval: tests/rupval.lua $(_TARGET_SO) $(_PREFIX) $(LUA) $< +package: tests/package.lua $(_TARGET_SO) + $(_PREFIX) $(LUA) $< + +pingpong: tests/pingpong.lua $(_TARGET_SO) + $(_PREFIX) $(LUA) $< + #--- perftest-plain: tests/perftest.lua $(_TARGET_SO) $(MAKE) _perftest ARGS="$< $(N) -plain" -- cgit v1.2.3-55-g6feb