Ryan Dahl
dc103ae020
Bump version to v0.2.3
v0.2.3
2010-10-02 06:05:56 -07:00
Ryan Dahl
fea3919d1b
Fix zero length buffer bug for http res.end()
...
Reported by Kadir Pekel <kadirpekel@gmail.com >
2010-10-01 16:16:00 -07:00
Marco Rogers
b5dc54c6ed
fix encoding option on ReadStream, updated test
2010-10-01 16:14:22 -07:00
Ryan Dahl
2fb393a768
Fix REPL crash on tabbing 'this.'
...
Thanks to Tim Becker for pointing this out.
2010-10-01 16:14:13 -07:00
Ryan Dahl
80974dc85b
Drop reference to timer callback on clearTimeout
...
Reported here:
http://groups.google.com/group/nodejs-dev/browse_thread/thread/9e063d0938f99879
Would be good to test this somehow...
2010-10-01 16:13:59 -07:00
Evan Larkin
16f736200a
fs.ReadStream: Passing null for file position on all reads except the first read of a range read.
2010-10-01 16:13:12 -07:00
Evan Larkin
d29e62d564
No longer using the global variable "stat" in unwatchFile
2010-10-01 16:11:42 -07:00
Ryan Dahl
41eca918e5
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-10-01 16:11:17 -07:00
Ryan Dahl
45a01aff59
Move the http client's initParser() into prototype
2010-10-01 15:56:32 -07:00
Ryan Dahl
55aa7b17ab
Put preprocessor defines into CPPFLAGS not compile flags...
2010-10-01 15:55:46 -07:00
Ryan Dahl
1165878e3c
Fix timing on I/O benchmark
2010-10-01 15:54:49 -07:00
Ryan Dahl
b98958d7fe
Add function_call benchmark
2010-10-01 15:54:44 -07:00
Fedor Indutny
448cbaf395
Fixed 'upgrade' event for httpclient
...
onend and ondata was cleaning on parser end
2010-10-01 15:54:27 -07:00
Tj Holowaychuk
b8eee9c6f0
Fixed fs.ReadStream() start: 0 bug
2010-10-01 15:53:53 -07:00
Mikeal Rogers
936a038bb7
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-10-01 15:53:26 -07:00
Ryan Dahl
529cdad2dd
Don't choose jobs based on processor
...
Leads to lots of builds with out-of-memory.
2010-10-01 15:53:02 -07:00
Ryan Dahl
7140933fcc
More explicit openssl configure warning
2010-10-01 15:52:56 -07:00
Jorge Chamorro Bieling
27f6a20fdb
sys.js: --needless Object.keys() --needless .map() in a single patch
2010-10-01 15:51:27 -07:00
Paul Querna
a30daa7b6c
Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
2010-10-01 15:50:32 -07:00
Jorge Chamorro Bieling
01035714a5
sys.js: sys.inspect: show function names
2010-10-01 15:50:18 -07:00
Ryan Dahl
f6f739b3a2
Pass correct message in HTTP client upgrade
...
Simplify and correct test.
Fix by Fedor Indutny.
2010-10-01 15:49:50 -07:00
Ryan Dahl
d7c1690c74
Revert requireNative changes: 4e6b9b0, d429033, 6abbfa0, bcad540
2010-10-01 15:45:21 -07:00
Ryan Dahl
7bf46bc980
bump version to v0.2.2
v0.2.2
2010-09-17 11:34:16 -07:00
Ryan Dahl
bcbc52e257
^c to get out of '...' in REPL
2010-09-17 11:23:08 -07:00
Ryan Dahl
c00a6a7169
Simplify REPL
2010-09-17 11:23:04 -07:00
Ryan Dahl
1d8b154e14
Safe constructors for fs.ReadStream and fs.WriteStream
2010-09-17 11:22:58 -07:00
Ryan Dahl
84f4ce742f
Remove old versions of fs.read and fs.write from docs
2010-09-17 11:22:50 -07:00
Paul Querna
f9cc35fa57
Use the Apple recommended way of detecting OSX Versions
...
to enable KQueue, rather than deciding based on the compiler version.
2010-09-17 11:22:42 -07:00
Ryan Dahl
d506a42765
Handle writeStream errors in sys.pump
2010-09-17 11:21:59 -07:00
Russell Haering
09a41a7f9c
Pass an error to the sys.pump callback if one occurs
...
- Add test case for pumping from unreadable stream.
- Document the sys.pump error handling behavior
2010-09-17 11:21:50 -07:00
Herbert Vojčík
8dcd6dccab
Common subexpression in emit.
2010-09-17 11:20:52 -07:00
Herbert Vojčík
1375b8ed39
No need to do if (internalModuleCache...), it's in requireNative.
2010-09-17 11:20:32 -07:00
Herbert Vojčík
a3333e7393
Module system moved to the bottom, where only is it needed.
...
(this also splits the file into upper "setup" and lower "startup" sections)
2010-09-17 11:20:24 -07:00
Herbert Vojčík
d965640662
m.id unneccessary, id is enough.
2010-09-17 11:20:17 -07:00
Herbert Vojčík
ee253b374d
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.
2010-09-17 11:19:33 -07:00
Ryan Dahl
b17b28531b
shorten some lines in events.js
2010-09-17 11:18:59 -07:00
Ryan Dahl
10af67714b
Optimize emit for two arguments
2010-09-17 11:18:54 -07:00
Ryan Dahl
180a04805b
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.
2010-09-17 11:18:42 -07:00
Ryan Dahl
ee21920571
Use child_process.exec rather than sys.exec
2010-09-17 11:17:33 -07:00
isaacs
66bce65d33
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 ?
2010-09-17 11:17:26 -07:00
Tony Metzidis
2005ef9e37
Catch Exceptions thrown when openssl is disabled
2010-09-17 11:17:08 -07:00
Tony Metzidis
3816ebc85f
- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'
2010-09-17 11:17:00 -07:00
Ryan Dahl
4c5520a37e
Fix style in node_object_wrap.h
2010-09-17 11:16:45 -07:00
Ryan Dahl
0ddad3fbc7
Fix style in readline
2010-09-17 11:12:01 -07:00
Ryan Dahl
db6a1788b2
Add SIGWINCH handler for readline
2010-09-17 11:11:52 -07:00
Ryan Dahl
1d17874a7d
add to todo
2010-09-17 11:11:47 -07:00
Trent Mick
3191802605
add ANSI coloring option to sys.inspect and, by default, to the repl
2010-09-17 11:11:32 -07:00
Ryan Dahl
da235fa12c
bump version to v0.2.1
v0.2.1
2010-09-10 13:52:33 -07:00
Paul Querna
92fb664bfc
Expose fingerproint from getPeerCertificate
...
Expose the SHA1 digest of the certificate as the fingerprint attribute in
the object returned by getPeerCertificate()
2010-09-10 13:31:46 -07:00
Ryan Dahl
7704fb9711
Fix fs.realpathSync('/')
2010-09-10 13:31:39 -07:00