Commit Graph

637 Commits

Author SHA1 Message Date
Antony Dovgal
a26c94c7d9 MFB: fix memleaks correctly and make valgrind happy 2009-01-05 09:16:38 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
8409ccc0ea - Bug #46763 (mb_stristr() wrong output when needle does not exist) (patch by Henrique M. Decaria) 2008-12-30 02:12:44 +00:00
Felipe Pena
549bba6713 - Fixed memory leaks 2008-12-27 13:31:07 +00:00
Felipe Pena
b71d8ab002 - Unicodifing 2008-12-25 19:55:15 +00:00
Felipe Pena
a5e8f6b3c2 - Fixed memory leak 2008-12-25 19:30:28 +00:00
Scott MacVicar
8497d67365 Fix bug #46738 - Segfault when mb_detect_encoding() fails. 2008-12-11 02:56:08 +00:00
Ant Phillips
4021b612bf Remove duff comment produced by the test generator tool 2008-12-05 14:18:00 +00:00
Ant Phillips
0811347c26 MBString tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 14:02:53 +00:00
Ant Phillips
ad29efe368 MBString tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 13:13:15 +00:00
Ilia Alshanetsky
f95b96e55a MFB: Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) 2008-11-24 21:23:53 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Moriyoshi Koizumi
43e12e6bb1 - Fix bug #45722 (mb_check_encoding() crashes). 2008-10-16 01:01:05 +00:00
Moriyoshi Koizumi
09e9f4cda1 - Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
(noticed by Antony. Thanks!)
2008-09-13 19:50:26 +00:00
Moriyoshi Koizumi
3d9876cdbe - Properly initialize/finalize the library. This plugs the leaks caused by
onig_new().
2008-09-13 02:32:51 +00:00
Moriyoshi Koizumi
5f6083c47f - Adding tests. 2008-09-13 00:30:31 +00:00
Moriyoshi Koizumi
23f6c6cf9b - mb_encoding_aliases() is more consistent with mb_preferred_mime_name()
despite the unconformance with the naming convention.
2008-09-13 00:22:10 +00:00
Moriyoshi Koizumi
2f645879e6 - The mb_list_* issue has been resolved in the following way:
- Keep the same prototype as 5.2 for mb_list_encodings().
  - Add mb_list_encoding_aliases() with the mandatory parameter.
  - Remove mb_list_mime_names() as the list can be made from iteration
    on mb_list_encodings() with mb_preferred_mime_name().
2008-09-12 23:59:51 +00:00
Moriyoshi Koizumi
7bf6b36b19 * Use memcmp() for binary safety. 2008-09-12 23:34:45 +00:00
Ilia Alshanetsky
79d8631fea MFB: Fixed bug #46042 (memory leaks with reflection of
mb_convert_encoding())
2008-09-10 23:19:50 +00:00
Felipe Pena
41834e6090 - New parameter parsing API
- Fixed tests
2008-08-18 00:36:03 +00:00
Nuno Lopes
8da607e08f fix build when host machine doest has pcre installed 2008-08-11 15:40:41 +00:00
Moriyoshi Koizumi
e4f2ea4d3b - More fixes for bug #45691 2008-08-04 21:10:17 +00:00
Jani Taskinen
f679eeb6cb - No C++ comments in C files! 2008-08-03 11:56:45 +00:00
Moriyoshi Koizumi
b0f6875659 - Forgot to take account of the case when mbstring.language is processed
afterwards.
2008-08-03 00:04:06 +00:00
Moriyoshi Koizumi
51180a707c - Fixed bug #45691 (Some per-dir or runtime settings may leak into other requests). 2008-08-02 20:48:30 +00:00
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