Skip to content

Commit 071d44f

Browse files
authored
Release 2.10 (#331)
1 parent dc95187 commit 071d44f

File tree

4 files changed

+22
-19
lines changed

4 files changed

+22
-19
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## Version 2.10
2+
3+
* Added `Namespace::addProperty()` with getter/setter accepting `lua_State`.
4+
* The `__metatable` is now set to `false` instead of `nil` where required.
5+
* Fixed crash where `nil` is on the stack while userdata is requested.
6+
* Fixed memory leak when read-only write is attempted.
7+
* Fixed CMake for MSYS2 environment.
8+
* Bumped CMake version to 3.10.
9+
110
## Version 2.9
211

312
* Added stack traits for `std::pair` (`Pair.h`).

Manual.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22
<html>
33
<head>
4-
<title>LuaBridge 2.8 Reference Manual</title>
4+
<title>LuaBridge 2.10 Reference Manual</title>
55
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
66

77
<!--=========================================================================-->
@@ -134,7 +134,7 @@
134134

135135
<header>
136136
<hr>
137-
<h1>LuaBridge 2.8 Reference Manual</h1>
137+
<h1>LuaBridge 2.10 Reference Manual</h1>
138138
<hr>
139139
</header>
140140

README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img src="http://vinniefalco.github.io/LuaBridgeDemo/powered-by-lua.png">
33
</a><br>
44

5-
# LuaBridge 2.8
5+
# LuaBridge 2.10
66

77
[LuaBridge][1] is a lightweight and dependency-free library for mapping data,
88
functions, and classes back and forth between C++ and [Lua][2] (a powerful,
@@ -41,38 +41,32 @@ There are the following unit test flavors:
4141
* `Tests54` - uses Lua 5.4.4
4242
* `Tests54Cxx17` - uses Lua 5.4.4 and C++17 features
4343

44-
Build using Make on Linux/MacOS:
44+
Build using Make on Linux/MacOS/MinGW/WSL2:
4545
```bash
46-
clone --recurse-submodules git@github.com:vinniefalco/LuaBridge.git
46+
clone --recurse-submodules https://github.com/vinniefalco/LuaBridge
4747
cd LuaBridge
4848
cmake -DCMAKE_BUILD_TYPE=Debug -B build
4949
# or cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -B build
5050
# or cmake -DCMAKE_BUILD_TYPE=Release -B build
51-
cd build
52-
make -j
51+
cmake --build build
5352
```
5453

5554
Generate XCode project on MacOS:
5655
```bash
57-
clone --recurse-submodules git@github.com:vinniefalco/LuaBridge.git
56+
clone --recurse-submodules https://github.com/vinniefalco/LuaBridge
5857
cd LuaBridge
5958
cmake -G Xcode -B build
6059
# Generates XCode project build/LuaBridge.xcodeproj
6160
```
6261

6362
Generate MSVS solution on Windows:
64-
```cmd
65-
clone --recurse-submodules git@github.com:vinniefalco/LuaBridge.git
63+
```bash
64+
clone --recurse-submodules https://github.com/vinniefalco/LuaBridge
6665
cd LuaBridge
6766
mkdir build
6867
cd build
69-
cmake -G "Visual Studio 17 2022 Win64" -B build
70-
# or cmake -G "Visual Studio 15 2017 Win64" -B build
71-
# or cmake -G "Visual Studio 14 2015" -B build
72-
# or cmake -G "Visual Studio 15 2017 Win64" -B build
73-
# or cmake -G "Visual Studio 15 2017" -B build
74-
# or cmake -G "Visual Studio 15 2019" -A Win64 -B build
75-
# or cmake -G "Visual Studio 15 2019" -B build
68+
cmake -B build # 64-bit version
69+
# or cmake -A Win32 -B build
7670
# Generates MSVS solution build/LuaBridge.sln
7771
```
7872

Source/LuaBridge/LuaBridge.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
//
1212

1313
#define LUABRIDGE_MAJOR_VERSION 2
14-
#define LUABRIDGE_MINOR_VERSION 9
15-
#define LUABRIDGE_VERSION 209
14+
#define LUABRIDGE_MINOR_VERSION 10
15+
#define LUABRIDGE_VERSION 210
1616

1717
#ifndef LUA_VERSION_NUM
1818
#error "Lua headers must be included prior to LuaBridge ones"

0 commit comments

Comments
 (0)