Ryan Dahl
1a2c1c8a96
Simplify: per-module cache thing
2010-09-30 12:18:58 -07:00
Ryan Dahl
ee9af66990
Add test for getting parse error from HTTP client
...
Made this test in response to this thread:
http://groups.google.com/group/nodejs/browse_thread/thread/f82835007a277de2/
But Node appears to be working correctly.
2010-09-30 11:48:19 -07:00
Ryan Dahl
c3bc48d451
Move the http client's initParser() into prototype
2010-09-30 11:41:50 -07:00
Ryan Dahl
f323f34353
writeable -> writable
2010-09-29 16:12:30 -07:00
Ben Noordhuis
55c65cc2d5
Safe constructor for ObjectWrapped classes
...
New() methods should be invoked as constructors, not regular functions.
Corner cases like Script::New() may cause a SIGSEGV when the GC is run.
More details: http://groups.google.com/group/nodejs/browse_thread/thread/a7e5db68d4cd6356
2010-09-29 16:02:45 -07:00
Ryan Dahl
9911629de0
Fix style in node_crypto.cc
2010-09-28 19:17:09 -07:00
Ryan Dahl
163485c8aa
Rename some SecureStream methods
2010-09-28 11:38:27 -07:00
Ryan Dahl
7bd94712a8
lazy load crypto binding
2010-09-28 11:27:13 -07:00
Ryan Dahl
d89f8dce28
fix style in net.js
2010-09-28 11:27:09 -07:00
Ryan Dahl
fe060916ec
Put preprocessor defines into CPPFLAGS not compile flags...
2010-09-28 03:17:44 -07:00
Ryan Dahl
3a64c22cc1
Disable a few more libev features
2010-09-28 03:11:33 -07:00
Ryan Dahl
069d973d74
Remove require('buffer') in built-in libraries.
2010-09-28 02:31:31 -07:00
Aaron Heckmann
7c5cc57ece
quicker loops
2010-09-28 01:14:58 -07:00
Ryan Dahl
f9d6b074cf
output time of function calls
2010-09-28 01:14:38 -07:00
Ryan Dahl
353e2565d5
Fix timing on I/O benchmark
2010-09-25 18:19:50 +02:00
Ryan Dahl
3fc9192d0d
Add function_call benchmark
2010-09-23 22:27:44 -07:00
Fedor Indutny
5535aa3d51
Fixed 'upgrade' event for httpclient
...
onend and ondata was cleaning on parser end
2010-09-23 10:29:20 -07:00
isaacs
4d0456f827
Don't use stat in fs.readFile[Sync]
...
Original patch c/o Evan Larkin <evan.larkin.iit@gmail.com>
2010-09-22 22:06:32 -07:00
Ryan Dahl
4df999f85f
Revert "Upgrade V8 to 2.4.5"
...
This reverts commit e227441248
.
Build fails on mac
2010-09-22 19:20:06 -07:00
Tj Holowaychuk
893ebe7230
Fixed fs.ReadStream() start: 0 bug
2010-09-22 10:22:43 -07:00
Ryan Dahl
e227441248
Upgrade V8 to 2.4.5
2010-09-22 10:21:15 -07:00
Mikeal Rogers
cc1d61cbb3
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.
2010-09-22 10:17:07 -07:00
isaacs
dff1b5ad10
Don't try to run extension loaders unless they're actually functions
2010-09-22 10:13:25 -07:00
Ryan Dahl
9922e4e433
Don't choose jobs based on processor
...
Leads to lots of builds with out-of-memory.
2010-09-20 16:51:52 -07:00
Ryan Dahl
754fde7325
More explicit openssl configure warning
2010-09-20 12:52:07 -07:00
Ryan Dahl
1b1bee8099
Fix test/message/undefined_reference_in_new_context
2010-09-20 10:03:50 -07:00
Tim-Smart
0f16af7ee4
Remove registerExtension, add .extensions. Tests.
...
Updated extensions tests
2010-09-20 09:56:43 -07:00
Jorge Chamorro Bieling
fc334b3a97
sys.js: --needless Object.keys() --needless .map() in a single patch
2010-09-19 18:02:27 -07:00
Ryan Dahl
354150f4e1
Tag release versions in 'process.version'
2010-09-19 17:22:18 -07:00
isaacs
bb08f0c219
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.
2010-09-19 16:52:39 -07:00
Paul Querna
2d348bb985
Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
2010-09-19 15:32:10 -07:00
Ryan Dahl
27af64ef46
Forgot to include node_main.cc
2010-09-19 14:25:13 -07:00
Jorge Chamorro Bieling
8e246acd0e
sys.js: sys.inspect: show function names
2010-09-19 13:37:09 -07:00
Ryan Dahl
1e63cd69f8
Update TODO
2010-09-19 13:32:46 -07:00
Ryan Dahl
124fbedc2f
Add node::Start()
...
first step towards building a libnode.a
2010-09-19 13:13:59 -07:00
Ryan Dahl
db73c71280
Pass correct message in HTTP client upgrade
...
Simplify and correct test.
Fix by Fedor Indutny.
2010-09-19 11:55:18 -07:00
Ryan Dahl
4962702e4a
Revert requireNative changes: 4e6b9b0
, d429033
, 6abbfa0
, bcad540
...
The REPL needs the full require(); add test for that behavior.
2010-09-19 11:22:15 -07:00
Ryan Dahl
776754c33f
Remove process._byteLength
2010-09-17 01:06:44 -07:00
Ryan Dahl
9628e28aec
Remove process.evalcx
2010-09-17 00:23:27 -07:00
Ryan Dahl
01b3418e2e
Move IOWatcher and Timer to process.binding
2010-09-17 00:15:54 -07:00
Ryan Dahl
5a801d63d1
Finally remove process.unloop
2010-09-17 00:03:17 -07:00
Ryan Dahl
f8ce848d9b
Remove process.global
2010-09-17 00:01:27 -07:00
Ryan Dahl
31f8fa222e
Add require('constants')
2010-09-16 23:22:58 -07:00
Ryan Dahl
6680c7fbf7
Add TODO item
2010-09-16 23:16:36 -07:00
Ryan Dahl
6eca948ca2
Move constants out of process object
2010-09-16 23:16:07 -07:00
Ryan Dahl
3def66ac3b
Add items to TODO
2010-09-16 22:22:38 -07:00
Ryan Dahl
431e43009c
Upgrade V8 to 2.4.4
2010-09-16 21:33:32 -07:00
Ryan Dahl
d2de8ba400
^c to get out of '...' in REPL
2010-09-16 21:07:22 -07:00
Ryan Dahl
42eb5a6898
Simplify REPL
2010-09-16 20:50:56 -07:00
Ryan Dahl
bbbcd1fee0
Safe constructors for fs.ReadStream and fs.WriteStream
2010-09-16 19:04:09 -07:00