Commit Graph

160 Commits

Author SHA1 Message Date
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
Ram Viswanadha
c73373cfd5 ICU-4912 xlC can't handle inline and virtual
X-SVN-Rev: 18762
2005-11-05 02:54:10 +00:00
Ram Viswanadha
caafcceb8f ICU-4912 synchronize with ICU4J
X-SVN-Rev: 18758
2005-11-04 21:57:24 +00:00
George Rhoten
5ee0eeeda8 ICU-4682 Fixes for gcc on AIX
X-SVN-Rev: 18323
2005-07-21 23:27:41 +00:00
Ram Viswanadha
213b08e722 ICU-4354 comment out the indirection and fix the main code
X-SVN-Rev: 18145
2005-07-05 22:10:04 +00:00
George Rhoten
3f0a1edf15 ICU-4425 Remove the getTerminatedBuffer Purify warning, and speed up timezone creation to offset any performance hits.
X-SVN-Rev: 17282
2005-03-03 23:46:10 +00:00
George Rhoten
d340213af7 ICU-4288 Fix some inlining warnings.
X-SVN-Rev: 17041
2004-12-30 07:45:48 +00:00
George Rhoten
ceb13e99c4 ICU-4078 Fix a Solaris compiler error from last change.
X-SVN-Rev: 16374
2004-09-30 21:34:26 +00:00
George Rhoten
8c9aab5002 ICU-4078 Further separate the default converter from the rest of the API
X-SVN-Rev: 16331
2004-09-15 23:44:48 +00:00
George Rhoten
7dd960a8b4 ICU-4078 Loosely couple the cleanup functions.
X-SVN-Rev: 16307
2004-09-12 23:07:29 +00:00
George Rhoten
c0b25432af ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16227
2004-08-31 20:37:20 +00:00
George Rhoten
52a4ce132b ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16226
2004-08-31 20:31:12 +00:00
George Rhoten
038f43c843 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16196
2004-08-27 16:45:16 +00:00
George Rhoten
7c225a89aa ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16183
2004-08-24 17:38:33 +00:00
Andy Heninger
8ec93303c2 ICU-3783 Make getDynamicClassID() pure virutal on abstract classes.
X-SVN-Rev: 15705
2004-06-04 01:16:05 +00:00
Andy Heninger
e57f8ed178 ICU-3783 restore getStaticClassID() to several classes from which it had been removed in error.
X-SVN-Rev: 15619
2004-05-28 20:13:11 +00:00
George Rhoten
9925b69c5c ICU-3718 Do faster string copying, and hopefully avoid any uninitialized reads
X-SVN-Rev: 15517
2004-05-24 23:35:35 +00:00
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
George Rhoten
4f3e9c90d2 ICU-3683 Remove a couple of allocations
X-SVN-Rev: 14955
2004-04-14 17:47:13 +00:00
Steven R. Loomis
fd0010d370 ICU-2424 warnings cleanup
X-SVN-Rev: 13862
2003-11-24 22:50:45 +00:00
Markus Scherer
01d2c1b391 ICU-3403 cut out @obsolete ICU 2.8 APIs
X-SVN-Rev: 13784
2003-11-20 00:58:42 +00:00
George Rhoten
cbf5e35cc8 ICU-3259 A little code formatting and don't use a buffer in release mode.
X-SVN-Rev: 13774
2003-11-19 22:49:41 +00:00
George Rhoten
60aec12e63 ICU-3259 Fix a memory leak where ures_* reference counting got messed up.
X-SVN-Rev: 13773
2003-11-19 22:39:41 +00:00
Markus Scherer
1abc435a83 ICU-3403 cut out @obsolete ICU 2.8 APIs
X-SVN-Rev: 13771
2003-11-19 21:51:36 +00:00
George Rhoten
65447083f8 ICU-3379 The string needs to be NULL-terminated, and there is no need to copy the data.
X-SVN-Rev: 13768
2003-11-19 20:07:43 +00:00
Markus Scherer
0cd1226d84 ICU-3379 remove unused variables
X-SVN-Rev: 13715
2003-11-13 17:43:30 +00:00
Steven R. Loomis
d140c1fe70 ICU-3379 timezone format change, Unicode strings
X-SVN-Rev: 13708
2003-11-13 02:31:11 +00:00
Markus Scherer
9de47b7b54 ICU-699 add missing clone() functions
X-SVN-Rev: 13594
2003-11-05 21:59:41 +00:00
George Rhoten
2ef6713835 ICU-2966 Remove unused private classes needed by old timezone implementation
X-SVN-Rev: 13359
2003-10-08 18:08:09 +00:00
George Rhoten
8e7a34ec49 ICU-3221 Fix AIX linker warnings, and reduce amount of private static class data being exported (some mainframes have minor issues with that)
X-SVN-Rev: 13337
2003-10-07 15:49:47 +00:00
George Rhoten
e7ded0fd0d ICU-3259 Fix a memory leak
X-SVN-Rev: 13328
2003-10-06 22:37:41 +00:00
Alan Liu
61b5fddec2 ICU-2966 clean up and consolidate duplicated code
X-SVN-Rev: 13007
2003-09-02 17:46:43 +00:00
George Rhoten
8780a4d950 ICU-2966 Fix for HP-UX
X-SVN-Rev: 12936
2003-08-25 23:01:06 +00:00
Alan Liu
e897911f83 ICU-2966 character ordering must be computed at runtime
X-SVN-Rev: 12871
2003-08-19 04:38:54 +00:00
Alan Liu
bcd6deeeac ICU-2966 add OLSON_ZONE_START to indices; getSize can return 0 (?)
X-SVN-Rev: 12867
2003-08-19 01:02:59 +00:00
Alan Liu
9478f07479 ICU-2966 support equivalency classes
X-SVN-Rev: 12864
2003-08-19 00:24:49 +00:00
Alan Liu
4ce8f701f9 ICU-2966 cleanup and docs
X-SVN-Rev: 12850
2003-08-16 00:10:56 +00:00
Alan Liu
d8d88d2da4 ICU-2966 historical Olson time zone support; initial checkin
X-SVN-Rev: 12836
2003-08-15 18:21:31 +00:00
George Rhoten
a28e257d74 ICU-2256 Performance enhancement. Make timezone data load faster.
X-SVN-Rev: 12621
2003-07-11 23:37:19 +00:00
George Rhoten
abeaf6c3fc ICU-2970 Initialize the mutexes in a safer way.
X-SVN-Rev: 12364
2003-06-06 22:50:26 +00:00
Alan Liu
94de212563 ICU-2974 disallow new X[0]
X-SVN-Rev: 12315
2003-06-05 17:26:12 +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
2af5236067 ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12178
2003-05-29 22:22:08 +00:00
Alan Liu
437b7cb038 ICU-2787 revise double-check code to improve thread safety
X-SVN-Rev: 11843
2003-05-08 21:08:06 +00:00
Alan Liu
0591810bee ICU-444 update comments
X-SVN-Rev: 11765
2003-05-02 00:11:32 +00:00
GCL Shanghai
513a23fdae ICU-2222 Deprecate C++ enums that duplicate C enums
X-SVN-Rev: 11137
2003-02-21 08:32:22 +00:00
George Rhoten
6b0ec25200 ICU-2710 Remove obsolete code
X-SVN-Rev: 11041
2003-02-14 01:44:49 +00:00
Alan Liu
bbb47e7920 ICU-2152 minimize code within mutexes
X-SVN-Rev: 10560
2002-12-09 18:10:43 +00:00
Doug Felt
ba30384f10 ICU-1949 StringEnumeration changes to public UObject
X-SVN-Rev: 10372
2002-11-26 00:46:48 +00:00
Alan Liu
400a5efce1 ICU-2347 rewrite TZEnumeration::next() per review feedback
X-SVN-Rev: 10371
2002-11-26 00:41:13 +00:00
Doug Felt
128bf53fe3 ICU-1949 change StringEnumeration per Markus's request
X-SVN-Rev: 10339
2002-11-22 18:16:02 +00:00
Alan Liu
1d72926c95 ICU-2347 make review fixes
X-SVN-Rev: 10309
2002-11-21 00:59:20 +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
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
Markus Scherer
f1ba8a9d4f ICU-1962 use uprv_malloc/free instead of new/delete for non-class types
X-SVN-Rev: 9204
2002-07-16 17:50:42 +00:00
George Rhoten
c85207afbd ICU-1887 Try to fix the name mangling problems with the Intel compiler by including utypes.h before the system headers.
X-SVN-Rev: 9124
2002-07-12 21:42:24 +00:00
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
Markus Scherer
156e2f983f ICU-1962 call UObject constructor at least in derived-class copy constructor to avoid compiler warnings
X-SVN-Rev: 9019
2002-07-02 23:58:34 +00:00
George Rhoten
79d29d4e37 ICU-1296 Fixed the constness of createAvailableIDs
X-SVN-Rev: 8129
2002-03-20 00:15:44 +00:00
George Rhoten
9f3b0c5276 ICU-1733 Integrate some of Lotus' changes on mainframes.
X-SVN-Rev: 8060
2002-03-15 23:41:40 +00:00
Andy Heninger
d13e42d4e3 ICU-1737 thread safety problem with initialization lazy initialization of mutexs on first Lock.
X-SVN-Rev: 7885
2002-03-04 22:57:50 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
George Rhoten
75f6cbaed0 ICU-392 Don't export as many symbols
X-SVN-Rev: 6038
2001-10-04 01:31:10 +00:00
George Rhoten
4526828ee2 ICU-1099 Make more data const in the libraries
X-SVN-Rev: 5964
2001-09-28 19:13:03 +00:00
George Rhoten
880fa0bd02 ICU-1200 NULL terminate the strings (quick fix from Markus)
X-SVN-Rev: 5919
2001-09-25 22:15:22 +00:00
George Rhoten
e95a1ea90e ICU-770 Fix for AIX
X-SVN-Rev: 5655
2001-08-31 15:50:39 +00:00
George Rhoten
81fc8fb03e ICU-770 More data cleanup
X-SVN-Rev: 5652
2001-08-31 02:21:34 +00:00
George Rhoten
e3df919a30 ICU-1087 Speed up the TimeZone construction with a proper constructor, and make getGMT() public
X-SVN-Rev: 5470
2001-08-16 00:31:06 +00:00
George Rhoten
72159af00c ICU-953 Export fewer static symbols and fix an os/390 porting problem
X-SVN-Rev: 5149
2001-07-02 17:23:27 +00:00
George Rhoten
bc397ee3f3 ICU-900 Fixed a compiler warning on Solaris Workshop Pro v6.0
X-SVN-Rev: 5134
2001-06-28 22:57:15 +00:00
George Rhoten
3aa133d5b7 ICU-953 Don't do static initialization, except for GMT.
X-SVN-Rev: 5028
2001-06-20 21:11:13 +00:00
George Rhoten
b2de19f61c ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4366
2001-03-28 00:15:46 +00:00
Vladimir Weinstein
8e6698de87 ICU-903 updated copyright notices
X-SVN-Rev: 4237
2001-03-21 20:31:13 +00:00
George Rhoten
8a59268b64 ICU-865 os/390 porting for timezone
X-SVN-Rev: 3913
2001-03-06 02:39:47 +00:00
George Rhoten
5fc03fe875 ICU-66 Removed a static memory leak
X-SVN-Rev: 3649
2001-02-16 21:51:21 +00:00
Vladimir Weinstein
229f67d2bc ICU-776 gcc dies if we have *country != NULL instead of *country != 0
X-SVN-Rev: 3556
2001-02-03 02:17:16 +00:00
Alan Liu
a38c004603 ICU-776 Add ISO 3166 country code index to time zone data and new API to TimeZone
X-SVN-Rev: 3534
2001-02-02 19:26:56 +00:00
Alan Liu
0f626e9c1e ICU-449 TimeZone equivalency support
X-SVN-Rev: 2523
2000-09-27 19:16:54 +00:00
Alan Liu
ee51ec2c7e ICU-449 TimeZone equivalency support
X-SVN-Rev: 2521
2000-09-27 16:37:26 +00:00
Alan Liu
8e99af2483 ICU-535 fix MSVC level 4 warnings
X-SVN-Rev: 2259
2000-08-15 18:25:20 +00:00
Vladimir Weinstein
18b6ac3369 ICU-432 fixing leaks
X-SVN-Rev: 1649
2000-06-26 22:46:15 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Markus Scherer
6b6bbd29f1 ICU-375 correct isAcceptable signature
X-SVN-Rev: 1324
2000-05-03 23:15:02 +00:00
Alan Liu
3c75736608 ICU-149 remove unneeded #include uhash
X-SVN-Rev: 1002
2000-03-28 22:06:36 +00:00
Markus Scherer
54921c0d79 ICU-84 S/390 and EBCDIC updates
X-SVN-Rev: 969
2000-03-21 20:37:32 +00:00
Vladimir Weinstein
8b20f17f49 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 473
1999-12-28 23:57:50 +00:00
Alan Liu
4dc3c25bae ICU-65 improve default zone support
X-SVN-Rev: 356
1999-12-09 06:29:40 +00:00
Markus Scherer
54ba2e3819 ICU-170 use UnicodeString::length() instead of the deprecated size()
X-SVN-Rev: 339
1999-12-08 02:11:04 +00:00
Steven R. Loomis
392bf58ebe ICU-65 Custom string was being truncated
X-SVN-Rev: 311
1999-12-05 09:14:26 +00:00