Cecilia Roes
300ac447bd
C++: Updated Geocoder documentation and tests
11 years ago
Lara Scheidegger
b5e59c4e80
JAVA/JS/CPP:libphonenumber v7.0 last changes
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
a38b838ced
Remove shortnumberutil -> all C++ clients should now be using shortnumberinfo instead.
11 years ago
Lara Scheidegger
4ce6e4e438
JAVA/JS/CPP: v6.3.1, metadata updates.
11 years ago
Lara Scheidegger
5ff0ea2f0a
JAVA/CPP/JS: v6.3: Geocoding behaviour change, code clean-up, metadata updates.
11 years ago
scottmg
325d7a2306
Avoid unused variable warning when NDEBUG.
Author: scottmg@chromium.org
Review URL: https://codereview.appspot.com/134650043
11 years ago
Fredrik Roubert
d66fa8d928
Copy updated files from lib9/utf from upstream repository.
This also requires updating code that previously took a shortcut and
depended on the Rune and char32 typedefs to be identical (which is no
longer the case, as Rune is now unsigned).
R=jia.shao.peng@gmail.com
BUG=
Review URL: https://codereview.appspot.com/136920043
11 years ago
Daniel Pocock
32d7cfd381
Fix for 32 bit C++ compile error.
With strict error checking, 32 bit compiles on some platforms fail with
the error:
"error: this decimal constant is unsigned only in ISO C90"
This patch fixes the error by adding the "u" unsigned qualifier to the
integers.
Author: daniel@pocock.pro
R=jia.shao.peng@gmail.com
BUG=
Review URL: https://codereview.appspot.com/123610044
11 years ago
Lara Scheidegger
8327c99eba
JAVA/JS/CPP: Metadata updates v6.2.2
11 years ago
Lara Scheidegger
e39655e6ad
CPP/JAVA/JS: Metadata updates - libphonenumber v6.2.1
12 years ago
Lara Scheidegger
fdabe14ad8
CPP v6.2 plus README update
12 years ago
Lara Scheidegger
56fa0bd501
JAVA/JS: v6.2
12 years ago
Lara Scheidegger
ec70728d8a
JAVA/JS/CPP: Metadata updates, v6.1.1
12 years ago
Fredrik Roubert
c9bec15a95
CPP: Add "system" as a Boost component.
This is required with newer Boost (starting with 1.50).
R=daniel@pocock.pro
BUG=
Review URL: https://codereview.appspot.com/100910043
12 years ago
Shaopeng Jia
ebb02ef276
JAVA/CPP: Handle phone number input in RFC3966 with missing "tel:" prefix.
Review URL: https://codereview.appspot.com/96510044
12 years ago
Lara Scheidegger
b1337c7ff1
JAVA/CPP: Better exclusion of dates, change in build error messages.
12 years ago
Lara Scheidegger
d535b204b1
Porting fix for AYTF to C++, small comment updates.
12 years ago
Lara Scheidegger
a201099230
JAVA/JS/CPP: libphonenumber v6.1
12 years ago
Lara Scheidegger
5891032ffb
JAVA/JS/CPP: libphonenumber v6.0
12 years ago
Shaopeng Jia
7656b26c5d
JS/CPP/JAVA: libphonenumber v5.9.4 metadata updates
Review URL: https://codereview.appspot.com/60870046
12 years ago
Lara Scheidegger
1a77a51f31
JS/CPP/JAVA: libphonenumber v5.9.3 metadata updates
12 years ago
Lara Scheidegger
8e10a811a5
JS/CPP/JAVA: libphonenumber v5.9.2 metadata updates
12 years ago
Lara Scheidegger
b0e92be8ba
JS/CPP/JAVA: libphonenumber 5.9.1 metadata updates.
12 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
247088d457
JAVA/JS/CPP v5.8.8: metadata updates, small test & comment fixes.
12 years ago
Cecilia Roes
35a62b36e7
JS/C++: Added mobile token support to phone number util
12 years ago
Lara Scheidegger
b5653dfc3a
JAVA/JS/CPP v5.8.1: metadata updates
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.
12 years ago
Lara Scheidegger
60b0fb76ad
JAVA/JS/CPP: libphonenumber v5.7.2, metadata.
13 years ago
Lara Scheidegger
3b1d5f723e
CPP/JAVA: libphonenumber v5.7.1: Changing metadata generation to exclude irrelevant data.
No change in functionality.
13 years ago
Lara Scheidegger
d7e735969b
Fixing issue where default_logger.h conflates LOG and VLOG. Issue reported and original idea for a fix provided by ben.darnell.
13 years ago
Lara Scheidegger
102e52a58b
CPP: libphonenumber v5.7 changes - small improvement to phone number extraction, updates to metadata after build tool changes.
13 years ago
Lara Scheidegger
3c2a5326e8
JAVA/JS/CPP: libphonenumber v5.6.2 metadata updates.
13 years ago
David Yonge-Mallo
f5a3fd9072
DATA: Change "PhoneNumberMetaData" to "PhoneNumberMetadata" throughout for consistency
13 years ago
Vonage Holdings Corp
4a597371da
CPP: Fixing crash when AsYouTypeFormatter tries to handle countries with long numbers.
13 years ago
Philippe Liard
115b4a1ad0
CPP: Fix compilation error on Windows.
This appears when the library is built in Chromium.
R=lararennie@google.com
Review URL: https://codereview.appspot.com/10286044
13 years ago
Philippe Liard
c2f2752b54
CPP: Add suport for thread-safety on Linux and Mac in non-Boost base/.
This is needed for Chrome on Android which is the only Chrome port that
requires thread-safety.
R=lararennie@google.com
Review URL: https://codereview.appspot.com/10244046
13 years ago
Lara Scheidegger
f086b9a9df
JAVA/JS/CPP: libphonenumber v5.6
13 years ago
David Beaumont
5f74e23bc0
JAVA/C++/JS: libphonenumber v5.5
13 years ago
Philippe Liard
418aa2c056
CPP: Fix compilation error on Clang.
This fixes a compilation error on Clang due to conflicting declarations (struct
vs class) in multiple header files.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9259043
13 years ago
Philippe Liard
b8a13bf0a0
CPP: Make use of alternate format controlled at compile time.
This is needed to use a recent revision of libphonenumber in Chromium without
building with alternate formats.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9215046
13 years ago
Philippe Liard
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
Philippe Liard
d60d343ae9
CPP: Add base/thread_checker.h.
This lets make sure that the library is only called in Chromium from the UI
thread.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9048043
13 years ago
Philippe Liard
98e96f3a8b
CPP: Move base code to i18n::phonenumbers namespace.
This is needed to avoid name clashes when the library is embedded into
Chromium.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9029045
13 years ago
Philippe Liard
9f0d77efd0
CPP: Make libphonenumber depend on its own base/ when it's used in Chromium.
This is done by adding a USE_BOOST compile time flag that is enabled by default
when the library is compiled with CMake (mainly for external users).
In Chromium, the library will be built without the USE_BOOST compile time flag.
Instead the NO_THREAD_SAFETY flag will have to be provided so that the minimal
non-thread-safe subset of base will be used.
This is possible since libphonenumber is only used from the UI thread in
Chromium.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/8859052
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
Philippe Liard
494af85de0
CPP: Move base/string_piece.* to base/strings/.
This change is needed to embed libphonenumber into Chromium past r191206.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9014043
13 years ago
Shaopeng Jia
1adb9b763e
JAVA/JS/CPP:libphonenumber v5.4.2
13 years ago