Peter Kokot
37c329d715
Trim trailing whitespace in source code files
2018-10-13 14:17:28 +02:00
Christoph M. Becker
8a4c2f1621
Require ICU ≥ 50.1
...
Given that ICU is a set of lively developed libraries, that ICU 50.1
has been released on 2012-11-05, and PHP 7.4 is scheduled to be
released seven years after it, we consider it appropriate to ditch
these legacy versions.
Particularly, that would be a reasonable groundwork to implement part
two of the “Deprecate and remove INTL_IDNA_VARIANT_2003” RFC[1], namely
to default idn_to_ascii()'s and idn_to_utf8()'s $variant parameter to
INTL_IDNA_VARIANT_UTS46, which is not defined in ICU < 4.6.
See also the related discussion on internals@[2].
[1] <https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003 >
[2] <http://news.php.net/php.internals/101626 >ff
2018-09-15 13:59:54 +02:00
Anatol Belski
14de058086
Rethink conditions
...
Raise the requirement to ICU 56. Mixing both old and new normalizer APIs
would create too much complexity. Therefore go by the recommended ICU
version where all the normalizer API became stable. For the older ICU,
the deprecated normalizer API is used.
2018-04-06 21:33:13 +02:00
Anatol Belski
39301abbe1
Expose functionality for NFKC_Casefold normalization
2018-04-06 18:14:11 +02:00
Anatol Belski
f9a3519f41
Sync normalizer_get_raw_decomposition() to allow passing form
...
as it is the case with the other Normalizer methods.
2018-04-06 11:13:15 +02:00
Anatol Belski
36014ad23f
Replace the deprecated API by the newer one available with ICU 56+
2018-04-06 10:12:44 +02:00
Anatol Belski
13a5020f98
Check feature availability as ICU < 49 is still supported
2018-04-05 18:08:49 +02:00
Anatol Belski
9a8e7b5718
Use recommended way to handle utf*.h headers and obsolete symbols
2018-04-05 17:22:44 +02:00
Paul Crovella
b873d3c288
Add normalizer_get_raw_decomposition function
...
Implements #76111 https://bugs.php.net/bug.php?id=76111
2018-03-22 23:27:39 +01:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Fabien Villepinte
f05d74feb8
Fixed bug #74433 Wrong reflection on the Normalizer methods
2017-04-13 13:21:05 +01:00
Dmitry Stogov
f7b6de5b5e
Cleanup (avoid string reallocations)
2015-07-01 13:26:39 +03:00
Lior Kaplan
a4384bd3d4
s/PHP Version 5/PHP Version 7/g
...
Follow up for d0cb7153
2015-03-13 11:09:42 +02: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
Anatol Belski
6db8d4f829
's' works with size_t round 3
2014-08-27 20:49:36 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +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
Xinchen Hui
e4e9e80067
Fixed segfault while starting up
2014-06-28 20:14:12 +08:00
Xinchen Hui
4fbaddb4f8
Refactoring ext/intl (incompleted)
2014-06-28 00:02:50 +08:00
Gustavo André dos Santos Lopes
dec7bad635
Merge branch '5.3' into 5.4
...
* 5.3:
Limit test to ICU 49
Remove executable bit from files
2012-07-30 10:31:10 +02:00
Gustavo André dos Santos Lopes
9762609cec
Remove executable bit from files
2012-07-30 10:25:17 +02:00
Marc Easen
896ac689c9
Fixed the common misspelling of the word occurred (occured -> occurred)
2012-06-30 16:54:03 -07:00
Felipe Pena
13eb47a8bc
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
783b05326a
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
8b27b6d559
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Felipe Pena
d8f08192ef
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Johannes Schlüter
26b08f9857
Remove main/php3_compat.h, for that a few references to function_entry
have
...
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Stanislav Malyshev
882a89fb22
cleanup some code, improve error handling
2009-12-23 21:41:05 +00:00
Stanislav Malyshev
baaec77e78
clean up normalizer code
2009-12-21 20:12:46 +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
Felipe Pena
eb1837d9de
MFH:
...
- Added arginfo
- Fixed WS
- Changed C++ comments to C comments
2008-08-11 19:48:00 +00:00
Stanislav Malyshev
0d16b1516b
Merge intl extension into core
2008-07-07 22:51:04 +00:00