[gallery/gallery3] ee467a: Change handling of Gallery's initialization sequen...

GitHub <noreply-9UaJU3cA/F/[email protected]> Wed, 26 Jun 2013 03:51:50 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <51cac7c69e68e_4639789de4171742@hookshot-fe3-pe1-prd.aws.github.net.mail>
----==_mimepart_51cac7c69cf2d_4639789de4171590
Date: Wed, 26 Jun 2013 03:51:50 -0700
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <51cac7c69dcd5_4639789de4171667-P8FJ25gi/wj6tP7GJsamfiqyDsTP4bNorxkAB0y/[email protected]>

  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: ee467a4b95b07100867de140c0bc9516181a48dd
      https://github.com/gallery/gallery3/commit/ee467a4b95b07100867de140c0bc9516181a48dd
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-26 (Wed, 26 Jun 2013)

  Changed paths:
    M application/bootstrap.php
    M index.php
    M modules/gallery/classes/Gallery/Controller.php
    M modules/gallery/classes/Gallery/Gallery.php
    M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
    M modules/gallery/classes/Gallery/Route.php
    M modules/gallery/classes/Gallery/Theme.php
    M modules/gallery_unittest/classes/GalleryUnittest/Controller/GalleryUnittest.php
    A modules/gallery_unittest/classes/GalleryUnittest/Route.php
    A modules/gallery_unittest/classes/Route.php
    M modules/rest/classes/RestAPI/Hook/RestEvent.php
    R modules/rest/init.php
    M modules/tag/classes/Tag/Hook/TagEvent.php
    R modules/tag/init.php

  Log Message:
  -----------
  Change handling of Gallery's initialization sequence
- put entire ready-go-shutdown application sequence in index.php
(from bootstrap and Controller::execute())
- define two events - "gallery_ready" and "initial_request_ready"
- move all init-related code there
(from init.php files, bootstrap and Gallery::ready() code)
- remove Gallery::ready() and Gallery::shutdown() functions
- remove init.php files of rest and tag modules
- revise Theme::load_themes() to match changes
- revise Route::set() override to invert route ordering (matches module order)
- add Route::clear_all() to gallery_unittest module
- revise Controller_GalleryUnittest to clear routes and re-run "gallery_ready"
- unit tests now pass on a clean install!


  Commit: 50a9da503062b9b399e1737ed7e48755a6bc2731
      https://github.com/gallery/gallery3/commit/50a9da503062b9b399e1737ed7e48755a6bc2731
  Author: Shad Laws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-26 (Wed, 26 Jun 2013)

  Changed paths:
    M application/bootstrap.php
    M index.php
    M modules/gallery/classes/Gallery/Controller.php
    M modules/gallery/classes/Gallery/Gallery.php
    M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
    M modules/gallery/classes/Gallery/Route.php
    M modules/gallery/classes/Gallery/Theme.php
    M modules/gallery_unittest/classes/GalleryUnittest/Controller/GalleryUnittest.php
    A modules/gallery_unittest/classes/GalleryUnittest/Route.php
    A modules/gallery_unittest/classes/Route.php
    M modules/rest/classes/RestAPI/Hook/RestEvent.php
    R modules/rest/init.php
    M modules/tag/classes/Tag/Hook/TagEvent.php
    R modules/tag/init.php

  Log Message:
  -----------
  Merge pull request #432 from shadlaws/fixes_20130626

Change handling of Gallery's initialization sequence


Compare: https://github.com/gallery/gallery3/compare/d39138cf781d...50a9da503062

----==_mimepart_51cac7c69cf2d_4639789de4171590
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
----==_mimepart_51cac7c69cf2d_4639789de4171590
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
----==_mimepart_51cac7c69cf2d_4639789de4171590--