48dd8e86a81d2ab40eb762975c8211c225002bf0 |
|
22-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Tolerate nested vCard. vCard 2.1 requires to handle nest (or grouping) while our parser has not supported it well. One support we have had is ignoring top element when FLAG_TORELATE_NEST is specified, which isn't appropriate. e.g. BEGIN:VCARD X-VENDER-SPECIFIC-META-INFO:XXXX ... BEGIN:VCARD (Actual content) END:VCARD END:VCARD This change lets the vCard lib import nested vCard. One problem around handling the case above is that, after having this change, we'll get two vCard elements instead of one, as the top element isn't ignored on parser level any more, while we don't want the top-level data. To solve the problem, this change also makes vCard importer ignore such empty data. This changes just flattens nested vCard. Caller needs to take care of grouping/nest case using VCardEntry#getChildren() if it wants to support grouping feature. - introduce "children" into VCardEntry, which enables users to handle nested vCard on their side. - make vCard parsers accept nest cases. - make vCard interpreters handle nest cases. - make VCardEntry ignore empty data during constructing insert opertions. - make tests accept nest cases. - add additional test cases for verifying more details. - add debug string capability. - remove codes for performance measurement. Bug: 4066223 Change-Id: Id8af659c2cc0bb0db59c8de239d9d95e9d440089
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
02117b3d19787ff65486b9f9db8abd338ae4c9f9 |
|
11-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use same TAG in vCard Tiny cleanups are included Bug: 4066223 Change-Id: I0b121e93ea5c624325d44b8aa6bab42d9a9a24fb
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
da2f6ef422b360827f2c5231552d8c9fad0ed8b1 |
|
23-Jan-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Let the lib use properties in 4.0 rev 15 Change-Id: I048614aef9ec32cb124d057693dfe6d037a2223e
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
422643669a44d08ca8b22a73286fae988a288b0e |
|
08-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add SIP export support for vCard 3.0 and 4.0. Change-Id: I5adc7d375b79c8ae9671938c78f9bdc57075aa28
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
88d0f1ef715f2e1209eba5d175b1b71c556fa8b0 |
|
05-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add SIP support for vCard 3.0. Change-Id: I48b7057dc802c37936e31fbe95798af6b2c06a5b
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
06ae82316d0b5f7222a7a1d15b7d03df88fdea15 |
|
24-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Fix vCard importer so that it imports IM correctly. Bug: 2944990 Change-Id: I9aba68f03569b9288c4286b73bf3e4e4b84e6d1a
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
4560bdde6dd75cca49fc55b58aafb5d416b88ca3 |
|
20-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make vCard 4.0 parser support SORT-AS parameter. Add unit test for it. Fix bugs in foundation classes.. Change-Id: I8b5ca1fd49ef3e729ec85429fb8110efde5091f1
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
d5a8fc2a35c69fc34df35fd545ccf83d548ba50c |
|
13-Jul-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Rename a test file for comma-separated values in VALUE fields. Also add TODO for supporting the values. Bug: 2835996 Change-Id: I02c9d8735cee943e307fbbe75f0635bad636c396
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
c13101ba38c929d91dcb68e21165c82c19af35d7 |
|
06-Jul-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Anniversary support. Bug: 2794181 Change-Id: I0e7997c81a1e993a4a02b38b67fb6d0d6753c007
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
be378d5b188f51cf717e5309e3c39180e85833a8 |
|
02-Jul-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add a first implementation for vCard 4.0. TODO: need unit tests. Bug: 2794181 Change-Id: I6be681f79479e9d6d436895e1b5539af54539f9c
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|
4199c54c527330ac01699b176e7bca186a3aa3a4 |
|
04-Jun-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Move vCard code in platform/framework/base to platform/framework/opt/vcard. See also 33m4347ad6 in platform/framework/base. Bug: 2735156 Change-Id: I64b1bd42515a32b354396a030ec77d1ea3c5a08c
/frameworks/opt/vcard/java/com/android/vcard/VCardConstants.java
|