Ryan Dahl
cf86527a28
Fix writeFile(buffer) test
15 years ago
Micheil Smith
b05daaaf69
Adding path.existsSync (with tests.)
15 years ago
isaacs
73f207fe59
Throw exceptions, not strings
15 years ago
Aaron Heckmann
1d088fb906
fs.writeFile accepts Buffers
15 years ago
Ryan Dahl
c2e2479cc5
Fix Linux build
15 years ago
Peter Dekkers
e48f0d1dd9
Fixed incorrect mask for determining fs.Stats types
15 years ago
isaacs
4ce100fa62
A replacement for decodeURIComponent that doesn't throw.
And add a few more tests.
15 years ago
Ryan Dahl
ed5f4f3a44
RootCaCerts shouldn't be global
15 years ago
Ryan Dahl
6bed15e074
Refactor: Utf8Decoder -> StringDecoder
Instead of just decoding Utf8, this will proxy requests to buffer.toString()
for other encodings. This makes for a simpler interface.
15 years ago
Peter Griess
4b48042c17
Wrap FD in closure before emitting from Stream.
- Without this, recvMsg can be invoked before the event emitter gets a
chance to run. In this case, recvMsg.fd will be overwritten and the
original caller can end up emitting null.
15 years ago
Ryan Dahl
bc76624ec7
Upgrade V8 to 2.2.17
15 years ago
Ben Lowery
f3cd7bbe77
Coerce each argument to a String before attempting to print it via sys.print
15 years ago
Ryan Dahl
459440842f
More lint on node_crypto
15 years ago
Ryan Dahl
9854216d36
Fix a bunch of memory leaks in node_crypto
15 years ago
Ryan Dahl
5bc00abed7
Lint node_crypto.cc
15 years ago
Ryan Dahl
5f88097eb4
Remove unused code from node_crypto
15 years ago
Ryan Dahl
14414f81f3
Soft deprecation of 'listening' event.
Add callback param to listen() instead
15 years ago
Peter Griess
c9dde726c6
Test case for net.Server.listenFD()
15 years ago
isaacs
1ffdad010b
Expose the FD numbers for stdin and stderr on process.binding("stdio")
15 years ago
Ryan Dahl
d6072766ed
Fix memory leak in hash.update()
15 years ago
Ryan Dahl
009b4569b3
Merge Hash.init() function into JS constructor
15 years ago
Felix Geisendörfer
5f3906b65e
Fix: fs.writeFile could not handle utf8
15 years ago
Paul Querna
02da5ed4a1
Implement datagram sockets
- Adds new dgram module, for all data-gram type transports
- Supports both UDP client and servers
- Supports Unix Daemon sockets in DGRAM mode too (think syslog)
- Uses a shared Buffer and slices that as needed to be reasonably
performant.
- One supplied test program so far, test-dgram-pingpong
- Passes test cases on osx 10.6 and ubuntu 9.10u
15 years ago
isaacs
e65e6039a8
Fix #169 . Expose require members in the repl.
This fixes #169 by putting the require members onto the cwdRequire function
which is exposed to the repl scope.
15 years ago
Brian McKenna
431e72cbe8
Make addon building work for Cygwin.
15 years ago
isaacs
94be898fbc
Remove "uri" module.
The deprecation warning was broken, so clearly no one is using this thing.
15 years ago
Ryan Dahl
4e80587cbe
Add Orlando to changelog
15 years ago
Ryan Dahl
10d8adb089
bump version
15 years ago
Ryan Dahl
9c85357846
Upgrade C-Ares to 1.7.3
15 years ago
Ryan Dahl
d127d15d1b
License file maintenance.
- reference to OpenSSL
- note about http-parser
15 years ago
Matt Ranney
cbd1f1481c
Remove setTimeout from initial example and description.
15 years ago
Ryan Dahl
fe89caba2e
Improve fs.write tests
15 years ago
Ryan Dahl
0e390d69a8
Don't use bzero
15 years ago
Jérémy Lal
ce347124e6
The underscores are not meant to emphasize. Escape them.
15 years ago
Raffaele Sena
b3b81d67ff
Port to cygwin
15 years ago
Ryan Dahl
cd232a9cce
Upgrade V8 to 2.2.16
15 years ago
Matt Ranney
cec775a0de
Web site example fixes.
15 years ago
Ryan Dahl
0bb47b6c97
Upgrade V8 to 2.2.15
15 years ago
Peter Griess
de6d663a67
Add 'type' parameter to net.Server.listenFD()
This is needed in case the provided socket is not the default 'tcp4' type
(i.e. and needs different read/write/etc methods). With this patch, one can
call listenFD(sock, 'unix') to bind to existing UNIX domain sockets.
15 years ago
Ryan Dahl
bca16a0581
Handle ctrl+z from readline
15 years ago
Ryan Dahl
adc06dd705
Add NODE_NO_READLINE check for REPL
Setting this environmental variable to a non-zero integer will start all
REPL interfaces without readline. For use with rlwrap.
15 years ago
Ryan Dahl
0377b12964
Use strings instead of buffers in readline
For eventual large character support.
15 years ago
Ryan Dahl
a6942b345d
Fix test-repl
15 years ago
Matt Ranney
09af242c89
Support more readline navigation keys.
15 years ago
Ryan Dahl
0c3b6aba7a
Do not output \n on stderr on output, breaks tests
15 years ago
Ryan Dahl
6056d2ea2c
node without arguments starts the REPL
15 years ago
Ryan Dahl
e43d6fc879
Fix misspelling
15 years ago
Ryan Dahl
41f213be18
Add binding to termios, implement readline for repl
15 years ago
Peter Griess
a0134ff0f8
add net.Server.listenFD
Now that FD passing is in master, it'd be great to be able to use a received
socket (which has already had bind(2) and listen(2) called on it) to fire up a
new net.Server instance. This patch adds a net.Server.listenFD() method which
will start up the accept watcher on the provided FD.
15 years ago
Ryan Dahl
9be6c501ec
Upgrade http-parser
15 years ago