Commit Graph

659 Commits

Author SHA1 Message Date
Moriyoshi Koizumi
957bdafb86 - Add a test for bug #43993. 2008-08-01 22:56:35 +00:00
Moriyoshi Koizumi
9bcdf1d802 - Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) 2008-08-01 22:55:47 +00:00
Moriyoshi Koizumi
759e232786 - Fixed bug #44617 (wrong HTML entity output when substitute_character=entity) 2008-07-31 17:36:35 +00:00
Jani Taskinen
8a89eb0825 - fix test 2008-07-31 11:49:56 +00:00
Moriyoshi Koizumi
de0e9cea83 - Fix warnings 2008-07-25 14:04:39 +00:00
Moriyoshi Koizumi
86e8d7ebf1 - Fix wrong cast 2008-07-25 13:56:50 +00:00
Moriyoshi Koizumi
e8741cc4fc - fix a typo in mb_stripos() that caused segfault.
(noticed by bs@php.net, thanks).
2008-07-25 12:50:14 +00:00
Moriyoshi Koizumi
935fa7a97e - Fix win32 build 2008-07-24 16:59:53 +00:00
Moriyoshi Koizumi
f0582b02e2 - Fix tests. 2008-07-24 13:49:28 +00:00
Moriyoshi Koizumi
33be49a588 - Fixed warnings. 2008-07-24 13:46:35 +00:00
Moriyoshi Koizumi
5b494c0f16 - Add mbstring.http_output_conv_mimetypes that allows common non-text
types such as "application/xhtml+xml" to be converted by
  mb_output_handler().
