aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2026-02-17 17:18:46 +0100
committerGitHub <noreply@github.com>2026-02-17 17:18:46 +0100
commit6272094bc7265262cbca8363b425531ad0170caa (patch)
treeb54c117ae4adebb49e35d662d234f5a708fd3d21 /docs
parente6431f6e0953e49a4fc68865c0727e24ce4062e3 (diff)
downloadluasystem-6272094bc7265262cbca8363b425531ad0170caa.tar.gz
luasystem-6272094bc7265262cbca8363b425531ad0170caa.tar.bz2
luasystem-6272094bc7265262cbca8363b425531ad0170caa.zip
Release v0.7.0 (#84)HEADv0.7.0master
Diffstat (limited to 'docs')
-rw-r--r--docs/classes/bitflags.html2
-rw-r--r--docs/examples/compat.lua.html2
-rw-r--r--docs/examples/flag_debugging.lua.html2
-rw-r--r--docs/examples/password_input.lua.html2
-rw-r--r--docs/examples/read.lua.html2
-rw-r--r--docs/examples/readline.lua.html2
-rw-r--r--docs/examples/spinner.lua.html2
-rw-r--r--docs/examples/spiral_snake.lua.html2
-rw-r--r--docs/examples/terminalsize.lua.html2
-rw-r--r--docs/index.html2
-rw-r--r--docs/modules/system.html20
-rw-r--r--docs/topics/01-introduction.md.html2
-rw-r--r--docs/topics/02-development.md.html2
-rw-r--r--docs/topics/03-terminal.md.html2
-rw-r--r--docs/topics/CHANGELOG.md.html20
-rw-r--r--docs/topics/LICENSE.md.html4
16 files changed, 49 insertions, 21 deletions
diff --git a/docs/classes/bitflags.html b/docs/classes/bitflags.html
index 7637aeb..c03f11f 100644
--- a/docs/classes/bitflags.html
+++ b/docs/classes/bitflags.html
@@ -298,7 +298,7 @@ return <code>false</code> if the flags are checked.
298</div> <!-- id="main" --> 298</div> <!-- id="main" -->
299<div id="about"> 299<div id="about">
300<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 300<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
301<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 301<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
302</div> <!-- id="about" --> 302</div> <!-- id="about" -->
303</div> <!-- id="container" --> 303</div> <!-- id="container" -->
304</body> 304</body>
diff --git a/docs/examples/compat.lua.html b/docs/examples/compat.lua.html
index ca4e489..f6c7e1e 100644
--- a/docs/examples/compat.lua.html
+++ b/docs/examples/compat.lua.html
@@ -112,7 +112,7 @@
112</div> <!-- id="main" --> 112</div> <!-- id="main" -->
113<div id="about"> 113<div id="about">
114<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 114<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
115<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 115<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
116</div> <!-- id="about" --> 116</div> <!-- id="about" -->
117</div> <!-- id="container" --> 117</div> <!-- id="container" -->
118</body> 118</body>
diff --git a/docs/examples/flag_debugging.lua.html b/docs/examples/flag_debugging.lua.html
index dba4471..402ee51 100644
--- a/docs/examples/flag_debugging.lua.html
+++ b/docs/examples/flag_debugging.lua.html
@@ -80,7 +80,7 @@
80</div> <!-- id="main" --> 80</div> <!-- id="main" -->
81<div id="about"> 81<div id="about">
82<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 82<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
83<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 83<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
84</div> <!-- id="about" --> 84</div> <!-- id="about" -->
85</div> <!-- id="container" --> 85</div> <!-- id="container" -->
86</body> 86</body>
diff --git a/docs/examples/password_input.lua.html b/docs/examples/password_input.lua.html
index 342b066..8095acd 100644
--- a/docs/examples/password_input.lua.html
+++ b/docs/examples/password_input.lua.html
@@ -132,7 +132,7 @@ useful for reading secrets from the user.
132</div> <!-- id="main" --> 132</div> <!-- id="main" -->
133<div id="about"> 133<div id="about">
134<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 134<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
135<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 135<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
136</div> <!-- id="about" --> 136</div> <!-- id="about" -->
137</div> <!-- id="container" --> 137</div> <!-- id="container" -->
138</body> 138</body>
diff --git a/docs/examples/read.lua.html b/docs/examples/read.lua.html
index 4995bda..f5d8fb5 100644
--- a/docs/examples/read.lua.html
+++ b/docs/examples/read.lua.html
@@ -143,7 +143,7 @@ sys.<span class="function-name">setnonblock</span>(<span class="global">io</span
143</div> <!-- id="main" --> 143</div> <!-- id="main" -->
144<div id="about"> 144<div id="about">
145<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 145<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
146<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 146<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
147</div> <!-- id="about" --> 147</div> <!-- id="about" -->
148</div> <!-- id="container" --> 148</div> <!-- id="container" -->
149</body> 149</body>
diff --git a/docs/examples/readline.lua.html b/docs/examples/readline.lua.html
index 493de2c..ff06b99 100644
--- a/docs/examples/readline.lua.html
+++ b/docs/examples/readline.lua.html
@@ -549,7 +549,7 @@ sys.<span class="function-name">setconsoleflags</span>(<span class="global">io</
549</div> <!-- id="main" --> 549</div> <!-- id="main" -->
550<div id="about"> 550<div id="about">
551<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 551<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
552<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 552<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
553</div> <!-- id="about" --> 553</div> <!-- id="about" -->
554</div> <!-- id="container" --> 554</div> <!-- id="container" -->
555</body> 555</body>
diff --git a/docs/examples/spinner.lua.html b/docs/examples/spinner.lua.html
index 6e2d63a..b9c0856 100644
--- a/docs/examples/spinner.lua.html
+++ b/docs/examples/spinner.lua.html
@@ -137,7 +137,7 @@ sys.<span class="function-name">setnonblock</span>(<span class="global">io</span
137</div> <!-- id="main" --> 137</div> <!-- id="main" -->
138<div id="about"> 138<div id="about">
139<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 139<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
140<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 140<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
141</div> <!-- id="about" --> 141</div> <!-- id="about" -->
142</div> <!-- id="container" --> 142</div> <!-- id="container" -->
143</body> 143</body>
diff --git a/docs/examples/spiral_snake.lua.html b/docs/examples/spiral_snake.lua.html
index 97d5f77..38404c1 100644
--- a/docs/examples/spiral_snake.lua.html
+++ b/docs/examples/spiral_snake.lua.html
@@ -145,7 +145,7 @@ codes for moving the cursor around.
145</div> <!-- id="main" --> 145</div> <!-- id="main" -->
146<div id="about"> 146<div id="about">
147<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 147<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
148<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 148<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
149</div> <!-- id="about" --> 149</div> <!-- id="about" -->
150</div> <!-- id="container" --> 150</div> <!-- id="container" -->
151</body> 151</body>
diff --git a/docs/examples/terminalsize.lua.html b/docs/examples/terminalsize.lua.html
index d3486bb..4da228a 100644
--- a/docs/examples/terminalsize.lua.html
+++ b/docs/examples/terminalsize.lua.html
@@ -110,7 +110,7 @@ sys.<span class="function-name">tcsetattr</span>(<span class="global">io</span>.
110</div> <!-- id="main" --> 110</div> <!-- id="main" -->
111<div id="about"> 111<div id="about">
112<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 112<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
113<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 113<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
114</div> <!-- id="about" --> 114</div> <!-- id="about" -->
115</div> <!-- id="container" --> 115</div> <!-- id="container" -->
116</body> 116</body>
diff --git a/docs/index.html b/docs/index.html
index e901d08..da33fcb 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -142,7 +142,7 @@
142</div> <!-- id="main" --> 142</div> <!-- id="main" -->
143<div id="about"> 143<div id="about">
144<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 144<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
145<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 145<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
146</div> <!-- id="about" --> 146</div> <!-- id="about" -->
147</div> <!-- id="container" --> 147</div> <!-- id="container" -->
148</body> 148</body>
diff --git a/docs/modules/system.html b/docs/modules/system.html
index 0a2447e..2e3ddc0 100644
--- a/docs/modules/system.html
+++ b/docs/modules/system.html
@@ -206,11 +206,11 @@
206 <td class="summary">Sets the current console output code page (Windows).</td> 206 <td class="summary">Sets the current console output code page (Windows).</td>
207 </tr> 207 </tr>
208 <tr> 208 <tr>
209 <td class="name" nowrap><a href="#utf8cwidth">utf8cwidth (utf8_char)</a></td> 209 <td class="name" nowrap><a href="#utf8cwidth">utf8cwidth (utf8_char[, ambiguous_width=1])</a></td>
210 <td class="summary">Get the width of a utf8 character for terminal display.</td> 210 <td class="summary">Get the width of a utf8 character for terminal display.</td>
211 </tr> 211 </tr>
212 <tr> 212 <tr>
213 <td class="name" nowrap><a href="#utf8swidth">utf8swidth (utf8_string)</a></td> 213 <td class="name" nowrap><a href="#utf8swidth">utf8swidth (utf8_string[, ambiguous_width=1])</a></td>
214 <td class="summary">Get the width of a utf8 string for terminal display.</td> 214 <td class="summary">Get the width of a utf8 string for terminal display.</td>
215 </tr> 215 </tr>
216</table> 216</table>
@@ -1248,7 +1248,7 @@ sequences will be buffered internally and returned one byte at a time.
1248</dd> 1248</dd>
1249 <dt> 1249 <dt>
1250 <a name = "utf8cwidth"></a> 1250 <a name = "utf8cwidth"></a>
1251 <strong>utf8cwidth (utf8_char)</strong> 1251 <strong>utf8cwidth (utf8_char[, ambiguous_width=1])</strong>
1252 </dt> 1252 </dt>
1253 <dd> 1253 <dd>
1254 Get the width of a utf8 character for terminal display. 1254 Get the width of a utf8 character for terminal display.
@@ -1260,6 +1260,11 @@ sequences will be buffered internally and returned one byte at a time.
1260 <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a> or <span class="type">int</span></span> 1260 <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a> or <span class="type">int</span></span>
1261 the utf8 character, or unicode codepoint, to check, only the width of the first character will be returned 1261 the utf8 character, or unicode codepoint, to check, only the width of the first character will be returned
1262 </li> 1262 </li>
1263 <li><span class="parameter">ambiguous_width</span>
1264 <span class="types"><span class="type">int</span></span>
1265 the width to return for ambiguous width characters (usually 1 or 2)
1266 (<em>default</em> 1)
1267 </li>
1263 </ul> 1268 </ul>
1264 1269
1265 <h3>Returns:</h3> 1270 <h3>Returns:</h3>
@@ -1286,7 +1291,7 @@ sequences will be buffered internally and returned one byte at a time.
1286</dd> 1291</dd>
1287 <dt> 1292 <dt>
1288 <a name = "utf8swidth"></a> 1293 <a name = "utf8swidth"></a>
1289 <strong>utf8swidth (utf8_string)</strong> 1294 <strong>utf8swidth (utf8_string[, ambiguous_width=1])</strong>
1290 </dt> 1295 </dt>
1291 <dd> 1296 <dd>
1292 Get the width of a utf8 string for terminal display. 1297 Get the width of a utf8 string for terminal display.
@@ -1298,6 +1303,11 @@ sequences will be buffered internally and returned one byte at a time.
1298 <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> 1303 <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
1299 the utf8 string to check 1304 the utf8 string to check
1300 </li> 1305 </li>
1306 <li><span class="parameter">ambiguous_width</span>
1307 <span class="types"><span class="type">int</span></span>
1308 the width to return for ambiguous width characters (1 or 2)
1309 (<em>default</em> 1)
1310 </li>
1301 </ul> 1311 </ul>
1302 1312
1303 <h3>Returns:</h3> 1313 <h3>Returns:</h3>
@@ -1518,7 +1528,7 @@ This function will sleep, without doing a busy-loop and wasting CPU cycles.
1518</div> <!-- id="main" --> 1528</div> <!-- id="main" -->
1519<div id="about"> 1529<div id="about">
1520<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 1530<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
1521<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 1531<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
1522</div> <!-- id="about" --> 1532</div> <!-- id="about" -->
1523</div> <!-- id="container" --> 1533</div> <!-- id="container" -->
1524</body> 1534</body>
diff --git a/docs/topics/01-introduction.md.html b/docs/topics/01-introduction.md.html
index 264aa71..0723af1 100644
--- a/docs/topics/01-introduction.md.html
+++ b/docs/topics/01-introduction.md.html
@@ -84,7 +84,7 @@ independence.</p>
84</div> <!-- id="main" --> 84</div> <!-- id="main" -->
85<div id="about"> 85<div id="about">
86<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 86<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
87<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 87<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
88</div> <!-- id="about" --> 88</div> <!-- id="about" -->
89</div> <!-- id="container" --> 89</div> <!-- id="container" -->
90</body> 90</body>
diff --git a/docs/topics/02-development.md.html b/docs/topics/02-development.md.html
index 15efe55..b2a9833 100644
--- a/docs/topics/02-development.md.html
+++ b/docs/topics/02-development.md.html
@@ -84,7 +84,7 @@ pass locally, and do not rely on CI only.</p>
84</div> <!-- id="main" --> 84</div> <!-- id="main" -->
85<div id="about"> 85<div id="about">
86<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 86<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
87<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 87<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
88</div> <!-- id="about" --> 88</div> <!-- id="about" -->
89</div> <!-- id="container" --> 89</div> <!-- id="container" -->
90</body> 90</body>
diff --git a/docs/topics/03-terminal.md.html b/docs/topics/03-terminal.md.html
index 27772ac..272d124 100644
--- a/docs/topics/03-terminal.md.html
+++ b/docs/topics/03-terminal.md.html
@@ -220,7 +220,7 @@ For an example see <a href="../examples/password_input.lua.html"><code>examples/
220</div> <!-- id="main" --> 220</div> <!-- id="main" -->
221<div id="about"> 221<div id="about">
222<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 222<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
223<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 223<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
224</div> <!-- id="about" --> 224</div> <!-- id="about" -->
225</div> <!-- id="container" --> 225</div> <!-- id="container" -->
226</body> 226</body>
diff --git a/docs/topics/CHANGELOG.md.html b/docs/topics/CHANGELOG.md.html
index 9603abd..318c020 100644
--- a/docs/topics/CHANGELOG.md.html
+++ b/docs/topics/CHANGELOG.md.html
@@ -106,6 +106,24 @@
106<p><a name="Version_history"></a></p> 106<p><a name="Version_history"></a></p>
107<h2>Version history</h2> 107<h2>Version history</h2>
108 108
109<h3>version 0.7.0, released 17-Feb-2026</h3>
110
111<ul>
112 <li>Fix: remove two unused-variable warnings.
113 See <a href="https://github.com/lunarmodules/luasystem/pull/78">#78</a>.</li>
114 <li>Fix: duplicate symbol when linking with luajit on windows
115 See <a href="https://github.com/lunarmodules/luasystem/pull/81">#81</a>.</li>
116 <li>Feat: fix the display-width functions that occasionally reported a bad width. The source code now
117 includes a code-generator that parses the official Unicode files to create static ranges in the
118 source code. Beyond that the ambiguous width can now be specified by the user, as a second parameter
119 to <code>utf8cwidth</code> and <code>utf8swidth</code>.
120 See <a href="https://github.com/lunarmodules/luasystem/pull/82">#82</a>.</li>
121 <li>Chore: added Lua 5.5 to CI matrix.
122 See <a href="https://github.com/lunarmodules/luasystem/pull/79">#79</a>.</li>
123 <li>Chore: relax test assertion wrt time.
124 See <a href="https://github.com/lunarmodules/luasystem/pull/80">#80</a>.</li>
125</ul>
126
109<h3>version 0.6.3, released 11-Jul-2025</h3> 127<h3>version 0.6.3, released 11-Jul-2025</h3>
110 128
111<ul> 129<ul>
@@ -234,7 +252,7 @@
234</div> <!-- id="main" --> 252</div> <!-- id="main" -->
235<div id="about"> 253<div id="about">
236<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 254<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
237<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 255<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
238</div> <!-- id="about" --> 256</div> <!-- id="about" -->
239</div> <!-- id="container" --> 257</div> <!-- id="container" -->
240</body> 258</body>
diff --git a/docs/topics/LICENSE.md.html b/docs/topics/LICENSE.md.html
index c0b9b93..c417973 100644
--- a/docs/topics/LICENSE.md.html
+++ b/docs/topics/LICENSE.md.html
@@ -69,7 +69,7 @@
69<h1>MIT License</h1> 69<h1>MIT License</h1>
70 70
71<h3>Copyright (c) 2016-2024, Oscar Lim</h3> 71<h3>Copyright (c) 2016-2024, Oscar Lim</h3>
72<h3>Copyright (c) 2024-2025, the luasystem project authors.</h3> 72<h3>Copyright (c) 2024-2026, the luasystem project authors.</h3>
73 73
74<p>Permission is hereby granted, free of charge, to any person obtaining a copy of 74<p>Permission is hereby granted, free of charge, to any person obtaining a copy of
75this software and associated documentation files (the "Software"), to deal in 75this software and associated documentation files (the "Software"), to deal in
@@ -94,7 +94,7 @@ SOFTWARE.</p>
94</div> <!-- id="main" --> 94</div> <!-- id="main" -->
95<div id="about"> 95<div id="about">
96<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> 96<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
97<i style="float:right;">Last updated 2025-07-11 22:55:05 </i> 97<i style="float:right;">Last updated 2026-02-17 17:18:04 </i>
98</div> <!-- id="about" --> 98</div> <!-- id="about" -->
99</div> <!-- id="container" --> 99</div> <!-- id="container" -->
100</body> 100</body>