- Oct 27, 2011
-
-
Nathan Rajlich authored
Use the *real* versions of the Date and RegExp functions, from the prototype. This defends against code like: var d = new Date() d.toUTCString = null util.inspect(d) // TypeError: toUTCString is not a function Fixes #1944. -
Nathan Rajlich authored
Add test for the false-positives from #1942. Fix test-sys.js.
-
Nathan Rajlich authored
While using `instanceof`, these functions could easily be faked with something like: Object.create(Date.prototype) So let's just not use it at all. A little slower, but these functions are only used in the REPL / for debugging so it's OK. Fixes #1941. Fixes #1942.
-
Ryan Dahl authored
-
Nathan Rajlich authored
-
Nathan Rajlich authored
-
Nathan Rajlich authored
As per discussion at: http://groups.google.com/group/nodejs-dev/browse_thread/thread/b08970166e4670cf
-
Ryan Dahl authored
-
Zachary Scott authored
-
Zachary Scott authored
-
- Oct 26, 2011
-
-
koichik authored
Fixes #758. Fixes #1055.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Don't use exceptions in platform functions. Fix a resource leak (leaked kstat handle) while we're at it.
-
Ben Noordhuis authored
Older bash versions in `sh -c` mode don't parse `export FOO=42` constructs, they bail out with a "FOO is not an identifier" error message. This was fixed somewhere between bash 4.1.0 and 4.1.5 but let's support the older versions anyway.
-
Ben Noordhuis authored
-
Igor Zinkovsky authored
-
Ben Noordhuis authored
-
- Oct 25, 2011
-
-
Ben Noordhuis authored
'node' may or may not be on the path and may or may not be the version we are running the test suite for.
-
Nathan Rajlich authored
Also setting up a circular reference back to the stream as `Stream.Stream`, for backwards-compatibility. Fixes #1933
-
Ryan Dahl authored
Too complex; unnecessary.
-
isaacs authored
-
- Oct 24, 2011
-
-
Maciej Małecki authored
Just a syntactic sugar for doing, for example: var server = net.createServer(function (c) { c.end('goodbye, cruel world!\r\n'); server.close().on('close', function () { console.log('really, goodbye!'); }); }).listen(1337); Fixes #1922.
-
- Oct 22, 2011
-
-
koichik authored
-
seebees authored
-
seebees authored
http.markdown note options now align with url.parse added note that hostname is preferred over host. added auth added not that setting an explicit Authorization header will override basic authentication with 'auth' https.markdown Made a link to http.request and noted that all http.request options are valid. url.markdown added path option
-
seebees authored
Fixes #1626
-
seebees authored
http2.js protocols object to store defaults for http and https, and use as a switch for supported protocols. options.hostname > options.host > 'localhost' if I have an options.auth element and I do not have an Authorization header, I do basic auth. http.request collapses to new ClientRequest since the defaults are handled by the protocol object test-http-url.parse* Fixes #1390 Conflicts: lib/http2.js
-
seebees authored
added a .path property = .pathname + .search for use with http.request And tests to verify everything. With the tests, I changed over to deepEqual, and I would note the comment on the test ['.//g', 'f:/a', 'f://g'], which I think is a fundamental problem This supersedes pull 1596
-
koichik authored
-
Nathan Rajlich authored
util.inspect() has a special case for "undefined", so it's nice to be able to distinguish visually that undefined is the result of an expression.
-
koichik authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ryan Dahl authored
Conflicts: ChangeLog Makefile deps/libev/wscript doc/index.html doc/template.html lib/net.js src/node_version.h src/platform_cygwin.cc test/pummel/test-net-write-callbacks.js test/simple/test-buffer.js
-
Igor Zinkovsky authored
-
Maciej Małecki authored
-