summaryrefslogtreecommitdiff
path: root/ext/dom
Commit message (Collapse)AuthorAgeFilesLines
* Trim trailing whitespace in *.phptPeter Kokot2018-10-1429-41/+41
|
* Trim trailing whitespace in testsGabriel Caruso2018-10-1430-46/+46
|
* Sync leading and final newlines in source code filesPeter Kokot2018-10-146-6/+3
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in source code filesPeter Kokot2018-10-134-5/+5
|
* Rename *.php files in ext/dom tests to *.incPeter Kokot2018-09-2325-24/+24
| | | | | *.php files are ignored by Git and a better practice might be to rename PHP included files for tests.
* Bump minimum libxml version to 2.7.6Nikita Popov2018-09-234-20/+0
| | | | Released Oct 2009, part of RHEL 6.
* Fix permissionsPeter Kokot2018-09-213-0/+0
| | | | Certain files don't need to be executables.
* Merge branch 'PHP-7.3'Christoph M. Becker2018-08-281-1/+4
|\ | | | | | | | | * PHP-7.3: Fix SKIPIF conditions
| * Fix SKIPIF conditionsChristoph M. Becker2018-08-281-1/+4
| | | | | | | | | | The test calls `mb_convert_encoding()` and as such requires the mbstring extension.
* | Merge branch 'PHP-7.3'Anatol Belski2018-08-171-0/+234
|\ \ | |/ | | | | | | * PHP-7.3: Add test for bug #76738
| * Add test for bug #76738Anatol Belski2018-08-171-0/+234
| | | | | | | | | | Original repro. It's unwieldy, but it's otherwise hard to trigger the wrong buffer handling behavior.
* | Merge branch 'PHP-7.3'Anatol Belski2018-08-171-2/+8
|\ \ | |/ | | | | | | * PHP-7.3: Fix memory leak
| * Fix memory leakAnatol Belski2018-08-171-2/+8
| |
| * CleanupAnatol Belski2018-08-171-4/+0
| | | | | | | | (cherry picked from commit 8b3174f256147a1708821621a8cbe2b257fca737)
| * Followup fix for ef9ed19e, see also bug #76738Anatol Belski2018-08-171-19/+7
| | | | | | | | (cherry picked from commit 083285f22a74989689f97d1d53476e7eaec35acc)
| * Fixed buildXinchen Hui2018-08-171-0/+12
| | | | | | | | (cherry picked from commit 36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e)
| * DOMDocument::formatOutput attribute sometimes ignoredAndrew Nester2018-08-172-7/+28
| | | | | | | | (cherry picked from commit ef9ed19ec7f141311feea1d42467f5773cfc09bc)
| * Revert "DOMDocument::formatOutput attribute sometimes ignored"Christoph M. Becker2018-08-142-43/+7
| | | | | | | | | | | | This reverts commit ef9ed19ec7f141311feea1d42467f5773cfc09bc and its follow-up 36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e, since these caused a serious regression (see bug #76738).
* | CleanupAnatol Belski2018-08-141-4/+0
| |
* | Followup fix for ef9ed19e, see also bug #76738Anatol Belski2018-08-141-19/+7
|/
* Trim trailing whitespaces in build filesPeter Kokot2018-07-291-2/+2
| | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* Fix typos in code commentsPeter Kokot2018-07-251-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-2539-75/+1
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Merge branch 'PHP-7.2'Anatol Belski2018-07-091-1/+5
|\ | | | | | | | | * PHP-7.2: Sync callback signature with libxml2 2.9.8
| * Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-07-091-1/+5
| |\ | | | | | | | | | | | | * PHP-7.1: Sync callback signature with libxml2 2.9.8
| | * Sync callback signature with libxml2 2.9.8Anatol Belski2018-07-091-1/+5
| | |
* | | Use zval_ptr_dtor() imstead of zval_dtor()Dmitry Stogov2018-07-051-2/+2
| | |
* | | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* | | Fixed test skipXinchen Hui2018-07-041-1/+4
| | |
* | | Fixed buildXinchen Hui2018-07-041-0/+12
| | |
* | | DOMDocument::formatOutput attribute sometimes ignoredAndrew Nester2018-06-282-7/+28
| | |
* | | Update http to httpsDusta2018-06-2529-29/+29
| | |
* | | Export standard object handlers, to avoid indirect accessDmitry Stogov2018-05-311-9/+5
| | |
* | | Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-287-19/+19
| | | | | | | | | | | | where we sure about string persistence.
* | | Keep initialized object_handlers structures in read-only memory.Dmitry Stogov2018-03-141-4/+4
| | |
* | | Remove return types from some magic method in protosGabriel Caruso2018-03-0910-10/+10
| | | | | | | | | | | | __construct, __destruct, __wakeup does not have return types defined.
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-2050-50/+50
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Convert iterator by reference errors to exceptionsNikita Popov2018-02-191-1/+2
| | | | | | | | | | | | | | | | | | I'm using RuntimeException in SPL, because other SPL classes that throw this error used it. Error is used for everything else, because that's what core does.
* | | Use zend_parse_parameters_none_throwGabriel Caruso2018-02-181-1/+1
| | |
* | | Merge branch 'PHP-7.2'Anatol Belski2018-02-171-1/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Remove duplicated assignment
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-02-171-1/+0
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Remove duplicated assignment
| | * Remove duplicated assignmentAnatol Belski2018-02-171-1/+0
| | |
* | | Merge branch 'PHP-7.2'Joe2018-02-081-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixes bug #75871 Use pkg-config for libxml2 if available
| * | Merge branch 'PHP-7.1' into PHP-7.2Joe2018-02-081-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixes bug #75871 Use pkg-config for libxml2 if available
| | * Fixes bug #75871 Use pkg-config for libxml2 if availablePedro Magalhães2018-02-081-1/+1
| | |
| | * year++Xinchen Hui2018-01-0237-37/+37
| | |
| * | year++Xinchen Hui2018-01-0237-37/+37
| | |
* | | Fix some misspellingsGabriel Caruso2018-02-061-1/+1
| | |
* | | Add and fix SKIPIF sectionsGabriel Caruso2018-02-043-2/+7
| | |
* | | Use bool instead of boolean in protoGabriel Caruso2018-02-048-26/+26
| | |