Overview
Status
-Current version is 1.5. It was developed for Lua 5.1.
+Current version is 1.6.1. It supports both Lua 5.1 and Lua 5.2.
Download
@@ -76,54 +76,54 @@Download
Unix Installer Script
-You can also get an installer script that installs Lua+LuaRocks+WSAPI -here. See +
You can also get an installer script that installs Lua+LuaRocks+WSAPI +here. See the manual for installation instructions.
Customizing the installer
-There is a section of wsapi-install-1.5 with the parameters that -control the installer:
+There is a section of wsapi-install-1.6 with the parameters that +control the installer:
-# Installer parameters - -LUA_VERSION=5.1.4 -PACKAGE=WSAPI -PACKAGE_OPT=wsapi -PACKAGE_ROCK=wsapi-xavante -INSTALLER_VERSION=0.6 -PACKAGE_VERSION=1.5 +# Installer parameters + +LUA_VERSION=5.2.1 +PACKAGE=WSAPI +PACKAGE_OPT=wsapi +PACKAGE_ROCK=wsapi-xavante +INSTALLER_VERSION=0.7 +PACKAGE_VERSION=1.6 LUAROCKS_REPO=http://luarocks.org/repositories/rocks -LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.4.1.tar.gz -LUAROCKS_VERSION=2.0.4.1 +LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.12.tar.gz +LUAROCKS_VERSION=2.0.12-
To install something else change PACKAGE to the full name of the -package, PACKAGE_OPT to the name of the --with-foo option that lets -the user override the version (or skip installation of the package), -PACKAGE_ROCK to the name of the rock, and PACKAGE_VERSION to the -version. Also change LUAROCKS_REPO if you want to use another -repository (the installer uses --from, so will pull packages from -other repositories if the one you specified does not have them).
+To install something else change PACKAGE to the full name of the +package, PACKAGE_OPT to the name of the --with-foo option that lets +the user override the version (or skip installation of the package), +PACKAGE_ROCK to the name of the rock, and PACKAGE_VERSION to the +version. Also change LUAROCKS_REPO if you want to use another +repository (the installer uses --from, so will pull packages from +other repositories if the one you specified does not have them).
-If there is a LuaRocks update then change LUAROCKS_URL and -LUAROCKS_VERSION. Changing Lua version is much more involved, so I -won't go into that.
+If there is a LuaRocks update then change LUAROCKS_URL and +LUAROCKS_VERSION. Changing Lua version is much more involved, so I +won't go into that.
-Now to make the tarball, put the installer script in an empty folder and run:
+Now to make the tarball, put the installer script in an empty folder and run:
-bash ./your-install-script --prefix=/tmp/anything --bootstrap +bash ./your-install-script --prefix=/tmp/anything --bootstrap-
After it finishes you will have lua-5.1.4.tar.gz, -luarocks-2.0.4.1.tar.gz, and a rocks folder with .src.rocks for all the -rocks that the installer installs.
+After it finishes you will have lua-5.2.1.tar.gz, +luarocks-2.0.12.tar.gz, and a rocks folder with .src.rocks for all the +rocks that the installer installs.
Latest Sources and Bug Tracker
@@ -131,6 +131,22 @@Latest Sources and Bug Tracker
History
+WSAPI 1.6.1 [21/Mar/2014]
+ +-
+
- Restores Lua 5.1 compatibility (incorrect usage of coxpcall) +
- Improvements to wsapi.mock +
- wsapi.request.qs_encode produces proper querystrings +
- FastCGI fixes +
- Additional options for cookies such as httponly and max age. +
WSAPI 1.6 [30/Jan/2013]
+ +-
+
- Lua 5.2 compatibility +
WSAPI 1.5 [21/Apr/2011]
-
@@ -198,7 +214,7 @@
- Added an
extra_vars
paremeter to wsapi.xavante.makeHandler and wsapi.xavante.makeGenericHandler, to let you pass extra variables in the WSAPI environment - Added
overwrite
option to wsapi.request that tells the parameter parser to overwrite repeated parameters - instead of collecting them in a list
+ instead of collecting them in a list
- Added a parameter
isolated
to the persistent generic loaders that controls whether you isolate each script in a Lua state or not - Added parameters to the persistent generic loaders that let the user control the life cycle of Lua
@@ -216,7 +232,7 @@
History
- Adds "wsapi" laucher script, to start a Xavante WSAPI server
- Fixed "undefined media type" error
- Added is_empty utility function to check if a string is nil or '' -
- Fixed bug with empty bodies in wsapi.xavante, and added full http status codes to responses +
- Fixed bug with empty bodies in wsapi.xavante, and added full http status codes to responses
- Changing order of evaluating PATH_TRANSLATED and SCRIPT_FILENAME, to make non-wrapped launchers work in OSX Apache
- Reload support for load_isolated_launcher
History
Contact Us
For more information please contact us. Comments are welcome!
-You can also reach us and other developers and users on the Kepler Project -mailing list.
+You can also reach us and other developers and users on the Kepler Project +mailing list.
@@ -261,7 +277,7 @@