diff options
author | Mike Pall <mike> | 2020-10-12 16:11:32 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2020-10-12 16:11:32 +0200 |
commit | 050466552bf7eb8b7944aa52c93b45326ae14d7a (patch) | |
tree | f92ad9dd6963ffc3168ea46bed892894adcc7339 | |
parent | 5c46f47736f7609be407c88d531ecd1689d40a79 (diff) | |
download | luajit-050466552bf7eb8b7944aa52c93b45326ae14d7a.tar.gz luajit-050466552bf7eb8b7944aa52c93b45326ae14d7a.tar.bz2 luajit-050466552bf7eb8b7944aa52c93b45326ae14d7a.zip |
Minor changes and https-ify links.
-rw-r--r-- | COPYRIGHT | 6 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | doc/contact.html | 4 | ||||
-rw-r--r-- | doc/ext_ffi_api.html | 2 | ||||
-rw-r--r-- | doc/ext_ffi_semantics.html | 4 | ||||
-rw-r--r-- | doc/ext_ffi_tutorial.html | 4 | ||||
-rw-r--r-- | doc/extensions.html | 8 | ||||
-rw-r--r-- | doc/faq.html | 22 | ||||
-rw-r--r-- | doc/install.html | 6 | ||||
-rw-r--r-- | doc/luajit.html | 4 | ||||
-rw-r--r-- | doc/running.html | 2 | ||||
-rw-r--r-- | dynasm/dynasm.lua | 4 | ||||
-rw-r--r-- | etc/luajit.1 | 6 | ||||
-rw-r--r-- | etc/luajit.pc | 2 | ||||
-rw-r--r-- | src/lib_base.c | 4 | ||||
-rw-r--r-- | src/lj_alloc.c | 6 | ||||
-rw-r--r-- | src/lua.h | 2 | ||||
-rw-r--r-- | src/luajit.h | 6 |
18 files changed, 47 insertions, 47 deletions
@@ -1,5 +1,5 @@ | |||
1 | =============================================================================== | 1 | =============================================================================== |
2 | LuaJIT -- a Just-In-Time Compiler for Lua. http://luajit.org/ | 2 | LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/ |
3 | 3 | ||
4 | Copyright (C) 2005-2020 Mike Pall. All rights reserved. | 4 | Copyright (C) 2005-2020 Mike Pall. All rights reserved. |
5 | 5 | ||
@@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |||
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
22 | THE SOFTWARE. | 22 | THE SOFTWARE. |
23 | 23 | ||
24 | [ MIT license: http://www.opensource.org/licenses/mit-license.php ] | 24 | [ MIT license: https://www.opensource.org/licenses/mit-license.php ] |
25 | 25 | ||
26 | =============================================================================== | 26 | =============================================================================== |
27 | [ LuaJIT includes code from Lua 5.1/5.2, which has this license statement: ] | 27 | [ LuaJIT includes code from Lua 5.1/5.2, which has this license statement: ] |
@@ -51,6 +51,6 @@ THE SOFTWARE. | |||
51 | 51 | ||
52 | This is a version (aka dlmalloc) of malloc/free/realloc written by | 52 | This is a version (aka dlmalloc) of malloc/free/realloc written by |
53 | Doug Lea and released to the public domain, as explained at | 53 | Doug Lea and released to the public domain, as explained at |
54 | http://creativecommons.org/licenses/publicdomain | 54 | https://creativecommons.org/licenses/publicdomain |
55 | 55 | ||
56 | =============================================================================== | 56 | =============================================================================== |
@@ -3,7 +3,7 @@ README for LuaJIT 2.0.5 | |||
3 | 3 | ||
4 | LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. | 4 | LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. |
5 | 5 | ||
6 | Project Homepage: http://luajit.org/ | 6 | Project Homepage: https://luajit.org/ |
7 | 7 | ||
8 | LuaJIT is Copyright (C) 2005-2020 Mike Pall. | 8 | LuaJIT is Copyright (C) 2005-2020 Mike Pall. |
9 | LuaJIT is free software, released under the MIT license. | 9 | LuaJIT is free software, released under the MIT license. |
diff --git a/doc/contact.html b/doc/contact.html index b5e390a7..3940feed 100644 --- a/doc/contact.html +++ b/doc/contact.html | |||
@@ -55,11 +55,11 @@ | |||
55 | <p> | 55 | <p> |
56 | If you want to report bugs, propose fixes or suggest enhancements, | 56 | If you want to report bugs, propose fixes or suggest enhancements, |
57 | please use the | 57 | please use the |
58 | <a href="https://github.com/LuaJIT/LuaJIT/issues">GitHub issue tracker</a>. | 58 | <a href="https://github.com/LuaJIT/LuaJIT/issues"><span class="ext">»</span> GitHub issue tracker</a>. |
59 | </p> | 59 | </p> |
60 | <p> | 60 | <p> |
61 | Please send general questions to the | 61 | Please send general questions to the |
62 | <a href="https://luajit.org/list.html">LuaJIT mailing list</a>. | 62 | <a href="https://luajit.org/list.html"><span class="ext">»</span> LuaJIT mailing list</a>. |
63 | </p> | 63 | </p> |
64 | <p> | 64 | <p> |
65 | You can also send any questions you have directly to me: | 65 | You can also send any questions you have directly to me: |
diff --git a/doc/ext_ffi_api.html b/doc/ext_ffi_api.html index 9772aa5d..5683289a 100644 --- a/doc/ext_ffi_api.html +++ b/doc/ext_ffi_api.html | |||
@@ -253,7 +253,7 @@ contents of an <tt>__index</tt> table (if any) may be modified | |||
253 | afterwards. The associated metatable automatically applies to all uses | 253 | afterwards. The associated metatable automatically applies to all uses |
254 | of this type, no matter how the objects are created or where they | 254 | of this type, no matter how the objects are created or where they |
255 | originate from. Note that pre-defined operations on types have | 255 | originate from. Note that pre-defined operations on types have |
256 | precedence (e.g. declared field names cannot be overriden). | 256 | precedence (e.g. declared field names cannot be overridden). |
257 | </p> | 257 | </p> |
258 | <p> | 258 | <p> |
259 | All standard Lua metamethods are implemented. These are called directly, | 259 | All standard Lua metamethods are implemented. These are called directly, |
diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html index ce6313d7..c95407b7 100644 --- a/doc/ext_ffi_semantics.html +++ b/doc/ext_ffi_semantics.html | |||
@@ -668,7 +668,7 @@ through unions is explicitly detected and allowed. | |||
668 | <a href="ext_ffi_api.html#ffi_new">constructor</a>. This is equivalent | 668 | <a href="ext_ffi_api.html#ffi_new">constructor</a>. This is equivalent |
669 | to <tt>ffi.new(ct, ...)</tt>, unless a <tt>__new</tt> metamethod is | 669 | to <tt>ffi.new(ct, ...)</tt>, unless a <tt>__new</tt> metamethod is |
670 | defined. The <tt>__new</tt> metamethod is called with the ctype object | 670 | defined. The <tt>__new</tt> metamethod is called with the ctype object |
671 | plus any other arguments passed to the contructor. Note that you have to | 671 | plus any other arguments passed to the constructor. Note that you have to |
672 | use <tt>ffi.new</tt> inside of it, since calling <tt>ct(...)</tt> would | 672 | use <tt>ffi.new</tt> inside of it, since calling <tt>ct(...)</tt> would |
673 | cause infinite recursion.</li> | 673 | cause infinite recursion.</li> |
674 | 674 | ||
@@ -838,7 +838,7 @@ place of a type, you'd need to use <tt>ffi.typeof("int")</tt> instead. | |||
838 | <p> | 838 | <p> |
839 | The main use for parameterized types are libraries implementing abstract | 839 | The main use for parameterized types are libraries implementing abstract |
840 | data types | 840 | data types |
841 | (<a href="https://www.freelists.org/post/luajit/ffi-type-of-pointer-to,8">example</a>), | 841 | (<a href="https://www.freelists.org/post/luajit/ffi-type-of-pointer-to,8"><span class="ext">»</span> example</a>), |
842 | similar to what can be achieved with C++ template metaprogramming. | 842 | similar to what can be achieved with C++ template metaprogramming. |
843 | Another use case are derived types of anonymous structs, which avoids | 843 | Another use case are derived types of anonymous structs, which avoids |
844 | pollution of the global struct namespace. | 844 | pollution of the global struct namespace. |
diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html index ae376b1f..6ba76dc2 100644 --- a/doc/ext_ffi_tutorial.html +++ b/doc/ext_ffi_tutorial.html | |||
@@ -214,7 +214,7 @@ a fascinating best-selling game is left as an exercise for the reader. | |||
214 | <h2 id="zlib">Accessing the zlib Compression Library</h2> | 214 | <h2 id="zlib">Accessing the zlib Compression Library</h2> |
215 | <p> | 215 | <p> |
216 | The following code shows how to access the <a | 216 | The following code shows how to access the <a |
217 | href="https://zlib.net/">zlib</a> compression library from Lua code. | 217 | href="https://zlib.net/"><span class="ext">»</span> zlib</a> compression library from Lua code. |
218 | We'll define two convenience wrapper functions that take a string and | 218 | We'll define two convenience wrapper functions that take a string and |
219 | compress or uncompress it to another string: | 219 | compress or uncompress it to another string: |
220 | </p> | 220 | </p> |
@@ -297,7 +297,7 @@ comes pre-installed. Since <tt>ffi.load()</tt> automatically adds any | |||
297 | missing standard prefixes/suffixes, we can simply load the | 297 | missing standard prefixes/suffixes, we can simply load the |
298 | <tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and | 298 | <tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and |
299 | you'll have to download it first from the | 299 | you'll have to download it first from the |
300 | <a href="https://zlib.net/">zlib site</a>. The check for | 300 | <a href="https://zlib.net/"><span class="ext">»</span> zlib site</a>. The check for |
301 | <tt>ffi.os</tt> makes sure we pass the right name to | 301 | <tt>ffi.os</tt> makes sure we pass the right name to |
302 | <tt>ffi.load()</tt>. | 302 | <tt>ffi.load()</tt>. |
303 | </p> | 303 | </p> |
diff --git a/doc/extensions.html b/doc/extensions.html index 0fc65330..9d37cf0e 100644 --- a/doc/extensions.html +++ b/doc/extensions.html | |||
@@ -71,9 +71,9 @@ td.excinterop { | |||
71 | <div id="main"> | 71 | <div id="main"> |
72 | <p> | 72 | <p> |
73 | LuaJIT is fully upwards-compatible with Lua 5.1. It supports all | 73 | LuaJIT is fully upwards-compatible with Lua 5.1. It supports all |
74 | <a href="https://www.lua.org/manual/5.1/manual.html#5">standard Lua | 74 | <a href="https://www.lua.org/manual/5.1/manual.html#5"><span class="ext">»</span> standard Lua |
75 | library functions</a> and the full set of | 75 | library functions</a> and the full set of |
76 | <a href="https://www.lua.org/manual/5.1/manual.html#3">Lua/C API | 76 | <a href="https://www.lua.org/manual/5.1/manual.html#3"><span class="ext">»</span> Lua/C API |
77 | functions</a>. | 77 | functions</a>. |
78 | </p> | 78 | </p> |
79 | <p> | 79 | <p> |
@@ -97,7 +97,7 @@ LuaJIT comes with several built-in extension modules: | |||
97 | <h3 id="bit"><tt>bit.*</tt> — Bitwise operations</h3> | 97 | <h3 id="bit"><tt>bit.*</tt> — Bitwise operations</h3> |
98 | <p> | 98 | <p> |
99 | LuaJIT supports all bitwise operations as defined by | 99 | LuaJIT supports all bitwise operations as defined by |
100 | <a href="https://bitop.luajit.org">Lua BitOp</a>: | 100 | <a href="https://bitop.luajit.org"><span class="ext">»</span> Lua BitOp</a>: |
101 | </p> | 101 | </p> |
102 | <pre class="code"> | 102 | <pre class="code"> |
103 | bit.tobit bit.tohex bit.bnot bit.band bit.bor bit.bxor | 103 | bit.tobit bit.tohex bit.bnot bit.band bit.bor bit.bxor |
@@ -106,7 +106,7 @@ bit.lshift bit.rshift bit.arshift bit.rol bit.ror bit.bswap | |||
106 | <p> | 106 | <p> |
107 | This module is a LuaJIT built-in — you don't need to download or | 107 | This module is a LuaJIT built-in — you don't need to download or |
108 | install Lua BitOp. The Lua BitOp site has full documentation for all | 108 | install Lua BitOp. The Lua BitOp site has full documentation for all |
109 | <a href="https://bitop.luajit.org/api.html">Lua BitOp API functions</a>. | 109 | <a href="https://bitop.luajit.org/api.html"><span class="ext">»</span> Lua BitOp API functions</a>. |
110 | </p> | 110 | </p> |
111 | <p> | 111 | <p> |
112 | Please make sure to <tt>require</tt> the module before using any of | 112 | Please make sure to <tt>require</tt> the module before using any of |
diff --git a/doc/faq.html b/doc/faq.html index 65b0d842..a7144670 100644 --- a/doc/faq.html +++ b/doc/faq.html | |||
@@ -59,16 +59,16 @@ dd { margin-left: 1.5em; } | |||
59 | <dt>Q: Where can I learn more about LuaJIT and Lua?</dt> | 59 | <dt>Q: Where can I learn more about LuaJIT and Lua?</dt> |
60 | <dd> | 60 | <dd> |
61 | <ul style="padding: 0;"> | 61 | <ul style="padding: 0;"> |
62 | <li>The <a href="https://luajit.org/list.html">LuaJIT mailing list</a> focuses on topics | 62 | <li>The <a href="https://luajit.org/list.html"><span class="ext">»</span> LuaJIT mailing list</a> focuses on topics |
63 | related to LuaJIT.</li> | 63 | related to LuaJIT.</li> |
64 | <li>The <a href="http://wiki.luajit.org/"><span class="ext">»</span> LuaJIT wiki</a> gathers community | 64 | <li>The <a href="http://wiki.luajit.org/"><span class="ext">»</span> LuaJIT wiki</a> gathers community |
65 | resources about LuaJIT.</li> | 65 | resources about LuaJIT.</li> |
66 | <li>News about Lua itself can be found at the | 66 | <li>News about Lua itself can be found at the |
67 | <a href="https://www.lua.org/lua-l.html">Lua mailing list</a>. | 67 | <a href="https://www.lua.org/lua-l.html"><span class="ext">»</span> Lua mailing list</a>. |
68 | The mailing list archives are worth checking out for older postings | 68 | The mailing list archives are worth checking out for older postings |
69 | about LuaJIT.</li> | 69 | about LuaJIT.</li> |
70 | <li>The <a href="https://lua.org">main Lua.org site</a> has complete | 70 | <li>The <a href="https://lua.org"><span class="ext">»</span> main Lua.org site</a> has complete |
71 | <a href="https://www.lua.org/docs.html">documentation</a> of the language | 71 | <a href="https://www.lua.org/docs.html"><span class="ext">»</span> documentation</a> of the language |
72 | and links to books and papers about Lua.</li> | 72 | and links to books and papers about Lua.</li> |
73 | <li>The community-managed <a href="http://lua-users.org/wiki/"><span class="ext">»</span> Lua Wiki</a> | 73 | <li>The community-managed <a href="http://lua-users.org/wiki/"><span class="ext">»</span> Lua Wiki</a> |
74 | has information about diverse topics.</li> | 74 | has information about diverse topics.</li> |
@@ -81,11 +81,11 @@ has information about diverse topics.</li> | |||
81 | I'm planning to write more documentation about the internals of LuaJIT. | 81 | I'm planning to write more documentation about the internals of LuaJIT. |
82 | In the meantime, please use the following Google Scholar searches | 82 | In the meantime, please use the following Google Scholar searches |
83 | to find relevant papers:<br> | 83 | to find relevant papers:<br> |
84 | Search for: <a href="https://scholar.google.com/scholar?q=Trace+Compiler">Trace Compiler</a><br> | 84 | Search for: <a href="https://scholar.google.com/scholar?q=Trace+Compiler"><span class="ext">»</span> Trace Compiler</a><br> |
85 | Search for: <a href="https://scholar.google.com/scholar?q=JIT+Compiler">JIT Compiler</a><br> | 85 | Search for: <a href="https://scholar.google.com/scholar?q=JIT+Compiler"><span class="ext">»</span> JIT Compiler</a><br> |
86 | Search for: <a href="https://scholar.google.com/scholar?q=Dynamic+Language+Optimizations">Dynamic Language Optimizations</a><br> | 86 | Search for: <a href="https://scholar.google.com/scholar?q=Dynamic+Language+Optimizations"><span class="ext">»</span> Dynamic Language Optimizations</a><br> |
87 | Search for: <a href="https://scholar.google.com/scholar?q=SSA+Form">SSA Form</a><br> | 87 | Search for: <a href="https://scholar.google.com/scholar?q=SSA+Form"><span class="ext">»</span> SSA Form</a><br> |
88 | Search for: <a href="https://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation">Linear Scan Register Allocation</a><br> | 88 | Search for: <a href="https://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation"><span class="ext">»</span> Linear Scan Register Allocation</a><br> |
89 | Here is a list of the <a href="http://lua-users.org/lists/lua-l/2009-11/msg00089.html"><span class="ext">»</span> innovative features in LuaJIT</a>.<br> | 89 | Here is a list of the <a href="http://lua-users.org/lists/lua-l/2009-11/msg00089.html"><span class="ext">»</span> innovative features in LuaJIT</a>.<br> |
90 | And, you know, reading the source is of course the only way to enlightenment. :-) | 90 | And, you know, reading the source is of course the only way to enlightenment. :-) |
91 | </dd> | 91 | </dd> |
@@ -97,7 +97,7 @@ Q: My vararg functions fail after switching to LuaJIT!</dt> | |||
97 | <dd>LuaJIT is compatible to the Lua 5.1 language standard. It doesn't | 97 | <dd>LuaJIT is compatible to the Lua 5.1 language standard. It doesn't |
98 | support the implicit <tt>arg</tt> parameter for old-style vararg | 98 | support the implicit <tt>arg</tt> parameter for old-style vararg |
99 | functions from Lua 5.0.<br>Please convert your code to the | 99 | functions from Lua 5.0.<br>Please convert your code to the |
100 | <a href="https://www.lua.org/manual/5.1/manual.html#2.5.9">Lua 5.1 | 100 | <a href="https://www.lua.org/manual/5.1/manual.html#2.5.9"><span class="ext">»</span> Lua 5.1 |
101 | vararg syntax</a>.</dd> | 101 | vararg syntax</a>.</dd> |
102 | </dl> | 102 | </dl> |
103 | 103 | ||
@@ -154,7 +154,7 @@ don't report a bug about it. Check the <tt>mode</tt> parameter for the | |||
154 | In general, the only promising approach is to sandbox Lua code at the | 154 | In general, the only promising approach is to sandbox Lua code at the |
155 | process level and not the VM level.<br> | 155 | process level and not the VM level.<br> |
156 | 156 | ||
157 | More reading material at the <a href="http://lua-users.org/wiki/SandBoxes"><span class="ext">»</span> Lua Wiki</a> and <a href="https://en.wikipedia.org/wiki/Sandbox_(computer_security)">Wikipedia</a>. | 157 | More reading material at the <a href="http://lua-users.org/wiki/SandBoxes"><span class="ext">»</span> Lua Wiki</a> and <a href="https://en.wikipedia.org/wiki/Sandbox_(computer_security)"><span class="ext">»</span> Wikipedia</a>. |
158 | </dd> | 158 | </dd> |
159 | </dl> | 159 | </dl> |
160 | 160 | ||
diff --git a/doc/install.html b/doc/install.html index 60665360..85ca9913 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -236,7 +236,7 @@ Obviously the prefixes given during build and installation need to be the same. | |||
236 | <p> | 236 | <p> |
237 | Either install one of the open source SDKs | 237 | Either install one of the open source SDKs |
238 | (<a href="http://mingw.org/"><span class="ext">»</span> MinGW</a> or | 238 | (<a href="http://mingw.org/"><span class="ext">»</span> MinGW</a> or |
239 | <a href="https://www.cygwin.com/">Cygwin</a>), which come with a modified | 239 | <a href="https://www.cygwin.com/"><span class="ext">»</span> Cygwin</a>), which come with a modified |
240 | GCC plus the required development headers. | 240 | GCC plus the required development headers. |
241 | Or install Microsoft's Visual Studio (MSVC). | 241 | Or install Microsoft's Visual Studio (MSVC). |
242 | </p> | 242 | </p> |
@@ -358,7 +358,7 @@ make HOST_CC="gcc -m32" CROSS=mips-linux- | |||
358 | make HOST_CC="gcc -m32" CROSS=mipsel-linux- | 358 | make HOST_CC="gcc -m32" CROSS=mipsel-linux- |
359 | </pre> | 359 | </pre> |
360 | <p> | 360 | <p> |
361 | You can cross-compile for <b id="android">Android</b> using the <a href="https://developer.android.com/ndk/">Android NDK</a>. | 361 | You can cross-compile for <b id="android">Android</b> using the <a href="https://developer.android.com/ndk/"><span class="ext">»</span> Android NDK</a>. |
362 | Please adapt the environment variables to match the install locations and the | 362 | Please adapt the environment variables to match the install locations and the |
363 | desired target platform. E.g. Android 4.1 corresponds to ABI level 16. | 363 | desired target platform. E.g. Android 4.1 corresponds to ABI level 16. |
364 | </p> | 364 | </p> |
@@ -488,7 +488,7 @@ Make sure the <tt>jit</tt> library is loaded or the JIT compiler | |||
488 | will not be activated.</li> | 488 | will not be activated.</li> |
489 | <li>The <tt>bit.*</tt> module for bitwise operations | 489 | <li>The <tt>bit.*</tt> module for bitwise operations |
490 | is already built-in. There's no need to statically link | 490 | is already built-in. There's no need to statically link |
491 | <a href="https://bitop.luajit.org/">Lua BitOp</a> to your application.</li> | 491 | <a href="https://bitop.luajit.org/"><span class="ext">»</span> Lua BitOp</a> to your application.</li> |
492 | </ul> | 492 | </ul> |
493 | 493 | ||
494 | <h2 id="distro">Hints for Distribution Maintainers</h2> | 494 | <h2 id="distro">Hints for Distribution Maintainers</h2> |
diff --git a/doc/luajit.html b/doc/luajit.html index c71831bb..f99aa022 100644 --- a/doc/luajit.html +++ b/doc/luajit.html | |||
@@ -139,13 +139,13 @@ table.feature small { | |||
139 | <div id="main"> | 139 | <div id="main"> |
140 | <p> | 140 | <p> |
141 | LuaJIT is a <b>Just-In-Time Compiler</b> (JIT) for the | 141 | LuaJIT is a <b>Just-In-Time Compiler</b> (JIT) for the |
142 | <a href="https://www.lua.org/">Lua</a> programming language. | 142 | <a href="https://www.lua.org/"><span class="ext">»</span> Lua</a> programming language. |
143 | Lua is a powerful, dynamic and light-weight programming language. | 143 | Lua is a powerful, dynamic and light-weight programming language. |
144 | It may be embedded or used as a general-purpose, stand-alone language. | 144 | It may be embedded or used as a general-purpose, stand-alone language. |
145 | </p> | 145 | </p> |
146 | <p> | 146 | <p> |
147 | LuaJIT is Copyright © 2005-2020 Mike Pall, released under the | 147 | LuaJIT is Copyright © 2005-2020 Mike Pall, released under the |
148 | <a href="https://www.opensource.org/licenses/mit-license.php">MIT open source license</a>. | 148 | <a href="https://www.opensource.org/licenses/mit-license.php"><span class="ext">»</span> MIT open source license</a>. |
149 | </p> | 149 | </p> |
150 | <p> | 150 | <p> |
151 | </p> | 151 | </p> |
diff --git a/doc/running.html b/doc/running.html index a8c71af0..07fa0099 100644 --- a/doc/running.html +++ b/doc/running.html | |||
@@ -87,7 +87,7 @@ The <tt>luajit</tt> stand-alone executable is just a slightly modified | |||
87 | version of the regular <tt>lua</tt> stand-alone executable. | 87 | version of the regular <tt>lua</tt> stand-alone executable. |
88 | It supports the same basic options, too. <tt>luajit -h</tt> | 88 | It supports the same basic options, too. <tt>luajit -h</tt> |
89 | prints a short list of the available options. Please have a look at the | 89 | prints a short list of the available options. Please have a look at the |
90 | <a href="https://www.lua.org/manual/5.1/manual.html#6">Lua manual</a> | 90 | <a href="https://www.lua.org/manual/5.1/manual.html#6"><span class="ext">»</span> Lua manual</a> |
91 | for details. | 91 | for details. |
92 | </p> | 92 | </p> |
93 | <p> | 93 | <p> |
diff --git a/dynasm/dynasm.lua b/dynasm/dynasm.lua index 5fda425b..e33a99be 100644 --- a/dynasm/dynasm.lua +++ b/dynasm/dynasm.lua | |||
@@ -14,7 +14,7 @@ local _info = { | |||
14 | vernum = 10300, | 14 | vernum = 10300, |
15 | release = "2011-05-05", | 15 | release = "2011-05-05", |
16 | author = "Mike Pall", | 16 | author = "Mike Pall", |
17 | url = "http://luajit.org/dynasm.html", | 17 | url = "https://luajit.org/dynasm.html", |
18 | license = "MIT", | 18 | license = "MIT", |
19 | copyright = [[ | 19 | copyright = [[ |
20 | Copyright (C) 2005-2020 Mike Pall. All rights reserved. | 20 | Copyright (C) 2005-2020 Mike Pall. All rights reserved. |
@@ -38,7 +38,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |||
38 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 38 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
39 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 39 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
40 | 40 | ||
41 | [ MIT license: http://www.opensource.org/licenses/mit-license.php ] | 41 | [ MIT license: https://www.opensource.org/licenses/mit-license.php ] |
42 | ]], | 42 | ]], |
43 | } | 43 | } |
44 | 44 | ||
diff --git a/etc/luajit.1 b/etc/luajit.1 index 2071c155..82097094 100644 --- a/etc/luajit.1 +++ b/etc/luajit.1 | |||
@@ -6,7 +6,7 @@ luajit \- Just-In-Time Compiler for the Lua Language | |||
6 | .B luajit | 6 | .B luajit |
7 | [\fIoptions\fR]... [\fIscript\fR [\fIargs\fR]...] | 7 | [\fIoptions\fR]... [\fIscript\fR [\fIargs\fR]...] |
8 | .SH "WEB SITE" | 8 | .SH "WEB SITE" |
9 | .IR http://luajit.org | 9 | .IR https://luajit.org |
10 | .SH DESCRIPTION | 10 | .SH DESCRIPTION |
11 | .PP | 11 | .PP |
12 | This is the command-line program to run Lua programs with \fBLuaJIT\fR. | 12 | This is the command-line program to run Lua programs with \fBLuaJIT\fR. |
@@ -80,9 +80,9 @@ Runs some nested loops and shows the resulting traces. | |||
80 | .SH SEE ALSO | 80 | .SH SEE ALSO |
81 | .PP | 81 | .PP |
82 | More details in the provided HTML docs or at: | 82 | More details in the provided HTML docs or at: |
83 | .IR http://luajit.org | 83 | .IR https://luajit.org |
84 | .br | 84 | .br |
85 | More about the Lua language can be found at: | 85 | More about the Lua language can be found at: |
86 | .IR http://lua.org/docs.html | 86 | .IR https://lua.org/docs.html |
87 | .PP | 87 | .PP |
88 | lua(1) | 88 | lua(1) |
diff --git a/etc/luajit.pc b/etc/luajit.pc index 36840ab8..9bac3a8b 100644 --- a/etc/luajit.pc +++ b/etc/luajit.pc | |||
@@ -17,7 +17,7 @@ INSTALL_CMOD=${prefix}/${multilib}/lua/${abiver} | |||
17 | 17 | ||
18 | Name: LuaJIT | 18 | Name: LuaJIT |
19 | Description: Just-in-time compiler for Lua | 19 | Description: Just-in-time compiler for Lua |
20 | URL: http://luajit.org | 20 | URL: https://luajit.org |
21 | Version: ${version} | 21 | Version: ${version} |
22 | Requires: | 22 | Requires: |
23 | Libs: -L${libdir} -l${libname} | 23 | Libs: -L${libdir} -l${libname} |
diff --git a/src/lib_base.c b/src/lib_base.c index 99f7b44a..f3388798 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
@@ -506,8 +506,8 @@ LJLIB_CF(print) | |||
506 | lua_gettable(L, LUA_GLOBALSINDEX); | 506 | lua_gettable(L, LUA_GLOBALSINDEX); |
507 | tv = L->top-1; | 507 | tv = L->top-1; |
508 | } | 508 | } |
509 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) | 509 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) && |
510 | && !gcrefu(basemt_it(G(L), LJ_TNUMX)); | 510 | !gcrefu(basemt_it(G(L), LJ_TNUMX)); |
511 | for (i = 0; i < nargs; i++) { | 511 | for (i = 0; i < nargs; i++) { |
512 | const char *str; | 512 | const char *str; |
513 | size_t size; | 513 | size_t size; |
diff --git a/src/lj_alloc.c b/src/lj_alloc.c index dc64dca9..9adaa0e5 100644 --- a/src/lj_alloc.c +++ b/src/lj_alloc.c | |||
@@ -6,7 +6,7 @@ | |||
6 | ** | 6 | ** |
7 | ** This is a version (aka dlmalloc) of malloc/free/realloc written by | 7 | ** This is a version (aka dlmalloc) of malloc/free/realloc written by |
8 | ** Doug Lea and released to the public domain, as explained at | 8 | ** Doug Lea and released to the public domain, as explained at |
9 | ** http://creativecommons.org/licenses/publicdomain. | 9 | ** https://creativecommons.org/licenses/publicdomain. |
10 | ** | 10 | ** |
11 | ** * Version pre-2.8.4 Wed Mar 29 19:46:29 2006 (dl at gee) | 11 | ** * Version pre-2.8.4 Wed Mar 29 19:46:29 2006 (dl at gee) |
12 | ** | 12 | ** |
@@ -16,8 +16,8 @@ | |||
16 | ** If you want to use dlmalloc in another project, you should get | 16 | ** If you want to use dlmalloc in another project, you should get |
17 | ** the original from: ftp://gee.cs.oswego.edu/pub/misc/ | 17 | ** the original from: ftp://gee.cs.oswego.edu/pub/misc/ |
18 | ** For thread-safe derivatives, take a look at: | 18 | ** For thread-safe derivatives, take a look at: |
19 | ** - ptmalloc: http://www.malloc.de/ | 19 | ** - ptmalloc: https://www.malloc.de/ |
20 | ** - nedmalloc: http://www.nedprod.com/programs/portable/nedmalloc/ | 20 | ** - nedmalloc: https://www.nedprod.com/programs/portable/nedmalloc/ |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #define lj_alloc_c | 23 | #define lj_alloc_c |
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $ | 2 | ** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (https://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
6 | */ | 6 | */ |
7 | 7 | ||
diff --git a/src/luajit.h b/src/luajit.h index 5f5b3887..ea7118c4 100644 --- a/src/luajit.h +++ b/src/luajit.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** LuaJIT -- a Just-In-Time Compiler for Lua. http://luajit.org/ | 2 | ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/ |
3 | ** | 3 | ** |
4 | ** Copyright (C) 2005-2020 Mike Pall. All rights reserved. | 4 | ** Copyright (C) 2005-2020 Mike Pall. All rights reserved. |
5 | ** | 5 | ** |
@@ -22,7 +22,7 @@ | |||
22 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 22 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
23 | ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 23 | ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
24 | ** | 24 | ** |
25 | ** [ MIT license: http://www.opensource.org/licenses/mit-license.php ] | 25 | ** [ MIT license: https://www.opensource.org/licenses/mit-license.php ] |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #ifndef _LUAJIT_H | 28 | #ifndef _LUAJIT_H |
@@ -34,7 +34,7 @@ | |||
34 | #define LUAJIT_VERSION_NUM 20005 /* Version 2.0.5 = 02.00.05. */ | 34 | #define LUAJIT_VERSION_NUM 20005 /* Version 2.0.5 = 02.00.05. */ |
35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_5 | 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_5 |
36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2020 Mike Pall" | 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2020 Mike Pall" |
37 | #define LUAJIT_URL "http://luajit.org/" | 37 | #define LUAJIT_URL "https://luajit.org/" |
38 | 38 | ||
39 | /* Modes for luaJIT_setmode. */ | 39 | /* Modes for luaJIT_setmode. */ |
40 | #define LUAJIT_MODE_MASK 0x00ff | 40 | #define LUAJIT_MODE_MASK 0x00ff |