Dmitry Stogov [Fri, 30 Jan 2015 03:13:08 +0000 (06:13 +0300)]
Merge branch 'master' into foreach
* master:
Fixed bug #68945 (Unknown admin values segfault pools)
Add check for null pointer, as done in case 5 lines above.
Fixed valgrind issue in mb_ereg_replace_variation1.phpt
Remove excessive macros
Use bash rather than sh
Dmitry Stogov [Thu, 29 Jan 2015 05:26:52 +0000 (08:26 +0300)]
Merge branch 'master' into foreach
* master:
reorder the branches
ppid must be IS_STRING
Use proper type
The argument must be not changed in session_start
Fixed annoying warnings
Cleanup session id files after test
Fixed Bug #68941 mod_files.sh is a bash-script
Remove support for hex number from is_numeric_string
add imap
Update News
Fixed bug #68901 (use after free)
Remove legacy code
Forgot to apply important peace of patch
Fixed crash
Fixed some annoying warnings
Fix typo in doc
Update UPGRADING and UPGRADING.INTERNALS
Make session_decode return FALSE when it fails. Fix a test. Use proper types.
WIP - test passes
Dmitry Stogov [Wed, 28 Jan 2015 14:34:20 +0000 (17:34 +0300)]
Merge branch 'master' into foreach
* master:
fix unportable dereferencing
fbird_close if connection_id omitted, the last opened link is assumed , so it was already closed
Fixed #68868 (Segfault in clean_non_persistent_constants() in SugarCRM 6.5.20)
Dmitry Stogov [Wed, 28 Jan 2015 04:43:28 +0000 (07:43 +0300)]
Change "foreach" statement behavior (this is just a PoC yet)
- "foreach by value" don't relay on internal array/object pointer and doesnt perform array duplication. It just locks it incrementing reference counter. If the original array is modified by some code, the copy on write is performed and "foreach" still work with the old copy.
- it makes no difference if array given to "foreach by value" is reference itself
- "foreach by reference" still use internal array/object pointer and should work similar to PHP-5. (This id not completely implemented)
Keyur Govande [Mon, 26 Jan 2015 21:36:36 +0000 (21:36 +0000)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add NEWS
Patch commit d9f85373e32 by moving the float_to_double function to a header file.
Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).
Patch commit d9f85373e32 by moving the float_to_double function to a header file.
Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).
Keyur Govande [Mon, 26 Jan 2015 21:32:32 +0000 (21:32 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Add NEWS
Patch commit d9f85373e32 by moving the float_to_double function to a header file.
Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).
Keyur Govande [Tue, 6 Jan 2015 06:33:38 +0000 (06:33 +0000)]
Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).
The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()
Keyur Govande [Tue, 6 Jan 2015 06:33:38 +0000 (06:33 +0000)]
Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).
The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()