summaryrefslogtreecommitdiff
path: root/ext/simplexml/simplexml.c
Commit message (Collapse)AuthorAgeFilesLines
* Prevent SimpleXML from silently modifying types of variables that areZeev Suraski2004-02-111-0/+11
| | | | | | | | | | | | | | | | assigned to its objects. Implementation notes for overloaded object modules: - If you return a zval which is not otherwise referenced by the extension or the engine's symbol table, its reference count should be 0. - If you receive a value zval in write_property/write_dimension, you may only modify it if its reference count is 1. Otherwise, you must create a copy of that zval before making any changes. You should NOT modify the reference count of the value passed to you. Have fun!
* Fix compiler warningsRob Richards2004-02-111-10/+1
| | | | | Update tests
* Implement get callback for SimpleXML (it now supports pre/post incrementZeev Suraski2004-02-101-1/+16
| | | | | as well as binary-assign-ops)
* Update to new APIZeev Suraski2004-02-081-1/+1
|
* - Update with new destructor codeZeev Suraski2004-02-041-31/+40
|
* CS fix (functions should not be available if they are not available :)foobar2004-02-021-5/+4
|
* Fix bug #27010: segfault after returning nodes with children()Rob Richards2004-01-221-108/+118
| | | | | | | | | Fix segfault in match_ns when matching prefix and node without ns some general cleanup and code consilidation better write handling - engine support dependent better isset handling - engine support dependent namespace fixes for reading/writing
* Fix namespace regression bugRob Richards2004-01-211-17/+54
| | | | | | | Read attributes correctly Update sxe_prop_dim_exists logic Update profile
* Fix Bug #26976 (Can not access array elements using array indices)Rob Richards2004-01-211-10/+3
| | | | | | return index 0 as non iterable object update test
* Goto targets should not be indented (some compilers choke on this, iirc)foobar2004-01-211-1/+1
|
* -Sterling Hughes2004-01-201-20/+58
|
* Fix compilation of simplexml when spl is build as shared objectFrank M. Kromann2004-01-191-1/+1
|
* Rename header to prevent name clashes with external filesMarcus Boerger2004-01-181-1/+1
|
* Necessary as long as SPL is shared/dllMarcus Boerger2004-01-181-1/+1
|
* Fix WarningMarcus Boerger2004-01-181-0/+1
|
* Enable inherited classes inside SPL and respect order of module init.Marcus Boerger2004-01-181-25/+20
|
* Export access to class_entry by function.Marcus Boerger2004-01-181-1/+6
|
* namespace accesses are now soley URI based as opposed to prefix based.Sterling Hughes2004-01-171-92/+4
|
* Major bugfix for consistency.Marcus Boerger2004-01-171-311/+324
| | | | | | | # After long discussions we came to a conclusion on how to make this # extension consistent in itself. # Thanks to Rob for all the work
* Fix parameter list and protosMarcus Boerger2004-01-171-4/+4
|
* Make inherited sxe classes workMarcus Boerger2004-01-171-9/+42
|
* Drop userspace iteration correctly.Marcus Boerger2004-01-151-20/+2
| | | | | # People if you do such things then please fix the class tree.
* This is no longer usefull in any way.Marcus Boerger2004-01-141-32/+0
|
* test user define namespace aliasesRob Richards2004-01-141-9/+17
|
* add support for $foo["a:bar"]Rob Richards2004-01-131-143/+87
| | | | | | | | fix xsearch to only return values for text,element and attribute nodes fix getChildren and return array remove most methods update test
* - Cleanup class_entryMarcus Boerger2004-01-101-68/+46
| | | | | | - allow derived classes - fix new SimpleXML_Element()
* Remove these initializers as they are unused.Sterling Hughes2004-01-091-21/+9
|
* Fix dumping, when dumping a text element, for example:Sterling Hughes2004-01-081-2/+11
| | | | | | | | | | | | | | | | | <?php $doc = simplexml_load_string('<?xml version="1.0"?> <namelist> <name> <first>helly</first> </name> <name> <first>sterling</first> </name> </namelist>'); var_dump($doc->name[0]->first); Used to not display the node's content, now it does.
* Fix windows build issueMarcus Boerger2004-01-081-3/+3
|
* Cannot use shared SPLMarcus Boerger2004-01-081-2/+2
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-1/+1
|
* two new methods were addedDmitry Stogov2003-12-181-0/+65
| | | | | | $node->count($subnode_name) - returns count of subnodes with specified name $node->attributes() - returns array of attributes
* accessing singular subnode as arrayDmitry Stogov2003-12-171-0/+3
|
* free nodes correctly to clear node proxiesRob Richards2003-12-171-2/+2
|
* Better commentMarcus Boerger2003-12-161-3/+3
|
* Add error handling for element/attribute creation/changingMarcus Boerger2003-12-161-4/+24
|
* Removed duplicate php_libxml_(init|shutdown) they are already done byIlia Alshanetsky2003-12-161-4/+0
| | | | | ext/libxml.
* - Update header + added missing Id tags.foobar2003-12-091-4/+4
|
* allow $node['not_yet_existing_attribute'] = $value; to workWez Furlong2003-12-071-1/+12
|
* Fix return value.Marcus Boerger2003-11-291-1/+1
|
* Remove test codeMarcus Boerger2003-11-291-1/+0
|
* Fix bug #26159 - SimpleXML XPath support (patch by Adam Trachtenberg)Rob Richards2003-11-241-3/+42
| | | | | a few fixes to memory corruption
* Several improvements to the simplexml_element object:Marcus Boerger2003-11-231-115/+208
| | | | | | - Allow to use it as an instance of Iterator - Prepareto use it as a normal object, including spcialization
* Adjust to latest conversion cast changesMarcus Boerger2003-11-141-1/+1
|
* Fix classname, CDATA handling (semantically identical to text) andMarcus Boerger2003-11-131-12/+22
| | | | | | iterators (Return sub elements as objects, converted to string you get the text).
* Split into element=property and attribute=dimension overloading.Marcus Boerger2003-11-101-15/+44
|
* Kill unused variables.Ilia Alshanetsky2003-11-051-1/+0
|
* make this macro safeSterling Hughes2003-11-031-2/+2
|
* remove attributes from this checkSterling Hughes2003-11-031-9/+0
|
* - Stop a crash in xpathSterling Hughes2003-11-031-2/+9
| | | | | | - Remove the ability to access attributes via the -> operator, attributes are accessed via the array indicators