Gustavo Lopes
886a50a619
Fixed defective cloning in ext/intl classes
...
See also bug #62915
2012-08-26 23:42:13 +02:00
Gustavo Lopes
87803ace94
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix handling of several uinitialized intl objects
2012-08-22 22:37:52 +02:00
Gustavo Lopes
a5d0c1e21b
Fix handling of several uinitialized intl objects
2012-08-22 22:32:51 +02:00
Xinchen Hui
c1284f21a7
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-21 15:23:09 +08: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
Anatoliy Belsky
55b82abe00
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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:12:04 +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
cbf1db38f7
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-02 19:33:27 +08:00
Xinchen Hui
2b6ac9e1a0
Fix test, wrong exepct rule used
2012-08-02 19:31:34 +08:00
Gustavo André dos Santos Lopes
86ca788cc7
Fix test title and limit it to ICU >= 4.8
2012-07-30 11:04:10 +02:00
Gustavo André dos Santos Lopes
f8e693248f
Remove executable bit from files
2012-07-30 10:32:27 +02:00
Gustavo André dos Santos Lopes
dec7bad635
Merge branch '5.3' into 5.4
...
* 5.3:
Limit test to ICU 49
Remove executable bit from files
2012-07-30 10:31:10 +02: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
f3f824823d
Duplicate test for ICU 49
...
The output in ICU < 49 actually seems wrong here; ICU 49 seems to
fix the data.
2012-07-23 02:08:12 +02:00
Marc Easen
896ac689c9
Fixed the common misspelling of the word occurred (occured -> occurred)
2012-06-30 16:54:03 -07:00
Xinchen Hui
83542dcf3b
Merge branch 'PHP-5.3' into PHP-5.4
...
By Gustavo André dos Santos Lopes (4) and others
via Felipe Pena (1) and Xinchen Hui (1)
* PHP-5.3:
Remove unused codes
based on microsoft's description,the direct convert from FILETIME struct to __int64 is unsafe.
Fix ext/intl build on ICU < 4.8
Optimization in ext/intl/msgformat
Fixed tests in ext/intl
Changed XFAILed collator_get_sort_key.phpt
2012-06-07 14:32:47 +08: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
Stanislav Malyshev
9b98cf7865
fix test
2012-05-29 23:52:47 -07:00
Gustavo André dos Santos Lopes
04fd0b1098
Merge branch '5.3' into 5.4
2012-05-24 14:33: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
92039fed22
Changed ResourceBundle constructor behavior
...
null is now accepted for two first (mandatory arguments).
Passing null as the package name causes NULL to be passed to ICU and
the default ICU data to be loaded.
Passing null as the locale name causes the default locale to be used.
2012-05-24 13:50:59 +02:00
Gustavo André dos Santos Lopes
e8009e2dca
Merge branch '5.3' into 5.4
2012-05-24 11:08:55 +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
0838a2b7c5
Merge branch '5.3' into 5.4
2012-05-23 15:52:32 +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
8ee8ccda19
Merge branch '5.3' into 5.4
...
Conflicts:
sapi/fpm/fpm/fpm_main.c
2012-05-23 13:27:21 +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
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
Anatoliy Belsky
bd928f0592
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 15:07:01 +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
d51c1e0a4c
fix tests
2012-03-25 13:49:19 -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
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
Gustavo André dos Santos Lopes
5fa1cfbbe6
- Support for UTS #46 .
2011-11-24 17:54:50 +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