Felipe Pena
82740ef31e
- Fixed build using g++ (which complains about jump that crosses initialization)
2012-05-20 16:17:17 -03:00
Gustavo André dos Santos Lopes
3a81f90ebc
Added IntlCalendar::toDateTime()
2012-05-17 23:18:51 +02:00
Gustavo André dos Santos Lopes
49b1f58194
Fixed a couple of memory leaks
2012-05-17 23:17:00 +02:00
Gustavo André dos Santos Lopes
887744f6b4
Fixed bad DateTime construction state check
2012-05-17 18:16:54 +02:00
Gustavo André dos Santos Lopes
ec23c3e540
MessageFormatter accepts IntlCalendar arguments
...
Now MessageFormatter::format() accepts IntlCalendar objects to be used in
arguments of type Format::kDate.
2012-05-17 17:57:37 +02:00
Gustavo André dos Santos Lopes
e9351b89a9
Bug #58756 : w.r.t MessageFormatter (partial fix)
...
I don't think the current ICU API allows this bug to be completely fixed.
Right now, the code cannot control the time zone used in date/time formats
that appear inside complex subformats. See the comment inside
umsg_set_timezone().
2012-05-17 17:57:01 +02:00
Gustavo André dos Santos Lopes
30bf2fbb9d
Handle bogus string in intl_charFromString().
2012-05-17 17:23:53 +02:00
Gustavo André dos Santos Lopes
81d8f4079c
Whitespace.
2012-05-17 17:23:52 +02:00
Gustavo André dos Santos Lopes
4cfd9995da
Added IntlTimeZone::fromDateTimeZone() and ::toDateTimeZone.
...
IntlTimeZone::fromDateTimeZone(DateTimeZone $dtz) converts from an
ext/date TimeZone to an IntlTimeZone. The conversion is done by feeding
the time zone name (essentially what would be given by
DateTimeZone::getName()) to ICU's TimeZone::createTimeZone except if it's
an offset time zone. In that case, the offset is read from the ext/date
time zone object structure and an appopriate id (of the form
GMT<+|-><HH:MM>) is given to ICU's TimeZone::createTimeZone. Not all
ext/date time zones are recognized for ICU. For instance, WEST is not.
Note that these kind of abbreviations, as far as I can tell, can only be
created via ext/date DateTime, not directly through DateTimeZone's
constructor.
For IntlTimeZone::toDateTimeZone(), the behavior is symmetrical.
We instantiate a DateTimeZone and then call its constructor if we don't
have an offset time zone, otherwise we mess with its structure. If the
timezone is not valid for ext/date, then we allow the exception of
DateTimeZone constructor to propagate.
2012-05-17 17:23:51 +02:00
Gustavo André dos Santos Lopes
22f4a30748
Fixed two IntlCalendar::setTimeZone() tests.
2012-05-17 17:23:50 +02:00
Gustavo André dos Santos Lopes
81278e1bbb
Added IntlCalendar::fromDateTime()
...
IntlCalendar::fromDateTime(DateTime|string $dateTime[, string $locale)
intlcal_from_date_time(...)
If a string is given as the first argument, the method will try to
instantiate a new DateTime object and use that instead.
2012-05-17 17:23:47 +02:00
Gustavo André dos Santos Lopes
9a35d45a5b
Accept DateTimeZone where time zones are expected.
...
Also unified timezone handling in IntlCalendar::setTimeZone()
to that in the IntlCalendar and IntlGregorianCalendar constructors.
2012-05-17 17:23:46 +02:00
Gustavo André dos Santos Lopes
ac33e40d2a
Keep date precision in MessageFormatter.
...
MessageFormatter::parse and MessageFormat::format (and their static
equivalents) now don't throw away better than second precision in the
arguments.
It's already bad enough that in MessageFormatter and IntlDateFormatter we
use seconds since epoch instead of milliseconds since epoch, deviating
from the ICU date representations. But we don't need to throw away extra
precision when parsing dates; we can keep the seconds since epoch
convention and return non integer doubles with only a small BC impact.
Note that we already could return doubles from MessageFormatter::parse if
the date was sufficiently in the past or in the future.
2012-05-13 23:03:07 +02:00
Gustavo André dos Santos Lopes
53860672f3
ICU < 4.8 compat in MessageFormatter
...
Restricted support for named arguments to ICU 4.8+.
Also added bound checks when converting arguments to Formattables.
2012-05-13 20:55:02 +01:00
Gustavo André dos Santos Lopes
43ff66e095
Don't check number of args in msgfmt_do_format
...
The check does not work reliably across ICU versions when named arguments
are added to the mix. For instance, for recent versions of ICU like 49,
a pattern like "{foo,number} {foo}", has 0 returned from
umsg_format_arg_count(), but for ICU 4.0, this returns 2.
2012-05-13 20:54:55 +01:00
Gustavo André dos Santos Lopes
0295ed7d22
Added new MessageFormatter tests.
2012-05-13 20:53:06 +01:00
Gustavo André dos Santos Lopes
1c4f99b988
Better error messages in MessageFormatter::format.
2012-05-13 20:53:06 +01:00
Gustavo André dos Santos Lopes
0ad1b14f16
Accept numeric strings for dates.
...
Refactored umsg_helper_zval_to_millis in the process.
2012-05-13 20:53:06 +01:00
Gustavo André dos Santos Lopes
20dd5ccf19
Cache arguments type info in MessageFormatter.
2012-05-13 20:53:05 +01:00
Gustavo André dos Santos Lopes
407455876e
Set global error if insufficient numeric args. WS.
2012-05-13 20:53:05 +01:00
Gustavo André dos Santos Lopes
f1621485ad
Fixed MessageFormatter subformat tests.
2012-05-13 20:53:05 +01:00
Gustavo André dos Santos Lopes
edca0e2adb
Refactoring of patch for FR #61871 .
2012-05-13 20:52:41 +01:00
Gustavo André dos Santos Lopes
c9b913b56b
Orig patch for FR #61871 by David Sklar
2012-05-13 20:51:43 +01:00
Felipe Pena
93d42fb444
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice)
2012-04-23 15:19:35 -03:00
Felipe Pena
883d40667d
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice)
2012-04-23 15:19:23 -03:00
Felipe Pena
c8865e3b84
- Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice)
2012-04-23 15:18:12 -03:00
Stanislav Malyshev
71884b7024
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 11:37:55 -07:00
Stanislav Malyshev
106e0a2e68
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 11:37:31 -07:00
Stanislav Malyshev
5cbf2d6785
Merge branch 'pull-request/61' into PHP-5.3
...
* pull-request/61:
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 11:28:30 -07:00
Sherif Ramadan
2827324c7c
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 04:44:43 -04:00
Gustavo André dos Santos Lopes
d32ac3efc8
Fixed tests that required a "default" timezone.
...
Added date.timezone=Atlantic/Azores to all tests that were failing because
of ext/date warning about a timezone not having been set.
2012-04-01 23:28:01 +01:00
Gustavo André dos Santos Lopes
95fbae891a
Compatibility with old versions of ICU (4.0+).
2012-04-01 23:28:01 +01:00
Gustavo André dos Santos Lopes
69f75bb43c
Added support for new method TimeZone::getUnknown() added in ICU 49.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
d3a29c108b
Supported Calendar methods new to ICU 49.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
7460741f99
Fix TimeZone tests failing due to new data in ICU 49.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
5e65205a8f
Initial checkin of calendar/timezone code.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
ab627e0eb0
Convert EOL style to Unix.
2012-04-01 11:00:05 +02:00
Anatoliy Belsky
bd928f0592
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 15:07:01 +02:00
Anatoliy Belsky
a715a21594
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 14:53:28 +02:00
Anatoliy Belsky
105a9a9d45
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 14:01:14 +02:00
Anatoliy Belsky
103995ba22
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 13:59:51 +02:00
Stanislav Malyshev
d780b4e4b3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix tests
2012-03-25 13:50:33 -07:00
Stanislav Malyshev
d51c1e0a4c
fix tests
2012-03-25 13:49:19 -07:00
Stanislav Malyshev
53c2f47a8f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix bug #61487 - bad bounds check in grapheme_strpos
2012-03-25 01:03:43 -07:00
Stanislav Malyshev
2bd5fa0eda
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fix bug #61487 - bad bounds check in grapheme_strpos
2012-03-25 01:03:25 -07:00
Stanislav Malyshev
cd9cd36d7e
fix bug #61487 - bad bounds check in grapheme_strpos
2012-03-25 00:56:38 -07:00
Rasmus Lerdorf
d00be8ce0b
Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there
...
is no way to know whether dst should be applied or not.
2012-02-05 10:35:56 +00:00
Rasmus Lerdorf
2500b7e5ba
Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there
...
is no way to know whether dst should be applied or not.
2012-02-05 10:35:56 +00:00
Rasmus Lerdorf
6659010dc9
Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there
...
is no way to know whether dst should be applied or not.
2012-02-05 10:35:56 +00:00
Rasmus Lerdorf
67fe1e2619
Without a timezone you can't know whether it is dst or not in this one
2012-02-05 10:29:34 +00:00
Rasmus Lerdorf
fe777cd4db
Without a timezone you can't know whether it is dst or not in this one
2012-02-05 10:29:34 +00:00
Rasmus Lerdorf
c5ec2f77dd
Without a timezone you can't know whether it is dst or not in this one
2012-02-05 10:29:34 +00:00
Gustavo André dos Santos Lopes
10324891f8
- Added the ability for the intl exception to throw exceptions when a global error is set.
2012-01-08 18:41:53 +00:00
Gustavo André dos Santos Lopes
9985d99358
- Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)
...
(fedora at famillecollet dot com)
2011-11-26 14:55:31 +00:00
Gustavo André dos Santos Lopes
7c2946f80e
- Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)
...
(fedora at famillecollet dot com)
2011-11-26 14:55:31 +00:00
Gustavo André dos Santos Lopes
d06c4e90a7
- Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c
2011-11-24 22:45:50 +00:00
Gustavo André dos Santos Lopes
5b383dacdf
- Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c
2011-11-24 22:45:50 +00:00
Gustavo André dos Santos Lopes
5fa1cfbbe6
- Support for UTS #46 .
2011-11-24 17:54:50 +00:00
Gustavo André dos Santos Lopes
fa4fe63944
- Support for UTS #46 .
2011-11-24 17:54:50 +00:00
Felipe Pena
735dc01811
- Fixed memory leak in several Intl locale functions
2011-11-22 12:29:15 +00:00
Felipe Pena
f6fb9fc2b2
- Fixed memory leak in several Intl locale functions
2011-11-22 12:29:15 +00:00
Felipe Pena
cc8c3a2d00
- Fixed memory leak in several Intl locale functions
2011-11-22 12:29:15 +00:00
Florian Anderiasch
6587e243ec
Redid the fix for #60192 with suggestions by Pierre and Kalle
2011-11-03 16:20:11 +00:00
Florian Anderiasch
8343d05e85
Redid the fix for #60192 with suggestions by Pierre and Kalle
2011-11-03 16:20:11 +00:00
Florian Anderiasch
635e2c28fe
Redid the fix for #60192 with suggestions by Pierre and Kalle
2011-11-03 16:20:11 +00:00
Florian Anderiasch
fe5f6f9188
Fix #60192 SegFault when Collator not constructed properly
2011-11-02 07:36:52 +00:00
Florian Anderiasch
294c28f885
Fix #60192 SegFault when Collator not constructed properly
2011-11-02 07:36:52 +00:00
Florian Anderiasch
c2874a8077
Fix #60192 SegFault when Collator not constructed properly
2011-11-02 07:36:52 +00:00
Stanislav Malyshev
d81ea16ef1
Changed silent conversion of array to string to produce a notice. (Patrick)
2011-10-21 06:08:47 +00:00
Stanislav Malyshev
ed12ebc79c
Changed silent conversion of array to string to produce a notice. (Patrick)
2011-10-21 06:08:47 +00:00
Ferenc Kovacs
ce68c06ece
the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient
2011-09-22 22:29:28 +00:00
Ferenc Kovacs
54e570123c
the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient
2011-09-22 22:29:28 +00:00
Ferenc Kovacs
a52d3efe08
the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient
2011-09-22 22:29:28 +00:00
Xinchen Hui
30718d0f14
Added skipif
2011-09-06 09:17:12 +00:00
Xinchen Hui
b1eaad7d1f
Added skipif
2011-09-06 09:17:12 +00:00
Xinchen Hui
3901f5abb8
Added skipif
2011-09-06 09:17:12 +00:00
Stanislav Malyshev
cc9483f19e
fix tests
2011-09-05 00:49:03 +00:00
Stanislav Malyshev
6e8ebecf0e
fix tests
2011-09-05 00:49:03 +00:00
Stanislav Malyshev
e07d1f0bbc
fix tests
2011-09-05 00:49:03 +00:00
Stanislav Malyshev
40217d0417
fix bug 55562 - make substr always return rest of the string if length is too long
2011-09-04 18:50:05 +00:00
Stanislav Malyshev
ae1af27e18
fix bug 55562 - make substr always return rest of the string if length is too long
2011-09-04 18:50:05 +00:00
Pierre Joye
e0792c2590
- wrong variable used (ended as non initiazed usage)
2011-09-04 16:33:51 +00:00
Pierre Joye
a948142d31
- wrong variable used (ended as non initiazed usage)
2011-09-04 16:33:31 +00:00
Pierre Joye
678e8e2872
- wrong variable used (ended as non initiazed usage)
2011-09-04 16:33:31 +00:00
Gwynne Raskind
f4f7a32121
Front- and back-port rev 314431 (missing php.h include)
2011-08-07 17:15:40 +00:00
Gwynne Raskind
dfe8fbca9e
Front- and back-port rev 314431 (missing php.h include)
2011-08-07 17:15:40 +00:00
Gwynne Raskind
159635f4f5
Back- and front-port fixes for #55019
2011-08-07 17:14:14 +00:00
Gwynne Raskind
b8a2da31b1
Back- and front-port fixes for #55019
2011-08-07 17:14:14 +00:00
Gwynne Raskind
e8281417fd
Fixes build issues with ext/intl. This appears to be related to bug #55019 , but since the functions in question are used elsewhere, the solution is to de-inline rather than to make them static inline.
2011-08-07 15:12:34 +00:00
Gwynne Raskind
a1d6eaf6d6
fix for bug #55019
2011-08-07 15:09:42 +00:00
Gwynne Raskind
1607c8901d
Add missing php.h include
2011-08-07 15:07:53 +00:00
Felipe Pena
13eb47a8bc
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
783b05326a
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
9c289189d3
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
32319a142f
- Added missing check (thanks neweracracker at gmail dot com)
2011-08-04 10:56:59 +00:00
Felipe Pena
20dc806810
- Added missing check (thanks neweracracker at gmail dot com)
2011-08-04 10:56:59 +00:00
Felipe Pena
8cf0864b8c
- Added missing check (thanks neweracracker at gmail dot com)
2011-08-04 10:56:59 +00:00
Felipe Pena
8b27b6d559
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Felipe Pena
d8f08192ef
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Felipe Pena
463de70efd
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Ilia Alshanetsky
00a6dd29b7
Show ICU Data version inside phpinfo()
2011-06-03 18:14:36 +00:00
Ilia Alshanetsky
31b91d7cdb
Show ICU Data version inside phpinfo()
2011-06-03 18:14:36 +00:00
Ilia Alshanetsky
53b6c0c8eb
Show ICU Data version inside phpinfo()
2011-06-03 18:14:36 +00:00
Ilia Alshanetsky
f7cdabd118
More tests
2011-06-01 16:59:23 +00:00
Ilia Alshanetsky
329eae2a7a
More tests
2011-06-01 16:59:23 +00:00
Ilia Alshanetsky
be20efc476
More tests
2011-06-01 16:59:23 +00:00
Ilia Alshanetsky
e6c9a31c54
Implemented FR #54561 (Expose ICU Version & ICU Data Version info).
2011-06-01 16:26:21 +00:00
Ilia Alshanetsky
b8ffccb3ab
Implemented FR #54561 (Expose ICU Version & ICU Data Version info).
2011-06-01 16:26:21 +00:00
Ilia Alshanetsky
ccd3633b5c
Implemented FR #54561 (Expose ICU Version & ICU Data Version info).
2011-06-01 16:26:21 +00:00
Stanislav Malyshev
339f46237d
implement FR #54540 - Allow loading of arbitrary resource bundles when fallback is disabled
2011-04-17 21:56:26 +00:00
Stanislav Malyshev
3440d853c7
implement FR #54540 - Allow loading of arbitrary resource bundles when fallback is disabled
2011-04-17 21:56:26 +00:00
Felipe Pena
2191af9546
- Fixed compiler warnings
2011-03-27 18:14:58 +00:00
Pierre Joye
36671fe781
- unused var
2011-02-15 09:07:34 +00:00
Pierre Joye
64f45d8fe8
- unused var
2011-02-15 09:07:34 +00:00
Pierre Joye
6f6d60821e
- fix intl build with ICU < 4.2, windows part
2011-02-15 08:48:24 +00:00
Pierre Joye
71f5af6c70
- fix build with ICU < 4.2, add ICU_VERSION for m4 checks
2011-02-15 08:28:03 +00:00
Scott MacVicar
ee9af39c90
Fix docblocks on SpoofChecker and remove exceptions after discussion with Stas.
2011-02-03 16:29:23 +00:00
Scott MacVicar
b2c4503fbe
intl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and tidy syntax.
2011-01-13 07:46:59 +00:00
Scott MacVicar
d90394851c
Add Spoofchecker to intl extension.
...
Implements part of Unicode TR36 and TR39
2011-01-13 06:53:09 +00:00
Felipe Pena
92d82619d7
- Fixed compiler warnings
2011-01-12 00:29:59 +00:00
Felipe Pena
189b042a01
- Fixed compiler warnings
2011-01-12 00:29:59 +00:00
Stanislav Malyshev
f01a0cba6b
fix unit tests for intl in accordance with new ICU releases
2011-01-04 03:24:38 +00:00
Stanislav Malyshev
66f38ebac6
fix unit tests for intl in accordance with new ICU releases
2011-01-04 03:24:38 +00:00
Stanislav Malyshev
7d3a0e15f5
Imlement clone for formatters that support it
...
# also some test fixes, more to follow
2011-01-03 03:58:57 +00:00
Stanislav Malyshev
28584c233e
Imlement clone for formatters that support it
...
# also some test fixes, more to follow
2011-01-03 03:58:57 +00:00
Gustavo André dos Santos Lopes
9ec9210fbc
- Fixed bug #53612 (Segmentation fault when using several cloned intl
...
objects).
2010-12-27 01:10:08 +00:00
Gustavo André dos Santos Lopes
610bb96036
- Fixed bug #53612 (Segmentation fault when using several cloned intl
...
objects).
2010-12-27 01:10:08 +00:00
Stanislav Malyshev
25c5841160
Fix bad args to grapheme_extract(), reported by Maksymilian Arciemowicz
2010-12-19 05:07:31 +00:00
Stanislav Malyshev
c28cac404d
Fix bad args to grapheme_extract(), reported by Maksymilian Arciemowicz
2010-12-19 05:07:31 +00:00
Felipe Pena
8b1d477052
- Added test for bug #53512
2010-12-10 00:59:50 +00:00
Felipe Pena
7f69592f11
- Added test for bug #53512
2010-12-10 00:59:50 +00:00
Felipe Pena
7d2b089860
- Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values)
2010-12-10 00:47:51 +00:00
Felipe Pena
43cfda93eb
- Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values)
2010-12-10 00:47:51 +00:00
Felipe Pena
f327f13204
- Fixed ZTS build
2010-11-21 17:41:33 +00:00
Felipe Pena
167e51f36c
- Fixed ZTS build
2010-11-21 17:41:33 +00:00
Stanislav Malyshev
0ba1cd1bd2
Add support for DateTime in datefmt_format
2010-11-20 02:09:04 +00:00
Stanislav Malyshev
4415b3af51
Add support for DateTime in datefmt_format
2010-11-20 02:09:04 +00:00
Stanislav Malyshev
0fa76d2407
Fix invalid args bugs by Maksymilian Arciemowicz
2010-11-19 23:22:55 +00:00
Stanislav Malyshev
e6c213b8ea
Fix invalid args bugs by Maksymilian Arciemowicz
2010-11-19 23:22:55 +00:00
Gustavo André dos Santos Lopes
e283f7a7fe
- Added support for ICU Transformations (Transliterator).
...
- Changes request #52986 to "to be documented".
2010-10-06 18:53:27 +00:00
Gustavo André dos Santos Lopes
8d34fe0d22
- Fixed test for bug #50590 on systems with 64-bit longs.
2010-10-06 17:05:05 +00:00
Gustavo André dos Santos Lopes
da6366e74a
- Fixed test for bug #50590 on systems with 64-bit longs.
2010-10-06 17:05:05 +00:00
Stanislav Malyshev
a54ac71371
Fix bug #50590 - IntlDateFormatter::parse result is limited to the integer range
2010-09-01 20:34:59 +00:00
Stanislav Malyshev
68eb876351
Fix bug #50590 - IntlDateFormatter::parse result is limited to the integer range
2010-09-01 20:34:59 +00:00
Stanislav Malyshev
af2d266a09
sync version with PECL
2010-06-30 04:23:32 +00:00
Stanislav Malyshev
f1bb484bc2
sync version with PECL
2010-06-30 04:23:32 +00:00
Johannes Schlüter
26b08f9857
Remove main/php3_compat.h, for that a few references to function_entry
have
...
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Stanislav Malyshev
f6bc260259
fix protos
2010-03-25 22:30:26 +00:00
Stanislav Malyshev
252082192a
fix the protos
2010-03-25 19:17:17 +00:00
Stanislav Malyshev
df15e2cde6
fix TS build
2010-01-21 18:07:28 +00:00
Stanislav Malyshev
28e9a01a3e
name resource build script resourcebundle.build
2010-01-11 23:46:43 +00:00
Stanislav Malyshev
8f4337f255
add ICU resource bundle support, contributed by Hans-Peter Oeri
2010-01-04 21:44:45 +00:00
Stanislav Malyshev
882a89fb22
cleanup some code, improve error handling
2009-12-23 21:41:05 +00:00
Stanislav Malyshev
baaec77e78
clean up normalizer code
2009-12-21 20:12:46 +00:00
Stanislav Malyshev
af0bfc8859
fix version
2009-10-27 23:21:00 +00:00
Stanislav Malyshev
f22ef52836
add test
2009-10-26 22:37:26 +00:00
Stanislav Malyshev
65c1421f3f
add collator_get_sort_key()
2009-10-26 22:35:48 +00:00
Antony Dovgal
6d04f1a141
fix test
2009-07-26 19:53:23 +00:00
Stanislav Malyshev
e865c0b4ee
merge errors support
2009-07-07 21:25:46 +00:00
Stanislav Malyshev
387fbb2d4e
fix protos
2009-07-06 23:48:27 +00:00
Stanislav Malyshev
bfdeea808a
add test
2009-07-06 23:28:16 +00:00
Stanislav Malyshev
9937006ac5
bugfix
2009-07-02 22:36:16 +00:00
Stanislav Malyshev
b755935771
cleanup Locale::lookup
2009-07-02 00:43:26 +00:00
Stanislav Malyshev
838d359641
typo
2009-07-01 20:31:26 +00:00
Stanislav Malyshev
96f2a45df3
update API files
2009-07-01 20:25:38 +00:00
Stanislav Malyshev
09c10856f6
fix proto
2009-07-01 20:17:31 +00:00
Stanislav Malyshev
06000724e7
revent wrong part
2009-05-10 20:58:26 +00:00
Felipe Pena
f306943799
- Fixed bug #48227 (NumberFormatter::format leaks memory)
2009-05-10 20:17:22 +00:00
Stanislav Malyshev
0cb1c2797f
little errors cleanup
2009-05-10 19:10:36 +00:00
Hannes Magnusson
64e4c69090
fix proto
...
# Why doesn't this exist in HEAD?
2009-05-10 13:26:38 +00:00
Jani Taskinen
bc247e0eec
MFH:- Fix parameter variable type to match "l"
2009-05-02 02:08:46 +00:00
Ilia Alshanetsky
814e4588f4
Removed unused variable
2009-04-27 23:22:16 +00:00
Kirti Velankar
d21456d602
Fix in grapheme_extract
2009-04-27 18:18:04 +00:00
Ilia Alshanetsky
c5c9f30d36
Removed unused vars
2009-04-22 12:35:22 +00:00
Stanislav Malyshev
5b8a5d7df4
merge grapheme substr fix
2009-04-10 16:53:35 +00:00
Stanislav Malyshev
54216edfe3
fix bug #14562
2009-01-30 20:56:12 +00:00
Stanislav Malyshev
a3c422974b
fix // comments
2009-01-29 21:49:49 +00:00
Pierre Joye
7cb513c19a
- idn build for win
2009-01-26 22:34:49 +00:00
Pierre Joye
503779eb17
- [DOC] add IDN support, idn_to_ascii and idn_to_utf8
...
tests and MFB will follow Wednesday
2009-01-26 22:30:57 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Ed Batutis
8e0529e0d1
Fix for pecl bug 14664 - problem with older gcc
2008-10-16 18:06:05 +00:00
Stanislav Malyshev
f77aa102ea
fix tests to work both in ICU 3.6 and 3.8
2008-09-08 20:49:10 +00:00
Stanislav Malyshev
29a57b1ddd
fix formatter tests for ICU 3.8
2008-09-04 19:59:37 +00:00
Stanislav Malyshev
9bb39338db
fix tests
2008-09-04 00:16:58 +00:00
Stanislav Malyshev
d8c0c2203b
fix formatting/parsing
2008-09-04 00:15:25 +00:00
Stanislav Malyshev
95d9565902
ws cleanup
2008-09-04 00:08:17 +00:00
Felipe Pena
eb1837d9de
MFH:
...
- Added arginfo
- Fixed WS
- Changed C++ comments to C comments
2008-08-11 19:48:00 +00:00
Felipe Pena
81d894293d
- MFH: Fixed crash msgfmt_get_pattern
2008-08-06 16:17:27 +00:00
Jani Taskinen
06029cf3a7
oops
2008-08-03 11:54:30 +00:00
Jani Taskinen
c2c76d2d78
- What a mess..
2008-08-03 11:33:45 +00:00
Felipe Pena
b2e0077261
- MFH: Fixed memory leak.
...
# Test: locale_filter_matches(str_repeat('a', 520), str_repeat('a', 520), 1);
2008-07-30 19:34:23 +00:00
Felipe Pena
fcd87bc3a1
- Fixed crash when NULL is passed to locale_accept_from_http()
2008-07-30 16:43:11 +00:00
Jani Taskinen
54203ea5d0
MFH:tune
2008-07-26 22:18:38 +00:00
Rob Richards
aa81dabddc
MFH: fix zts build
2008-07-25 12:41:57 +00:00
Stanislav Malyshev
0a7c0b37e3
add compose syntax as per request #14266
2008-07-23 19:44:51 +00:00