platform/upstream/libphonenumber.git
8 years ago[maven-release-plugin] prepare release libphonenumber-7.0.6 upstream upstream/7.0.6
Andy Staudacher [Mon, 1 Jun 2015 13:45:13 +0000 (15:45 +0200)]
[maven-release-plugin] prepare release libphonenumber-7.0.6

8 years agoMetadata updates for release 7.0.6
Andy Staudacher [Fri, 29 May 2015 12:43:00 +0000 (14:43 +0200)]
Metadata updates for release 7.0.6

8 years agoMetadata update for the swedish 079 mobile number series.
Sebastian Ström [Wed, 20 May 2015 16:10:09 +0000 (18:10 +0200)]
Metadata update for the swedish 079 mobile number series.

8 years agofix the return in the finally block
Mihaela Rosca [Fri, 15 May 2015 16:07:11 +0000 (18:07 +0200)]
fix the return in the finally block

8 years agofaster regexp processing
nirberman [Wed, 13 May 2015 18:50:56 +0000 (21:50 +0300)]
faster regexp processing

8 years agoAdding new Israeli prefix (055-87) which belong to Alon cellular (YouPhone).
nirberman [Tue, 12 May 2015 08:39:11 +0000 (11:39 +0300)]
Adding new Israeli prefix (055-87) which belong to Alon cellular (YouPhone).

8 years agoAlon cellular (YouPhone) has a new prefix: 9725587
nirberman [Sun, 10 May 2015 14:37:56 +0000 (17:37 +0300)]
Alon cellular (YouPhone) has a new prefix: 9725587

8 years agoUpdate README.md
hagbard [Tue, 28 Apr 2015 19:26:20 +0000 (21:26 +0200)]
Update README.md

8 years agoMerge ID change in release notes.
hagbard [Tue, 28 Apr 2015 15:32:55 +0000 (17:32 +0200)]
Merge ID change in release notes.

