Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-05 | cs fix | Asmir Mustafic | |
2020-07-05 | prepare 2.7.3 | Asmir Mustafic | |
2020-07-03 | Merge pull request #190 from Masterminds/mitigate-cyclic-refs | Asmir Mustafic | |
mitigate cyclic reference between output rules and the traverser objects | |||
2020-07-03 | mitigate cyclic reference between output rules and the traverser objects | Asmir Mustafic | |
2020-07-01 | prepare 2.7.2 | Asmir Mustafic | |
2020-06-30 | Merge pull request #187 from lyrixx/fix-memory-leak | Asmir Mustafic | |
Fixed memory leak in HTML5::saveHTML() | |||
2020-06-30 | Fixed memory leak in HTML5::saveHTML() | Grégoire Pineau | |
2020-06-24 | Merge pull request #186 from IMSoP/issue-185-closing-br | Asmir Mustafic | |
Add special case for end tag </br>. Fixes #185 | |||
2020-06-24 | Add special case for end tag </br>. Fixes #185 | Rowan Tommins | |
Normally, an end tag for a void element would simply be discarded, but the spec includes a special rule as follows: > An end tag whose tag name is "br" > Parse error. Drop the attributes from the token, and act as > described in the next entry; i.e. act as if this was a "br" > start tag token with no attributes, rather than the end tag > token that it actually is. | |||
2020-02-06 | Merge pull request #178 from Masterminds/eof-entity | Asmir Mustafic | |
Prevent infinite loop on un-terminated entity declaration at EOF | |||
2020-02-06 | prevent infinite loop on unterminated entity declaration at end of stream | Asmir Mustafic | |
2019-10-14 | Merge pull request #171 from xabbuh/php-7.4-compat | Asmir Mustafic | |
add PHP 7.4 job | |||
2019-10-14 | Fix Trying to access array offset on value of type null | Remi Collet | |
2019-10-14 | add PHP 7.4 job | Christian Flothmann | |
2019-07-25 | prepare 2.7.0 release | Asmir Mustafic | |
2019-06-15 | Merge pull request #168 from idimopoulos/html5_encoding | Asmir Mustafic | |
Set default encoding in the DOMDocument object | |||
2019-06-14 | Set default encoding in case it does not exist. | Ilias Dimopoulos | |
2019-06-14 | Set default encoding in the doc object. | Ilias Dimopoulos | |
2019-03-10 | Merge pull request #164 from Masterminds/drop-hhvm | Asmir Mustafic | |
Drop HHVM support | |||
2019-03-10 | test on php 7.3 | Asmir Mustafic | |
2019-03-10 | drop hhvm support | Asmir Mustafic | |
2019-03-10 | prepare 2.6.0 | Asmir Mustafic | |
2019-02-22 | Merge pull request #163 from tgalopin/charset-support | Asmir Mustafic | |
Allow to pass a charset to the Scanner | |||
2019-02-06 | Fix test | Titouan Galopin | |
2018-12-29 | Add encoding tests | Titouan Galopin | |
2018-12-29 | Allow to pass a charset to the Scanner | Titouan Galopin | |
2018-12-29 | Increase branch alias | Asmir Mustafic | |
2018-12-27 | update changelog for 2.5.0 | Asmir Mustafic | |
2018-11-27 | Merge pull request #162 from stof/optimize_text | Asmir Mustafic | |
Optimize the processing of text between nodes | |||
2018-11-27 | Optimize the processing of text between nodes | Christophe Coevoet | |
Instead of processing the text token one by one in the main loop, it is now processed in batch until the next special token (< and & which have special handling in the main loop and NUL characters which need to report a parse error). | |||
2018-11-27 | Merge pull request #161 from stof/optimize_main_loop | Asmir Mustafic | |
Optimize main loop | |||
2018-11-26 | Optimize the main loop | Christophe Coevoet | |
2018-11-26 | Merge pull request #155 from stof/optimize_attributes | Asmir Mustafic | |
Optimize the parsing of unquoted attributes | |||
2018-11-26 | Merge pull request #154 from stof/optimize_token_comparison | Asmir Mustafic | |
Optimize the token comparison | |||
2018-11-26 | Remove useless condition for the parsing of cdata | Christophe Coevoet | |
The caller already ensures that the current token is the right one. | |||
2018-11-26 | Simplify the doctype matching | Christophe Coevoet | |
- the doctype() function is only called for a D or d token, so there is no need to check again inside the method - checking that we have the DOCTYPE string can use a sequence matching | |||
2018-11-26 | Optimize the handling of the EOF detection in the main loop | Christophe Coevoet | |
The eof() method is a no-op when the token is not false. As the main loop already needs to identify that case anyway, skipping the method call allows to reduce the cost of parsing text tokens. | |||
2018-11-26 | Merge pull request #158 from stof/optimize_next | Asmir Mustafic | |
Replace next calls with consume calls when the return value is ignored | |||
2018-11-26 | Optimize the parsing of unquoted attributes | Christophe Coevoet | |
2018-11-26 | Optimize the token comparison | Christophe Coevoet | |
Tokens are always a single char. Using strspn to find whether they belong to a fixed list is slower than comparing them directly. | |||
2018-11-26 | Replace next calls with consume calls when the return value is ignored | Christophe Coevoet | |
2018-11-25 | Merge pull request #160 from tgalopin/coding-style | Asmir Mustafic | |
Improve Travis configuration and add PHP-CS-Fixer | |||
2018-11-25 | Normalize PHPDoc comments | Titouan Galopin | |
2018-11-25 | Fix coding style | Titouan Galopin | |
2018-11-25 | Improve Travis configuration, add PHP-CS-Fixer and update PHPUnit minimum ↵ | Titouan Galopin | |
version | |||
2018-11-24 | Merge pull request #159 from samnela/remove-deprecated-testcase | Asmir Mustafic | |
Remove deprecated testcase implementation | |||
2018-11-24 | Merge pull request #153 from stof/optimize_whitespace | Asmir Mustafic | |
Optimize consuming whitespaces | |||
2018-11-24 | Merge pull request #156 from stof/fix_typo | Asmir Mustafic | |
Fix typos in comments | |||
2018-11-24 | Merge pull request #157 from stof/optimize_parsing | Asmir Mustafic | |
Optimize the check for the element types during parsing | |||
2018-11-24 | Remove deprecated testcase implementation | Samuel NELA | |