| Commit message (Collapse) | Author | Age |
|
|
|
| |
darcs-hash:20091103161002-9a5f4-2114938a7e62a924b9fe424b63584a4747286563.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: 80398f84222bec1fce56eee8f107d37a
This patch enhances the code and file syntax with several new features.
1. code and file are now essentially the same and just differ in the class
name. This means you now can use the file syntax with syntax highlighting
as well. This also solves problems where the code to highlight already
contains a <code> tag (FS#1493)
2. a filename can be given as label for the code or file block. It is
specified as second parameter after the language:
<code html myfile.html>...</code>
If no highlighting is wanted, but a filename shall be given, you can use
a dash as language:
<code - somefile.foo>...</code>
3. when a filename was given (as shown above), the label links to a
download of the code given in the code/file block. This is made possible
by a new renderer in inc/parser/code.php. The basename of given filename
is suggested as filename when downloading.
darcs-hash:20090726175158-7ad00-969641a06ae1393a6d99207c3cd938fb67f23a71.gz
|
|
|
|
|
|
| |
Ignore-this: 159107eba3e7c8c1d2671ce93eb9bc4e
darcs-hash:20090130083215-7ad00-8ab2440fdd4a9c9e7790ee219e9a0e6c7588ddd8.gz
|
|
|
|
| |
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is the fourth in a series aimed at making it easier for DW to allow
plugins to modify the standard handling of line-breaks.
It adds:
- new config setting 'renderer_xhtml', default value 'xhtml'
- new renderer method 'reset()' which is used by reusable renderers when used
to render second and subsequent data. (*)
An extra step has been added to the renderer selection process.
- check $conf["renderer_$mode] for renderer name. If it doesn't exist use $mode as
the renderer name.
(*) It maybe that the 'document_start()' method can be used for this. However the
current xhtml does not correctly reset itself for reuse.
darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
capital letters (<HTML>+<PHP>)
darcs-hash:20070517233213-d5083-9dbccf77383575912ad75533ca690302557e0f79.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch adds another parser mode for apostrophes. Now single quote closing
markers are handled different from apostrophes for better local typograpy
support.
Needs testing and languages updates.
darcs-hash:20070513084024-7ad00-d20fe093a093c265d357b178e199c1596b484996.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Each renderer has to supply a getFormat() function returning the format it
produces. Usually this is the same as the classname of the renderer (or Plugin)
says but it does not need to be necessarily.
Fixes a problem with the wrong format being reported to plugins when a
render plugin was used.
darcs-hash:20070303214102-7ad00-3f87d8a10e94f4c6c30bacc8f43486b94ecdb146.gz
|
|
|
|
| |
darcs-hash:20070217220746-19e2d-76c857902d24301707eb783ced96f25c00526659.gz
|
|
|
|
|
|
|
|
|
|
| |
adds a new render method toc_additem($id, $text, $level)
This allows toc items to be added separately from the header() function, allowing
plugins to generate their own table of content items without having to copy dw
core code (which may in the future change).
darcs-hash:20070206014821-9b6ab-218184e543f6b348e710acc2fe30a8ec329c66a8.gz
|
|
|
|
| |
darcs-hash:20070124111438-6e07b-7d3e534aa7eff56821bf94232fea7711c5881719.gz
|
|
|
|
| |
darcs-hash:20070123083854-7ad00-b2a6723121ed82076a04c5956ecdbf22ec5aede7.gz
|
|
|
|
|
|
| |
This makes typical plugin functions available to render plugins.
darcs-hash:20070119234945-7ad00-2ecc67ca68c85cfdd67718d147587f2f5ecb317a.gz
|
|
|
|
| |
darcs-hash:20070115201107-7ad00-a393183d8bc36296678f3f76adc43b5d5bec35a1.gz
|
|
|
|
|
|
|
| |
Name the TRUE/FALSE-constants consistently as lowercase everywhere.
This might also be an tiny optimization in some environments.
darcs-hash:20070103205700-d2a3e-e7ec0aedb938d563f583116a2d5b17f3a3fea36c.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
added Doku_Handler_Nest class & "nest" render instruction
These allows render instructions to be nested within the "nest" render instruction,
isolating them from the outer list of render instructions.
Not being able to do this is a particular problem for the current Doku_Handler_* classes
as they process the list of intructions generated during their life without any recognition
that some of the instructions may not belong to them being nested within another syntax
mode.
This also makes it easier for plugins to generate cacheable nested instructions rather than
using the expensive p_render() function which has to create a new renderer.
darcs-hash:20060804220100-9b6ab-ccd051e287af45afacdb1efecb8d9beb376276cb.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch achieves a partial decoupling of the section edit buttons
from the header syntax. A new 'section_edit' instruction is added to the
instruction list. The default set of these instructions is generated from
the header handler and the _finalize function. A generic 'section_edit'
renderer is now part of the renderer.
To rewrite the section semantics, add, or remove section edit buttons the
header handler and renderer no longer need to be modified. Changes can be
dynamically made to the section edit buttons through the 'PARSER_HANDLER_DONE'
action event. An action plugin that registers this event can then modify
the calls list of the handler object before it is rendered.
In short, this patch makes it possible to change the behavior of the section
edit buttons without having to change unrelated code. This patch should be
entirely transparent to DokuWiki users and cleanly written plugins.
darcs-hash:20060522060004-05dcb-8e6b5215e1b610877f126ca0b9e1e5bc21cc6469.gz
|
|
|
|
| |
darcs-hash:20060224154748-7ad00-dc2e34203914bb51b622fc5c7eeac81b9118071f.gz
|
|
|
|
| |
darcs-hash:20060224151221-7ad00-314d411cb22d2cd59079751f31cf4b4c49a7f0b6.gz
|
|
|
|
| |
darcs-hash:20060219164726-7ad00-eb637e1db83e2f3b6c3629da18214b6587590b24.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)
It converts files to UNIX lineendings and removes tabs and trailing
whitespace. Not all files were cleaned yet.
darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
|
|
|
|
| |
darcs-hash:20050814221006-50fdc-fab19511d4bf55007c89c6fdca4179284da80efc.gz
|
|
|
|
| |
darcs-hash:20050813182213-50fdc-e1d2529944785b0e39bbd58a184c12d120ff1149.gz
|
|
|
|
| |
darcs-hash:20050501193908-9977f-e65b9b9bd123efaccc167f2e1ad9a1d4f51ba681.gz
|
|
|
|
| |
darcs-hash:20050413175338-9977f-c969db6f86df5df175db9a39b4fabb9f072f8f67.gz
|
|
|
|
| |
darcs-hash:20050410175916-9977f-92bd9f70d66160b0f6188f42870d12b2e0964077.gz
|
|
|
|
| |
darcs-hash:20050402154829-9977f-f9576f4bafed9cbc9c15f14a41ad3410ec5c5970.gz
|
|
darcs-hash:20050331145749-9977f-f011ea6c65a278197e9087b685c635c60a204cd2.gz
|