Commit Graph

2885 Commits

Author SHA1 Message Date
George Rhoten
18f81012d0 ICU-5161 Fix uninitialized memory read.
X-SVN-Rev: 19696
2006-06-08 05:17:00 +00:00
George Rhoten
3a91be6e8a ICU-5032 Improve code coverage
X-SVN-Rev: 19693
2006-06-07 22:28:24 +00:00
George Rhoten
291f674b54 ICU-5190 Fix collation cloning.
X-SVN-Rev: 19687
2006-06-06 06:42:34 +00:00
George Rhoten
f4b0ed0368 ICU-5190 Fix a bug where the cloned collator uses UCA instead of customized rules.
X-SVN-Rev: 19682
2006-06-05 21:56:14 +00:00
George Rhoten
020abe6693 ICU-5190 Fix some offset allocation issues for unaligned buffers.
X-SVN-Rev: 19659
2006-05-26 04:00:52 +00:00
George Rhoten
7b15f0e402 ICU-5190 Test and fix some allocation issues from ucol_safeClone
X-SVN-Rev: 19634
2006-05-21 22:44:14 +00:00
George Rhoten
3ec1127306 ICU-5190 Test and fix some allocation issues from ucol_safeClone
X-SVN-Rev: 19633
2006-05-21 22:22:24 +00:00
George Rhoten
319d2629b3 ICU-5190 Test and fix some allocation issues from ucol_safeClone
X-SVN-Rev: 19632
2006-05-21 21:09:01 +00:00
George Rhoten
a4663ad545 ICU-5190 Fix ucol_safeClone to properly clone a collator.
X-SVN-Rev: 19629
2006-05-21 17:52:09 +00:00
George Rhoten
d2ec6dee38 ICU-4707 A function can't be inline when it's always called out of line.
X-SVN-Rev: 19628
2006-05-21 07:27:31 +00:00
George Rhoten
361f663295 ICU-5190 Perform fewer mallocs and frees for easier safe cloning.
X-SVN-Rev: 19627
2006-05-21 01:27:15 +00:00
George Rhoten
3893bd1ab2 ICU-5190 Decrease size of collator. Performance isn't addressed, but it helps to reduce what to look at for cloning.
X-SVN-Rev: 19625
2006-05-15 05:08:49 +00:00
George Rhoten
5b973ae614 ICU-5198 Disable charset detection when UCONFIG_NO_CONVERSION is 1.
X-SVN-Rev: 19622
2006-05-09 18:06:10 +00:00
Eric Mader
79df33682b ICU-5196 Skip Windows locales that don't have a corresponding ICU locale ID. Generate random doubles as the quotient of two int64_ts.
X-SVN-Rev: 19619
2006-05-05 23:21:23 +00:00
Deborah Goldsmith
d6d4d2f647 ICU-5192 Code review cleanup
X-SVN-Rev: 19606
2006-05-03 21:09:00 +00:00
Deborah Goldsmith
de8c6c14f3 ICU-4985 currency rounding/fractions no longer ignored
X-SVN-Rev: 19604
2006-05-03 00:00:34 +00:00
George Rhoten
c2bc815333 ICU-5161 Fix valgrind and Purify warnings about uninitialized memory copies
X-SVN-Rev: 19575
2006-04-21 18:56:24 +00:00
George Rhoten
65924f6b3c ICU-5161 Don't allow users to access uninitialized memory.
X-SVN-Rev: 19559
2006-04-17 17:01:52 +00:00
George Rhoten
689ac9f998 ICU-5161 Fix a memory leak.
X-SVN-Rev: 19558
2006-04-17 07:37:21 +00:00
George Rhoten
7a50d6f62d ICU-5161 Fix Purify/valgrind warnings about reading uninitialized memory.
X-SVN-Rev: 19552
2006-04-15 08:07:30 +00:00
George Rhoten
3737c923bd ICU-5161 Fix valgrind and Purify warnings about getTerminatedBuffer and uninitialized memory reads.
X-SVN-Rev: 19549
2006-04-14 21:58:41 +00:00
George Rhoten
4493abae62 ICU-5161 Fix valgrind and Purify warnings about getTerminatedBuffer and uninitialized memory reads.
X-SVN-Rev: 19548
2006-04-14 21:43:21 +00:00
George Rhoten
e88c000399 ICU-5161 Reduce memory consumption.
Allow more memory allocation errors to be reported.
Reduce memory fragmentation.
Speed up initialization slightly.

