aboutsummaryrefslogtreecommitdiff
path: root/doc/index.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2007-06-15 06:28:56 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2007-06-15 06:28:56 +0000
commit1c487e4be8de182e2323d7a1d6126859e3172fe9 (patch)
tree093d7ee013c6095fc3fe913281431be5e62550f6 /doc/index.html
parente381bde1ea74552c227e33dbb0c73a2fade897f6 (diff)
downloadluasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.tar.gz
luasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.tar.bz2
luasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.zip
Almost ready to release.
Diffstat (limited to 'doc/index.html')
-rw-r--r--doc/index.html76
1 files changed, 24 insertions, 52 deletions
diff --git a/doc/index.html b/doc/index.html
index ab4bea6..4992e04 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -78,7 +78,7 @@ LuaSocket.
78</p> 78</p>
79 79
80<p> 80<p>
81Copyright &copy; 2004-2006 Diego Nehab. All rights reserved. <br> 81Copyright &copy; 2004-2007 Diego Nehab. All rights reserved. <br>
82Author: <A href="http://www.cs.princeton.edu/~diego">Diego Nehab</a> 82Author: <A href="http://www.cs.princeton.edu/~diego">Diego Nehab</a>
83</p> 83</p>
84 84
@@ -87,10 +87,10 @@ Author: <A href="http://www.cs.princeton.edu/~diego">Diego Nehab</a>
87<h2 id=download>Download</h2> 87<h2 id=download>Download</h2>
88 88
89<p> 89<p>
90LuaSocket version 2.0.1 is now available for download! It is 90LuaSocket version 2.0.2 is now available for download! It is
91compatible with Lua&nbsp;5.0 and Lua&nbsp;5.1, and has 91compatible with Lua&nbsp;5.1, and has
92been tested on Windows&nbsp;XP, Linux, and Mac OS X. Chances 92been tested on Windows&nbsp;XP, Linux, and Mac OS X. Chances
93are it works well on most UNIX systems. 93are it works well on most UNIX distributions and Windows flavours.
94</p> 94</p>
95 95
96<p> 96<p>
@@ -108,55 +108,11 @@ available from LuaForge. These are compatible with the
108also available from LuaForge. 108also available from LuaForge.
109</p> 109</p>
110 110
111<p> 111<p> Take a look at the <a
112If you are using Lua 5.0, and want to give LuaSocket a quick 112href=installation.html>installation</a> section of the
113try, download the stand-alone archive and unpack everything into 113manual to find out how to properly install the library.
114a directory, say <tt>c:\luasocket</tt>. Then set <tt>LUA_INIT</tt> to load
115the <tt>compat-5.1.lua</tt> and set <tt>LUA_PATH</tt> and
116<tt>LUA_CPATH</tt> to look for files in the current directory:
117</p>
118
119<pre class=example>
120c:\luasocket\&gt; set LUA_INIT=@c:\luasocket\compat-5.1.lua
121c:\luasocket\&gt; set LUA_CPATH=?.dll
122c:\luasocket\&gt; set LUA_PATH=?.lua
123</pre>
124
125<p>
126From that directory, you can then run the interpreter and it should find all
127files it needs. To download this manual page from the Internet, for example,
128do the following:
129</p>
130
131<pre class=example>
132c:\luasocket\&gt; lua50
133Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
134&gt; http = require"socket.http"
135&gt; print(http.request"http://www.cs.princeton.edu/~diego/professional/luasocket/")
136--&gt; the source to this web page gets dumped to terminal
137</pre>
138
139<p>
140If you are using Lua 5.1, you shouldn't use
141<tt>compat-5.1.lua</tt>. Just unpack the standalone
142directory, set <tt>LUA_CPATH</tt> and <tt>LUA_PATH</tt>, and
143you should be ready to run:
144</p> 114</p>
145 115
146<pre class=example>
147c:\luasocket\&gt; set LUA_CPATH=?.dll
148c:\luasocket\&gt; set LUA_PATH=?.lua
149c:\luasocket\&gt; lua5.1
150Lua 5.1 Copyright (C) 1994-2006 Lua.org, PUC-Rio
151&gt; http = require"socket.http"
152&gt; print(http.request"http://www.cs.princeton.edu/~diego/professional/luasocket/"
153--&gt; the source to this web page gets dumped to terminal
154</pre>
155
156<p> When you are done playing, take a look at the
157<a href=installation.html>installation</a> section of the manual to find out
158how to properly install the library. </p>
159
160<!-- thanks +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 116<!-- thanks +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
161 117
162<h2 id=thanks>Special thanks</h2> 118<h2 id=thanks>Special thanks</h2>
@@ -177,7 +133,23 @@ has been helping a lot too! Thanks to you all!
177<h2 id=new>What's New</h2> 133<h2 id=new>What's New</h2>
178 134
179<p> 135<p>
180This is just a bug-fix/update release. 1362.0.2 is just a bug-fix/update release.
137</p>
138
139<ul>
140<li> Fixed: crash when reading '*a' on closed socket (Duck);
141<li> Fixed: return values are consistent when reading from closed sockets;
142<li> Fixed: case sensitivity in headers of multipart
143messages in smtp.message() (Graham Henstridge);
144<li> Fixed a couple instances of error() being called instead of
145base.error(). These would cause an error when an error was
146reported :) (Ketmar Dark);
147<li> Fixed: test script now uses pairs() iterator instead
148of the old Lua syntax (Robert Dodier).
149</ul>
150
151<p>
1522.0.1 is just a bug-fix/update release.
181</p> 153</p>
182 154
183<ul> 155<ul>