Commit Graph

361 Commits

Author SHA1 Message Date
Hisham Muhammad
a186cca583 Release 1.9.0 v1_9_0 2025-12-28 15:48:49 -03:00
Kim Alvefur
31dcb88b12 Support Lua 5.5 (#180) 2025-12-28 15:43:56 -03:00
FractalU
0951178220 win32: declare lfs_win32_pusherror, windowsToUnixTime, lfs_win32_lstat as static 2024-10-28 20:30:52 +00:00
Hisham Muhammad
268c2d3830 CI: don't duplicate runs 2024-10-28 14:49:36 -03:00
Hisham Muhammad
b6abbb63b1 CI: add Windows run 2024-10-28 14:49:36 -03:00
Hisham Muhammad
71ae24046c ci: use gh-actions-lua and gh-actions-luarocks from luarocks 2024-10-28 14:49:36 -03:00
Hisham Muhammad
ff2cbc21f1 ci: fix python version on macos (#173) 2023-12-12 21:07:54 -03:00
Vas Crabb
97b522ec12 Explicitly cast void * pointers - allows code to build cleanly as C++. (#165) 2023-12-12 20:18:01 -03:00
rpatters1
472cd783d7 Fix a few compiler warnings (#171)
Fixes warnings (probably) introduced with 64-bit. Mainly explicit typecasts to int to silence "possible loss of precision" warnings. These are lengths of filenames, so they're not going to exceed 4GB.
2023-12-12 20:05:42 -03:00
Hisham Muhammad
912e06714f keplerproject -> lunarmodules 2022-07-26 12:40:59 -03:00
Hisham Muhammad
e4eae33de5 win32: use standard memmove function 2022-07-15 17:09:35 -03:00
Hisham Muhammad
3c8d96b77f appveyor.yml: update pip, hererocks, add Lua 5.4 2022-07-15 16:56:42 -03:00
Hisham Muhammad
9cbe5cba90 Move doc/us/ to docs/, replacing the gh-pages branch. 2022-06-24 12:27:22 -03:00
Hisham Muhammad
772fe81c67 Remove old "vc6" folder 2022-06-24 12:15:34 -03:00
Hisham Muhammad
f77f24850b switch to Github Actions 2022-06-24 12:10:16 -03:00
Alexander Turenko
211c2a5d89 rockspec: use git+https:// for git repository URL
GitHub is going to disable unencrypted Git protocol, so `git://` URLs
will stop working soon (see [1]).

[1]: https://github.blog/2021-09-01-improving-git-protocol-security-github/
2021-11-09 11:07:10 -03:00
Hisham Muhammad
7c6e1b013c Release 1.8.0 v1_8_0 2020-04-22 22:16:42 -03:00
Hisham Muhammad
68c624c686 It does work on Windows now! 2020-04-22 22:12:23 -03:00
Hisham Muhammad
41e59da31b update copyrights 2020-04-22 22:09:38 -03:00
Hisham Muhammad
842505b6a3 Lua 5.4: use __close to close dir if you break the iterator 2020-04-22 11:30:28 -03:00
Hisham Muhammad
3e879ffba1 indent -kr -nut -i2 src/lfs.c src/lfs.h 2020-04-22 11:30:28 -03:00
Hisham Muhammad
4f7e1b5a49 Makefile: make it easier to switch Lua versions 2020-04-21 18:41:55 -03:00
云风
a5336d294d Use CREATE_ALWAYS instead of CREATE_NEW 2020-04-21 18:36:43 -03:00
Hisham Muhammad
6048863a96 tests: behavior test for hard links
Also check nlink on Unix only
and test if something is a symlink
2020-04-21 13:45:50 -03:00
Hisham Muhammad
1a61e5284d win32: strip UNC prefix if present 2020-04-21 13:45:50 -03:00
Hisham Muhammad
7cb7d86dc4 win32 lstat: if it's not a link, just do stat 2020-04-21 13:45:50 -03:00
Hisham Muhammad
94700f7c18 win32: obtain symlink attributes 2020-04-21 13:45:50 -03:00
Eroica
53d2acc517 Add Windows compatibility for lfs.link
Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org>
2020-04-21 13:45:50 -03:00
Hisham Muhammad
6b11508ea9 tests: drop LuaJIT 2.0 from test matrix 2020-04-21 13:45:50 -03:00
Joshua Root
58cf8c9449 Make MACOSX_DEPLOYMENT_TARGET configurable
Also increase the default target to 10.5, since Xcode 10 can no longer
target 10.3.
2020-04-20 21:36:11 -03:00
Peter Melnichenko
04ba8d686a Support Lua 5.4 2020-04-20 18:50:38 -03:00
James McCoy
04bdaf9a1e Fallback to _POSIX_PATH_MAX when MAXPATHLEN isn't available (#130)
On systems where MAXPATHLEN isn't defined, like GNU/Hurd, use
_POSIX_PATH_MAX as the starting size for the getcwd() buffer.
2019-10-29 16:08:55 -04:00
Peter Melnichenko
1dfb8c41e8 Replace rockspecs/ with a single scm rockspec (#108)
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`.
2018-03-15 20:38:32 -03:00
TsT
37d8524e7e lfs.attributes and lfs.symlinkattributes arguments renamed s/aname/request_name/ s/atable/result_table/ (#106) 2017-12-14 18:12:18 -02:00
Kıvanç Çakmak
e5f06c270a added extra include-dir to compile in ubuntu (#103) 2017-11-29 20:12:28 -02:00
Hisham Muhammad
884b52a3b2 Fix memory leak in case of realloc failure. (#102)
Fixes #101.
2017-11-27 14:03:38 -02:00
Hisham Muhammad
1b5073419f Merge branch 'master' of https://github.com/keplerproject/luafilesystem 2017-11-26 16:44:49 -02:00
Stephen E. Baker
fe964e013d Update version in lfs.def (#96)
Version number of current release is 1.7
2017-10-08 17:03:08 -03:00
Dan Church
12d1692f14 Support DESTDIR make install option (#98)
Useful for packagers to specify a build jail to install into.
2017-10-08 17:01:53 -03:00
Hisham Muhammad
de87218e97 Add rockspec for hotfix. v1_7_0_2 2017-09-15 20:07:33 -03:00
Hisham Muhammad
a23cadf009 Fix _VERSION entry
Thanks Milind Gupta for noting!
2017-09-15 20:04:43 -03:00
Hisham Muhammad
220d38c7d1 Update for release 1.7.0. v1_7_0 2017-09-15 19:52:00 -03:00
Hisham Muhammad
a066a03f1c First iteration of the new CSS for Kepler libraries 2017-09-15 19:51:46 -03:00
Hisham Muhammad
d37fc8101a Add rockspec for 1.7.0 2017-09-15 19:51:07 -03:00
Peter Melnichenko
754576dee6 Add 'unreleased' section to changelog in docs 2017-09-14 15:46:13 +03:00
Peter Melnichenko
d399961536 Merge branch '1.7' 2017-09-14 12:15:58 +03:00
Peter Melnichenko
8a7796ec17 Typo fix in README 2017-09-14 12:12:14 +03:00
Peter Melnichenko
dd6911ef15 Update copyright year [ci skip] 2017-09-14 12:10:39 +03:00
Peter Melnichenko
55ed1b14ab README corrections [ci skip] 2017-09-14 12:05:49 +03:00
Peter Melnichenko
a84d81bc52 Fix compilation warning for LuaJIT 2.1
Do not redefine or reimplement standard Lua C API function
luaL_newlib, use another name (new_lib) instead.
2017-09-14 12:01:00 +03:00