Rob Richards
35888b62f4
Fix for bug #24219 segfault during resource destruction
...
Used bug fix to optimize free_doc routine
2003-06-18 17:43:34 +00:00
Rob Richards
1505f6af03
Fix for 64 bit platforms (by Joe Orton)
2003-06-02 18:58:48 +00:00
Christian Stocker
cd1def8074
fix possible segfault
2003-05-13 14:42:23 +00:00
Christian Stocker
98baae88df
xmlInitParser() at MINIT for better thread-safety (by Rob)
2003-05-05 14:46:49 +00:00
Christian Stocker
1e6865b38e
Set the doc property to NULL if no parent is available (by Rob Richards)
2003-05-05 12:55:23 +00:00
Ilia Alshanetsky
f896c7eeae
MFH
2003-04-18 00:20:36 +00:00
Christian Stocker
d7a3529ead
comment xmlMemoryDump() out (only needed for debugging)
2003-04-10 13:11:00 +00:00
Christian Stocker
7241d18de1
MFH.
...
- Fixed memleaks in domxml_doc_add_root, domxml_xslt_stylesheet
and domxml_xslt_stylesheet_doc
- Completed implementation of domxml_doc_imported_node.
2003-04-10 12:46:11 +00:00
Marcus Boerger
00366c63fc
MFH
2003-04-09 20:36:44 +00:00
Christian Stocker
1a3e5a816b
fixed some memleaks when using attribute nodes (Rob Richards)
2003-04-09 07:33:19 +00:00
Christian Stocker
c48e8e5116
MFH (fixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname)
2003-04-08 19:30:46 +00:00
Christian Stocker
d7f0682135
Big Patch with a lot of mem-leak fixes
...
- Attribute nodes are freed/generated correctly
- xsltstylesheets are freed correctly
- xpathregister doesn't leak anymore
- parser/xsltglobals cleanup at MSHUTDOWN
- Added DomDocument->free() for removing documents during script-time
2003-04-08 18:26:50 +00:00
Christian Stocker
e131b99b2a
Patch for Bug #22774 by Rob Richards
2003-04-02 10:30:05 +00:00
Christian Stocker
c479e904dd
fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method")
2003-03-20 09:43:09 +00:00
David Hill
45a1a3037a
64-bit correction to variables passed to zend_parse_parameters
...
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-07 13:42:30 +00:00
Stefan Esser
5f142e88fb
MFH
2003-03-06 20:59:27 +00:00
Christian Stocker
161db1b519
make it really W3C compatible (unlink node, when in tree...)
2003-03-04 13:29:18 +00:00
Christian Stocker
4214d95e6f
Throw error if object is not a XML_DOCUMENT_NODE
2003-01-10 18:05:02 +00:00
Christian Stocker
562fa5b78f
- fix crash in domxml_node_insert_before() (by Lukas Schröder)
2003-01-06 10:00:34 +00:00
Christian Stocker
1fcbd36e6d
partly MFH from 1.288 (Fixed segfault, when trying to add a node to itself)
2003-01-06 08:48:38 +00:00
Sebastian Bergmann
ec46829b38
MFH: Bump year.
2002-12-31 16:37:36 +00:00
Marcus Boerger
335786915a
MFH
2002-12-05 22:15:37 +00:00
Christian Stocker
31ee5eca0d
MFH (fixed big bad memory leak in xpath objects.)
2002-11-30 10:52:04 +00:00
Christian Stocker
106c57d48f
MFH (Fix for Bug #20639 DomElement->get_elements_by_tagname() doesn't work)
2002-11-26 15:39:13 +00:00
Marcus Boerger
f16e2e6650
MFH: Fix segfaults (check ext/domxml/tests/domxml002.phpt)
2002-11-15 11:07:34 +00:00
Christian Stocker
70b9310d3a
fix for bug #20209 (appending text nodes leads to segfaults sometimes)
2002-11-01 10:06:10 +00:00
Christian Stocker
0b8040aa8d
fix proto for clone_node
2002-10-31 19:52:45 +00:00
Marcus Boerger
84e5746efb
fix warnings
2002-10-29 16:57:52 +00:00
Marcus Boerger
402adbbe9d
-php_error => php_error_docref
...
-two warnings
2002-10-29 16:45:19 +00:00
Christian Stocker
fe34195288
Patch by Morus Walter, concerning some dtd/entity expanding stuff.
2002-10-28 08:54:30 +00:00
Sander Roobol
36fd03b578
Typo
2002-10-12 16:16:36 +00:00
Christian Stocker
820e5b766a
node->attributes returns null, if there are no attributes.
2002-10-11 14:00:12 +00:00
Christian Stocker
ab40c954fb
chregu: Can you please use the new php_error_docref in new code?
2002-09-09 20:32:49 +00:00
Christian Stocker
2375745ab4
Fix for bug 19266 (don't allow appending nodes from 2 different documents)
2002-09-09 20:21:31 +00:00
Derick Rethans
5b9a26da81
- Whitespace
2002-08-28 09:28:06 +00:00
Christian Stocker
e8b3e2abe7
fix some to long property strings
2002-08-27 08:40:44 +00:00
Christian Stocker
b29110dd3d
argh, domxml_doc_free is not yet ready for CVS :)
2002-08-27 07:33:55 +00:00
Christian Stocker
567c4bbe4b
stupid typo
2002-08-27 07:25:53 +00:00
Christian Stocker
e0b4533eeb
fix memleak in php_domxslt_string_to_xpathexpr
2002-08-27 06:54:21 +00:00
Christian Stocker
064fb5c3cb
renamed xslt_dump_* to xslt_result_dump_* to avoid confusion
...
# will adjust NEWS file later
2002-08-23 15:26:19 +00:00
Christian Stocker
9278d9bf1a
fix memleak in xslt->dump_mem()
2002-08-23 15:19:16 +00:00
Christian Stocker
8e52350a49
- moved xslt_dump_ to better place
...
- removed unused variables
2002-08-22 16:04:28 +00:00
Christian Stocker
1a486b6676
@- Added XsltObject->dump_file($result,$filename[,$compression]) for dumping
...
@ xslt-result directly into a file. (chregu)
2002-08-22 15:54:23 +00:00
Christian Stocker
1f57dec2bf
@- Added XsltObject->dump_mem($result) for returning xslt-result directly
...
@ into a string (morus.walter@web.de , chregu)
- XsltObject->dump_file() will follow
- bumped up needed libxslt version to 1.0.18
2002-08-22 15:02:41 +00:00
Christian Stocker
2ce44cd99c
return version number of linked libxml2, not of the one, which it was
...
compiled against
2002-08-22 14:32:43 +00:00
foobar
7796bc12dd
kill compiler warning (unused variable)
2002-08-22 00:43:18 +00:00
Christian Stocker
9698d5da45
w3c adjustments :)
...
- has_attributes returns empty string if attribute is not there
- parent_node returns null, if no parent
2002-08-19 14:01:04 +00:00
Christian Stocker
6cbb350607
More W3C conformance stuff (they returned all false before..)
...
- DomNode->attributes() returns NULL, if not found.
- DomNode->first_child() returns NULL, if not found
- DomNode->last_child() returns NULL, if not found.
- DomNode->namespace_uri() returns NULL, if not found.
2002-08-17 11:47:21 +00:00
Christian Stocker
9c20c7c9ba
More on the way to W3C coformance:
...
@- Changed DomNode->next_sibling and DomNode->previous_sibling to return NULL
@ instead of false (W3C specs). (chregu)
@- Changed DomNode->insert_before() and DomNode->append_child() to conform to
@ W3C specs (moving not copying nodes, accepting NULL as 2nd param). (chregu)
2002-08-16 08:42:41 +00:00
Christian Stocker
2126f799b9
proto fixes
2002-08-15 13:26:32 +00:00