From d4bfd537a8c4c14c3c1790ece17faa3eb639e7c2 Mon Sep 17 00:00:00 2001 From: carregal Date: Wed, 7 May 2008 19:06:37 +0000 Subject: [PATCH] Packaging version 1.4.1 --- Makefile | 4 +-- Makefile.win | 3 +- README | 6 +++- doc/us/index.html | 16 +++++++-- rockspecs/luafilesystem-1.4.1-1.rockspec | 43 ++++++++++++++++++++++++ src/lfs.c | 4 +-- src/lfs.def | 2 +- 7 files changed, 68 insertions(+), 10 deletions(-) create mode 100644 rockspecs/luafilesystem-1.4.1-1.rockspec diff --git a/Makefile b/Makefile index 431fae6..10d9ca4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -# $Id: Makefile,v 1.33 2008/03/25 18:24:17 mascarenhas Exp $ +# $Id: Makefile,v 1.34 2008/05/07 19:06:37 carregal Exp $ T= lfs -V= 1.4.0 + CONFIG= ./config include $(CONFIG) diff --git a/Makefile.win b/Makefile.win index 8491be2..65cab81 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,7 +1,6 @@ -# $Id: Makefile.win,v 1.10 2008/02/13 22:08:31 carregal Exp $ +# $Id: Makefile.win,v 1.11 2008/05/07 19:06:37 carregal Exp $ T= lfs -V= 1.4.0 include config.win diff --git a/README b/README index 2cc5aff..64b52e6 100644 --- a/README +++ b/README @@ -10,7 +10,11 @@ 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 -Current version is 1.4.0 +Version 1.4.1 [07/May/2008] changes + * documentation review + * fixed Windows compilation issues + * fixed bug in the Windows tests (patch by Shmuel Zeigerman) + * fixed bug [#2185] lfs.attributes(filename, 'size') overflow on files > 2 Gb LuaRocks Installation --------------------- 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.

Status

-

Current version is 1.4.0. It was developed for Lua 5.1.

+

Current version is 1.4.1. It was developed for Lua 5.1.

Download

@@ -84,6 +84,18 @@ version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found

History

+
Version 1.4.1 [07/May/2008]
+
+
    +
  • documentation review
  • +
  • fixed Windows compilation issues
  • +
  • fixed bug in the Windows tests (patch by Shmuel Zeigerman)
  • +
  • fixed bug [#2185] + lfs.attributes(filename, 'size') overflow on files > 2 Gb +
  • +
+
+
Version 1.4.0 [13/Feb/2008]
    @@ -158,7 +170,7 @@ Comments are welcome!

    Valid XHTML 1.0!

    -

    $Id: index.html,v 1.41 2008/02/18 17:20:16 carregal Exp $

    +

    $Id: index.html,v 1.42 2008/05/07 19:06:37 carregal Exp $

    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 @@ +package = "LuaFileSystem" +version = "1.4.1-1" +source = { + url = "", +} +description = { + summary = "File System Library for the Lua Programming Language", + detailed = [[ + 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. + ]] +} +dependencies = { + "lua >= 5.1" +} +build = { + platforms = { + unix = { + type = "make", + build_variables = { + LIB_OPTION = "$(LIBFLAG)", + CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) $(STAT64)", + }, + install_variables = { + LUA_LIBDIR = "$(LIBDIR)" + } + }, + win32 = { + type = "make", + build_variables = { + LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib", + CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)", + }, + install_variables = { + LUA_LIBDIR = "$(LIBDIR)", + LUA_DIR = "$(LUADIR)", + BIN_DIR = "$(BINDIR)" + } + } + } +} diff --git a/src/lfs.c b/src/lfs.c index eef7226..f465082 100644 --- a/src/lfs.c +++ b/src/lfs.c @@ -16,7 +16,7 @@ ** lfs.touch (filepath [, atime [, mtime]]) ** lfs.unlock (fh) ** -** $Id: lfs.c,v 1.52 2008/04/24 17:27:18 mascarenhas Exp $ +** $Id: lfs.c,v 1.53 2008/05/07 19:06:37 carregal Exp $ */ #define _LARGEFILE64_SOURCE @@ -656,7 +656,7 @@ static void set_info (lua_State *L) { 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"); lua_settable (L, -3); lua_pushliteral (L, "_VERSION"); - lua_pushliteral (L, "LuaFileSystem 1.4.0"); + lua_pushliteral (L, "LuaFileSystem 1.4.1"); lua_settable (L, -3); } 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 @@ LIBRARY lfs.dll DESCRIPTION "LuaFileSystem" -VERSION 1.4.0 +VERSION 1.4.1 EXPORTS luaopen_lfs