Commit Graph

36 Commits (master)

Author SHA1 Message Date
Thijs Schreijer 601ad8d59f
refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
Pieter De Gendt 053c032a70 mime.lua: Obsolete require("io")
The `io` package is included but never used.
2017-09-04 10:26:11 +02:00
moteus 920bc97629 Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
2013-05-27 12:45:09 +04: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
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
root e716e7347b mime: Remove io dependency
This dependency was spuriously added, maybe for debug reasons,
as confirmed to me by Diego Nehab by mail.
Some systems based in Lua (e.g. Ginga) prohibit the use of
io module for security reasons, so this dependency makes
mime unusable; even worse this makes other modules, based
on mime, unusable too (e.g. html).
2012-04-11 13:45:59 -07:00
Diego Nehab 2778766d67 Preliminary IPv6 support for v2.1 2012-04-11 13:25:11 -07:00
Diego Nehab 3cd10f5ab6 Crashy bug fixed in recvraw.
Also fixed returns on closed socket.
2007-06-11 23:44:54 +00:00
Diego Nehab d55a5826e8 Few tweaks in installation, some missing files, etc. 2005-11-22 08:33:29 +00:00
Diego Nehab 72eceedc62 Bugs sent by David. 2005-10-05 03:16:17 +00:00
Diego Nehab 0c3cdd5ef2 Final push for release... 2005-08-12 05:56:32 +00:00
Diego Nehab 4d455c6206 Using core.so instead of csocket.so and cmime.so. 2005-06-17 04:04:55 +00:00
Diego Nehab 65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
Diego Nehab 8b114f3bf4 Stupid bug in http.lua. 2005-06-12 22:02:21 +00:00
Diego Nehab 8d4e240f6a Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00
Diego Nehab 97b26e0b66 Almost ready to release beta3 2005-01-02 22:44:00 +00:00
Diego Nehab a8254e94f8 Last line of modules was simplified. 2004-12-23 23:17:01 +00:00
Diego Nehab 2f970d782e Changes due to new compat-5.1 2004-12-23 22:32:12 +00:00
Diego Nehab 297b32e828 LTN12 bug removed. 2004-11-28 02:36:07 +00:00
Diego Nehab 7c97e8e40a Almost ready for beta3 2004-11-27 07:58:04 +00:00
Diego Nehab a04f15d1ca Using new module scheme. Still needs fine tuning. 2004-09-27 04:01:18 +00:00
Diego Nehab bce1cb30d8 More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
Diego Nehab 613534c795 smtp.c was eatten by mime.c 2004-06-17 06:23:13 +00:00
Diego Nehab d46f7a09a7 Fixed smtp.lua loading.
Adjusted tftp module.
Added some comments.
2004-06-16 01:02:07 +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 9ed7f955e5 Só pra não perder se der merda. 2004-06-04 15:15:45 +00:00
Diego Nehab 694edcc3c1 Committing with require. 2004-05-28 06:16:43 +00:00
Diego Nehab 4fc164b8ea Releasing LTN012. 2004-05-19 07:07:11 +00:00
Diego Nehab e5a090b01c Using socket pumps in http.lua.
Adjusted socket.try.
2004-03-26 06:05:20 +00:00
Diego Nehab e896454e6c Seems to be working. 2004-03-19 05:04:03 +00:00
Diego Nehab bcc0c2a9f0 New filter scheme.
ltn12 and mime updated.
smtp/ftp broken.
2004-03-16 06:42:53 +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 3a7ac1e043 Changed the naming convention of the mime module.
Looks beautiful.
2004-01-21 01:09:50 +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