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
Moriyoshi Koizumi
0601d1fc41
made messages more consistent
2002-10-06 06:37:47 +00:00
Moriyoshi Koizumi
55b591365f
Warnings for empty regular expressions
2002-10-06 06:21:34 +00:00
Yasuo Ohgaki
0a6f5f9996
Update test
2002-10-03 07:19:27 +00:00
Yasuo Ohgaki
66a50c5373
Added ob_flush_all() that flushes bufferred contents until it actually
...
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)
2002-10-03 07:17:14 +00:00
Zeev Suraski
2c4b6fff6d
Fix warnings
2002-10-01 10:16:40 +00:00
Sebastian Bergmann
d6e24f21f9
Sync MSVC project files.
2002-09-26 06:10:22 +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
Derick Rethans
cf07c698d1
- Align configure --help messages
2002-09-19 20:14:35 +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
foobar
3bf7519210
@- Added --disable-all configure option. (Jani)
2002-09-04 18:47:28 +00:00
Rui Hirokawa
ee2e4ed41f
removed #ifdef for mbstring.encoding_translation.
2002-09-03 09:11:33 +00:00
Rui Hirokawa
9b33531910
*** empty log message ***
2002-09-03 05:20:40 +00:00
Rui Hirokawa
7678ada2b8
--enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables. the same functionality is controllable in php.ini option mbstring.encoding_translation (default:Off).
2002-09-03 05:18:20 +00:00
foobar
1939764d98
Fix ZTS build
2002-08-28 02:08:57 +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
a1e0e5c859
convert encoding to cp1251,cp866 was not working, fixed
2002-08-24 09:48:00 +00:00
Marcus Boerger
e0c967508a
more ini settings
2002-08-21 03:10:55 +00:00
Marcus Boerger
bb258468fc
NO C++ comments
2002-08-20 10:00:28 +00:00
Den V. Tsopa
e139decdea
Revert from patch added mb_guess_encoding to previous version
2002-08-14 06:38:07 +00:00
Yasuo Ohgaki
8c020d357f
Add warning... It seems posting message to php-dev/php-cvs does not work!
2002-08-14 06:28:16 +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
c467129528
move html_entities.c to proper place
...
#nice to have snaps.php.net
2002-08-04 22:54:24 +00:00
Marcus Boerger
367ca8e2ae
-Correct mime_name for HTML-ENTITIES encoding is of cause US-ASCII
...
-Full list of ASCII aliases
2002-08-04 20:50:53 +00:00
Marcus Boerger
81df625260
-Fix warnings (fixed all?)
2002-08-04 18:59:19 +00:00
Marcus Boerger
c4e66f4192
-Add new file to windows build
2002-08-04 18:33:28 +00:00
Marcus Boerger
77abd9d55a
-New encoding/decoding HTML-ENTITIES.
...
#This allows to enforce named and numeric entities in output.
#Example:CMS that reads UTF8 or ISO-8859-1 but exports HTML in ASCII.
#Using mbstring.http_output=HTML-ENTITIES users receive entities which
#can displayed correctly independant of any brwoser side encoding.
@New mbstring encoding/decoding HTML-ENTITIES. (marcus)
2002-08-04 14:20:11 +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
foobar
e20b22fbc3
unbreak the shared build..again
2002-07-17 06:01:37 +00:00
Yasuo Ohgaki
7eecae7527
Changed configure option order to make it clear option dependecy to users.
2002-07-17 00:17:43 +00:00
Yasuo Ohgaki
dc794edb1a
Disable input encoding tranlation by default.
2002-07-17 00:11:32 +00:00
Edin Kadribasic
50ca75a0f6
Fix bug #16985 (wrong count of GET/POST variables).
2002-07-15 17:48:54 +00:00
foobar
7259893862
These options are all enabled by default. (why?)
2002-07-14 00:12:13 +00:00
foobar
b87ac98701
These options are all enabled by default. (why?)
2002-07-14 00:11:44 +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
Frank M. Kromann
9a743eef77
Adding _RU files to project
2002-07-03 18:24:14 +00:00
Frank M. Kromann
0818410f7c
Fixing ZTS build
2002-07-03 18:23:55 +00:00
Rui Hirokawa
bb21c40738
fixed shift_jis character corruption including 0x5c as second byte on uploaded filename.
2002-07-03 13:36:19 +00:00
Den V. Tsopa
f26fbd2bd5
small fix in preprocessor directive
2002-06-22 08:01:57 +00:00
Marcus Boerger
010e5e60ac
correct handling/generating of php_mbstr_default_identify_list
2002-06-19 21:55:42 +00:00
foobar
cff4039c47
Fixed bug: #17137 , test pass still
2002-06-18 00:56:11 +00:00
foobar
49523ba7d1
Changed the configure option to be --enable/disable
2002-06-06 12:44:28 +00:00
Frank M. Kromann
426b47837f
Makring function declarations match implementations (ZTS compilation)
2002-06-01 05:45:25 +00:00
foobar
73ab5708b4
Fixed typo..
2002-05-31 23:20:04 +00:00
Den V. Tsopa
509df14ff4
Fixes some dummy errors (again).
2002-05-30 10:10:16 +00:00
Den V. Tsopa
1da8768cae
Added GB2312 alias for CN-GB
2002-05-29 09:15:28 +00:00
Den V. Tsopa
9cd5bf77a7
@Fixed some dummy errors. (dets)
2002-05-29 08:33:23 +00:00
Rui Hirokawa
d3012238bc
reverted my patch.
2002-05-24 22:30:24 +00:00
Rui Hirokawa
ee480a7ec8
reverted patch to support iso2022kr.
2002-05-24 22:28:42 +00:00
Sebastian Bergmann
4405b313c5
ZTS fixes.
2002-05-21 07:10:26 +00:00
Den V. Tsopa
4974e6073e
Added russian codepages (koi8-r,cp1251,cp866) support.
2002-05-21 07:00:34 +00:00
Preston L. Bannister
0b70f9e884
Range check arguments to mb_strcut().
...
Test ext/mbstring/013.phpt causes a hard failure w/o this.
2002-05-16 12:31:05 +00:00
Preston L. Bannister
9d3ed920b5
Proper declaration to suppress compiler warning.
2002-05-16 12:07:11 +00:00
Rui Hirokawa
5f8009a7ea
added ISO-2022-KR support in mbstring.
2002-05-15 12:13:56 +00:00
Rui Hirokawa
e0a10acf8f
fixed a initialization bug in euc-tw.
2002-05-14 21:42:46 +00:00
Sascha Schumann
b3de60dbf0
Fix this again.
...
If you are unsure whether enable or with shall be used, please
inquire on the mailing list.
WITH is solely for the purpose of pointing to paths and other external
entities.
Note that the comment has always mentioned "--disable-mbstring" which
clearly refers to enable and not with.
2002-05-12 14:55:25 +00:00
Rui Hirokawa
767fa10a92
added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr.
2002-05-12 13:06:13 +00:00
Rui Hirokawa
b3690bbe19
fixed to support --with-mbsting=LANG.
2002-05-12 00:26:43 +00:00
Rui Hirokawa
f30b722f14
Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto.
2002-05-08 12:33:44 +00:00
Rui Hirokawa
b7321edb84
bug fixed in unicode -> cp1252 table.
2002-05-05 11:42:18 +00:00
Rui Hirokawa
39c951ed88
added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win.
2002-05-05 02:22:36 +00:00
Sascha Schumann
ee70764592
Turn misplaced PHP_ARG_WITH into _ENABLE
...
and fix --enable-mbstring=shared
2002-05-04 16:50:10 +00:00
Frank M. Kromann
810c9dd963
Changed & to &&.
2002-05-02 17:54:54 +00:00
Frank M. Kromann
e789e72515
Adding missing files to the project
2002-05-02 17:53:42 +00:00
Sebastian Bergmann
92748918c5
More unused variables.
2002-04-30 15:21:04 +00:00
Sebastian Bergmann
28e1120978
Fix ZTS build. Remove unused variables.
2002-04-30 14:36:43 +00:00
Rui Hirokawa
813a795c64
fixed compile warning with Visual C++.
2002-04-30 12:45:14 +00:00
Rui Hirokawa
5df01432c7
added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental.
2002-04-30 12:00:42 +00:00
Frank M. Kromann
eeb4fd9b45
Adding missing files to project
2002-04-30 04:36:34 +00:00
Sascha Schumann
4efba9ef9d
Improve use of module_globals macros
2002-04-26 10:13:45 +00:00
Yasuo Ohgaki
417f299d0e
Remove unneeded 'return'.
2002-04-23 08:10:45 +00:00
Yasuo Ohgaki
e6780384ad
Fix possible wide char prolem.
...
Fix empty output when no conversion is performed.
# Derick, this needs to be merged.
2002-04-23 08:07:19 +00:00
Rui Hirokawa
aa9cf268db
small performance improvement when pass is selected as input encoding.
2002-04-21 22:06:55 +00:00
Sascha Schumann
20c0fed127
If I don't want mbstring, I also don't want this transparent encoding
...
thingee which caused an undefined reference in main.o.
2002-04-20 15:17:57 +00:00
Yasuo Ohgaki
2efc8847cd
Fixed test title (strlen -> mb_strlen)
2002-04-19 07:51:00 +00:00
Yasuo Ohgaki
26bf419778
Fixed messages
2002-04-19 07:08:26 +00:00
Yasuo Ohgaki
6c8bcadf76
Enable mbstring by default.
...
@ mbstring module is enabled by default (Yasuo)
2002-04-19 06:32:26 +00:00
Frank M. Kromann
1c111b5d3f
Fixing Win32 compilation of mbstring
2002-04-15 23:03:48 +00:00
Rui Hirokawa
d5158c20a4
fixed error output handler when 'pass' is choosed as output encoding.
2002-04-14 08:18:55 +00:00
Marcus Boerger
0f0a5dddf3
-new function php_mb_check_encoding_list
...
-mark module globals as const (thread safety)
2002-04-12 16:17:16 +00:00
Sander Roobol
fa8e2db095
This test should be skipped if(!cgi)
2002-04-12 15:25:54 +00:00
Marcus Boerger
df82b2ec75
-fix mb_detect_order
...
-php_mbstring_parse_encoding_list/array return 0 on any illegal input
2002-04-12 14:24:54 +00:00
Marcus Boerger
fffb1a5d21
interpret empty to_encoding as encoding not set what results in current_internal_encoding
2002-04-11 22:52:43 +00:00
Rui Hirokawa
adf58908e4
fixed a bug which causes crash when charset is not set.
2002-04-11 22:27:00 +00:00
Yasuo Ohgaki
25db882a77
Fix ZTS build
...
# Please check caller when you add TSRMLS_DC. Especically if it's PHPAPI function...
# find . -name "*.c" | xargs grep php_mail
2002-04-11 13:40:19 +00:00
Rui Hirokawa
1f847267e7
changed mbstring to make thread safe.
2002-04-10 12:47:41 +00:00
Marcus Boerger
0743669f1c
-fix warnings
2002-04-07 18:09:31 +00:00
Yasuo Ohgaki
65ba307319
Use get_active_function_name() for error messages.
2002-04-06 01:01:41 +00:00
Marcus Boerger
1185a30687
include comma separated encoding lists in test
2002-04-05 16:25:05 +00:00
Marcus Boerger
cbb96206be
no space for comma separated encoding lists
2002-04-05 16:24:08 +00:00
Yasuo Ohgaki
eb7ed9105a
Fixed way of exporing functions. (Need PHPAPI for Win)
...
Fixed if statement format. ("if () stmt;" should be "if () \n {stmt;}")
Fixed error message so that appropriate function names are
displayed.
2002-04-05 02:13:32 +00:00
Marcus Boerger
cb51e72c46
new function php_mb_convert_encoding
2002-04-05 01:23:22 +00:00
Rui Hirokawa
751dcedb08
fixed some errors in regression tests.
2002-03-23 07:36:27 +00:00
Rui Hirokawa
d1caef7155
changed license from GPL2 to PHP License.
2002-03-23 07:33:13 +00:00
Rui Hirokawa
8c09fb90ba
fixed compile warnings.
2002-03-23 07:32:40 +00:00
Rui Hirokawa
4e494746c1
fixed POST/GET input processing.
2002-03-21 13:44:39 +00:00
Yasuo Ohgaki
9d2edd0fd8
Use common.inc instead of common.php for ease of use (rm -f *.php for failed
...
test files)
2002-03-18 06:03:53 +00:00
Markus Fischer
d4e63bc5bf
- Raise warning when trying to execute non-executeable shell
...
for mail delivery binary.
2002-03-16 12:45:43 +00:00
Rui Hirokawa
9a735efbce
fixed some errors of mbstring in regression tests.
2002-03-16 07:33:21 +00:00
Yasuo Ohgaki
85106b82e9
Fixed a compiler warning
2002-03-13 00:29:53 +00:00
Sascha Schumann
5cba3a99c2
extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
2002-03-12 16:44:00 +00:00
Rui Hirokawa
68976a35ce
fixed wrong include file.
2002-03-10 13:17:59 +00:00
Rui Hirokawa
06923253c3
fixed module name iconv->mbstring.
2002-03-10 12:23:11 +00:00
Frank M. Kromann
7d88c35ffd
Making mbstring compile under WIn32
2002-03-07 17:28:50 +00:00
Yasuo Ohgaki
00e71a8c7e
Rename common.php to common.inc for easier deletion of garbages.
...
e.g. "rm -f *.php"
2002-03-07 08:06:22 +00:00
Yasuo Ohgaki
7ce7a73095
Add mbstring tests
2002-03-02 10:44:57 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Rui Hirokawa
07a08288a1
fixed a comment and default output encoding changed to pass.
2002-02-23 00:04:20 +00:00
Rui Hirokawa
acf08a9015
php.h included.
2002-02-23 00:00:15 +00:00
Yasuo Ohgaki
7baa36c885
Fix typo
2002-02-10 02:27:09 +00:00
Yasuo Ohgaki
ccc8755196
Remove unused line
...
# I forgot to delete this line
2002-02-06 10:03:40 +00:00
Yasuo Ohgaki
eba550de9d
Fixed crash with mb_output_handler()
...
When mb_output_hanlder is applied muiltiple times, PHP does not output.
This should be fixed also.
2002-02-06 09:51:39 +00:00
Yasuo Ohgaki
23258ef145
Remove TSRMLS_FETCH() does not need
2002-02-04 11:55:12 +00:00
Rui Hirokawa
0544cdca3a
fixed an error in mbstring caused by confliction with regex.
2002-01-14 03:08:40 +00:00
Rui Hirokawa
c79f749ff8
@Added multi-byte enabled regex functions. (Rui)
2002-01-11 13:21:09 +00:00
Egon Schmid
ab32202968
Fixed some protos.
2002-01-07 06:58:01 +00:00
Rui Hirokawa
32c1b0fd2e
@added mb_get_info() to get internal settings of mbstring.
2002-01-07 02:40:54 +00:00
Rui Hirokawa
e72d606c36
added code to remove overloaded function in RSHUTDOWN.
2001-12-26 15:21:13 +00:00
Rui Hirokawa
8488a5a475
@added function overload in mbstring to add multibyte support for string and mail functions.
2001-12-23 15:32:08 +00:00
Rui Hirokawa
1524fa7287
output encoding translation turn off in mb_output_handler() when non-text (binary) data was sent.(Patched by Kanemoto.)
2001-12-17 15:30:08 +00:00
Yasuo Ohgaki
ff219f1f21
Fix compile error
2001-12-17 01:03:52 +00:00
Rui Hirokawa
26e30dc606
added an option mbstring.func_overload to overload some function by multibyte enabled version of function in mbstring.
2001-12-16 22:58:24 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Sascha Schumann
74de59dff1
Fix declarations of static variables. Builds on AIX now.
2001-12-03 15:32:12 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Rui Hirokawa
da8b28cf1c
fixed a bug in http input processing patched by Yasuo Ohgaki.
2001-11-08 22:23:04 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
6cfba2a3ea
2nd phase in back-substitution those macro's
...
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Rui Hirokawa
1b78716661
mbstring is no more in experimental status.
2001-09-23 13:42:00 +00:00
Frank M. Kromann
975ebe3524
Fixing win32 debug build
2001-09-18 23:39:25 +00:00
Wez Furlong
e6c7f6f22c
fix bug# 13017 - patch from tsukada@fminn.nagano.nagano.jp
2001-08-29 11:29:52 +00:00
Wez Furlong
1164abcdab
fix uudecode
2001-08-28 21:50:29 +00:00
Wez Furlong
9a8c9439e8
fix cp1252 -> wchar conversion
2001-08-28 18:26:46 +00:00
Wez Furlong
cda7f49324
Windows-1252 encoding awareness
2001-08-25 09:21:43 +00:00
Daniel Beulshausen
0a6878cc02
accomodate SAPI_API changes
2001-08-15 18:11:40 +00:00
Zeev Suraski
9be8c97967
Some more TSRMLS_FETCH work
2001-07-31 05:56:26 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Zeev Suraski
b0224d51da
Zend compatibility patch
2001-07-30 05:36:18 +00:00
Zeev Suraski
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +00:00
Rui Hirokawa
a787dc2c4d
changed for input encoding conversion in win32.
2001-07-29 22:15:41 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Thies C. Arntzen
0453eff2b8
fix include
2001-07-20 19:37:19 +00:00
Daniel Beulshausen
805c76f742
fix dsp (?)
2001-07-06 17:53:02 +00:00
Rui Hirokawa
7dcb3cdfbd
fixed argument number in mb_send_mail().
2001-07-06 13:21:47 +00:00
Rui Hirokawa
659282bfbc
fixed argument number in mb_send_mail().
2001-07-06 13:19:36 +00:00
Daniel Beulshausen
a82f4f76e8
add mbstring & xslt
2001-06-11 15:43:50 +00:00
Daniel Beulshausen
669a6d6cf2
should build under windows as well
2001-06-11 15:31:58 +00:00
Rui Hirokawa
2be3c40b31
added charset parameter to output of mb_output_handler().
2001-06-07 15:11:11 +00:00
Rui Hirokawa
491d00e46d
two bug fixed: return value of mb_strimwidth() was invalid and separator parameter of mb_parse_str wasn't worked.
2001-06-05 14:25:23 +00:00
Rui Hirokawa
73aee8095f
a bug fixed about memory reallocation and added extra parameter support to mb_send_mail().
2001-06-03 01:14:45 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Wez Furlong
74ce7ee6c5
Removed redundant (and incorrect) '0' from "begin" string for uudecode.
2001-05-13 12:04:37 +00:00
Wez Furlong
2633261cc3
Took out a line that might cause problems if you try and uuencode; there is no
...
uuencode support yet.
# Looks hard to do too; we need to buffer 45 chars
2001-05-12 23:49:29 +00:00
Wez Furlong
b2703047ab
Added uudecode support (MIME name "x-uuencode")
2001-05-12 23:42:09 +00:00
Sascha Schumann
718b588b14
Fix indentation of ./configure --help messages.
2001-05-12 09:13:42 +00:00
Rui Hirokawa
45a2e761e7
fixed bug of mb_substitute_character() and mb_substr() in mbstring.
2001-05-10 13:12:03 +00:00
Rui Hirokawa
223eca31fb
remaked mb_gpc_handler as mb_parse_str() in mbstring.
2001-05-09 11:18:11 +00:00
Rui Hirokawa
0a452b2ff2
added mb_language to ext/mbstring.
2001-05-08 14:33:20 +00:00
Rui Hirokawa
156a461117
update address of licence term in mbstring.
2001-05-07 13:58:00 +00:00
Egon Schmid
78ee5d56b3
Fixed some protos.
2001-05-06 22:25:14 +00:00
Rui Hirokawa
a09844a981
fixed divided by zero exception and lack of multidimentional array support in mbstring.
2001-05-06 22:06:10 +00:00
Rui Hirokawa
b0d91b12f8
fixed a compilation problem without --enable-mbstr-enc-trans.
2001-05-06 02:44:12 +00:00
Rui Hirokawa
c0624c769b
fixed a memory leak in ext/mbstring.
2001-05-04 10:42:54 +00:00
Rui Hirokawa
b388986f57
deleted some function aliases.
...
@- Added Japanese multibyte string functions support. (Rui)
2001-05-03 00:44:26 +00:00
Rui Hirokawa
953c181026
clear http input encoding detection result in RSHUTDOWN.
2001-05-02 13:24:26 +00:00
Rui Hirokawa
f34bad2d4f
modified some function name in ext/mbstring based on naming convension and mbstr_http_input() implemented.
2001-05-01 23:44:20 +00:00
Rui Hirokawa
f2731cb91a
modified some function name in mbstring based on php's naming convension.
2001-05-01 09:20:51 +00:00
Rui Hirokawa
4cafbdc67f
simplified some function's name in ext/mbstring.
2001-05-01 05:21:29 +00:00
Rui Hirokawa
09197a4531
renamed jstring to mbstring.
2001-05-01 01:52:55 +00:00