Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 3.0.3v3.0.3 | Hisham Muhammad | 2018-09-13 | 1 | -1/+1 |
| | |||||
* | cfg: fix cosmetic improvement in LUA variable | Hisham Muhammad | 2018-09-11 | 1 | -1/+1 |
| | |||||
* | fs.win32: fix wrapper generation when a folder with the same basename exists | Hisham Muhammad | 2018-09-11 | 1 | -2/+2 |
| | | | | Fixes #908. | ||||
* | builtin: autogenerate valid variable names for libraries with symbols | Hisham Muhammad | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | cfg: cosmetic improvement in LUA variable | Hisham Muhammad | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | cfg: allow an empty rocks_trees in a config-5.x.lua file | Hisham Muhammad | 2018-09-07 | 2 | -4/+3 |
| | | | | This is so a project uses only the auto-inserted project tree | ||||
* | init: add --reset option | Hisham Muhammad | 2018-09-07 | 2 | -1/+18 |
| | | | | | This allows for easier switching between Lua versions in a project directory. | ||||
* | init: store cmd_interpreter and luajit_version in generated config | Hisham Muhammad | 2018-09-07 | 1 | -0/+6 |
| | |||||
* | write_rockspec, init: rename --lua-version to --lua-versions | Hisham Muhammad | 2018-09-07 | 3 | -4/+5 |
| | | | | | | | Fixes conflict between the use of --lua-version in write_rockspec to list supported Lua versions in a rockspec (now renamed to --lua-versions) and the general --lua-version flag used to select a Lua interpreter. | ||||
* | cmd: look for proper Lua version in $PATH when --lua-version is given | Hisham Muhammad | 2018-09-07 | 1 | -15/+38 |
| | |||||
* | builtin: improve skiplist for module autodetection | Hisham Muhammad | 2018-09-07 | 1 | -18/+22 |
| | | | | Skips spec/ files even when there is no src/ | ||||
* | repos: fix upgrade and downgrade of files when module names clash | Hisham Muhammad | 2018-09-04 | 2 | -187/+262 |
| | | | | | | | | | This reworks the logic of upgrading/downgrading multiple versions of the same package (or different packages) when they have different files that resolve to the same module name (foo.lua and foo.so). For a concrete example, this was hitting LuaSec downgrades. | ||||
* | show: base listing of modules on rock_manifest | Hisham Muhammad | 2018-09-03 | 3 | -26/+47 |
| | | | | | | List modules based on rock_manifest, for better precision. Overall management of modules should be moved to use rock_manifest instead of the modules list from the general local manifest, but this is a good first step. | ||||
* | fs/unix/tools: Throw error if umask output is invalid | daurnimator | 2018-08-14 | 1 | -0/+3 |
| | |||||
* | fs/unix/tools: Use 'umask -S', the only form of umask with a standardised ↵ | daurnimator | 2018-08-14 | 1 | -3/+12 |
| | | | | output form | ||||
* | fs/unix: hoist constants out of function | daurnimator | 2018-08-14 | 1 | -15/+14 |
| | |||||
* | deps: detect include/lua5x/lua.h (FreeBSD-style LUA_INCDIR) | Hisham Muhammad | 2018-08-13 | 1 | -0/+2 |
| | | | | This matches the change done in #872. | ||||
* | add mkdir to the list of WIN_TOOLS used in non-binary Windows mode | Hisham Muhammad | 2018-08-11 | 1 | -1/+1 |
| | |||||
* | which: find modules installed in a project tree | Hisham Muhammad | 2018-08-10 | 2 | -4/+7 |
| | | | | Fixes #882. | ||||
* | cfg: document cfg.initbefore-makefile-refactor | Hisham Muhammad | 2018-08-08 | 1 | -0/+15 |
| | |||||
* | fs.win32: fix environment variable name in generated wrapper | Hisham Muhammad | 2018-08-05 | 1 | -1/+1 |
| | | | | | | | | it is LUAROCKS_SYSCONFDIR, not LUAROCKS_SYSCONFIG Closes #459. Thanks @daurnimator for going through the old issues! | ||||
* | Fix: do not detect .luarocks/config-5.x.lua and lua_modules as modules | Hisham Muhammad | 2018-08-02 | 1 | -1/+3 |
| | | | | | | | | | | | | | Running luarocks init a second time after deleting the rockspec was mis-detects .luarocks/config-5.x.lua as a module, creating an entry `["luarocks.config-5.3"] = ".luarocks/config-5.3.lua"` in `build.modules`. Same problem happened with modules under `lua_modules`. This excludes `.luarocks` and `lua_modules` from module detection. Includes a regression test. Closes #847. | ||||
* | init: store Lua location in config | Hisham Muhammad | 2018-08-02 | 1 | -1/+28 |
| | | | | | This way a user can use `--lua-dir` once, in `luarocks init` and that configuration will be active for the project. | ||||
* | Do not rewrite path in util.cleanup_path if the desired version is a ↵ | Ryan Hartlage | 2018-08-01 | 1 | -1/+5 |
| | | | | | | | | substring of the version (#868) * Do not rewrite path in util.cleanup_path if the desired version is a substring of the version * Improve test coverage for core.util.cleanup_path | ||||
* | cmd: do not parse assignments after -- | Hisham Muhammad | 2018-07-26 | 1 | -1/+8 |
| | | | | This allows using assignments with Busted in `luarocks test`. | ||||
* | fs: fix rwx_to_number, add negated mask mode | Hisham Muhammad | 2018-07-26 | 1 | -11/+13 |
| | | | | Fixes #856. | ||||
* | fetch: propagate error when failing to make a temp dir | Hisham Muhammad | 2018-07-25 | 1 | -1/+4 |
| | |||||
* | Make fun.partial run with Lua 5.1 | George Roman | 2018-07-24 | 1 | -1/+2 |
| | |||||
* | cmd: report arch when crashing | Hisham Muhammad | 2018-07-23 | 1 | -1/+8 |
| | |||||
* | cfg: set fs_use_modules off for the Windows binary | Hisham Muhammad | 2018-07-23 | 1 | -0/+2 |
| | | | | This should be a good way to set that automatically. | ||||
* | fs: make zip/unzip/gunzip/bunzip2 respect `nil,err` protocol | Hisham Muhammad | 2018-07-23 | 2 | -11/+31 |
| | | | | See #850. | ||||
* | fs.copy: skip copying if the source and destination are the same files | George Roman | 2018-07-22 | 1 | -0/+3 |
| | |||||
* | cfg: do not crash when arg is not available | Hisham Muhammad | 2018-07-22 | 1 | -3/+3 |
| | | | | Fixes #852. | ||||
* | fs.unix.tools: hotfix for touch format | Hisham Muhammad | 2018-07-20 | 1 | -1/+1 |
| | |||||
* | minor luacheck fixes | Hisham Muhammad | 2018-07-18 | 2 | -2/+3 |
| | |||||
* | forward error messages from fs.unzip | Hisham Muhammad | 2018-07-18 | 2 | -4/+4 |
| | |||||
* | fs: make unpack_archive platform-agnostic using specific fs functions | Hisham Muhammad | 2018-07-18 | 4 | -190/+488 |
| | | | | | | | Use luarocks.tools.tar for handling tar files, and add platform-specific functions fs.zip, fs.unzip, fs.bunzip2, fs.gunzip, giving them native implementations using Lua modules or alternative implementations using third-party tools. | ||||
* | fs: support both table and number in set_time | Hisham Muhammad | 2018-07-18 | 3 | -1/+32 |
| | |||||
* | fs: add filter_file | Hisham Muhammad | 2018-07-18 | 1 | -0/+30 |
| | |||||
* | tar: compatibility improvement tweaks | Hisham Muhammad | 2018-07-18 | 1 | -24/+45 |
| | |||||
* | cmd: only detect sysconfdir on Unix | Hisham Muhammad | 2018-07-18 | 1 | -3/+3 |
| | | | | On the Windows single-binary this produces a weird "src/" path. | ||||
* | cmd: fix displayed program name in single-binary | Hisham Muhammad | 2018-07-18 | 1 | -1/+1 |
| | |||||
* | cmd: portability fixes, don't check LuaJIT for Lua > 5.1 | Hisham Muhammad | 2018-07-18 | 1 | -3/+12 |
| | |||||
* | cmd: support --lua-version without --lua-dir | Hisham Muhammad | 2018-07-18 | 1 | -1/+9 |
| | |||||
* | cfg: detect Visual Studio Developer Console | Hisham Muhammad | 2018-07-18 | 1 | -1/+8 |
| | |||||
* | fun: add fun.partial and fun.flip | Hisham Muhammad | 2018-07-18 | 1 | -0/+37 |
| | |||||
* | write_rockspec: detect ISC license | Hisham Muhammad | 2018-07-18 | 1 | -5/+11 |
| | |||||
* | write_rockspec: detect git+ssh and hg+ssh | Hisham Muhammad | 2018-07-18 | 1 | -4/+13 |
| | |||||
* | build.command: don't export LD or CFLAGS | Hisham Muhammad | 2018-07-18 | 1 | -2/+2 |
| | | | | | This avoids breakage with existing rockspecs that don't expect it, as seen when building the single-binary. | ||||
* | Add general improvements to the fs module | George Roman | 2018-07-16 | 3 | -10/+25 |
| |