Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 3.9.1v3.9.1 | Hisham Muhammad | 2022-07-01 | 1 | -1/+1 |
| | |||||
* | deps: sanity check on luajitver | Hisham Muhammad | 2022-06-06 | 1 | -1/+1 |
| | |||||
* | loader.which: new option for searching package.path and cpath | Hisham Muhammad | 2022-06-06 | 2 | -20/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new second argument, `where`, a string which indicates places to search for the module. If `where` contains "l", it will search using the LuaRocks loader; if it contains "p", it will look in the filesystem using package.path and package.cpath. You can use both at the same time. If successful, it will return four values. * If found using the LuaRocks loader, it will return: * filename of the module (eg. "/usr/local/lib/lua/5.1/socket/core.so"), * rock name * rock version * "l" to indicate the match comes from the loader. * If found scanning package.path and package.cpath, it will return: * filename of the module (eg. "/usr/local/lib/lua/5.1/socket/core.so"), * "path" or "cpath" * nil * "p" to indicate the match comes from scanning package.path and cpath. If unsuccessful, nothing is returned. | ||||
* | test: perform variable substitutions in test.flags | Hisham Muhammad | 2022-06-06 | 4 | -16/+13 |
| | |||||
* | fix error message when Lua library is not found | Hisham Muhammad | 2022-05-18 | 1 | -1/+1 |
| | |||||
* | Add --no-project flag to override .luarocks project dir | Hisham Muhammad | 2022-05-03 | 1 | -1/+6 |
| | |||||
* | deps: be more lenient in library version check | Hisham Muhammad | 2022-04-16 | 1 | -8/+18 |
| | |||||
* | deps: verify version mismatch when checking for Lua library | Hisham Muhammad | 2022-04-16 | 1 | -2/+11 |
| | |||||
* | deps: better error message when lua.h version mismatches | Hisham Muhammad | 2022-04-16 | 1 | -7/+15 |
| | |||||
* | fs.unix: fallback for when $USER variable is unset | Hisham Muhammad | 2022-04-16 | 3 | -9/+19 |
| | | | | | | Also, declare Unix version of current_user in luarocks.fs.unix.tools, so that the pure-Lua version based on LuaPosix takes precedence when available. | ||||
* | search: avoid mixing up version and repo in pick_installed_rock | Hisham Muhammad | 2022-04-16 | 1 | -7/+3 |
| | |||||
* | Configurations for program_series and major_version are unused | Hisham Muhammad | 2022-04-16 | 1 | -4/+0 |
| | | | | | | They look like useless maintenance burden, and I seriously doubt anyone uses those in their config files. In any case, they're easy to derive from cfg.program_version. | ||||
* | macos: support .tbd extension for later versions of macOS | Hisham Muhammad | 2022-04-12 | 1 | -0/+2 |
| | |||||
* | macos: add best-effort library search for Homebrew | Hisham Muhammad | 2022-04-12 | 1 | -0/+8 |
| | |||||
* | macos: use XCode SDK path by default | Hisham Muhammad | 2022-04-12 | 1 | -0/+5 |
| | |||||
* | fs: try to accept a quoted filename with spaces | Hisham Muhammad | 2022-04-11 | 1 | -1/+1 |
| | |||||
* | fs.is_tool_available: if it looks like a pathname, try that first | Hisham Muhammad | 2022-04-11 | 1 | -1/+14 |
| | | | | | Some uses of is_tool_available use binary names that can be overriden by the user via configuration. | ||||
* | patch: fix check for malformed patches | Hisham Muhammad | 2022-04-11 | 1 | -1/+2 |
| | |||||
* | add DragonFly BSD support | Hisham Muhammad | 2022-04-11 | 2 | -18/+13 |
| | |||||
* | fixes suggested by luacheck | Hisham Muhammad | 2022-04-11 | 3 | -3/+3 |
| | |||||
* | simplify check if tool is available | Hisham Muhammad | 2022-04-11 | 8 | -36/+30 |
| | |||||
* | Changes for building the all-in-one binary with Lua 5.4 | Hisham Muhammad | 2022-04-11 | 3 | -3/+5 |
| | |||||
* | build: change how the CFLAGS/LDFLAGS environment variables are honored | Hisham Muhammad | 2022-03-06 | 2 | -8/+22 |
| | | | | This is to ensure that the -fPIC tweak is always added. | ||||
* | macOS: make deployment target 11.0 if running on macOS 11+ | Hisham Muhammad | 2022-03-02 | 1 | -1/+3 |
| | |||||
* | fix: avoid quoting issues with LIBFLAG on MacOS | Hisham Muhammad | 2022-02-17 | 1 | -2/+2 |
| | |||||
* | builtin: always respect CC, CFLAGS, LDFLAGS | Hisham Muhammad | 2022-02-17 | 2 | -8/+10 |
| | | | | | | | There were already workarounds in place for some platforms. This should make the behavior consistent. Fixes #429. | ||||
* | fs.tools: remove trailing spaces from current dir, for Windows | Hisham Muhammad | 2022-02-17 | 1 | -1/+1 |
| | |||||
* | win32: do not use "pwd" on windows, use "echo %cd%" | Hisham Muhammad | 2022-02-17 | 1 | -1/+2 |
| | |||||
* | win32: use Windows's own MKDIR and RMDIR | Hisham Muhammad | 2022-02-17 | 1 | -1/+1 |
| | |||||
* | Prevent creation of directory named '-p' on Windows | stevenwdv | 2022-02-17 | 1 | -1/+1 |
| | | | `tools.make_dir` used `mkdir -p <name>` while `-p` [is not an existing switch](https://docs.microsoft.com/windows-server/administration/windows-commands/mkdir) on Windows. The switch is also not necessary because plain `mkdir` on Windows also creates intermediate directories. | ||||
* | win32.tools: replicate rmdir -p | Hisham Muhammad | 2022-02-17 | 1 | -1/+9 |
| | |||||
* | Always produce a default config if cfg.init() fails loading a file | Hisham Muhammad | 2022-02-17 | 1 | -6/+10 |
| | | | | This ensures that luarocks.loader() gets a baseline configuration | ||||
* | fix deployment on non-wrapped binaries (#1375) | Hisham Muhammad | 2022-02-16 | 3 | -13/+20 |
| | | | | | | | * fix deployment on non-wrapped binaries Fixes #1374. * Do not add .bat extension inside win32.wrap_script | ||||
* | no need for a make_shallow_copy utility function | Hisham Muhammad | 2022-02-16 | 3 | -17/+11 |
| | |||||
* | Fix crash when --lua-version is malformed | Hisham Muhammad | 2022-02-08 | 1 | -0/+1 |
| | |||||
* | fix `--pin` option so it appears correctly in user docs (#1390) | Aire-One | 2022-01-25 | 2 | -1/+5 |
| | | | | | | | | * fix(build) cmd option `--pin` The `build` command `--pin` was asigned to the global parser. This fix this issue by making it a command flag. * fix(install) cmd option --pin | ||||
* | Merge branch 'master' of ssh://github.com/luarocks/luarocks | Hisham Muhammad | 2021-12-29 | 1 | -13/+7 |
|\ | |||||
| * | Improve performance of reading zip file by not processing header (#1370) | Alex Richard | 2021-11-30 | 1 | -13/+7 |
| | | |||||
* | | Remove luarocks.logiceditor.com from default mirror list | Hisham Muhammad | 2021-12-29 | 1 | -1/+0 |
|/ | | | | | | | | As discussed in #1354. We're removing it from the default mirror list since it is http:// and the https:// certificate is presenting issues. We can reinstate it once the certificate issues are sorted! Closes #1354. | ||||
* | Auto-convert github.com source URLs to use https | Hisham Muhammad | 2021-11-08 | 1 | -0/+9 |
| | | | | | | | | | This avoids having to fix every rockspec that uses github.com. See https://github.blog/2021-09-01-improving-git-protocol-security-github/ For more context, see: https://github.com/teal-language/tl/pull/494/ | ||||
* | win32: icacls fix for usernames with spaces | Hisham Muhammad | 2021-11-08 | 1 | -1/+11 |
| | |||||
* | win32: revert Everyone back to *S-1-1-0 | Hisham Muhammad | 2021-11-04 | 1 | -1/+1 |
| | | | | | | | see discussion at https://github.com/luarocks/luarocks/issues/1312#issuecomment-896155122 Fixes #1312 | ||||
* | Makes a variable local | arichard | 2021-11-03 | 1 | -1/+1 |
| | |||||
* | respect existing LUALIB if given (#1358) | Hisham Muhammad | 2021-10-16 | 1 | -1/+8 |
| | | | Fixes #1357. | ||||
* | fix check_external_dependency_at (#1355) | erw7 | 2021-09-23 | 1 | -6/+7 |
| | | | | Fix a problem where 'files' were being sorted even though they should have been inspected in the order of external_deps_patterns. | ||||
* | fix configuration for OpenBSD (#1352) | omar-polo | 2021-09-15 | 1 | -0/+5 |
| | |||||
* | upload: support uploading pre-packaged .src.rock files (#1321) | Hisham Muhammad | 2021-08-13 | 1 | -7/+12 |
| | | | | | upload: support uploading pre-packaged .src.rock files Co-authored-by: daurnimator <quae@daurnimator.com> | ||||
* | allow to work without debug library | Francois Perrad | 2021-06-22 | 6 | -5/+16 |
| | |||||
* | luarocks test: add --prepare flag (#1314) | Deepak Singh Rathore | 2021-06-22 | 2 | -6/+11 |
| | | | | | | * Added prepare flag in test command * Added test for prepare flag in spec/test_spec.lua Fixes #1303 | ||||
* | deps: remove redundant args | gerrard | 2021-05-10 | 1 | -1/+1 |
| |