Moriyoshi Koizumi
e40416ebf6
Fixed possible buffer over run in php_mb_safe_strrchr_ex()
2002-11-14 21:33:36 +00:00
Moriyoshi Koizumi
6841184abc
Fix build
2002-11-14 19:04:29 +00:00
Moriyoshi Koizumi
dac0b6fc4f
Moved some mbregex related portions from mbstring.c to php_mbregex.c
...
# No need to merge this change to PHP_4_3 branch
2002-11-14 18:54:42 +00:00
Wez Furlong
08362f90d9
Fix build for unix.
...
Not sure if this needs merging to the branch (haven't got that far yet today).
2002-11-14 12:06:01 +00:00
Edin Kadribasic
1eddce79dd
MFB (made mbstring compile on windows again).
2002-11-13 23:11:14 +00:00
Ilia Alshanetsky
0cb9c53033
Added a skip condition for when mail() function is not avaliable.
2002-11-13 17:16:33 +00:00
Ilia Alshanetsky
b0d519f730
Added a skip condition for when the encoding needed for the test is not
...
available or supported.
2002-11-13 16:52:48 +00:00
Moriyoshi Koizumi
9f2a1ce9d4
Added a test for mb_send_mail() to check if the function properly handles
...
Traditional Chinese characters.
2002-11-13 12:00:47 +00:00
Moriyoshi Koizumi
fd01313fde
Corrected Traditional Chinese language spec and the preferred MIME name
...
of which the encoding is used in that locale.
2002-11-13 11:57:59 +00:00
Moriyoshi Koizumi
2016c0cc0a
Added a test for mb_send_mail() to check if the simplified Chinese support
...
works
2002-11-13 08:45:37 +00:00
Moriyoshi Koizumi
d9ebc7aadb
Updated the test
2002-11-13 08:27:17 +00:00
Moriyoshi Koizumi
7addde8521
Prevented unwanted encoding detections in mb_send_mail()
...
# This patch shouldn't break BC
2002-11-13 08:26:04 +00:00
Moriyoshi Koizumi
e01b60c2fb
Fixed mb_encode_mimeheader() to work with languages other than Japanese and
...
English
2002-11-13 08:13:34 +00:00
Moriyoshi Koizumi
04f59073e6
Fixed a buffer over-run bug in case a function to be overloaded doesn't exist.
...
# This patch was made by Ilia.
2002-11-13 07:40:11 +00:00
Andrei Zmievski
e87b45de44
Disable mbstring by default.
2002-11-13 04:36:04 +00:00
Moriyoshi Koizumi
16cf26ee18
Cosmetics
2002-11-12 22:05:18 +00:00
Moriyoshi Koizumi
3cf7002469
Fixed a function overloading related bug.
...
# Yet I suspect the problem is in another place...
2002-11-12 21:58:53 +00:00
Moriyoshi Koizumi
072466203d
Fixed language name
2002-11-12 20:06:20 +00:00
Moriyoshi Koizumi
5d547d1f0c
Added test cases for mb_send_mail()
2002-11-12 20:04:58 +00:00
Moriyoshi Koizumi
827974bc94
Forgot to change this one.
2002-11-12 19:44:56 +00:00
Moriyoshi Koizumi
268903ce6c
Added neutral language spec for backwards compatibility
2002-11-12 19:24:45 +00:00
Ilia Alshanetsky
d84afe1121
Fixed a memory leak.
2002-11-12 17:41:26 +00:00
Marcus Boerger
1017cf99a0
fix warnings
2002-11-12 11:45:10 +00:00
Moriyoshi Koizumi
67e6c356f6
Fixed mb_convert_case() / mb_strtolower() / mb_strtoupper() to work in
...
64bit systems
2002-11-11 02:39:32 +00:00
Moriyoshi Koizumi
66d606df5f
Fixed mb_send_mail() so that it correctly handles the language setting.
2002-11-10 21:32:54 +00:00
Moriyoshi Koizumi
a56ea0ab81
Fixed German language spec entry.
2002-11-10 21:31:26 +00:00
Moriyoshi Koizumi
2007517447
Fixed OnUpdate_mbstring_language so that change for mbstring.language
...
would be reflected to the setting properly
2002-11-10 21:18:54 +00:00
Moriyoshi Koizumi
3e21044d81
Changed the default settings so that it shouldn't affect htmlentities()
2002-11-10 20:53:36 +00:00
Moriyoshi Koizumi
a1d6dccb59
These changes seems to have bad effect on htmlentities().
...
Remove it.
2002-11-10 19:05:51 +00:00
Moriyoshi Koizumi
8c517d7d1d
Added a test case to check if my recent patch works
2002-11-10 15:52:00 +00:00
Moriyoshi Koizumi
60febe2890
Fixed typo
2002-11-09 23:10:02 +00:00
Moriyoshi Koizumi
0a801f1deb
Added a test for mb_substr_count()
2002-11-09 17:07:29 +00:00
Moriyoshi Koizumi
0e6445b8b1
Added mb_substr_count() as per the request #15097
2002-11-09 17:05:47 +00:00
Moriyoshi Koizumi
f47cf49139
Fixed PHP_INI_MH(OnUpdate_mbstring_language) so that ini entry values
...
are properly updated.
2002-11-09 16:15:40 +00:00
Moriyoshi Koizumi
72e0aa894a
Added a test for function overloading behaviour
2002-11-08 07:22:10 +00:00
Moriyoshi Koizumi
f6ad144abb
Added a new test
2002-11-03 20:35:46 +00:00
Moriyoshi Koizumi
941d5e3894
style keisatsu
2002-11-03 08:50:43 +00:00
Moriyoshi Koizumi
408e019b25
Disabled output_handler in INI section
2002-11-03 08:37:59 +00:00
Moriyoshi Koizumi
e9982c06c7
Reduced compiler warnings
2002-11-02 13:38:32 +00:00
Moriyoshi Koizumi
45361297f3
Fixed mb_ereg_replace() bug
2002-10-30 10:35:55 +00:00
Moriyoshi Koizumi
a705a8b597
Clean up.
2002-10-30 08:06:52 +00:00
Moriyoshi Koizumi
352a9f093c
Removed dl() code
2002-10-30 07:54:33 +00:00
Moriyoshi Koizumi
ac4eb2cccc
Shortened comments. I also think they were too long.
2002-10-30 07:53:15 +00:00
Moriyoshi Koizumi
fc0e6ff90e
Added test cases to check the compatibility with standard ereg functions.
2002-10-29 19:01:10 +00:00
Marcus Boerger
b763fe7622
fix test
2002-10-28 00:02:25 +00:00
Moriyoshi Koizumi
eef8649fa4
Capitalized the title string
2002-10-27 03:07:05 +00:00
Yasuo Ohgaki
75583ee2a6
Remove useless check.
...
# Problem was in other place
2002-10-26 02:08:05 +00:00
Moriyoshi Koizumi
16315a9a22
Added a test case for bug #20087
2002-10-25 21:29:14 +00:00
Moriyoshi Koizumi
af9aefc9be
Additional fix for #20087
...
# Thanks, Derick!
2002-10-25 18:35:25 +00:00
Derick Rethans
9e1b9a89f9
- Fixed bug #20087 (Assertion failure when the value was empty)
2002-10-25 17:44:52 +00:00
Moriyoshi Koizumi
36447ebe05
Fixed null value check in php_mb_mbchar_bytes_ex() as it should be
2002-10-25 09:36:36 +00:00
Moriyoshi Koizumi
b309c0515c
Adjusted MINFO table style
2002-10-25 08:31:27 +00:00
Marcus Boerger
15b2e277a4
fix compiler warning
2002-10-24 19:15:40 +00:00
Moriyoshi Koizumi
74883a9583
Make php_mb_is_mb_leadbyte() obsolete. It only works with double-byte chars.
...
# Sorry Marcus, it seems we were working simultaneously :)
2002-10-23 23:25:27 +00:00
Marcus Boerger
b321568b96
fix warning: used in rfc1867.c
2002-10-23 23:08:20 +00:00
Marcus Boerger
015832d81e
fix style and warnings
2002-10-23 23:07:14 +00:00
Moriyoshi Koizumi
069bfc57d9
Updated the test case
2002-10-23 20:38:18 +00:00
Moriyoshi Koizumi
3bc01b5d0b
Modified mb_convert_case() to handle cased characters properly when MB_CASE_TITLE is specified.
2002-10-23 20:32:51 +00:00
Moriyoshi Koizumi
d59f9b756e
Fixed comment position.
...
# Sorry for repetitive commit logs :)
2002-10-23 19:58:37 +00:00
Moriyoshi Koizumi
afa9f42f47
Function renaming.
2002-10-23 19:51:50 +00:00
Moriyoshi Koizumi
83fd27ee0a
Added folding markers for happier hacking
2002-10-23 19:38:46 +00:00
Moriyoshi Koizumi
e8e614101d
Style keisatsu
2002-10-23 19:20:27 +00:00
Moriyoshi Koizumi
fdc91ccc73
Renaming the functions.
2002-10-23 18:32:55 +00:00
Moriyoshi Koizumi
b7703551ed
Remaned the functions for consistency
2002-10-23 16:54:31 +00:00
Moriyoshi Koizumi
cbc9256fc9
MFH
2002-10-23 16:48:33 +00:00
Moriyoshi Koizumi
4758b109a5
Do the same test as ext/standard/test/strings/strtoupper.phpt does
2002-10-22 20:34:53 +00:00
Moriyoshi Koizumi
bce3d0cf7d
Renamed the test cases.
2002-10-21 19:19:05 +00:00
Moriyoshi Koizumi
4eadff2233
More style fixes...
2002-10-21 10:47:41 +00:00
Moriyoshi Koizumi
821349465a
style keisatsu :)
2002-10-21 02:39:53 +00:00
Moriyoshi Koizumi
cee696d9e7
Added a new test case to confirm the inconsistent regex behaviour reported
...
on php-users@php.gr.jp (10830)
2002-10-21 02:27:51 +00:00
Moriyoshi Koizumi
fe7c6debd9
Changed the dafault option for consistency
2002-10-21 02:24:06 +00:00
Moriyoshi Koizumi
f45231a8ed
Added mb_strtolower() and mb_strtoupper()
...
@- Added mb_strtolower() and mb_strtoupper(). (Moriyoshi)
2002-10-21 01:44:59 +00:00
Moriyoshi Koizumi
852117694a
Changed mb_regex_set_options() more informative
2002-10-20 15:11:04 +00:00
Moriyoshi Koizumi
7fb4938981
ZTS fixes
2002-10-20 07:16:20 +00:00
Masaki Fujimoto
a6ecdca0ef
fixed highlight related bugs (in case shift_jis input/output filters are enabled)
2002-10-20 02:57:40 +00:00
Rui Hirokawa
6f46548412
modified zend_bool handling code.
2002-10-16 14:08:47 +00:00
Rui Hirokawa
22f44fa673
*** empty log message ***
2002-10-16 13:37:49 +00:00
Rui Hirokawa
585eefca14
fixed a problem when mbstring.encoding_translation is defined per directory basis.
2002-10-16 13:27:40 +00:00
Rui Hirokawa
e5f81ee881
fixed a problem when mbstring.encoding_translation is defined per directory basis.
2002-10-16 13:22:57 +00:00
Rui Hirokawa
8884469e11
changed INI restriction to enable per-directory settings.
2002-10-12 01:18:43 +00:00
Moriyoshi Koizumi
9520422501
Fixed the encoding
2002-10-10 17:16:46 +00:00
Moriyoshi Koizumi
7b3fb01072
Updated the test cases so that they use mb_regex_set_options.
...
Added a test for mb_regex_set_options.
2002-10-10 17:05:04 +00:00
Moriyoshi Koizumi
2f88f504c1
Fixed mb_regex_set_options()
2002-10-10 17:00:36 +00:00
Moriyoshi Koizumi
70742ae9b6
--disable-mbregex had no effect
2002-10-10 16:57:52 +00:00
Moriyoshi Koizumi
579a1c3ab1
ZTS fixes
2002-10-08 17:20:10 +00:00
Moriyoshi Koizumi
e9444610eb
Removed table generating code. The return values of isalnum() may vary by the locale setting.
2002-10-08 15:15:50 +00:00
Ilia Alshanetsky
8f4276b61d
Fixed memory leak.
2002-10-08 14:57:06 +00:00
Derick Rethans
bde85234d6
- Please do not use notices for debug information
2002-10-08 08:01:06 +00:00
Sebastian Bergmann
af8230e28c
Fix ZTS build.
2002-10-08 05:08:39 +00:00
Moriyoshi Koizumi
8f1fb5768b
Fixed typo.
2002-10-07 20:12:48 +00:00
Moriyoshi Koizumi
a0f61c9c51
Added test cases for mbregex
2002-10-07 18:02:05 +00:00
Moriyoshi Koizumi
2e1d931c66
Lots of clean-up for upcoming mbstring merging event.
...
Added mb_regex_set_options().
The Options parameters of various mbregex functions are now deprecated.
@- Added mb_regex_set_options(). The Options parameters of
@ various mbregex functions are now deprecated. (Moriyoshi).
2002-10-07 17:59:49 +00:00
Moriyoshi Koizumi
931e25297b
fixed mb_split (the value of third parameter treated wrongly)
2002-10-07 16:46:42 +00:00
Moriyoshi Koizumi
9b849892ea
MFH
2002-10-07 16:15:36 +00:00
Stefan Esser
a8191a66c1
never smash the stack...
2002-10-07 16:11:30 +00:00
Stefan Esser
5619a3d0a5
fixing possible off by one in error case
2002-10-07 16:05:28 +00:00
Rasmus Lerdorf
d940131774
Fix build
2002-10-06 16:37:33 +00:00
Moriyoshi Koizumi
a1b3f8382d
added support for aliases of the encodings.
2002-10-06 15:31:52 +00:00
Sebastian Bergmann
6ca22a1740
HAVE_MBSTRING awareness.
2002-10-06 09:36:26 +00:00
Sebastian Bergmann
df472058e2
HAVE_MBREGEX awareness.
2002-10-06 09:29:54 +00:00