summaryrefslogtreecommitdiff
path: root/inc/parser/renderer.php
Commit message (Collapse)AuthorAge
* Encode unsafe characters in interwiki links. closes #1220Patrick Brown2015-07-16
|
* Unit test for interwiki URL encoding bugPatrick Brown2015-07-16
|
* add missing tabletbody_open|close() to rendererAnika Henke2015-02-19
|
* Merge remote-tracking branch 'origin/master' into scrutinizerissuesGerrit Uitslag2014-12-09
|\ | | | | | | | | | | | | | | | | Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
| * Update inbuilt renderers for node/leaf state in listitem_openChristopher Smith2014-12-01
| | | | | | | | | | - includes, xhtml renderer adding 'node' class to <li> when it contains child list(s)
* | Many PHPDocs, some unused and dyn declared varsGerrit Uitslag2014-10-01
|/ | | | | | many PHPDocs some unused variables some dynamically declared variables declared
* added short comment on how a renderer worksAndreas Gohr2014-05-24
|
* added doc blocks for xhtml rendererAndreas Gohr2014-05-24
|
* added doc blocks to all functions in rendererAndreas Gohr2014-05-24
|
* reformattingAndreas Gohr2014-05-24
|
* Merge pull request #387 from splitbrain/tabletheadAndreas Gohr2014-03-24
|\ | | | | Adding <thead> to tables
| * Merge branch 'master' into tabletheadChristopher Smith2014-03-12
| |\
| * | Wrap thead around 1st row, when 1st cell at 1st row is tableheader. ↵Gerrit Uitslag2013-10-17
| | | | | | | | | | | | Implements FS#1764
* | | Merge remote-tracking branch 'origin/master' into userlinkGerrit Uitslag2014-03-10
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: inc/parser/renderer.php inc/template.php
| * | suppress errors where list() may not fill all varsChristopher Smith2014-03-05
| | |
| * | remove require handled by autoloaderChristopher Smith2014-02-28
| | |
| * | add renderers to autoladerChristopher Smith2014-02-25
| | |
* | | fix comment in _resolveInterWikiGerrit Uitslag2014-02-15
| | |
* | | interwiki : prefixed configurls handled as wikilinksGerrit Uitslag2014-02-15
| | |
* | | code reformattingGerrit Uitslag2014-02-15
| | |
* | | wikilink creating refactored to _resolveinterwiki().Gerrit Uitslag2014-02-15
|/ / | | | | | | Added DOKU_BASE for local target
* / fix renderer:plugin() signatureAndreas Gohr2014-01-08
|/ | | | | | | | | in 82d616353e4c3680d88f083eb6f88fe68de92904 we introduced passing the raw match for syntax plugins to the plugin method of the renderer. This was introduced for renderer plugins that might need access to the raw syntax (like the table editor or WYSIWYG plugins). However the function signature was never updated, making these additional parameter basically secret. With strict standard this throws errors. This patch fixes this.
* Fix CodeSniffer violations for PHP filesMatt Perry2013-08-23
| | | | Fix violations for Generic.PHP.LowerCaseConstant.Found
* Fix CodeSniffer violationsMatt Perry2013-08-22
| | | | Change indentation to ensure code confirms to CodeSniffer rules.
* Combine subsequent calls to strtr into a single transformationTom N Harris2012-11-18
|
* fix E_STRICT errors FS#2427Andreas Gohr2012-07-28
| | | | | | | | This commit fixes all E_STRICT messages shown when running the test suite. There might be more problems not covered by tests, yet. For compatibility reasons with plugins, E_STRICT errors are still supressed.
* Add the $doc variable to all renderersMichael Hamann2012-07-28
| | | | In p_render() it is assumed that all renderers have a $doc variable
* another call_user_func warning fixAndreas Gohr2012-07-28
|
* Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
* Improve compatibility of table instructions handlingAdrian Lang2010-10-12
|
* FS#1995, add a little defense to avoid warnings caused by bad wikiChristopher Smith2010-10-03
| | | | syntax
* No need for a self include ;)Christopher Smith2010-10-03
|
* Fix ns: and ns:start handlingAdrian Lang2010-07-01
|
* Allow plugins to specify that they have to be instantiatedAdrian Lang2010-03-29
| | | | | | | | Plugins may return false in isSingleton to let plugin_load return a new instance every time it is called. Renderer plugins are not loaded with $new set to true, but instead specify themself that they are not singletons. This behaviour allows the odt renderer to keep working (see #1598).
* Rewrite section edit handling according to #1860Adrian Lang2010-02-04
|
* Add TABLE range marker for table editingAdrian Lang2010-01-19
| | | | darcs-hash:20091119140619-e4919-15efddc768526a6c1f6472f83ede17019144ffa3.gz
* Correct copy & paste error (see FS#1798)Adrian Lang2009-11-27
| | | | darcs-hash:20091127123014-e4919-edddf545ccfae201620286b929b9fa5eaf255e61.gz
* rowspan with ::: implemented in parser/handlerhakan.sandell2009-11-03
| | | | darcs-hash:20091103161002-9a5f4-2114938a7e62a924b9fe424b63584a4747286563.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
* added (empty) rss() function to basic rendererAndreas Gohr2009-01-30
| | | | | | Ignore-this: 159107eba3e7c8c1d2671ce93eb9bc4e darcs-hash:20090130083215-7ad00-8ab2440fdd4a9c9e7790ee219e9a0e6c7588ddd8.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.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
* 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
* 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
* 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
* 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
* Fix namespace links and titles (FS 1005, 1006)Guy Brand2007-02-17
| | | | darcs-hash:20070217220746-19e2d-76c857902d24301707eb783ced96f25c00526659.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
* moved interwiki resolve logic to base renderer classAndreas Gohr2007-01-24
| | | | darcs-hash:20070124111438-6e07b-7d3e534aa7eff56821bf94232fea7711c5881719.gz
* move title function to base rendererAndreas Gohr2007-01-23
| | | | darcs-hash:20070123083854-7ad00-b2a6723121ed82076a04c5956ecdbf22ec5aede7.gz