summaryrefslogtreecommitdiff
path: root/inc/parser
Commit message (Collapse)AuthorAge
...
* Fix for FS#172Gina Haeussge2008-10-11
| | | | darcs-hash:20081011122908-2b4f5-97f0279e58fb8f59bbff03a3c841aad6113e93f2.gz
* syntax plugin match getter and setterpierre.spring2008-08-29
| | | | darcs-hash:20080829125828-c07ef-b27cbac1f23e313572952ea8f1172fbd88f60493.gz
* Allow syntax plugin handle() function to return false to indicate do not ↵Chris Smith2008-08-13
| | | | | | create plugin render instruction darcs-hash:20080813125334-f07c6-dc93aefae6f027152a7bded7f0dacc814d041566.gz
* removed all occurrences of onkeypress (FS#1449)Anika Henke2008-07-20
| | | | darcs-hash:20080720110738-d5083-50a92498622bd6ca9850da8f9417974fb39ccc3d.gz
* Support RSS feeds that don't have item linksAndreas Gohr2008-05-06
| | | | darcs-hash:20080506210040-7ad00-b516a4fdfde5eab5b0e1773f834ef796af15a594.gz
* Fix for FS#1350Chris Smith2008-03-29
| | | | | | | | | | | | | 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
* allow numbers in interwiki descriptors FS#1358Andreas Gohr2008-03-25
| | | | darcs-hash:20080325185208-7ad00-d5181f3d82f89f6ed1d4ca9068db4123df8d443b.gz
* completed PCRE error checking in lexerAndreas Gohr2008-03-19
| | | | darcs-hash:20080319195345-7ad00-2def5dffd099cfb13863f73122821dc2e48b9b1b.gz
* update preformatted syntax mode to ignore entire blocks of white spaceChris Smith2008-03-13
| | | | | | | | | | 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
* Add support for plugin renderers to replace standard renderersChris Smith2008-03-12
| | | | | | | | | | | | | | | | | | | 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
* change line-break replacement character to '\n'Chris Smith2008-03-12
| | | | | | | | | | | | | | | | | 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
* Update handler to merge consecutive 'cdata' instructions (incl. test case ↵Chris Smith2008-03-12
| | | | | | | | | | | | | 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
* another change in highlight handlingAndreas Gohr2008-03-10
| | | | | | | | | | 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
* fixed search result linking of pagenames which consist of numbers onlyMichael Klier2008-03-10
| | | | darcs-hash:20080310203620-23886-c6b6828f4cbd47cac4f904a25ca454403adef41c.gz
* Change handler to use a defined character for line-break replacementChris Smith2008-03-09
| | | | | | | | | | | | | 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
* fixed dates for aggregated RSSAndreas Gohr2008-02-27
| | | | darcs-hash:20080227215222-7ad00-6fc84f0d572490b4b6183602b8be7e6c61199aeb.gz
* Table Row And Col ClassesPierre Spring2008-02-23
| | | | | | 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
* renamed justlink option to linkonlyAndreas Gohr2008-02-23
| | | | darcs-hash:20080223101426-7ad00-ceacdc83e829f1da7aa272eb597277a8c78113be.gz
* media_justlinkPierre Spring2008-02-21
| | | | darcs-hash:20080221160833-c3d3e-1afe0835f9ba1af27712bd34e8b0b65e6165284f.gz
* fix for earlier phpok & htmlok pathChris Smith2008-02-14
| | | | darcs-hash:20080214113350-d26fc-3b3e46d9d5423a84c4288a18c1b83f972ca6bfa8.gz
* Rationalise Parser PHP & HTML syntax mode handling to renderer only.Chris Smith2008-02-13
| | | | | | | | | | | | | | 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
* UNDO: remove htmlok and phpok tests from Doku_HandlerSpring Pierre2008-01-17
| | | | | | | | | 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
* remove htmlok and phpok tests from Doku_HandlerSpring Pierre2008-01-17
| | | | | | | | | 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
* use <sup> to markup footnote anchorsAndreas Gohr2008-01-19
| | | | | | | 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
* prevent error on buggy syntax plugin FS#1218Andreas Gohr2008-01-19
| | | | darcs-hash:20080118234120-7ad00-01defe99eda2568ef91acc679a35b25e8bdc40ed.gz
* correct UTF-8 trimming of abstracts in metarenderer FS#1233Andreas Gohr2008-01-18
| | | | darcs-hash:20080118224834-7ad00-bda8d919c3fdf4bafe8509dca35aa437b38e1ac6.gz
* add relAndreas Gohr2008-01-18
| | | | darcs-hash:20080118223507-7ad00-3cc83db3fac31917a50378646785a006a03825a2.gz
* try to warn about pcre.backtrack_limit errors FS#1258Andreas Gohr2008-01-18
| | | | darcs-hash:20080118214138-7ad00-86962cd0413db95ea19383c4579b3240ad3c4301.gz
* parenthesis_escaper_fixstephane.chazelas2008-01-04
| | | | darcs-hash:20080104145301-3d17c-6ba186de4a2661f7d4f6b080e4cf74fed9ae1904.gz
* Allow HTML from inline RSS (typo fix)Tom N Harris2007-10-16
| | | | darcs-hash:20071015225606-6942e-4945a9510445707655951b740f6302dfb97c655a.gz
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | 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
* Fix not checking capture in metadata rendererTom N Harris2007-09-25
| | | | darcs-hash:20070925201030-6942e-7c2ac56c877cb6772d500b2391ddc490dc6fdec5.gz
* TOC fixedAndreas Gohr2007-08-07
| | | | | | This fixes some small bugs which were introduced with recent TOC changes darcs-hash:20070807171844-7ad00-fc09dd6d09b72927e64dfa41dd8b86fc20d86ed0.gz
* minor fixes for recent tpl_toc() patchchris2007-08-05
| | | | darcs-hash:20070805163833-9b6ab-82e8cd7ec37d163ccb552e3b6aee8c1f70e75f15.gz
* separated TOC from pageAndreas Gohr2007-08-05
| | | | | | | | | | | | | | | | | | 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
* SimplePie upgrade to 1.0Andreas Gohr2007-07-19
| | | | darcs-hash:20070719080638-7ad00-5b69a4e568291a2e2479a7a09743be3157a7d114.gz
* improved feed creationAndreas Gohr2007-07-11
| | | | | | | | | 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
* deleted unnecessary htmlok+phpok checksAnika Henke2007-05-18
| | | | darcs-hash:20070517234228-d5083-9a00c354c88dc59ca314ae31baebc612e6577174.gz
* added block mode for embedded html+php (FS#541) -- same syntax but in ↵Anika Henke2007-05-18
| | | | | | capital letters (<HTML>+<PHP>) darcs-hash:20070517233213-d5083-9dbccf77383575912ad75533ca690302557e0f79.gz
* some more tweaks to the smart quote parserAndreas Gohr2007-06-26
| | | | | | | Now all test cases succeed, but there is probably still trouble with certain conditions. darcs-hash:20070626181735-7ad00-dd6e51e37cda7ca63077a2779afe1753ad975f84.gz
* fixed problem with #section added to all linksAndreas Gohr2007-06-25
| | | | darcs-hash:20070625204256-7ad00-928a9544d9a5f161bd2b445f49dfc5be22703153.gz
* fix for colons in fragment identifiers FS#1062Andreas Gohr2007-06-23
| | | | darcs-hash:20070623142008-7ad00-fe29449145bb0f41d28b26d088c9017545775d74.gz
* Verbose errors for failed feed fetchingAndreas Gohr2007-06-18
| | | | | | | 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
* correct javascript escape for languagestring in windows share links FS#1147Andreas Gohr2007-06-13
| | | | | | This piece of code should be replaced by some unobstrusive code in the future darcs-hash:20070613193351-7ad00-ce797a00e945f902e2fb309b83ffca988c2fb7e6.gz
* make typography option three staged FS#1142Andreas Gohr2007-06-13
| | | | | | | | | | | | | | | | 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
* some small improvement for smart quote parsing FS#1142Andreas Gohr2007-06-13
| | | | darcs-hash:20070613173817-7ad00-99fdc0bf868bff124ef7c5ec01ef3f58c51b36eb.gz
* fixed copy'n'paste error for previous apostrophe fixAndreas Gohr2007-05-13
| | | | darcs-hash:20070513114356-7ad00-9908fbead71a836679e884cf8225c20dcf14ce85.gz
* distinction between apostrophes and single quotes FS#1127Andreas Gohr2007-05-13
| | | | | | | | | | 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
* fix for missing alt attribute for captionless JPEGs FS#1126Andreas Gohr2007-05-04
| | | | darcs-hash:20070504184441-7ad00-47c6f91236a21ed3dbd0b12e4ec0e9c2d717f340.gz
* added getFormat() function to rendererAndreas Gohr2007-03-03
| | | | | | | | | | | 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