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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoJS: port Java changes from v4.9 (rev 469) and update metadata
davinci@google.com [Wed, 27 Jun 2012 03:04:23 +0000 (03:04 +0000)]
JS: port Java changes from v4.9 (rev 469) and update metadata

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

12 years ago[maven-release-plugin] prepare for next development iteration
lararennie@google.com [Tue, 26 Jun 2012 07:55:27 +0000 (07:55 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.9
lararennie@google.com [Tue, 26 Jun 2012 07:55:10 +0000 (07:55 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.9

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

12 years agoProvides namespace for PhoneNumberUtil.MatchType and PhoneNumberUtil.ValidationResult.
jia.shao.peng [Mon, 25 Jun 2012 17:15:29 +0000 (17:15 +0000)]
Provides namespace for PhoneNumberUtil.MatchType and PhoneNumberUtil.ValidationResult.
Review URL: http://codereview.appspot.com/6333054

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

12 years agoJava/JS build tools: Adding missing semicolon.
lararennie@google.com [Thu, 21 Jun 2012 17:01:20 +0000 (17:01 +0000)]
Java/JS build tools: Adding missing semicolon.

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

12 years agoJAVA: libphonenumber v4.9. Patch prepared by davinci.
lararennie@google.com [Thu, 21 Jun 2012 16:37:38 +0000 (16:37 +0000)]
JAVA: libphonenumber v4.9. Patch prepared by davinci.

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

12 years agoDATA: Fixing small error in xml schema for LI.
lararennie@google.com [Fri, 15 Jun 2012 09:02:54 +0000 (09:02 +0000)]
DATA: Fixing small error in xml schema for LI.

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

12 years agoJAVA/JS: Metadata changes only (v4.8.5)
lararennie@google.com [Thu, 14 Jun 2012 10:03:56 +0000 (10:03 +0000)]
JAVA/JS: Metadata changes only (v4.8.5)

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

12 years agoDATA: Updated geocoding data for Taiwan in English.
lararennie@google.com [Wed, 13 Jun 2012 14:05:05 +0000 (14:05 +0000)]
DATA: Updated geocoding data for Taiwan in English.

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

12 years agoUpdating link to ISO country codes
lararennie@google.com [Tue, 12 Jun 2012 07:40:37 +0000 (07:40 +0000)]
Updating link to ISO country codes

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

12 years agoJAVA: Metadata changes only (v4.8.4)
davinci@google.com [Wed, 6 Jun 2012 09:15:01 +0000 (09:15 +0000)]
JAVA: Metadata changes only (v4.8.4)

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

12 years agoCPP: Implement AreaCodeMap and DefaultMapStorage.
philip.liard@gmail.com [Fri, 1 Jun 2012 15:33:18 +0000 (15:33 +0000)]
CPP: Implement AreaCodeMap and DefaultMapStorage.

Patch contributed by pmezard.

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

12 years agoCPP: Adjust phonenumbermatch_test.cc integer types.
philip.liard@gmail.com [Fri, 1 Jun 2012 14:36:48 +0000 (14:36 +0000)]
CPP: Adjust phonenumbermatch_test.cc integer types.

This failed with OSX 10.6 default gcc-4.2 and macports gcc-4.8.

Patch contributed by pmezard.

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

12 years agoCPP: Metadata changes only (v4.8.3).
philip.liard@gmail.com [Fri, 1 Jun 2012 12:18:57 +0000 (12:18 +0000)]
CPP: Metadata changes only (v4.8.3).

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

12 years agoJAVA/JS: Metadata changes only (v4.8.3).
lararennie@google.com [Wed, 30 May 2012 07:12:19 +0000 (07:12 +0000)]
JAVA/JS: Metadata changes only (v4.8.3).

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

12 years agoCPP: Fix stringutil_test literal types
philip.liard@gmail.com [Wed, 23 May 2012 09:27:20 +0000 (09:27 +0000)]
CPP: Fix stringutil_test literal types

This failed with OSX 10.6 default gcc-4.2 and macports gcc-4.8.

Patch contributed by pmezard.

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

12 years agoCPP: Make cpplint happy with stringutils.*
philip.liard@gmail.com [Wed, 23 May 2012 09:20:57 +0000 (09:20 +0000)]
CPP: Make cpplint happy with stringutils.*

Patch contributed by pmezard.

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

12 years agoCPP: Fix compilation error with -DUSE_GOOGLE_BASE
philip.liard@gmail.com [Tue, 22 May 2012 11:09:54 +0000 (11:09 +0000)]
CPP: Fix compilation error with -DUSE_GOOGLE_BASE

This removes the Chromium-specific (outdated) Logger interface from
default_logger.h.
The return type of set_logger_impl() differed from the one in logger.h (changed
in r430) which produced a compilation error in phonenumberutil.cc when
set_logger_impl() is used as a right value.

Logger, defined in logger.h is now used in all cases.

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

12 years agoCPP: Metadata changes only (v4.8.2).
philip.liard@gmail.com [Wed, 16 May 2012 14:41:14 +0000 (14:41 +0000)]
CPP: Metadata changes only (v4.8.2).

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

12 years agoJAVA/JS: Metadata changes only (v4.8.2).
lararennie@google.com [Wed, 16 May 2012 12:41:46 +0000 (12:41 +0000)]
JAVA/JS: Metadata changes only (v4.8.2).

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

12 years agoJS: Fix duplicate keys in countryToMetadata map
tronikos@gmail.com [Thu, 10 May 2012 18:57:05 +0000 (18:57 +0000)]
JS: Fix duplicate keys in countryToMetadata map

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

12 years agoCPP: Support ICU versions built without support for std::string.
philip.liard@gmail.com [Thu, 10 May 2012 15:59:25 +0000 (15:59 +0000)]
CPP: Support ICU versions built without support for std::string.

This is the case on Android.

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