- Feb 16, 2011
-
-
Felix Geisendörfer authored
Improvements: * Removes an unnecessary variable * Avoids having two variables with the same name * Avoids re-declaring an existing parameter * Removes an unnecessary ternary operator * Avoid an inline short-circuit expression for greater clarity.
-
Felix Geisendörfer authored
The fact that the mode parameter is optional for fs.open and fs.openSync was not documented.
-
Felix Geisendörfer authored
Problem: Omitting the mode parameter causes the provided callback parameter to never fire. This was originally fixed in 6078c37b and later broken in 5f2e9093. Solution: Overwriting the value of a parameter also overwrites the reference in the arguments object. This patch works arround this fact by not touching the mode parameter until a reference to the callback has been established.
-
Bert Belder authored
Should re-enable crankshaft; can build w/ snapshot again.
-
Ryan Dahl authored
-
- Feb 15, 2011
-
-
Ryan Dahl authored
-
Ryan Dahl authored
thanks Toshihiro
-
Ryan Dahl authored
-
Richard Rodger authored
Closes GH-653.
-
isaacs authored
This is important so that in the future, this will work: $ cd ~/dev/js/some-project $ npm install redis $ node > require.resolve('redis') '/Users/isaacs/dev/js/some-project/node_modules/redis/index.js' -
Tj Holowaychuk authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
- Feb 10, 2011
-
-
Ryan Dahl authored
-
Tim Caswell authored
This works for both ServerResponse and ClientRequest. Adds three new methods as a couple properties to to OutgoingMessage objects. Tests by Charlie Robbins. Change-Id: Ib6f3829798e8f11dd2b6136e61df254f1564807e
-
Theo Schlossnagle authored
Needs more tests.
-
Mikeal Rogers authored
-
Bert Belder authored
-
Bert Belder authored
-
Ryan Dahl authored
Thanks Sitelier. Closes GH-651.
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
isaacs authored
-
-
isaacs authored
-
isaacs authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
- Feb 09, 2011
-
-
Ryan Dahl authored
-
Bert Belder authored
-
Bert Belder authored
-
Ryan Dahl authored
-
isaacs authored
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. -
Ryan Dahl authored
-
Bert Belder authored
-
- Feb 08, 2011
-
-
Ryan Dahl authored
-