Skip to content
Snippets Groups Projects
  1. Mar 26, 2010
  2. Jan 31, 2010
    • Andreas Gohr's avatar
      first attempt to centralize all include loading · 16905344
      Andreas Gohr authored
      Classes are loaded throug PHP5's class autoloader, all other
      includes are just loaded by default. This skips a lot of
      require_once calls.
      
      Parser and Plugin stuff isn't handled by the class loader yet.
      16905344
  3. Jan 15, 2010
  4. Dec 13, 2008
  5. Sep 30, 2007
    • Andreas Gohr's avatar
      don't use realpath() anymore (FS#1261 and others) · 00976812
      Andreas Gohr authored
      The use of realpath() to clean up relative file names caused some
      trouble in certain setups relying on symlinks or having restricitve
      file structure setups.
      
      This patch replaces all realpath() calls with a PHP only replacement
      which should solve those problems.
      
      darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
      00976812
  6. Nov 16, 2006
  7. Aug 04, 2006
    • chris's avatar
      unittest fixes · 03c4aec3
      chris authored
      darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
      03c4aec3
  8. Jul 25, 2006
    • chris's avatar
      events.php update · 063b1eb8
      chris authored
      fixes issue whereby event handler objects (e.g. action plugins) were being
      copied rather than accessed by reference.
      
      darcs-hash:20060725123219-9b6ab-d684db577251b108a062a41a2b1ee1eda472f835.gz
      063b1eb8
  9. Jul 10, 2006
    • Ben Coburn's avatar
      fixing undefined variables · d98d4540
      Ben Coburn authored
      Fixing undefined variable notices and sometimes
      the underlying error that produced them.
      
      darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
      d98d4540
  10. Apr 24, 2006
    • chris's avatar
      event (minor) update · 73ca7c9c
      chris authored
      correct handling of enablePreventDefault in advise_before()
      improved comments for trigger_event() wrapper
      
      darcs-hash:20060424234541-9b6ab-b07040f60b86c40466b95d92514b0a0d60674a83.gz
      73ca7c9c
    • chris's avatar
      event system revision · 24bb549b
      chris authored
      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
      
      darcs-hash:20060424220152-9b6ab-00e366288f7ec8a85b85dc83694a5f43a07aa082.gz
      24bb549b
  11. Apr 14, 2006
    • chris's avatar
      action plugins · f65bfee1
      chris authored
      This patch adds events and a third plugin type, "action" plugins, to DokuWiki.
      
      The patch doesn't include any event signalling, that will be added in later patches.
      
      Action plugins are loaded before most Dokuwiki processing takes place and at the
      same time are given the opportunity to register handlers (or hooks) to receive
      specific dokuwiki events.
      
      Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register
      handlers to receive events.
      
      Any part of Dokuwiki can create and signal events, including templates and plugins.
      
      This patch also revises the admin plugin class by making it an extension of a
      new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this
      new class.
      
      Further details of events, their signalling and handling, and of action plugins will
      be added to wiki.splitbrain.org in due course :-)
      
      darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
      f65bfee1
Loading