#
a0c29f08 |
| 05-Aug-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Use unsigned int instead of int for refcount for libxml objects (#15247)
|
#
6980eba8 |
| 10-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Support templated content The template element in HTML 5 is special in the sense that it does not add its contents into the DOM tree, but instead keeps them in a separate shadow DOM
Support templated content The template element in HTML 5 is special in the sense that it does not add its contents into the DOM tree, but instead keeps them in a separate shadow DOM document fragment. Interacting with the DOM tree cannot touch the elements in the document fragment. Closes GH-14906.
show more ...
|
#
88252353 |
| 08-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Reapply "Stop using reserved names in dom" This reverts commit dda96768ece24cb56f09924baf9d6b9dd27ad587.
|
#
dda96768 |
| 08-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Revert "Stop using reserved names in dom" This reverts commit 013bc53f0cf0c55a196a4336bc7d07dcded6ed95. This somehow breaks the Windows build. Will investigate later.
|
#
013bc53f |
| 06-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Stop using reserved names in dom
|
#
4fe82131 |
| 04-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Backport libxml2 2.13.2 fixes (#14816) Backproted from https://github.com/php/php-src/pull/14789
|
#
85705eda |
| 03-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix compilation on libxml2 2.13
|
#
fc09f4b2 |
| 02-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement Dom\TokenList (#13664) Part of RFC: https://wiki.php.net/rfc/dom_additions_84 Closes GH-11688.
|
#
768900b1 |
| 12-Apr-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement Dom $innerHTML property
|
#
88da9149 |
| 27-Apr-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement CSS selectors
|
#
dfde0d4c |
| 10-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Handle dumping node to file
|
#
0c490ade |
| 10-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Handle dumping document to file
|
#
44485892 |
| 10-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Factor out all common code for XML serialization and merge common paths
|
#
fae25ca2 |
| 04-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Move dom_attr_value() into ext/libxml
|
#
30885f3b |
| 31-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) There are two depth limiting parameters for XSLT templates. 1) maxTemplateDepth This cor
Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) There are two depth limiting parameters for XSLT templates. 1) maxTemplateDepth This corresponds to the recursion depth of a template. For very complicated templates this can be hit. 2) maxTemplateVars This is the total number of live variables. When using recursive templates with lots of parameters you can hit this limit. This patch introduces two new properties to XSLTProcessor that corresponds to the above variables.
show more ...
|
#
b9559738 |
| 13-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Only register error handling when observable Closes GH-13702.
|
#
14b6c981 |
| 09-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
[RFC] Add a way to opt-in ext/dom spec compliance (#13031) RFC: https://wiki.php.net/rfc/opt_in_dom_spec_compliance
|
#
03547f68 |
| 03-Jan-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Remove properties field from php_libxml_node_object (#13062) This shrinks the struct from 80 bytes to 72 bytes. This was unused internally, I did not find users externally via GitHub
Remove properties field from php_libxml_node_object (#13062) This shrinks the struct from 80 bytes to 72 bytes. This was unused internally, I did not find users externally via GitHub search. The intention for this was that it could be used for attaching extra data as a 3rd party to a node. However, there are better mechanisms for that like using actual objects.
show more ...
|
#
e2d97314 |
| 06-Dec-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Backport deprecation warning ignores to unbreak CI In master I use ZEND_DIAGNOSTIC_IGNORED_START, but that doesn't exist on 8.2 or 8.3 (8.3 has a similar macro though). So to unbreak
Backport deprecation warning ignores to unbreak CI In master I use ZEND_DIAGNOSTIC_IGNORED_START, but that doesn't exist on 8.2 or 8.3 (8.3 has a similar macro though). So to unbreak CI I just made a variation of this directly in the php_libxml.h header. See https://github.com/php/php-src/commit/683e78786070ab77d33f7787598ac1b90d68390a#commitcomment-134301083 Closes GH-12887.
show more ...
|
#
ae83d6ab |
| 29-Nov-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix issues related to libxml2 2.12.0 (#12802) * Avoid passing NULL to xmlSwitchToEncoding This otherwise switches to UTF-8 on libxml2 2.12.0 * Split tests for different err
Fix issues related to libxml2 2.12.0 (#12802) * Avoid passing NULL to xmlSwitchToEncoding This otherwise switches to UTF-8 on libxml2 2.12.0 * Split tests for different error reporting behaviour in libxml2 2.12.0 * Avoid deprecation warnings for libxml2 2.12.0 We can't fully get rid of the parser globals as there are still APIs that implicitly use them. * Temporarily disable part of test for libxml 2.12.0 regression See https://gitlab.gnome.org/GNOME/libxml2/-/issues/634 * Review fixes * [ci skip] Update test description
show more ...
|
#
8a95e616 |
| 17-Nov-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-12702: libxml2 2.12.0 issue building from src Fixes GH-12702. Co-authored-by: nono303 <github@nono303.net>
|
#
1492be52 |
| 13-Nov-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
[RFC] DOM HTML5 parsing and serialization support (#12111)
|
#
0cab8652 |
| 15-Oct-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix compile error when php_libxml.h is included in C++ See https://github.com/php/pecl-xml-xmldiff/issues/1
|
#
eebc528c |
| 01-Oct-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix broken cache invalidation with deallocated and reallocated document node The original caching implementation had an oversight in combination with the new lifetime management in DOM f
Fix broken cache invalidation with deallocated and reallocated document node The original caching implementation had an oversight in combination with the new lifetime management in DOM for 8.3. The modification counter is stored on the document object itself, but as that can get deallocated when all references disappear, stale cache data can be used. Normally this isn't a problem, unless getElementsByTagName is called not on the document but on a child node. Fix it by moving caching data into the ref object, which will outlive all nodes from a document even if the document object disappears. Closes GH-12338.
show more ...
|
#
bb092ab4 |
| 06-Aug-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix #80927: Removing documentElement after creating attribute node: possible use-after-free Closes GH-11892.
|