Ryan Dahl [Tue, 16 Nov 2010 04:26:46 +0000 (20:26 -0800)]
Docs for server.address()
Ryan Dahl [Tue, 16 Nov 2010 04:23:12 +0000 (20:23 -0800)]
make doc improvements
Ryan Dahl [Tue, 16 Nov 2010 04:22:54 +0000 (20:22 -0800)]
Test and fix for self-assigned port from net.Server
Micheil Smith [Sun, 14 Nov 2010 23:50:14 +0000 (10:50 +1100)]
Better doc indexes, fix some links
Micheil Smith [Sun, 14 Nov 2010 23:50:14 +0000 (10:50 +1100)]
Build API page into build/doc; simplify doctool.
Ryan Dahl [Tue, 16 Nov 2010 03:23:47 +0000 (03:23 +0000)]
solaris -> sunos
Ryan Dahl [Tue, 16 Nov 2010 03:21:56 +0000 (19:21 -0800)]
Fix docs for vm module
Ryan Dahl [Tue, 16 Nov 2010 03:19:01 +0000 (03:19 +0000)]
Print warning when using platform_none.cc
Ryan Dahl [Tue, 16 Nov 2010 03:06:18 +0000 (03:06 +0000)]
Fix OS::GetExecutablePath for platform_none
Ryan Dahl [Tue, 16 Nov 2010 02:37:27 +0000 (18:37 -0800)]
Rename require('javascript') to require('vm')
Ryan Dahl [Mon, 15 Nov 2010 19:20:35 +0000 (11:20 -0800)]
Add .node_moudles to lookup path again
Ryan Dahl [Mon, 15 Nov 2010 18:22:24 +0000 (10:22 -0800)]
Ryan Dahl [Mon, 15 Nov 2010 08:51:01 +0000 (00:51 -0800)]
Fix docs for 'javascript' module
isaacs [Mon, 15 Nov 2010 08:40:38 +0000 (00:40 -0800)]
Make the javascript module API nodey.
Add a createScript function, and put stuff on exports instead of hiding
it in exports.Script.
Ryan Dahl [Mon, 15 Nov 2010 08:43:53 +0000 (00:43 -0800)]
Remove RonnJS not used anymore
Ryan Dahl [Mon, 15 Nov 2010 07:44:26 +0000 (23:44 -0800)]
Remove old TODO
Ryan Dahl [Mon, 15 Nov 2010 07:12:43 +0000 (23:12 -0800)]
Add small crappy manpage (please improve)
isaacs [Tue, 26 Oct 2010 21:41:06 +0000 (14:41 -0700)]
Implement new path.join behavior
1. Express desired path.join behavior in tests.
2. Update fs.realpath to reflect new path.join behavior
3. Update url.resolve() to use new path.join behavior.
Ryan Dahl [Mon, 15 Nov 2010 06:46:26 +0000 (22:46 -0800)]
Fix configure on x86
Micheil Smith [Sun, 14 Nov 2010 12:51:57 +0000 (23:51 +1100)]
Reworked and cleaned up documentation for Events
Micheil Smith [Sun, 14 Nov 2010 12:51:32 +0000 (23:51 +1100)]
Added documentation for which module to require to use the methods defined in that documentation
Micheil Smith [Sun, 14 Nov 2010 12:50:48 +0000 (23:50 +1100)]
A few changes to the style, specifically for h3 + h3
Micheil Smith [Sun, 14 Nov 2010 10:12:04 +0000 (21:12 +1100)]
Various changes to Net Documentation, ammended style for API.
isaacs [Sun, 14 Nov 2010 04:12:47 +0000 (20:12 -0800)]
writeFile fixes
writeFileSync could exhibit pathological behavior when a buffer could
not be written to the file in a single write() call.
Also, writeFile was not quite as optimized as it could be.
Ryan Dahl [Sat, 13 Nov 2010 23:18:10 +0000 (15:18 -0800)]
Use require('javascript') instead of process.binding('evals')
Ryan Dahl [Sat, 13 Nov 2010 23:08:09 +0000 (15:08 -0800)]
Remove process.compile from docs
Ryan Dahl [Sat, 13 Nov 2010 23:02:18 +0000 (15:02 -0800)]
Update gitignore for new docs
Ryan Dahl [Sat, 13 Nov 2010 22:57:35 +0000 (14:57 -0800)]
fix 'make doc'
Bert Belder [Thu, 11 Nov 2010 22:08:26 +0000 (23:08 +0100)]
Fix V8 build on Cygwin
Ben Noordhuis [Sat, 13 Nov 2010 11:58:24 +0000 (12:58 +0100)]
Add --profile flag to configure script, enables gprof profiling.
Rasmus Andersson [Sun, 24 Oct 2010 14:15:05 +0000 (16:15 +0200)]
Added support for cross compilation and also fixed DEST_CPU to represent the canonical symbols dictated by v8
Ryan Dahl [Sat, 13 Nov 2010 22:26:40 +0000 (14:26 -0800)]
Fix segfault on test-crypto
Plus random cleanups. This code needs help.
Ryan Dahl [Fri, 12 Nov 2010 22:37:05 +0000 (14:37 -0800)]
Simplify REPL displayPrompt
Now that we insert \r into the stream and aren't switching back and forth
between termios modes, not need to worry about when to display the prompt.
Ryan Dahl [Fri, 12 Nov 2010 06:42:06 +0000 (22:42 -0800)]
Upgrade V8 to 2.5.6
Ryan Dahl [Fri, 12 Nov 2010 06:36:39 +0000 (22:36 -0800)]
Add writeFilter when in the readline
Switch \n with \r\n for all strings printed out.
Necessary for writev patch.
Ryan Dahl [Fri, 12 Nov 2010 00:33:21 +0000 (16:33 -0800)]
Move ev_loop out of javascript
Ryan Dahl [Tue, 9 Nov 2010 23:43:52 +0000 (15:43 -0800)]
joyent-ize website
Ryan Dahl [Thu, 11 Nov 2010 06:32:26 +0000 (22:32 -0800)]
Remove -e from echo in test. Non-portable
Ryan Dahl [Thu, 11 Nov 2010 06:12:47 +0000 (22:12 -0800)]
Upgrade http-parser again
Ryan Dahl [Tue, 9 Nov 2010 21:49:03 +0000 (13:49 -0800)]
Upgrade http-parser
Ryan Dahl [Mon, 8 Nov 2010 01:22:36 +0000 (17:22 -0800)]
Remove util.print from docs
Use process.stdout.write()
Guillaume Tuton [Sun, 7 Nov 2010 14:34:20 +0000 (15:34 +0100)]
Set FD_CLOEXEC flag on stdio FDs before spawning.
With regression test.
Ryan Dahl [Sat, 6 Nov 2010 00:38:02 +0000 (17:38 -0700)]
Remove unnecessary ref/unref in iowatcher cb
Ben Noordhuis [Fri, 15 Oct 2010 13:48:34 +0000 (15:48 +0200)]
Make writes to process.env update the real environment. Tests included.
Ryan Dahl [Wed, 3 Nov 2010 16:02:19 +0000 (09:02 -0700)]
Install node-waf
Ryan Dahl [Wed, 3 Nov 2010 04:20:28 +0000 (21:20 -0700)]
Remove warning in 'sys' - too aggressive
Ryan Dahl [Tue, 2 Nov 2010 17:09:59 +0000 (10:09 -0700)]
Add legacy methods to Buffer
Ryan Dahl [Tue, 2 Nov 2010 01:23:13 +0000 (18:23 -0700)]
Add test for http-buffer problem
Already fixed in
7e24a05cba2373c0ab1f0629366b664a593f357f
Ryan Dahl [Mon, 1 Nov 2010 23:03:32 +0000 (16:03 -0700)]
Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
Ryan Dahl [Mon, 1 Nov 2010 21:59:30 +0000 (14:59 -0700)]
Remove old buffer api
Ryan Dahl [Mon, 1 Nov 2010 21:56:21 +0000 (14:56 -0700)]
Add missing require('fs')
Ryan Dahl [Mon, 1 Nov 2010 21:10:35 +0000 (14:10 -0700)]
Upgrade V8 to 2.5.3
Ryan Dahl [Mon, 1 Nov 2010 18:40:11 +0000 (11:40 -0700)]
Add execinfo to freebsd LINKFLAGS
Ben Noordhuis [Mon, 1 Nov 2010 19:34:11 +0000 (20:34 +0100)]
Fix 'undefined symbol' errors when loading native modules.
Oleg Efimov [Fri, 29 Oct 2010 14:10:37 +0000 (18:10 +0400)]
Add node headers installation
Oleg Efimov [Fri, 29 Oct 2010 13:07:27 +0000 (17:07 +0400)]
Add DESTDIR support to Makefile
Chandra Sekar S [Sat, 30 Oct 2010 10:06:59 +0000 (15:36 +0530)]
Removed range read optimization as it doesn't work with libeio.
Ryan Dahl [Mon, 1 Nov 2010 02:31:22 +0000 (19:31 -0700)]
Clean up 'make clean'
Ryan Dahl [Sun, 31 Oct 2010 00:03:12 +0000 (17:03 -0700)]
Improper use of CFLAGS
Ryan Dahl [Sat, 30 Oct 2010 23:10:55 +0000 (16:10 -0700)]
Add configure --enable-debug to make it build both
Ryan Dahl [Sat, 30 Oct 2010 20:31:51 +0000 (13:31 -0700)]
De-indent dns.lookup
Ryan Dahl [Sat, 30 Oct 2010 19:52:53 +0000 (12:52 -0700)]
Make sure watcher.set() isn't being called when active
Ryan Dahl [Sat, 30 Oct 2010 19:04:30 +0000 (12:04 -0700)]
Fix argv[6] comment in node_file
Micheil Smith [Sat, 30 Oct 2010 17:01:46 +0000 (04:01 +1100)]
Rewrite libeio After callback to use req->result instead of req->errorno for error checking
Ryan Dahl [Sat, 30 Oct 2010 18:13:55 +0000 (11:13 -0700)]
Delete libv8 in 'make clean'
Ryan Dahl [Sat, 30 Oct 2010 18:13:37 +0000 (11:13 -0700)]
Upgrade V8 to 2.5.2
Ryan Dahl [Fri, 29 Oct 2010 23:49:39 +0000 (23:49 +0000)]
Changes to compile on solaris
Ryan Dahl [Fri, 29 Oct 2010 07:00:43 +0000 (00:00 -0700)]
Handle null values in clearTimeout
Ryan Dahl [Fri, 29 Oct 2010 02:43:00 +0000 (19:43 -0700)]
Install node-waf
Ryan Dahl [Fri, 29 Oct 2010 02:41:44 +0000 (19:41 -0700)]
X the node-repl script
Micheil Smith [Thu, 28 Oct 2010 23:52:33 +0000 (10:52 +1100)]
Disable make manpage, this is broken and can prevent node from installing correctly.
Ryan Dahl [Thu, 28 Oct 2010 22:10:20 +0000 (15:10 -0700)]
Fix make doc
Micheil Smith [Thu, 28 Oct 2010 22:00:16 +0000 (09:00 +1100)]
Removing the old doc templates, and doc javascript
Micheil Smith [Thu, 28 Oct 2010 20:00:28 +0000 (07:00 +1100)]
More simplification of the templating & rendering.
Micheil Smith [Thu, 28 Oct 2010 19:50:53 +0000 (06:50 +1100)]
Added a single page version, moved index to be standard page.
Micheil Smith [Thu, 28 Oct 2010 12:18:54 +0000 (23:18 +1100)]
Adding build tools & templates/assets
Micheil Smith [Thu, 28 Oct 2010 12:18:16 +0000 (23:18 +1100)]
Splitting documentation
Ryan Dahl [Thu, 28 Oct 2010 20:15:53 +0000 (13:15 -0700)]
Lazy load modules in net.js
Ryan Dahl [Thu, 28 Oct 2010 20:02:51 +0000 (13:02 -0700)]
Remove a little redundancy
Ryan Dahl [Thu, 28 Oct 2010 19:34:46 +0000 (12:34 -0700)]
Handle one more onReadable call from crypto
MUST get rid of this calledByIOWatcher stuff. Hopefully will be able to when
securepair stuff lands.
Ryan Dahl [Thu, 28 Oct 2010 18:42:22 +0000 (11:42 -0700)]
Abstract out a Server.prototype.pause method
Ryan Dahl [Thu, 28 Oct 2010 18:33:33 +0000 (11:33 -0700)]
Abstract out net.Server.prototype._rejectPending
Does the same timeout action for maxConnections as it does for EMFILE.
Jonas Pfenniger [Thu, 28 Oct 2010 10:02:44 +0000 (12:02 +0200)]
Module-level EMFILE handling
All net servers now share the same dummy socket. The ulimit warning is
throttled for all servers.
Rasmus Andersson [Mon, 25 Oct 2010 22:44:48 +0000 (00:44 +0200)]
Build system improvements: (cross compilation, libnode, etc)
- utilizing autoconf configure.guess to output canonical $target_{cpu,vendor,os}
- normalizing $target_cpu --> $arch according to v8 naming scheme
- normalizing $target_os --> $platform according to v8 naming scheme
- renamed c-ares platform-arch directories to represent v8 canonical names
- new targets in Makefile: libnode-{static,dynamic}[-debug]
- scons is symbolized as SCONS in Makefile for portability/flexibility.
- LINKFLAGS inherith from LDFLAGS ("magic" variable exported by autoconf and configure).
- When building on OS X, CFLAGS and LDFLAGS will contain appropriate -arch flag, set up by configure (instead of the Makefile).
- libv8.a make targets cleaned up with unison libv8_flags set of flags.
- the clean make target now cleans up libraries (libv8, libnode, etc).
- added config.guess, config.sub and install-sh (utilized by autoconf/configure)
isaacs [Mon, 25 Oct 2010 19:28:53 +0000 (12:28 -0700)]
Handle cyclic links smarter in fs.realpath
Rather than aborting in the face of *any* repeated link in a given path,
instead only abort if such a cycle actually makes a given path unresolvable.
Test for this by doing a normal stat. Still use the seenLinks object to
cache link contents so as to cut own a little bit on readlink calls.
Also add a pathological test that fails without the change to fs.js.
isaacs [Sat, 23 Oct 2010 23:44:19 +0000 (16:44 -0700)]
Let exit listeners know the exit code
Jorge Chamorro Bieling [Sat, 23 Oct 2010 20:39:25 +0000 (22:39 +0200)]
make "node --eval" eval in the global scope.
Ryan Dahl [Wed, 27 Oct 2010 22:29:08 +0000 (15:29 -0700)]
Refactor callbacks in net.Stream for fewer closures
Ryan Dahl [Wed, 27 Oct 2010 19:08:47 +0000 (12:08 -0700)]
Add extra anti-DoS tech to net.Server
Ryan Dahl [Wed, 27 Oct 2010 09:52:49 +0000 (02:52 -0700)]
Improve idle benchmarks
Ryan Dahl [Wed, 27 Oct 2010 09:10:14 +0000 (02:10 -0700)]
Gracefully handle EMFILE
Implementing a tip from Marc Lehmann:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#The_special_problem_of_accept_ing_wh
Keep an extra FD around for every server. When you hit EMFILE, destroy that
FD, accept a connection, close it; in this way you can clear the connection
queue and let people know that you're overload.
No more timeout needed.
Tim-Smart [Tue, 26 Oct 2010 04:05:04 +0000 (17:05 +1300)]
Style changes.
Ryan Dahl [Tue, 26 Oct 2010 19:52:31 +0000 (12:52 -0700)]
Use the timer list for setTimeout
Ryan Dahl [Tue, 26 Oct 2010 19:14:17 +0000 (12:14 -0700)]
Move setTimeout and friends into timers module
Ryan Dahl [Tue, 26 Oct 2010 18:56:32 +0000 (11:56 -0700)]
Move idle timers into its own module
Ryan Dahl [Tue, 26 Oct 2010 20:43:58 +0000 (13:43 -0700)]
Add C++ API for constructing fast buffer from string
Ryan Dahl [Tue, 26 Oct 2010 18:31:32 +0000 (11:31 -0700)]
Remove old TODOs
Ryan Dahl [Tue, 26 Oct 2010 18:31:01 +0000 (11:31 -0700)]
Fix permissions on http.js
Ryan Dahl [Tue, 26 Oct 2010 08:10:32 +0000 (01:10 -0700)]
Remove old todo
Ryan Dahl [Tue, 26 Oct 2010 05:04:39 +0000 (22:04 -0700)]
allowHalfOpen disabled by default
Users too often would forget to add
socket.on('end', function () {
socket.end();
});
Which is a mistake. Therefore we default to this behavior and
only optionally let people handle the 'end' case themselves.