Browse Source

Update URL for libphonenumber on GitHub. (#2362)

pull/2369/head
penmetsaa 6 years ago
committed by GitHub
parent
commit
c4cd5e0321
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 62 additions and 62 deletions
  1. +2
    -2
      CONTRIBUTING.md
  2. +23
    -23
      FAQ.md
  3. +9
    -9
      README.md
  4. +1
    -1
      codereview.settings
  5. +1
    -1
      cpp/README
  6. +2
    -2
      cpp/test/phonenumbers/asyoutypeformatter_test.cc
  7. +1
    -1
      debian/control
  8. +1
    -1
      debian/copyright
  9. +1
    -1
      debian/watch
  10. +1
    -1
      java/carrier/pom.xml
  11. +1
    -1
      java/demo/pom.xml
  12. +1
    -1
      java/demo/src/com/google/phonenumbers/PhoneNumberParserServlet.java
  13. +1
    -1
      java/demo/war/phonenumberparser.jsp
  14. +1
    -1
      java/geocoder/pom.xml
  15. +1
    -1
      java/internal/prefixmapper/pom.xml
  16. +1
    -1
      java/libphonenumber/pom.xml
  17. +2
    -2
      java/libphonenumber/test/com/google/i18n/phonenumbers/AsYouTypeFormatterTest.java
  18. +3
    -3
      java/pom.xml
  19. +1
    -1
      javascript/README.md
  20. +2
    -2
      javascript/i18n/phonenumbers/asyoutypeformatter_test.js
  21. +1
    -1
      making-metadata-changes.md
  22. +1
    -1
      release_notes.txt
  23. +1
    -1
      resources/timezones/README.md
  24. +1
    -1
      run-java-demo.md
  25. +1
    -1
      tools/java/common/src/com/google/i18n/phonenumbers/MetadataFilter.java
  26. +1
    -1
      tools/java/data/webapp/index.html

+ 2
- 2
CONTRIBUTING.md View File

@ -15,7 +15,7 @@ Please check the following:
* Your issue may be resolved by upgrading to the latest version of the * Your issue may be resolved by upgrading to the latest version of the
library. (Reach out to the product/app team if you're not the developer!) library. (Reach out to the product/app team if you're not the developer!)
* If you are using a * If you are using a
[port](http://github.com/googlei18n/libphonenumber#third-party-ports),
[port](http://github.com/google/libphonenumber#third-party-ports),
issues should be reported against that project. issues should be reported against that project.
* If you are using the library through a front-end or wrapper, issues * If you are using the library through a front-end or wrapper, issues
should be reported against that project. should be reported against that project.
@ -68,7 +68,7 @@ sign a Corporate or Individual CLA.
**By signing the CLA, you confirm that you have the rights to share the **By signing the CLA, you confirm that you have the rights to share the
information with us, and that we may use, modify, reproduce, publicly display, information with us, and that we may use, modify, reproduce, publicly display,
and distribute the information in accordance with the library's [open source and distribute the information in accordance with the library's [open source
license](http://github.com/googlei18n/libphonenumber/blob/master/LICENSE).**
license](http://github.com/google/libphonenumber/blob/master/LICENSE).**
* [Corporate CLA](http://developers.google.com/open-source/cla/corporate?csw=1): * [Corporate CLA](http://developers.google.com/open-source/cla/corporate?csw=1):
* See https://cla.developers.google.com/about and follow the instructions. * See https://cla.developers.google.com/about and follow the instructions.


+ 23
- 23
FAQ.md View File

@ -26,7 +26,7 @@ doesn't aim to verify whether the string is *only* a phone number.
If the input looks like a vanity number to the library, `parse()` assumes this If the input looks like a vanity number to the library, `parse()` assumes this
is intentional and converts alpha characters to digits. Please read the is intentional and converts alpha characters to digits. Please read the
documentation for `PhoneNumber parse(String, String)` in documentation for `PhoneNumber parse(String, String)` in
[PhoneNumberUtil](http://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java)
[PhoneNumberUtil](http://github.com/google/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java)
for details. Also see `Iterable<PhoneNumberMatch> findNumbers(CharSequence, for details. Also see `Iterable<PhoneNumberMatch> findNumbers(CharSequence,
String)`. String)`.
@ -46,10 +46,10 @@ Some examples:
Other examples, in reports: Other examples, in reports:
* [#328](http://github.com/googlei18n/libphonenumber/issues/328)
* [#1001](http://github.com/googlei18n/libphonenumber/issues/1001)
* [#1199](http://github.com/googlei18n/libphonenumber/issues/1199)
* [#1813](http://github.com/googlei18n/libphonenumber/issues/1813)
* [#328](http://github.com/google/libphonenumber/issues/328)
* [#1001](http://github.com/google/libphonenumber/issues/1001)
* [#1199](http://github.com/google/libphonenumber/issues/1199)
* [#1813](http://github.com/google/libphonenumber/issues/1813)
### Why wasn't the national prefix removed when parsing? ### Why wasn't the national prefix removed when parsing?
@ -88,7 +88,7 @@ gives `5417540000` for the national number.
You can try [the demo](http://libphonenumber.appspot.com/) for more regions. You can try [the demo](http://libphonenumber.appspot.com/) for more regions.
Also see `internationalPrefix` in Also see `internationalPrefix` in
[`resources/PhoneNumberMetadata.xml`](http://github.com/googlei18n/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml).
[`resources/PhoneNumberMetadata.xml`](http://github.com/google/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml).
## Validation and types of numbers ## Validation and types of numbers
@ -96,14 +96,14 @@ Also see `internationalPrefix` in
To understand the behavior of functions, please refer to the documentation in To understand the behavior of functions, please refer to the documentation in
the Javadoc/C++ header files. For example, see `isPossibleNumberWithReason` in the Javadoc/C++ header files. For example, see `isPossibleNumberWithReason` in
[`PhoneNumberUtil`](https://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java).
[`PhoneNumberUtil`](https://github.com/google/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java).
### Why does PhoneNumberUtil return false for valid short numbers? ### Why does PhoneNumberUtil return false for valid short numbers?
Short numbers are out of scope of Short numbers are out of scope of
[`PhoneNumberUtil`](https://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java).
[`PhoneNumberUtil`](https://github.com/google/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java).
For short numbers, use For short numbers, use
[`ShortNumberInfo`](https://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/ShortNumberInfo.java).
[`ShortNumberInfo`](https://github.com/google/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/ShortNumberInfo.java).
### What does it mean for a phone number to be valid? ### What does it mean for a phone number to be valid?
@ -180,7 +180,7 @@ way.
### What is mobile number portability? ### What is mobile number portability?
The ability to keep your mobile phone number when changing carriers. To see whether a region supports mobile number portability use [isMobileNumberPortableRegion](https://github.com/googlei18n/libphonenumber/blob/58247207903f917839001bc62525a5b48a475b7e/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L3524).
The ability to keep your mobile phone number when changing carriers. To see whether a region supports mobile number portability use [isMobileNumberPortableRegion](https://github.com/google/libphonenumber/blob/58247207903f917839001bc62525a5b48a475b7e/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L3524).
### Since it's possible to change the carrier for a phone number, how is the data kept up-to-date? ### Since it's possible to change the carrier for a phone number, how is the data kept up-to-date?
@ -281,7 +281,7 @@ optional in local circumstances, but this is shifting to become mandatory
in areas that have had more area code splits. However, the usage of in areas that have had more area code splits. However, the usage of
parentheses persists and both methods are acceptable. parentheses persists and both methods are acceptable.
See [issue #1996](https://github.com/googlei18n/libphonenumber/issues/1996)
See [issue #1996](https://github.com/google/libphonenumber/issues/1996)
for some additional discussion. for some additional discussion.
### Why does formatNumberForMobileDialing return an empty string for my number? ### Why does formatNumberForMobileDialing return an empty string for my number?
@ -458,20 +458,20 @@ Set the compiler flag `USE_METADATA_LITE` to `ON` using ccmake or similar.
The metadata binary files can be generated using the ant build rules The metadata binary files can be generated using the ant build rules
`build-phone-metadata` and `build-short-metadata` with `lite-build` set to `build-phone-metadata` and `build-short-metadata` with `lite-build` set to
`true`. This can be set in the [build `true`. This can be set in the [build
file](https://github.com/googlei18n/libphonenumber/blob/master/java/build.xml)
file](https://github.com/google/libphonenumber/blob/master/java/build.xml)
itself. itself.
### Which versions of the Maven jars should I use? ### Which versions of the Maven jars should I use?
When possible, use the [latest When possible, use the [latest
version](https://github.com/googlei18n/libphonenumber/releases) of
version](https://github.com/google/libphonenumber/releases) of
libphonenumber. libphonenumber.
For the other Maven artifacts, to find the version corresponding to a given For the other Maven artifacts, to find the version corresponding to a given
version of libphonenumber, follow these steps: version of libphonenumber, follow these steps:
* Go to the versioned GitHub tag, e.g. * Go to the versioned GitHub tag, e.g.
https://github.com/googlei18n/libphonenumber/find/v8.3.3
https://github.com/google/libphonenumber/find/v8.3.3
* Type `pom.xml`. This will surface all the `pom.xml` files as they were * Type `pom.xml`. This will surface all the `pom.xml` files as they were
released at the chosen tag. released at the chosen tag.
* Find the version you care about in the corresponding `pom.xml` file. Look * Find the version you care about in the corresponding `pom.xml` file. Look
@ -496,14 +496,14 @@ loading resources in the main thread is the suggested best practice at the
[Android developer [Android developer
guide](http://developer.android.com/guide/components/processes-and-threads.html), guide](http://developer.android.com/guide/components/processes-and-threads.html),
and will prevent the issue reported in and will prevent the issue reported in
[#265](https://github.com/googlei18n/libphonenumber/issues/265),
[#528](https://github.com/googlei18n/libphonenumber/issues/528), and
[#819](https://github.com/googlei18n/libphonenumber/issues/819).
[#265](https://github.com/google/libphonenumber/issues/265),
[#528](https://github.com/google/libphonenumber/issues/528), and
[#819](https://github.com/google/libphonenumber/issues/819).
#### Optimize loads #### Optimize loads
You can manage your own resources by supplying your own You can manage your own resources by supplying your own
[`MetadataLoader`](http://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/MetadataLoader.java)
[`MetadataLoader`](http://github.com/google/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/MetadataLoader.java)
implementation to the `PhoneNumberUtil` instance. It is thus possible for your implementation to the `PhoneNumberUtil` instance. It is thus possible for your
app to load the resources as Android assets, while libphonenumber loads Java app to load the resources as Android assets, while libphonenumber loads Java
resources by default. The result is that the files are read as native Android assets resources by default. The result is that the files are read as native Android assets
@ -534,14 +534,14 @@ or review and test out someone else's PR, please chime in on these links, or
email the [discussion email the [discussion
group](https://groups.google.com/group/libphonenumber-discuss): group](https://groups.google.com/group/libphonenumber-discuss):
* [#1000](https://github.com/googlei18n/libphonenumber/issues/1000) to provide
* [#1000](https://github.com/google/libphonenumber/issues/1000) to provide
a Windows DLL. a Windows DLL.
* [#1010](https://github.com/googlei18n/libphonenumber/issues/1010) to require
* [#1010](https://github.com/google/libphonenumber/issues/1010) to require
Visual Studio 2015 update 2 or later on Windows Visual Studio 2015 update 2 or later on Windows
* PR [#1090](https://github.com/googlei18n/libphonenumber/pull/1090) /
[#824](https://github.com/googlei18n/libphonenumber/issues/824) to "Replace
* PR [#1090](https://github.com/google/libphonenumber/pull/1090) /
[#824](https://github.com/google/libphonenumber/issues/824) to "Replace
POSIX directory operations by Boost Filesystem" POSIX directory operations by Boost Filesystem"
* [#1555](https://github.com/googlei18n/libphonenumber/issues/1555) to allow
* [#1555](https://github.com/google/libphonenumber/issues/1555) to allow
Windows to build cpp library with pthreads for multi-threading Windows to build cpp library with pthreads for multi-threading
### How to remove a specific example number? ### How to remove a specific example number?


+ 9
- 9
README.md View File

@ -1,5 +1,5 @@
<p align="right"> <p align="right">
<img src="https://travis-ci.org/googlei18n/libphonenumber.svg?branch=master">
<img src="https://travis-ci.org/google/libphonenumber.svg?branch=master">
</p> </p>
# What is it? # What is it?
@ -16,7 +16,7 @@ Cream Sandwich).
* Check the [frequently asked questions](FAQ.md) * Check the [frequently asked questions](FAQ.md)
* Fun! [Falsehoods Programmers Believe About Phone Numbers](FALSEHOODS.md) * Fun! [Falsehoods Programmers Believe About Phone Numbers](FALSEHOODS.md)
* Look for * Look for
[`README`s](https://github.com/googlei18n/libphonenumber/find/master) in
[`README`s](https://github.com/google/libphonenumber/find/master) in
directories relevant to the code you're interested in. directories relevant to the code you're interested in.
* For contributors and porters: [How to run the Java demo](run-java-demo.md) * For contributors and porters: [How to run the Java demo](run-java-demo.md)
* For porters: [How to make metadata changes](making-metadata-changes.md) * For porters: [How to make metadata changes](making-metadata-changes.md)
@ -58,19 +58,19 @@ delay after the GitHub release.
Last demo update: v8.10.15. Last demo update: v8.10.15.
If this number is lower than the [latest release's version If this number is lower than the [latest release's version
number](https://github.com/googlei18n/libphonenumber/releases), we are between
number](https://github.com/google/libphonenumber/releases), we are between
releases and the demo may be at either version. releases and the demo may be at either version.
## JavaScript ## JavaScript
The [JavaScript The [JavaScript
demo](https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html)
demo](https://rawgit.com/google/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html)
may be run at various tags; this link will take you to `master`. may be run at various tags; this link will take you to `master`.
# Java code # Java code
To include the Java code in your application, either integrate with Maven (see To include the Java code in your application, either integrate with Maven (see
[wiki](https://github.com/googlei18n/libphonenumber/wiki)) or download the latest
[wiki](https://github.com/google/libphonenumber/wiki)) or download the latest
jars from the [Maven jars from the [Maven
repository](https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/). repository](https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/).
@ -108,9 +108,9 @@ release if there were no other changes.
Want to get notified of new releases? During most of the year, excepting Want to get notified of new releases? During most of the year, excepting
holidays and extenuating circumstances, we release fortnightly. We update holidays and extenuating circumstances, we release fortnightly. We update
[release tags](https://github.com/googlei18n/libphonenumber/releases) and
[release tags](https://github.com/google/libphonenumber/releases) and
document detailed [release notes]( document detailed [release notes](
https://github.com/googlei18n/libphonenumber/blob/master/release_notes.txt).
https://github.com/google/libphonenumber/blob/master/release_notes.txt).
We also send an announcement to [libphonenumber-discuss]( We also send an announcement to [libphonenumber-discuss](
https://groups.google.com/forum/#!forum/libphonenumber-discuss) for every https://groups.google.com/forum/#!forum/libphonenumber-discuss) for every
release. release.
@ -206,7 +206,7 @@ System.out.println(carrierMapper.getNameForNumber(swissMobileNumber, Locale.ENGL
``` ```
More examples on how to use the library can be found in the [unit More examples on how to use the library can be found in the [unit
tests](https://github.com/googlei18n/libphonenumber/tree/master/java/libphonenumber/test/com/google/i18n/phonenumbers).
tests](https://github.com/google/libphonenumber/tree/master/java/libphonenumber/test/com/google/i18n/phonenumbers).
# Third-party Ports # Third-party Ports
@ -233,7 +233,7 @@ Alternatives to our own versions:
`Class#getResourcesAsStream` and asks that Android apps follow the Android `Class#getResourcesAsStream` and asks that Android apps follow the Android
loading best practices of repackaging the metadata and loading from loading best practices of repackaging the metadata and loading from
`AssetManager#open()` themselves `AssetManager#open()` themselves
([FAQ](https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#optimize-loads)).
([FAQ](https://github.com/google/libphonenumber/blob/master/FAQ.md#optimize-loads)).
If you don't want to do this, check out the port at If you don't want to do this, check out the port at
https://github.com/MichaelRocks/libphonenumber-android, which does repackage https://github.com/MichaelRocks/libphonenumber-android, which does repackage
the metadata and use `AssetManager#open()`, and may be depended on without the metadata and use `AssetManager#open()`, and may be depended on without


+ 1
- 1
codereview.settings View File

@ -1,4 +1,4 @@
# This file is used by gcl to get repository specific information. # This file is used by gcl to get repository specific information.
CODE_REVIEW_SERVER: codereview.appspot.com CODE_REVIEW_SERVER: codereview.appspot.com
TRY_ON_UPLOAD: False TRY_ON_UPLOAD: False
VIEW_VC: https://github.com/googlei18n/libphonenumber/commit/
VIEW_VC: https://github.com/google/libphonenumber/commit/

+ 1
- 1
cpp/README View File

@ -160,7 +160,7 @@ gtest. We don't need to install gtest, we only copy sources. For example:
Get the libphonenumber source. For example: Get the libphonenumber source. For example:
$ mkdir ~/libphonenumber_clone $ mkdir ~/libphonenumber_clone
$ cd ~/libphonenumber_clone $ cd ~/libphonenumber_clone
$ git clone https://github.com/googlei18n/libphonenumber.git
$ git clone https://github.com/google/libphonenumber.git
Build and test the library: Build and test the library:
$ cd libphonenumber/cpp $ cd libphonenumber/cpp


+ 2
- 2
cpp/test/phonenumbers/asyoutypeformatter_test.cc View File

@ -94,7 +94,7 @@ TEST_F(AsYouTypeFormatterTest, InvalidPlusSign) {
} }
TEST_F(AsYouTypeFormatterTest, TooLongNumberMatchingMultipleLeadingDigits) { TEST_F(AsYouTypeFormatterTest, TooLongNumberMatchingMultipleLeadingDigits) {
// See https://github.com/googlei18n/libphonenumber/issues/36
// See https://github.com/google/libphonenumber/issues/36
// The bug occurred last time for countries which have two formatting rules // The bug occurred last time for countries which have two formatting rules
// with exactly the same leading digits pattern but differ in length. // with exactly the same leading digits pattern but differ in length.
formatter_.reset(phone_util_.GetAsYouTypeFormatter(RegionCode::GetUnknown())); formatter_.reset(phone_util_.GetAsYouTypeFormatter(RegionCode::GetUnknown()));
@ -1226,7 +1226,7 @@ TEST_F(AsYouTypeFormatterTest,
// leading digit patterns; when we try again to extract a country code we // leading digit patterns; when we try again to extract a country code we
// should ensure we use the last leading digit pattern, rather than the first // should ensure we use the last leading digit pattern, rather than the first
// one such that it *thinks* it's found a valid formatting rule again. // one such that it *thinks* it's found a valid formatting rule again.
// https://github.com/googlei18n/libphonenumber/issues/437
// https://github.com/google/libphonenumber/issues/437
EXPECT_EQ("+8698812", formatter_->InputDigit('2', &result_)); EXPECT_EQ("+8698812", formatter_->InputDigit('2', &result_));
EXPECT_EQ("+86988123", formatter_->InputDigit('3', &result_)); EXPECT_EQ("+86988123", formatter_->InputDigit('3', &result_));
EXPECT_EQ("+869881234", formatter_->InputDigit('4', &result_)); EXPECT_EQ("+869881234", formatter_->InputDigit('4', &result_));


+ 1
- 1
debian/control View File

@ -30,7 +30,7 @@ Build-Depends: cdbs,
libservlet2.5-java-doc libservlet2.5-java-doc
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Section: libs Section: libs
Homepage: https://github.com/googlei18n/libphonenumber/
Homepage: https://github.com/google/libphonenumber/
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/libphonenumber.git/ Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/libphonenumber.git/
Vcs-Git: git://anonscm.debian.org/collab-maint/libphonenumber.git Vcs-Git: git://anonscm.debian.org/collab-maint/libphonenumber.git


+ 1
- 1
debian/copyright View File

@ -1,7 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libphonenumber Upstream-Name: libphonenumber
Upstream-Contact: Fredrik Roubert <roubert@google.com> Upstream-Contact: Fredrik Roubert <roubert@google.com>
Source: https://github.com/googlei18n/libphonenumber/
Source: https://github.com/google/libphonenumber/
Files: * cpp/src/phonenumbers/base/logging.h Files: * cpp/src/phonenumbers/base/logging.h
cpp/src/phonenumbers/base/thread_checker.h cpp/src/phonenumbers/base/thread_checker.h


+ 1
- 1
debian/watch View File

@ -1,3 +1,3 @@
version=3 version=3
https://github.com/googlei18n/libphonenumber/tags \
https://github.com/google/libphonenumber/tags \
.*/archive/libphonenumber-(\d[\d\.]+)\.tar\.gz .*/archive/libphonenumber-(\d[\d\.]+)\.tar\.gz

+ 1
- 1
java/carrier/pom.xml View File

@ -5,7 +5,7 @@
<artifactId>carrier</artifactId> <artifactId>carrier</artifactId>
<version>1.112-SNAPSHOT</version> <version>1.112-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<url>https://github.com/googlei18n/libphonenumber/</url>
<url>https://github.com/google/libphonenumber/</url>
<parent> <parent>
<groupId>com.googlecode.libphonenumber</groupId> <groupId>com.googlecode.libphonenumber</groupId>


+ 1
- 1
java/demo/pom.xml View File

@ -5,7 +5,7 @@
<artifactId>demo</artifactId> <artifactId>demo</artifactId>
<version>8.10.16-SNAPSHOT</version> <version>8.10.16-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<url>https://github.com/googlei18n/libphonenumber/</url>
<url>https://github.com/google/libphonenumber/</url>
<parent> <parent>
<groupId>com.googlecode.libphonenumber</groupId> <groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId> <artifactId>libphonenumber-parent</artifactId>


+ 1
- 1
java/demo/src/com/google/phonenumbers/PhoneNumberParserServlet.java View File

@ -402,7 +402,7 @@ public class PhoneNumberParserServlet extends HttpServlet {
String newIssueLink = getNewIssueLink(phoneNumber, defaultCountry, geocodingLocale); String newIssueLink = getNewIssueLink(phoneNumber, defaultCountry, geocodingLocale);
String guidelinesLink = String guidelinesLink =
"https://github.com/googlei18n/libphonenumber/blob/master/CONTRIBUTING.md";
"https://github.com/google/libphonenumber/blob/master/CONTRIBUTING.md";
output.append("<b style=\"color:red\">File an issue</b>: by clicking on " output.append("<b style=\"color:red\">File an issue</b>: by clicking on "
+ "<a target=\"_blank\" href=\"" + newIssueLink + "\">this link</a>, I confirm that I " + "<a target=\"_blank\" href=\"" + newIssueLink + "\">this link</a>, I confirm that I "
+ "have read the <a target=\"_blank\" href=\"" + guidelinesLink + "have read the <a target=\"_blank\" href=\"" + guidelinesLink


+ 1
- 1
java/demo/war/phonenumberparser.jsp View File

@ -33,7 +33,7 @@
<input type="submit" value="Submit"> <input type="submit" value="Submit">
<input type="reset" value="Reset"> <input type="reset" value="Reset">
<p></p> <p></p>
<a href="https://github.com/googlei18n/libphonenumber/">Back to libphonenumber</a>
<a href="https://github.com/google/libphonenumber/">Back to libphonenumber</a>
</form> </form>
</body> </body>
</html> </html>

+ 1
- 1
java/geocoder/pom.xml View File

@ -5,7 +5,7 @@
<artifactId>geocoder</artifactId> <artifactId>geocoder</artifactId>
<version>2.122-SNAPSHOT</version> <version>2.122-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<url>https://github.com/googlei18n/libphonenumber/</url>
<url>https://github.com/google/libphonenumber/</url>
<parent> <parent>
<groupId>com.googlecode.libphonenumber</groupId> <groupId>com.googlecode.libphonenumber</groupId>


+ 1
- 1
java/internal/prefixmapper/pom.xml View File

@ -5,7 +5,7 @@
<artifactId>prefixmapper</artifactId> <artifactId>prefixmapper</artifactId>
<version>2.122-SNAPSHOT</version> <version>2.122-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<url>https://github.com/googlei18n/libphonenumber/</url>
<url>https://github.com/google/libphonenumber/</url>
<parent> <parent>
<groupId>com.googlecode.libphonenumber</groupId> <groupId>com.googlecode.libphonenumber</groupId>


+ 1
- 1
java/libphonenumber/pom.xml View File

@ -5,7 +5,7 @@
<artifactId>libphonenumber</artifactId> <artifactId>libphonenumber</artifactId>
<version>8.10.16-SNAPSHOT</version> <version>8.10.16-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<url>https://github.com/googlei18n/libphonenumber/</url>
<url>https://github.com/google/libphonenumber/</url>
<parent> <parent>
<groupId>com.googlecode.libphonenumber</groupId> <groupId>com.googlecode.libphonenumber</groupId>


+ 2
- 2
java/libphonenumber/test/com/google/i18n/phonenumbers/AsYouTypeFormatterTest.java View File

@ -66,7 +66,7 @@ public class AsYouTypeFormatterTest extends TestMetadataTestCase {
} }
public void testTooLongNumberMatchingMultipleLeadingDigits() { public void testTooLongNumberMatchingMultipleLeadingDigits() {
// See https://github.com/googlei18n/libphonenumber/issues/36
// See https://github.com/google/libphonenumber/issues/36
// The bug occurred last time for countries which have two formatting rules with exactly the // The bug occurred last time for countries which have two formatting rules with exactly the
// same leading digits pattern but differ in length. // same leading digits pattern but differ in length.
AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ);
@ -1164,7 +1164,7 @@ public class AsYouTypeFormatterTest extends TestMetadataTestCase {
// when we try again to extract a country code we should ensure we use the last leading digit // when we try again to extract a country code we should ensure we use the last leading digit
// pattern, rather than the first one such that it *thinks* it's found a valid formatting rule // pattern, rather than the first one such that it *thinks* it's found a valid formatting rule
// again. // again.
// https://github.com/googlei18n/libphonenumber/issues/437
// https://github.com/google/libphonenumber/issues/437
assertEquals("+8698812", formatter.inputDigit('2')); assertEquals("+8698812", formatter.inputDigit('2'));
assertEquals("+86988123", formatter.inputDigit('3')); assertEquals("+86988123", formatter.inputDigit('3'));
assertEquals("+869881234", formatter.inputDigit('4')); assertEquals("+869881234", formatter.inputDigit('4'));


+ 3
- 3
java/pom.xml View File

@ -5,7 +5,7 @@
<artifactId>libphonenumber-parent</artifactId> <artifactId>libphonenumber-parent</artifactId>
<version>8.10.16-SNAPSHOT</version> <version>8.10.16-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<url>https://github.com/googlei18n/libphonenumber/</url>
<url>https://github.com/google/libphonenumber/</url>
<parent> <parent>
<groupId>org.sonatype.oss</groupId> <groupId>org.sonatype.oss</groupId>
@ -31,9 +31,9 @@
</licenses> </licenses>
<scm> <scm>
<connection>scm:git:https://github.com/googlei18n/libphonenumber.git</connection>
<connection>scm:git:https://github.com/google/libphonenumber.git</connection>
<developerConnection>scm:git:git@github.com:googlei18n/libphonenumber.git</developerConnection> <developerConnection>scm:git:git@github.com:googlei18n/libphonenumber.git</developerConnection>
<url>https://github.com/googlei18n/libphonenumber/</url>
<url>https://github.com/google/libphonenumber/</url>
<tag>HEAD</tag> <tag>HEAD</tag>
</scm> </scm>


+ 1
- 1
javascript/README.md View File

@ -8,7 +8,7 @@ How to setup:
============= =============
1. Checkout closure-library, closure-compiler, closure-linter and python-gflags next to libphonenumber: 1. Checkout closure-library, closure-compiler, closure-linter and python-gflags next to libphonenumber:
* `git clone https://github.com/googlei18n/libphonenumber/`
* `git clone https://github.com/google/libphonenumber/`
* `git clone https://github.com/google/closure-library/` * `git clone https://github.com/google/closure-library/`


+ 2
- 2
javascript/i18n/phonenumbers/asyoutypeformatter_test.js View File

@ -73,7 +73,7 @@ function testInvalidPlusSign() {
} }
function testTooLongNumberMatchingMultipleLeadingDigits() { function testTooLongNumberMatchingMultipleLeadingDigits() {
// See https://github.com/googlei18n/libphonenumber/issues/36
// See https://github.com/google/libphonenumber/issues/36
// The bug occurred last time for countries which have two formatting rules // The bug occurred last time for countries which have two formatting rules
// with exactly the same leading digits pattern but differ in length. // with exactly the same leading digits pattern but differ in length.
/** @type {i18n.phonenumbers.AsYouTypeFormatter} */ /** @type {i18n.phonenumbers.AsYouTypeFormatter} */
@ -1199,7 +1199,7 @@ function testAYTFNumberPatternsBecomingInvalidShouldNotResultInDigitLoss() {
// leading digit patterns; when we try again to extract a country code we // leading digit patterns; when we try again to extract a country code we
// should ensure we use the last leading digit pattern, rather than the first // should ensure we use the last leading digit pattern, rather than the first
// one such that it *thinks* it's found a valid formatting rule again. // one such that it *thinks* it's found a valid formatting rule again.
// https://github.com/googlei18n/libphonenumber/issues/437
// https://github.com/google/libphonenumber/issues/437
assertEquals('+8698812', f.inputDigit('2')); assertEquals('+8698812', f.inputDigit('2'));
assertEquals('+86988123', f.inputDigit('3')); assertEquals('+86988123', f.inputDigit('3'));
assertEquals('+869881234', f.inputDigit('4')); assertEquals('+869881234', f.inputDigit('4'));


+ 1
- 1
making-metadata-changes.md View File

@ -63,7 +63,7 @@ changes, as per the instructions in `javascript/README`.
#### C++ #### C++
See the [C++ See the [C++
README](http://github.com/googlei18n/libphonenumber/blob/master/cpp/README)
README](http://github.com/google/libphonenumber/blob/master/cpp/README)
instructions for how to build and run C++. You should build it with instructions for how to build and run C++. You should build it with
`USE_LITE_METADATA` set to `ON` as well as `OFF`, which will generate both a `USE_LITE_METADATA` set to `ON` as well as `OFF`, which will generate both a
`metadata.cc` and a `metadata_lite.cc` file. `metadata.cc` and a `metadata_lite.cc` file.


+ 1
- 1
release_notes.txt View File

@ -1708,7 +1708,7 @@ Oct 10, 2012: libphonenumber-5.2
- Adds isNumberGeographical() method. - Adds isNumberGeographical() method.
- Adds getRegionCodesForCountryCode() method. - Adds getRegionCodesForCountryCode() method.
- Fixing issue with getSupportedGlobalNetworkCallingCodes() - Fixing issue with getSupportedGlobalNetworkCallingCodes()
[https://github.com/googlei18n/libphonenumber/issues/202]
[https://github.com/google/libphonenumber/issues/202]
- Ensures that returned collections are unmodifiable where necessary - Ensures that returned collections are unmodifiable where necessary
[there is a very slight risk that this may break existing users who were relying on being able [there is a very slight risk that this may break existing users who were relying on being able
to modify these collections, but doing so would be breaking lots of other assumptions that this to modify these collections, but doing so would be breaking lots of other assumptions that this


+ 1
- 1
resources/timezones/README.md View File

@ -10,7 +10,7 @@ whether it is likely to be a good time to ring a user based on their provided
number. number.
Code Location: Code Location:
[java/geocoder/src/com/google/i18n/phonenumbers/PhoneNumberToTimeZonesMapper.java](https://github.com/googlei18n/libphonenumber/blob/master/java/geocoder/src/com/google/i18n/phonenumbers/PhoneNumberToTimeZonesMapper.java)
[java/geocoder/src/com/google/i18n/phonenumbers/PhoneNumberToTimeZonesMapper.java](https://github.com/google/libphonenumber/blob/master/java/geocoder/src/com/google/i18n/phonenumbers/PhoneNumberToTimeZonesMapper.java)
Example usage: Example usage:


+ 1
- 1
run-java-demo.md View File

@ -23,7 +23,7 @@ SDK of Google App Engine. This document assumes it is named as
Check out the Java code: Check out the Java code:
``` ```
git clone https://github.com/googlei18n/libphonenumber.git
git clone https://github.com/google/libphonenumber.git
``` ```
Create a symlink to your unpacked appengine sdk directory at the same level as Create a symlink to your unpacked appengine sdk directory at the same level as


+ 1
- 1
tools/java/common/src/com/google/i18n/phonenumbers/MetadataFilter.java View File

@ -86,7 +86,7 @@ final class MetadataFilter {
// Note: If changing the blacklist here or the name of the method, update documentation about // Note: If changing the blacklist here or the name of the method, update documentation about
// affected methods at the same time: // affected methods at the same time:
// https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#what-is-the-metadatalitejsmetadata_lite-option
// https://github.com/google/libphonenumber/blob/master/FAQ.md#what-is-the-metadatalitejsmetadata_lite-option
static MetadataFilter forLiteBuild() { static MetadataFilter forLiteBuild() {
// "exampleNumber" is a blacklist. // "exampleNumber" is a blacklist.
return new MetadataFilter(parseFieldMapFromString("exampleNumber")); return new MetadataFilter(parseFieldMapFromString("exampleNumber"));


+ 1
- 1
tools/java/data/webapp/index.html View File

@ -15,7 +15,7 @@
<textarea name="geodata" rows="20" cols="80"></textarea> <textarea name="geodata" rows="20" cols="80"></textarea>
<input type="submit" value="Submit"><br> <input type="submit" value="Submit"><br>
<a href="https://github.com/googlei18n/libphonenumber/">Back to libphonenumber</a>
<a href="https://github.com/google/libphonenumber/">Back to libphonenumber</a>
</form> </form>
</body> </body>


Loading…
Cancel
Save