David Yonge-Mallo
994c913514
In the short number library, check that the number's country calling code matches the region it's being dialed from, when checking whether it's possible or valid, or getting its cost.
11 years ago
David Yonge-Mallo
12a4a3175a
fix NPE in ShortNumberInfo when isPossibleNumber is called on a region with no ShortNumberMetadata
11 years ago
David Yonge-Mallo
902cc6bf4c
Fully quality std::* names.
11 years ago
Lara Scheidegger
ada3e9e73f
CPP/JAVA: Introducing new public APIs in ShortNumberInfo/short_number_info. Deprecating old methods. Also includes a refactoring change introducing a matcher API.
11 years ago
Lara Scheidegger
7123e3365f
JAVA/JS/CPP: Libphonenumber v5.9, code & metadata changes.
12 years ago
Philippe Liard
336fb751c7
CPP: Remove uses of std::{cerr,endl} in production code.
They generated static initializers on Clang/Mac.
This also adds the previously missing <algorithm> include in unicodetext.cc
causing a compilation error on VS2013.
This is a squash of (very slightly modified) patches contributed by thakis@ and
yosin@.
R=roes@google.com
Review URL: https://codereview.appspot.com/14930044
12 years ago
Lara Scheidegger
f5439bb8a4
JAVA/JS/CPP: libphonenumber v5.8. ShortNumberInfo API, metadata updates, small bug fixes. See the release notes for more information.
13 years ago
Philippe Liard
84ffc1d777
CPP: Move base/ to phonenumbers/.
This will be needed to make libphonenumber depend on its own base/ rather than
Chromium's one as it is the case currently.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/8797048
13 years ago
Lara Scheidegger
f410828411
JAVA/CPP/JS: libphonenumber v5.3, offlinegeocode v2.4
13 years ago
David Yonge-Mallo
d2c96cafb4
CPP: port Java changes libphonenumber 4.9
14 years ago