David Humphrey
068d0644bd
Fix a bunch of failing tests, add missing functions, fix bug with leniency always being VALID
8 years ago
David Humphrey (:humph) david.humphrey@senecacollege.ca
a46933b642
Fix indent
8 years ago
David Humphrey
063d52a4b7
Indent fix
8 years ago
David Humphrey
3e2cfd54bd
Formatting fixes
8 years ago
David Humphrey
b89f1fd0c4
Cleanup
8 years ago
David Humphrey
a2518dd68a
Rework Leniency
8 years ago
David Humphrey
72ecdb525e
Formatting fixes
8 years ago
David Humphrey
ae3760c127
Fix failing FR tests
8 years ago
David Humphrey
759aa0e31b
Added rest of tests
8 years ago
David Humphrey
b5bcc6e6e3
Lots more tests, almost done
8 years ago
David Humphrey
0fe95f1e1a
Re-enable failing test, passes now
8 years ago
David Humphrey
b868df3ea9
Expand Leniency to include all verification functions
8 years ago
David Humphrey
d32a10acbb
All tests passing
8 years ago
David Humphrey
41b8a27063
More tests, some fixes to inner matches patterns
8 years ago
David Humphrey
3396b1b05b
More tests, failing one assertion in testFourMatchesInARow()
8 years ago
David Humphrey
b84fe43c8f
Passing first unit test
8 years ago
David Humphrey
7d15b16449
Finally able to run a basic unit test, still not passing due to object equality issues
8 years ago
David Humphrey
21876631f7
Initial work to port findNumbers to js, not yet complete
8 years ago
kkeshava
4c3ca93547
Metadata updates for release 8.8.10 ( #2097 )
8 years ago
penmetsaa
a36a934bd4
Metadata updates for release 8.8.9 ( #2081 )
8 years ago
SumathiSundara
b974e2808f
Metadata updates for release 8.8.8 ( #2048 )
8 years ago
penmetsaa
4c9bf49ed2
Metadata updates for release 8.8.7 ( #2033 )
8 years ago
penmetsaa
3db7670b42
Update Javadoc for PhoneNumberUtil.PhoneNumberFormat enum reg E.123 format rules we follow ( #2021 )
* Update Javadoc for PhoneNumberUtil.PhoneNumberFormat enum about E.123 format. We over.
* JS update
* Comment fix
8 years ago
SumathiSundara
665b7fbf43
Metadata updates for release 8.8.6 ( #2011 )
8 years ago
penmetsaa
3971cfc0d3
Metadata updates for release 8.8.5 ( #1984 )
8 years ago
kkeshava
bb73f90b20
Metadata updates for release 8.8.4 ( #1965 )
8 years ago
SumathiSundara
6d3dd240b6
Metadata updates for release 8.8.3 ( #1947 )
8 years ago
Mike
35b78d7f31
Fix for typing issue ( #1942 )
See change 169573081
8 years ago
Keghani Kouzoujian
4787c58d58
Fix JS issue ( #1940 )
8 years ago
SumathiSundara
9a51931c83
Metadata updates for release 8.8.2 ( #1934 )
8 years ago
penmetsaa
45b332e3a9
Metadata updates for release 8.8.1 ( #1917 )
8 years ago
kkeshava
cc0d3c0806
Metadata updates for release 8.8.0 ( #1908 )
8 years ago
Andy Staudacher
98cb04aced
Improve parsing logic to be smarter about national-prefix detection & stripping. ( #1894 )
9 years ago
SumathiSundara
b58ef8b8a6
Metadata updates for release 8.7.1 ( #1887 )
9 years ago
lararennie
e24208e0c6
Updating docs for getNumberType ( #1863 )
9 years ago
penmetsaa
4fa546ca9e
Metadata updates for release 8.7.0 ( #1858 )
9 years ago
lararennie
a83ec7bfd2
Added new API for getSupportedCallingCodes ( #1855 )
9 years ago
Keghani Kouzoujian
a3aa632a6d
Minor update to documentation in PhoneNumberUtil ( #1838 )
9 years ago
SumathiSundara
dbe1dd4950
Metadata updates for release 8.6.0 ( #1832 )
9 years ago
lararennie
94b7fed301
Deleting the field possible_number_pattern from the phone number metadata proto. ( #1830 )
This hasn't been used for a long time.
Deleted all methods that refer to this, and removed the field from the test XML file (somehow this was missed) as well.
Regenerated jars - because we no longer write a boolean to indicate whether we have the possible number pattern or not all the java metadata files needed regenerating too.
Deleted some data from the js phone metadata implementation that isn't used by js as well (national number matcher pattern)
9 years ago
lararennie
bacdc0a76d
Adding a new enum for CountryCodeSource UNSPECIFIED ( #1829 )
This enum won't be noticed by most users, because the country_code_source field of the phone number is only populated with ParseAndKeepRawInput, and in this case, this enum won't be used.
However, it provides a better result for users who incorrectly call parse() and then getCountryCodeSource() and expect to get a sensible answer; now they will get UNSPECIFIED instead of FROM_NUMBER_WITH_PLUS_SIGN which was the default before. In JS this method returns null, but getCountryCodeSourceOrDefault() will now return UNSPECIFIED instead.
The numeric values of the existing enums have not changed (relevant for JS and C++) and in Java the new enum was added to the end so that any stored serialized phone numbers should be able to be restored as they were before.
Suggested in issue #1218
9 years ago
lararennie
35210c7288
Doc update for parse method as suggested in issue #1218
Points people at parseAndKeepRawInput where appropriate.
9 years ago
Keghani Kouzoujian
9c5448dcbd
Update javadoc on isNumberGeographical ( #1823 )
9 years ago
lararennie
10001e03f2
[JS] Bug fix for getNationalSignificantNumber ( #1821 )
* Fixing bug where getNationalSignificantNumber for an empty phone number object would return the string null in Javascript.
9 years ago
lararennie
c2ed2dcf7b
Removing leading_zero_possible from metadata and code ( #1805 )
* It was confusing and unnecessary. Not every country that has short numbers beginning with a 0 had it, and it is not the only digit that could overlap with a national prefix and hence be interpreted incorrectly.
9 years ago
SumathiSundara
988b9263bf
Metadata updates for release 8.5.2 ( #1797 )
9 years ago
kkeshava
da3e2f5ec4
Metadata updates for release 8.5.1 ( #1773 )
* Metadata updates for release 8.5.1
* Update release_notes.txt
9 years ago
lararennie
dfa8969b18
Fixing typos in a couple of method descriptions. ( #1770 )
9 years ago
penmetsaa
07525a96f0
Metadata updates for release 8.5.0 ( #1754 )
* Metadata updates for release 8.5.0
* Corrected release notes as US geocding update is mentioned as new addition.
9 years ago
Keghani Kouzoujian
079b36843f
Stop setting the national number pattern to NA when no data exists ( #1751 )
9 years ago