History log of /php-src/ext/dom/html_document.c (Results 1 – 13 of 13)
Revision Date Author Comments
# 191d0501 23-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Cleanup dom_html_document_encoding_write() (#13788)


# b9559738 13-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Only register error handling when observable

Closes GH-13702.


# 9fd74cfc 13-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Use temporary variables to reduce memory stores


# cbc421e1 13-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add fast path for ASCII bytes in UTF-8 validation


# cc0260e0 13-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Change return type of DOM\HTMLDocument::saveHTML() (#13701)

Strict error checking is always true for classes in "new DOM".
This means that we always throw an error when calling
`php_

Change return type of DOM\HTMLDocument::saveHTML() (#13701)

Strict error checking is always true for classes in "new DOM".
This means that we always throw an error when calling
`php_dom_throw_error`, and therefore the false return value is not
actually possible.
Also change the stub to reflect this.

show more ...


# 539d8d92 09-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Use common helper macro for getting the node in property handlers


# d57e7a92 09-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Use BAD_CAST consistently


# 6c55513e 09-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Use true instead of 1 with php_dom_throw_error


# 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


# 2f1fe320 07-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Use a direct statically-known call for decoding in the fast path


# 89ea24f6 13-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Give anonymous dom structs a name (#13135)


# a9064816 08-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Optimizations for HTML 5 loading (#12896)

* Fix inverted NULL and add dictionary

* Avoid useless error processing if no reporting is set

* Avoid double work while processin

Optimizations for HTML 5 loading (#12896)

* Fix inverted NULL and add dictionary

* Avoid useless error processing if no reporting is set

* Avoid double work while processing attributes and use fast text instantiation

show more ...


# 1492be52 13-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[RFC] DOM HTML5 parsing and serialization support (#12111)