summaryrefslogtreecommitdiff
path: root/ext/intl/normalizer
Commit message (Collapse)AuthorAgeFilesLines
* Improve class entry generationMáté Kocsis2021-02-161-2/+1
| | | | Related to GH-6701
* Generate ext/intl class entries from stubsMáté Kocsis2021-02-093-16/+15
| | | | Closes GH-6670
* Use true/false instead of TRUE/FALSE in intlNikita Popov2020-11-091-2/+2
| | | | And drop the U_DEFINE_TRUE_AND_FALSE flag.
* Improve parameter names in ext/intlMáté Kocsis2020-10-122-6/+6
| | | | Closes GH-6309
* Promote warnings to exceptions in ext/intlMáté Kocsis2020-09-071-6/+4
| | | | Closes GH-5972
* Remove proto comments from C filesMax Semenik2020-07-061-15/+3
| | | | Closes GH-5758
* Include stub hash in generated arginfo filesNikita Popov2020-06-241-1/+2
| | | | | | | | | | | | The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
* Generate method entries for ext/intlMáté Kocsis2020-04-145-46/+32
| | | | Closes GH-5370
* Store default parameter values of internal functions in arg infoMáté Kocsis2020-04-081-2/+2
| | | | | | | Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
* Do not include the same stub multiple timesMáté Kocsis2020-04-032-25/+0
| | | | Closes GH-5322
* Add stubs for various intl functionsMáté Kocsis2020-01-033-18/+59
| | | | | | | | | | | | 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()
* Use RETURN_THROWS() after zend_parse_method_parameters()Máté Kocsis2020-01-021-2/+2
|
* Use RETURN_THROWS() during ZPP in most of the extensionsMáté Kocsis2019-12-311-1/+1
| | | | Except for some bigger ones: reflection, sodium, spl
* Cleanup return values for Intl when parameter parsing is unsuccessfulMáté Kocsis2019-10-301-2/+2
| | | | Closes GH-4871.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-256-12/+0
| | | | Closes GH-4732.
* Intl: Don't separately report "bad arguments" errorsNikita Popov2019-03-111-6/+0
| | | | | zpp will be throwing for these now, don't report them in addition to that.
* Merge branch 'PHP-7.4'Peter Kokot2019-02-033-27/+0
|\ | | | | | | | | * PHP-7.4: Remove local variables
| * Remove local variablesPeter Kokot2019-02-033-27/+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.
* | Remove intl Normalizer::NONENikita Popov2019-01-303-27/+2
|/
* Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
|
* Require ICU ≥ 50.1Christoph M. Becker2018-09-151-2/+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
* Rethink conditionsAnatol Belski2018-04-065-9/+8
| | | | | | | 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.
* Expose functionality for NFKC_Casefold normalizationAnatol Belski2018-04-063-1/+16
|
* Sync normalizer_get_raw_decomposition() to allow passing formAnatol Belski2018-04-061-5/+9
| | | | as it is the case with the other Normalizer methods.
* Replace the deprecated API by the newer one available with ICU 56+Anatol Belski2018-04-062-1/+97
|
* Check feature availability as ICU < 49 is still supportedAnatol Belski2018-04-053-0/+8
|
* Use recommended way to handle utf*.h headers and obsolete symbolsAnatol Belski2018-04-051-0/+3
|
* Add normalizer_get_raw_decomposition functionPaul Crovella2018-03-223-0/+52
| | | | Implements #76111 https://bugs.php.net/bug.php?id=76111
* Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
|
* Fixed bug #74433 Wrong reflection on the Normalizer methodsFabien Villepinte2017-04-131-6/+5
|
* Cleanup (avoid string reallocations)Dmitry Stogov2015-07-011-7/+4
|
* s/PHP Version 5/PHP Version 7/gLior Kaplan2015-03-131-1/+1
| | | | Follow up for d0cb7153
* trailing whitespace removalStanislav Malyshev2015-01-101-10/+10
|
* cleanup intl typesStanislav Malyshev2014-12-291-5/+5
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-134-20/+20
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-195-5/+5
|
* 's' works with size_t round 3Anatol Belski2014-08-271-1/+1
|
* first show to make 's' work with size_tAnatol Belski2014-08-271-1/+1
|
* master renames phase 1Anatol Belski2014-08-252-7/+7
|
* ported ext/intl, bugfixes to goAnatol Belski2014-08-191-4/+4
|
* basic macro replacements, all at onceAnatol Belski2014-08-191-3/+3
|
* Fixed segfault while starting upXinchen Hui2014-06-281-1/+1
|
* Refactoring ext/intl (incompleted)Xinchen Hui2014-06-281-1/+3
|
* Merge branch '5.3' into 5.4Gustavo André dos Santos Lopes2012-07-306-0/+0
|\ | | | | | | | | | | * 5.3: Limit test to ICU 49 Remove executable bit from files
| * Remove executable bit from filesGustavo André dos Santos Lopes2012-07-306-0/+0
| |
| * - Added missing PHP_FE_END/ZEND_FE_ENDFelipe Pena2011-08-061-1/+1
| |
| * - Fixed possible efree(NULL) (bug #55296)Felipe Pena2011-08-041-2/+6
| |
* | Fixed the common misspelling of the word occurred (occured -> occurred)Marc Easen2012-06-301-3/+3
| |
* | - Added missing PHP_FE_END/ZEND_FE_ENDFelipe Pena2011-08-061-1/+1
| |
* | - Fixed possible efree(NULL) (bug #55296)Felipe Pena2011-08-041-2/+6
| |