diff options
| author | carregal <carregal> | 2008-05-07 19:06:37 +0000 |
|---|---|---|
| committer | carregal <carregal> | 2008-05-07 19:06:37 +0000 |
| commit | d4bfd537a8c4c14c3c1790ece17faa3eb639e7c2 (patch) | |
| tree | 954e4adb5478d2d96fb8c482a883ff0c920e50d1 | |
| parent | d7a5679fb8dac1da8563b8e5b1d759e08dab3b32 (diff) | |
| download | luafilesystem-d4bfd537a8c4c14c3c1790ece17faa3eb639e7c2.tar.gz luafilesystem-d4bfd537a8c4c14c3c1790ece17faa3eb639e7c2.tar.bz2 luafilesystem-d4bfd537a8c4c14c3c1790ece17faa3eb639e7c2.zip | |
Packaging version 1.4.1
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | Makefile.win | 3 | ||||
| -rw-r--r-- | README | 6 | ||||
| -rw-r--r-- | doc/us/index.html | 16 | ||||
| -rw-r--r-- | rockspecs/luafilesystem-1.4.1-1.rockspec | 43 | ||||
| -rw-r--r-- | src/lfs.c | 4 | ||||
| -rw-r--r-- | src/lfs.def | 2 |
7 files changed, 68 insertions, 10 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | # $Id: Makefile,v 1.33 2008/03/25 18:24:17 mascarenhas Exp $ | 1 | # $Id: Makefile,v 1.34 2008/05/07 19:06:37 carregal Exp $ |
| 2 | 2 | ||
| 3 | T= lfs | 3 | T= lfs |
| 4 | V= 1.4.0 | 4 | |
| 5 | CONFIG= ./config | 5 | CONFIG= ./config |
| 6 | 6 | ||
| 7 | include $(CONFIG) | 7 | include $(CONFIG) |
diff --git a/Makefile.win b/Makefile.win index 8491be2..65cab81 100644 --- a/Makefile.win +++ b/Makefile.win | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # $Id: Makefile.win,v 1.10 2008/02/13 22:08:31 carregal Exp $ | 1 | # $Id: Makefile.win,v 1.11 2008/05/07 19:06:37 carregal Exp $ |
| 2 | 2 | ||
| 3 | T= lfs | 3 | T= lfs |
| 4 | V= 1.4.0 | ||
| 5 | 4 | ||
| 6 | include config.win | 5 | include config.win |
| 7 | 6 | ||
| @@ -10,7 +10,11 @@ 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 | Current version is 1.4.0 | 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 | ||
| 14 | 18 | ||
| 15 | LuaRocks Installation | 19 | LuaRocks Installation |
| 16 | --------------------- | 20 | --------------------- |
diff --git a/doc/us/index.html b/doc/us/index.html index 320a931..63b5791 100644 --- a/doc/us/index.html +++ b/doc/us/index.html | |||
| @@ -71,7 +71,7 @@ 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.0. It was developed for Lua 5.1.</p> | 74 | <p>Current version is 1.4.1. 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 | ||
| @@ -84,6 +84,18 @@ version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found | |||
| 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.1</strong> [07/May/2008]</dt> | ||
| 88 | <dd> | ||
| 89 | <ul> | ||
| 90 | <li>documentation review</li> | ||
| 91 | <li>fixed Windows compilation issues</li> | ||
| 92 | <li>fixed bug in the Windows tests (patch by Shmuel Zeigerman)</li> | ||
| 93 | <li>fixed bug [<a href="http://luaforge.net/tracker/?func=detail&group_id=66&aid=2185&atid=356">#2185</a>] | ||
| 94 | <code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb | ||
| 95 | </li> | ||
| 96 | </ul> | ||
| 97 | </dd> | ||
| 98 | |||
| 87 | <dt><strong>Version 1.4.0</strong> [13/Feb/2008]</dt> | 99 | <dt><strong>Version 1.4.0</strong> [13/Feb/2008]</dt> |
| 88 | <dd> | 100 | <dd> |
| 89 | <ul> | 101 | <ul> |
| @@ -158,7 +170,7 @@ Comments are welcome!</p> | |||
| 158 | 170 | ||
| 159 | <div id="about"> | 171 | <div id="about"> |
| 160 | <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> | 172 | <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> |
| 161 | <p><small>$Id: index.html,v 1.41 2008/02/18 17:20:16 carregal Exp $</small></p> | 173 | <p><small>$Id: index.html,v 1.42 2008/05/07 19:06:37 carregal Exp $</small></p> |
| 162 | </div> <!-- id="about" --> | 174 | </div> <!-- id="about" --> |
| 163 | 175 | ||
| 164 | </div> <!-- id="container" --> | 176 | </div> <!-- id="container" --> |
diff --git a/rockspecs/luafilesystem-1.4.1-1.rockspec b/rockspecs/luafilesystem-1.4.1-1.rockspec new file mode 100644 index 0000000..209b3b3 --- /dev/null +++ b/rockspecs/luafilesystem-1.4.1-1.rockspec | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | package = "LuaFileSystem" | ||
| 2 | version = "1.4.1-1" | ||
| 3 | source = { | ||
| 4 | url = "", | ||
| 5 | } | ||
| 6 | description = { | ||
| 7 | summary = "File System Library for the Lua Programming Language", | ||
| 8 | detailed = [[ | ||
| 9 | LuaFileSystem is a Lua library developed to complement the set of | ||
| 10 | functions related to file systems offered by the standard Lua | ||
| 11 | distribution. LuaFileSystem offers a portable way to access the | ||
| 12 | underlying directory structure and file attributes. | ||
| 13 | ]] | ||
| 14 | } | ||
| 15 | dependencies = { | ||
| 16 | "lua >= 5.1" | ||
| 17 | } | ||
| 18 | build = { | ||
| 19 | platforms = { | ||
| 20 | unix = { | ||
| 21 | type = "make", | ||
| 22 | build_variables = { | ||
| 23 | LIB_OPTION = "$(LIBFLAG)", | ||
| 24 | CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) $(STAT64)", | ||
| 25 | }, | ||
| 26 | install_variables = { | ||
| 27 | LUA_LIBDIR = "$(LIBDIR)" | ||
| 28 | } | ||
| 29 | }, | ||
| 30 | win32 = { | ||
| 31 | type = "make", | ||
| 32 | build_variables = { | ||
| 33 | LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib", | ||
| 34 | CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)", | ||
| 35 | }, | ||
| 36 | install_variables = { | ||
| 37 | LUA_LIBDIR = "$(LIBDIR)", | ||
| 38 | LUA_DIR = "$(LUADIR)", | ||
| 39 | BIN_DIR = "$(BINDIR)" | ||
| 40 | } | ||
| 41 | } | ||
| 42 | } | ||
| 43 | } | ||
| @@ -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.52 2008/04/24 17:27:18 mascarenhas Exp $ | 19 | ** $Id: lfs.c,v 1.53 2008/05/07 19:06:37 carregal Exp $ |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #define _LARGEFILE64_SOURCE | 22 | #define _LARGEFILE64_SOURCE |
| @@ -656,7 +656,7 @@ static void set_info (lua_State *L) { | |||
| 656 | 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"); | 656 | 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"); |
| 657 | lua_settable (L, -3); | 657 | lua_settable (L, -3); |
| 658 | lua_pushliteral (L, "_VERSION"); | 658 | lua_pushliteral (L, "_VERSION"); |
| 659 | lua_pushliteral (L, "LuaFileSystem 1.4.0"); | 659 | lua_pushliteral (L, "LuaFileSystem 1.4.1"); |
| 660 | lua_settable (L, -3); | 660 | lua_settable (L, -3); |
| 661 | } | 661 | } |
| 662 | 662 | ||
diff --git a/src/lfs.def b/src/lfs.def index a0483c7..978ee6e 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.0 | 3 | VERSION 1.4.1 |
| 4 | EXPORTS | 4 | EXPORTS |
| 5 | luaopen_lfs | 5 | luaopen_lfs |
