Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 18, 2013
  1. @drahosp

    Updated travis hook

    drahosp authored
Commits on Oct 29, 2012
  1. @drahosp

    Updated to 1.6.2

    drahosp authored
  2. @drahosp

    Merge remote-tracking branch 'upstream/master'

    drahosp authored
    * upstream/master:
      Fix warnings: unused variable
      Fix warning: C++ style comments are not allowed in ISO C90
      Set global "lfs" when opening module
      Bump version to 1.6.2 and set version via define in src/lfs.c to make it better visible
      Full Lua 5.2 compatibility and adherance to modules-create-no-globals
      fix build for Lua 5.2; version 1.6.1
      lfs.c: use Lua 5.2's own luaL_register
      luafilesystem 1.6.0
      Due to Android (and apparently Sun) not supporting getcwd(NULL, 0), I've changed to call to getcwd to specify a buffer and explicit size which successfully works around the problem. One minor performance advantage is that one less malloc/free is needed since the buffer is now created on the stack. Apparently, this was already changed in a prior commit I didn't see initially, but I think the use of an invented/arbitrary PATH_MAX is incorrect. Platforms should generally provide a constant for this and PATH_MAX itself is already defined on some systems like Linux which can cause collisions. This commit improves on those changes by leveraging the constants provided by the compiler/system.
      implements fake luaL_register in Lua 5.2+
Commits on Oct 4, 2012
  1. @mascarenhas

    Merge pull request #19 from devurandom/fix/warnings

    mascarenhas authored
    Fix some warnings GCC produced on Linux
  2. @mascarenhas

    Merge pull request #18 from devurandom/fix/lua52

    mascarenhas authored
    Full Lua 5.2 compatibility and adherance to modules-create-no-globals
  3. @devurandom

    Fix warnings: unused variable

    devurandom authored
    On non-win32 lfs_setmode was defined to 0, ignoring all parameters.
    Now the parameters are explicitly discarded.
    
    Fixes:
    src/lfs.c: In function ‘lfs_g_setmode’:
    src/lfs.c:324:7: warning: unused variable ‘op’ [-Wunused-variable]
    src/lfs.c:321:47: warning: unused parameter ‘f’ [-Wunused-parameter]
  4. @devurandom
  5. @devurandom

    Set global "lfs" when opening module

    devurandom authored
    * Ensures backward compatibility with LFS 1.5
    * Module name is defined as LFS_LIBNAME, similar to how Lua standard libraries are defined
Commits on Oct 3, 2012
  1. @devurandom
  2. @devurandom
Commits on Oct 1, 2012
  1. fix build for Lua 5.2; version 1.6.1

    Fabio Mascarenhas authored
  2. @mascarenhas

    Merge pull request #17 from rrthomas/master

    mascarenhas authored
    Use Lua 5.2's own luaL_register
  3. @rrthomas
  4. luafilesystem 1.6.0

    Fabio Mascarenhas authored
Commits on Sep 26, 2012
  1. @mascarenhas

    Merge pull request #15 from ewmailing/master

    mascarenhas authored
    Improvements to use of getcwd() for using the correct max path length
Commits on Aug 31, 2012
  1. @mascarenhas

    Merge pull request #14 from icgood/master

    mascarenhas authored
    5.2 compatibility
Commits on Aug 14, 2012
  1. @drahosp

    Up to date with kepler

    drahosp authored
  2. @drahosp

    Merge branch 'master' of git://github.com/keplerproject/luafilesystem

    drahosp authored
    * 'master' of git://github.com/keplerproject/luafilesystem:
      applied debian patches from enrico tassi
      Simplify and clarify metatable creation functions.
      Add lfs.link.
      Use package.config to get directory separator.
      Add a comment for make_dir.
      Fix typo in manual.
      Simplify dir_iter_factory slightly.
      Add .gitignore for *.o and *.so.
      Add trivial implementation of setmode on non-Windows platforms.
      Make test.lua find its interpreter using /usr/bin/env.
      Add trivial link_info support on Windows (using STAT_FUNC).
      update links to bug tracker and cvs
      change to build with lua 5.2 alpha, issue #5
      fixed dir length bug in windows directory iterator
      removed umask calls in lfs.mkdir, see kepler-list message from Enrico at 2009-12-27
Commits on Aug 11, 2012
  1. @drahosp

    Updated lua macros

    drahosp authored
Commits on Aug 1, 2012
  1. @drahosp

    Resolved conflict

    drahosp authored
  2. @drahosp

    Updated CMake macros

    drahosp authored
Commits on May 11, 2012
  1. @drahosp

    Updated cmake macros

    drahosp authored
Commits on May 9, 2012
  1. @drahosp

    Updated cmake macros

    drahosp authored
Commits on May 1, 2012
  1. Due to Android (and apparently Sun) not supporting getcwd(NULL, 0), I…

    Eric Wing authored
    …'ve changed to call to getcwd to specify a buffer and explicit size which successfully works around the problem. One minor performance advantage is that one less malloc/free is needed since the buffer is now created on the stack. Apparently, this was already changed in a prior commit I didn't see initially, but I think the use of an invented/arbitrary PATH_MAX is incorrect. Platforms should generally provide a constant for this and PATH_MAX itself is already defined on some systems like Linux which can cause collisions. This commit improves on those changes by leveraging the constants provided by the compiler/system.
    
    To help keep the code consistent but still correct, new platform specific code needed to be introduced for the max length. On POSIX I am assuming it is that <sys/param.h> provides MAXPATHLEN. This is what the Mac/BSD man page says to use and verified this is also defined on Ubuntu Linux and Android. On Windows, MAX_PATH is used. MAX_PATH seems to still be 260 which seems kind of small; is there a different constant we are supposed to use? In both cases, the respective constants are mapped to a new #define for LFS_MAXPATHLEN to allow the code to refer to one constant and avoid any potential name collisions in case MAXPATHLEN is defined already by something else on Windows (e.g. Cygwin).
Commits on Apr 26, 2012
  1. @davidm

    cmake: update cmake folder

    davidm authored
Commits on Apr 19, 2012
  1. @davidm
  2. @drahosp @davidm

    Adding travis build

    drahosp authored davidm committed
Commits on Apr 8, 2012
  1. applied debian patches from enrico tassi

    Fabio Mascarenhas authored
Commits on Feb 28, 2012
  1. @icgood
Commits on Jun 9, 2011
  1. @mascarenhas

    Merge pull request #8 from rrthomas/master

    mascarenhas authored
    New lfs.link and other goodies
  2. @rrthomas
  3. @rrthomas

    Add lfs.link.

    rrthomas authored
  4. @rrthomas
  5. @rrthomas

    Add a comment for make_dir.

    rrthomas authored
  6. @rrthomas

    Fix typo in manual.

    rrthomas authored
Something went wrong with that request. Please try again.