Urban Hafner [Tue, 16 Jun 2009 19:09:37 +0000 (21:09 +0200)]
Merge branch 'master' of git://github.com/ry/node
Ryan [Tue, 16 Jun 2009 18:53:15 +0000 (20:53 +0200)]
Fix test-http-client-race bug
Ryan [Tue, 16 Jun 2009 17:56:00 +0000 (19:56 +0200)]
Add failing test for HTTP Client
Reported by Hagen:
http://groups.google.com/group/nodejs/browse_thread/thread/
335b565360437b36
Ryan [Tue, 16 Jun 2009 17:32:31 +0000 (19:32 +0200)]
Only run debug tests if the build debug was built
Ryan [Tue, 16 Jun 2009 15:47:59 +0000 (17:47 +0200)]
Fix memleak: freeaddrinfo() after Server resolve address.
Ryan [Tue, 16 Jun 2009 15:43:40 +0000 (17:43 +0200)]
Resolve should default to IPv4 address.
Ryan [Tue, 16 Jun 2009 13:50:52 +0000 (15:50 +0200)]
Add "opening" readyState for the resolve period.
Ryan [Tue, 16 Jun 2009 13:47:57 +0000 (15:47 +0200)]
Add electric fence option to configure process
Urban Hafner [Tue, 16 Jun 2009 06:20:00 +0000 (08:20 +0200)]
Test for remote module loading
Ryan [Mon, 15 Jun 2009 14:57:10 +0000 (16:57 +0200)]
Add global print() function.
Ryan [Mon, 15 Jun 2009 13:24:55 +0000 (15:24 +0200)]
Bugfix+Refactor: accessing HTTP connection remoteAddress
Ryan [Mon, 15 Jun 2009 12:35:02 +0000 (14:35 +0200)]
Fiddle with remoteAddress
Ryan [Sat, 13 Jun 2009 14:50:37 +0000 (16:50 +0200)]
test default build too
Ryan [Sat, 13 Jun 2009 14:47:09 +0000 (16:47 +0200)]
small superficial clean-ups
Ryan [Sat, 13 Jun 2009 12:13:42 +0000 (14:13 +0200)]
bump version
Ryan [Fri, 12 Jun 2009 15:37:43 +0000 (17:37 +0200)]
Add Request objects on the HTTP server can be interrupted.
Ryan [Fri, 12 Jun 2009 15:30:37 +0000 (17:30 +0200)]
Remove unused HTTPConnection destructor
Ryan [Fri, 12 Jun 2009 15:27:44 +0000 (17:27 +0200)]
Upgrade http parser
Ryan [Fri, 12 Jun 2009 13:24:57 +0000 (15:24 +0200)]
onBodyComplete was not getting called in HTTP server
Ryan [Fri, 12 Jun 2009 13:23:36 +0000 (15:23 +0200)]
fix typo
Ryan [Thu, 11 Jun 2009 11:54:03 +0000 (13:54 +0200)]
bump version
Ryan [Thu, 11 Jun 2009 11:43:00 +0000 (13:43 +0200)]
Add 'localhost' to connect() to test for issue 3
Ryan [Thu, 11 Jun 2009 11:40:25 +0000 (13:40 +0200)]
add note about python versions
Ryan [Thu, 11 Jun 2009 11:40:14 +0000 (13:40 +0200)]
comment out gnutls check in wscript until it's used
Ryan [Thu, 11 Jun 2009 09:42:43 +0000 (11:42 +0200)]
Fix comment/test for Mac getaddinfo() bug.
Note: the test case was broken because on Macintosh the client connects
synchronously. This is undesirable but ok for now.
Ryan [Thu, 11 Jun 2009 00:34:04 +0000 (02:34 +0200)]
add todo list
Ryan [Wed, 10 Jun 2009 17:05:54 +0000 (19:05 +0200)]
remove unnecessary pthread header
Ryan [Wed, 10 Jun 2009 16:35:05 +0000 (18:35 +0200)]
upgrade http_parser
Ryan [Wed, 10 Jun 2009 16:29:59 +0000 (18:29 +0200)]
fix for issue 3; but now experiencing segfault on linux
Ryan [Wed, 10 Jun 2009 13:24:28 +0000 (15:24 +0200)]
upgrade liboi
Ryan [Wed, 10 Jun 2009 13:24:14 +0000 (15:24 +0200)]
Free pointer with delete, since created with new
Ryan [Tue, 9 Jun 2009 15:47:42 +0000 (17:47 +0200)]
Extra header to work with freebsd
Ryan [Tue, 9 Jun 2009 13:20:10 +0000 (15:20 +0200)]
Add waf to LICENSE
Ryan [Tue, 9 Jun 2009 13:18:12 +0000 (15:18 +0200)]
Upgrade http_parser - protects against buffer overflows now
Ryan [Tue, 9 Jun 2009 12:10:53 +0000 (14:10 +0200)]
Add HTTP proxy test. Fix bug in http.Server.
was not properly inheriting http.Server from http.LowLevelServer.
Ryan [Tue, 9 Jun 2009 11:59:13 +0000 (13:59 +0200)]
Add mongrel and parseUri references to LICENSE file
Ryan [Tue, 9 Jun 2009 08:28:59 +0000 (10:28 +0200)]
Add http server / http client test.
Ryan [Tue, 9 Jun 2009 08:06:04 +0000 (10:06 +0200)]
Allow for absolute paths to specify root module
Ryan [Mon, 8 Jun 2009 21:56:09 +0000 (23:56 +0200)]
Don't use AI_NUMERICSERV. Doesn't work on mac.
Ryan [Mon, 8 Jun 2009 17:10:23 +0000 (19:10 +0200)]
Modify the tests to use onExit hook.
No need to rely on stdout output now.
onExit callbacks should print stack trace from onExit failure
Ryan [Mon, 8 Jun 2009 16:34:06 +0000 (18:34 +0200)]
Upgrade to v8 1.2.7
Ryan [Mon, 8 Jun 2009 14:17:33 +0000 (16:17 +0200)]
Implement onExit() hook for modules.
onExit() is similar to the onLoad() callback. onExit() is called on each
module just before the process exits. This can be used to check state in
unit tests, but not to perform I/O. The process will forcibly exit as soon
as all of the onExit callbacks are made.
Ryan [Mon, 8 Jun 2009 13:30:10 +0000 (15:30 +0200)]
Module system refactor
There is one major API change in the refactor: filename extensions are now
required when requiring or including modules.
Added extra test to test-module-loading.js.
Ryan [Sat, 6 Jun 2009 21:57:15 +0000 (23:57 +0200)]
Do not assume transfer-encoding: chunked as default on requests.
If users do not send transfer-encoding or content-length headers, then I
will not add any additional. Content-Length: 0 is assumed if there aren't
other headers and chunked encoding is rare.
Ryan [Fri, 5 Jun 2009 18:15:54 +0000 (20:15 +0200)]
Add connection.remoteAddress for server-side node.tcp.Connections.
Ryan [Fri, 5 Jun 2009 13:18:05 +0000 (15:18 +0200)]
Documentation for connection.connect()
Ryan [Fri, 5 Jun 2009 13:10:46 +0000 (15:10 +0200)]
Don't use AI_PASSIVE in getaddrinfo() for client connections.
Ryan [Fri, 5 Jun 2009 12:32:53 +0000 (14:32 +0200)]
Merge branch 'ujh/master'
Conflicts:
website/index.html
Urban Hafner [Fri, 5 Jun 2009 10:28:56 +0000 (13:28 +0300)]
Mention node_chat
Ryan [Fri, 5 Jun 2009 10:27:09 +0000 (12:27 +0200)]
Add link to chat room demo
Urban Hafner [Fri, 5 Jun 2009 10:23:51 +0000 (13:23 +0300)]
XHTML compliant HTML and a few spelling fixes
Urban Hafner [Fri, 5 Jun 2009 08:38:41 +0000 (11:38 +0300)]
Mentioning the google group in the README and documentation.
Ryan [Thu, 4 Jun 2009 13:41:40 +0000 (15:41 +0200)]
Fix HTTP client output bug.
Ryan [Thu, 4 Jun 2009 10:36:08 +0000 (12:36 +0200)]
If http.Client has an error, do not continue to reconnect.
Ryan [Thu, 4 Jun 2009 10:31:45 +0000 (12:31 +0200)]
Add "had_error" argument to the "onDisconnect" in node.tcp.Client
This is a boolean value which allows one to detect if the socket was closed
due to errors. There is not yet a way to look up the actual error code.
Ryan [Thu, 4 Jun 2009 08:49:01 +0000 (10:49 +0200)]
status_code -> statusCode in test_client.js
Ryan [Wed, 3 Jun 2009 09:43:54 +0000 (11:43 +0200)]
Website: correct typos.
Ryan [Mon, 1 Jun 2009 18:59:33 +0000 (20:59 +0200)]
Rename req.uri.queryKey to req.uri.params. More familar to rails users.
Ryan [Mon, 1 Jun 2009 10:56:28 +0000 (12:56 +0200)]
Fix bug: catting non-existent files
Ryan [Sun, 31 May 2009 12:25:07 +0000 (14:25 +0200)]
bump version to v0.0.2
Ryan [Sun, 31 May 2009 12:24:10 +0000 (14:24 +0200)]
work on About on webpage
Ryan [Sat, 30 May 2009 17:36:41 +0000 (19:36 +0200)]
Add audience to website
Ryan [Sat, 30 May 2009 16:14:26 +0000 (18:14 +0200)]
Fix up description on web page
Ryan [Fri, 29 May 2009 16:59:18 +0000 (18:59 +0200)]
changes to website
Ryan [Fri, 29 May 2009 15:05:03 +0000 (17:05 +0200)]
Remove complex string appending in http's send() method.
That seems to churn the garbage collector like mad.
Before: http://s3.amazonaws.com/four.livejournal/
20090529/timeseries6.png
After: http://s3.amazonaws.com/four.livejournal/
20090529/timeseries11.png
Got a nice tight side profile for this benchmark now:
http://s3.amazonaws.com/four.livejournal/
20090529/hist10.png
Ryan [Fri, 29 May 2009 11:58:52 +0000 (13:58 +0200)]
Remove unnecessary AdjustAmountOfExternalAllocatedMemory from node.http.
Ryan [Thu, 28 May 2009 12:47:16 +0000 (14:47 +0200)]
Fix ::exit() compile issues.
Thanks Matthias!
Ryan [Thu, 28 May 2009 11:45:18 +0000 (13:45 +0200)]
add long description to website
Ryan [Thu, 28 May 2009 10:30:22 +0000 (12:30 +0200)]
Remove old .gitmodules file
Ryan [Wed, 27 May 2009 16:41:04 +0000 (18:41 +0200)]
Clean up that download link.
Ryan [Wed, 27 May 2009 16:38:22 +0000 (18:38 +0200)]
Update website with first release link.
Ryan [Wed, 27 May 2009 14:29:55 +0000 (16:29 +0200)]
Change to build on FreeBSD
The v8/SConstruct change has been give to the v8 people.
http://codereview.chromium.org/113897
Ryan [Wed, 27 May 2009 13:42:16 +0000 (15:42 +0200)]
Just twiddling with the webpage
Ryan [Wed, 27 May 2009 12:53:36 +0000 (14:53 +0200)]
Reorganize the website into two pages.
Ryan [Tue, 26 May 2009 23:59:31 +0000 (01:59 +0200)]
add license, readme
Ryan [Tue, 26 May 2009 23:35:54 +0000 (01:35 +0200)]
Add includes for freebsd compatibility
Ryan [Tue, 26 May 2009 18:35:42 +0000 (20:35 +0200)]
Remove file access flags that arn't present in macintosh.
Ryan [Tue, 26 May 2009 17:48:49 +0000 (19:48 +0200)]
Add errno constants. Move all constants to `node.constants` namespace.
Ryan [Tue, 26 May 2009 16:18:17 +0000 (18:18 +0200)]
Rename fatal_exception to FatalException
Ryan [Tue, 26 May 2009 16:14:32 +0000 (18:14 +0200)]
Have connection.setEncoding use node::ParseEncoding
Ryan [Tue, 26 May 2009 16:06:53 +0000 (18:06 +0200)]
Clean up doc intro and syntax highlighting.
Ryan [Tue, 26 May 2009 15:46:56 +0000 (17:46 +0200)]
Clean up outgoing encoding API. Generally: send(chunk, encoding).
Ryan [Tue, 26 May 2009 13:20:25 +0000 (15:20 +0200)]
Add preliminary tcp documentation
Ryan [Tue, 26 May 2009 10:11:31 +0000 (12:11 +0200)]
More docs. Add rmdir and unlink.
Ryan [Tue, 26 May 2009 09:39:40 +0000 (11:39 +0200)]
File I/O documentation. Remove necessity of class="sh_javascript".
Ryan [Tue, 26 May 2009 01:37:18 +0000 (03:37 +0200)]
Add node.fs prefix to some constants. oops.
Ryan [Tue, 26 May 2009 01:30:51 +0000 (03:30 +0200)]
Large refactor of file code.
All the c++ code is now reduced to simple wrappers. The node.fs.File object
is defined entirely in javascript now. As is the actionQueue methods.
This makes the boundaries much cleaner. There is still some thought that
needs to go into how exactly the API should behave but this simplification
is a first step.
Ryan [Mon, 25 May 2009 17:52:05 +0000 (19:52 +0200)]
More docs
Ryan [Mon, 25 May 2009 11:38:36 +0000 (13:38 +0200)]
Add docs. Rename exit() to node.exit().
Ryan [Mon, 25 May 2009 11:17:35 +0000 (13:17 +0200)]
Remove error codes from file on_completion callbacks. Use file.onError.
The error codes still remain for the two general file system operations:
rename and stat.
Additionally I've removed the actionQueue for file system operations. They
are sent directly into the thread pool.
Ryan [Thu, 21 May 2009 10:49:41 +0000 (12:49 +0200)]
Namespace File stuff in node.fs
Ryan [Thu, 21 May 2009 10:33:57 +0000 (12:33 +0200)]
Beginnings of file i/o docs. Finish up timers.
Ryan [Wed, 20 May 2009 14:58:08 +0000 (16:58 +0200)]
Begin documentation for file i/o
Ryan [Wed, 20 May 2009 14:05:31 +0000 (16:05 +0200)]
Camel case status_code and http_version.
Ryan [Wed, 20 May 2009 14:02:53 +0000 (16:02 +0200)]
More node.http.Client docs
Ryan [Wed, 20 May 2009 11:42:26 +0000 (13:42 +0200)]
Begin node.http.Client docs
Ryan [Wed, 20 May 2009 11:00:20 +0000 (13:00 +0200)]
Add setBodyEncoding to http client responses.
Ryan [Wed, 20 May 2009 08:28:10 +0000 (10:28 +0200)]
HTTP Server: Close 1.0 connections properly.
Ryan [Wed, 20 May 2009 08:17:07 +0000 (10:17 +0200)]
Add http.ServerRequest.setBodyEncoding. Needs test still.
Ryan [Wed, 20 May 2009 08:02:02 +0000 (10:02 +0200)]
Change encoding setter/getter to setEncoding function.