Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | configure: add --with-lua-interpreter option | Hisham Muhammad | 2018-07-10 | 1 | -14/+26 | |
| | | | | | Support using any interpreter name, even if it doesn't start with 'lua'. | |||||
* | Tests: remove redundant build tests | George Roman | 2018-07-05 | 1 | -43/+0 | |
| | ||||||
* | Tests: unit tests for build.builtin | George Roman | 2018-07-05 | 1 | -19/+454 | |
| | ||||||
* | Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIR | George Roman | 2018-07-05 | 4 | -10/+30 | |
| | ||||||
* | README: clearer installation instructions | Hisham Muhammad | 2018-07-05 | 1 | -7/+10 | |
| | ||||||
* | md5: fix version checks of tools | Hisham Muhammad | 2018-07-04 | 1 | -2/+2 | |
| | ||||||
* | help: report LuaJIT version | Hisham Muhammad | 2018-07-04 | 1 | -0/+3 | |
| | ||||||
* | builtin: detect 'lib' as a directory of Lua sources as well | Hisham Muhammad | 2018-07-04 | 1 | -1/+1 | |
| | ||||||
* | deps: nicer message with Lua headers are not found | Hisham Muhammad | 2018-07-04 | 1 | -0/+5 | |
| | ||||||
* | binary: derive library search paths; minor Windows fix | Hisham Muhammad | 2018-07-04 | 2 | -3/+2 | |
| | ||||||
* | config file: do not assume 'variable' table exists (for compat with LR2) | Hisham Muhammad | 2018-07-04 | 2 | -7/+10 | |
| | | | | | | This change results in a default config that works in both LuaRocks 2 and 3. We do not promise a compatible configuration format, but it's nice to avoid unnecessary breakage if we can. | |||||
* | configure: check presence of lua.h | Hisham Muhammad | 2018-07-04 | 1 | -6/+67 | |
| | | | | | | | | | | | | Verification of the Lua include path happens at LuaRocks runtime, but we also perform it here just so that the user gets an early failure if they try to install LuaRocks with the Lua interpreter package but not the "development files" that many Linux distros ship separately. We also include a --disable-incdir-check flag for specialized scenarios: if you do not wish to use "luarocks build", (e.g. when only deploying binary packages) you do not need lua.h installed. This flag skips the check for lua.h in "configure". | |||||
* | cmd: dynamically load additional external commands | Thijs Schreijer | 2018-07-04 | 4 | -10/+57 | |
| | | | | | | | Instead of a fixed list of commands, a dynamic list of modules residing within the `luarocks.cmd.external.<cmd_name>` in the Lua path will be dynamically added. This allows extending LuaRocks with additional commands. Same for `luarocks.admin.cmd.external.<cmd_name>`. | |||||
* | fs: fix permissions when creating directories and wrappers | Hisham Muhammad | 2018-07-03 | 2 | -2/+2 | |
| | | | | | Newly created directories and wrappers need to be executable/traversable by all. | |||||
* | ChangeLog: formatting tweaks | Hisham Muhammad | 2018-07-02 | 1 | -13/+13 | |
| | ||||||
* | Makefile: minor improvement to wrapper script | Hisham Muhammad | 2018-07-02 | 1 | -2/+2 | |
| | ||||||
* | Docs: updated Changelog for LuaRocks 3.0 | Hisham Muhammad | 2018-07-02 | 1 | -52/+151 | |
| | ||||||
* | Experimental Windows cross-compiled binary build | Hisham Muhammad | 2018-07-02 | 9 | -63/+264 | |
| | | | | | | | | | | | | This commit consolidates the work that has been ongoing over the last few weeks in producing the single-binary builds of LuaRocks based on the new distribution model described in https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model The single-binary build is in a good shape for Linux, it's a work-in-progress for Windows (binaries do build, but some work on the dependencies is still necessary), and is untested in macOS. | |||||
* | test.busted: luacheck fix | Hisham Muhammad | 2018-07-01 | 1 | -2/+3 | |
| | ||||||
* | Do we want LuaRocks itself to use whatever tree is in use? | Hisham Muhammad | 2018-07-01 | 1 | -0/+7 | |
| | ||||||
* | test: remove incorrect comment | Hisham Muhammad | 2018-07-01 | 1 | -8/+0 | |
| | ||||||
* | Tests: improve isolation of tests | Hisham Muhammad | 2018-07-01 | 2 | -10/+14 | |
| | ||||||
* | rockspec: fix handling of rockspec_format versions | Hisham Muhammad | 2018-07-01 | 2 | -31/+56 | |
| | | | | | | | | | | * luarocks/type_check.lua: * fix expansion of platforms * luarocks/type/rockspec.lua: * when a version fails checking, try with a later version to produce a hint in the error message. See #823. | |||||
* | fun: add reverse_in and sort_in | Hisham Muhammad | 2018-07-01 | 1 | -0/+15 | |
| | | | | | * reverse_in: reverse table in-place * sort_in: sort table in-place | |||||
* | Tests: remove outdated test | Hisham Muhammad | 2018-07-01 | 1 | -20/+0 | |
| | | | | | Remove regression test for #304 because LuaRocks no longer conflates foo and foo.init as the same module. | |||||
* | manifest: add 'namespace' to the type checker | Hisham Muhammad | 2018-07-01 | 1 | -3/+4 | |
| | ||||||
* | cmd: process --version only after cfg.init | Hisham Muhammad | 2018-07-01 | 1 | -6/+8 | |
| | ||||||
* | Tests: remove precompiled header added incorrectly | Hisham Muhammad | 2018-07-01 | 1 | -0/+0 | |
| | ||||||
* | Unix: new build system | Hisham Muhammad | 2018-07-01 | 13 | -596/+1213 | |
| | | | | | | | | | | * Reworked configure script * Now passes shellcheck * New Makefile for Unix * Simplified `make` and `make install` targets * Simplified `make bootstrap` target * New targets `make binary` and `make install-binary` build and install an all-in-one binary of LuaRocks | |||||
* | path: output PATH by default, change --bin to --no-bin | Hisham Muhammad | 2018-07-01 | 2 | -2/+3 | |
| | ||||||
* | path, loader: handle coexisting foo.bar and foo.bar.init modules | Hisham Muhammad | 2018-07-01 | 2 | -17/+24 | |
| | | | | | | | | LuaRocks used to conflate in its manifest two modules whose names only differed by ".init" (e.g. "foo.bar" and "foo.bar.init"). With this change, `path.path_to_modules` treats them as distinct modules, and `luarocks.loader` handles them correctly (given `require("foo.bar")`, it looks for `foo.bar` first and then `foo.bar.init` next). | |||||
* | write_rockspec: cleanup all rockspec internal fields | Hisham Muhammad | 2018-07-01 | 1 | -0/+10 | |
| | ||||||
* | wrapper scripts: honor deps_mode when wrapping scripts | Hisham Muhammad | 2018-07-01 | 6 | -16/+36 | |
| | ||||||
* | build, write_rockspec: autodetect scripts to install as well | Hisham Muhammad | 2018-07-01 | 2 | -7/+20 | |
| | ||||||
* | Travis: fix cache directories | Hisham Muhammad | 2018-07-01 | 1 | -10/+8 | |
| | ||||||
* | Let LuaRocks find LUA_LIBDIR and LUA_INCDIR by itself | Hisham Muhammad | 2018-07-01 | 7 | -59/+48 | |
| | ||||||
* | mingw32: do not link Lua statically | Hisham Muhammad | 2018-07-01 | 2 | -0/+17 | |
| | ||||||
* | Tests: config: no need for special-casing Windows | Hisham Muhammad | 2018-07-01 | 2 | -37/+20 | |
| | ||||||
* | Windows: disable fs modules for now | Hisham Muhammad | 2018-07-01 | 1 | -0/+1 | |
| | ||||||
* | fs: do not cache cfg.variables | Hisham Muhammad | 2018-07-01 | 3 | -25/+21 | |
| | | | | | | | Avoid relying on the order that cfg and fs are required. This is not strictly required in regular operation, but it allows us to mock cfg and use fs. | |||||
* | build: resolve LUALIB at runtime | Hisham Muhammad | 2018-07-01 | 3 | -138/+178 | |
| | | | | | | Move logic from install.bat for resolving LUALIB (the name of the Lua library) reusing the standard LuaRocks functionality for finding external dependency libraries. | |||||
* | Tests: improve hardcoded defaults | Hisham Muhammad | 2018-07-01 | 1 | -12/+28 | |
| | ||||||
* | Tests: try some smarter defaults for Windows | Hisham Muhammad | 2018-07-01 | 1 | -3/+6 | |
| | ||||||
* | Windows: support hardcoded.WIN_TOOLS for tool paths | Hisham Muhammad | 2018-07-01 | 1 | -0/+8 | |
| | ||||||
* | Tests: do not run installer on Windows | Hisham Muhammad | 2018-07-01 | 1 | -35/+38 | |
| | ||||||
* | cfg: add / to external_deps_dirs, because some Linux libraries still live in ↵ | Hisham Muhammad | 2018-07-01 | 1 | -1/+1 | |
| | | | | /lib | |||||
* | Tests: speed up downloading rocks reusing HTTP connection | Hisham Muhammad | 2018-07-01 | 1 | -8/+15 | |
| | ||||||
* | config: Lua 5.1/5.2 compatibility fix | Hisham Muhammad | 2018-07-01 | 1 | -1/+3 | |
| | ||||||
* | fs: add LuaPosix-version of set_permissions | Hisham Muhammad | 2018-07-01 | 3 | -51/+92 | |
| | | | | | | | | This implemention the ugly side-effect of "exposing" some Unix-specific utility functions to the public API, so they can be shared by `luarocks.fs.lua` and `luarocks.fs.unix.tools`. I named those functions `_unix_*` (with a Python-style `_` at the beginning) to clarify that they should not be used publicly. | |||||
* | fs.lua: add a LuaPosix-independent version of make_temp_dir | Hisham Muhammad | 2018-07-01 | 1 | -0/+18 | |
| | | | | This version can run on Windows using lfs alone. |