summaryrefslogtreecommitdiff
path: root/inc/parser
Commit message (Collapse)AuthorAge
* PHPDocs internallinkGerrit Uitslag2014-02-17
|
* added title to video/audio tags, use title for fallback links, refactored ↵Anika Henke2014-02-15
| | | | duplicate code
* Merge remote-tracking branch 'origin/master' into video-audioAnika Henke2014-02-02
|\
| * Merge pull request #496 from splitbrain/plugindedupAndreas Gohr2014-01-19
| |\ | | | | | | remove some code duplication from syntax plugins
| | * reintroduce a tiny bit of duplicationAndreas Gohr2014-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reads some duplication in the from of haveing a Doku_Parser_Mode and Doku_Parser_Mode_Plugin class which are basically the same but only the latter extends DokuWiki_Plugin. This avoids the performance/RAM problems mentioned in my previous commit. An interface keeps both logically together. With PHP 5.4 further deduplication could be done via Traits.
| | * remove duplicate plugin code for syntax pluginsAndreas Gohr2014-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes Doku_Parser_Mode inherit from DokuWiki_Plugin which allows for the removal of a bunch of duplicate code form DokuWiki_Syntax_Plugin. This makes the code easier to maintain and makes sure all DokuWiki plugins are actual instances of DokuWiki_Plugin. However this adds a bunch of functions to the "normal" parser modes that don't need them which could have performance/RAM implications.
* | | fixed html errors in video and audio renderingAnika Henke2014-02-02
| | |
* | | Merge remote-tracking branch 'origin/master' into video-audioAnika Henke2014-01-26
|\| |
| * | 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.
| * FS#1833 (b)Christopher Smith2013-12-01
| | | | | | | | | | | | | | Prevent table entry syntax swallowing multiple preceeding blank lines (a) this shouldn't be necessary, blank lines are handled by paragraph processing (b) avoids issues with greedy table syntax competing with plugins
* | Merge remote-tracking branch 'origin/master' into video-audioAnika Henke2013-11-02
|\| | | | | | | | | Conflicts: inc/parser/xhtml.php
| * Fix the media usage index to include local linksMichael Hamann2013-10-29
| |
| * 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
| | |
| * | make sure footnote numbers are unique across documents FS#2841Andreas Gohr2013-10-12
| | |
| * | Fix CodeSniffer whitespace violoationsMatt Perry2013-09-10
| |/ | | | | | | | | Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
| * Fix CodeSniffer violationsMatt Perry2013-08-27
| | | | | | | | | | | | | | Fix violations for the following sniff DokuWiki.Functions.OpeningFunctionBrace Also removed an extraneous semicolon.
| * Fix CodeSniffer violations for PHP filesMatt Perry2013-08-23
| | | | | | | | | | | | | | Fix violations for Squiz.Commenting.DocCommentAlignment.SpaceBeforeTag Conflicts: inc/parser/xhtml.php
| * 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.
| * Fix backlinks for internal links with parametersMichael Hamann2013-08-17
| | | | | | | | | | | | | | This adds the parameter extraction code from the xhtml renderer to the metadata renderer in order to not to include the parameters in the id that is recorded as link target. A test case checks that the link is actually returned as backlink (fails without the fix).
* | refactored audio/video code, removed wrong link around audioAnika Henke2013-08-04
| |
* | fixed typoAnika Henke2013-08-04
| |
* | added support for html5 audioAnika Henke2013-08-03
| | | | | | | | Similar to videos, all .ogg, .mp3 and .wav files with the same filename are automatically chosen as alternative sources when only one of them is mentioned in the media syntax.
* | improved code for videos (restrict to 3 mimetypes, removed codec info from ↵Anika Henke2013-08-03
| | | | | | | | type attribute)
* | added poster attribute to video if jpg or png with same file name existsAnika Henke2013-08-02
| |
* | Add several alternative formats to video for better browser compatibilityAnika Henke2013-08-02
| | | | | | | | | | | | All .webm, .ogv and .mp4 files with the same filename are automatically chosen as alternative sources when only one of them is mentioned in the media syntax.
* | added basic suport for embedding (html5) videosAnika Henke2013-08-02
|/
* Index media file usage in the metadata index and use it in ft_mediause()Michael Hamann2013-08-01
|
* FS#2770 - prevent <file> and <code> syntax regex matching token names which ↵Christopher Smith2013-07-30
| | | | start '<file' or '<code'
* Fix for the FS#1833 parser errorGuy Brand2013-07-30
|
* apply media_isexternalKlap-in2013-05-21
|
* strip specials from file name in codeblock downloads FS#2757Andreas Gohr2013-04-19
|
* Fix double encoding in rss syntax FS#2731Michael Hamann2013-02-23
|
* Display media file size only if file exists (prevents PHP warning)Michael Hamann2013-02-17
|
* introduced http_status() for sending HTTP status code FS#1698Andreas Gohr2013-02-16
| | | | | | | It seems, some servers require a special Status: header for sending the HTTP status code from PHP (F)CGI to the server. This patch introduces a new function (adopted from CodeIgniter) for simplifying the status handling.
* show filesize of local file links in tooltipRobin Getz2013-01-09
|
* XHTML renderer: bind section id counter to the renderer instanceMichael Hamann2012-12-02
| | | | | | | This changes the previously static lastsecid into an instance variable, this leads to consistent section edit ids when the xhtml renderer is used more than once in a request. This makes it possible for test cases to know the exact section edit id for an instruction array.
* Combine subsequent calls to strtr into a single transformationTom N Harris2012-11-18
|
* Merge pull request #121 from splitbrain/strictAndreas Gohr2012-11-04
|\ | | | | fix E_STRICT errors FS#2427
| * 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.
* | Document $text parameters of html and php in the xhtml parserMichael Hamann2012-08-24
|/
* Add the $doc variable to all renderersMichael Hamann2012-07-28
| | | | In p_render() it is assumed that all renderers have a $doc variable
* Replace = & by =& as the former isn't understood by IntelliJ IDEAMichael Hamann2012-07-28
|
* Fixed and extended PHPDoc comments and added additional @var commentsMichael Hamann2012-07-28
|
* another call_user_func warning fixAndreas Gohr2012-07-28
|
* replaced use of basename() with utf8_basename() FS#2015Andreas Gohr2012-07-28
|