Commit Graph

1019 Commits

Author SHA1 Message Date
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
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
Moriyoshi Koizumi
52d5287d9a - MFH: Fix wrong cast 2008-07-25 13:57:23 +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
150d7a5489 - MFH: fix win32 build 2008-07-24 17:00:03 +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
90f9a8e457 - Remove duplicated lines. 2008-07-22 09:18:30 +00:00
Moriyoshi Koizumi
69fa2e384a - MFH: Bug #45572 2008-07-20 18:26:02 +00:00
Moriyoshi Koizumi
2392861770 - MFH: Fix ZTS build 2008-07-17 20:04:06 +00:00
Moriyoshi Koizumi
85d7751097 - Fix include_path. 2008-07-17 16:30:32 +00:00
Moriyoshi Koizumi
f78da21527 - MFH: Removed dependencies from php_mbregex to oniguruma types 2008-07-17 16:08:37 +00:00
Rui Hirokawa
0814d9e58a revert my previous patch. 2008-07-16 22:56:56 +00:00
Rui Hirokawa
6d9788d768 fixed compile error on Win32 environment. 2008-07-16 12:21:46 +00:00
Moriyoshi Koizumi
88318e0294 - MFH: Added a new configure option --with-onig=[DIR] that allows the extension
to link to the external oniguruma library.
- MFH: Prevent libmbfl files from being installed when --with-libmbfl is
  specified.
