0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
Commit Graph

867 Commits

Author SHA1 Message Date
Ryan
e7dd20dc6e add File.stat File.exists File.strerror 2009-04-18 10:58:41 +02:00
Ryan
5207226da3 fix a bug with eio polling. 2009-04-18 02:01:23 +02:00
Ryan
dd691decd2 file system methods to be queued. 2009-04-17 18:54:29 +02:00
Ryan
e5a6b07d6a remove old readme 2009-04-16 21:40:25 +02:00
Ryan
c8e20fbf81 add file.read only. raw encoding right now. 2009-04-16 21:05:41 +02:00
Ryan
12d31dd0b7 file operations are queued. 2009-04-16 20:09:55 +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
86eab1f131 update gitignore to work with waf files 2009-04-16 13:20:22 +02:00
Ryan
844f923825 remove some old files 2009-04-16 13:20:02 +02:00
Ryan
7e1350f6e4 add file.write() 2009-04-16 11:37:44 +02:00
Ryan
0ab4f5c276 Remove docs.
API is changing too quickly for me to keep up with.  I will recreate them as
things start to stablize.
2009-04-16 11:36:39 +02:00
Ryan
e8ce6ef790 add file open/close 2009-04-15 21:23:10 +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
0e9e927fcb enable support for the thread pool 2009-04-04 16:53:43 +02:00
Ryan
1a126ed11c use the WAF build system 2009-04-04 14:50:15 +02:00
Ryan
c518373838 add dependencies: libeio, libev, v8 2009-04-03 13:43:03 +02:00
Ryan
2309196c34 more todo items 2009-03-15 16:02:23 +01:00
Ryan
878ca395b3 a few more todo items 2009-03-15 12:53:04 +01:00
Ryan
fd52fa7c16 a few more todo items 2009-03-15 12:51:51 +01:00
Ryan
742b221e4b add todo list 2009-03-15 12:31:35 +01:00
Ryan
55097bb572 remove 'respond' from Request object in HTTPServer when connection is dead 2009-03-15 11:11:51 +01:00
Ryan
adf18d84af header fields should be symbols. enable fatal error messages.
how do i get a stack trace on a fatal error?
http://groups.google.com/group/v8-users/browse_thread/thread/b70c70d568c332e1
2009-03-15 09:44:26 +01:00
Ryan
1e5de42a75 allow null host parameter to listen on localhost 2009-03-13 12:22:35 +01:00
Ryan
5b08b827f9 report errors from loaded files 2009-03-09 18:21:59 +01:00
Ryan
7b45c911ef with great performance hit, a patch to handle binary
(need to get the v8 people to produce something that doesn't require copying
buffers 20 times.)
2009-03-09 17:26:46 +01:00
Ryan
a8ac42384d change HTTPServer constructor. Now: HTTPServer(host, port, onrequest); 2009-03-09 14:09:09 +01:00
Ryan
e78917b3b0 better reporting on fatal exceptions 2009-03-09 14:08:31 +01:00
Ryan
5131e0a1ef better error messages 2009-03-09 01:23:41 +01:00
Ryan
64ac9efb3d fixed bug in HTTPServer. wasn't properly destroying requests. 2009-03-07 17:08:35 +01:00
Ryan
b4985d1a6e working towards working keep-alive. need tests 2009-03-06 19:49:52 +01:00
Ryan
16ef5029de add blockingFileRead to tide me over until I can get a proper file interface. 2009-03-05 18:17:36 +01:00
Ryan
ea728d35ef add some information about http request objects 2009-03-05 14:46:40 +01:00
Ryan
db618cb708 add minimal amount about HTTPServer to spec 2009-03-05 14:36:19 +01:00
Ryan
bc1ebdf5a5 update TCPClient specs 2009-03-05 14:22:09 +01:00
Ryan
e2d20fe293 complete tcp client (for the most part) 2009-03-05 13:57:09 +01:00
Ryan
93c7e88c87 half way implemented the new TCPClient 2009-03-05 13:41:10 +01:00
Ryan
4ea5ab63c1 implement setInterval() 2009-03-04 19:16:07 +01:00
Ryan
02638103f7 add beginnings of a specification doc 2009-03-04 19:15:39 +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
Ryan
559c1987be add command line options 2009-03-04 10:22:37 +01:00
Ryan
dbbd25ae65 rename module load function to Init_modulename(), like ruby 2009-03-04 10:08:33 +01:00
Ryan
e02b71ebe8 exit program on top level exceptions
(also lots of reorg.)
2009-03-04 00:33:55 +01:00
Ryan
a890b67406 Add beginnings of the setTimeout interface 2009-03-03 19:17:33 +01:00
Ryan
f16e50d387 refactor js_request creation into method 2009-03-03 02:36:08 +01:00
Ryan
f9374eeb77 avoid reallocating the same strings every request 2009-03-03 02:15:26 +01:00
Ryan
19478ed4b1 Major refactoring: program name now "node"
Trying to make a more moduler design. Two libraries currently "TCP" and
"HTTP" each have their own file.

Other major feature added here is multiple web servers! excitement.
2009-03-03 01:56:15 +01:00