summaryrefslogtreecommitdiff
path: root/ext/intl
Commit message (Collapse)AuthorAgeFilesLines
* fork test for ICU 56.1Anatol Belski2015-10-122-1/+124
|
* fork test for ICU-56.1Anatol Belski2015-10-122-1/+132
|
* fix test for ICU-56.1Anatol Belski2015-10-123-1/+100
|
* More zpp cleanup in ext/intlNikita Popov2015-10-063-35/+16
|
* Fix/improve zpp usageNikita Popov2015-10-023-10/+7
| | | | | | The ext/interbase changes are done blindly, fingers crossed. Some of these are bug fixes, some make zpp usage more idiomatic.
* Removed or simplified incorrect SEPARATE_*() macros usage.Dmitry Stogov2015-09-293-3/+1
|
* Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more ↵Dmitry Stogov2015-09-242-5/+5
| | | | appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
* Cleanup: avoid reallocationsDmitry Stogov2015-09-241-54/+60
|
* Cleanup: zend_object_std_dtor() is called through free_obj handlerDmitry Stogov2015-09-231-2/+0
|
* Merge branch 'master' of git.php.net:php-srcDmitry Stogov2015-09-102-18/+20
|\ | | | | | | | | | | * 'master' of git.php.net:php-src: Aligned IntlChar protos to their ARG_INFO (related to #70453) Skip IntlChar related test if ext/intl is not available
| * Aligned IntlChar protos to their ARG_INFO (related to #70453)Christoph M. Becker2015-09-101-18/+18
| |
| * Skip IntlChar related test if ext/intl is not availableChristoph M. Becker2015-09-101-0/+2
| |
* | Change array sorting implementation to avoid two level callbacks system.Dmitry Stogov2015-09-101-3/+2
|/ | | | Simplify zval comparion API.
* Fix #70454: IntlChar::forDigit second parameter should be optionalChristoph M. Becker2015-09-072-1/+19
| | | | | ZPP expects "ll" instead of "l|l" what would match the "proto" and the ARG_INFO.
* Fix #70453: IntlChar::foldCase() incorrect arguments and missing constantsChristoph M. Becker2015-09-072-0/+21
| | | | | | We add missing ARG_INFO for the seconds parameter $options, and add the respective constants IntlChar::FOLD_CASE_DEFAULT and ::FOLD_CASE_EXCLUDE_SPECIAL_I.
* Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.Dmitry Stogov2015-08-131-1/+1
| | | | | | This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c. Now explicit type casting may be required on call site. This may break some C extension code, but it shoulfn't be a problem to add explicit casting.
* Check the function UConverter::getAvailable with parameter wrongRodrigo Prado2015-08-061-0/+8
|
* switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-7/+3
|
* Various warning fixesNikita Popov2015-07-173-4/+4
|
* Fix failing tests from exception code changesAaron Piotrowski2015-07-077-20/+20
|
* Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-2/+2
|
* Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-7/+4
|
* change the inclusion order which fixes the vc buildAnatol Belski2015-07-011-1/+1
|
* Cleanup (avoid string reallocations)Dmitry Stogov2015-07-0123-294/+197
|
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-3013-25/+25
| | | | semantick changes).
* Improved zend_string API (Francois Laupretre)Dmitry Stogov2015-06-292-3/+3
| | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods
* Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-06-1415-11/+281
|\ | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt
| * Get rid of more ZVAL_ZVAL() macrosDmitry Stogov2015-06-122-2/+4
| |
| * Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few ↵Dmitry Stogov2015-06-121-1/+1
| | | | | | | | | | | | places). Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)
| * fix hard-coded path in testFerenc Kovacs2015-06-091-1/+1
| |
| * fix test titleAnatol Belski2015-05-181-1/+1
| |
| * fork test for ICU >= 55.1 compatAnatol Belski2015-05-182-0/+30
| |
| * sync test with exception currently thrownAnatol Belski2015-05-181-2/+5
| |
| * fork test for ICU >= 55.1 compatAnatol Belski2015-05-182-1/+100
| |
| * fork test for ICU >= 55.1 compatAnatol Belski2015-05-182-0/+63
| |
| * skip test for ICU >= 55.1, a newer test is available and passesAnatol Belski2015-05-181-5/+3
| |
| * fork test for ICU >= 55.1 compatAnatol Belski2015-05-182-0/+41
| |
| * fork test for ICU >= 55.1 compatAnatol Belski2015-05-182-0/+34
| |
* | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-1743-43/+43
| |
* | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-1746-46/+210
|\ \ | |/
| * Display TypeExceptions like normal exceptionsNikita Popov2015-05-1741-41/+205
| | | | | | | | | | | | | | We currently don't show the argument at which the error actually occured in the trace - should probably either add it or don't display args on incomplete frames altogether, otherwise this'll probably be confusing.
| * Tweak uncaught exception message displayNikita Popov2015-05-175-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This implements a reduced variant of #1226 with just the following change: -Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d +Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d The '' wrapper around messages is very weird if the exception message itself contains ''. Futhermore having the message wrapped in '' doesn't work for the "and defined" suffix of TypeExceptions.
* | Fix a few missed tests.Aaron Piotrowski2015-05-163-3/+3
| |
* | Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-1615-61/+61
|/
* Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-152-2/+8
| | | | | | | | | TypeException stays as-is for now because it uses messages that are incompatible with the way exception messages are displayed. closure_038.phpt and a few others now show that we're generating too many exceptions for compound operations on undefined properties -- this needs to be fixed in a followup.
* Fixed redundand internal constructor behavior (they shouldn't return NULL ↵Dmitry Stogov2015-05-072-31/+39
| | | | anymore)
* Fix Intl constructor leaksNikita Popov2015-04-179-69/+66
| | | | | Drop the Z_OBJ(return_value) = NULL hack and return status code from ctor function instead.
* Fix leak in transliterator_transliterate()Nikita Popov2015-04-171-1/+2
|
* Fix leak in IntlDateFormatter::getTimeZone()Nikita Popov2015-04-171-1/+0
|
* Fix leak in IntlCalendar::fromDateTime()Nikita Popov2015-04-171-1/+1
|