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
Ryan Dahl
1ecb11f944
Add failing test - http responses not all complete
Report and test by soderblom.peter@gmail.com
15 years ago
Ryan Dahl
ab068db9b1
Improve error reporting
- No more single line "node.js:176:9" errors
- No more strange output when error happens on first line due to
module wrapper function.
- A few tests to check these things
15 years ago
Ryan Dahl
1d28cfcfb9
Better logic for testing if an argument is a port
If you did server.listen('123') it would open a socket in the current
directory called 123. Now it will interpret it as a port.
15 years ago
Ryan Dahl
d38d96eb61
Don't emit 'exit' twice from child process
15 years ago
Ryan Dahl
d7762dffe3
Forgot to add child_process_should_emit_error.js
15 years ago
Ryan Dahl
264e540d00
Fix error reporting in child_process callbacks
Issue 120, test case by Nathan Ostgard
15 years ago
rentzsch
a5b132ad63
fs.Stats.size V8::Integer => V8::Number.
While VM::Integer::Value() offers an int64_t, V8::Integer::New() only
accepts an int32_t, truncating fs.Stat's size in BuildStatsObject().
I consider this a bug in V8, and we should move back to V8::Integer
when it gets a ctr that allows a int64_t. Until then, this work-around
should hold.
15 years ago
Ryan Dahl
3ac6deefa8
Change GC idle notify so that it runs along side setInterval
Doesn't appear any slower. Also checks for high memory usage and tries to
force more notifications.
15 years ago
isaacs
bc45adcffa
Add binding.close to fs.readFile
15 years ago
Tim Caswell
c07c601c3b
fs.readFile uses a buffer internally and will return the raw buffer if no encoding is specified.
15 years ago
Ryan Dahl
62b642a88d
fix authors file
15 years ago
Ryan Dahl
d2415945c1
Install node_buffer.h on make install
15 years ago
Ryan Dahl
f711d5343b
bump version
15 years ago
Ryan Dahl
6aab6ebe61
Upgrade V8 to 2.2.8
15 years ago
Ryan Dahl
4ce1e1fca5
destroy instead of end http connection at end of pipeline
15 years ago