Commit Graph

63 Commits

Author SHA1 Message Date
Michael Ow
24055f8585 ICU-7882 Enable BCP47 ids and update a few test cases in ICU4C.
X-SVN-Rev: 28503
2010-08-20 20:11:37 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +00:00
Peter Edberg
4c6887c581 ICU-7295 ucal_open crash if locale==NULL && caltype==UCAL_GREGORIAN
X-SVN-Rev: 27414
2010-01-26 07:21:21 +00:00
Peter Edberg
93ecb35cb6 ICU-2223 Port weekend APIs from ICU4J to C,C++ (real implementation)
X-SVN-Rev: 27403
2010-01-25 20:12:19 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
Steven R. Loomis
ff3cb7a656 ICU-6799 reduce warnings (status: 718->459)
X-SVN-Rev: 25708
2009-04-01 05:57:09 +00:00
Yoshito Umaoka
9d0666f840 ICU-6661 ucal_getKeywordValuesForLocale to use calendarPreference data from CLDR. Updated supplementalData.txt generated from the CLDR CVS head version of supplementalData.xml (1.205).
X-SVN-Rev: 25652
2009-03-25 17:59:48 +00:00
John Emmons
59e662ea7c ICU-6770 CLDR 1.7 integration snapshot - phase 1
X-SVN-Rev: 25576
2009-03-13 03:21:29 +00:00
Michael Ow
a5894c4401 ICU-3378 Fix cintltst compilation errors.
X-SVN-Rev: 25532
2009-03-09 22:28:54 +00:00
Michael Ow
aa05d999c7 ICU-3378 Port over getKeywordValuesForLocale API from ICU4J to ICU4C. Add test for this new API. Also add for, internal use, Linked List API for when creating UEnumeration.
X-SVN-Rev: 25527
2009-03-09 20:39:13 +00:00
Peter Edberg
c9079b0322 ICU-6614 Add UErrorCode* parameter for ucal_getType; improve UCalendarType comments.
X-SVN-Rev: 25037
2008-12-02 22:56:31 +00:00
Peter Edberg
4510d290cd ICU-6615 define UCAL_DEFAULT, make UCAL_GREGORIAN work correctly in ucal_open
X-SVN-Rev: 24935
2008-11-07 04:50:24 +00:00
Peter Edberg
d53d0406af ICU-6614 Add ucal_getType()
X-SVN-Rev: 24931
2008-11-06 06:49:30 +00:00
Peter Edberg
342953342c ICU-5568 Add ucal_clone()
X-SVN-Rev: 24014
2008-05-28 04:53:32 +00:00
Yoshito Umaoka
3396499f26 ICU-5845 Fixed a test case to invalidate zero-th week of month.
X-SVN-Rev: 23776
2008-04-09 19:19:29 +00:00
George Rhoten
8bc5d287d9 ICU-6076 Reduce crashes and valgrind errors in tests for easier diagnostics.
X-SVN-Rev: 23457
2008-02-19 05:05:51 +00:00
Yoshito Umaoka
ba7bd65b8f ICU-5561 Added another version of getCanonicalID which tells you if the given ID is a system timezon in C++. Updated ucal_getCanonicalTimeZone to support the feature as well.
X-SVN-Rev: 23354
2008-02-05 19:14:43 +00:00
Yoshito Umaoka
873d3f5b19 ICU-5561 Adding new C++ API TimeZone::getCanonicalID and its C corresponding. Added test cases for the new API. Cleaned up ZoneMeta class.
X-SVN-Rev: 23299
2008-01-23 23:47:13 +00:00
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
Yoshito Umaoka
0651c49b65 ICU-3778 Added getTZDataVersion for C and C++
X-SVN-Rev: 22063
2007-07-19 22:29:51 +00:00
Markus Scherer
2c56554cbb ICU-5211 add API functions: ucal_setGregorianChange() and ucal_getGregorianChange()
X-SVN-Rev: 19775
2006-06-27 23:06:25 +00:00
George Rhoten
0b0d6328ab ICU-4707 Properly define range checking
X-SVN-Rev: 19439
2006-03-25 22:29:09 +00:00
Ram Viswanadha
4232bf88c3 ICU-4450 update tests
X-SVN-Rev: 17993
2005-06-23 18:23:03 +00:00
Doug Felt
50c3a2554b ICU-646 wall time support in icu
X-SVN-Rev: 17801
2005-06-04 03:08:25 +00:00
Eric Mader
f57c82a12d ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17348
2005-03-16 18:46:54 +00:00
George Rhoten
3d422a5f99 ICU-4379 Perform the clear suggestion as described in the documentation.
X-SVN-Rev: 17337
2005-03-15 00:20:32 +00:00
Markus Scherer
6a4d576318 ICU-3403 cut out @obsolete ICU 2.8 APIs
X-SVN-Rev: 13769
2003-11-19 21:37:56 +00:00
George Rhoten
00e21ff118 ICU-3259 Remove the time zone option.
After fixing the time zone memory leak, I discovered that some tests call u_cleanup to test the heap functions.
So setting the time zone at the beginning of the process won't help because the value doesn't stay around.
Any tests that depend on the timezone need to set and reset the timezone.

