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
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
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
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
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
Shaopeng Jia
9feb68c47a
JAVA: libphonenumber 4.5
Review URL: http://codereview.appspot.com/5532089
14 years ago
Philippe Liard
175ad577f2
TOOLS: Change package to com.google.i18n.phonenumbers.
Review URL: http://codereview.appspot.com/5193044
14 years ago
Philippe Liard
b59d9080ab
Changing license to Libphonenumber Authors.
15 years ago
Nikolaos Trogkanis
2980262b6d
Fixed a few findbugs warnings and added a build rule to generate metadata for JavaScript.
15 years ago
Philippe Liard
2ddc9a5531
TOOLS: Always trigger the metadata generation.
15 years ago
Philip Liard
2dc010ae27
TOOLS: Code and jars to enable auto-generation of metadata for Java when compiling/testing.
15 years ago
Philip Liard
ee0182a25b
TOOLS: Moving java generation code under tools.
15 years ago
Lara Scheidegger
0c1ad33194
JAVA: findNumbers functionality, metadata updates, bug-fixes
15 years ago
Shaopeng Jia
358ed5f912
Minor documentation updates.
15 years ago
Shaopeng Jia
92aff12ccf
Code refactoring. Patch submitted by tronikos.
16 years ago
Shaopeng Jia
b38f0e52b9
Initialize country calling code to region code map in PhoneNumberUtil to further improve startup speed.
16 years ago
Shaopeng Jia
4ca3b5be65
Improve startup performance by separating generated metadata binary to one per region, and load each only when needed.
16 years ago
Shaopeng Jia
b5bb575ac2
Major improvement in AsYouTypeFormatter to start formatting earlier. New TrancateTooLongNumber functionality in PhoneNumberUtil. Also fixes formatByPattern and Japanese AsYouTypeFormatter bugs.
16 years ago
Shaopeng Jia
72660ad60c
Update library with new functionalities and metadata.
16 years ago
Shaopeng Jia
b54a100125
Improve serialization and deserialization speed for Phonemetadata.java and size of the generated binary file by making use of Java Externalization.
16 years ago
Shaopeng Jia
9616170a2f
Reorganize project structure to make it easy to build.
16 years ago
Shaopeng Jia
14710170f7
Decouple Phonemetadata.java from protocol buffer.
16 years ago
Shaopeng Jia
e4e52ec2d2
Update library to v2.1
16 years ago
Shaopeng Jia
302f7bf6db
Minor documentation update.
16 years ago
Shaopeng Jia
a7c6c36f84
Checking in first version of java libphonenumber
16 years ago