summaryrefslogtreecommitdiff
path: root/ext/soap/php_encoding.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace zend_bool uses with boolNikita Popov2021-01-151-2/+2
| | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* Add "const". Move constant strings to read-only memory.Dmitry Stogov2020-09-071-1/+1
|
* Accept zend_object* in zend_update_propertyNikita Popov2020-08-071-1/+1
|
* Accept zend_object* in zend_unset_propertyNikita Popov2020-08-071-1/+1
|
* Accept zend_object in zend_read_propertyNikita Popov2020-08-071-1/+1
|
* Fix #78880: Final spelling fixesMáté Kocsis2020-01-161-1/+1
|
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-07-121-2/+2
|\
| * Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-07-121-2/+2
| |\
| | * Use TRY_ADDREF/TRY_DELREF in soapNikita Popov2019-07-121-2/+2
| | | | | | | | | | | | | | | The DELREF part is a possible fix for bug #78278, the ADDREF part is a drive-by fix.
* | | Fix persistent XML memory leaks in SOAPNikita Popov2019-06-271-1/+7
| | | | | | | | | | | | | | | | | | SOAP uses a horrible bailout based error handling approach -- avoid leaking persistent XML memory by catching bailouts in a number of places.
* | | Use labs() on long integerNikita Popov2019-06-121-1/+3
| | |
* | | Remove function_table var from the callerc9s2019-03-111-2/+2
| | | | | | | | | | | | | | | function_table var is not used in call_user_function macro anymore hence replace the usage with NULL
* | | Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERSPeter Kokot2019-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - PHP_TM_GMTOFF removed - HAVE_TM_GMTOFF replaced with HAVE_STRUCT_TM_TM_GMTOFF - HAVE_TM_ZONE replaced with HAVE_STRUCT_TM_TM_ZONE - HAVE_TZNAME removed The PHP_TM_GMTOFF macro can be replaced with Autoconf's AC_CHECK_MEMBERS that defines the HAVE_STRUCT_TM_TM_GMTOFF symbol instead of the HAVE_TM_ZONE. The HAVE_TZNAME symbol is not used in current code. The obsolete HAVE_TM_ZONE symbol has been replaced with more proper HAVE_STRUCT_TM_TM_ZONE. These are defined by the AC_STRUCT_TIMEZONE macro.
* | | Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
| | |
* | | Merge branch 'PHP-7.3'Nikita Popov2019-01-041-2/+2
|\ \ \ | |/ /
| * | Fix bug #77410Nikita Popov2019-01-041-2/+2
| | |
* | | Merge branch 'PHP-7.3'Christoph M. Becker2018-11-121-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.3: Fix #77141: Signedness issue in SOAP when precision=-1
| * | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2018-11-121-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Fix #77141: Signedness issue in SOAP when precision=-1
| | * Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-11-121-1/+1
| | |\ | | | | | | | | | | | | | | | | * PHP-7.1: Fix #77141: Signedness issue in SOAP when precision=-1
| | | * Fix #77141: Signedness issue in SOAP when precision=-1Christoph M. Becker2018-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | According to php_gcvt(), we assume at most 17 fractional digits for negative precision.
| | | * year++Xinchen Hui2018-01-021-1/+1
| | | |
| * | | Future-proof email addressesZeev Suraski2018-11-011-1/+1
| | | |
* | | | Future-proof email addresses...Zeev Suraski2018-11-011-1/+1
| | | |
* | | | Merge branch 'PHP-7.3'Nikita Popov2018-10-231-2/+0
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2018-10-231-2/+0
| |\ \ \ | | |/ /
| | * | Fixed bug #50675Cameron Porter2018-10-231-2/+0
| | | | | | | | | | | | | | | | | | | | SOAP: Stop overwriting the node name when creating an XML node for an object reference.
| | * | year++Xinchen Hui2018-01-021-1/+1
| | | |
* | | | Removed unused functionDmitry Stogov2018-09-251-10/+0
| | | |
* | | | Use Zend API helper functionsDmitry Stogov2018-09-111-31/+2
|/ / /
* | | Remove unused Git attributes identPeter Kokot2018-07-251-1/+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.
* | | It's safer to use zval_ptr_dtor() for iterator keys.Dmitry Stogov2018-07-051-1/+1
| | |
* | | Replace zval_dtor() with specialized destructorsDmitry Stogov2018-07-051-2/+4
| | |
* | | Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-5/+5
| | | | | | | | | | | | where we sure about string persistence.
* | | year++Xinchen Hui2018-01-021-1/+1
| | |
* | | Merge branch 'PHP-7.2'Dmitry Stogov2017-12-281-0/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed reference-counting
| * | Merge branch 'PHP-7.1' into PHP-7.2Dmitry Stogov2017-12-281-0/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed reference-counting
| | * Fixed reference-countingDmitry Stogov2017-12-281-0/+1
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | |
* | | Avoid unnecessary reference-counting on strings.Dmitry Stogov2017-11-161-5/+5
| | |
* | | RC manipulation cleanupXinchen Hui2017-11-011-1/+1
| | |
* | | Always use IS_CONSTANT_AST (IS_CONSTANT is removed).Dmitry Stogov2017-10-101-1/+0
| | |
* | | Refactored recursion pretectionDmitry Stogov2017-10-061-3/+3
|/ /
* | Drop soap_hash_str_find_deref()Nikita Popov2017-06-251-23/+13
| | | | | | | | And directly use zend_hash_str_find_deref() instead.
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| |
* | Merge branch 'PHP-7.1'Nikita Popov2016-12-131-17/+33
|\ \ | |/
| * Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-12-131-17/+33
| |\
| | * More fixes for bug #73089Nikita Popov2016-12-131-17/+33
| | | | | | | | | | | | | | | | | | | | | Insert a lot more DEREFs. Some may not be necessary, but better safe than sorry. I'm thinking the soap_hash_str_find_deref function should become part of the zend_hash API -- we need this in many places.
| | * Fixed bug #73237Keith Smiley2016-10-121-2/+4
| | | | | | | | | | | | | | | | | | | | | If the response includes both fields with simple types (which get concatenated into an XML string) and a complex type (which is parsed into an object), then the object will parsed into the same zval as the simple types and will overwrite the string.