summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
Commit message (Collapse)AuthorAge
* Changes for PHP 7 CompatibilityChristopher Smith2015-05-15
| | | | | | | - replace PHP4 style class constructor function names (based on class name) with php 5 __construct() Also remove some '&' reference operators used with objects And add some object type hints
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-01-10
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Optionally render RSS unsorted.Robin H. Johnson2015-01-07
| | | | | | | | | | | | | | | By default, SimplePie sorts RSS entries by the the date on each entry. If some cases, mostly where RSS is used as a input format for another service, rendering the order as-is is better than having it sorted. This patch adds a new parameter for the rss keyword, 'nosort', which can be used to disable SimplePie's sorting. This makes it possible to correctly display RSS feeds from "Remember The Milk", which have a complex order from the system. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* 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
| * Merge remote-tracking branch 'origin/master'Gerrit Uitslag2014-12-03
| |\
| | * provide node/leaf state data in listitem_open instruction parameterChristopher Smith2014-12-01
| | |
| * | phpdocs handlerGerrit Uitslag2014-12-03
| |/
* / Many PHPDocs, some unused and dyn declared varsGerrit Uitslag2014-10-01
|/ | | | | | many PHPDocs some unused variables some dynamically declared variables declared
* Merge pull request #387 from splitbrain/tabletheadAndreas Gohr2014-03-24
|\ | | | | Adding <thead> to tables
| * implement rules for when the top rows of a table qualify for a THEAD elementChristopher Smith2014-03-16
| | | | | | | | | | | | 1. TD < 2 in a row 2. TD <= 50% of total cells 3. Not all table rows can be THEAD rows
| * Merge branch 'master' into tabletheadChristopher Smith2014-03-12
| |\
| * | add <THEAD> to top rows of tables when all cells are <TH>Christopher Smith2013-10-18
| | |
| * | Wrap thead around 1st row, when 1st cell at 1st row is tableheader. ↵Gerrit Uitslag2013-10-17
| | | | | | | | | | | | Implements FS#1764
* | | improvements to double quote matchingChristopher Smith2014-03-13
| |/ |/|
* | initialize $inParagraph before useChristopher Smith2013-10-16
| |
* | replace boolean conditional checks on possibly uninitialized vars with ↵Christopher Smith2013-10-16
| | | | | | | | \!empty/empty/isset as appropriate
* | fix php strict noticesGerrit Uitslag2013-10-15
|/
* Merge pull request #344 from splitbrain/tablewithonlyrowspanAndreas Gohr2013-10-13
|\ | | | | Display tablecell with rowspan at first row as empty cell. Fixes FS#2810
| * Display tablecell with rowspan at first row as empty cell. Fixes FS#2810Gerrit Uitslag2013-09-20
| |
* | Fix CodeSniffer whitespace violoationsMatt Perry2013-09-10
|/ | | | | Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
* 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.
* apply media_isexternalKlap-in2013-05-21
|
* replace unset with array_popAndreas Gohr2011-10-15
| | | | | unset does not reset the Array's internal pointer which messes up later calls. array_pop is still much faster than array_splice
* fix off-by-one errorAndreas Gohr2011-10-15
|
* added the missing bit to my last commitAndreas Gohr2011-10-15
|
* Fix performance issue in close_paragraphAndreas Gohr2011-10-15
| | | | Looks like a for loop is faster than array_splice
* cleanup of handler.phpAndreas Gohr2011-10-15
| | | | The file contained a few DOS lineendings and trailing spaces
* Merge remote branch 'danny0838/rewrite_block' into dannyAndreas Gohr2011-02-06
|\
| * Major rework of rewrite block in handler.php. (FS#2145)Danny Lin2011-01-26
| | | | | | | | | | | | -Simplify the algorithm. May improve performance. -Treat footnote as pure block and section as pure stack. -Remove post-p-open and pre-p-close linefeeds. Affects the effect of xbr plugin.
| * First attempt to improve rewrite blocks; also eliminates post-paragraph ↵Danny Lin2011-01-26
| | | | | | | | starting single linebreaks.
* | FS#2154 unset call writers in finalise() to prevent circular referencesChristopher Smith2011-02-06
|/ | | | and help PHP garbage collection for PHP < 5.3
* 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.
* more relaxed recognition of windows share links FS#1991Andreas Gohr2010-10-02
|
* #1797 fix ptype stack to properly close and reopen <p> elementsChristopher Smith2010-09-18
|
* Try to fix broken tablesAdrian Lang2010-08-13
|
* clean up table parser handlerAdrian Lang2010-08-13
|
* Better code syntax parsing, less E_NOTICEAdrian Lang2010-03-26
|
* Rewrite section edit handling according to #1860Adrian Lang2010-02-04
|
* table: Remove redundant parser data, update testsAdrian Lang2010-01-29
|
* Add TABLE range marker for table editingAdrian Lang2010-01-19
| | | | darcs-hash:20091119140619-e4919-15efddc768526a6c1f6472f83ede17019144ffa3.gz
* removed deprecated PHP4 constructAndreas Gohr2010-01-15
| | | | | Assigning the return value of new by reference is deprecated, PHP5's new automatically assigns by reference
* fix footnote tests (includes hack to counter #1652, #1699 fix)Chris Smith2009-12-01
| | | | | | Ignore-this: c5a934d8bce1c2b5953632bedd0c4f64 darcs-hash:20091201205426-f07c6-e21cbc5f84a8702f074069eae3cab1aa4bdb50ea.gz
* inc/handler cleanup removed Doku_Handler_Section classhakan.sandell2009-11-03
| | | | darcs-hash:20091103165100-9a5f4-b992cc4b716134f750ffffa678694b7ba05c541a.gz
* rowspan with ::: implemented in parser/handlerhakan.sandell2009-11-03
| | | | darcs-hash:20091103161002-9a5f4-2114938a7e62a924b9fe424b63584a4747286563.gz
* Align an empty cell left instead of rightAdrian Lang2009-11-03
| | | | darcs-hash:20091103130556-e4919-f9045f6018952f2b02a699d18746a330526a4dbe.gz
* Whitespace cleanup FS#1709furun2009-10-16
| | | | | | Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
* FS#1652, #FS1699Chris Smith2009-10-04
| | | | | | | | | | | | | Ignore-this: b30b4a3061ad7a485012f6fd55cdfc78 This patch fixes problems with blank lines which contain whitespace before EOL. It also fixes an issue with preformatted syntax mode not triggering following p_open instructions under some circumstances. Note: The fix can result in swallowing of non-eol white space that precedes the EOL. This can happen when there is no non-whitespace CDATA between the end of the previous syntax mode and the EOL character. darcs-hash:20091004190359-f07c6-36bb418cb9be8bbaff741b4cbe135c442d0bde81.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
* Change expensive uses of split to the much faster explode.Tom N Harris2009-05-28
| | | | darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz