Ryan Dahl
ececd92f62
Fix base64 write for buffers
14 years ago
Ryan Dahl
1f947f7b41
remove unnecessary casts
14 years ago
Ryan Dahl
7b772f3f68
More fast buffer work
14 years ago
Ryan Dahl
d5bdda74c1
fast buffer bounds checking in copy()
14 years ago
Ryan Dahl
1cf538a60a
Work to get C++ fast buffers. incomplete
14 years ago
Ryan Dahl
565d862f3c
Fix buffer binding
14 years ago
Tim-Smart
746d487da8
FastBuffer implementation. API needs migration
14 years ago
Felix Geisendörfer
ef54777fa5
Fix: uncaughtException was broken for main module
See: 635986e433
14 years ago
Ryan Dahl
17f3ffa633
Call Tick() after coming out of select()
Previously we would only call it before going into select(). This is needed
to fix test/simple/test-next-tick-ordering2.js.
14 years ago
Herbert Vojčík
71651bf8b2
Make test-global work with NODE_MODULE_CONTEXTS.
14 years ago
Herbert Vojčík
8718fa54f6
Removed comment-out code.
14 years ago
Benjamin Thomas
cda1a38426
Fix bug in process._tickCallback where callbacks can get abandoned.
Change process._tickCallback so that if a callback throws an error but
there are other callbacks after it, we indicate that
process._tickCallback needs to be ran again.
Currently, if a callback in process._tickCallback throws an error, and
that error is caught by an uncaughtException handler and
process.nextTick is never called again, then any other callbacks already
added to the nextTickQueue won't be called again.
Updated the next-tick-errors test to catch this scenario.
14 years ago
Ryan Dahl
7347fb3e2c
Make sure setInterval(cb, 0) loops infinitely
14 years ago
Ryan Dahl
5be6ab6cdb
Fix style
14 years ago
Fedor Indutny
db23af05b0
Constants should be readOnly and DontDelete
14 years ago
Benjamin Thomas
57642e2349
Fix process.nextTick so thrown errors don't confuse it.
If the function for a process.nextTick throws an error, then the
splice() never removes that function from the nextTickQueue array. This
makes sure the functions that have been run in _tickCallback get removed
regardless of errors.
Also add a test for this.
14 years ago
Ryan Dahl
f86ad1693f
Safe Constructor: Buffer
14 years ago
Ryan Dahl
488aff085b
Improve appendix markdown
14 years ago
Ryan Dahl
9283e134e5
bump version
14 years ago
Tim Caswell
81a53e83ab
Make process.nextTick worlds faster for large queues.
14 years ago
Herbert Vojčík
c5eb1b55d9
Making "root" available in both context and non-context mode.
14 years ago
Ryan Dahl
5bce8ed118
Fix process.platform
14 years ago
Herbert Vojčík
9253333850
Fix registerExtension for NODE_MODULE_CONTEXTS
Fix of registerExtension-produced non-string module loading with own
context. Plus finishing touches to the test.
14 years ago
Ryan Dahl
39b432e42a
Add process.versions
14 years ago
Herbert Vojčík
1872719b8c
Typo in comment.
14 years ago
Ryan Dahl
03dda31b75
Simplify loading events.js
14 years ago
Herbert Vojčík
4db608dbba
Get away uint/int comparision warning.
14 years ago
Herbert Vojčík
ff953dccf1
Refactor of resolveModulePath to make it clearer.
14 years ago
Herbert Vojčík
13a3bf5b7d
Clean up findModulePath
Separating "what to traverse" from "how to traverse and what to do with it "
in findModulePath. It may also fix one not-yet-found bug (absolute ids
weren't loaded when dirs.length = 0).
14 years ago
Herbert Vojčík
361759d179
Using Array.isArray for Array testing in findModulePath.
14 years ago
Vanilla Hsu
49cd211dff
Add freebsd's process.title support.
14 years ago
Ryan Dahl
b14dd49222
bump version
14 years ago
Bert Belder
d8642a8aa6
Implement process.title for cygwin
14 years ago
Rasmus Andersson
758f12f34c
added read and write support for process.title Darwin
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
14 years ago
Rasmus Andersson
8d5e05668b
Added support for multiple listeners to DNS multicast datagrams.
Some platforms require SO_REUSEPORT to be set for the socket.
14 years ago
Ryan Dahl
06634f48eb
Implement process.title for linux
14 years ago
Ryan Dahl
5185c15ef7
Stub out process.title
15 years ago
Fedor Indutny
49888a01c3
Cygwin: process.execPath fix
14 years ago
Ryan Dahl
f4f05a8851
Unset CLOEXEC on spawn's customFds
14 years ago
Bert Belder
94914135df
New api for child_process.spawn; ability to set cwd for spawn()ed process
Tests for child_process.spawn() use new API
Test for deprecated child_process.spawn() API
14 years ago
Ryan Dahl
d408de87fc
Remove module.js - put code into src/node.js
14 years ago
Tj Holowaychuk
e8795cea30
Added console.trace()
14 years ago
Tj Holowaychuk
a8e1e8d057
Added console.{time,timeEnd}()
14 years ago
Tj Holowaychuk
e15221a8de
console formatter appends extra arguments
This makes the console methods more "browser-like",
for example:
console.log("foo", "bar", "baz");
// foo bar baz
but still works with formatting
console.log("hey %s", "tj", "whats up");
// hey tj whats up
14 years ago
Felix Geisendörfer
ffbbc465d3
Support inspecting objects with console.log
If the first parameter passed into console.log() is not a string, all
parameters will be printed as formated by sys.inspect. This change
also affects console.info and console.warn.
14 years ago
Ryan Dahl
0b925d075d
bump version
14 years ago
Ryan Dahl
7db5c8a10d
Fix toString('base64') bug
Thanks to Stepan Stolyarov for the test case.
14 years ago
Ryan Dahl
adec544fdd
Revert "Expose the V8 debug object process.debug"
This reverts commit d9fbb8a580
.
14 years ago
Ryan Dahl
31b59400f8
Allow null context in Script
14 years ago
isaacs
1a1214866f
SetBlocking should set blocking, not toggle it
14 years ago