summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* CPP/JAVA: libphonenumber v5.7.1: Changing metadata generation to exclude ↵lararennie@google.com2013-08-085-50/+116
| | | | | | | | irrelevant data. No change in functionality. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@600 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: libphonenumber v5.7 changes - small improvement to phone number ↵lararennie@google.com2013-07-191-0/+0
| | | | | | extraction, updates to metadata after build tool changes. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@598 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: Add support for loading short number metadatadavinci@google.com2013-07-175-18/+29
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@594 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA/DATA/TOOLS: Adding some short number metadata separately, and adjusting ↵lararennie@google.com2013-07-124-8/+36
| | | | | | the build tools to handle this. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@589 ee073f10-1060-11df-b6a4-87a95322a99c
* DATA: Change "PhoneNumberMetaData" to "PhoneNumberMetadata" throughout for ↵davinci@google.com2013-07-121-1/+1
| | | | | | consistency git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@587 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Make libphonenumber depend on its own base/ when it's used in Chromium.philip.liard@gmail.com2013-04-301-2/+12
| | | | | | | | | | | | | | | | | | 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 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@568 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Move base/ to phonenumbers/.philip.liard@gmail.com2013-04-301-1/+1
| | | | | | | | | | | | 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 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@567 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA/CPP: Release 5.2. Metadata updates and bug fixes. See release notes for ↵dbeaumont@google.com2012-10-116-78/+125
| | | | | | more details. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@532 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Update CMake rules for Google Test to not require a pre-compiled staticroubert@google.com2012-10-052-25/+49
| | | | | | | library but be able to build the library from source as current practice is. Review URL: https://codereview.appspot.com/6602047 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@531 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Link generate_geocoding_data_test with pthread.roubert@google.com2012-09-271-0/+4
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@528 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: libphonenumber 5.1: AYTF changes and metadata updates.lararennie@google.com2012-09-044-24/+38
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@516 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Fix geocoding data parser.philip.liard@gmail.com2012-07-251-8/+3
| | | | | | | | | Patch contributed by pmezard. The "end" iterator must stay on the trailing LF, for it is not included in the line characters sequence. Also fix the test which should have failed. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@510 ee073f10-1060-11df-b6a4-87a95322a99c
* changes to allow for generation of alternate format metadatadbeaumont@google.com2012-07-208-268/+673
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@507 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Add unit test for ReplaceAll().philip.liard@gmail.com2012-07-093-1/+15
| | | | | | Patch contributed by pmezard. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@490 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Port changes for alternate formats.roubert@google.com2012-07-054-23/+21
| | | | | | | Review URL: https://codereview.appspot.com/6350083 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@488 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Update to use refactored BuildMetadataProtoFromXml tool.roubert@google.com2012-07-031-0/+0
| | | | | | | Review URL: https://codereview.appspot.com/6353060 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@485 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Refactor the BuildMetadataProtoFromXml tool to:roubert@google.com2012-07-032-103/+210
| | | | | | | | | | | | | | | | | | | | | | | | | - 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 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@484 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Update to use the new version of the BuildMetadataProtoFromXml that ↵roubert@google.com2012-06-291-0/+0
| | | | | | | | | can also build data files for alternate formats. Review URL: https://codereview.appspot.com/6351054 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@481 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Update the BuildMetadataProtoFromXml tool to build data files for ↵roubert@google.com2012-06-291-13/+29
| | | | | | | | | alternate formats as well. Review URL: https://codereview.appspot.com/6355051 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@480 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Remove unused bit_cast() in basictypes.h.philip.liard@gmail.com2012-06-282-434/+0
| | | | | | | | | This was also causing a compilation error with GCC 4.8. This CL also removes basictypes.h.orig accidentally added in the previous revision. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@477 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Add geocoding data generator.philip.liard@gmail.com2012-06-278-0/+1575
| | | | | | Patch contributed by pmezard. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@476 ee073f10-1060-11df-b6a4-87a95322a99c
* Java/JS build tools: Adding missing semicolon.lararennie@google.com2012-06-211-1/+1
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@469 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: libphonenumber v4.9. Patch prepared by davinci.lararennie@google.com2012-06-211-4/+5
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@468 ee073f10-1060-11df-b6a4-87a95322a99c
* JS: Fix duplicate keys in countryToMetadata maptronikos@gmail.com2012-05-102-0/+5
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@453 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Add missing LD flags in continuous-integration.shphilip.liard@gmail.com2012-05-091-12/+18
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@450 ee073f10-1060-11df-b6a4-87a95322a99c
* svn:ignore generated files and update ↵tronikos@gmail.com2012-03-271-0/+0
| | | | | | java-build-1.0-SNAPSHOT-jar-with-dependencies.jar git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@437 ee073f10-1060-11df-b6a4-87a95322a99c
* JS: libphonenumber 4.5tronikos2012-01-271-0/+2
| | | | | | Review URL: http://codereview.appspot.com/5574080 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@422 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: libphonenumber 4.5jia.shao.peng2012-01-194-1/+6
| | | | | | Review URL: http://codereview.appspot.com/5532089 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@415 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: libphonenumber v4.4lararennie@google.com2011-12-093-0/+2
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@411 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: Add Maven support for the libphonenumber demo.philip.liard@gmail.com2011-12-081-2/+3
| | | | | | | | | | | | | That lets the demo be part of the libphonenumber Maven project thus adds the following benefits: - Automatically update the version of the demo and the libphonenumber artifact the demo depends on when performing a release. - Let Maven handle the deployment of the demo to AppEngine without any need to install the AppEngine SDK. - No need to push the dependency JARs (servlet, apache common fileupload/io) even if they are still here to let you use Ant if you prefer. Note that this CL depends on CL 5395054. Review URL: http://codereview.appspot.com/5405041 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@409 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: Add Maven support for offline phone number geocoder.philip.liard@gmail.com2011-11-224-5/+8
| | | | | | | | | | | | | | | | | | 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 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@391 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: Move java code to java/libphonenumber.philip.liard@gmail.com2011-11-215-7/+7
| | | | | | | | | | This is required for the incoming Maven refactoring adding a separate geocoder module. BUG=57 Review URL: http://codereview.appspot.com/5376090 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@390 ee073f10-1060-11df-b6a4-87a95322a99c
* JS: libphonenumber 4.2.tronikos2011-11-182-0/+13
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@389 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA: libphonenumber 4.2. Includes rest of emergency number data, new region SX.lararennie@google.com2011-11-104-8/+22
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@382 ee073f10-1060-11df-b6a4-87a95322a99c
* - Fix formatNumberForMobileDialing that is modifying its input PhoneNumber.tronikos@gmail.com2011-10-282-8/+4
| | | | | | | | | - Fix incorect use of string equality. - Fix testGetEnglishDataPath that is failing under windows. - Remove unused method and variables. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@380 ee073f10-1060-11df-b6a4-87a95322a99c
* JS: libphonenumber 4.1.tronikos@gmail.com2011-10-241-0/+2
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@379 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA,CPP: libphonenumber 4.1.philip.liard@gmail.com2011-10-202-0/+0
| | | | | | Review URL: http://codereview.appspot.com/5303049 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@374 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Refactor GenerateAreaCodeData.philip.liard@gmail.com2011-10-194-72/+148
| | | | | | Review URL: http://codereview.appspot.com/5246051 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@372 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Change package to com.google.i18n.phonenumbers.philip.liard@gmail.com2011-10-1924-29/+29
| | | | | | Review URL: http://codereview.appspot.com/5193044 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@371 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA,GEODATA: libphonenumber 4.0.lararennie@google.com2011-10-065-12/+215
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@362 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Add Appengine support to the geodata combination tool.philip.liard@gmail.com2011-09-224-0/+64
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@358 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Add Servlet for Geodata combination tool.philip.liard@gmail.com2011-09-225-7/+131
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@357 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Add phonenumbermatcher.philip.liard@gmail.com2011-09-211-2/+14
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@356 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Add AsYouTypeFormatter (port from Java).philip.liard@gmail.com2011-09-141-2/+8
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@352 ee073f10-1060-11df-b6a4-87a95322a99c
* JAVA,GEODATA: libphonenumber 3.9.philip.liard@gmail.com2011-09-135-15/+20
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@348 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Update JARs to let the generated files contain the new license.philip.liard@gmail.com2011-09-072-0/+0
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@343 ee073f10-1060-11df-b6a4-87a95322a99c
* Changing license to Libphonenumber Authors.philip.liard@gmail.com2011-08-1817-18/+18
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@338 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Add Java tool to combine the geocoding data.philip.liard@gmail.com2011-08-184-0/+570
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@337 ee073f10-1060-11df-b6a4-87a95322a99c
* TOOLS: Fix C++ installation test in continuous integration script.philip.liard@gmail.com2011-08-171-1/+1
| | | | git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@336 ee073f10-1060-11df-b6a4-87a95322a99c
* CPP: Fix bug in installation step and add test to the continuous integration ↵philip.liard@gmail.com2011-08-171-3/+30
| | | | | | script. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@335 ee073f10-1060-11df-b6a4-87a95322a99c