Commit Graph

101 Commits

Author SHA1 Message Date
Michael Ow
906223c6b1 ICU-11869 Update charset pref list for jis8 in icu4j
X-SVN-Rev: 37906
2015-09-08 22:36:40 +00:00
Markus Scherer
056237d6db ICU-11004 bulk-read data from ByteBuffer; read .res key strings up front into byte[] for faster lookup
X-SVN-Rev: 37806
2015-08-24 20:30:44 +00:00
Andy Heninger
e599c1007e ICU-11609 set svn property eol-style native for more text files in icu4j.
X-SVN-Rev: 37365
2015-04-17 23:31:56 +00:00
Yoshito Umaoka
22dd5c9096 ICU-11565 Fixed Eclipse compiler warnings. Updated ICU4J project settings to detect [potentail] resource leak as warning, except icu-demos, icu-build-tools and icu-tools.
X-SVN-Rev: 37213
2015-03-11 18:54:31 +00:00
Fredrik Roubert
d8b9e7ecaa ICU-11463 ICU4J ought to always close() resources
R=yoshito_umaoka@us.ibm.com

Review URL: https://codereview.appspot.com/199390043

X-SVN-Rev: 37034
2015-02-13 20:16:22 +00:00
Fredrik Roubert
774a23e4a7 ICU-11039 optionally build ICU4J jar without ICU runtime data
Make all Ant targets for copying data conditional on a new property
named icu4c.data.path which, if set, inhibits all data copying and
updates the ICUConfig.properties file to use this path.

Use in this way:
$ ant -Dicu4c.data.path=/tmp/icu/build/data/out/tmp check

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/198130043

