summaryrefslogtreecommitdiff
path: root/ext/intl
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #78804 - Segmentation fault in Locale::filterMatchesStanislav Malyshev2019-11-112-2/+15
|
* Split intl tests for ICU 65Christoph M. Becker2019-10-044-0/+1559
|
* Fix hash key length in umsg_parse_format()Jinesh Patel2019-09-251-3/+3
| | | | | Fix array length passed to zend_hash_str_find_ptr() casting from UChar array to char array requires mul by sizeof(UChar).
* Raise minimal GCC version,Remi Collet2019-09-101-2/+2
| | | | | Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
* Suppress deprecation warning on IDNA2003 ICU methods for clangChristoph M. Becker2019-08-231-2/+7
|
* Suppress deprecation warning on IDNA2003 ICU methodsSara Golemon2019-08-161-0/+7
|
* Change ZPP only if compiled with ICU >= 64Anatol Belski2019-06-011-1/+7
|
* Update tests for ICU 64Nikita Popov2019-06-018-7/+371
| | | | (cherry picked from commit 8a8bc5c4529223ecf4f421b1bed03618f7394335)
* Convert CRLF to LFPeter Kokot2019-05-131-1/+1
| | | | | These files are tracked with CRLF line endings in Git and can be converted to LF. Neither are parts of tests or code itself.
* Fixed bug #77895Nikita Popov2019-04-152-1/+14
|
* Make test independent of icu versionNikita Popov2019-03-181-3/+3
| | | | | We don't really care about the actual output here, just that it doesn't fail.
* Allow DateTimeImmutable in datefmt_format_object()Nikita Popov2019-03-182-1/+13
| | | | As pointed out in a comment on bug #65683.
* Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-10-202-12/+12
|\ | | | | | | | | * PHP-7.1: Fix tests for ICU 63.1
| * Fix tests for ICU 63.1Anatol Belski2018-10-202-12/+12
| | | | | | | | The most of change is U+00A0 vs. new U+202F used in some outputs.
| * Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-15162-252/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in *.phptPeter Kokot2018-10-1467-175/+175
| |
| * Sync leading and final newlines in source code filesPeter Kokot2018-10-1415-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in source code filesPeter Kokot2018-10-1311-161/+161
| |
| * Convert CRLF line endings to LFPeter Kokot2018-10-1312-137/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
| * Add test for bug #76942Anatol Belski2018-10-051-0/+33
| |
* | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-15162-252/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in *.phptPeter Kokot2018-10-1467-175/+175
| |
* | Sync leading and final newlines in source code filesPeter Kokot2018-10-1415-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in source code filesPeter Kokot2018-10-1311-161/+161
| |
* | Convert CRLF line endings to LFPeter Kokot2018-10-131-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-10-053-0/+38
|\ \ | | | | | | | | | | | | | | | * PHP-7.1: Add test for bug #76942 Fixed Bug #76942 U_ARGUMENT_TYPE_MISMATCH
| * | Add test for bug #76942Anatol Belski2018-10-051-0/+33
| |/
| * Fixed Bug #76942 U_ARGUMENT_TYPE_MISMATCHAnatol Belski2018-10-052-0/+5
| | | | | | | | ref bug #74484
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-08-092-0/+52
|\ \ | |/ | | | | | | * PHP-7.1: Fixed bug #74484 MessageFormatter::formatMessage memory corruption
| * Fixed bug #74484 MessageFormatter::formatMessage memory corruptionAnatol Belski2018-08-092-0/+52
| | | | | | | | with 11+ named placeholder
* | Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-07-011-1/+1
|\ \ | |/ | | | | | | * PHP-7.1: Make newly introduced bug76556.phpt more resilient
| * Make newly introduced bug76556.phpt more resilientChristoph M. Becker2018-07-011-1/+1
| | | | | | | | | | Obviously, different compilers mangle the C++ class name differently. We should neither expect a prefix nor a suffix.
* | Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-06-302-1/+24
|\ \ | |/ | | | | | | * PHP-7.1: Fix #76556: get_debug_info handler for BreakIterator shows wrong type
| * Fix #76556: get_debug_info handler for BreakIterator shows wrong typeChristoph M. Becker2018-06-302-1/+24
| | | | | | | | | | | | | | We use the retrieved type for the "type" element instead of the text. This has been confused during the PHP 7 upgrade[1]. [1] http://git.php.net/?p=php-src.git;a=commit;h=1d793348067e5769144c0f7efd86428a4137baec
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-06-2512-5/+356
|\ \ | |/ | | | | | | * PHP-7.1: Prepare tests for ICU 62.1
| * Prepare tests for ICU 62.1Anatol Belski2018-06-2512-5/+356
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-06-201-3/+0
|\ \ | |/ | | | | | | * PHP-7.1: Revert "ICU 59+ requires C++11 and errors out without the option"
| * Revert "ICU 59+ requires C++11 and errors out without the option"Stanislav Malyshev2018-06-201-3/+0
| | | | | | | | This reverts commit 5dd1ef90caec3021e6ce55c8554e695edf641eaf.
* | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-06-171-0/+3
|\ \ | |/ | | | | | | * PHP-7.1: ICU 59+ requires C++11 and errors out without the option
| * ICU 59+ requires C++11 and errors out without the optionStanislav Malyshev2018-06-171-0/+3
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-06-133-16/+10
|\ \ | |/
| * Make $locale parameter to BreakIterator ctors optionalNikita Popov2018-06-133-16/+10
| | | | | | | | It's documented as such and already accepts null.
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-05-034-8/+8
|\ \ | |/ | | | | | | * PHP-7.1: Fix tests, ref bug #74385
| * Fix tests, ref bug #74385Anatol Belski2018-05-034-8/+8
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-05-031-5/+9
|\ \ | |/ | | | | | | * PHP-7.1: Fixed bug #74385 Locale::parseLocale() broken with some arguments
| * Fixed bug #74385 Locale::parseLocale() broken with some argumentsAnatol Belski2018-05-031-5/+9
| | | | | | | | Rely on the ICU's defined values for the max locale id length.
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-04-122-1/+11
|\ \ | |/ | | | | | | * PHP-7.1: Fix memory leak
| * Fix memory leakAnatol Belski2018-04-122-1/+11
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-04-051-5/+6
|\ \ | |/ | | | | | | * PHP-7.1: Group common flags
| * Group common flagsAnatol Belski2018-04-051-5/+6
| |