aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
Diffstat (limited to 'TODO')
-rw-r--r--TODO157
1 files changed, 3 insertions, 154 deletions
diff --git a/TODO b/TODO
index 7a45569..054e5f3 100644
--- a/TODO
+++ b/TODO
@@ -1,163 +1,12 @@
1 1make select interrupt safe
2 2adicionar exemplos de expansão: pipe, local, named pipe
3ajeitar os README.*
4ajeitar as referencias a RFCS e LTNS em todos os arquivos.
5
6make sure sockets are closed when exceptions are raised
7
8check garbage collection in test*.lua
9
10
11manual
12 socket.newtry
13 *socket.skip
14 *send return convention changed.
15 * compatibility: select sets are associative
16 * add socket.connect and socket.bind to the manual
17 * add shutdown
18 * add gethostname
19 check all occurences of it's
20 * the need of a content-length header in the post method...
21 * notice the change in callback conventions
22 * the callback.lua module and the new mime module.
23 * escape and unescape in url, not in code!
24 * add timeout and proxy to request table
25 * change stay to redirect
26 * socket.time and socket.sleep
27 * - connect with timeout
28 local connect
29 * add thanks to 'carlos cassino' and 'david burgess'
30 * add new ip- options and reuseaddr option
31 * - add listen to manual
32 * bind method doesn't do listen anymore
33 * bind doesn't turn an object into a server object: listen does.
34
35tests
36 checar todos os metodos
37 checar todas as globais
38 checar garbage collection
39 check for interrupts
40
41wrp can't break lines in the middle of a line break.
42
43add comments into each C module.
44testar os options!
45
46
47Read about
48250-ENHANCEDSTATUSCODES
49250-PIPELINING
50250-8BITMIME
51250-SIZE
52250-DSN
53250-ETRN
54250-AUTH GSSAPI
55250-DELIVERBY
56250 HELP
57
58Change return of send and receive callbacks to allow for
59new functions. "" signals end of transmission. Pass total
60number of bytes in request table for HTTP. Callback has nothing
61to do with it.
62
63Make sure nobody can fuck up with the metatables...
64
65
66
67Adjust dates in all files
68
69Test the library on every system possible
70
71Add service name translation. 3Add service name translation.
72Ajeitar o protocolo da luaopen_socket()... sei lá qual é. 4testar os options!
73
74
75- adicionar exemplos de expansão: pipe, local, named pipe
76
77
78- Fazer compilar com g++ 5- Fazer compilar com g++
79- Thread-safe 6- Thread-safe
80 - proteger get*by*.* com um mutex GLOBAL! 7 - proteger get*by*.* com um mutex GLOBAL!
81 - proteger ou atomizar o conjunto (timedout, receive), (timedout, send) 8 - proteger ou atomizar o conjunto (timedout, receive), (timedout, send)
82 - inet_ntoa também é uma merda. 9 - inet_ntoa também é uma merda.
83- SSL 10- SSL
84
85- unix 92 bytes maximo no endereço, incluindo o zero 11- unix 92 bytes maximo no endereço, incluindo o zero
86- unix 9216 maximo de datagram size 12- unix 9216 maximo de datagram size
87
88--------------
89these are done
90--------------
91
92* tirar socket.url socket.ftp etc do manual. agora os namespaces
93 estao liberados.
94* falar sobre o novo esquema de namespace
95* ajeitar o manual sobre select, mais liberal agora
96* make sure filter.chain fails gracefully.
97* ajeitar select. upvalue nao tem nada a ver...
98* should be interrupt-safe
99* notice the change in callback conventions
100* new mime module replacing old code module (faster, more functionality)
101* new socket options (many)
102* only allocate in case of success
103* optimize for success (only call select if fails)
104* add proxy support to http
105* add gethostname
106* local connect
107* connect with timeout
108* change code to mime
109* change stay to redirect
110* add shutdown
111* change send/recv to avoid using select
112* O location do "redirect" pode ser relativo ao servidor atual (não pode,
113 mas os servidores fazem merda...)
114* Ajeitar para Lua 5.0
115* Padronizar os retornos de funccao
116* Separar as classes em arquivos
117* Retorno de sendto em datagram sockets pode ser refused
118* select sets are now associative
119* colocar pump.all, pump.step
120* mudar ltn12.html e usar o exemplo source.cat que está muito melhor.
121* break smtp.send into c = smtp.open, c:send() c:close()
122* fazer com que a socket.source e socket.sink sejam "selectable".
123* change mime.eol to output marker on detection of first candidate, instead
124 of on the second. that way it works in one pass for strings that end with
125 one candidate.
126* unify backbone of smtp and ftp
127* unify filter and send/receive callback. new sink/source/pump idea.
128* get rid of aux_optlstring
129* get rid of unpack in mime.lua
130* create socket.(sink|source).simplify
131* break chain into a simpler binary chain and a complex (recursive) one.
132* Create a passive mode option for the FTP (good for firewall).
133* Modules should return their namespace table in the end of the chunk.
134* get.lua precisa de ftp.get com url e sink
135* conjunto associativo
136* colocar um userdata com gc metamethod pra chamar sock_close (WSAClose);
137* call select before accept, not after, dumbass!
138* get rid of setnonblocking/setblocking in the bind function
139* close has to block...
140* fmt is not a good name
141* change wrap() to accept a number and default to "character"
142* move gethostname to dns table
143* get rid of _cb in name of functions?
144* trust character constants in mime.c? yup.
145* smtp.lua needs stuff filter
146* new option.c module to put all options (TCP and UDP share...)?
147* add _tostring methods!
148* change all modules to use the new namespace scheme
149* write some utilities that use the code.lua module and put them
150* in etc, modify the README.etc file and makefile.dist (eol.lua is done)
151* proxy no ftp? no
152* ajeitar < e-mail > no smtp? no
153* ajeitar referencias a LTN12 nos manuais
154* RECEIVE MUDOU!!! (partial stuff) COLOCAR NO MANUAL.
155* HTTP.lua mudou bastante também.
156* falar sobre encodet/wrapt/decodet no manual sobre mime? no.
157* pump.step usado em todo mundo que recebe source ou sink
158* sources ans sinks are always simple in http and ftp and smtp
159* expose encode/decode tables to provide extensibility for mime module
160* use coroutines instead of fancy filters
161* add socket.TIMEOUT to be default timeout? no.
162* use gethostname it in SMTP
163* smtp.o goes to mime.dll