summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
Commit message (Collapse)AuthorAgeFilesLines
* Generate ext/intl class entries from stubsMáté Kocsis2021-02-091-2/+3
| | | | Closes GH-6670
* Validate collator earlier during sortNikita Popov2020-07-241-3/+1
| | | | | Check this once before the sort, instead of on every compare. Also directly store the UCollator to make things more obvious.
* Remove proto comments from C filesMax Semenik2020-07-061-10/+5
| | | | Closes GH-5758
* Implement #47074: phpinfo() reports "On" as 1 for the some extensionsChristoph M. Becker2020-06-041-1/+1
| | | | What is modified as boolean, should also be displayed as boolean.
* Fix [-Wundef] warning in INTL extensionGeorge Peter Banyard2020-05-201-2/+2
|
* Generate method entries for ext/intlMáté Kocsis2020-04-141-244/+1
| | | | Closes GH-5370
* Do not include the same stub multiple timesMáté Kocsis2020-04-031-13/+1
| | | | Closes GH-5322
* Add stubs for NumberFormatterMáté Kocsis2020-02-091-72/+8
| | | | Closes GH-4827
* Add various stubs for IntlMáté Kocsis2020-02-041-85/+23
| | | | Closes GH-4826
* Add stubs for IntlCalendarMáté Kocsis2020-02-041-179/+51
| | | | Closes GH-4846
* Add stubs for IntlDateFormatter & MessageFormatterMáté Kocsis2020-02-041-100/+16
| | | | Closes GH-4812
* Add stubs for various intl functionsMáté Kocsis2020-01-031-95/+23
| | | | | | | | | | | | Closes GH-4819 - Add stubs for idn functions - Add stubs for grapheme functions - Add stubs for Spoofchecker - Add stubs for Normalizer - Add stubs for ResourceBundle - Fix arginfos - Add support for union return types - Fix arginfo for resourcebundle_create()
* Fix typo with msgfmt_parse_message()Fabien Villepinte2019-11-191-2/+2
|
* Add stubs for the Locale component of IntlMáté Kocsis2019-11-161-43/+19
|
* Add stubs for IntlTimeZoneMáté Kocsis2019-11-041-77/+23
|
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Require ICU ≥ 50.1Christoph M. Becker2018-09-151-20/+0
| | | | | | | | | | | | | | | | | 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
* Bump intl extension version to PHP release versionPeter Kokot2018-06-141-3/+1
| | | | | This patch syncs and simplifies the intl core extension versioning to match the PHP release version.
* Rethink conditionsAnatol Belski2018-04-061-2/+2
| | | | | | | 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.
* Check feature availability as ICU < 49 is still supportedAnatol Belski2018-04-051-0/+4
|
* Add normalizer_get_raw_decomposition functionPaul Crovella2018-03-221-0/+5
| | | | Implements #76111 https://bugs.php.net/bug.php?id=76111
* Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
|
* Add TZ and Unicode versions to intl MINFOAnatol Belski2017-10-211-0/+12
|
* Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-07-261-21/+21
|\ | | | | | | | | * PHP-7.0: Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
| * Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methodsSara Golemon2017-07-261-21/+21
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-06-131-1/+1
|\ \ | |/ | | | | | | | | | | * PHP-7.0: NEWS Fix bug #74705 for collator_get_sort_key Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
| * Fix bug #74705 for collator_get_sort_keyRemi Collet2017-06-131-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-05-021-1/+6
|\ \ | |/ | | | | | | * PHP-7.0: Fix bug #74468 wrong reflection on Collator::sortWithSortKeys
| * Fix bug #74468 wrong reflection on Collator::sortWithSortKeysFabien Villepinte2017-05-021-1/+6
| |
* | remove unused declarationsAnatol Belski2016-06-231-16/+0
|/
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | Also re bug #71575.
* Remove datefmt_set_timezone_id and OO variantNikita Popov2015-04-011-1/+0
|
* cleanup the mod version macros, round 2Anatol Belski2015-03-231-2/+0
|
* made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-2/+2
| | | | which also comply with the current semantics for such macros
* Add IntlChar class to intl extensionSara Golemon2015-01-161-0/+4
| | | | Exposes ICU's uchar functionality as a set of static methods
* trailing whitespace removalStanislav Malyshev2015-01-101-2/+2
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-19/+19
|
* opcache, intl, gmp, exif, com, bcmath to use static tsrmlsAnatol Belski2014-10-171-0/+6
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* master renames phase 1Anatol Belski2014-08-251-1/+1
|
* basic macro replacements, all at onceAnatol Belski2014-08-191-1/+1
|
* Merge branch 'master' into testDmitry Stogov2014-07-071-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (48 commits) change locale - looks like not everybody has sl_SI Fix bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone fix format Fix bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting) Make sure the generator script also creates a newline at the end of file Add newline at end of file to prevent compilation warning Fix handling of session user module custom handlers. Reference bug report instead of github issue in NEWS file add more exts for Travis Update NEWS Fix phpdbg.1 man page installation when build != src directory BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir) reorder restore API compatibility finish refactor php_stream_temp_create{,_ex} and use it for the php://input stream refactor _php_stream_fopen_{temporary_,tmp}file() fix length overflow of HTTP_RAW_POST_DATA Update NEWS Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault happen) ... Conflicts: ext/opcache/zend_accelerator_util_funcs.c ext/session/mod_user.c ext/spl/spl_array.c ext/spl/spl_dllist.c ext/standard/file.c ext/standard/streamsfuncs.c ext/standard/string.c main/streams/memory.c
| * Fix bug #66921 - Wrong argument type hint for function ↵Stanislav Malyshev2014-07-071-1/+1
| | | | | | | | intltz_from_date_time_zone
* | Fixed segfault while starting upXinchen Hui2014-06-281-1/+1
| |
* | Refactoring ext/intl (only compilerable now, far to finish :<)Xinchen Hui2014-06-281-2/+2
|/
* intl: add intlcal_set_minimal_days_in_first_week()Gustavo André dos Santos Lopes2013-07-031-0/+6
| | | | | and IntlCalendar::setMinimalDaysInFirstWeek(). This one had slipped. we had a ::getMinimalDaysInFirstWeek() but no way to change the value.
* Add UConverter class (ICU's UConverter API)Sara Golemon2013-01-291-0/+5
| | | | RFC at http://wiki.php.net/rfc/uconverter
* Merge branch 'PHP-5.4'Gustavo Lopes2012-08-261-2/+2
|\ | | | | | | | | | | | | | | * PHP-5.4: Fixed defective cloning in ext/intl classes NEWS for commit 72c807a Allow Spoofchecker to be registered on ICU 49.1 Announce on NEWS change in 1ce572c
| * Allow Spoofchecker to be registered on ICU 49.1Gustavo Lopes2012-08-261-2/+2
| |