Commit Graph

1101 Commits

Author SHA1 Message Date
Felipe Pena
97659d4842 - Fixed possible crash in mb_ereg_search_init() using empty pattern 2011-11-21 19:15:18 +00:00
Xinchen Hui
3781026cb8 Comparison between pointer and integer 2011-11-21 06:07:43 +00:00
Xinchen Hui
034ba714cf Comparison between pointer and integer 2011-11-21 06:07:43 +00:00
Antony Dovgal
75adcc8db0 backport the line from trunk and fix uninitialized variables 2011-11-19 13:23:16 +00:00
Antony Dovgal
51a4ae6576 backport the line from trunk and fix uninitialized variables 2011-11-19 13:23:16 +00:00
Xinchen Hui
601407aa25 Fixed bug #60306 (Characters lost while converting from cp936 to utf8) 2011-11-18 08:50:29 +00:00
Xinchen Hui
5008390304 Fixed bug #60306 (Characters lost while converting from cp936 to utf8) 2011-11-18 08:50:29 +00:00
Pierrick Charron
89104021b7 Remove unused variables in libmbfl 2011-11-18 06:27:27 +00:00
Pierrick Charron
ced34c975e Remove unused variables in libmbfl 2011-11-18 06:27:27 +00:00
Xinchen Hui
0ac9b9b0ae Fix tests 2011-11-08 06:35:07 +00:00
Xinchen Hui
326c58df66 Fix tests 2011-11-08 06:35:07 +00:00
Rui Hirokawa
77477945b3 MFH: fixed alias and encoding mapping for emoji logo. 2011-11-02 14:51:56 +00:00
Rui Hirokawa
9e7cc71167 fixed alias and encoding mapping for emoji logo. 2011-11-02 14:51:39 +00:00
Rui Hirokawa
c1a4a36c14 MFH: fixed alias of encoding. 2011-10-30 08:40:51 +00:00
Rui Hirokawa
ff72c73ce9 fixed alias of encoding. 2011-10-30 08:40:22 +00:00
Rui Hirokawa
5add615494 MFH: removed invalid two byte sequenct for utf-8. 2011-10-23 11:54:34 +00:00
Rui Hirokawa
71a94c2225 removed invalid two byte sequenct for utf-8. 2011-10-23 11:54:06 +00:00
Rui Hirokawa
0d73145490 MFH: fixed byte length of utf-8. 2011-10-18 14:04:13 +00:00
Rui Hirokawa
ec2670a276 fixed byte length of utf-8. 2011-10-18 14:03:44 +00:00
Rui Hirokawa
fe92d64a4a updated bundled oniguruma regex library to 5.9.2. fixed bug #42290. 2011-10-15 08:55:53 +00:00
Rui Hirokawa
35ec732d92 added a missing emoji U+27BF. 2011-10-15 07:14:45 +00:00
Rui Hirokawa
a1de339e17 added a missing emoji U+27BF. 2011-10-15 07:12:02 +00:00
Xinchen Hui
c8ff0fe254 Fix #55819 crash on mb_ereg_replace_callback
Need hirokawa to review this.
2011-10-07 04:24:04 +00:00
Xinchen Hui
554dd6cd02 A better fix for #55817 (thanks to bjori) 2011-09-30 15:08:32 +00:00
Xinchen Hui
50662f83ec A better fix for #55817 (thanks to bjori) 2011-09-30 15:08:32 +00:00
Xinchen Hui
3e14579486 A better fix for #55817 (thanks to bjori) 2011-09-30 15:08:32 +00:00
Xinchen Hui
f9745282f3 Fix wrong codes #55817 2011-09-30 13:34:07 +00:00
Xinchen Hui
0e6250fcff Fix wrong codes #55817 2011-09-30 13:34:07 +00:00
Xinchen Hui
9eeac29cc3 Fix wrong codes #55817 2011-09-30 13:34:07 +00:00
Rui Hirokawa
6f7514a669 added test script for mb_ereg_replace_callback(). 2011-09-25 08:55:27 +00:00
Rui Hirokawa
9b1c6035d2 fixed seg faults for mb_ereg_replace_callback. 2011-09-25 08:33:43 +00:00
Rui Hirokawa
96240fc3ed revert the previous patch. 2011-09-25 08:22:58 +00:00
Rui Hirokawa
d050fa87d4 MFH: added mb_ereg_replace_callback(). 2011-09-25 08:15:50 +00:00
Rui Hirokawa
1297c0508a added mb_ereg_replace_callback(). 2011-09-25 08:01:54 +00:00
Rui Hirokawa
3d888412da MFH: fixed #40685: removed '&' in mb_decode_numericentity(). 2011-09-24 02:20:38 +00:00
Rui Hirokawa
a6a3bd010a MFH: fixed #40685: removed '&' in mb_decode_numericentity(). 2011-09-24 02:12:17 +00:00
Rui Hirokawa
cb17a1b216 added tests for #40685. 2011-09-24 02:11:48 +00:00
Rui Hirokawa
ac54ec22f5 fixed #40685: removed '&' in mb_decode_numericentity(). 2011-09-24 02:11:18 +00:00
Rui Hirokawa
d938844d8f MFH: fixed a bug in convertion table and added test script for emoji. 2011-09-23 11:11:38 +00:00
Rui Hirokawa
7dae4e5d39 added test script for pictogram. 2011-09-23 11:09:33 +00:00
Rui Hirokawa
f178684ffb fixed a bug in conversion table. 2011-09-23 11:08:34 +00:00
Rui Hirokawa
15fd9c288c MFH: fixed optional argument. 2011-09-12 13:20:27 +00:00
Rui Hirokawa
6074e38d37 fixed optional argument. 2011-09-12 13:20:05 +00:00
Pierre Joye
5cb30970dc - unused var 2011-09-12 09:27:03 +00:00
Pierre Joye
8bab4d155c - unused var 2011-09-12 09:27:03 +00:00
Rui Hirokawa
6675883d81 MFH: fixed test failure on win32. 2011-09-11 13:15:48 +00:00
Rui Hirokawa
0f7a2cd306 MFH: fixed test failure on win32. 2011-09-11 13:15:40 +00:00
Rui Hirokawa
2d6ff8dc5c MFH: fixed test failure on win32. 2011-09-11 13:04:38 +00:00
Rui Hirokawa
b36a8754d1 fixed test failure on win32. 2011-09-11 13:04:21 +00:00
Rui Hirokawa
5894909f01 MFH: fixed test case failures. 2011-09-11 12:29:15 +00:00
Rui Hirokawa
5ae70c757b fixed test case failures. 2011-09-11 12:29:00 +00:00
Rui Hirokawa
59b9ca51b0 MFH: fixed test case failures. 2011-09-11 12:12:48 +00:00
Rui Hirokawa
01bb437b85 fixed test case failures. 2011-09-11 12:12:24 +00:00
Rui Hirokawa
efd8563777 revert previous commit. 2011-09-11 03:57:31 +00:00
Rui Hirokawa
b870f23396 revert previous commit. 2011-09-11 03:56:16 +00:00
Rui Hirokawa
1dd6fd0d4f revert previous commit. 2011-09-11 03:55:08 +00:00
Rui Hirokawa
9d86be5068 MFH: removed test script which depends on the removed register_globals. 2011-09-11 02:16:58 +00:00
Rui Hirokawa
e7fa9ffc21 removed test script which depends on the removed register_globals. 2011-09-11 02:16:34 +00:00
Rui Hirokawa
9103c93606 2nd arguments is necessary in mb_parse_str because register_globals was removed in PHP 5.4. 2011-09-08 15:20:17 +00:00
Rui Hirokawa
f79814360c 2nd arguments is necessary in mb_parse_str because register_globals was removed in PHP 5.4. 2011-09-08 15:19:18 +00:00
Rui Hirokawa
0d2aa8591b MFH: fixed invalid utf-8 check. 2011-09-07 14:30:38 +00:00
Rui Hirokawa
36378d34f8 fixed invalid utf-8 check. 2011-09-07 14:30:06 +00:00
Pierre Joye
8ab88f2e72 - add skipif 2011-09-06 06:44:59 +00:00
Pierre Joye
6be168b22d - add skipif 2011-09-06 06:44:59 +00:00
Pierre Joye
b4769b1946 - add skipif 2011-09-06 06:44:59 +00:00
Stanislav Malyshev
8d4848f3d3 fix test 2011-09-04 05:00:30 +00:00
Stanislav Malyshev
9b9ab11e8f fix test 2011-09-04 05:00:30 +00:00
Stanislav Malyshev
7f6f4cc587 test fixes 2011-09-04 04:57:01 +00:00
Stanislav Malyshev
19cbfb42f6 test fixes 2011-09-04 04:57:01 +00:00
Rui Hirokawa
3826549770 MFH: added alias for *-mobile encodings. 2011-08-31 13:19:03 +00:00
Rui Hirokawa
ad24758ee9 added alias for *-mobile encodings. 2011-08-31 13:18:44 +00:00
Rui Hirokawa
402c8cb70e MFH: reduced footprint for sjis-mac 2011-08-28 04:32:33 +00:00
Rui Hirokawa
30f0f5e41c reduced footprint for sjis-mac 2011-08-28 04:32:22 +00:00
Rui Hirokawa
4a53bdab0b MFH: corrected valid unicode area. 2011-08-27 01:25:24 +00:00
Rui Hirokawa
60d5ac840c corrected valid unicode area. 2011-08-27 01:25:10 +00:00
Rui Hirokawa
d19bfc5d82 MFH: update pua conversion tables. 2011-08-27 00:08:02 +00:00
Rui Hirokawa
e20f46a43e update pua conversion tables. 2011-08-27 00:07:20 +00:00
Rui Hirokawa
942dd584d3 MFH: added iso2022jp-mobile and emoji unsuppoted in unicode 6.0. 2011-08-24 15:29:17 +00:00
Rui Hirokawa
4122ef275c added iso2022jp-mobile and emoji unsuppoted in unicode 6.0. 2011-08-24 15:28:44 +00:00
Pierre Joye
60dd9e0bd9 - fix typo & build 2011-08-22 07:39:09 +00:00
Pierre Joye
1d4f05bb31 - fix typo & build 2011-08-22 07:39:09 +00:00
Rui Hirokawa
84ee3a19db MFH: cleanup jisx0213 table. 2011-08-21 05:02:33 +00:00
Rui Hirokawa
a56532a4ae cleanup jisx0213 table. 2011-08-21 05:02:21 +00:00
Rui Hirokawa
80c431e00c MFH: speed improvement of jisx0213 conversion. 2011-08-21 02:23:33 +00:00
Rui Hirokawa
61dae0f7e3 speed improvement of jisx0213 conversion. 2011-08-21 02:22:53 +00:00
Rui Hirokawa
e2ccaeb9a6 MFH: removed SJIS-Mobile#*PUA. 2011-08-20 08:28:40 +00:00
Rui Hirokawa
dcf0dfb9ab removed SJIS-Mobile#*PUA. 2011-08-20 08:27:57 +00:00
Rui Hirokawa
d6303c7962 MFH: updated limbfl to 1.3.2 2011-08-20 07:29:21 +00:00
Rui Hirokawa
c746cf5dc9 updated libmbfl to 1.3.2 (JISX-0213:2004 support). 2011-08-20 07:24:04 +00:00
Rui Hirokawa
bbdf05c1ed MFH: added gb18030 encoding to mbstring/libmbfl.~ 2011-08-14 14:11:29 +00:00
Rui Hirokawa
484e6b8fb3 added gb18030 encoding to mbstring/libmbfl.~ 2011-08-14 14:09:11 +00:00
Rui Hirokawa
780d4996f6 MFH: 2011-08-13 13:19:18 +00:00
Rui Hirokawa
b371e0d1fd fixed compile warning. 2011-08-13 13:17:36 +00:00
Rui Hirokawa
1ec46d3fe3 fixed win32 build. 2011-08-13 12:53:40 +00:00
Rui Hirokawa
360d18c479 added UTF-8-Mobile for pictogram support. 2011-08-13 12:44:28 +00:00
Pierrick Charron
1a41799226 Remove unused variable 2011-08-10 01:12:52 +00:00
Pierrick Charron
2603ceb0b1 Remove unused variable 2011-08-10 01:12:52 +00:00
Rui Hirokawa
ee0bb4d413 MFH: reduced memory footprint for codepages. 2011-08-08 16:15:39 +00:00
Rui Hirokawa
fee9fe0334 reduced memory footprint for codepages. 2011-08-08 16:14:30 +00:00
Pierrick Charron
caff611cf3 Remove unused variables 2011-08-07 06:37:22 +00:00
Pierrick Charron
e03d19a00e Remove unused variables 2011-08-07 06:37:22 +00:00
Rui Hirokawa
274799678f MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS. 2011-08-06 15:24:31 +00:00
Rui Hirokawa
bc514c8339 changed mapping of 0xa5 for SJIS-mac to prevent security attack. 2011-08-06 15:23:06 +00:00
Rui Hirokawa
786d8e7bc2 MFH: fixed encoding conversion when http_input=auto. 2011-08-06 12:19:33 +00:00
Rui Hirokawa
fc3e0ff1ec fixed encoding conversion when http_input=auto. 2011-08-06 12:19:16 +00:00
Rui Hirokawa
5709c83d93 MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation. 2011-08-06 04:28:26 +00:00
Rui Hirokawa
70eb1c1267 improved error handling for ill-formed utf-8 based on the Unicode recommendation. 2011-08-06 04:25:44 +00:00
Rui Hirokawa
d322b26fb4 MFH: added ill-formed utf-8 check for 0xEDXXXX. 2011-08-06 02:22:38 +00:00
Rui Hirokawa
b3414d3c02 added ill-formed utf-8 check for 0xEDXXXX. 2011-08-06 02:22:15 +00:00
Rui Hirokawa
7bc77208f3 MFH (updated libmbfl version to 1.3.1). 2011-08-06 01:49:10 +00:00
Rui Hirokawa
2bc6bcb96e updated libmbfl version to 1.3.1. 2011-08-06 01:48:45 +00:00
Rui Hirokawa
1be5479980 MFH (added check for invalid utf-8 encoding). 2011-08-05 04:34:16 +00:00
Rui Hirokawa
5bd3e8324d added check for invalid utf-8 encoding (merge from libmbfl-1.3.1). 2011-08-05 04:28:24 +00:00
Rui Hirokawa
7819bb79c7 MFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based on Unicode 5.2. 2011-08-04 12:51:40 +00:00
Rui Hirokawa
bab1e815d2 removed invalid 5,6 byte encoding from utf-8 based on Unicode 5.2. 2011-08-04 12:11:04 +00:00
Rui Hirokawa
99a4948062 MF PHP_5_4. 2011-08-03 12:09:28 +00:00
Rui Hirokawa
bf6827697b fixed error handling on SJIS_Mobile (for SB/KDDI). 2011-08-03 11:55:43 +00:00
Rui Hirokawa
1735305f34 fixed error handling on SJIS_Mobile. 2011-08-03 11:51:08 +00:00
Rui Hirokawa
c5a650e815 MFH (updated libmbfl for 1.3.0.). 2011-08-02 03:50:10 +00:00
Rui Hirokawa
5771c1fb86 added version number of libmbfl. 2011-08-02 03:18:53 +00:00
Rui Hirokawa
52948b534c added new files of libmbfl 1.3.0. 2011-08-02 02:50:11 +00:00
Rui Hirokawa
17dc1d2610 updated libmbfl for version 1.3.0. 2011-08-02 02:42:41 +00:00
Stanislav Malyshev
3b7cdd0227 fix failing tests 2011-08-01 01:00:57 +00:00
Stanislav Malyshev
553a08c4e1 fix failing tests 2011-08-01 01:00:57 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Rui Hirokawa
b150a6db24 added numeric entities encode/decode in hex format. 2011-07-18 08:36:17 +00:00
Rui Hirokawa
f191ecaa9c added numeric entities encode/decode in hex format. 2011-07-18 08:21:48 +00:00
Felipe Pena
907fd926e5 - Restore basename in filename on non Windows OS 2011-06-12 15:15:44 +00:00
Felipe Pena
2997719120 - Restore basename in filename on non Windows OS 2011-06-12 15:15:44 +00:00
Gustavo André dos Santos Lopes
f2cfb997de - Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE. 2011-04-09 16:59:36 +00:00
Gustavo André dos Santos Lopes
db01e840c2 - Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE. 2011-04-09 16:59:36 +00:00
Dmitry Stogov
bbc879b587 Fixed multibyte related issues 2011-03-14 16:00:59 +00:00
Moriyoshi Koizumi
b2ddc6de23 Fix ZTS build. 2011-03-06 07:06:55 +00:00
Moriyoshi Koizumi
cdb9ee0d1a Fix zend.multibyte oddities. Hope this will address all the known problems. 2011-03-06 07:00:30 +00:00
Scott MacVicar
0413cf5b48 XFAIL these for the moment, Kalle totally broke these in 298241
when removing register_globals
2011-02-03 17:07:48 +00:00
Scott MacVicar
c10b7e3ac2 Fix crash with mbstring, this probably isn't the correct behaviour but 272/276 of the tests pass after this.
When mbstring.language is unset, it ends up being mbfl_no_language_neutral and there is no default when setting the encoding.

