On Tue, 3 Jan 2012 16:44:15 +1000 David Seikel <[email protected]> said:

we could just stick to 5.1 :) i think we should until lua is totally fleshed
out and complete anyway :)

> Just quickly looking through the documentation, this is stuff we might
> have to deal with for Lua 5.2 -
> 
> "Weak tables with weak keys now perform like ephemeron tables."
> 
> We use a weak table, but not with a weak key.  Still, may need to keep
> an eye on this.
> 
> "Function luaL_register is deprecated. Use luaL_setfuncs so that your
> module does not create globals. (Modules are not expected to set global
> variables anymore.)"
> 
> We use that to register our functions in LUA.
> 
> "The osize argument to the allocation function may not be zero when
> creating a new block, that is, when ptr is NULL (see lua_Alloc). Use
> only the test ptr == NULL to check whether the block is new."
> 
> Don't think that affects us, but making note of it anyway, as we do use
> that.
> 
> "Finalizers (__gc metamethods) for userdata are called in the reverse
> order that they were marked for finalization, not that they were
> created (see ยง2.5.1). (Most userdata are marked immediately after they
> are created.) Moreover, if the metatable does not have a __gc field
> when set, the finalizer will not be called, even if it is set later."
> 
> This will need a code review.
> 
> "Function lua_objlen was renamed lua_rawlen."
> 
> We use that in the message send function.
> 
> -- 
> A big old stinking pile of genius that no one wants
> coz there are too many silver coated monkeys in the world.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to