summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.h
Commit message (Collapse)AuthorAgeFilesLines
* Bump intl extension version to PHP release versionPeter Kokot2018-06-141-1/+1
| | | | | This patch syncs and simplifies the intl core extension versioning to match the PHP release version.
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | Also re bug #71575.
* switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-7/+3
|
* missing includesAnatol Belski2015-04-011-0/+1
|
* made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-1/+1
| | | | which also comply with the current semantics for such macros
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-1/+1
|
* opcache, intl, gmp, exif, com, bcmath to use static tsrmlsAnatol Belski2014-10-171-1/+4
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* master renames phase 1Anatol Belski2014-08-251-1/+1
|
* ported ext/intl, bugfixes to goAnatol Belski2014-08-191-1/+1
|
* Refactoring ext/intl (incompleted)Xinchen Hui2014-06-281-1/+1
|
* Merge branch '5.4'Gustavo André dos Santos Lopes2012-07-301-0/+0
|\ | | | | | | | | | | | | | | * 5.4: Fix test title and limit it to ICU >= 4.8 Remove executable bit from files Limit test to ICU 49 Remove executable bit from files
| * Remove executable bit from filesGustavo André dos Santos Lopes2012-07-301-0/+0
| |
| * sync version with PECLStanislav Malyshev2010-06-301-1/+1
| |
* | Fix undeclared intl_locale_get_default()Gustavo André dos Santos Lopes2012-06-251-0/+2
| | | | | | | | | | | | | | | | This was causing segfaults at least in the resourcebundle constructor. Also moved intl_locale_get_default() to a more central location and fixed a constness warning in resourcebundle_ctor().
* | DateFormat plays nice with Calendar, TimeZoneGustavo André dos Santos Lopes2012-06-041-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes were made: * The IntlDateFormatter constructor now accepts the usual values for its $timezone argument. This includes timezone identifiers, IntlTimeZone objects, DateTimeZone objects and NULL. An empty string is not accepted. An invalid time zone is no longer accepted (it used to use UTC in this case). * When NULL is passed to IntlDateFormatter, the time zone specified in date.timezone is used instead of the ICU default. * The IntlDateFormatter $calendar argument now accepts also an IntlCalendar. In this case, IntlDateFormatter::getCalendar() will return false. * The time zone passed to the IntlDateFormatter is ignored if it is NULL and if the calendar passed is an IntlCalendar object -- in this case, the IntlCalendar time zone will be used instead. Otherwise, the time zone specified in the $timezone argument is used instead. * Added IntlDateFormatter::getCalendarObject(), which always returns the IntlCalendar object that backs the DateFormat, even if a constant was passed to the constructor, i.e., if an IntlCalendar was not passed to the constructor. * Added IntlDateFormatter::setTimeZone(). It accepts the usual values for time zone arguments. If NULL is passed, the time zone of the IntlDateFormatter WILL be overridden with the default time zone, even if an IntlCalendar object was passed to the constructor. * Added IntlDateFormatter::getTimeZone(), which returns the time zone that's associated with the DateFormat. * Depreacated IntlDateFormatter::setTimeZoneId() and made it an alias for IntlDateFormatter::setTimeZone(), as the new ::setTimeZone() also accepts plain identifiers, besides other types. IntlDateFormatter::getTimeZoneId() is not deprecated however. * IntlDateFormatter::setCalendar() with a constant passed should now work correctly. This requires saving the requested locale to the constructor. * Centralized the hacks required to avoid compilation disasters on Windows due to some headers being included inside and outside of extern "C" blocks.
* | - Added the ability for the intl exception to throw exceptions when a global ↵Gustavo André dos Santos Lopes2012-01-081-0/+1
| | | | | | | | error is set.
* | sync version with PECLStanislav Malyshev2010-06-301-1/+1
|/
* fix versionStanislav Malyshev2009-10-271-1/+1
|
* merge errors supportStanislav Malyshev2009-07-071-0/+1
|
* Merge intl extension into coreStanislav Malyshev2008-07-071-0/+76