aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.8.0v1_8_0Hisham Muhammad2020-04-223-3/+12
|
* It does work on Windows now!Hisham Muhammad2020-04-221-1/+0
|
* update copyrightsHisham Muhammad2020-04-222-2/+2
|
* Lua 5.4: use __close to close dir if you break the iteratorHisham Muhammad2020-04-221-0/+11
|
* indent -kr -nut -i2 src/lfs.c src/lfs.hHisham Muhammad2020-04-222-555/+690
|
* Makefile: make it easier to switch Lua versionsHisham Muhammad2020-04-212-9/+9
|
* Use CREATE_ALWAYS instead of CREATE_NEW云风2020-04-211-1/+1
|
* tests: behavior test for hard linksHisham Muhammad2020-04-211-1/+34
| | | | | Also check nlink on Unix only and test if something is a symlink
* win32: strip UNC prefix if presentHisham Muhammad2020-04-211-0/+6
|
* win32 lstat: if it's not a link, just do statHisham Muhammad2020-04-211-0/+3
|
* win32: obtain symlink attributesHisham Muhammad2020-04-211-26/+78
|
* Add Windows compatibility for lfs.linkEroica2020-04-211-41/+65
| | | | Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org>
* tests: drop LuaJIT 2.0 from test matrixHisham Muhammad2020-04-212-2/+0
|
* Make MACOSX_DEPLOYMENT_TARGET configurableJoshua Root2020-04-202-1/+4
| | | | | Also increase the default target to 10.5, since Xcode 10 can no longer target 10.3.
* Support Lua 5.4Peter Melnichenko2020-04-201-2/+2
|
* Fallback to _POSIX_PATH_MAX when MAXPATHLEN isn't available (#130)James McCoy2019-10-291-1/+6
| | | | On systems where MAXPATHLEN isn't defined, like GNU/Hurd, use _POSIX_PATH_MAX as the starting size for the getcwd() buffer.
* Replace rockspecs/ with a single scm rockspec (#108)Peter Melnichenko2018-03-1518-478/+8
| | | | | | | | | | | | There is no need to keep rockspecs for older versions - it's enough to ensure that `luarocks make` builds currently checked out version. `luarocks new-version <rockspec> <version> --tag=<tag>` generates rockspecs for releases. Use `scm` instead of `dev` as LuaRocks 2 thinks that `dev` versions are less than normal versions like 1.6.3, making it tricky to use bleeding-edge version as a dependency with a constraint such as `luafilesystem >= 1.6.3`.
* lfs.attributes and lfs.symlinkattributes arguments renamed ↵TsT2017-12-141-4/+4
| | | | s/aname/request_name/ s/atable/result_table/ (#106)
* added extra include-dir to compile in ubuntu (#103)Kıvanç Çakmak2017-11-291-2/+3
|
* Fix memory leak in case of realloc failure. (#102)Hisham Muhammad2017-11-271-5/+11
| | | Fixes #101.
* Merge branch 'master' of https://github.com/keplerproject/luafilesystemHisham Muhammad2017-11-262-3/+3
|\
| * Update version in lfs.def (#96)Stephen E. Baker2017-10-081-1/+1
| | | | | | Version number of current release is 1.7
| * Support DESTDIR make install option (#98)Dan Church2017-10-081-2/+2
| | | | | | Useful for packagers to specify a build jail to install into.
* | Add rockspec for hotfix.v1_7_0_2Hisham Muhammad2017-09-151-0/+28
|/
* Fix _VERSION entryHisham Muhammad2017-09-151-1/+1
| | | | Thanks Milind Gupta for noting!
* Update for release 1.7.0.v1_7_0Hisham Muhammad2017-09-151-5/+10
|
* First iteration of the new CSS for Kepler librariesHisham Muhammad2017-09-151-118/+115
|
* Add rockspec for 1.7.0Hisham Muhammad2017-09-151-0/+28
|
* Add 'unreleased' section to changelog in docsPeter Melnichenko2017-09-141-0/+8
|
* Merge branch '1.7'Peter Melnichenko2017-09-143-68/+59
|\
| * Merge branch 'master' into 1.7Peter Melnichenko2016-06-213-12/+17
| |\
| * | Update docs for new return valuesPeter Melnichenko2016-05-051-7/+7
| | |
| * | Test what lfs.attributes returns on errorPeter Melnichenko2016-05-051-1/+4
| | |
| * | Return errno from lfs.attributes on errorPeter Melnichenko2016-05-051-1/+2
| | |
| * | Return errno from lfs.touch on errorPeter Melnichenko2016-05-051-18/+16
| | |
| * | Return errno from lfs.rmdir on errorPeter Melnichenko2016-05-051-12/+2
| | |
| * | Return errno from lfs.mkdir on errorPeter Melnichenko2016-05-051-29/+28
| | | | | | | | | | | | | | | Change pushresult() to return true on success. Change make_link to keep returning 0.
* | | Typo fix in READMEPeter Melnichenko2017-09-141-1/+1
| | |
* | | Update copyright year [ci skip]Peter Melnichenko2017-09-144-5/+5
| | |
* | | README corrections [ci skip]Peter Melnichenko2017-09-141-3/+4
| | |
* | | Fix compilation warning for LuaJIT 2.1Peter Melnichenko2017-09-141-3/+5
| | | | | | | | | | | | | | | Do not redefine or reimplement standard Lua C API function luaL_newlib, use another name (new_lib) instead.
* | | Update luacov-coveralls deps installation in .travis.ymlPeter Melnichenko2017-09-111-3/+2
| | |
* | | Add LuaJIT 2.1 to Travis-CI matrixPeter Melnichenko2017-09-111-0/+1
| | |
* | | Dynamically size getcwd() buffer in get_dir function (#84)NiteHawk2016-10-141-41/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Dynamically size getcwd() buffer in get_dir function This should fix issue 42. * Fixup: Properly respect NO_GETCWD * Fixup: Get rid of getcwd_error, handle NO_GETCWD in a single place
* | | Fix lfs.attributes and lfs.symlinkattributes extra argument handlingPeter Melnichenko2016-08-252-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the second argument is not a string, _file_info() wants to ensure that there is a table on top of the stack: the second argument or a new table. If a new table is pushed it's created on top immediately, but if a table is passed as the second argument it can be followed by extra arguments, with the last one ending up being used as a table, causing a crash. The fix is to remove any potential extra arguments using `lua_settop(L, 2)`. Also added a few tests for this case. Ref #80.
* | | Merge pull request #78 from n1tehawk/20160716_symlink-targetHisham Muhammad2016-07-173-1/+52
|\ \ \ | | | | | | | | Add a 'target' field for symlinkattributes.
| * | | Add a 'target' field for symlinkattributes.NiteHawk2016-07-163-1/+52
|/ / / | | | | | | | | | | | | | | | | | | It returns the resolved path of the symlink. Original version by Hisham <hisham@gobolinux.org>, modified to use a different strategy for sizing the readlink() buffer.
* | / Fix anchor names in documentationPeter Melnichenko2016-06-301-2/+2
| |/ |/|
* | Add a test for #52.Peter Melnichenko2016-06-091-0/+3
| |
* | Fix export of luaopen_lfs on Windows (#74)Eric Cosatto2016-06-012-12/+14
|/ | | | * Make lfs export luaopen_lfs under Windows