Commit Graph

321 Commits

Author SHA1 Message Date
Michael Ow
f5f04a1928 ICU-6554 Use static variable when searching for tzfile and delete allocated pointer in numfmtst.
X-SVN-Rev: 25798
2009-04-16 20:56:04 +00:00
Andy Heninger
cc9ed5eb45 ICU-6799 fix compiler warnings
X-SVN-Rev: 25668
2009-03-27 17:08:12 +00:00
Michael Ow
d4f8a1c607 ICU-6790 Remove dereferencing of freed pointer and use dynamic array instead of static.
X-SVN-Rev: 25648
2009-03-24 18:27:08 +00:00
Markus Scherer
93e35cf3db ICU-6606 add #define option for >>default charset is UTF-8<<
X-SVN-Rev: 25544
2009-03-11 03:16:35 +00:00
Michael Ow
23249110aa ICU-6571 Fix the checking of string length in u_versionFromUString.
X-SVN-Rev: 25371
2009-02-04 19:59:43 +00:00
Steven R. Loomis
2e10735e9c ICU-6571 merge r25317 and r25318 - C side
X-SVN-Rev: 25327
2009-01-29 00:17:44 +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
6e33806beb ICU-5944 Read 512 bytes at a time when comparing tzfiles and use stack array for buffer to avoid excessive mallocs and frees.
X-SVN-Rev: 24725
2008-10-06 17:38:07 +00:00
Yoshito Umaoka
27305576ac ICU-6554 Fix a compilation error on Windows introduced by the previous change.
X-SVN-Rev: 24700
2008-10-02 14:44:44 +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
13b807cf6f ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
2008-10-01 15:39:27 +00:00
Michael Ow
715a5f50cb ICU-5944 Use static array and variables when possible to avoid excessive mallocs and memory allocations.
X-SVN-Rev: 24690
2008-10-01 14:11:08 +00:00
Michael Ow
22bd73be8d ICU-5944 Make internally used functions static to avoid renaming.
X-SVN-Rev: 24648
2008-09-25 19:04:27 +00:00
Steven R. Loomis
da3b9a1d29 ICU-6515 fix genbrk memory overrun (contributed patch)
X-SVN-Rev: 24602
2008-09-18 23:17:37 +00:00
Michael Ow
5097c3c3c1 ICU-5944 Only search through system timezone on certain platforms.
X-SVN-Rev: 24582
2008-09-16 16:49:33 +00:00
Michael Ow
3f28436823 ICU-5944 Use the dirent api to search and compare the tz files on the system to find the correct timezone when the localtime is not a symlink.
X-SVN-Rev: 24544
2008-09-03 22:15:18 +00:00
Michael Ow
16cea7af89 ICU-6363 Move remapping of CP949 to platform specific area.
X-SVN-Rev: 24529
2008-08-27 19:21:22 +00:00
Michael Ow
7fbc9e40fa ICU-6363 Remap CP949 to handle \5c round tripping.
X-SVN-Rev: 24524
2008-08-26 20:32:18 +00:00
Michael Ow
4e49d2ab92 ICU-5948 Set default codepage to ISO-8859-1 for Solaris when 646 is given by the OS.
X-SVN-Rev: 23794
2008-04-15 22:32:28 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Michael Ow
7bdbf4cd39 ICU-6132 Check for malloc failure before strcpy in u_setDataDirectory and *getDefaultLocaleID.
X-SVN-Rev: 23222
2008-01-14 18:27:21 +00:00
George Rhoten
2318f11693 ICU-6123 On HP-UX, zh_HK.big5 uses a different charmap from zh_TW.big5
X-SVN-Rev: 23174
2008-01-04 17:34:02 +00:00
Steven R. Loomis
f5997fb476 ICU-6122 Fake Time support
X-SVN-Rev: 23165
2008-01-04 01:05:15 +00:00
George Rhoten
42b8c8fe7d ICU-6054 Add comments on when remapPlatformDependentCodepage should be modified.
X-SVN-Rev: 23007
2007-12-04 16:44:36 +00:00
George Rhoten
1d1a2181e5 ICU-6054 Remap ambiguous EUC alias, and add sun_eu_greek alias.
X-SVN-Rev: 23006
2007-12-04 16:36:03 +00:00
George Rhoten
ffc55edf36 ICU-4894 Improve U_MAX_PTR for i5/OS.
X-SVN-Rev: 22578
2007-08-30 22:17:58 +00:00
George Rhoten
bb5b47080c ICU-5876 Undo last two changes. They don't work.
X-SVN-Rev: 22540
2007-08-27 08:16:06 +00:00
George Rhoten
21469d8e4e ICU-5876 Try out making ISO-8859-1 the default for the C locale on Solaris.
X-SVN-Rev: 22539
2007-08-27 07:13:39 +00:00
George Rhoten
f25e7216cb ICU-5876 Try out making ISO-8859-1 the default for the C locale on Solaris.
X-SVN-Rev: 22515
2007-08-24 16:51:17 +00:00
George Rhoten
810a27e86d ICU-5423 Minor preference changes.
X-SVN-Rev: 21841
2007-06-28 16:39:09 +00:00
George Rhoten
29bf35f7ed ICU-5423 Comment out debugging code.
X-SVN-Rev: 21838
2007-06-28 07:35:36 +00:00
George Rhoten
340f980d77 ICU-5423 Information from the daylight global variable is insufficient.
Probing when daylight occurs seems more reliable.

