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
isaacs
78be1e4930
Remove the ReportException from the Script class
This is so that syntax errors can be handled discretely in places like the
repl, where SyntaxErrors are expected and normal.
15 years ago
Ryan Dahl
d8af9d8edf
Minor style changes for fs.write code
15 years ago
Felix Geisendörfer
c46cbe0de4
Deprecate string interface for fs.write()
This patch makes buffers the preferred input for fs.write() and
fs.writeSync(). The old string interface is still supported by
converting strings to buffers dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.
15 years ago
Ryan Dahl
c489c2c1b5
Fix api for request.connection
15 years ago
Peter Griess
2420f07e94
Allow process.setuid() and process.setgid() to accept string names in lieu of numeric IDs
15 years ago
Ryan Dahl
2663c69f8d
Fix utf8stream references
15 years ago
Felix Geisendörfer
f987ecf45b
Use Utf8Stream for http Streams with utf8 encoding
15 years ago
Felix Geisendörfer
ed5f1162fa
Use Utf8Stream for net Streams with utf8 encoding
15 years ago
Felix Geisendörfer
caba9c70c3
Implemented Utf8Decoder module
Allows to safely decode a utf8 stream into strings without breaking
on multibyte characters.
15 years ago
Ryan Dahl
e232f09d38
fs.WriteStream.write should support buffer
Also re-adding the callback parameter.
15 years ago
Ryan Dahl
1036aa9762
Fix errno display in c-ares exceptions
15 years ago
Felix Geisendörfer
0a539865dd
Support arrays and strings in buffer constructor
This is be very useful for testing code that deals with buffers.
15 years ago
visionmedia
45948e054d
Added better error messages for async and sync fs calls with paths
15 years ago
Jonas Pfenniger
53a9869ff7
FIX: EventEmitter#removeAllListeners signature
This function should return this is all cases.
15 years ago
Jonas Pfenniger
fea6f829bf
FIX: EventEmitter#removeListener logic
In the case of one defined listener, the function should only remove it
if it is the same as the passed listener.
15 years ago
Jonas Pfenniger
4274e6b7d0
FIX: signal-unregister bug
We now restore the default signal behavior when all listeners are
removed for a given signal.
Re-enabled test-signal-unregister
15 years ago
Jonas Pfenniger
50148022d1
Thinner SignalWatcher, only using callback
Since it is only used internally, we don't need the complexity of
EventEmitter. The new SignalWatcher's design was copied from
IdleWatcher.
15 years ago
Andrew Johnston
9599607065
Added posix fsync and fdatasync to fs module
15 years ago
Ryan Dahl
ac3a2d899a
Changes to work on Solaris 10
15 years ago
Ryan Dahl
a9b962a653
Add --without-ssl configure option
15 years ago
Ryan Dahl
0b7bda8f46
Remove some unused cruft from wscript
15 years ago
Ryan Dahl
da9323040f
Simplify stack trace reporting using new V8 API
15 years ago
Ryan Dahl
320d3e9d33
Fix AUTHORS file
15 years ago
Matt Ranney
cd4f94e71a
Add test for exceptions in HTTP parser event handlers.
15 years ago
Matt Ranney
307e70afaf
Remove unused CSS reference.
15 years ago
Matt Ranney
1f0963558c
Add process.version description.
15 years ago
Jérémy Lal
4e40e8804b
System EV compatibility fix : use EV_DEFAULT_UC
15 years ago
Ryan Dahl
0914d33842
bump version
15 years ago
Ryan Dahl
23d680bb85
Allow parallel jobs to be passed to V8 build
e.g. JOBS=2 make
15 years ago
Ryan Dahl
ce2d5ad0d7
Change the 'make dist' to remove v8 test dir
15 years ago
Elijah Insua
976926376d
Handle empty files with fs.readFile
15 years ago