summaryrefslogtreecommitdiff
path: root/inc/parser
Commit message (Collapse)AuthorAge
* 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
* skip images in links for metadata rendererAndreas Gohr2007-03-02
| | | | darcs-hash:20070302102035-7ad00-65b1bcf0140b1aa434dc321b8e84b614f9b65e2f.gz
* Fix namespace links and titles (FS 1005, 1006)Guy Brand2007-02-17
| | | | darcs-hash:20070217220746-19e2d-76c857902d24301707eb783ced96f25c00526659.gz
* language-specific quotation marks (FS#438)Anika Henke2007-02-11
| | | | darcs-hash:20070211172015-d5083-2cab923b001391012a0a469746438d4d4087a718.gz
* compatibility fix for the recent render_TOC changeAndreas Gohr2007-02-08
| | | | | | | | render_TOC now behaves like before when called non-statically without an argument Fixes a problem in the config manager and probably other plugins using the function as well darcs-hash:20070208195457-7ad00-c84f60278e3917c31d2f915ad55f296f858b30c4.gz
* do preconnects only once #1067Stephane Chazelas2007-02-06
| | | | darcs-hash:20070206191629-64c10-6607d7e7e724315b728e8c46a0b2ff6e7e8ab2f6.gz
* give xhtml renderer method _xmlEntities standard parameter valueschris2007-02-06
| | | | darcs-hash:20070206021203-9b6ab-f580959f2177cecf4460ba55db016bb11cd111cc.gz
* refactor xhtml TOC creation into a class function, FS#1058chris2007-02-06
| | | | | | | | | | | | | - changed inc/parser/xhtml.php, render_TOC() function it now takes a toc array as a parameter - refactor render_TOC() and _tocitem() into static class functions The xhtml renderer can build its TOC using $this->render_TOC($this->toc) Templates can create a separate TOC using echo Doku_Renderer_xhtml::render_TOC(p_get_metadata($ID, 'description tableofcontents')); darcs-hash:20070206015454-9b6ab-b3bd7ff772b756f8aaf496cb319eb73994cdbd94.gz
* refactor renderer header() to separate out adding toc itemschris2007-02-06
| | | | | | | | | | adds a new render method toc_additem($id, $text, $level) This allows toc items to be added separately from the header() function, allowing plugins to generate their own table of content items without having to copy dw core code (which may in the future change). darcs-hash:20070206014821-9b6ab-218184e543f6b348e710acc2fe30a8ec329c66a8.gz
* fix FS#1010chris2007-01-26
| | | | darcs-hash:20070126204145-9b6ab-db7eba9c6045584a381eb83ae48787627973532b.gz
* create an addPluginCall() method for the handlerchris2007-01-25
| | | | | | | | | | refactor plugin() method to use new function this provides an interface for plugins to write their own instructions directly when returning a single instruction is not sufficient and saves plugin authors from hacking the handler's calls stack darcs-hash:20070125144103-9b6ab-3df781ec7fd1c4e75ac198139581cd2759c91052.gz
* improve and centralise email regexp, fixes FS#1049chris2007-01-25
| | | | darcs-hash:20070125143421-9b6ab-93ce6bfd804924af4651da9424738494f11fe5f2.gz
* fixed broken table alignmentAndreas Gohr2007-01-24
| | | | darcs-hash:20070124201255-7ad00-532c5d1ddc4d24aab980ff2cf6f521b051c73be2.gz
* moved interwiki resolve logic to base renderer classAndreas Gohr2007-01-24
| | | | darcs-hash:20070124111438-6e07b-7d3e534aa7eff56821bf94232fea7711c5881719.gz
* moved simple URL handling from renderer to handlerAndreas Gohr2007-01-24
| | | | darcs-hash:20070124101306-6e07b-f3b325915c5b379c5ec8ae3bcf21943be1942e83.gz
* move title function to base rendererAndreas Gohr2007-01-23
| | | | darcs-hash:20070123083854-7ad00-b2a6723121ed82076a04c5956ecdbf22ec5aede7.gz
* Renderer now inherits from Doku_PluginAndreas Gohr2007-01-20
| | | | | | This makes typical plugin functions available to render plugins. darcs-hash:20070119234945-7ad00-2ecc67ca68c85cfdd67718d147587f2f5ecb317a.gz
* added missing functions to renderer base classAndreas Gohr2007-01-15
| | | | darcs-hash:20070115201107-7ad00-a393183d8bc36296678f3f76adc43b5d5bec35a1.gz
* readded two changes from recent rollbackAndreas Gohr2007-01-06
| | | | darcs-hash:20070106111209-7ad00-2f632e44c6062d0c428269feb4276e83124eedad.gz
* UNDO: regex_simpler.patchhenning.noren2007-01-04
| | | | | | Replaces some simple regular expressions with standard (faster) string functions darcs-hash:20070104194953-d2a3e-8fd0c89812277467c5bce566dfc3fba6ce1c3981.gz
* regex_simpler.patchhenning.noren2007-01-04
| | | | | | Replaces some simple regular expressions with standard (faster) string functions darcs-hash:20070104194953-d2a3e-0b06e7a599a0177ad37a54497074893572e1cae2.gz
* tf_rename_lower.patchhenning.noren2007-01-03
| | | | | | | Name the TRUE/FALSE-constants consistently as lowercase everywhere. This might also be an tiny optimization in some environments. darcs-hash:20070103205700-d2a3e-e7ec0aedb938d563f583116a2d5b17f3a3fea36c.gz
* fix rss refresh to take into account other refresh settings on the same pagechris2006-12-12
| | | | darcs-hash:20061212200847-9b6ab-a844e9fec24e1ef63a8315026d518f0625beae4e.gz
* pluggable renderersAndreas Gohr2006-12-03
| | | | | | | | | | Plugins can now provide their own renderer in lib/plugins/<name>/renderer.php The class inside this file needs to inherit from Doku_Renderer and has to be called Doku_Renderer_<name> To access the renderer the export action can be used eg: ?do darcs-hash:20061203190138-7ad00-f56b470b5dd043e1168ff2101c677eb8a9851627.gz
* fixed display for file links with empty title #996Andreas Gohr2006-12-02
| | | | darcs-hash:20061202164826-7ad00-279df5b15e663daf8a1a6c170d644b51fbc4e005.gz
* metadata update to support both persistent and non-persistent metadatachris2006-11-26
| | | | | | | | | | | | | | | | Key changes: - metadata stored on disk in two arrays, 'current' & 'persistent' - p_set_metadata has an additional parameter, $persistent, which defaults to true - metadata set within the renderer defaults to non-persistent - new event hook, PARSER_METADATA_RENDER, which wraps around metadata rendering process. For full details of this event refer to the event list documentation at splitbrain. The patch includes automatic conversion of metadata in current form to the new format For more details also see http://www.freelists.org/archives/dokuwiki/11-2006/msg00221.html and any follow-up messages. darcs-hash:20061126152144-9b6ab-a4e40c221e0274b13da07dc2fc1d2100f5f3a50e.gz
* obfuscate email address when it is used in mailto links (bug#977)chris2006-11-13
| | | | | | | This patch applies when no alternate link text is supplied and the actual email address would be used as the link text. darcs-hash:20061113124108-9b6ab-bd8109100b9305a1a04964d226c779aa320df64c.gz
* DOMlib removedAndreas Gohr2006-11-10
| | | | | | | | | | | | | | | | The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup. Removing the library creates a much smaller JavaScript footprint. The size of the compacted non-edit Javascript output was reduces from 56110 bytes down to 29296 bytes. The footnote tooltip was completely rewritten and tested in FireFox 2.0, IE 6 and Opera 9.02. Please test other browsers as well. The acces key fixup might beahve different now on Mac platforms. darcs-hash:20061110201541-7ad00-0dffad095193bc7e7c505796a99b0a0a010a6b0d.gz
* no forcing of ASCII in section IDs for metadata (#882)chris2006-11-04
| | | | darcs-hash:20061104153643-9b6ab-d5db971def3e4415488b7b7af1d29d7bcd3bc2e3.gz
* fixed images in email linksAndreas Gohr2006-10-08
| | | | darcs-hash:20061008074029-7ad00-8457873dd8ad2f5a36dc8f44eca42a4378e61e93.gz
* amendments to previous patch updating rss & cachechris2006-09-25
| | | | | | | | | | | rss syntax extended to include a refresh parameter <digits><period> period can be d,h,m for days, hours, minutes respectively if not specified will default to 4 hours dokuwiki imposes a minimum of 10 minutes metadata now used "date valid age" (seconds) rather than "date valid end" darcs-hash:20060925201222-9b6ab-c8e6d8e40bb178295bab874fce5147ccff35fbbb.gz
* cache, metadata & purgefile updateschris2006-09-24
| | | | | | | | | | | | | | | | | | | Cache - add dependency for metadata renderer file - check metadata for end of page life, "date valid end". Metadata Renderer - RSS syntax mode now sets rendered page expiry, "date valid end" and includes the feed URL in "relation haspart". Purgefile For all wiki installations the purgefile records the earliest time before which no cache purge (based on data consistency) is required. Cache files older than this time MAY need to be purged. - remove purgeonadd configuration setting darcs-hash:20060924202157-9b6ab-4531e91411c41914eeab2b6a8160c3d46b001cee.gz
* fix for reversed RSS feeds #918Andreas Gohr2006-09-24
| | | | darcs-hash:20060924101329-7ad00-acff05b813c58ac7ddb98385c9970800af7aca6b.gz
* minor bugfix and boring error removalchris2006-09-23
| | | | darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
* parser update, add 'rss' to block mode lists, see FS#888.chris2006-09-17
| | | | darcs-hash:20060917211445-9b6ab-ae454dbf55ef50d664a80afd32fd42667f438ba5.gz
* removed superfluous <br /> after inline tablesAnika Henke2006-09-03
| | | | darcs-hash:20060903193759-d5083-276d7cb9622d9a009de2aedca8bfba880c3ffbdd.gz
* update backlink search to use metadatachris2006-09-01
| | | | darcs-hash:20060901002016-9b6ab-716518138edf541a869510d7c2934b9474547fc3.gz
* no forcing of ASCII in section IDsAndreas Gohr2006-08-25
| | | | | | | 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
* more unit test fixeschris2006-08-09
| | | | | | - move parser.test.php darcs-hash:20060809192115-9b6ab-973fea51fbfdcf5f44a2ac66000f2ccb5fdd43b4.gz
* cleanID unit testschris2006-08-09
| | | | | | | + fix missing utf8 deaccent character mapping + set utf-8 charset for HTMLReporter (unit tests) darcs-hash:20060809160209-9b6ab-26c80a4830643b9790536f6d3a4adee0f451e4f0.gz