1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Commit Graph

56 Commits

Author SHA1 Message Date
Rob Richards 7ba3cb8c1e remove xml debug code 2003-07-27 20:21:36 +00:00
Rob Richards 43bc2f0b6d reworking xml namespace support
add node lookupNamespaceURI and lookupPrefix
add attr isId
2003-07-27 17:57:06 +00:00
Rob Richards 618d6c904d doctype and namespace fix
memory leak fix
2003-07-25 17:25:50 +00:00
Rob Richards e8a87e5430 initial xpath implementation
make dom_object generic
2003-07-24 13:18:40 +00:00
Zeev Suraski 6c24e1577c API update 2003-07-22 13:50:00 +00:00
Rob Richards d85845a64b fix for Bug #24715 segfault in dom_document_create_element
removed xmlmemorydump debug code
2003-07-19 14:59:29 +00:00
Rob Richards 1344b5d9b9 fix invalid node pointers 2003-07-18 12:41:35 +00:00
Rob Richards e4d73c22ad fix setting new encoding 2003-07-14 21:51:28 +00:00
Rob Richards d75618e780 implement read only exceptions
implement notation nodes
changes for spec conformance
2003-07-12 17:29:20 +00:00
Rob Richards a04b2c8724 fix loading off of interface 2003-07-12 17:23:05 +00:00
Rob Richards d1c41150c6 fix compile issue - TSRMLS_FETCH is only temporary until errors handled 2003-07-11 14:19:05 +00:00
Rob Richards 16fb3e91c0 remove global error handling - use of libxml globals is a bad thing
add domDocument properties for parsing options:
validateOnParse, resolveExternals, preserveWhiteSpace, substituteEntities
implement custom parsing to avoid use of globals
implement local errors while parsing
errors displayed until error objects implemented
2003-07-10 11:17:25 +00:00
Rob Richards 7de2784bd3 fix getElementsByTagName 2003-07-08 17:00:49 +00:00
Rob Richards 4cd06845f9 implement node proxies: next phase of interop 2003-07-07 19:37:32 +00:00
Rob Richards ee9ca6ee9d fix load() and loadxml() when used with uninstantiated object 2003-07-01 19:28:30 +00:00
foobar f3ac60d4a4 - Cleanup, simplifying, etc. 2003-06-30 17:23:52 +00:00
Rob Richards 85488c4a0d fix import/export for win32 when enabled by default 2003-06-26 10:40:26 +00:00
Sterling Hughes 936c9d5736 re-enable dom by default 2003-06-25 22:42:54 +00:00
foobar 0a6f6bab52 This should not be enabled by default, ext/xml is.. 2003-06-25 22:40:05 +00:00
Sterling Hughes 75abafdfc3 these should be enabled by default. At least this much was agreed upon when
the decision to debundle libxml2 was made.
2003-06-25 20:53:52 +00:00
Sterling Hughes edd1db3f0f autodetect zlib if dom is enabled 2003-06-25 18:06:06 +00:00
Sterling Hughes 1aa6e3fee3 dom5 = dom 2003-06-25 15:31:59 +00:00
Sterling Hughes fa36b5bfa4 can now be --with-dom, as the old domxml is now in pecl 2003-06-25 00:17:41 +00:00
Marcus Boerger b5434aac36 Fix module pointer name to enable building again 2003-06-22 12:50:28 +00:00
Rob Richards c69d395931 cleanup common code 2003-06-20 14:08:56 +00:00
Marcus Boerger 46b4ab47be Fit the error handler into the naming scheme and get rid of trailing new lines 2003-06-16 00:18:28 +00:00
Marcus Boerger e208b0e77e Add an error handler (thx to timm for the idea) 2003-06-15 23:57:48 +00:00
Rob Richards 2a02045596 remove code no longer needed
fix format Output property
2003-06-15 19:58:42 +00:00
Rob Richards c1b5700333 link libxml2 dynamically for consistancy 2003-06-15 14:50:11 +00:00
Rob Richards d1bfc58aee use xmlInitParser instead of xmlInitThreads
reentrant safe as well no need for xml_parser_inited
2003-06-14 18:15:50 +00:00
Rob Richards 6414becb62 fix xml_parser_inited on win32
add common structs for better interoprability
2003-06-14 15:27:15 +00:00
Marcus Boerger 74476dc1da Improve/fix preventing both enabled 2003-06-14 13:35:09 +00:00
Marcus Boerger 4a97e3fef6 Don't allow both and mark the old one as deprecated 2003-06-14 11:27:49 +00:00
Rob Richards 5b19e1ec92 add node->isSupported()
add domimplementation->hasFeature()
add formatOutput property (extends DOM)
call xmlFreeDoc when doc is no longer referenced rather than custom code
save and savexml now format based on formatOutput property
2003-06-12 20:02:05 +00:00
Rob Richards 2b8fcfbeab fix some calls to libxml 2003-06-12 17:04:28 +00:00
Rob Richards b2c4882d54 forgot this: set doc for new text node as current may not be in tree 2003-06-11 20:06:03 +00:00
Rob Richards 110920bc7e add isWhitespaceInElementContent()
fix splitText for nodes not in tree
correct links to specs
2003-06-11 19:55:52 +00:00
Rob Richards 73c172cfee add substringData, insertData, deleteData, replaceData
fix reference links to specs
2003-06-11 11:25:08 +00:00
Rob Richards a3128df046 Fixed memleaks 2003-06-10 22:24:54 +00:00
James Cox f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Rob Richards 6d72c89408 implmentation of document ref counting for persistance
re-work of internal object handling
2003-06-09 20:20:55 +00:00
Sterling Hughes 208aa6152d i ain't know domdom 2003-06-07 15:09:24 +00:00
Sterling Hughes d65e9b3818 leftover.
its wholeText not whole_text
2003-06-07 15:07:42 +00:00
Sterling Hughes 1837db58d1 add the wholeText property 2003-06-07 15:03:45 +00:00
Rob Richards 0565d9724b fix more memory overruns
initial definition for document ref counting
fixed property access to support all objects
clear property handler from invalid objects until ref count implemented
2003-06-07 13:30:58 +00:00
Sterling Hughes 6610183236 add splitText()
never has such a complex process been endured for such a simple function
libxml makes me queasy right now :)
2003-06-06 20:10:05 +00:00
Rob Richards 29b5fbcc53 fix double free issue
fix property access within invalid objects and failed reads
2003-06-06 19:04:32 +00:00
foobar 5083d8b1c5 Missing header 2003-06-06 06:40:36 +00:00
foobar 4dc1f7af3c Some missing files.. 2003-06-06 06:34:30 +00:00
Sterling Hughes a71652e12e add CREDITS file 2003-06-05 19:12:07 +00:00