From 3b35114a16686017f334ff51e0ca21fb13114cd4 Mon Sep 17 00:00:00 2001
From: carregal
Date: Tue, 8 May 2007 19:23:12 +0000
Subject: [PATCH] Details for the 1.2.1 release. Version number, droping Lua
5.0 support
---
README | 43 +++++++++++++++++++++++++++++++++++++++++++
doc/us/examples.html | 3 ++-
doc/us/index.html | 14 ++++++--------
doc/us/license.html | 5 +++--
doc/us/manual.html | 14 +++++---------
src/lfs.c | 4 ++--
src/lfs.def | 2 +-
7 files changed, 62 insertions(+), 23 deletions(-)
create mode 100644 README
diff --git a/README b/README
new file mode 100644
index 0000000..f82f97d
--- /dev/null
+++ b/README
@@ -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.
\ No newline at end of file
diff --git a/doc/us/examples.html b/doc/us/examples.html
index 89f7070..b972d6c 100644
--- a/doc/us/examples.html
+++ b/doc/us/examples.html
@@ -39,6 +39,7 @@
Manual
@@ -94,7 +95,7 @@ attrdir (".")

-
$Id: examples.html,v 1.5 2006/03/14 14:07:55 carregal Exp $
+
$Id: examples.html,v 1.6 2007/05/08 19:23:12 carregal Exp $
diff --git a/doc/us/index.html b/doc/us/index.html
index ea17303..c48b19a 100644
--- a/doc/us/index.html
+++ b/doc/us/index.html
@@ -71,25 +71,23 @@ the underlying directory structure and file attributes.
Status
-Current version is 1.2.1. It was developed for both Lua 5.0 and Lua 5.1.
+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.0.2 Release 2
-a Windows binary version of LuaFileSystem can be found at the same
-LuaForge page.
-
+LuaBinaries 5.1.2 a Windows binary
+version of LuaFileSystem can be found at the same LuaForge page.
History
- - Version 1.2.1 [?/Jun/2006]
+ - Version 1.2.1 [08/May/2007]
-
- - adapted to work on both Lua 5.0 and Lua 5.1
+ - compatible only with Lua 5.1 (Lua 5.0 support was dropped)
@@ -141,7 +139,7 @@ Comments are welcome!

-
$Id: index.html,v 1.34 2006/07/24 01:19:42 tomas Exp $
+
$Id: index.html,v 1.35 2007/05/08 19:23:12 carregal Exp $
diff --git a/doc/us/license.html b/doc/us/license.html
index 6bb4aaa..8c89ca3 100644
--- a/doc/us/license.html
+++ b/doc/us/license.html
@@ -39,6 +39,7 @@
Manual
@@ -84,7 +85,7 @@ Ierusalimschy, André Carregal and Tomás Guisasola.
The implementation is not derived from licensed software.
-Copyright © 2004-2006 The Kepler Project.
+Copyright © 2004-2007 The Kepler Project.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
@@ -113,7 +114,7 @@ SOFTWARE.

-
$Id: license.html,v 1.9 2006/03/14 14:07:55 carregal Exp $
+
$Id: license.html,v 1.10 2007/05/08 19:23:12 carregal Exp $
diff --git a/doc/us/manual.html b/doc/us/manual.html
index 441209f..e08bf09 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -67,11 +67,10 @@ the underlying directory structure and file attributes.
Building
-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.
+
LuaFileSystem offers a Makefile and a separate configuration file,
config,
@@ -79,15 +78,12 @@ which should be edited to suit your installation before runnig
make.
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.
Installation
The LuaFileSystem compiled binary should be copied to a directory in your
-C path.
-Lua 5.0 users should also install Compat-5.1.
+C path.
Windows users can use the binary version of LuaFileSystem
(lfs.dll) available at
@@ -232,7 +228,7 @@ LuaFileSystem offers the following functions:

-
$Id: manual.html,v 1.33 2006/07/24 01:19:42 tomas Exp $
+
$Id: manual.html,v 1.34 2007/05/08 19:23:12 carregal Exp $
diff --git a/src/lfs.c b/src/lfs.c
index e361bd6..13c014e 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -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
@@ -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");
diff --git a/src/lfs.def b/src/lfs.def
index 55ec688..dfe5c59 100644
--- a/src/lfs.def
+++ b/src/lfs.def
@@ -1,5 +1,5 @@
LIBRARY lfs.dll
DESCRIPTION "LuaFileSystem"
-VERSION 1.2
+VERSION 1.2.1
EXPORTS
luaopen_lfs