Commit Graph

3025 Commits

Author SHA1 Message Date
Eric Mader
3dbd215bdb ICU-5555 handleGetMonthLength needs to check for out of range months.
X-SVN-Rev: 21092
2007-02-23 19:27:50 +00:00
Yoshito Umaoka
7bf2a108f8 ICU-5597 Updated the previous changes based on George's review comments
X-SVN-Rev: 21088
2007-02-23 04:35:31 +00:00
Yoshito Umaoka
fe62e13597 ICU-5597 Remove localized date time pattern characters from ICU locale data and update ICU4C DateFormatSymbols to use the base pattern
X-SVN-Rev: 21087
2007-02-22 23:44:11 +00:00
George Rhoten
b847cd9089 ICU-5602 Test and fix French secondary buffer reallocation crash.
X-SVN-Rev: 21041
2007-02-16 19:06:24 +00:00
George Rhoten
fd995106cc ICU-5575 Update to version 3.7.1
X-SVN-Rev: 20994
2007-01-31 01:37:28 +00:00
George Rhoten
b3cdbd8f8d ICU-5552 Compiler optimization fixes for some versions of gcc. This patch allows the regular expression tests to pass.
X-SVN-Rev: 20846
2007-01-03 23:06:36 +00:00
George Rhoten
202e0f66a7 ICU-5445 Fix some compiler warnings
X-SVN-Rev: 20809
2006-12-19 06:06:30 +00:00
George Rhoten
3e9764f769 ICU-4988 Convert project files from MSVC 2003 to MSVC 2005.
No need to use =1

X-SVN-Rev: 20785
2006-12-13 04:41:02 +00:00
George Rhoten
79c80dea96 ICU-4988 Convert project files from MSVC 2003 to MSVC 2005.
Hide warnings about standard C functions being deprecated.
Optimize a few things for the new environment.
Allow project files to work on FAT32 directories.

X-SVN-Rev: 20772
2006-12-13 01:44:54 +00:00
Steven R. Loomis
fcb6fa3e01 ICU-2401 clean up .cvsignore files
X-SVN-Rev: 20757
2006-12-06 19:19:06 +00:00
George Rhoten
3c9ac0863a ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
X-SVN-Rev: 20691
2006-11-28 07:34:13 +00:00
George Rhoten
dc327679cf ICU-5426 Give a wider margin for growth of the collation trie.
X-SVN-Rev: 20678
2006-11-22 23:14:11 +00:00
George Rhoten
596bee3007 ICU-5410 Comment out unused code.
X-SVN-Rev: 20673
2006-11-16 20:32:23 +00:00
George Rhoten
13f3bd0a24 ICU-5410 Improve code coverage, and fix some logically impossible code to call.
X-SVN-Rev: 20671
2006-11-16 19:38:37 +00:00
George Rhoten
6ea0cd2f7d ICU-5410 Improve code coverage through refactorization
X-SVN-Rev: 20667
2006-11-15 23:21:25 +00:00
George Rhoten
1d283c8c87 ICU-5410 Remove untestable/unneeded private code that can't be tested from the API
X-SVN-Rev: 20666
2006-11-15 22:53:12 +00:00
Markus Scherer
fcd1805872 ICU-5490 add UDateTimeScale for Unix time with microseconds granularity
X-SVN-Rev: 20625
2006-11-02 17:33:51 +00:00
Markus Scherer
512f4c4ed7 ICU-5470 fix time zone calculations for late February, taking leap years into account
X-SVN-Rev: 20590
2006-10-24 19:57:32 +00:00
George Rhoten
2a4844cd2c ICU-5411 Fix unitialized memory reference.
X-SVN-Rev: 20530
2006-10-12 04:42:02 +00:00
George Rhoten
51d7d31296 ICU-5426 Don't leak memory on status failure.
X-SVN-Rev: 20529
2006-10-12 02:34:13 +00:00
George Rhoten
0d09a5ecdf ICU-5426 Report an error when utrie_open fails due to mallocing too much.
X-SVN-Rev: 20528
2006-10-12 02:28:59 +00:00
George Rhoten
0554859f94 ICU-5426 Reduce size of ucol_openRules mallocs (less than 1/4th the size)
X-SVN-Rev: 20527
2006-10-12 02:25:36 +00:00
George Rhoten
9607bd959b ICU-5426 This utrie_open allocates more than 4MB. At least check that the allocation worked.
X-SVN-Rev: 20522
2006-10-11 08:23:53 +00:00
George Rhoten
fe98934f24 ICU-5440 Return the correct list of supported locales for collation.
X-SVN-Rev: 20520
2006-10-10 15:44:51 +00:00
George Rhoten
760e4c2a65 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 20504
2006-10-06 18:08:06 +00:00
George Rhoten
ef584abc21 ICU-5440 Return the correct list of supported locales for collation.
X-SVN-Rev: 20484
2006-10-04 06:05:30 +00:00
George Rhoten
c87734cd4e ICU-5427 Fix copying of uninitialized data between real data items.
X-SVN-Rev: 20431
2006-09-28 17:39:21 +00:00
George Rhoten
0b89d022a0 ICU-5410 Improve test code coverage by commenting out functions that can never be used.
X-SVN-Rev: 20387
2006-09-22 18:38:46 +00:00
George Rhoten
ec2dd31072 ICU-5410 Don't put the deprecated internalSet function in a public header as inline.
Test that the deprecated enums aren't used.
This change makes it easier to view untested deprecated code.

X-SVN-Rev: 20375
2006-09-21 01:40:29 +00:00
George Rhoten
511415c0a6 ICU-5410 Improve code coverage by simplifying boolean expression
X-SVN-Rev: 20374
2006-09-21 01:26:20 +00:00
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