summaryrefslogtreecommitdiff
path: root/android/PhoneticStringUtilsTest.cpp
AgeCommit message (Collapse)Author
2013-02-05Fix contacts index labels for i18nJay Shrauner
Switch ContactsProvider to using ICU for generation of index labels, and remove custom KO and JA code. Add i18n test cases. Bug:7351596 Change-Id: I7ac25add8b29ff2c6c395f04a83b279b541e4125
2010-11-15Update to new Unicode.h includesKenny Root
Change-Id: Ibb9ca5833f9c0b3313ff0e9bc70348d268aaf4e2
2010-03-17Remove getPhoneticallySortableString() and its SQLite variant, both of which ↵Daisuke Miyakawa
are now obsolete because we already have icu's collator. Remain getNormalizedString() but remove SQLite variant since the C function is used internally. Change-Id: If1e4b8388087b78e0f6418ac3c7be4c23f67ee0e
2009-09-01Avoid a buffer overrun in GET_NORMALIZED_STRING.Jeff Hamilton
This custom SQL function uses a fixed buffer of 128 characters and would overrun the buffer if passed a longer src string. Also, fix another problem with the function where it was using the incorrect value for next_codepoint. It was reading from the destination array not the source array. Bug: 2089658
2009-07-10Oops! I was totally misunderstanding what was going wrong!!Daisuke Miyakawa
Changed -1 to 0.
2009-07-10Make sim-ang not corrupt when building PhoneticUtilsTest.cppDaisuke Miyakawa
You can double-check by doing this: > make libsqlite3_phone_number_utils_test However, I'm doubting the current breakage is caused not only this but also another something. I'll stay tuned.
2009-07-09quick fixDaisuke Miyakawa
2009-07-09Make PhoneticStringUtils use functions in String8 instead of using locally ↵Daisuke Miyakawa
developped functions. This change depends on https://android-git.corp.google.com/g/Gerrit#change,5510 Internal bug id: 1707173
2009-05-18Hand merge from cupcake_dcm from donut, part 1.Daisuke Miyakawa
Add SQL functions "GET_PHONETICALLY_SORTABLE_STRING()" and "GET_NORMALIZED_STRING()" and its tests.
2009-03-27AI 143231: am: CL 143056 Fix PhoneticStringUtils so that it ignores ↵Daisuke Miyakawa
whitespaces correctly. Original author: dmiyakawa Merged from: //branches/cupcake/... Automated import of CL 143231
2009-03-13auto import from //branches/cupcake_rel/...@138607The Android Open Source Project