Stanislav Malyshev
8e9777a1f1
Fix test - because of big #67397 we don't allow overlong locales anymore
2014-07-18 16:27:11 -07:00
Stanislav Malyshev
e644aad3f9
Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
2014-07-18 16:26:51 -07:00
Stanislav Malyshev
8ab4e2e90d
Fix bug #67349 : Locale::parseLocale Double Free
2014-07-18 16:26:05 -07:00
Anatoliy Belsky
5020b51d72
extended the SKIPIF section with ICU 49 (sync with 5.4 branch)
2012-10-12 19:50:35 +02:00
Gustavo Lopes
0410b4e60f
Fixed defective cloning in ext/intl classes
...
See also bug #62915
Cherry picked from 886a50a (I forgot about 5.3)
Conflicts:
ext/intl/spoofchecker/spoofchecker_class.c
ext/intl/transliterator/transliterator_class.c
2012-08-26 23:53:57 +02:00
Anatoliy Belsky
eca4fc6991
ZTS fix introduced by Felipe must also go into 5.3
2012-08-23 13:32:06 +02:00
Gustavo Lopes
a5d0c1e21b
Fix handling of several uinitialized intl objects
2012-08-22 22:32:51 +02:00
Reeze Xia
0cdc1f5626
Move test files to tests dir
...
There are 7 files duplicated, so those files was deleted
2012-08-21 14:32:39 +08:00
Matt Ficken
1a23d42909
More intl tests extracted from symfony
2012-08-17 20:29:08 +02:00
Matt Ficken
ed793b2a3f
Added the intl tests extracted from Symfony. These are making the intl ext crash with ICU at least 4.6, but probably with earlier versions too.
2012-08-06 14:07:42 +02:00
Xinchen Hui
2b6ac9e1a0
Fix test, wrong exepct rule used
2012-08-02 19:31:34 +08:00
Gustavo André dos Santos Lopes
7e3e1837c8
Limit test to ICU 49
2012-07-30 10:27:41 +02:00
Gustavo André dos Santos Lopes
9762609cec
Remove executable bit from files
2012-07-30 10:25:17 +02:00
Gustavo André dos Santos Lopes
c1ac325228
Fix ext/intl build on ICU < 4.8
2012-06-06 12:10:00 +02:00
Gustavo André dos Santos Lopes
52d541a314
Optimization in ext/intl/msgformat
...
Don't transform the string to make it apostrophe friendly in ICU 4.8+
as that it is now the default.
2012-06-06 11:36:00 +02:00
Gustavo André dos Santos Lopes
45b3fa4dee
Fixed tests in ext/intl
...
21 is not a valid value for UNUM_PADDING_POSITION. Changed the test to
use 2 instead.
Remove ICU 4.2- test. No one cares.
2012-06-05 16:47:00 +02:00
Gustavo André dos Santos Lopes
9b233b7e5e
Changed XFAILed collator_get_sort_key.phpt
...
Ressurected and limited to ICU 4.8 in the hope that the sort keys
will remain stable in more recent ICU versions. I have only tested
with ICU 4.8 so far.
2012-06-04 10:18:24 +02:00
Gustavo André dos Santos Lopes
85c777d2f1
Fixed bug #55610 : ResourceBundle and Traversable
2012-05-24 14:33:05 +02:00
Gustavo André dos Santos Lopes
2da2de46a8
Fixed bug #60785
...
Memory leak in IntlDateFormatter constructor.
udat_setCalendar() clones the calendar before it adopts it,
so we were leaking the original calendar.
Also we now validate the calendar type.
2012-05-24 11:06:21 +02:00
Gustavo André dos Santos Lopes
e08566c613
Fixed bug #62017
...
IntlDateFormatter constructor would release some resources
under certain error conditions.
2012-05-23 15:52:19 +02:00
Gustavo André dos Santos Lopes
1eff3b01b8
Fixed bug #6208 : memory leak in grapheme_extract()
2012-05-23 13:25:45 +02:00
Gustavo André dos Santos Lopes
86ea921291
Fixed bug #62082
...
This was a buffer overflow in internal function
get_icu_disp_value_src_php().
2012-05-23 13:25:42 +02:00
Gustavo André dos Santos Lopes
07c0d714a5
Fixed bug #62081
...
Constructor of IntlDateFormatter would leak if called twice.
Made calling it more than once error out before starting
using resources.
2012-05-23 13:25:37 +02:00
Gustavo André dos Santos Lopes
51286bd8e5
Fixed bug #62070
...
Collator::getSortKey() was returning an unterminated string
due the length given to RETURN_STRINGL being off by one.
2012-05-23 13:25:32 +02: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
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
Anatoliy Belsky
bd928f0592
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 15:07:01 +02: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
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
Felipe Pena
735dc01811
- Fixed memory leak in several Intl locale functions
2011-11-22 12:29:15 +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
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
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
Pierre Joye
e0792c2590
- wrong variable used (ended as non initiazed usage)
2011-09-04 16:33:51 +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
159635f4f5
Back- and front-port fixes for #55019
2011-08-07 17:14:14 +00:00
Felipe Pena
13eb47a8bc
- 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
8b27b6d559
- 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
Ilia Alshanetsky
00a6dd29b7
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
e6c9a31c54
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
Pierre Joye
64f45d8fe8
- unused var
2011-02-15 09:07:34 +00:00
Felipe Pena
92d82619d7
- Fixed compiler warnings
2011-01-12 00:29:59 +00:00