Commit Graph

605 Commits

Author SHA1 Message Date
Xinchen Hui
6b1928ba0b Merge branch 'PHP-5.4' into PHP-5.5 2013-04-21 11:09:18 +08:00
Antonio Diaz Ruiz
92bbe6be72 Includes 5 new phpTests to check that the error message DOM_NOT_FOUND is properly raised by the method DOMNode::insertBefore(newNode, [refNode]).
Each file covers a different test case

    DOMNode_insertBefore_error2.phpt: refNode is a sibling of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error3.phpt: refNode is the parent of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error4.phpt: refNode is a brand new node.
    DOMNode_insertBefore_error5.phpt: refNode is a descendant (not child) of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error6.phpt: refNode is the node where newNode wanted to be inserted.
2013-04-21 11:05:59 +08:00
Chris Wright
c091819f40 Add schema default/fixed value support
Added support for adding fixed/default values during XSD validation
and added/updated associated tests
2013-04-12 09:50:14 +01:00
Nikita Popov
fcc6611de9 Add support for non-scalar Iterator keys in foreach
RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
2013-03-12 17:27:31 +01:00
Stanislav Malyshev
0c6d903ce7 fix bug #49348 - issue notice on get_property_ptr_ptr when used for read 2013-02-18 20:56:02 -08:00
Xinchen Hui
a666285bc2 Happy New Year 2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009 Happy New Year 2013-01-01 16:28:54 +08:00
Xinchen Hui
e081c55fb5 Merge branch 'PHP-5.3' into PHP-5.4 2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Rob Richards
ffa72707c8 fix bug #63015 (Incorrect arginfo for DOMErrorHandler) 2012-09-20 02:34:07 -04:00
Felipe Pena
6513ca85c2 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  - Value stored to var is never read
2012-08-19 12:13:59 -03:00
Felipe Pena
dc1138b102 - Value stored to var is never read 2012-08-19 12:13:48 -03:00
Rob Richards
c5a611b257 Merge branch 'PHP-5.3' into PHP-5.4
# By Daniel Veillard
* PHP-5.3:
  Update to work with libxml 2.9.0