X-SVN-Rev: 36996
2015-01-30 16:59:20 +00:00
Markus Scherer
0acf60d3e0 ICU-11479 do not ask the Java system what the canonical name should be, just figure it out from ICU data
X-SVN-Rev: 36982
2015-01-22 20:40:30 +00:00
Markus Scherer
1604e1772d ICU-11479 precompute Java canonical names for not-only-ICU Charsets, make CharsetProviderICU all-static again (see ticket #9973), simplify some test code
X-SVN-Rev: 36966
2015-01-16 17:35:52 +00:00
Michael Ow
1a2ae33299 ICU-10551 Update test to check non-ignorable codepoints and fix comments
X-SVN-Rev: 36444
2014-09-10 23:24:50 +00:00
Yoshito Umaoka
8b78bd0e84 ICU-10993 Fixed javac/eclipse compiler warnings, and issues reported by FindBugs.
X-SVN-Rev: 36404
2014-09-09 08:01:41 +00:00
Michael Ow
1c4e81baed ICU-10551 Make ICU4J encoder callbacks ignore default ignorable code points
X-SVN-Rev: 36200
2014-08-18 21:28:18 +00:00
Markus Scherer
e87758a436 ICU-10939 ICU4J optionally read data from .dat and .res, from ICUConfig-ured dataPath; make ICU4J support little-endian binary data files
X-SVN-Rev: 36106
2014-07-31 18:46:54 +00:00
Fredrik Roubert
c12cb80e81 ICU-10944 Add ByteBuffer support for conversion classes.
Updates UConverterDataReader, UConverterAlias and
UConverterAliasDataReader.

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/107700043

X-SVN-Rev: 36039
2014-07-15 21:01:33 +00:00
Yoshito Umaoka
3a249592b4 ICU-10602 Added @Deprecated annotation to @deprecated APIs. Corrected API status tag for SpoofChecker.SINGLE_SCRIPT, which was actually marked as @deprecated before ICU 51. Also some cleanup for non-standard @internal tag document.
X-SVN-Rev: 35254
2014-02-27 20:18:05 +00:00
Michael Ow
37aa0f8445 ICU-9973 Make CharsetProviderICU thread safe
X-SVN-Rev: 33534
2013-04-17 15:29:37 +00:00
Yoshito Umaoka
27f8f4b33b ICU-9966 Patch for the test problem reported by #9966. Updated testdata.jar from ICU4C trunk.
X-SVN-Rev: 33322
2013-02-25 20:26:52 +00:00
Yoshito Umaoka
4fa11a300d ICU-9947 Updated public API status for ICU4J 51.
X-SVN-Rev: 33290
2013-02-21 03:38:55 +00:00
Yoshito Umaoka
e4ee964593 ICU-9413 Fixed Javadoc warnings - mostly incomplete tag in non-API methods.
X-SVN-Rev: 32323
2012-09-04 02:52:12 +00:00
Michael Ow
d98bf1b052 ICU-9340 Fix potential out of bound error in ICU4J ISCII converter
X-SVN-Rev: 32022
2012-07-03 17:51:41 +00:00
Michael Ow
230db005ae ICU-9205 Update max bytes per char calculation for EBCDIC DBCS types
X-SVN-Rev: 31675
2012-04-03 22:18:45 +00:00
Yoshito Umaoka
2d39c18a49 ICU-9187 Resolve javac compiler warning with JDK 7. SuppressWarning annotation type 'rawtypes' is necessary instead of 'unchecked' with JDK 7. However, with Eclipse IDE using Java 1.5 env still requires 'unchecked'. Thus, kept 'unchecked', added 'rawtypes' and updated all ICU runtime library projects to ignore unused SuppressWarning types, instead of warning.
X-SVN-Rev: 31622
2012-03-15 18:56:48 +00:00
Yoshito Umaoka
a1344472af ICU-9187 Ignore javac warning for setting an older source without bootclasspath introduced in JDK 7.
X-SVN-Rev: 31621
2012-03-15 18:21:48 +00:00
Markus Scherer
c422bcd481 ICU-5929 optimize CharsetEncoderICU fallback test
X-SVN-Rev: 31489
2012-02-23 02:08:37 +00:00
Michael Ow
42208f627b ICU-9085 Fix infinite loop error in compound text converter in ICU4J
X-SVN-Rev: 31299
2012-02-02 01:56:59 +00:00
Yoshito Umaoka
fac016b0ed ICU-9006 ICU4J API promotion for 49. A bug fix in the api report tool.
X-SVN-Rev: 31275
2012-01-30 17:16:37 +00:00
Abhinav Gupta
2730ee27c3 ICU-8924 Add findbugs targets
X-SVN-Rev: 31176
2011-12-29 18:13:00 +00:00
Abhinav Gupta
23d796e394 ICU-8854 Inner class does not use embedded reference to creator. Should be static inner class.
X-SVN-Rev: 30926
2011-11-04 15:19:11 +00:00
Abhinav Gupta
fc9b8646db ICU-8854 string concatenation in loop using + operator
X-SVN-Rev: 30863
2011-10-24 19:24:17 +00:00
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
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
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
Michael Ow
6903a27947 ICU-8515 Add missing provisional tag to draft API CharsetEncoderICU.getMaxBytesForString
X-SVN-Rev: 30760
2011-09-30 19:16:20 +00:00
Steven R. Loomis
f2dea4dba1 ICU-8855 undo bad commit r30752
X-SVN-Rev: 30753
2011-09-29 20:18:13 +00:00
Abhinav Gupta
27cdc577c8 ICU-8855 utf-8 file properties for icu4j (with copyright updates).
X-SVN-Rev: 30752
2011-09-29 19:44:32 +00:00
Abhinav Gupta
c2769af599 ICU-8268 return value was ignored.
Return value of string concatenation was ignored. Results in invalid data.

X-SVN-Rev: 30726
2011-09-27 19:50:26 +00:00
Abhinav Gupta
c9b90e11db ICU-8268 dead store to local variable.
A value is assigned to a local variable but never read again.

Signed-off-by: Abhinav Gupta <abhinavg@ca.ibm.com>

X-SVN-Rev: 30725
2011-09-27 19:50:19 +00:00
Abhinav Gupta
a65971645c ICU-8268 repeated conditional test
X-SVN-Rev: 30718
2011-09-27 18:15:03 +00:00
Michael Ow
ddaa367fa9 ICU-8729 Fix source buffer's array offset handling error
X-SVN-Rev: 30420
2011-07-25 22:18:42 +00:00
Michael Ow
834901f20c ICU-8660 Skip the current source char when searching for the next escape character
X-SVN-Rev: 30297
2011-07-08 17:22:34 +00:00
Michael Ow
d71f5096b1 ICU-8664 Use the custom CharsetDecoder's replacement character if one is specified
X-SVN-Rev: 30284
2011-07-06 17:42:56 +00:00
Michael Ow
a2b657a9a3 ICU-8612 Remove exception usage in normal code path of CharsetASCII and Charset88591
X-SVN-Rev: 30238
2011-06-27 18:06:05 +00:00
Michael Ow
cfe479cd47 ICU-8515 Add getMaxBytesForString to CharsetEncoderICU
X-SVN-Rev: 30237
2011-06-27 17:03:06 +00:00
Michael Ow
7078702c9f ICU-8569 Terminate the UTF-7 byte buffer with MINUS when flushing
X-SVN-Rev: 30176
2011-06-01 16:26:45 +00:00
Yoshito Umaoka
5ef5a3bed2 ICU-8488 Use explicit locale in String#toLowerCase / #toUpperCase.
X-SVN-Rev: 30156
2011-05-27 19:25:11 +00:00
Michael Ow
7225bff0c5 ICU-8549 UTF-7 error consumption fix to ICU4J
X-SVN-Rev: 30152
2011-05-27 17:08:14 +00:00
Michael Ow
a640b41fab ICU-8429 Remove unused import in CharsetICU
X-SVN-Rev: 30065
2011-05-09 17:22:23 +00:00
Michael Ow
2e86fffaca ICU-8006 Update isFixedWidth implementation in ICU4J
X-SVN-Rev: 30053
2011-05-06 21:30:49 +00:00