Ryan Dahl [Sat, 3 Jul 2010 08:54:35 +0000 (10:54 +0200)]
Use 'on' in the docs
Ryan Dahl [Sat, 3 Jul 2010 07:30:32 +0000 (09:30 +0200)]
Experimental: 'on' as alias to 'addListener'
Ryan Dahl [Sat, 3 Jul 2010 06:34:15 +0000 (08:34 +0200)]
bump version
Ryan Dahl [Sat, 3 Jul 2010 06:36:33 +0000 (08:36 +0200)]
Upgrade V8 to 2.2.21
Peter Griess [Tue, 22 Jun 2010 20:46:55 +0000 (15:46 -0500)]
Doc fixes for FD related features, upgrade.
- Add docs for 'fd' events, Server.listenFD(), Stream.write(...[, fd])
and http.Client 'upgrade' event.
Ryan Dahl [Sat, 3 Jul 2010 06:16:36 +0000 (08:16 +0200)]
Fix undefined_reference_in_new_context test
Ryan Dahl [Fri, 2 Jul 2010 06:36:53 +0000 (23:36 -0700)]
Remove unnecessary defines in node_events.cc
Ryan Dahl [Thu, 1 Jul 2010 21:31:42 +0000 (14:31 -0700)]
Add my awk script to update AUTHORS file
Ryan Dahl [Thu, 1 Jul 2010 21:29:06 +0000 (14:29 -0700)]
Amend .gitignore
Ryan Dahl [Thu, 1 Jul 2010 18:10:22 +0000 (11:10 -0700)]
Revert "Fix 'uncaughtException' for top level exceptions"
This reverts commit
8f8dcf8ed63b19a6c20915e12af83a3ad792f1d2.
Ryan Dahl [Wed, 30 Jun 2010 22:03:45 +0000 (15:03 -0700)]
Fix 'uncaughtException' for top level exceptions
Done by not evaluating the code in the first tick.
This breaks one test in test-error-reporting.js but I believe this to be a
V8 error and I have reported it in
http://code.google.com/p/v8/issues/detail?id=764
Ryan Dahl [Wed, 30 Jun 2010 21:30:35 +0000 (14:30 -0700)]
Clean up indention on module compile
Remove strange code artifact
Ryan Dahl [Wed, 30 Jun 2010 07:54:03 +0000 (00:54 -0700)]
Expose new HTTP methods
Blake Mizerany [Wed, 30 Jun 2010 06:12:46 +0000 (23:12 -0700)]
fix whitespace errors
Dmitry Baranovskiy [Tue, 29 Jun 2010 08:24:43 +0000 (18:24 +1000)]
Rewrote QueryString.parse to make it smaller and more effective.
Also added ability to parse foo.bar=4 equal to foo[bar]=4
Added tests for this as well
Ryan Dahl [Wed, 30 Jun 2010 04:20:32 +0000 (21:20 -0700)]
Resolve .local domains with getaddrinfo()
C-Ares doesn't go through the Name Service Switch (NSS) and thus can't
resolve certain classes of names. Generally this doesn't matter and the
whole idea of NSS is rather annoying. Nevertheless until C-Ares gets better
support, adding this hack to go through getaddrinfo() for .local domain look
up.
This reverts commit
9926dacd14c39276299712ced4a83fb043f27162.
Matt Ranney [Wed, 30 Jun 2010 03:10:01 +0000 (20:10 -0700)]
On overlapping buffers use memmove
Blake Mizerany [Wed, 30 Jun 2010 02:10:39 +0000 (19:10 -0700)]
Buffer.prototype.write: Indifferent order preference of encoding and offset
Ryan Dahl [Tue, 29 Jun 2010 16:36:50 +0000 (09:36 -0700)]
Revert "Buffer.copy should copy through sourceEnd, as specified."
This reverts commit
a2f70da4c9bf14a6e0c4a17cac11a5ab555ce90f.
Keep tests modifies a few edge checks on Copy()
Ryan Dahl [Wed, 30 Jun 2010 02:28:59 +0000 (19:28 -0700)]
Fix incorrect output on docs
Dmitry Baranovskiy [Mon, 28 Jun 2010 01:57:11 +0000 (11:57 +1000)]
Refactored isA, isBool, etc functions to use some of ES5 goodness.
Dmitry Baranovskiy [Mon, 28 Jun 2010 01:05:22 +0000 (11:05 +1000)]
sys.inherts to shadow constructor property from enumerability
thanks to ES5 features in V8 it is quite easily possible.
Ryan Dahl [Tue, 29 Jun 2010 16:53:12 +0000 (09:53 -0700)]
console.log: if not string, coerce into one
Ryan Dahl [Tue, 29 Jun 2010 04:09:44 +0000 (21:09 -0700)]
Simply C++ event emitter
Ryan Dahl [Tue, 29 Jun 2010 04:12:33 +0000 (21:12 -0700)]
If not string, console.log should just print it without trying to format
Ryan Dahl [Tue, 29 Jun 2010 03:47:12 +0000 (20:47 -0700)]
Stub out console.log format strings, info, warn, error
Ryan Dahl [Tue, 29 Jun 2010 00:27:17 +0000 (17:27 -0700)]
Lint node_script.cc
Ryan Dahl [Mon, 28 Jun 2010 22:37:29 +0000 (15:37 -0700)]
Use EVBACKEND_POLL on Solaris; select() is just a wrapper anyway
Ruben Rodriguez [Thu, 24 Jun 2010 10:17:05 +0000 (05:17 -0500)]
Added new API to Script, and implemented it in the REPL
Ryan Dahl [Mon, 28 Jun 2010 15:47:01 +0000 (08:47 -0700)]
Upgrade V8 to 2.2.20
Rasmus Andersson [Sun, 27 Jun 2010 11:51:39 +0000 (13:51 +0200)]
Use all available CPUs when building
Automatically set Options.options.jobs to the number of CPUs/cores on the
executing machine, unless the environment variable JOBS is set
Ryan Dahl [Fri, 25 Jun 2010 16:46:10 +0000 (09:46 -0700)]
Fix supported archs on website
Matt Ranney [Thu, 24 Jun 2010 19:26:23 +0000 (12:26 -0700)]
Buffer.copy should copy through sourceEnd, as specified.
Improve test-buffer.js to cover all copy error cases.
Fix off by one error in string_decoder.
Ryan Dahl [Thu, 24 Jun 2010 21:23:12 +0000 (14:23 -0700)]
Fix authors
Ryan Dahl [Thu, 24 Jun 2010 16:37:18 +0000 (09:37 -0700)]
Remove switch-replace residue
Ryan Dahl [Thu, 24 Jun 2010 14:51:45 +0000 (07:51 -0700)]
Edit binary encoding docs
Ryan Dahl [Thu, 24 Jun 2010 04:10:13 +0000 (21:10 -0700)]
Upgrade http-parser
Ryan Dahl [Thu, 24 Jun 2010 03:31:48 +0000 (20:31 -0700)]
Upgrade V8 to 2.2.19
Ryan Dahl [Thu, 24 Jun 2010 00:40:51 +0000 (17:40 -0700)]
:%s/sys.puts/console.log/g
and there was much rejoicing
Ryan Dahl [Wed, 23 Jun 2010 22:27:56 +0000 (15:27 -0700)]
Fix name in AUTHORS file
Ryan Dahl [Wed, 23 Jun 2010 16:09:15 +0000 (09:09 -0700)]
Fix error message
Ryan Dahl [Wed, 23 Jun 2010 02:37:29 +0000 (19:37 -0700)]
Remove ini.js
Ryan Dahl [Wed, 23 Jun 2010 02:33:01 +0000 (19:33 -0700)]
Remove mjsunit from repo
Mikeal Rogers [Sat, 29 May 2010 00:52:59 +0000 (17:52 -0700)]
Add sys.pump
Ryan Dahl [Tue, 22 Jun 2010 20:23:45 +0000 (13:23 -0700)]
Fix names in AUTHORS file
Ryan Dahl [Tue, 22 Jun 2010 20:14:03 +0000 (13:14 -0700)]
Don't use NULL in realpath() on darwin, doesn't work in older versions
Thanks to Peter Griess <pg@std.in> for the bug report.
Ryan Dahl [Tue, 22 Jun 2010 09:09:58 +0000 (02:09 -0700)]
Doc process.execPath
Marshall Culpepper [Tue, 22 Jun 2010 06:31:19 +0000 (01:31 -0500)]
Initial implementation of process.execPath
Darwin, Linux, Solaris. FreeBSD still needs testing.
TODO: Amend the tests where we use spawn with argv[0].
Ryan Dahl [Tue, 22 Jun 2010 03:41:53 +0000 (20:41 -0700)]
Fix bad email addresses in authors file
Ryan Dahl [Tue, 22 Jun 2010 01:54:28 +0000 (18:54 -0700)]
Add Contributor License Agreement.
Ryan Dahl [Tue, 22 Jun 2010 00:03:19 +0000 (17:03 -0700)]
Add other OSes to website
Ryan Dahl [Mon, 21 Jun 2010 20:34:10 +0000 (13:34 -0700)]
bump version
Peter Griess [Mon, 21 Jun 2010 18:53:17 +0000 (13:53 -0500)]
Only concatenate some incoming HTTP headers.
- Concatenate 'accept', 'accept-charset', 'accept-encoding',
'accept-language', 'connection', 'cookie', and 'x-*' headers.
- For all others, drop duplicates.
Ryan Dahl [Mon, 21 Jun 2010 17:21:55 +0000 (10:21 -0700)]
wscript shouldn't fail if 'git describe' doesn't work
Ryan Dahl [Sun, 20 Jun 2010 18:54:51 +0000 (11:54 -0700)]
Don't encourage strange ideas about req race conditions
Ryan Dahl [Sun, 20 Jun 2010 06:13:28 +0000 (23:13 -0700)]
Fix race condition in test-http-exceptions.js
Ryan Dahl [Sun, 20 Jun 2010 05:31:15 +0000 (22:31 -0700)]
Comment out lines with full paths in message test.
Note that * in the .out files is a special wildcard.
Ryan Dahl [Sun, 20 Jun 2010 03:30:49 +0000 (20:30 -0700)]
Execute message tests by default
Ryan Dahl [Sun, 20 Jun 2010 02:31:09 +0000 (19:31 -0700)]
script.runIn*Context not throwing errors properly.
Ryan Dahl [Sun, 20 Jun 2010 00:41:34 +0000 (17:41 -0700)]
Fix message tests
Ryan Dahl [Sat, 19 Jun 2010 01:14:06 +0000 (18:14 -0700)]
Add message tests
Micheil Smith [Fri, 18 Jun 2010 09:46:10 +0000 (19:46 +1000)]
test-child-process-custom-fds to cleanup after running
Micheil Smith [Fri, 18 Jun 2010 17:34:56 +0000 (10:34 -0700)]
Renaming tcp tests to net tests
Micheil Smith [Fri, 18 Jun 2010 09:42:58 +0000 (19:42 +1000)]
Coding style changes, added tests in for the md5, sha256, etc methods
Ryan Dahl [Fri, 18 Jun 2010 16:46:18 +0000 (09:46 -0700)]
Add platform_none for cygwin build
Ryan Dahl [Fri, 18 Jun 2010 01:36:31 +0000 (18:36 -0700)]
Fix platform_linux.cc, missing include
Ryan Dahl [Fri, 18 Jun 2010 01:23:40 +0000 (18:23 -0700)]
Add platform files, move getmem to node::OS class.
Ryan Dahl [Thu, 17 Jun 2010 22:38:02 +0000 (15:38 -0700)]
Fix text about threads on homepage
Ryan Dahl [Wed, 16 Jun 2010 18:45:48 +0000 (11:45 -0700)]
Upgrade V8 to 2.2.18
Peter Griess [Tue, 15 Jun 2010 17:35:49 +0000 (12:35 -0500)]
Support 'upgrade' event in HTTP client.
- Add a unit test for client HTTP upgrade.
- Move around unit tests for server HTTP upgrade.
Ryan Dahl [Wed, 16 Jun 2010 18:00:43 +0000 (11:00 -0700)]
Add callback to dgramSocket.send()
David Siegel [Wed, 16 Jun 2010 17:42:55 +0000 (10:42 -0700)]
Add UDP broadcast support
Ryan Dahl [Wed, 16 Jun 2010 17:28:46 +0000 (10:28 -0700)]
Fix writeFile(buffer) test
Micheil Smith [Wed, 16 Jun 2010 13:51:19 +0000 (23:51 +1000)]
Adding path.existsSync (with tests.)
isaacs [Wed, 16 Jun 2010 07:24:41 +0000 (00:24 -0700)]
Throw exceptions, not strings
Aaron Heckmann [Wed, 16 Jun 2010 04:52:15 +0000 (00:52 -0400)]
fs.writeFile accepts Buffers
Ryan Dahl [Wed, 16 Jun 2010 03:04:29 +0000 (20:04 -0700)]
Fix Linux build
Peter Dekkers [Mon, 7 Jun 2010 20:52:20 +0000 (22:52 +0200)]
Fixed incorrect mask for determining fs.Stats types
isaacs [Tue, 15 Jun 2010 04:13:09 +0000 (21:13 -0700)]
A replacement for decodeURIComponent that doesn't throw.
And add a few more tests.
Ryan Dahl [Wed, 16 Jun 2010 01:29:45 +0000 (18:29 -0700)]
RootCaCerts shouldn't be global
Ryan Dahl [Wed, 16 Jun 2010 01:19:25 +0000 (18:19 -0700)]
Refactor: Utf8Decoder -> StringDecoder
Instead of just decoding Utf8, this will proxy requests to buffer.toString()
for other encodings. This makes for a simpler interface.
Peter Griess [Tue, 15 Jun 2010 20:33:44 +0000 (15:33 -0500)]
Wrap FD in closure before emitting from Stream.
- Without this, recvMsg can be invoked before the event emitter gets a
chance to run. In this case, recvMsg.fd will be overwritten and the
original caller can end up emitting null.
Ryan Dahl [Tue, 15 Jun 2010 21:52:00 +0000 (14:52 -0700)]
Upgrade V8 to 2.2.17
Ben Lowery [Tue, 15 Jun 2010 19:16:08 +0000 (15:16 -0400)]
Coerce each argument to a String before attempting to print it via sys.print
Ryan Dahl [Tue, 15 Jun 2010 20:35:47 +0000 (13:35 -0700)]
More lint on node_crypto
Ryan Dahl [Tue, 15 Jun 2010 20:31:59 +0000 (13:31 -0700)]
Fix a bunch of memory leaks in node_crypto
Ryan Dahl [Tue, 15 Jun 2010 20:16:20 +0000 (13:16 -0700)]
Lint node_crypto.cc
Ryan Dahl [Tue, 15 Jun 2010 19:41:14 +0000 (12:41 -0700)]
Remove unused code from node_crypto
Ryan Dahl [Tue, 15 Jun 2010 19:38:22 +0000 (12:38 -0700)]
Soft deprecation of 'listening' event.
Add callback param to listen() instead
Peter Griess [Tue, 15 Jun 2010 18:44:33 +0000 (11:44 -0700)]
Test case for net.Server.listenFD()
isaacs [Sun, 13 Jun 2010 06:03:11 +0000 (23:03 -0700)]
Expose the FD numbers for stdin and stderr on process.binding("stdio")
Ryan Dahl [Mon, 14 Jun 2010 21:38:40 +0000 (14:38 -0700)]
Fix memory leak in hash.update()
Ryan Dahl [Mon, 14 Jun 2010 20:10:23 +0000 (13:10 -0700)]
Merge Hash.init() function into JS constructor
Felix Geisendörfer [Mon, 14 Jun 2010 17:34:34 +0000 (19:34 +0200)]
Fix: fs.writeFile could not handle utf8
Paul Querna [Sat, 12 Jun 2010 09:40:24 +0000 (02:40 -0700)]
Implement datagram sockets
- Adds new dgram module, for all data-gram type transports
- Supports both UDP client and servers
- Supports Unix Daemon sockets in DGRAM mode too (think syslog)
- Uses a shared Buffer and slices that as needed to be reasonably
performant.
- One supplied test program so far, test-dgram-pingpong
- Passes test cases on osx 10.6 and ubuntu 9.10u
isaacs [Fri, 11 Jun 2010 20:59:18 +0000 (13:59 -0700)]
Fix #169. Expose require members in the repl.
This fixes #169 by putting the require members onto the cwdRequire function
which is exposed to the repl scope.
Brian McKenna [Fri, 11 Jun 2010 11:25:05 +0000 (21:25 +1000)]
Make addon building work for Cygwin.
isaacs [Thu, 10 Jun 2010 21:56:59 +0000 (14:56 -0700)]
Remove "uri" module.
The deprecation warning was broken, so clearly no one is using this thing.
Ryan Dahl [Fri, 11 Jun 2010 20:16:08 +0000 (13:16 -0700)]
Add Orlando to changelog
Ryan Dahl [Wed, 9 Jun 2010 23:13:40 +0000 (16:13 -0700)]
bump version