| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
This fixes a bug in GeSHi which adds an addtional newline (patch sent to
upstream) and makes sure the code highlighting cache honors the purge
request variable.
darcs-hash:20060806204258-7ad00-56ad794b90b8ad38f62e8e4d9e430a8622636bc5.gz
|
|
|
|
|
|
|
|
|
|
| |
The current code add 2 unwanted trailing lines in highlighted code. One is produced
by DokuWiki's syntax and is fixed by this patch. The second one is created somewhere
inside GeShi. A bug report was submitted upatream [1]
[1] http://sourceforge.net/tracker/index.php?funcÞtail&aid31373&group_id4997&atidg0231
darcs-hash:20060730201442-7ad00-222a23a3bfccd7c53105e7175cdc9992be2d8076.gz
|
|
|
|
| |
darcs-hash:20060728225649-9b6ab-124a5511574bd9955f56d0426586f877b9ec66c8.gz
|
|
|
|
|
|
|
|
|
|
| |
PARSER_WIKITEXT_PREPROCESS
RENDERER_CONTENT_POSTPROCESS
Both have been implemented as signals, that is without any action and
therefore there will be no results during the _AFTER event
darcs-hash:20060724193434-9b6ab-e48d13d06da55122e501a686f9b841f7b3c97dfe.gz
|
|
|
|
|
|
| |
Third part of the global start series
darcs-hash:20060618113532-7ad00-46a62cc819c41ead8a16bc3f6c6d1bf67d9c6bf4.gz
|
|
|
|
| |
darcs-hash:20060528133552-7ad00-8281720582dbc448534f35cc978e9c8175b54f0d.gz
|
|
|
|
|
|
|
|
|
|
|
| |
This adds meta data rendering to the indexer process to build missing meta data
in the background.
p_get_first_heading was adjusted to make use of the new meta data mechanisms
A problem with unitialized arrays in p_set_metadata and PHP5 was fixed (I think)
darcs-hash:20060430181740-7ad00-8952fa6beb4fadf6b4321627998442d34febfc8d.gz
|
|
|
|
| |
darcs-hash:20060415104627-283c4-c7d35620fc9dbc21b8a47089692b76d35a9f9ca8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
- Using the export modes 'handler', 'lexer', 'parser', or 'renderer'
now produces a nicer non-fatal error.
- The export mode 'wiki' is now ignored to avoid fatal errors.
darcs-hash:20060409045546-05dcb-89f4c56c23d9798f4cb2dd000804cb8c03524b6d.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:20060125211620-7ad00-aecd98eba9a237f3314281c0924c1eab99dbe589.gz
|
|
|
|
| |
darcs-hash:20051118194856-7ad00-5b7f8dea8371acd85ccfe31ac6f748cb2b619486.gz
|
|
|
|
| |
darcs-hash:20051107000554-e96b6-1a7ae7a9d5e820d3c52629570ff33f8e75bc4a46.gz
|
|
|
|
| |
darcs-hash:20051027183410-7ad00-5ca48cf2d4058016f5cf07887d9eaa7b07a4043f.gz
|
|
|
|
| |
darcs-hash:20051016185709-7ad00-cf9de03231c90e1c6725fe7553909d682bca1a59.gz
|
|
|
|
| |
darcs-hash:20050804235036-50fdc-1881a40da689bc5abbe608a2ce96a1ed192a43a4.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz
|
|
|
|
| |
darcs-hash:20050716111225-7ad00-913c36c65ac1a985fea60eed57fc7391328bfacd.gz
|
|
|
|
| |
darcs-hash:20050628193126-4d95a-ca1821ae6db6c0d7af518be19f3eb36be06ea1bf.gz
|
|
|
|
|
|
|
|
| |
This cleans up the directory structure as discussed on the mailning
list. Users should delete their previous _cache directories to
recover diskspace.
darcs-hash:20050626100913-9977f-83c0fdc32047db2090fc52a843ffae50cbf12248.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
The above function used to return NULL if a cached copy was required but
wasn't found. It now returns an empty array instead.
darcs-hash:20050513122255-9977f-193fcfcc12f676f355407358c6000e4a74999c03.gz
|
|
|
|
| |
darcs-hash:20050501193908-9977f-e65b9b9bd123efaccc167f2e1ad9a1d4f51ba681.gz
|
|
|
|
| |
darcs-hash:20050501174843-9977f-10aeb839e657f94ed9fead63db63a9b28137e3fc.gz
|
|
|
|
| |
darcs-hash:20050501161512-9977f-c74a1814bfc6844e019e27a32b2a459888172a0b.gz
|
|
|
|
| |
darcs-hash:20050429114925-9977f-ff5b6dcf702b533a2dd64397522da7cd7b97f092.gz
|
|
|
|
| |
darcs-hash:20050427182837-9977f-c27ffa0d48b7592d1870da5dce3cf401a18d2476.gz
|
|
|
|
| |
darcs-hash:20050426075543-9977f-fabae0206ae90574af37bf48b56c8d962f283049.gz
|
|
|
|
| |
darcs-hash:20050425183543-9977f-86c2d99ebfcb30849443b7bc5ef1a09859148732.gz
|
|
|
|
| |
darcs-hash:20050424132922-9977f-5e9acbeae431ca1c605169829e580bf094a09ef9.gz
|
|
|
|
| |
darcs-hash:20050422164153-9977f-443f332fa6e591dfa352448ceb5dd24811d227a2.gz
|
|
|
|
| |
darcs-hash:20050419185603-9977f-4bc9a1ba1878436bd71795c5d7fec2a5582561bf.gz
|
|
|
|
| |
darcs-hash:20050418184011-9977f-acd3a6583e08ce3732af5ffc4fdc3027e284173e.gz
|
|
|
|
| |
darcs-hash:20050416211422-45605-fe8c790a6b317dc9c35a63d78c6367248cc01045.gz
|
|
|
|
| |
darcs-hash:20050417154042-9977f-a599079671a126c53c508de5ac1ea5da734c933d.gz
|
|
darcs-hash:20050416171733-9977f-61a66a56862c4126c6987cdc19609b4e5504da9b.gz
|