Remi Collet
664b1a3f57
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
2019-09-10 16:29:30 +02:00
Remi Collet
c43fc204b1
Raise minimal GCC version,
...
Test with 4.8 is OK
With 4.4: error: #pragma GCC diagnostic not allowed inside functions
2019-09-10 16:28:35 +02:00
Christoph M. Becker
c9d31941e4
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods for clang
2019-08-23 12:21:57 +02:00
Christoph M. Becker
ff7029b65b
Suppress deprecation warning on IDNA2003 ICU methods for clang
2019-08-23 12:18:58 +02:00
Sara Golemon
a192499d2a
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods
2019-08-16 12:41:02 -04:00
Sara Golemon
725f439778
Suppress deprecation warning on IDNA2003 ICU methods
2019-08-16 12:40:20 -04:00
Sara Golemon
9b9814fa77
Revert "Move to non deprecated API on suitable ICU versions"
...
This reverts commit 13a2f2d041
.
The APIs used by this commit aren't entirely equivalent to the original ones.
2019-08-16 11:39:05 -04:00
Nikita Popov
9f4ec45aa6
Remove invalid free
...
The initialization of buffer has been moved further down in 7.3,
so this free is no longer legal.
2018-09-18 12:38:46 +02:00
Anatol Belski
4a43e5fb4f
Improve fix for bug #76829
2018-09-01 01:12:06 +02:00
Anatol Belski
b9ca573a1b
Fixed bug #76829 Incorrect validation of domain on idn_to_utf8() function
...
As stated by RFC 5890, U-Labels might be up to 252 Unicode code points
long. This can be fixed in 7.1+ as well, but there might potentially be
issues in some existing apps expecting the output to be max 255 octets
long. Thus it seems to be safer to not to touch stable branches.
2018-09-01 00:14:23 +02:00
Peter Kokot
8d3f8ca12a
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Dmitry Stogov
265c3ed6cf
Fixed incorrrecr zval_dtor() usage to replace value of argument passed by reference, that may lead to memory leaks.
2018-07-05 10:57:49 +03:00
Dmitry Stogov
524f5245c5
Avoid useless checks, using zend_string_efree(), in cases where the string is known to be a temporary allocated zend_string.
2018-05-08 17:30:15 +03:00
Anatol Belski
13a2f2d041
Move to non deprecated API on suitable ICU versions
2018-04-05 13:58:03 +02:00
Anatol Belski
119be77051
Reduce var scope
2018-02-16 12:52:59 +01:00
Christoph M. Becker
6cfbb7f9bd
Deprecate INTL_IDNA_VARIANT_2003
...
As of ICU 55.1 the IDNA2003 APIs are deprecated, so we're deprecating
INTL_IDNA_VARIANT_2003 as well, according to
https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003 .
2017-01-31 12:16:29 +01:00
Sara Golemon
77becd0865
Correct function protos in intl/idn
2016-12-27 22:52:26 -08:00
Sara Golemon
3e4b74dc9f
Use zend_string in intl/idn
2016-12-27 22:47:16 -08:00
Sara Golemon
23b484cfe1
Simplify error path in intl/idn
2016-12-27 22:37:29 -08:00
Christoph M. Becker
5fbcc2b90f
Merge branch 'PHP-5.6' into PHP-7.0
...
# Resolved conflicts:
# ext/intl/idn/idn.c
2016-07-12 14:52:23 +02:00
Christoph M. Becker
76e249d31c
Partially fix #72506 : idn_to_ascii for UTS #46 incorrect for long domain names
...
We don't actually fix this issue wrt. the empty $info array, because it is
not clear what this array should contain and we're concerned about the
potential BC break, but at least we fix the inconsistent handling of
resulting domains with 255 bytes (which raise an error), and longer domains
(which just return FALSE), what has to be considered a very minor BC break
if at all.
2016-07-12 14:47:14 +02:00
Dmitry Stogov
f7b6de5b5e
Cleanup (avoid string reallocations)
2015-07-01 13:26:39 +03:00
Dmitry Stogov
4a2e40bb86
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
2015-06-30 04:05:24 +03:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Stanislav Malyshev
82f3d36583
cleanup intl types
2014-12-29 14:06:12 -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
Dmitry Stogov
3bc8a958c5
Fixed useless or duplicated IS_INTERNED() checks
2014-09-19 15:41:01 +04:00
Anatol Belski
6db8d4f829
's' works with size_t round 3
2014-08-27 20:49:36 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
063079b62e
ported ext/intl, bugfixes to go
2014-08-19 22:57:17 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Dmitry Stogov
3ad4a8a5fa
Separate argument passed by reference
2014-07-08 16:40:26 +04:00
Dmitry Stogov
424894de02
Fixed compilation problems
2014-06-30 18:08:16 +04:00
Xinchen Hui
b6e9c76d67
Refactoring ext/intl (only compilerable now, far to finish :<)
2014-06-28 12:20:35 +08:00
Gustavo André dos Santos Lopes
5b383dacdf
- Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c
2011-11-24 22:45:50 +00:00
Gustavo André dos Santos Lopes
fa4fe63944
- Support for UTS #46 .
2011-11-24 17:54:50 +00:00
Felipe Pena
463de70efd
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Stanislav Malyshev
882a89fb22
cleanup some code, improve error handling
2009-12-23 21:41:05 +00:00
Stanislav Malyshev
387fbb2d4e
fix protos
2009-07-06 23:48:27 +00:00
Hannes Magnusson
64e4c69090
fix proto
...
# Why doesn't this exist in HEAD?
2009-05-10 13:26:38 +00:00
Pierre Joye
503779eb17
- [DOC] add IDN support, idn_to_ascii and idn_to_utf8
...
tests and MFB will follow Wednesday
2009-01-26 22:30:57 +00:00