X-SVN-Rev: 21837
2007-06-28 07:33:44 +00:00
Vladimir Weinstein
ba5eaaf5e1 ICU-5445 working around glibc bug in strcpy that produces compiler warnings.
X-SVN-Rev: 21696
2007-06-11 18:44:06 +00:00
George Rhoten
e1ed2e9f2e ICU-5610 Use <tzfile.h> for time zone path names when available
X-SVN-Rev: 21653
2007-06-06 22:11:45 +00:00
George Rhoten
c22b3075b7 ICU-5604 EUC-JP portability is hopeless. Map POSIX charset names to close approximations. The current aliases are staying as they are for Windows/AIX compatibility.
Windows is max 2 bytes, and the other EUC-JP variants have a 3 byte maximum per codepoint.

X-SVN-Rev: 21652
2007-06-06 21:42:33 +00:00
George Rhoten
954170ec8a ICU-5610 Undo last change. It's not portable.
X-SVN-Rev: 21649
2007-06-06 05:26:51 +00:00
Deborah Goldsmith
8334f8b2f7 ICU-5610 Use <tzfile.h> for time zone path names
X-SVN-Rev: 21648
2007-06-06 01:40:43 +00:00
George Rhoten
0f8b61b7fc ICU-5576 Fixes for z/OS
X-SVN-Rev: 21208
2007-03-09 07:08:05 +00:00
George Rhoten
879e341b5f ICU-5423 Windows doesn't need this remapping code.
X-SVN-Rev: 20662
2006-11-15 19:01:21 +00:00
George Rhoten
5812852681 ICU-5423 Properly use printf.
X-SVN-Rev: 20634
2006-11-07 08:38:52 +00:00
George Rhoten
30813d8210 ICU-5423 Fixes for Linux
X-SVN-Rev: 20623
2006-11-01 19:45:06 +00:00
George Rhoten
86cb589f62 ICU-5423 Fixes for Windows.
X-SVN-Rev: 20622
2006-11-01 19:09:59 +00:00
George Rhoten
b64be9aad4 ICU-5423 One possible fix for properly detecting the default timezone on Linux.
X-SVN-Rev: 20621
2006-11-01 09:04:57 +00:00
George Rhoten
33659ae69f ICU-5469 Fix for non-Sun compilers.
X-SVN-Rev: 20620
2006-11-01 00:13:49 +00:00
George Rhoten
72605c7ddb ICU-5469 Fix last change for AIX.
X-SVN-Rev: 20588
2006-10-23 21:38:22 +00:00
George Rhoten
01745ec4fc ICU-5469 Improve usage of _XOPEN_SOURCE_EXTENDED
X-SVN-Rev: 20540
2006-10-20 18:57:55 +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
b8fa953128 ICU-4869 Fix last check-in on AIX
X-SVN-Rev: 19931
2006-07-31 18:14:28 +00:00
George Rhoten
948a4e842f ICU-4869 Fix check-in of _XOPEN_SOURCE_EXTENDED. This is the correct fix.
X-SVN-Rev: 19919
2006-07-28 22:16:45 +00:00
Steven R. Loomis
f0b3b7f44a ICU-5274 move uprv_log10 to test code
X-SVN-Rev: 19877
2006-07-21 22:16:30 +00:00