diff options
| author | tomas <tomas> | 2006-06-08 17:55:33 +0000 |
|---|---|---|
| committer | tomas <tomas> | 2006-06-08 17:55:33 +0000 |
| commit | df2efb797c1456258d6844b43271b0557754fbaf (patch) | |
| tree | 5a79b111461eca6a936299e6d07a3ac0ca58ca52 | |
| parent | b6c8c1394289d63100c738cd7322a4486cd076a6 (diff) | |
| download | luafilesystem-df2efb797c1456258d6844b43271b0557754fbaf.tar.gz luafilesystem-df2efb797c1456258d6844b43271b0557754fbaf.tar.bz2 luafilesystem-df2efb797c1456258d6844b43271b0557754fbaf.zip | |
Adding support for compilation on both Lua 5.0 and Lua 5.1
| -rw-r--r-- | doc/us/index.html | 19 | ||||
| -rw-r--r-- | doc/us/manual.html | 14 |
2 files changed, 14 insertions, 19 deletions
diff --git a/doc/us/index.html b/doc/us/index.html index 814b910..b6325b6 100644 --- a/doc/us/index.html +++ b/doc/us/index.html | |||
| @@ -66,17 +66,11 @@ systems offered by the standard Lua distribution.</p> | |||
| 66 | the underlying directory structure and file attributes.</p> | 66 | the underlying directory structure and file attributes.</p> |
| 67 | 67 | ||
| 68 | <p>LuaFileSystem is free software and uses the same | 68 | <p>LuaFileSystem is free software and uses the same |
| 69 | <a href="license.html">license</a> as Lua 5.0.</p> | 69 | <a href="license.html">license</a> as Lua 5.1.</p> |
| 70 | 70 | ||
| 71 | <h2><a name="status"></a>Status</h2> | 71 | <h2><a name="status"></a>Status</h2> |
| 72 | 72 | ||
| 73 | <p>Current version is 1.2 It was developed for Lua 5.0.</p> | 73 | <p>Current version is 1.2.1. It was developed for both Lua 5.0 and Lua 5.1.</p> |
| 74 | |||
| 75 | <p>Version 1.2 follows the | ||
| 76 | <a href="http://www.keplerproject.org/compat">package model</a> | ||
| 77 | for Lua 5.1 (see section <a href="manual.html#installation">Installation</a> | ||
| 78 | for more details).</p> | ||
| 79 | |||
| 80 | 74 | ||
| 81 | <h2><a name="download"></a>Download</h2> | 75 | <h2><a name="download"></a>Download</h2> |
| 82 | 76 | ||
| @@ -91,6 +85,13 @@ LuaForge page.</p> | |||
| 91 | <h2><a name="history"></a>History</h2> | 85 | <h2><a name="history"></a>History</h2> |
| 92 | 86 | ||
| 93 | <dl class="history"> | 87 | <dl class="history"> |
| 88 | <dt><strong>Version 1.2.1</strong> [?/Jun/2006]</dt> | ||
| 89 | <dd> | ||
| 90 | <ul> | ||
| 91 | <li>adapted to work on both Lua 5.0 and Lua 5.1</li> | ||
| 92 | </ul> | ||
| 93 | </dd> | ||
| 94 | |||
| 94 | <dt><strong>Version 1.2</strong> [15/Mar/2006]</dt> | 95 | <dt><strong>Version 1.2</strong> [15/Mar/2006]</dt> |
| 95 | <dd> | 96 | <dd> |
| 96 | <ul> | 97 | <ul> |
| @@ -139,7 +140,7 @@ Comments are welcome!</p> | |||
| 139 | <div id="about"> | 140 | <div id="about"> |
| 140 | <p><a href="http://validator.w3.org/check?uri=referer"> | 141 | <p><a href="http://validator.w3.org/check?uri=referer"> |
| 141 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> | 142 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> |
| 142 | <p><small>$Id: index.html,v 1.31 2006/03/23 20:44:00 carregal Exp $</small></p> | 143 | <p><small>$Id: index.html,v 1.32 2006/06/08 17:55:33 tomas Exp $</small></p> |
| 143 | </div> <!-- id="about" --> | 144 | </div> <!-- id="about" --> |
| 144 | 145 | ||
| 145 | </div> <!-- id="container" --> | 146 | </div> <!-- id="container" --> |
diff --git a/doc/us/manual.html b/doc/us/manual.html index 922b27b..3d38aea 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html | |||
| @@ -65,14 +65,8 @@ the underlying directory structure and file attributes.</p> | |||
| 65 | 65 | ||
| 66 | <h2><a name="installation"></a>Installation</h2> | 66 | <h2><a name="installation"></a>Installation</h2> |
| 67 | 67 | ||
| 68 | <p>LuaFileSystem follows the | 68 | <p>The LuaFileSystem compiled binary should be copied to a directory in your |
| 69 | <a href="http://www.keplerproject.org/compat/">package model</a> | 69 | <code><a href="http://www.lua.org/manual/5.1/manual.html#pdf-package.cpath">LUA_CPATH</a></code>. Lua 5.0 users should install <a href="http://www.keplerproject.org/compat">Compat-5.1</a> also.</p> |
| 70 | for Lua 5.1, therefore it should be "installed". Refer to | ||
| 71 | <a href="http://www.keplerproject.org/compat/manual.html#configuration"> | ||
| 72 | Compat-5.1 configuration</a> section about how to install the compiled | ||
| 73 | binary properly. | ||
| 74 | The compiled binary should be copied to a directory in your | ||
| 75 | <code>LUA_CPATH</code>.</p> | ||
| 76 | 70 | ||
| 77 | <p>Windows users can use the binary version of LuaFileSystem | 71 | <p>Windows users can use the binary version of LuaFileSystem |
| 78 | (<code>lfs.dll</code>) available at | 72 | (<code>lfs.dll</code>) available at |
| @@ -96,7 +90,7 @@ LuaFileSystem offers the following functions: | |||
| 96 | The attributes are described as follows; | 90 | The attributes are described as follows; |
| 97 | attribute <code>mode</code> is a string, all the others are numbers, | 91 | attribute <code>mode</code> is a string, all the others are numbers, |
| 98 | and the time related attributes use the same time reference of | 92 | and the time related attributes use the same time reference of |
| 99 | <a href="http://www.lua.org/manual/5.0/manual.html#5.7"><code>os.time</code></a>: | 93 | <a href="http://www.lua.org/manual/5.1/manual.html#pdf-os.time"><code>os.time</code></a>: |
| 100 | <dl> | 94 | <dl> |
| 101 | <dt><strong><code>dev</code></strong></dt> | 95 | <dt><strong><code>dev</code></strong></dt> |
| 102 | <dd>on Unix systems, this represents the device that the inode resides on. On Windows systems, | 96 | <dd>on Unix systems, this represents the device that the inode resides on. On Windows systems, |
| @@ -217,7 +211,7 @@ LuaFileSystem offers the following functions: | |||
| 217 | <div id="about"> | 211 | <div id="about"> |
| 218 | <p><a href="http://validator.w3.org/check?uri=referer"> | 212 | <p><a href="http://validator.w3.org/check?uri=referer"> |
| 219 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> | 213 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> |
| 220 | <p><small>$Id: manual.html,v 1.31 2006/03/15 20:29:15 carregal Exp $</small></p> | 214 | <p><small>$Id: manual.html,v 1.32 2006/06/08 17:55:33 tomas Exp $</small></p> |
| 221 | </div> <!-- id="about" --> | 215 | </div> <!-- id="about" --> |
| 222 | 216 | ||
| 223 | </div> <!-- id="container" --> | 217 | </div> <!-- id="container" --> |
