History log of /dokuwiki/lib/plugins/syntax.php (Results 26 – 50 of 56)
Revision Date Author Comments
# fec2accc 26-Jan-2013 Klap-in <klapinklapin@gmail.com>

Added loadHelper() to DokuWiki_Syntax_Plugin.


# 38479cbb 29-Nov-2012 Dominik Eckelmann <deckelmann@gmail.com>

some coding style improvements

- removed some dead/unused code
- fixed phpdoc
- added typing on methods


# 0a6ae52f 28-Jul-2012 Michael Hamann <michael@content-space.de>

Initialize more variables and test if others are set (no functional changes)


# 3e8e3ae6 28-Jul-2012 Michael Hamann <michael@content-space.de>

Fix inconsistent return values in the indexer and in getInfo()


# e3ab6fc5 28-Jul-2012 Michael Hamann <michael@content-space.de>

Fixed and extended PHPDoc comments and added additional @var comments


# e6cecb08 26-Dec-2010 Michael Hamann <michael@content-space.de>

Language files can now be customized in the conf/ directory

As suggested by Robin Getz locale .txt files can now be duplicated and
changed in the conf/lang/ directory and conf/plugin_lang/$plugin/
d

Language files can now be customized in the conf/ directory

As suggested by Robin Getz locale .txt files can now be duplicated and
changed in the conf/lang/ directory and conf/plugin_lang/$plugin/
directory for plugins.

show more ...


# e3776c06 29-Nov-2010 Michael Hamann <michael@content-space.de>

Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3

As of VIM 7.3 it is no longer possible to specify the encoding in the
modeline. This gives an error message whenever such a file is o

Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3

As of VIM 7.3 it is no longer possible to specify the encoding in the
modeline. This gives an error message whenever such a file is opened,
thus this commit removes the enc setting from the modeline.

show more ...


# 187b5536 29-Mar-2010 Adrian Lang <lang@cosmocode.de>

Update syntax plugin base class (DOOM DO-OOM)


# f6ec8df8 29-Mar-2010 Adrian Lang <lang@cosmocode.de>

Allow plugins to specify that they have to be instantiated

Plugins may return false in isSingleton to let plugin_load return a new
instance every time it is called.
Renderer plugins are not loaded w

Allow plugins to specify that they have to be instantiated

