aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup readme. Too many places with duplicated info.Hisham Muhammad2015-03-191-65/+6
|
* Merge branch 'master' of git://github.com/keplerproject/luafilesystemHisham Muhammad2015-03-193-4/+10
|\
| * Merge pull request #50 from catharanthus/masterHisham Muhammad2015-02-191-2/+1
| |\ | | | | | | DEF file fixes
| | * Merge remote-tracking branch 'upstream/master'Alex2015-02-160-0/+0
| | |\ | | |/ | |/|
| * | Merge pull request #49 from catharanthus/masterHisham Muhammad2015-02-152-2/+9
| |\ \ | | | | | | | | Minor fixes needed to compile LFS as C++
| | | * DEF file fixes (DESCRIPTION is deprecated; VERSION must contain one or two ↵Alex2015-02-161-2/+1
| | |/ | | | | | | | | | numers)
| | * A few minor things fixed which prevented compilation of LuaFileSystem as C++ ↵Alex2015-02-152-2/+9
| |/ | | | | | | code
* | Prepare for release 1.6.3v_1_6_3v1_6_3Hisham Muhammad2015-01-154-3/+40
| |
* | Cleanup use of explicit \0Hisham Muhammad2015-01-151-2/+2
|/
* Merge pull request #48 from trms/upmasterHisham Muhammad2015-01-152-18/+26
|\ | | | | Lua 5.3, warnings in windows, extra null byte
| * Updated to support Lua 5.3. Fixed to supress warnings in windows. Removed ↵Andrew Starks2015-01-152-18/+26
|/ | | | extra null byte off of const string (windows only).
* Merge pull request #46 from moteus/masterHisham Muhammad2014-11-125-0/+184
|\ | | | | Add. Travis files.
| * Fix. Support Lua 5.3.betaAlexey Melnichuk2014-11-124-2/+47
| |
| * Fix. Exclude some files from coveralls.Alexey Melnichuk2014-08-141-1/+1
| |
| * Add. Travis files.Alexey Melnichuk2014-08-143-0/+139
| |
* | Merge pull request #47 from Mikhael-Danilov/patch-2Hisham Muhammad2014-09-251-0/+4
|\ \ | | | | | | | | | Add LFS_DO_NOT_USE_LARGE_FILE flag. This seems harmless for those who won't use it, so I'm merging this in.
| * | Add LFS_DO_NOT_USE_LARGE_FILE flagMikhael-Danilov2014-09-251-0/+4
|/ / | | | | Which disables LARGE_FILE support
* | Merge pull request #45 from moteus/masterHisham Muhammad2014-08-131-2/+6
|\| | | | | Fix. Compile with MSVC and with gcc without `-std=c99`
| * Fix. Compile with MSVC and with gcc without `-std=c99`Alexey Melnichuk2014-08-131-2/+6
|/
* Merge pull request #44 from stefan991/fix-attribute-lookupHisham Muhammad2014-08-093-24/+25
|\ | | | | Fix attributes `blksize` and `blocks`
| * Fix lfs.attributes(file, 'blksize')Stefan Hoffmann2014-08-092-24/+22
| | | | | | | | | | | | | | fs.attributes(file, 'blksize') and fs.attributes(file, 'blocks) return the wrong values. Compare the whole attribute name instead of the first char and remove buggy special casing with wrong indexes into the member array.
| * Add test target to MakefileStefan Hoffmann2014-08-091-0/+3
|/ | | | easy way to run the tests without installing the library
* Remove old referencesv1_6_2Hisham Muhammad2014-01-294-8/+8
|
* Add top-level LICENSE file. Closes #33.Hisham Muhammad2014-01-291-0/+21
|
* Fix documentation for setmode. Closes #32.Hisham Muhammad2014-01-291-2/+4
|
* Merge branch 'master' of https://github.com/keplerproject/luafilesystemHisham Muhammad2014-01-291-1/+4
|\
| * Merge pull request #28 from moteus/patch-1Hisham Muhammad2014-01-081-1/+4
| |\ | | | | | | Fix. Prevents double close the same handle (#24)
| | * Fix. Prevents double close the same handle (#24)Alexey Melnichuk2014-01-081-1/+4
| |/ | | | | | | | | | | | | | | lfs_unlock_dir can be called multiple times for the same object. For example if lock:free is called manually. Then lfs_unlock_dir will be called always again, as soon as the LOCK_METATABLE is collected by GC. This can lead to strange file errors later on, like closing another file, which now has been assigned the same handle...
* | Improve indentation consistencyHisham Muhammad2014-01-291-101/+90
| |
* | Use local stylesheet, suitable for truly offline viewing.Hisham Muhammad2014-01-295-4/+227
| |
* | Remove outdated linksHisham Muhammad2014-01-291-5/+5
|/
* Merge pull request #27 from moteus/patch-1Hisham Muhammad2014-01-041-1/+1
|\ | | | | Fix. Use intptr_t to file handle on Windows (#26)
| * Fix. Use intptr_t to file handle on Windows (#26)Alexey Melnichuk2014-01-041-1/+1
|/ | | Tested on MS VS2008(x32) MinGW(x32) and MS VS2012(x64)
* Merge pull request #21 from Mikhael-Danilov/patch-1Fabio Mascarenhas2013-09-241-1/+1
|\ | | | | Update src/lfs.c
| * Update src/lfs.cMikhael-Danilov2013-02-201-1/+1
|/ | | Fix Windows build: make_link now returns int as it should
* Merge pull request #19 from devurandom/fix/warningsFabio Mascarenhas2012-10-041-4/+6
|\ | | | | Fix some warnings GCC produced on Linux
| * Fix warnings: unused variableDennis Schridde2012-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | 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]
| * Fix warning: C++ style comments are not allowed in ISO C90Dennis Schridde2012-10-041-3/+5
| |
* | Merge pull request #18 from devurandom/fix/lua52Fabio Mascarenhas2012-10-045-15/+49
|\ \ | |/ |/| Full Lua 5.2 compatibility and adherance to modules-create-no-globals
| * Set global "lfs" when opening moduleDennis Schridde2012-10-041-0/+3
| | | | | | | | | | * Ensures backward compatibility with LFS 1.5 * Module name is defined as LFS_LIBNAME, similar to how Lua standard libraries are defined
| * Bump version to 1.6.2 and set version via define in src/lfs.c to make it ↵Dennis Schridde2012-10-034-2/+39
| | | | | | | | better visible
| * Full Lua 5.2 compatibility and adherance to modules-create-no-globalsDennis Schridde2012-10-032-14/+8
|/
* fix build for Lua 5.2; version 1.6.1Fabio Mascarenhas2012-10-013-0/+39
|
* Merge pull request #17 from rrthomas/masterFabio Mascarenhas2012-10-011-9/+1
|\ | | | | Use Lua 5.2's own luaL_register
| * lfs.c: use Lua 5.2's own luaL_registerReuben Thomas2012-10-011-9/+1
|/
* luafilesystem 1.6.0Fabio Mascarenhas2012-10-015-352/+431
|
* Merge pull request #15 from ewmailing/masterFabio Mascarenhas2012-09-261-6/+10
|\ | | | | Improvements to use of getcwd() for using the correct max path length
| * Due to Android (and apparently Sun) not supporting getcwd(NULL, 0), I've ↵Eric Wing2012-05-011-6/+10
| | | | | | | | | | | | 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).
* | Merge pull request #14 from icgood/masterFabio Mascarenhas2012-08-311-0/+9
|\ \ | |/ |/| 5.2 compatibility
| * implements fake luaL_register in Lua 5.2+Ian Good2012-02-281-0/+9
| |