Commit Graph

3809 Commits

Author SHA1 Message Date
Peter Edberg
1826002e52 ICU-7725 Hoist isLenient / setLenient to Format class (from DateFormat, RBNF)
X-SVN-Rev: 28170
2010-06-10 20:17:43 +00:00
Andy Heninger
9b68c719ad ICU-7216 Fix possible memory leak in error case.
X-SVN-Rev: 28168
2010-06-10 17:53:26 +00:00
John Emmons
bd2a89a232 ICU-7599 Add support for alternate symbols per numbering system
X-SVN-Rev: 28134
2010-06-04 18:29:02 +00:00
Michael Grady
fa477f8a22 ICU-7667 In DecimalFormat::_format, deal with cases where two forms of rounding are specified - number of digits _and_ a rounding increment
X-SVN-Rev: 28132
2010-06-04 05:42:19 +00:00
Peter Edberg
3249dbb71d ICU-7728 Time format using 'S' (fractional seconds) should truncate, not round.
X-SVN-Rev: 28130
2010-06-04 00:31:33 +00:00
Jason Spieth
c580be9189 ICU-7621 Change mapping of display name constants SHORT to 'V' and SHORT_COMMONLY_USED to 'z'. ICU4C changed to be consistent with ICU4J.
X-SVN-Rev: 28120
2010-06-01 16:10:14 +00:00
Markus Scherer
0acda636e4 ICU-7722 build canonical-iterator data from nfc.nrm (port Java code to C++)
X-SVN-Rev: 28117
2010-06-01 06:10:26 +00:00
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
Markus Scherer
1d8a683b96 ICU-7455 remove a misplaced U_I18N_API
X-SVN-Rev: 28080
2010-05-19 22:43:55 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Markus Scherer
50d9837e92 ICU-7493 clean up MaybeStackArray (revert r27723) and add MaybeStackHeaderAndArray
X-SVN-Rev: 28073
2010-05-18 21:53:21 +00:00
Markus Scherer
9b1bbaa705 ICU-7686 initialize FCD only when the collator needs it
X-SVN-Rev: 28062
2010-05-14 17:16:13 +00:00
Peter Edberg
d83f32e641 ICU-7550 udat_setSymbols should call verifyIsSimpleDateFormat to avoid crash with RelativeDateFormat
X-SVN-Rev: 28057
2010-05-13 03:35:54 +00:00
Peter Edberg
e2d45f564f ICU-7673 Fix to use #include "" for ICU includes, reorder as necessary
X-SVN-Rev: 28047
2010-05-11 06:08:15 +00:00
Michael Ow
43ab52b074 ICU-7650 Fix uconfig test errors in i18n library and test codes.
X-SVN-Rev: 28037
2010-05-07 07:28:47 +00:00
Michael Ow
7058d05758 ICU-7651 Fix incorrect size calculation of fSmallData in regex.
X-SVN-Rev: 27992
2010-04-28 02:32:00 +00:00
Peter Edberg
f3c6395224 ICU-7616 Enable non-Gregorian calendars for DateIntervalFormat
X-SVN-Rev: 27947
2010-04-17 08:24:01 +00:00
Jason Spieth
cfb6018a50 ICU-7357 Allow date format parsing to handle ISO format. Properly parse the era and allow negative years to derive the era.
X-SVN-Rev: 27904
2010-04-06 18:04:27 +00:00
Steven R. Loomis
3c32f28189 ICU-7586 update version number for milestone:4.5.1
X-SVN-Rev: 27892
2010-04-02 00:12:54 +00:00
Claire Ho
814e84d04f ICU-7217 Add a U_FAILURE check in NumberingSystem::createInstance()
X-SVN-Rev: 27887
2010-03-31 00:06:58 +00:00
Claire Ho
9f7990c11a ICU-7216 Add U_FAILURE check in unum_open()
X-SVN-Rev: 27884
2010-03-30 21:46:11 +00:00
Andy Heninger
92ba1e3fde ICU-7557 fix API docs describing rounding for Decimal Format
X-SVN-Rev: 27860
2010-03-17 22:36:12 +00:00
Michael Ow
2297d39ef2 ICU-6911 Ensure that memory is freed before setting to NULL.
X-SVN-Rev: 27835
2010-03-12 20:08:20 +00:00
Michael Ow
a2ba018519 ICU-6911 Add value deleter when copying hash table.
X-SVN-Rev: 27834
2010-03-12 16:28:01 +00:00
Peter Edberg
829d15c795 ICU-7538 Avoid negative array index when UTEXT_NEXT32 returns -1 (U_SENTINEL)
X-SVN-Rev: 27821
2010-03-11 19:54:36 +00:00
Andy Heninger
9b9c2901d8 ICU-7539 Fix Memory Leak in LocaleDisplayNames
X-SVN-Rev: 27820
2010-03-11 19:54:35 +00:00
Yoshito Umaoka
321ecd77a9 ICU-7513 Fixing generic partial location format problem exposed by the CLDR 1.8 data. Also updated the test code to emit error log including more information.
X-SVN-Rev: 27813
2010-03-10 23:38:25 +00:00
Steven R. Loomis
fb5c90be9f ICU-7529 bad return type in zstrfmt.cpp
X-SVN-Rev: 27812
2010-03-10 18:03:36 +00:00
Jason Spieth
79a1c517b9 ICU-4917 Remove code from trunk to be added to branch.
X-SVN-Rev: 27779
2010-03-04 21:15:43 +00:00
Jason Spieth
99fe830c00 ICU-4917 Improve ISO format handling of era and negative years
X-SVN-Rev: 27778
2010-03-04 16:55:29 +00:00
Peter Edberg
a86ac09d62 ICU-6707 Document the digit string limit for UCOL_NUMERIC_COLLATION
X-SVN-Rev: 27772
2010-03-03 23:40:19 +00:00
Michael Ow
708a96722c ICU-6911 Close unneeded resource bundle and remove old code.
X-SVN-Rev: 27769
2010-03-03 18:41:06 +00:00
Claire Ho
78c2548e2e ICU-6912 ucol_openRules accesses invalid memory.
X-SVN-Rev: 27766
2010-03-03 17:47:54 +00:00
Claire Ho
9861789c18 ICU-6912 ucol_openRules accesses invalid memory.
X-SVN-Rev: 27765
2010-03-03 17:37:43 +00:00
Steven R. Loomis
99998611d9 ICU-7482 z issues - cintltest passes!
X-SVN-Rev: 27754
2010-03-03 01:47:00 +00:00
Jason Spieth
828ca4ece7 ICU-6691 Use most recently set year field in handleGetExtendedYear
X-SVN-Rev: 27738
2010-03-02 16:23:13 +00:00
Peter Edberg
3ded6f3da5 ICU-7093 kill some warnings
X-SVN-Rev: 27722
2010-02-27 07:43:41 +00:00
Peter Edberg
0b3887b73a ICU-4521 kill more warnings
X-SVN-Rev: 27721
2010-02-27 07:43:07 +00:00
Peter Edberg
7eb5ef037e ICU-7446 Note that UREGEX_LITERAL is unimplemented, and return U_REGEX_UNIMPLEMENTED for it.
X-SVN-Rev: 27718
2010-02-27 03:40:56 +00:00
Peter Edberg
ad87082ae1 ICU-7093 (merge from branch) Implement asymmetric search, add tests, kill some other warnings
X-SVN-Rev: 27714
2010-02-27 01:01:45 +00:00
Markus Scherer
cef470f60d ICU-5624 namespace fix
X-SVN-Rev: 27713
2010-02-27 00:11:32 +00:00
Claire Ho
5395e4729a ICU-6912 ucol_openRules accesses invalid memory.
X-SVN-Rev: 27709
2010-02-26 22:22:53 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Andy Heninger
cae10acab5 ICU-8112 moved by srl, incorrectly filed under #7548: spoof api docs cleanup
X-SVN-Rev: 27695
2010-02-26 01:18:21 +00:00
Yoshito Umaoka
7852edbfef ICU-6444 Update mapTimezones table structure. This update was done by CLDR svn revision 4748.
X-SVN-Rev: 27683
2010-02-25 22:08:13 +00:00
Michael Ow
3bb1465e8d ICU-6911 Fix some memory leaks in cintltst and add value deleter in selfmt.
X-SVN-Rev: 27678
2010-02-25 19:19:53 +00:00
Peter Edberg
411a93712a ICU-4521 Merge from branch, fixes for 64bit alignment & type conversions
X-SVN-Rev: 27670
2010-02-25 06:33:29 +00:00
Markus Scherer
5cb38459a6 ICU-7273 remove #include unormimp.h where not used any more
X-SVN-Rev: 27667
2010-02-25 00:21:02 +00:00
John Emmons
078862d761 ICU-6887 Fix day-of-month calculations in Islamic calendar - add back to limits test
X-SVN-Rev: 27665
2010-02-25 00:03:49 +00:00
Doug Felt
b9fb4a7858 ICU-7452 add using Xxx:format statements to all Format subclasses that override format
X-SVN-Rev: 27662
2010-02-24 23:52:27 +00:00
Markus Scherer
1800062d38 ICU-7342 uldn_open(NULL) uses the default locale; and make LocaleDisplayNames extend UObject with RTTI
X-SVN-Rev: 27657
2010-02-24 22:29:08 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +00:00
Yoshito Umaoka
d79344d97d ICU-5624 64bit time zone transition support changes merged from Yoshito's work branch. Also updated time zone code to use region mapping data only from zoneinfo64 (so zoneFormatting data in supplementalData is no longer used).
X-SVN-Rev: 27644
2010-02-24 07:54:30 +00:00
Peter Edberg
3b410ee565 ICU-7180 Also don't adjust minute & second field length by default.
X-SVN-Rev: 27622
2010-02-22 00:58:52 +00:00
Steven R. Loomis
48323123a3 ICU-7425 update ICU DLL comments
X-SVN-Rev: 27589
2010-02-18 04:33:41 +00:00
Peter Edberg
c6780c2b10 ICU-6830 be case-sensitive in skeleton hash compares; add patterns for both H/h
X-SVN-Rev: 27586
2010-02-18 01:06:31 +00:00
Steven R. Loomis
55150bd679 ICU-6920 update version number to 4.4, and attempt to update windows files automatically
X-SVN-Rev: 27583
2010-02-17 22:18:24 +00:00
Markus Scherer
81234fecdb ICU-7273 add loading of custom data, with caching, test data and test code
X-SVN-Rev: 27578
2010-02-16 23:43:22 +00:00
Peter Edberg
d35f302566 ICU-6830 getDateTimeSkeleton() should not normalize 'H' to 'h'
X-SVN-Rev: 27566
2010-02-15 19:26:22 +00:00
Yoshito Umaoka
0ec6c28016 ICU-6444 Retire gCanonicalMap in ZoneMeta. Matching the implementation for getCanonicalSystemID / getCanonicalCountry with J trunk implementation. It shows 5-10% performance degrade in typical test cases. I'll revisit this if we need caches for them. Also, I'll update territory mapping to read the data from zoneinfo later.
X-SVN-Rev: 27556
2010-02-12 22:06:49 +00:00
Yoshito Umaoka
d8db690e28 ICU-6444 Modified the code not to depend on gUStringTable. Instead, use the data in resource directly.
X-SVN-Rev: 27554
2010-02-12 19:00:53 +00:00
Yoshito Umaoka
784704f4c7 ICU-6444 Removed pre-loaded mapping table between Olson ids and metazones. Metazone to Olson mapping to refer the resource bundle directly. Olson to Metazone to load only requested data from the resource bundle and cache it for next time.
X-SVN-Rev: 27551
2010-02-12 04:04:48 +00:00
Peter Edberg
a6c3b1905e ICU-4521 Fix dangling pointer if a UnicodeString passed to RegexPattern::compile
doesn't persist for the life of the RegexPattern; ensure RegexPattern == still works.

