Commit Graph

72 Commits

Author SHA1 Message Date
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
George Rhoten
5c86e2f7ae ICU-5955 SubFormat should derive from UMemory.
X-SVN-Rev: 23301
2008-01-24 03:51:26 +00:00
George Rhoten
8ff289e527 ICU-5966 Fix some HP compiler warnings.
X-SVN-Rev: 23291
2008-01-22 21:15:14 +00:00
Michael Ow
2b9c52e17f ICU-6132 Pointers for RBNF and Formattable are check for null.
X-SVN-Rev: 23211
2008-01-11 22:17:28 +00:00
George Rhoten
8081ce1d2b ICU-5794 Various fixes for the following items.
1) Pass the locale on for the PluralFormat constructor
2) Perform normal ICU error code handling so that parse errors aren't discarded.
3) Remove more C++ static initialization.
4) Remove spaces from test names so that they can be called from the command line.
5) Fix various compiler warnings.

X-SVN-Rev: 23141
2007-12-29 05:51:50 +00:00
Claire Ho
c11cd154da ICU-5794 merge from feature branch.
X-SVN-Rev: 23095
2007-12-17 01:39:55 +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
1eb56df46b ICU-4600 Fix errors running cintltest w/o ICU data.
X-SVN-Rev: 18067
2005-06-27 22:30:32 +00:00
Markus Scherer
0a0926e58f ICU-4514 pass 0 length to UnicodeString::releaseBuffer() when the buffer contents is undefined due to a U_FAILURE condition
X-SVN-Rev: 17972
2005-06-22 02:40:25 +00:00
Eric Mader
5dc3d7c9d4 ICU-4561 Update copyright notices for ICU 3.4
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Doug Felt
70537cf0ca ICU-3383 add utility to 'autoquote' unquoted apostrophes in message format
X-SVN-Rev: 17720
2005-05-27 22:07:16 +00:00
George Rhoten
479f3bec14 ICU-3004 Test for some Turkish case conversion errors.
X-SVN-Rev: 17005
2004-12-22 19:40:16 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
George Rhoten
e69fca9d5f ICU-4078 Fix for AIX with Visual Age 5 compiler, and make sure that the
disentanglement is correct by putting all the UnicodeSet virtual functions are
in one file. Also move some of the rule whitespace handling into better
locations.

X-SVN-Rev: 16519
2004-10-15 22:56:26 +00:00
Doug Felt
4255cf1f45 ICU-4019 add message format syntax for spelled-out numbers
X-SVN-Rev: 16105
2004-08-04 05:57:45 +00:00
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
Alan Liu
00035cd85c ICU-3399 move operator== class check into Format
X-SVN-Rev: 14507
2004-02-13 01:50:59 +00:00
Alan Liu
91390d5ea7 ICU-2202 preliminary checkin
X-SVN-Rev: 14367
2004-01-20 23:06:38 +00:00
George Rhoten
a1634465eb ICU-3417 Undo last change due to os/390 2.10
X-SVN-Rev: 14184
2003-12-19 01:18:58 +00:00
George Rhoten
6291099978 ICU-3417 Don't export Subformat documentation
X-SVN-Rev: 14145
2003-12-16 21:26:12 +00:00
George Rhoten
67ca88a2e7 ICU-813 Fix for the C API, which uses va_args.
X-SVN-Rev: 13786
2003-11-20 17:37:05 +00:00
Vladimir Weinstein
8ab4bf13f7 ICU-2202 getLocale implementation for formatting classes and calendar
X-SVN-Rev: 13777
2003-11-19 23:31:45 +00:00
Doug Felt
562a37641a ICU-813 int64 formatting support
X-SVN-Rev: 13757
2003-11-19 04:42:44 +00:00
Vladimir Weinstein
d4e8b6d20b ICU-2202 C++ format getLocale API placeholders
X-SVN-Rev: 13729
2003-11-14 21:53:10 +00:00
George Rhoten
492d57ac79 ICU-3221 Fix AIX linker warnings
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
George Rhoten
d5a60d2db3 ICU-2729 Fix a memory leak
X-SVN-Rev: 11153
2003-02-25 19:56:49 +00:00
Alan Liu
20b7287c2a ICU-2374 added UErrorCode per review
X-SVN-Rev: 11055
2003-02-14 22:16:14 +00:00
George Rhoten
4194737649 ICU-2000 Fixed a compiler warning
X-SVN-Rev: 11018
2003-02-11 02:45:50 +00:00
Alan Liu
1e8ae887c7 ICU-2374 cache the default NumberFormat and the default DateFormat used when subformats[i].format == NULL; this will improve format() performance in some cases
X-SVN-Rev: 10957
2003-02-05 00:53:44 +00:00
Alan Liu
5b75f1a89e ICU-122 support arbitrary count for getFormats; fix custom date/time pattern parsing
X-SVN-Rev: 10916
2003-01-28 22:17:40 +00:00
Alan Liu
8c64e1bb22 ICU-122 remove 10-arg and 10-subformat limits
X-SVN-Rev: 10911
2003-01-27 17:27:40 +00:00
Alan Liu
9d30c08f22 ICU-2370 fix format() docs regarding appending to result string; also misc other doc and parameter name fixes
X-SVN-Rev: 10364
2002-11-23 01:11:50 +00:00
Markus Scherer
d8cd28cf02 ICU-2296 optimize use of UnicodeString, copy string objects less often
X-SVN-Rev: 10029
2002-10-12 01:09:00 +00:00
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
Ram Viswanadha
23b86a17fc ICU-1953 fix some changes from GCL
X-SVN-Rev: 9595
2002-08-07 02:48:28 +00:00
Markus Scherer
f1ba8a9d4f ICU-1962 use uprv_malloc/free instead of new/delete for non-class types
X-SVN-Rev: 9204
2002-07-16 17:50:42 +00:00
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
GCL Shanghai
b89c229c6e ICU-1953 change comments style and check 0/NULL
X-SVN-Rev: 8993
2002-07-02 15:10:30 +00:00
GCL Shanghai
1e188eca35 ICU-1953 Test for NULL after each uprv_malloc() or new
X-SVN-Rev: 8980
2002-06-29 09:31:05 +00:00
George Rhoten
6d5ecbfc08 ICU-1733 Forgot a change from Lotus.
X-SVN-Rev: 8216
2002-03-23 00:25:51 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
George Rhoten
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
George Rhoten
30f7f026e1 ICU-1616 Pay more attention to UErrorCode
X-SVN-Rev: 7533
2002-01-30 06:18:26 +00:00
George Rhoten
859edb1416 ICU-1567 This should fix some of the AIX 4.3/Visual Age 5 preprocessor problems
X-SVN-Rev: 7187
2001-11-30 00:06:13 +00:00
Ram Viswanadha
189e70e306 ICU-329 Clear the parseErr struct consistently by setting the offsets and line with -1
X-SVN-Rev: 6922
2001-11-15 21:13:37 +00:00
George Rhoten
049b557e40 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6851
2001-11-13 23:04:29 +00:00
George Rhoten
efdb5a1f89 ICU-1099 Make some data a bit more const
X-SVN-Rev: 6203
2001-10-11 23:54:55 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00