summaryrefslogtreecommitdiffstats
path: root/icu
Commit message (Collapse)AuthorAgeFilesLines
* am d9f8adbf: am cb12fde6: Make Resources preloadable again.Elliott Hughes2009-09-171-18/+20
|\ | | | | | | | | | | | | Merge commit 'd9f8adbfa912c24fb29d2a7e2ce7421a3f96ef82' * commit 'd9f8adbfa912c24fb29d2a7e2ce7421a3f96ef82': Make Resources$DefaultTimeZones preloadable again.
| * Make Resources$DefaultTimeZones preloadable again.Elliott Hughes2009-09-151-18/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://s9/81864 was a premature optimization that stopped the timezone data being loaded in the zygote. So instead of paying the (admittedly large) time and space costs once in the zygote, we now pay them once per application. Revert the problematic parts of that change. Note that this isn't simply a reverse patch: 1. I've changed the comment to make it clear that although this *looks* like idiomatic lazy initialization, it's actually the opposite. A comment to that effect might have prevented this code from being broken. 2. I've left the last two hunks of the original patch stand, because they appear reasonable but unrelated. Bug: 1941311, 1819285.
* | Remove duplicate copies of ICU error translation.Elliott Hughes2009-09-114-97/+26
| | | | | | | | | | For want of an 'extern "C"', we seem to have grown several duplicates of icu4jni_error.
* | Use GetStringRegion/GetStringUTFRegion where appropriate.Elliott Hughes2009-09-103-97/+52
| | | | | | | | | | | | | | | | | | | | | | Note that the changes to DecimalFormatInterface.cpp and RBNFInterface.cpp are just minor tidy-ups, fixing an issue where the early error exit wouldn't call ReleaseStringChars to undo the earlier call to GetStringChars. Also remove a dead function and fix a comment in ExpatParser.cpp. Tested on sapphire-eng. Bug: 1639287
* | Merge change 24402Android (Google) Code Review2009-09-091-27/+17
|\ \ | |/ |/| | | | | * changes: Use GetByteArrayRegion instead of GetByteArrayElements.
| * Use GetByteArrayRegion instead of GetByteArrayElements.Elliott Hughes2009-09-091-27/+17
| | | | | | | | | | | | | | | | I've also cleaned up the two calls to free(3) in ubidi_close; the former had an unnecessary NULL check, and the latter was indented as if it belonged to the if (but didn't). Tested on sapphire-eng.
* | InputStreamReader forgets to convert incomplete multibyte characters at the ↵Urs Grob2009-09-041-11/+4
|/ | | | | | buffer boundary BUG=2033986
* Move LOG_TAG above the includes.Andy McFadden2009-06-041-1/+1
| | | | This avoids a "LOG_TAG redefined" warning from log.h.
* am e406b316: Bug 1844104: Fix buffer overwrite bugs in CharsetEncoderICU and ↵Mihai Preda2009-06-012-12/+47
|\ | | | | | | | | | | | | | | | | CharsetDecoderICU. Merge commit 'e406b316295f07d40679ce2372051c3b2bce5de4' * commit 'e406b316295f07d40679ce2372051c3b2bce5de4': Bug 1844104: Fix buffer overwrite bugs in CharsetEncoderICU and CharsetDecoderICU.
| * Bug 1844104: Fix buffer overwrite bugs in CharsetEncoderICU and ↵Mihai Preda2009-05-262-12/+47
| | | | | | | | | | | | CharsetDecoderICU. And add unit test.
* | Return an Object[][] rather than an Object[].Andy McFadden2009-05-131-1/+1
| |
* | am 08eacd4: am 64b928e: AI 148694: Manually copied from cupcake_dcm CL 1Andy Stadler2009-05-111-0/+4
|\ \ | |/ | | | | | | | | | | Merge commit '08eacd482ca9988b021a9e9e6c8bec573d6e4057' * commit '08eacd482ca9988b021a9e9e6c8bec573d6e4057': AI 148694: Manually copied from cupcake_dcm CL 148669-p9. When resetting the
| * AI 148694: Manually copied from cupcake_dcm CL 148669-p9. When resetting theAndy Stadler2009-05-111-0/+4
| | | | | | | | | | | | | | | | | | mode of the encoder, clear the leftover input & output buffers. This claims to fix buffer overwriting we're seeing during account sync and message download. BUG=1822859 Automated import of CL 148694
* | add comments for the UTF-8 string creation patchHao Feng2009-03-201-1/+2
|/
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-34/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0341-0/+12801
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0341-12787/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-97/+83
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-83/+97
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-132-90/+121
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-102-8/+34
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-3/+3
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-89/+135
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1717-77/+137
|
* Initial ContributionThe Android Open Source Project2008-10-2141-0/+12624