summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* better debug messages in net and tlsRyan Dahl2011-02-092-6/+17
|
* Fix fs.realpathSync on windowsBert Belder2011-02-081-1/+1
|
* Support caching for realpath, use in module loadisaacs2011-02-082-23/+82
| | | | | | | | | | | | This adds support for a cache object to be passed to the fs.realpath and fs.realpathSync functions. The Module loader keeps an object around which caches the resulting realpaths that it looks up in the process of loading modules. This means that (at least as a result of loading modules) the same files and folders are never lstat()ed more than once. To reset the cache, set require("module")._realpathCache to an empty object. To disable the caching behavior, set it to null.
* tls: only emit data after 'secure' eventRyan Dahl2011-02-081-5/+22
|
* Don't make unnecessary getcwd calls from path.resolveBert Belder2011-02-081-12/+10
|
* tls fixesRyan Dahl2011-02-072-0/+4
|
* Fix dns on windowsBert Belder2011-02-071-2/+8
|
* Closes GH-609 Support array-ish args to Buffer ctorisaacs2011-02-071-2/+8
| | | | | Any array-ish thing (whether a Buffer, an Array, or just an object with a numeric "length") is interpreted as a list of bytes.
* Support octal strings for modesisaacs2011-02-071-9/+22
| | | | | | | This allows the various fs utilities and process.umask to be used in ECMAScript 5 Strict Mode, where the octal literal format is verboten, without requiring users to litter their code with a bunch of parseInt calls.
* UCS-2 supportKonstantin Käfer2011-02-071-0/+17
| | | | Closes GH-644.
* http: fix buffer writes to outgoing messagesRussell Haering2011-02-071-1/+1
|
* support for package.jsonisaacs2011-02-071-0/+32
| | | | | | This adds basic support for situations where there is a package.json with a "main" field. That "main" module is used as the code that is loaded when the package folder is required.
* http: agent takes options instead of host, port pairMikeal Rogers2011-02-052-9/+7
|
* http: handle abortsRyan Dahl2011-02-042-3/+66
|
* Fix debug flag in timers.jsRyan Dahl2011-02-041-1/+1
|
* module: define functions only once.isaacs2011-02-031-25/+34
|
* Clean upRyan Dahl2011-02-031-1/+2
|
* TLS: fix throttlingRyan Dahl2011-02-031-8/+34
| | | | | | Re-enable test-https-large-response.js Closes GH-614.
* TLS: Simplify error handlingRyan Dahl2011-02-021-18/+14
|
* TLS: flush buffer before destroyRyan Dahl2011-02-021-18/+48
| | | | | Also disable test-https-large-response.js. Covered by test/simple/test-tls-throttle.js
* (suck, blow) -> (pull, push)Ryan Dahl2011-02-021-12/+12
|
* Closes GH-619 Make require.main be the main moduleisaacs2011-02-021-3/+8
|
* TLS: better error reporting at binding layerRyan Dahl2011-02-011-12/+15
| | | | Closes GH-612.
* dgram: setMulticastTTL, setMulticastLoopback and addMembership.Joe Walnes2011-02-011-0/+42
| | | | | | | | | | These are options needed for real-world multicasting. Implementation notes: - POSIX only. - IPv4 only (IPv6 multicast is a tricky beast). - Didn't update tests, because it can't effectively be demonstrated on localhost only.
* TLS: Add _pendingBytes()Ryan Dahl2011-01-311-0/+10
|
* tls: superficial clean upRyan Dahl2011-01-311-30/+29
|
* net: Add hook for when writeQueue changesRyan Dahl2011-01-311-0/+11
|
* Add socket.bufferSizeRyan Dahl2011-01-311-0/+19
|
* REPL: disable colors in windows for nowRyan Dahl2011-01-281-1/+5
|
* Fix option parsing in tls.connect()Ryan Dahl2011-01-271-23/+14
|
* Helpful error when child_process.exec hit maxBufferRyan Dahl2011-01-271-1/+7
|
* debugger: prevent crash when backtrace doesn't come backRyan Dahl2011-01-271-0/+6
|
* Another fix for process.assertRyan Dahl2011-01-276-6/+6
|
* Fix process.assert problemRyan Dahl2011-01-271-1/+2
| | | | Introduced in f9f0e5c75c6a6fa32dd91f242c7463d467f6dcd4
* TyposRyan Dahl2011-01-271-1/+1
| | | | | Closes GH-557. Closes GH-539.
* A module ID with a trailing slash must be a dir.isaacs2011-01-271-5/+10
| | | | | | | require('./foo/') should not try to load './foo.js'. It should only look for ./foo/index.js Closes GH-588
* Fixing bug in http request default encoding.Ali Farhadi2011-01-261-2/+0
|
* Adding callback parameter to Socket's setTimeout method.Ali Farhadi2011-01-261-1/+4
|
* debugger: Don't crash when evaling bufferRyan Dahl2011-01-251-2/+8
|
* Use old http.ClientRyan Dahl2011-01-251-61/+222
| | | | | This is meant as a path for upgrading to the new http.request() API. http.Client will be disappearing in the future.
* Adding support for require-like initialization of node,Daniel Ennis2011-01-241-3/+4
| | | | | | | | | | | | so `node foo` will load one of: ./foo.js ./foo.node ./foo/index.js ./foo/index.node Test cases added. Ensured no conflict with native names.
* Readline: fixes, more key bindingsBert Belder2011-01-241-78/+94
| | | | | | | - Made backward/forward more convenient - More key bindings that windows users are used to - Fix delete-word-right - Duplicate code cleanup
* Support pastes and meta-backspaceisaacs2011-01-242-5/+28
|
* Land Cantrill's DTrace patchRyan Dahl2011-01-242-0/+4
| | | | only works on solaris
* lintRyan Dahl2011-01-2410-50/+72
|
* Fixing bug in http request's end method.Ali Farhadi2011-01-231-0/+1
|
* Move commonjs module system into lib/module.jsFelix Geisendörfer2011-01-231-0/+326
| | | | | This de-couples NativeModule from the module system and completes the main objective of this refactoring.
* Expose agent in http and https client.Mikeal Rogers2011-01-232-6/+15
|
* Fix test-http-exceptionsRyan Dahl2011-01-211-0/+2
| | | | | | Agent: Each time an http req is sent to a socket, _cycle to try to dispatch another. Problem became apparent in 4612b0 when we wait for connecting sockets.
* Fix test-http-allow-req-after-204-resRyan Dahl2011-01-211-4/+15
| | | | Agent queue waits for connecting sockets.