Commit Graph

226 Commits

Author SHA1 Message Date
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
e500e957ba Applied the right fix for bug #23016 2003-05-12 13:26:16 +00:00
Moriyoshi Koizumi
e9111e0f9b Fixed an issue that zend-multibyte's behaviour doesn't reflect the change
to mbstring.internal_encoding ini setting.
2003-05-04 13:11:30 +00:00
Ilia Alshanetsky
894e2aaf68 emalloc -> safe_emalloc 2003-05-01 21:08:31 +00:00
Moriyoshi Koizumi
0e5df53be5 Moved copyright notice to the better place. 2003-04-25 17:39:46 +00:00
Moriyoshi Koizumi
4c2d694aa3 Added a bogus copyright notice. 2003-04-25 17:35:06 +00:00
Moriyoshi Koizumi
6eaa47854e Fixed crash in mb_convert_encoding() that occurs when a void array is
passed as the third parameter
2003-04-01 11:49:30 +00:00
Moriyoshi Koizumi
8bdef0dda5 Removed redundant aliases & CS fix. 2003-03-28 03:38:13 +00:00
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
Moriyoshi Koizumi
d2eb897739 Added missing phpinfo entry (Russian support) 2003-03-05 06:16:22 +00:00
Moriyoshi Koizumi
3940c673e3 64bit long fix: patch by Dave Hill 2003-03-04 17:10:29 +00:00
Moriyoshi Koizumi
63291af120 Fixed bug #22330 (overloaded strrpos() gives wrong results)
Patch by david at santinoli dot com. Thanks!
2003-02-20 17:52:42 +00:00
Rasmus Lerdorf
7429c2dc3f Input Filter support. See README.input_filter for details.
@- Input Filter support added. See  README.input_filter. (Rasmus)
2003-02-19 19:41:09 +00:00
Moriyoshi Koizumi
dd0462c78f Added description for the hand-made finite state machine. 2003-02-18 20:31:04 +00:00
Moriyoshi Koizumi
bcd49d63c3 Fixed mb_send_mail() so that Content-Type and Content-Transfer-Encoding
headers are overridable by additional header parameters.
This patch fixes bug #21985 and bug #22064.
2003-02-18 18:49:47 +00:00
Moriyoshi Koizumi
1068156252 Fixed ZTS build 2003-02-11 03:55:08 +00:00
Moriyoshi Koizumi
0ae9394c39 zend_get_parameters_* => zend_parse_parameters 2003-02-03 20:25:25 +00:00
Moriyoshi Koizumi
a4fe845aba Really fixed proto.
# sorry for messing
2003-02-03 16:46:45 +00:00
Moriyoshi Koizumi
2a92efdaf9 Oops! wrong commit. Reverting... 2003-02-03 16:45:56 +00:00
Moriyoshi Koizumi
e58e11743a Fixed proto 2003-02-03 16:44:28 +00:00
Moriyoshi Koizumi
b00cc4f2bb Fixed a mb_send_mail() bug that has been reported in php-i18n@lists.php.net
See http://lists.php.net/article.php?group=php.i18n&article=427
2003-01-31 14:15:49 +00:00
Ilia Alshanetsky
8a9e09a44a ARG_COUNT(ht) -> ZEND_NUM_ARGS(). 2003-01-21 14:56:40 +00:00
Ilia Alshanetsky
984c0918ab Removed pointless memory allocation checks. 2003-01-18 20:10:23 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Moriyoshi Koizumi
12d4a19fce Forgot to adjust this one 2002-11-25 17:21:50 +00:00
Moriyoshi Koizumi
76b218cb6e Renamed several internal functions for consistency 2002-11-25 17:20:20 +00:00
Moriyoshi Koizumi
7f1f056f16 Updated license information headers 2002-11-23 20:14:33 +00:00
Moriyoshi Koizumi
22a9d7ad25 Separated GPC related part from mbstring.c 2002-11-23 20:08:44 +00:00
Rui Hirokawa
13a51b8f20 mbstring is supporting CJK + some other encodings. 2002-11-21 16:12:49 +00:00
Moriyoshi Koizumi
72f0be09c0 Function renamings: s/php_mbstr_/php_mb/.
# all of which are static so I don't see any problem for now.
2002-11-19 17:23:41 +00:00
Moriyoshi Koizumi
41ef851eb5 Unified the duplicated portions.
# No need to merge this patch to the branch
2002-11-19 17:02:06 +00:00
Moriyoshi Koizumi
e40416ebf6 Fixed possible buffer over run in php_mb_safe_strrchr_ex() 2002-11-14 21:33:36 +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
Edin Kadribasic
1eddce79dd MFB (made mbstring compile on windows again). 2002-11-13 23:11:14 +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
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
268903ce6c Added neutral language spec for backwards compatibility 2002-11-12 19:24:45 +00:00
Marcus Boerger
1017cf99a0 fix warnings 2002-11-12 11:45:10 +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
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
60febe2890 Fixed typo 2002-11-09 23:10:02 +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
941d5e3894 style keisatsu 2002-11-03 08:50:43 +00:00
Moriyoshi Koizumi
e9982c06c7 Reduced compiler warnings 2002-11-02 13:38:32 +00:00
Yasuo Ohgaki
75583ee2a6 Remove useless check.
# Problem was in other place
2002-10-26 02:08:05 +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
015832d81e fix style and warnings 2002-10-23 23:07:14 +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
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
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
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
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
579a1c3ab1 ZTS fixes 2002-10-08 17:20:10 +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
Wez Furlong
1a87c6b5bf (PHP mb_convert_case) Add function that will convert the case of a string
Respecting it's encoding (or the internal encoding).
2002-09-26 00:53:47 +00:00
Yasuo Ohgaki
16125ec2bf This should fix var handling problems finally. 2002-09-07 22:51:39 +00:00
Yasuo Ohgaki
b65073d3ea Fixed array var handling. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp> 2002-09-07 14:07:05 +00:00
Yasuo Ohgaki
27ce2cfa24 Fixed trancated value bug when array is used 2002-09-07 09:23:39 +00:00
Rui Hirokawa
ee2e4ed41f removed #ifdef for mbstring.encoding_translation. 2002-09-03 09:11:33 +00:00
Marcus Boerger
965ecdb3a6 php_error_docref 2002-08-27 15:32:04 +00:00
Marcus Boerger
a8027c1428 Remove this nonsense - this makes the module unpredicable since we do
not have default values in ini and more encodings will follow.
2002-08-27 14:57:09 +00:00
Den V. Tsopa
e139decdea Revert from patch added mb_guess_encoding to previous version 2002-08-14 06:38:07 +00:00
Den V. Tsopa
4f5743582e Added new function mb_guess_encoding, based on symbols rating 2002-08-14 05:41:40 +00:00
Rasmus Lerdorf
3ffe4cb1ff bool not boolean 2002-08-13 04:37:28 +00:00
Marcus Boerger
81df625260 -Fix warnings (fixed all?) 2002-08-04 18:59:19 +00:00
Marcus Boerger
f2f70b5dda -Allow double quotes for encoding lists (if used in ini for example)
-New parameter 'L' for mb_http_input() to retieve input encoding as
 comma separated string.
