mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 20:33:06 +00:00
Details for the 1.2.1 release. Version number, droping Lua 5.0 support
This commit is contained in:
43
README
Normal file
43
README
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
Overview
|
||||||
|
--------
|
||||||
|
|
||||||
|
LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution. LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. LuaFileSystem is free software and uses the same license as Lua 5.1
|
||||||
|
|
||||||
|
Status
|
||||||
|
------
|
||||||
|
|
||||||
|
Current version is 1.2.1. It was developed for Lua 5.1.
|
||||||
|
|
||||||
|
Download
|
||||||
|
--------
|
||||||
|
|
||||||
|
LuaFileSystem source can be downloaded from its Lua Forge page. If you are using LuaBinaries 5.1.2 a Windows binary version of LuaFileSystem can be found at the same LuaForge page.
|
||||||
|
|
||||||
|
History
|
||||||
|
-------
|
||||||
|
|
||||||
|
Version 1.2.1 [08/May/2007]
|
||||||
|
* compatible only with Lua 5.1 (Lua 5.0 support was dropped)
|
||||||
|
|
||||||
|
Version 1.2 [15/Mar/2006]
|
||||||
|
* added optional argument to lfs.attributes
|
||||||
|
* added function lfs.rmdir
|
||||||
|
* bug correction on lfs.dir
|
||||||
|
|
||||||
|
Version 1.1 [30/May/2005]
|
||||||
|
* added function lfs.touch.
|
||||||
|
|
||||||
|
Version 1.0 [21/Jan/2005]
|
||||||
|
Version 1.0 Beta [10/Nov/2004]
|
||||||
|
|
||||||
|
Credits
|
||||||
|
-------
|
||||||
|
|
||||||
|
LuaFileSystem was designed by Roberto Ierusalimschy, André Carregal and Tomás Guisasola as part of the Kepler Project, which holds its copyright.
|
||||||
|
|
||||||
|
Contact us
|
||||||
|
----------
|
||||||
|
|
||||||
|
For more information please contact us on (info @ keplerproject.org). Comments are welcome!
|
||||||
|
|
||||||
|
You can also reach other Kepler developers and users on the Kepler Project mailing list.
|
||||||
@@ -39,6 +39,7 @@
|
|||||||
<li><a href="manual.html">Manual</a>
|
<li><a href="manual.html">Manual</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="manual.html#introduction">Introduction</a></li>
|
<li><a href="manual.html#introduction">Introduction</a></li>
|
||||||
|
<li><a href="manual.html#building">Building</a></li>
|
||||||
<li><a href="manual.html#installation">Installation</a></li>
|
<li><a href="manual.html#installation">Installation</a></li>
|
||||||
<li><a href="manual.html#reference">Reference</a></li>
|
<li><a href="manual.html#reference">Reference</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -94,7 +95,7 @@ attrdir (".")
|
|||||||
<div id="about">
|
<div id="about">
|
||||||
<p><a href="http://validator.w3.org/check?uri=referer">
|
<p><a href="http://validator.w3.org/check?uri=referer">
|
||||||
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
||||||
<p><small>$Id: examples.html,v 1.5 2006/03/14 14:07:55 carregal Exp $</small></p>
|
<p><small>$Id: examples.html,v 1.6 2007/05/08 19:23:12 carregal Exp $</small></p>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
|
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
|
|||||||
@@ -71,25 +71,23 @@ the underlying directory structure and file attributes.</p>
|
|||||||
|
|
||||||
<h2><a name="status"></a>Status</h2>
|
<h2><a name="status"></a>Status</h2>
|
||||||
|
|
||||||
<p>Current version is 1.2.1. It was developed for both Lua 5.0 and Lua 5.1.</p>
|
<p>Current version is 1.2.1. It was developed for Lua 5.1.</p>
|
||||||
|
|
||||||
<h2><a name="download"></a>Download</h2>
|
<h2><a name="download"></a>Download</h2>
|
||||||
|
|
||||||
<p>LuaFileSystem source can be downloaded from its
|
<p>LuaFileSystem source can be downloaded from its
|
||||||
<a href="http://luaforge.net/projects/luafilesystem/files">Lua Forge</a>
|
<a href="http://luaforge.net/projects/luafilesystem/files">Lua Forge</a>
|
||||||
page. If you are using
|
page. If you are using
|
||||||
<a href="http://luabinaries.luaforge.net">LuaBinaries</a> 5.0.2 Release 2
|
<a href="http://luabinaries.luaforge.net">LuaBinaries</a> 5.1.2 a Windows binary
|
||||||
a Windows binary version of LuaFileSystem can be found at the same
|
version of LuaFileSystem can be found at the same LuaForge page.</p>
|
||||||
LuaForge page.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<h2><a name="history"></a>History</h2>
|
<h2><a name="history"></a>History</h2>
|
||||||
|
|
||||||
<dl class="history">
|
<dl class="history">
|
||||||
<dt><strong>Version 1.2.1</strong> [?/Jun/2006]</dt>
|
<dt><strong>Version 1.2.1</strong> [08/May/2007]</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<ul>
|
<ul>
|
||||||
<li>adapted to work on both Lua 5.0 and Lua 5.1</li>
|
<li>compatible only with Lua 5.1 (Lua 5.0 support was dropped)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
@@ -141,7 +139,7 @@ Comments are welcome!</p>
|
|||||||
<div id="about">
|
<div id="about">
|
||||||
<p><a href="http://validator.w3.org/check?uri=referer">
|
<p><a href="http://validator.w3.org/check?uri=referer">
|
||||||
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
||||||
<p><small>$Id: index.html,v 1.34 2006/07/24 01:19:42 tomas Exp $</small></p>
|
<p><small>$Id: index.html,v 1.35 2007/05/08 19:23:12 carregal Exp $</small></p>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
|
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
<li><a href="manual.html">Manual</a>
|
<li><a href="manual.html">Manual</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="manual.html#introduction">Introduction</a></li>
|
<li><a href="manual.html#introduction">Introduction</a></li>
|
||||||
|
<li><a href="manual.html#building">Building</a></li>
|
||||||
<li><a href="manual.html#installation">Installation</a></li>
|
<li><a href="manual.html#installation">Installation</a></li>
|
||||||
<li><a href="manual.html#reference">Reference</a></li>
|
<li><a href="manual.html#reference">Reference</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -84,7 +85,7 @@ Ierusalimschy, André Carregal and Tomás Guisasola.
|
|||||||
The implementation is not derived from licensed software.</p>
|
The implementation is not derived from licensed software.</p>
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
<p>Copyright © 2004-2006 The Kepler Project.</p>
|
<p>Copyright © 2004-2007 The Kepler Project.</p>
|
||||||
|
|
||||||
<p>Permission is hereby granted, free of charge, to any person
|
<p>Permission is hereby granted, free of charge, to any person
|
||||||
obtaining a copy of this software and associated documentation
|
obtaining a copy of this software and associated documentation
|
||||||
@@ -113,7 +114,7 @@ SOFTWARE.</p>
|
|||||||
<div id="about">
|
<div id="about">
|
||||||
<p><a href="http://validator.w3.org/check?uri=referer">
|
<p><a href="http://validator.w3.org/check?uri=referer">
|
||||||
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
||||||
<p><small>$Id: license.html,v 1.9 2006/03/14 14:07:55 carregal Exp $</small></p>
|
<p><small>$Id: license.html,v 1.10 2007/05/08 19:23:12 carregal Exp $</small></p>
|
||||||
</div><!-- id="about" -->
|
</div><!-- id="about" -->
|
||||||
|
|
||||||
</div><!-- id="container" -->
|
</div><!-- id="container" -->
|
||||||
|
|||||||
@@ -67,11 +67,10 @@ the underlying directory structure and file attributes.</p>
|
|||||||
<h2><a name="building"></a>Building</h2>
|
<h2><a name="building"></a>Building</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
LuaFileSystem could be built to Lua 5.0 or to Lua 5.1.
|
LuaFileSystem should be built with Lua 5.1 so the language library
|
||||||
In both cases,
|
and header files for the target version must be installed properly.
|
||||||
the language library and headers files for the target version
|
|
||||||
must be installed properly.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
LuaFileSystem offers a Makefile and a separate configuration file,
|
LuaFileSystem offers a Makefile and a separate configuration file,
|
||||||
<code>config</code>,
|
<code>config</code>,
|
||||||
@@ -79,15 +78,12 @@ which should be edited to suit your installation before runnig
|
|||||||
<code>make</code>.
|
<code>make</code>.
|
||||||
The file has some definitions like paths to the external libraries,
|
The file has some definitions like paths to the external libraries,
|
||||||
compiler options and the like.
|
compiler options and the like.
|
||||||
One important definition is the version of Lua language,
|
|
||||||
which is not obtained from the installed software.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2><a name="installation"></a>Installation</h2>
|
<h2><a name="installation"></a>Installation</h2>
|
||||||
|
|
||||||
<p>The LuaFileSystem compiled binary should be copied to a directory in your
|
<p>The LuaFileSystem compiled binary should be copied to a directory in your
|
||||||
<a href="http://www.lua.org/manual/5.1/manual.html#pdf-package.cpath">C path</a>.
|
<a href="http://www.lua.org/manual/5.1/manual.html#pdf-package.cpath">C path</a>.</p>
|
||||||
Lua 5.0 users should also install <a href="http://www.keplerproject.org/compat">Compat-5.1</a>.</p>
|
|
||||||
|
|
||||||
<p>Windows users can use the binary version of LuaFileSystem
|
<p>Windows users can use the binary version of LuaFileSystem
|
||||||
(<code>lfs.dll</code>) available at
|
(<code>lfs.dll</code>) available at
|
||||||
@@ -232,7 +228,7 @@ LuaFileSystem offers the following functions:
|
|||||||
<div id="about">
|
<div id="about">
|
||||||
<p><a href="http://validator.w3.org/check?uri=referer">
|
<p><a href="http://validator.w3.org/check?uri=referer">
|
||||||
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
||||||
<p><small>$Id: manual.html,v 1.33 2006/07/24 01:19:42 tomas Exp $</small></p>
|
<p><small>$Id: manual.html,v 1.34 2007/05/08 19:23:12 carregal Exp $</small></p>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
|
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
** lfs.touch (filepath [, atime [, mtime]])
|
** lfs.touch (filepath [, atime [, mtime]])
|
||||||
** lfs.unlock (fh)
|
** lfs.unlock (fh)
|
||||||
**
|
**
|
||||||
** $Id: lfs.c,v 1.35 2006/12/04 15:28:53 mascarenhas Exp $
|
** $Id: lfs.c,v 1.36 2007/05/08 19:23:12 carregal Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -554,7 +554,7 @@ static int file_info (lua_State *L) {
|
|||||||
*/
|
*/
|
||||||
static void set_info (lua_State *L) {
|
static void set_info (lua_State *L) {
|
||||||
lua_pushliteral (L, "_COPYRIGHT");
|
lua_pushliteral (L, "_COPYRIGHT");
|
||||||
lua_pushliteral (L, "Copyright (C) 2003-2006 Kepler Project");
|
lua_pushliteral (L, "Copyright (C) 2003-2007 Kepler Project");
|
||||||
lua_settable (L, -3);
|
lua_settable (L, -3);
|
||||||
lua_pushliteral (L, "_DESCRIPTION");
|
lua_pushliteral (L, "_DESCRIPTION");
|
||||||
lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution");
|
lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution");
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
LIBRARY lfs.dll
|
LIBRARY lfs.dll
|
||||||
DESCRIPTION "LuaFileSystem"
|
DESCRIPTION "LuaFileSystem"
|
||||||
VERSION 1.2
|
VERSION 1.2.1
|
||||||
EXPORTS
|
EXPORTS
|
||||||
luaopen_lfs
|
luaopen_lfs
|
||||||
|
|||||||
Reference in New Issue
Block a user