Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Almost ready to release.

  • Loading branch information...
commit 1c487e4be8de182e2323d7a1d6126859e3172fe9 1 parent e381bde
Diego Nehab diegonehab authored

Showing 4 changed files with 41 additions and 59 deletions. Show diff stats Hide diff stats

  1. +2 2 LICENSE
  2. +11 1 NEW
  3. +24 52 doc/index.html
  4. +4 4 doc/installation.html
4 LICENSE
... ... @@ -1,5 +1,5 @@
1   -LuaSocket 2.0.1 license
2   -Copyright � 2004-2006 Diego Nehab
  1 +LuaSocket 2.0.2 license
  2 +Copyright � 2004-2007 Diego Nehab
3 3
4 4 Permission is hereby granted, free of charge, to any person obtaining a
5 5 copy of this software and associated documentation files (the "Software"),
12 NEW
... ... @@ -1 +1,11 @@
1   -Fixed case sensitivity in headers of multipart messages in smtp.message.
  1 +What's New
  2 +
  3 +This is just a bug-fix/update release.
  4 +
  5 + * Fixed: crash when reading '*a' on closed socket (Duck);
  6 + * Fixed: return values are consistent when reading from closed sockets;
  7 + * Fixed: case sensitivity in headers of multipart messages in
  8 + smtp.message() (Graham Henstridge);
  9 + * Fixed a couple instances of error() being called instead of base.error(). These would cause an error when an error was reported. :) (Ketmar Dark);
  10 + * Fixed: test script now uses pairs() iterator instead of the old
  11 + Lua syntax (Robert Dodier).
76 doc/index.html
@@ -78,7 +78,7 @@ <h2 id=whatis>What is LuaSocket?</h2>
78 78 </p>
79 79
80 80 <p>
81   -Copyright &copy; 2004-2006 Diego Nehab. All rights reserved. <br>
  81 +Copyright &copy; 2004-2007 Diego Nehab. All rights reserved. <br>
82 82 Author: <A href="http://www.cs.princeton.edu/~diego">Diego Nehab</a>
83 83 </p>
84 84
@@ -87,10 +87,10 @@ <h2 id=whatis>What is LuaSocket?</h2>
87 87 <h2 id=download>Download</h2>
88 88
89 89 <p>
90   -LuaSocket version 2.0.1 is now available for download! It is
91   -compatible with Lua&nbsp;5.0 and Lua&nbsp;5.1, and has
  90 +LuaSocket version 2.0.2 is now available for download! It is
  91 +compatible with Lua&nbsp;5.1, and has
92 92 been tested on Windows&nbsp;XP, Linux, and Mac OS X. Chances
93   -are it works well on most UNIX systems.
  93 +are it works well on most UNIX distributions and Windows flavours.
94 94 </p>
95 95
96 96 <p>
@@ -108,55 +108,11 @@ <h2 id=download>Download</h2>
108 108 also available from LuaForge.
109 109 </p>
110 110
111   -<p>
112   -If you are using Lua 5.0, and want to give LuaSocket a quick
113   -try, download the stand-alone archive and unpack everything into
114   -a directory, say <tt>c:\luasocket</tt>. Then set <tt>LUA_INIT</tt> to load
115   -the <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>
120   -c:\luasocket\&gt; set LUA_INIT=@c:\luasocket\compat-5.1.lua
121   -c:\luasocket\&gt; set LUA_CPATH=?.dll
122   -c:\luasocket\&gt; set LUA_PATH=?.lua
123   -</pre>
124   -
125   -<p>
126   -From that directory, you can then run the interpreter and it should find all
127   -files it needs. To download this manual page from the Internet, for example,
128   -do the following:
129   -</p>
130   -
131   -<pre class=example>
132   -c:\luasocket\&gt; lua50
133   -Lua 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>
140   -If you are using Lua 5.1, you shouldn't use
141   -<tt>compat-5.1.lua</tt>. Just unpack the standalone
142   -directory, set <tt>LUA_CPATH</tt> and <tt>LUA_PATH</tt>, and
143   -you should be ready to run:
  111 +<p> Take a look at the <a
  112 +href=installation.html>installation</a> section of the
  113 +manual to find out how to properly install the library.
144 114 </p>
145 115
146   -<pre class=example>
147   -c:\luasocket\&gt; set LUA_CPATH=?.dll
148   -c:\luasocket\&gt; set LUA_PATH=?.lua
149   -c:\luasocket\&gt; lua5.1
150   -Lua 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
158   -how to properly install the library. </p>
159   -
160 116 <!-- thanks +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
161 117
162 118 <h2 id=thanks>Special thanks</h2>
@@ -177,7 +133,23 @@ <h2 id=thanks>Special thanks</h2>
177 133 <h2 id=new>What's New</h2>
178 134
179 135 <p>
180   -This is just a bug-fix/update release.
  136 +2.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
  143 +messages in smtp.message() (Graham Henstridge);
  144 +<li> Fixed a couple instances of error() being called instead of
  145 +base.error(). These would cause an error when an error was
  146 +reported :) (Ketmar Dark);
  147 +<li> Fixed: test script now uses pairs() iterator instead
  148 +of the old Lua syntax (Robert Dodier).
  149 +</ul>
  150 +
  151 +<p>
  152 +2.0.1 is just a bug-fix/update release.
181 153 </p>
182 154
183 155 <ul>
8 doc/installation.html
@@ -39,7 +39,7 @@
39 39
40 40 <h2>Installation</h2>
41 41
42   -<p> LuaSocket 2.0.1 uses the new package system for Lua 5.1.
  42 +<p> LuaSocket 2.0.2 uses the new package system for Lua 5.1.
43 43 All Lua library developers are encouraged to update their libraries so that
44 44 all libraries can coexist peacefully and users can benefit from the
45 45 standardization and flexibility of the standard.
@@ -122,17 +122,17 @@
122 122 <tt>require</tt> function to gain access to whatever module you need:</p>
123 123
124 124 <pre class=example>
125   -Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
  125 +Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
126 126 &gt; socket = require("socket")
127 127 &gt; print(socket._VERSION)
128   ---&gt; LuaSocket 2.0.1
  128 +--&gt; LuaSocket 2.0.2
129 129 </pre>
130 130
131 131 <p> Each module loads their dependencies automatically, so you only need to
132 132 load the modules you directly depend upon: </p>
133 133
134 134 <pre class=example>
135   -Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
  135 +Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
136 136 &gt; http = require("socket.http")
137 137 &gt; print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket"))
138 138 --&gt; homepage gets dumped to terminal

0 comments on commit 1c487e4

Please sign in to comment.
Something went wrong with that request. Please try again.