Commit Graph

45 Commits

Author SHA1 Message Date
david
46ecb7e2dc src/ltn12.lua: remove duplicated codes 2022-03-21 11:07:26 +01:00
Thijs Schreijer
601ad8d59f
refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
E. Westbrook
8fee636309 Add ltn12.source.table() 2018-06-05 00:00:39 -06:00
Diego Nehab
cdce73b226 Added support for FTP command lists 2016-03-04 14:38:56 -03:00
mpeterv
3c3a5d0011 Use base.select instead of just select 2016-02-11 15:53:53 +03:00
mpeterv
a7f21e8ec4 Fix error in ltn12 under Lua 5.3 2016-02-11 15:51:54 +03:00
Fabien Fleutot
480a818bf0 support multiple filters in ltn12.{sink,source}.chain() 2013-06-18 11:01:46 +02:00
Diego Nehab
6e00ffd62f Changing from 2.1-rc1 to 3.0-rc1. 2013-06-11 19:10:03 +08:00
Diego Nehab
bc709ac7b7 Export global table only if "module()" is defined. 2013-06-05 18:36:51 +08: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
9d97d39575 Fix ltn12 version. 2012-12-10 15:50:44 -02:00
Pierre Chapuis
ffddaf4a2e fix use of arg in ltn12 2012-09-17 23:44:04 +02: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
2778766d67 Preliminary IPv6 support for v2.1 2012-04-11 13:25:11 -07:00
Diego Nehab
11282d17c8 Almost done 2.0.1. 2006-04-03 04:45:42 +00:00
Diego Nehab
d55a5826e8 Few tweaks in installation, some missing files, etc. 2005-11-22 08:33:29 +00:00
Diego Nehab
f4dadea763 Before compiling on Windows. 2005-10-07 04:40:59 +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
65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
Diego Nehab
5d32848674 No coroutines needed. 2005-02-03 19:14:09 +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
05e8f24385 New LTN12 test procedures (still short, but growing)
LTN12 avoids coroutines.
2004-11-28 00:59:12 +00:00
Diego Nehab
7c97e8e40a Almost ready for beta3 2004-11-27 07:58:04 +00:00
Diego Nehab
bdc3e241bb Little bug in manual. 2004-11-17 04:55:57 +00:00
Diego Nehab
4964552718 My own ltn12.filter.chain is done.
Implemented part of DB's suggestion for ftp.
Mimetest.lua generates the test file for base64 instead of loading from disk.
2004-10-12 22:35:20 +00:00
Diego Nehab
396946b63a Using Wim's filter.chain... 2004-10-12 19:47:02 +00:00
Diego Nehab
a04f15d1ca Using new module scheme. Still needs fine tuning. 2004-09-27 04:01:18 +00:00
Diego Nehab
ecb8db95a4 Coroutine-free filter.chain. 2004-07-29 05:11:21 +00:00
Diego Nehab
613534c795 smtp.c was eatten by mime.c 2004-06-17 06:23:13 +00:00
Diego Nehab
0a4c1534f3 Still work to do in the manual... 2004-06-16 04:28:21 +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
888496aa82 FTP low-level working.
SMTP connection oriented working.
ltn12 improved.
2004-05-25 05:27:44 +00:00
Diego Nehab
d92132e87a complicated bug in ltn12.filter.chain... 2004-04-01 07:32:53 +00:00
Diego Nehab
1fa65d89ca Adjusted some details, got rid of old files, added some new. 2004-03-22 04:15:03 +00:00
Diego Nehab
4919a83d22 Changed receive function. Now uniform with all other functions. Returns nil
on error, return partial result in the end.

http.lua rewritten.
2004-03-21 07:50:15 +00:00
Diego Nehab
e896454e6c Seems to be working. 2004-03-19 05:04:03 +00:00
Diego Nehab
2c160627e5 Message source in smtp.lua is a work of art. 2004-03-18 07:01:14 +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