diff options
| -rw-r--r-- | README | 48 | ||||
| -rw-r--r-- | doc/us/index.html | 17 | ||||
| -rw-r--r-- | src/lfs.c | 4 | ||||
| -rw-r--r-- | src/lfs.def | 2 |
4 files changed, 59 insertions, 12 deletions
| @@ -10,12 +10,6 @@ related to file systems offered by the standard Lua distribution. | |||
| 10 | LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. | 10 | LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. |
| 11 | LuaFileSystem is free software and uses the same license as Lua 5.1 | 11 | LuaFileSystem is free software and uses the same license as Lua 5.1 |
| 12 | 12 | ||
| 13 | Version 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 | |||
| 19 | LuaRocks Installation | 13 | LuaRocks Installation |
| 20 | --------------------- | 14 | --------------------- |
| 21 | luarocks install luafilesystem | 15 | luarocks install luafilesystem |
| @@ -36,3 +30,45 @@ To install on Windows, please copy lfs.dll to your package.cpath directory | |||
| 36 | Documentation | 30 | Documentation |
| 37 | ------------- | 31 | ------------- |
| 38 | Please check the documentation at /doc/us/ for more information. | 32 | Please check the documentation at /doc/us/ for more information. |
| 33 | |||
| 34 | History | ||
| 35 | ------- | ||
| 36 | |||
| 37 | Version 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 | |||
| 43 | Version 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 | |||
| 50 | Version 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 | |||
| 55 | Version 1.3.0 [26/Oct/2007] | ||
| 56 | |||
| 57 | * added function lfs.symlinkattributes (works only in non Windows systems). | ||
| 58 | |||
| 59 | Version 1.2.1 [08/May/2007] | ||
| 60 | |||
| 61 | * compatible only with Lua 5.1 (Lua 5.0 support was dropped) | ||
| 62 | |||
| 63 | Version 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 | |||
| 69 | Version 1.1 [30/May/2005] | ||
| 70 | |||
| 71 | * added function lfs.touch. | ||
| 72 | |||
| 73 | Version 1.0 [21/Jan/2005] | ||
| 74 | Version 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> |
| 80 | page. If you are using | 80 | page. 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 |
| 82 | version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found at the same LuaForge page.</p> | 82 | version 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&group_id=66&aid=13198&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&atid=356&func=detail&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" --> |
| @@ -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 @@ | |||
| 1 | LIBRARY lfs.dll | 1 | LIBRARY lfs.dll |
| 2 | DESCRIPTION "LuaFileSystem" | 2 | DESCRIPTION "LuaFileSystem" |
| 3 | VERSION 1.4.1 | 3 | VERSION 1.4.2 |
| 4 | EXPORTS | 4 | EXPORTS |
| 5 | luaopen_lfs | 5 | luaopen_lfs |
