Ryan Dahl
aeed966fe0
Don't call GetMemoryUsage every 5 seconds
14 years ago
koichik
5ccdff48f3
Document 'ucs2' encoding for Buffer
14 years ago
Aaron Heckmann
a4dad95be3
EventEmitter#once only takes instanceof function
14 years ago
Brian White
52b9ede6db
Add helpful error message for setuid/setgid when user/group id does not exist
14 years ago
Ryan Dahl
602a4637bf
Merge branch 'v0.4'
Conflicts:
src/node_version.h
14 years ago
Dean McNamee
f67e8f243c
Export more functions for initializing and starting node.
For greater flexibility in controlling node's initialization and startup, the
following new functions are exported.
- node::Init()
- node::SetupProcessObject()
- node::Load()
- node::EmitExit()
These are some of the major steps involved in node::Setup(). Exporting these
functions allows an embedding program to write a replacement for node::Start(),
and to have access to the node process object after it's created.
14 years ago
Dean McNamee
4a6f4511c8
Don't override explicit openssl paths with pkg-config results.
14 years ago
Ryan Dahl
66570c1964
Fix double free of parser on error in http.Agent.
Thanks to Stéphan Kochen for the fix and Maurice Fonk for reproducing the
bug.
Closes GH-784.
Closes GH-803.
14 years ago
Ryan Dahl
975d020286
Fix gcc version checking for aliasing features
14 years ago
Ryan Dahl
af923154e2
hello.txt should be stored in tmpdir
14 years ago
Ryan Dahl
f10150bc6a
Don't use https for blog.nodejs.org
14 years ago
Ryan Dahl
c02db3229e
Link to Node blog
14 years ago
Ryan Dahl
b368a3b438
Remove bad assert in GetInterfaceAddresses
14 years ago
Daniel Ennis
911cbd0cef
Add support for file descriptor type detection.
setImplementationMethods checks the type of a socket and defines different
behavior based on the type, so auto detect it if type not implicitly
specified.
14 years ago
Ryan Dahl
19e53512b8
os.getNetworkInterfaces()
14 years ago
Ryan Dahl
6111c17a0e
correct hexSlice end
14 years ago
isaacs
3c9fb3ec1a
Fix invalid end handling for SlowBuffer#hexSlice
14 years ago
Ryan Dahl
4a9f2de956
Allow script to be read from stdin
14 years ago
Ryan Dahl
59f7232a30
Simplify startup function in src/node.js
14 years ago
Ryan Dahl
566c67b758
Working on v0.4.3-pre - oops
14 years ago
Ryan Dahl
61fdfcb137
Fix comment in node_provider.d
14 years ago
Ryan Dahl
ab190d38b7
Fix buffer.toString('hex')
14 years ago
Ryan Dahl
3c0dd8196a
Fix test-process-uptime.js test
14 years ago
Ryan Dahl
247d880113
Merge branch 'v0.4'
Conflicts:
src/node_version.h
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
36e75b7351
Fix HTTP agent disconnection problem
https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o
Closes GH-787.
14 years ago
Felix Geisendörfer
9d4c5a12f4
Crypto update should only accept strings / buffers
I have seen a lot of people trying to pass objects to crypto's update
functions, assuming that it would somehow serialize the object before
hashing.
In reality, the object was converted to '[object Object]' which was
then hashed, without any error message showing.
This patch modifies the DecodeBytes function (used exclusively by
crypto at this point) to complain when receiving anything but a
string or buffer.
Overall this should be a less-suprising, more robust behavior.
14 years ago
Ryan Dahl
2a05fe784d
Do not use defineGetter in src/node.js for better crankshaft perf
See: https://groups.google.com/d/topic/nodejs/xJqpp1_s6is/discussion
14 years ago
Theo Schlossnagle
e3925b741c
TLS: Finer locks on _cycle.
Data being sent out of order.
14 years ago
Ryan Dahl
2e40328c82
Extend OpenSSL expiration dates
14 years ago
koichik
414fa4abae
Better type checks for fd in net.js
14 years ago
koichik
113b1e6e0c
Fix GH-746 process.stdin.destroy() breaks http server
14 years ago
Theo Schlossnagle
2a61e1cd49
without this the server will not advertise support for client certs
Closes GH-774.
14 years ago
Ryan Dahl
12c02b378d
Use pthread_kill for V8/Solaris sampling
14 years ago
Ryan Dahl
6802c90d1f
Sample correct registers on Solaris
http://codereview.chromium.org/6676019/
14 years ago
Ryan Dahl
97853e07de
Use default backend for __sun (event ports)
14 years ago
Ben Noordhuis
594642b31d
Buffer::Length(Buffer*) should not invoke itself recursively.
Closes GH-759.
14 years ago
Ryan Dahl
9a8e843ca3
Document options for https.request
Closes GH-768.
14 years ago
Ryan Dahl
e14aa64591
Fix V8 runtime profiler for solaris
14 years ago
koichik
4e047d32b0
Document net.Socket() constructor
14 years ago
Ryan Dahl
62f06fb885
CryptoStream.prototype.destroySoon shouldn't die if not writable
14 years ago
Ryan Dahl
161f7aacf7
Add missing v8:: namespace prefix
14 years ago
Tom Hughes
2c185a9dfd
Use higher resolution clock for uptime on Linux (if available).
14 years ago
Tom Hughes
74954ce7d8
Add string class that uses ExternalAsciiStringResource.
Change the natives to use this class instead of creating completely new
strings. Reduces memory usage by about 1 MB.
14 years ago
Tony Huang
502900c0bc
add path.relative
14 years ago
Ryan Dahl
81d3de7e6d
setMaxListeners should initialize _events
14 years ago
Tom Hughes
7a272d92e3
cmake: explicitly disable fdatasync when building for OSX.
This ensures that the check_function_exists() for fdatasync in the
libeio CMakeLists.txt is not run, since that fails on some versions of
OSX (http://public.kitware.com/Bug/view.php?id=10044 ).
14 years ago
Tom Hughes
cf78ce59b3
Add process.uptime().
14 years ago
koichik
db6ea10948
Correct some links
14 years ago
koichik
07426ef29c
Document allowHalfOpen for net.createServer()
14 years ago