Commit Graph

729 Commits

Author SHA1 Message Date
Rui Hirokawa
6d9788d768 fixed compile error on Win32 environment. 2008-07-16 12:21:46 +00:00
Moriyoshi Koizumi
88318e0294 - MFH: Added a new configure option --with-onig=[DIR] that allows the extension
to link to the external oniguruma library.
- MFH: Prevent libmbfl files from being installed when --with-libmbfl is
  specified.
2008-07-16 02:30:49 +00:00
Moriyoshi Koizumi
817f393a2d * MFH: indentation fix only 2008-07-15 18:04:32 +00:00
Rui Hirokawa
97b0ae946f fixed #43227 removed PHP_INI_PERDIR from mbstring.func_overload. 2008-07-13 01:34:21 +00:00
Rui Hirokawa
7aab46a2f1 updated bundled oniguruma from 4.4.0 to 4.7.1 2008-07-13 01:25:22 +00:00
Pierre Joye
64cf2c2f50 - MFH: fix build with VC9 PSDK6.x 2008-07-12 23:54:53 +00:00
Felipe Pena
40e96d282d MFB: - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:53:09 +00:00
Jani Taskinen
0cd842e51b nuke unused variable 2008-07-11 13:50:43 +00:00
Felipe Pena
e7eda53a3b - Removed unused variables 2008-07-07 12:52:00 +00:00
Felipe Pena
d7a224914e - Added arginfo
- Removed unnecessary #include "zend_arg_defs.c"
2008-07-07 12:40:51 +00:00
Rui Hirokawa
5deede0da4 cosmetic change. 2008-07-05 07:36:24 +00:00
Rui Hirokawa
b0ce4732b0 removed wrong bytes. 2008-07-05 07:30:01 +00:00
Rui Hirokawa
236114fa63 revert commit. 2008-07-05 07:10:25 +00:00
Rui Hirokawa
a55482ad87 added CP1254 2008-07-05 07:09:37 +00:00
Rui Hirokawa
dea0d31baf - added koi8-u (Ukrainian) and CP1254 (Turkish). 2008-07-05 06:52:04 +00:00
Antony Dovgal
e035184017 string length -> int 2008-07-01 07:54:30 +00:00
Alexey Zakhlestin
1c77f59429 updated to the new parameter-parsing api 2008-06-28 21:23:08 +00:00
Alexey Zakhlestin
95e419611d added arginfo (fixes #45388) 2008-06-28 18:04:19 +00:00
Dmitry Stogov
7e5392b54a Fixed test 2008-06-24 07:06:08 +00:00
Rui Hirokawa
b202ef7494 MFH 2008-06-13 14:48:33 +00:00
Josie Messa
1fa1bd7ac8 - Fixed failing mbstring tests after bug fixes 2008-02-21 14:07:13 +00:00
Rui Hirokawa
bedb308902 fixed #43998 Two error messages returned for incorrect encoding for mb_strto[upper|lower] 2008-02-16 12:01:43 +00:00
Rui Hirokawa
ad400f1144 fixed #43994 mb_ereg 'successfully' matching incorrectly. 2008-02-16 11:46:03 +00:00
Rui Hirokawa
179b370957 fixed #43841 mb_strrpos offset is byte count for negative values. 2008-02-16 10:43:57 +00:00
Rui Hirokawa
c00121c5a8 fixed bug #43840 mb_strpos bounds check is byte count rather than a character count. 2008-02-16 08:58:00 +00:00
Rui Hirokawa
e67c124e61 removed unnecessary space. 2008-02-16 08:32:26 +00:00
Rui Hirokawa
852bf6e55a 'auto' encoding was not initialized correctly per request basis. 2008-02-16 08:21:39 +00:00
Josie Messa
51fe79c055 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:29:59 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Hannes Magnusson
b4e95c3e19 MFH: Fix typo (TAKAGI Masahiro) 2007-12-26 21:02:46 +00:00
Jani Taskinen
275e2626ab - fix bug number 2007-11-16 12:28:56 +00:00
Jani Taskinen
3e0680f2ee MFH:- Fixed bug #31911 (mb_ereg*_replace() crashes when replacement string is invalid
PHP expression and 'e' option is used)
2007-11-16 12:26:34 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Rui Hirokawa
e94f26f356 MFH: added support "entity" as substitute_character settin accoding to bug #39404 2007-09-24 11:51:36 +00:00
Rui Hirokawa
beeddd8873 MFH: fixed bug #42502 va_* cannot detect. 2007-09-18 21:35:39 +00:00
Rui Hirokawa
507112e44d modified line end CR -> CR+NL 2007-09-18 21:33:29 +00:00
Rui Hirokawa
b9424cdfaf MFH: fixed bug #29955 invalid case conversion in iso-8859-9. 2007-09-04 14:14:11 +00:00
Rui Hirokawa
1d44054407 MFH (fixed #42085) 2007-08-19 01:58:39 +00:00
Antony Dovgal
095fdf88ce fix typo 2007-07-31 12:23:50 +00:00
Seiji Masugata
e206802652 Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 15:31:54 +00:00
Johannes Schlüter
dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Seiji Masugata
febad95f3f Sync with mail function in mb_send_mail function(problem MOPB-33-2007:PHP and MOPB-34-2007:PHP). 2007-04-04 15:25:41 +00:00
Ilia Alshanetsky
89939e13d6 Fixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals
# Discovered by Stefan Esser
2007-03-18 16:36:13 +00:00
Antony Dovgal
a8f076d7a3 use the aliases and eliminate one more compile warning 2007-03-06 21:04:27 +00:00
Marcus Boerger
331034afbb - Revert last part and fix issue under windows 2007-03-06 01:19:47 +00:00
Marcus Boerger
3c21c05e43 - And the sizes too 2007-03-06 01:14:38 +00:00
Marcus Boerger
26ebcdfcb9 - More to go
# CVS sucks, you cannot mix -D with -r
# However, thanks edin for reminding me that we have mini version tags
# I still prefer subverison. There we don't have any problem of this kind
2007-03-06 01:13:21 +00:00
Marcus Boerger
638ffdb477 - There you go 2007-03-06 01:00:51 +00:00
Marcus Boerger
03bccc1b15 - MFH Revert back to sprintf (we could define snprintf for windows but we don't) 2007-03-06 00:56:42 +00:00
Ilia Alshanetsky
3c27b48662 Fixed typo 2007-02-28 01:10:41 +00:00
Ilia Alshanetsky
a9c4107ee4 Adjust vsnprintf() usage 2007-02-28 01:01:01 +00:00
Ilia Alshanetsky
efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Frank M. Kromann
850998256c Fix win32 build 2007-02-04 00:21:51 +00:00
Rui Hirokawa
693c9a7d2c fixed incompatibility with PHP 5.2.0 for encoding conversion between ShiftJIS(CP932), eucJP, ISO-2022-JP. 2007-01-29 22:53:47 +00:00
Antony Dovgal
7d4ea80b07 MFH 2007-01-12 12:06:45 +00:00
Antony Dovgal
ed30473f7c MFH 2007-01-11 22:23:20 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Seiji Masugata
133d6bf2ca Fixed bug #39361, #39400 (mbstring function overloading problem). 2006-12-21 17:26:05 +00:00
Ilia Alshanetsky
c7d84b7451 Fixed compiler warnings 2006-11-16 17:33:39 +00:00
Frank M. Kromann
9df320c423 Fix win32 build 2006-11-04 17:25:14 +00:00
Ilia Alshanetsky
4f3889d5bf Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()). 2006-11-03 19:55:51 +00:00
Rui Hirokawa
501025306c fixed illegal encoding detection when mbstring.encoding_translation is enabled.(made by komura) 2006-11-03 02:26:50 +00:00
Rui Hirokawa
96d597b6a4 added japanese legacy encoding support (made by moriyama@miraclelinux.com) 2006-11-03 01:11:35 +00:00
Antony Dovgal
2f467baf94 MFH 2006-10-11 11:53:02 +00:00
Antony Dovgal
a81eae5d01 MFH: fix segfault/leak, add test 2006-10-11 11:09:42 +00:00
Antony Dovgal
11235cff7b missing variable initialization 2006-10-10 22:03:27 +00:00
Rui Hirokawa
bd088df90c fixed bug #37103: libmbfl headers was not installed correctly. 2006-10-01 08:34:39 +00:00
Antony Dovgal
9c4e7a0743 initialize variable and make valgrind happy 2006-09-28 07:22:37 +00:00
Rui Hirokawa
b4ca4a0fab disabled mb_list_*_names() and mb_list_encodings(arg) which are introduced in PHP 5.2.0RC to reconsider/discuss the specification. 2006-09-24 07:10:54 +00:00
Rui Hirokawa
46fda147a5 fixed build problem of some extensions which depend on ext/mbstring. 2006-09-23 10:55:58 +00:00
Seiji Masugata
0d233db56a Updated bundled oniguruma library (used for multibyte regular expression) to 4.4.4. fixed some Segmentation Fault, and build fails in OSX(Xcode 2.4/gcc 4.0.1 problem). See #38452. 2006-09-21 16:37:20 +00:00
Rui Hirokawa
10f7a23b6f fixed compilation problem on Mac OS/X. (bug #38892,38778,38452) 2006-09-20 23:10:37 +00:00
Nuno Lopes
3ec9141f91 first fix from my new zend_parse_parameters_* checker 2006-09-05 12:30:35 +00:00
Antony Dovgal
75b8cd741b last portion of z/Z fixes 2006-08-31 16:15:24 +00:00
Seiji Masugata
100742f7a2 added configure option --disable-mbregex-backtrack. 2006-08-25 16:26:50 +00:00
Seiji Masugata
99211d0444 Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:20:58 +00:00
Seiji Masugata
74685a184f Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:11:29 +00:00
Seiji Masugata
3ea2152839 Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:03:47 +00:00
Seiji Masugata
560208b1c6 added returned value in mb_get_info( ). 2006-08-24 16:52:36 +00:00
Seiji Masugata
603846c985 fix tests. 2006-07-29 17:11:09 +00:00
Antony Dovgal
bbf2ab4d45 fix build with Intel C Compiler 2006-07-27 07:39:30 +00:00
Seiji Masugata
3e1c05170e Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0. 2006-07-20 15:56:29 +00:00
Seiji Masugata
e95f9a0eeb Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0. 2006-07-20 15:45:07 +00:00
Seiji Masugata
1d6182a907 added option parameter mb_strrpos( ). 2006-07-17 04:48:17 +00:00
Hannes Magnusson
aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Seiji Masugata
ee23aba678 changed GINIT definition. 2006-06-16 16:45:46 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Seiji Masugata
c314888c29 added mb_stristr( ), mb_strrichr( ). 2006-05-30 15:47:53 +00:00
Seiji Masugata
731584c076 added mb_strstr( ), mb_strrchr( ). 2006-05-30 15:45:35 +00:00
Seiji Masugata
42aadabfcb added mb_stripos( ), mb_strripos( ). 2006-05-30 15:43:09 +00:00
Seiji Masugata
7314771a35 added mb_list_encodings_alias_names( ), mb_list_mime_names( ). 2006-05-30 15:40:39 +00:00
Seiji Masugata
91dd8376bd added option parameter mb_list_encodings( ). 2006-05-30 15:38:22 +00:00
Antony Dovgal
70c643f5f0 fix tests 2006-05-29 21:08:02 +00:00
Seiji Masugata
9b05e15e8a fixed all mbstring setting information doesn't return in mb_get_info( ). 2006-05-11 14:42:12 +00:00
Rasmus Lerdorf
65de977ea0 INSTALL_HEADERS takes absolute filenames there in the second arg.
This makes pecl/mailparse build again
2006-05-07 16:56:07 +00:00
foobar
92da3229d4 MFH: Fixed bug #37103 (libmbfl headers not installed) 2006-04-17 22:13:56 +00:00
Seiji Masugata
bf4ae10c36 fixed compiler warning. 2006-03-26 02:19:50 +00:00
Rui Hirokawa
e8d320dd77 MFH 2006-03-21 07:56:28 +00:00
Rui Hirokawa
85019bf450 MFH. 2006-03-21 02:20:15 +00:00
Rui Hirokawa
fa3173bec3 *** empty log message *** 2006-03-21 02:10:55 +00:00
Rui Hirokawa
6912dab9eb @added possible encoding attack detection by mb_get_info('illegalchars'). 2006-03-21 01:58:27 +00:00
Rui Hirokawa
2e3ae2f5c2 MFH 2006-03-12 07:54:42 +00:00
Seiji Masugata
61f7dc1396 fixed different value was returned in mb_get_info. 2006-03-10 16:22:15 +00:00
Yasuo Ohgaki
e2218515d2 MFH add safe_mode num of parameter check 2006-03-02 00:37:22 +00:00
Rui Hirokawa
e8d38828cd MFH 2006-02-11 02:26:07 +00:00
Antony Dovgal
4a179933b6 initialize to_r
remove needless semicolon
2006-02-06 10:41:28 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Rui Hirokawa
b0ccd89450 MFH:added Turkish language definition (related to bug #29955) 2005-12-30 00:49:24 +00:00
Rui Hirokawa
ef0c0cc62b MFH: fixed #35711, added mbstring.strict_detection to detect the encoding striktly. 2005-12-25 15:23:55 +00:00
Rui Hirokawa
11105b1eed MFH: fixed #35711 ISO-8859 charset not correctly detected. 2005-12-24 04:32:42 +00:00
Rui Hirokawa
4628a41c00 MFH: fixed #29955 mb_strtoupper() / lower() broken with Turkish encoding.. 2005-12-23 15:18:52 +00:00
Rui Hirokawa
cf90abfc24 MFH: fixed #28899 mb_substr() and substr() work differently when mbstring.func_overload is enabled. 2005-12-23 11:15:16 +00:00
Antony Dovgal
c92ae847c7 add missing skipif conditions
fix existing ones
2005-12-21 11:42:06 +00:00
Antony Dovgal
8fee6ac1e2 fix test 2005-12-16 14:50:47 +00:00
Ilia Alshanetsky
cb3cca21b3 Fixed possible memory corruption inside mb_strcut(). 2005-12-15 03:36:53 +00:00
foobar
347032c753 sync with HEAD 2005-12-06 02:21:01 +00:00
foobar
253392f64f MFH: nuke php3 legacy 2005-12-06 01:26:44 +00:00
Rui Hirokawa
244c9a4ba0 5th argument of mb_encode_mimeheader() was not acceptable. 2005-11-25 21:55:25 +00:00
Rui Hirokawa
b9f0ff7aab MFH: fixed 5307 unexpected header can be injected to mb_send_mail(). 2005-11-23 15:17:29 +00:00
Rui Hirokawa
60949ca571 MFH: fixed #35253 length of the encoded string vilolates a RFC. 2005-11-19 08:25:32 +00:00
Rui Hirokawa
00dfb7dc14 MFH: fixed garbled multibyte characters. 2005-11-05 04:49:57 +00:00
Anantha Kesari H Y
3815b367d5 NetWare LibC sdk has stdarg.h
--Kamesh
2005-10-28 07:52:58 +00:00
Antony Dovgal
b122cd4b08 MFH: fix #34977 (Compile failure on MacOSX due to use of varargs.h) 2005-10-26 13:50:39 +00:00
Antony Dovgal
25a82d8a5c fix compile warnings (again) 2005-10-12 14:43:30 +00:00
Ilia Alshanetsky
20c3266588 fixed compiler warnings 2005-09-21 13:23:00 +00:00
Ilia Alshanetsky
999a7acd71 MFH: Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters) 2005-09-21 13:16:03 +00:00
foobar
4b0c39887c - Fixed bug #34015
# Whatever this test was supposed to try to test...sheesh..
2005-08-05 20:38:50 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
d12196e575 Fix VPATH build 2005-05-29 23:15:16 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
Masaki Fujimoto
ca7a649300 - Fix mbfl_encoding_detector_feed() and mbfl_mbfl_identify_encoding() behaviour 2005-04-22 05:03:10 +00:00
Moriyoshi Koizumi
2cba0ab304 - Fix bug #32311 (mb_encode_mimeheader() does not properly escape characters.) 2005-03-23 23:22:16 +00:00
Moriyoshi Koizumi
542901d705 - Add Armenian encoding / NLS (patch by Hayk Chamyan) 2005-03-22 22:22:11 +00:00
Rui Hirokawa
c30f4ab6ec oniguruma updated to 3.7.1 and changed UChar to OnigUChar. 2005-03-19 08:52:23 +00:00
foobar
2d521a73c8 Revert bad fix 2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
eb253ab571 Build fixes 2005-03-17 01:14:10 +00:00
Antony Dovgal
3e2dd57c0a fix compile warnings 2005-03-09 21:58:20 +00:00
Moriyoshi Koizumi
d2627b5107 - Synch with the latest checkouts. (include fix by Joe Orton. Thanks.) 2005-02-23 13:35:34 +00:00
Moriyoshi Koizumi
20f709f339 - Update libmbfl (fixes bug #32063). 2005-02-22 09:57:45 +00:00
Moriyoshi Koizumi
3093ceb3da - WS fix. 2005-02-21 15:14:32 +00:00
Moriyoshi Koizumi
0d7845384f - Fix bug #28568 (known_post_content_types is not thread safe).
# What is eventually necessiated is entire SAPI redesign, I think.
2005-02-21 15:14:02 +00:00
Moriyoshi Koizumi
01c0d589ef - Fix bug #30868 (evaluated pointer comparison in mbregex causes compile
failure).
2005-02-21 10:19:11 +00:00
Moriyoshi Koizumi
e8901dc170 - Fix bug #30573 (compiler warning due to invalid type cast) 2005-02-21 10:12:43 +00:00
Moriyoshi Koizumi
d7d7ca62d4 - Fix bug #29989 (type re_registers redefined in oniguruma.h) 2005-02-21 09:43:55 +00:00
Moriyoshi Koizumi
8d73dc7bfc - Fix compiler warnings. 2005-02-21 07:57:08 +00:00
Moriyoshi Koizumi
df3c2b5808 - Add testcases for bug #28220 and #30549. 2005-02-21 07:45:37 +00:00