1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00
Commit Graph

19698 Commits

Author SHA1 Message Date
Hannes Magnusson 2d0d09830c Fix tests 2006-12-22 01:20:24 +00:00
Hannes Magnusson 5ed5c10517 Fix ZTS build... 2006-12-22 01:07:28 +00:00
Marcus Boerger 844b3a1b86 - Fix memory allocation/deallocation to match 2006-12-22 00:57:51 +00:00
Marcus Boerger c130110b05 - Make custom serializing work with zstr (as discussed with andrei) 2006-12-22 00:47:27 +00:00
Andrei Zmievski 20e8a1ac55 Fix serialization test. 2006-12-22 00:37:20 +00:00
Andrei Zmievski 4385fe240e levenshtein() already supported Unicode. 2006-12-21 23:52:22 +00:00
Andrei Zmievski c745a2b18c Metaphone will work only with binary runtime-encoded strings. 2006-12-21 23:43:52 +00:00
Marcus Boerger 8dd85147c4 - No misleading comments 2006-12-21 23:19:48 +00:00
Marcus Boerger 483aae6646 - Mark a fewthings as unicode ready 2006-12-21 22:56:58 +00:00
Marcus Boerger 8794071b21 - Serialization doesn't work with unicode data 2006-12-21 22:55:07 +00:00
Antony Dovgal 921d845f8d temporary fix for oci_error(), just to make it work
it should be using add_ascii_assoc_text() instead
2006-12-21 22:50:57 +00:00
Antony Dovgal b87049fd42 added support for CALL statement type (patch by Chris Jones) 2006-12-21 22:08:02 +00:00
Andrei Zmievski 757fb1e01f Bite the bullet and port the natural comparison algorithm to support
UChar strings. Also, simplify the original code.

# Argggghh, post-incremented iteration sucks. That means you, U16_* stuff.
2006-12-21 21:47:56 +00:00
Antony Dovgal 5f79b1f89d temp is freed in zend_unicode_to_string() on failure 2006-12-21 21:40:53 +00:00
Antony Dovgal f7da0df587 lookup_browser_name cannot be NULL 2006-12-21 21:37:09 +00:00
Antony Dovgal 6292c75198 improve tests, add new ones 2006-12-21 19:22:49 +00:00
Seiji Masugata eb81b301a6 Initial commit(Synced PHP_5_2 Branch.). 2006-12-21 17:44:40 +00:00
Seiji Masugata 0d9e23c38b Synced PHP_5_2 Branch. 2006-12-21 17:37:53 +00:00
Rob Richards 867b39d111 MFB: fix issues identitified by coverity 2006-12-21 12:52:12 +00:00
Antony Dovgal 955e71c985 new tests by Christopher Jones 2006-12-21 12:41:03 +00:00
Ilia Alshanetsky 5da2c7a6df MFB: Optimize out zend_hash_num_elements() call 2006-12-21 01:16:36 +00:00
Antony Dovgal e2b3141df2 fix leak on error 2006-12-21 01:13:50 +00:00
Antony Dovgal cbadf38682 fix possible leaks 2006-12-21 01:00:39 +00:00
Antony Dovgal e5e9865197 bail out if zend_unicode_to_string() fails 2006-12-21 00:25:58 +00:00
Antony Dovgal 0bf0c3c75a fix double free 2006-12-21 00:00:11 +00:00
Antony Dovgal d0e2e6dfe2 fix potential leak, improve length checks 2006-12-20 23:36:43 +00:00
Marcus Boerger ba2f82f2eb - Quick hackto make tests pass
# There is something missing, ZVAL_TYPED_ASCII_STRING(z, type, char*,flags)
# Or am i overseeinghow that works?
2006-12-20 23:30:23 +00:00
Antony Dovgal ddd8d7f3ef do not allocate the return value if it wasn't requested 2006-12-20 23:30:11 +00:00
Antony Dovgal 2073b38b0f fix double free on error 2006-12-20 22:42:59 +00:00
Marcus Boerger 09bee96044 - More unicode 2006-12-20 22:11:14 +00:00
Marcus Boerger 14a81a2974 - Add unicode expectations 2006-12-20 22:08:51 +00:00
Marcus Boerger 8fb4a771bc - Fix test name 2006-12-20 22:08:35 +00:00
Andrei Zmievski 781517eee9 Unicode support in get_browser(). To avoid additional copying/conversion
during parsing, the browscap values in the returned array will be of
IS_STRING type.
2006-12-20 20:45:40 +00:00
Ilia Alshanetsky 646de57e0f Fixed zts build 2006-12-20 19:48:32 +00:00
Antony Dovgal abac61eec7 remove register_globals remains
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace
2006-12-20 19:20:59 +00:00
Ilia Alshanetsky 29f37953f9 MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). 2006-12-20 19:20:22 +00:00
Andrei Zmievski 4d90ff003c Align Unicode and binary versions of formatted printing. 2006-12-20 18:33:27 +00:00
Antony Dovgal c2cc8bae75 don't reinvent the wheel, use sprintf() 2006-12-20 15:12:06 +00:00
Derick Rethans 481d3436bb - Fixed the regexp so that the letter "v" also works. 2006-12-20 14:37:24 +00:00
Antony Dovgal 6fe75a0ae0 gracefully bail out on invalid header 2006-12-20 13:08:54 +00:00
Dmitry Stogov a7c536fbcd Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.
2006-12-20 10:50:46 +00:00
Hannes Magnusson 460360ae53 MFB:
- Fixed incorrect function names on FreeBSD where inet_pton() was named
        __inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:38:24 +00:00
Andrei Zmievski b94785e86b Unicode support in ezmlm_hash().
# 50% done, ladies and gents! http://www.php.net/~scoates/unicode
2006-12-19 22:54:24 +00:00
Marcus Boerger 39898f9f9d - Use new 'x' parameter parsing 2006-12-19 22:31:26 +00:00
Marcus Boerger 362b986352 - Make spl_autoload_call() unicode safe 2006-12-19 22:30:59 +00:00
Andrei Zmievski caa6247e01 Unicode support in set_include_path(). 2006-12-19 22:01:50 +00:00
Nuno Lopes 71cf54dc4c new test 2006-12-19 21:47:16 +00:00
Michael Wallner 88cd3100c7 - check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks 2006-12-19 21:41:12 +00:00
Antony Dovgal 7565c841c8 MFB 2006-12-19 21:40:59 +00:00
Andrei Zmievski e722dce575 - Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.
2006-12-19 21:38:59 +00:00