Philippe Liard
b8a13bf0a0
CPP: Make use of alternate format controlled at compile time.
This is needed to use a recent revision of libphonenumber in Chromium without
building with alternate formats.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9215046
13 years ago
Philippe Liard
09b71c10f3
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
13 years ago
Philippe Liard
d60d343ae9
CPP: Add base/thread_checker.h.
This lets make sure that the library is only called in Chromium from the UI
thread.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9048043
13 years ago
Philippe Liard
98e96f3a8b
CPP: Move base code to i18n::phonenumbers namespace.
This is needed to avoid name clashes when the library is embedded into
Chromium.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9029045
13 years ago
Philippe Liard
9f0d77efd0
CPP: Make libphonenumber depend on its own base/ when it's used in Chromium.
This is done by adding a USE_BOOST compile time flag that is enabled by default
when the library is compiled with CMake (mainly for external users).
In Chromium, the library will be built without the USE_BOOST compile time flag.
Instead the NO_THREAD_SAFETY flag will have to be provided so that the minimal
non-thread-safe subset of base will be used.
This is possible since libphonenumber is only used from the UI thread in
Chromium.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/8859052
13 years ago
Philippe Liard
84ffc1d777
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
13 years ago
Philippe Liard
494af85de0
CPP: Move base/string_piece.* to base/strings/.
This change is needed to embed libphonenumber into Chromium past r191206.
BUG=http://crbug.com/236272
R=jia.shao.peng@gmail.com
Review URL: https://codereview.appspot.com/9014043
13 years ago
Nikolaos Trogkanis
ae0818a8e5
JS: Add build.xml to compile and lint the code. Updated README with instructions how to compile and use the library. Use demo.js and demo-compiled.js as example. Checking in demo-compiled.html and js to be linked from the project home page.
Review URL: https://codereview.appspot.com/8889044
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
1adb9b763e
JAVA/JS/CPP:libphonenumber v5.4.2
13 years ago
Shaopeng Jia
b1427e012a
JAVA/CPP/JS: libphonenumber 5.4.1
13 years ago
Shaopeng Jia
711c49e431
JS: Minor style tidy-up.
Review URL: https://codereview.appspot.com/7637044
13 years ago
Shaopeng Jia
1c13d10ec3
[maven-release-plugin] prepare for next development iteration
13 years ago
Shaopeng Jia
34fe632e62
[maven-release-plugin] prepare release libphonenumber-5.4
13 years ago
Shaopeng Jia
3765924e20
libphonenumber v5.4 release.
Review URL: https://codereview.appspot.com/7570043
13 years ago
Lara Scheidegger
457ff7a599
JAVA/JS/CPP: libphonenumber v5.3.2, metadata updates. Includes geocoding data for Belarus, with contributions from g1smd.
13 years ago
Lara Scheidegger
ff32d2653c
Fixing build of geocoding library by forcing the proto buffer files to be generated.
13 years ago
David Yonge-Mallo
7a2255ae16
metadata update 5.3.1
13 years ago
Lara Scheidegger
1dd9f273bd
[maven-release-plugin] prepare for next development iteration
13 years ago
Lara Scheidegger
5ce1862adf
[maven-release-plugin] prepare release libphonenumber-5.3
13 years ago
Lara Scheidegger
f410828411
JAVA/CPP/JS: libphonenumber v5.3, offlinegeocode v2.4
13 years ago
Philippe Liard
fe98320cc9
CPP: Build a separate library for geocoding.
Review URL: https://codereview.appspot.com/6820067
13 years ago
Lara Scheidegger
e050a7f928
JAVA/JS/CPP: libphonenumber v5.2.2, metadata updates. Gabon geocoding data added with help from g1smd.
13 years ago
Lara Scheidegger
a8d2ba916a
DATA: Update for the GB premium-rate pattern. Contributed by g1smd.
13 years ago
g1smd
cdcd180af0
JAVA/JS/CPP: Small comment change in the as-you-type-formatter.
13 years ago
Lara Scheidegger
e5594c3f93
JAVA/JS/CPP: libphonenumber v5.2.1, metadata updates.
13 years ago
Fredrik Roubert
bd4b4716cd
JS: Add a script to run the Closure Compiler.
Review URL: https://codereview.appspot.com/6827078
13 years ago
Fredrik Roubert
c085fd0206
JS: Fix automatically fixable lint errors.
Review URL: https://codereview.appspot.com/6813087
13 years ago
Fredrik Roubert
21624119b0
JS: Change from getNationalPrefixFormattingRule() to getNationalPrefixFormattingRuleOrDefault(). This should have been done in r519.
Review URL: https://codereview.appspot.com/6822092
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
2fb7228c19
JS: Remove errornous svn:executable property from source code file.
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
Philippe Liard
7f40b02808
CPP: Implement PhoneNumberOfflineGeocoder.
13 years ago
Fredrik Roubert
dbd0c4d2c8
CONFIG: Delete empty debian/changelog entries.
Review URL: https://codereview.appspot.com/6744049
13 years ago
David Beaumont
61fc69f36e
[maven-release-plugin] prepare for next development iteration
13 years ago
David Beaumont
fdde94192f
[maven-release-plugin] prepare release libphonenumber-5.2
13 years ago
David Beaumont
18d6eae899
JAVA/CPP: Release 5.2. Metadata updates and bug fixes. See release notes for more details.
13 years ago
Fredrik Roubert
2e074af243
CPP: Update CMake rules for Google Test to not require a pre-compiled static
library but be able to build the library from source as current practice is.
Review URL: https://codereview.appspot.com/6602047
13 years ago
Fredrik Roubert
41448d3121
Updated README: Current version information for Ubuntu packages.
Review URL: https://codereview.appspot.com/6601046
13 years ago
Fredrik Roubert
a6f2d20363
Update build rules to version 5.1 of the library.
Review URL: https://codereview.appspot.com/6572060
13 years ago
Fredrik Roubert
60db87a603
CPP: Link generate_geocoding_data_test with pthread.
13 years ago
Lara Scheidegger
2483f68616
JAVA/JS/CPP: Metadata updates (v5.1.4)
13 years ago
Lara Scheidegger
3d249582bd
JAVA/JS/CPP: Metadata updates (v5.1.3)
13 years ago
Lara Scheidegger
5475cbf960
JS: libphonenumber v5.1.2 - AYTF fix
13 years ago
Lara Scheidegger
af2b6b190a
Java/CPP: libphonenumber v5.1.2 - AYTF fix for numbers in national format in countries with no national prefix.
13 years ago
Shaopeng Jia
74921191f8
JS: Fix complaints from jsLint. Review URL: http://codereview.appspot.com/6503088
13 years ago
Shaopeng Jia
f1afb587e6
[maven-release-plugin] prepare for next development iteration
13 years ago
Shaopeng Jia
87f3598f1e
[maven-release-plugin] prepare release libphonenumber-5.1
13 years ago
Lara Scheidegger
a9c476d1ea
JS: libphonenumber v5.1
13 years ago