diff options
Diffstat (limited to '3rdparty/luafilesystem/doc/us')
-rw-r--r-- | 3rdparty/luafilesystem/doc/us/doc.css | 233 | ||||
-rw-r--r-- | 3rdparty/luafilesystem/doc/us/examples.html | 4 | ||||
-rw-r--r-- | 3rdparty/luafilesystem/doc/us/index.html | 55 | ||||
-rw-r--r-- | 3rdparty/luafilesystem/doc/us/license.html | 10 | ||||
-rw-r--r-- | 3rdparty/luafilesystem/doc/us/manual.html | 38 |
5 files changed, 175 insertions, 165 deletions
diff --git a/3rdparty/luafilesystem/doc/us/doc.css b/3rdparty/luafilesystem/doc/us/doc.css index e816a7e2c63..f233ce4f089 100644 --- a/3rdparty/luafilesystem/doc/us/doc.css +++ b/3rdparty/luafilesystem/doc/us/doc.css @@ -1,182 +1,179 @@ body { - margin-left: 1em; - margin-right: 1em; - font-family: arial, helvetica, geneva, sans-serif; - background-color:#ffffff; margin:0px; + color: #47555c; + font-size: 16px; + font-family: "Open Sans", sans-serif; + margin: 0; + padding: 0; + background: #eff4ff; +} + +a:link { color: #008fee; } +a:visited { color: #008fee; } +a:hover { color: #22a7ff; } + +h1 { font-size:26px; } +h2 { font-size:24px; } +h3 { font-size:18px; } +h4 { font-size:16px; } + +hr { + height: 1px; + background: #c1cce4; + border: 0px; + margin: 20px 0; } code { - font-family: "Andale Mono", monospace; + font-family: "Open Sans Mono", "Andale Mono", monospace; } tt { - font-family: "Andale Mono", monospace; + font-family: "Open Sans Mono", "Andale Mono", monospace; } -body, td, th { font-size: 11pt; } - -h1, h2, h3, h4 { margin-left: 0em; } - -textarea, pre, tt { font-size:10pt; } -body, td, th { color:#000000; } -small { font-size:0.85em; } -h1 { font-size:1.5em; } -h2 { font-size:1.25em; } -h3 { font-size:1.15em; } -h4 { font-size:1.06em; } - -a:link { font-weight:bold; color: #004080; text-decoration: none; } -a:visited { font-weight:bold; color: #006699; text-decoration: none; } -a:link:hover { text-decoration:underline; } -hr { color:#cccccc } -img { border-width: 0px; } - -h3 { padding-top: 1em; } - -p { margin-left: 1em; } - -p.name { - font-family: "Andale Mono", monospace; - padding-top: 1em; - margin-left: 0em; +body, td, th { } -blockquote { margin-left: 3em; } - -.example { - background-color: rgb(245, 245, 245); - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-style: solid; - border-right-style: solid; - border-bottom-style: solid; - border-left-style: solid; - border-top-color: silver; - border-right-color: silver; - border-bottom-color: silver; - border-left-color: silver; - padding: 1em; - margin-left: 1em; - margin-right: 1em; - font-family: "Andale Mono", monospace; - font-size: smaller; -} - -hr { - margin-left: 0em; - background: #00007f; - border: 0px; - height: 1px; +textarea, pre, tt { + font-family: "Open Sans Mono", "Andale Mono", monospace; } -ul { list-style-type: disc; } - -table.index { border: 1px #00007f; } -table.index td { text-align: left; vertical-align: top; } -table.index ul { padding-top: 0em; margin-top: 0em; } - -table { - border: 1px solid black; - border-collapse: collapse; - margin-left: auto; - margin-right: auto; +img { + border-width: 0px; } -th { - border: 1px solid black; - padding: 0.5em; +.example { + background-color: #323744; + color: white; + font-size: 16px; + padding: 16px 24px; + border-radius: 2px; } -td { - border: 1px solid black; - padding: 0.5em; +div.header, div.footer { } -div.header, div.footer { margin-left: 0em; } #container { - margin-left: 1em; - margin-right: 1em; - background-color: #f0f0f0; } #product { - text-align: center; - border-bottom: 1px solid #cccccc; - background-color: #ffffff; + background-color: white; + padding: 10px; + height: 130px; + border-bottom: solid #d3dbec 1px; } #product big { - font-size: 2em; + font-size: 42px; +} +#product strong { + font-weight: normal; } #product_logo { + float: right; } #product_name { + padding-top: 15px; + padding-left: 30px; + font-size: 42px; + font-weight: normal; } #product_description { + padding-left: 30px; + color: #757779; } #main { - background-color: #f0f0f0; - border-left: 2px solid #cccccc; + background: #eff4ff; + margin: 0; } #navigation { - float: left; - width: 12em; + width: 100%; + background-color: rgb(44,62,103); + padding: 10px; margin: 0; - vertical-align: top; - background-color: #f0f0f0; - overflow:visible; } #navigation h1 { - background-color:#e7e7e7; - font-size:1.1em; - color:#000000; - text-align:left; - margin:0px; - padding:0.2em; - border-top:1px solid #dddddd; - border-bottom:1px solid #dddddd; + display: none; +} + +#navigation a:hover { + text-decoration: underline; +} + +#navigation ul li a { + color: rgb(136, 208, 255); + font-weight: bold; + text-decoration: none; +} + +#navigation ul li li a { + color: rgb(136, 208, 255); + font-weight: normal; + text-decoration: none; } #navigation ul { - font-size:1em; + display: inline; + color: white; + padding: 0px; + padding-top: 10px; + padding-bottom: 10px; +} + +#navigation li { + display: inline; list-style-type: none; - padding: 0; - margin: 1px; + padding-left: 5px; + padding-right: 5px; } #navigation li { - text-indent: -1em; - margin: 0em 0em 0em 0.5em; - display: block; - padding: 3px 0px 0px 12px; + padding: 10px; + padding: 10px; +} + +#navigation li li { } -#navigation li li a { - padding: 0px 3px 0px -1em; +#navigation li:hover a { + color: rgb(166, 238, 255); } #content { - margin-left: 12em; - padding: 1em; - border-left: 2px solid #cccccc; - border-right: 2px solid #cccccc; - background-color: #ffffff; + padding: 20px; + width: 800px; + margin-left: auto; + margin-right: auto; } #about { - clear: both; - margin: 0; + display: none; +} + +dl.reference { + background-color: white; + padding: 20px; + border: solid #d3dbec 1px; +} + +dl.reference dt { padding: 5px; - border-top: 2px solid #cccccc; - background-color: #ffffff; + padding-top: 25px; + color: #637bbc; +} + +dl.reference dl dt { + padding-top: 5px; + color: #637383; +} + +dl.reference dd { } @media print { diff --git a/3rdparty/luafilesystem/doc/us/examples.html b/3rdparty/luafilesystem/doc/us/examples.html index 2c1644cb8a0..68756c8b1d4 100644 --- a/3rdparty/luafilesystem/doc/us/examples.html +++ b/3rdparty/luafilesystem/doc/us/examples.html @@ -13,7 +13,7 @@ <div id="product"> <div id="product_logo"> - <a href="http://www.keplerproject.org"> + <a href="http://keplerproject.github.io/luafilesystem"> <img alt="LuaFileSystem" src="luafilesystem.png"/> </a> </div> @@ -33,7 +33,6 @@ <li><a href="index.html#download">Download</a></li> <li><a href="index.html#history">History</a></li> <li><a href="index.html#credits">Credits</a></li> - <li><a href="index.html#contact">Contact us</a></li> </ul> </li> <li><a href="manual.html">Manual</a> @@ -94,7 +93,6 @@ attrdir (".") <div id="about"> <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> - <p><small>$Id: examples.html,v 1.8 2007/12/14 15:28:04 carregal Exp $</small></p> </div> <!-- id="about" --> </div> <!-- id="container" --> diff --git a/3rdparty/luafilesystem/doc/us/index.html b/3rdparty/luafilesystem/doc/us/index.html index 2bb7f5d2cbb..5a2afc0354d 100644 --- a/3rdparty/luafilesystem/doc/us/index.html +++ b/3rdparty/luafilesystem/doc/us/index.html @@ -13,7 +13,7 @@ <div id="product"> <div id="product_logo"> - <a href="http://www.keplerproject.org"> + <a href="http://keplerproject.github.io/luafilesystem"> <img alt="LuaFileSystem" src="luafilesystem.png"/> </a> </div> @@ -33,7 +33,6 @@ <li><a href="index.html#download">Download</a></li> <li><a href="index.html#history">History</a></li> <li><a href="index.html#credits">Credits</a></li> - <li><a href="index.html#contact">Contact us</a></li> </ul> </li> <li><a href="manual.html">Manual</a> @@ -67,21 +66,43 @@ systems offered by the standard Lua distribution.</p> the underlying directory structure and file attributes.</p> <p>LuaFileSystem is free software and uses the same -<a href="license.html">license</a> as Lua 5.1.</p> +<a href="license.html">license</a> as Lua 5.x (MIT).</p> <h2><a name="status"></a>Status</h2> -<p>Current version is 1.6.3. It works with Lua 5.1, 5.2 and 5.3.</p> +<p>Current version is 1.8.0. It works with Lua 5.1, 5.2, 5.3 and 5.4, and it runs on various +flavors of Unix (including Linux, BSDs, macOS) and Windows.</p> <h2><a name="download"></a>Download</h2> -<p>LuaFileSystem source can be downloaded from its -<a href="http://github.com/keplerproject/luafilesystem">Github</a> -page.</p> +<p>LuaFileSystem can be installed using <a href="https://luarocks.org">LuaRocks</a>: + +<pre class="example"> +$ luarocks install luafilesystem +</pre> + +<p>Its source can be found at its <a href="http://github.com/keplerproject/luafilesystem">Github</a> page.</p> <h2><a name="history"></a>History</h2> <dl class="history"> + <dt><strong>Version 1.8.0</strong> [22/Apr/2020]</dt> + <dd><ul> + <li>Lua 5.4 support</li> + <li>lfs.link and lfs.symlinkattributes now work on Windows</li> + <li>MACOSX_DEPLOYMENT_TARGET is configurable in the Makefile</li> + <li>Fallback to _POSIX_PATH_MAX when MAXPATHLEN is not avaliable</li> + <li>Fixed memory leak in case of realloc failure</li> + </ul></dd> + + <dt><strong>Version 1.7.0</strong> [15/Sep/2017]</dt> + <dd><ul> + <li>symlinkattributes function now provides 'target' field, containing name of the file that the symlink points to.</li> + <li>attributes, symlinkattributes, touch, mkdir, and rmdir functions now return system-dependent error code as the third value on error.</li> + <li>Fixed detection of closed files for Lua 5.2+ in setmode, lock, and unlock functions.</li> + <li>Fixed various compiler warnings.</li> + </ul></dd> + <dt><strong>Version 1.6.3</strong> [15/Jan/2015]</dt> <dd><ul> <li>Lua 5.3 support.</li> @@ -115,9 +136,9 @@ page.</p> <dt><strong>Version 1.4.2</strong> [03/Feb/2009]</dt> <dd> <ul> - <li>fixed bug [<a href="http://luaforge.net/tracker/?func=detail&group_id=66&aid=13198&atid=356">#13198</a>] - lfs.attributes(filename, 'size') overflow on files > 2 Gb again (bug report and patch by KUBO Takehiro).</li> - <li>fixed bug [<a href="http://luaforge.net/tracker/?group_id=66&atid=356&func=detail&aid=39794">#39794</a>] + <li>fixed bug + <code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb again (bug report and patch by KUBO Takehiro).</li> + <li>fixed bug Compile error on Solaris 10 (bug report and patch by Aaron B).</li> <li>fixed compilation problems with Borland C.</li> </ul> @@ -129,7 +150,7 @@ page.</p> <li>documentation review</li> <li>fixed Windows compilation issues</li> <li>fixed bug in the Windows tests (patch by Shmuel Zeigerman)</li> - <li>fixed bug [<a href="http://luaforge.net/tracker/?func=detail&group_id=66&aid=2185&atid=356">#2185</a>] + <li>fixed bug <code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb </li> </ul> @@ -191,25 +212,15 @@ page.</p> <p>LuaFileSystem was designed by Roberto Ierusalimschy, André Carregal and Tomás Guisasola as part of the -<a href="http://www.keplerproject.org">Kepler Project</a>, +<a href="https://github.com/keplerproject">Kepler Project</a>, which holds its copyright. LuaFileSystem is currently maintained by Fábio Mascarenhas.</p> -<h2><a name="contact"></a>Contact us</h2> - -<p>For more information please -<a href="mailto:info-NO-SPAM-THANKS@keplerproject.org">contact us</a>. -Comments are welcome!</p> - -<p>You can also reach other Kepler developers and users on the Kepler Project -<a href="http://luaforge.net/mail/?group_id=104">mailing list</a>.</p> - </div> <!-- id="content" --> </div> <!-- id="main" --> <div id="about"> <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> - <p><small>$Id: index.html,v 1.44 2009/02/04 21:21:33 carregal Exp $</small></p> </div> <!-- id="about" --> </div> <!-- id="container" --> diff --git a/3rdparty/luafilesystem/doc/us/license.html b/3rdparty/luafilesystem/doc/us/license.html index 30033817229..f77eba0a002 100644 --- a/3rdparty/luafilesystem/doc/us/license.html +++ b/3rdparty/luafilesystem/doc/us/license.html @@ -13,7 +13,7 @@ <div id="product"> <div id="product_logo"> - <a href="http://www.keplerproject.org"> + <a href="http://keplerproject.github.io/luafilesystem"> <img alt="LuaFileSystem" src="luafilesystem.png"/> </a> </div> @@ -33,7 +33,6 @@ <li><a href="index.html#download">Download</a></li> <li><a href="index.html#history">History</a></li> <li><a href="index.html#credits">Credits</a></li> - <li><a href="index.html#contact">Contact us</a></li> </ul> </li> <li><a href="manual.html">Manual</a> @@ -47,7 +46,7 @@ <li><a href="examples.html">Examples</a></li> <li><a href="https://github.com/keplerproject/luafilesystem">Project</a> <ul> - <li><a href="https://github.com/keplerproject/luafilesystem/issues/">Bug Tracker</a></li> + <li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li> <li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li> </ul> </li> @@ -69,7 +68,7 @@ software. Its licenses are compatible with <a href="http://www.gnu.org/licenses/gpl.html">GPL</a>. LuaFileSystem is not in the public domain and the -<a href="http://www.keplerproject.org">Kepler Project</a> +<a href="https://github.com/keplerproject">Kepler Project</a> keep its copyright. The legal details are below. </p> @@ -85,7 +84,7 @@ Ierusalimschy, André Carregal and Tomás Guisasola. The implementation is not derived from licensed software.</p> <hr/> -<p>Copyright © 2003 Kepler Project.</p> +<p>Copyright © 2003 - 2020 Kepler Project.</p> <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation @@ -113,7 +112,6 @@ SOFTWARE.</p> <div id="about"> <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> - <p><small>$Id: license.html,v 1.13 2008/02/11 22:42:21 carregal Exp $</small></p> </div><!-- id="about" --> </div><!-- id="container" --> diff --git a/3rdparty/luafilesystem/doc/us/manual.html b/3rdparty/luafilesystem/doc/us/manual.html index 33c1cbea573..1feb86a6423 100644 --- a/3rdparty/luafilesystem/doc/us/manual.html +++ b/3rdparty/luafilesystem/doc/us/manual.html @@ -13,7 +13,9 @@ <div id="product"> <div id="product_logo"> - <a href="http://www.keplerproject.org"><img alt="LuaFileSystem" src="luafilesystem.png"/></a> + <a href="http://keplerproject.github.io/luafilesystem"> + <img alt="LuaFileSystem" src="luafilesystem.png"/> + </a> </div> <div id="product_name"><big><strong>LuaFileSystem</strong></big></div> <div id="product_description">File System Library for the Lua Programming Language</div> @@ -31,7 +33,6 @@ <li><a href="index.html#download">Download</a></li> <li><a href="index.html#history">History</a></li> <li><a href="index.html#credits">Credits</a></li> - <li><a href="index.html#contact">Contact us</a></li> </ul> </li> <li><strong>Manual</strong> @@ -101,14 +102,15 @@ LuaFileSystem offers the following functions: </p> <dl class="reference"> - <dt><a name="attributes"></a><strong><code>lfs.attributes (filepath [, aname])</code></strong></dt> + <dt><a name="attributes"></a><strong><code>lfs.attributes (filepath [, request_name | result_table])</code></strong></dt> <dd>Returns a table with the file attributes corresponding to - <code>filepath</code> (or <code>nil</code> followed by an error message + <code>filepath</code> (or <code>nil</code> followed by an error message and a system-dependent error code in case of error). - If the second optional argument is given, then only the value of the + If the second optional argument is given and is a string, then only the value of the named attribute is returned (this use is equivalent to - <code>lfs.attributes(filepath).aname</code>, but the table is not created + <code>lfs.attributes(filepath)[request_name]</code>, but the table is not created and only one attribute is retrieved from the O.S.). + if a table is passed as the second argument, it (<code>result_table</code>) is filled with attributes and returned instead of a new table. The attributes are described as follows; attribute <code>mode</code> is a string, all the others are numbers, and the time related attributes use the same time reference of @@ -152,6 +154,9 @@ LuaFileSystem offers the following functions: <dt><strong><code>size</code></strong></dt> <dd>file size, in bytes</dd> + <dt><strong><code>permissions</code></strong></dt> + <dd>file permissions string</dd> + <dt><strong><code>blocks</code></strong></dt> <dd>block allocated for file; (Unix only)</dd> @@ -172,7 +177,7 @@ LuaFileSystem offers the following functions: Returns <code>true</code> in case of success or <code>nil</code> plus an error string.</dd> - <dt><a name="chdir"></a><strong><code>lfs.lock_dir(path, [seconds_stale])</code></strong></dt> + <dt><a name="lock_dir"></a><strong><code>lfs.lock_dir(path, [seconds_stale])</code></strong></dt> <dd>Creates a lockfile (called lockfile.lfs) in <code>path</code> if it does not exist and returns the lock. If the lock already exists checks if it's stale, using the second parameter (default for the second @@ -182,7 +187,7 @@ LuaFileSystem offers the following functions: particular, if the lock exists and is not stale it returns the "File exists" message.</dd> - <dt><a name="getcwd"></a><strong><code>lfs.currentdir ()</code></strong></dt> + <dt><a name="currentdir"></a><strong><code>lfs.currentdir ()</code></strong></dt> <dd>Returns a string with the current working directory or <code>nil</code> plus an error string.</dd> @@ -217,14 +222,14 @@ LuaFileSystem offers the following functions: <dt><a name="mkdir"></a><strong><code>lfs.mkdir (dirname)</code></strong></dt> <dd>Creates a new directory. The argument is the name of the new directory.<br /> - Returns <code>true</code> if the operation was successful; - in case of error, it returns <code>nil</code> plus an error string. + Returns <code>true</code> in case of success or <code>nil</code>, an error message and + a system-dependent error code in case of error. </dd> <dt><a name="rmdir"></a><strong><code>lfs.rmdir (dirname)</code></strong></dt> <dd>Removes an existing directory. The argument is the name of the directory.<br /> - Returns <code>true</code> if the operation was successful; - in case of error, it returns <code>nil</code> plus an error string.</dd> + Returns <code>true</code> in case of success or <code>nil</code>, an error message and + a system-dependent error code in case of error. <dt><a name="setmode"></a><strong><code>lfs.setmode (file, mode)</code></strong></dt> <dd>Sets the writing mode for a file. The mode string can be either <code>"binary"</code> or <code>"text"</code>. @@ -234,9 +239,11 @@ LuaFileSystem offers the following functions: setting the mode has no effect, and the mode is always returned as <code>binary</code>. </dd> - <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt> + <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, request_name])</code></strong></dt> <dd>Identical to <a href="#attributes">lfs.attributes</a> except that it obtains information about the link itself (not the file it refers to). + It also adds a <strong><code>target</code></strong> field, containing + the file name that the symlink points to. On Windows this function does not yet support links, and is identical to <code>lfs.attributes</code>. </dd> @@ -250,8 +257,8 @@ LuaFileSystem offers the following functions: Lua standard function <code>os.time</code>). If the modification time is omitted, the access time provided is used; if both times are omitted, the current time is used.<br /> - Returns <code>true</code> if the operation was successful; - in case of error, it returns <code>nil</code> plus an error string. + Returns <code>true</code> in case of success or <code>nil</code>, an error message and + a system-dependent error code in case of error. </dd> <dt><a name="unlock"></a><strong><code>lfs.unlock (filehandle[, start[, length]])</code></strong></dt> @@ -271,7 +278,6 @@ LuaFileSystem offers the following functions: <div id="about"> <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> - <p><small>$Id: manual.html,v 1.45 2009/06/03 20:53:55 mascarenhas Exp $</small></p> </div> <!-- id="about" --> </div> <!-- id="container" --> |