external/libphonenumber/cpp/test.git
2 months agoJAVA/CPP: Handle phone number input in RFC3966 with missing "tel:" prefix. master
jia.shao.peng@gmail.com [Tue, 20 May 2014 12:33:32 +0000 (12:33 +0000)]
JAVA/CPP: Handle phone number input in RFC3966 with missing "tel:" prefix.
Review URL: https://codereview.appspot.com/96510044

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

2 months agoJAVA/CPP: Better exclusion of dates, change in build error messages.
lararennie@google.com [Tue, 20 May 2014 09:30:10 +0000 (09:30 +0000)]
JAVA/CPP: Better exclusion of dates, change in build error messages.

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

2 months agoPorting fix for AYTF to C++, small comment updates.
lararennie@google.com [Tue, 13 May 2014 08:12:52 +0000 (08:12 +0000)]
Porting fix for AYTF to C++, small comment updates.

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

2 months agoJAVA/JS/CPP: libphonenumber v6.1
lararennie@google.com [Thu, 8 May 2014 12:46:50 +0000 (12:46 +0000)]
JAVA/JS/CPP: libphonenumber v6.1

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

5 months agoJAVA/JS/CPP: libphonenumber v6.0
lararennie@google.com [Wed, 26 Feb 2014 09:18:02 +0000 (09:18 +0000)]
JAVA/JS/CPP: libphonenumber v6.0

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

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

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

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

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

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

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

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

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

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

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

13 months 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/cpp/test@579 ee073f10-1060-11df-b6a4-87a95322a99c

14 months 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/cpp/test@571 ee073f10-1060-11df-b6a4-87a95322a99c

14 months 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/cpp/test@567 ee073f10-1060-11df-b6a4-87a95322a99c

16 months 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/cpp/test@557 ee073f10-1060-11df-b6a4-87a95322a99c

18 months 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/cpp/test@550 ee073f10-1060-11df-b6a4-87a95322a99c

19 months 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/cpp/test@549 ee073f10-1060-11df-b6a4-87a95322a99c

20 months 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/cpp/test@537 ee073f10-1060-11df-b6a4-87a95322a99c

21 months 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/cpp/test@532 ee073f10-1060-11df-b6a4-87a95322a99c

22 months 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/cpp/test@524 ee073f10-1060-11df-b6a4-87a95322a99c

22 months 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/cpp/test@518 ee073f10-1060-11df-b6a4-87a95322a99c

23 months 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/cpp/test@514 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@510 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@509 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@505 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@498 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@487 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@476 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@462 ee073f10-1060-11df-b6a4-87a95322a99c

2 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.

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

2 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/cpp/test@458 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@446 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@439 ee073f10-1060-11df-b6a4-87a95322a99c

2 years agoCPP: libphonenumber 4.6. git-svn
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/cpp/test@430 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@424 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@423 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@410 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@406 ee073f10-1060-11df-b6a4-87a95322a99c

2 years agom
philip.liard@gmail.com [Fri, 2 Dec 2011 08:59:12 +0000 (08:59 +0000)]
m

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

2 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/cpp/test@403 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@402 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@387 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@374 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@368 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@367 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@366 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@356 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@354 ee073f10-1060-11df-b6a4-87a95322a99c

2 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/cpp/test@352 ee073f10-1060-11df-b6a4-87a95322a99c

2 years agoCpp: Move scoped_ptr.h to memory folder. Patch contributed by thestig.
jia.shao.peng [Tue, 30 Aug 2011 13:35:41 +0000 (13:35 +0000)]
Cpp: Move scoped_ptr.h to memory folder. Patch contributed by thestig.

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

2 years agoChanging license to Libphonenumber Authors.
philip.liard@gmail.com [Thu, 18 Aug 2011 11:41:24 +0000 (11:41 +0000)]
Changing license to Libphonenumber Authors.

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

2 years agoCPP: Update PhoneNumberUtil and the generated metadata.
philip.liard@gmail.com [Fri, 12 Aug 2011 07:44:38 +0000 (07:44 +0000)]
CPP: Update PhoneNumberUtil and the generated metadata.

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

2 years agoJAVA,GEODATA: libphonenumber 3.8. Contains some bug-fixes, metadata improvements...
lararennie@google.com [Wed, 10 Aug 2011 10:53:53 +0000 (10:53 +0000)]
JAVA,GEODATA: libphonenumber 3.8. Contains some bug-fixes, metadata improvements and improved phone-number-matcher behaviour. Consult the release notes for more information. Also updating a unit-test in CPP that would now fail with the testing metadata changes.

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

3 years agoCPP: Move unit tests to the test directory.
philip.liard@gmail.com [Fri, 22 Jul 2011 09:54:01 +0000 (09:54 +0000)]
CPP: Move unit tests to the test directory.

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