8 years ago[maven-release-plugin] prepare for next development iteration
David Beaumont [Tue, 28 Apr 2015 14:15:16 +0000 (16:15 +0200)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-7.0.5
David Beaumont [Tue, 28 Apr 2015 14:14:38 +0000 (16:14 +0200)]
[maven-release-plugin] prepare release libphonenumber-7.0.5

8 years agoMetadata updates for release 7.0.5
David Beaumont [Tue, 28 Apr 2015 12:40:12 +0000 (14:40 +0200)]
Metadata updates for release 7.0.5

8 years agoMetadata updates for release 7.0.5
Brendan Marry [Thu, 23 Apr 2015 13:03:30 +0000 (15:03 +0200)]
Metadata updates for release 7.0.5

8 years agoExclude more non-local numbers from geocoding in Finland
Anssi Hannula [Fri, 5 Dec 2014 16:56:27 +0000 (18:56 +0200)]
Exclude more non-local numbers from geocoding in Finland

Per http://www.viestintavirasto.fi/attachments/maaraykset/Regulation_32.pdf
(official numbering plan), in Finland (+358):

- 020*: Nationwide service and subscriber numbers
- 029*: Nationwide subscriber numbers
- 030*: Nationwide service and subscriber numbers
- 039*: Nationwide subscriber numbers
- 060*: Nationwide service numbers
- 0800*: Nationwide toll-free service numbers

"Nationwide" numbers are non-geographic as per Chapter 2 Section 6.

The local subscriber numbers starting with 02,03,06,08,09 have 1..8 as
their third number.

However, libphonenumber assigns 02*, 03*, 06* and 08* to specific
locations in their entirety, causing e.g. some nationwide service numbers
to be incorrectly geocoded. 09* is also geocoded in its entirety, even
though 090* and 099* are reserved and may get later assigned to
nationwide numbers like in the other number series.

Instead of using catch-all geocoding for 02,03,06,08,09, add the actually
local subscriber telephone number allocations 0X[1-8] separately.

8 years agoUpdate asyoutypeformatter_test.js
hagbard [Wed, 1 Apr 2015 13:50:34 +0000 (15:50 +0200)]
Update asyoutypeformatter_test.js

8 years agoUpdate asyoutypeformatter_test.js
hagbard [Wed, 1 Apr 2015 13:43:04 +0000 (15:43 +0200)]
Update asyoutypeformatter_test.js

8 years agobetter comment
David Beaumont [Mon, 30 Mar 2015 18:13:46 +0000 (20:13 +0200)]
better comment

8 years agobetter comment
David Beaumont [Mon, 30 Mar 2015 18:10:18 +0000 (20:10 +0200)]
better comment

8 years agodisabled test
David Beaumont [Mon, 30 Mar 2015 15:17:05 +0000 (17:17 +0200)]
disabled test

8 years agoUpdate README.md
roes [Wed, 25 Mar 2015 13:00:02 +0000 (14:00 +0100)]
Update README.md

8 years ago[maven-release-plugin] prepare for next development iteration
Cecilia Roes [Wed, 25 Mar 2015 12:42:03 +0000 (13:42 +0100)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-7.0.4
Cecilia Roes [Wed, 25 Mar 2015 12:41:30 +0000 (13:41 +0100)]
[maven-release-plugin] prepare release libphonenumber-7.0.4

8 years agoJAVA/CPP/JS: v7.0.4 metadata updates
Cecilia Roes [Wed, 25 Mar 2015 11:02:13 +0000 (12:02 +0100)]
JAVA/CPP/JS: v7.0.4 metadata updates

8 years agofix English names of Chinese cities
tgic [Wed, 18 Mar 2015 15:34:27 +0000 (23:34 +0800)]
fix English names of Chinese cities

8 years ago8617* number info update
tgic [Tue, 17 Mar 2015 07:11:07 +0000 (15:11 +0800)]
8617* number info update

8 years ago:s/Javascript/JavaScript/
Tom Ayre [Thu, 12 Mar 2015 17:04:18 +0000 (13:04 -0400)]
:s/Javascript/JavaScript/

8 years agoTest scripts pass in release builds too
David Hotham [Fri, 6 Mar 2015 14:15:55 +0000 (14:15 +0000)]
Test scripts pass in release builds too

8 years agoUpdate README.md
hagbard [Fri, 6 Mar 2015 13:56:15 +0000 (14:56 +0100)]
Update README.md

8 years agoadding test command to README
David Beaumont [Fri, 6 Mar 2015 12:53:07 +0000 (13:53 +0100)]
adding test command to README

8 years agofix notes
David Beaumont [Wed, 4 Mar 2015 21:23:03 +0000 (22:23 +0100)]
fix notes

8 years agoMetadata updates for release 7.0.4
David Beaumont [Wed, 4 Mar 2015 21:17:26 +0000 (22:17 +0100)]
Metadata updates for release 7.0.4

8 years agoRevert "RPM packaging"
David Beaumont [Wed, 4 Mar 2015 17:25:17 +0000 (18:25 +0100)]
Revert "RPM packaging"

This reverts commit df876cedb52454f6212f39513c4d5fe7eacdf71e.

This commit broke internal builds with the error message:
----
CMake Error at CMakeLists.txt:422 (target_link_libraries):
  Cannot specify link libraries for target "phonenumber" which is not built
  by this project.
----

8 years agoUpdate README.md
hagbard [Wed, 4 Mar 2015 12:55:17 +0000 (13:55 +0100)]
Update README.md

8 years agoMetadata update v7.0.3
David Beaumont [Mon, 2 Mar 2015 11:30:36 +0000 (12:30 +0100)]
Metadata update v7.0.3

8 years agorevert timezones map_data copyright year
David Yonge-Mallo [Mon, 23 Feb 2015 12:04:59 +0000 (13:04 +0100)]
revert timezones map_data copyright year

8 years agoupdate timezones/map_data.txt to more recent data
David Yonge-Mallo [Fri, 20 Feb 2015 11:33:06 +0000 (12:33 +0100)]
update timezones/map_data.txt to more recent data

8 years agoTrailing slashes and fixing Vcs-Git to point to https://github.com/googlei18n/libphon...
Mihaela Rosca [Thu, 19 Feb 2015 14:14:04 +0000 (15:14 +0100)]
Trailing slashes and fixing Vcs-Git to point to https://github.com/googlei18n/libphonenumber.git

8 years agoreplace the link in the debian/copyright file to reflect the migration to github
Mihaela Rosca [Thu, 19 Feb 2015 13:58:34 +0000 (14:58 +0100)]
replace the link in the debian/copyright file to reflect the migration to github

8 years agoUpdated the control debian file with the github links
Mihaela Rosca [Thu, 19 Feb 2015 13:56:54 +0000 (14:56 +0100)]
Updated the control debian file with the github links

8 years agoIn Belarus, add Beltelcom's Maxiphone range (+375 24 9xxxxxx) as VOIP. Issue #594.
David Yonge-Mallo [Thu, 19 Feb 2015 12:45:00 +0000 (13:45 +0100)]
In Belarus, add Beltelcom's Maxiphone range (+375 24 9xxxxxx) as VOIP. Issue #594.

8 years agoUpdate debian/watch URL to point to new GitHub project.
Fredrik Roubert [Thu, 19 Feb 2015 11:12:00 +0000 (12:12 +0100)]
Update debian/watch URL to point to new GitHub project.

The old libphonenumber/libphonenumber has been abandoned in favour of
the new googlei18n/libphonenumber project.

8 years agoupdate code.google.com links to github in the maven pom.xml files.
David Yonge-Mallo [Thu, 19 Feb 2015 10:00:50 +0000 (11:00 +0100)]
update code.google.com links to github in the maven pom.xml files.

8 years agoupdate code.google.com links to github in the demo jsp and html.
David Yonge-Mallo [Thu, 19 Feb 2015 09:48:46 +0000 (10:48 +0100)]
update code.google.com links to github in the demo jsp and html.

8 years agoupdate link in codereview.settings from code.google.com to github.
David Yonge-Mallo [Thu, 19 Feb 2015 09:19:49 +0000 (10:19 +0100)]
update link in codereview.settings from code.google.com to github.

8 years agoRPM packaging
David Hotham [Sun, 14 Dec 2014 14:27:12 +0000 (14:27 +0000)]
RPM packaging

8 years agoClean compile with CMAKE_BUILD_TYPE=RELEASE
David Hotham [Sun, 14 Dec 2014 13:47:23 +0000 (13:47 +0000)]
Clean compile with CMAKE_BUILD_TYPE=RELEASE

8 years agoupdate libphonenumber issue links from Google Code to github
David Yonge-Mallo [Wed, 18 Feb 2015 18:05:17 +0000 (19:05 +0100)]
update libphonenumber issue links from Google Code to github

8 years agoAdd comment
Andy Staudacher [Wed, 18 Feb 2015 11:34:59 +0000 (12:34 +0100)]
Add comment
Follow up from change 49c2427, copying the comment from the Java implementation to the C++ impl.

8 years agofix incorrect timezone for +44
David Yonge-Mallo [Wed, 18 Feb 2015 10:06:02 +0000 (11:06 +0100)]
fix incorrect timezone for +44

8 years agoFix bug in AsYouTypeFormatter where we hit a IndexOutOfBoundsException in its Java...
Andy Staudacher [Wed, 18 Feb 2015 10:04:10 +0000 (11:04 +0100)]
Fix bug in AsYouTypeFormatter where we hit a IndexOutOfBoundsException in its Java implementation when extracting the Chinese national prefix 17951 and didn't reset the format template / lastMatchPosition.

Includes corresponding changes for C++ and JavaScript as well to keep the implementations in sync. (C++ and JS didn't exhibit buggy behavior because the corresponding substring methods don't throw errors for invalid start positions.)

Bugfix for https://github.com/googlei18n/libphonenumber/issues/592

8 years agoRegenerate the demo-compiled.js
Andy Staudacher [Tue, 10 Feb 2015 11:34:41 +0000 (12:34 +0100)]
Regenerate the demo-compiled.js

8 years agoUpdate instructions to reflect that the JavaScript ant 'compile' target is broken...
Andy Staudacher [Tue, 10 Feb 2015 11:33:37 +0000 (12:33 +0100)]
Update instructions to reflect that the JavaScript ant 'compile' target is broken right now (and 'compile-demo' should be used instead)

8 years agoUpdate generated .pb.js files with proper generated proto2 descriptor APIs
Andy Staudacher [Tue, 10 Feb 2015 11:32:28 +0000 (12:32 +0100)]
Update generated .pb.js files with proper generated proto2 descriptor APIs

8 years agoFix demo.html's closure base.js path to no longer use the now defunct googlecode...
Andy Staudacher [Tue, 10 Feb 2015 11:23:59 +0000 (12:23 +0100)]
Fix demo.html's closure base.js path to no longer use the now defunct googlecode.com URL.

8 years agoReplace Québec => Quebec
Ivo Anjo [Mon, 9 Feb 2015 12:20:14 +0000 (12:20 +0000)]
Replace Québec => Quebec

The geocoding file for English had both Quebec and Québec for the canadian
state and city. "Québec" is the French spelling, while "Quebec" is the correct
English spelling.

8 years agoFix Portuguese timezones
Ivo Anjo [Fri, 6 Feb 2015 11:44:21 +0000 (11:44 +0000)]
Fix Portuguese timezones

The 351 prefix is allocated to Portugal, which has three timezones [1]:
Europe/Lisbon, Atlantic/Azores and Atlantic/Madeira

Continental Portugal uses Europe/Lisbon for the whole territory, whereas the
prefix 351291 belongs to Funchal (referenced in the geocoding tables), which is
on the Madeira island and thus uses Atlantic/Madeira.

[1]: https://www.iana.org/time-zones

8 years ago[maven-release-plugin] prepare for next development iteration
Cecilia Roes [Mon, 19 Jan 2015 11:46:36 +0000 (12:46 +0100)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-7.0.2
Cecilia Roes [Mon, 19 Jan 2015 11:46:30 +0000 (12:46 +0100)]
[maven-release-plugin] prepare release libphonenumber-7.0.2

8 years agoFully quality std::* names.
David Yonge-Mallo [Fri, 16 Jan 2015 11:05:56 +0000 (12:05 +0100)]
Fully quality std::* names.

8 years agoConfigure pom.xml for Github
Cecilia Roes [Thu, 15 Jan 2015 17:35:03 +0000 (18:35 +0100)]
Configure pom.xml for Github

8 years agominor clean-up: remove some unused variables, add using and @Override annotations.
David Yonge-Mallo [Fri, 9 Jan 2015 18:12:22 +0000 (19:12 +0100)]
minor clean-up: remove some unused variables, add using and @Override annotations.

8 years agoJAVA/JS/CPP: v7.0.2 metadata updates.
Cecilia Roes [Fri, 9 Jan 2015 11:08:49 +0000 (12:08 +0100)]
JAVA/JS/CPP: v7.0.2 metadata updates.

8 years agoClean compile 32-bit builds
David Hotham [Sun, 14 Dec 2014 14:27:03 +0000 (14:27 +0000)]
Clean compile 32-bit builds

8 years agoAdd missing header files to install
David Hotham [Sun, 14 Dec 2014 13:24:02 +0000 (13:24 +0000)]
Add missing header files to install

8 years agofix handling broken unicode character hang
Jeffrey Crowell [Mon, 8 Dec 2014 15:46:21 +0000 (10:46 -0500)]
fix handling broken unicode character hang

fix from pagespeed change https://code.google.com/p/modpagespeed/source/detail?r=4389

8 years agoAdd README
Mihaela Rosca [Fri, 5 Dec 2014 12:12:27 +0000 (13:12 +0100)]
Add README

8 years agoReworking the Linux parts of the doc to be simpler and only give advice
David Beaumont [Fri, 28 Nov 2014 15:49:34 +0000 (15:49 +0000)]
Reworking the Linux parts of the doc to be simpler and only give advice
that can be followed easily (the re2 stuff with Mercurial was removed
because it's a rat-hole and currently needs a manual patch to the sources
which is not something that this document should be trying to describe.

8 years agoJAVA/JS: Documentation fix and added missing licences.
Cecilia Roes [Thu, 27 Nov 2014 10:12:02 +0000 (10:12 +0000)]
JAVA/JS: Documentation fix and added missing licences.

8 years ago[maven-release-plugin] prepare for next development iteration
Cecilia Roes [Wed, 26 Nov 2014 10:19:19 +0000 (10:19 +0000)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-7.0.1
Cecilia Roes [Wed, 26 Nov 2014 10:19:12 +0000 (10:19 +0000)]
[maven-release-plugin] prepare release libphonenumber-7.0.1

8 years agoJAVA/JS/CPP: v7.0.1 metadata updates.
Cecilia Roes [Tue, 25 Nov 2014 12:40:45 +0000 (12:40 +0000)]
JAVA/JS/CPP: v7.0.1 metadata updates.

8 years agoAdding missing license information for the new matcher API files.
David Beaumont [Mon, 24 Nov 2014 13:06:11 +0000 (13:06 +0000)]
Adding missing license information for the new matcher API files.

8 years agoCPP: Fix build issue
Cecilia Roes [Fri, 14 Nov 2014 11:54:11 +0000 (11:54 +0000)]
CPP: Fix build issue

8 years agoC++: Updated Geocoder documentation and tests
Cecilia Roes [Wed, 5 Nov 2014 12:52:13 +0000 (12:52 +0000)]
C++: Updated Geocoder documentation and tests

8 years agoJS: Minor changes to types to make compiler happier.
Lara Scheidegger [Fri, 31 Oct 2014 13:05:29 +0000 (13:05 +0000)]
JS: Minor changes to types to make compiler happier.

8 years ago[maven-release-plugin] prepare for next development iteration
Lara Scheidegger [Thu, 30 Oct 2014 15:39:28 +0000 (15:39 +0000)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-7.0
Lara Scheidegger [Thu, 30 Oct 2014 15:39:10 +0000 (15:39 +0000)]
[maven-release-plugin] prepare release libphonenumber-7.0

8 years agoReverting to pre v7.0 release pom files.
Lara Scheidegger [Thu, 30 Oct 2014 15:04:07 +0000 (15:04 +0000)]
Reverting to pre v7.0 release pom files.

8 years ago[maven-release-plugin] prepare for next development iteration
Lara Scheidegger [Thu, 30 Oct 2014 14:45:31 +0000 (14:45 +0000)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-7.0
Lara Scheidegger [Thu, 30 Oct 2014 14:45:13 +0000 (14:45 +0000)]
[maven-release-plugin] prepare release libphonenumber-7.0

8 years agoPreparing for release 7.0
Lara Scheidegger [Thu, 30 Oct 2014 14:00:54 +0000 (14:00 +0000)]
Preparing for release 7.0

8 years agoJAVA/JS/CPP:libphonenumber v7.0 last changes
Lara Scheidegger [Thu, 30 Oct 2014 12:36:18 +0000 (12:36 +0000)]
JAVA/JS/CPP:libphonenumber v7.0 last changes

8 years agoCPP/JAVA: Introducing new public APIs in ShortNumberInfo/short_number_info. Deprecati...
Lara Scheidegger [Thu, 23 Oct 2014 11:34:31 +0000 (11:34 +0000)]
CPP/JAVA: Introducing new public APIs in ShortNumberInfo/short_number_info. Deprecating old methods. Also includes a refactoring change introducing a matcher API.

8 years agoRemove shortnumberutil -> all C++ clients should now be using shortnumberinfo instead.
Lara Scheidegger [Thu, 23 Oct 2014 11:23:34 +0000 (11:23 +0000)]
Remove shortnumberutil -> all C++ clients should now be using shortnumberinfo instead.

8 years ago[maven-release-plugin] prepare for next development iteration
Lara Scheidegger [Wed, 15 Oct 2014 07:49:04 +0000 (07:49 +0000)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-6.3.1
Lara Scheidegger [Wed, 15 Oct 2014 07:48:44 +0000 (07:48 +0000)]
[maven-release-plugin] prepare release libphonenumber-6.3.1

8 years agoUpdating maven to 6.3.1 for new release
Lara Scheidegger [Wed, 15 Oct 2014 07:44:01 +0000 (07:44 +0000)]
Updating maven to 6.3.1 for new release

8 years agoJAVA/JS/CPP: v6.3.1, metadata updates.
Lara Scheidegger [Tue, 14 Oct 2014 09:49:46 +0000 (09:49 +0000)]
JAVA/JS/CPP: v6.3.1, metadata updates.

8 years ago[maven-release-plugin] prepare for next development iteration
Lara Scheidegger [Thu, 25 Sep 2014 12:38:08 +0000 (12:38 +0000)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release libphonenumber-6.3
Lara Scheidegger [Thu, 25 Sep 2014 12:37:49 +0000 (12:37 +0000)]
[maven-release-plugin] prepare release libphonenumber-6.3

8 years agoUpdating snapshot version for next maven release
Lara Scheidegger [Thu, 25 Sep 2014 12:19:08 +0000 (12:19 +0000)]
Updating snapshot version for next maven release

8 years agoJAVA/CPP/JS: v6.3: Geocoding behaviour change, code clean-up, metadata updates.
Lara Scheidegger [Thu, 25 Sep 2014 12:05:46 +0000 (12:05 +0000)]
JAVA/CPP/JS: v6.3: Geocoding behaviour change, code clean-up, metadata updates.

8 years agoJava: remove obsolete code that treated numbers where we had no metadata as valid.
Lara Scheidegger [Mon, 22 Sep 2014 10:19:28 +0000 (10:19 +0000)]
Java: remove obsolete code that treated numbers where we had no metadata as valid.

8 years agoChanging the offline geocoder to not return any country at all if the number could...
Lara Scheidegger [Thu, 11 Sep 2014 13:11:28 +0000 (13:11 +0000)]
Changing the offline geocoder to not return any country at all if the number could belong to multiple countries.

8 years agoAvoid unused variable warning when NDEBUG.
scottmg [Tue, 9 Sep 2014 17:28:45 +0000 (17:28 +0000)]
Avoid unused variable warning when NDEBUG.

Author: scottmg@chromium.org
Review URL: https://codereview.appspot.com/134650043

8 years agoCopy updated files from lib9/utf from upstream repository.
Fredrik Roubert [Thu, 28 Aug 2014 14:50:22 +0000 (14:50 +0000)]
Copy updated files from lib9/utf from upstream repository.

This also requires updating code that previously took a shortcut and
depended on the Rune and char32 typedefs to be identical (which is no
longer the case, as Rune is now unsigned).

R=jia.shao.peng@gmail.com
BUG=

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

8 years agoAdd Main-Class for cpp-build tools JAR.
Daniel Pocock [Wed, 27 Aug 2014 19:13:52 +0000 (19:13 +0000)]
Add Main-Class for cpp-build tools JAR.

- Adds the manifest entries to the basic tools JAR.

- Creates a symlink named like the dependencies JAR that was used
  previously.

- Creates a symlink to the protobuf JAR.

In the manifest, the classpath reference to the protobuf JAR is a
relative filename. The second symbolic link satisfies that by linking to
the installed JAR.

This is only needed for people building packages

People who build normally with Maven will find that "mvn package" still
produces the original tools JAR which has its own Main-Class attribute

Author: daniel@pocock.pro

8 years agoTry to remote parent element during Debian build.
Daniel Pocock [Wed, 27 Aug 2014 19:13:39 +0000 (19:13 +0000)]
Try to remote parent element during Debian build.

This patch will try to remove the <parent/> stuff from java/pom.xml
during the Debian package build.

Author: daniel@pocock.pro

8 years ago[maven-release-plugin] prepare for next development iteration
Lara Scheidegger [Wed, 27 Aug 2014 09:59:10 +0000 (09:59 +0000)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release libphonenumber-6.2.2 upstream/6.2.2
lararennie@google.com [Wed, 27 Aug 2014 09:58:55 +0000 (09:58 +0000)]
[maven-release-plugin] prepare release libphonenumber-6.2.2

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