Commit Graph

98 Commits

Author SHA1 Message Date
Rob Richards
0758c8794d fix bug #48983 (DomDocument : saveHTMLFile wrong charset) 2010-04-02 20:08:15 +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
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
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
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
Rob Richards
cbdb8f6167 MFH: fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:10:53 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +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
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +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
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
Sebastian Bergmann
00586196de MFH: Add missing Reflection API metadata for DOM classes. 2008-02-04 15:22:59 +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
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
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
12f7021e12 Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:40:58 +00:00
Ilia Alshanetsky
9f217cd983 One last expand_filepath() check 2006-09-16 19:07:35 +00:00
Antony Dovgal
eaf4ea2e74 MFH: nuke unused variables and init variables when needed 2006-06-20 13:21:16 +00:00
Rob Richards
c384b34ae9 MFH: add registerNodeClass() method
- update attribute isID functionality
 - add test
2006-05-22 17:12:26 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Rob Richards
06e3607102 MFH: add save options parameter 2005-09-08 10:39:30 +00:00
Rob Richards
8bdc4285aa MFH: Fixed bug #34103 (line numbering not maintained in dom document) 2005-08-15 17:13:57 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
2967f6116f - Fixed bugs #33431, #33432 ("int" used instead of "long" in parameter parsing) 2005-06-26 22:34:26 +00:00
Ilia Alshanetsky
8b8940ba84 php_error() -> php_error_docref(). 2005-04-21 21:11:23 +00:00
Andrey Hristov
d9f5f1ee08 fix memory corruption on 64bit in imagefttext(),
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +00:00
Marcus Boerger
79687e9b7d - Fix dependency 2005-01-08 13:24:39 +00:00
Rob Richards
6bbb254ecc allow parser flags to be passed to xinclude() 2005-01-02 12:22:36 +00:00
Rob Richards
cb72e23c14 add optional parameter to pass libxml document load options 2004-12-05 12:02:35 +00:00
Rob Richards
b87d8cdfd0 prototype fixes (Jakub Vrána) 2004-11-18 19:54:30 +00:00
Rob Richards
7dced12c32 add DOMDocument xmlEncoding, xmlStandalone, xmlVersion (spec name changes)
add DOMText isElementContentWhitespace (spec name change)
 - old props/method kept for BC.
 - spec names changed when Level 3 went from Draft to Recommendation
nuke some unused code
2004-10-07 11:40:20 +00:00
Rob Richards
02fa5aa0dc remove cloning under ze1_compatibility_mode
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 15:07:20 +00:00
Christian Stocker
b96ebb376f if $doc->recover = true; set error_reporting to (old | E_WARNING)
This way, you can't silence XML parse errors with the @ character
2004-08-25 08:27:07 +00:00
Christian Stocker
e99c375606 Added DomDocument->recover property for parsing not well-formed XML Documents. 2004-08-13 12:32:55 +00:00
Rob Richards
8925d6573e MFB: add missing optional value param to createElementNS (chregu) 2004-07-18 13:16:15 +00:00
Rob Richards
5b0f34ae80 Fix bug #28584: DOMText::splitText() does not split text properly (benjcarson)
Prototype fixes
2004-05-31 12:50:28 +00:00
Zeev Suraski
7d04465b74 Fix prototypes 2004-05-31 12:27:49 +00:00
Rob Richards
edae935c26 namespace/tagname validation fixes (Adam Trachtenberg)
added new test
2004-05-27 11:15:45 +00:00
Rob Richards
9e3956b313 constructors throw DOMException
add DOM_PHP_ERR DomException code
validate tagnames in constructors
use C style comments
update TODO
2004-05-16 10:30:16 +00:00
Rob Richards
010c340f29 use new style constructors
fix return for nodelist item
2004-03-31 17:18:59 +00:00
Rob Richards
4ce377064a Fix bug #27467: domDocument::load() called from class method crashes
the methods can be called statically only from within classes which
  are not extending DomDocument
2004-03-03 20:59:02 +00:00
Rob Richards
602c786aa9 issue warning if object is in invalid state when dealing with properties 2004-02-16 13:06:33 +00:00