2012-08-09 14:24:50 -04:00
Daniel Veillard
c4b26cc1b0 Update to work with libxml 2.9.0 2012-08-09 14:02:33 -04:00
Felipe Pena
d640e446ab - Fixed conflict 2012-07-14 13:16:35 -03:00
Felipe Pena
864575251a - Fixed memory leak when extending DOMXPath 2012-07-14 13:13:31 -03:00
Marc Easen
896ac689c9 Fixed the common misspelling of the word occurred (occured -> occurred) 2012-06-30 16:54:03 -07:00
zoe slattery
d99203d44b Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Small fixes to tests, see #62022
2012-05-15 11:43:28 +01:00
zoe slattery
e35f09d774 Small fixes to tests, see #62022 2012-05-15 11:42:14 +01:00
Christopher Jones
93192ec56d Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Make output order for dom007.phpt platform independent
2012-05-01 15:49:19 -07:00
Christopher Jones
d14f23365c Make output order for dom007.phpt platform independent
This test has long been near the top of the reported output diffs.
For example, on http://qa.php.net/reports/?version=5.4.0 it has diffed
1307 times out of 3543 reports, at time of this commit.  (The second
highest diff has occurred 710 times.)
2012-05-01 15:43:31 -07:00
Anatoliy Belsky
47c8b6039a Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61868 ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails
2012-04-30 17:25:11 +02:00
Anatoliy Belsky
d26e006d7f Fix bug 61868 ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails 2012-04-30 17:23:49 +02:00
Xinchen Hui
503e9d955c Merge branch 'PHP-5.3' of ../php-5.3 into PHP-5.4 2012-03-24 14:22:53 +08:00
Xinchen Hui
56dac369ab Fix ZTS build 2012-03-24 14:22:04 +08:00
Gustavo André dos Santos Lopes
e018e2ae86 Merge branch '5.3' into 5.4 2012-03-23 22:14:36 +00:00
Gustavo André dos Santos Lopes
372801d94c Fixed tests that var_dump/print_r DOM objects. 2012-03-23 22:08:33 +00:00
Gustavo André dos Santos Lopes
b61017c9b6 Improved on DOM object debug info handler. Added test. 2012-03-23 21:23:24 +00:00
Joey Smith
d04682766d Added DOM Debug handler 2012-03-23 21:23:23 +00:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Dmitry Stogov
4a25a7740d Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Pierre Joye
8fca015947 - fix test for OS where dir sep is \ 2011-09-07 09:03:07 +00:00
Pierre Joye
6ee31df599 - fix test for OS where dir sep is \ 2011-09-07 09:03:07 +00:00
Shein Alexey
6feb8cb74b Fixed failed test to take into account printed warnings like in 5.4 and trunk branches. 2011-08-24 12:25:30 +00:00
Ilia Alshanetsky
3726c5c67a Removal of deadcode identified by coverity 2011-08-08 13:45:18 +00:00
Ilia Alshanetsky
e2e96913bf Deadcode & sizeof fix for issues found by coverity
(different patch for 5.4+ will follow shortly)
2011-08-08 12:29:32 +00:00
Felipe Pena
997f323e3a - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Stanislav Malyshev
83039b8fee fix params parsing 2011-08-01 04:29:37 +00:00
Stanislav Malyshev
3b7cdd0227 fix failing tests 2011-08-01 01:00:57 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Christian Stocker
8806c371c8 Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
(MFT - Merged from Trunk)
2011-07-11 15:18:46 +00:00
Knut Urdalen
819be8a3b2 working on test coverage for ext/dom, here's 17 more tests 2011-06-28 20:17:15 +00:00
Knut Urdalen
c1c3fada7a working on test coverage for ext/dom, here's 17 more tests 2011-06-28 20:17:15 +00:00
Hannes Magnusson
12081f5659 Add charset, fixes the validate_on_parse test (confik) 2011-06-22 14:59:20 +00:00
Shein Alexey
113e304dcf Fixed dom tests. 2011-06-22 09:28:14 +00:00
Shein Alexey
512be854e5 Fixed dom tests. 2011-06-22 09:28:14 +00:00
Ilia Alshanetsky
cca899148a Fixed test 2011-06-08 23:30:02 +00:00
Ilia Alshanetsky
6e668453ac Fixed test 2011-06-08 23:30:02 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Hannes Magnusson
8f3e6433b2 No need to fetch external files and endless amount of DTDs for this test 2011-06-05 11:31:18 +00:00
Hannes Magnusson
2c03acef35 Fixed bug #54601 (Removing the doctype node segfaults) 2011-05-29 11:39:49 +00:00
Hannes Magnusson
07bcf1080d Fixed bug #54601 (Removing the doctype node segfaults) 2011-05-29 11:39:49 +00:00
Rasmus Lerdorf
53204a26d2 Fix test by pointing this at a smaller file that is less likely to break the test 2011-04-27 21:27:31 +00:00
Rasmus Lerdorf
6c564a7802 Fix test by pointing this at a smaller file that is less likely to break the test 2011-04-27 21:27:00 +00:00
Rasmus Lerdorf
c09f0822fd Fix broken test 2011-04-27 15:08:44 +00:00
Rasmus Lerdorf
a44515caf9 Fix broken test 2011-04-27 15:08:44 +00:00
Gustavo André dos Santos Lopes
fdbc42611c - Hopefully finally fixed the mess in rev 307562 and rev 307563. 2011-01-19 00:22:06 +00:00
Gustavo André dos Santos Lopes
b9b1fb1827 - Hopefully finally fixed the mess in rev 307562 and rev 307563. 2011-01-19 00:22:06 +00:00
Gustavo André dos Santos Lopes
f455f85e6c - Fixed wrong function call in original commit to FR #39771. 2011-01-18 19:56:09 +00:00
Gustavo André dos Santos Lopes
8cdcdb1b1e - Fixed wrong function call in original commit to FR #39771. 2011-01-18 19:56:09 +00:00
Gustavo André dos Santos Lopes
163b3bcec9 - Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
DOMNode like DOMDocument::saveXML).
2011-01-18 19:45:38 +00:00
Gustavo André dos Santos Lopes
d6ac882106 - Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
DOMNode like DOMDocument::saveXML).
2011-01-18 19:45:38 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Scott MacVicar
6144da7e35 Silently casting an empty string, null or false into an object by adding a property
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.

