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
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