-
Notifications
You must be signed in to change notification settings - Fork 9
/
changelog.txt
172 lines (128 loc) Β· 7.9 KB
/
changelog.txt
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
LuNari - https://github.com/3F/LuNari
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[v1.6] 2019.12.21
* NEW: Complete .NET Core support.
.NET Standard 2.0+
* NEW: Implemented LuaD.
```
using(dynamic l = new LuaD("Lua.dll"))
{
// Lua now is yours ~
IntPtr L = l.luaL_newstate<LuaState>();
var num = l.lua_tonumber<LuaNumber>(L, 1);
}
```
Lua via Conari engine [DLR version]
Requires full name to requested lua function by default (IConfig).
* NEW: Added netfx based target platforms: net472.
* NEW: API. added:
+`lua_State* luaL_newstate(void);` /Lua 5.1; 5.2; 5.3
* CHANGED: Updated Conari 1.4. More speed and features:
https://github.com/3F/Conari/releases/tag/1.4
* CHANGED: Added the following tools to nupkg packages for related build processes.
https://www.nuget.org/packages/LuNari/
* tools\gnt.bat - https://github.com/3F/GetNuTool
* tools\hMSBuild.bat - https://github.com/3F/hMSBuild
[v1.5.1] 2019.01.30
* FIXED: Fixed nuget Conari version: "(1.3.0,)" > "1.3.0"
* CHANGED: Allowed extending LuaH.
* CHANGED: Updated XML doc for LuaH constants.
* CHANGED: Added forgotten declaration for 5.2 & 5.3: +`int lua_pushthread (lua_State *L);`
* NEW: API. added:
+`void lua_pushcfunction (lua_State *L, lua_CFunction f);` /Lua 5.1; 5.2; 5.3
+`void lua_arith (lua_State *L, int op);` /Lua 5.2; 5.3
+`const char *lua_tostring (lua_State *L, int index);` /5.1, 5.2, 5.3
+`void lua_insert (lua_State *L, int index);` /Lua 5.1; 5.2; 5.3
+`void lua_remove (lua_State *L, int index);` /Lua 5.1; 5.2; 5.3
+`void lua_replace (lua_State *L, int index);` / Lua 5.1; 5.2; 5.3
+`void lua_register (lua_State *L, const char *name, lua_CFunction f);` /Lua 5.1; 5.2; 5.3
+`size_t lua_rawlen (lua_State *L, int index);` /Lua 5.2; 5.3
+`size_t lua_objlen (lua_State *L, int index);` /Lua 5.1
[v1.5] 2019.01.27
* NEW: Meet the 'LuNari' project. Issue #2.
Lua for .NET on Conari engine
https://github.com/3F/LuNari
Modern versions will not require neither our API
(Lua 5.4, 5.3, 5.2, 5.1, ...) nor something other from you at all.
We will generate all your needs automatically at runtime.
Do whatever you love. Enjoy!
* CHANGED: API dev core changes: `Rt_.LuaState` has been renamed to `_.LuaState`
https://github.com/3F/LuNari/wiki/API.Dev
* NOTE: Official NuGet packages of the LuNari project:
https://www.nuget.org/packages/LuNari/
* NOTE: LunaRoad packages will no longer be updated. (Discontinued)
Please consider upgrading to LuNari.
[v1.4.1]
* FIXED: Possible Incorrect boolean values from Lua libraries.
* NEW: First public version for production. Completely play with us now.
* CHANGED: Optional dependency to Conari NuGet package >= v1.1
'optional' means that .nupkg is already contains binaries from https://github.com/3F/Conari
but via NuGet server the users can take newer versions by default.
To configure it manually use https://github.com/3F/GetNuTool etc.
* CHANGED: Updated Conari engine v1.2
[v1.4-beta]
* CHANGED: Updated Conari engine v1.1
https://github.com/3F/Conari
* NEW: DLR features with caching of dynamic types.
* NEW: Added access to export functions of Lua. `ILoader.ExportFunctionNames`
* NEW: Added features for convenient work with any binary raw data.
* NEW: Added events:
* BeforeUnload - Before unloading a library.
* AfterUnload - When library has been unloaded.
* AfterLoad - When library has been loaded.
* PrefixChanged - When Prefix has been changed.
* FIXED: bug with CharPtr when unboxing for unmanaged code.
* FIXED: trivial fixes with implicit conversion for size_t and UIntPtr.
* CHANGED: Updated CharPtr: +BSTR, +WCharPtr & added new UnmanagedString, that allocates strings for unmanaged code.
* CHANGED: Other trivial fixes and improvements.
[v1.3-beta]
* CHANGED: The LunaRoad now works over Conari engine v1.0
https://github.com/3F/Conari
That adds the following important changes for LunaRoad:
* NEW: Added additional delegates for work with ref/out parameters. And now it is part of Conari.
* NEW: IL EmitCalli - now supports of nested implicit conversions.
The [NativeType] attribute available to change priority of selecting type for unmanaged code.
* CHANGED: updated size_t for work with primitives types directly.
* CHANGED: all common types now is also part of Conari.
[v1.2-beta]
* NEW: LuaInteger type.
* NEW: The lua.h constants of v5.1/2/3 represented with LuaH.
* NEW: API. added:
* `void lua_settop (lua_State *L, int index);` /v5.1, 5.2, 5.3
* `int lua_gettop (lua_State *L);` /v5.1, 5.2, 5.3
* `void lua_pushvalue (lua_State *L, int index);` /v5.1, 5.2, 5.3
* `void lua_getfield (lua_State *L, int index, const char *k);` /v5.1, 5.2
* * int lua_getfield (lua_State *L, int index, const char *k);` /v5.3
* `void rawset(LuaState L, int index);` /v5.1; 5.2; 5.3
* `void rawseti(LuaState L, int index, int n);` /v5.1; 5.2
* * `void rawseti(LuaState L, int index, LuaInteger i);` /v5.3
* `int rawget (lua_State *L, int index);` /v5.3
* * `void rawget(LuaState L, int index);` /v5.1; v5.2
* `int rawgeti(LuaState L, int index, LuaInteger n);` /v5.3
* * `void rawgeti(LuaState L, int index, int n);` /v5.1; 5.2
* `int gettable(LuaState L, int index);` /v5.3
* * `void gettable(LuaState L, int index);` /v5.1; 5.2
* `int lua_type (lua_State *L, int index);` /v5.1; 5.2; 5.3
* `void lua_getglobal (lua_State *L, const char *name);` /v5.1; 5.2
* * `int lua_getglobal (lua_State *L, const char *name);` /v5.3
* `void pop(LuaState L, int n);` /v5.1; 5.2; 5.3
* `void pushinteger(LuaState L, LuaInteger n);` /v5.1; 5.2; 5.3
* `int pushthread(LuaState L);` /v5.1; 5.2; 5.3
* `void pushnil(LuaState L);` /v5.1; 5.2; 5.3
* `int pcall(LuaState L, int nargs, int nresults, int errfunc);` /v5.1; 5.2; 5.3
* `void lua_call (lua_State *L, int nargs, int nresults);` /v5.1; 5.2; 5.3
* CHANGED: Pseudo-indices for Lua5.1 now is part of LuaH.
* CHANGED: Additional Lua .ctor(string) - the LuaConfig now has only explicit conversions to avoid misunderstanding.
[v1.1-beta]
* NEW: IL EmitCalli - support of implicit/explicit conversions with additional types.
* NEW: added Func/ActionOut delegates to work with ByRef-arguments.
* NEW: added additional types: LuaNumber, CharPtr, size_t
* NEW: API. added:
* `CharPtr tolstring(LuaState L, int index, out size_t len)` - v5.1/5.2/5.3
* `void pushnumber(LuaState L, LuaNumber n)` - v5.1/5.2/5.3
* `void pushstring(LuaState L, string s)` - v5.1
* `CharPtr pushstring(LuaState L, string s)` - v5.2/5.3
* CHANGED: API. `LuaNumber tonumber(LuaState L, int index);` - v5.1/5.2/5.3
[v1.0-alpha]
* Initial alpha release.
Flexible binding via lambda-functions and lightweight platform to work between different versions.