Skip to content

Commit 2e778ab

Browse files
committed
Bump luajit
1 parent 2e0f258 commit 2e778ab

222 files changed

Lines changed: 5186 additions & 3116 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Source/LuaBridge/detail/LuaHelpers.h‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,14 @@ inline lua_Integer to_integerx(lua_State* L, int idx, int* isnum)
260260

261261
if (ok)
262262
{
263+
if (n < static_cast<lua_Number>(std::numeric_limits<lua_Integer>::min()) ||
264+
n > static_cast<lua_Number>(std::numeric_limits<lua_Integer>::max()))
265+
{
266+
if (isnum)
267+
*isnum = 0;
268+
return 0;
269+
}
270+
263271
const auto int_n = static_cast<lua_Integer>(n);
264272
if (n == static_cast<lua_Number>(int_n))
265273
{
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.relver export-subst

‎Tests/Lua/LuaJIT.2.1/.gitignore‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@
33
*.obj
44
*.lib
55
*.exp
6+
*.pdb
67
*.dll
78
*.exe
89
*.manifest
910
*.dmp
1011
*.swp
1112
.tags
12-
*~
13-
tags
14-
*.swo
15-
.idea/
16-
build/
17-
cmake-*-build/

‎Tests/Lua/LuaJIT.2.1/.relver‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1772619647

‎Tests/Lua/LuaJIT.2.1/COPYRIGHT‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
===============================================================================
22
LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
33

4-
Copyright (C) 2005-2022 Mike Pall. All rights reserved.
4+
Copyright (C) 2005-2026 Mike Pall. All rights reserved.
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

‎Tests/Lua/LuaJIT.2.1/README‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
README for LuaJIT 2.1.0-beta3
2-
-----------------------------
1+
README for LuaJIT 2.1
2+
---------------------
33

44
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
55

66
Project Homepage: https://luajit.org/
77

8-
LuaJIT is Copyright (C) 2005-2022 Mike Pall.
8+
LuaJIT is Copyright (C) 2005-2026 Mike Pall.
99
LuaJIT is free software, released under the MIT license.
1010
See full Copyright Notice in the COPYRIGHT file or in luajit.h.
1111

‎Tests/Lua/LuaJIT.2.1/doc/bluequad-print.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (C) 2004-2022 Mike Pall.
1+
/* Copyright (C) 2004-2026 Mike Pall.
22
*
33
* You are welcome to use the general ideas of this design for your own sites.
44
* But please do not steal the stylesheet, the layout or the color scheme.

‎Tests/Lua/LuaJIT.2.1/doc/bluequad.css‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (C) 2004-2022 Mike Pall.
1+
/* Copyright (C) 2004-2026 Mike Pall.
22
*
33
* You are welcome to use the general ideas of this design for your own sites.
44
* But please do not steal the stylesheet, the layout or the color scheme.
@@ -206,11 +206,9 @@ img.right {
206206
.ext {
207207
color: #ff8000;
208208
}
209-
.new {
210-
font-size: 6pt;
211-
vertical-align: middle;
212-
background: #ff8000;
213-
color: #ffffff;
209+
.note {
210+
padding: 0.5em 1em;
211+
border-left: 3px solid #bfcfff;
214212
}
215213
#site {
216214
clear: both;

‎Tests/Lua/LuaJIT.2.1/doc/contact.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title>Contact</title>
55
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
6+
<meta name="Copyright" content="Copyright (C) 2005-2026">
77
<meta name="Language" content="en">
88
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
99
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
@@ -46,9 +46,9 @@ <h1>Contact</h1>
4646
<a href="ext_profiler.html">Profiler</a>
4747
</li></ul>
4848
</li><li>
49-
<a href="status.html">Status</a>
49+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
5050
</li><li>
51-
<a href="faq.html">FAQ</a>
51+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5252
</li><li>
5353
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5454
</li></ul>
@@ -94,15 +94,15 @@ <h1>Contact</h1>
9494
<h2>Copyright</h2>
9595
<p>
9696
All documentation is
97-
Copyright &copy; 2005-2022 Mike Pall.
97+
Copyright &copy; 2005-2026 Mike Pall.
9898
</p>
9999

100100

101101
<br class="flush">
102102
</div>
103103
<div id="foot">
104104
<hr class="hide">
105-
Copyright &copy; 2005-2022
105+
Copyright &copy; 2005-2026
106106
<span class="noprint">
107107
&middot;
108108
<a href="contact.html">Contact</a>

‎Tests/Lua/LuaJIT.2.1/doc/ext_buffer.html‎

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title>String Buffer Library</title>
55
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
6+
<meta name="Copyright" content="Copyright (C) 2005-2026">
77
<meta name="Language" content="en">
88
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
99
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
@@ -57,9 +57,9 @@ <h1>String Buffer Library</h1>
5757
<a href="ext_profiler.html">Profiler</a>
5858
</li></ul>
5959
</li><li>
60-
<a href="status.html">Status</a>
60+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
6161
</li><li>
62-
<a href="faq.html">FAQ</a>
62+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
6363
</li><li>
6464
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
6565
</li></ul>
@@ -85,13 +85,7 @@ <h1>String Buffer Library</h1>
8585
</p>
8686
<p>
8787
The string buffer library also includes a high-performance
88-
<a href="serialize">serializer</a> for Lua objects.
89-
</p>
90-
91-
<h2 id="wip" style="color:#ff0000">Work in Progress</h2>
92-
<p>
93-
<b style="color:#ff0000">This library is a work in progress. More
94-
functionality will be added soon.</b>
88+
<a href="#serialize">serializer</a> for Lua objects.
9589
</p>
9690

9791
<h2 id="use">Using the String Buffer Library</h2>
@@ -594,9 +588,9 @@ <h3 id="serialize_format">Serialization Format Specification</h3>
594588
tab → 0x08 // Empty table
595589
| 0x09 h.U h*{object object} // Key/value hash
596590
| 0x0a a.U a*object // 0-based array
597-
| 0x0b a.U a*object h.U h*{object object} // Mixed
591+
| 0x0b a.U h.U a*object h*{object object} // Mixed
598592
| 0x0c a.U (a-1)*object // 1-based array
599-
| 0x0d a.U (a-1)*object h.U h*{object object} // Mixed
593+
| 0x0d a.U h.U (a-1)*object h*{object object} // Mixed
600594
tab_mt → 0x0e (index-1).U tab // Metatable dict entry
601595

602596
int64 → 0x10 int.L // FFI int64_t
@@ -685,7 +679,7 @@ <h2 id="ffi_caveats">FFI caveats</h2>
685679
</div>
686680
<div id="foot">
687681
<hr class="hide">
688-
Copyright &copy; 2005-2022
682+
Copyright &copy; 2005-2026
689683
<span class="noprint">
690684
&middot;
691685
<a href="contact.html">Contact</a>

0 commit comments

Comments
 (0)