Ryan
0f5170339c
remove process.{cc,h} process.exit() now exit()
the process object might return in the future but for now it is going away.
16 years ago
Ryan
cf1c58063e
Create a node namespace
Part of general reorganization.
16 years ago
Ryan
f17ecf20be
change localhost to 127.0.0.1 because macs suck
16 years ago
Ryan
a4593e3ebd
WAF: fix the debug variant.
problem is they both build by default. need a way to disable the debug variant.
16 years ago
Ryan
8514e0627a
improved ping pong test.
16 years ago
Ryan
e6d96e8e66
rename echoserver -> pingpong
16 years ago
Ryan
f3f9a08de1
beef up the echoserver test
16 years ago
Ryan
63ec0454d2
add echo test. remove debug printfs
16 years ago
Ryan
d105d88625
on_load -> onLoad
16 years ago
Ryan
5d57fa5060
clean up timers a bit
16 years ago
Ryan
a0f2b8a0c5
remove debug messages from module loading.
16 years ago
Ryan
408526a1c1
debugging/improving the module framework
16 years ago
Ryan
f5b2a8f072
remove old test files
16 years ago
Ryan
7baacb56a9
ensure socket closure in very old test scripts
16 years ago
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.
16 years ago
Ryan
e7dd20dc6e
add File.stat File.exists File.strerror
16 years ago
Ryan
dd691decd2
file system methods to be queued.
16 years ago
Ryan
c8e20fbf81
add file.read only. raw encoding right now.
16 years ago
Ryan
e303d950d9
add stdout stderr global file objects. remove node.blocking.print
16 years ago
Ryan
c0b90ca763
only store fd in javascript (not in c++)
16 years ago
Ryan
470c6342cc
Change symantics of file.open. Now takes a callback argument.
16 years ago
Ryan
7e1350f6e4
add file.write()
16 years ago
Ryan
63a9cd3897
everything is changed. i've waited much too long to commit.
this is awful. i'm sorry for being so messy.
16 years ago
Ryan
1e5de42a75
allow null host parameter to listen on localhost
16 years ago
Ryan
a8ac42384d
change HTTPServer constructor. Now: HTTPServer(host, port, onrequest);
16 years ago
Ryan
b4985d1a6e
working towards working keep-alive. need tests
16 years ago
Ryan
db618cb708
add minimal amount about HTTPServer to spec
16 years ago
Ryan
ab248e8422
add test/test_clearTimeout.rb
16 years ago
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.
16 years ago
Ryan
9e5eff3b27
add test/test_http_server_echo and 'make test'
16 years ago