Ryan Dahl
d62b0f442a
Fix style in sys.js
15 years ago
Ryan Dahl
f86a214357
Upgrade to V8 2.2.13
15 years ago
Ryan Dahl
0c1aa36835
bump version
15 years ago
Ryan Dahl
16818ff250
Remove throttling bug notes
15 years ago
Ryan Dahl
1a5acd9850
API: readFileSync without encoding argument now returns a Buffer
Correctly load utf8 data; add a test test-fs-read-file-sync.js
15 years ago
Ryan Dahl
c82d64649c
Deprecate the 'ini' module
15 years ago
Ryan Dahl
78e49f1c88
Rename node_net2.cc to node_net.cc
15 years ago
isaacs
a26f7d753d
Make require() from the repl be relative to cwd
15 years ago
isaacs
82813f2f8c
Execute repl code in new context
15 years ago
isaacs
3c7873bd3f
Use duck-typing as well as instanceof in sys.inspect
This makes it so that inspecting objects from other contexts works as expected.
15 years ago
Ryan Dahl
2fa4de001c
addons should have debugging symbols
15 years ago
Tim Caswell
b480184fd6
Check for a couple of edge cases on the inspect hook.
Don't treat sys.inspect special, same with prototype objects.
15 years ago
Tim Caswell
7f5320b167
Provide a hook for user-specified inspect functions
15 years ago
Ryan Dahl
80a8e71fe0
Insert some hot paths into HTTP
15 years ago
Ryan Dahl
74b7fa29a1
Refactor HTTP
Allow throttling from outgoing messages.
15 years ago
Ryan Dahl
0e713e7482
:%s/8000/PORT/g for a few tests
15 years ago
Brian White
72262060db
Added support for OpenBSD 32-bit for c-ares
15 years ago
Ryan Dahl
8840ce340d
Bugfix: fs.ReadStream.setEncoding
Improve test-fs-read-stream test.
15 years ago
Ryan Dahl
31854c7990
Fix Solaris V8 build
Patch submitted to V8: http://codereview.chromium.org/2282003/show
15 years ago
Micheil Smith
d89de07758
Adding experimental support for fs.chown and fs.chownSync.
Notes:
- Currently only accepts numeric user and group ids.
- No tests, as tests depend on getpwuid and getgrgid.
- No documentation, as there is no tests and this is experimental.
15 years ago
Ryan Dahl
29e867aaa0
Simplify a few internal HTTP events.
15 years ago
Ryan Dahl
311a62dea7
Fix JOBS for Solaris make
15 years ago
Ryan Dahl
4b216d266a
Remove -Werror from V8 SConstruct
15 years ago
Ryan Dahl
d4345e1ff8
Upgrade V8 to 2.2.12
15 years ago
Sam Hughes
895f89d62a
Avoided sending empty chunkedEncoding chunks in the middle of http responses
15 years ago
Ryan Dahl
15ec99ec59
Fix issue 89, parsing responses to HEAD requests
Test from Mark Hansen (mark at markhansen.co.nz)
15 years ago
Ryan Dahl
35c14f637e
In HTTP parser, proxy return value of onHeadersComplete
15 years ago
Ryan Dahl
2fca40e44f
Upgrade http-parser
15 years ago
Ryan Dahl
e97a481785
Destroy REPL pipes instead of shutting down.
15 years ago
Ryan Dahl
19f475c573
fs.ReadStream should emit Buffers
And do proper utf8 encoding.
15 years ago
Ryan Dahl
3768aaaea4
Create a public Buffer constructor for use in addons.
15 years ago
Aapo Laitinen
c4876d01a1
Change the behavior of path.extname
Make path.extname return an empty string also if:
- The last dot is not in the last path component
- The last dot starts the last path component
15 years ago
Brian White
ab5c0dd63e
Port to OpenBSD
15 years ago
Ryan Dahl
0f143f6c23
Upgrade libeio
15 years ago
Ben Noordhuis
b58db3cd73
Added reason phrases for a bunch of HTTP status codes.
15 years ago
Ryan Dahl
1369d606f7
Add bug notes about HTTP streams and throttling
15 years ago
Mikeal Rogers
fe3d8f2411
Add assert.ifError
15 years ago
Ryan Dahl
2b34363d03
Upgrade V8 to 2.2.11
15 years ago
Ryan Dahl
9514a4d547
bump version
15 years ago
Ryan Dahl
0de138acb5
improve test for stdio non-blockingness
15 years ago
Ryan Dahl
f73b6e2190
Fix opposite logic, which coincidentially works
15 years ago
Ryan Dahl
8c56284776
Remove unneeded fd variables in node_stdio.cc
15 years ago
Felix Geisendörfer
c93e0aaf06
Deprecate string interface for fs.read()
This patch makes buffers the preferred output for fs.read() and
fs.readSync(). The old string interface is still supported by
converting buffers to strings dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.
15 years ago
Ryan Dahl
e84395ff8c
Revert "Deprecate string interface for fs.read()"
This reverts commit cbbf9e43d1
.
15 years ago
Felix Geisendörfer
cbbf9e43d1
Deprecate string interface for fs.read()
This patch makes buffers the preferred output for fs.read() and
fs.readSync(). The old string interface is still supported by
converting buffers to strings dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.
15 years ago
Ryan Dahl
cbd2c3945b
Throwing in a callback should kill the process
There is a difference between errors which happen to a socket - like
receiving EPIPE - an exceptional situation but ultimately okay and the
situation where code throws in a callback - which is not okay.
Fixes test/simple/test-http-exceptions.js
TODO: explain this in docs.
15 years ago
rentzsch
36a45c4e0d
FIX path.dirname('/tmp') => '/'.
Previously path.dirname('/tmp') incorrectly returned '.'.
Unfortunately module.js incorrectly thinks dirname('/a/b/') should
yield '/a/b', so I can't strip trailing slashes yet. Once module.js
is fixed, then the commented-out code should be activated and a test
written for it.
15 years ago
Ryan Dahl
022c083848
Deprecate sys.p()
15 years ago
Ryan Dahl
44ad6a7db2
Make buffer's c++ constructor public
15 years ago
isaacs
5b740c488f
Fix a leaking global
15 years ago