@New parameter 'L' for mb_http_input() to retrieve input encoding as
 comma separated string. (marcus)
2002-08-04 14:10:58 +00:00
Andi Gutmans
4b492c4deb - Fix build on Windows. Also please don't use Java style opening function
- bracket indentation.
2002-08-03 09:48:34 +00:00
Marcus Boerger
de8c36dcaa -use const to clarify code
-fix tsrmls build (therefore rfc1867.c)
2002-08-02 10:22:31 +00:00
Rui Hirokawa
7527bf0c58 made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data. 2002-08-02 06:53:48 +00:00
Zeev Suraski
bc82be4284 Fix crash 2002-07-31 14:41:06 +00:00
Yasuo Ohgaki
3e7c884b1c Fixed query string handling. Now some.php?a&b=1;c works.
# arg_separator.output can be multile chars
2002-07-28 09:42:15 +00:00
Rui Hirokawa
fbbeaec630 fixed: output encoding translation by mb_output_handler() in ext/mbstring was not usable when Content-Type is set by header(). 2002-07-27 13:58:16 +00:00
Edin Kadribasic
50ca75a0f6 Fix bug #16985 (wrong count of GET/POST variables). 2002-07-15 17:48:54 +00:00
Sebastian Bergmann
bec1633335 Remove unused variables. 2002-07-12 04:57:14 +00:00
Rui Hirokawa
555ca8eedd added mbstring.language option in ext/mbstring. 2002-07-11 15:45:35 +00:00
Rui Hirokawa
ead78e9125 fixed shift_jis character corruption including 0x5c as second byte following a slash on uploaded filename. 2002-07-05 15:06:39 +00:00
Frank M. Kromann
bda7548a00 Removed unneeded check for MBSTR_ENC_TRANS 2002-07-03 18:45:34 +00:00