platform/upstream/libphonenumber.git
10 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

10 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoJava/CPP: libphonenumber v5.1.2 - AYTF fix for numbers in national format in countrie...
lararennie@google.com [Wed, 12 Sep 2012 08:09:05 +0000 (08:09 +0000)]
Java/CPP: libphonenumber v5.1.2 - AYTF fix for numbers in national format in countries with no national prefix.

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

11 years agoJS: Fix complaints from jsLint. Review URL: http://codereview.appspot.com/6503088
jia.shao.peng [Fri, 7 Sep 2012 14:18:23 +0000 (14:18 +0000)]
JS: Fix complaints from jsLint. Review URL: codereview.appspot.com/6503088

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

11 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Fri, 7 Sep 2012 12:29:45 +0000 (12:29 +0000)]
[maven-release-plugin] prepare for next development iteration

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

11 years ago[maven-release-plugin] prepare release libphonenumber-5.1
jia.shao.peng [Fri, 7 Sep 2012 12:29:28 +0000 (12:29 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.1

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

11 years agoJS: libphonenumber v5.1
lararennie@google.com [Fri, 7 Sep 2012 10:24:41 +0000 (10:24 +0000)]
JS: libphonenumber v5.1

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

11 years agoCPP: libphonenumber v5.1
lararennie@google.com [Thu, 6 Sep 2012 09:48:57 +0000 (09:48 +0000)]
CPP: libphonenumber v5.1

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

11 years agoJAVA: Better exception handling during metadata loading.
dbeaumont@google.com [Wed, 5 Sep 2012 16:02:01 +0000 (16:02 +0000)]
JAVA: Better exception handling during metadata loading.

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

11 years agoJAVA: libphonenumber 5.1: AYTF changes and metadata updates.
lararennie@google.com [Tue, 4 Sep 2012 08:44:20 +0000 (08:44 +0000)]
JAVA: libphonenumber 5.1: AYTF changes and metadata updates.

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

11 years agoJAVA/JS/CPP: Metadata updates (v5.0.3)
lararennie@google.com [Mon, 20 Aug 2012 10:16:41 +0000 (10:16 +0000)]
JAVA/JS/CPP: Metadata updates (v5.0.3)

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

11 years agoCPP: use new geocoding data in AreaCodeMap. Patch contributed by pmezard.
jia.shao.peng [Tue, 7 Aug 2012 15:14:43 +0000 (15:14 +0000)]
CPP: use new geocoding data in AreaCodeMap. Patch contributed by pmezard.

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

11 years agoJAVA/JS/CPP: Metadata updates (v5.0.2)
lararennie@google.com [Tue, 7 Aug 2012 14:16:34 +0000 (14:16 +0000)]
JAVA/JS/CPP: Metadata updates (v5.0.2)

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

11 years agoModified SVN ignore property in '.', cpp/ & cpp/src/phonenumbers/ to ignore various...
dbeaumont@google.com [Mon, 30 Jul 2012 16:25:20 +0000 (16:25 +0000)]
Modified SVN ignore property in '.', cpp/ & cpp/src/phonenumbers/ to ignore various auto-generated files

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

11 years agoDATA: Metadata and geocoding update (v5.0.1)
dbeaumont@google.com [Thu, 26 Jul 2012 13:16:23 +0000 (13:16 +0000)]
DATA: Metadata and geocoding update (v5.0.1)

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

11 years agoCPP: Fix geocoding data parser.
philip.liard@gmail.com [Wed, 25 Jul 2012 13:09:03 +0000 (13:09 +0000)]
CPP: Fix geocoding data parser.

Patch contributed by pmezard.

The "end" iterator must stay on the trailing LF, for it is not included in the
line characters sequence. Also fix the test which should have failed.

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

11 years agoCPP: Ported alternate phone number format support.
dbeaumont@google.com [Tue, 24 Jul 2012 14:09:14 +0000 (14:09 +0000)]
CPP: Ported alternate phone number format support.

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

11 years agoModified cmake rules to generate alternate format metadata files.
dbeaumont@google.com [Fri, 20 Jul 2012 14:30:44 +0000 (14:30 +0000)]
Modified cmake rules to generate alternate format metadata files.

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

11 years agochanges to allow for generation of alternate format metadata
dbeaumont@google.com [Fri, 20 Jul 2012 14:21:29 +0000 (14:21 +0000)]
changes to allow for generation of alternate format metadata

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

11 years agoUpdated README: Added trouble shooting instructions for library issues and improved...
dbeaumont@google.com [Thu, 19 Jul 2012 13:31:07 +0000 (13:31 +0000)]
Updated README: Added trouble shooting instructions for library issues and improved ICU installation instructions

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

11 years agoCPP: Implement MappingFileProvider.
philip.liard@gmail.com [Thu, 19 Jul 2012 12:49:04 +0000 (12:49 +0000)]
CPP: Implement MappingFileProvider.

Patch contributed by pmezard.

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

11 years agoCPP: libphonenumberv5.0 metadata changes
philip.liard@gmail.com [Thu, 19 Jul 2012 10:21:05 +0000 (10:21 +0000)]
CPP: libphonenumberv5.0 metadata changes

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

11 years agoDATA: Updated file format to unix for IE geocoding info.
lararennie@google.com [Thu, 19 Jul 2012 09:44:48 +0000 (09:44 +0000)]
DATA: Updated file format to unix for IE geocoding info.

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

11 years agoJS: libphonenumberv5.0 metadata changes
lararennie@google.com [Thu, 19 Jul 2012 09:37:33 +0000 (09:37 +0000)]
JS: libphonenumberv5.0 metadata changes

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

11 years agoDATA: Geocoding data for Ireland. Patch contributed by alecmcturk.
lararennie@google.com [Wed, 18 Jul 2012 15:38:19 +0000 (15:38 +0000)]
DATA: Geocoding data for Ireland. Patch contributed by alecmcturk.

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

11 years agoDATA: Correctly updated metadata file for version 5.0 (only affects generated code)
dbeaumont@google.com [Wed, 18 Jul 2012 14:48:06 +0000 (14:48 +0000)]
DATA: Correctly updated metadata file for version 5.0 (only affects generated code)

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

11 years agoJS: libphonenumber v5.0 code changes, some metadata clean-up after v4.9.1
lararennie@google.com [Wed, 18 Jul 2012 12:32:54 +0000 (12:32 +0000)]
JS: libphonenumber v5.0 code changes, some metadata clean-up after v4.9.1

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

11 years agoCPP: Test geocoding data.
philip.liard@gmail.com [Mon, 16 Jul 2012 15:40:14 +0000 (15:40 +0000)]
CPP: Test geocoding data.

Patch contributed by pmezard.

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

11 years agoCPP: Metadata changes only (v5.0).
philip.liard@gmail.com [Mon, 16 Jul 2012 15:40:03 +0000 (15:40 +0000)]
CPP: Metadata changes only (v5.0).

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

11 years ago[maven-release-plugin] prepare for next development iteration
dbeaumont@google.com [Thu, 12 Jul 2012 15:44:40 +0000 (15:44 +0000)]
[maven-release-plugin] prepare for next development iteration

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

11 years ago[maven-release-plugin] prepare release libphonenumber-5.0
dbeaumont@google.com [Thu, 12 Jul 2012 15:44:26 +0000 (15:44 +0000)]
[maven-release-plugin] prepare release libphonenumber-5.0

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

11 years agoCONFIG: Ignore Eclipse project files.
dbeaumont@google.com [Thu, 12 Jul 2012 15:34:29 +0000 (15:34 +0000)]
CONFIG: Ignore Eclipse project files.

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

11 years agoCONFIG: Changing version to 5.0-SNAPSHOT in pom.xml; libphonenumber v5.0
dbeaumont@google.com [Thu, 12 Jul 2012 15:25:50 +0000 (15:25 +0000)]
CONFIG: Changing version to 5.0-SNAPSHOT in pom.xml; libphonenumber v5.0

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

11 years agoJAVA: Metadata changes and bug fixes; libphonenumber v5.0
dbeaumont@google.com [Thu, 12 Jul 2012 13:14:13 +0000 (13:14 +0000)]
JAVA: Metadata changes and bug fixes; libphonenumber v5.0

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

11 years agoTOOLS: Add unit test for ReplaceAll().
philip.liard@gmail.com [Mon, 9 Jul 2012 16:58:49 +0000 (16:58 +0000)]
TOOLS: Add unit test for ReplaceAll().

Patch contributed by pmezard.

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

11 years agoJAVA/JS: Metadata updates (v4.9.1)
davinci@google.com [Fri, 6 Jul 2012 13:06:22 +0000 (13:06 +0000)]
JAVA/JS: Metadata updates (v4.9.1)
Review URL: https://codereview.appspot.com/6349078VA/JS: Metadata updates (v4.9.1)

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

11 years agoTOOLS: Port changes for alternate formats.
roubert@google.com [Thu, 5 Jul 2012 09:16:43 +0000 (09:16 +0000)]
TOOLS: Port changes for alternate formats.
Review URL: https://codereview.appspot.com/6350083

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

11 years agoCPP: port Java changes libphonenumber 4.9
davinci@google.com [Wed, 4 Jul 2012 13:52:11 +0000 (13:52 +0000)]
CPP: port Java changes libphonenumber 4.9

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

11 years agoJAVA/METADATA: Port MetadataManager and data files to open source.
roubert@google.com [Wed, 4 Jul 2012 10:08:41 +0000 (10:08 +0000)]
JAVA/METADATA: Port MetadataManager and data files to open source.
Review URL: https://codereview.appspot.com/6345053

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

11 years agoTOOLS: Update to use refactored BuildMetadataProtoFromXml tool.
roubert@google.com [Tue, 3 Jul 2012 16:31:41 +0000 (16:31 +0000)]
TOOLS: Update to use refactored BuildMetadataProtoFromXml tool.
Review URL: https://codereview.appspot.com/6353060

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

11 years agoTOOLS: Refactor the BuildMetadataProtoFromXml tool to:
roubert@google.com [Tue, 3 Jul 2012 16:31:34 +0000 (16:31 +0000)]
TOOLS: Refactor the BuildMetadataProtoFromXml tool to:

- Make command line parameters named instead of positional.

- Move all information about paths, names, etc., from being hardcoded into the
  tool itself to command line parameters, so that new files in the future can
  be generated by just adding build rules for them without having to update the
  tool.

- Not hard-code class or package names, but get them from the Class object.

- Break code generation up into smaller parts, to make it easier to extend the
  code generation and share code while generating different classes.

- Update BuildMetadataFromXml to not output empty region codes.

- Generate either a Map or a Set, depending on whether the mapping table
  actually contains any data or not.

All files generated by the tool remain identical to before this change.
Review URL: https://codereview.appspot.com/6343066

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

11 years agoJAVA build: Changing the build file to make it more obvious when tests fail and print...
lararennie@google.com [Mon, 2 Jul 2012 12:28:02 +0000 (12:28 +0000)]
JAVA build: Changing the build file to make it more obvious when tests fail and print a message.

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

11 years agoJAVA: Adding new range 0117 4 for GB (Bristol) that will soon come into service....
lararennie@google.com [Mon, 2 Jul 2012 09:53:06 +0000 (09:53 +0000)]
JAVA: Adding new range 0117 4 for GB (Bristol) that will soon come into service. Patch contributed by g1smd.

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

11 years agoTOOLS: Update to use the new version of the BuildMetadataProtoFromXml that can also...
roubert@google.com [Fri, 29 Jun 2012 15:27:49 +0000 (15:27 +0000)]
TOOLS: Update to use the new version of the BuildMetadataProtoFromXml that can also build data files for alternate formats.
Review URL: https://codereview.appspot.com/6351054

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

11 years agoTOOLS: Update the BuildMetadataProtoFromXml tool to build data files for alternate...
roubert@google.com [Fri, 29 Jun 2012 15:18:38 +0000 (15:18 +0000)]
TOOLS: Update the BuildMetadataProtoFromXml tool to build data files for alternate formats as well.
Review URL: https://codereview.appspot.com/6355051

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

11 years agoCPP: Comment fix, including small fix to sample code.
lararennie@google.com [Fri, 29 Jun 2012 14:25:30 +0000 (14:25 +0000)]
CPP: Comment fix, including small fix to sample code.

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

11 years agoJAVA: Add a build target that runs a specified unit test
roubert@google.com [Fri, 29 Jun 2012 13:11:52 +0000 (13:11 +0000)]
JAVA: Add a build target that runs a specified unit test

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

11 years agoCPP: Remove unused bit_cast() in basictypes.h.
philip.liard@gmail.com [Thu, 28 Jun 2012 09:51:00 +0000 (09:51 +0000)]
CPP: Remove unused bit_cast() in basictypes.h.

This was also causing a compilation error with GCC 4.8.

This CL also removes basictypes.h.orig accidentally added in the previous
revision.

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

11 years agoCPP: Add geocoding data generator.
philip.liard@gmail.com [Wed, 27 Jun 2012 12:38:08 +0000 (12:38 +0000)]
CPP: Add geocoding data generator.

Patch contributed by pmezard.

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

11 years agoCPP: Metadata changes only (v4.8.5)
philip.liard@gmail.com [Wed, 27 Jun 2012 12:27:27 +0000 (12:27 +0000)]
CPP: Metadata changes only (v4.8.5)

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