isaacs [Sat, 19 Mar 2011 18:19:56 +0000 (11:19 -0700)]
signage warning, and add v8::namespace
Ryan Dahl [Tue, 22 Mar 2011 20:12:07 +0000 (13:12 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
Ryan Dahl [Tue, 22 Mar 2011 20:10:50 +0000 (13:10 -0700)]
Guard failed buffer constructions.
Thanks to Jeremy Barnes for pointing it out.
Ryan Dahl [Tue, 22 Mar 2011 20:07:18 +0000 (20:07 +0000)]
Fix solaris build
Ryan Dahl [Tue, 22 Mar 2011 19:02:33 +0000 (12:02 -0700)]
Fix setsid in tty.open
Thanks to Leen Besselink for pointing this out.
Closes GH-815.
Ryan Dahl [Tue, 22 Mar 2011 18:24:00 +0000 (11:24 -0700)]
expose https.Agent
Ryan Dahl [Mon, 21 Mar 2011 21:48:26 +0000 (14:48 -0700)]
Fix GH-819. Drop out if connection destroyed before connect()
Ryan Dahl [Mon, 21 Mar 2011 21:36:30 +0000 (14:36 -0700)]
Fix GH-820. CryptoStream.end shouldn't throw if not writable
This matches the behavior of net.Socket
Ryan Dahl [Mon, 21 Mar 2011 01:07:29 +0000 (18:07 -0700)]
Add video to index.html
Ryan Dahl [Sun, 20 Mar 2011 03:28:31 +0000 (20:28 -0700)]
add demo to home page
Ryan Dahl [Fri, 18 Mar 2011 22:49:26 +0000 (15:49 -0700)]
Use feedburner instead of wordpress
Ryan Dahl [Fri, 18 Mar 2011 22:19:12 +0000 (15:19 -0700)]
Now working on v0.4.4
Ryan Dahl [Fri, 18 Mar 2011 21:20:37 +0000 (14:20 -0700)]
bump version to v0.4.3
Ryan Dahl [Fri, 18 Mar 2011 21:24:37 +0000 (14:24 -0700)]
Merge branch 'v8-3.1' into v0.4
Ryan Dahl [Fri, 18 Mar 2011 21:22:52 +0000 (14:22 -0700)]
Upgrade V8 to 3.1.8.3
Ryan Dahl [Fri, 18 Mar 2011 18:39:44 +0000 (11:39 -0700)]
Don't call GetMemoryUsage every 5 seconds
koichik [Wed, 16 Mar 2011 19:59:55 +0000 (04:59 +0900)]
Document 'ucs2' encoding for Buffer
Aaron Heckmann [Tue, 15 Mar 2011 13:01:24 +0000 (09:01 -0400)]
EventEmitter#once only takes instanceof function
Brian White [Fri, 18 Mar 2011 05:39:39 +0000 (01:39 -0400)]
Add helpful error message for setuid/setgid when user/group id does not exist
Ryan Dahl [Fri, 18 Mar 2011 18:11:43 +0000 (11:11 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
Dean McNamee [Tue, 15 Mar 2011 22:39:16 +0000 (22:39 +0000)]
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.
Dean McNamee [Tue, 15 Mar 2011 19:48:34 +0000 (19:48 +0000)]
Don't override explicit openssl paths with pkg-config results.
Ryan Dahl [Fri, 18 Mar 2011 17:31:38 +0000 (10:31 -0700)]
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.
Ryan Dahl [Fri, 18 Mar 2011 17:01:45 +0000 (10:01 -0700)]
Fix gcc version checking for aliasing features
Ryan Dahl [Fri, 18 Mar 2011 16:14:15 +0000 (09:14 -0700)]
hello.txt should be stored in tmpdir
Ryan Dahl [Thu, 17 Mar 2011 20:49:32 +0000 (13:49 -0700)]
Don't use https for blog.nodejs.org
Ryan Dahl [Thu, 17 Mar 2011 20:32:27 +0000 (13:32 -0700)]
Link to Node blog
Ryan Dahl [Thu, 17 Mar 2011 19:49:47 +0000 (12:49 -0700)]
Remove bad assert in GetInterfaceAddresses
Daniel Ennis [Thu, 17 Mar 2011 03:12:16 +0000 (23:12 -0400)]
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.
Ryan Dahl [Wed, 16 Mar 2011 23:31:38 +0000 (16:31 -0700)]
os.getNetworkInterfaces()
Ryan Dahl [Tue, 15 Mar 2011 18:42:23 +0000 (11:42 -0700)]
correct hexSlice end
isaacs [Tue, 15 Mar 2011 18:34:47 +0000 (11:34 -0700)]
Fix invalid end handling for SlowBuffer#hexSlice
Ryan Dahl [Tue, 15 Mar 2011 17:50:24 +0000 (10:50 -0700)]
Allow script to be read from stdin
Ryan Dahl [Tue, 15 Mar 2011 17:35:49 +0000 (10:35 -0700)]
Simplify startup function in src/node.js
Ryan Dahl [Tue, 15 Mar 2011 02:53:59 +0000 (02:53 +0000)]
Working on v0.4.3-pre - oops
Ryan Dahl [Tue, 15 Mar 2011 02:50:52 +0000 (02:50 +0000)]
Fix comment in node_provider.d
Ryan Dahl [Tue, 15 Mar 2011 01:23:01 +0000 (18:23 -0700)]
Fix buffer.toString('hex')
Ryan Dahl [Tue, 15 Mar 2011 00:48:05 +0000 (17:48 -0700)]
Fix test-process-uptime.js test
Ryan Dahl [Tue, 15 Mar 2011 00:45:15 +0000 (17:45 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
Ryan Dahl [Thu, 10 Mar 2011 08:54:52 +0000 (00:54 -0800)]
Update copyright headers
Ryan Dahl [Mon, 14 Mar 2011 21:42:01 +0000 (14:42 -0700)]
Fix HTTP agent disconnection problem
https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o
Closes GH-787.
Felix Geisendörfer [Mon, 14 Mar 2011 10:16:35 +0000 (11:16 +0100)]
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.
Ryan Dahl [Mon, 14 Mar 2011 19:48:35 +0000 (12:48 -0700)]
Do not use defineGetter in src/node.js for better crankshaft perf
See: https://groups.google.com/d/topic/nodejs/xJqpp1_s6is/discussion
Theo Schlossnagle [Mon, 14 Mar 2011 19:04:00 +0000 (12:04 -0700)]
TLS: Finer locks on _cycle.
Data being sent out of order.
Ryan Dahl [Mon, 14 Mar 2011 18:30:21 +0000 (11:30 -0700)]
Extend OpenSSL expiration dates
koichik [Fri, 11 Mar 2011 16:35:02 +0000 (01:35 +0900)]
Better type checks for fd in net.js
koichik [Fri, 11 Mar 2011 16:00:46 +0000 (01:00 +0900)]
Fix GH-746 process.stdin.destroy() breaks http server
Theo Schlossnagle [Fri, 11 Mar 2011 22:11:46 +0000 (17:11 -0500)]
without this the server will not advertise support for client certs
Closes GH-774.
Ryan Dahl [Fri, 11 Mar 2011 03:08:42 +0000 (03:08 +0000)]
Use pthread_kill for V8/Solaris sampling
Ryan Dahl [Fri, 11 Mar 2011 03:06:43 +0000 (03:06 +0000)]
Sample correct registers on Solaris
http://codereview.chromium.org/6676019/
Ryan Dahl [Thu, 24 Feb 2011 01:04:14 +0000 (17:04 -0800)]
Use default backend for __sun (event ports)
Ben Noordhuis [Tue, 8 Mar 2011 20:46:20 +0000 (21:46 +0100)]
Buffer::Length(Buffer*) should not invoke itself recursively.
Closes GH-759.
Ryan Dahl [Thu, 10 Mar 2011 21:34:35 +0000 (13:34 -0800)]
Document options for https.request
Closes GH-768.
Ryan Dahl [Thu, 10 Mar 2011 20:48:07 +0000 (20:48 +0000)]
Fix V8 runtime profiler for solaris
koichik [Thu, 10 Mar 2011 17:15:05 +0000 (02:15 +0900)]
Document net.Socket() constructor
Ryan Dahl [Wed, 9 Mar 2011 18:53:06 +0000 (10:53 -0800)]
CryptoStream.prototype.destroySoon shouldn't die if not writable
Ryan Dahl [Wed, 9 Mar 2011 17:42:03 +0000 (09:42 -0800)]
Add missing v8:: namespace prefix
Tom Hughes [Sun, 6 Mar 2011 00:11:09 +0000 (18:11 -0600)]
Use higher resolution clock for uptime on Linux (if available).
Tom Hughes [Tue, 8 Mar 2011 06:00:51 +0000 (00:00 -0600)]
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.
Tony Huang [Sun, 6 Mar 2011 02:42:33 +0000 (10:42 +0800)]
add path.relative
Ryan Dahl [Mon, 7 Mar 2011 21:16:00 +0000 (13:16 -0800)]
setMaxListeners should initialize _events
Tom Hughes [Fri, 4 Mar 2011 16:37:34 +0000 (10:37 -0600)]
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).
Tom Hughes [Fri, 4 Mar 2011 23:57:54 +0000 (17:57 -0600)]
Add process.uptime().
koichik [Thu, 3 Mar 2011 16:08:12 +0000 (01:08 +0900)]
Correct some links
koichik [Thu, 3 Mar 2011 16:05:03 +0000 (01:05 +0900)]
Document allowHalfOpen for net.createServer()
Andreas Reich [Wed, 8 Dec 2010 21:39:50 +0000 (13:39 -0800)]
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.
Ryan Dahl [Thu, 3 Mar 2011 05:20:50 +0000 (21:20 -0800)]
Bump version to v0.4.2
Ryan Dahl [Thu, 3 Mar 2011 06:08:44 +0000 (22:08 -0800)]
Revert "Closes GH-85 Emit error rather than throwing."
This reverts commit
f3d364122dc12f13cbfb848576a8b152849452ea.
Landed in master instead.
isaacs [Wed, 16 Feb 2011 05:34:30 +0000 (21:34 -0800)]
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.
Ryan Dahl [Thu, 3 Mar 2011 05:21:08 +0000 (21:21 -0800)]
Disable test-http-agent2.js for the moment
Still broken.
Bert Belder [Thu, 17 Feb 2011 02:15:24 +0000 (03:15 +0100)]
Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
Ryan Dahl [Thu, 3 Mar 2011 05:04:37 +0000 (21:04 -0800)]
Upgrade V8 to 3.1.8
Tom Hughes [Thu, 3 Mar 2011 01:37:38 +0000 (19:37 -0600)]
newline should also be treated as "enter" key.
Ben Noordhuis [Fri, 29 Oct 2010 10:38:13 +0000 (12:38 +0200)]
fs.utimes() and fs.futimes() support.
koichik [Wed, 2 Mar 2011 18:32:13 +0000 (03:32 +0900)]
Correct net.createServer() API docs
koichik [Tue, 1 Mar 2011 15:35:32 +0000 (00:35 +0900)]
Fix fs.WriteStream.end(data, [encoding]) throws TypeError
Ryan Dahl [Tue, 1 Mar 2011 17:59:17 +0000 (09:59 -0800)]
SIGUSR1 should break the VM without delay
Ryan Dahl [Mon, 28 Feb 2011 20:58:15 +0000 (12:58 -0800)]
Remove -Werror from V8
isaacs [Mon, 28 Feb 2011 20:27:51 +0000 (12:27 -0800)]
Closes GH-734 Do the setuid() after chdir()
Bert Belder [Thu, 17 Feb 2011 02:15:24 +0000 (03:15 +0100)]
Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
Ryan Dahl [Mon, 28 Feb 2011 19:29:33 +0000 (11:29 -0800)]
Upgrade V8 to 3.1.7
Ryan Dahl [Mon, 28 Feb 2011 19:18:56 +0000 (11:18 -0800)]
tty.setWindowSize should use the correct function
Thanks to Matthew Woolman
Felix Geisendörfer [Fri, 25 Feb 2011 09:27:52 +0000 (10:27 +0100)]
Expose errno with a string for dns/cares
This is to mirror the behavior introduced in
aa95e5708f240810cd434911cf029f5ee70047d8.
Closes GH-727.
isaacs [Sun, 27 Feb 2011 18:21:23 +0000 (10:21 -0800)]
Closes GH-711 URL parse more safely
This does 3 things:
1. Delimiters and "unwise" characters are never included in the
hostname or path.
2. url.format will sanitize string URLs that are passed to it.
3. The parsed url's 'href' member will be the sanitized url, which may
not match the argument to url.parse.
isaacs [Fri, 18 Feb 2011 22:18:38 +0000 (14:18 -0800)]
Closes GH-690 node_modules folders should be highest priority
isaacs [Wed, 16 Feb 2011 23:40:53 +0000 (15:40 -0800)]
Closes GH-232 Make the repl's global the right thing
isaacs [Wed, 16 Feb 2011 05:34:30 +0000 (21:34 -0800)]
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.
isaacs [Wed, 16 Feb 2011 05:24:50 +0000 (21:24 -0800)]
Closes GH-184 Clear require cache on repl .clear
koichik [Wed, 23 Feb 2011 03:03:49 +0000 (12:03 +0900)]
Fix process.stdout.end() throws ENOTSOCK error.
Ryan Dahl [Sat, 26 Feb 2011 00:48:48 +0000 (16:48 -0800)]
Merge branch 'v0.4'
Ryan Dahl [Sat, 26 Feb 2011 00:42:08 +0000 (00:42 +0000)]
Support dtrace for debug build
Russell Haering [Sun, 20 Feb 2011 00:00:05 +0000 (16:00 -0800)]
http: fix missing 'drain' events
Ryan Dahl [Fri, 25 Feb 2011 01:16:11 +0000 (17:16 -0800)]
Add 'close' and 'aborted' events to Agent responses
Closes GH-722.
Ryan Dahl [Fri, 25 Feb 2011 01:06:46 +0000 (17:06 -0800)]
deprecate http.cat
Ryan Dahl [Fri, 25 Feb 2011 00:36:43 +0000 (16:36 -0800)]
typos
Nathan Rajlich [Fri, 18 Feb 2011 21:44:20 +0000 (13:44 -0800)]
Read up the prototype of the 'env' object.
Closes GH-713.
Aria Stewart [Mon, 21 Feb 2011 18:39:04 +0000 (11:39 -0700)]
Add support for specifying the libdir
Some OSes use "lib64" rather than "lib", and this lets them override
in waf to accomplish this.
Closes GH-712.
Aria Stewart [Mon, 21 Feb 2011 07:04:55 +0000 (00:04 -0700)]
libeio and http_parser build with PIC code
Fix building as a shared library
Closes GH-708.
Felix Geisendörfer [Mon, 21 Feb 2011 14:46:34 +0000 (15:46 +0100)]
Do not cache modules that throw exceptions
If a module throws an exception on load, it should not be cached.
This patch shows the problem in a test case and also fixes it.
See: https://groups.google.com/forum/#!topic/nodejs-dev/1cIrvJcADbY
Closes GH-707
Closes GH-710
Ryan Dahl [Thu, 24 Feb 2011 23:54:25 +0000 (15:54 -0800)]
Revert "Add extra debug print statement to tls.js"
This reverts commit
340291c085f629050bd66668dba7cb006f896d89.
sometimes circular. would break node_g tests.