aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarregal <carregal>2009-02-03 22:05:48 +0000
committercarregal <carregal>2009-02-03 22:05:48 +0000
commit657faad984e378751bc35fabc6ee166e3bcd1493 (patch)
treea63a76844fd09f3dcbe8fee9cdc3755e4e3398ca
parent16961a6c2c6fb424e79195f65ae4387cd8005053 (diff)
downloadluafilesystem-1_4_2.tar.gz
luafilesystem-1_4_2.tar.bz2
luafilesystem-1_4_2.zip
Packaging version 1.4.2v1_4_2
-rw-r--r--README48
-rw-r--r--doc/us/index.html17
-rw-r--r--src/lfs.c4
-rw-r--r--src/lfs.def2
4 files changed, 59 insertions, 12 deletions
diff --git a/README b/README
index 858ecb6..788aac6 100644
--- a/README
+++ b/README
@@ -10,12 +10,6 @@ related to file systems offered by the standard Lua distribution.
10LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. 10LuaFileSystem offers a portable way to access the underlying directory structure and file attributes.
11LuaFileSystem is free software and uses the same license as Lua 5.1 11LuaFileSystem is free software and uses the same license as Lua 5.1
12 12
13Version 1.4.1 [07/May/2008] changes:
14 * documentation review
15 * fixed Windows compilation issues
16 * fixed bug in the Windows tests (patch by Shmuel Zeigerman)
17 * fixed bug [#2185] lfs.attributes(filename, 'size') overflow on files > 2 Gb
18
19LuaRocks Installation 13LuaRocks Installation
20--------------------- 14---------------------
21luarocks install luafilesystem 15luarocks install luafilesystem
@@ -36,3 +30,45 @@ To install on Windows, please copy lfs.dll to your package.cpath directory
36Documentation 30Documentation
37------------- 31-------------
38Please check the documentation at /doc/us/ for more information. 32Please check the documentation at /doc/us/ for more information.
33
34History
35-------
36
37Version 1.4.2 [03/Feb/2009]
38
39 * fixed bug [#13198] lfs.attributes(filename, 'size') overflow on files > 2 Gb again (bug report and patch by KUBO Takehiro).
40 * fixed bug [#39794] Compile error on Solaris 10 (bug report and patch by Aaron B).
41 * fixed compilation problems with Borland C.
42
43Version 1.4.1 [07/May/2008]
44
45 * documentation review
46 * fixed Windows compilation issues
47 * fixed bug in the Windows tests (patch by Shmuel Zeigerman)
48 * fixed bug [#2185] lfs.attributes(filename, 'size') overflow on files > 2 Gb
49
50Version 1.4.0 [13/Feb/2008]
51
52 * added function lfs.setmode (works only in Windows systems).
53 * lfs.attributes raises an error if attribute does not exist
54
55Version 1.3.0 [26/Oct/2007]
56
57 * added function lfs.symlinkattributes (works only in non Windows systems).
58
59Version 1.2.1 [08/May/2007]
60
61 * compatible only with Lua 5.1 (Lua 5.0 support was dropped)
62
63Version 1.2 [15/Mar/2006]
64
65 * added optional argument to lfs.attributes
66 * added function lfs.rmdir
67 * bug correction on lfs.dir
68
69Version 1.1 [30/May/2005]
70
71 * added function lfs.touch.
72
73Version 1.0 [21/Jan/2005]
74Version 1.0 Beta [10/Nov/2004]
diff --git a/doc/us/index.html b/doc/us/index.html
index 63b5791..5c1896d 100644
--- a/doc/us/index.html
+++ b/doc/us/index.html
@@ -71,19 +71,30 @@ the underlying directory structure and file attributes.</p>
71 71
72<h2><a name="status"></a>Status</h2> 72<h2><a name="status"></a>Status</h2>
73 73
74<p>Current version is 1.4.1. It was developed for Lua 5.1.</p> 74<p>Current version is 1.4.2. It was developed for Lua 5.1.</p>
75 75
76<h2><a name="download"></a>Download</h2> 76<h2><a name="download"></a>Download</h2>
77 77
78<p>LuaFileSystem source can be downloaded from its 78<p>LuaFileSystem source can be downloaded from its
79<a href="http://luaforge.net/projects/luafilesystem/files">Lua Forge</a> 79<a href="http://luaforge.net/projects/luafilesystem/files">Lua Forge</a>
80page. If you are using 80page. If you are using
81<a href="http://luabinaries.luaforge.net">LuaBinaries</a> 5.1.3 a Windows binary 81<a href="http://luabinaries.luaforge.net">LuaBinaries</a> a Windows binary
82version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found at the same LuaForge page.</p> 82version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found at the same LuaForge page.</p>
83 83
84<h2><a name="history"></a>History</h2> 84<h2><a name="history"></a>History</h2>
85 85
86<dl class="history"> 86<dl class="history">
87 <dt><strong>Version 1.4.2</strong> [03/Feb/2009]</dt>
88 <dd>
89 <ul>
90 <li>fixed bug [<a href="http://luaforge.net/tracker/?func=detail&amp;group_id=66&amp;aid=13198&amp;atid=356">#13198</a>]
91 lfs.attributes(filename, 'size') overflow on files > 2 Gb again (bug report and patch by KUBO Takehiro).</li>
92 <li>fixed bug [<a href="http://luaforge.net/tracker/?group_id=66&amp;atid=356&amp;func=detail&amp;aid=39794">#39794</a>]
93 Compile error on Solaris 10 (bug report and patch by Aaron B).</li>
94 <li>fixed compilation problems with Borland C.</li>
95 </ul>
96 </dd>
97
87 <dt><strong>Version 1.4.1</strong> [07/May/2008]</dt> 98 <dt><strong>Version 1.4.1</strong> [07/May/2008]</dt>
88 <dd> 99 <dd>
89 <ul> 100 <ul>
@@ -170,7 +181,7 @@ Comments are welcome!</p>
170 181
171<div id="about"> 182<div id="about">
172 <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> 183 <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
173 <p><small>$Id: index.html,v 1.42 2008/05/07 19:06:37 carregal Exp $</small></p> 184 <p><small>$Id: index.html,v 1.43 2009/02/03 22:05:49 carregal Exp $</small></p>
174</div> <!-- id="about" --> 185</div> <!-- id="about" -->
175 186
176</div> <!-- id="container" --> 187</div> <!-- id="container" -->
diff --git a/src/lfs.c b/src/lfs.c
index bb10e73..a3bce1d 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -16,7 +16,7 @@
16** lfs.touch (filepath [, atime [, mtime]]) 16** lfs.touch (filepath [, atime [, mtime]])
17** lfs.unlock (fh) 17** lfs.unlock (fh)
18** 18**
19** $Id: lfs.c,v 1.55 2008/12/15 16:13:55 mascarenhas Exp $ 19** $Id: lfs.c,v 1.56 2009/02/03 22:05:48 carregal Exp $
20*/ 20*/
21 21
22#ifndef _WIN32 22#ifndef _WIN32
@@ -671,7 +671,7 @@ static void set_info (lua_State *L) {
671 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"); 671 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");
672 lua_settable (L, -3); 672 lua_settable (L, -3);
673 lua_pushliteral (L, "_VERSION"); 673 lua_pushliteral (L, "_VERSION");
674 lua_pushliteral (L, "LuaFileSystem 1.4.1"); 674 lua_pushliteral (L, "LuaFileSystem 1.4.2");
675 lua_settable (L, -3); 675 lua_settable (L, -3);
676} 676}
677 677
diff --git a/src/lfs.def b/src/lfs.def
index 978ee6e..f79cd29 100644
--- a/src/lfs.def
+++ b/src/lfs.def
@@ -1,5 +1,5 @@
1LIBRARY lfs.dll 1LIBRARY lfs.dll
2DESCRIPTION "LuaFileSystem" 2DESCRIPTION "LuaFileSystem"
3VERSION 1.4.1 3VERSION 1.4.2
4EXPORTS 4EXPORTS
5luaopen_lfs 5luaopen_lfs