Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | events: separate maxListeners and _events | Siddharth Mahendraker | 2011-10-30 | 1 | -3/+3 |
| | | | | | Fixes #1479. Fixes #1923. | ||||
* | Finally remove node::EventEmitter | Ryan Dahl | 2011-07-19 | 1 | -1/+3 |
| | |||||
* | mraleph emit hack | Ryan Dahl | 2011-07-08 | 1 | -3/+8 |
| | |||||
* | Merge branch 'v0.4' | Ryan Dahl | 2011-05-16 | 1 | -3/+3 |
|\ | | | | | | | | | Conflicts: src/node_crypto.cc | ||||
| * | Fix event listener leak check timing | koichik | 2011-05-14 | 1 | -3/+3 |
| | | | | | | | | Fixes #1041. | ||||
* | | Allow to remove all EventEmitter listeners at once | Felix Geisendörfer | 2011-04-12 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | This patch adds support for calling EventEmitter#removeAllListeners with no parameters in order to remove all listeners as once. See discussion: https://groups.google.com/forum/#!topic/nodejs-dev/Mcyal1ThTHY Closes GH-889. | ||||
* | | Merge branch 'v0.4' | Ryan Dahl | 2011-04-03 | 1 | -6/+20 |
|\ \ | |/ | | | | | | | | | Conflicts: src/node_version.h test/simple/test-buffer.js | ||||
| * | Added support for removing .once listeners | Arnout Kazemier | 2011-03-25 | 1 | -6/+20 |
| | | | | | | | | Closes GH-806. | ||||
* | | EventEmitter#once only takes instanceof function | Aaron Heckmann | 2011-03-18 | 1 | -0/+4 |
|/ | |||||
* | Update copyright headers | Ryan Dahl | 2011-03-14 | 1 | -0/+21 |
| | |||||
* | setMaxListeners should initialize _events | Ryan Dahl | 2011-03-07 | 1 | -0/+1 |
| | |||||
* | Print error when EventEmitters get too many listeners | Ryan Dahl | 2011-01-10 | 1 | -1/+32 |
| | |||||
* | EventEmitter.prototype.once should "return this;" | Daniel C | 2010-12-30 | 1 | -0/+2 |
| | |||||
* | more lint | Ryan Dahl | 2010-12-01 | 1 | -8/+8 |
| | |||||
* | Fix number of args emitted by EventEmitter during "fast case" (lte 3 args) | Jeremy Martin | 2010-11-29 | 1 | -7/+14 |
| | |||||
* | Add EventEmitter.prototype.once | Peteris Krumins | 2010-10-16 | 1 | -1/+9 |
| | |||||
* | Removed deprecated events.Promise | Micheil Smith | 2010-10-11 | 1 | -7/+1 |
| | |||||
* | syntax fixes to pass jslint | Joshaven Potter | 2010-10-06 | 1 | -1/+1 |
| | |||||
* | Report "weird" errors a little better. | isaacs | 2010-10-02 | 1 | -1/+1 |
| | | | | | | | | | | | | There are a few kinds of errors that are very confusing. 1. Errors raised in nextTick 2. Errors emitted on the "error" event 3. RangeErrors that crash the program (or anything without a stack trace) Long traces will make make these better, of course. In the meantime, this adds a few handy signposts (in the form of better error reporting and comments on the otherwise inscrutable code printed to the terminal) that can help new users find the cause, or at least, ask for help more effectively. | ||||
* | Common subexpression in emit. | Herbert Vojčík | 2010-09-16 | 1 | -9/+7 |
| | |||||
* | shorten some lines in events.js | Ryan Dahl | 2010-09-15 | 1 | -9/+9 |
| | |||||
* | Optimize emit for two arguments | Ryan Dahl | 2010-09-15 | 1 | -1/+1 |
| | |||||
* | More instanceof Array fixes | Ryan Dahl | 2010-07-15 | 1 | -5/+6 |
| | |||||
* | use delete for removing events after removing the final listener | rick | 2010-07-12 | 1 | -1/+3 |
| | |||||
* | Experimental: 'on' as alias to 'addListener' | Ryan Dahl | 2010-07-03 | 1 | -0/+1 |
| | |||||
* | FIX: EventEmitter#removeAllListeners signature | Jonas Pfenniger | 2010-05-14 | 1 | -2/+2 |
| | | | | This function should return this is all cases. | ||||
* | FIX: EventEmitter#removeListener logic | Jonas Pfenniger | 2010-05-14 | 1 | -1/+1 |
| | | | | | In the case of one defined listener, the function should only remove it if it is the same as the passed listener. | ||||
* | Fix typos | Ryan Dahl | 2010-04-25 | 1 | -1/+1 |
| | |||||
* | Optimize for few args in EventEmitter.emit | Ryan Dahl | 2010-04-22 | 1 | -6/+15 |
| | |||||
* | Unhandled 'error' events kill program | Ryan Dahl | 2010-04-22 | 1 | -0/+40 |
| | | | | By default 'error' throws. addListener to prevent this. | ||||
* | Refactor events module to lib/events.js | isaacs | 2010-04-21 | 1 | -1/+67 |
| | |||||
* | Add missing lib/events.js | Ryan Dahl | 2010-03-15 | 1 | -0/+4 |