0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
Commit Graph

26459 Commits

Author SHA1 Message Date
Ryan
f213a27657 Refactor setTimeout to be a Timer object.
Timer now uses ObjectWrap. setTimeout, setInterval are now implemented in
javascript.
2009-04-29 11:00:46 +02:00
Ryan
064c8f0252 Use ObjectWrap base class for File, Socket, Server. 2009-04-29 01:07:19 +02:00
Ryan
cf1c58063e Create a node namespace
Part of general reorganization.
2009-04-28 23:09:56 +02:00
Ryan
90fc8d3622 Update liboi. Use EV_MULTIPLICITY=0.
This might need to be changed in the future if ev is needed in thread pools
or extension libraries. However for now it makes sense to just use a single
loop.
2009-04-28 22:37:03 +02:00
Ryan
8e7bbf26e2 get 'make install' working 2009-04-23 19:26:56 +02:00
Ryan
f17ecf20be change localhost to 127.0.0.1 because macs suck 2009-04-23 19:04:01 +02:00
Ryan
29b528c980 fix the waf configure --debug options. seems to work now. 2009-04-23 17:29:31 +02:00
Ryan
0ea7577a72 sign error on file position argument 2009-04-23 15:07:54 +02:00
Ryan
8a8e9df72e wasn't sending pos arg for puts() 2009-04-23 14:22:57 +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
0b1e3240be add position arguments to File#read and File#write 2009-04-23 12:10:57 +02:00
Ryan
8514e0627a improved ping pong test. 2009-04-23 01:14:11 +02:00
Ryan
c62b124082 add scons local for v8. check for librt in wscript 2009-04-22 19:55:08 +02:00
Ryan
40c0f755c9 import full versions of dependency libraries! 2009-04-22 19:35:47 +02:00
Ryan
a93cf50307 BROKEN COMMIT: removing git submodules 2009-04-22 18:17:56 +02:00
Ryan
7703ad5153 update eio. add EIO_STACKSIZE define for getaddrinfo problem 2009-04-22 17:19:08 +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
d996b59d9c fix some errors/memleaks 2009-04-22 15:48:29 +02:00
Ryan
48b4ac4a8d implment server.close 2009-04-22 14:09:17 +02:00
Ryan
c986b99ddc throw error when given a bad arguement to socket.write 2009-04-22 14:01:45 +02:00
Ryan
3095861199 bug fix: recving raw data was incorrect. 2009-04-22 13:59:28 +02:00
Ryan
5f902a61e1 tcp server is accepting connections now.
(experiencing a problem with writing rawEncoding on the sockets. will fix in next commit.)
2009-04-22 13:52:30 +02:00
Ryan
822d7fa27e add framework for tcp server. change eio stacksize to 16kb. 2009-04-22 10:29:45 +02:00
Ryan
140a032894 oops. call onConnect callback not onRead callback after connecting 2009-04-21 23:36:01 +02:00
Ryan
1542fc6a0b add async dns for Socket 2009-04-21 23:13:13 +02:00
Ryan
707f244291 begin clean up of Socket 2009-04-21 19:56:30 +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
47fad676b4 Rename JS_ to NODE_ for method macros. add marcos to timers.cc 2009-04-21 15:55:11 +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
ec9697b1ba add 'make test' 2009-04-21 13:51:05 +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
64117d9c94 small cleanups to the require structure 2009-04-20 18:44:30 +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
c2decd720f add File.cat 2009-04-20 02:54:36 +02:00
Ryan
67af958f81 rename a few files to remove node_ prefix 2009-04-18 15:37:53 +02:00
Ryan
102c6399ac rename NewFile to File::New 2009-04-18 14:34:56 +02:00
Ryan
e368571f46 fix configure so it can handle --debug argument 2009-04-18 14:31:13 +02:00
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