aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Include strerror(errno) into error message in lfs.attributesPeter Melnichenko2016-05-051-2/+2
|
* Add attribute name to error on invalid attribute in lfs.attributesPeter Melnichenko2016-05-051-1/+1
|
* Document passing table as second argument to lfs.attributesPeter Melnichenko2016-05-042-4/+5
|
* Refactor set_info() using lua_setfieldPeter Melnichenko2016-05-041-9/+6
| | | | | | | About indentation: currently parts of lfs.c use 2 spaces and parts use 8. It would be nice to slowly switch to one of styles over some time, as code is being touched here and there. 2 spaces seem preferrable as it's what Lua itself uses.
* Update top level commentsPeter Melnichenko2016-05-042-7/+4
|
* Fix a warning when compiling as C++11Peter Melnichenko2016-05-041-1/+1
|
* Merge pull request #71 from jinq0123/fix_makefilePeter Melnichenko2016-05-041-1/+1
|\ | | | | Delete $(CFLAGS) in Makefile.
| * Delete $(CFLAGS).Jin Qing2016-05-041-1/+1
| | | | | | | | | | | | $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS) -> $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS)
* | Update docs [ci skip]Peter Melnichenko2016-05-044-29/+14
|/ | | | Remove dead links, 'contact us' section with dead e-mail, etc.
* Merge pull request #70 from mpeterv/hererocks-ciPeter Melnichenko2016-05-048-951/+20
|\ | | | | Use hererocks for CI
| * Use hererocks for AppveyorPeter Melnichenko2016-05-034-801/+12
| |
| * Use hererocks for Travis-CIPeter Melnichenko2016-05-034-150/+8
|/
* Merge pull request #69 from hughperkins/masterHisham Muhammad2016-04-301-0/+2
|\ | | | | add build artefact to .gitignore
| * add build artefact to .gitignoreHugh Perkins2016-04-301-0/+2
|/
* .travis.yml: run tests from root directoryPeter Melnichenko2016-04-261-3/+2
| | | | Fixes missing view for tests/test.lua coverage on coveralls site.
* Merge pull request #68 from mpeterv/setmode-refactorHisham Muhammad2016-04-251-11/+6
|\ | | | | Minor refactoring of setmode
| * Don't pass Lua state to lfs_setmode, it's always unusedPeter Melnichenko2016-04-251-4/+4
| |
| * Use pusherror in lfs_g_setmodePeter Melnichenko2016-04-251-5/+1
| |
| * Get rid of goto in lfs_g_setmodePeter Melnichenko2016-04-251-2/+1
| |
* | Merge pull request #66 from n1tehawk/contribHisham Muhammad2016-04-251-1/+2
|\ \ | |/ |/| Have make_link() use pushresult() instead of pusherror() on Windows
| * Have make_link() use pushresult() instead of pusherror() on WindowsNiteHawk2016-03-251-1/+2
|/ | | | | | | | | | The pushresult(L, -1, ...) call will delegate to pusherror() anyway, but this avoids the "Unused static" warning for pushresult. Also take care of assigning something meaningful to `errno`, as strerror(errno) is used for constructing the Lua error message. Fixes #65
* Adds badges [ci skip]Ignacio Burgueño2016-01-211-1/+6
|
* Adds AppVeyor integrationIgnacio Burgueño2016-01-214-0/+831
|