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
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
Shaopeng Jia
b1427e012a
JAVA/CPP/JS: libphonenumber 5.4.1
13 years ago
Shaopeng Jia
3765924e20
libphonenumber v5.4 release.
Review URL: https://codereview.appspot.com/7570043
13 years ago
Lara Scheidegger
457ff7a599
JAVA/JS/CPP: libphonenumber v5.3.2, metadata updates. Includes geocoding data for Belarus, with contributions from g1smd.
13 years ago
David Yonge-Mallo
7a2255ae16
metadata update 5.3.1
13 years ago
Lara Scheidegger
f410828411
JAVA/CPP/JS: libphonenumber v5.3, offlinegeocode v2.4
13 years ago
Lara Scheidegger
e050a7f928
JAVA/JS/CPP: libphonenumber v5.2.2, metadata updates. Gabon geocoding data added with help from g1smd.
13 years ago
Lara Scheidegger
a8d2ba916a
DATA: Update for the GB premium-rate pattern. Contributed by g1smd.
13 years ago
g1smd
cdcd180af0
JAVA/JS/CPP: Small comment change in the as-you-type-formatter.
13 years ago
Lara Scheidegger
e5594c3f93
JAVA/JS/CPP: libphonenumber v5.2.1, metadata updates.
13 years ago
Philippe Liard
7f40b02808
CPP: Implement PhoneNumberOfflineGeocoder.
13 years ago
David Beaumont
18d6eae899
JAVA/CPP: Release 5.2. Metadata updates and bug fixes. See release notes for more details.
13 years ago
Lara Scheidegger
2483f68616
JAVA/JS/CPP: Metadata updates (v5.1.4)
13 years ago
Lara Scheidegger
3d249582bd
JAVA/JS/CPP: Metadata updates (v5.1.3)
13 years ago
Lara Scheidegger
af2b6b190a
Java/CPP: libphonenumber v5.1.2 - AYTF fix for numbers in national format in countries with no national prefix.
13 years ago
Lara Scheidegger
7ae82adb15
CPP: libphonenumber v5.1
13 years ago
Lara Scheidegger
b0aabe0fb8
JAVA/JS/CPP: Metadata updates (v5.0.3)
14 years ago
Patrick Mézard
2699d37d34
CPP: use new geocoding data in AreaCodeMap.
14 years ago
Lara Scheidegger
917ab2a251
JAVA/JS/CPP: Metadata updates (v5.0.2)
14 years ago
David Beaumont
30d94303b5
DATA: Metadata and geocoding update (v5.0.1)
14 years ago
David Beaumont
6a2ac124fd
CPP: Ported alternate phone number format support.
14 years ago
Philippe Liard
e930086b33
CPP: Implement MappingFileProvider.
14 years ago
Philippe Liard
f7c8eeebab
CPP: libphonenumberv5.0 metadata changes
14 years ago
Philippe Liard
ee01700f4a
CPP: Metadata changes only (v5.0).
14 years ago
David Yonge-Mallo
d2c96cafb4
CPP: port Java changes libphonenumber 4.9
14 years ago
Lara Scheidegger
79ebb6beba
CPP: Comment fix, including small fix to sample code.
14 years ago