platform/upstream/libphonenumber.git
14 years agoAdding inputDigitAndRememberPosition and getRememberedPosition methods to AsYouTypeFo...
jia.shao.peng [Mon, 24 May 2010 08:47:31 +0000 (08:47 +0000)]
Adding inputDigitAndRememberPosition and getRememberedPosition methods to AsYouTypeFormatter.java to provide better cursor control.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@25 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoDocumentation updates.
jia.shao.peng [Mon, 24 May 2010 08:45:45 +0000 (08:45 +0000)]
Documentation updates.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@24 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoRemove dependency on guava library.
jia.shao.peng [Fri, 21 May 2010 00:46:32 +0000 (00:46 +0000)]
Remove dependency on guava library.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@23 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoRemove white spaces.
jia.shao.peng [Fri, 21 May 2010 00:44:52 +0000 (00:44 +0000)]
Remove white spaces.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@22 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoThis change improves performance by (1) Create a cacheing mechanism to cache frequent...
jia.shao.peng [Thu, 20 May 2010 23:44:52 +0000 (23:44 +0000)]
This change improves performance by (1) Create a cacheing mechanism to cache frequently used cached regex (2) Precompile some known regexes. (3) Other misc improvements. It also (1) removes dependency to Guava library (2) creates new interfaces that accept parameters that could be reused instead of immutable ones.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@21 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoFix a bug where NANPA numbers starting with 1 were incorrectly formatted.
jia.shao.peng [Thu, 20 May 2010 18:23:03 +0000 (18:23 +0000)]
Fix a bug where NANPA numbers starting with 1 were incorrectly formatted.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@20 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoImprove performance of AsYouTypeFormatter by precompliling regular expressions and...
jia.shao.peng [Thu, 20 May 2010 00:54:27 +0000 (00:54 +0000)]
Improve performance of AsYouTypeFormatter by precompliling regular expressions and decrease object allocation by reusing StringBuffers.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@19 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoModify AsYouTypeFormatter to do no formatting for vanity numbers. Also improve the...
jia.shao.peng [Wed, 19 May 2010 22:28:24 +0000 (22:28 +0000)]
Modify AsYouTypeFormatter to do no formatting for vanity numbers. Also improve the formatter to handle numbers with variable lengths in subscriber number.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@18 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoRemove trailing whitespaces and formattings for results produced by AsYouTypeFormatter.
jia.shao.peng [Tue, 18 May 2010 03:58:25 +0000 (03:58 +0000)]
Remove trailing whitespaces and formattings for results produced by AsYouTypeFormatter.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@17 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoAdding new functionality: formatUsingOriginalNumberFormat.
jia.shao.peng [Fri, 14 May 2010 21:35:50 +0000 (21:35 +0000)]
Adding new functionality: formatUsingOriginalNumberFormat.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@16 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoRemoving whitespaces from files.
jia.shao.peng [Fri, 7 May 2010 09:26:01 +0000 (09:26 +0000)]
Removing whitespaces from files.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@15 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoRemove non-Ascii character from source code.
jia.shao.peng [Fri, 7 May 2010 08:43:23 +0000 (08:43 +0000)]
Remove non-Ascii character from source code.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@14 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoCorrect sync error in phonemetadata.proto.
jia.shao.peng [Fri, 7 May 2010 08:06:23 +0000 (08:06 +0000)]
Correct sync error in phonemetadata.proto.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@13 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoUpdate library to v2.2
jia.shao.peng [Thu, 6 May 2010 22:38:55 +0000 (22:38 +0000)]
Update library to v2.2

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@12 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoSet correct mime-type to dependent libaries.
jia.shao.peng [Mon, 3 May 2010 11:37:43 +0000 (11:37 +0000)]
Set correct mime-type to dependent libaries.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@11 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoUpdate library to v2.1
jia.shao.peng [Mon, 3 May 2010 11:24:47 +0000 (11:24 +0000)]
Update library to v2.1

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@10 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoremoving white spaces
jia.shao.peng [Wed, 24 Mar 2010 16:10:06 +0000 (16:10 +0000)]
removing white spaces

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@9 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoUpdate library to v2.0
jia.shao.peng [Sat, 20 Mar 2010 13:52:51 +0000 (13:52 +0000)]
Update library to v2.0

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@8 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoMinor documentation update.
jia.shao.peng [Mon, 1 Mar 2010 15:22:37 +0000 (15:22 +0000)]
Minor documentation update.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@7 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoReorganize project structure, creating resources directory.
jia.shao.peng [Fri, 12 Feb 2010 23:41:32 +0000 (23:41 +0000)]
Reorganize project structure, creating resources directory.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@6 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoseparate unittests to test directory; modified build.xml
jia.shao.peng [Fri, 12 Feb 2010 00:18:07 +0000 (00:18 +0000)]
separate unittests to test directory; modified build.xml

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@5 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoremove unused import statements.
jia.shao.peng [Thu, 11 Feb 2010 21:34:22 +0000 (21:34 +0000)]
remove unused import statements.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@4 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoswitch the library to use protobuf lite instead of the full version.
jia.shao.peng [Thu, 11 Feb 2010 19:59:01 +0000 (19:59 +0000)]
switch the library to use protobuf lite instead of the full version.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@3 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoChecking in first version of java libphonenumber
jia.shao.peng [Wed, 10 Feb 2010 17:54:46 +0000 (17:54 +0000)]
Checking in first version of java libphonenumber

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@2 ee073f10-1060-11df-b6a4-87a95322a99c

14 years agoInitial directory structure.
(no author) [Wed, 3 Feb 2010 01:10:34 +0000 (01:10 +0000)]
Initial directory structure.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@1 ee073f10-1060-11df-b6a4-87a95322a99c