Switch libaddressinput to use standard C++11 data types.

This introduces a hard dependency on compiling with a C++11 compliant
compiler, but gets rid of most of basictypes.h and all of scoped_ptr.h
and the associated integration glue of basictypes_override.h and the
I18N_ADDRESSINPUT_USE_BASICTYPES_OVERRIDE preprocessor symbol.
70 files changed
tree: 731d1a67364909c0451297ee1a96cfaa390f224d
  1. .gitignore
  2. .gitmodules
  3. .travis.yml
  4. AUTHORS
  5. CONTRIBUTORS
  6. LICENSE
  7. README.md
  8. android/
  9. build.gradle
  10. common/
  11. cpp/
  12. externals/
  13. settings.gradle
  14. testdata/
README.md

libaddressinput

Build Status

The libaddressinput project consists of two different libraries (one implemented in C++, one implemented in Java for Android) that use address metadata from Google's Address Data Service to assist application developers in collecting and handling postal addresses from all over the world.

These libraries can provide information about what input fields are required for a correct address input form for any country in the world and can validate an address to highlight input errors like missing required fields or invalid values.

C++

The C++ library (in very portable C++11) of libaddressinput is used in address-related projects in Chromium.

https://chromium.googlesource.com/chromium/src/+/master/third_party/libaddressinput/

Java

The Java library of libaddressinput is written for use in Android and includes an Android UI address input widget ready for use, but only the UI parts are tied to Android.

Non-UI code and tests can be run in Java SE, and the rest of the library could easily be adapted to run in any Java environment.

Mailing List

Using and developing libaddressinput is discussed on this mailing list:

https://groups.google.com/forum/#!forum/libaddressinput-discuss