Ryan Dahl
7c3c5c6861
Maintain queueSize for each socket
14 years ago
Ryan Dahl
5ba0be6166
Don't send null data segments
14 years ago
Ryan Dahl
d74c506044
Support encoding
14 years ago
Ryan Dahl
913789da3e
IOWatcher::Dump(), writev
14 years ago
Ryan Dahl
57d8172906
query-string unescape moved to js land
14 years ago
Ryan Dahl
241ea7e595
Simplify next tick logic by looping around ev_loop
This is also in preparation for the writev patch, which needs to dump
remaining data after ev_loop ends.
14 years ago
Ryan Dahl
c87b7b7c69
Now working on v0.3.2-pre
14 years ago
Ryan Dahl
ce9a54aa1f
Bump version to v0.3.1
14 years ago
Ryan Dahl
cea3a95f9f
Add ref to buffer during fs.write and fs.read
There was the possibility the buffer could be GCed while the eio_req was
pending. Still needs test coverage for the fs.read() problem.
See:
http://groups.google.com/group/nodejs/browse_thread/thread/c11f8b683f37cef
14 years ago
Ryan Dahl
879a9e0548
solaris -> sunos
14 years ago
Ryan Dahl
00a1d61cc8
Fix OS::GetExecutablePath for platform_none
14 years ago
Ryan Dahl
183f6c2077
Add .node_moudles to lookup path again
14 years ago
Ryan Dahl
a375c6ae9a
Revert node_module lookup commits
Revert "Add ~/.node_modules as well as ~/.node_libraries"
This reverts commits
5e14c8bec0
.
b0adaff67e
.
492fc0d752
.
14 years ago
Ryan Dahl
de6e88c428
Fix segfault on test-crypto
Plus random cleanups. This code needs help.
14 years ago
Ryan Dahl
c7b24efd21
Move ev_loop out of javascript
14 years ago
Guillaume Tuton
07da49b095
Set FD_CLOEXEC flag on stdio FDs before spawning.
With regression test.
14 years ago
Ryan Dahl
a3750a9833
Remove unnecessary ref/unref in iowatcher cb
14 years ago
Ben Noordhuis
b4def4806c
Make writes to process.env update the real environment. Tests included.
14 years ago
Ryan Dahl
41c1563584
Remove old buffer api
14 years ago
Ryan Dahl
9c2969253b
Make sure watcher.set() isn't being called when active
14 years ago
Ryan Dahl
016fdab43e
Fix argv[6] comment in node_file
14 years ago
Micheil Smith
98e7d3506f
Rewrite libeio After callback to use req->result instead of req->errorno for error checking
14 years ago
Ryan Dahl
ccdd979a69
Changes to compile on solaris
14 years ago
isaacs
4c514a723c
Let exit listeners know the exit code
14 years ago
Jorge Chamorro Bieling
fd70d30a9c
make "node --eval" eval in the global scope.
14 years ago
Tim-Smart
79ecc8e9b7
Style changes.
14 years ago
Ryan Dahl
79944006e2
Move setTimeout and friends into timers module
14 years ago
Ryan Dahl
dcc4fffe4d
Add C++ API for constructing fast buffer from string
14 years ago
Paul Querna
6ea61acf29
remove old todo.
14 years ago
Paul Querna
1ce4684a27
Centralize error handling in SecureStream
and add a start method, to kick off SSL handshaking, without writing a zero
byte buffer
14 years ago
Micheil Smith
8da020d39e
Update node_net.cc to make us of node_constants.cc
also affects dgram which uses a constant from node_net.cc
14 years ago
Ryan Dahl
bb85e7751f
Now working on v0.3.1
14 years ago
Ryan Dahl
1582cfebd6
bump version to 0.3.0
14 years ago
Stéphan Kochen
dd52737476
Provide a C++ Buffer constructor for external storage.
In order to do this, buffer data management was moved out of the
JS entry-point New, and into Replace.
Secondly, the constructor makes an immediate call to Replace, and
in order for ArrayData calls to work, wrapping must already be set
up. Now, the constructor takes the wrappee as a parameter.
14 years ago
Stéphan Kochen
b3e60c7b25
Generalize Buffer::Copy to work with all unsigned byte external data.
14 years ago
Stéphan Kochen
d5e966154c
Simplify things by using `*ArrayData` everywhere.
14 years ago
Stéphan Kochen
d9b08d66d6
Remove old interface remains from Buffer.
These were all lacking implementation, so deprecating wouldn't help.
14 years ago
Ryan Dahl
b2969a9155
Don't call AtExit twice
14 years ago
Vitali Lovich
fb8830a64f
Fix parsing of linux memory
If process name contains a space, this parsing fails for no good reason.
15 years ago
Jorge Chamorro Bieling
99e19aa398
Remove unneeded function wrappers
14 years ago
Ryan Dahl
2629296c25
Add isatty for isaacs
14 years ago
Ryan Dahl
ceb5331a64
Force exit on SIGINT but still reset flags on stdio fds
Add test that one can ctrl+c out of a script spinning infinitely.
14 years ago
Tom Hughes
78da9cb052
Add --max-stack-size flag.
v8 doesn't expose a command-line flag to set the stack size, so this
adds a new flag that node understands how to handle and uses v8's
ResourceConstraints API.
14 years ago
isaacs
5e14c8bec0
Add ~/.node_modules as well as ~/.node_libraries
14 years ago
isaacs
b0adaff67e
require looks in node_modules folders
for modules starting with the __dirname and moving up.
This makes it much easier to localize dependencies to a particular program.
14 years ago
isaacs
492fc0d752
Split out modulePaths and defaultPaths
This way, the "default" paths of ~/.node_libraries and {prefix}/lib/node are only checked *after* anything that the user has placed into the NODE_PATHS environ, or pushed onto require.paths.
This makes require.paths a much more effective write-target, albeit slightly less useful as a read-target. However, given the existence of require.resolve(), this is less of an issue -- if you want to know what a module ID will map to, just ask that question and get an authoritative answer from the loading machinery.
14 years ago
isaacs
226eff5104
Add require.resolve.
Also, hack the repl so that it works as expected there, too.
14 years ago
Jorge Chamorro Bieling
c735b4663a
unbase64 skips over *any* illegal chars
14 years ago
Ryan Dahl
cf1db4f304
base64 decode should handle whitespace
14 years ago
Tom Hughes
f61b110cf6
Add signal handlers so we clean up before exiting.
Add SIGTERM and SIGINT signal handlers so that we run the exit handlers
before exiting when getting these signals. Fixes an issue where we
couldn't run vi after CTRL+C'ing node because the stdin fd was left
non-blocking.
14 years ago