Commit Graph

461 Commits

Author SHA1 Message Date
Moriyoshi Koizumi
7e4a886971 Forgot to commit this one. 2003-09-26 17:41:52 +00:00
Moriyoshi Koizumi
91bf8e5dc9 Explicitly specify mbstring.language. 2003-09-26 14:42:37 +00:00
Moriyoshi Koizumi
b82679412c Fix some incompatibilities with the pre-libmbfl behaviour regarding encoding detection. 2003-09-26 14:42:14 +00:00
Moriyoshi Koizumi
96cdea35c1 Specify full path to cat for mb_send_mail() tests 2003-09-26 11:08:54 +00:00
Ilia Alshanetsky
ff4d200772 Specify full path for cat utility used by the test. 2003-09-24 02:27:43 +00:00
Moriyoshi Koizumi
1ee441613d Remove useless mutex code due to the switch to oniguruma. 2003-09-23 20:11:05 +00:00
Moriyoshi Koizumi
aa36f5bbdb Oops 2003-09-23 13:23:30 +00:00
Moriyoshi Koizumi
a89d00bb6c Remove unused variable 2003-09-23 13:21:01 +00:00
Rui Hirokawa
ce66e1eb8d fixed wrong string length in mbregex. 2003-09-23 02:47:06 +00:00
Rui Hirokawa
b6b761ca84 revert a patch. 2003-09-23 02:43:49 +00:00
Rui Hirokawa
25bb0d16a9 fixed win32-build and update e-mail address in mbstring. 2003-09-23 02:43:04 +00:00
Ilia Alshanetsky
a7f2ec3cdb Fixed compile warnings. HAVE_ defines cannot work without the header that
defines them.
2003-09-17 05:42:57 +00:00
Marcus Boerger
7fac56c593 - Change email
- Fix warnings
2003-09-12 13:31:23 +00:00
foobar
46e47ec0db - Fix the win32 build.
# mbregex is still not build, that onigurama stuff didn't compile
2003-08-31 16:08:46 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
foobar
c803e4643d No need to enable by default. Derick got confused. :) 2003-08-30 22:09:27 +00:00
foobar
4d788fc1e2 libmbfl is required always 2003-08-30 21:57:29 +00:00
foobar
c57ecb0e9a ws 2003-08-30 21:32:10 +00:00
Marcus Boerger
ba4178189b - Fix compile
- Building still not possible
2003-08-25 21:54:26 +00:00
foobar
6b7cb7c570 Some minor fixes so that this works with autoconf 2.13 too 2003-08-25 04:08:29 +00:00
Moriyoshi Koizumi
e49c59038c Sync with original 2003-08-25 01:44:17 +00:00
Moriyoshi Koizumi
39ae479942 Allow usage of external libmbfl 2003-08-24 22:46:13 +00:00
Moriyoshi Koizumi
7fe12aaa17 Integrate allocator code into mbstring.c 2003-08-24 22:15:49 +00:00
Moriyoshi Koizumi
ebcdf6f299 Sync with the original 2003-08-24 20:07:13 +00:00
Rui Hirokawa
6b92fbdef9 revert previous patch. 2003-08-23 10:04:43 +00:00
Rui Hirokawa
d2f002eed9 changed for ZTS mode. 2003-08-23 08:59:47 +00:00
Rui Hirokawa
697ce0776f revert my patch. 2003-08-23 08:27:46 +00:00
Rui Hirokawa
c8b525859d strcasecmp macro moved to mbfl_compat.h. 2003-08-23 08:26:46 +00:00
Rui Hirokawa
e4f5e1da6d remove unnessesary files. 2003-08-23 06:51:16 +00:00
Rui Hirokawa
48d8c3fba7 removed mbstring/*/config.h. 2003-08-23 06:27:06 +00:00
Rui Hirokawa
a05608dd7b added .cvsignore and README. 2003-08-23 06:20:59 +00:00
Rui Hirokawa
5a80df26f3 @mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma. 2003-08-23 06:18:44 +00:00
Moriyoshi Koizumi
9bb299eb42 More accurate fix for bug #25140 2003-08-19 14:48:33 +00:00
Derick Rethans
9cd7b9d3c3 - Fix for bug #25140 (mb_convert_encoding returns FALSE when it tries to
convert empty string)
2003-08-19 08:29:57 +00:00
Masaki Fujimoto
ab9dcec292 - added script encoding support to Zend Engine 2.
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
  UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
  '--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Ilia Alshanetsky
c6134c346c Use getenv() rather then $_ENV, the latter is not always avaliable. 2003-08-09 21:00:42 +00:00
Moriyoshi Koizumi
fb02fdf306 Fix test as the "expected result" was totally pointless in the first place. 2003-08-08 10:53:54 +00:00
Moriyoshi Koizumi
de02912ef2 Fix the test which should have been fixed long ago. 2003-08-08 10:52:50 +00:00
Moriyoshi Koizumi
68120caddc Add test case for the bug 2003-08-08 10:35:53 +00:00
Moriyoshi Koizumi
5e343ad110 Eliminate redundant assignment 2003-08-08 09:51:28 +00:00
Moriyoshi Koizumi
de9d52c4e9 Real fix for the problem addressed in the last commit message. 2003-08-08 09:40:58 +00:00
Moriyoshi Koizumi
a12601456a Fix wrong behaviour under ZTS that was inconsistent with non-ZTS.
# This patch really needs MFH
2003-08-07 19:45:26 +00:00
Moriyoshi Koizumi
c7a29109a8 MFB(1.142.2.22): add missing NLS entry for German. 2003-08-06 22:01:23 +00:00
Brian France
589d0f1423 MFB: added include config.h so shared extensions builds work correctly 2003-08-06 15:16:46 +00:00
Marcus Boerger
0626fff0c1 Fix warning 2003-08-03 18:52:09 +00:00
Marcus Boerger
21503e723e Reallow build 2003-08-03 18:46:34 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Moriyoshi Koizumi
f05452fbcd Disable the test temporarily because "-d" flags in the command line doesn't
take effect under CGI mode. (See the relevant portion of cgi_main.c
that begins at line 996)
2003-08-03 13:58:20 +00:00
Rui Hirokawa
ac91b2dbba MFH 2003-07-14 23:09:46 +00:00
Rui Hirokawa
0b0962eb8e added strict encoding detection mode to fix #24309 2003-07-13 08:20:01 +00:00
Moriyoshi Koizumi
dd710f4dc0 Added missing protos 2003-07-03 15:30:14 +00:00
Rui Hirokawa
2b44c63d50 Fixed corruption of multibyte character including 0x5c as second
byte in multipart/form-data.
2003-06-28 23:37:18 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
ff5fc53c5e Fixed bug #23897 (Fixed a check for mbfilter_ru.h) aleks@m2media.ru 2003-05-30 13:20:01 +00:00
Moriyoshi Koizumi
f1679e4027 Fixed test so it won't fail in correct situations 2003-05-14 00:36:00 +00:00
Moriyoshi Koizumi
0fc5d74364 oops 2003-05-12 13:28:06 +00:00
Moriyoshi Koizumi
e500e957ba Applied the right fix for bug #23016 2003-05-12 13:26:16 +00:00
Moriyoshi Koizumi
27863eb499 MFB(r-1.40.2.4): fixed bug #23016 2003-05-11 00:49:15 +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
d1b82409c3 Added missing sanity check, which was causing segfault. 2003-04-04 09:06:23 +00:00
Moriyoshi Koizumi
8784a497b8 Fixed segfault in mb_ereg_match() 2003-04-03 00:15:13 +00:00
Moriyoshi Koizumi
8b539ed766 Fixed lots of crashes in mbregex.
# most of them were caused by stupid mistakes
2003-04-03 00:01:44 +00:00
Moriyoshi Koizumi
2954ea0a01 oops 2003-04-01 18:56:59 +00:00
Moriyoshi Koizumi
1bb22a8bd0 Reverted the last patch; the problem is elsewhere.. 2003-04-01 18:56:26 +00:00
Moriyoshi Koizumi
df22d1016f Fixed crash that occurs due to an abused persistent hashtable.
# thanks Sascha again.
2003-04-01 18:44:00 +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
9e6fdcd8f6 Fixed test cases so they wouldn't be failed in case register_globals=on 2003-03-29 07:13:47 +00:00
Moriyoshi Koizumi
8bdef0dda5 Removed redundant aliases & CS fix. 2003-03-28 03:38:13 +00:00
Moriyoshi Koizumi
570e929d49 Fixed bug #22834 (compile failure due to ugly implicit casts) 2003-03-24 21:22:23 +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
Rasmus Lerdorf
d08a0e99c8 An input filter might not simply strip stuff, it might also turn things
into entities or use some other mechanism which causes the filtered data
to be longer than the original data.  Ergo, pass in the address of the
buffer instead so the filter is free to reallocate it.
2003-02-20 22:21:49 +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
afb8842cea Fix mbstring input_filter 2003-02-19 20:56:47 +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
47f6ed8dbb Trivial test adjustment 2003-02-03 20:29:07 +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
e5a4b5b2dc Fixed test case for mb_strpos().
# the third parameter should specify an offset but an encoding name
2003-02-03 16:16:37 +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
Moriyoshi Koizumi
cfbd0bb58a Really fixed the mb issue of mb_ereg_replace()
# my previous patch is somewhat wrong
2003-01-23 20:38:44 +00:00
Moriyoshi Koizumi
3e7b832895 Fixed a mb_ereg_replace() bug; the function was not completely multibyte-safe. 2003-01-23 20:07:39 +00:00
Moriyoshi Koizumi
812a419019 Oops! wrong patch. Reverted. 2003-01-21 22:09:09 +00:00
Moriyoshi Koizumi
ce5df6d949 Fixed mb_ereg_replace() bug (the function has ignored the default option) 2003-01-21 22:03:29 +00:00
Moriyoshi Koizumi
9a723fcb4e Fixed mb_ereg_search() segfault that occurs when the function is called
before a string to be searched is passed by mb_ereg_search_init()
2003-01-21 19:31:07 +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
Rui Hirokawa
3d324676a5 fixed lack of variable initialization bug. 2002-12-11 14:39:37 +00:00
Moriyoshi Koizumi
de79a4e9d8 Reverted the changes because the problem was elsewhere. 2002-12-02 21:10:37 +00:00
Frank M. Kromann
b2a648f5b5 Fixing the Win32 compilation of mbstring with mbregex enabled. 2002-12-02 19:18:23 +00:00