Moriyoshi Koizumi
b9eaa80150
- SCNG(input_filter) can be null if the script encoding is idential to
...
the internal encoding.
2008-07-28 07:01:54 +00:00
Moriyoshi Koizumi
cc8145d14f
- ???
2008-07-28 06:13:57 +00:00
Moriyoshi Koizumi
a28497d6e5
- Fix __halt_compiler() weirdness with zend-mulibyte enabled
2008-07-28 05:59:17 +00:00
Moriyoshi Koizumi
9225429040
- MFH: Fix warnings
2008-07-25 14:04:54 +00:00
Moriyoshi Koizumi
52d5287d9a
- MFH: Fix wrong cast
2008-07-25 13:57:23 +00:00
Moriyoshi Koizumi
1f7e547662
- MFH: Fix a typo in mb_stripos() that caused segfaults (noticed by bs@php.net, thanks).
2008-07-25 12:51:47 +00:00
Moriyoshi Koizumi
935846db2b
- Fix tests.
2008-07-25 10:48:20 +00:00
Moriyoshi Koizumi
4f42ed39c0
- Revived zend multibyte
2008-07-24 22:21:41 +00:00
Moriyoshi Koizumi
150d7a5489
- MFH: fix win32 build
2008-07-24 17:00:03 +00:00
Moriyoshi Koizumi
850449568e
- MFH: Fix tests.
2008-07-24 13:49:39 +00:00
Moriyoshi Koizumi
d7594edaa0
- MFH: Fixed warnings.
2008-07-24 13:46:50 +00:00
Moriyoshi Koizumi
e29684a2ce
- MFH: Added "mbstring.http_output_conv_mimetypes" INI directive.
2008-07-24 13:01:50 +00:00
Moriyoshi Koizumi
90f9a8e457
- Remove duplicated lines.
2008-07-22 09:18:30 +00:00
Moriyoshi Koizumi
69fa2e384a
- MFH: Bug #45572
2008-07-20 18:26:02 +00:00
Moriyoshi Koizumi
2392861770
- MFH: Fix ZTS build
2008-07-17 20:04:06 +00:00
Moriyoshi Koizumi
85d7751097
- Fix include_path.
2008-07-17 16:30:32 +00:00
Moriyoshi Koizumi
f78da21527
- MFH: Removed dependencies from php_mbregex to oniguruma types
2008-07-17 16:08:37 +00:00
Rui Hirokawa
0814d9e58a
revert my previous patch.
2008-07-16 22:56:56 +00:00
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
Moriyoshi Koizumi
a796dc2b81
- Forgot to add this one.
2005-02-20 22:20:23 +00:00
Moriyoshi Koizumi
5b5e012bc2
- Update libmbfl (fixes bug #30549 and #31911 ).
...
- Update oniguruma to 3.7.0
2005-02-20 22:18:09 +00:00
Ilia Alshanetsky
f257e10d48
Removed unused vars.
2005-02-10 14:11:06 +00:00
Antony Dovgal
f7326d6279
MFB: fix #31732
2005-01-28 02:00:39 +00:00
Moriyoshi Koizumi
b1ddbcbef9
- Fix a critical bug that request-local settings leak to another request.
2005-01-16 15:55:17 +00:00
Joe Orton
9a8114e388
Don't scribble over the stack; icc compiler warning fix
...
from dcb314@hotmail.com via Red Hat bugzilla #143795 .
2005-01-10 11:26:56 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Joe Orton
2685ca935f
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
...
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Moriyoshi Koizumi
a86095fe07
- Fix test. I have no idea why the test was left this way.
2004-10-09 08:16:29 +00:00
Moriyoshi Koizumi
4f247de89b
- Sync with the latest codebase (fixes bug #28220 ).
2004-10-08 14:40:46 +00:00
Moriyoshi Koizumi
756ee85bec
- Avoid doubly symbol definition. Codes in the removed file has never been
...
used anywhere.
2004-10-08 14:24:06 +00:00
Marcus Boerger
5f0433db83
MFB: Enforce protocol on magic methods/functions
2004-08-02 08:27:57 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Moriyoshi Koizumi
599ae4b1b5
- Fix VPATH build. (patch by Joe Orton)
2004-07-19 05:07:40 +00:00
Moriyoshi Koizumi
83d2cbd36e
- Rename php_compat.h to php_onig_compat.h to avoid name conflict.
...
(reported by Joe Orton, thanks.)
2004-07-19 05:04:33 +00:00
Stefan Esser
ff716cbd3e
Fixed input_filter functions need emalloc()ed values.
2004-06-26 07:57:37 +00:00
Moriyoshi Koizumi
b33f7ab671
- Fix bug #28466 (mbstring_convert_variables() problem).
2004-06-26 05:39:00 +00:00
Ilia Alshanetsky
af5501027f
Fixed bug #28723 (Fixed mbstring config.m4 to work on OSes where test
...
command does not support -e parameter).
2004-06-10 14:06:17 +00:00
Wez Furlong
a8757b11e6
Enable mbregex in win32 build
2004-04-08 11:01:51 +00:00
Moriyoshi Koizumi
d3a8b31310
- Add missing checks. Maybe fixes PR #27680
2004-04-08 00:30:06 +00:00
Moriyoshi Koizumi
94ec5c2a64
- Let it work safely
2004-04-04 19:23:19 +00:00
Derick Rethans
bebddbdd24
- Fixed test
2004-04-04 19:00:53 +00:00
Derick Rethans
efb62ea35f
- MFB: Fixed bug #27849 (configure craps out on trivial syntax error).
2004-04-03 17:23:53 +00:00
Rui Hirokawa
9018537919
added missing files of oniguruma to mbstring.dsp.
2004-03-27 10:51:34 +00:00
Ilia Alshanetsky
3787740cbc
Fixed compiler warning.
2004-03-12 01:59:46 +00:00
Moriyoshi Koizumi
e84334a597
- Revert ini setting patch, as I notified in
...
http://news.php.net/article.php?group=php.internals&article=8451
2004-03-10 20:55:42 +00:00
Derick Rethans
b3b2192a1e
- Added mb_list_encoding() to return an array with all mbstring supported
...
encodings.
2004-03-08 22:18:05 +00:00
Ilia Alshanetsky
02cdf5a87a
Fixed bug #27421 (mbstring.func_overload should be system ini setting).
2004-03-06 19:29:52 +00:00
Moriyoshi Koizumi
ab204a36e0
- Fix compiler warnings. (Patch by K.Kosako <kosako@sofnec.co.jp>)
2004-03-04 21:50:21 +00:00
Moriyoshi Koizumi
a91e44c830
- Add missing include path.
2004-03-03 10:27:19 +00:00
Moriyoshi Koizumi
9e9d7d1743
- proper DLL linkage specifier.
...
# oniguruma.h:34-
#
# #ifndef ONIG_EXTERN
# #if defined(_WIN32) && !defined(__CYGWIN__)
# #if defined(EXPORT) || defined(RUBY_EXPORT)
# #define ONIG_EXTERN extern __declspec(dllexport)
# #else
# #define ONIG_EXTERN extern __declspec(dllimport)
# #endif
# #endif
# #endif
2004-03-02 22:38:21 +00:00
Moriyoshi Koizumi
bc4d64477a
- Fix typo.
2004-03-02 20:18:14 +00:00
Moriyoshi Koizumi
1dfd0bd901
- Really fix the build.
...
# Should be fixed now :|
2004-03-02 15:59:30 +00:00
Moriyoshi Koizumi
e3b4faf793
- Revisit config.h for win32 build.
...
# apologies for messing.
2004-03-02 15:58:39 +00:00
Edin Kadribasic
f067c0479f
Temporary fix for win32 build
2004-03-02 11:50:10 +00:00
Moriyoshi Koizumi
03bdd13560
- Fix win32 build.
...
# Thanks Nuno Lopes & Derick for letting me know.
2004-03-01 20:25:33 +00:00
Moriyoshi Koizumi
f9302aca13
- Remove redundant files that are irrelevant to the build.
2004-02-28 20:52:05 +00:00
Moriyoshi Koizumi
f87f2ed4b4
- Forgot to add those.
2004-02-28 20:46:06 +00:00
Moriyoshi Koizumi
11b0f469f0
- Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi)
...
. Supports various encodings such as BIG5, GB2312 and ISO-8859-*
. Fixes bug #26677 (mbstring compile errors with IRIX)
. Many thanks to K.Kosako.
- Remove redundant files that are not relevant to the build.
2004-02-28 20:45:27 +00:00
Marcus Boerger
4a3c015dd7
Fix annoying warning
2004-02-04 23:41:58 +00:00
Moriyoshi Koizumi
24eb1f6eb2
- Update libmbfl to the latest. This fixes several serious issues in the html
...
entity encoder and the encoding detection facility. There should be no
problem with mailparse() as API change was made so carefully that it
would be as small as possible.
2004-02-04 07:24:08 +00:00
Moriyoshi Koizumi
b2402396a9
- Suppress a compiler warning by a rather useless typecasting.
2004-01-26 00:27:24 +00:00
Moriyoshi Koizumi
e226ed0e21
- Fix bug #26699 (mbstring encoding types does not include "binary").
2004-01-26 00:19:25 +00:00
Moriyoshi Koizumi
e4d90e60fc
- Turn off mbstring.func_overload as this test uses plain strlen() for
...
comparison.
2004-01-19 16:53:34 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
b8ea4e6fd2
Fix bug #26639 (mb_convert_variables() clutters variables beyond the references)
2003-12-18 09:50:20 +00:00
Moriyoshi Koizumi
c77302fd04
Eliminate compiler warnings.
2003-12-10 17:38:45 +00:00
Moriyoshi Koizumi
698ab70ae4
Remove leftover
2003-12-10 17:09:14 +00:00
Moriyoshi Koizumi
ed2fd39d0a
Avoid using non-portable test syntax. This was causing problems on
...
Solaris. (Reported by Uwe Schindler. Thanks!)
2003-12-08 07:18:20 +00:00
foobar
2e8b1c01fe
revert, not needed
2003-12-07 15:41:50 +00:00
Marcus Boerger
1ee7d70b9e
Enable shared build
2003-12-07 01:58:54 +00:00
Moriyoshi Koizumi
7d3e351383
This part is accidentially left on the previous commit.
2003-12-04 22:53:16 +00:00
Moriyoshi Koizumi
0d2c100a4f
It'd be a bad idea to make subpackages dependent on the php build system.
2003-12-04 22:49:46 +00:00
Wez Furlong
05b9b20ed8
Add new (optional!) win32 build infrastructure.
...
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
Wez Furlong
e68b2fa5fe
Fix MBSTRING_API for non-shared win32 builds
2003-12-02 08:54:39 +00:00
Marcus Boerger
71ec2db198
Fix tests
2003-11-30 13:20:26 +00:00
Derick Rethans
750b0338bf
- Fix sapi_input_filter patch. Returning 1 from the filter handler should
...
make PHP register the variable, returning 0 shouldn't. The new length of
the variables being filtered is now returned in the new_val_len argument
of the function.
2003-11-29 15:24:35 +00:00
Moriyoshi Koizumi
f8e6e5dad3
Compiler warning fix (patch by Joe Orton)
2003-11-11 17:35:32 +00:00
Rui Hirokawa
c4b163de88
encoding detection shouldn't be performed if mbstring.http_input is set to auto or any valid encoding.
2003-10-25 10:29:07 +00:00
Rui Hirokawa
0ce637835a
name/value in multipart/form-date will be converted into internal encoding when mbstring.encoding_translation is On.
2003-10-22 14:14:05 +00:00
Ilia Alshanetsky
980c3b2b4c
Fixed compile warnings.
2003-10-22 02:38:47 +00:00
foobar
d0422ea0bc
fix skipif for these tests
2003-10-02 14:55:49 +00:00
Moriyoshi Koizumi
a5422685fb
Remove leftovers
2003-10-02 11:02:54 +00:00
Moriyoshi Koizumi
f2b36ec52b
Fix php_regex_encoding() so it can handle two additional encoding names
...
mbfilter supports by default.
2003-10-02 07:49:14 +00:00
Moriyoshi Koizumi
07a021f477
Add test cases for the regex probles
2003-09-26 17:44:06 +00:00
Moriyoshi Koizumi
83609e0874
Repatch fixes for the problem that was reported at php-dev@php.gr.jp ( #884 )
2003-09-26 17:43:39 +00:00
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