platform/upstream/nodejs.git
15 years agoChange symantics of file.open. Now takes a callback argument.
Ryan [Thu, 16 Apr 2009 11:20:35 +0000 (13:20 +0200)]
Change symantics of file.open. Now takes a callback argument.

15 years agoupdate gitignore to work with waf files
Ryan [Thu, 16 Apr 2009 11:20:22 +0000 (13:20 +0200)]
update gitignore to work with waf files

15 years agoremove some old files
Ryan [Thu, 16 Apr 2009 11:20:02 +0000 (13:20 +0200)]
remove some old files

15 years agoadd file.write()
Ryan [Thu, 16 Apr 2009 09:37:44 +0000 (11:37 +0200)]
add file.write()

15 years agoRemove docs.
Ryan [Thu, 16 Apr 2009 09:36:39 +0000 (11:36 +0200)]
Remove docs.

API is changing too quickly for me to keep up with.  I will recreate them as
things start to stablize.

15 years agoadd file open/close
Ryan [Wed, 15 Apr 2009 19:23:10 +0000 (21:23 +0200)]
add file open/close

15 years agoeverything is changed. i've waited much too long to commit.
Ryan [Wed, 15 Apr 2009 08:08:28 +0000 (10:08 +0200)]
everything is changed. i've waited much too long to commit.

this is awful. i'm sorry for being so messy.

15 years agoenable support for the thread pool
Ryan [Sat, 4 Apr 2009 14:53:43 +0000 (16:53 +0200)]
enable support for the thread pool

15 years agouse the WAF build system
Ryan [Sat, 4 Apr 2009 12:50:15 +0000 (14:50 +0200)]
use the WAF build system

15 years agoadd dependencies: libeio, libev, v8
Ryan [Fri, 3 Apr 2009 11:43:03 +0000 (13:43 +0200)]
add dependencies: libeio, libev, v8

15 years agomore todo items
Ryan [Sun, 15 Mar 2009 15:02:23 +0000 (16:02 +0100)]
more todo items

15 years agoa few more todo items
Ryan [Sun, 15 Mar 2009 11:53:04 +0000 (12:53 +0100)]
a few more todo items

15 years agoa few more todo items
Ryan [Sun, 15 Mar 2009 11:51:51 +0000 (12:51 +0100)]
a few more todo items

15 years agoadd todo list
Ryan [Sun, 15 Mar 2009 11:31:35 +0000 (12:31 +0100)]
add todo list

15 years agoremove 'respond' from Request object in HTTPServer when connection is dead
Ryan [Sun, 15 Mar 2009 10:11:51 +0000 (11:11 +0100)]
remove 'respond' from Request object in HTTPServer when connection is dead

15 years agoheader fields should be symbols. enable fatal error messages.
Ryan [Sun, 15 Mar 2009 08:44:26 +0000 (09:44 +0100)]
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

15 years agoallow null host parameter to listen on localhost
Ryan [Fri, 13 Mar 2009 11:22:35 +0000 (12:22 +0100)]
allow null host parameter to listen on localhost

15 years agoreport errors from loaded files
Ryan [Mon, 9 Mar 2009 17:21:59 +0000 (18:21 +0100)]
report errors from loaded files

15 years agowith great performance hit, a patch to handle binary
Ryan [Mon, 9 Mar 2009 16:26:42 +0000 (17:26 +0100)]
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.)

15 years agochange HTTPServer constructor. Now: HTTPServer(host, port, onrequest);
Ryan [Mon, 9 Mar 2009 13:09:09 +0000 (14:09 +0100)]
change HTTPServer constructor. Now: HTTPServer(host, port, onrequest);

15 years agobetter reporting on fatal exceptions
Ryan [Mon, 9 Mar 2009 13:08:31 +0000 (14:08 +0100)]
better reporting on fatal exceptions

15 years agobetter error messages
Ryan [Mon, 9 Mar 2009 00:23:41 +0000 (01:23 +0100)]
better error messages

15 years agofixed bug in HTTPServer. wasn't properly destroying requests.
Ryan [Sat, 7 Mar 2009 16:08:35 +0000 (17:08 +0100)]
fixed bug in HTTPServer. wasn't properly destroying requests.

15 years agoworking towards working keep-alive. need tests
Ryan [Fri, 6 Mar 2009 18:49:52 +0000 (19:49 +0100)]
working towards working keep-alive. need tests

15 years agoadd blockingFileRead to tide me over until I can get a proper file interface.
Ryan [Thu, 5 Mar 2009 17:17:36 +0000 (18:17 +0100)]
add blockingFileRead to tide me over until I can get a proper file interface.

15 years agoadd some information about http request objects
Ryan [Thu, 5 Mar 2009 13:45:11 +0000 (14:45 +0100)]
add some information about http request objects

15 years agoadd minimal amount about HTTPServer to spec
Ryan [Thu, 5 Mar 2009 13:35:54 +0000 (14:35 +0100)]
add minimal amount about HTTPServer to spec

15 years agoupdate TCPClient specs
Ryan [Thu, 5 Mar 2009 13:22:09 +0000 (14:22 +0100)]
update TCPClient specs

