Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 1.8.0v1_8_0 | Hisham Muhammad | 2020-04-22 | 3 | -3/+12 |
| | |||||
* | It does work on Windows now! | Hisham Muhammad | 2020-04-22 | 1 | -1/+0 |
| | |||||
* | update copyrights | Hisham Muhammad | 2020-04-22 | 2 | -2/+2 |
| | |||||
* | Lua 5.4: use __close to close dir if you break the iterator | Hisham Muhammad | 2020-04-22 | 1 | -0/+11 |
| | |||||
* | indent -kr -nut -i2 src/lfs.c src/lfs.h | Hisham Muhammad | 2020-04-22 | 2 | -555/+690 |
| | |||||
* | Makefile: make it easier to switch Lua versions | Hisham Muhammad | 2020-04-21 | 2 | -9/+9 |
| | |||||
* | Use CREATE_ALWAYS instead of CREATE_NEW | 云风 | 2020-04-21 | 1 | -1/+1 |
| | |||||
* | tests: behavior test for hard links | Hisham Muhammad | 2020-04-21 | 1 | -1/+34 |
| | | | | | Also check nlink on Unix only and test if something is a symlink | ||||
* | win32: strip UNC prefix if present | Hisham Muhammad | 2020-04-21 | 1 | -0/+6 |
| | |||||
* | win32 lstat: if it's not a link, just do stat | Hisham Muhammad | 2020-04-21 | 1 | -0/+3 |
| | |||||
* | win32: obtain symlink attributes | Hisham Muhammad | 2020-04-21 | 1 | -26/+78 |
| | |||||
* | Add Windows compatibility for lfs.link | Eroica | 2020-04-21 | 1 | -41/+65 |
| | | | | Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org> | ||||
* | tests: drop LuaJIT 2.0 from test matrix | Hisham Muhammad | 2020-04-21 | 2 | -2/+0 |
| | |||||
* | Make MACOSX_DEPLOYMENT_TARGET configurable | Joshua Root | 2020-04-20 | 2 | -1/+4 |
| | | | | | Also increase the default target to 10.5, since Xcode 10 can no longer target 10.3. | ||||
* | Support Lua 5.4 | Peter Melnichenko | 2020-04-20 | 1 | -2/+2 |
| | |||||
* | Fallback to _POSIX_PATH_MAX when MAXPATHLEN isn't available (#130) | James McCoy | 2019-10-29 | 1 | -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 Melnichenko | 2018-03-15 | 18 | -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 ↵ | TsT | 2017-12-14 | 1 | -4/+4 |
| | | | | s/aname/request_name/ s/atable/result_table/ (#106) | ||||
* | added extra include-dir to compile in ubuntu (#103) | Kıvanç Çakmak | 2017-11-29 | 1 | -2/+3 |
| | |||||
* | Fix memory leak in case of realloc failure. (#102) | Hisham Muhammad | 2017-11-27 | 1 | -5/+11 |
| | | | Fixes #101. | ||||
* | Merge branch 'master' of https://github.com/keplerproject/luafilesystem | Hisham Muhammad | 2017-11-26 | 2 | -3/+3 |
|\ | |||||
| * | Update version in lfs.def (#96) | Stephen E. Baker | 2017-10-08 | 1 | -1/+1 |
| | | | | | | Version number of current release is 1.7 | ||||
| * | Support DESTDIR make install option (#98) | Dan Church | 2017-10-08 | 1 | -2/+2 |
| | | | | | | Useful for packagers to specify a build jail to install into. | ||||
* | | Add rockspec for hotfix.v1_7_0_2 | Hisham Muhammad | 2017-09-15 | 1 | -0/+28 |
|/ | |||||
* | Fix _VERSION entry | Hisham Muhammad | 2017-09-15 | 1 | -1/+1 |
| | | | | Thanks Milind Gupta for noting! | ||||
* | Update for release 1.7.0.v1_7_0 | Hisham Muhammad | 2017-09-15 | 1 | -5/+10 |
| | |||||
* | First iteration of the new CSS for Kepler libraries | Hisham Muhammad | 2017-09-15 | 1 | -118/+115 |
| | |||||
* | Add rockspec for 1.7.0 | Hisham Muhammad | 2017-09-15 | 1 | -0/+28 |
| | |||||
* | Add 'unreleased' section to changelog in docs | Peter Melnichenko | 2017-09-14 | 1 | -0/+8 |
| | |||||
* | Merge branch '1.7' | Peter Melnichenko | 2017-09-14 | 3 | -68/+59 |
|\ | |||||
| * | Merge branch 'master' into 1.7 | Peter Melnichenko | 2016-06-21 | 3 | -12/+17 |
| |\ | |||||
| * | | Update docs for new return values | Peter Melnichenko | 2016-05-05 | 1 | -7/+7 |
| | | | |||||
| * | | Test what lfs.attributes returns on error | Peter Melnichenko | 2016-05-05 | 1 | -1/+4 |
| | | | |||||
| * | | Return errno from lfs.attributes on error | Peter Melnichenko | 2016-05-05 | 1 | -1/+2 |
| | | | |||||
| * | | Return errno from lfs.touch on error | Peter Melnichenko | 2016-05-05 | 1 | -18/+16 |
| | | | |||||
| * | | Return errno from lfs.rmdir on error | Peter Melnichenko | 2016-05-05 | 1 | -12/+2 |
| | | | |||||
| * | | Return errno from lfs.mkdir on error | Peter Melnichenko | 2016-05-05 | 1 | -29/+28 |
| | | | | | | | | | | | | | | | Change pushresult() to return true on success. Change make_link to keep returning 0. | ||||
* | | | Typo fix in README | Peter Melnichenko | 2017-09-14 | 1 | -1/+1 |
| | | | |||||
* | | | Update copyright year [ci skip] | Peter Melnichenko | 2017-09-14 | 4 | -5/+5 |
| | | | |||||
* | | | README corrections [ci skip] | Peter Melnichenko | 2017-09-14 | 1 | -3/+4 |
| | | | |||||
* | | | Fix compilation warning for LuaJIT 2.1 | Peter Melnichenko | 2017-09-14 | 1 | -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.yml | Peter Melnichenko | 2017-09-11 | 1 | -3/+2 |
| | | | |||||
* | | | Add LuaJIT 2.1 to Travis-CI matrix | Peter Melnichenko | 2017-09-11 | 1 | -0/+1 |
| | | | |||||
* | | | Dynamically size getcwd() buffer in get_dir function (#84) | NiteHawk | 2016-10-14 | 1 | -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 handling | Peter Melnichenko | 2016-08-25 | 2 | -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-target | Hisham Muhammad | 2016-07-17 | 3 | -1/+52 |
|\ \ \ | | | | | | | | | Add a 'target' field for symlinkattributes. | ||||
| * | | | Add a 'target' field for symlinkattributes. | NiteHawk | 2016-07-16 | 3 | -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 documentation | Peter Melnichenko | 2016-06-30 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Add a test for #52. | Peter Melnichenko | 2016-06-09 | 1 | -0/+3 |
| | | |||||
* | | Fix export of luaopen_lfs on Windows (#74) | Eric Cosatto | 2016-06-01 | 2 | -12/+14 |
|/ | | | | * Make lfs export luaopen_lfs under Windows |