summaryrefslogtreecommitdiff
path: root/ext/intl
Commit message (Collapse)AuthorAgeFilesLines
* Fix #78912: INTL Support for accounting formatChristoph M. Becker2019-12-092-1/+17
| | | | | | | We provide `NumberFormatter::CURRENCY_ACCOUNTING` to wrap `UNUM_CURRENCY_ACCOUNTING `[1]. [1] <https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae97cdd7ed612d07d251021c076efb1c5>
* Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-11-112-2/+15
|\ | | | | | | | | * PHP-7.3: Fix bug #78804 - Segmentation fault in Locale::filterMatches
| * Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-11-112-2/+15
| |\ | | | | | | | | | | | | * PHP-7.2: Fix bug #78804 - Segmentation fault in Locale::filterMatches
| | * Fix bug #78804 - Segmentation fault in Locale::filterMatchesStanislav Malyshev2019-11-112-2/+15
| | |
* | | Skip IntlTimeZone::getOffset() error tests on non-x86Nikita Popov2019-10-242-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not totally sure, but I have a strong suspicion that the fact that this produces an error is an artifact of undefined cast behavior (which will yield INDVAL on x86 but saturate on ARM). INF seems to be the only value that results in an error even on x86 (variations like -INF or NAN succeed). It might make sense to just remove this test entirely, but for now let's skip it on non-x86.
* | | Fix miscellaneous typos in docsTyson Andre2019-10-191-1/+1
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-10-044-0/+1559
|\ \ \ | |/ / | | | | | | | | | * PHP-7.3: Split intl tests for ICU 65
| * | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-10-044-0/+1559
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Split intl tests for ICU 65
| | * Split intl tests for ICU 65Christoph M. Becker2019-10-044-0/+1559
| | |
* | | Fix borked SKIPIFsFabien Villepinte2019-09-302-2/+2
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-09-251-3/+3
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-09-251-3/+3
| |\ \ | | |/
| | * 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).
* | | Merge branch 'PHP-7.3' into PHP-7.4Remi Collet2019-09-101-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.3: Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
| * | Merge branch 'PHP-7.2' into PHP-7.3Remi Collet2019-09-101-2/+2
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
| | * 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
* | | Add the last missing SKIPIFFabien Villepinte2019-09-042-0/+4
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-08-231-2/+7
|\ \ \ | |/ / | | | | | | | | | * PHP-7.3: Suppress deprecation warning on IDNA2003 ICU methods for clang
| * | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-08-231-2/+7
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Suppress deprecation warning on IDNA2003 ICU methods for clang
| | * Suppress deprecation warning on IDNA2003 ICU methods for clangChristoph M. Becker2019-08-231-2/+7
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Sara Golemon2019-08-161-0/+7
|\ \ \ | |/ / | | | | | | | | | * PHP-7.3: Suppress deprecation warning on IDNA2003 ICU methods
| * | Merge branch 'PHP-7.2' into PHP-7.3Sara Golemon2019-08-161-0/+7
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Suppress deprecation warning on IDNA2003 ICU methods
| | * Suppress deprecation warning on IDNA2003 ICU methodsSara Golemon2019-08-161-0/+7
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Sara Golemon2019-08-161-19/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.3: Revert "Move to non deprecated API on suitable ICU versions"
| * | Revert "Move to non deprecated API on suitable ICU versions"Sara Golemon2019-08-161-19/+1
| | | | | | | | | | | | | | | | | | This reverts commit 13a2f2d041999dca0066542f2a552798fab9a13d. The APIs used by this commit aren't entirely equivalent to the original ones.
| * | Fix expect sectionAnatol Belski2019-06-011-1/+1
| | |
| * | Merge branch 'PHP-7.2' into PHP-7.3Anatol Belski2019-06-018-7/+377
| |\ \ | | |/ | | | | | | | | | | | | * PHP-7.2: Change ZPP only if compiled with ICU >= 64 Update tests for ICU 64
| | * 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.
* | | Convert all php_error_docref0 to php_error_docrefGeorge Peter Banyard2019-07-134-5/+5
| | | | | | | | | | | | Closes GH-4394
* | | Fix UConverter leakNikita Popov2019-06-251-1/+1
| | |
* | | Fix TimeZone leak in intl MessageFormatNikita Popov2019-06-251-4/+8
| | | | | | | | | | | | | | | I'm just giving each format a distinct owned object here ... sharing it looks complicated.
* | | Fix various instances of memcpy null ubNikita Popov2019-06-191-2/+10
| | |
* | | Cheaper checks for exceptions thrown from __toString()Dmitry Stogov2019-06-061-3/+4
| | |
* | | Allow exceptions in __toString()Nikita Popov2019-06-055-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error exceptions. Improve exception safety of internal code performing string conversions.
* | | SimpleXMLElement and ResourceBundle implement CountableThomas Gerbet2019-05-312-1/+15
| | | | | | | | | | | | | | | Both classes already have a count() method and are considered countable by \is_countable().
* | | Update tests for ICU 64Nikita Popov2019-05-318-8/+372
| | |
* | | Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macrosDmitry Stogov2019-05-284-5/+7
| | |
* | | [ci skip] Migrate intl error conventions docs to MarkdownPeter Kokot2019-05-122-115/+129
| | |
* | | Normalize comments in *nix build system m4 filesPeter Kokot2019-05-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
* | | Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function ↵Dmitry Stogov2019-04-241-2/+2
| | | | | | | | | | | | by reference
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-04-152-1/+14
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-04-152-1/+14
| |\ \ | | |/
| | * Fixed bug #77895Nikita Popov2019-04-152-1/+14
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-03-181-3/+3
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-03-181-3/+3
| |\ \ | | |/
| | * 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.
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-03-182-1/+13
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-03-182-1/+13
| |\ \ | | |/