Commit Graph

34 Commits

Author SHA1 Message Date
Sam Roberts
156669c28b socket.connect now implemented in the C core
This avoid socket.lua duplicating the iteration over the results
of getaddrinfo(). Some problems with the C implementation not
initializing sockets or the luasocket family have also been fixed,
and error reporting made more robust.
2012-05-10 14:14:22 -07:00
Diego Nehab
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
Diego Nehab
f37e026026 First stab at documenation
Update Lua and Luasocket version in samples and in documentation
Documented ipv5_v6only default option being set
Documented tcp6 and udp6
Documented dns.getaddrinfo
Documented zero-sized datagram change?
Documented getoption
2012-04-17 01:15:26 +08:00
Sam Roberts
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
Sam Roberts
8bb542baaf Support getoption method for tcp objects. 2012-04-11 13:54:01 -07:00
Sam Roberts
db47a91d40 Fix links to home.html, they should be to index.html.
home.html doesn't exist, index.html does.
2012-04-11 13:45:59 -07:00
Sam Roberts
12bde801f6 Document dirty, getfd, and setfd for select and tcp. 2012-04-11 13:45:59 -07:00
Sam Roberts
3a0fd4744d Reference index was missing documented APIs, and only partially alphabetized. 2012-04-11 13:45:59 -07:00
Diego Nehab
bce60be30f Decent makefiles! 2009-05-27 09:31:38 +00:00
Diego Nehab
575113fe77 Spell checked and updated modification date. 2006-04-20 04:27:13 +00:00
Diego Nehab
a2b780bf7a Spell checking on the manuals.
David's changes to lp.lua.
2005-11-21 07:04:44 +00:00
Diego Nehab
0c3cdd5ef2 Final push for release... 2005-08-12 05:56:32 +00:00
Diego Nehab
65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
Diego Nehab
ae2d2859e7 Spell checked the manual. 2004-12-13 06:26:01 +00:00
Diego Nehab
7592683b0a Modification dates updated. 2004-11-28 08:20:11 +00:00
Diego Nehab
534b0cedf7 Added new instalation section to the manual. 2004-11-28 08:17:16 +00:00
Diego Nehab
ee71689972 Setstats was missing. 2004-10-12 22:35:37 +00:00
Diego Nehab
87d260356a *** empty log message *** 2004-07-02 23:31:39 +00:00
Diego Nehab
bce1cb30d8 More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
Diego Nehab
f7579db9e8 Fixing bugs... 2004-06-20 22:19:54 +00:00
Diego Nehab
cdae8c02ed *** empty log message *** 2004-06-18 21:41:51 +00:00
Diego Nehab
ac4aac0909 Implemented safe exceptions. This looks preeety good. 2004-06-18 08:02:09 +00:00
Diego Nehab
eac26d2c8d Updated manual timestamps and the added stuffing filters to mime.html. 2004-06-17 07:00:43 +00:00
Diego Nehab
27c8ae30aa Updated the HTTP manual. Finaly done. 2004-06-16 23:21:49 +00:00
Diego Nehab
0a4c1534f3 Still work to do in the manual... 2004-06-16 04:28:21 +00:00
Diego Nehab
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
Diego Nehab
bf738a0336 Working with in the manual. 2004-05-26 04:58:32 +00:00
Diego Nehab
c53dad9883 Starting the manual. Oh well. 2004-05-25 06:51:43 +00:00
Diego Nehab
390846b640 Added ltn12 module. Modified mime to be stand alone.
Still crashes on invalid input. Dunno why.
2004-02-11 03:31:53 +00:00
Diego Nehab
0b2542d1a6 Worked on the manual.
Implemented stuffing (needs test)
Added cddb and qp examples.
2004-02-04 14:29:11 +00:00
Diego Nehab
62a4c505e4 Working on the manual...
Making better tests for error messages.
Changed a few names.
Moved gethostname to inet.c.
2004-01-24 02:47:24 +00:00
Diego Nehab
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
Diego Nehab
c554b0c9df smtp.mail was a broken link in reference.html pointing to the old mod.html. 2003-09-21 17:57:11 +00:00
Diego Nehab
982781f146 LuaSocket 2.0 User's Manual. 2003-08-31 01:00:15 +00:00