internal_encoding and current_internal_encoding then end up being null.
2011-01-27 11:47:31 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Rui Hirokawa
7f055f54a2 fixed compile error with VS2008. 2010-12-20 14:38:08 +00:00
Moriyoshi Koizumi
7cbe5f164a WS 2010-12-19 17:28:57 +00:00
Moriyoshi Koizumi
bbf3d43c1e * Refactor zend_multibyte facility.
Now mbstring.script_encoding is superseded by zend.script_encoding.
2010-12-19 16:36:37 +00:00
Pierre Joye
aea6771d19 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Dmitry Stogov
755c2cd0d8 Removed compile time dependency from ext/mbstring 2010-12-08 11:27:34 +00:00
Dmitry Stogov
ab93d8c621 Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini 2010-11-24 05:41:23 +00:00
Moriyoshi Koizumi
aef6ac02f5 - Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter). 2010-11-09 03:23:04 +00:00
Moriyoshi Koizumi
89d372ba27 - Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter). 2010-11-09 03:23:04 +00:00
Patrick Allaert
817776d1b9 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert
e2e76d40e3 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Gustavo André dos Santos Lopes
99807e9a72 - Moved ucgendat.c to a separate directory and included the
OpenLDAP license there, as required by the license itself.
2010-10-05 02:34:35 +00:00
Gustavo André dos Santos Lopes
b3a3c8f7a6 - Moved ucgendat.c to a separate directory and included the
OpenLDAP license there, as required by the license itself.
2010-10-05 02:34:35 +00:00
Gustavo André dos Santos Lopes
42dae97fd4 - Fixed bug #52981 (Unicode casing table was out-of-date).
Updated with UnicodeData-6.0.0d7.txt and included the
  source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
