Keghani Kouzoujian
a342989093
Update nationalPrefixOptionalWhenFormatting documentation.
10 years ago
David Yonge-Mallo
edf20a3bb8
update Google App Engine version to 1.9.32 (latest as of 2016-02-02)
10 years ago
Keghani Kouzoujian
62452badb9
Regenerate java-build and cpp-build JAR files after nanoproto PR #888
10 years ago
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
a6666ebf2b
regenerate binary data
10 years ago
David Yonge-Mallo
ed306d13b3
remove check for nationalPrefixFormattingRule empty before setting nationalPrefixOptionalWhenFormatting in BuildMetadataFromXml
cherry-pick of googlei18n/libphonenumber#884
10 years ago
David Yonge-Mallo
f7f8b9067e
regenerate binary files
10 years ago
David Yonge-Mallo
0bd35804c8
remove check for nationalPrefixFormattingRule empty before setting nationalPrefixOptionalWhenFormatting in BuildMetadataFromXml
10 years ago
David Yonge-Mallo
d8268984e4
Install protobuf-java into java/lib instead of using it from Maven repository.
10 years ago
David Yonge-Mallo
ceb80c8e9b
regenerate all generated files
10 years ago
David Yonge-Mallo
d5fafdc80c
eliminate unnecessary variables, slight refactoring
10 years ago
David Yonge-Mallo
fe5bfd45f5
use equals check for empty String instead of length check for consistency with nanoproto
10 years ago
David Yonge-Mallo
03ce6d2713
replace the generation from proto with generation from nanoproto
10 years ago
David Yonge-Mallo
ca8875d85d
replace Phonemetadata API for repeated fields, in preparation for switch to nanoproto
10 years ago
David Yonge-Mallo
792cf3cccb
replace Phonemetadata API for fields other than repeated fields, in preparation for switch to nanoproto
10 years ago
David Yonge-Mallo
1fdda75a88
remove Builders from Phonemetadata (BuildMetadataCppFromXml.writePhoneMetadataCollection temporarily disabled)
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
Fredrik Roubert
1107e0f7ce
Replace defined(COMPILER_GCC) with defined(__GNUC__).
The preprocessor expression defined(COMPILER_GCC) is used in code copied
from the Chromium project, but COMPILER_GCC is not defined by GCC itself,
but by the following expression in Chromium's build_config.h:
#if defined(__GNUC__)
#define COMPILER_GCC 1
#elif // ...
It must therefore be changed when copying the code out of the Chromium
code base.
11 years ago
Fredrik Roubert
768e05f0bc
When using C++11, use static_assert to implement COMPILE_ASSERT.
This is a cherry-pick from the Chromium project, from where this
implementation of basictypes.h once originated:
https://chromium.googlesource.com/chromium/src/+/539fc83
11 years ago
David Yonge-Mallo
7839421f44
update code.google.com links to github in the demo jsp and html.
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
d2d7a2cd78
Add Main-Class for cpp-build tools JAR.
- Adds the manifest entries to the basic tools JAR.
- Creates a symlink named like the dependencies JAR that was used
previously.
- Creates a symlink to the protobuf JAR.
In the manifest, the classpath reference to the protobuf JAR is a
relative filename. The second symbolic link satisfies that by linking to
the installed JAR.
This is only needed for people building packages
People who build normally with Maven will find that "mvn package" still
produces the original tools JAR which has its own Main-Class attribute
Author: daniel@pocock.pro
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
Lara Scheidegger
102e52a58b
CPP: libphonenumber v5.7 changes - small improvement to phone number extraction, updates to metadata after build tool changes.
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
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