aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into 2.4.1v2.4.1Hisham2016-10-061-1/+1
|\
| * Fixup LUAROCKS_PREFIX when copying over site_config.lua.Hisham2016-10-061-1/+1
| | | | | | | | See #625.
* | Merge branch 'master' into 2.4.1Hisham2016-10-061-3/+6
|\|
| * Install site_config.lua after Makefile calls luarocks.Hisham2016-10-061-3/+6
| | | | | | | | | | | | Otherwise, when luarocks removes a previous version it may end up deleting the site_config.lua file that was freshly installed. Closes #625.
* | Prepare for release 2.4.1.Hisham2016-10-064-6/+6
|/
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-10-062-36/+99
|\
| * Merge pull request #624 from mpeterv/coroutineless-sortedpairsHisham Muhammad2016-10-062-36/+99
| |\ | | | | | | Don't use coroutines in util.sortedpairs
| | * Rewrite util.sortedpairs to avoid using coroutinesPeter Melnichenko2016-10-061-36/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | util.sortedpairs is used in luarocks loader since @6dc745a. Openresty does not like coroutines being used from inside `require`, resulting in "attempt to yield across C-call boundary" error. New version of util.sortedpairs uses a prepared array of ordered keys instead of coroutines. Ref #620.
| | * Add tests for util.sortedpairsPeter Melnichenko2016-10-061-0/+56
| |/
* / Make the workaround for older LuaRocks versions more robust.Hisham2016-10-061-0/+24
|/
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-10-051-1/+2
|\
| * Add Gitter badge, change Travis badge to svgHisham Muhammad2016-09-111-1/+2
| |
* | Simulate module() for older wrappers.Hisham2016-10-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Older versions of LuaRocks (e.g. 2.1.0) install script wrappers that assume that `luarocks.loader` is available in the global namespace (this is from the module() era). This workaround detects this (because site_config.lua files written by these old versions use module(), and therefore create a `luarocks` global. To reproduce this issue, make a clean install of LuaRocks 2.1.0, then run `luarocks install luarocks`. Installation succeds, but running `luarocks` produces `attempt to index field 'loader' (a nil value)`. Bug reported by @tomasguisasola.
* | Remove old testing.batbranched-to-2.4.0Hisham2016-09-081-9/+0
|/
* Restore accidentally deleted line!Hisham2016-09-081-0/+1
|
* Fix test to match new behavior of `pack`.Hisham2016-09-081-2/+3
|
* Tests: luarocks_bool commands log their outputs on failure.Hisham2016-09-087-22/+38
|
* Fix pack-binary-rock operation.Hisham2016-09-081-1/+1
|
* Make `pack` use the same logic as `show` for finding a rock.Hisham2016-09-084-64/+46
|
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-08-238-96/+47
|\
| * Merge pull request #608 from keplerproject/mingwHisham Muhammad2016-08-233-7/+26
| |\ | | | | | | Run Windows tests with MinGW
| | * Revert verbose after debuggingHisham2016-08-231-1/+1
| | |
| | * Use Unix makefile by default on MinGW;Hisham2016-08-221-0/+1
| | | | | | | | | | | | | | | Makefile.win is a leftover from Kepler days, and those are usually NMAKE makefiles for MSVC.
| | * Run failing test with --verboseHisham2016-08-221-1/+1
| | |
| | * Put MinGW in PATH for hererocks tooHisham2016-08-221-1/+2
| | |
| | * Build Lua using the same compiler as the one we're testingHisham2016-08-222-11/+11
| | |
| | * Add support for testing using MinGWHisham2016-08-222-6/+23
| | |
| * | install.bat: get rid of string splitting functionPeter Melnichenko2016-08-231-30/+3
| | |
| * | install.bat: get rid of vars.LUA_LIB_NAMESPeter Melnichenko2016-08-231-15/+8
| | | | | | | | | | | | | | | Generate list of names when needed instead of pregenerating a list of 5.1 and then changing it when LUA_VERSION is different.
| * | Remove a redundant check in install.batPeter Melnichenko2016-08-231-3/+0
| | | | | | | | | | | | | | | check_flags() already ensures that if bundled Lua is being installed LUA_VERSION is 5.1.
| * | Merge pull request #607 from robooo/new-testsHisham Muhammad2016-08-225-41/+10
| |\ \ | | | | | | | | Improvement of checking openssl libs on appveyor
| | * | Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readabilityroboo2016-08-224-40/+8
| | | |
| | * | Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readabilityroboo2016-08-221-1/+2
| | | |
* | | | Remove Appveyor scripts replaced by HererocksHisham2016-08-232-265/+0
|/ / /
* | / Replace coverage badge with CodeCov badgeHisham2016-08-221-2/+2
| |/ |/|
* | Merge pull request #605 from mpeterv/install-bat-detect-lua-versionHisham Muhammad2016-08-221-115/+126
|\ \ | |/ |/| Detect Lua version in install.bat
| * Update install.bat help messagePeter Melnichenko2016-08-221-1/+1
| |
| * Autodetect Lua version in install.batPeter Melnichenko2016-08-221-18/+51
| |
| * Split look_for_lua_install in install.batPeter Melnichenko2016-08-211-26/+26
| | | | | | | | | | Move gathering of potential lua directories into a separate function, call it only when needed.
| * Refactor look_for_headers in install.batPeter Melnichenko2016-08-211-18/+20
| | | | | | | | | | One side effect should be that LUA_INCDIR does not have trailing backslash when inferred.
| * Refactor look_for_link_libraries in install.batPeter Melnichenko2016-08-211-15/+15
| | | | | | | | One side effect should be that inferred LIB_DIR has no trailing backslash.
| * Refactor look_for_interpreter in install.batPeter Melnichenko2016-08-211-45/+21
| | | | | | | | | | | | Replace repeating code with loops. The only side effect should be that LUA_BINDIR now does not have trailing backslash when it's inferred.
* | Merge pull request #606 from robooo/new-testsHisham Muhammad2016-08-2219-233/+441
|\ \ | |/ |/| New tests, Windows support
| * Remove unused global variablesroboo2016-08-221-3/+1
| |
| * Fix of config testroboo2016-08-221-19/+16
| |
| * Fix of config testroboo2016-08-221-22/+25
| |
| * Fix of test_environmentroboo2016-08-211-2/+2
| |
| * Update of READMEroboo2016-08-211-1/+10
| |
| * Update of YAML files, changed coveralls for codecovroboo2016-08-212-14/+22
| |
| * Fix of show testroboo2016-08-211-1/+1
| |