Pierre Joye
b4769b1946
- add skipif
2011-09-06 06:44:59 +00:00
Stanislav Malyshev
8d4848f3d3
fix test
2011-09-04 05:00:30 +00:00
Stanislav Malyshev
9b9ab11e8f
fix test
2011-09-04 05:00:30 +00:00
Stanislav Malyshev
7f6f4cc587
test fixes
2011-09-04 04:57:01 +00:00
Stanislav Malyshev
19cbfb42f6
test fixes
2011-09-04 04:57:01 +00:00
Rui Hirokawa
3826549770
MFH: added alias for *-mobile encodings.
2011-08-31 13:19:03 +00:00
Rui Hirokawa
ad24758ee9
added alias for *-mobile encodings.
2011-08-31 13:18:44 +00:00
Rui Hirokawa
402c8cb70e
MFH: reduced footprint for sjis-mac
2011-08-28 04:32:33 +00:00
Rui Hirokawa
30f0f5e41c
reduced footprint for sjis-mac
2011-08-28 04:32:22 +00:00
Rui Hirokawa
4a53bdab0b
MFH: corrected valid unicode area.
2011-08-27 01:25:24 +00:00
Rui Hirokawa
60d5ac840c
corrected valid unicode area.
2011-08-27 01:25:10 +00:00
Rui Hirokawa
d19bfc5d82
MFH: update pua conversion tables.
2011-08-27 00:08:02 +00:00
Rui Hirokawa
e20f46a43e
update pua conversion tables.
2011-08-27 00:07:20 +00:00
Rui Hirokawa
942dd584d3
MFH: added iso2022jp-mobile and emoji unsuppoted in unicode 6.0.
2011-08-24 15:29:17 +00:00
Rui Hirokawa
4122ef275c
added iso2022jp-mobile and emoji unsuppoted in unicode 6.0.
2011-08-24 15:28:44 +00:00
Pierre Joye
60dd9e0bd9
- fix typo & build
2011-08-22 07:39:09 +00:00
Pierre Joye
1d4f05bb31
- fix typo & build
2011-08-22 07:39:09 +00:00
Rui Hirokawa
84ee3a19db
MFH: cleanup jisx0213 table.
2011-08-21 05:02:33 +00:00
Rui Hirokawa
a56532a4ae
cleanup jisx0213 table.
2011-08-21 05:02:21 +00:00
Rui Hirokawa
80c431e00c
MFH: speed improvement of jisx0213 conversion.
2011-08-21 02:23:33 +00:00
Rui Hirokawa
61dae0f7e3
speed improvement of jisx0213 conversion.
2011-08-21 02:22:53 +00:00
Rui Hirokawa
e2ccaeb9a6
MFH: removed SJIS-Mobile#*PUA.
2011-08-20 08:28:40 +00:00
Rui Hirokawa
dcf0dfb9ab
removed SJIS-Mobile#*PUA.
2011-08-20 08:27:57 +00:00
Rui Hirokawa
d6303c7962
MFH: updated limbfl to 1.3.2
2011-08-20 07:29:21 +00:00
Rui Hirokawa
c746cf5dc9
updated libmbfl to 1.3.2 (JISX-0213:2004 support).
2011-08-20 07:24:04 +00:00
Rui Hirokawa
bbdf05c1ed
MFH: added gb18030 encoding to mbstring/libmbfl.~
2011-08-14 14:11:29 +00:00
Rui Hirokawa
484e6b8fb3
added gb18030 encoding to mbstring/libmbfl.~
2011-08-14 14:09:11 +00:00
Rui Hirokawa
780d4996f6
MFH:
2011-08-13 13:19:18 +00:00
Rui Hirokawa
b371e0d1fd
fixed compile warning.
2011-08-13 13:17:36 +00:00
Rui Hirokawa
1ec46d3fe3
fixed win32 build.
2011-08-13 12:53:40 +00:00
Rui Hirokawa
360d18c479
added UTF-8-Mobile for pictogram support.
2011-08-13 12:44:28 +00:00
Pierrick Charron
1a41799226
Remove unused variable
2011-08-10 01:12:52 +00:00
Pierrick Charron
2603ceb0b1
Remove unused variable
2011-08-10 01:12:52 +00:00
Rui Hirokawa
ee0bb4d413
MFH: reduced memory footprint for codepages.
2011-08-08 16:15:39 +00:00
Rui Hirokawa
fee9fe0334
reduced memory footprint for codepages.
2011-08-08 16:14:30 +00:00
Pierrick Charron
caff611cf3
Remove unused variables
2011-08-07 06:37:22 +00:00
Pierrick Charron
e03d19a00e
Remove unused variables
2011-08-07 06:37:22 +00:00
Rui Hirokawa
274799678f
MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS.
2011-08-06 15:24:31 +00:00
Rui Hirokawa
bc514c8339
changed mapping of 0xa5 for SJIS-mac to prevent security attack.
2011-08-06 15:23:06 +00:00
Rui Hirokawa
786d8e7bc2
MFH: fixed encoding conversion when http_input=auto.
2011-08-06 12:19:33 +00:00
Rui Hirokawa
fc3e0ff1ec
fixed encoding conversion when http_input=auto.
2011-08-06 12:19:16 +00:00
Rui Hirokawa
5709c83d93
MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation.
2011-08-06 04:28:26 +00:00
Rui Hirokawa
70eb1c1267
improved error handling for ill-formed utf-8 based on the Unicode recommendation.
2011-08-06 04:25:44 +00:00
Rui Hirokawa
d322b26fb4
MFH: added ill-formed utf-8 check for 0xEDXXXX.
2011-08-06 02:22:38 +00:00
Rui Hirokawa
b3414d3c02
added ill-formed utf-8 check for 0xEDXXXX.
2011-08-06 02:22:15 +00:00
Rui Hirokawa
7bc77208f3
MFH (updated libmbfl version to 1.3.1).
2011-08-06 01:49:10 +00:00
Rui Hirokawa
2bc6bcb96e
updated libmbfl version to 1.3.1.
2011-08-06 01:48:45 +00:00
Rui Hirokawa
1be5479980
MFH (added check for invalid utf-8 encoding).
2011-08-05 04:34:16 +00:00
Rui Hirokawa
5bd3e8324d
added check for invalid utf-8 encoding (merge from libmbfl-1.3.1).
2011-08-05 04:28:24 +00:00
Rui Hirokawa
7819bb79c7
MFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based on Unicode 5.2.
2011-08-04 12:51:40 +00:00
Rui Hirokawa
bab1e815d2
removed invalid 5,6 byte encoding from utf-8 based on Unicode 5.2.
2011-08-04 12:11:04 +00:00
Rui Hirokawa
99a4948062
MF PHP_5_4.
2011-08-03 12:09:28 +00:00
Rui Hirokawa
bf6827697b
fixed error handling on SJIS_Mobile (for SB/KDDI).
2011-08-03 11:55:43 +00:00
Rui Hirokawa
1735305f34
fixed error handling on SJIS_Mobile.
2011-08-03 11:51:08 +00:00
Rui Hirokawa
c5a650e815
MFH (updated libmbfl for 1.3.0.).
2011-08-02 03:50:10 +00:00
Rui Hirokawa
5771c1fb86
added version number of libmbfl.
2011-08-02 03:18:53 +00:00
Rui Hirokawa
52948b534c
added new files of libmbfl 1.3.0.
2011-08-02 02:50:11 +00:00
Rui Hirokawa
17dc1d2610
updated libmbfl for version 1.3.0.
2011-08-02 02:42:41 +00:00
Stanislav Malyshev
3b7cdd0227
fix failing tests
2011-08-01 01:00:57 +00:00
Stanislav Malyshev
553a08c4e1
fix failing tests
2011-08-01 01:00:57 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Rui Hirokawa
b150a6db24
added numeric entities encode/decode in hex format.
2011-07-18 08:36:17 +00:00
Rui Hirokawa
f191ecaa9c
added numeric entities encode/decode in hex format.
2011-07-18 08:21:48 +00:00
Felipe Pena
907fd926e5
- Restore basename in filename on non Windows OS
2011-06-12 15:15:44 +00:00
Felipe Pena
2997719120
- Restore basename in filename on non Windows OS
2011-06-12 15:15:44 +00:00
Gustavo André dos Santos Lopes
f2cfb997de
- Fixed bug #54494 : mb_substr() mishandles UTF-32LE and UCS-2LE.
2011-04-09 16:59:36 +00:00
Gustavo André dos Santos Lopes
db01e840c2
- Fixed bug #54494 : mb_substr() mishandles UTF-32LE and UCS-2LE.
2011-04-09 16:59:36 +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
0413cf5b48
XFAIL these for the moment, Kalle totally broke these in 298241
...
when removing register_globals
2011-02-03 17:07:48 +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
927bf09c29
- Year++
2011-01-01 02:19:59 +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
Pierre Joye
aea6771d19
- add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :)
2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
2010-12-11 22:18:10 +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
Moriyoshi Koizumi
aef6ac02f5
- Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter).
2010-11-09 03:23:04 +00:00
Moriyoshi Koizumi
89d372ba27
- Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter).
2010-11-09 03:23:04 +00:00
Patrick Allaert
817776d1b9
- Fixed tests not passing under windows because of the directory separator
...
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert
e2e76d40e3
- Fixed tests not passing under windows because of the directory separator
...
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Gustavo André dos Santos Lopes
99807e9a72
- Moved ucgendat.c to a separate directory and included the
...
OpenLDAP license there, as required by the license itself.
2010-10-05 02:34:35 +00:00
Gustavo André dos Santos Lopes
b3a3c8f7a6
- Moved ucgendat.c to a separate directory and included the
...
OpenLDAP license there, as required by the license itself.
2010-10-05 02:34:35 +00:00
Gustavo André dos Santos Lopes
42dae97fd4
- Fixed bug #52981 (Unicode casing table was out-of-date).
...
Updated with UnicodeData-6.0.0d7.txt and included the
source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
2010-10-05 01:54:17 +00:00
Gustavo André dos Santos Lopes
7e61cffb0d
- Fixed bug #52981 (Unicode casing table was out-of-date).
...
Updated with UnicodeData-6.0.0d7.txt and included the
source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
2010-10-05 01:54:17 +00:00
Felipe Pena
a9953ca3d4
- Fixed bug #52931 (strripos not overloaded with function overloading enabled)
2010-09-27 23:09:00 +00:00
Felipe Pena
2cd1661e2d
- 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
Pierre Joye
329cab2942
- restore credits, fix 5.3 as well, aka do it right /cc Deric
2010-09-05 14:38:35 +00:00
Pierre Joye
84d1c12b92
- restore credits, fix 5.3 as well, aka do it right /cc Deric
2010-09-05 14:38:35 +00:00
Derick Rethans
edfc45507a
- Turn test-description into on line.
2010-09-05 08:46:41 +00:00
Adam Harvey
c783495edf
Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header).
2010-08-25 06:07:22 +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
Rob Richards
0a34d10783
revert change #298288 : Remove old dsp/dsw/makefile files
2010-04-28 14:41:51 +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
518a17e7bf
Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions
2010-04-21 23:36:49 +00:00
Pierrick Charron
508cfb7210
Remove unused variable
2010-04-21 16:00:46 +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
Ilia Alshanetsky
1b8b6d931a
MFB: Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)
2010-04-12 14:05:00 +00:00
Ilia Alshanetsky
213e155713
Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)
2010-04-12 14:04:45 +00:00
Rob Richards
da538251c1
- Fix win32 build.
2010-03-15 16:20:19 +00:00
Moriyoshi Koizumi
82fd4858b8
- Fix win32 build. (notified by Rob. Thanks)
2010-03-15 14:19:51 +00:00
Moriyoshi Koizumi
ea539c8b88
- Update the bundled libmbfl to the latest on upstream.
2010-03-12 04:55:37 +00:00
Moriyoshi Koizumi
24829e8d4e
- Merge from upstream (note: this is no behavioral change, so need not to be
...
merged to 5.3.2 branch)
2010-02-28 09:33:05 +00:00
Moriyoshi Koizumi
817ab0c34d
- Whitespaces.
2010-02-28 07:49:36 +00:00
Scott MacVicar
ac09f82940
mbstring filter files were referenced but never actually compiled
2010-02-16 09:46:06 +00:00
Scott MacVicar
da727ba343
Building libmbfl seperately fails since the shared library version is an API reference rather than a version number
2010-02-16 09:35:31 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Rasmus Lerdorf
5a2b41a627
Someone strap down Jani and give him a sedative please.
...
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Rasmus Lerdorf
188f1abfd4
Fix bug #50115
2009-11-08 15:18:10 +00:00
Felipe Pena
99497dea70
- Added SKIPIF
2009-11-08 15:02:54 +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
Moriyoshi Koizumi
6a0402413d
- Looks like bug #48697 has already been fixed in RC1.
2009-09-14 04:11:29 +00:00
Moriyoshi Koizumi
8f9acfedb3
- Fix bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on.)
...
(patch by komura, thanks!)
2009-09-11 21:26:18 +00:00
Moriyoshi Koizumi
b39126de9a
- Fix bug #49528 (UTF-16 strings prefixed by BOM wrongly converted).
2009-09-11 08:22:19 +00:00
Zoe Slattery
4cc35aeaaf
The last of the 2009 testfest tests
2009-08-30 18:18:50 +00:00
Moriyoshi Koizumi
7ce2bff511
* Fix bug #48645 (mb_convert_encoding() doesn't understand hexadecimal html-entities)
2009-07-29 04:44:08 +00:00
Moriyoshi Koizumi
4390903e75
- MFH (using svn merge; it seems I won't need to repeat the commit message anymore)
2009-07-24 23:48:58 +00:00
Felipe Pena
4f0c8ef124
- MFH: New tests (WurzbrugUG testfest)
2009-07-07 01:17:46 +00:00
Kalle Sommer Nielsen
5c2a979522
MFH: Fixed static build of mbstring on Windows (makes static build of exif possible too)
2009-06-12 16:15:51 +00:00
andy wharmby
c0977c826e
Fix test - remove bogus variation
2009-06-09 20:18:31 +00:00
Matt Wilmas
d55300298e
MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe
2009-06-05 18:50:32 +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
Jani Taskinen
353b8844bf
ws
2009-04-20 15:39:48 +00:00
Moriyoshi Koizumi
ff16122cce
- MFH: just a paranoiac test. This works perfectly.
2009-04-16 02:07:20 +00:00
Pierre Joye
689c2f9ab2
- fix build, add new cp850 file
2009-03-20 18:42:02 +00:00
Moriyoshi Koizumi
8ae17615d7
- Add support for CP850 encoding (patch by Denis Giffeler)
2009-03-18 17:44:25 +00:00
Moriyoshi Koizumi
115b041861
- MFH: Synching .dsp file (I am not sure whether I really should do this)
2009-03-18 17:34:27 +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
823679162d
- MFH: strictly check UTF-8 and UTF-32 validity
2009-02-24 13:19:09 +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
Antony Dovgal
8ac1ea9b5e
remove XFAIL
2009-02-17 10:08:25 +00:00
Moriyoshi Koizumi
06d949ac11
- Test.
2009-02-16 02:10:45 +00:00
Moriyoshi Koizumi
d8c6fecca3
- MFH: Fix bug #47399 (mb_check_encoding() return true for some illegal SJIS
...
charcters)
2009-02-16 01:57:37 +00:00
Moriyoshi Koizumi
9140aca7a8
- These should have been in the previous commit.
2009-02-15 07:18:30 +00:00
Moriyoshi Koizumi
446a165f34
- Forgot to include these files.
2009-02-15 07:11:04 +00:00
Moriyoshi Koizumi
b2b61661ed
- MFH: Refix bug #43840 .
...
- MFH: Fix bug #43841 .
- MFH: Remove redundant trailing dots from the error messages.
- MFH: Fix tests.
2009-02-15 07:10:29 +00:00
Moriyoshi Koizumi
88eac1503a
- MFH: prevent unwanted overflow
2009-02-14 08:16:05 +00:00