summaryrefslogtreecommitdiff
path: root/ext/intl/normalizer/normalizer_normalize.c
Commit message (Collapse)AuthorAgeFilesLines
* Use true/false instead of TRUE/FALSE in intlNikita Popov2020-11-091-2/+2
| | | | And drop the U_DEFINE_TRUE_AND_FALSE flag.
* 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
* Generate method entries for ext/intlMáté Kocsis2020-04-141-1/+0
| | | | Closes GH-5370
* 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-251-2/+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-031-9/+0
|\ | | | | | | | | * PHP-7.4: Remove local variables
| * 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.
* | Remove intl Normalizer::NONENikita Popov2019-01-301-24/+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-061-4/+3
| | | | | | | 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-061-0/+9
|
* 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-061-1/+82
|
* Check feature availability as ICU < 49 is still supportedAnatol Belski2018-04-051-0/+2
|
* Use recommended way to handle utf*.h headers and obsolete symbolsAnatol Belski2018-04-051-0/+3
|
* Add normalizer_get_raw_decomposition functionPaul Crovella2018-03-221-0/+46
| | | | Implements #76111 https://bugs.php.net/bug.php?id=76111
* 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-131-15/+15
|
* '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-251-4/+4
|
* ported ext/intl, bugfixes to goAnatol Belski2014-08-191-4/+4
|
* Refactoring ext/intl (incompleted)Xinchen Hui2014-06-281-1/+3
|
* Merge branch '5.3' into 5.4Gustavo André dos Santos Lopes2012-07-301-0/+0
|\ | | | | | | | | | | * 5.3: Limit test to ICU 49 Remove executable bit from files
| * Remove executable bit from filesGustavo André dos Santos Lopes2012-07-301-0/+0
| |
| * - 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
| |
* | - Fixed possible efree(NULL) (bug #55296)Felipe Pena2011-08-041-2/+6
|/
* cleanup some code, improve error handlingStanislav Malyshev2009-12-231-15/+15
|
* clean up normalizer codeStanislav Malyshev2009-12-211-4/+0
|
* MFH:Felipe Pena2008-08-111-27/+29
| | | | | | | - Added arginfo - Fixed WS - Changed C++ comments to C comments
* Merge intl extension into coreStanislav Malyshev2008-07-071-0/+256