Bert Belder
63bff5434d
No implementation for OS::GetExecutablePath and OS::GetMemory yet
14 years ago
Bert Belder
e98a06d90f
Make winapi_perror public
14 years ago
Bert Belder
dae9752973
Stub out platform_win32.h
14 years ago
Ryan Dahl
a8f666ebb8
Now working on v0.3.3-pre
14 years ago
Ryan Dahl
4bb914bde9
Bump version to v0.3.2
14 years ago
Brian White
9eaf2329e7
Fix compilation on OpenBSD and FreeBSD
While it compiles fine on FreeBSD, at least on amd64 node dies with:
"CALL_AND_RETRY_0 allocation failed - process out of memory"
14 years ago
Ryan Dahl
d0beac70f4
Revert "Simplify next tick logic by looping around ev_loop"
This reverts commit 241ea7e595
.
Fixes GH-511: https://github.com/ry/node/issues/issue/511
14 years ago
Felix Geisendörfer
e27418ca3f
Prefer require.cache over native module cache
This patch changes node's module loading behavior so that the
require.cache is always the first place to consider when loading a
module.
The motivation for this change is to help people who are writing
focused tests for their node.js applications, and need a mechanism
to inject test doubles to replace native node.js modules.
14 years ago
Ryan Dahl
e3d1808ef0
Rename node::SecureStream to node::crypto::Connection
node::SecureStream is definitely not a "stream" in the Node sense. Renaming
it to avoid ambiguity. (Adding namespace to not confuse with some other
Connection object.)
14 years ago
Brian White
f1762ff815
Add os module and getHostname
14 years ago
Ryan Dahl
70baeba8a9
Add receivedShutdown() binding
14 years ago
Ryan Dahl
dac4d486ec
Accept Buffers as well as strings for addCert, addKey
14 years ago
Ryan Dahl
6bc9b2ef92
clients without certs are unauthed.
14 years ago
Ryan Dahl
180dfca03f
Pretty error message messes up if readFileSync in main module fails.
TODO test/message test for this.
14 years ago
Ryan Dahl
5bca100afe
Server must not request cert.
14 years ago
Ryan Dahl
5a21138e37
fix global leak
14 years ago
Anders Conbere
e9c7195471
Reworks the two functions traverser and findModulePath into a more readable form.
This is not the supposed end of these changes, but a first change that
should make future changes easier to reason about.
14 years ago
Sean Braithwaite
fcc38129a3
Check buffer length using string length
+ Utf8Length is really slow but has the same semantics in this case
14 years ago
Ryan Dahl
c70acbb1a3
implement openpty for sun
14 years ago
Brian White
e4bca19843
Fix tty changes for OSX
14 years ago
Ryan Dahl
a0e9a510b0
Introduce require('tty')
You may need to reconfigure after this commit due to the new library.
14 years ago
Ryan Dahl
da96e07bbe
fix global leak
14 years ago
Ryan Dahl
ea9006a5bc
print warning on process.ENV
14 years ago
Ryan Dahl
558e5ba2b0
lint util.js and src/node.js
14 years ago
Brian White
ddbaeef1b3
Fix executable path on FreeBSD.
14 years ago
Ryan Dahl
127f17a0ea
Remove should_verify from C++ - to handle in JS land
14 years ago
Ryan Dahl
28a86c3e56
Remove unnecessary call to X509_STORE_free
14 years ago
Ryan Dahl
504a80dc6d
Rename VerifyPeerError to VerifyError
14 years ago
Ryan Dahl
355936dcde
Implement SecureContext destructor
14 years ago
Ryan Dahl
ea540c94f8
Better verify info
14 years ago
Ryan Dahl
4b947310b2
Move root certs out of JavaScript
14 years ago
Ryan Dahl
486c74e72b
Revert "Default to TLSv1"
This reverts commit 97970b05fe
.
14 years ago
Ryan Dahl
70188499b0
Lazy load console object
14 years ago
Ryan Dahl
81afb54c0a
Fix comment
14 years ago
Ryan Dahl
db98d6e4e0
Remove assert in verify_peer; add comments
14 years ago
Bert Belder
5ea2a61596
win: Duplicate platform_cygwin.cc into platform_win32.cc
14 years ago
Ryan Dahl
711196cafa
Don't call exit() from the signal handler
Fixes issue #457
14 years ago
Ryan Dahl
b6face1dce
Remove unnecessary variable def
14 years ago
Ryan Dahl
97970b05fe
Default to TLSv1
14 years ago
Ryan Dahl
bf89872306
style
14 years ago
Ryan Dahl
be2457aaca
Use SSL_MODE_RELEASE_BUFFERS by default.
14 years ago
Tom Hughes
6285fac232
Allocations with new[] must be freed with delete[].
See http://valgrind.org/docs/manual/mc-manual.html#mc-manual.rudefn
14 years ago
Tom Hughes
7fcfb7b981
Fix memleak in ChildProcess:Spawn().
14 years ago
Ryan Dahl
b57c1f51b9
Saner, yet still ugly, fix to displaying syntax errors
14 years ago
Wade Simmons
03e5da8429
Fix ErrnoExceptions that have the wrong syscall name
14 years ago
Ryan Dahl
f123a1ab40
hack to display syntax errors. FIXME
14 years ago
Tom Hughes
446beebd79
Add cmake build support.
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net ) and Daniel Gröber
(darklord@darkboxed.org ).
14 years ago
isaacs
b52b4196ab
Fix problem with requireNative not exporting 'module' object
Broke require('constants'). Add unrelated test which breaks it.
14 years ago
Ryan Dahl
12554380d5
Add support for SSDP methods -_-
14 years ago
Ben Noordhuis
611dffabb6
Support CNAME lookups in DNS module.
14 years ago