summaryrefslogtreecommitdiff
path: root/ext/xmlreader/php_xmlreader.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-3/+3
| | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* Export standard object handlers, to avoid indirect accessDmitry Stogov2018-05-311-10/+4
|
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-1/+1
| | | | where we sure about string persistence.
* Keep initialized object_handlers structures in read-only memory.Dmitry Stogov2018-03-141-3/+3
|
* Use bool instead of boolean in protoGabriel Caruso2018-02-041-20/+20
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Cleanup type conversionDmitry Stogov2017-12-071-9/+3
|
* Add zend_object_alloc() APINikita Popov2017-11-251-1/+1
| | | | | | | | | | | Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure with known size, as the properties are intialized separately anyway. Technically we do not need to zero the embedded zend_object structure either, but as long as the memset argument is constant, a couple more bytes don't really matter.
* Use interned strings for "magic" property of internal classes. (not copyied ↵Dmitry Stogov2017-11-011-1/+4
| | | | into SHM)
* Fix bug #74457 Wrong reflection on XMLReader::expandFabien Villepinte2017-05-021-1/+2
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-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
| |
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-1/+1
| |
* | more fixes to the shared compilationAnatol Belski2015-03-231-0/+1
| |
* | Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-1/+1
| | | | | | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-75/+75
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | 's' works with size_t round 3Anatol Belski2014-08-271-5/+10
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-5/+5
| |
* | master renames phase 1Anatol Belski2014-08-251-43/+43
| |
* | ported xsl, xml reader and writerAnatol Belski2014-08-191-12/+12
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-191-31/+31
| |
* | Refactored run_time_cache usage in object handlersDmitry Stogov2014-07-071-3/+3
| |
* | Fixed memory leak in prop_handlers registeringXinchen Hui2014-05-051-3/+8
| |
* | Port XMLReaderXinchen Hui2014-05-041-88/+77
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.5'Michael Wallner2013-10-041-2/+0
|\ | | | | | | | | * PHP-5.5: Fixed bug #64230 (XMLReader does not suppress errors)
| * Merge branch 'PHP-5.4' into PHP-5.5Michael Wallner2013-10-041-2/+0
| |\ | | | | | | | | | | | | * PHP-5.4: Fixed bug #64230 (XMLReader does not suppress errors)
| | * Fixed bug #64230 (XMLReader does not suppress errors)Michael Wallner2013-10-041-2/+0
| | |
* | | fix bug #55285 XMLReader::getAttribute/No/Ns methods inconsistencyMichael Wallner2013-10-031-6/+0
|/ /
* | Merge branch 'PHP-5.4' into PHP-5.5Michael Wallner2013-10-031-0/+1
|\ \ | |/ | | | | | | * PHP-5.4: fix bug #59613 (Crash with clone XMLReader)
| * fix bug #59613 (Crash with clone XMLReader)Michael Wallner2013-10-031-0/+1
| |
| * Merge branch 'pull-request/341'Stanislav Malyshev2013-06-101-4/+4
| | | | | | | | | | * pull-request/341: (23 commits) typofixes
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Removal of deadcode identified by coverityIlia Alshanetsky2011-08-081-2/+2
| |
| * - Added ZEND_MOD_END macro to use in the end of zend_module_dep[]Felipe Pena2011-08-061-1/+1
| |
| * - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
| |
| * - Added new parameter parsing option (p - for valid path (string without ↵Felipe Pena2011-06-061-3/+3
| | | | | | | | | | | | | | | | null byte in the middle)) # The tests will be fixed in the next commits
* | Merge branch 'pull-request/341'Stanislav Malyshev2013-06-101-4/+4
| | | | | | | | | | * pull-request/341: (23 commits) typofixes
* | fix bug #49348 - issue notice on get_property_ptr_ptr when used for readStanislav Malyshev2013-02-181-22/+22
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Removal of deadcode identified by coverityIlia Alshanetsky2011-08-081-2/+2
| |
* | - Added ZEND_MOD_END macro to use in the end of zend_module_dep[]Felipe Pena2011-08-061-1/+1
| |
* | - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
| |