Skip to content
Snippets Groups Projects
  1. Sep 10, 2012
  2. Sep 10, 2011
  3. Aug 20, 2011
  4. Aug 29, 2010
  5. Mar 26, 2010
  6. 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
  7. Oct 20, 2009
    • Andreas Gohr's avatar
      Coding Standard Cleanup · db959ae3
      Andreas Gohr authored
      Ignore-this: 259cb5773c3144c6c706d87298dcf674
      
      darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
      db959ae3
  8. Jan 22, 2009
  9. Jan 18, 2009
    • Chris Smith's avatar
      Major rework of pluginutils · 10e43949
      Chris Smith authored
      This patch completely reworks pluginutils to:
      - reduce the number of file accesses to enumerate and load plugins
      - change the way disabled plugins are recorded.
        a disabled plugin will now have ".disabled" added to its directory name
        (this halves the number of file accesses required to enumerate installed plugins)
      - place the guts of pluginutils code inside a class, Doku_Plugin_Controller,
        the existing access routines are preserved and no changes are required.
      - add two globals, $plugin_controller_class & $plugin_controller
        this allows preload.php to define its own plugin controller class
      - update config plugin to support new plugin structure
        config plugin now issues a PLUGIN_CONFIG_PLUGINLIST event before it
        finalizes the list of plugins it will be working with.  Handlers of this
        event can remove plugins from the list.
      - update plugin manager plugin to support new plugin structure
        plugin manager now issues a PLUGIN_PLUGINMANAGER_PLUGINLIST event similarly
        to config plugin.
      - plugin manager updated to redirect after changes to plugins and to use msg()
      
      Finally, this patch contains a one-shot action plugin which will automatically
      convert a plugins directory from the old style disabled file to the new style.
      
      Note for darcs users, the new disabled format will mean a couple of old oneshot
      plugins, importoldchangelog and importoldindex, will have their directory names
      changed, which could lead to darcs wanting to record the change.
      
      darcs-hash:20090118190143-f07c6-d2e79af546a49a4af5817dd0c5cc27066e67c4d0.gz
      10e43949
  10. Aug 13, 2008
  11. Jun 27, 2007
  12. Feb 27, 2007
  13. Jan 19, 2007
    • Andreas Gohr's avatar
      Some renderer plugin updates · c327d6c4
      Andreas Gohr authored
      The namingscheme for renderer plugins now matches the other types, the plugin
      manager now returns info on renderer plugins, too
      
      darcs-hash:20070120002731-7ad00-fcea93a6a6da807103b6aa82d6472196125cb3ec.gz
      c327d6c4
  14. Oct 26, 2006
  15. Sep 08, 2006
  16. Aug 04, 2006
    • chris's avatar
      unittest fixes · 03c4aec3
      chris authored
      darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
      03c4aec3
  17. 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
  18. Mar 11, 2006
  19. Feb 17, 2006
  20. Jan 25, 2006
  21. Jan 14, 2006
  22. Oct 29, 2005
  23. Sep 07, 2005
  24. Sep 02, 2005
  25. Aug 24, 2005
  26. Aug 04, 2005
  27. Aug 03, 2005
  28. Aug 02, 2005
  29. Aug 01, 2005
    • Andreas Gohr's avatar
      Load plugin javascript · 3600bd52
      Andreas Gohr authored
      Javascript files from plugins called script.js are loaded automatically
      
      darcs-hash:20050801182242-7ad00-2bc839c92c54e641347ed1cbeadf8bba3ef6a7a8.gz
      3600bd52
  30. Jul 31, 2005
    • Andreas Gohr's avatar
      Plugins can add their own CSS now · 4b15e09d
      Andreas Gohr authored
      Plugins can use their own styleheets now. They are loaded in the tpl_metaheader
      function.
      
      The following files are used if existing in the plugin's directory:
      
      style.css  - overall style used always
      screen.css - only used in normal view (media
      
      darcs-hash:20050731073521-7ad00-dcece7a255d3b08a1d2da9f2444b31e628ee76ea.gz
      4b15e09d
  31. Jul 30, 2005
    • Andreas Gohr's avatar
      Changed pluginloading to use references · a46d0d65
      Andreas Gohr authored
      This patch allows the use of $this in syntax plugins to set internal variables
      and let them remain between handle and render calls. Even when it is possible
      now to use this method you should exchange data betwenn handler and render calls
      by using the $data array only.
      
      darcs-hash:20050730215156-7ad00-69ea79859360d9902533633395de3e1b677f6e46.gz
      a46d0d65
  32. May 21, 2005
    • andi's avatar
      sorting support for syntax plugins, info plugin now actually does something · 107b01d6
      andi authored
      Syntax plugins now need to implement getSort() which should return a number.
      This number is used to add all syntax modes in the correct order. To see a
      list in which order current modes are loaded you can use the info plugin like
      this:
      
      ~~INFO:syntaxmodes~~ lists all known modes (includes existing plugins) with
      their sorting score
      
      ~~INFO:syntaxtypes~~ lists all syntax types and their registered modes (useful
      for implementing the getType() function.
      
      darcs-hash:20050521210430-9977f-2baaf6043afc6ea3fed41cdca97564218fb519c2.gz
      107b01d6
  33. May 19, 2005
    • andi's avatar
      first attempt of syntax plugins · ee20e7d1
      andi authored
      The first version of the new plugin system. Syntax plugins only yet. A very simple
      example plugin called info (doing nothig useful yet) is included.
      
      Missing Features
      
        - Doku_Block_Handler needs work (doesn't honur plugins yet)
        - there is no way to specify the order of plugins and other modes yet
        - useful output from the info plugin
        - bug testing and fixing
        - code cleanup
        - documentation
      
      darcs-hash:20050519201009-9977f-f793dbfc6a39d8a9643b610927d93cd3288bdd6b.gz
      ee20e7d1
Loading