| Commit message (Collapse) | Author | Age |
|
|
|
| |
darcs-hash:20060903193759-d5083-276d7cb9622d9a009de2aedca8bfba880c3ffbdd.gz
|
|
|
|
|
|
|
| |
XHTML allows non-ASCII chars in ids and names, so there is no need
to forcibly romanize section header ids
darcs-hash:20060825173653-7ad00-f982cec893cc2d0f1b2de4226879d7d2b294ac76.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
|
|
|
|
|
|
|
| |
Fixing undefined variable notices and sometimes
the underlying error that produced them.
darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
|
|
|
|
|
|
|
|
|
|
|
| |
- Adds a constant DOKU_E_LEVEL for globally overriding the error reporting level.
- Adds a file based switch for enabling E_ALL errors without changing the code.
This is convenient for developers debugging new patches. It also ensures that
the new patch will not accidentally record manual changes to the error reporting
level. To enable E_ALL errors globally, create the file 'conf/report_e_all'.
darcs-hash:20060707232525-05dcb-0f24e53783f546a83268fe40b0d8b68f4d6ccfa6.gz
|
|
|
|
|
|
| |
Second part of the global start patch series :-)
darcs-hash:20060617111153-7ad00-1422551ec64ac84f473a8a5f3adb9cb332bb3f06.gz
|
|
|
|
| |
darcs-hash:20060607203012-7ad00-39f08d985ed975b9eb521aaa1f7d3d315b5e6588.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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Feeds are now parsed with SimplePie. The feed syntax was enhanced
darcs-hash:20060414110047-7ad00-6dd4b96845baab8683a2f837d6ad6fcb2fd53131.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
|
|
|
|
| |
darcs-hash:20060314152807-9b6ab-55f44121650def9bdc8dc00f30876baed1b37f9a.gz
|
|
|
|
|
|
| |
as discussed on the mailinglist
darcs-hash:20060311201015-7ad00-2eef847a38e711411be8fbac41c5a2cc7328886f.gz
|
|
|
|
| |
darcs-hash:20060310155752-45605-05a5e1641c314edb38a46d4d6f1145ad62e932a1.gz
|
|
|
|
| |
darcs-hash:20060302135001-6e07b-61d47e4a3438d14aef16772a04a3bbfd07e91e0d.gz
|
|
|
|
| |
darcs-hash:20060228210711-7ad00-316b48e7a541446e9778368b8d72fc5c11da16fd.gz
|
|
|
|
| |
darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.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:20051105155911-7ad00-ecba6272c534f73fc1ace47152187be87ef7c6d3.gz
|
|
|
|
| |
darcs-hash:20051030152828-7ad00-58a99ca20a1d6ec62612a6281034c1dd669be44d.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:20050922161723-7ad00-d3b80451eaa7315a7e5fbb41008d03e8bbc0a991.gz
|
|
|
|
|
|
| |
{{image.jpg?nolink}}
darcs-hash:20050915032348-36b45-f298b21de05001cd9a56b4859bf265079b57bf69.gz
|
|
|
|
| |
darcs-hash:20050911202522-7ad00-79c3db925f5c7c68e7751643a691ec0e4b380ea1.gz
|
|
|
|
| |
darcs-hash:20050902150527-283c4-dae58038c70aacb000f535e8173fa263ba774f52.gz
|
|
|
|
| |
darcs-hash:20050816192301-283c4-764462bd6cef810b4385a228edda3951ff709468.gz
|
|
|
|
| |
darcs-hash:20050815192355-7ad00-8ff39d69d48a8c1aa29a78111ff5b7d06a55256e.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch adds nicer URLs for media files (for fetch.php and
detail.php)
!IMPORTANT! Users of rewrite mode 1 need to adjust their .htaccess
See .htaccess.dist for an example
darcs-hash:20050814101834-7ad00-37ef1dea00affc9d808d9ee1289fa7454199cd24.gz
|
|
|
|
| |
darcs-hash:20050813182213-50fdc-e1d2529944785b0e39bbd58a184c12d120ff1149.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:20050728005522-50fdc-f359021d5bcf602c2c403d37852196d5eeb4d473.gz
|
|
|
|
| |
darcs-hash:20050724125047-7ad00-a03fa69aed22694f6b7635923b1f2ce564165b9f.gz
|