[dokuwiki] Re: darcs changes 2009-01-20
- From: Christopher Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 20 Jan 2009 12:22:39 +0900
On 20 Jan 2009, at 12:00, Andreas Gohr wrote:
Good Morning!
This are the darcs changes for DokuWiki committed
yesterday. Please test them and report bugs.
---------------------------------------------------------------------
<snip>
---------------------------------------------------------------------
Single patches can be downloaded from
http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches
Bye,
your darcs changelog mailer
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Due to time differences there are a several patches committed but not
mentioned above, three of them make significant changes to dokuwiki
(I've amended the descriptions a little to correct my poor late night
english):
Mon Jan 19 03:12:04 WST 2009 Chris Smith <chris.eureka@xxxxxxxxxxxxx>
* Rework configuration loading to use a predefined file list or
cascade
This change adds the global $config_cascade to hold a list of files
to be
read for each configuration setting group (e.g. main, acronyms,
etc). Dokuwiki
will only populate the cascade with the default file locations if
$config_cascade
is empty after the inclusion of preload.php.
One side effect of the change is that "local.protected.php" is part
of the default
cascade, removing the need for it to be included at the bottom of
local.php.
Mon Jan 19 03:43:54 WST 2009 Chris Smith <chris.eureka@xxxxxxxxxxxxx>
* Add capability to send pre-compressed js & css files if the
browser can accept them
- save a gzipped version of js & css files at the same time as the
uncompressed version is cached
- basic content negotiation to send the compressed files
- uses sendfile (for compressed or uncompressed versions) if config
indicates its available
Mon Jan 19 04:01:43 WST 2009 Chris Smith <chris.eureka@xxxxxxxxxxxxx>
* Major rework of pluginutils
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.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: