History log of /php-src/ext/libxml/libxml.c (Results 1 – 25 of 287)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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 ...


# 29f98e74 10-Jul-2024 Tim Düsterhus

Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750)

Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+ni

Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750)

Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>

show more ...


# 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


# d80be78e 03-Jul-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Stop relying on the deprecated xmlLastError global


# 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


# 532a2604 28-Jun-2024 David Carlier

Fix GH-14698: segfault on dom node after dereference.

close GH-14701


# 25a51461 01-Jun-2024 Gina Peter Banyard

Clean-up unused headers (#14365)

* ext/mbstring.c: clean-up headers and include intrinsics


# 90e0ce7f 20-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Throw early when a non-stream-context resource is passed to libxml_set_streams_context() (#14279)


# 230ab078 20-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Avoid code duplication for error instance creation in ext/libxml (#14277)


# aa3e6eec 11-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Optimize and reduce memory usage of XML serialization (#14204)

The serialization process uses the system allocator and requires a copy
to request allocated memory once finished. This pat

Optimize and reduce memory usage of XML serialization (#14204)

The serialization process uses the system allocator and requires a copy
to request allocated memory once finished. This patch improves this by
using smart_str to build the resulting string, reducing the number of
copies and reducing total peak memory usage.

show more ...


# 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


# cf7c5921 29-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Simplify property check in php_libxml_node_free_resource()


# 974edc79 29-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Cleanup php_libxml_internal_error_handler_ex()


# e5e8b193 29-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Remove bogus entity reference cleanup code


# 2fab1437 29-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Cleanup php_libxml_streams_IO_open_wrapper()


# a54d63ae 29-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Cleanup php_libxml_unregister_node()


# 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


12345678910>>...12