Commit Graph

149 Commits

Author SHA1 Message Date
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Peter Edberg
de52c0a9d3 ICU-9139 Make some internal globals static, update urename.h accordingly
X-SVN-Rev: 31578
2012-03-02 20:22:04 +00:00
Michael Ow
76444a4b71 ICU-8716 Fix errors in cintltst and intltest when data is missing
X-SVN-Rev: 31552
2012-03-01 05:27:43 +00:00
Yoshito Umaoka
1641940f00 ICU-8513 Merging TimeZoneNames/TimeZoneFormat APIs (as 49 technology preview) into trunk.
X-SVN-Rev: 31469
2012-02-21 11:06:50 +00:00
Markus Scherer
3458799ca4 ICU-8779 add getUnknown()
X-SVN-Rev: 30729
2011-09-28 00:00:31 +00:00
Michael Ow
6be4ed022f ICU-8452 Fix some more Cygwin MVSC and Cygwin GCC build issues
X-SVN-Rev: 30541
2011-08-18 18:47:16 +00:00
Markus Scherer
2862296471 ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Yoshito Umaoka
a2103b01f0 ICU-8488 Reviewed call sites of case conversion code in icu library code and updated some of them case sensitive/insensitive.
X-SVN-Rev: 30382
2011-07-18 21:43:18 +00:00
Markus Scherer
2201fb816c ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
X-SVN-Rev: 30293
2011-07-07 18:46:19 +00:00
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
Yoshito Umaoka
4d7569c743 ICU-8342 Refactoring ZoneStringFormat into TimeZoneNames and TimeZoneFormat (all internal APIs for now). Also supporting localized GMT zero format and fallback region format for generic names.
X-SVN-Rev: 29984
2011-05-03 14:59:01 +00:00
Yoshito Umaoka
34bc79c98b ICU-8278 New APIs TimeZone::createTimeZoneIDEnumeration and ucal_openTimeZoneIDEnumeration for supporting canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29498
2011-03-01 18:29:13 +00:00
Yoshito Umaoka
d7c7514920 ICU-8346 ICU4C TimeZone::createTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added UCAL_UNKNOWN_ZONE_ID.
X-SVN-Rev: 29462
2011-02-19 06:29:52 +00:00
Yoshito Umaoka
7c93a6eeac ICU-8279 TimeZone API - getRegion in ICU4C
X-SVN-Rev: 29459
2011-02-18 23:03:47 +00:00
Jason Spieth
c580be9189 ICU-7621 Change mapping of display name constants SHORT to 'V' and SHORT_COMMONLY_USED to 'z'. ICU4C changed to be consistent with ICU4J.
X-SVN-Rev: 28120
2010-06-01 16:10:14 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Yoshito Umaoka
d79344d97d ICU-5624 64bit time zone transition support changes merged from Yoshito's work branch. Also updated time zone code to use region mapping data only from zoneinfo64 (so zoneFormatting data in supplementalData is no longer used).
X-SVN-Rev: 27644
2010-02-24 07:54:30 +00:00
Yoshito Umaoka
d8db690e28 ICU-6444 Modified the code not to depend on gUStringTable. Instead, use the data in resource directly.
X-SVN-Rev: 27554
2010-02-12 19:00:53 +00:00
Jungshik Shin
1dc8949de0 ICU-7135 fix a memory leak in timezone.cpp on Windows
X-SVN-Rev: 26616
2009-09-09 23:39:16 +00:00
Jason Spieth
d97a5d4837 ICU-4735 Enhanced TimeZone getDisplayName allows for more name formats - ICU4C
X-SVN-Rev: 26553
2009-08-26 16:55:52 +00:00
Yoshito Umaoka
e88550b04d ICU-6820 Insert colon as hour/minute/second delimitter in custom time zone ID format.
X-SVN-Rev: 25710
2009-04-01 17:13:40 +00:00
Yoshito Umaoka
fc67192e07 ICU-6814 Updated useDaylightTime to return TRUE when DST is used at the beginning of the current year. Updated TimeZoneTest to make some test cases to check the current tzdata version and current year.
X-SVN-Rev: 25681
2009-03-30 20:55:05 +00:00
Yoshito Umaoka
a54768cf9d ICU-6597 Fix a DST display name bug.
X-SVN-Rev: 24890
2008-10-27 15:22:18 +00:00
Michael Ow
85121155a5 ICU-5944 Remove unneeded free function and use struct and static array.
X-SVN-Rev: 24803
2008-10-14 21:46:58 +00:00
Michael Ow
f904dc9003 ICU-6554 Add releasing of allocated memory when uprv_tzname is called.
X-SVN-Rev: 24698
2008-10-01 21:17:55 +00:00
Michael Ow
f92998e519 ICU-6554 Remove previous free from timezone.cpp and use static array in TestOpenVsOpenRules() capitst.
X-SVN-Rev: 24693
2008-10-01 16:54:07 +00:00
Michael Ow
9d289d4570 ICU-6554 Implement proper freeing of allocated memory to avoid memory leak.
X-SVN-Rev: 24691
2008-10-01 14:14:13 +00:00
Andy Heninger
7b5e523d8f ICU-6488 fix compiler warning
X-SVN-Rev: 24454
2008-08-06 21:14:53 +00:00
Andy Heninger
d13d3b6d4d ICU-6488 mutex cleanup in timezone code
X-SVN-Rev: 24452
2008-08-06 21:01:19 +00:00
Andy Heninger
4635ea3a9c ICU-6321 TimeZone::getDisplayName(), move bug fixes from Java to C++
X-SVN-Rev: 24126
2008-06-09 03:46:34 +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
Michael Ow
9cb51f2e5d ICU-6132 Add proper checking of pointer before dereferencing in timezone and tblcoll.
X-SVN-Rev: 23244
2008-01-16 17:13:11 +00:00
George Rhoten
1d64a7d5b4 ICU-6125 Mark more data constant.
X-SVN-Rev: 23181
2008-01-08 03:46:30 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
George Rhoten
6490ed1ae8 ICU-6034 Prevent a mutex deadlock in case tzset really calls ICU under the covers.
X-SVN-Rev: 22960
2007-11-26 18:25:01 +00:00
George Rhoten
0781890fa8 ICU-5821 Fix for i5/OS
X-SVN-Rev: 22325
2007-08-09 00:04:00 +00:00
George Rhoten
096748976d ICU-3778 Use a codepage specific char * instead of UTF-8 for the version string.
X-SVN-Rev: 22319
2007-08-08 18:38:20 +00:00
Yoshito Umaoka
fb68bb6add ICU-5559 Normalize time zone ID using RFC822 format in the result TimeZone when it is created by TimeZone#createTimeZone with custom ID.
X-SVN-Rev: 22129
2007-07-24 21:37:19 +00:00
Yoshito Umaoka
23e6471728 ICU-3778 Changed not to cache the status code which is set when accessing tzdata version string
X-SVN-Rev: 22069
2007-07-20 02:46:47 +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
George Rhoten
fdf9a9dbc2 ICU-5349 Use UMTX_CHECK when it's helpful.
X-SVN-Rev: 20271
2006-09-08 04:10:40 +00:00
George Rhoten
4cc82b4180 ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
X-SVN-Rev: 20242
2006-09-04 16:36:21 +00:00
George Rhoten
dbc0d1d9ee ICU-5349 Use UMTX_CHECK for double check locking.
X-SVN-Rev: 20176
2006-08-29 04:57:05 +00:00
George Rhoten
34c5798a18 ICU-5333 Whitespace changes.
X-SVN-Rev: 20117
2006-08-19 21:27:08 +00:00
George Rhoten
5ec2f7ff26 ICU-5086 Only use a non-Olson ID when the raw offset is wrong. This
allows the daylight saving changeover to happen in long running ICU processes.

X-SVN-Rev: 19327
2006-03-03 20:10:02 +00:00
George Rhoten
06743ea5a6 ICU-5086 Detect when an a potential non-unique abbreviation is used,
and try to use the raw offset when that happens. Some timezones are still
sometimes off by one hour, but this is much better than before (off by several
hours in many more timezones).

X-SVN-Rev: 19326
2006-03-03 17:46:26 +00:00