Commit Graph

793 Commits

Author SHA1 Message Date
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
Felipe Pena
a9953ca3d4 - 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
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
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
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
Jani Taskinen
b4e313eed4 MFH:- fix test 2008-07-31 11:50:16 +00:00
Pierre Joye
6dcd9b58d5 - mbstring is built shared on windows
it looks like the idea was to have it static (but does not work)
2008-07-30 09:26:15 +00:00
Pierre Joye
4e00d919d2 - fix VC9 build (5.3+)
Please do not revert this fix again and to merge 5.3's changes to HEAD
2008-07-30 08:38:37 +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
9225429040 - MFH: Fix warnings 2008-07-25 14:04:54 +00:00