Commit Graph

367 Commits

Author SHA1 Message Date
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
Stanislav Malyshev
c7e1aefd7f add test 2008-07-23 01:18:25 +00:00
Stanislav Malyshev
775502f7e9 add acceptFromHttp 2008-07-23 01:15:33 +00:00
Stanislav Malyshev
0d30c88ded use correct locale check 2008-07-22 20:40:01 +00:00
Stanislav Malyshev
07667caf13 typofixes 2008-07-22 20:25:51 +00:00
Stanislav Malyshev
d54c396dca refactor ctors, cleanup code 2008-07-22 20:23:47 +00:00
Jani Taskinen
39098a6d16 - Fix build 2008-07-16 12:37:00 +00:00
Jani Taskinen
1e2b2bbeae - Some config*.m4 file cleanups: NO tabs in these! 2008-07-14 09:02:26 +00:00
Stanislav Malyshev
bdc0acdd77 add icu version to phpinfo 2008-07-14 07:16:24 +00:00
Stanislav Malyshev
aeef561b98 fix test 2008-07-14 06:42:45 +00:00
Stanislav Malyshev
44326938eb - increase max locale to 80
- add some macros
2008-07-14 06:42:11 +00:00
Stanislav Malyshev
01e9895f41 todo 2008-07-14 06:15:49 +00:00
Stanislav Malyshev
f787963056 fix date formatter positions (bug #14263) 2008-07-10 21:58:02 +00:00
Stanislav Malyshev
9eb22ce7f7 Merge intl extension 2008-07-07 23:10:15 +00:00
Stanislav Malyshev
0d16b1516b Merge intl extension into core 2008-07-07 22:51:04 +00:00