summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Fixed #67474 (getElementsByTagNameNS and default namespace)Arnout Boks2017-01-021-1/+1
| | | | | | | This bug was caused by the fact that dom_get_elements_by_tag_name_ns_raw uses an empty string to filter on the default namespace (as NULL means 'no filter'), whereas in the node itself the default namespace is signalled by nodep->ns being null.
* Fix dom class can't be inherited by the internal classdreamszhu2017-01-011-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | These function docs are referencing zend_object_value but this should be ↵Tom Van Looy2015-12-241-1/+1
| | | | | | | | zend_object
* | Cleanup: replace removed condition with ZEND_ASSERT()Dmitry Stogov2015-09-241-1/+2
| |
* | Fixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass())Xinchen Hui2015-09-231-1/+2
| |
* | Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-1/+1
| |
* | Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-1/+1
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-1/+1
| | | | | | | | semantick changes).
* | fix exports and shared compilationAnatol Belski2015-03-231-31/+31
| |
* | Merged zend_array and HashTable into the single data structure.Dmitry Stogov2015-02-131-3/+1
| | | | | | | | | | Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.
* | Use new ZEND_HASH_FOREACH_... API.Dmitry Stogov2015-02-101-13/+4
| |
* | Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-2/+2
| | | | | | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* | zend_read_property() has to provide a holder for return value.Dmitry Stogov2015-01-221-1/+2
| | | | | | | | Previously it was possible that zend_read_property() returned pointer to zval allocated on stack.
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | Drop duplicate arg from hash_get_current_key_exNikita Popov2014-12-261-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-182/+182
| |
* | Merge branch 'PHP-5.6'Tjerk Meesters2014-10-121-14/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * PHP-5.6: More fixes for nodelist array access - testing for null property read - no zval copying if the type is already long - memory fix for master - use zend_long for offset Conflicts: ext/dom/php_dom.c
| * More fixes for nodelist array accessTjerk Meesters2014-10-121-16/+25
| | | | | | | | | | | | - testing for null property read - no zval copying if the type is already long - memory fix for master
* | Merge branch 'PHP-5.6'Tjerk Meesters2014-10-091-51/+20
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.6: Refactored DOMNodeList array dereferencing implementation Conflicts: ext/dom/nodelist.c ext/dom/php_dom.c
| * Refactored DOMNodeList array dereferencing implementationTjerk Meesters2014-10-091-60/+22
| |
* | zval must not be converted in place without duplicationDmitry Stogov2014-10-091-2/+1
| |
* | Merge branch 'PHP-5.6'Tjerk Meesters2014-10-091-0/+69
|\ \ | |/ | | | | | | | | | | Conflicts: ext/dom/dom_properties.h ext/dom/nodelist.c ext/dom/php_dom.c
| * DOMNodeList elements are accessible through array notationFlorian MARGAINE2014-09-271-1/+83
| | | | | | | | Fixes #67949
| * Merge branch 'PHP-5.4' into PHP-5.5Lior Kaplan2014-08-171-1/+1
| |\ | | | | | | | | | | | | * PHP-5.4: Correct typo in comments: 'initialized'
| | * Correct typo in comments: 'initialized'Lior Kaplan2014-08-171-1/+1
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-52/+52
| | |
* | | ported ext/domAnatol Belski2014-08-191-1/+1
| | |
* | | basic macro replacements, all at onceAnatol Belski2014-08-191-47/+47
| | |
* | | Refactored run_time_cache usage in object handlersDmitry Stogov2014-07-071-4/+4
| | |
* | | Use optimized zend_array_dup() function. convert zend_hash_num_elements() ↵Dmitry Stogov2014-05-231-2/+1
| | | | | | | | | | | | and zend_hash_next_free_element() into macros.
* | | Make they are in the same style of Z_ISREFXinchen Hui2014-05-031-1/+1
| | |
* | | Convert zval_get_string() into "fast path" macro and "slow path" functionDmitry Stogov2014-04-211-4/+4
| | |
* | | Fix libxml/sxe/dom node import/exportNikita Popov2014-04-181-2/+2
| | | | | | | | | | | | Also fix sxe zts.
* | | Moved zend_literal->cache_slot right into zval.Dmitry Stogov2014-04-171-9/+9
| | | | | | | | | | | | | | | | | | | | | It should be accessed using Z_CACHE_SLOT() macro. zend_literal structure is removed. API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly. Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.
* | | Finish DOM portNikita Popov2014-04-161-57/+31
| | | | | | | | | | | | All tests pass now
* | | Fix remaining XPath issueNikita Popov2014-04-161-11/+10
| | |
* | | Mostly fix Dom XPathNikita Popov2014-04-161-18/+26
| | |
* | | Make DOM mostly workNikita Popov2014-04-151-64/+69
| | |
* | | Make DOM compileNikita Popov2014-04-151-3/+3
| | | | | | | | | | | | Just make it compile, not work yet...
* | | Add functions for extracting long/double/string from zvalNikita Popov2014-04-151-45/+13
| | | | | | | | | | | | | | | | | | | | | These function get the long / double / string value of a zval with usual cast semantics, but without actually modifying the zval. Didn't go on a killing spree for convert_to_* yet...
* | | Start working on dom extensionNikita Popov2014-04-151-230/+145
| | | | | | | | | | | | Nowhere near compiling yet...
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-101-4/+4
| | |
* | | Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-1/+1
|\ \ \