Good Morning! This are the darcs changes for DokuWiki committed yesterday. Please test them and report bugs. --------------------------------------------------------------------- Tue Apr 25 00:01:52 CEST 2006 chris[at]jalakai.co.uk * event system revision This is a major revision of DokuWiki's event system. There are changes to class names, function names, function parameters and their order and event names. For action plugin writers the following changes are important: - <event_name> is no longer signalled, only <event_name>_BEFORE and <event_name>_AFTER. - note the case change for _BEFORE and _AFTER - calling stopPropagation while processing a _BEFORE signal no longer prevents an _AFTER signal. The events _continue value is reset before the _AFTER signal is made. - events have a new readonly property, canPreventDefault. This lets the event handling hook know whether or not the event honours preventDefault calls. - parameters have changed for the register_hook method, parameters are now $event_name, $advise (can be 'BEFORE' or 'AFTER') $object $method $param (this parameter is now optional) - parameter order has changed for the hook event handler callback functions &$event $param (can now be left off) Event names have changed, they are now structured <dokuwiki name>_<event data name>_<action_name or state if no action> DOKUWIKI_START => DOKUWIKI_STARTED DOKUWIKI_END => DOKUWIKI_DONE ACTION_DISPATCH => ACTION_ACT_PREPROCESS SEND_HEADERS => ACTION_HEADERS_SEND TPL_ACTION_HTML => TPL_ACT_RENDER TPL_DISPLAY_HTML => TPL_CONTENT_DISPLAY ACTION_TEMPLATE => TPL_ACT_UNKNOWN HANDLER_FINALISED => PARSER_HANDLER_DONE Dokuwiki developers should review the code in inc/events.php There is now a function wrapper trigger_event() which can be used to create and process and event in one line. Mon Apr 24 23:44:48 CEST 2006 Andreas Gohr <andi[at]splitbrain.org> * just a few symbols in the picker added Mon Apr 24 23:38:06 CEST 2006 Andreas Gohr <andi[at]splitbrain.org> * GeShi Update to 1.0.7.9 --------------------------------------------------------------------- Single patches can be downloaded from http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches Bye, your darcs changlog mailer -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist