Commit Graph

24509 Commits

Author SHA1 Message Date
Abhinav Gupta
1efa6d411f ICU-8854 bitwise and/or of signed byte value.
Values loaded from a byte array are sign extended to 32-bits before any
bitwise operations are performed. Should &-down back to one-byte.

X-SVN-Rev: 30862
2011-10-24 19:24:08 +00:00
Abhinav Gupta
e35f720425 ICU-8854 dead store to local variable
X-SVN-Rev: 30861
2011-10-24 19:23:59 +00:00
Abhinav Gupta
3ae6d5af5b ICU-8854 computation of average could overflow.
X-SVN-Rev: 30860
2011-10-24 19:23:51 +00:00
Abhinav Gupta
5f0127fd5d ICU-8854 equals() does not check for null.
X-SVN-Rev: 30859
2011-10-24 19:23:44 +00:00
Abhinav Gupta
77598a7d62 ICU-8854 Unused final instance variable. Should be static.
X-SVN-Rev: 30858
2011-10-24 19:23:29 +00:00
Abhinav Gupta
04b9f1678a ICU-8854 unnecessary use of String constructor.
X-SVN-Rev: 30857
2011-10-24 19:23:20 +00:00
Abhinav Gupta
87f031cd34 ICU-8854 use of inefficient Number constructors. Use valueOf.
X-SVN-Rev: 30856
2011-10-24 19:14:19 +00:00
Abhinav Gupta
7f0d45c7ad ICU-8854 toString may return null
X-SVN-Rev: 30855
2011-10-24 19:14:10 +00:00
Abhinav Gupta
2192442a0e ICU-8854 integral division result cast to double (and floored).
Unnecessary because integral division already truncates the result.

X-SVN-Rev: 30854
2011-10-24 19:14:03 +00:00
Abhinav Gupta
9794f1727b ICU-8854 unchecked/unconfirmed cast.
X-SVN-Rev: 30853
2011-10-24 19:13:57 +00:00
Mark Davis
9424775dc1 ICU-8807 Small changes in Map, Property
X-SVN-Rev: 30852
2011-10-23 22:31:02 +00:00
Mark Davis
0e05f5d9d6 ICU-8898 Checked in (since shifting systems) but can retract if not approved.
X-SVN-Rev: 30851
2011-10-23 22:27:11 +00:00
Michael Ow
fdfba50729 ICU-8883 Update individual samples solution file to MSVC 2010
X-SVN-Rev: 30843
2011-10-18 17:56:08 +00:00
Yoshito Umaoka
02bf9dd68a ICU-8649 Integrating JCite and embedding coding example in the ICU4J API reference doc.
X-SVN-Rev: 30841
2011-10-17 21:10:07 +00:00
Abhinav Gupta
728bdac7fa ICU-8854 possible null pointer dereference.
X-SVN-Rev: 30839
2011-10-17 20:24:17 +00:00
Abhinav Gupta
9c83ba6e64 ICU-8854 Unclosed streams.
X-SVN-Rev: 30838
2011-10-17 20:24:09 +00:00
Abhinav Gupta
0c1d2e9452 ICU-8854 Result of integer multiplication cast to long after
multiplication. Casting should be done before multiplication to avoid
overflow.

X-SVN-Rev: 30837
2011-10-17 20:23:59 +00:00
Abhinav Gupta
7a58e117d9 ICU-8854 Inefficient use of number constructors. Use valueOf instead.
X-SVN-Rev: 30836
2011-10-17 20:23:48 +00:00
Michael Ow
ebdeffac64 ICU-8861 Move the undefining of strict ansi on Cygwin and MinGW in pkgdata tool
X-SVN-Rev: 30832
2011-10-17 05:56:05 +00:00
Michael Ow
f76ced25c9 ICU-8858 Revert previous change to ufortune sample
X-SVN-Rev: 30831
2011-10-16 04:58:01 +00:00
Steven R. Loomis
fa9a61b152 ICU-8884 fix escaping of $$ORIGIN
X-SVN-Rev: 30825
2011-10-15 21:52:43 +00:00
Yoshito Umaoka
a5edd10c64 ICU-8446 System property user.script to initialize ULocale's script field on Java 6 or older JREs.
X-SVN-Rev: 30824
2011-10-14 22:11:56 +00:00
Steven R. Loomis
a7c0726f93 ICU-8802 improve robustness, also test against stdio sscanf/sprintf for doubles
X-SVN-Rev: 30823
2011-10-14 19:00:49 +00:00
Michael Ow
c3a95aefe9 ICU-8858 Fix ufortune sample program to build resources in dll correctly
X-SVN-Rev: 30821
2011-10-13 18:45:13 +00:00
Michael Ow
df30b2280b ICU-8882 Skip platform dependent message format test on Linux
X-SVN-Rev: 30818
2011-10-13 17:01:32 +00:00
Markus Scherer
ff780b0d80 ICU-7752 library: rename generated *_props_data.c files to .h and add #ifndef guard
X-SVN-Rev: 30817
2011-10-12 22:58:30 +00:00
Markus Scherer
7b666417fd ICU-7752 tools: rename generated *_props_data.c files to .h and add #ifndef guard
X-SVN-Rev: 30816
2011-10-12 22:57:58 +00:00
Steven R. Loomis
20934ac953 ICU-8861 merge r30809 cleanup from #8755
X-SVN-Rev: 30814
2011-10-12 20:08:09 +00:00
Abhinav Gupta
037aa7865a ICU-8876 disabled Clover where necessary.
Disabled for parts of  PluralRules, RBBIDataWrapper, RBBISetBuilder,
TimeZoneNames, Calendar.

