Ryan
f6a7fe2657
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.
16 years ago
Ryan
b6fe4aec50
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.
16 years ago
Ryan
887f056923
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.
16 years ago
Ryan
5558bc4e6e
Add connection.remoteAddress for server-side node.tcp.Connections.
16 years ago
Ryan
5170823572
Documentation for connection.connect()
16 years ago
Ryan
6e4e228665
Don't use AI_PASSIVE in getaddrinfo() for client connections.
16 years ago
Ryan
1614f51047
Merge branch 'ujh/master'
Conflicts:
website/index.html
16 years ago
Urban Hafner
d04ef89758
Mention node_chat
16 years ago
Ryan
bee7ef90bd
Add link to chat room demo
16 years ago
Urban Hafner
565becb8ad
XHTML compliant HTML and a few spelling fixes
16 years ago
Urban Hafner
9e6603476a
Mentioning the google group in the README and documentation.
16 years ago
Ryan
c226f81768
Fix HTTP client output bug.
16 years ago
Ryan
c457b829e2
If http.Client has an error, do not continue to reconnect.
16 years ago
Ryan
8cfdd326a8
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.
16 years ago
Ryan
b933743d83
status_code -> statusCode in test_client.js
16 years ago
Ryan
d0988da515
Website: correct typos.
16 years ago
Ryan
8bf2a2fa55
Rename req.uri.queryKey to req.uri.params. More familar to rails users.
16 years ago
Ryan
ed283dc280
Fix bug: catting non-existent files
16 years ago
Ryan
4fbe15f065
bump version to v0.0.2
16 years ago
Ryan
739276b3a5
work on About on webpage
16 years ago
Ryan
d13d06467a
Add audience to website
16 years ago
Ryan
7bd2282a9f
Fix up description on web page
16 years ago
Ryan
272c4167da
changes to website
16 years ago
Ryan
aceb1987ed
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
16 years ago
Ryan
247c9d2210
Remove unnecessary AdjustAmountOfExternalAllocatedMemory from node.http.
16 years ago
Ryan
34a6f10695
Fix ::exit() compile issues.
Thanks Matthias!
16 years ago
Ryan
3c701cb56d
add long description to website
16 years ago
Ryan
d958befde1
Remove old .gitmodules file
16 years ago
Ryan
d460bdd31f
Clean up that download link.
16 years ago
Ryan
80eed19612
Update website with first release link.
16 years ago
Ryan
a3627c06f8
Change to build on FreeBSD
The v8/SConstruct change has been give to the v8 people.
http://codereview.chromium.org/113897
16 years ago
Ryan
1d8c4659d1
Just twiddling with the webpage
16 years ago
Ryan
b3338273b4
Reorganize the website into two pages.
16 years ago
Ryan
765815ba1f
add license, readme
16 years ago
Ryan
562db19d32
Add includes for freebsd compatibility
16 years ago
Ryan
11b2e5dcc4
Remove file access flags that arn't present in macintosh.
16 years ago
Ryan
b260a9108b
Add errno constants. Move all constants to `node.constants` namespace.
16 years ago
Ryan
3bdd042a6e
Rename fatal_exception to FatalException
16 years ago
Ryan
c4e53c7ceb
Have connection.setEncoding use node::ParseEncoding
16 years ago
Ryan
24ebd0360a
Clean up doc intro and syntax highlighting.
16 years ago
Ryan
e8f177aa2d
Clean up outgoing encoding API. Generally: send(chunk, encoding).
16 years ago
Ryan
cf0eebf685
Add preliminary tcp documentation
16 years ago
Ryan
c326614c8d
More docs. Add rmdir and unlink.
16 years ago
Ryan
a9f29cd18d
File I/O documentation. Remove necessity of class="sh_javascript".
16 years ago
Ryan
2fe090b7f6
Add node.fs prefix to some constants. oops.
16 years ago
Ryan
d1b0ce6d37
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.
16 years ago
Ryan
f3af6c6f53
More docs
16 years ago
Ryan
3eb4819db1
Add docs. Rename exit() to node.exit().
16 years ago
Ryan
5c2389fada
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.
16 years ago
Ryan
58c13e5192
Namespace File stuff in node.fs
16 years ago