2008-07-16 02:30:49 +00:00
Moriyoshi Koizumi
817f393a2d * MFH: indentation fix only 2008-07-15 18:04:32 +00:00
Rui Hirokawa
97b0ae946f fixed #43227 removed PHP_INI_PERDIR from mbstring.func_overload. 2008-07-13 01:34:21 +00:00
Rui Hirokawa
7aab46a2f1 updated bundled oniguruma from 4.4.0 to 4.7.1 2008-07-13 01:25:22 +00:00
Pierre Joye
64cf2c2f50 - MFH: fix build with VC9 PSDK6.x 2008-07-12 23:54:53 +00:00
Felipe Pena
40e96d282d MFB: - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:53:09 +00:00
Jani Taskinen
0cd842e51b nuke unused variable 2008-07-11 13:50:43 +00:00
Felipe Pena
e7eda53a3b - Removed unused variables 2008-07-07 12:52:00 +00:00
Felipe Pena
d7a224914e - Added arginfo
- Removed unnecessary #include "zend_arg_defs.c"
2008-07-07 12:40:51 +00:00
Rui Hirokawa
5deede0da4 cosmetic change. 2008-07-05 07:36:24 +00:00
Rui Hirokawa
b0ce4732b0 removed wrong bytes. 2008-07-05 07:30:01 +00:00
Rui Hirokawa
236114fa63 revert commit. 2008-07-05 07:10:25 +00:00
Rui Hirokawa
a55482ad87 added CP1254 2008-07-05 07:09:37 +00:00
Rui Hirokawa
dea0d31baf - added koi8-u (Ukrainian) and CP1254 (Turkish). 2008-07-05 06:52:04 +00:00
Antony Dovgal
e035184017 string length -> int 2008-07-01 07:54:30 +00:00
Alexey Zakhlestin
1c77f59429 updated to the new parameter-parsing api 2008-06-28 21:23:08 +00:00
Alexey Zakhlestin
95e419611d added arginfo (fixes #45388) 2008-06-28 18:04:19 +00:00
Dmitry Stogov
7e5392b54a Fixed test 2008-06-24 07:06:08 +00:00
Rui Hirokawa
b202ef7494 MFH 2008-06-13 14:48:33 +00:00
Josie Messa
1fa1bd7ac8 - Fixed failing mbstring tests after bug fixes 2008-02-21 14:07:13 +00:00
Rui Hirokawa
bedb308902 fixed #43998 Two error messages returned for incorrect encoding for mb_strto[upper|lower] 2008-02-16 12:01:43 +00:00
Rui Hirokawa
ad400f1144 fixed #43994 mb_ereg 'successfully' matching incorrectly. 2008-02-16 11:46:03 +00:00
Rui Hirokawa
179b370957 fixed #43841 mb_strrpos offset is byte count for negative values. 2008-02-16 10:43:57 +00:00
Rui Hirokawa
c00121c5a8 fixed bug #43840 mb_strpos bounds check is byte count rather than a character count. 2008-02-16 08:58:00 +00:00
Rui Hirokawa
e67c124e61 removed unnecessary space. 2008-02-16 08:32:26 +00:00
Rui Hirokawa
852bf6e55a 'auto' encoding was not initialized correctly per request basis. 2008-02-16 08:21:39 +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
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Hannes Magnusson
b4e95c3e19 MFH: Fix typo (TAKAGI Masahiro) 2007-12-26 21:02:46 +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
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Rui Hirokawa
e94f26f356 MFH: added support "entity" as substitute_character settin accoding to bug #39404 2007-09-24 11:51:36 +00:00
Rui Hirokawa
beeddd8873 MFH: fixed bug #42502 va_* cannot detect. 2007-09-18 21:35:39 +00:00
Rui Hirokawa
507112e44d modified line end CR -> CR+NL 2007-09-18 21:33:29 +00:00
Rui Hirokawa
b9424cdfaf MFH: fixed bug #29955 invalid case conversion in iso-8859-9. 2007-09-04 14:14:11 +00:00
Rui Hirokawa
1d44054407 MFH (fixed #42085) 2007-08-19 01:58:39 +00:00
Antony Dovgal
095fdf88ce fix typo 2007-07-31 12:23:50 +00:00
Seiji Masugata
e206802652 Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 15:31:54 +00:00
Johannes Schlüter
dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Seiji Masugata
febad95f3f Sync with mail function in mb_send_mail function(problem MOPB-33-2007:PHP and MOPB-34-2007:PHP). 2007-04-04 15:25:41 +00:00
Ilia Alshanetsky
89939e13d6 Fixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals
# Discovered by Stefan Esser
2007-03-18 16:36:13 +00:00
Antony Dovgal
a8f076d7a3 use the aliases and eliminate one more compile warning 2007-03-06 21:04:27 +00:00
Marcus Boerger
331034afbb - Revert last part and fix issue under windows 2007-03-06 01:19:47 +00:00
Marcus Boerger
3c21c05e43 - And the sizes too 2007-03-06 01:14:38 +00:00
Marcus Boerger
26ebcdfcb9 - More to go
# CVS sucks, you cannot mix -D with -r
# However, thanks edin for reminding me that we have mini version tags
# I still prefer subverison. There we don't have any problem of this kind
2007-03-06 01:13:21 +00:00
Marcus Boerger
638ffdb477 - There you go 2007-03-06 01:00:51 +00:00
Marcus Boerger
03bccc1b15 - MFH Revert back to sprintf (we could define snprintf for windows but we don't) 2007-03-06 00:56:42 +00:00
Ilia Alshanetsky
3c27b48662 Fixed typo 2007-02-28 01:10:41 +00:00
Ilia Alshanetsky
a9c4107ee4 Adjust vsnprintf() usage 2007-02-28 01:01:01 +00:00
Ilia Alshanetsky
efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Frank M. Kromann
850998256c Fix win32 build 2007-02-04 00:21:51 +00:00
Rui Hirokawa
693c9a7d2c fixed incompatibility with PHP 5.2.0 for encoding conversion between ShiftJIS(CP932), eucJP, ISO-2022-JP. 2007-01-29 22:53:47 +00:00
Antony Dovgal
7d4ea80b07 MFH 2007-01-12 12:06:45 +00:00
Antony Dovgal
ed30473f7c MFH 2007-01-11 22:23:20 +00:00