forked from lua-alchemy/lua-alchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HISTORY
140 lines (93 loc) · 4.43 KB
/
HISTORY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
Lua Alchemy v0.2.2 (2011-04-17)
-------------------------------
Changes since v0.2.1a:
1. Dropped "a" suffix from version name. We're mature enough
for at least a beta.
2. Dropped lua-nucleo from the official distribution. Not everyone needs it.
If you need help bundling it (or any other module) with Lua Alchemy yourself,
please create a ticket / post to mailing list to get help.
3. Fixed a couple of memory leaks in Lua/AS3 bridge
(including a nasty hidden bug in the AS3 userdata handling).
4. Removed unused Lua benchmarks and unused Lua test suites
hoarded into the distribution. LuaAlchemy test suite is still in place.
Feel free to contribute your pet tests and benchmarks -- as long
as you integrate them so they are immediately usable with Lua Alchemy.
5. Other minor fixes and improvements (see git log for more information).
Lua Alchemy v0.2.1a (never officially released)
-----------------------------------------------
Changes since v0.2a:
1. Fixed multibyte string handling.
2. Fixed memory leak in create_as3_value_from_lua_stack.
That affects doString() and doFile().
3. Added bindings for running pure Lua tests
properly in the test GUI.
4. Added current lua-nucleo library snapshot.
See http://github.com/lua-nucleo/lua-nucleo
Not documented, but useful.
Added lua-nucleo tests as native Lua Alchemy tests.
5. Added as3.argstoarray() to convert argument list to array.
Need a separate function to handle nils inside list properly.
6. Added recommended git pre-commit hook.
See lua-alchemy/etc/git/pre-commit
7. Other minor fixes and tuning.
Lua Alchemy v0.2a
-----------------
Changes since v0.1a:
1. Added Lua sugar for AS3 interface:
http://code.google.com/p/lua-alchemy/wiki/LuaToAS3Sugar
2. New Lua as3 module functions:
2.1. Implemented in C:
as3.isas3value(v) -- return true if argument is as3 value
as3.toas3(v) -- converts argument to AS3 value
See also: http://code.google.com/p/lua-alchemy/wiki/LuaToAS3LowLevel
2.2. Implemented in Lua:
as3.onclose(fn) -- calls callback when state is closed
as3.toobject(v) -- converts table to Object
as3.toarray(v) -- converts table to Array
as3.prints(...) -- print-like argument concatenation
as3.makeprinter(obj) -- factory for functions to print on AS3 UI objects
See also: http://code.google.com/p/lua-alchemy/wiki/LuaToAS3Extended
3. Changes in as3 Lua module functions:
as3.tolua() is now variadic and passes through Lua values, also it
now accepts nil and no arguments
as3.type() now accepts nil and no arguments
as3.yield() was renamed to as3.flyield() to avoid confusion with
coroutine.yield()
as3.class() was renamed to as3.newclass() to give way to sugar's as3.class.
4. Changes in Lua core library functions:
In Lua Alchemy some Lua core library function are overridden by default.
(If you wish, you're free to disable this override).
loadfile() and dofile() are changed to be able to load files,
embedded into current SWF.
print() is changed to output to trace.
5. Changes in AS3 interface to Lua Alchemy:
Lua as3 module functions no longer convert their arguments to Lua values.
Use as3.tolua() explicitly if you need such conversion.
lua_wrapper.setGlobal() doesn't do autoconversion to Lua type.
Added lua_wrapper.setGlobalLuaValue() to do this.
Added lua_wrapper.doFile() to run Lua file, added with Alchemy's
supplyFile().
Added lua_wrapper.supplyFile() wrapper on Alchemy's supply file.
Added utility to automatically embed and supply files in specified
directory on build.
See new Rapid demo for example.
Introduced LuaAlchemy class to be used instead of lua_wrapper
low-level interface.
See also: http://code.google.com/p/lua-alchemy/wiki/As3ToLuaInterface
6. Demo changes:
Added MiniDemo as a minimalistic Lua Alchemy example
Added Rapid demo featuring auto asset adder -- as an example
for rapid development setup with Lua Alchemy
Removed demo help page in favor of using the wiki
7. Other changes:
Building Lua with -O2, posix and ansi
Setting _LUA_ALCHEMY Lua global variable with Lua Alchemy version
Provided optional global environment protection (off by default)
to aid with development in Lua.
See http://code.google.com/p/lua-alchemy/wiki/LuaGlobalEnvironmentProtection
A lot of internal implementation and tests refactoring and tuning
Also updated documentation:
http://code.google.com/p/lua-alchemy/wiki/
Lua Alchemy v0.1a
-----------------
Initial release