2008-07-24 12:58:37 +00:00
Moriyoshi Koizumi
ba2697a61c - Bug #45572 2008-07-20 18:22:46 +00:00
Moriyoshi Koizumi
05c3ae2764 - Fix ZTS build 2008-07-17 20:03:50 +00:00
Moriyoshi Koizumi
8ea52ae46f - Removed dependencies from php_mbregex to oniguruma types 2008-07-17 16:08:08 +00:00
Moriyoshi Koizumi
161882af63 - Oops. 2008-07-16 02:37:53 +00:00
Moriyoshi Koizumi
a9c4d66340 - Added a new configure option --with-onig=[DIR] that allows the extension
to link to the external oniguruma library.
- Prevent libmbfl files from being installed when --with-libmbfl is specified.
- Fixed mb_ereg_replace() to work with unicode strings.
2008-07-16 02:29:14 +00:00
Moriyoshi Koizumi
e8f4d65f0d - indentation fix & reenable mbregex again. 2008-07-15 18:04:14 +00:00
Pierre Joye
144b823b36 - fix build with VC9 PSDK6.x 2008-07-12 23:54:30 +00:00
Felipe Pena
1de275f2c8 MFB: - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:54:47 +00:00
Felipe Pena
77c2eb1dcd - MFB: Removed unused variables 2008-07-07 13:55:42 +00:00
Felipe Pena
f2655e0e5d MFB:
- Added arginfo
- Removed unnecessary #include "zend_arg_defs.c"
2008-07-07 13:52:44 +00:00
Alexey Zakhlestin
df6701892b MFB: string length -> int 2008-07-07 10:00:30 +00:00
Alexey Zakhlestin
9951e4822e MFB: updated to the new parameter-parsing api 2008-07-07 09:57:12 +00:00
Alexey Zakhlestin
e7ee0d709d MFB: added arginfo (fixes #45388) 2008-07-07 09:47:02 +00:00
Rui Hirokawa
19047cfd2e fixed bug #27421 (by david at dfoerster dot de) mbstring.func_overload set in .htaccess becomes global 2008-06-13 14:47:48 +00:00
Steph Fox
4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00
Rui Hirokawa
fe1484dc50 MFB 2008-02-16 08:49:07 +00:00
Josie Messa
dcd8dff11b - Committing new tests for MBString extensions
- The tests listed in the following link will fail as they are adjusted
to expose bugs
(more details here: http://news.php.net/php.qa/62382)
2008-02-01 15:40:23 +00:00
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Hannes Magnusson
bc3e6d743c Fix typo (TAKAGI Masahiro) 2007-12-26 21:01:15 +00:00
Jani Taskinen
113ab1bc79 fix bug number 2007-11-16 12:29:29 +00:00
Jani Taskinen
bf84a7a9a9 - Fixed bug #31911 (mb_ereg*_replace() crashes when replacement string
is invalid PHP expression and 'e' option is used)
2007-11-16 12:26:05 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Rui Hirokawa
9fb312447e added support "entity" as substitute_character settin accoding to bug #39404 2007-09-24 11:50:54 +00:00
Rui Hirokawa
1dcec80d7b fixed bug #42502 va_* cannot detect. 2007-09-18 21:35:13 +00:00
Rui Hirokawa
2b41d574bb fixed bug #29955 invalid case conversion in iso-8859-9. 2007-09-04 14:13:44 +00:00
Rui Hirokawa
cec32074d7 added negative offset support in mbfl_strrpos (fixed #42085) 2007-08-19 01:57:53 +00:00
Antony Dovgal
24c766b902 fix typo
it would be much better if Gentoo people send us this patch long ago instead of using their private patches.
2007-07-31 12:23:42 +00:00
Antony Dovgal
d7ab2da30b there is no such file 2007-07-16 19:07:22 +00:00
Seiji Masugata
498c2e08f1 Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 15:28:37 +00:00
Johannes Schlüter
c91907a515 - Always enable mail() function 2007-07-11 17:39:04 +00:00
Seiji Masugata
f8c62e9d07 Sync with mail function in mb_send_mail function(problem MOPB-33-2007:PHP and MOPB-34-2007:PHP). 2007-04-04 15:23:09 +00:00
Marcus Boerger
d826cadb63 - Add missing return value check 2007-03-06 01:21:36 +00:00
Marcus Boerger
269baad27d - Revert back to sprintf (we could define snprintf for windows but we don't) 2007-03-06 00:55:46 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Frank M. Kromann
16ccbf0c0c MFB: Fix win32 build 2007-02-04 00:23:32 +00:00
Antony Dovgal
521a03c098 fix folding and ws 2007-01-12 12:06:33 +00:00
Antony Dovgal
2157607928 avoid changing original zval 2007-01-11 22:23:06 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Seiji Masugata
eb81b301a6 Initial commit(Synced PHP_5_2 Branch.). 2006-12-21 17:44:40 +00:00
Seiji Masugata
0d9e23c38b Synced PHP_5_2 Branch. 2006-12-21 17:37:53 +00:00
Frank M. Kromann
af741730f4 Fix win32 build 2006-11-04 17:25:37 +00:00
Ilia Alshanetsky
fab0dd3b66 MFB: Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()). 2006-11-03 19:56:07 +00:00
Antony Dovgal
08d9facf51 more fixed problems 2006-10-11 11:52:41 +00:00
Antony Dovgal
77bfbfc880 fix segfault/leak, add test 2006-10-11 11:09:15 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Rui Hirokawa
7d47f629e4 fixed --disable-mbregex to disable multibe-regex. 2006-10-02 23:27:43 +00:00
Rui Hirokawa
adbab589aa fixed bug #37103: libmbfl headers was not installed correctly. 2006-10-02 15:32:48 +00:00
Nuno Lopes
07b26e4e5f MFB (int->long) 2006-09-05 12:32:13 +00:00
Seiji Masugata
cf90bc9e1c added returned value in mb_get_info( ). 2006-08-24 16:51:00 +00:00
Seiji Masugata
317bedda3f fix tests. 2006-07-29 17:09:59 +00:00
Seiji Masugata
df84f5aa45 added option parameter mb_strrpos( ). 2006-07-17 04:44:06 +00:00
Hannes Magnusson
e18bb1ce3d Fix/add SKIPIF 2006-06-27 00:09:23 +00:00
Seiji Masugata
85f42ffe65 changed GINIT definition. 2006-06-15 15:44:05 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Seiji Masugata
b56ab30155 fixed all mbstring setting information doesn't return in mb_get_info( ). 2006-05-11 14:37:42 +00:00
foobar
8bd7796184 Fixed bug #37103 (libmbfl headers not installed) 2006-04-17 22:13:39 +00:00
foobar
6af3218f81 more cleanup (lingering ini settings which do not exist anymore, etc.) 2006-04-10 15:09:15 +00:00
Seiji Masugata
e241504917 fixed commnet typo, and duplicate logic. 2006-04-04 15:14:28 +00:00
Seiji Masugata
d8271224ad added mb_stristr( ), mb_strrichr( ). 2006-04-03 15:32:43 +00:00
Seiji Masugata
cbd37caefc added mb_stripos( ), mb_strripos( ). 2006-03-30 15:43:54 +00:00
Seiji Masugata
e42f182be3 added mb_strrchr( ). 2006-03-29 15:47:07 +00:00
Seiji Masugata
b5cd8f02d8 added mb_strstr( ). 2006-03-28 16:05:16 +00:00
Seiji Masugata
d28ec107ac added mb_list_mime_names( ). 2006-03-27 15:20:02 +00:00
Seiji Masugata
c8de944309 fixed compiler warning. 2006-03-26 02:23:25 +00:00
Seiji Masugata
5fdede19a4 added mb_list_encodings_alias_names( ). 2006-03-23 20:14:41 +00:00
Rui Hirokawa
0fb7618d6e added mb_check_encoding() to detect possible invalid encoding attack. 2006-03-21 07:47:43 +00:00
Rui Hirokawa
52a935ffd2 changed a option name based on PHP naming convension. 2006-03-21 02:19:59 +00:00
Rui Hirokawa
2832532138 MF PHP_5_1 2006-03-21 02:11:55 +00:00
Seiji Masugata
c9dfb792c5 added option parameter mb_list_encodings( ). 2006-03-16 15:21:12 +00:00
Seiji Masugata
8c8ac4802b fixed compiler warning. 2006-03-13 15:04:03 +00:00
Rui Hirokawa
3b5a116511 fixed a possible null injection caused by missuse of mbstring.substitute_character. 2006-03-12 07:54:03 +00:00
Seiji Masugata
a7f7a7f389 fixed different value was returned in mb_get_info. 2006-03-10 16:36:52 +00:00
Pierre Joye
303bfea78f - remove register_globals support (aka "Kill the f***ing thing" :) 2006-03-07 00:20:54 +00:00
Yasuo Ohgaki
4cf8787936 remove obsolete check 2006-03-03 20:41:52 +00:00
Yasuo Ohgaki
52fe090ef0 add safe_mode num of parameter check 2006-03-02 00:34:28 +00:00
Marcus Boerger
bb94742080 - Disable mbregex support until someone finds a way to reenable the
required engine stuff
- Fix build
2006-02-23 20:15:36 +00:00
Rui Hirokawa
0453023c3e added additional info about mail encoding to mb_get_info(). (made by Jokagi) 2006-02-11 02:25:29 +00:00
Antony Dovgal
eadb1127fb MF51: initialize to_r
remove needless semicolon
2006-02-06 10:41:42 +00:00
Antony Dovgal
cc0fae3702 fix tests 2006-01-19 20:52:45 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Rui Hirokawa
08a9c6f235 added Turkish language definition (related to bug #29955) 2005-12-29 23:52:59 +00:00
Rui Hirokawa
8864bf27e2 fixed #35711, added mbstring.strict_detection to detect the encoding striktly. 2005-12-25 15:21:54 +00:00
Rui Hirokawa
3eab2fa294 fixed #35711 ISO-8859 charset not correctly detected. 2005-12-24 01:20:26 +00:00
Rui Hirokawa
bcf3a3311d added turkish language support for libmbfl. 2005-12-23 13:53:30 +00:00
Rui Hirokawa
7c20dce548 fixed #29955 mb_strtoupper() / lower() broken with Turkish encoding.. 2005-12-23 13:50:29 +00:00
Rui Hirokawa
283f4759f6 fixed #28899 mb_substr() and substr() work differently when mbstring.func_overload is enabled. 2005-12-23 11:14:54 +00:00
Antony Dovgal
632e571642 MFB: add missing skipif conditions, fix existing ones
add one missing test
2005-12-21 11:43:24 +00:00