Skip to content

Commit f327292

Browse files
authored
Merge PR #1527 (Release 2024-08: Garmin) into master
Collected changes for August 2024 release “Garmin”
2 parents 4fb1217 + ccac59c commit f327292

File tree

519 files changed

+1133
-25215
lines changed

Some content is hidden

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

519 files changed

+1133
-25215
lines changed

default.nix

-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
{ pkgs ? (import <nixpkgs> {})
66
, source ? ./.
77
, version ? "dev"
8-
, supportOpenstack ? true
98
}:
109

1110
with pkgs;
@@ -20,10 +19,6 @@ stdenv.mkDerivation rec {
2019
patchPhase = ''
2120
patchShebangs .
2221
23-
'' + lib.optionalString supportOpenstack ''
24-
# We need a way to pass $PATH to the scripts
25-
sed -i '2iexport PATH=${git}/bin:${mariadb}/bin:${which}/bin:${procps}/bin:${coreutils}/bin' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc
26-
sed -i '2iexport PATH=${git}/bin:${coreutils}/bin:${diffutils}/bin:${nettools}/bin' src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.sh.inc
2722
'';
2823

2924
preBuild = ''

lib/luajit/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.relver export-subst

lib/luajit/.relver

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$Format:%ct$

lib/luajit/COPYRIGHT

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Copyright is retained by the individual authors and contributors.
88
===============================================================================
99
LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
1010

11-
Copyright (C) 2005-2022 Mike Pall. All rights reserved.
11+
Copyright (C) 2005-2023 Mike Pall. All rights reserved.
1212

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

lib/luajit/Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# For MSVC, please follow the instructions given in src/msvcbuild.bat.
1111
# For MinGW and Cygwin, cd to src and run make with the Makefile there.
1212
#
13-
# Copyright (C) 2005-2022 Mike Pall. See Copyright Notice in luajit.h
13+
# Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
1414
##############################################################################
1515

1616
MAJVER= 1
@@ -71,7 +71,8 @@ INSTALL_F= install -m 0644
7171
UNINSTALL= $(RM)
7272
LDCONFIG= ldconfig -n 2>/dev/null
7373
SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \
74-
-e "s|^multilib=.*|multilib=$(MULTILIB)|"
74+
-e "s|^multilib=.*|multilib=$(MULTILIB)|" \
75+
-e "s|^relver=.*|relver=$(RELVER)|"
7576
ifneq ($(INSTALL_DEFINC),$(INSTALL_INC))
7677
SED_PC+= -e "s|^includedir=.*|includedir=$(INSTALL_INC)|"
7778
endif
@@ -126,8 +127,7 @@ install: $(INSTALL_DEP)
126127
cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
127128
cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
128129
$(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)
129-
@echo ""
130-
130+
@echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ===="
131131

132132
uninstall:
133133
@echo "==== Uninstalling RaptorJIT $(VERSION) from $(PREFIX) ===="

lib/luajit/doc/bluequad-print.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (C) 2004-2022 Mike Pall.
1+
/* Copyright (C) 2004-2023 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.

lib/luajit/doc/bluequad.css

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (C) 2004-2022 Mike Pall.
1+
/* Copyright (C) 2004-2023 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;

lib/luajit/doc/contact.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>Contact</title>
5-
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6+
<meta name="Copyright" content="Copyright (C) 2005-2023">
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">
@@ -44,9 +44,9 @@ <h1>Contact</h1>
4444
<a href="ext_c_api.html">Lua/C API</a>
4545
</li></ul>
4646
</li><li>
47-
<a href="status.html">Status</a>
47+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
4848
</li><li>
49-
<a href="faq.html">FAQ</a>
49+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5050
</li><li>
5151
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5252
</li></ul>
@@ -92,15 +92,15 @@ <h1>Contact</h1>
9292
<h2>Copyright</h2>
9393
<p>
9494
All documentation is
95-
Copyright &copy; 2005-2022 Mike Pall.
95+
Copyright &copy; 2005-2023 Mike Pall.
9696
</p>
9797

9898

9999
<br class="flush">
100100
</div>
101101
<div id="foot">
102102
<hr class="hide">
103-
Copyright &copy; 2005-2022
103+
Copyright &copy; 2005-2023
104104
<span class="noprint">
105105
&middot;
106106
<a href="contact.html">Contact</a>

lib/luajit/doc/ext_buffer.html

+4-10
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,8 @@ <h1>String Buffer Library</h1>
8686
operations.
8787
</p>
8888
<p>
89-
The string buffer libary also includes a high-performance
90-
<a href="serialize">serializer</a> for Lua objects.
91-
</p>
92-
93-
<h2 id="wip" style="color:#ff0000">Work in Progress</h2>
94-
<p>
95-
<b style="color:#ff0000">This library is a work in progress. More
96-
functionality will be added soon.</b>
89+
The string buffer library also includes a high-performance
90+
<a href="#serialize">serializer</a> for Lua objects.
9791
</p>
9892

9993
<h2 id="use">Using the String Buffer Library</h2>
@@ -596,9 +590,9 @@ <h3 id="serialize_format">Serialization Format Specification</h3>
596590
tab → 0x08 // Empty table
597591
| 0x09 h.U h*{object object} // Key/value hash
598592
| 0x0a a.U a*object // 0-based array
599-
| 0x0b a.U a*object h.U h*{object object} // Mixed
593+
| 0x0b a.U h.U a*object h*{object object} // Mixed
600594
| 0x0c a.U (a-1)*object // 1-based array
601-
| 0x0d a.U (a-1)*object h.U h*{object object} // Mixed
595+
| 0x0d a.U h.U (a-1)*object h*{object object} // Mixed
602596
tab_mt → 0x0e (index-1).U tab // Metatable dict entry
603597

604598
int64 → 0x10 int.L // FFI int64_t

lib/luajit/doc/ext_c_api.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>Lua/C API Extensions</title>
5-
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6+
<meta name="Copyright" content="Copyright (C) 2005-2023">
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">
@@ -44,9 +44,9 @@ <h1>Lua/C API Extensions</h1>
4444
<a class="current" href="ext_c_api.html">Lua/C API</a>
4545
</li></ul>
4646
</li><li>
47-
<a href="status.html">Status</a>
47+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
4848
</li><li>
49-
<a href="faq.html">FAQ</a>
49+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5050
</li><li>
5151
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5252
</li></ul>
@@ -171,7 +171,7 @@ <h3 id="mode_wrapcfunc"><tt>luaJIT_setmode(L, idx, LUAJIT_MODE_WRAPCFUNC|flag)</
171171
</div>
172172
<div id="foot">
173173
<hr class="hide">
174-
Copyright &copy; 2005-2022
174+
Copyright &copy; 2005-2023
175175
<span class="noprint">
176176
&middot;
177177
<a href="contact.html">Contact</a>

lib/luajit/doc/ext_ffi.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>FFI Library</title>
5-
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6+
<meta name="Copyright" content="Copyright (C) 2005-2023">
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">
@@ -44,9 +44,9 @@ <h1>FFI Library</h1>
4444
<a href="ext_c_api.html">Lua/C API</a>
4545
</li></ul>
4646
</li><li>
47-
<a href="status.html">Status</a>
47+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
4848
</li><li>
49-
<a href="faq.html">FAQ</a>
49+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5050
</li><li>
5151
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5252
</li></ul>
@@ -314,7 +314,7 @@ <h2 id="cdata">Motivating Example: Using C Data Structures</h2>
314314
</div>
315315
<div id="foot">
316316
<hr class="hide">
317-
Copyright &copy; 2005-2022
317+
Copyright &copy; 2005-2023
318318
<span class="noprint">
319319
&middot;
320320
<a href="contact.html">Contact</a>

lib/luajit/doc/ext_ffi_api.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>ffi.* API Functions</title>
5-
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6+
<meta name="Copyright" content="Copyright (C) 2005-2023">
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">
@@ -49,9 +49,9 @@ <h1><tt>ffi.*</tt> API Functions</h1>
4949
<a href="ext_c_api.html">Lua/C API</a>
5050
</li></ul>
5151
</li><li>
52-
<a href="status.html">Status</a>
52+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
5353
</li><li>
54-
<a href="faq.html">FAQ</a>
54+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5555
</li><li>
5656
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5757
</li></ul>
@@ -556,7 +556,7 @@ <h2 id="literals">Extensions to the Lua Parser</h2>
556556
</div>
557557
<div id="foot">
558558
<hr class="hide">
559-
Copyright &copy; 2005-2022
559+
Copyright &copy; 2005-2023
560560
<span class="noprint">
561561
&middot;
562562
<a href="contact.html">Contact</a>

lib/luajit/doc/ext_ffi_semantics.html

+18-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>FFI Semantics</title>
5-
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6+
<meta name="Copyright" content="Copyright (C) 2005-2023">
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">
@@ -49,9 +49,9 @@ <h1>FFI Semantics</h1>
4949
<a href="ext_c_api.html">Lua/C API</a>
5050
</li></ul>
5151
</li><li>
52-
<a href="status.html">Status</a>
52+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
5353
</li><li>
54-
<a href="faq.html">FAQ</a>
54+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5555
</li><li>
5656
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5757
</li></ul>
@@ -438,6 +438,19 @@ <h3 id="convert_vararg">Conversions for vararg C&nbsp;function arguments</h3>
438438
conversion rule applies. A vararg C&nbsp;function expecting an integer
439439
will see a garbled or uninitialized value.
440440
</p>
441+
<p>
442+
Note: this is the only place where creating a boxed scalar number type is
443+
actually useful. <b>Never use <tt>ffi.new("int")</tt>, <tt>ffi.new("float")</tt>
444+
etc. anywhere else!</b>
445+
</p>
446+
<p style="font-size: 8pt;">
447+
Ditto for <tt>ffi.cast()</tt>. Explicitly boxing scalars <b>does not</b>
448+
improve performance or force <tt>int</tt> or <tt>float</tt> arithmetic! It
449+
just adds costly boxing, unboxing and conversions steps. And it may lead
450+
to surprise results, because
451+
<a href="#cdata_arith">cdata arithmetic on scalar numbers</a>
452+
is always performed on 64 bit integers.
453+
</p>
441454

442455
<h2 id="init">Initializers</h2>
443456
<p>
@@ -1243,7 +1256,7 @@ <h2 id="status">Current Status</h2>
12431256
</div>
12441257
<div id="foot">
12451258
<hr class="hide">
1246-
Copyright &copy; 2005-2022
1259+
Copyright &copy; 2005-2023
12471260
<span class="noprint">
12481261
&middot;
12491262
<a href="contact.html">Contact</a>

lib/luajit/doc/ext_ffi_tutorial.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>FFI Tutorial</title>
5-
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6+
<meta name="Copyright" content="Copyright (C) 2005-2023">
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">
@@ -51,9 +51,9 @@ <h1>FFI Tutorial</h1>
5151
<a href="ext_c_api.html">Lua/C API</a>
5252
</li></ul>
5353
</li><li>
54-
<a href="status.html">Status</a>
54+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
5555
</li><li>
56-
<a href="faq.html">FAQ</a>
56+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5757
</li><li>
5858
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5959
</li></ul>
@@ -585,7 +585,7 @@ <h2 id="cache">To Cache or Not to Cache</h2>
585585
</div>
586586
<div id="foot">
587587
<hr class="hide">
588-
Copyright &copy; 2005-2022
588+
Copyright &copy; 2005-2023
589589
<span class="noprint">
590590
&middot;
591591
<a href="contact.html">Contact</a>

lib/luajit/doc/ext_jit.html

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>jit.* Library</title>
5-
<meta charset="utf-8">
6-
<meta name="Copyright" content="Copyright (C) 2005-2022">
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6+
<meta name="Copyright" content="Copyright (C) 2005-2023">
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">
@@ -44,9 +44,9 @@ <h1><tt>jit.*</tt> Library</h1>
4444
<a href="ext_c_api.html">Lua/C API</a>
4545
</li></ul>
4646
</li><li>
47-
<a href="status.html">Status</a>
47+
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
4848
</li><li>
49-
<a href="faq.html">FAQ</a>
49+
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
5050
</li><li>
5151
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
5252
</li></ul>
@@ -133,7 +133,9 @@ <h3 id="jit_version"><tt>jit.version</tt></h3>
133133
<h3 id="jit_version_num"><tt>jit.version_num</tt></h3>
134134
<p>
135135
Contains the version number of the LuaJIT core. Version xx.yy.zz
136-
is represented by the decimal number xxyyzz.
136+
is represented by the decimal number xxyyzz.<br>
137+
<b>DEPRECATED after the switch to
138+
<a href="https://luajit.org/status.html#release"><span class="ext">&raquo;</span>&nbsp;rolling releases</a>. zz is frozen at 99.</b>
137139
</p>
138140

139141
<h3 id="jit_os"><tt>jit.os</tt></h3>
@@ -183,7 +185,7 @@ <h2 id="jit_util"><tt>jit.util.*</tt> &mdash; JIT compiler introspection</h2>
183185
</div>
184186
<div id="foot">
185187
<hr class="hide">
186-
Copyright &copy; 2005-2022
188+
Copyright &copy; 2005-2023
187189
<span class="noprint">
188190
&middot;
189191
<a href="contact.html">Contact</a>

0 commit comments

Comments
 (0)