X-SVN-Rev: 30811
2011-10-12 15:31:19 +00:00
Abhinav Gupta
ab30e3c400 ICU-8876 added test for SelectFormat.format exception.
X-SVN-Rev: 30810
2011-10-12 15:31:07 +00:00
Yoshito Umaoka
cd49cad3f7 ICU-8874 Modified TestCompareReferenceImpl to do the same tests with ICU4C corresponding test case. Fixed problems in IDNAReference, which was obviously out of date. Restored toUnicode tests in TestErrorCases (but still excluding ASCII only error cases).
X-SVN-Rev: 30805
2011-10-07 22:35:38 +00:00
Yoshito Umaoka
d683b867bf ICU-8874 Fixed test case problem which triggered TestIDNAMonkeyTest failure intermittently. Also updated TestCompareReferenceImpl to cover the case which used to trigger the test failure.
X-SVN-Rev: 30804
2011-10-07 22:28:32 +00:00
Abhinav Gupta
cd5ec415e7 ICU-8876 Filtered asserts from coverage reports.
X-SVN-Rev: 30803
2011-10-06 20:07:21 +00:00
Yoshito Umaoka
f996620c7b ICU-8856 Lower case release file name - m1 instead of M1.
X-SVN-Rev: 30800
2011-10-04 21:52:36 +00:00
Dragan Besevic
c327e33a8c ICU-8855 update readme.html for M1
X-SVN-Rev: 30799
2011-10-04 20:44:22 +00:00
Steven R. Loomis
2d4804ddab ICU-8869 revert r30787 for destructors, update api ref
X-SVN-Rev: 30798
2011-10-04 20:16:25 +00:00
Steven R. Loomis
829c7fa304 ICU-8869 add empty lib directory, and fix a build issue on some systems
X-SVN-Rev: 30797
2011-10-04 20:16:17 +00:00
Yoshito Umaoka
35e6f14f26 ICU-8856 pom.xml to use 49-SNAPSHOT
X-SVN-Rev: 30796
2011-10-04 20:10:13 +00:00
Yoshito Umaoka
b9ae6e1a29 ICU-8856 API change report for 49M1
X-SVN-Rev: 30795
2011-10-04 20:08:06 +00:00
Yoshito Umaoka
33a27b6625 ICU-8856 Updated readme.html for 49M1
X-SVN-Rev: 30794
2011-10-04 20:05:56 +00:00
Michael Ow
9caf72ad89 ICU-8871 Fix missing static label and update urename.h
X-SVN-Rev: 30793
2011-10-04 18:15:16 +00:00
Michael Ow
4a96e69d8d ICU-8871 Update urename.h for 49M1
X-SVN-Rev: 30792
2011-10-04 17:18:44 +00:00
Yoshito Umaoka
ed2c135303 ICU-8856 Explicit private constructor to prevent MessagePatternUtil instatiation. This change fixed unwanted javadoc/api report for MessagePatternUtil constructor.
X-SVN-Rev: 30791
2011-10-04 15:59:21 +00:00
Yoshito Umaoka
53eb6fa62f ICU-8856 Fixed a javac compiler warning.
X-SVN-Rev: 30790
2011-10-04 15:45:25 +00:00
Yoshito Umaoka
406f46d075 ICU-8856 Fixed Eclipse compiler warnings.
X-SVN-Rev: 30789
2011-10-04 15:09:36 +00:00
Yoshito Umaoka
504e04477a ICU-8856 Organized import statements
X-SVN-Rev: 30788
2011-10-04 14:38:02 +00:00
Steven R. Loomis
47b3023462 ICU-8869 update API change report for m1
X-SVN-Rev: 30787
2011-10-04 01:50:34 +00:00
Steven R. Loomis
768140b823 ICU-8869 updates for 49m1
X-SVN-Rev: 30786
2011-10-04 01:50:08 +00:00
Markus Scherer
1fd9d55a23 ICU-8868 remove use of UnicodeString conversion constructor from numsys.cpp
X-SVN-Rev: 30785
2011-10-04 01:14:37 +00:00
Markus Scherer
4461eab39b ICU-8867 add stdout to system group stdio_output, for io library group ustdio
X-SVN-Rev: 30784
2011-10-04 00:30:15 +00:00