| #
35dae8b0 |
| 22-May-2006 |
Ben Coburn <btcoburn@silicodon.net> |
decouple section edit from header in renderer
This patch achieves a partial decoupling of the section edit buttons from the header syntax. A new 'section_edit' instruction is added to the instructio
decouple section edit from header in renderer
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
show more ...
|
| #
a4a2d4cf |
| 07-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
metadata hnalding updates, header fixes
This removes the meta instruction again in favour of the new meta renderer. Most tests work now again, a few tweaks were done on the header handler to render
metadata hnalding updates, header fixes
This removes the meta instruction again in favour of the new meta renderer. Most tests work now again, a few tweaks were done on the header handler to render certain headers as it did in earlier versions.
darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
show more ...
|
| #
3db95bec |
| 14-Apr-2006 |
Andreas Gohr <andi@splitbrain.org> |
feed aggregation revamped
Feeds are now parsed with SimplePie. The feed syntax was enhanced
darcs-hash:20060414110047-7ad00-6dd4b96845baab8683a2f837d6ad6fcb2fd53131.gz
|
| #
e1c10e4d |
| 09-Apr-2006 |
chris <chris@jalakai.co.uk> |
Parser Update:
- revisions to header class and section handling header pattern simplified header class now writes section open and close instructions section call writer removed check for an
Parser Update:
- revisions to header class and section handling header pattern simplified header class now writes section open and close instructions section call writer removed check for and update meta['first_header'] if required (see below)
- meta instruction added written by _finalize to front of instruction stack holds first header information
plugins can now write first header information, or other page meta information to this data structure.
- get_first_heading updated to make use of meta['first_header']
- plugin instruction structure changed to include lexer state in the data portion of the instruction. OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos) NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos)
- block handler/call writer update to better handle plugin PTypes 'block' & 'stack'. Lexer states are mapped as follows: DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p>
Plugin writers can now use these PTypes as intended !
darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz
show more ...
|
| #
27918226 |
| 14-Mar-2006 |
chris <chris@jalakai.co.uk> |
xhtml.php fix for recent <p>..</p> removal regex
darcs-hash:20060314152807-9b6ab-55f44121650def9bdc8dc00f30876baed1b37f9a.gz
|
| #
3e55d035 |
| 11-Mar-2006 |
Andreas Gohr <andi@splitbrain.org> |
empty paragraph fixup for XHTML renderer
as discussed on the mailinglist
darcs-hash:20060311201015-7ad00-2eef847a38e711411be8fbac41c5a2cc7328886f.gz
|
| #
21ed2ba4 |
| 10-Mar-2006 |
jan <jan@jandecaluwe.com> |
Fix toc indentation for toptoclevel > 1
darcs-hash:20060310155752-45605-05a5e1641c314edb38a46d4d6f1145ad62e932a1.gz
|
| #
a9e0fd1b |
| 02-Mar-2006 |
Andreas Gohr <gohr@cosmocode.de> |
small patch for unique ids
darcs-hash:20060302135001-6e07b-61d47e4a3438d14aef16772a04a3bbfd07e91e0d.gz
|
| #
56fa9a3f |
| 28-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
fixed Call to undefined function: html_buildlist in the feed
darcs-hash:20060228210711-7ad00-316b48e7a541446e9778368b8d72fc5c11da16fd.gz
|
| #
24a33b42 |
| 26-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
changed IDs to avoid name clashes
darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
|
| #
b8c943a4 |
| 24-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
removed deprecated TOC code
darcs-hash:20060224151221-7ad00-314d411cb22d2cd59079751f31cf4b4c49a7f0b6.gz
|
| #
0affd488 |
| 23-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
endless loop fixed #727
darcs-hash:20060223205726-7ad00-9f68c6bb78a495b1a3b67835927a9d5452d05945.gz
|
| #
e41c4da9 |
| 19-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
some TOC fixes
darcs-hash:20060219164726-7ad00-eb637e1db83e2f3b6c3629da18214b6587590b24.gz
|
| #
c5a8fd96 |
| 18-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
create unique IDs for sections
This patch finally completes the support for unique section IDs.
To achive this the mechanism how the TOC is build was changed. The TOC now is build in the renderer o
create unique IDs for sections
This patch finally completes the support for unique section IDs.
To achive this the mechanism how the TOC is build was changed. The TOC now is build in the renderer only. Currently the TOC will be rendered in the end_document function and is then prepended to the doc. This should ensure compatibility with the rest of the code.
Adding support for separating the TOC from the page should now be a simpler task in the future.
TODO: - Update base class - remove commented old TOC code - make sure no other parts of the code use any of the old TOC code
darcs-hash:20060218230744-7ad00-40c5463d93f8ae1c543fb4fed747b2047b4c1302.gz
show more ...
|
| #
98c86858 |
| 17-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
file cleanups
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
file cleanups
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
show more ...
|
| #
8a831f2b |
| 10-Feb-2006 |
Andreas Gohr <andi@splitbrain.org> |
romanization support in utf8 library
This patch addes basic romanization support to the utf-8 library. It converts non-latin languages to ASCII.
The transliteration tables used where gathered from
romanization support in utf8 library
This patch addes basic romanization support to the utf-8 library. It converts non-latin languages to ASCII.
The transliteration tables used where gathered from various places on the net. I do not speak any of those languages so I can't say how good they are. Any recommendations and fixes are welcome!
This can be enabled for ID cleaning by setting the deaccent option to 2. It is also used in the XHTML renderer to generate section ids based on the header titles. Leading digits and any remaining non-ASCII chars are removed as well. This is the first step to make section ID always XHTML compatible. Making sure they are unique is not implemented yet.
darcs-hash:20060210200627-7ad00-61a633563bb92a00ef4a3f699d73117139cbf367.gz
show more ...
|
| #
c6a1c1bf |
| 06-Feb-2006 |
Anika Henke <a.c.henke@arcor.de> |
anchors inside headlines
darcs-hash:20060206001131-d5083-cded00c0dd4cffce4986abaea6021cd93e1477f4.gz
|
| #
02e51121 |
| 27-Jan-2006 |
Anika Henke <a.c.henke@arcor.de> |
further xhtml strictness -- part 3
darcs-hash:20060127193238-d5083-7af0a40e439cd5f63e45d4037611132a16856799.gz
|
| #
b6c6979f |
| 21-Jan-2006 |
Andreas Gohr <andi@splitbrain.org> |
urlencode -> rawurlencode (related to #685)
This changes nearly all occurences of urlencode to rawurlencode. The latter encodes spaces as %20 while the former uses a + sign. For the use in browser U
urlencode -> rawurlencode (related to #685)
This changes nearly all occurences of urlencode to rawurlencode. The latter encodes spaces as %20 while the former uses a + sign. For the use in browser URLs %20 is the correct form.
darcs-hash:20060121192747-7ad00-6563b77368a41f071609495c6a145982938a8301.gz
show more ...
|
| #
96331712 |
| 15-Jan-2006 |
Anika Henke <a.c.henke@arcor.de> |
stricter xhtml compliance -- part 2
darcs-hash:20060115183253-d5083-a343b935336bee053b99d75c7e3e72a296eb0099.gz
|
| #
4beabca9 |
| 14-Jan-2006 |
Anika Henke <a.c.henke@arcor.de> |
better_xhtml_compliance_1.patch
darcs-hash:20060114163558-d5083-0d8e27162de2b0bfe9783e31cf4ca45a99006dd5.gz
|
| #
4ce6ec08 |
| 12-Dec-2005 |
Andreas Gohr <andi@splitbrain.org> |
css fix for compatibility with older templates
darcs-hash:20051212202103-7ad00-0dc080bff0423f2c93e29361db03452552577e93.gz
|
| #
00540a38 |
| 10-Dec-2005 |
Andreas Gohr <andi@splitbrain.org> |
unobstrusive JS for TOC, better onload handling
This path adds more unobstrusive JavaScript for the TOC handling. It also loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-base
unobstrusive JS for TOC, better onload handling
This path adds more unobstrusive JavaScript for the TOC handling. It also loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-based Browsers as described at http://dean.edwards.name/weblog/2005/09/busted/ - a IE solution was not chosen yet.
darcs-hash:20051210193709-7ad00-771461e56d9661caf9ca733a6d617f009e24d0b7.gz
show more ...
|
| #
9d2ddea4 |
| 11-Nov-2005 |
Andreas Gohr <andi@splitbrain.org> |
fix for bad characters in interwiki classes
darcs-hash:20051111203902-7ad00-d3cd09528f6732723652e1bb01ba6e8fb9b6205f.gz
|
| #
d15166e5 |
| 05-Nov-2005 |
Andreas Gohr <andi@splitbrain.org> |
use classes for file icons like in interwiki links
darcs-hash:20051105155911-7ad00-ecba6272c534f73fc1ace47152187be87ef7c6d3.gz
|