2010-10-05 01:54:17 +00:00
Gustavo André dos Santos Lopes
7e61cffb0d - Fixed bug #52981 (Unicode casing table was out-of-date).
Updated with UnicodeData-6.0.0d7.txt and included the
  source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
2010-10-05 01:54:17 +00:00
Felipe Pena
a9953ca3d4 - Fixed bug #52931 (strripos not overloaded with function overloading enabled) 2010-09-27 23:09:00 +00:00
Felipe Pena
2cd1661e2d - Fixed bug #52931 (strripos not overloaded with function overloading enabled) 2010-09-27 23:09:00 +00:00
Rui Hirokawa
bd526e47f5 fixed compilation error. 2010-09-19 01:28:32 +00:00
Pierre Joye
329cab2942 - restore credits, fix 5.3 as well, aka do it right /cc Deric 2010-09-05 14:38:35 +00:00
Pierre Joye
84d1c12b92 - restore credits, fix 5.3 as well, aka do it right /cc Deric 2010-09-05 14:38:35 +00:00
Derick Rethans
edfc45507a - Turn test-description into on line. 2010-09-05 08:46:41 +00:00
Adam Harvey
c783495edf Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header). 2010-08-25 06:07:22 +00:00
Adam Harvey
45960c9030 Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header). 2010-08-25 06:07:22 +00:00
Dmitry Stogov
eea8fc6122 Reduced overhead of request startup 2010-07-08 07:40:02 +00:00
Dmitry Stogov
b65f1dae41 Reduced overhead of ext/mbstring initialization 2010-07-05 12:03:08 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Pierrick Charron
508cfb7210 Remove unused variable 2010-04-21 16:00:46 +00:00
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +00:00
Dmitry Stogov
453b49ed20 Added a number of small performance tweaks and optimizations
. ZEND_RECV now always has IS_CV as its result
  . ZEND_CATCH now has to be used only with constant class names
  . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
