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
Ben Noordhuis
c6c77d535f
Support for fstat(2) through fs.fstat() and fs.fstatSync(). Added test cases, updated documentation.
15 years ago
Ryan Dahl
67eeedd602
Disable test-signal-unregister.js as functionality doesn't exist yet
15 years ago
Ryan Dahl
1c7670aca2
Remove reference to C++ EventEmitter in docs
I prefer ppl to use ObjectWrap
15 years ago
Ryan Dahl
d0128787e7
Deprecate sendHeader() and writeHeader(), ppl should use writeHead()
15 years ago
Ryan Dahl
7a2e6d674a
Default to 2 second timeout for http servers
Taking a performance hit on 'hello world' benchmark by enabling this by
default, but I think it's worth it. Hopefully we can improve performance by
resetting the timeout less often - ideally a 'hello world' benchmark would
only touch the one timer once - if it runs in less than 2 seconds. The rest
should be just link list manipulations.
15 years ago
Ryan Dahl
ed0c109950
Add note about 'error' event to docs
15 years ago
Ryan Dahl
d2cff34fa3
Idle timeout changes
- setTimeout should active the timeout too. (test-net-set-timeout tests
this.)
- 'timeout' event is not automatically followed by an 'error' event. That
is the user is now responsible for destroying the stream if there is an
idle timeout.
15 years ago
Ryan Dahl
f7ff548dd0
Quote variables in configure script
15 years ago
Ryan Dahl
c90e44e582
Just add an extra include for strings.h - don't try to be cute
15 years ago
Ryan Dahl
8e5b91c79b
Revert "Check for strings.h"
This reverts commit 032f651824
.
15 years ago
Ryan Dahl
032f651824
Check for strings.h
15 years ago
Ryan Dahl
35dd0fb271
Patch v8 build for solaris
Submitted this patch to V8
http://codereview.chromium.org/1990010/show
15 years ago
Ryan Dahl
615d890622
Upgrade V8 to 2.2.9
15 years ago
Ryan Dahl
8ab238e7de
Revert "destroy instead of end http connection at end of pipeline"
This reverts commit 4ce1e1fca5
.
To fix test-http-full-response.js. Clearly this is not the correct solution.
Probably need idle timeouts.
15 years ago
Ryan Dahl
15bb392afd
Disable test-remote-module-loading
In ab068db9b1
this test was broken because (I
think) compile/run errors are set to crash the program instead of being
passed back.
Error reporting is more important than remote loading. Disabling until there
is a fix
15 years ago
Ryan Dahl
b78508266b
Change string.h to strings.h compile on solaris
15 years ago