| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
96293eec3b
|
Be stricter about invalid UTF-8 input (#2698)
Keep track of whether unicode strings were created from valid UTF-8 and use this to abort operations that use these strings later. Typically, this is done by returning an empty string when a modified string is being produced, since an empty string is never a valid phone number. |
4 years ago |
|
|
09b71c10f3 |
CPP: Make r570 compile in Chromium.
This CL ensures that: - All declarations in headers are made in the i18n::phonenumbers namespace. - All USE flags/macros are prefixed with I18N_PHONENUMBERS_ to avoid name clashes. - All the code in base/ is actually used (by deleting unused code). - Outdated occurrences of USE_GOOGLE_BASE don't exist anymore. - Logging in PhoneNumberUtil is disabled by default (in production). However it can be enabled by calling PhoneNumberUtil::SetLogger() as it is now done during testing. BUG=http://crbug.com/236272 R=jia.shao.peng@gmail.com Review URL: https://codereview.appspot.com/9162043 |
13 years ago |
|
|
b59d9080ab | Changing license to Libphonenumber Authors. | 15 years ago |
|
|
1cfd1ab72d | CPP: Move unit tests to the test directory. | 15 years ago |