David Yonge-Mallo
f3e41c52fb
Install protobuf-java into java/lib instead of using it from Maven repository.
10 years ago
David Yonge-Mallo
4e5966205b
eliminate unnecessary variables, slight refactoring
10 years ago
David Yonge-Mallo
b6393839f5
use equals check for empty String instead of length check for consistency with nanoproto
10 years ago
David Yonge-Mallo
d03fa99422
replace the generation from proto with generation from nanoproto
10 years ago
David Yonge-Mallo
08faa95aa0
replace Phonemetadata API for repeated fields, in preparation for switch to nanoproto
10 years ago
David Yonge-Mallo
a390847dc8
replace Phonemetadata API for fields other than repeated fields, in preparation for switch to nanoproto
10 years ago
David Yonge-Mallo
331094d2b5
remove Builders from Phonemetadata (BuildMetadataCppFromXml.writePhoneMetadataCollection temporarily disabled)
10 years ago
David Yonge-Mallo
f7f8b9067e
regenerate binary files
10 years ago
Keghani Kouzoujian
ba9a6ec733
Lower severity of warnings for messages that are less important to clients.
10 years ago
Keghani Kouzoujian
a6b4b1b915
Make robust SingleFileMetadataSourceImpl and make it consistent with
MultiFileMetadataSourceImpl.
10 years ago
Keghani Kouzoujian
e9b82df4c2
Use instance variables rather than passing them through methods in MultiFileMetadataSourceImpl.
10 years ago
Keghani Kouzoujian
fc666d6097
Update the java-build JAR to include the correct single file metadata.
10 years ago
Keghani Kouzoujian
00396906bf
Fix usage message at BuildMetadataProtoFromXml.
10 years ago
Keghani Kouzoujian
52fbf74751
Fix generation of java/CountryCodeToRegionCodeMap.java as side-effect to single file metadata generation.
10 years ago
Miruna Barbu
4805ced9e3
Implementation of SingleFileMetadata reading with files created excluded from jar.
10 years ago
Keghani Kouzoujian
f7cc21baca
Update the proto compiler version in Maven.
11 years ago
Andy Staudacher
5f27845596
Update generated .pb.js files with proper generated proto2 descriptor APIs
11 years ago
Lara Scheidegger
b4d6b9f9c6
JS: Minor changes to types to make compiler happier.
11 years ago
Daniel Pocock
5c900c6797
Remove version constraints for plugins required to build tools.
Normally it is not a good idea to place <version> constraints in the
definition of plugins in pom.xml unless a specific version really is
needed.
This patch removes the constraints.
There are various benefits to this, one of them is that it will always
build with the latest packaged version of the plugins on a Debian or
Ubuntu system.
Author: daniel@pocock.pro
R=jia.shao.peng@gmail.com
BUG=
Review URL: https://codereview.appspot.com/122480043
11 years ago
Lara Scheidegger
b1337c7ff1
JAVA/CPP: Better exclusion of dates, change in build error messages.
12 years ago
Lara Scheidegger
a201099230
JAVA/JS/CPP: libphonenumber v6.1
12 years ago
Lara Scheidegger
7123e3365f
JAVA/JS/CPP: Libphonenumber v5.9, code & metadata changes.
12 years ago
Cecilia Roes
23f12e8b5f
JAVA: Added the phone number to timezones mapper, including tests, binary generation code and data
12 years ago
Cecilia Roes
148dd4edf6
JAVA: Update geocoder binary generation code.
12 years ago
Lara Scheidegger
10c1539344
JAVA/CPP: Generating data as to whether a country allows mobile portability or not in the metadata.
12 years ago
Lara Scheidegger
f5439bb8a4
JAVA/JS/CPP: libphonenumber v5.8. ShortNumberInfo API, metadata updates, small bug fixes. See the release notes for more information.
12 years ago
Lara Scheidegger
3b1d5f723e
CPP/JAVA: libphonenumber v5.7.1: Changing metadata generation to exclude irrelevant data.
No change in functionality.
13 years ago
David Yonge-Mallo
f50380c011
JAVA: Add support for loading short number metadata
13 years ago
Lara Scheidegger
8bfef602f1
JAVA/DATA/TOOLS: Adding some short number metadata separately, and adjusting the build tools to handle this.
13 years ago
David Yonge-Mallo
f5a3fd9072
DATA: Change "PhoneNumberMetaData" to "PhoneNumberMetadata" throughout for consistency
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
Lara Scheidegger
fc1adde81a
JAVA: libphonenumber 5.1: AYTF changes and metadata updates.
13 years ago
David Beaumont
62e1ef2e5e
changes to allow for generation of alternate format metadata
14 years ago
Fredrik Roubert
74a65a5624
TOOLS: Port changes for alternate formats.
Review URL: https://codereview.appspot.com/6350083
14 years ago
Fredrik Roubert
ea39cbb971
TOOLS: Update to use refactored BuildMetadataProtoFromXml tool.
Review URL: https://codereview.appspot.com/6353060
14 years ago
Fredrik Roubert
b1e4452573
TOOLS: Refactor the BuildMetadataProtoFromXml tool to:
- Make command line parameters named instead of positional.
- Move all information about paths, names, etc., from being hardcoded into the
tool itself to command line parameters, so that new files in the future can
be generated by just adding build rules for them without having to update the
tool.
- Not hard-code class or package names, but get them from the Class object.
- Break code generation up into smaller parts, to make it easier to extend the
code generation and share code while generating different classes.
- Update BuildMetadataFromXml to not output empty region codes.
- Generate either a Map or a Set, depending on whether the mapping table
actually contains any data or not.
All files generated by the tool remain identical to before this change.
Review URL: https://codereview.appspot.com/6343066
14 years ago
Fredrik Roubert
1991230d19
TOOLS: Update to use the new version of the BuildMetadataProtoFromXml that can also build data files for alternate formats.
Review URL: https://codereview.appspot.com/6351054
14 years ago
Fredrik Roubert
1e7912a344
TOOLS: Update the BuildMetadataProtoFromXml tool to build data files for alternate formats as well.
Review URL: https://codereview.appspot.com/6355051
14 years ago
Lara Scheidegger
65b0f58e08
Java/JS build tools: Adding missing semicolon.
14 years ago
Lara Scheidegger
564a829c2e
JAVA: libphonenumber v4.9. Patch prepared by davinci.
14 years ago
Nikolaos Trogkanis
800e44324e
JS: Fix duplicate keys in countryToMetadata map
14 years ago
Nikolaos Trogkanis
879377c9de
svn:ignore generated files and update java-build-1.0-SNAPSHOT-jar-with-dependencies.jar
14 years ago
Nikolaos Trogkanis
37d0495859
JS: libphonenumber 4.5
Review URL: http://codereview.appspot.com/5574080
14 years ago
Shaopeng Jia
9feb68c47a
JAVA: libphonenumber 4.5
Review URL: http://codereview.appspot.com/5532089
14 years ago
Lara Scheidegger
c634f2412e
JAVA: libphonenumber v4.4
14 years ago
Philippe Liard
aa58387144
JAVA: Add Maven support for offline phone number geocoder.
This CL (depending on CL 5376090) adds the Maven support for the offline phone number geocoder.
All the geocoding-related code/data is moved to the new directory java/geocoder.
Additionally a pom.xml file is added to java/ and java/geocoder/.
The pom.xml file located in java/ is the parent pom file which contains the configuration (SCM, developers, encoding...) that applies to both the libphonenumber and geocoder modules.
The libphonenumber and geocoder Maven modules inherit from this parent pom file therefore they don't need to duplicate this configuration.
I also moved build.xml and release_notes.txt back to java/.
BUG=57
Review URL: http://codereview.appspot.com/5395054
14 years ago
Philippe Liard
b5b7c3bbf8
JAVA: Move java code to java/libphonenumber.
This is required for the incoming Maven refactoring adding a separate geocoder module.
BUG=57
Review URL: http://codereview.appspot.com/5376090
14 years ago
Nikolaos Trogkanis
817cdf4fd4
JS: libphonenumber 4.2.
14 years ago
Lara Scheidegger
6f225c7897
JAVA: libphonenumber 4.2. Includes rest of emergency number data, new region SX.
14 years ago
Nikolaos Trogkanis
d46ff896ce
- Fix formatNumberForMobileDialing that is modifying its input PhoneNumber.
- Fix incorect use of string equality.
- Fix testGetEnglishDataPath that is failing under windows.
- Remove unused method and variables.
14 years ago