George Rhoten
8cb0256a8d
ICU-5371 Visual Studio 6 fixes.
...
X-SVN-Rev: 20277
2006-09-08 16:48:31 +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
5988c8fbae
ICU-5349 Use umutex.h instead of mutex.h
...
X-SVN-Rev: 20270
2006-09-08 04:03:08 +00:00
George Rhoten
b5781126c8
ICU-5349 Use UMTX_CHECK when it's helpful.
...
X-SVN-Rev: 20269
2006-09-08 04:02:23 +00:00
George Rhoten
7ec2eeb77a
ICU-5349 Don't use mutex.h when umutex.h also works.
...
X-SVN-Rev: 20266
2006-09-08 03:41:10 +00:00
George Rhoten
188452c09b
ICU-5349 mutex.h isn't needed in these files.
...
X-SVN-Rev: 20265
2006-09-08 03:40:11 +00:00
Vladimir Weinstein
e4a00d8bc1
ICU-5367 fix handling of implicit expansions on indirect resets
...
X-SVN-Rev: 20253
2006-09-07 20:10:54 +00:00
George Rhoten
79659b49ff
ICU-5304 Fix typo from last checkin.
...
X-SVN-Rev: 20248
2006-09-05 20:51:54 +00:00
George Rhoten
54b3663247
ICU-5304 Allow source code to work again without using U_NAMESPACE_USE in public headers
...
X-SVN-Rev: 20247
2006-09-04 17:15:14 +00:00
George Rhoten
53e8758805
ICU-5304 Improve namespace and mutex usage.
...
X-SVN-Rev: 20246
2006-09-04 17:01:02 +00:00
George Rhoten
fb9d074a03
ICU-5304 Allow source code to work again without using U_NAMESPACE_USE in public headers
...
X-SVN-Rev: 20245
2006-09-04 16:53:17 +00:00
George Rhoten
fa97b33258
ICU-5304 Add missing namespace declarations.
...
X-SVN-Rev: 20243
2006-09-04 16:36:46 +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
Eric Mader
e2e03f351c
ICU-5322 update sample code in doc comments.
...
X-SVN-Rev: 20216
2006-08-31 19:09:58 +00:00
George Rhoten
dfffb6fcc2
ICU-5221 @stable should be used instead of @since.
...
X-SVN-Rev: 20188
2006-08-29 23:16:55 +00:00
Ram Viswanadha
40de6d9299
ICU-5221 fix docs
...
X-SVN-Rev: 20186
2006-08-29 21:55:46 +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
8c383fed44
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 20153
2006-08-24 18:51:49 +00:00
George Rhoten
f477852393
ICU-4639 Fix a compiler warning and a z/OS runtime error introduced from last check-in.
...
X-SVN-Rev: 20129
2006-08-22 08:31:57 +00:00
Eric Mader
0817e0f7d0
ICU-4639 code review comments.
...
X-SVN-Rev: 20125
2006-08-21 23:35:23 +00:00
George Rhoten
05f2795ed1
ICU-5008 Make the @draft API mirror its U_STABLE label.
...
X-SVN-Rev: 20118
2006-08-19 21:30:03 +00:00
George Rhoten
34c5798a18
ICU-5333 Whitespace changes.
...
X-SVN-Rev: 20117
2006-08-19 21:27:08 +00:00
George Rhoten
8e5113cc62
ICU-5254 Fix for MinGW
...
X-SVN-Rev: 20078
2006-08-17 05:21:06 +00:00
George Rhoten
bb11dbdf53
ICU-5254 Fix for MinGW
...
X-SVN-Rev: 20065
2006-08-15 06:48:01 +00:00
George Rhoten
3dffeab2e6
ICU-5320 Don't use global new and delete, and add a patch for MinGW
...
X-SVN-Rev: 20064
2006-08-15 06:47:19 +00:00
George Rhoten
5c6df5e87f
ICU-5320 Don't use global new and delete
...
X-SVN-Rev: 20063
2006-08-15 06:45:05 +00:00
Eric Mader
c292eb5da0
ICU-5314 Clean up UTF-16, UTF-32 detectors, UTF-16 test.
...
X-SVN-Rev: 20035
2006-08-11 18:55:15 +00:00
George Rhoten
f4741efce1
ICU-5009 Fix doxygen warnings.
...
X-SVN-Rev: 20031
2006-08-11 05:46:59 +00:00
George Rhoten
154f34dbf2
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 20028
2006-08-11 04:05:04 +00:00
George Rhoten
70d3b36d5f
ICU-5310 White space fixes.
...
X-SVN-Rev: 20017
2006-08-10 19:08:46 +00:00
Eric Mader
80146ab3f7
ICU-5310 Fix bogus language codes returned by getlanguage() methods.
...
X-SVN-Rev: 20007
2006-08-09 20:13:18 +00:00
John Emmons
46e2403665
ICU-5241 Added single setters for quarters
...
X-SVN-Rev: 20003
2006-08-08 21:58:59 +00:00
George Rhoten
a5762bea29
ICU-5032 Remove untestable code. symbolsToAdopt can't be NULL, and the else branch does the same thing.
...
X-SVN-Rev: 20002
2006-08-08 21:39:04 +00:00
Markus Scherer
d9e954dc93
ICU-5220 uenum_next() must not set an error code for just enumerating past the end
...
X-SVN-Rev: 19989
2006-08-06 22:38:31 +00:00
George Rhoten
e3d2129414
ICU-4869 Try to fix an EBCDIC issue.
...
X-SVN-Rev: 19942
2006-08-01 15:48:07 +00:00
Ram Viswanadha
0ff9cf8f7c
ICU-5008 promote draft APIs to stable
...
X-SVN-Rev: 19934
2006-07-31 20:52:01 +00:00
George Rhoten
914eadd2dd
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 19918
2006-07-28 21:47:47 +00:00
George Rhoten
cbd6f5368e
ICU-5032 Remove unused code.
...
X-SVN-Rev: 19892
2006-07-25 22:42:34 +00:00
George Rhoten
198bcd69bb
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 19887
2006-07-25 03:58:17 +00:00
Steven R. Loomis
83c6d252dc
ICU-5270 don't crash when no data present
...
X-SVN-Rev: 19876
2006-07-21 22:01:55 +00:00
Steven R. Loomis
d0dbd4f761
ICU-5270 allow comipilation with UCAL_DEBUG
...
X-SVN-Rev: 19875
2006-07-21 21:59:06 +00:00
Steven R. Loomis
464a6d6a0c
ICU-5270 don't crash on no data
...
X-SVN-Rev: 19859
2006-07-19 20:24:02 +00:00
Eric Mader
e933e38b2d
ICU-5267 DateFormatSymbols::getZoneType() needs to check for empty strings.
...
X-SVN-Rev: 19854
2006-07-18 22:14:29 +00:00
George Rhoten
13357a90ca
ICU-4881 Change exported class from iteratedChar to IteratedChar
...
X-SVN-Rev: 19843
2006-07-14 00:09:04 +00:00
George Rhoten
7565180024
ICU-5261 Fail gracefully for when Solaris 10 gcc doesn't quite work.
...
X-SVN-Rev: 19840
2006-07-13 21:04:20 +00:00
George Rhoten
2d277e543c
ICU-5261 Allow the error code to be passed by parameter instead of within the object.
...
X-SVN-Rev: 19839
2006-07-13 20:29:11 +00:00
Eric Mader
58de79fd9f
ICU-5241 Add getQuarters / setQuarters, and tests.
...
X-SVN-Rev: 19831
2006-07-12 23:21:02 +00:00
Eric Mader
a57dba2fa8
ICU-5196 Digit grouping fix: in getGrouping, multiply result by 10 if string doesn't end in ";0"
...
X-SVN-Rev: 19827
2006-07-11 23:49:20 +00:00
George Rhoten
d64ae22468
ICU-4881 Update version 3.5 ->3.6
...
X-SVN-Rev: 19819
2006-07-11 00:30:28 +00:00
George Rhoten
9c874f2cc1
ICU-5257 Give the correct parse position when parsing currency numbers.
...
X-SVN-Rev: 19817
2006-07-10 23:40:17 +00:00
George Rhoten
f185e27446
ICU-5241 Fix destructor, assignment operator and failsafe initialization.
...
X-SVN-Rev: 19812
2006-07-10 21:07:57 +00:00
Vladimir Weinstein
5d24ef7fdd
ICU-5223 fix primary strength sortkey termination bug
...
X-SVN-Rev: 19794
2006-07-06 06:30:06 +00:00
Markus Scherer
f049a5f607
ICU-5211 the Universal Time Scale must use the proleptic Gregorian calendar because it is supposed to be compatible with .Net System.DateTime which uses that calendar
...
X-SVN-Rev: 19778
2006-06-28 22:39:00 +00:00
Markus Scherer
2c56554cbb
ICU-5211 add API functions: ucal_setGregorianChange() and ucal_getGregorianChange()
...
X-SVN-Rev: 19775
2006-06-27 23:06:25 +00:00
Eric Mader
1fcd76ec02
ICU-5241 Initial checkin of Quarters, narrow month, day names.
...
X-SVN-Rev: 19762
2006-06-26 17:51:25 +00:00
Ram Viswanadha
29182d9041
ICU-5247 update data from CLDR 1.4 beta
...
X-SVN-Rev: 19755
2006-06-23 16:31:07 +00:00
Vladimir Weinstein
48633f914b
ICU-5232 fix for nextSortKeyPart bug that was uncovered in
...
collate/CollationThaiTest/TestDictionary. The function was made simpler
and actually correct. Rejoice and consider backporting to 3.2.
X-SVN-Rev: 19734
2006-06-16 06:00:13 +00:00
Vladimir Weinstein
67a594dddd
ICU-5232 nextSortKeyPart doesn't need consumedChars anymore
...
X-SVN-Rev: 19733
2006-06-16 05:53:13 +00:00
Vladimir Weinstein
67c07190f2
ICU-5231 Update UCA 5.0 CODAN placeholder
...
X-SVN-Rev: 19732
2006-06-16 05:52:02 +00:00
Vladimir Weinstein
ad73d4ec89
ICU-5231 UCA 5.0 rules need even more space to parse
...
X-SVN-Rev: 19727
2006-06-16 05:44:53 +00:00
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