Since we can't break BC completely (yet) lets bump this from E_STRICT.

Also added a new section to UPGRADING for engine changes.

<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);

$y = 1;
$y->baz = 1;
var_dump($y);
2010-12-31 16:57:45 +00:00
Pierre Joye
aea6771d19 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Ilia Alshanetsky
f719d3707d Fixed bug #52656 (DOMCdataSection does not work with splitText). 2010-11-29 14:48:53 +00:00
Ilia Alshanetsky
20f5f21a40 Fixed bug #52656 (DOMCdataSection does not work with splitText). 2010-11-29 14:48:53 +00:00
Kalle Sommer Nielsen
68b1905702 Cast to char * here 2010-09-23 03:54:54 +00:00
Dmitry Stogov
c5237d82bf Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties 2010-05-24 14:11:39 +00:00
Rob Richards
617e8a4f8c fix bug #49490 (XPath namespace prefix conflict)
add test
2010-05-04 15:41:49 +00:00
Rob Richards
d920d6226e fix bug #49490 (XPath namespace prefix conflict)
add test
2010-05-04 15:41:49 +00:00
Rob Richards
3860164101 fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable) 2010-05-04 12:55:26 +00:00
Rob Richards
798aca0d83 fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable) 2010-05-04 12:55:26 +00:00
Raphael Geissert
b373d8e184 Fix another typo s/exlcusive/exclusive 2010-05-01 18:30:38 +00:00
Raphael Geissert
7d716f8373 Fix another typo s/exlcusive/exclusive 2010-05-01 18:30:38 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Dmitry Stogov
94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Rob Richards
f53f94d24d fix bug #50828 (DOMNotation is not subclass of DOMNode) 2010-04-09 11:34:34 +00:00
Rob Richards
6f95046109 fix bug #50828 (DOMNotation is not subclass of DOMNode) 2010-04-09 11:34:34 +00:00
Rob Richards
01d9389c2c fix bug #48983 (DomDocument : saveHTMLFile wrong charset) 2010-04-02 20:08:15 +00:00
Rob Richards
0758c8794d fix bug #48983 (DomDocument : saveHTMLFile wrong charset) 2010-04-02 20:08:15 +00:00
Rob Richards
6feb1edcb6 re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN
2010-04-02 16:15:06 +00:00
Rob Richards
12b71200be re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN
2010-04-02 16:15:06 +00:00
Rob Richards
915c8778e2 fix bug #49463 (setAttributeNS fails setting default namespace)
add test
2010-01-15 21:29:56 +00:00
Rob Richards
bc1feb9034 fix bug #50661 (DOMDocument::loadXML does not allow UTF-16)
add test
2010-01-06 13:13:17 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Rob Richards
3fa1ea9731 fix bug #47848 (importNode doesn't preserve attribute namespaces)
add tests
2009-12-03 20:19:38 +00:00
Rob Richards
c3d66dbfed Fixed bug #49647 (DOMUserData does not exist) 2009-09-24 13:18:22 +00:00
Rob Richards
9b923dd6ce fix memleak 2009-09-24 12:40:59 +00:00
andy wharmby
e4c38fc1f0 Add missing SKIPIF 2009-09-11 21:57:04 +00:00
Zoe Slattery
4cc35aeaaf The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Zoe Slattery
6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Felipe Pena
634f233cc0 - MFH: New tests (NorwayUG testfest) 2009-07-02 00:04:52 +00:00
Ilia Alshanetsky
1c8d05069e MFB: Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE
and E_WARN if no DTD)
2009-06-14 13:13:35 +00:00
Matt Wilmas
1fa3b21c15 MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:49 +00:00
Eric Stewart
86fed7fac7 Add tests:
DOMComment::__construct() with constructor called twice.
DOMDocumentFragment::appendXML() with unbound fragment.
DOMDocumentFragment::appendXML() with unbalanced chunks.
DOMDocumentFragment::__construct() called twice.
DOMDocumentType: basic access to all properties.
DOMDocumentType::name with invalid state.
DOMDocumentType::entities with invalid state.
DOMDocumentType::notations with invalid state.
DOMDocumentType::publicId with invalid state.
DOMDocumentType::publicId with empty value.
DOMDocumentType::systemId with invalid state.
DOMDocumentType::systemId with empty value.
DOMDocumentType::internalSubset with invalid state.
2009-05-26 06:09:18 +00:00
Eric Stewart
d9c9d4cf4b Add the following new tests:
DOMCharacterData::appendData() with no arguments.
DOMCharacterData::deleteData() with count exceeding string size.
DOMCharacterData::deleteData() with no arguments.
DOMCharacterData::deleteData() with offset exceeding string size.
DOMCharacterData::insertData() with no arguments.
DOMCharacterData::replaceData() with no arguments.
DOMComment::__construct() with more arguments than acceptable.
DOMDocumentFragment::__construct().
DOMDocumentFragment::__construct() with too many errors.
DOMDocumentFragment::appendXML() with no arguments.
DOMDocumentFragment::appendXML() with children with properties.
2009-05-25 06:03:41 +00:00
Eric Stewart
30cdf25f22 New test: DOMAttr read $name property.
New test: DOMAttr read $ownerElement with null parent.
New test: DOMAttr write non-string $value property
New test: DOMCDATASection __construct() with no arguments.
New test: DOMCharacterData - Invalid State Error when getting data out of content.
2009-05-23 01:42:37 +00:00
Eric Stewart
21cb2046ae New test: DOMAttr __construct() with no arguments. 2009-05-23 01:33:39 +00:00
Rob Richards
f0b4c7be5c MFH: fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:32:12 +00:00
Rob Richards
63ccee5b41 MFB: fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:43:29 +00:00
Zoe Slattery
8acebc06d8 fixed bad section name 2009-02-13 18:01:27 +00:00
Zoe Slattery
7729acd99d fixed test 2009-02-13 17:56:20 +00:00
Rob Richards
cbdb8f6167 MFH: fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:10:53 +00:00
Rob Richards
5336054811 MFH: Add method DomNode::getLineNo to return line number for a parsed node 2009-01-13 18:06:48 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Zoe Slattery
553d34e811 refixing missing skipif 2008-12-30 15:57:23 +00:00
Rob Richards
c373356f45 MFH: fix bug #46849 (Cloning DOMDocument doesn't clone the properties)
fix some warnings
add test
2008-12-16 12:53:29 +00:00
Ant Phillips
5eaaf3843f DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 11:30:10 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Etienne Kneuss
3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Rob Richards
7465d0103f MFH: fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:21:47 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Rob Richards
f3f71b7351 MFH: fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:45:47 +00:00
Rob Richards
641347202b MFH: fix bug #46185 (importNode changes the namespace of an XML element)
add test
2008-09-29 16:52:45 +00:00
Rob Richards
84bfd4040e MFH: fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 12:00:37 +00:00
Rob Richards
169e68ed1a MFH: fix hints causing phpdoc crash 2008-09-22 15:09:46 +00:00
Ilia Alshanetsky
e39d08794e Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned object). 2008-09-16 00:38:45 +00:00
Rob Richards
e19c053adf MFH: fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:40:11 +00:00
Antony Dovgal
e18b1c00b6 MFH: fix ws, cs and folding 2008-08-14 08:39:05 +00:00
Etienne Kneuss
c77ca4c34a MFH: Fix error_handling usage in various extensions 2008-08-08 22:07:07 +00:00
Felipe Pena
8a388f61a1 - Fixed tests 2008-07-14 11:47:44 +00:00
Antony Dovgal
ad275fa6ef MFH 2008-07-13 21:22:55 +00:00
Felipe Pena
cb0d08699d - Added arginfo 2008-06-27 19:16:17 +00:00
Pierre Joye
41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Rob Richards
790f5ee062 MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:22:57 +00:00
Zoe Slattery
fe0ef8b17c Tests from London test fest 2008 2008-06-03 12:42:22 +00:00
Ant Phillips
ac253bab08 DOM tests from TestFest 2008-05-27 12:44:53 +00:00
Scott MacVicar
a2da2a91b1 MFH: DOM Tests from London Testfest 2008-05-27 10:21:21 +00:00
Josie Messa
a41e990b07 - Committing tests reviewed after London TestFest 08
- Credits to: Mike Sullivan and James Lewis
2008-05-21 15:00:59 +00:00
Steve Seear
2b20e3d914 Tests from PHP London TestFest 2008 2008-05-19 12:56:21 +00:00
Steve Seear
ca2461626e Moving DOM tests to correct folder. 2008-05-19 12:48:18 +00:00
Steve Seear
ca7712d70d Tests from PHP London TestFest 2008 2008-05-19 12:21:18 +00:00
Zoe Slattery
f0955264a0 Tests from London test fest 2008 2008-05-17 11:20:55 +00:00
Zoe Slattery
d7570b4671 Tests from Londn test fest 2008-05-16 17:13:42 +00:00
Zoe Slattery
229bcbdfc6 Tests from London test fest 2008 2008-05-15 12:23:47 +00:00
Antony Dovgal
b3b5126954 fix test names 2008-05-14 13:04:05 +00:00
Zoe Slattery
09aa62229a Committing corrected test from Eric Stewart 2008-05-03 20:36:36 +00:00
Rob Richards
18b63c9d58 MFH: fix bug #44648 (Attribute names not checked for wellformedness)
add test
fix some warnings
2008-04-17 20:21:04 +00:00
Felipe Pena
2b10c53ae1 MFH: Dropped zend.ze1_compatibility_mode
[DOC]
2008-03-18 14:10:45 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
David Coallier
47f576db8f - MFH
- If libxml dotted version smaller than 2.6.20 it's a fail. Patch from scoates
2008-03-08 19:11:18 +00:00
Sebastian Bergmann
00586196de MFH: Add missing Reflection API metadata for DOM classes. 2008-02-04 15:22:59 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Sebastian Bergmann
0c749ab10a MFH: Fix arginfo. 2008-01-30 06:48:13 +00:00
Sebastian Bergmann
c08da2a66d MFH: Add Reflection API metadata for DOMXPath. 2008-01-29 15:55:23 +00:00
Sebastian Bergmann
8b87b2b12b MFH: Add Reflection API metadata for DOMNode. 2008-01-29 15:23:18 +00:00
Rob Richards
3e69124430 backport functionality to call user functions within XPath
add test
2008-01-25 16:13:04 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Rob Richards
4cd1b9d803 MFH: Fix bug #43364 (recursive xincludes don't remove internal nodes properly)
add test
2007-11-28 10:44:21 +00:00
Dmitry Stogov
969dda1b51 Fixed tests 2007-11-19 08:19:31 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Rob Richards
78b2aaa954 MFH: fix bug #42462 (Segmentation when trying to set an attribute in DOMElement) 2007-08-30 16:32:34 +00:00
Rob Richards
9abc90728d MFH: fix bug #42082 (NodeList length zero should be empty). (Hannes)
add and update tests
2007-08-06 16:22:24 +00:00
Ilia Alshanetsky
d3571ea2a9 WS 2007-07-27 00:20:43 +00:00
Ilia Alshanetsky
1bc2880c46 Test name formatting fixes 2007-07-24 14:07:42 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Rob Richards
7d3c91bed3 free wholetext properly 2007-05-14 11:52:35 +00:00
Rob Richards
f42784219a Fixed bug #41374 (wholetext concats values of wrong nodes).
add test
2007-05-14 11:44:15 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Rob Richards
24434e7ba2 fix bug #41257 (lookupNamespaceURI does not work as expected)
fix related issue in isDefaultNamespace
add test
reconcile namespaces when setting attribute in a new namespace
2007-05-04 19:30:59 +00:00
Rob Richards
0291924222 allow registered classes to be changed 2007-04-03 11:57:04 +00:00
Rob Richards
b172d3f8cd MFH: fix bug #40836 (Segfault in ext/dom)
add test
2007-03-18 21:31:05 +00:00
Antony Dovgal
6bef5f8e80 typo in the test name 2007-01-20 19:19:29 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Rob Richards
60941b02dc fix issues identitified by coverity 2006-12-21 12:51:26 +00:00
Antony Dovgal
60a2df7db2 add a note that libxml2 2.6.2x is required 2006-11-13 12:54:04 +00:00
Hannes Magnusson
e94670d4d6 MFH tests 2006-10-09 16:02:34 +00:00
Ilia Alshanetsky
98b16064b4 Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:59:19 +00:00
Ilia Alshanetsky
12f7021e12 Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:40:58 +00:00
Rob Richards
7a2a383a9f fix bug #39035 (Compatibilty issue between DOM and ze1_compatibility_mode 2006-10-04 12:02:49 +00:00
Rob Richards
2a452afb6d fix some compiler warnings 2006-09-28 10:11:36 +00:00
Rob Richards
b23dfcc3ad fix bug #38949 (Cannot get xmlns value attribute)
add test
2006-09-27 10:31:24 +00:00
Ilia Alshanetsky
9f217cd983 One last expand_filepath() check 2006-09-16 19:07:35 +00:00
Rob Richards
1819e947f9 implement workaround for bug #38823 (DOMComment->appendData does nothing)
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:54:52 +00:00
Antony Dovgal
55d900ef8e MFH: free node pointer using correct function
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:44:20 +00:00
Rob Richards
6fea033c6e fix bug #38813 (DOMEntityReference->__construct crashes when called explicitly) 2006-09-14 13:35:02 +00:00
Rob Richards
c6b9662372 fix #38474 (getAttribute select attribute by order, even when prefixed)
add test
2006-08-28 23:36:23 +00:00
Rob Richards
3048cd7558 fix underlying issue for bug #38438 2006-08-14 11:29:15 +00:00
Ilia Alshanetsky
baff4e0ab5 Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList) 2006-08-13 15:02:41 +00:00
Antony Dovgal
8a3002d933 fix types of the variables 2006-08-07 20:23:35 +00:00
Christian Stocker
2dbcfcb8cb improved code (after suggestion by helly) 2006-07-16 16:04:09 +00:00
Christian Stocker
dc8ba6f475 Added DOMNode::getNodePath() for getting an XPath for a node. 2006-07-16 15:03:53 +00:00
Hannes Magnusson
aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Hannes Magnusson
c14ba0f124 MFH: Missing header include 2006-06-20 18:04:25 +00:00
Antony Dovgal
eaf4ea2e74 MFH: nuke unused variables and init variables when needed 2006-06-20 13:21:16 +00:00
Ilia Alshanetsky
b8bee35259 Removed unused variables. 2006-06-13 20:19:37 +00:00
Rob Richards
704ed9625c nuke unused call 2006-06-06 12:08:11 +00:00