Ryan
f17ecf20be
change localhost to 127.0.0.1 because macs suck
2009-04-23 19:04:01 +02:00
Ryan
a4593e3ebd
WAF: fix the debug variant.
...
problem is they both build by default. need a way to disable the debug variant.
2009-04-23 13:18:38 +02:00
Ryan
8514e0627a
improved ping pong test.
2009-04-23 01:14:11 +02:00
Ryan
e6d96e8e66
rename echoserver -> pingpong
2009-04-22 16:05:14 +02:00
Ryan
f3f9a08de1
beef up the echoserver test
2009-04-22 16:04:05 +02:00
Ryan
63ec0454d2
add echo test. remove debug printfs
2009-04-22 15:52:23 +02:00
Ryan
d105d88625
on_load -> onLoad
2009-04-21 16:30:47 +02:00
Ryan
5d57fa5060
clean up timers a bit
2009-04-21 16:24:56 +02:00
Ryan
a0f2b8a0c5
remove debug messages from module loading.
2009-04-21 14:38:55 +02:00
Ryan
408526a1c1
debugging/improving the module framework
2009-04-21 13:52:21 +02:00
Ryan
f5b2a8f072
remove old test files
2009-04-20 18:48:25 +02:00
Ryan
7baacb56a9
ensure socket closure in very old test scripts
2009-04-20 18:46:09 +02:00
Ryan
93f7f0dca0
reimplement module loading
...
still missing several important features and its mostly untested but the script
test/test-test.js is working and thats enough for now.
2009-04-20 02:55:08 +02:00
Ryan
e7dd20dc6e
add File.stat File.exists File.strerror
2009-04-18 10:58:41 +02:00
Ryan
dd691decd2
file system methods to be queued.
2009-04-17 18:54:29 +02:00
Ryan
c8e20fbf81
add file.read only. raw encoding right now.
2009-04-16 21:05:41 +02:00
Ryan
e303d950d9
add stdout stderr global file objects. remove node.blocking.print
2009-04-16 13:58:10 +02:00
Ryan
c0b90ca763
only store fd in javascript (not in c++)
2009-04-16 13:42:34 +02:00
Ryan
470c6342cc
Change symantics of file.open. Now takes a callback argument.
2009-04-16 13:20:35 +02:00
Ryan
7e1350f6e4
add file.write()
2009-04-16 11:37:44 +02:00
Ryan
63a9cd3897
everything is changed. i've waited much too long to commit.
...
this is awful. i'm sorry for being so messy.
2009-04-15 10:08:28 +02:00
Ryan
1e5de42a75
allow null host parameter to listen on localhost
2009-03-13 12:22:35 +01:00
Ryan
a8ac42384d
change HTTPServer constructor. Now: HTTPServer(host, port, onrequest);
2009-03-09 14:09:09 +01:00
Ryan
b4985d1a6e
working towards working keep-alive. need tests
2009-03-06 19:49:52 +01:00
Ryan
db618cb708
add minimal amount about HTTPServer to spec
2009-03-05 14:36:19 +01:00
Ryan
ab248e8422
add test/test_clearTimeout.rb
2009-03-04 12:04:04 +01:00
Ryan
8b71ba5e68
add test_setTimeout
...
Had to disable Init_tcp because it starts an oi_async thread pool and
prevents the node loop from exiting when no watchers remain. Not sure how
to deal with this problem in general because eventually we'll need the
thread pool.
2009-03-04 11:54:20 +01:00
Ryan
9e5eff3b27
add test/test_http_server_echo and 'make test'
2009-03-04 11:35:43 +01:00