Ryan Dahl
ebe2721cbf
Don't use sys.debug, it gets preprocessed out
Problem introduced in b29f78772e
15 years ago
Ryan Dahl
903977d5e8
Merge branch 'master' into net2
Conflicts:
test/simple/test-event-emitter-modify-in-emit.js
15 years ago
Ryan Dahl
139c91e892
Support old 'binary' encoding in net.js
15 years ago
Ryan Dahl
663269f687
old tcp module is now tcp_old
15 years ago
Ryan Dahl
618296ef57
bump version
15 years ago
Ryan Dahl
025116f8d0
Move Buffer into own module
15 years ago
Zoka
b29f78772e
Eliminate debug(x) statements from src/node.js and lib/*.js for release build
http://groups.google.com/group/nodejs/browse_thread/thread/8f20bcef6d6d96b7
15 years ago
Ryan Dahl
ac684f3583
Add legacy 'binary' encoding/decoding methods to Buffer
15 years ago
Ryan Dahl
b80f6e9ed1
http2 now default
15 years ago
Ryan Dahl
4278f35e89
Add support for Buffer to fs.write
15 years ago
Ryan Dahl
776c3e2b29
Add note about Buffer abstraction
15 years ago
Ryan Dahl
3a993d8897
Buffer.utf8ByteLength -> Buffer.byteLength
15 years ago
Ryan Dahl
3e969f0f74
Random net.js clean ups
15 years ago
Ryan Dahl
0c64768cb4
Don't error out when buffer.utf8Write() doesn't fit
15 years ago
Ryan Dahl
f8c3b6009d
Remove send fd functionality
It was broken anyway. It will go into its own class later.
15 years ago
Ryan Dahl
e01464373f
Speed up test-buffer
15 years ago
Ryan Dahl
90295d9fce
[net2] inline write on empty write buffer for performance
15 years ago
Herbert Vojcik
9e8afe9133
DRY loading native module
15 years ago
Ryan Dahl
1762abcece
http2 now passes all tests
15 years ago
Ryan Dahl
916e057fea
Add 'opening' readyState
15 years ago
Carson McDonald
e5cbe73a82
Better EventEmitter modify-in-emit
Changed ReallyEmit so that it clones the Array of listeners before
processing the emit. Added better tests to make sure that modifying
listeners inside event handlers doesn't cause later listeners to be skipped
or added.
15 years ago
Ryan Dahl
33d5c46e8c
All tests to use http2
15 years ago
Ryan Dahl
6db43f4c29
net2 HTTPClient work
15 years ago
Scott Taylor
39f0ef9d4a
Remove duplicate shebang filtering
15 years ago
Tim-Smart
df8164c1c3
node.cc: EvalCX: Third argument as filename
15 years ago
Ryan Dahl
1332cafb7c
s/Socket/Stream/g
15 years ago
Ryan Dahl
b865f9e9c8
Merge branch 'master' into net2
15 years ago
Ryan Dahl
2d7e86ef58
Upgrade V8 to 2.1.5
15 years ago
pyrotechnick
8aaffe71ee
Fixing a typo in the fs.readFile example.
15 years ago
Ryan Dahl
04c06b9149
child process now use net.Socket
15 years ago
Krishna Rajendran
84277ea845
Check for callback argument in PTR lookup
15 years ago
isaacs
31ed37fdf0
evalcx shouldn't be too fancy
After getting some feedback from Mikeal Rogers and Tim Smart, it was decided
that evalcx should not try to do any fancy security stuff, and instead leave
that in the hands of the user. To comply more with spidermonkey, everything
is passed in, and objects are passed in by reference rather than being
cloned.
15 years ago
Ryan Dahl
217e4b40d4
Check for callback argument in DNS functions
15 years ago
Krishna Rajendran
3c97a4391a
Update test-dns.js to work with latest api
15 years ago
Krishna Rajendran
3847add943
Fix calls to dns bindings in dns.js
15 years ago
isaacs
943b2c61a8
Make evalcx work like it's supposed to.
1. Move the context->Enter() call so that the global obj is available for writing.
2. On success, copy the modified global out to the sandbox object.
3. Don't copy functions in either direction. They have scope and closures, and make for craziness when trying to keep contexts separate.
4. Only do the ->ToObject->Clone() on objects, so that simple values stay simple.
5. Update the test so that it tests all this stuff.
15 years ago
Ryan Dahl
953fa3a5f5
Move net2 bindings out of process
15 years ago
Ryan Dahl
5d5c8cf04a
Fix StatWatcher typo
15 years ago
Ryan Dahl
fdf46a65c9
Use streams for stdout and stdin
15 years ago
Ryan Dahl
cbfd4da818
Merge branch 'master' into net2
Conflicts:
src/node.cc
15 years ago
Ryan Dahl
6befc72f82
Add missing lib/events.js
15 years ago
Ryan Dahl
c90546f138
Move native js files into binding object
15 years ago
Ryan Dahl
8492c52e15
Use uniform watcher names
15 years ago
Ryan Dahl
627fb5adbb
Load c++ modules on demand
15 years ago
Ryan Dahl
3994340a45
Fix gcc warnings in node.cc
15 years ago
Ryan Dahl
5c712a7da5
Lazy load fs.readFile
15 years ago
Ryan Dahl
1256df76bc
remove whitespace
15 years ago
Ryan Dahl
d96c52694a
Upgrade V8 to 2.1.4
15 years ago
Ryan Dahl
a6f904cab7
Tests should use compiled-in modules not build-dir modules
15 years ago
Ryan Dahl
1395cba6ce
Remove require.paths from process object
15 years ago