2010-04-20 11:16:39 +00:00
Ilia Alshanetsky
1b8b6d931a MFB: Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default) 2010-04-12 14:05:00 +00:00
Ilia Alshanetsky
213e155713 Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default) 2010-04-12 14:04:45 +00:00
Rob Richards
da538251c1 - Fix win32 build. 2010-03-15 16:20:19 +00:00
Moriyoshi Koizumi
82fd4858b8 - Fix win32 build. (notified by Rob. Thanks) 2010-03-15 14:19:51 +00:00
Moriyoshi Koizumi
ea539c8b88 - Update the bundled libmbfl to the latest on upstream. 2010-03-12 04:55:37 +00:00
Moriyoshi Koizumi
24829e8d4e - Merge from upstream (note: this is no behavioral change, so need not to be
merged to 5.3.2 branch)
2010-02-28 09:33:05 +00:00
Moriyoshi Koizumi
817ab0c34d - Whitespaces. 2010-02-28 07:49:36 +00:00
Scott MacVicar
ac09f82940 mbstring filter files were referenced but never actually compiled 2010-02-16 09:46:06 +00:00
Scott MacVicar
da727ba343 Building libmbfl seperately fails since the shared library version is an API reference rather than a version number 2010-02-16 09:35:31 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Rasmus Lerdorf
5a2b41a627 Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Rasmus Lerdorf
188f1abfd4 Fix bug #50115 2009-11-08 15:18:10 +00:00
Felipe Pena
99497dea70 - Added SKIPIF 2009-11-08 15:02:54 +00:00
Moriyoshi Koizumi
0c974164e2 - Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
multibyte character).

