| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
darcs-hash:20081011122908-2b4f5-97f0279e58fb8f59bbff03a3c841aad6113e93f2.gz
|
|
|
|
| |
darcs-hash:20080829125828-c07ef-b27cbac1f23e313572952ea8f1172fbd88f60493.gz
|
|
|
|
|
|
| |
create plugin render instruction
darcs-hash:20080813125334-f07c6-dc93aefae6f027152a7bded7f0dacc814d041566.gz
|
|
|
|
| |
darcs-hash:20080720110738-d5083-50a92498622bd6ca9850da8f9417974fb39ccc3d.gz
|
|
|
|
| |
darcs-hash:20080506210040-7ad00-b516a4fdfde5eab5b0e1773f834ef796af15a594.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Inline modes, <php> and <html>, when their associated config setting is off, will
generate highlighted text wrapped in a <code> element.
There is a slight change in behaviour for p_xhtml_cached_geshi(), it will now strip
leading and trailing blank lines from the input code string.
Also fixes an issue where global $conf wasn't declared, preventing the
['target']['extern'] setting being passed to GeSHi
darcs-hash:20080329194443-f07c6-00db3d502b07a6ff0c7f6e5c74a3691438504bcb.gz
|
|
|
|
| |
darcs-hash:20080325185208-7ad00-d5181f3d82f89f6ed1d4ca9068db4123df8d443b.gz
|
|
|
|
| |
darcs-hash:20080319195345-7ad00-2def5dffd099cfb13863f73122821dc2e48b9b1b.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch only updates the actual "preformatted" syntax mode, that is
only preformatted blocks caused by leading blanks on a line. If the entire
block is empty, it is ignored. ie. if a block of preformatted text has
leading or trailing empty lines and some non-empty lines, the leading and
trailing content are preserved.
darcs-hash:20080313203950-f07c6-9d0745b157e45b61b06ff0c7d85bec8558946c1e.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is the third in a series aimed at making it easier for DW to allow
plugins to modify the standard handling of line-breaks.
It effectively leaves the new-line character '\n' in the 'cdata' instruction
allowing the renderer to process the character as it chooses. No changes have
been made to the renderers.
This change is neutral to xhtml renderers as xhtml treats spaces and new-lines
identically (as white-space).
Writers of renderer plugins are advised to check their plugin against the new
patch.
darcs-hash:20080312000924-f07c6-a6dab2d16c7bc42e9dc8eb137648c6f984b4f2e6.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates)
This patch is the second in the series designed to make it easier for DW to allow
plugins to modify the standard handling of line-breaks.
Like the first this patch doesn't alter line-break behaviour at all, but introduces
improvements that reduce to a minimum the number of 'cdata' instructions generated
by the handler.
darcs-hash:20080312000248-f07c6-f6ce1b5aac43a52cbe31215c517b048679ae20a7.gz
|
|
|
|
|
|
|
|
|
|
| |
Now higlighting phrases are passed as an array which then is quoted correctly
when used in a regexp. This should make phrase highlighting work completely
correct.
Please everyone test it.
darcs-hash:20080310214939-7ad00-1abefb02dde40edeead50b4fa5c866c46b95ca3a.gz
|
|
|
|
| |
darcs-hash:20080310203620-23886-c6b6828f4cbd47cac4f904a25ca454403adef41c.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is the first in a series aimed at making it easier for DW to allow
plugins to modify the standard handling of line-breaks.
Currently the handler "eats" line-break characters replacing them with a space.
This patch changes the replacement character to a define, DOKU_PARSER_EOL and
updates all the test cases to use the new define.
DOKU_PARSER_EOL is left as a space.
darcs-hash:20080309201116-f07c6-21edb4f6955da8fa5ba0f9346d859a7c5c69a239.gz
|
|
|
|
| |
darcs-hash:20080227215222-7ad00-6fc84f0d572490b4b6183602b8be7e6c61199aeb.gz
|
|
|
|
|
|
| |
This patch adds classes to the table rows and cells (td and th). This can be of usage when templating and within syntax plugins.
darcs-hash:20080223175808-c3d3e-73384884597c56deac774a8a52cd20b639b3039b.gz
|
|
|
|
| |
darcs-hash:20080223101426-7ad00-ceacdc83e829f1da7aa272eb597277a8c78113be.gz
|
|
|
|
| |
darcs-hash:20080221160833-c3d3e-1afe0835f9ba1af27712bd34e8b0b65e6165284f.gz
|
|
|
|
| |
darcs-hash:20080214113350-d26fc-3b3e46d9d5423a84c4288a18c1b83f972ca6bfa8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch corrects the problems with the previously (reversed) patch
"remove htmlok and phpok tests from Doku_Handler".
The handler will now write php, phpblock, html & htmlblock instructions
and let the renderer decide how these instructions should be processed.
The xhtml renderer will follow the "phpok" and "htmlok" config settings.
If these settings are turned off the any instructions will be rendered as
code with php or html syntax highlighting (as appropriate).
darcs-hash:20080213024941-d26fc-ec485362803e63a2d949dad5c23e17db939e6ced.gz
|
|
|
|
|
|
|
|
|
| |
there is no necessity for the "htmlok"
and "phpok" testing in the Doku_Handler, taken the fact that the page
renderer does it too. and it gives the possibility to the renderer to
choose, what to do with such blocks.
darcs-hash:20080117222648-01292-c4b5a890ada5e5e962ba7e3f62c4c2fc5d72138f.gz
|
|
|
|
|
|
|
|
|
| |
there is no necessity for the "htmlok"
and "phpok" testing in the Doku_Handler, taken the fact that the page
renderer does it too. and it gives the possibility to the renderer to
choose, what to do with such blocks.
darcs-hash:20080117222648-01292-cfce862d4e6fe9ce61feda7d6f11f014a68f5ffa.gz
|
|
|
|
|
|
|
| |
Using the <sup> HTML tag ensures that footnotes are shown correctly when
displayed outside the DokuWiki stylesheet (eg. in feedreaders)
darcs-hash:20080119010614-7ad00-59426b5e1d44f0ab932867e19e42b71f260f9cc9.gz
|
|
|
|
| |
darcs-hash:20080118234120-7ad00-01defe99eda2568ef91acc679a35b25e8bdc40ed.gz
|
|
|
|
| |
darcs-hash:20080118224834-7ad00-bda8d919c3fdf4bafe8509dca35aa437b38e1ac6.gz
|
|
|
|
| |
darcs-hash:20080118223507-7ad00-3cc83db3fac31917a50378646785a006a03825a2.gz
|
|
|
|
| |
darcs-hash:20080118214138-7ad00-86962cd0413db95ea19383c4579b3240ad3c4301.gz
|
|
|
|
| |
darcs-hash:20080104145301-3d17c-6ba186de4a2661f7d4f6b080e4cf74fed9ae1904.gz
|
|
|
|
| |
darcs-hash:20071015225606-6942e-4945a9510445707655951b740f6302dfb97c655a.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
|
|
|
|
| |
darcs-hash:20070925201030-6942e-7c2ac56c877cb6772d500b2391ddc490dc6fdec5.gz
|
|
|
|
|
|
| |
This fixes some small bugs which were introduced with recent TOC changes
darcs-hash:20070807171844-7ad00-fc09dd6d09b72927e64dfa41dd8b86fc20d86ed0.gz
|
|
|
|
| |
darcs-hash:20070805163833-9b6ab-82e8cd7ec37d163ccb552e3b6aee8c1f70e75f15.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces a tpl_toc() function which can be used to freely place
the Table of Contents in a template. When used, tpl_content should be called
with a parameter of false to supress the automatic TOC placement.
Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the
preview. A work around is to run tpl_content() in a output buffer first.
This patch also adds a getTOC() function for admin plugins which allows plugin
authors to put create their own TOC which will be placed correctly in the
template. A convenience function html_mktocitem() is available.
The config manager was adjusted to make ue of this new feature, but some bugs
might remain.
darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz
|
|
|
|
| |
darcs-hash:20070719080638-7ad00-5b69a4e568291a2e2479a7a09743be3157a7d114.gz
|
|
|
|
|
|
|
|
|
| |
The feed now can export diff views (unified and HTML) as well as full HTML
page content.
Some things might be broken. Everybody please test it!
darcs-hash:20070711213624-7ad00-49359417127fdbd6e31374738509110271b6b351.gz
|
|
|
|
| |
darcs-hash:20070517234228-d5083-9a00c354c88dc59ca314ae31baebc612e6577174.gz
|
|
|
|
|
|
| |
capital letters (<HTML>+<PHP>)
darcs-hash:20070517233213-d5083-9dbccf77383575912ad75533ca690302557e0f79.gz
|
|
|
|
|
|
|
| |
Now all test cases succeed, but there is probably still trouble with certain
conditions.
darcs-hash:20070626181735-7ad00-dd6e51e37cda7ca63077a2779afe1753ad975f84.gz
|
|
|
|
| |
darcs-hash:20070625204256-7ad00-928a9544d9a5f161bd2b445f49dfc5be22703153.gz
|
|
|
|
| |
darcs-hash:20070623142008-7ad00-fe29449145bb0f41d28b26d088c9017545775d74.gz
|
|
|
|
|
|
|
| |
When the allowdebug option is set, the error message generated by the feed parser
will be put in an HTML comment.
darcs-hash:20070618172904-7ad00-729b99d76df499890ded3f43b708196de9ff8cbe.gz
|
|
|
|
|
|
| |
This piece of code should be replaced by some unobstrusive code in the future
darcs-hash:20070613193351-7ad00-ce797a00e945f902e2fb309b83ffca988c2fb7e6.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because correct smart quote parsing with regular expressions is nearly
impossible, especially when dealing with quote usage in languages different
from english, the typography configuration option was changed.
0 means to completely disable any typography replacements
1 will only handle the multiply entitity and double quotes, this should
nearly always work without problems and is the new default
2 will add singlequote parsing. This might break because single quotes and
apostrophes are not always easily distinguishable. Especially in languages
where single quote openings and apostrophes are different characters you
might experience problems. For english it should nearly always work.
darcs-hash:20070613184015-7ad00-0cebc3f807f54467d54458075c5c9f651355c5ba.gz
|
|
|
|
| |
darcs-hash:20070613173817-7ad00-99fdc0bf868bff124ef7c5ec01ef3f58c51b36eb.gz
|
|
|
|
| |
darcs-hash:20070513114356-7ad00-9908fbead71a836679e884cf8225c20dcf14ce85.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
|
|
|
|
| |
darcs-hash:20070504184441-7ad00-47c6f91236a21ed3dbd0b12e4ec0e9c2d717f340.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
|