Commit Graph

201 Commits

Author SHA1 Message Date
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
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
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
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +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
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
Felipe Pena
4f0c8ef124 - MFH: New tests (WurzbrugUG testfest) 2009-07-07 01:17:46 +00:00
andy wharmby
c0977c826e Fix test - remove bogus variation 2009-06-09 20:18:31 +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
Moriyoshi Koizumi
ff16122cce - MFH: just a paranoiac test. This works perfectly. 2009-04-16 02:07:20 +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
9140aca7a8 - These should have been in the previous commit. 2009-02-15 07:18:30 +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
9d7250d455 - MFH: fix Bug #45923 (mb_st[r]ripos() offset not handled correctly) 2009-02-14 07:34:15 +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
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
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
Felipe Pena
2ea37c7780 - Fixed tests 2008-11-19 11:41:47 +00:00
Moriyoshi Koizumi
0c5b6a66a9 * MFH remainder 2008-10-16 17:38:31 +00:00
Moriyoshi Koizumi
b8e81fd0a7 - MFH: mb_list_*() issue settlements 2008-09-13 00:30:51 +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
Jani Taskinen
b4e313eed4 MFH:- fix test 2008-07-31 11:50:16 +00:00
Moriyoshi Koizumi
ae04a26afe - Typo. 2008-07-29 00:02:12 +00:00
Moriyoshi Koizumi
b9eaa80150 - SCNG(input_filter) can be null if the script encoding is idential to
the internal encoding.
2008-07-28 07:01:54 +00:00
Moriyoshi Koizumi
cc8145d14f - ??? 2008-07-28 06:13:57 +00:00
Moriyoshi Koizumi
a28497d6e5 - Fix __halt_compiler() weirdness with zend-mulibyte enabled 2008-07-28 05:59:17 +00:00
Moriyoshi Koizumi
1f7e547662 - MFH: Fix a typo in mb_stripos() that caused segfaults (noticed by bs@php.net, thanks). 2008-07-25 12:51:47 +00:00
Moriyoshi Koizumi
935846db2b - Fix tests. 2008-07-25 10:48:20 +00:00
Moriyoshi Koizumi
4f42ed39c0 - Revived zend multibyte 2008-07-24 22:21:41 +00:00
Moriyoshi Koizumi
850449568e - MFH: Fix tests. 2008-07-24 13:49:39 +00:00
Moriyoshi Koizumi
d7594edaa0 - MFH: Fixed warnings. 2008-07-24 13:46:50 +00:00
Moriyoshi Koizumi
e29684a2ce - MFH: Added "mbstring.http_output_conv_mimetypes" INI directive. 2008-07-24 13:01:50 +00:00
Moriyoshi Koizumi
85d7751097 - Fix include_path. 2008-07-17 16:30:32 +00:00
Alexey Zakhlestin
1c77f59429 updated to the new parameter-parsing api 2008-06-28 21:23:08 +00:00
Dmitry Stogov
7e5392b54a Fixed test 2008-06-24 07:06:08 +00:00
Josie Messa
1fa1bd7ac8 - Fixed failing mbstring tests after bug fixes 2008-02-21 14:07:13 +00:00
Josie Messa
51fe79c055 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:29:59 +00:00
Jani Taskinen
275e2626ab - fix bug number 2007-11-16 12:28:56 +00:00
Jani Taskinen
3e0680f2ee MFH:- Fixed bug #31911 (mb_ereg*_replace() crashes when replacement string is invalid
PHP expression and 'e' option is used)
2007-11-16 12:26:34 +00:00
Antony Dovgal
2f467baf94 MFH 2006-10-11 11:53:02 +00:00
Antony Dovgal
a81eae5d01 MFH: fix segfault/leak, add test 2006-10-11 11:09:42 +00:00
Seiji Masugata
603846c985 fix tests. 2006-07-29 17:11:09 +00:00
Hannes Magnusson
aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Antony Dovgal
70c643f5f0 fix tests 2006-05-29 21:08:02 +00:00
Antony Dovgal
c92ae847c7 add missing skipif conditions
fix existing ones
2005-12-21 11:42:06 +00:00
Antony Dovgal
8fee6ac1e2 fix test 2005-12-16 14:50:47 +00:00
foobar
4b0c39887c - Fixed bug #34015
# Whatever this test was supposed to try to test...sheesh..
2005-08-05 20:38:50 +00:00
Moriyoshi Koizumi
df3c2b5808 - Add testcases for bug #28220 and #30549. 2005-02-21 07:45:37 +00:00
Moriyoshi Koizumi
5b5e012bc2 - Update libmbfl (fixes bug #30549 and #31911).
- Update oniguruma to 3.7.0
2005-02-20 22:18:09 +00:00
foobar
ce742b08b0 - Fix typo (avaliable -> available). (bug #28725) 2004-12-16 12:34:32 +00:00
Moriyoshi Koizumi
a86095fe07 - Fix test. I have no idea why the test was left this way. 2004-10-09 08:16:29 +00:00
Marcus Boerger
5f0433db83 MFB: Enforce protocol on magic methods/functions 2004-08-02 08:27:57 +00:00
Moriyoshi Koizumi
b33f7ab671 - Fix bug #28466 (mbstring_convert_variables() problem). 2004-06-26 05:39:00 +00:00
Moriyoshi Koizumi
e4d90e60fc - Turn off mbstring.func_overload as this test uses plain strlen() for
comparison.
2004-01-19 16:53:34 +00:00
Moriyoshi Koizumi
b8ea4e6fd2 Fix bug #26639 (mb_convert_variables() clutters variables beyond the references) 2003-12-18 09:50:20 +00:00
Marcus Boerger
71ec2db198 Fix tests 2003-11-30 13:20:26 +00:00
foobar
d0422ea0bc fix skipif for these tests 2003-10-02 14:55:49 +00:00
Moriyoshi Koizumi
07a021f477 Add test cases for the regex probles 2003-09-26 17:44:06 +00:00
Moriyoshi Koizumi
91bf8e5dc9 Explicitly specify mbstring.language. 2003-09-26 14:42:37 +00:00
Moriyoshi Koizumi
96cdea35c1 Specify full path to cat for mb_send_mail() tests 2003-09-26 11:08:54 +00:00
Ilia Alshanetsky
ff4d200772 Specify full path for cat utility used by the test. 2003-09-24 02:27:43 +00:00
Derick Rethans
9cd7b9d3c3 - Fix for bug #25140 (mb_convert_encoding returns FALSE when it tries to
convert empty string)
2003-08-19 08:29:57 +00:00
Ilia Alshanetsky
c6134c346c Use getenv() rather then $_ENV, the latter is not always avaliable. 2003-08-09 21:00:42 +00:00
Moriyoshi Koizumi
fb02fdf306 Fix test as the "expected result" was totally pointless in the first place. 2003-08-08 10:53:54 +00:00
Moriyoshi Koizumi
de02912ef2 Fix the test which should have been fixed long ago. 2003-08-08 10:52:50 +00:00
Moriyoshi Koizumi
68120caddc Add test case for the bug 2003-08-08 10:35:53 +00:00
Moriyoshi Koizumi
f05452fbcd Disable the test temporarily because "-d" flags in the command line doesn't
take effect under CGI mode. (See the relevant portion of cgi_main.c
that begins at line 996)
2003-08-03 13:58:20 +00:00
Moriyoshi Koizumi
f1679e4027 Fixed test so it won't fail in correct situations 2003-05-14 00:36:00 +00:00
Moriyoshi Koizumi
9e6fdcd8f6 Fixed test cases so they wouldn't be failed in case register_globals=on 2003-03-29 07:13:47 +00:00
Moriyoshi Koizumi
47f6ed8dbb Trivial test adjustment 2003-02-03 20:29:07 +00:00
Moriyoshi Koizumi
e5a4b5b2dc Fixed test case for mb_strpos().
# the third parameter should specify an offset but an encoding name
2003-02-03 16:16:37 +00:00
Moriyoshi Koizumi
b00cc4f2bb Fixed a mb_send_mail() bug that has been reported in php-i18n@lists.php.net
See http://lists.php.net/article.php?group=php.i18n&article=427
2003-01-31 14:15:49 +00:00
Moriyoshi Koizumi
b9687bea65 Prevented the result from being affected by function overloading 2002-11-29 18:32:50 +00:00
Moriyoshi Koizumi
436bc265e6 MFB 2002-11-24 19:48:58 +00:00
Moriyoshi Koizumi
40d605a385 Test for mb_send_mail() under language=Korean 2002-11-23 05:26:18 +00:00