Commit Graph

5039 Commits

Author SHA1 Message Date
Antony Dovgal
6c8ce9805b fix import_request_variables() 2006-12-06 17:42:47 +00:00
Antony Dovgal
b93db04a1d move handling of 'F' to the top 2006-12-06 16:28:27 +00:00
Antony Dovgal
34398156d8 add missing 'F' modified (noticed by Matt) 2006-12-06 14:47:19 +00:00
Antony Dovgal
e7d6927ed6 fix tests 2006-12-06 13:21:48 +00:00
Antony Dovgal
8f98226510 fix tests 2006-12-06 13:11:02 +00:00
Antony Dovgal
4789badd3a use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:50:28 +00:00
Andrei Zmievski
a775c82161 extract() should convert keys using runtime encoding. 2006-12-05 23:17:06 +00:00
Antony Dovgal
024d8f4376 cosmetic improvements 2006-12-05 23:03:42 +00:00
Antony Dovgal
80fdcd8e06 nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault 2006-12-05 18:42:22 +00:00
Andrei Zmievski
9c1efbe2bb Unicode support in http_build_query(). 2006-12-05 18:41:23 +00:00
Antony Dovgal
2f5f375850 don't pass negative maxchars to php_stream_get_line_ex() 2006-12-05 13:45:49 +00:00
Sara Golemon
fac71c77c1 Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation 2006-12-05 04:52:44 +00:00
Sara Golemon
78f65cc451 Unicode upgrade for fgetcsv() 2006-12-05 04:13:47 +00:00
Stanislav Malyshev
40b496d63f Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
2006-12-05 02:55:27 +00:00
Andrei Zmievski
4524457eff Make headers-related functions accept Unicode strings, but only if their
contents can be converted to ASCII.
2006-12-04 20:43:42 +00:00
Andrei Zmievski
411f6ca0fb Unicode support in var_export(). 2006-12-04 18:55:40 +00:00
Ilia Alshanetsky
b0bed17255 MFB: Fixed bug #39718 (possible crash if assert.callback is set in ini). 2006-12-03 17:13:27 +00:00
Antony Dovgal
c46f51113a fix AIX build 2006-12-03 13:46:09 +00:00
Andrei Zmievski
1f2d5e3b00 Finalize Unicode support in serialize() and unserialize(). 2006-12-01 19:25:11 +00:00
Andrei Zmievski
0184d9c864 Fix group macro access. 2006-12-01 18:42:24 +00:00
Andrei Zmievski
45e2197619 get_headers() will keep headers as binary strings. 2006-11-30 22:26:27 +00:00
Andrei Zmievski
658809278e Mark setlocale() as Unicode-safe. It shouldn't be used in
unicode.semantics=on mode anyway.
2006-11-30 21:46:54 +00:00
Andrei Zmievski
6209dc6f49 Forgot to mark import_request_variables() as Unicode-safe. 2006-11-30 21:23:07 +00:00
Andrei Zmievski
d0b44c9eb5 Mark strtr() as Unicode-safe.
# Right, Derick?
2006-11-30 21:20:56 +00:00
Andrei Zmievski
91619d9e1d Mark pack()/unpack() as Unicode-safe. They will accept Unicode strings
but convert them to binary. We can revisit supporting something like 'U'
format in the future, if it's needed.
2006-11-30 21:18:22 +00:00
Andrei Zmievski
8ce99ad71b Make quoted_printable_decode() take only ASCII strings. 2006-11-30 18:32:59 +00:00
Ilia Alshanetsky
053747b512 MFB: Use reantrant crypt_r() whenever possible. 2006-11-30 16:00:05 +00:00
Ilia Alshanetsky
b9e264d497 MFB: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp()
are not thread safe).
2006-11-29 23:46:25 +00:00
Antony Dovgal
9ed4f515d1 fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:10:49 +00:00
Antony Dovgal
4b52ecf332 add php_unescape_html_entities() proto to the header 2006-11-28 20:40:29 +00:00
Ilia Alshanetsky
969ce8a603 MFB: Added a meta tag to phpinfo() output to prevent search engines from
indexing the page.
2006-11-26 16:26:32 +00:00
Antony Dovgal
a1f6c395cf fix #39621 (str_replace() is not binary safe on strings with equal length) 2006-11-24 21:57:31 +00:00
Antony Dovgal
5bc9641a77 add missing argument to zend_parse_parameters() 2006-11-24 21:54:41 +00:00
Nuno Lopes
2eef6c8793 more tests 2006-11-24 20:20:51 +00:00
Andrei Zmievski
f2ab79dfc7 Unicode support in get_html_translation_table(). 2006-11-22 22:18:46 +00:00
Andrei Zmievski
bb765e86ef *** empty log message *** 2006-11-22 21:22:27 +00:00
Andrei Zmievski
ddee40dffb Unicode support in ftok(). 2006-11-22 21:22:14 +00:00
Andrei Zmievski
5732620630 - Unicode support for tick functions.
- Update unicode-progress.txt
2006-11-22 19:13:19 +00:00
Pierre Joye
19abc4b507 - #39538, fgetcsv can't handle starting newlines and trailing odd
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:56:26 +00:00
Antony Dovgal
5f29b8e40e fix #39576 (array_walk() doesn't separate userdata zval) 2006-11-22 10:58:11 +00:00
Andrei Zmievski
b767e3cf9f Unicode support in import_request_variables(). 2006-11-21 22:21:38 +00:00
Andrei Zmievski
7cb10e9620 Note. 2006-11-21 18:45:21 +00:00
Andrei Zmievski
e6284e9cbc Unicode support in highlight_string(). 2006-11-21 18:40:58 +00:00
Antony Dovgal
ee8e633e8b remove redundant error message
add test by <zoe dot slattery at googlemail dot com>
2006-11-21 17:40:38 +00:00
Antony Dovgal
8373efc9b9 fix #39551 (Segfault with stream_bucket_new in user filter)
also fixes several segfaults and leaks
add test
2006-11-21 15:47:44 +00:00
Antony Dovgal
90afd8b5b8 improve test 2006-11-20 20:54:52 +00:00
Antony Dovgal
b198d2d028 fix test on Solaris 2006-11-20 16:28:14 +00:00
Antony Dovgal
7032c7dddf efree() if not NULL 2006-11-20 11:12:35 +00:00
Ilia Alshanetsky
75f45d8458 MFB: pack()/unpack() tests 2006-11-19 18:31:22 +00:00
Ilia Alshanetsky
316e7a5b2d MFB: Fixed bug #38770 (unpack() broken with longs on 64 bit machines). 2006-11-19 18:21:50 +00:00