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

12 years agoCPP: Metadata changes only (v4.8.1).
philip.liard@gmail.com [Wed, 9 May 2012 14:08:58 +0000 (14:08 +0000)]
CPP: Metadata changes only (v4.8.1).

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

12 years agoTOOLS: Add missing LD flags in continuous-integration.sh
philip.liard@gmail.com [Wed, 9 May 2012 11:09:53 +0000 (11:09 +0000)]
TOOLS: Add missing LD flags in continuous-integration.sh

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

12 years agoJS: Metadata changes only (v4.8.1).
tronikos@gmail.com [Tue, 8 May 2012 10:16:36 +0000 (10:16 +0000)]
JS: Metadata changes only (v4.8.1).

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

12 years agoJAVA: Metadata changes only (v4.8.1).
lararennie@google.com [Tue, 8 May 2012 09:12:58 +0000 (09:12 +0000)]
JAVA: Metadata changes only (v4.8.1).

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

12 years agoDEMO: Fixing xml file so can run demo locally on appengine.
lararennie@google.com [Tue, 8 May 2012 09:12:00 +0000 (09:12 +0000)]
DEMO: Fixing xml file so can run demo locally on appengine.

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

12 years agoCPP: libphonenumber 4.8.
philip.liard@gmail.com [Fri, 27 Apr 2012 14:36:02 +0000 (14:36 +0000)]
CPP: libphonenumber 4.8.

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Fri, 27 Apr 2012 11:38:56 +0000 (11:38 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.8
jia.shao.peng [Fri, 27 Apr 2012 11:38:40 +0000 (11:38 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.8

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

12 years agoJS: libphonenumber 4.8
tronikos@gmail.com [Wed, 25 Apr 2012 10:11:59 +0000 (10:11 +0000)]
JS: libphonenumber 4.8

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

12 years agoJAVA: Removing user-names from TODO.
lararennie@google.com [Tue, 24 Apr 2012 14:38:21 +0000 (14:38 +0000)]
JAVA: Removing user-names from TODO.

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

12 years agoJAVA: libphonenumber v4.8 More RFC support, metadata updates (including geocoding...
lararennie@google.com [Tue, 24 Apr 2012 14:28:26 +0000 (14:28 +0000)]
JAVA: libphonenumber v4.8 More RFC support, metadata updates (including geocoding), some refactoring.

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

12 years agoCPP: libphonenumber 4.7.
philip.liard@gmail.com [Fri, 13 Apr 2012 10:06:11 +0000 (10:06 +0000)]
CPP: libphonenumber 4.7.

This is mainly a metadata update.

Modified files:
cpp/src/phonenumbers/lite_metadata.cc
cpp/src/phonenumbers/metadata.cc
cpp/src/phonenumbers/phonenumberutil.cc
cpp/test/phonenumbers/phonenumbermatcher_test.cc

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

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

12 years agoJS: libphonenumber 4.7
tronikos@gmail.com [Tue, 27 Mar 2012 18:12:07 +0000 (18:12 +0000)]
JS: libphonenumber 4.7

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

12 years agosvn:ignore generated files and update java-build-1.0-SNAPSHOT-jar-with-dependencies.jar
tronikos@gmail.com [Tue, 27 Mar 2012 12:02:56 +0000 (12:02 +0000)]
svn:ignore generated files and update java-build-1.0-SNAPSHOT-jar-with-dependencies.jar

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

12 years agoJAVA: Remove unused imports.
tronikos@gmail.com [Tue, 27 Mar 2012 11:59:36 +0000 (11:59 +0000)]
JAVA: Remove unused imports.

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Wed, 21 Mar 2012 08:24:08 +0000 (08:24 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.7
jia.shao.peng [Wed, 21 Mar 2012 08:23:57 +0000 (08:23 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.7

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

12 years agoJAVA: Exclude TestMetadataTestCase from test cases.
philip.liard@gmail.com [Mon, 19 Mar 2012 11:46:55 +0000 (11:46 +0000)]
JAVA: Exclude TestMetadataTestCase from test cases.

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

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

12 years agoJAVA: libphonenumber v4.7. Mainly metadata updates.
lararennie@google.com [Fri, 16 Mar 2012 15:59:09 +0000 (15:59 +0000)]
JAVA: libphonenumber v4.7. Mainly metadata updates.

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

12 years agoCPP: libphonenumber 4.6.
philip.liard@gmail.com [Thu, 15 Mar 2012 17:04:03 +0000 (17:04 +0000)]
CPP: libphonenumber 4.6.

Note that the metadata files were not uploaded to appspot because they were too
large. Here is the list of the files affected by this change (generated by
Git):

cpp/src/phonenumbers/lite_metadata.cc
cpp/src/phonenumbers/logger.h
cpp/src/phonenumbers/metadata.cc
cpp/src/phonenumbers/phonenumbermatcher.cc
cpp/src/phonenumbers/phonenumberutil.cc
cpp/src/phonenumbers/phonenumberutil.h
cpp/src/phonenumbers/region_code.h
cpp/src/phonenumbers/stringutil.cc
cpp/src/phonenumbers/stringutil.h
cpp/test/phonenumbers/asyoutypeformatter_test.cc
cpp/test/phonenumbers/phonenumbermatcher_test.cc
cpp/test/phonenumbers/phonenumberutil_test.cc
cpp/test/phonenumbers/stringutil_test.cc

This CL also fixes the issue reported by Aaron about the logger being invoked
before it is initialized.

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

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Thu, 9 Feb 2012 15:33:22 +0000 (15:33 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.6
jia.shao.peng [Thu, 9 Feb 2012 15:33:08 +0000 (15:33 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.6

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

12 years agoJAVA: libphonenumber v4.6. New countries: BQ, CW, SS, metadata updates & bug fixes.
lararennie@google.com [Thu, 9 Feb 2012 15:17:29 +0000 (15:17 +0000)]
JAVA: libphonenumber v4.6. New countries: BQ, CW, SS, metadata updates & bug fixes.

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

12 years agoCPP: Update lite_metadata.cc.
philip.liard@gmail.com [Tue, 7 Feb 2012 17:04:48 +0000 (17:04 +0000)]
CPP: Update lite_metadata.cc.

This file was not up-to-date which made some unit tests fail in Chrome.

Note that the file is not displayed on rietveld since it is too large.

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

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

12 years agoCPP: Fix PhoneNumberMatcher build in Chrome.
philip.liard@gmail.com [Mon, 6 Feb 2012 17:22:44 +0000 (17:22 +0000)]
CPP: Fix PhoneNumberMatcher build in Chrome.

Contributors:
  - leandrogracia@chromium.org
  - georgey@chromium.org

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

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

12 years agoCPP: libphonenumber 4.5
philip.liard@gmail.com [Wed, 1 Feb 2012 21:35:37 +0000 (21:35 +0000)]
CPP: libphonenumber 4.5

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

12 years agoJS: libphonenumber 4.5
tronikos [Fri, 27 Jan 2012 20:10:00 +0000 (20:10 +0000)]
JS: libphonenumber 4.5
Review URL: http://codereview.appspot.com/5574080

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

12 years agoDATA: Fixing AU mobile prefixes. Based on patch contributed by monjiwired. Solves...
lararennie@google.com [Tue, 24 Jan 2012 08:54:30 +0000 (08:54 +0000)]
DATA: Fixing AU mobile prefixes. Based on patch contributed by monjiwired. Solves issue 89.

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

12 years agoStop modifying metadata in formatInOriginalFormat().
jia.shao.peng [Mon, 23 Jan 2012 11:29:43 +0000 (11:29 +0000)]
Stop modifying metadata in formatInOriginalFormat().

Bug: http://code.google.com/p/libphonenumber/issues/detail?id=91
Review URL: http://codereview.appspot.com/5573043

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

12 years agoJava: Fix geocoder to return empty string for Global Networks numbers.
jia.shao.peng [Fri, 20 Jan 2012 16:31:01 +0000 (16:31 +0000)]
Java: Fix geocoder to return empty string for Global Networks numbers.
Review URL: http://codereview.appspot.com/5557071

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Thu, 19 Jan 2012 15:49:21 +0000 (15:49 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.5
jia.shao.peng [Thu, 19 Jan 2012 15:49:10 +0000 (15:49 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.5

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

12 years agoJAVA: libphonenumber 4.5
jia.shao.peng [Thu, 19 Jan 2012 15:41:56 +0000 (15:41 +0000)]
JAVA: libphonenumber 4.5
Review URL: http://codereview.appspot.com/5532089

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Tue, 17 Jan 2012 12:30:46 +0000 (12:30 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.4
jia.shao.peng [Tue, 17 Jan 2012 12:30:33 +0000 (12:30 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.4

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

12 years agoJAVA: libphonenumber v4.4
lararennie@google.com [Fri, 9 Dec 2011 23:02:55 +0000 (23:02 +0000)]
JAVA: libphonenumber v4.4

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

12 years agoCPP: Fix compilation error on Clang. Patch contributed by KushalP.
philip.liard@gmail.com [Thu, 8 Dec 2011 16:25:44 +0000 (16:25 +0000)]
CPP: Fix compilation error on Clang. Patch contributed by KushalP.

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

12 years agoJAVA: Add Maven support for the libphonenumber demo.
philip.liard@gmail.com [Thu, 8 Dec 2011 13:38:07 +0000 (13:38 +0000)]
JAVA: Add Maven support for the libphonenumber demo.

That lets the demo be part of the libphonenumber Maven project thus adds the following benefits:
   - Automatically update the version of the demo and the libphonenumber artifact the demo depends on when performing a release.
   - Let Maven handle the deployment of the demo to AppEngine without any need to install the AppEngine SDK.
   - No need to push the dependency JARs (servlet, apache common fileupload/io) even if they are still here to let you use Ant if you prefer.

Note that this CL depends on CL 5395054.

Review URL: http://codereview.appspot.com/5405041

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

12 years agoCPP: Add Windows instructions to the README file.
philip.liard@gmail.com [Wed, 7 Dec 2011 14:52:33 +0000 (14:52 +0000)]
CPP: Add Windows instructions to the README file.

Review URL: http://codereview.appspot.com/5451062

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

12 years agoCPP: Refactoring PhoneNumberUtil so that global scoped_ptr variables are now hidden...
philip.liard@gmail.com [Fri, 2 Dec 2011 14:44:03 +0000 (14:44 +0000)]
CPP: Refactoring PhoneNumberUtil so that global scoped_ptr variables are now hidden in an internal class. Patch contributed by Lara Rennie.

Review URL: http://codereview.appspot.com/5450068

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

12 years agoCPP: Remove static non-POD variables from RegionCode class. Patch contributed by...
philip.liard@gmail.com [Fri, 2 Dec 2011 10:03:30 +0000 (10:03 +0000)]
CPP: Remove static non-POD variables from RegionCode class. Patch contributed by georgey@chromium.org.

Review URL: http://codereview.appspot.com/5449064

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

12 years agoCPP: Add missing license in cpp/test/phonenumbers/run_tests.cc.
philip.liard@gmail.com [Fri, 2 Dec 2011 08:59:12 +0000 (08:59 +0000)]
CPP: Add missing license in cpp/test/phonenumbers/run_tests.cc.

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

12 years agoCPP: Update README file.
philip.liard@gmail.com [Wed, 30 Nov 2011 10:42:30 +0000 (10:42 +0000)]
CPP: Update README file.

Review URL: http://codereview.appspot.com/5448055

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

12 years agoCPP: libphonenumber 4.3
philip.liard@gmail.com [Tue, 29 Nov 2011 10:48:41 +0000 (10:48 +0000)]
CPP: libphonenumber 4.3

Review URL: http://codereview.appspot.com/5445043

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

12 years agoCPP: Fix logger and asyoutypeformatter unit test to let the latest release build...
philip.liard@gmail.com [Tue, 29 Nov 2011 09:23:58 +0000 (09:23 +0000)]
CPP: Fix logger and asyoutypeformatter unit test to let the latest release build in Chromium.

Patch contributed by georgey@chromium.org.

Review URL: http://codereview.appspot.com/5440052

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Thu, 24 Nov 2011 15:46:02 +0000 (15:46 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.3
jia.shao.peng [Thu, 24 Nov 2011 15:45:53 +0000 (15:45 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.3

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

12 years agoRefactoring PhoneNumberOfflineGeocoder and updating tests and PhoneNumberUtil.
jia.shao.peng [Thu, 24 Nov 2011 15:03:01 +0000 (15:03 +0000)]
Refactoring PhoneNumberOfflineGeocoder and updating tests and PhoneNumberUtil.
Review URL: http://codereview.appspot.com/5435067

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

12 years agoUpdate libphonenumber to v4.3
jia.shao.peng [Thu, 24 Nov 2011 13:47:31 +0000 (13:47 +0000)]
Update libphonenumber to v4.3
Review URL: http://codereview.appspot.com/5434054

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

12 years agoCPP: Update Debian package version number after major version was updated in r369...
philip.liard@gmail.com [Wed, 23 Nov 2011 16:49:00 +0000 (16:49 +0000)]
CPP: Update Debian package version number after major version was updated in r369. Patch contributed by roubert@google.com.

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

12 years agoCPP: Fix CMakeLists to require Boost datetime needed by Boost thread.
philip.liard@gmail.com [Wed, 23 Nov 2011 09:19:28 +0000 (09:19 +0000)]
CPP: Fix CMakeLists to require Boost datetime needed by Boost thread.

This also makes the library link with the Boost static libs on Windows.

Review URL: http://codereview.appspot.com/5430053

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

12 years agoCPP: Fix compilation error in default_logger.h on Visual Studio 2010.
philip.liard@gmail.com [Wed, 23 Nov 2011 08:51:14 +0000 (08:51 +0000)]
CPP: Fix compilation error in default_logger.h on Visual Studio 2010.

Review URL: http://codereview.appspot.com/5436046

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

12 years agoJAVA: Add Maven support for offline phone number geocoder.
philip.liard@gmail.com [Tue, 22 Nov 2011 15:43:10 +0000 (15:43 +0000)]
JAVA: Add Maven support for offline phone number geocoder.

This CL (depending on CL 5376090) adds the Maven support for the offline phone number geocoder.

All the geocoding-related code/data is moved to the new directory java/geocoder.
Additionally a pom.xml file is added to java/ and java/geocoder/.

The pom.xml file located in java/ is the parent pom file which contains the configuration (SCM, developers, encoding...) that applies to both the libphonenumber and geocoder modules.
The libphonenumber and geocoder Maven modules inherit from this parent pom file therefore they don't need to duplicate this configuration.

I also moved build.xml and release_notes.txt back to java/.

BUG=57

Review URL: http://codereview.appspot.com/5395054

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

12 years agoJAVA: Move java code to java/libphonenumber.
philip.liard@gmail.com [Mon, 21 Nov 2011 10:45:37 +0000 (10:45 +0000)]
JAVA: Move java code to java/libphonenumber.

This is required for the incoming Maven refactoring adding a separate geocoder module.

BUG=57

Review URL: http://codereview.appspot.com/5376090

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

12 years agoJS: libphonenumber 4.2.
tronikos [Fri, 18 Nov 2011 10:18:54 +0000 (10:18 +0000)]
JS: libphonenumber 4.2.

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

12 years agoMETADATA: Fixing formatting patterns for Korea to cover all numbers we consider valid.
lararennie@google.com [Thu, 17 Nov 2011 16:42:12 +0000 (16:42 +0000)]
METADATA: Fixing formatting patterns for Korea to cover all numbers we consider valid.

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

12 years agoCPP: libphonenumber 4.2.
philip.liard@gmail.com [Mon, 14 Nov 2011 14:20:32 +0000 (14:20 +0000)]
CPP: libphonenumber 4.2.

Review URL: http://codereview.appspot.com/5372051

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Thu, 10 Nov 2011 14:32:58 +0000 (14:32 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.2
jia.shao.peng [Thu, 10 Nov 2011 14:32:42 +0000 (14:32 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.2

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

12 years agoFixing NPE in getLengthOfNationalDestinationCode reported in issue 73
lararennie@google.com [Thu, 10 Nov 2011 14:02:33 +0000 (14:02 +0000)]
Fixing NPE in getLengthOfNationalDestinationCode reported in issue 73

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

12 years agoJAVA: libphonenumber 4.2. Includes rest of emergency number data, new region SX.
lararennie@google.com [Thu, 10 Nov 2011 13:02:10 +0000 (13:02 +0000)]
JAVA: libphonenumber 4.2. Includes rest of emergency number data, new region SX.

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

12 years agoReset PhoneNumberUtil singleton instance in ShortNumberUtilTest and make JUnit tests...
philip.liard@gmail.com [Fri, 4 Nov 2011 12:02:25 +0000 (12:02 +0000)]
Reset PhoneNumberUtil singleton instance in ShortNumberUtilTest and make JUnit tests never fork in both Ant and Maven.

PhoneNumberUtil.resetInstance() should always be used instead. This omission should not be hidden by unit tests that fork.

That also makes the external version consistent with the internal one in which unit tests don't seem to be executed by default in isolated processes.

Review URL: http://codereview.appspot.com/5341042

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

12 years ago- Fix formatNumberForMobileDialing that is modifying its input PhoneNumber.
tronikos@gmail.com [Fri, 28 Oct 2011 10:09:37 +0000 (10:09 +0000)]
- Fix formatNumberForMobileDialing that is modifying its input PhoneNumber.
- Fix incorect use of string equality.
- Fix testGetEnglishDataPath that is failing under windows.
- Remove unused method and variables.

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

12 years agoJS: libphonenumber 4.1.
tronikos@gmail.com [Mon, 24 Oct 2011 20:06:39 +0000 (20:06 +0000)]
JS: libphonenumber 4.1.

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Thu, 20 Oct 2011 22:09:50 +0000 (22:09 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.1
jia.shao.peng [Thu, 20 Oct 2011 22:09:37 +0000 (22:09 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.1

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

12 years agoTESTDATA: Fixing test-data XML file to follow the DTD, as reported by b72.
lararennie@google.com [Thu, 20 Oct 2011 14:32:25 +0000 (14:32 +0000)]
TESTDATA: Fixing test-data XML file to follow the DTD, as reported by b72.

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

12 years agoJAVA,CPP: libphonenumber 4.1.
philip.liard@gmail.com [Thu, 20 Oct 2011 11:39:14 +0000 (11:39 +0000)]
JAVA,CPP: libphonenumber 4.1.

Review URL: http://codereview.appspot.com/5303049

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

12 years agoJAVA: Release InputStreams after using them.
jia.shao.peng [Wed, 19 Oct 2011 18:38:16 +0000 (18:38 +0000)]
JAVA: Release InputStreams after using them.
Review URL: http://codereview.appspot.com/5263046

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

12 years agoTOOLS: Refactor GenerateAreaCodeData.
philip.liard@gmail.com [Wed, 19 Oct 2011 12:48:09 +0000 (12:48 +0000)]
TOOLS: Refactor GenerateAreaCodeData.

Review URL: http://codereview.appspot.com/5246051

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

12 years agoTOOLS: Change package to com.google.i18n.phonenumbers.
philip.liard@gmail.com [Wed, 19 Oct 2011 11:50:28 +0000 (11:50 +0000)]
TOOLS: Change package to com.google.i18n.phonenumbers.

Review URL: http://codereview.appspot.com/5193044

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

12 years agoCPP: Don't add GCC flags and don't link with pthread on WIN32.
philip.liard@gmail.com [Wed, 19 Oct 2011 08:13:17 +0000 (08:13 +0000)]
CPP: Don't add GCC flags and don't link with pthread on WIN32.

Review URL: http://codereview.appspot.com/5302049

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

12 years agoCPP: Update version number in CMakeLists and Debian changelog
philip.liard@gmail.com [Wed, 12 Oct 2011 14:56:15 +0000 (14:56 +0000)]
CPP: Update version number in CMakeLists and Debian changelog

Review URL: http://codereview.appspot.com/5246059

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

12 years agoCPP: libphonenumber 4.0
philip.liard@gmail.com [Wed, 12 Oct 2011 12:25:09 +0000 (12:25 +0000)]
CPP: libphonenumber 4.0

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

12 years agoCPP: Add number formatting for mobile dialling
philip.liard@gmail.com [Wed, 12 Oct 2011 11:47:24 +0000 (11:47 +0000)]
CPP: Add number formatting for mobile dialling

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

12 years agoCPP: Fix compilation error on 32bit machines.
philip.liard@gmail.com [Wed, 12 Oct 2011 08:11:54 +0000 (08:11 +0000)]
CPP: Fix compilation error on 32bit machines.

BUG=71

Review URL: http://codereview.appspot.com/5252052

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Mon, 10 Oct 2011 09:01:31 +0000 (09:01 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-4.0
jia.shao.peng [Mon, 10 Oct 2011 09:01:10 +0000 (09:01 +0000)]
[maven-release-plugin] prepare release libphonenumber-4.0

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

12 years agoJAVA,GEODATA: libphonenumber 4.0.
lararennie@google.com [Thu, 6 Oct 2011 12:56:47 +0000 (12:56 +0000)]
JAVA,GEODATA: libphonenumber 4.0.

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

12 years agoGEODATA: Add new files and English translations.
philip.liard@gmail.com [Mon, 3 Oct 2011 11:21:27 +0000 (11:21 +0000)]
GEODATA: Add new files and English translations.

Changes for AO, AR, AT, BJ, BR, CD, CG, CI, CL, CN, CV, DE, ES, FR, GR, GW, HU, KM, MR, MZ, NL, PL, PT, SE, ST, SZ.

Review URL: http://codereview.appspot.com/5150044

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

12 years agoCPP: Update version number in CMakeLists and changelog. Patch contributed by roubert.
jia.shao.peng [Tue, 27 Sep 2011 08:05:44 +0000 (08:05 +0000)]
CPP: Update version number in CMakeLists and changelog. Patch contributed by roubert.

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

12 years agoJAVA: Fix a small threading issue with PhoneNumberUtil.java
jia.shao.peng [Tue, 27 Sep 2011 07:56:21 +0000 (07:56 +0000)]
JAVA: Fix a small threading issue with PhoneNumberUtil.java
Review URL: http://codereview.appspot.com/5129044

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

12 years agoTOOLS: Add Appengine support to the geodata combination tool.
philip.liard@gmail.com [Thu, 22 Sep 2011 13:41:59 +0000 (13:41 +0000)]
TOOLS: Add Appengine support to the geodata combination tool.

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

12 years agoTOOLS: Add Servlet for Geodata combination tool.
philip.liard@gmail.com [Thu, 22 Sep 2011 11:02:13 +0000 (11:02 +0000)]
TOOLS: Add Servlet for Geodata combination tool.

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

12 years agoCPP: Add phonenumbermatcher.
philip.liard@gmail.com [Wed, 21 Sep 2011 17:43:54 +0000 (17:43 +0000)]
CPP: Add phonenumbermatcher.

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

12 years agoJS: libphonenumber 3.9
tronikos@gmail.com [Tue, 20 Sep 2011 08:43:52 +0000 (08:43 +0000)]
JS: libphonenumber 3.9

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

12 years agoCPP: libphonenumber 3.9.
philip.liard@gmail.com [Fri, 16 Sep 2011 10:22:04 +0000 (10:22 +0000)]
CPP: libphonenumber 3.9.

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

12 years agoJAVA: Fix NullPointerException in PhoneNumberOfflineGeocoder.
philip.liard@gmail.com [Wed, 14 Sep 2011 15:07:06 +0000 (15:07 +0000)]
JAVA: Fix NullPointerException in PhoneNumberOfflineGeocoder.

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

12 years agoCPP: Add AsYouTypeFormatter (port from Java).
philip.liard@gmail.com [Wed, 14 Sep 2011 10:42:59 +0000 (10:42 +0000)]
CPP: Add AsYouTypeFormatter (port from Java).

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

12 years ago[maven-release-plugin] prepare for next development iteration
jia.shao.peng [Tue, 13 Sep 2011 15:32:52 +0000 (15:32 +0000)]
[maven-release-plugin] prepare for next development iteration

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

12 years ago[maven-release-plugin] prepare release libphonenumber-3.9
jia.shao.peng [Tue, 13 Sep 2011 15:32:36 +0000 (15:32 +0000)]
[maven-release-plugin] prepare release libphonenumber-3.9

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

12 years agoJAVA,GEODATA: libphonenumber 3.9.
philip.liard@gmail.com [Tue, 13 Sep 2011 10:41:17 +0000 (10:41 +0000)]
JAVA,GEODATA: libphonenumber 3.9.

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

12 years agoGEODATA: Update Zambia binary file.
philip.liard@gmail.com [Fri, 9 Sep 2011 14:35:58 +0000 (14:35 +0000)]
GEODATA: Update Zambia binary file.

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

12 years agoGEODATA: Update Zambia data. Contributed by g1smd.
philip.liard@gmail.com [Fri, 9 Sep 2011 14:33:26 +0000 (14:33 +0000)]
GEODATA: Update Zambia data. Contributed by g1smd.

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

12 years agoGEODATA: Fix invalid location in Germany geocoding data.
philip.liard@gmail.com [Thu, 8 Sep 2011 09:21:44 +0000 (09:21 +0000)]
GEODATA: Fix invalid location in Germany geocoding data.

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