penmetsaa
6347995ee6
Support semicolon as extension character while parsing phone numbers. ( #1458 )
* Support semicolon as extension character while parsing
* Add notes to pending_code_changes.txt
* JS port: Support semicolon as extension character while parsing
* Update comments in phonenumberutil.js
9 years ago
lararennie
b702df040d
Updating the JS code to throw an error rather than a "string" ( #1459 )
This could break client code. For anyone who has custom behaviour based on the value of the error, please compare against error.message instead of the error itself.
9 years ago
lararennie
929e6b1c1c
Update documentation for IsValidNumber method ( #1460 )
9 years ago
Keghani Kouzoujian
b13ee11da2
Change build rules to stop mobile and fixed-line descs inheriting from the generalDesc element ( #1427 )
Metadata changes:
-- Drops the "-1" that was erroneously included in possible lengths before (didn't break anything, but was wrong) - it was a possibleLength of a sub-component so got added to the generalDesc possibleLengths
-- possibleNumberPattern no longer inherited: we don't use this anyway, we will do another CL soon to stop including it at all in the generated metadata
-- exampleNumber is no longer set on fixed-line and mobile elements from the generalDesc
XML file changes:
-- Stopped specifying "NA" and "-1" specifically for fixed-line and mobile blocks; now they are treated as every other type of phone number: if missing, don't fill them in from generalDesc, but leave them missing.
Code changes:
-- Stop using the exampleNumber on generalDesc for non-geo entities, but look at their phonenumber descs - the exampleNumber won't be stored on the generalDesc anymore. This affects porters if they either copied our build logic or used our built metadata in some way; they should update this method in their port too.
9 years ago
Tiago Salem Herrmann
1bbbcf9b51
Add hash as diallable character to java and javascript implementations
9 years ago
Keghani Kouzoujian
71be59df67
Remove unused import in JS ( #1373 )
9 years ago
lararennie
13ac44088f
Fixing array indexOf to use closure instead of native array function, since IE8 hasn't implemented this. ( #1376 )
9 years ago
Keghani Kouzoujian
59a13d4ffb
Don't set empty preferred_domestic_carrier_code, and if we are passed such a number from clients then treat the empty field as if unset. ( #1364 )
9 years ago
lararennie
5605b8ae67
Porting usage of possibleLengths from Java to Javascript ( #1359 )
9 years ago
Keghani Kouzoujian
642590c597
Update isNumberGeographical to return true for geographical mobile numbers
10 years ago
Lara Scheidegger
8a33f94a22
* Updating parse documentation to be more clear about what it accepts
* New useful getExampleNumber methods (for testing) - one for invalid
numbers and one for getting a number of a particular type without
specifying a country.
10 years ago
Lara Scheidegger
b4d6b9f9c6
JS: Minor changes to types to make compiler happier.
11 years ago
Lara Scheidegger
b5e59c4e80
JAVA/JS/CPP:libphonenumber v7.0 last changes
11 years ago
Lara Scheidegger
5ff0ea2f0a
JAVA/CPP/JS: v6.3: Geocoding behaviour change, code clean-up, metadata updates.
11 years ago
Lara Scheidegger
56fa0bd501
JAVA/JS: v6.2
12 years ago
Lara Scheidegger
2ff657bed5
JS: Fixing a whitespace character to be a space.
12 years ago
Lara Scheidegger
a201099230
JAVA/JS/CPP: libphonenumber v6.1
12 years ago
Lara Scheidegger
3623b3c80f
JS: Adding missing @ in front of type.
12 years ago
Lara Scheidegger
5891032ffb
JAVA/JS/CPP: libphonenumber v6.0
12 years ago
Lara Scheidegger
7123e3365f
JAVA/JS/CPP: Libphonenumber v5.9, code & metadata changes.
12 years ago
Cecilia Roes
35a62b36e7
JS/C++: Added mobile token support to phone number util
12 years ago
Lara Scheidegger
f086b9a9df
JAVA/JS/CPP: libphonenumber v5.6
13 years ago
David Beaumont
5f74e23bc0
JAVA/C++/JS: libphonenumber v5.5
13 years ago
Nikolaos Trogkanis
b86c00ff95
JS: Fix some compiler issues. Add missing ReginoCode.CH in regioncodefortesting.js. Change visibility of isNumberGeographical to public so that it can be accessed from tests.
Review URL: https://codereview.appspot.com/8649050
13 years ago
Shaopeng Jia
711c49e431
JS: Minor style tidy-up.
Review URL: https://codereview.appspot.com/7637044
13 years ago
Shaopeng Jia
3765924e20
libphonenumber v5.4 release.
Review URL: https://codereview.appspot.com/7570043
13 years ago
Lara Scheidegger
f410828411
JAVA/CPP/JS: libphonenumber v5.3, offlinegeocode v2.4
13 years ago
Fredrik Roubert
c085fd0206
JS: Fix automatically fixable lint errors.
Review URL: https://codereview.appspot.com/6813087
13 years ago
Fredrik Roubert
0fbfa7e960
JS: Change back from getCountryCode() to getCountryCodeOrDefault().
That change should not have been part of r538.
Review URL: https://codereview.appspot.com/6822087
13 years ago
Fredrik Roubert
2f0bbdba10
JS: Replace hardcoded exception string with proper enum value, as declared.
Review URL: https://codereview.appspot.com/6814093
13 years ago
Fredrik Roubert
1a71ebaf61
JS: libphonenumber v5.2
Review URL: https://codereview.appspot.com/6821053
13 years ago
Shaopeng Jia
74921191f8
JS: Fix complaints from jsLint. Review URL: http://codereview.appspot.com/6503088
13 years ago
Lara Scheidegger
a9c476d1ea
JS: libphonenumber v5.1
13 years ago
Lara Scheidegger
4fb4ecbae9
JS: libphonenumber v5.0 code changes, some metadata clean-up after v4.9.1
14 years ago
David Yonge-Mallo
29e66c5b87
JS: port Java changes from v4.9 (rev 469) and update metadata
14 years ago
Shaopeng Jia
096c1a0e93
Provides namespace for PhoneNumberUtil.MatchType and PhoneNumberUtil.ValidationResult.
Review URL: http://codereview.appspot.com/6333054
14 years ago
Nikolaos Trogkanis
800e44324e
JS: Fix duplicate keys in countryToMetadata map
14 years ago
Nikolaos Trogkanis
94e294fbbc
JS: libphonenumber 4.8
14 years ago
Nikolaos Trogkanis
4b1d8bc4d6
JS: libphonenumber 4.7
14 years ago
Nikolaos Trogkanis
37d0495859
JS: libphonenumber 4.5
Review URL: http://codereview.appspot.com/5574080
14 years ago
Nikolaos Trogkanis
817cdf4fd4
JS: libphonenumber 4.2.
14 years ago
Nikolaos Trogkanis
3f0793f365
JS: libphonenumber 4.1.
14 years ago
Nikolaos Trogkanis
e2407a6b7f
JS: libphonenumber 3.9
14 years ago
Philippe Liard
b59d9080ab
Changing license to Libphonenumber Authors.
15 years ago
Nikolaos Trogkanis
f019262877
JS: libphonenumber 3.8
15 years ago
Nikolaos Trogkanis
c77db4ea53
JS: libphonenumber 3.7
15 years ago
Shaopeng Jia
bdab8b2ced
JS: update confusing var name.
15 years ago
Nikolaos Trogkanis
7de755b408
JS: libphonenumber v3.4.
15 years ago
Nikolaos Trogkanis
b3c4841d25
JS: libphonenumber v3.3.
15 years ago
Nikolaos Trogkanis
86771e90cf
JS: libphonenumber v3.2.
15 years ago