Plugins may return false in isSingleton to let plugin_load return a new
instance every time it is called.
Renderer plugins are not loaded with $new set to true, but instead specify
themself that they are not singletons. This behaviour allows the odt renderer
to keep working (see #1598).

show more ...


# c2a6d816 01-Feb-2010 Andreas Gohr <andi@splitbrain.org>

plugin related autoloading

This patch moved the place where DOKU_PLUGIN is defined. It no longer
can be set from a normal config (only via preload)


# d4e9d5c7 11-Nov-2009 Andreas Gohr <andi@splitbrain.org>

More flexible plugin packages FS#1746

Ignore-this: 252bb5a42965ed045221c0544136aa62

darcs-hash:20091111203437-7ad00-86f06d842b3bec22641a637cb09dbc666a42ca2d.gz


# e842bd07 11-Feb-2009 Chris Smith <chris.eureka@jalakai.co.uk>

Fix for FS#1598 - allow a plugin to be a singleton if it so desires

DokuWiki typically instantiates a plugin once and reuses
that instance whenever the plugin is required. However on
some occasions

Fix for FS#1598 - allow a plugin to be a singleton if it so desires

DokuWiki typically instantiates a plugin once and reuses
that instance whenever the plugin is required. However on
some occasions DokuWiki will request a new instantiation of
a plugin. This particularly applies to render plugins. This
patch allows a plugin to force DokuWiki to reuse the existing
instance.

If a plugin wishes to only be instantiated once then it
should implement an "isSingleton()" method and that
method should return boolean true.

darcs-hash:20090211143520-f07c6-5c1a33dbed55f0b196a204745fe3139f3c7c0aa9.gz

show more ...


# 82d61635 22-Oct-2008 pierre.spring <pierre.spring@liip.ch>

parser: put match on the call stack

darcs-hash:20081022140209-c07ef-c4d27f3c581ee6ee7cedb886f9e5b2675503b817.gz


# 3c829837 29-Aug-2008 pierre.spring <pierre.spring@liip.ch>

syntax plugin match getter and setter

darcs-hash:20080829125828-c07ef-b27cbac1f23e313572952ea8f1172fbd88f60493.gz


# 6f9bd982 18-Jan-2008 Andreas Gohr <andi@splitbrain.org>

prevent error on buggy syntax plugin FS#1218

darcs-hash:20080118234120-7ad00-01defe99eda2568ef91acc679a35b25e8bdc40ed.gz


# 4ac67140 19-Jan-2007 Andreas Gohr <andi@splitbrain.org>

moved plugin base class to inc

darcs-hash:20070119233350-7ad00-a8ae733093693a55c2566f5ee698a7b4aa3a833a.gz


# 0a7e3bce 26-Nov-2006 chris <chris@jalakai.co.uk>

metadata update to support both persistent and non-persistent metadata

Key changes:
- metadata stored on disk in two arrays, 'current' & 'persistent'
- p_set_metadata has an additional parameter, $p

metadata update to support both persistent and non-persistent metadata

Key changes:
- metadata stored on disk in two arrays, 'current' & 'persistent'
- p_set_metadata has an additional parameter, $persistent, which defaults to true
- metadata set within the renderer defaults to non-persistent
- new event hook, PARSER_METADATA_RENDER, which wraps around metadata rendering process. For
full details of this event refer to the event list documentation at splitbrain.

The patch includes automatic conversion of metadata in current form to the new format

For more details also see http://www.freelists.org/archives/dokuwiki/11-2006/msg00221.html
and any follow-up messages.

darcs-hash:20061126152144-9b6ab-a4e40c221e0274b13da07dc2fc1d2100f5f3a50e.gz

show more ...


# 173f2783 27-Oct-2006 chris <chris@jalakai.co.uk>

fix bug#956 (also sp. in pluginutils)

darcs-hash:20061027004117-9b6ab-b7eda08e246e942a1ca4841b94abeda4c2ed722c.gz


# 4b5f4f4e 11-Sep-2006 chris <chris@jalakai.co.uk>

parser caching update

This patch primarily updates p_cached_xhtml() and p_cached_instructions() to
allow their caching logic to be surrounded by an event trigger.

p_cached_xhtml() has been rewritte

parser caching update

This patch primarily updates p_cached_xhtml() and p_cached_instructions() to
allow their caching logic to be surrounded by an event trigger.

p_cached_xhtml() has been rewritten as the more general p_cached_output() to
support other render output formats besides 'xhtml'. All calls to
p_cached_xhtml() have been changed to refer to the new function.

New event:

name: PARSER_CACHE_USE
data: cache object (see below)
action: determine if cache file can be used
preventable: yes
result: bool, true to use cache file, false otherwise

Cache operations have been generalised in a new class, cache, extended to
cache_parser, cache_renderer & cache_instructions. Details can be found in
inc/cache.php

For handling of above event, key properties are:
- page, if present the wiki page id,
may not always be present, e.g. when called for locale xhtml files
- file, source file
- mode, renderer mode (e.g. 'xhtml') or 'i' for instructions

Other changes:
- cache class counts cache hits against attempts, results are stored in
{cache_dir}/cache_stats.txt
- adds metadata dependency to renderer page cache
- replaces purgefile dependency for renderer cache with metadata
'relation references' (internal link) dependency for wiki pages only

darcs-hash:20060911021418-9b6ab-19601ed194b8c8e45236ab72c3e23d78bf777e6c.gz

show more ...


# e66e6c7e 30-Apr-2006 chris <chris@jalakai.co.uk>

improvements to common plugin i/f

update comments to work with DokuWiki's auto generated API docs.

slight restructure of configuration functions and comments
- loadConfig now loads plugin config se

improvements to common plugin i/f

update comments to work with DokuWiki's auto generated API docs.

slight restructure of configuration functions and comments
- loadConfig now loads plugin config settings into
$conf['plugin'][<plugin_name>] & $this->conf. These are aliases
ensuring only one copy is stored.
- readDefaultSettings() reads the plugin's conf/default.php

darcs-hash:20060430152308-9b6ab-9ec53e79ce5b07405acb84d19d81df9dd609612e.gz

show more ...


# e04f1f16 09-Apr-2006 chris <chris@jalakai.co.uk>

Bug#680

Update default plugins to ensure they exit immediately
if not called from within Dokuwiki

darcs-hash:20060409233841-9b6ab-555e4fced756849a5d7b9de6e4aaaea24c6da3ae.gz


# f1f77134 22-Mar-2006 Esther Brunner <esther@kaffeehaus.ch>

methods for loading config variables in syntax and amin plugins

darcs-hash:20060322110832-283c4-d8e56c241f8a34827f1c188c4db7162ef658e010.gz


# b3a7251e 08-Sep-2005 chris <chris@teacherscpd.co.uk>

add localisation methods to syntax plugin base class

darcs-hash:20050908000225-50fdc-abc9e505bc9510e309ae061b995bbfbfd1a97b01.gz


# 706882dc 13-Aug-2005 chris <chris@teacherscpd.co.uk>

syntax_plugin base class update, change render param name from $mode to $format

darcs-hash:20050813182407-50fdc-c0facca23432b25c0773dd2a8a6c0772c48ee8b7.gz


# 4f32716e 03-Aug-2005 Andreas Gohr <andi@splitbrain.org>

plugin tweaks, info plugin fixes

darcs-hash:20050803180226-7ad00-7bce1982ed6589511ce38e2e4e5e4cdf8640a0ae.gz


123