Commit Graph

32 Commits

Author SHA1 Message Date
John Emmons
090df3b5a4 ICU-7489 Optimize tz canonicalization for zones that are already canonical
X-SVN-Rev: 28535
2010-08-26 15:38:04 +00:00
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Michael Ow
708a96722c ICU-6911 Close unneeded resource bundle and remove old code.
X-SVN-Rev: 27769
2010-03-03 18:41:06 +00:00
Markus Scherer
cef470f60d ICU-5624 namespace fix
X-SVN-Rev: 27713
2010-02-27 00:11:32 +00:00
Yoshito Umaoka
7852edbfef ICU-6444 Update mapTimezones table structure. This update was done by CLDR svn revision 4748.
X-SVN-Rev: 27683
2010-02-25 22:08:13 +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
0ec6c28016 ICU-6444 Retire gCanonicalMap in ZoneMeta. Matching the implementation for getCanonicalSystemID / getCanonicalCountry with J trunk implementation. It shows 5-10% performance degrade in typical test cases. I'll revisit this if we need caches for them. Also, I'll update territory mapping to read the data from zoneinfo later.
X-SVN-Rev: 27556
2010-02-12 22:06:49 +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
Yoshito Umaoka
784704f4c7 ICU-6444 Removed pre-loaded mapping table between Olson ids and metazones. Metazone to Olson mapping to refer the resource bundle directly. Olson to Metazone to load only requested data from the resource bundle and cache it for next time.
X-SVN-Rev: 27551
2010-02-12 04:04:48 +00:00
Yoshito Umaoka
547580cd15 ICU-6444 Updated timezone data resources corresponding to the latest change for cldrbug 1958 in CLDR. Added metaZones.txt/windowsZones.txt replacing metazoneInfo.txt/wintz.txt. Removed mapTimezones data from supplementalData.txt to match the change in CLDR (for now, manually editted, because I cannot use the trunk version of supplementalData.xml in CLDR at this moment).
X-SVN-Rev: 27471
2010-02-02 04:55:55 +00:00
Michael Ow
cf116f9297 ICU-6444 Separate metazone timezone mappings and windows timezone from supplementalData and update affected source files.
X-SVN-Rev: 27411
2010-01-26 06:03:14 +00:00
Michael Ow
b4853d0331 ICU-7222 Remove Windows x64 warnings by casting explicitly.
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Peter Edberg
7187ff5002 ICU-6645 Lock around changes to gUString data
X-SVN-Rev: 25700
2009-04-01 00:19:26 +00:00
Michael Ow
4568b3579a ICU-6322 Fix compiler warning concerning assigning of negative values to unsigned int.
X-SVN-Rev: 25612
2009-03-17 21:16:08 +00:00
Peter Edberg
dfd1678de7 ICU-6645 Add comment explaining USTRING_ALLOC_START
X-SVN-Rev: 25545
2009-03-11 04:21:22 +00:00
Peter Edberg
20ddfafeb2 ICU-6645 Prebuild more canonical tzid table data into data file
X-SVN-Rev: 25543
2009-03-10 21:52:57 +00:00
Peter Edberg
a7e808a7e0 ICU-6747 for hashtables, change Hashtable with UnicodeString keys to UHashtable with UChar string keys, -85K
X-SVN-Rev: 25459
2009-02-21 06:40:31 +00:00
Peter Edberg
bd48f81ef1 ICU-6642 Lazier initialization of ZoneMeta tables
X-SVN-Rev: 25012
2008-11-26 22:24:51 +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
0c2a587a9c ICU-6480 clean up UMTX_CHECK usage in lazy init
X-SVN-Rev: 24439
2008-08-05 00:09:13 +00:00
Yoshito Umaoka
419e52f952 ICU-5561 Updated canonical ID mapping table creation code to support the case - new canonical ID in Olson tzdata, which replaces previous canonical ID, but CLDR does not have the alias info.
X-SVN-Rev: 23676
2008-03-25 20:39:55 +00:00
George Rhoten
3daa4c96d4 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23398
2008-02-08 08:21:32 +00:00
George Rhoten
ffcb7ce01a ICU-6132 Recover from various hash table allocation errors.
X-SVN-Rev: 23394
2008-02-08 03:42:40 +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
George Rhoten
7490278152 ICU-6118 Export less internal API.
X-SVN-Rev: 23155
2008-01-02 23:53:26 +00:00
Yoshito Umaoka
a184afed39 ICU-5990 Fixed some bugs in code supporting old metazone mapping data.
X-SVN-Rev: 23034
2007-12-06 17:21:28 +00:00
George Rhoten
2297d8ce9c ICU-5990 Allocate about 300K less and about 2,000 fewer allocations.
X-SVN-Rev: 23032
2007-12-06 06:02:02 +00:00
Yoshito Umaoka
40a1b853e2 ICU-5990 Use of a reference to a resource bundle string for tzid in meta-to-olson mapping table. Set NULL to the static global ZoneStringFormat cache. Added a code to prevent Purify to generate UMR warnings.
X-SVN-Rev: 23031
2007-12-06 03:28:08 +00:00
George Rhoten
15733e3e0e ICU-5990 Convert fewer char * strings.
X-SVN-Rev: 23030
2007-12-06 01:14:09 +00:00
George Rhoten
9f5c0d840a ICU-5990 Don't use charset conversion for invariant strings. Allocate less memory. Alias resource bundle string more frequently.
X-SVN-Rev: 23029
2007-12-06 00:46:41 +00:00
George Rhoten
0dda41de85 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23017
2007-12-05 05:37:54 +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