Ryan Dahl
083d150bc4
Add node.exec()
16 years ago
Ryan Dahl
fdc136df69
Add documentation for promise.emitSuccess and emitError
16 years ago
Ryan Dahl
7fa694a3b6
fix typo on website
16 years ago
Ryan Dahl
5fdf9bbaa9
Remove unused variable in http.cc
16 years ago
Ryan Dahl
4f98e2deb3
Fix buffering logic for HTTP outgoing messages.
Was sending two packets instead of one for some short messages, and even 3,
for short chunked-encoded messages. Also use the more general Encode()
function for receiving HTTP bodies.
Gives ~6% improvement on "hello world" web server benchmarks.
16 years ago
Ryan Dahl
f389f923b8
Remove erroneously placed EV_DEFAULT_UC_
16 years ago
Ryan Dahl
0d1ec5fdbe
API: node.fs.read() takes a normal encoding parameter.
Removes node.UTF8, node.RAW, node.ASCII enum versions of the encodings.
node.fs.read() now supports "raws" encoding.
16 years ago
Ryan Dahl
d1a13bdd35
Fix default encoding for outgoing HTTP messages
Was causing send() to throw argument errors because arrays of ints would get
paired with the "raws" encoding. The bug was introduced in 8eb1294
.
16 years ago
Ryan Dahl
ef300d19cb
Bugfix: ReportException shouldn't forget the top frame.
16 years ago
Ryan Dahl
8eb1294f87
Bugfix: sendBody wasn't setting encoding
16 years ago
Ryan Dahl
69e8a01c58
Fix broken asciidoc section
16 years ago
Jeff Smick
bc6f381c98
Use "platform.architecture()" to find the proper architecture.
In Snow Leopard "platform.machine()" returns "i386" while
"platform.architecture()" returns ('64bit',''). Using information from both
we can determine the proper architecture
This reverts commit ea29e137b5
re-enabling the
64bit build on Macintosh.
16 years ago
Ryan
227638bac1
Lint
16 years ago
Ryan
dbe116ddfe
API: Change arguments of emit(), emitSuccess(), emitError()
Instead of
myemitter.emit("event", [arg1, arg2, arg3]);
the API is now
myemitter.emit("event", arg1, arg2, arg3);
This change saves the creation of an extra array object for each event.
The implementation is also slightly more simple.
16 years ago
Ryan
97355f3613
spell check api.txt
16 years ago
Ryan
12bb0d46ce
bump version
16 years ago
Ryan
5629fd574a
Add doc note about 'raws' encoding
16 years ago
Ryan
d03c7e38e9
Just add the gernerated doc files. Make life easier.
16 years ago
Ryan
d851bf9a66
Revert "Add xsl files to doc directory so people can build docs easily"
This reverts commit 412b4636c8
.
16 years ago
Ryan
412b4636c8
Add xsl files to doc directory so people can build docs easily
16 years ago
Ryan
8c41adb628
Add node-repl
16 years ago
Ryan
1910c113cc
Add '--' to seperate v8 args from program args
16 years ago
Ryan
d6c9d31cb5
cpplint.py node.cc and node.h
16 years ago
Ryan
241950c1df
Add isDirectory(), isFile(), isSocket(), ... methods to stats object.
Thanks to Felix Geisendörfer for the initial patch.
16 years ago
Ryan
3e4fc9f966
Add 'extern char **environ' so that the new ENV code compiles.
Problem appeared in dc39e82024
.
16 years ago
Ryan
dc39e82024
Add access to user environment via ENV
16 years ago
Ryan
68dda0a7d8
Man page generation.
16 years ago
Ryan
8e5d4f9a69
Remove debug agent. It shouldn't have been commited!
Appeared accidentally in 6dd850aa
.
16 years ago
Ryan
2337630746
Move arg parsing to beginning of main()
For faster "./node -v"
16 years ago
Ryan
d7e220cee1
Add a few fflush(stderr) calls to track down missing stacktraces.
16 years ago
Ryan
fcff66bf29
Upgrade v8 to 1.3.10
16 years ago
Ryan
efb2b703a6
Remove compiler warning with extra assert.
16 years ago
Ryan
393caeb4c9
Add Exception::Error where missing.
16 years ago
Ryan
8890070b88
Introduce "raws" encoding. Raw String.
This allows you to have binary data imported into your application via
strings instead of arrays of numbers! This needs testing before release.
16 years ago
Ryan
21a1b045f5
Byte stream to V8 decoding and encoding.
This does not (should not) change behavior. Pulls those two functions
(encode/decode) out into node.cc.
16 years ago
Ryan
6dd850aa16
node.assert() was broken.
16 years ago
Ryan
063890b8da
Internally use full paths when loading modules.
This completes shebang support begun in
6acac912dd
.
16 years ago
Ryan
1a2696f10a
Almost completely remove onExit and onLoad.
They were deprecated in 723c7d9f7c
and
31265be4a6
.
Still retaining error message.
16 years ago
Ryan
0407145c11
Exit the process on module load error. (temporary)
16 years ago
Ryan
86051ca5d2
Add note about sendBody buffering to docs
16 years ago
Ryan
94e627dc32
Add some links to the website
16 years ago
Ryan
2f46540d30
Create NODE_UNIXTIME macros
16 years ago
Ryan
ba6c5e38d5
bump version
16 years ago
Ryan
ea29e137b5
Hack for compiling on Snow Leopard.
I don't have access to this OS to fix the issue properly, so for the moment
I'm reverting back to 32bit build on Darwin. We changed to native 64bit in
8ddf930901
.
Thanks to Johan Dahlberg and Tim Caswell for reporting and debugging this.
16 years ago
Ryan
485a9c1487
Small change to website index.html
16 years ago
Ryan
9dbd92476e
Bugfix: Trap exceptions in URIParser.
A user was able to crash chat.tinyclouds.org by sending it a malformed URL!
Not good.
16 years ago
Ryan
734e86b9e5
bump version
16 years ago
Ryan
733ee426dc
Fix slowness in debug run of test-tcp-many-clients
I'm not sure what is actually causing
node_g test/mjsunit/test-tcp-many-clients.js
to run slowly, but I traced the problem to
afd9e714d3
.
Somehow it has to do with promoting the compilation of src/util.js. That
change wasn't actually intended to be included in afd9e7 commit anyway, so
I'm reverting it here.
16 years ago
Ryan
2097b9d2e5
Upgrade evcom - disable EPIPE error output.
16 years ago
Ryan
1bd5277233
Add test-mkdir-rmdir.js
16 years ago