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