X-SVN-Rev: 13349
2003-10-07 21:52:15 +00:00
Vladimir Weinstein
acc92a79b8 ICU-2840 fix a typo
X-SVN-Rev: 12294
2003-06-04 22:09:43 +00:00
Steven R. Loomis
5fc78bf0ce ICU-2840 don't crash without data
X-SVN-Rev: 12292
2003-06-04 22:02:07 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
George Rhoten
8e43d0330c ICU-2765 Fix for Mac OS X
X-SVN-Rev: 11680
2003-04-24 22:38:45 +00:00
Vladimir Weinstein
2cc3ea8477 ICU-2765 removed usage of private headers - returned #include <malloc.h>
X-SVN-Rev: 11632
2003-04-23 06:52:54 +00:00
Vladimir Weinstein
7a846aa9ae ICU-2765 removed usage of private headers
X-SVN-Rev: 11631
2003-04-23 05:55:54 +00:00
Alan Liu
ae0d0a33ca ICU-1085 enforce valid range
X-SVN-Rev: 11450
2003-04-03 22:31:55 +00:00
Alan Liu
03c212daf4 ICU-887 add new ucal_ time zone API
X-SVN-Rev: 11249
2003-03-05 18:36:48 +00:00
Alan Liu
66a285bef3 ICU-2347 add new timezone enumeration API and deprecate old one
X-SVN-Rev: 10230
2002-11-12 23:52:27 +00:00
Markus Scherer
44707c157b ICU-2248 modularize ICU
X-SVN-Rev: 9903
2002-09-20 17:54:45 +00:00
Steven R. Loomis
669c72ef06 ICU-1941 don't fail in lipo mode (first of many)
X-SVN-Rev: 9872
2002-09-17 19:45:50 +00:00
Andy Heninger
f0f44e915e ICU-2030 WIndows build changes to allow apps to use static C runtime lib
X-SVN-Rev: 9400
2002-07-29 21:04:18 +00:00
George Rhoten
53d6bdbe2a ICU-1616 Locale data verification.
Remove duplicates.
Fix malformed data.
Add some missing data.
and so on.

X-SVN-Rev: 7530
2002-01-30 06:16:26 +00:00
Ram Viswanadha
4458f53dc1 ICU-329 update tests after first take on adding better error reporting with UParseError struct.
X-SVN-Rev: 5474
2001-08-16 00:58:53 +00:00
George Rhoten
4bf13c79e9 ICU-900 Fixed some compilre warnings.
X-SVN-Rev: 4858
2001-05-31 23:20:21 +00:00
George Rhoten
a2011d21fa ICU-66 Fix most of the test memory leaks
X-SVN-Rev: 4806
2001-05-25 21:39:55 +00:00
George Rhoten
661d6911fa ICU-641 Added regression test.
X-SVN-Rev: 4544
2001-04-24 21:48:01 +00:00
Ram Viswanadha
ef97b534cd ICU-903 update copyright notices
X-SVN-Rev: 4233
2001-03-21 19:46:49 +00:00
George Rhoten
332c822748 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3587
2001-02-08 00:46:27 +00:00
George Rhoten
c9793c6267 ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 2967
2000-11-21 04:05:39 +00:00
George Rhoten
9253fe4dd3 ICU-573 included stdlib.h and memory.h into files that need it for the utypes.h change
X-SVN-Rev: 2367
2000-08-28 21:43:03 +00:00
Helena Chapman
3f2fb26333 ICU-401 Make 1.6 tree compiled and linked on S/400.
X-SVN-Rev: 2233
2000-08-14 23:35:57 +00:00