aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-05-30 21:36:22 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-05-30 21:36:22 +0000
commit5ca1049ab47f3f9ff9157f71af9072f04a637500 (patch)
tree24fcb14f2890900a4a709312ab25bfc2c14a3939 /TODO
parentc23240726e3044e3eaa32a82a999b754c08bc183 (diff)
downloadluasocket-5ca1049ab47f3f9ff9157f71af9072f04a637500.tar.gz
luasocket-5ca1049ab47f3f9ff9157f71af9072f04a637500.tar.bz2
luasocket-5ca1049ab47f3f9ff9157f71af9072f04a637500.zip
Fine tuning the "require" business.
Diffstat (limited to 'TODO')
-rw-r--r--TODO118
1 files changed, 61 insertions, 57 deletions
diff --git a/TODO b/TODO
index 838be3d..bc307d5 100644
--- a/TODO
+++ b/TODO
@@ -1,54 +1,14 @@
1* should be interrupt-safe 1ajeitar os README.*
2* notice the change in callback conventions 2ajeitar select. upvalue nao tem nada a ver...
3* new mime module replacing old code module (faster, more functionality)
4* new socket options (many)
5* only allocate in case of success
6* optimize for success (only call select if fails)
7* add proxy support to http
8* add gethostname
9* local connect
10* connect with timeout
11* change code to mime
12* change stay to redirect
13* add shutdown
14* change send/recv to avoid using select
15* O location do "redirect" pode ser relativo ao servidor atual (não pode,
16 mas os servidores fazem merda...)
17* Ajeitar para Lua 5.0
18* Padronizar os retornos de funccao
19* Separar as classes em arquivos
20* Retorno de sendto em datagram sockets pode ser refused
21* select sets are now associative
22* colocar pump.all, pump.step
23* mudar ltn12.html e usar o exemplo source.cat que está muito melhor.
24* break smtp.send into c = smtp.open, c:send() c:close()
25* fazer com que a socket.source e socket.sink sejam "selectable".
26* change mime.eol to output marker on detection of first candidate, instead
27 of on the second. that way it works in one pass for strings that end with
28 one candidate.
29* unify backbone of smtp and ftp
30* unify filter and send/receive callback. new sink/source/pump idea.
31* get rid of aux_optlstring
32* get rid of unpack in mime.lua
33* create socket.(sink|source).simplify
34* break chain into a simpler binary chain and a complex (recursive) one.
35* Create a passive mode option for the FTP (good for firewall).
36* Modules should return their namespace table in the end of the chunk.
37
38
39get.lua precisa de ftp.get com url e sink
40make sure filter.chain fails gracefully. 3make sure filter.chain fails gracefully.
41ajeitar o manual sobre select, mais liberal agora 4ajeitar o manual sobre select, mais liberal agora
42conjunto associativo
43 5
44falar sobre encodet/wrapt/decodet no manual sobre mime 6falar sobre encodet/wrapt/decodet no manual sobre mime
45 7
46
47RECEIVE MUDOU!!! (partial stuff) COLOCAR NO MANUAL. 8RECEIVE MUDOU!!! (partial stuff) COLOCAR NO MANUAL.
48HTTP.lua mudou bastante também. 9HTTP.lua mudou bastante também.
49pump.step usado em todo mundo que recebe source ou sink 10pump.step usado em todo mundo que recebe source ou sink
50 11
51colocar um userdata com gc metamethod pra chamar sock_close (WSAClose);
52sources ans sinks are always simple in http and ftp and smtp 12sources ans sinks are always simple in http and ftp and smtp
53expose encode/decode tables to provide extensibility for mime module 13expose encode/decode tables to provide extensibility for mime module
54use coroutines instead of fancy filters 14use coroutines instead of fancy filters
@@ -60,6 +20,7 @@ pop3???
60add socket.TIMEOUT to be default timeout? 20add socket.TIMEOUT to be default timeout?
61 21
62manual 22manual
23 compatibility: select sets are associative
63 add socket.connect and socket.bind to the manual 24 add socket.connect and socket.bind to the manual
64 say what a nil callback does for http 25 say what a nil callback does for http
65 check all occurences of it's 26 check all occurences of it's
@@ -87,24 +48,9 @@ tests
87 check for interrupts 48 check for interrupts
88 49
89wrp can't break lines in the middle of a line break. 50wrp can't break lines in the middle of a line break.
90call select before accept, not after, dumbass!
91get rid of setnonblocking/setblocking in the bind function
92close has to block...
93fmt is not a good name
94change wrap() to accept a number and default to "character"
95move gethostname to dns table
96get rid of _cb in name of functions?
97trust character constants in mime.c? noooooo.
98smtp.lua needs stuff filter
99 51
100add comments into each C module. 52add comments into each C module.
101new option.c module to put all options (TCP and UDP share...)?
102testar os options! 53testar os options!
103add _tostring methods!
104change all modules to use the new namespace scheme
105
106write some utilities that use the code.lua module and put them
107in etc, modify the README.etc file and makefile.dist (eol.lua is done)
108 54
109use gethostname it in SMTP 55use gethostname it in SMTP
110 56
@@ -150,3 +96,61 @@ Ajeitar o protocolo da luaopen_socket()... sei lá qual é.
150 96
151- unix 92 bytes maximo no endereço, incluindo o zero 97- unix 92 bytes maximo no endereço, incluindo o zero
152- unix 9216 maximo de datagram size 98- unix 9216 maximo de datagram size
99
100--------------
101these are done
102--------------
103
104* should be interrupt-safe
105* notice the change in callback conventions
106* new mime module replacing old code module (faster, more functionality)
107* new socket options (many)
108* only allocate in case of success
109* optimize for success (only call select if fails)
110* add proxy support to http
111* add gethostname
112* local connect
113* connect with timeout
114* change code to mime
115* change stay to redirect
116* add shutdown
117* change send/recv to avoid using select
118* O location do "redirect" pode ser relativo ao servidor atual (não pode,
119 mas os servidores fazem merda...)
120* Ajeitar para Lua 5.0
121* Padronizar os retornos de funccao
122* Separar as classes em arquivos
123* Retorno de sendto em datagram sockets pode ser refused
124* select sets are now associative
125* colocar pump.all, pump.step
126* mudar ltn12.html e usar o exemplo source.cat que está muito melhor.
127* break smtp.send into c = smtp.open, c:send() c:close()
128* fazer com que a socket.source e socket.sink sejam "selectable".
129* change mime.eol to output marker on detection of first candidate, instead
130 of on the second. that way it works in one pass for strings that end with
131 one candidate.
132* unify backbone of smtp and ftp
133* unify filter and send/receive callback. new sink/source/pump idea.
134* get rid of aux_optlstring
135* get rid of unpack in mime.lua
136* create socket.(sink|source).simplify
137* break chain into a simpler binary chain and a complex (recursive) one.
138* Create a passive mode option for the FTP (good for firewall).
139* Modules should return their namespace table in the end of the chunk.
140* get.lua precisa de ftp.get com url e sink
141* conjunto associativo
142* colocar um userdata com gc metamethod pra chamar sock_close (WSAClose);
143* call select before accept, not after, dumbass!
144* get rid of setnonblocking/setblocking in the bind function
145* close has to block...
146* fmt is not a good name
147* change wrap() to accept a number and default to "character"
148* move gethostname to dns table
149* get rid of _cb in name of functions?
150* trust character constants in mime.c? yup.
151* smtp.lua needs stuff filter
152* new option.c module to put all options (TCP and UDP share...)?
153* add _tostring methods!
154* change all modules to use the new namespace scheme
155* write some utilities that use the code.lua module and put them
156* in etc, modify the README.etc file and makefile.dist (eol.lua is done)