mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53: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>
|
||||
<ul>
|
||||
<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#reference">Reference</a></li>
|
||||
</ul>
|
||||
@@ -94,7 +95,7 @@ attrdir (".")
|
||||
<div id="about">
|
||||
<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>
|
||||
<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="container" -->
|
||||
|
||||
@@ -71,25 +71,23 @@ the underlying directory structure and file attributes.</p>
|
||||
|
||||
<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>
|
||||
|
||||
<p>LuaFileSystem source can be downloaded from its
|
||||
<a href="http://luaforge.net/projects/luafilesystem/files">Lua Forge</a>
|
||||
page. If you are using
|
||||
<a href="http://luabinaries.luaforge.net">LuaBinaries</a> 5.0.2 Release 2
|
||||
a Windows binary version of LuaFileSystem can be found at the same
|
||||
LuaForge page.</p>
|
||||
|
||||
<a href="http://luabinaries.luaforge.net">LuaBinaries</a> 5.1.2 a Windows binary
|
||||
version of LuaFileSystem can be found at the same LuaForge page.</p>
|
||||
|
||||
<h2><a name="history"></a>History</h2>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
</dd>
|
||||
|
||||
@@ -141,7 +139,7 @@ Comments are welcome!</p>
|
||||
<div id="about">
|
||||
<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>
|
||||
<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="container" -->
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
<li><a href="manual.html">Manual</a>
|
||||
<ul>
|
||||
<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#reference">Reference</a></li>
|
||||
</ul>
|
||||
@@ -84,7 +85,7 @@ Ierusalimschy, André Carregal and Tomás Guisasola.
|
||||
The implementation is not derived from licensed software.</p>
|
||||
|
||||
<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
|
||||
obtaining a copy of this software and associated documentation
|
||||
@@ -113,7 +114,7 @@ SOFTWARE.</p>
|
||||
<div id="about">
|
||||
<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>
|
||||
<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="container" -->
|
||||
|
||||
@@ -67,11 +67,10 @@ the underlying directory structure and file attributes.</p>
|
||||
<h2><a name="building"></a>Building</h2>
|
||||
|
||||
<p>
|
||||
LuaFileSystem could be built to Lua 5.0 or to Lua 5.1.
|
||||
In both cases,
|
||||
the language library and headers files for the target version
|
||||
must be installed properly.
|
||||
LuaFileSystem should be built with Lua 5.1 so the language library
|
||||
and header files for the target version must be installed properly.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
LuaFileSystem offers a Makefile and a separate configuration file,
|
||||
<code>config</code>,
|
||||
@@ -79,15 +78,12 @@ which should be edited to suit your installation before runnig
|
||||
<code>make</code>.
|
||||
The file has some definitions like paths to the external libraries,
|
||||
compiler options and the like.
|
||||
One important definition is the version of Lua language,
|
||||
which is not obtained from the installed software.
|
||||
</p>
|
||||
|
||||
<h2><a name="installation"></a>Installation</h2>
|
||||
|
||||
<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>.
|
||||
Lua 5.0 users should also install <a href="http://www.keplerproject.org/compat">Compat-5.1</a>.</p>
|
||||
<a href="http://www.lua.org/manual/5.1/manual.html#pdf-package.cpath">C path</a>.</p>
|
||||
|
||||
<p>Windows users can use the binary version of LuaFileSystem
|
||||
(<code>lfs.dll</code>) available at
|
||||
@@ -232,7 +228,7 @@ LuaFileSystem offers the following functions:
|
||||
<div id="about">
|
||||
<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>
|
||||
<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="container" -->
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
** lfs.touch (filepath [, atime [, mtime]])
|
||||
** 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>
|
||||
@@ -554,7 +554,7 @@ static int file_info (lua_State *L) {
|
||||
*/
|
||||
static void set_info (lua_State *L) {
|
||||
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_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");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
LIBRARY lfs.dll
|
||||
DESCRIPTION "LuaFileSystem"
|
||||
VERSION 1.2
|
||||
VERSION 1.2.1
|
||||
EXPORTS
|
||||
luaopen_lfs
|
||||
|
||||
Reference in New Issue
Block a user