f960b3872a
Making progress toward a release
...
Documented headers.lua
Update copyright date everywhere
Remove RCSID from files
Move version back to 2.1 rather than 2.1.1
Fixed url package to support ipv6 hosts
Changed "domain" to "family" in tcp and udp structures
Implemented getfamily methods
2012-04-23 00:18:45 +08:00
4b671f4551
Merge branch 'git-sam' into diego-sam-mwild-integration
...
Conflicts in options.c were just due to independent small functions
being close to each other.
unix.c in mwild was broken, it wasn't using LUASOCKET_API.
serial.c needed luaL_reg renamed, and to use LUASOCKET_API.
makefile didn't respect standard DESTDIR and prefix makefile
variables, and didn't allow LUAV variable to select lua version to build
against.
I've tested the top-level install-both target builds and installs
against both lua5.1 and lua5.2, but not done further testing.
Conflicts:
README
config
gem/ltn012.tex
makefile
src/makefile
src/options.c
src/options.h
src/tcp.c
src/usocket.c
2012-04-11 14:18:20 -07:00
8bb542baaf
Support getoption method for tcp objects.
2012-04-11 13:54:01 -07:00
e15ed19db6
Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs sorting out to take maybe a version number and also the local paths need removing.
2012-04-11 13:33:34 -07:00
594f826aa1
Add support for connecting to IPv6 hosts
2012-04-11 13:33:34 -07:00
f871a29f27
Add support for the IPV6_V6ONLY socket option defaulting to on.
2012-04-11 13:33:34 -07:00
923eef1929
Rework binding IPv6 sockets by harmonizing it with the IPv4 variant
2012-04-11 13:33:34 -07:00
908ee2cce1
Fix two crashes and add -Wshadow so that this can't happen again.
...
The two crashes are the s/const char *// changes in tcp.c. The rest
is cleanup so it will build.
2012-04-11 13:33:34 -07:00
2778766d67
Preliminary IPv6 support for v2.1
2012-04-11 13:25:11 -07:00
bce60be30f
Decent makefiles!
2009-05-27 09:31:38 +00:00
f4dadea763
Before compiling on Windows.
2005-10-07 04:40:59 +00:00
a32c6d9140
Almost ready to release.
2005-09-29 06:11:42 +00:00
9596c7f95d
Bug in forward.lua. Wasn't breaking from the loop.
2005-04-21 05:38:07 +00:00
434e8e014c
Better connection handling.
2005-04-21 03:15:34 +00:00
2a00a5ad50
Trying to get non-blocking connect to work.
2005-04-20 18:57:47 +00:00
6dc9c1096a
Seems to be working on windows.
2005-03-11 02:21:27 +00:00
e57f9e9964
Apparently, non-blocking connect doesn't work on windows if you use 0
...
timeout in the select call...
2005-03-11 00:20:21 +00:00
7350bad6f4
Just to check out in the office.
2005-02-27 18:30:32 +00:00
8d4e240f6a
Forward server working on Mac OS X...
2005-02-08 10:01:01 +00:00
2cd2a5d4a4
Stupid bug.
2005-01-22 22:38:43 +00:00
7c97e8e40a
Almost ready for beta3
2004-11-27 07:58:04 +00:00
cd994f306a
Gonna try my luck on windows...
2004-07-26 04:03:55 +00:00
9a79d500eb
Still need to fix windows. :o/
2004-07-15 06:11:53 +00:00
63807d6476
Added getstats.
2004-07-01 06:09:29 +00:00
197aef23ce
Compiles with g++.
2004-07-01 05:35:35 +00:00
7115c12fbc
Moving on to beta2.
2004-07-01 03:32:09 +00:00
1ce47ebe39
Added support for unix stream sockets.
2004-06-22 16:12:53 +00:00
7195ab620b
Few extra changes.
2004-06-22 04:49:57 +00:00
bce1cb30d8
More adjustments/bugfixes.
2004-06-21 06:07:58 +00:00
f7579db9e8
Fixing bugs...
2004-06-20 22:19:54 +00:00
58096449c6
Manual is almost done. HTTP is missing.
...
Implemented new distribution scheme.
Select is now purely C.
HTTP reimplemented seems faster dunno why.
LTN12 functions that coroutines fail gracefully.
2004-06-15 06:24:00 +00:00
9ed7f955e5
Só pra não perder se der merda.
2004-06-04 15:15:45 +00:00
888496aa82
FTP low-level working.
...
SMTP connection oriented working.
ltn12 improved.
2004-05-25 05:27:44 +00:00
0b2542d1a6
Worked on the manual.
...
Implemented stuffing (needs test)
Added cddb and qp examples.
2004-02-04 14:29:11 +00:00
0c9f420a35
New accept/connect code.
...
Better error checking.
Better tests.
__tostring implemented.
2004-01-24 00:18:19 +00:00
195069cf5f
Fixed functions that return messages in ?socket.c.
...
Moved complexity of connect and accept there.
Created a new options.c module to take care of options.
Auxiliar.c is now cleaner.
2004-01-21 18:40:52 +00:00
3f1712ed48
Added gethostname.
...
Cleaned up TODO.
Moved luasocket specific stuff from auxiliar.c to luasocket.c
2004-01-19 18:22:51 +00:00
32a3b93512
Added -ansi -pedantic and faced the consequences...
2004-01-19 06:07:17 +00:00
5b8d7dec54
Updated some of the callbacks in callback.lua.
...
Update get.lua to use the new callbacks.
The old "code" module is now the "mime" module.
Updated all modules that depended on it.
Updated url.lua to use the new namespace scheme, and moved the
escape and unescape functions that used to be in the code.lua module
to it, since these are specific to urls.
Updated the callback entries in the manual.
2004-01-19 05:41:30 +00:00
6ac82d50ee
Added proxy support to http.lua
...
Changed callback.lua module, but need more work.
Added local connect support.
2004-01-19 00:24:41 +00:00
50ce143725
Have to figure out how to test timeout on connect... kind of hard.
2004-01-18 06:41:43 +00:00
c8d58798f0
Trying to get connect-with-timeout to work. Darwin works...
2004-01-18 00:04:20 +00:00
02ef4e7daa
Trying to get rid of EINTR problems...
2004-01-17 08:02:04 +00:00
076451c753
Tested in windows. Still needs more testing, but progress has been made.
2004-01-17 00:17:46 +00:00
89f3ecf782
http.lua updated. still needs proxy support.
...
code.lua updated. looks neat.
2004-01-16 07:06:31 +00:00
3febb302ad
Killed a few bugs found by Tomas.
2003-11-27 00:30:54 +00:00
c51d4acf1c
Adjusted a few inconsistencies with the manual.
2003-08-16 00:06:04 +00:00
71f6bb60bf
Finished implementation of LuaSocket 2.0 alpha on Linux.
...
Some testing still needed.
2003-06-26 18:47:49 +00:00
f330540576
Compiles and runs on linux and windows, using DLLs!
2003-06-11 01:42:18 +00:00
58bdb658aa
Select re-implemented in a nicer way.
...
Few changes in internal class and group registration.
Lua modules are compiled and built into library.
Dynamic library tested in Linux and Mac OS X.
2003-06-09 18:23:40 +00:00