Felipe Pena
2997719120
- Restore basename in filename on non Windows OS
2011-06-12 15:15:44 +00:00
Dmitry Stogov
bbc879b587
Fixed multibyte related issues
2011-03-14 16:00:59 +00:00
Moriyoshi Koizumi
b2ddc6de23
Fix ZTS build.
2011-03-06 07:06:55 +00:00
Moriyoshi Koizumi
cdb9ee0d1a
Fix zend.multibyte oddities. Hope this will address all the known problems.
2011-03-06 07:00:30 +00:00
Scott MacVicar
c10b7e3ac2
Fix crash with mbstring, this probably isn't the correct behaviour but 272/276 of the tests pass after this.
...
When mbstring.language is unset, it ends up being mbfl_no_language_neutral and there is no default when setting the encoding.
internal_encoding and current_internal_encoding then end up being null.
2011-01-27 11:47:31 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Rui Hirokawa
7f055f54a2
fixed compile error with VS2008.
2010-12-20 14:38:08 +00:00
Moriyoshi Koizumi
7cbe5f164a
WS
2010-12-19 17:28:57 +00:00
Moriyoshi Koizumi
bbf3d43c1e
* Refactor zend_multibyte facility.
...
Now mbstring.script_encoding is superseded by zend.script_encoding.
2010-12-19 16:36:37 +00:00
Dmitry Stogov
755c2cd0d8
Removed compile time dependency from ext/mbstring
2010-12-08 11:27:34 +00:00
Dmitry Stogov
ab93d8c621
Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
2010-11-24 05:41:23 +00:00
Felipe Pena
a9953ca3d4
- Fixed bug #52931 (strripos not overloaded with function overloading enabled)
2010-09-27 23:09:00 +00:00
Rui Hirokawa
bd526e47f5
fixed compilation error.
2010-09-19 01:28:32 +00:00
Adam Harvey
45960c9030
Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header).
2010-08-25 06:07:22 +00:00
Dmitry Stogov
eea8fc6122
Reduced overhead of request startup
2010-07-08 07:40:02 +00:00
Dmitry Stogov
b65f1dae41
Reduced overhead of ext/mbstring initialization
2010-07-05 12:03:08 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Kalle Sommer Nielsen
febee11285
Removed register_globals
2010-04-21 01:27:22 +00:00
Dmitry Stogov
453b49ed20
Added a number of small performance tweaks and optimizations
...
. ZEND_RECV now always has IS_CV as its result
. ZEND_CATCH now has to be used only with constant class names
. ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
2010-04-20 11:16:39 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Moriyoshi Koizumi
0c974164e2
- Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
...
multibyte character).
(This bug was introduced by the commit by r202895. Please double-check the
specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Antony Dovgal
988b89aaa3
MFH: fix compile warnings
2009-05-27 13:42:17 +00:00
Jani Taskinen
068d240da5
- Fixed bug #48200 (compile failure with mbstring.c when --enable-zend-multibyte is used)
2009-05-10 21:04:46 +00:00
Jani Taskinen
33bec1ecb2
- Sync with HEAD (just reorder to match HEAD order)
2009-04-20 16:07:59 +00:00
Moriyoshi Koizumi
716d2c9123
- MFH: Fix a bug that mbstring.internal_encoding doesn't take effect within
...
the request encoding converter.
2009-03-15 20:42:56 +00:00
Ilia Alshanetsky
483d9636e9
Improve parameter parsing code
2009-03-06 15:48:30 +00:00
Moriyoshi Koizumi
c7cebbf75f
- MFH: Add an entry for http_output_conv_mimetypes to the output of
...
mb_get_info(). (patch by T. Komura, thanks!)
2009-02-17 16:29:59 +00:00
Moriyoshi Koizumi
446a165f34
- Forgot to include these files.
2009-02-15 07:11:04 +00:00
Moriyoshi Koizumi
9d7250d455
- MFH: fix Bug #45923 (mb_st[r]ripos() offset not handled correctly)
2009-02-14 07:34:15 +00:00
Ilia Alshanetsky
fbb1927626
Improved param parsing
2009-02-11 14:26:24 +00:00
Ilia Alshanetsky
2d38e255a6
Initialize optional var
2009-02-09 15:34:01 +00:00
Scott MacVicar
0937041375
MFB Fix bug #47245 - Double free in mb_detect_encoding()
2009-01-29 22:59:57 +00:00
Antony Dovgal
dc7aa2a949
fix memleaks correctly and make valgrind happy
2009-01-05 09:14:58 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
9212a9584e
- MFH: Bug #46763 (mb_stristr() wrong output when needle does not exist) (patch by Henrique M. Decaria)
2008-12-30 02:17:30 +00:00
Felipe Pena
2f2fb609df
- MFH: Fixed memory leaks
2008-12-27 13:32:24 +00:00
Felipe Pena
84c12b2df4
- MFH: Fixed memory leak
2008-12-25 19:30:47 +00:00
Scott MacVicar
7877cbdcfc
MFH Fix bug #46738 - Segfault when mb_detect_encoding() fails.
2008-12-11 02:56:45 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Moriyoshi Koizumi
111d815b41
- MFH: Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
...
(noticed by Antony. Thanks!)
2008-09-13 19:53:01 +00:00
Moriyoshi Koizumi
b8e81fd0a7
- MFH: mb_list_*() issue settlements
2008-09-13 00:30:51 +00:00
Moriyoshi Koizumi
6c8d64f6b4
- MFH: use memcmp() for binary safety.
2008-09-12 23:35:01 +00:00
Ilia Alshanetsky
66ec2ac601
Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding())
2008-09-10 23:19:38 +00:00
Felipe Pena
d79b879927
- New parameter parsing API (for mb_convert_variables())
2008-08-18 00:37:16 +00:00
Nuno Lopes
65b1e128a9
MFH: fix build when pcre is not present
2008-08-11 15:42:35 +00:00
Moriyoshi Koizumi
970e00aeeb
- MFH: More fixes for bug #45691
2008-08-04 21:06:13 +00:00
Jani Taskinen
fdbb8c2694
MFH: no c++ comments in c files
2008-08-03 11:58:15 +00:00
Moriyoshi Koizumi
9ec7f49d5b
- MFH: Forgot to take account of the case when mbstring.language is processed
...
afterwards.
2008-08-03 00:04:17 +00:00