X-SVN-Rev: 19547
2006-04-14 21:09:42 +00:00
Eric Mader
8927afbf4b ICU-5153 Make sure the string passed to GetNumberFormatW, GetCurrencyFormatW has "." as the decimal separator.
X-SVN-Rev: 19542
2006-04-13 23:48:32 +00:00
George Rhoten
e397fa369b ICU-5161 Fix uninitialized memory read.
X-SVN-Rev: 19538
2006-04-13 15:56:37 +00:00
George Rhoten
e4b3bbc599 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19533
2006-04-12 23:36:56 +00:00
George Rhoten
786c654db5 ICU-5152 Remove broken uprv_dtostr function, and create a better ChoiceFormat::dtos function.
X-SVN-Rev: 19525
2006-04-08 09:48:13 +00:00
George Rhoten
6d5916a2ce ICU-4703 Improve the error checking.
X-SVN-Rev: 19517
2006-04-04 20:15:46 +00:00
George Rhoten
b29549eef4 ICU-5143 Make sure that proper ownership rules of the RuleBasedCollator are followed.
Do deep copying where needed.
Don't dereference NULL on failure to create rule string.
Initialize all member variables.
Consolidate copy and pasted code.

X-SVN-Rev: 19509
2006-04-02 19:07:50 +00:00
George Rhoten
20a74838a6 ICU-5138 Keep the two collation hash functions together.
X-SVN-Rev: 19507
2006-04-01 17:29:49 +00:00
George Rhoten
c4a7db9fa0 ICU-4703 Don't deference NULL when a mallloc fails, and report when the memory failure happens.
X-SVN-Rev: 19486
2006-03-30 16:54:13 +00:00
George Rhoten
8a9efb0f0f ICU-4703 ucol_openRules shouldn't use destination preflighting buffer rules on source strings.
X-SVN-Rev: 19485
2006-03-30 09:40:21 +00:00
George Rhoten
8a895cadee ICU-4703 usearch_openFromCollator should return when detecting bad arguments.
X-SVN-Rev: 19482
2006-03-30 09:26:24 +00:00
George Rhoten
0ba4bdac5d ICU-4703 Don't crash when bad arguments are given.
X-SVN-Rev: 19480
2006-03-30 08:57:44 +00:00
George Rhoten
b20499f06b ICU-4703 Fix memory leak on function failure
X-SVN-Rev: 19477
2006-03-30 05:29:25 +00:00
Deborah Goldsmith
eaa65b983e ICU-5112 Correct documentation of UDTS_MAC_OLD_TIME
X-SVN-Rev: 19472
2006-03-29 20:43:15 +00:00
George Rhoten
d2edd10e4e ICU-4703 Fix memory leak when malloc fails.
X-SVN-Rev: 19471
2006-03-29 09:42:16 +00:00
George Rhoten
25614b86e4 ICU-4703 Fix memory leak when malloc fails.
X-SVN-Rev: 19470
2006-03-29 09:03:32 +00:00
George Rhoten
bc071af705 ICU-4703 Fix memory leak on function failure
X-SVN-Rev: 19463
2006-03-28 08:50:34 +00:00
George Rhoten
bbb82912ca ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19442
2006-03-25 23:53:31 +00:00
George Rhoten
32416a8a9c ICU-5125 Remove unusable code.
X-SVN-Rev: 19435
2006-03-25 00:15:56 +00:00
George Rhoten
363ecfa42a ICU-4639 Use U_CAPI instead of U_DRAFT for the implementation.
X-SVN-Rev: 19432
2006-03-24 23:30:09 +00:00
George Rhoten
7dce112ff1 ICU-4639 Make sure that the next enumeration function fails as expected.
X-SVN-Rev: 19407
2006-03-22 09:48:15 +00:00
George Rhoten
851d1dccb8 ICU-4707 Fix some compiler warnings
X-SVN-Rev: 19404
2006-03-22 08:52:04 +00:00
George Rhoten
aeb583804c ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19401
2006-03-22 07:57:49 +00:00
George Rhoten
ad096587e1 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19399
2006-03-22 06:13:30 +00:00
George Rhoten
e8641af8d2 ICU-5032 Move deprecated virtual inline code into the rest of the Hebrew calendar.
X-SVN-Rev: 19397
2006-03-22 00:38:45 +00:00
George Rhoten
13eed03890 ICU-4707 Fix some compiler warnings
X-SVN-Rev: 19354
2006-03-16 07:36:52 +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