15 years agocomplete tcp client (for the most part)
Ryan [Thu, 5 Mar 2009 12:53:21 +0000 (13:53 +0100)]
complete tcp client (for the most part)

15 years agohalf way implemented the new TCPClient
Ryan [Thu, 5 Mar 2009 12:41:10 +0000 (13:41 +0100)]
half way implemented the new TCPClient

15 years agoimplement setInterval()
Ryan [Wed, 4 Mar 2009 18:16:07 +0000 (19:16 +0100)]
implement setInterval()

15 years agoadd beginnings of a specification doc
Ryan [Wed, 4 Mar 2009 18:15:39 +0000 (19:15 +0100)]
add beginnings of a specification doc

15 years agoadd test/test_clearTimeout.rb
Ryan [Wed, 4 Mar 2009 11:04:04 +0000 (12:04 +0100)]
add test/test_clearTimeout.rb

15 years agoadd test_setTimeout
Ryan [Wed, 4 Mar 2009 10:54:20 +0000 (11:54 +0100)]
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.

15 years agoadd test/test_http_server_echo and 'make test'
Ryan [Wed, 4 Mar 2009 10:29:39 +0000 (11:29 +0100)]
add test/test_http_server_echo and 'make test'

15 years agoadd command line options
Ryan [Wed, 4 Mar 2009 09:22:37 +0000 (10:22 +0100)]
add command line options

15 years agorename module load function to Init_modulename(), like ruby
Ryan [Wed, 4 Mar 2009 09:08:33 +0000 (10:08 +0100)]
rename module load function to Init_modulename(), like ruby

15 years agoexit program on top level exceptions
Ryan [Tue, 3 Mar 2009 23:31:37 +0000 (00:31 +0100)]
exit program on top level exceptions

(also lots of reorg.)

15 years agoAdd beginnings of the setTimeout interface
Ryan [Tue, 3 Mar 2009 18:17:33 +0000 (19:17 +0100)]
Add beginnings of the setTimeout interface

15 years agorefactor js_request creation into method
Ryan [Tue, 3 Mar 2009 01:36:08 +0000 (02:36 +0100)]
refactor js_request creation into method

15 years agoavoid reallocating the same strings every request
Ryan [Tue, 3 Mar 2009 01:15:26 +0000 (02:15 +0100)]
avoid reallocating the same strings every request

15 years agoMajor refactoring: program name now "node"
Ryan [Tue, 3 Mar 2009 00:56:15 +0000 (01:56 +0100)]
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.

15 years agobegin work on the TCP.connect interface
Ryan [Mon, 2 Mar 2009 14:49:24 +0000 (15:49 +0100)]
begin work on the TCP.connect interface

15 years agoupdate example.js
Ryan [Sun, 1 Mar 2009 11:15:27 +0000 (12:15 +0100)]
update example.js

15 years agoadd headers to request object
Ryan [Tue, 24 Feb 2009 18:13:58 +0000 (19:13 +0100)]
add headers to request object

15 years agofix bug in count-hosts.js was closing the chunked encoding before request ended
Ryan [Mon, 23 Feb 2009 21:43:50 +0000 (22:43 +0100)]
fix bug in count-hosts.js was closing the chunked encoding before request ended

15 years agoupload/download works seemingly
Ryan [Mon, 23 Feb 2009 20:53:03 +0000 (21:53 +0100)]
upload/download works seemingly

15 years agotrying to implement streamed upload. not working.
Ryan [Mon, 23 Feb 2009 20:04:30 +0000 (21:04 +0100)]
trying to implement streamed upload. not working.

15 years agocompactify the code into a single file. will abstract later.
Ryan [Mon, 23 Feb 2009 12:48:34 +0000 (13:48 +0100)]
compactify the code into a single file. will abstract later.

15 years agorequest.respond(null) sends eof
Ryan [Sun, 22 Feb 2009 17:15:18 +0000 (18:15 +0100)]
request.respond(null) sends eof

15 years agogitignore
Ryan [Sun, 22 Feb 2009 16:50:43 +0000 (17:50 +0100)]
gitignore

15 years agorequest.respond works
Ryan [Sun, 22 Feb 2009 16:46:11 +0000 (17:46 +0100)]
request.respond works

15 years agoadd http method access
Ryan [Sat, 21 Feb 2009 20:00:40 +0000 (21:00 +0100)]
add http method access

15 years agoadd some printfs..
Ryan [Fri, 20 Feb 2009 16:49:47 +0000 (17:49 +0100)]
add some printfs..

15 years agofirst compile
Ryan [Fri, 20 Feb 2009 16:06:07 +0000 (17:06 +0100)]
first compile

15 years ago intermediate commit. nothing works.
Ryan [Fri, 20 Feb 2009 15:34:18 +0000 (16:34 +0100)]
 intermediate commit. nothing works.

15 years ago...
Ryan [Fri, 20 Feb 2009 15:18:44 +0000 (16:18 +0100)]
...

15 years agoadd readme and initial code
Ryan [Mon, 16 Feb 2009 00:34:45 +0000 (01:34 +0100)]
add readme and initial code

15 years agoadd dependencies
Ryan [Mon, 16 Feb 2009 00:02:00 +0000 (01:02 +0100)]
add dependencies