node/lib
Ben Noordhuis 17fbdc18b8 lib: name EventEmitter prototype methods
Before this commit the EventEmitter methods were anonymous functions.
V8 tries to infer names for anonymous functions based on the execution
context but it frequently gets it wrong and when that happens, the
stack trace is usually confusing and unhelpful.  This commit names all
methods so V8 can fall back to the method.name property.

The above gotcha applies to all anonymous functions but is exacerbated
for EventEmitter methods because those are invoked with a plenitude of
different receivers.

Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-05-07 12:11:57 -07:00
..
_debugger.js debugger: Fix breakpoint not showing after restart 2014-02-17 20:47:46 -08:00
_linklist.js Update copyright headers 2011-03-14 17:37:05 -07:00
_stream_duplex.js stdio: Set readable/writable flags properly 2013-01-17 10:42:44 -08:00
_stream_passthrough.js stream: _write takes an encoding argument 2013-03-05 14:27:15 -08:00
_stream_readable.js stream: remove useless check 2014-02-24 15:08:11 +04:00
_stream_transform.js stream: objectMode transforms allow falsey values 2013-09-05 13:19:23 -07:00
_stream_writable.js net: do not re-emit stream errors 2014-02-10 10:59:52 -08:00
assert.js assert: Ensure reflexivity of deepEqual 2014-02-25 20:32:49 +04:00
buffer.js buffer: add comment explaining buffer alignment 2013-06-27 03:22:05 +02:00
child_process.js child_process: fix deadlock when sending handles 2014-04-14 20:15:09 +04:00
cluster.js cluster: report more errors to workers 2013-12-31 09:47:33 -08:00
console.js console: Support formatting options in trace() 2013-01-18 15:39:08 -08:00
constants.js Update copyright headers 2011-03-14 17:37:05 -07:00
crypto.js crypto: do not lowercase cipher/hash names 2014-03-11 01:08:43 +04:00
dgram.js cluster: report more errors to workers 2013-12-31 09:47:33 -08:00
dns.js Revert "dns: validate arguments in resolve" 2014-02-08 02:15:33 +04:00
domain.js domains: exit() only affects active domains 2014-01-15 12:27:10 -08:00
events.js lib: name EventEmitter prototype methods 2014-05-07 12:11:57 -07:00
freelist.js Update copyright headers 2011-03-14 17:37:05 -07:00
fs.js fs: make unwatchFile() insensitive to path 2014-02-06 13:04:35 +04:00
http.js http: do not emit EOF non-readable socket 2014-04-08 00:40:22 +04:00
https.js https: optimize https.createConnection() 2012-12-28 16:42:51 +01:00
module.js module: only cache package main 2013-12-12 09:38:47 -08:00
net.js net: do not re-emit stream errors 2014-02-10 10:59:52 -08:00
os.js os: rename tmpDir() to tmpdir() for consistency 2013-01-30 04:24:58 +01:00
path.js lint 2013-02-22 16:30:27 -08:00
punycode.js punycode: update to v1.2.0 2013-01-16 16:53:11 +01:00
querystring.js querystring: Removing unnecessary binding 2013-04-01 14:30:34 +04:00
readline.js readline: handle input starting with control chars 2013-09-23 14:22:37 -07:00
repl.js repl: do not insert duplicates into completions 2013-11-11 15:45:09 -08:00
stream.js events: add check for listeners length 2013-03-01 17:36:47 -08:00
string_decoder.js Don't allow invalid encodings in StringDecoder class 2012-12-13 17:00:22 -08:00
sys.js Fix #3577 Un-break require('sys') 2012-06-28 10:14:03 -07:00
timers.js timer: don't reschedule timer bucket in a domain 2014-03-03 17:46:49 -08:00
tls.js tls: emit 'end' on .receivedShutdown 2013-12-10 22:56:01 +04:00
tty.js lib, src: remove errno global 2013-02-28 23:11:47 +01:00
url.js url: treat \ the same as / 2014-04-15 15:30:43 -07:00
util.js util: format as Error if instanceof Error 2014-04-26 00:52:49 +04:00
vm.js lint 2012-03-03 23:48:57 -08:00
zlib.js zlib: allow zero values for level and strategy 2013-07-01 19:37:29 +02:00