(This bug was introduced by the commit by r202895. Please double-check the
 specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Moriyoshi Koizumi
6a0402413d - Looks like bug #48697 has already been fixed in RC1. 2009-09-14 04:11:29 +00:00
Moriyoshi Koizumi
8f9acfedb3 - Fix bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on.)
(patch by komura, thanks!)
2009-09-11 21:26:18 +00:00
Moriyoshi Koizumi
b39126de9a - Fix bug #49528 (UTF-16 strings prefixed by BOM wrongly converted). 2009-09-11 08:22:19 +00:00
Zoe Slattery
4cc35aeaaf The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Moriyoshi Koizumi
7ce2bff511 * Fix bug #48645 (mb_convert_encoding() doesn't understand hexadecimal html-entities) 2009-07-29 04:44:08 +00:00
Moriyoshi Koizumi
4390903e75 - MFH (using svn merge; it seems I won't need to repeat the commit message anymore) 2009-07-24 23:48:58 +00:00
Felipe Pena
4f0c8ef124 - MFH: New tests (WurzbrugUG testfest) 2009-07-07 01:17:46 +00:00
Kalle Sommer Nielsen
5c2a979522 MFH: Fixed static build of mbstring on Windows (makes static build of exif possible too) 2009-06-12 16:15:51 +00:00
andy wharmby
c0977c826e Fix test - remove bogus variation 2009-06-09 20:18:31 +00:00
Matt Wilmas
d55300298e MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:32 +00:00
Antony Dovgal
988b89aaa3 MFH: fix compile warnings 2009-05-27 13:42:17 +00:00
Jani Taskinen
068d240da5 - Fixed bug #48200 (compile failure with mbstring.c when --enable-zend-multibyte is used) 2009-05-10 21:04:46 +00:00
Jani Taskinen
33bec1ecb2 - Sync with HEAD (just reorder to match HEAD order) 2009-04-20 16:07:59 +00:00
Jani Taskinen
353b8844bf ws 2009-04-20 15:39:48 +00:00
Moriyoshi Koizumi
ff16122cce - MFH: just a paranoiac test. This works perfectly. 2009-04-16 02:07:20 +00:00
Pierre Joye
689c2f9ab2 - fix build, add new cp850 file 2009-03-20 18:42:02 +00:00
Moriyoshi Koizumi
8ae17615d7 - Add support for CP850 encoding (patch by Denis Giffeler) 2009-03-18 17:44:25 +00:00
Moriyoshi Koizumi
115b041861 - MFH: Synching .dsp file (I am not sure whether I really should do this) 2009-03-18 17:34:27 +00:00
Moriyoshi Koizumi
716d2c9123 - MFH: Fix a bug that mbstring.internal_encoding doesn't take effect within
the request encoding converter.
2009-03-15 20:42:56 +00:00
Ilia Alshanetsky
483d9636e9 Improve parameter parsing code 2009-03-06 15:48:30 +00:00
Moriyoshi Koizumi
823679162d - MFH: strictly check UTF-8 and UTF-32 validity 2009-02-24 13:19:09 +00:00
Moriyoshi Koizumi
c7cebbf75f - MFH: Add an entry for http_output_conv_mimetypes to the output of
mb_get_info(). (patch by T. Komura, thanks!)
2009-02-17 16:29:59 +00:00
Antony Dovgal
8ac1ea9b5e remove XFAIL 2009-02-17 10:08:25 +00:00
Moriyoshi Koizumi
06d949ac11 - Test. 2009-02-16 02:10:45 +00:00
Moriyoshi Koizumi
d8c6fecca3 - MFH: Fix bug #47399 (mb_check_encoding() return true for some illegal SJIS
charcters)
2009-02-16 01:57:37 +00:00
Moriyoshi Koizumi
9140aca7a8 - These should have been in the previous commit. 2009-02-15 07:18:30 +00:00
Moriyoshi Koizumi
446a165f34 - Forgot to include these files. 2009-02-15 07:11:04 +00:00
Moriyoshi Koizumi
b2b61661ed - MFH: Refix bug #43840.
- MFH: Fix bug #43841.
- MFH: Remove redundant trailing dots from the error messages.
- MFH: Fix tests.
2009-02-15 07:10:29 +00:00
Moriyoshi Koizumi
88eac1503a - MFH: prevent unwanted overflow 2009-02-14 08:16:05 +00:00
Moriyoshi Koizumi
9d7250d455 - MFH: fix Bug #45923 (mb_st[r]ripos() offset not handled correctly) 2009-02-14 07:34:15 +00:00
Ilia Alshanetsky
fbb1927626 Improved param parsing 2009-02-11 14:26:24 +00:00
Ilia Alshanetsky
2d38e255a6 Initialize optional var 2009-02-09 15:34:01 +00:00
Moriyoshi Koizumi
44dece2d95 * MFH: Fix bug #45239 (encoding detector hangs with mbstring.strict_detection
enabled).
2009-02-06 07:33:25 +00:00
Moriyoshi Koizumi
aba813266a - MFH: Fix bug #46843 (CP936 euro symbol is not converted properly) 2009-02-02 04:53:10 +00:00
Scott MacVicar
0937041375 MFB Fix bug #47245 - Double free in mb_detect_encoding() 2009-01-29 22:59:57 +00:00
Antony Dovgal
dc7aa2a949 fix memleaks correctly and make valgrind happy 2009-01-05 09:14:58 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
9212a9584e - MFH: Bug #46763 (mb_stristr() wrong output when needle does not exist) (patch by Henrique M. Decaria) 2008-12-30 02:17:30 +00:00
Felipe Pena
2f2fb609df - MFH: Fixed memory leaks 2008-12-27 13:32:24 +00:00
Felipe Pena
84c12b2df4 - MFH: Fixed memory leak 2008-12-25 19:30:47 +00:00
Scott MacVicar
7877cbdcfc MFH Fix bug #46738 - Segfault when mb_detect_encoding() fails. 2008-12-11 02:56:45 +00:00
Ant Phillips
bd266a5bbf Test for bug #43841 2008-12-10 10:34:15 +00:00
Ant Phillips
fc8a260a92 Remove duff comment produced by the test generator tool 2008-12-05 14:18:02 +00:00
Ant Phillips
1a9de83ddf MBString tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 14:01:49 +00:00
Ant Phillips
4a78652f34 MBString tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 13:10:48 +00:00
Ilia Alshanetsky
24e7e62307 Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) 2008-11-24 21:23:03 +00:00
Felipe Pena
2ea37c7780 - Fixed tests 2008-11-19 11:41:47 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Moriyoshi Koizumi
0c5b6a66a9 * MFH remainder 2008-10-16 17:38:31 +00:00
Moriyoshi Koizumi
d7ddc19853 - MFH 2008-10-16 01:01:37 +00:00
Moriyoshi Koizumi
111d815b41 - MFH: Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
(noticed by Antony. Thanks!)
2008-09-13 19:53:01 +00:00
Moriyoshi Koizumi
8fe2cb8ced - MFH: Properly initialize/finalize the library. This plugs the leaks caused by
onig_new().
2008-09-13 02:33:15 +00:00
Moriyoshi Koizumi
b8e81fd0a7 - MFH: mb_list_*() issue settlements 2008-09-13 00:30:51 +00:00
Moriyoshi Koizumi
6c8d64f6b4 - MFH: use memcmp() for binary safety. 2008-09-12 23:35:01 +00:00
Ilia Alshanetsky
66ec2ac601 Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()) 2008-09-10 23:19:38 +00:00
Felipe Pena
d79b879927 - New parameter parsing API (for mb_convert_variables()) 2008-08-18 00:37:16 +00:00
Nuno Lopes
65b1e128a9 MFH: fix build when pcre is not present 2008-08-11 15:42:35 +00:00
Moriyoshi Koizumi
970e00aeeb - MFH: More fixes for bug #45691 2008-08-04 21:06:13 +00:00
Jani Taskinen
fdbb8c2694 MFH: no c++ comments in c files 2008-08-03 11:58:15 +00:00
Moriyoshi Koizumi
9ec7f49d5b - MFH: Forgot to take account of the case when mbstring.language is processed
afterwards.
2008-08-03 00:04:17 +00:00
Moriyoshi Koizumi
fd9c49c48f - MFH: Fixed bug #45691 (Some per-dir or runtime settings may leak into other requests). 2008-08-02 20:49:00 +00:00
Moriyoshi Koizumi
98b5795702 - MFH: Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) 2008-08-01 22:56:47 +00:00
Moriyoshi Koizumi
2d08b5aa86 - MFH: Fixed bug #44617 (wrong HTML entity output when substitute_character=entity) 2008-07-31 17:37:12 +00:00