Ryan Dahl
d76091d7d1
Implement fs.read() for Buffers (again)
15 years ago
Ryan Dahl
7a9c81d2dc
Fix memory leak with fs.writeSync
15 years ago
Ryan Dahl
d13f518010
Revert changes to node_file.cc
Revert "Fix memory leak in fs.writeSync()"
This reverts commit 5457eae28c
.
Revert "Implement fs.read() for buffers"
This reverts commit 692f580a07
.
15 years ago
Ryan Dahl
5457eae28c
Fix memory leak in fs.writeSync()
15 years ago
Ryan Dahl
692f580a07
Implement fs.read() for buffers
15 years ago
kriskowal
8d1f1186ca
Fixed/Completed buffer copy range checks.
15 years ago
Ryan Dahl
20372d2df3
Fix docs in node_file.cc
15 years ago
Herbert Vojčík
039d13b0c3
DRY binding('stdio')
15 years ago
Ryan Dahl
6d85802100
basicRequest -> module.requireNative
15 years ago
Ryan Dahl
3bb21b5191
Fix signo_string for linux and solaris
15 years ago
Herbert Vojčík
7a72885ede
process.evalcx has a deprecation message.
15 years ago
Herbert Vojčík
7e4c1285dc
Minor stylistic changes.
15 years ago
Herbert Vojčík
5d9753fccf
Fix child_process.cc build failure for FreeBSD.
15 years ago
Felix Geisendörfer
f8a3cf980f
Properly handle child process exit codes
The child process 'exit' was returning the status of the process, rather than
the exit code. This patch properly deconstructs the status into the exit code
and the term signal a process may have received.
See:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Watcher_Specific_Functions_and_Data_-5
and waitpid(2)
15 years ago
Ryan Dahl
9b2aac61b2
Resolve EWOULDBLOCK to string if different thatn EAGAIN
15 years ago
Tim Caswell
8f79169aef
Remove node.* deprecation messages.
15 years ago
Ryan Dahl
e7a1fa1293
fs.FileWriteStream -> fs.WriteStream, fs.FileReadStream -> fs.ReadStream
15 years ago
Ryan Dahl
5aea12b4c4
stdout should be writable only
15 years ago
Felix Geisendörfer
c143cba590
Get rid of coupling for stdin
15 years ago
Felix Geisendörfer
76f98c27de
Get rid of coupling for stdout
15 years ago
Ryan Dahl
c6248efd73
Compile for beta versions of OpenSSL 1.0.0
15 years ago
Jérémy Lal
5caf53a053
Add support for MX queries in dns module, works with c-ares upstream patch.
15 years ago
Ryan Dahl
9926dacd14
Remove getaddrinfo from net2.cc
15 years ago
Ryan Dahl
c72967d335
Remove http_old tcp_old
15 years ago
Krishna Rajendran
7a34afba77
openssl 1.0.0 constification
15 years ago
Ryan Dahl
c9e27b11c5
Unify ErrnoException creation
15 years ago
Ryan Dahl
6abdf051d3
Unhandled 'error' events kill program
By default 'error' throws. addListener to prevent this.
15 years ago
Ryan Dahl
76d525b034
Remove assert for no-such-module
15 years ago
Ryan Dahl
d70474dc10
SIGPIPE on stdout should kill the process by default
15 years ago
isaacs
cfd459abde
Move the module loading framework into lib/module.js. Minimal changes otherwise.
15 years ago
isaacs
e0061a511d
refactor path module to lib/path.js
15 years ago
isaacs
7ff53f4c6a
Refactor events module to lib/events.js
15 years ago
Herbert Vojčík
4badb227cf
Fix TCP_KEEPIDLE build failure in FreeBSD.
15 years ago
Julian Lamb
5f8f561d61
add setKeepAlive function, which enables and sets the TCP keep-alive timer
15 years ago
Michaeljohn Clement
ac9d9f4e9f
better function test in addEventListener
15 years ago
Ryan Dahl
4ff45c264c
Remove old EvalCX
15 years ago
Herbert Vojcik
c2a06725d6
Script class with eval-function-family in binding('evals') plus tests.
15 years ago
Rhys Jones
e4a6b72ae3
Added test and started tidy-up of node_crypto.cc
15 years ago
Ryan Dahl
5281f29012
Use new method of getting chars written for UTF8
15 years ago
Ryan Dahl
ac3bc2ed41
Simplify GC idle notification
In particular, don't leave the timeout running when the heap is fully
compacted.
15 years ago
Ryan Dahl
41ef1717e0
Upgrade V8 to 2.2.3.1
15 years ago
Ryan Dahl
760bba5518
Support Upgrade in HTTP messages
This allows for web servers to be "hijacked" and used as Web Socket servers
(or other). You simply listen for requests as normal, but check if
req.upgrade === true
If so, this will be the last request of the connection. It's your job now to
hijack req.connection and start reading from it. req.upgradeHead is a buffer
containing the first part of the new protocol communication (in the case it
arrived on the same packet).
This needs tests and documentation. API subject to change.
15 years ago
Ryan Dahl
b8c0349750
Fix triple buffer slice bug
15 years ago
Ryan Dahl
a98d23d905
Disable IdleWatcher
15 years ago
Ryan Dahl
4e7e2f8724
Change nextTick implementation for the better
Use a prepare and idle watcher to execute the nextTick callback more
quickly. Test provided by Matt Ranney.
15 years ago
Ryan Dahl
b98cd6753b
process.mixin: deprecation -> removed
15 years ago
Micheil Smith
57ea07ac91
Moving the http.js, net.js FreeList to being standalone.
15 years ago
Rhys Jones
80174392bb
Moved Credentials into crypto module. Added node_crypto into crypto module
15 years ago
Tim Caswell
62d9852c3d
Replace slow and broken for..in loops with faster for loops over the keys.
15 years ago
Ryan Dahl
cc9d5ab546
C-Ares shouldn't iterate over all Object.prototype elements
and furthermore error out of one of them isn't a DNS option.
Test case by Ben Lund <ben.lund@gmail.com>; additional help from Tim Caswell
<tim@creationix.com>.
15 years ago