summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.9.2Hisham Muhammad2022-12-081-1/+1
|
* build.builtin: added support for clang on Windows (#1466)Apoorv Sachan2022-12-081-2/+10
|
* path.path_to_module: accept custom extensions in package.(c)path (#1468)Hisham Muhammad2022-12-071-13/+18
|
* fix `test --prepare` with non-busted rocks (#1453)Pierre Chapuis2022-11-281-1/+5
| | | * fix `test --prepare` with non-busted rocks
* cfg: follow standard enviromental variablesArtturin2022-08-261-33/+33
| | | | distributions use these to use the correct compiler and other tools
* luarocks test: add nil checkHisham Muhammad2022-08-261-1/+1
|
* luarocks test: check all dependency kindsHisham Muhammad2022-08-261-4/+11
| | | | | | When running tests we usually need runtime, build and test dependencies. This avoid having CI setups need to run `luarocks make --only-deps` in order to run `luarocks test`.
* persist: create directory for file to be savedHisham Muhammad2022-08-261-0/+2
|
* mingw: default to x86_64 compiler on 64-bit WindowsHisham Muhammad2022-08-261-3/+8
|
* avoid crash if variables.LUA* are unsetHisham Muhammad2022-08-251-3/+3
| | | | Fixes #1418
* deps: sanity check on luajitverHisham Muhammad2022-06-061-1/+1
|
* loader.which: new option for searching package.path and cpathHisham Muhammad2022-06-062-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.flagsHisham Muhammad2022-06-064-16/+13
|
* fix error message when Lua library is not foundHisham Muhammad2022-05-181-1/+1
|
* Add --no-project flag to override .luarocks project dirHisham Muhammad2022-05-031-1/+6
|
* deps: be more lenient in library version checkHisham Muhammad2022-04-161-8/+18
|
* deps: verify version mismatch when checking for Lua libraryHisham Muhammad2022-04-161-2/+11
|
* deps: better error message when lua.h version mismatchesHisham Muhammad2022-04-161-7/+15
|
* fs.unix: fallback for when $USER variable is unsetHisham Muhammad2022-04-163-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_rockHisham Muhammad2022-04-161-7/+3
|
* Configurations for program_series and major_version are unusedHisham Muhammad2022-04-161-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 macOSHisham Muhammad2022-04-121-0/+2
|
* macos: add best-effort library search for HomebrewHisham Muhammad2022-04-121-0/+8
|
* macos: use XCode SDK path by defaultHisham Muhammad2022-04-121-0/+5
|
* fs: try to accept a quoted filename with spacesHisham Muhammad2022-04-111-1/+1
|
* fs.is_tool_available: if it looks like a pathname, try that firstHisham Muhammad2022-04-111-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 patchesHisham Muhammad2022-04-111-1/+2
|
* add DragonFly BSD supportHisham Muhammad2022-04-112-18/+13
|
* fixes suggested by luacheckHisham Muhammad2022-04-113-3/+3
|
* simplify check if tool is availableHisham Muhammad2022-04-118-36/+30
|
* Changes for building the all-in-one binary with Lua 5.4Hisham Muhammad2022-04-113-3/+5
|
* build: change how the CFLAGS/LDFLAGS environment variables are honoredHisham Muhammad2022-03-062-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 Muhammad2022-03-021-1/+3
|
* fix: avoid quoting issues with LIBFLAG on MacOSHisham Muhammad2022-02-171-2/+2
|
* builtin: always respect CC, CFLAGS, LDFLAGSHisham Muhammad2022-02-172-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 WindowsHisham Muhammad2022-02-171-1/+1
|
* win32: do not use "pwd" on windows, use "echo %cd%"Hisham Muhammad2022-02-171-1/+2
|
* win32: use Windows's own MKDIR and RMDIRHisham Muhammad2022-02-171-1/+1
|
* Prevent creation of directory named '-p' on Windowsstevenwdv2022-02-171-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 -pHisham Muhammad2022-02-171-1/+9
|
* Always produce a default config if cfg.init() fails loading a fileHisham Muhammad2022-02-171-6/+10
| | | | This ensures that luarocks.loader() gets a baseline configuration
* fix deployment on non-wrapped binaries (#1375)Hisham Muhammad2022-02-163-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 functionHisham Muhammad2022-02-163-17/+11
|
* Fix crash when --lua-version is malformedHisham Muhammad2022-02-081-0/+1
|
* fix `--pin` option so it appears correctly in user docs (#1390)Aire-One2022-01-252-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/luarocksHisham Muhammad2021-12-291-13/+7
|\
| * Improve performance of reading zip file by not processing header (#1370)Alex Richard2021-11-301-13/+7
| |
* | Remove luarocks.logiceditor.com from default mirror listHisham Muhammad2021-12-291-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 httpsHisham Muhammad2021-11-081-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 spacesHisham Muhammad2021-11-081-1/+11
|