Skip to content

Commit

Permalink
Public release of the LuNari 1.5.1:
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
3F committed Jan 30, 2019
1 parent 438d921 commit 19d8cd9
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.5.1
6 changes: 3 additions & 3 deletions LuNari.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>LuNari</id>
<version>1.4.1</version>
<version>1.5.1</version>
<title>[ LuNari ] Lua for .NET: 5.4, 5.3, 5.2, 5.1, ...</title>
<authors>github.com/3F/LuNari</authors>
<license type="file">License.txt</license>
Expand All @@ -29,14 +29,14 @@
~~~~~~~~
Get it via GetNuTool:
==========================================
gnt /p:ngpackages="LuNari/1.4.1"
gnt /p:ngpackages="LuNari/1.5.1"
==========================================
* https://github.com/3F/GetNuTool

</description>
<summary>Lua for .NET: Lua 5.4, 5.3, 5.2, 5.1, ... (Lua C API for .NET) Source code: https://github.com/3F/LuNari </summary>
<tags>Lua API dll Lua54 Lua53 Lua52 Lua51 LuNari LunaRoad KeraLua NLua LuaInterface Conari</tags>
<releaseNotes></releaseNotes>
<releaseNotes>changelog: https://github.com/3F/LuNari/blob/master/changelog.txt </releaseNotes>
<copyright>Copyright (c) 2016,2017,2019 Denis Kuzmin [entry.reg@gmail.com] :: GitHub/3F </copyright>
<references>
<!-- <reference file="Conari.dll" /> Optional via GetNuTool etc. -->
Expand Down
2 changes: 1 addition & 1 deletion LuNari/LuNariVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public struct LuNariVersion
{
public static readonly Version number = new Version(S_NUM_REV);

public const string S_NUM = "1.4.1";
public const string S_NUM = "1.5.1";
public const string S_REV = "0";

public const string S_NUM_REV = S_NUM + "." + S_REV;
Expand Down
2 changes: 1 addition & 1 deletion LunaRoad/Resources/Readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
**Obsolete**. Please look LuNari folders [LuNari folders](../../)
**Obsolete**. Please look LuNari folders [LuNari folders](https://github.com/3F/LuNari)
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Provides *support** for all popular versions, like: 5.4, 5.3, 5.2, 5.1, ...

*A few ways: API-layer and binding at runtime (DLR, Lambda expressions) with any Lua functions;*

[![Build status](https://ci.appveyor.com/api/projects/status/94y78phdvkoi5oda/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/lunaroad/branch/master)
[![Build status](https://ci.appveyor.com/api/projects/status/yw1dt77o9ynqehc4/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/lunari/branch/master)
[![release-src](https://img.shields.io/github/release/3F/LuNari.svg)](https://github.com/3F/LuNari/releases/latest)
[![License](https://img.shields.io/badge/License-MIT-74A5C2.svg)](https://github.com/3F/LuNari/blob/master/LICENSE)
[![NuGet package](https://img.shields.io/nuget/v/LuNari.svg)](https://www.nuget.org/packages/LuNari/)
[![License](https://img.shields.io/badge/License-MIT-74A5C2.svg)](https://github.com/3F/LuNari/blob/master/LICENSE)

**Easy to start**:

```csharp
using(var l = new Lua<ILua51>("Lua.dll")) { // ILua51, ILua52, ILua53, ...
using(var l = new Lua<ILua53>("Lua.dll")) { // ILua51, ILua52, ILua53, ...
// l. { request anything to Lua }
}
```
Expand Down
19 changes: 19 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
_ _ _ _ _


[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.
Expand Down

0 comments on commit 19d8cd9

Please sign in to comment.