Ryan Dahl [Tue, 28 Sep 2010 18:42:47 +0000 (11:42 -0700)]
Fix style in node_crypto.cc
Ryan Dahl [Tue, 28 Sep 2010 18:38:27 +0000 (11:38 -0700)]
Rename some SecureStream methods
Ryan Dahl [Tue, 28 Sep 2010 18:14:24 +0000 (11:14 -0700)]
lazy load crypto binding
Ryan Dahl [Tue, 28 Sep 2010 18:05:10 +0000 (11:05 -0700)]
fix style in net.js
Ryan Dahl [Tue, 28 Sep 2010 10:17:44 +0000 (03:17 -0700)]
Put preprocessor defines into CPPFLAGS not compile flags...
Ryan Dahl [Tue, 28 Sep 2010 10:08:00 +0000 (03:08 -0700)]
Disable a few more libev features
Ryan Dahl [Tue, 28 Sep 2010 09:31:31 +0000 (02:31 -0700)]
Remove require('buffer') in built-in libraries.
Aaron Heckmann [Thu, 23 Sep 2010 12:14:16 +0000 (08:14 -0400)]
quicker loops
Ryan Dahl [Tue, 28 Sep 2010 08:14:38 +0000 (01:14 -0700)]
output time of function calls
Ryan Dahl [Fri, 24 Sep 2010 09:21:17 +0000 (11:21 +0200)]
Fix timing on I/O benchmark
Ryan Dahl [Fri, 24 Sep 2010 02:55:26 +0000 (19:55 -0700)]
Add function_call benchmark
Fedor Indutny [Wed, 22 Sep 2010 12:51:53 +0000 (19:51 +0700)]
Fixed 'upgrade' event for httpclient
onend and ondata was cleaning on parser end
isaacs [Thu, 23 Sep 2010 00:58:08 +0000 (17:58 -0700)]
Don't use stat in fs.readFile[Sync]
Original patch c/o Evan Larkin <evan.larkin.iit@gmail.com>
Ryan Dahl [Wed, 22 Sep 2010 18:14:58 +0000 (11:14 -0700)]
Revert "Upgrade V8 to 2.4.5"
This reverts commit
e2274412488ab310decb8494ab41009342b3c2f6.
Build fails on mac
Tj Holowaychuk [Wed, 22 Sep 2010 17:11:37 +0000 (10:11 -0700)]
Fixed fs.ReadStream() start: 0 bug
Ryan Dahl [Wed, 22 Sep 2010 17:21:15 +0000 (10:21 -0700)]
Upgrade V8 to 2.4.5
Mikeal Rogers [Wed, 22 Sep 2010 17:16:18 +0000 (10:16 -0700)]
HTTP: close connection on connection:close header.
rnewson found a good bug in keep-alive. we were only using the request
headers we send to enable/disable keep-alive but when the server sends
Connection: close we need to close down the connection regardless.
I wrote up a patch the Robert verified makes all his test client code work
now and I also added a new unittest for it.
isaacs [Tue, 21 Sep 2010 23:51:55 +0000 (16:51 -0700)]
Don't try to run extension loaders unless they're actually functions
Ryan Dahl [Mon, 20 Sep 2010 23:51:47 +0000 (16:51 -0700)]
Don't choose jobs based on processor
Leads to lots of builds with out-of-memory.
Ryan Dahl [Mon, 20 Sep 2010 19:52:07 +0000 (12:52 -0700)]
More explicit openssl configure warning
Ryan Dahl [Mon, 20 Sep 2010 17:03:50 +0000 (10:03 -0700)]
Fix test/message/undefined_reference_in_new_context
Tim-Smart [Mon, 20 Sep 2010 01:50:26 +0000 (13:50 +1200)]
Remove registerExtension, add .extensions. Tests.
Updated extensions tests
Jorge Chamorro Bieling [Sun, 19 Sep 2010 08:05:01 +0000 (10:05 +0200)]
sys.js: --needless Object.keys() --needless .map() in a single patch
Ryan Dahl [Mon, 20 Sep 2010 00:22:18 +0000 (17:22 -0700)]
Tag release versions in 'process.version'
isaacs [Sun, 19 Sep 2010 23:00:46 +0000 (16:00 -0700)]
Remove require.async
This patch removes require.async from nodejs.
1. It complicated the code unnecessarily.
2. Everyone uses sync require anyway.
3. It's got a lot of weird edge cases when mixed with sync require.
4. It is many months behind the commonjs spec anyhow.
Paul Querna [Sun, 19 Sep 2010 22:20:35 +0000 (15:20 -0700)]
Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
Ryan Dahl [Sun, 19 Sep 2010 21:25:13 +0000 (14:25 -0700)]
Forgot to include node_main.cc
Jorge Chamorro Bieling [Sun, 19 Sep 2010 19:54:41 +0000 (21:54 +0200)]
sys.js: sys.inspect: show function names
Ryan Dahl [Sun, 19 Sep 2010 20:32:46 +0000 (13:32 -0700)]
Update TODO
Ryan Dahl [Sun, 19 Sep 2010 20:13:57 +0000 (13:13 -0700)]
Add node::Start()
first step towards building a libnode.a
Ryan Dahl [Sun, 19 Sep 2010 18:53:32 +0000 (11:53 -0700)]
Pass correct message in HTTP client upgrade
Simplify and correct test.
Fix by Fedor Indutny.
Ryan Dahl [Sun, 19 Sep 2010 18:20:25 +0000 (11:20 -0700)]
Revert requireNative changes: 4e6b9b0, d429033, 6abbfa0, bcad540
The REPL needs the full require(); add test for that behavior.
Ryan Dahl [Fri, 17 Sep 2010 08:06:44 +0000 (01:06 -0700)]
Remove process._byteLength
Ryan Dahl [Fri, 17 Sep 2010 07:23:17 +0000 (00:23 -0700)]
Remove process.evalcx
Ryan Dahl [Fri, 17 Sep 2010 07:15:44 +0000 (00:15 -0700)]
Move IOWatcher and Timer to process.binding
Ryan Dahl [Fri, 17 Sep 2010 07:03:17 +0000 (00:03 -0700)]
Finally remove process.unloop
Ryan Dahl [Fri, 17 Sep 2010 07:01:07 +0000 (00:01 -0700)]
Remove process.global
Ryan Dahl [Fri, 17 Sep 2010 06:22:58 +0000 (23:22 -0700)]
Add require('constants')
Ryan Dahl [Fri, 17 Sep 2010 06:16:36 +0000 (23:16 -0700)]
Add TODO item
Ryan Dahl [Fri, 17 Sep 2010 06:13:03 +0000 (23:13 -0700)]
Move constants out of process object
Ryan Dahl [Fri, 17 Sep 2010 05:22:38 +0000 (22:22 -0700)]
Add items to TODO
Ryan Dahl [Fri, 17 Sep 2010 04:33:32 +0000 (21:33 -0700)]
Upgrade V8 to 2.4.4
Ryan Dahl [Fri, 17 Sep 2010 04:07:22 +0000 (21:07 -0700)]
^c to get out of '...' in REPL
Ryan Dahl [Fri, 17 Sep 2010 03:50:56 +0000 (20:50 -0700)]
Simplify REPL
Ryan Dahl [Fri, 17 Sep 2010 02:04:09 +0000 (19:04 -0700)]
Safe constructors for fs.ReadStream and fs.WriteStream
Ryan Dahl [Fri, 17 Sep 2010 01:51:50 +0000 (18:51 -0700)]
Remove old versions of fs.read and fs.write from docs
Paul Querna [Thu, 16 Sep 2010 22:27:25 +0000 (15:27 -0700)]
Use the Apple recommended way of detecting OSX Versions
to enable KQueue, rather than deciding based on the compiler version.
Paul Querna [Thu, 16 Sep 2010 21:58:04 +0000 (14:58 -0700)]
Move dns.isIP to net.isIP
Add tests and docs.
Ryan Dahl [Thu, 16 Sep 2010 21:59:55 +0000 (14:59 -0700)]
Remove deprecation warnings in net module
Ryan Dahl [Thu, 16 Sep 2010 21:49:12 +0000 (14:49 -0700)]
Remove deprecation warnings in http module
Ryan Dahl [Thu, 16 Sep 2010 21:40:41 +0000 (14:40 -0700)]
Handle writeStream errors in sys.pump
Herbert Vojčík [Thu, 16 Sep 2010 11:08:09 +0000 (13:08 +0200)]
Common subexpression in emit.
Herbert Vojčík [Thu, 16 Sep 2010 12:30:08 +0000 (14:30 +0200)]
No need to do if (internalModuleCache...), it's in requireNative.
Herbert Vojčík [Thu, 16 Sep 2010 12:04:37 +0000 (14:04 +0200)]
Module system moved to the bottom, where only is it needed.
(this also splits the file into upper "setup" and lower "startup" sections)
Herbert Vojčík [Thu, 16 Sep 2010 11:53:45 +0000 (13:53 +0200)]
m.id unneccessary, id is enough.
Herbert Vojčík [Wed, 15 Sep 2010 22:16:57 +0000 (00:16 +0200)]
Natives having their own self-contained minimalistic module system.
The main system is built upon this, and is optional, if only natives
are used in application (eg. node-core).
Natives not loaded into own context if NODE_MODULE_CONTEXTS=1.
This have its inner logic, if natives are seen just as lazy-loaded
parts of the core.
Ryan Dahl [Wed, 15 Sep 2010 23:17:11 +0000 (16:17 -0700)]
Remove a few old deprecation warnings
Sam Stephenson [Wed, 15 Sep 2010 14:52:23 +0000 (09:52 -0500)]
Send multiple header lines in ServerResponse#writeHead when header values are arrays
Ryan Dahl [Wed, 15 Sep 2010 22:47:28 +0000 (15:47 -0700)]
shorten some lines in events.js
Ryan Dahl [Wed, 15 Sep 2010 22:20:04 +0000 (15:20 -0700)]
Optimize emit for two arguments
Ryan Dahl [Wed, 15 Sep 2010 06:02:48 +0000 (23:02 -0700)]
Make a list of known globals
And fix missing var!
It would be good to get this script running at the end of every test, so we
know that modules aren't leaking either - but it will require a lot
modification of the tests so that they themselves aren't leaking globals.
Ryan Dahl [Tue, 14 Sep 2010 22:39:27 +0000 (15:39 -0700)]
Default value for second arg of Buffer#slice
Mark Nottingham [Thu, 9 Sep 2010 06:29:35 +0000 (16:29 +1000)]
Support for outgoing HTTP trailing headers
Ryan Dahl [Tue, 14 Sep 2010 17:29:56 +0000 (10:29 -0700)]
Use child_process.exec rather than sys.exec
isaacs [Tue, 14 Sep 2010 16:23:48 +0000 (09:23 -0700)]
Bug in realpath with symlinks to absolute folder paths which have children.
Found by Cliffano Subagio
http://groups.google.com/group/nodejs/browse_thread/thread/
f46f093938265ac0/
387e14da08c7dd7b?
Ryan Dahl [Mon, 13 Sep 2010 22:40:20 +0000 (15:40 -0700)]
Upgrade libeio
Peter Griess [Mon, 13 Sep 2010 18:54:30 +0000 (13:54 -0500)]
Get rid of PHP/Rails style parameter munging.
- Handle only the most basic of query string parsing and construction.
Leave the rest (e.g. Rails/PHP behaviors) to modules higher up the
stack, like Express.
Tony Metzidis [Sat, 11 Sep 2010 07:44:29 +0000 (00:44 -0700)]
Catch Exceptions thrown when openssl is disabled
Tony Metzidis [Sat, 11 Sep 2010 04:37:43 +0000 (21:37 -0700)]
- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'
Ryan Dahl [Mon, 13 Sep 2010 18:40:04 +0000 (11:40 -0700)]
Fix style in node_object_wrap.h
Ryan Dahl [Mon, 13 Sep 2010 04:58:06 +0000 (21:58 -0700)]
Add lfs flags to node addon script
Ryan Dahl [Mon, 13 Sep 2010 04:47:56 +0000 (21:47 -0700)]
Fix style in readline
Ryan Dahl [Mon, 13 Sep 2010 04:23:53 +0000 (21:23 -0700)]
Add SIGWINCH handler for readline
Ryan Dahl [Sun, 12 Sep 2010 03:40:46 +0000 (20:40 -0700)]
add to todo
Paul Querna [Fri, 10 Sep 2010 06:27:17 +0000 (23:27 -0700)]
Expose fingerproint from getPeerCertificate
Expose the SHA1 digest of the certificate as the fingerprint attribute in
the object returned by getPeerCertificate()
Ryan Dahl [Fri, 10 Sep 2010 01:49:28 +0000 (18:49 -0700)]
Fix fs.realpathSync('/')
isaacs [Thu, 9 Sep 2010 01:42:32 +0000 (18:42 -0700)]
Better temporary directory handling for tests.
Add a setUp and tearDown function to the test case class, and use it to
create and remove the test/tmp directory for each test.
TODO: amend other tests.
Ryan Dahl [Thu, 9 Sep 2010 23:22:57 +0000 (16:22 -0700)]
Don't use empty.js - breaks module test
Felix Geisendörfer [Thu, 9 Sep 2010 18:36:51 +0000 (20:36 +0200)]
Simple benchmark for node's startup time
Ryan Dahl [Thu, 9 Sep 2010 22:47:37 +0000 (15:47 -0700)]
Use SetPointerInInternalField
Ryan Dahl [Thu, 9 Sep 2010 18:08:16 +0000 (11:08 -0700)]
Merge branch 'fast-buffer'
Ryan Dahl [Wed, 8 Sep 2010 06:52:40 +0000 (23:52 -0700)]
Rename SlowBuffer in binding
Ryan Dahl [Wed, 8 Sep 2010 06:48:42 +0000 (23:48 -0700)]
Remove blobs, simplify SlowBuffer
Implement SlowBuffer.prototype.slice in js
Ryan Dahl [Wed, 8 Sep 2010 06:31:04 +0000 (23:31 -0700)]
Remove dead code
Ryan Dahl [Wed, 8 Sep 2010 06:04:27 +0000 (23:04 -0700)]
Fix big string bug
Ryan Dahl [Wed, 8 Sep 2010 05:52:09 +0000 (22:52 -0700)]
Remove fancy SlowBuffer constructor
Ryan Dahl [Wed, 8 Sep 2010 05:36:41 +0000 (22:36 -0700)]
Simplify fast buffer constructor
Ryan Dahl [Wed, 8 Sep 2010 05:00:16 +0000 (22:00 -0700)]
Improve long buffer test
Ryan Dahl [Wed, 8 Sep 2010 04:40:15 +0000 (21:40 -0700)]
Expose fast-buffer bug in tests
Ryan Dahl [Tue, 7 Sep 2010 23:30:17 +0000 (16:30 -0700)]
Update fast buffer benchmarks
Ryan Dahl [Tue, 7 Sep 2010 23:29:53 +0000 (16:29 -0700)]
defineProperty is slow, don't use it for fastbuffer
Ryan Dahl [Tue, 7 Sep 2010 22:20:26 +0000 (15:20 -0700)]
Expose SlowBuffer
Ryan Dahl [Mon, 6 Sep 2010 20:35:32 +0000 (13:35 -0700)]
Fix ByteLength hangup
Ryan Dahl [Mon, 6 Sep 2010 19:50:13 +0000 (12:50 -0700)]
Expose Buffer.poolSize
Ryan Dahl [Mon, 6 Sep 2010 19:16:47 +0000 (12:16 -0700)]
fast buffers for crypto
Ryan Dahl [Mon, 6 Sep 2010 19:10:33 +0000 (12:10 -0700)]
Fast buffers for http-parser
Ryan Dahl [Mon, 6 Sep 2010 10:07:32 +0000 (03:07 -0700)]
map charsWritten to fast buffer
Ryan Dahl [Mon, 6 Sep 2010 04:09:33 +0000 (21:09 -0700)]
Fix base64 write for buffers
Ryan Dahl [Mon, 6 Sep 2010 03:49:20 +0000 (20:49 -0700)]
remove unnecessary casts
Ryan Dahl [Sun, 5 Sep 2010 20:30:30 +0000 (13:30 -0700)]
More fast buffer work