aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-20Bring the Unix implementation up to par with the Windows one!Hisham Muhammad1-4/+8
2014-03-19Fix help, as pointed out by @ignacioHisham Muhammad1-1/+1
2014-03-13Removed some unused variablesmpeterv13-25/+3
2014-03-03Revert change that broke rocks.moonscript.org — it would skip servers that ↵Hisham Muhammad1-1/+1
have no .zip manifest in them.
2014-03-03check is_lua by compiling the fileThijs Schreijer1-13/+9
2014-03-03remove exe wrappers, just batch files on windowsThijs Schreijer3-21/+31
2014-03-01filter message when deps_mode="none"François Perrad1-2/+1
On Buildroot, we call `luarocks make --deps-mode=none --keep foo.rockspec` So, the message about missing dependency is confusing. ``` Warning: skipping dependency checks. ... Missing dependency for cgilua 5.1.4-1: luafilesystem >= 1.5.0 ```
2014-02-27use correct path for is_dir checkPhilipp Janda1-3/+6
2014-02-27handle implict subdirectories when unpacking with LuaZipPhilipp Janda1-0/+5
2014-02-14Flag -c is running too slow.Hisham Muhammad1-1/+1
2014-02-14Fix issue when source.dir got misdetected if URL ends with character 'c'!Hisham Muhammad1-1/+1
How many years did this go undetected?
2014-02-14Remove repeated entryHisham Muhammad1-1/+0
2014-02-13Added nil check for tsfd in http_request()Evan Wies1-2/+4
If the opening of the cache timestamp file fails, then tsfd would be nil. write is then invoked on it yielding: /usr/local/share/lua/5.1/luarocks/fs/lua.lua:592: attempt to index local 'tsfd' (a nil value) This changeset simply adds the check for nil. It does no further error reporting, so luarocks doesn't crash, but it also doesn't report that the cache was not updated nor that anything out of the ordinary happened.
2014-02-08Upgrade luacovHisham Muhammad1-2/+2
2014-02-08Add test for missing external deps. Improves coverage.Hisham Muhammad2-1/+38
A bug was uncovered writing this!
2014-02-08When a server times out, stop using it and move down the mirrors list.Hisham Muhammad4-18/+27
2014-02-08Refactor and improve logic for detecting base directory.Hisham Muhammad3-27/+40
2014-02-08Install default doc files if the rockspec does not include any.Hisham Muhammad1-1/+25
2014-02-08Have separate fs.dir and fs.list_dir functions.Hisham Muhammad7-88/+91
The first returns an iterator, the second one a table.
2014-02-03Make `luarocks doc` return something meaningful even for rocks that are not ↵Hisham Muhammad1-10/+34
installed.
2014-01-31remove dead local variable wrap_bin_scriptsFrançois Perrad1-6/+0
now, the job is done by a call to repos.should_wrap_bin_scripts()
2014-01-29Add more tests.Hisham Muhammad1-1/+7
2014-01-29Fix logic to report errors when loading config.lua. Closes #228. Please ↵Hisham Muhammad1-1/+1
reopen if problem persists.
2014-01-29remove rocksserver settings from windows installerThijs Schreijer1-3/+0
2014-01-29added help info to build and make commandsThijs Schreijer2-0/+8
2014-01-29updated the `--branch` option to work through updating the rockspec ↵Thijs Schreijer2-8/+6
`source.branch` field Additionally a fix for the `git` module, to use command quoting
2014-01-28adds a --branch=<branchname> option. The branchename is passed as BRANCH to ↵Thijs Schreijer2-1/+13
the rockspec environment
2014-01-27unquoted path fails when spaces are in the filenameThijs Schreijer1-1/+1
2014-01-17mention --verbose option in helpThijs Schreijer1-1/+2
2014-01-16Why was this here? :)Hisham Muhammad1-4/+0
2014-01-16Use \n as separator to keys_as_stringIgnacio Burgueño1-1/+1
2014-01-16Fix documentation. Thanks @ignacio!Hisham Muhammad1-1/+8
2014-01-15show --modules will output one module per lineIgnacio Burgueño1-2/+1
As suggested by @agladysh in #210 So the output of, say, `luarocks show --modules oauth` will be: ~~~~ OAuth.helpers OAuth OAuth.coreLuaNode OAuth.coreLuaSocket ~~~~ instead of ~~~~ OAuth.helpers OAuth OAuth.coreLuaNode OAuth.coreLuaSocket ~~~~
2014-01-15Add git+http fetch module to be used in case of "git clone http://..." URLs.Hisham Muhammad2-2/+19
2014-01-15This constant needs to be global.Hisham Muhammad1-1/+1
2014-01-13bugfix doc on windowsThijs Schreijer1-1/+1
- path with spaces could not be opened - missing parameter for 'start'
2014-01-12Catch undeclared globals in rockspecsHisham Muhammad4-8/+39
2014-01-11minor updateThijs Schreijer1-2/+5
2014-01-10Misplaced quote in resulting luarocks.bat fileIgnacio Burgueño1-1/+1
Line 699 is writing this in the .bat file. ~~~~ C:\luarocks\2.1>IF NOT "c:\luarocks52\share\lua\5.2\?.lua;c:\luarocks52\share\lua\5.2\?\init.lua;;" == "" ("SET LUA_PATH_5_2=c:\luarocks\2.1\lua\?.lua;c:\luarocks\2.1\lua\?\init.lua;c:\luarocks52\share\lua\5.2\?.lua;c:\luarocks52\share\lua\5.2\?\init.lua;;") ~~~~ Which prints an error: `The system cannot find the path specified.` It only happens if env var LUA_PATH_5_2 has some value.
2014-01-10Prepare to release version 2.1.2v2.1.2Hisham Muhammad3-3/+3
2014-01-10Use --homepage, which is less ambiguous.Hisham Muhammad1-2/+2
2014-01-10Check if unzip failedHisham Muhammad1-1/+7
2014-01-10Don't quote URL on Windows. Doesn't seem to work:Hisham Muhammad1-1/+1
https://twitter.com/pchapuis/status/414119212739604480
2014-01-10Quote URLs. I wonder if it works properly with `start` on Windows.Hisham Muhammad2-2/+2
2014-01-10Fix bug when docs are missingHisham Muhammad1-2/+2
2014-01-10Enhancements for `luarocks doc` UIHisham Muhammad1-2/+27
2014-01-10Add doc commandHisham Muhammad1-0/+1
2014-01-10Factor out function for use by luarocks.docHisham Muhammad1-12/+22
2014-01-10Add textileHisham Muhammad1-1/+1
2014-01-10Modifications based on suggestions by @agladyshHisham Muhammad1-1/+4