platform/upstream/libphonenumber.git
10 years agoReverting to pre v5.9 release pom files.
davinci@google.com [Wed, 20 Nov 2013 13:44:22 +0000 (13:44 +0000)]
Reverting to pre v5.9 release pom files.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@637 ee073f10-1060-11df-b6a4-87a95322a99c

10 years ago[maven-release-plugin] prepare for next development iteration
lararennie@google.com [Wed, 20 Nov 2013 06:41:26 +0000 (06:41 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@635 ee073f10-1060-11df-b6a4-87a95322a99c

10 years ago[maven-release-plugin] prepare release libphonenumber-5.9
lararennie@google.com [Wed, 20 Nov 2013 06:26:30 +0000 (06:26 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.9

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@632 ee073f10-1060-11df-b6a4-87a95322a99c

10 years agoReverting to pre v5.9 release pom files.
lararennie@google.com [Wed, 20 Nov 2013 06:22:45 +0000 (06:22 +0000)]
Reverting to pre v5.9 release pom files.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@631 ee073f10-1060-11df-b6a4-87a95322a99c

10 years ago[maven-release-plugin] prepare for next development iteration
lararennie@google.com [Wed, 20 Nov 2013 06:16:40 +0000 (06:16 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@630 ee073f10-1060-11df-b6a4-87a95322a99c

10 years ago[maven-release-plugin] prepare release libphonenumber-5.9
lararennie@google.com [Wed, 20 Nov 2013 06:16:27 +0000 (06:16 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.9

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@628 ee073f10-1060-11df-b6a4-87a95322a99c

10 years ago[maven-release-plugin] prepare for next development iteration
lararennie@google.com [Fri, 15 Nov 2013 04:20:14 +0000 (04:20 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@627 ee073f10-1060-11df-b6a4-87a95322a99c

10 years ago[maven-release-plugin] prepare release libphonenumber-5.9
lararennie@google.com [Fri, 15 Nov 2013 04:19:58 +0000 (04:19 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.9

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@625 ee073f10-1060-11df-b6a4-87a95322a99c

10 years agoFixing pom dependencies
lararennie@google.com [Fri, 15 Nov 2013 04:16:36 +0000 (04:16 +0000)]
Fixing pom dependencies

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@624 ee073f10-1060-11df-b6a4-87a95322a99c

10 years agoJava: Fix to Javadoc comments.
lararennie@google.com [Tue, 12 Nov 2013 14:12:38 +0000 (14:12 +0000)]
Java: Fix to Javadoc comments.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@623 ee073f10-1060-11df-b6a4-87a95322a99c

10 years agoJAVA/JS/CPP: Libphonenumber v5.9, code & metadata changes.
lararennie@google.com [Tue, 12 Nov 2013 11:44:47 +0000 (11:44 +0000)]
JAVA/JS/CPP: Libphonenumber v5.9, code & metadata changes.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@622 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Remove uses of std::{cerr,endl} in production code.
philip.liard@gmail.com [Fri, 18 Oct 2013 09:56:13 +0000 (09:56 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@621 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP v5.8.8: metadata updates, small test & comment fixes.
lararennie@google.com [Thu, 10 Oct 2013 15:44:15 +0000 (15:44 +0000)]
JAVA/JS/CPP v5.8.8: metadata updates, small test & comment fixes.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@620 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJS/C++: Added mobile token support to phone number util
roes@google.com [Tue, 8 Oct 2013 13:09:13 +0000 (13:09 +0000)]
JS/C++: Added mobile token support to phone number util

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@619 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Added method to PhoneNumberUtil API and updated the CarrierMapper API
roes@google.com [Tue, 8 Oct 2013 09:55:52 +0000 (09:55 +0000)]
JAVA: Added method to PhoneNumberUtil API and updated the CarrierMapper API

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@618 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoFixed incorrect date in java/release_notes.txt
roes@google.com [Mon, 7 Oct 2013 13:20:45 +0000 (13:20 +0000)]
Fixed incorrect date in java/release_notes.txt

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@617 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Added the phone number to timezones mapper, including tests, binary generation...
roes@google.com [Mon, 7 Oct 2013 12:27:55 +0000 (12:27 +0000)]
JAVA: Added the phone number to timezones mapper, including tests, binary generation code and data

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@616 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Added carrier mapper including unittests, rules for building the binary data
roes@google.com [Mon, 30 Sep 2013 07:48:38 +0000 (07:48 +0000)]
JAVA: Added carrier mapper including unittests, rules for building the binary data
files and carrier mapping files.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@615 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Update geocoder binary generation code.
roes@google.com [Mon, 23 Sep 2013 14:01:00 +0000 (14:01 +0000)]
JAVA: Update geocoder binary generation code.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@613 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Updated the geocoder
roes@google.com [Mon, 23 Sep 2013 11:31:39 +0000 (11:31 +0000)]
JAVA: Updated the geocoder

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@612 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/CPP: Generating data as to whether a country allows mobile portability or not...
lararennie@google.com [Fri, 20 Sep 2013 15:28:08 +0000 (15:28 +0000)]
JAVA/CPP: Generating data as to whether a country allows mobile portability or not in the metadata.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@611 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Update to geocoder
roes@google.com [Fri, 20 Sep 2013 08:44:19 +0000 (08:44 +0000)]
JAVA: Update to geocoder

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@610 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: updated libphonenumber API
roes@google.com [Thu, 19 Sep 2013 14:59:31 +0000 (14:59 +0000)]
JAVA: updated libphonenumber API

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@609 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Fixing tests affected by metadata update
lararennie@google.com [Thu, 19 Sep 2013 13:46:52 +0000 (13:46 +0000)]
JAVA: Fixing tests affected by metadata update

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@608 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP v5.8.1: metadata updates
lararennie@google.com [Thu, 19 Sep 2013 12:07:02 +0000 (12:07 +0000)]
JAVA/JS/CPP v5.8.1: metadata updates

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@607 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare for next development iteration
lararennie@google.com [Tue, 3 Sep 2013 08:09:05 +0000 (08:09 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@606 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare release libphonenumber-5.8
lararennie@google.com [Tue, 3 Sep 2013 08:08:50 +0000 (08:08 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.8

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@604 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.8. ShortNumberInfo API, metadata updates, small bug...
lararennie@google.com [Mon, 2 Sep 2013 17:02:03 +0000 (17:02 +0000)]
JAVA/JS/CPP: libphonenumber v5.8. ShortNumberInfo API, metadata updates, small bug fixes. See the release notes for more information.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@603 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.7.2, metadata.
lararennie@google.com [Mon, 12 Aug 2013 09:26:00 +0000 (09:26 +0000)]
JAVA/JS/CPP: libphonenumber v5.7.2, metadata.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@602 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoDebian: Changelog edit
lararennie@google.com [Fri, 9 Aug 2013 12:03:46 +0000 (12:03 +0000)]
Debian: Changelog edit

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@601 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP/JAVA: libphonenumber v5.7.1: Changing metadata generation to exclude irrelevant...
lararennie@google.com [Thu, 8 Aug 2013 11:14:29 +0000 (11:14 +0000)]
CPP/JAVA: libphonenumber v5.7.1: Changing metadata generation to exclude irrelevant data.
No change in functionality.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@600 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoFixing issue where default_logger.h conflates LOG and VLOG. Issue reported and origin...
lararennie@google.com [Tue, 6 Aug 2013 13:58:58 +0000 (13:58 +0000)]
Fixing issue where default_logger.h conflates LOG and VLOG. Issue reported and original idea for a fix provided by ben.darnell.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@599 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: libphonenumber v5.7 changes - small improvement to phone number extraction,...
lararennie@google.com [Fri, 19 Jul 2013 16:32:26 +0000 (16:32 +0000)]
CPP: libphonenumber v5.7 changes - small improvement to phone number extraction, updates to metadata after build tool changes.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@598 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare for next development iteration
davinci@google.com [Thu, 18 Jul 2013 07:50:51 +0000 (07:50 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@597 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare release libphonenumber-5.7
davinci@google.com [Thu, 18 Jul 2013 07:50:42 +0000 (07:50 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.7

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@595 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Add support for loading short number metadata
davinci@google.com [Wed, 17 Jul 2013 09:32:28 +0000 (09:32 +0000)]
JAVA: Add support for loading short number metadata

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@594 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoDATA: Minor fix to change MetaData to Metadata for consistency
davinci@google.com [Tue, 16 Jul 2013 11:38:06 +0000 (11:38 +0000)]
DATA: Minor fix to change MetaData to Metadata for consistency

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@593 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoChangelog: Minor fix to debian changelog.
lararennie@google.com [Tue, 16 Jul 2013 10:14:07 +0000 (10:14 +0000)]
Changelog: Minor fix to debian changelog.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@592 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.6.2 metadata updates - alternate format proto binaries.
lararennie@google.com [Tue, 16 Jul 2013 09:51:34 +0000 (09:51 +0000)]
JAVA/JS/CPP: libphonenumber v5.6.2 metadata updates - alternate format proto binaries.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@591 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.6.2 metadata updates.
lararennie@google.com [Tue, 16 Jul 2013 09:49:39 +0000 (09:49 +0000)]
JAVA/JS/CPP: libphonenumber v5.6.2 metadata updates.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@590 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/DATA/TOOLS: Adding some short number metadata separately, and adjusting the...
lararennie@google.com [Fri, 12 Jul 2013 15:09:24 +0000 (15:09 +0000)]
JAVA/DATA/TOOLS: Adding some short number metadata separately, and adjusting the build tools to handle this.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@589 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoPROPS: Ignoring some spurious output in tools/java/cpp-build/target
lararennie@google.com [Fri, 12 Jul 2013 13:09:05 +0000 (13:09 +0000)]
PROPS: Ignoring some spurious output in tools/java/cpp-build/target

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@588 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoDATA: Change "PhoneNumberMetaData" to "PhoneNumberMetadata" throughout for consistency
davinci@google.com [Fri, 12 Jul 2013 08:33:42 +0000 (08:33 +0000)]
DATA: Change "PhoneNumberMetaData" to "PhoneNumberMetadata" throughout for consistency

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@587 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA: Update to testing binary resource file.
lararennie@google.com [Tue, 2 Jul 2013 13:23:11 +0000 (13:23 +0000)]
JAVA: Update to testing binary resource file.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@586 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Fixing crash when AsYouTypeFormatter tries to handle countries with long numbers...
lararennie@google.com [Tue, 2 Jul 2013 13:16:17 +0000 (13:16 +0000)]
CPP: Fixing crash when AsYouTypeFormatter tries to handle countries with long numbers. Patch contributed by Vonage Holdings Corp.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@585 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Fix compilation error on Windows.
philip.liard@gmail.com [Mon, 17 Jun 2013 15:12:24 +0000 (15:12 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@584 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Add suport for thread-safety on Linux and Mac in non-Boost base/.
philip.liard@gmail.com [Mon, 17 Jun 2013 11:53:01 +0000 (11:53 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@583 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare for next development iteration
lararennie@google.com [Mon, 10 Jun 2013 12:00:21 +0000 (12:00 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@582 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare release libphonenumber-5.6
lararennie@google.com [Mon, 10 Jun 2013 12:00:09 +0000 (12:00 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.6

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@580 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.6
lararennie@google.com [Mon, 10 Jun 2013 08:30:23 +0000 (08:30 +0000)]
JAVA/JS/CPP: libphonenumber v5.6

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@579 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoDATA: Update for mobile number patterns for Mali, Fiki, American Samoa, Trinidad...
lararennie@google.com [Wed, 29 May 2013 10:48:09 +0000 (10:48 +0000)]
DATA: Update for mobile number patterns for Mali, Fiki, American Samoa, Trinidad & Tobago, Côte d'Ivoire, Benin, Morocco, Moldova, Kazakhstan, Cambodia, Bahrain, Algeria, Paraguay, Malaysia, India, Tajikistan and Nigeria. Contributed by alexandru.manea.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@578 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare for next development iteration
dbeaumont@google.com [Mon, 13 May 2013 08:50:24 +0000 (08:50 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@577 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare release libphonenumber-5.5
dbeaumont@google.com [Mon, 13 May 2013 08:50:13 +0000 (08:50 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.5

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@575 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/C++/JS: libphonenumber v5.5
dbeaumont@google.com [Wed, 8 May 2013 15:14:06 +0000 (15:14 +0000)]
JAVA/C++/JS: libphonenumber v5.5

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@574 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Fix compilation error on Clang.
philip.liard@gmail.com [Tue, 7 May 2013 13:08:44 +0000 (13:08 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@573 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Make use of alternate format controlled at compile time.
philip.liard@gmail.com [Tue, 7 May 2013 12:59:58 +0000 (12:59 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@572 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Make r570 compile in Chromium.
philip.liard@gmail.com [Fri, 3 May 2013 13:49:35 +0000 (13:49 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@571 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Add base/thread_checker.h.
philip.liard@gmail.com [Thu, 2 May 2013 13:26:39 +0000 (13:26 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@570 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Move base code to i18n::phonenumbers namespace.
philip.liard@gmail.com [Tue, 30 Apr 2013 15:40:46 +0000 (15:40 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@569 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Make libphonenumber depend on its own base/ when it's used in Chromium.
philip.liard@gmail.com [Tue, 30 Apr 2013 12:08:05 +0000 (12:08 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@568 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Move base/ to phonenumbers/.
philip.liard@gmail.com [Tue, 30 Apr 2013 11:35:55 +0000 (11:35 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@567 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Move base/string_piece.* to base/strings/.
philip.liard@gmail.com [Mon, 29 Apr 2013 15:23:32 +0000 (15:23 +0000)]
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

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@566 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJS: Add build.xml to compile and lint the code. Updated README with instructions...
tronikos [Tue, 23 Apr 2013 19:57:54 +0000 (19:57 +0000)]
JS: Add build.xml to compile and lint the code. Updated README with instructions how to compile and use the library. Use demo.js and demo-compiled.js as example. Checking in demo-compiled.html and js to be linked from the project home page.

Review URL: https://codereview.appspot.com/8889044

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@565 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJS: Fix some compiler issues. Add missing ReginoCode.CH in regioncodefortesting.js...
tronikos [Tue, 23 Apr 2013 07:36:38 +0000 (07:36 +0000)]
JS: Fix some compiler issues. Add missing ReginoCode.CH in regioncodefortesting.js. Change visibility of isNumberGeographical to public so that it can be accessed from tests.

Review URL: https://codereview.appspot.com/8649050

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@564 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP:libphonenumber v5.4.2
jia.shao.peng [Fri, 19 Apr 2013 14:24:48 +0000 (14:24 +0000)]
JAVA/JS/CPP:libphonenumber v5.4.2

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@563 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/CPP/JS: libphonenumber 5.4.1
jia.shao.peng [Tue, 26 Mar 2013 10:26:36 +0000 (10:26 +0000)]
JAVA/CPP/JS: libphonenumber 5.4.1

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@562 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJS: Minor style tidy-up.
jia.shao.peng [Fri, 8 Mar 2013 14:51:52 +0000 (14:51 +0000)]
JS: Minor style tidy-up.
Review URL: https://codereview.appspot.com/7637044

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@561 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Fri, 8 Mar 2013 12:23:15 +0000 (12:23 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@560 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare release libphonenumber-5.4
jia.shao.peng [Fri, 8 Mar 2013 12:23:06 +0000 (12:23 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.4

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@558 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agolibphonenumber v5.4 release.
jia.shao.peng [Fri, 8 Mar 2013 12:06:47 +0000 (12:06 +0000)]
libphonenumber v5.4 release.
Review URL: https://codereview.appspot.com/7570043

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@557 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.3.2, metadata updates. Includes geocoding data for... upstream/5.3.2
lararennie@google.com [Tue, 12 Feb 2013 08:43:03 +0000 (08:43 +0000)]
JAVA/JS/CPP: libphonenumber v5.3.2, metadata updates. Includes geocoding data for Belarus, with contributions from g1smd.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@556 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoFixing build of geocoding library by forcing the proto buffer files to be generated.
lararennie@google.com [Fri, 1 Feb 2013 14:51:57 +0000 (14:51 +0000)]
Fixing build of geocoding library by forcing the proto buffer files to be generated.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@555 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agometadata update 5.3.1
davinci@google.com [Mon, 28 Jan 2013 09:12:06 +0000 (09:12 +0000)]
metadata update 5.3.1

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@554 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare for next development iteration
lararennie@google.com [Thu, 10 Jan 2013 09:01:58 +0000 (09:01 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@553 ee073f10-1060-11df-b6a4-87a95322a99c

11 years ago[maven-release-plugin] prepare release libphonenumber-5.3
lararennie@google.com [Thu, 10 Jan 2013 09:01:46 +0000 (09:01 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.3

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@551 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/CPP/JS: libphonenumber v5.3, offlinegeocode v2.4
lararennie@google.com [Wed, 9 Jan 2013 13:00:15 +0000 (13:00 +0000)]
JAVA/CPP/JS: libphonenumber v5.3, offlinegeocode v2.4

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@550 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoCPP: Build a separate library for geocoding.
philip.liard@gmail.com [Thu, 13 Dec 2012 14:33:48 +0000 (14:33 +0000)]
CPP: Build a separate library for geocoding.

Review URL: https://codereview.appspot.com/6820067

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@549 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.2.2, metadata updates. Gabon geocoding data added...
lararennie@google.com [Thu, 6 Dec 2012 13:12:32 +0000 (13:12 +0000)]
JAVA/JS/CPP: libphonenumber v5.2.2, metadata updates. Gabon geocoding data added with help from g1smd.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@548 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoDATA: Update for the GB premium-rate pattern. Contributed by g1smd.
lararennie@google.com [Tue, 27 Nov 2012 12:35:54 +0000 (12:35 +0000)]
DATA: Update for the GB premium-rate pattern. Contributed by g1smd.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@547 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: Small comment change in the as-you-type-formatter. Patch contributed...
lararennie@google.com [Tue, 27 Nov 2012 12:33:53 +0000 (12:33 +0000)]
JAVA/JS/CPP: Small comment change in the as-you-type-formatter. Patch contributed by g1smd.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@546 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJAVA/JS/CPP: libphonenumber v5.2.1, metadata updates.
lararennie@google.com [Tue, 27 Nov 2012 09:23:24 +0000 (09:23 +0000)]
JAVA/JS/CPP: libphonenumber v5.2.1, metadata updates.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@545 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJS: Add a script to run the Closure Compiler.
roubert@google.com [Wed, 14 Nov 2012 18:11:43 +0000 (18:11 +0000)]
JS: Add a script to run the Closure Compiler.
Review URL: https://codereview.appspot.com/6827078

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@544 ee073f10-1060-11df-b6a4-87a95322a99c

11 years agoJS: Fix automatically fixable lint errors.
roubert@google.com [Mon, 12 Nov 2012 15:33:47 +0000 (15:33 +0000)]
JS: Fix automatically fixable lint errors.
Review URL: https://codereview.appspot.com/6813087

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@543 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJS: Change from getNationalPrefixFormattingRule() to getNationalPrefixFormattingRuleO...
roubert@google.com [Wed, 7 Nov 2012 16:00:39 +0000 (16:00 +0000)]
JS: Change from getNationalPrefixFormattingRule() to getNationalPrefixFormattingRuleOrDefault(). This should have been done in r519.
Review URL: https://codereview.appspot.com/6822092

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@542 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJS: Change back from getCountryCode() to getCountryCodeOrDefault().
roubert@google.com [Tue, 6 Nov 2012 20:11:33 +0000 (20:11 +0000)]
JS: Change back from getCountryCode() to getCountryCodeOrDefault().
That change should not have been part of r538.
Review URL: https://codereview.appspot.com/6822087

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@541 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJS: Remove errornous svn:executable property from source code file.
roubert@google.com [Tue, 6 Nov 2012 16:20:27 +0000 (16:20 +0000)]
JS: Remove errornous svn:executable property from source code file.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@540 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJS: Replace hardcoded exception string with proper enum value, as declared.
roubert@google.com [Tue, 6 Nov 2012 16:14:28 +0000 (16:14 +0000)]
JS: Replace hardcoded exception string with proper enum value, as declared.
Review URL: https://codereview.appspot.com/6814093

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@539 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJS: libphonenumber v5.2
roubert@google.com [Tue, 6 Nov 2012 16:04:51 +0000 (16:04 +0000)]
JS: libphonenumber v5.2
Review URL: https://codereview.appspot.com/6821053

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@538 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoCPP: Implement PhoneNumberOfflineGeocoder.
philip.liard@gmail.com [Wed, 31 Oct 2012 13:21:11 +0000 (13:21 +0000)]
CPP: Implement PhoneNumberOfflineGeocoder.

Patch contributed by pmezard.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@537 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoCONFIG: Delete empty debian/changelog entries.
roubert@google.com [Sat, 20 Oct 2012 18:46:07 +0000 (18:46 +0000)]
CONFIG: Delete empty debian/changelog entries.
Review URL: https://codereview.appspot.com/6744049

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@536 ee073f10-1060-11df-b6a4-87a95322a99c

12 years ago[maven-release-plugin] prepare for next development iteration
dbeaumont@google.com [Fri, 12 Oct 2012 16:01:46 +0000 (16:01 +0000)]
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@535 ee073f10-1060-11df-b6a4-87a95322a99c

12 years ago[maven-release-plugin] prepare release libphonenumber-5.2
dbeaumont@google.com [Fri, 12 Oct 2012 16:01:30 +0000 (16:01 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.2

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@533 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJAVA/CPP: Release 5.2. Metadata updates and bug fixes. See release notes for more...
dbeaumont@google.com [Thu, 11 Oct 2012 16:44:08 +0000 (16:44 +0000)]
JAVA/CPP: Release 5.2. Metadata updates and bug fixes. See release notes for more details.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@532 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoCPP: Update CMake rules for Google Test to not require a pre-compiled static
roubert@google.com [Fri, 5 Oct 2012 09:04:05 +0000 (09:04 +0000)]
CPP: Update CMake rules for Google Test to not require a pre-compiled static
library but be able to build the library from source as current practice is.
Review URL: https://codereview.appspot.com/6602047

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@531 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoUpdated README: Current version information for Ubuntu packages.
roubert@google.com [Wed, 3 Oct 2012 16:28:29 +0000 (16:28 +0000)]
Updated README: Current version information for Ubuntu packages.
Review URL: https://codereview.appspot.com/6601046

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@530 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoUpdate build rules to version 5.1 of the library.
roubert@google.com [Thu, 27 Sep 2012 15:47:13 +0000 (15:47 +0000)]
Update build rules to version 5.1 of the library.
Review URL: https://codereview.appspot.com/6572060

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@529 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoCPP: Link generate_geocoding_data_test with pthread.
roubert@google.com [Thu, 27 Sep 2012 14:57:03 +0000 (14:57 +0000)]
CPP: Link generate_geocoding_data_test with pthread.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@528 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJAVA/JS/CPP: Metadata updates (v5.1.4)
lararennie@google.com [Thu, 27 Sep 2012 12:03:47 +0000 (12:03 +0000)]
JAVA/JS/CPP: Metadata updates (v5.1.4)

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@527 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJAVA/JS/CPP: Metadata updates (v5.1.3)
lararennie@google.com [Mon, 17 Sep 2012 08:51:10 +0000 (08:51 +0000)]
JAVA/JS/CPP: Metadata updates (v5.1.3)

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@526 ee073f10-1060-11df-b6a4-87a95322a99c

12 years agoJS: libphonenumber v5.1.2 - AYTF fix
lararennie@google.com [Wed, 12 Sep 2012 08:11:02 +0000 (08:11 +0000)]
JS: libphonenumber v5.1.2 - AYTF fix

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@525 ee073f10-1060-11df-b6a4-87a95322a99c