Ryan Dahl
efdd73c8e4
Fix style in node_object_wrap.h
2010-09-13 11:40:04 -07:00
Paul Querna
9a701b0a70
Expose fingerproint from getPeerCertificate
...
Expose the SHA1 digest of the certificate as the fingerprint attribute in
the object returned by getPeerCertificate()
2010-09-09 23:35:17 -07:00
Ryan Dahl
5d42cc3a44
Use SetPointerInInternalField
2010-09-09 15:47:37 -07:00
Ryan Dahl
b8bfbdab48
Rename SlowBuffer in binding
2010-09-09 11:03:51 -07:00
Ryan Dahl
5bc4efe820
Remove blobs, simplify SlowBuffer
...
Implement SlowBuffer.prototype.slice in js
2010-09-09 11:03:51 -07:00
Ryan Dahl
380d12832c
Remove dead code
2010-09-09 11:03:50 -07:00
Ryan Dahl
efc723787a
Fix big string bug
2010-09-09 11:03:50 -07:00
Ryan Dahl
71d67dbf48
Remove fancy SlowBuffer constructor
2010-09-09 11:03:50 -07:00
Ryan Dahl
6135941eea
Fix ByteLength hangup
2010-09-09 11:03:50 -07:00
Ryan Dahl
5da4faf8c7
fast buffers for crypto
2010-09-09 11:03:49 -07:00
Ryan Dahl
5f935f6c14
Fast buffers for http-parser
2010-09-09 11:03:49 -07:00
Ryan Dahl
ececd92f62
Fix base64 write for buffers
2010-09-09 11:03:49 -07:00
Ryan Dahl
1f947f7b41
remove unnecessary casts
2010-09-09 11:03:49 -07:00
Ryan Dahl
7b772f3f68
More fast buffer work
2010-09-09 11:03:48 -07:00
Ryan Dahl
d5bdda74c1
fast buffer bounds checking in copy()
2010-09-09 11:03:48 -07:00
Ryan Dahl
1cf538a60a
Work to get C++ fast buffers. incomplete
2010-09-09 11:03:48 -07:00
Ryan Dahl
565d862f3c
Fix buffer binding
2010-09-09 11:03:48 -07:00
Tim-Smart
746d487da8
FastBuffer implementation. API needs migration
2010-09-09 11:03:47 -07:00
Felix Geisendörfer
ef54777fa5
Fix: uncaughtException was broken for main module
...
See: 635986e433
2010-09-09 10:47:30 -07:00
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.
2010-09-09 10:30:43 -07:00
Herbert Vojčík
71651bf8b2
Make test-global work with NODE_MODULE_CONTEXTS.
2010-09-08 10:40:55 -07:00
Herbert Vojčík
8718fa54f6
Removed comment-out code.
2010-09-08 10:34:47 -07:00
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.
2010-09-02 09:24:39 -07:00
Ryan Dahl
7347fb3e2c
Make sure setInterval(cb, 0) loops infinitely
2010-08-31 16:45:17 -07:00
Ryan Dahl
5be6ab6cdb
Fix style
2010-08-30 16:35:58 -07:00
Fedor Indutny
db23af05b0
Constants should be readOnly and DontDelete
2010-08-30 12:13:41 -07:00
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.
2010-08-27 22:13:50 -07:00
Ryan Dahl
f86ad1693f
Safe Constructor: Buffer
2010-08-27 15:23:51 -07:00
Ryan Dahl
488aff085b
Improve appendix markdown
2010-08-21 01:24:14 -07:00
Ryan Dahl
9283e134e5
bump version
2010-08-20 01:53:08 -07:00
Tim Caswell
81a53e83ab
Make process.nextTick worlds faster for large queues.
2010-08-19 19:19:18 -07:00
Herbert Vojčík
c5eb1b55d9
Making "root" available in both context and non-context mode.
2010-08-18 22:50:55 -07:00
Ryan Dahl
5bce8ed118
Fix process.platform
2010-08-18 13:16:32 -07:00
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.
2010-08-18 11:46:37 -07:00
Ryan Dahl
39b432e42a
Add process.versions
2010-08-17 11:25:42 -07:00
Herbert Vojčík
1872719b8c
Typo in comment.
2010-08-17 08:38:44 -07:00
Ryan Dahl
03dda31b75
Simplify loading events.js
2010-08-17 08:15:46 -07:00
Herbert Vojčík
4db608dbba
Get away uint/int comparision warning.
2010-08-16 15:17:17 -07:00
Herbert Vojčík
ff953dccf1
Refactor of resolveModulePath to make it clearer.
2010-08-15 11:12:48 -07:00
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).
2010-08-15 11:06:36 -07:00
Herbert Vojčík
361759d179
Using Array.isArray for Array testing in findModulePath.
2010-08-15 11:05:48 -07:00
Vanilla Hsu
49cd211dff
Add freebsd's process.title support.
2010-08-13 22:29:38 -07:00
Ryan Dahl
b14dd49222
bump version
2010-08-13 09:02:10 -07:00
Bert Belder
d8642a8aa6
Implement process.title for cygwin
2010-08-13 07:01:32 -07:00
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.
2010-08-12 16:23:41 -07:00
Rasmus Andersson
8d5e05668b
Added support for multiple listeners to DNS multicast datagrams.
...
Some platforms require SO_REUSEPORT to be set for the socket.
2010-08-11 19:02:20 -07:00
Ryan Dahl
06634f48eb
Implement process.title for linux
2010-08-11 13:15:00 -07:00
Ryan Dahl
5185c15ef7
Stub out process.title
2010-08-11 12:39:42 -07:00
Fedor Indutny
49888a01c3
Cygwin: process.execPath fix
2010-08-11 11:44:51 -07:00
Ryan Dahl
f4f05a8851
Unset CLOEXEC on spawn's customFds
2010-08-09 15:33:57 -07:00