Anatol Belski
a468752e53
Remove duplicated assignment
2018-02-17 13:10:59 +01:00
Pedro Magalhães
5673c641dc
Fixes bug #75871 Use pkg-config for libxml2 if available
2018-02-08 10:50:22 +01:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Anatol Belski
b5d7663444
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat with libxml2 2.9.5
2017-09-11 14:35:24 +02:00
Anatol Belski
3549d9184a
Fix test compat with libxml2 2.9.5
...
From 2.9.5 on libxml explcitly initializes the keepBlanks flag.
2017-09-11 14:32:54 +02:00
Nikita Popov
d9fd44366d
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-03 00:42:30 +02:00
Tim Toohey
d027bc2add
Fixed bug #69373
...
xmlNodeSetContentLen() calls xmlFreeNode() on node->children. This
causes problems if there are other references around to those children.
2017-06-03 00:40:58 +02:00
Remi Collet
77e3fef64f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74416 Wrong reflection on DOMNode::cloneNode
2017-04-13 07:07:43 +02:00
Fabien Villepinte
bc4bb7882b
Fixed bug #74416 Wrong reflection on DOMNode::cloneNode
2017-04-13 07:07:24 +02:00
Nikita Popov
bf8c463f5b
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-02 12:36:13 +01:00
somedaysummer
fab5ce347c
PHP bug #74004
...
Fix for DOMDocument loadHTML and loadHTMLFile ignore LIBXML_NOWARNING
and LIBXML_NOERROR flags.
2017-03-02 12:35:42 +01:00
Nikita Popov
f3b1ecb6c8
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-03 18:42:28 +01:00
Nikita Popov
dcaf4da8a6
Revert "Merge branch 'pull-request/2344' into PHP-7.0"
...
This reverts commit 6988d070ea , reversing
changes made to 75ad2b301a .
2017-02-03 18:42:10 +01:00
Joe Watkins
611952cd98
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
2017-02-03 06:12:42 +00:00
somedaysummer
4df993d89d
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
2017-02-03 06:08:42 +00:00
Anatol Belski
3bc7ea9a0a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS with the reverted stuff
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454 )"
2017-02-01 20:01:40 +01:00
Anatol Belski
3446e3b749
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
...
This reverts commit 2fcf1259c6 .
2017-02-01 19:59:24 +01:00
Anatol Belski
69a2e4ece2
Revert "fix BC break introduced by #2346 ( sebastianbergmann/phpunit#2454 )"
...
This reverts commit 62938bf088 .
2017-02-01 19:59:18 +01:00
Joe Watkins
e6bc4f39a2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454 )
2017-01-30 11:26:37 +00:00
jhdxr
62938bf088
fix BC break introduced by #2346 ( sebastianbergmann/phpunit#2454 )
2017-01-30 11:25:04 +00:00
Joe Watkins
366f838483
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
2017-01-28 08:27:53 +00:00
jhdxr
2fcf1259c6
fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
2017-01-28 08:27:05 +00:00
Joe Watkins
f6f2855ecd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes)
Added (failing) testcase for bug #54382
2017-01-25 20:59:37 +00:00
Arnout Boks
721a189742
Fix bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes)
...
The fix is based on the same strategy for handling namespace
declarations as used by getAttributeNode. Note that this strategy makes
these methods not return a DOMAttr for xmlns* attributes, but an
instance of the (undocumented) class DOMNameSpaceNode. This is not
really ideal, but at least this fix makes the behavior of
getAttributeNode and getAttributeNodeNS consistent.
A follow-up action would be to investigate whether DOMNameSpaceNode can
be made into a subclass of DOMAttr (which may be hard due to the way
libxml treats namespace declarations) or document this deviating return
value for xmlns* attributes.
2017-01-25 20:59:25 +00:00
Arnout Boks
737ee0661c
Added (failing) testcase for bug #54382
2017-01-25 20:59:23 +00:00
Nikita Popov
908ad3cc80
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:29:43 +01:00
Arnout Boks
13edec75a3
Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
2017-01-10 23:29:02 +01:00
Nikita Popov
79c0cef8ca
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:25:07 +01:00
Arnout Boks
07340553a5
Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
...
It seems fair to remove this warning, given that:
* it is not documented in the official documentation
* the $specified property, which has a similar 'not implemented' status,
also does not trigger a warning
* it apparently hinders quite a lot of people during debugging, judging by
the number of votes on the bug
2017-01-10 23:24:34 +01:00
Joe Watkins
58273f631b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
PR #2211 don't supress warnings in tests
2017-01-07 08:08:09 +00:00
Craig Duncan
98c2cd4311
PR #2211 don't supress warnings in tests
2017-01-07 08:06:38 +00:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Joe Watkins
243dff2057
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
news entry for PR #2267
Fixed #67474 (getElementsByTagNameNS and default namespace)
Add (failing) testcase for bug #67474
2017-01-02 11:58:14 +00:00
Arnout Boks
a8955926c2
Fixed #67474 (getElementsByTagNameNS and default namespace)
...
This bug was caused by the fact that dom_get_elements_by_tag_name_ns_raw
uses an empty string to filter on the default namespace (as NULL means
'no filter'), whereas in the node itself the default namespace is
signalled by nodep->ns being null.
2017-01-02 11:56:37 +00:00
Arnout Boks
19c4a2ef19
Add (failing) testcase for bug #67474
2017-01-02 11:56:33 +00:00
Nikita Popov
2a34042323
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 12:20:46 +01:00
dreamszhu
3c977618e1
Fix dom class can't be inherited by the internal class
2017-01-01 12:20:04 +01:00
Joe Watkins
dbfbe6261d
Revert "Fix dom class can't be inherited by the internal class"
...
This reverts commit 705f60e481 .
2017-01-01 06:52:41 +00:00
dreamszhu
705f60e481
Fix dom class can't be inherited by the internal class
2017-01-01 06:48:02 +00:00
Stanislav Malyshev
336322ce63
Fix bug #73150 : missing NULL check in dom_document_save_html
...
(cherry picked from commit 1c0e9126fb )
(cherry picked from commit d1e878f272 )
2016-10-14 01:40:12 +02:00
Stanislav Malyshev
d1e878f272
Fix bug #73150 : missing NULL check in dom_document_save_html
...
(cherry picked from commit 1c0e9126fb )
2016-10-12 12:19:41 +02:00
Christoph M. Becker
ef0279b640
Merge branch 'PHP-7.0'
2016-07-15 01:22:26 +02:00
Christoph M. Becker
b01b093ca9
Merge branch 'PHP-5.6' into PHP-7.0
2016-07-15 01:14:41 +02:00
Christoph M. Becker
a4aa4f9772
Fix bug #66502 : DOM document dangling reference
...
When we decrement the refcount of a node's document, we state that we
won't need it anymore. Therefore we can *always* set the pointer to the
document to NULL, what avoids invalid memory accesses for some edge cases
as demonstrated with the PHPT.
Original patch provided by Sean Heelan.
2016-07-15 01:08:08 +02:00
Aaron Piotrowski
24237027bc
Merge branch 'throw-error-in-extensions'
2016-07-05 02:08:39 -05:00
Dmitry Stogov
0cfb47651c
Fixed compilation warnings
2016-06-28 11:37:51 +03:00
Dmitry Stogov
323b2733f6
Fixed compilation warnings
2016-06-22 00:40:50 +03:00
Aaron Piotrowski
771e5cc247
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
2016-06-13 09:02:17 -05:00
Aaron Piotrowski
e3c681aa5c
Merge branch 'master' into throw-error-in-extensions
2016-06-10 22:02:23 -05:00