75 Commits (b97c28f59ee898a81f0df988c249359c9b42701d)

Author SHA1 Message Date
Ben Noordhuis fc6f8a6943 events: fix memory leak, don't leak event names 11 years ago
Julian Gruber 738347b904 events: Handle missing error obj when domains in use 12 years ago
Felix Böhm 3e64b5677f events: loop backwards in removeListener 12 years ago
Trevor Norris d09ab61dcd events: code consistency 12 years ago
Trevor Norris 04688614f7 events: remove type check for event type 12 years ago
isaacs 63edde0e01 events: Handle emit('error') before ctor 12 years ago
isaacs d345c1173a events: Handle emit before constructor call 12 years ago
Trevor Norris d1b4dcd6ac events: add type checks to once 12 years ago
Trevor Norris e1ac2ef7cf events: emit cleanup 12 years ago
Trevor Norris 1ccc6fbe05 events: additional type check for addListener 12 years ago
Trevor Norris 4f7f8bbdf8 events: _events to object and undefined not null 12 years ago
Trevor Norris b3ea8443bd events: removeListener add checks and cleanup 12 years ago
Trevor Norris aba03ebb5a events: type check listeners 12 years ago
Trevor Norris 8ab346c98f events: simplify removeAllListeners logic 12 years ago
Trevor Norris dd171d24df events: type check setMaxListeners, cleanup throws 12 years ago
Trevor Norris 8ca43a7f40 events: ensure usingDomain is always boolean 12 years ago
Trevor Norris 75305f3bab events: add check for listeners length 12 years ago
isaacs b7d76a1a7b Revert "events: Don't crash on events named __proto__" 12 years ago
isaacs b48e303af0 events: Don't crash on events named __proto__ 12 years ago
isaacs ec8ebaf300 domain: use camelCase instead of snake_case 12 years ago
Ryunosuke SATO 0506d294dc events: fix typos in code comment 12 years ago
Ryunosuke SATO eb502205d5 events: setMaxListeners() should not have side effects 12 years ago
Ryunosuke SATO 1c7acd2c84 events: use assigned variable instead of arguments 12 years ago
Ryunosuke SATO 0397223ab4 events: use null assignment instead of deleting property 12 years ago
isaacs 45a13d9674 events: Don't clobber pre-existing _events obj in EE ctor 12 years ago
isaacs c7b2e29e5e events: Make the EventEmitter class monomorphic 12 years ago
Ben Noordhuis 56668f54d1 events: speed up .removeAllListeners() 12 years ago
Ben Noordhuis b7fd55e9a0 events: speed up newListener/removeListener events 12 years ago
Ben Noordhuis 84221fd1d6 events: add 'removeListener' event 12 years ago
isaacs 0400571676 domain: Properly exit() on domain disposal 12 years ago
isaacs 50c7d80fb0 events: emitter.listeners() should not have side effects 12 years ago
Joe Andaverde 20e12e4be3 events: make .listeners() return a copy 12 years ago
Nathan Rajlich 713b9249e1 Revert "events: don't delete the listeners array in removeListener()" 12 years ago
Maciej Małecki 3db2e034c4 events: cache `domain` module locally 13 years ago
Reid Burke c9a1b5d162 Fix #3425: removeAllListeners should delete array 13 years ago
isaacs 963459d736 Domain feature 13 years ago
Maciej Małecki f065c87bcf events: remove misleading comment 13 years ago
Nathan Rajlich 928ea564d1 events: don't delete the listeners array in removeListener() 13 years ago
Ben Noordhuis 78dc13fbf9 events: don't delete the listeners array 13 years ago
Roly Fentanes db8940dae2 `newListener` emits correct fn when using `once` 13 years ago
Ryunosuke SATO 22d7fe1206 events: fix checking max listeners with `1` 13 years ago
Siddharth Mahendraker 12cf730b69 events: separate maxListeners and _events 13 years ago
Ryan Dahl 4ef8f06fe6 Finally remove node::EventEmitter 13 years ago
Ryan Dahl 91f1b250ec mraleph emit hack 14 years ago
koichik 80c2fe9456 Fix event listener leak check timing 14 years ago
Felix Geisendörfer bc8489580c Allow to remove all EventEmitter listeners at once 14 years ago
Arnout Kazemier 53bec1c862 Added support for removing .once listeners 14 years ago
Aaron Heckmann a4dad95be3 EventEmitter#once only takes instanceof function 14 years ago
Ryan Dahl 55048cdf79 Update copyright headers 14 years ago
Ryan Dahl 81d3de7e6d setMaxListeners should initialize _events 14 years ago