| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a major revision of DokuWiki's event system. There are changes to class names,
function names, function parameters and their order and event names.
For action plugin writers the following changes are important:
- <event_name> is no longer signalled, only <event_name>_BEFORE and <event_name>_AFTER.
- note the case change for _BEFORE and _AFTER
- calling stopPropagation while processing a _BEFORE signal no longer prevents an
_AFTER signal. The events _continue value is reset before the _AFTER signal is made.
- events have a new readonly property, canPreventDefault. This lets the event handling
hook know whether or not the event honours preventDefault calls.
- parameters have changed for the register_hook method, parameters are now
$event_name,
$advise (can be 'BEFORE' or 'AFTER')
$object
$method
$param (this parameter is now optional)
- parameter order has changed for the hook event handler callback functions
&$event
$param (can now be left off)
Event names have changed, they are now structured
<dokuwiki name>_<event data name>_<action_name or state if no action>
DOKUWIKI_START
darcs-hash:20060424220152-9b6ab-00e366288f7ec8a85b85dc83694a5f43a07aa082.gz
|
|
|
|
| |
darcs-hash:20060415104627-283c4-c7d35620fc9dbc21b8a47089692b76d35a9f9ca8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This event is advisory only.
Event data is the handler object.
There is no default action to prevent.
The event is signalled by the handler during its finalisation of the instruction list.
At the time of signalling the instruction list is complete except for three instrucitons,
meta, document_start & document_end.
Syntax plugins could register for this event to finalise processing of their data knowing
it is complete, e.g. an alternate footnote plugin.
darcs-hash:20060414201101-9b6ab-eba2d096ed3b82e1ec6b24ee90caaa9849f16093.gz
|
|
|
|
|
|
| |
Feeds are now parsed with SimplePie. The feed syntax was enhanced
darcs-hash:20060414110047-7ad00-6dd4b96845baab8683a2f837d6ad6fcb2fd53131.gz
|
|
|
|
| |
darcs-hash:20060412184125-7ad00-e51f8d531bf3011d230f62cb99fd18de8f150c41.gz
|
|
|
|
| |
darcs-hash:20060411182721-7ad00-0f34803c6228eb2918f0049284e6290a47ce51bd.gz
|
|
|
|
| |
darcs-hash:20060410194333-7ad00-abb8bc33f647ccd8587edbcc151bc60895dd3ae0.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
|
|
|
|
|
|
| |
Parser don't longer breaks if no smileys, acronyms or entities are configured
darcs-hash:20060317182631-7ad00-090248bae8cdeaa19127251e46dfaef80ef49f58.gz
|
|
|
|
| |
darcs-hash:20060314152807-9b6ab-55f44121650def9bdc8dc00f30876baed1b37f9a.gz
|
|
|
|
|
|
| |
as discussed on the mailinglist
darcs-hash:20060311201015-7ad00-2eef847a38e711411be8fbac41c5a2cc7328886f.gz
|
|
|
|
| |
darcs-hash:20060310155752-45605-05a5e1641c314edb38a46d4d6f1145ad62e932a1.gz
|
|
|
|
|
|
| |
Add parser detection for LDAP URI scheme as specified in RFC 2255
darcs-hash:20060311130311-c47a2-fd0b1e2a6ba50e4c76732101966dcb27c42a178f.gz
|
|
|
|
| |
darcs-hash:20060303100006-9b6ab-2598a779d472cd48c1a06801871a45fef09f90bf.gz
|
|
|
|
| |
darcs-hash:20060302135001-6e07b-61d47e4a3438d14aef16772a04a3bbfd07e91e0d.gz
|
|
|
|
| |
darcs-hash:20060228210711-7ad00-316b48e7a541446e9778368b8d72fc5c11da16fd.gz
|
|
|
|
| |
darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
|
|
|
|
| |
darcs-hash:20060224154748-7ad00-dc2e34203914bb51b622fc5c7eeac81b9118071f.gz
|
|
|
|
| |
darcs-hash:20060224151221-7ad00-314d411cb22d2cd59079751f31cf4b4c49a7f0b6.gz
|
|
|
|
| |
darcs-hash:20060223205726-7ad00-9f68c6bb78a495b1a3b67835927a9d5452d05945.gz
|
|
|
|
| |
darcs-hash:20060219164726-7ad00-eb637e1db83e2f3b6c3629da18214b6587590b24.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060206001131-d5083-cded00c0dd4cffce4986abaea6021cd93e1477f4.gz
|
|
|
|
| |
darcs-hash:20060127193238-d5083-7af0a40e439cd5f63e45d4037611132a16856799.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060115183253-d5083-a343b935336bee053b99d75c7e3e72a296eb0099.gz
|
|
|
|
| |
darcs-hash:20060114163558-d5083-0d8e27162de2b0bfe9783e31cf4ca45a99006dd5.gz
|
|
|
|
| |
darcs-hash:20051212202103-7ad00-0dc080bff0423f2c93e29361db03452552577e93.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20051111203902-7ad00-d3cd09528f6732723652e1bb01ba6e8fb9b6205f.gz
|
|
|
|
| |
darcs-hash:20051106233800-e96b6-90328f1b6cc5c8b25c6e02f113cf80475789d297.gz
|
|
|
|
| |
darcs-hash:20051107000554-e96b6-1a7ae7a9d5e820d3c52629570ff33f8e75bc4a46.gz
|
|
|
|
| |
darcs-hash:20051105155911-7ad00-ecba6272c534f73fc1ace47152187be87ef7c6d3.gz
|
|
|
|
| |
darcs-hash:20051103162630-6e07b-21520008f556114f8273307e7d6d33795488b1d2.gz
|
|
|
|
| |
darcs-hash:20051030152828-7ad00-58a99ca20a1d6ec62612a6281034c1dd669be44d.gz
|
|
|
|
| |
darcs-hash:20051022220320-7ad00-ada9d82ad5fdc670cfecc0f3fbdc50f6ed7fc036.gz
|
|
|
|
|
|
|
| |
The parser tests are outdated and need to be adjusted. Currently 71 tests
fail. Others are probably missing.
darcs-hash:20051021232328-7ad00-c1d62951dad810dc73f8e78ae82f37465c21c261.gz
|
|
|
|
| |
darcs-hash:20051021223434-7ad00-b6364357c2cc0af50bfdd1490debbb198d3ee5a6.gz
|
|
|
|
| |
darcs-hash:20051018213436-7ad00-63e2b361e358729cb90a6126f9cc842e4904c3ec.gz
|
|
|
|
| |
darcs-hash:20051018200633-7ad00-959b25da1390a8d86e546b59ffe9a49094afb205.gz
|
|
|
|
|
|
|
|
|
|
| |
The edit form now is free of inline event handlers. There are still other
places where inline javascript and even document.write is used which should
be fixed as well. Currently the window.onload event is used to initialize
everything which may not the best way to do so. Dean Edwards may have a
solution: http://dean.edwards.name/weblog/2005/09/busted/
darcs-hash:20051015184404-7ad00-2404744d008e5ea7e1b5800c96800824b532ff47.gz
|
|
|
|
| |
darcs-hash:20051014193252-7ad00-8f7fdf928fb5a48085749ad2cb923a5cebf701fb.gz
|
|
|
|
| |
darcs-hash:20050930155249-0fef0-16280e1c28947a2604e04fb3311b97f207b6234a.gz
|
|
|
|
| |
darcs-hash:20050927223112-9b6ab-61c435bb0a674b2a7bd7dd707edc973f3a6bf068.gz
|
|
|
|
|
|
|
| |
This patch changes the last quantifier in interwiki regexp to "*",
allowing constructs like "MyWiki>".
darcs-hash:20050922165958-5de9f-912efa15d90a109a2e02a74d14e0fa4de809b963.gz
|