Commits on Aug 23, 2011
Commits on Aug 21, 2011
  1. [EventDispatcher] Change the license of EventDispatcher from LGPL to MIT

    It was previously agreed to re-license the Doctrine2 based
    EventDispatcher refactoring to use the MIT license. However, the files
    still retain the LGPL license notice.
    This commit changes the license to MIT.
    igorw committed Aug 21, 2011
Commits on Aug 20, 2011
  1. Cleaned up unused code in Symfony\Component\EventDispatcher\EventDisp…

    jayrulez committed Aug 20, 2011
Commits on Jun 14, 2011
Commits on May 30, 2011
  1. fixed typos

    fabpot committed May 30, 2011
  2. fixed more unit tests

    fabpot committed May 30, 2011
  3. [EventDispatcher] fixed notices

    fabpot committed May 30, 2011
Commits on May 26, 2011
  1. [EventDispatcher] Allow registration of arbitrary callbacks

    This in effect removes the direct link between event name and the method name on the handler.
    Any callback can be given as a handler and the event name becomes an arbitrary string. Allowing for easier namespacing (see next commit)
    Seldaek committed May 5, 2011
Commits on Apr 6, 2011
Commits on Mar 24, 2011
Commits on Mar 18, 2011
  1. [EventDispatcher] refactored the code

     * The array returned by getListeners() now removes the listener hash as the key (as this is an implementation detail)
     * The sort method now guarantees that a listener registered before another will stay in the same order even for the same priority (for BC)
     * Made various optimizations
    fabpot committed Mar 18, 2011
  2. [EventDispatcher] made order deterministic (first registered one stay…

    … first) -- this makes the new system more compatible with the old one
    fabpot committed Mar 17, 2011
Commits on Mar 17, 2011
  1. fixed CS

    fabpot committed Mar 17, 2011
Commits on Mar 13, 2011
  1. Switched from Doctrine's EventManager implementation to the EventMana…

    …ger clone in Symfony2 (now called EventDispatcher again)
    webmozart committed Mar 13, 2011
Commits on Mar 6, 2011
Commits on Feb 26, 2011
  1. [EventDispatcher] Fixed typo

    pborreli committed Feb 26, 2011
Commits on Feb 22, 2011
Commits on Feb 3, 2011
Commits on Jan 28, 2011
Commits on Jan 26, 2011
  1. changed the EventDispatcher and Event interfaces

    The three notification methods do not return the Event instance anymore.
    notify() does not return anything
    notifyUntil() returns the returned value of the event that has processed the event
    filter() returns the filtered value
    Upgrading your listeners:
    Listeners for notify() and filter() events: nothing to change
    Listeners for notifyUntil() events:
        return true;
        return 'foo';
    If you notify events, the processing also need to be changed:
    For filter() notifications: the filtered value is now available as
    the returned value of the filter() method.
    For notifyUntil() notifications:
        $event = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            $ret = $event->getReturnValue();
            // do something with $ret
        $ret = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            // do something with $ret
    fabpot committed Jan 26, 2011
Commits on Jan 25, 2011
Commits on Jan 24, 2011
  1. fixed event dispatcher

    fabpot committed Jan 24, 2011