Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | 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 | |||||
* | Include strerror(errno) into error message in lfs.attributes | Peter Melnichenko | 2016-05-05 | 1 | -2/+2 | |
| | ||||||
* | Add attribute name to error on invalid attribute in lfs.attributes | Peter Melnichenko | 2016-05-05 | 1 | -1/+1 | |
| | ||||||
* | Document passing table as second argument to lfs.attributes | Peter Melnichenko | 2016-05-04 | 2 | -4/+5 | |
| | ||||||
* | Refactor set_info() using lua_setfield | Peter Melnichenko | 2016-05-04 | 1 | -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 comments | Peter Melnichenko | 2016-05-04 | 2 | -7/+4 | |
| | ||||||
* | Fix a warning when compiling as C++11 | Peter Melnichenko | 2016-05-04 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #71 from jinq0123/fix_makefile | Peter Melnichenko | 2016-05-04 | 1 | -1/+1 | |
|\ | | | | | Delete $(CFLAGS) in Makefile. | |||||
| * | Delete $(CFLAGS). | Jin Qing | 2016-05-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS) -> $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS) | |||||
* | | Update docs [ci skip] | Peter Melnichenko | 2016-05-04 | 4 | -29/+14 | |
|/ | | | | Remove dead links, 'contact us' section with dead e-mail, etc. | |||||
* | Merge pull request #70 from mpeterv/hererocks-ci | Peter Melnichenko | 2016-05-04 | 8 | -951/+20 | |
|\ | | | | | Use hererocks for CI | |||||
| * | Use hererocks for Appveyor | Peter Melnichenko | 2016-05-03 | 4 | -801/+12 | |
| | | ||||||
| * | Use hererocks for Travis-CI | Peter Melnichenko | 2016-05-03 | 4 | -150/+8 | |
|/ | ||||||
* | Merge pull request #69 from hughperkins/master | Hisham Muhammad | 2016-04-30 | 1 | -0/+2 | |
|\ | | | | | add build artefact to .gitignore | |||||
| * | add build artefact to .gitignore | Hugh Perkins | 2016-04-30 | 1 | -0/+2 | |
|/ | ||||||
* | .travis.yml: run tests from root directory | Peter Melnichenko | 2016-04-26 | 1 | -3/+2 | |
| | | | | Fixes missing view for tests/test.lua coverage on coveralls site. | |||||
* | Merge pull request #68 from mpeterv/setmode-refactor | Hisham Muhammad | 2016-04-25 | 1 | -11/+6 | |
|\ | | | | | Minor refactoring of setmode | |||||
| * | Don't pass Lua state to lfs_setmode, it's always unused | Peter Melnichenko | 2016-04-25 | 1 | -4/+4 | |
| | | ||||||
| * | Use pusherror in lfs_g_setmode | Peter Melnichenko | 2016-04-25 | 1 | -5/+1 | |
| | | ||||||
| * | Get rid of goto in lfs_g_setmode | Peter Melnichenko | 2016-04-25 | 1 | -2/+1 | |
| | | ||||||
* | | Merge pull request #66 from n1tehawk/contrib | Hisham Muhammad | 2016-04-25 | 1 | -1/+2 | |
|\ \ | |/ |/| | Have make_link() use pushresult() instead of pusherror() on Windows | |||||
| * | Have make_link() use pushresult() instead of pusherror() on Windows | NiteHawk | 2016-03-25 | 1 | -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ño | 2016-01-21 | 1 | -1/+6 | |
| | ||||||
* | Adds AppVeyor integration | Ignacio Burgueño | 2016-01-21 | 4 | -0/+831 | |
| | ||||||
* | Adds missing -lluacov test | Ignacio Burgueño | 2016-01-21 | 1 | -2/+6 | |
| | ||||||
* | Drop sudo from call | Ignacio Burgueño | 2016-01-21 | 1 | -1/+1 | |
| | ||||||
* | source script instead of just calling it | Ignacio Burgueño | 2016-01-21 | 1 | -1/+1 | |
| | | | Thanks @moteus | |||||
* | Pass --user flag to pip | Ignacio Burgueño | 2016-01-21 | 1 | -1/+1 | |
| | ||||||
* | Adds coverage | Ignacio Burgueño | 2016-01-21 | 1 | -8/+9 | |
| | | | Begin work adding coverage. | |||||
* | Change readme to markdown format | Ignacio Burgueño | 2016-01-21 | 1 | -7/+6 | |
| | ||||||
* | Updates Travis CI scripts | Ignacio Burgueño | 2016-01-21 | 4 | -30/+54 | |
| | ||||||
* | Merge pull request #60 from MisterDA/doc-permissions | Ignacio Burgueño | 2016-01-18 | 1 | -0/+3 | |
|\ | | | | | Add documentation for attributes.permissions, fix #59 | |||||
| * | Add documentation for attributes.permissions, fix #59 | Antonin Décimo | 2016-01-18 | 1 | -0/+3 | |
|/ | ||||||
* | Merge pull request #53 from Tieske/fix_warning | Hisham Muhammad | 2015-08-24 | 1 | -0/+2 | |
|\ | | | | | fix warning for redefining macro on MinGW | |||||
| * | fix warning for redefining macro on MinGW | Thijs Schreijer | 2015-08-24 | 1 | -0/+2 | |
|/ | ||||||
* | Merge pull request #52 from siffiejoe/checkfile | Hisham Muhammad | 2015-06-15 | 1 | -4/+12 | |
|\ | | | | | Fix detection of closed files on Lua 5.2/5.3. | |||||
| * | Fix detection of closed files on Lua 5.2/5.3. | Philipp Janda | 2015-06-14 | 1 | -4/+12 | |
|/ | | | | | | | | | Lua 5.2 changed the protocol on how to represent closed files: Lua 5.1 sets the file pointer to NULL, Lua 5.2 sets the close function pointer to NULL (a NULL file pointer now signals an incompletely constructed object). Also `luaL_checkudata` never returns NULL, it raises an error instead if you have an invalid value (no userdata/not correct userdata type). |