Commit Graph

358 Commits

Author SHA1 Message Date
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
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
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
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
4f42ed39c0 - Revived zend multibyte 2008-07-24 22:21:41 +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
2392861770 - MFH: Fix ZTS build 2008-07-17 20:04:06 +00:00
Moriyoshi Koizumi
f78da21527 - MFH: Removed dependencies from php_mbregex to oniguruma types 2008-07-17 16:08:37 +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
Rui Hirokawa
97b0ae946f fixed #43227 removed PHP_INI_PERDIR from mbstring.func_overload. 2008-07-13 01:34:21 +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
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
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
Rui Hirokawa
b202ef7494 MFH 2008-06-13 14:48:33 +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
852bf6e55a 'auto' encoding was not initialized correctly per request basis. 2008-02-16 08:21:39 +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
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
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
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
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Antony Dovgal
7d4ea80b07 MFH 2007-01-12 12:06:45 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Seiji Masugata
133d6bf2ca Fixed bug #39361, #39400 (mbstring function overloading problem). 2006-12-21 17:26:05 +00:00
Ilia Alshanetsky
4f3889d5bf Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()). 2006-11-03 19:55:51 +00:00
Rui Hirokawa
501025306c fixed illegal encoding detection when mbstring.encoding_translation is enabled.(made by komura) 2006-11-03 02:26:50 +00:00
Rui Hirokawa
b4ca4a0fab disabled mb_list_*_names() and mb_list_encodings(arg) which are introduced in PHP 5.2.0RC to reconsider/discuss the specification. 2006-09-24 07:10:54 +00:00
Seiji Masugata
0d233db56a Updated bundled oniguruma library (used for multibyte regular expression) to 4.4.4. fixed some Segmentation Fault, and build fails in OSX(Xcode 2.4/gcc 4.0.1 problem). See #38452. 2006-09-21 16:37:20 +00:00
Nuno Lopes
3ec9141f91 first fix from my new zend_parse_parameters_* checker 2006-09-05 12:30:35 +00:00
Antony Dovgal
75b8cd741b last portion of z/Z fixes 2006-08-31 16:15:24 +00:00
Seiji Masugata
100742f7a2 added configure option --disable-mbregex-backtrack. 2006-08-25 16:26:50 +00:00
Seiji Masugata
560208b1c6 added returned value in mb_get_info( ). 2006-08-24 16:52:36 +00:00
Seiji Masugata
1d6182a907 added option parameter mb_strrpos( ). 2006-07-17 04:48:17 +00:00
Seiji Masugata
ee23aba678 changed GINIT definition. 2006-06-16 16:45:46 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Seiji Masugata
c314888c29 added mb_stristr( ), mb_strrichr( ). 2006-05-30 15:47:53 +00:00
Seiji Masugata
731584c076 added mb_strstr( ), mb_strrchr( ). 2006-05-30 15:45:35 +00:00
Seiji Masugata
42aadabfcb added mb_stripos( ), mb_strripos( ). 2006-05-30 15:43:09 +00:00
Seiji Masugata
7314771a35 added mb_list_encodings_alias_names( ), mb_list_mime_names( ). 2006-05-30 15:40:39 +00:00
Seiji Masugata
91dd8376bd added option parameter mb_list_encodings( ). 2006-05-30 15:38:22 +00:00
Seiji Masugata
9b05e15e8a fixed all mbstring setting information doesn't return in mb_get_info( ). 2006-05-11 14:42:12 +00:00
Seiji Masugata
bf4ae10c36 fixed compiler warning. 2006-03-26 02:19:50 +00:00
Rui Hirokawa
e8d320dd77 MFH 2006-03-21 07:56:28 +00:00
Rui Hirokawa
85019bf450 MFH. 2006-03-21 02:20:15 +00:00
Rui Hirokawa
fa3173bec3 *** empty log message *** 2006-03-21 02:10:55 +00:00
Rui Hirokawa
6912dab9eb @added possible encoding attack detection by mb_get_info('illegalchars'). 2006-03-21 01:58:27 +00:00
Rui Hirokawa
2e3ae2f5c2 MFH 2006-03-12 07:54:42 +00:00
Seiji Masugata
61f7dc1396 fixed different value was returned in mb_get_info. 2006-03-10 16:22:15 +00:00
Yasuo Ohgaki
e2218515d2 MFH add safe_mode num of parameter check 2006-03-02 00:37:22 +00:00
Rui Hirokawa
e8d38828cd MFH 2006-02-11 02:26:07 +00:00
Antony Dovgal
4a179933b6 initialize to_r
remove needless semicolon
2006-02-06 10:41:28 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Rui Hirokawa
b0ccd89450 MFH:added Turkish language definition (related to bug #29955) 2005-12-30 00:49:24 +00:00
Rui Hirokawa
ef0c0cc62b MFH: fixed #35711, added mbstring.strict_detection to detect the encoding striktly. 2005-12-25 15:23:55 +00:00
Rui Hirokawa
cf90abfc24 MFH: fixed #28899 mb_substr() and substr() work differently when mbstring.func_overload is enabled. 2005-12-23 11:15:16 +00:00
Ilia Alshanetsky
cb3cca21b3 Fixed possible memory corruption inside mb_strcut(). 2005-12-15 03:36:53 +00:00
foobar
347032c753 sync with HEAD 2005-12-06 02:21:01 +00:00
foobar
253392f64f MFH: nuke php3 legacy 2005-12-06 01:26:44 +00:00
Rui Hirokawa
244c9a4ba0 5th argument of mb_encode_mimeheader() was not acceptable. 2005-11-25 21:55:25 +00:00
Rui Hirokawa
b9f0ff7aab MFH: fixed 5307 unexpected header can be injected to mb_send_mail(). 2005-11-23 15:17:29 +00:00
Rui Hirokawa
60949ca571 MFH: fixed #35253 length of the encoded string vilolates a RFC. 2005-11-19 08:25:32 +00:00
Ilia Alshanetsky
20c3266588 fixed compiler warnings 2005-09-21 13:23:00 +00:00
Ilia Alshanetsky
999a7acd71 MFH: Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters) 2005-09-21 13:16:03 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Moriyoshi Koizumi
542901d705 - Add Armenian encoding / NLS (patch by Hayk Chamyan) 2005-03-22 22:22:11 +00:00
foobar
2d521a73c8 Revert bad fix 2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
eb253ab571 Build fixes 2005-03-17 01:14:10 +00:00
Moriyoshi Koizumi
3093ceb3da - WS fix. 2005-02-21 15:14:32 +00:00
Moriyoshi Koizumi
0d7845384f - Fix bug #28568 (known_post_content_types is not thread safe).
# What is eventually necessiated is entire SAPI redesign, I think.
2005-02-21 15:14:02 +00:00
Moriyoshi Koizumi
8d73dc7bfc - Fix compiler warnings. 2005-02-21 07:57:08 +00:00
Ilia Alshanetsky
f257e10d48 Removed unused vars. 2005-02-10 14:11:06 +00:00
Antony Dovgal
f7326d6279 MFB: fix #31732 2005-01-28 02:00:39 +00:00
Moriyoshi Koizumi
b1ddbcbef9 - Fix a critical bug that request-local settings leak to another request. 2005-01-16 15:55:17 +00:00
Moriyoshi Koizumi
b33f7ab671 - Fix bug #28466 (mbstring_convert_variables() problem). 2004-06-26 05:39:00 +00:00
Ilia Alshanetsky
3787740cbc Fixed compiler warning. 2004-03-12 01:59:46 +00:00
Moriyoshi Koizumi
e84334a597 - Revert ini setting patch, as I notified in
http://news.php.net/article.php?group=php.internals&article=8451
2004-03-10 20:55:42 +00:00
Derick Rethans
b3b2192a1e - Added mb_list_encoding() to return an array with all mbstring supported
encodings.
2004-03-08 22:18:05 +00:00
Ilia Alshanetsky
02cdf5a87a Fixed bug #27421 (mbstring.func_overload should be system ini setting). 2004-03-06 19:29:52 +00:00
Moriyoshi Koizumi
11b0f469f0 - Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi)
. Supports various encodings such as BIG5, GB2312 and ISO-8859-*
  . Fixes bug #26677 (mbstring compile errors with IRIX)
  . Many thanks to K.Kosako.
- Remove redundant files that are not relevant to the build.
2004-02-28 20:45:27 +00:00