summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-26Optimize the main loopChristophe Coevoet
2018-11-26Remove useless condition for the parsing of cdataChristophe Coevoet
The caller already ensures that the current token is the right one.
2018-11-26Simplify the doctype matchingChristophe 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-26Optimize the handling of the EOF detection in the main loopChristophe 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-26Merge pull request #158 from stof/optimize_nextAsmir Mustafic
Replace next calls with consume calls when the return value is ignored
2018-11-26Replace next calls with consume calls when the return value is ignoredChristophe Coevoet
2018-11-25Merge pull request #160 from tgalopin/coding-styleAsmir Mustafic
Improve Travis configuration and add PHP-CS-Fixer
2018-11-25Normalize PHPDoc commentsTitouan Galopin
2018-11-25Fix coding styleTitouan Galopin
2018-11-25Improve Travis configuration, add PHP-CS-Fixer and update PHPUnit minimum ↵Titouan Galopin
version
2018-11-24Merge pull request #159 from samnela/remove-deprecated-testcaseAsmir Mustafic
Remove deprecated testcase implementation
2018-11-24Merge pull request #153 from stof/optimize_whitespaceAsmir Mustafic
Optimize consuming whitespaces
2018-11-24Merge pull request #156 from stof/fix_typoAsmir Mustafic
Fix typos in comments
2018-11-24Merge pull request #157 from stof/optimize_parsingAsmir Mustafic
Optimize the check for the element types during parsing
2018-11-24Remove deprecated testcase implementationSamuel NELA
2018-11-24Fix typos in commentsChristophe Coevoet
2018-11-24Optimize the check for the element types during adding.Christophe Coevoet
2018-11-24Optimize consuming whitespacesChristophe Coevoet
Places consuming whitespaces don't care about the matched substring. They either need its length, or nothing. Returning only the length directly avoids computing the substring.
2018-11-24Merge pull request #150 from Masterminds/backportAsmir Mustafic
Backport few changes from old master branch
2018-11-24Merge pull request #152 from stof/fix_typoAsmir Mustafic
Fix typo in an error message
2018-11-24Fix typo in an error messageChristophe Coevoet
2018-11-24Merge pull request #151 from stof/optimize_character_referenceAsmir Mustafic
Optimize the handling of references when consuming data
2018-11-24Optimize the handling of references when consuming dataChristophe Coevoet
2018-11-23update download counterAsmir Mustafic
2018-11-23update composer install notesAsmir Mustafic
2018-11-23test on php7.2Asmir Mustafic
2018-11-23The element mask is 0 rather than false if element not fount.Matt Farina
2018-11-23On the Html5::save method fixing docs.Matt Farina
2018-11-23Setting variable for local namespaces to protected in writer.Matt Farina
The namespaces for mathml, html, and svg are set to protected so they cannot be altered. These are part of the spec.
2018-11-23increase branch aliasAsmir Mustafic
2018-11-17update changelog for 2.4.0Asmir Mustafic
2018-11-17Merge pull request #148 from Masterminds/perfAsmir Mustafic
Improve performance by moving sequence matching
2018-11-08move sequenceMatches to the ScannerAsmir Mustafic
2018-11-08improve consume speedAsmir Mustafic
2018-11-08Merge pull request #147 from tgalopin/tokenizer-perfsAsmir Mustafic
Improve the Tokenizer performance
2018-11-08Merge pull request #146 from tgalopin/remove-input-streamsAsmir Mustafic
Improve performance by relying on a native string instead of InputStream
2018-11-06Remove another current callTitouan Galopin
2018-11-05Inline tag open in Tokenizer to further improve performancesTitouan Galopin
2018-11-05Improve Tokenizer performance by inlining text parsing and removing some ↵Titouan Galopin
Scanner::current calls
2018-11-03Improve performance by relying on a native string instead of InputStreamTitouan Galopin
2018-11-02Merge pull request #145 from tgalopin/phpdoc-improvementsAsmir Mustafic
Add more extensions on composer.json, improve phpdocs and remove dead code
2018-11-02Add more extensions on composer.json, improve phpdocs and remove dead codeTitouan Galopin
2018-10-22Merge pull request #144 from tgalopin/composer-ext-domAsmir Mustafic
Add DOM extension in composer.json
2018-10-22Merge pull request #143 from tgalopin/remove-experimental-commentAsmir Mustafic
Remove experimental comment
2018-10-22Add DOM extension in composer.jsonTitouan Galopin
2018-10-22Remove experimental commentTitouan Galopin
2018-10-22add changelog for 2.3.1Asmir Mustafic
2018-10-22Merge pull request #142 from Masterminds/audio-tagAsmir Mustafic
[bugfix] Audio is not a block tag
2018-10-08audio is not a block tagAsmir Mustafic
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
2018-10-08Merge pull request #137 from apeschar/selfclosingAsmir Mustafic
Respect self-closing tags only on foreign elements