Nikita Popov
9c73be898d
Directly accept encoding in php_unicode_convert_case()
...
As a side-effect mb_strtolower() and mb_strtoupper() now correctly
handle a NULL encoding parameter by using the internal encoding.
This is what caused the two test changes.
2017-07-19 23:59:42 +02:00
Nikita Popov
4cf22cbb2d
Optimize php_unicode_is_prop()
...
Do not try to extract the properties from a bitmask. Instead make
the function variadic and pass all properties individually.
Also add a php_unicode_is_prop1() function to check only a single
property.
2017-07-19 23:59:42 +02:00
Nikita Popov
dead4f0b1b
Avoid unnecessary encoding lookups in mbstring
...
Extract part of php_mb_convert_encoding that does the actual work
and use it whenever we already know the encoding.
2017-07-19 23:59:42 +02:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Ilia Alshanetsky
24e7e62307
Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly)
2008-11-24 21:23:03 +00:00
Moriyoshi Koizumi
d7594edaa0
- MFH: Fixed warnings.
2008-07-24 13:46:50 +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
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Rui Hirokawa
b9424cdfaf
MFH: fixed bug #29955 invalid case conversion in iso-8859-9.
2007-09-04 14:14:11 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Rui Hirokawa
4628a41c00
MFH: fixed #29955 mb_strtoupper() / lower() broken with Turkish encoding..
2005-12-23 15:18:52 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Moriyoshi Koizumi
de79a4e9d8
Reverted the changes because the problem was elsewhere.
2002-12-02 21:10:37 +00:00
Frank M. Kromann
a7f3ad42a4
Fixing build on WIn32
...
MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32
2002-12-02 18:19:17 +00:00
Edin Kadribasic
1eddce79dd
MFB (made mbstring compile on windows again).
2002-11-13 23:11:14 +00:00
Moriyoshi Koizumi
67e6c356f6
Fixed mb_convert_case() / mb_strtolower() / mb_strtoupper() to work in
...
64bit systems
2002-11-11 02:39:32 +00:00
Moriyoshi Koizumi
3bc01b5d0b
Modified mb_convert_case() to handle cased characters properly when MB_CASE_TITLE is specified.
2002-10-23 20:32:51 +00:00
Zeev Suraski
2c4b6fff6d
Fix warnings
2002-10-01 10:16:40 +00:00
Wez Furlong
1a87c6b5bf
(PHP mb_convert_case) Add function that will convert the case of a string
...
Respecting it's encoding (or the internal encoding).
2002-09-26 00:53:47 +00:00