summaryrefslogtreecommitdiff
path: root/inc/parser
Commit message (Collapse)AuthorAge
* fixed filename support in <file> syntaxAndreas Gohr2009-07-26
| | | | | | Ignore-this: 59bec5f55f7d0eb26d454d76da750142 darcs-hash:20090726185025-7ad00-1577f684e585c849fda9505ccad98735f0c7bb76.gz
* merge conflict resolveAndreas Gohr2009-07-26
| | | | | | Ignore-this: f902ad415663a4a1d9e43e0ccc808bbb darcs-hash:20090726180336-7ad00-fd881cbf4799dd42f53d324550d625bb91274bbe.gz
* enhanced <code> and <file> syntaxAndreas Gohr2009-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-this: 80398f84222bec1fce56eee8f107d37a This patch enhances the code and file syntax with several new features. 1. code and file are now essentially the same and just differ in the class name. This means you now can use the file syntax with syntax highlighting as well. This also solves problems where the code to highlight already contains a <code> tag (FS#1493) 2. a filename can be given as label for the code or file block. It is specified as second parameter after the language: <code html myfile.html>...</code> If no highlighting is wanted, but a filename shall be given, you can use a dash as language: <code - somefile.foo>...</code> 3. when a filename was given (as shown above), the label links to a download of the code given in the code/file block. This is made possible by a new renderer in inc/parser/code.php. The basename of given filename is suggested as filename when downloading. darcs-hash:20090726175158-7ad00-969641a06ae1393a6d99207c3cd938fb67f23a71.gz
* Avoid double encoding for RSS titles FS#1705Andreas Gohr2009-07-26
| | | | | | Ignore-this: 3e02f7f87047627230ff95fd4a38de32 darcs-hash:20090726114554-7ad00-4ad7f6e5c9a95eea352ab909a54798a5a773e9f1.gz
* make sure email addresses are correctly obfuscated FS#1722Andreas Gohr2009-07-25
| | | | | | Ignore-this: 49feffebb48bf10ce99e5d3bf3b4e2e7 darcs-hash:20090725115243-7ad00-12f5c856de534b555577f50666b44f724c760f93.gz
* fixed too strict trim on non-parsed blocksAnika Henke2009-07-16
| | | | darcs-hash:20090715233729-f7d6d-44fc39da1eb65d138e7987f90c613b10978652f8.gz
* Change expensive uses of split to the much faster explode.Tom N Harris2009-05-28
| | | | darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
* removed purple numbersAnika Henke2009-05-25
| | | | darcs-hash:20090525194435-f7d6d-2def694a053f7e661f88f1636903283bad7c1fa8.gz
* .final (?) fix for purple numbersAnika Henke2009-05-06
| | | | darcs-hash:20090506204753-f7d6d-3b6717404d3b26a4201dd69c224a7c2d33a89732.gz
* fix for purple numbersAnika Henke2009-05-06
| | | | darcs-hash:20090506202433-f7d6d-71f011cb2bc7dce4456ae2f537f71889ccf21077.gz
* Purple Numbers (granular hierarchical IDs) - set $conf['purplenumbers'] and ↵Anika Henke2009-05-05
| | | | | | adjust your CSS darcs-hash:20090504222544-f7d6d-fd9e4c771c5aef32dc2927a1da4dfa4fc4f8b4f1.gz
* FS#1648 - sort acronyms into descending order by string lengthChris Smith2009-04-19
| | | | darcs-hash:20090419160806-f07c6-a2d1bd681e2dd369422bd3839d2837833288cee5.gz
* add unit tests for correct pattern selection when patterns contain ↵Chris Smith2009-04-19
| | | | | | non-captured elements (e.g. boundaries, lookaheads & lookbehinds) darcs-hash:20090419134450-f07c6-4ff7d226fcba002c840828336e73fb89cf48e3db.gz
* fix header links in metadata FS#1617Andreas Gohr2009-04-10
| | | | | | Ignore-this: b580164b5ba3eca3120bc35d8680c9fc darcs-hash:20090410184955-7ad00-480cd8c07a994ca4ac2e71f7f8dd294276f2d98d.gz
* fixed previous attempt to fix metadata for externally edited pagesAndreas Gohr2009-03-01
| | | | darcs-hash:20090228232625-7ad00-d0f0e8569d60f65d511994b401dd4c469bc44f60.gz
* fix metadata for externally created pagesAndreas Gohr2009-02-28
| | | | darcs-hash:20090228195740-7ad00-7a37cb3f9d3921ee630361eae3e90e5a8466642c.gz
* Store first image in metadataAndreas Gohr2009-02-27
| | | | darcs-hash:20090227164755-7ad00-c3ce407acd4f397e84e18f1bd18d57f154e283e2.gz
* FS#1609, adjust multiplyentity pattern to not match strings that start "0x"Chris Smith2009-02-15
| | | | darcs-hash:20090215111954-f07c6-c8b64b4175a742c26d85f871bc27bed900521cb6.gz
* added (empty) rss() function to basic rendererAndreas Gohr2009-01-30
| | | | | | Ignore-this: 159107eba3e7c8c1d2671ce93eb9bc4e darcs-hash:20090130083215-7ad00-8ab2440fdd4a9c9e7790ee219e9a0e6c7588ddd8.gz
* no H1 tags for empty headlinesAndreas Gohr2009-01-20
| | | | darcs-hash:20090120131508-6e07b-a3354fe34f9c54f06a968c6685a04955a8c5a94e.gz
* fixed display of local flash filesAndreas Gohr2009-01-17
| | | | darcs-hash:20090117194338-7ad00-47d9dd7534ae4005f6742f5572551a0cc7582683.gz
* makes minimum amount of headlines configurable that determines if the TOC is ↵Anika Henke2009-01-17
| | | | | | built (FS#1226) darcs-hash:20090116233507-f7d6d-aaff15652d2e698a4403b3386b5b1eb6c0fa38f3.gz
* new html_flashobject() function for simple and XHTML valid flash embedsAndreas Gohr2009-01-16
| | | | darcs-hash:20090116174140-7ad00-4eb1fe3269d10cb21819a5b220484b7114cbb4de.gz
* keep hashes for media files FS#673Andreas Gohr2009-01-12
| | | | darcs-hash:20090112200428-7ad00-d13671952bf807d338c8b31b7e0dbe77c077500e.gz
* fixed PHP4 incompatibility in sectionID() FS#1553Andreas Gohr2008-12-26
| | | | darcs-hash:20081226161244-7ad00-8c843ea6a06a0d36fc322d109497239ab6ea229c.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* Make content-disposition configurable in mime.conf FS#1541Andreas Gohr2008-12-02
| | | | | | | | | | | | | With this patch it is possible to define if a file should be served as download or be displayed inside the browser (if supported) by configuring it in conf/mime.conf Mimetypes that should be served with a "Content-Disposition: attachment" header need to be prefixed with a exclamation mark. All others will be served inline. This will also fix a Problem with Flash 10. darcs-hash:20081202210322-7ad00-6e7ef30aff9322cd135311be77809187da121f3b.gz
* Better creation of section IDs FS#1536Andreas Gohr2008-12-01
| | | | | | | | This patch enhances the creation of section IDs for number only headlines. It also moves section ID creation to a function in pageutils.php removing some duplicate functionality in inc/action.php darcs-hash:20081201215539-7ad00-48f3c153a2c126d9fb06aa90e4f1b857f76ebec7.gz
* FS#630: allow $conf['useheading'] to individually apply to content links ↵Chris Smith2008-11-19
| | | | | | | | | | | | | | | | and/or navigation links $conf['useheading'] values are now: - 0 : off, use page name in link text - 'content' : use first heading text for links in wiki page content - 'navigation' : use first heading text for links in non-page content, e.g. breadcrumps, backlinks, search results, etc. - 1 : use first heading text in all links (for backwards compatibility, any other values are mapped to 0 or 1 by empty() function.) $conf['useheading'] value should now be checked using the useHeading($linktype) function, where linktype can be "content" or "navigation" darcs-hash:20081119140758-f07c6-6e26456d50dcecc949fada31b0d4e72877fde1cc.gz
* parser: put match on the call stackpierre.spring2008-10-22
| | | | darcs-hash:20081022140209-c07ef-c4d27f3c581ee6ee7cedb886f9e5b2675503b817.gz
* corrected cell counter class for tables with colspans FS#1506Andreas Gohr2008-10-16
| | | | darcs-hash:20081016193229-7ad00-ce6bba96dbce07cdea1e9567a3fce8c84c424d5b.gz
* ycatch space as email link text - againAnika Henke2008-10-12
| | | | darcs-hash:20081012194444-f7d6d-124f6788aaff8aedd72ffad5a6a99f6888459b59.gz
* ycatch space as email link text (FS#1374)Anika Henke2008-10-12
| | | | darcs-hash:20081012173735-f7d6d-a6a04ee3415c0b86748c8859fd02331bd23839f8.gz
* Make recognized URL schemes customizable via conf/scheme.conf (FS#797)Gina Haeussge2008-10-12
| | | | darcs-hash:20081012155022-2b4f5-177571b9b176bb822015623b62b4d35b98a93d7b.gz
* fix smileys at the start or end of a lineAndreas Gohr2008-10-12
| | | | darcs-hash:20081012115011-7ad00-7aded95b825d6faee7c39b0c0ba92cd84f0da298.gz
* fix for FS#1305Michael Klier2008-10-11
| | | | darcs-hash:20081011190300-23886-3d5d5e2d1774a802ce9da841812a8838b2945d86.gz
* recognize smileys with proper boundaries only FS#1489Andreas Gohr2008-10-11
| | | | darcs-hash:20081011184717-7ad00-0f910f4d061e00ccfdf722a3f971656da1b7979b.gz
* Another fix for emphasis parsing FS#1468Andreas Gohr2008-10-11
| | | | | | Hopefully doesn't break anything darcs-hash:20081011164847-7ad00-9c0873e505e1c3b9dad2477d3ccfaf9c75d95839.gz
* FS#1134 remove inline javascript from windows sharesMichael Klier2008-10-11
| | | | darcs-hash:20081011143946-23886-78628e3ca7ec0c40f5d288c6a9832cd52b8b083b.gz
* make linkonly parameter work for flash files FS#1472Andreas Gohr2008-10-11
| | | | darcs-hash:20081011144459-7ad00-58619ee91188127feb7c26a1d8d6b051c6981505.gz
* 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