Anatol Belski
9f4905fb0d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix memory leak
2018-04-12 18:25:58 +02:00
Anatol Belski
5fe6d2134b
Fix memory leak
2018-04-12 18:25:27 +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
Anatol Belski
863aeddc35
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Group common flags
2018-04-05 16:46:34 +02:00
Anatol Belski
e01f88df7c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Group common flags
2018-04-05 16:45:41 +02:00
Anatol Belski
09d7ffabcd
Group common flags
2018-04-05 16:44:12 +02:00
Anatol Belski
df2e4fd8fc
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Rename var
2018-04-05 14:56:45 +02:00
Anatol Belski
7768f5e2de
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Rename var
2018-04-05 14:54:14 +02:00
Anatol Belski
ed5aabe8b7
Rename var
2018-04-05 14:52:40 +02:00
Anatol Belski
13a2f2d041
Move to non deprecated API on suitable ICU versions
2018-04-05 13:58:03 +02:00
Anatol Belski
08178ed231
Use recommended options for explicit UnicodeString constructors
2018-04-05 13:09:42 +02:00
Anatol Belski
917b3e716a
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix shared ext/intl compilation
Better explanation for the opcache.max_wasted_percentage ini setting since it was pretty confusing before
2018-04-03 10:44:01 +02:00
Anatol Belski
22e8a3c347
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix shared ext/intl compilation
2018-04-03 10:43:17 +02:00
Anatol Belski
2bd299f731
Fix shared ext/intl compilation
2018-04-03 10:42:14 +02:00
Anatol Belski
d8200e4885
Simplify namespace access
...
The icu namespace is an alias which resolves to the real namespace.
2018-04-01 01:03:40 +02:00
Anatol Belski
8d35a42383
Utilize the recommended way to handle the icu namespace
2018-03-31 18:51:56 +02:00
Anatol Belski
cad2a0f9c3
Revert the automatic namespace addition
2018-03-31 18:51:56 +02:00
Anatol Belski
ef85100169
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix clang build, ref buf #76153
2018-03-30 14:17:34 +02:00
Anatol Belski
35e3d597f5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix clang build, ref buf #76153
2018-03-30 14:16:44 +02:00
Anatol Belski
8b104d7893
Fix clang build, ref buf #76153
...
Clang only allows -std=c++11 for C++ source.
2018-03-30 14:14:35 +02:00
Anatol Belski
a6ac5699b6
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Adjust tests for ICU 61.1 compatibility
2018-03-29 14:14:29 +02:00
Anatol Belski
9510611cdd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Adjust tests for ICU 61.1 compatibility
2018-03-29 14:13:48 +02:00
Anatol Belski
398f56dbc8
Adjust tests for ICU 61.1 compatibility
2018-03-29 14:12:19 +02:00
Anatol Belski
3f8d05b16c
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #76153 Intl compilation fails with icu4c 61.1
2018-03-28 18:05:22 +02:00
Anatol Belski
4e39968e4d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76153 Intl compilation fails with icu4c 61.1
2018-03-28 18:04:09 +02:00
Anatol Belski
710284cbc4
Fixed bug #76153 Intl compilation fails with icu4c 61.1
...
Additionally, ICU >= 59.1 requires C++11, so add the flags. Some
refactoring is needed to comply with the latest recommended build
options, such as automatic icu namespace addition.
2018-03-28 18:01: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
Gabriel Caruso
701437a948
Remove return types from some magic method in protos
...
__construct, __destruct, __wakeup does not have return types defined.
2018-03-09 12:04:46 +01:00
Christoph M. Becker
a98eb1ec2c
[ci skip] Fix reference notation in protos
2018-03-06 13:22:39 +01:00
Gabriel Caruso
b47b3596ef
[ci skip] Use float instead of double in proto
2018-03-06 13:16:18 +01:00
Gabriel Caruso
1314f0fb3a
Use int instead of long in protos
2018-02-23 11:06:20 +01:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Anatol Belski
298de027d6
Reduce struct size by 8 bytes on 64-bit
2018-02-19 10:12:46 +01:00
Gabriel Caruso
079598a85d
Use zend_parse_parameters_none_throw
2018-02-18 09:36:35 +01:00
Anatol Belski
325934c057
Simplify declaration
2018-02-16 15:44:41 +01:00
Anatol Belski
1c68f54684
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Wrap var depending on conditional compilation
2018-02-16 13:42:04 +01:00
Anatol Belski
4800a95e72
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Wrap var depending on conditional compilation
2018-02-16 13:41:13 +01:00
Anatol Belski
da0ed5cdb1
Wrap var depending on conditional compilation
2018-02-16 13:40:44 +01:00
Anatol Belski
e5db3054a1
Fix duplicated strlen call
2018-02-16 12:52:59 +01:00
Anatol Belski
3f4598ec51
Remove unnecessary conditions and improve assignment
2018-02-16 12:52:59 +01:00
Anatol Belski
9e5595ef38
Reduce var scope
2018-02-16 12:52:59 +01:00
Anatol Belski
119be77051
Reduce var scope
2018-02-16 12:52:59 +01:00
Anatol Belski
0e52da475a
Reduce variable scope
2018-02-16 12:52:58 +01:00
Anatol Belski
27908bace1
Reduce variable scope
2018-02-15 21:34:55 +01:00
Anatol Belski
646dad6160
Use explicit for more type safety
2018-02-15 21:30:16 +01:00