From 1c487e4be8de182e2323d7a1d6126859e3172fe9 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Fri, 15 Jun 2007 06:28:56 +0000 Subject: [PATCH] Almost ready to release. --- LICENSE | 4 +-- NEW | 12 ++++++- doc/index.html | 76 ++++++++++++++----------------------------- doc/installation.html | 8 ++--- 4 files changed, 41 insertions(+), 59 deletions(-) diff --git a/LICENSE b/LICENSE index 67f0f85..8c3cfe5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ -LuaSocket 2.0.1 license -Copyright © 2004-2006 Diego Nehab +LuaSocket 2.0.2 license +Copyright © 2004-2007 Diego Nehab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/NEW b/NEW index 13b6d60..ad8c74c 100644 --- a/NEW +++ b/NEW @@ -1 +1,11 @@ -Fixed case sensitivity in headers of multipart messages in smtp.message. +What's New + +This is just a bug-fix/update release. + + * Fixed: crash when reading '*a' on closed socket (Duck); + * Fixed: return values are consistent when reading from closed sockets; + * Fixed: case sensitivity in headers of multipart messages in + smtp.message() (Graham Henstridge); + * Fixed a couple instances of error() being called instead of base.error(). These would cause an error when an error was reported. :) (Ketmar Dark); + * Fixed: test script now uses pairs() iterator instead of the old + Lua syntax (Robert Dodier). 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.

-Copyright © 2004-2006 Diego Nehab. All rights reserved.
+Copyright © 2004-2007 Diego Nehab. All rights reserved.
Author: Diego Nehab

@@ -87,10 +87,10 @@ Author: Diego Nehab

Download

-LuaSocket version 2.0.1 is now available for download! It is -compatible with Lua 5.0 and Lua 5.1, and has +LuaSocket version 2.0.2 is now available for download! It is +compatible with Lua 5.1, and has been tested on Windows XP, Linux, and Mac OS X. Chances -are it works well on most UNIX systems. +are it works well on most UNIX distributions and Windows flavours.

@@ -108,55 +108,11 @@ available from LuaForge. These are compatible with the also available from LuaForge.

-

-If you are using Lua 5.0, and want to give LuaSocket a quick -try, download the stand-alone archive and unpack everything into -a directory, say c:\luasocket. Then set LUA_INIT to load -the compat-5.1.lua and set LUA_PATH and -LUA_CPATH to look for files in the current directory: +

Take a look at the installation section of the +manual to find out how to properly install the library.

-
-c:\luasocket\> set LUA_INIT=@c:\luasocket\compat-5.1.lua
-c:\luasocket\> set LUA_CPATH=?.dll
-c:\luasocket\> set LUA_PATH=?.lua
-
- -

-From that directory, you can then run the interpreter and it should find all -files it needs. To download this manual page from the Internet, for example, -do the following: -

- -
-c:\luasocket\> lua50
-Lua 5.0.2  Copyright (C) 1994-2004 Tecgraf, PUC-Rio
-> http = require"socket.http"
-> print(http.request"http://www.cs.princeton.edu/~diego/professional/luasocket/")
---> the source to this web page gets dumped to terminal
-
- -

-If you are using Lua 5.1, you shouldn't use -compat-5.1.lua. Just unpack the standalone -directory, set LUA_CPATH and LUA_PATH, and -you should be ready to run: -

- -
-c:\luasocket\> set LUA_CPATH=?.dll
-c:\luasocket\> set LUA_PATH=?.lua
-c:\luasocket\> lua5.1
-Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
-> http = require"socket.http"
-> print(http.request"http://www.cs.princeton.edu/~diego/professional/luasocket/"
---> the source to this web page gets dumped to terminal
-
- -

When you are done playing, take a look at the -installation section of the manual to find out -how to properly install the library.

-

Special thanks

@@ -177,7 +133,23 @@ has been helping a lot too! Thanks to you all!

What's New

-This is just a bug-fix/update release. +2.0.2 is just a bug-fix/update release. +

+ + + +

+2.0.1 is just a bug-fix/update release.