X-SVN-Rev: 27541
2010-02-11 06:57:20 +00:00
Steven R. Loomis
1457da183c ICU-7353 docs fixup and updated API Change Report
X-SVN-Rev: 27537
2010-02-11 00:53:57 +00:00
Peter Edberg
f308bffc8c ICU-4521 Disambiguate signatures for RegexPattern::matcher,RegexMatcher::group for 0 pointers; fix warnings
X-SVN-Rev: 27522
2010-02-09 20:17:52 +00:00
Umesh Nair
b11c49bcd5 ICU-7015 Implementing compact collation tailoring syntax by introducing a star-notation.
X-SVN-Rev: 27521
2010-02-09 19:59:06 +00:00
John Emmons
b932e68f4f ICU-4521 Fix ambiguous argument
X-SVN-Rev: 27510
2010-02-08 17:50:41 +00:00
Markus Scherer
7f34717f2e ICU-7273 minor C++ changes parallel with Java
X-SVN-Rev: 27494
2010-02-04 23:57:28 +00:00
Steven R. Loomis
4a9bc3f8ff ICU-7353 updated docs and report
X-SVN-Rev: 27488
2010-02-04 20:32:21 +00:00
Michael Grady
8216117f21 ICU-4521 UText-based regex implementation
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Yoshito Umaoka
547580cd15 ICU-6444 Updated timezone data resources corresponding to the latest change for cldrbug 1958 in CLDR. Added metaZones.txt/windowsZones.txt replacing metazoneInfo.txt/wintz.txt. Removed mapTimezones data from supplementalData.txt to match the change in CLDR (for now, manually editted, because I cannot use the trunk version of supplementalData.xml in CLDR at this moment).
X-SVN-Rev: 27471
2010-02-02 04:55:55 +00:00
John Emmons
91ab093cf3 ICU-7290 Changed inaccurate U_DRAFT markings to U_STABLE
X-SVN-Rev: 27469
2010-02-02 01:44:11 +00:00
Kirti Velankar
295cff6916 ICU-3931 code-review changes
X-SVN-Rev: 27467
2010-02-01 23:32:57 +00:00
Kirti Velankar
f8125a14a4 ICU-3931 Updates
X-SVN-Rev: 27457
2010-01-30 04:48:30 +00:00
Kirti Velankar
867c479b47 ICU-3931 Some more updates according to code-review comments
X-SVN-Rev: 27455
2010-01-30 03:46:13 +00:00
Kirti Velankar
df36aab82d ICU-3931 Removing commented code
X-SVN-Rev: 27454
2010-01-30 03:35:11 +00:00
Kirti Velankar
632f3ce80c ICU-3931 Code-review comments and removed default constructor -same as Java
X-SVN-Rev: 27452
2010-01-30 03:18:22 +00:00
Kirti Velankar
6924ba6c66 ICU-3931 Code-review comments and removed default constructor -same as Java
X-SVN-Rev: 27451
2010-01-30 02:48:20 +00:00
Kirti Velankar
ba83d297f8 ICU-3931 Cleaned up checkValidKeyword method
X-SVN-Rev: 27449
2010-01-30 00:11:31 +00:00
Steven R. Loomis
f517a0db14 ICU-7304 fix API promotions from bad checkins r27396 and r27397
X-SVN-Rev: 27436
2010-01-28 21:09:53 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +00:00
Kirti Velankar
54910a7c91 ICU-3931 Changes in documentation
X-SVN-Rev: 27429
2010-01-28 01:23:47 +00:00
Jason Spieth
d0a37312c8 ICU-5979 Better documentation for array dimensions and limits.
X-SVN-Rev: 27418
2010-01-26 18:06:12 +00:00
Jason Spieth
9ccaaacb43 ICU-5979 More documentation for data returned by get/setZoneStrings functions.
X-SVN-Rev: 27417
2010-01-26 17:39:19 +00:00
Peter Edberg
f0c9ad0b41 ICU-7295 subparse hangs with fGroupingUsed TRUE but 0-length grouping separator
X-SVN-Rev: 27415
2010-01-26 08:51:23 +00:00
Peter Edberg
4c6887c581 ICU-7295 ucal_open crash if locale==NULL && caltype==UCAL_GREGORIAN
X-SVN-Rev: 27414
2010-01-26 07:21:21 +00:00
Michael Ow
cf116f9297 ICU-6444 Separate metazone timezone mappings and windows timezone from supplementalData and update affected source files.
X-SVN-Rev: 27411
2010-01-26 06:03:14 +00:00
Andy Heninger
d80b144c19 ICU-7369 Clean up uconfig test failures.
X-SVN-Rev: 27406
2010-01-26 00:55:35 +00:00
Peter Edberg
93ecb35cb6 ICU-2223 Port weekend APIs from ICU4J to C,C++ (real implementation)
X-SVN-Rev: 27403
2010-01-25 20:12:19 +00:00
Steven R. Loomis
b361793726 ICU-7304 draft 4.2 to stable 4.4 ( also cleaned up some ICU-7290 issues )
X-SVN-Rev: 27396
2010-01-23 06:36:03 +00:00
Steven R. Loomis
ca2c363edf ICU-5996 withdraw API (fixup for windows project file)
X-SVN-Rev: 27394
2010-01-23 04:13:24 +00:00
Steven R. Loomis
a0763011b5 ICU-5996 remove zrule, vzone, ztrans from API.
X-SVN-Rev: 27390
2010-01-23 02:08:06 +00:00
Steven R. Loomis
2ce92e1323 ICU-4735 removing unimplemented functions
X-SVN-Rev: 27389
2010-01-23 01:51:30 +00:00
Doug Felt
aeff93d2f5 ICU-7372 fix bug and add test
X-SVN-Rev: 27386
2010-01-22 22:44:29 +00:00
Steven R. Loomis
9639075dd6 ICU-4735 fix bad tag (really still stable)
X-SVN-Rev: 27381
2010-01-22 18:52:11 +00:00
Steven R. Loomis
2cbe4aad19 ICU-6192 fix bad tag
X-SVN-Rev: 27380
2010-01-22 18:50:51 +00:00
Markus Scherer
c3b86050b4 ICU-7247 need localpointer.h for the LocalXyzPointer definitions
X-SVN-Rev: 27371
2010-01-22 01:18:16 +00:00
Markus Scherer
7fcecf9565 ICU-6192 do not include internal uvectr32.h from public unicode/fpositer.h
X-SVN-Rev: 27368
2010-01-21 23:54:42 +00:00
Markus Scherer
a31a559ede ICU-7273 namespace fix
X-SVN-Rev: 27366
2010-01-21 23:28:30 +00:00