Ryan Dahl
6111c17a0e
correct hexSlice end
2011-03-15 11:42:23 -07:00
isaacs
3c9fb3ec1a
Fix invalid end handling for SlowBuffer#hexSlice
2011-03-15 11:39:11 -07:00
Ryan Dahl
4a9f2de956
Allow script to be read from stdin
2011-03-15 10:50:24 -07:00
Ryan Dahl
59f7232a30
Simplify startup function in src/node.js
2011-03-15 10:35:49 -07:00
Ryan Dahl
ab190d38b7
Fix buffer.toString('hex')
2011-03-14 18:24:28 -07:00
Ryan Dahl
3c0dd8196a
Fix test-process-uptime.js test
2011-03-14 17:50:24 -07:00
Ryan Dahl
247d880113
Merge branch 'v0.4'
...
Conflicts:
src/node_version.h
2011-03-14 17:45:15 -07:00
Ryan Dahl
55048cdf79
Update copyright headers
2011-03-14 17:37:05 -07:00
Ryan Dahl
36e75b7351
Fix HTTP agent disconnection problem
...
https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o
Closes GH-787.
2011-03-14 14:47:41 -07:00
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.
2011-03-14 13:16:31 -07:00
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
2011-03-14 12:48:37 -07:00
Theo Schlossnagle
e3925b741c
TLS: Finer locks on _cycle.
...
Data being sent out of order.
2011-03-14 12:05:25 -07:00
Ryan Dahl
2e40328c82
Extend OpenSSL expiration dates
2011-03-14 11:30:21 -07:00
koichik
414fa4abae
Better type checks for fd in net.js
2011-03-11 16:34:12 -08:00
koichik
113b1e6e0c
Fix GH-746 process.stdin.destroy() breaks http server
2011-03-11 16:33:07 -08:00
Theo Schlossnagle
2a61e1cd49
without this the server will not advertise support for client certs
...
Closes GH-774.
2011-03-11 16:14:39 -08:00
Ryan Dahl
12c02b378d
Use pthread_kill for V8/Solaris sampling
2011-03-11 03:08:42 +00:00
Ryan Dahl
6802c90d1f
Sample correct registers on Solaris
...
http://codereview.chromium.org/6676019/
2011-03-11 03:06:43 +00:00
Ryan Dahl
97853e07de
Use default backend for __sun (event ports)
2011-03-11 03:04:25 +00:00
Ben Noordhuis
594642b31d
Buffer::Length(Buffer*) should not invoke itself recursively.
...
Closes GH-759.
2011-03-10 14:06:01 -08:00
Ryan Dahl
9a8e843ca3
Document options for https.request
...
Closes GH-768.
2011-03-10 13:34:50 -08:00
Ryan Dahl
e14aa64591
Fix V8 runtime profiler for solaris
2011-03-10 12:48:49 -08:00
koichik
4e047d32b0
Document net.Socket() constructor
2011-03-10 10:57:47 -08:00
Ryan Dahl
62f06fb885
CryptoStream.prototype.destroySoon shouldn't die if not writable
2011-03-09 10:53:06 -08:00
Ryan Dahl
161f7aacf7
Add missing v8:: namespace prefix
2011-03-09 10:07:25 -08:00
Tom Hughes
2c185a9dfd
Use higher resolution clock for uptime on Linux (if available).
2011-03-09 09:16:11 -08:00
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.
2011-03-08 13:56:41 -08:00
Tony Huang
502900c0bc
add path.relative
2011-03-08 11:03:21 -08:00
Ryan Dahl
81d3de7e6d
setMaxListeners should initialize _events
2011-03-07 13:16:00 -08:00
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 ).
2011-03-07 10:47:29 -08:00
Tom Hughes
cf78ce59b3
Add process.uptime().
2011-03-07 10:45:25 -08:00
koichik
db6ea10948
Correct some links
2011-03-07 10:17:54 -08:00
koichik
07426ef29c
Document allowHalfOpen for net.createServer()
2011-03-07 10:17:22 -08:00
Andreas Reich
5e91042fcb
Don't decrease server connection counter again if destroy() is called more than once
...
Test: Anders Conbere <aconbere@gmail.com>
Fix: Andreas Reich <andreas@reich.name>
Closes GH-431.
Closes GH-502.
2011-03-04 15:45:12 -08:00
Ryan Dahl
39280e1b57
Bump version to v0.4.2
2011-03-02 22:10:26 -08:00
Ryan Dahl
fbe36a7ca9
Revert "Closes GH-85 Emit error rather than throwing."
...
This reverts commit f3d364122d
.
Landed in master instead.
2011-03-02 22:10:16 -08:00
isaacs
11a06fe1e4
Closes GH-85 Emit error rather than throwing.
...
Since "error" events will throw when unhandled anyhow, it makes no sense
to throw from an EventEmitter's method, especially for such a minor
misdemeanor as attempting to write to a non-writable stream.
2011-03-02 22:09:39 -08:00
Ryan Dahl
ca8be39b9e
Disable test-http-agent2.js for the moment
...
Still broken.
2011-03-02 21:21:29 -08:00
Bert Belder
b3884c574b
Autodetect no-strict-aliasing, propagate toolchain option to SCons
...
BUG=v8:884
2011-03-02 21:06:17 -08:00
Ryan Dahl
14475c77a6
Upgrade V8 to 3.1.8
2011-03-02 21:04:37 -08:00
Tom Hughes
cf7b680db9
newline should also be treated as "enter" key.
2011-03-02 21:00:06 -08:00
Ben Noordhuis
1d5ff15a46
fs.utimes() and fs.futimes() support.
2011-03-02 20:35:45 -08:00
koichik
452df69964
Correct net.createServer() API docs
2011-03-02 12:10:36 -08:00
koichik
4e7c37b87c
Fix fs.WriteStream.end(data, [encoding]) throws TypeError
2011-03-01 10:49:20 -08:00
Ryan Dahl
4ab5476e89
SIGUSR1 should break the VM without delay
2011-03-01 09:59:17 -08:00
Ryan Dahl
5f95d9a75d
Remove -Werror from V8
2011-02-28 12:58:15 -08:00
isaacs
bc8e9b340d
Closes GH-734 Do the setuid() after chdir()
2011-02-28 12:37:59 -08:00
Bert Belder
4a34692903
Autodetect no-strict-aliasing, propagate toolchain option to SCons
...
BUG=v8:884
2011-02-28 11:30:07 -08:00
Ryan Dahl
6442cbef20
Upgrade V8 to 3.1.7
2011-02-28 11:29:33 -08:00
Ryan Dahl
a14bb04c05
tty.setWindowSize should use the correct function
...
Thanks to Matthew Woolman
2011-02-28 11:19:10 -08:00