summaryrefslogtreecommitdiff
path: root/ext/intl/collator
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #71020 (Use after free in Collator::sortWithSortKeys)Xinchen Hui2015-12-071-1/+3
|
* Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more ↵Dmitry Stogov2015-09-241-2/+2
| | | | appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
* Change array sorting implementation to avoid two level callbacks system.Dmitry Stogov2015-09-101-3/+2
| | | | Simplify zval comparion API.
* Various warning fixesNikita Popov2015-07-171-2/+0
|
* Cleanup (avoid string reallocations)Dmitry Stogov2015-07-012-26/+18
|
* Fix Intl constructor leaksNikita Popov2015-04-171-7/+9
| | | | | Drop the Z_OBJ(return_value) = NULL hack and return status code from ctor function instead.
* Always throw TypeException on throwing zpp failuresNikita Popov2015-04-061-4/+5
| | | | | | | | | | | | | | Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors.
* Patch improvement:Dmitry Stogov2015-03-301-10/+12
| | | | | | | | Removed the corresponding core code. Fixed ext/com_dotnet and ext/date. Refactored ext/intl changes. Improved ext/fileinfo and ext/pdo changes. Fixed tests.
* Converted intl extension to use IntlException in constructors.Danack2015-03-151-6/+6
|
* Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-1/+1
| | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* Fixed use after freeDmitry Stogov2015-01-261-1/+0
|
* Fixed bug #68848 Missing returnJoshua Rogers2015-01-171-1/+1
|
* Faster sorting algoXinchen Hui2015-01-141-3/+13
|
* trailing whitespace removalStanislav Malyshev2015-01-104-8/+8
|
* Fix uses of zval_add_ref and add comment on usageNikita Popov2015-01-052-3/+3
| | | | | | | | zval_add_ref should be used as a copy ctor, after the value was already copied. In particular when used with hash insertions, it should be applied to the return value of the insert function.
* cleanup intl typesStanislav Malyshev2014-12-295-16/+16
|
* fix typoStanislav Malyshev2014-12-281-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-1312-93/+92
|
* Merge branch 'PHP-5.6'Stanislav Malyshev2014-11-301-1/+1
|\ | | | | | | | | | | | | | | * PHP-5.6: Update NEWS fix typo Added test and review suggestion Fix bug #68335: rmdir doesnt work with file:// stream wrapper
| * fix typoStanislav Malyshev2014-11-301-1/+1
| |
| * fix const warnings in intl methodsStanislav Malyshev2013-10-201-1/+1
| |
* | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-192-2/+2
| |
* | Merge branch 'master' into issue-67910Florian MARGAINE2014-09-2020-20/+20
|\ \ | | | | | | | | | | | | | | | Conflicts: README.PARAMETER_PARSING_API ext/gmp/tests/001.phpt
| * | s/PHP 5/PHP 7/Johannes Schlüter2014-09-1920-20/+20
| | |
* | | Replaces php5 with php7, without whitespace changes.Florian MARGAINE2014-09-201-1/+1
|/ /
* | first show to make 's' work with size_tAnatol Belski2014-08-273-4/+4
| |
* | master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-251-1/+1
| |
* | master renames phase 3Anatol Belski2014-08-251-2/+2
| |
* | master renames phase 1Anatol Belski2014-08-259-58/+58
| |
* | yet trivial fixesAnatol Belski2014-08-201-1/+1
| |
* | ported ext/intl, bugfixes to goAnatol Belski2014-08-196-26/+26
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-197-33/+33
| |
* | Fixed version idXinchen Hui2014-08-161-1/+1
| |
* | Better version checkingXinchen Hui2014-08-151-1/+1
| |
* | update zend_make_printable_zval to take TSRM contextkrakjoe2014-08-111-2/+4
| |
* | Fixed bug #67725 (now we create immutable arrays only in SHM)Dmitry Stogov2014-08-051-1/+1
| |
* | Fixed valgrind issuesXinchen Hui2014-07-311-1/+3
| |
* | Fixed ZTS buildDmitry Stogov2014-07-141-2/+2
| |
* | Changed zend_make_printable_zval() to return "use_copy" instead of ↵Dmitry Stogov2014-07-091-1/+1
| | | | | | | | | | | | additional reference argument. Improved branch prediction.
* | Partial fix that allows internal constructors to set $this to null.Dmitry Stogov2014-07-091-0/+8
| | | | | | | | | | | | | | The address of $this passed to drectly called internal constructor in execute_data->return_value. Internal constructors should use ZEND_CTOR_MAKE_NULL() macro (insted of previous ZEND_NULL(EG(This))) to do the work. This patch doesn't fix the problem for indirectly called constructors. e.g. parant::__construct().
* | Separate argumentDmitry Stogov2014-07-081-1/+1
| |
* | Fixed collator_sortXinchen Hui2014-06-291-14/+8
| |
* | Fixed segfault while starting upXinchen Hui2014-06-281-1/+1
| |
* | Refactoring ext/intl (only compilerable now, far to finish :<)Xinchen Hui2014-06-283-6/+4
| |
* | Refactoring ext/intl (incompleted)Xinchen Hui2014-06-287-215/+192
| |
* | Use better data structures (incomplete)Dmitry Stogov2014-02-101-2/+2
| |
* | fix const warnings in intl methodsStanislav Malyshev2013-10-201-1/+1
|/
* HASH_KEY_NON_EXISTANT fixVeres Lajos2013-07-211-2/+2
|
* Merge branch 'PHP-5.4'Gustavo Lopes2012-08-222-6/+5
|\ | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Fix handling of several uinitialized intl objects Fix handling of several uinitialized intl objects - Fix NEWS - BFN Conflicts: ext/intl/dateformat/dateformat.c
| * Merge branch 'PHP-5.3' into PHP-5.4Gustavo Lopes2012-08-222-6/+5
| |\ | | | | | | | | | | | | * PHP-5.3: Fix handling of several uinitialized intl objects