You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/04/23 20:56:27 UTC

[01/10] git commit: CB-6114 Incremented plugin version on dev branch.

Repository: cordova-plugin-contacts
Updated Branches:
  refs/heads/master 6ed8b906b -> 134b3a6ba


CB-6114 Incremented plugin version on dev branch.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/427d1d60
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/427d1d60
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/427d1d60

Branch: refs/heads/master
Commit: 427d1d60c43e65d25331d587dcdf2ac9996b87c1
Parents: 716ead0
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Feb 27 12:29:15 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Feb 27 12:29:15 2014 -0500

----------------------------------------------------------------------
 plugin.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/427d1d60/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index bf2aeb8..1294b13 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -4,7 +4,7 @@
     xmlns:rim="http://www.blackberry.com/ns/widgets"
     xmlns:android="http://schemas.android.com/apk/res/android"
     id="org.apache.cordova.contacts"
-    version="0.2.9">
+    version="0.2.10-dev">
 
     <name>Contacts</name>
     <description>Cordova Contacts Plugin</description>


[04/10] git commit: manually merging CB-3208

Posted by ia...@apache.org.
manually merging CB-3208


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/db17e0b2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/db17e0b2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/db17e0b2

Branch: refs/heads/master
Commit: db17e0b241ec9124537db09d8778e05385bd60bf
Parents: 9712e9b
Author: Piotr Zalewa <pi...@zalewa.info>
Authored: Wed Feb 26 16:04:25 2014 +0100
Committer: hermwong <he...@gmail.com>
Committed: Tue Mar 4 11:54:57 2014 -0800

----------------------------------------------------------------------
 src/firefoxos/ContactsProxy.js | 58 ++++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/db17e0b2/src/firefoxos/ContactsProxy.js
----------------------------------------------------------------------
diff --git a/src/firefoxos/ContactsProxy.js b/src/firefoxos/ContactsProxy.js
index b0e2706..a5b6667 100644
--- a/src/firefoxos/ContactsProxy.js
+++ b/src/firefoxos/ContactsProxy.js
@@ -41,7 +41,7 @@ function _hasId(id) {
 }
 
 // Extend mozContact prototype to provide update from Cordova
-mozContact.prototype.updateFromCordova = function(contact) {
+function updateFromCordova(contact, fromContact) {
 
     function exportContactFieldArray(contactFieldArray, key) {
         if (!key) {
@@ -100,45 +100,45 @@ mozContact.prototype.updateFromCordova = function(contact) {
     var baseArrayFields = [['displayName', 'name'], ['nickname']];
     var baseStringFields = [];
     var j = 0; while(field = nameFields[j++]) {
-      if (contact.name[field[0]]) {
-        this[field[1] || field[0]] = contact.name[field[0]].split(' ');
+      if (fromContact.name[field[0]]) {
+        contact[field[1] || field[0]] = fromContact.name[field[0]].split(' ');
       }
     }
     j = 0; while(field = baseArrayFields[j++]) {
-      if (contact[field[0]]) {
-        this[field[1] || field[0]] = contact[field[0]].split(' ');
+      if (fromContact[field[0]]) {
+        contact[field[1] || field[0]] = fromContact[field[0]].split(' ');
       }
     }
     j = 0; while(field = baseStringFields[j++]) {
-      if (contact[field[0]]) {
-        this[field[1] || field[0]] = contact[field[0]];
+      if (fromContact[field[0]]) {
+        contact[field[1] || field[0]] = fromContact[field[0]];
       }
     }
-    if (contact.birthday) {
-      this.bday = new Date(contact.birthday);
+    if (fromContact.birthday) {
+      contact.bday = new Date(fromContact.birthday);
     }
-    if (contact.emails) {
-        var emails = exportContactField(contact.emails)
-        this.email = emails;
+    if (fromContact.emails) {
+        var emails = exportContactField(fromContact.emails)
+        contact.email = emails;
     }
-    if (contact.categories) {
-        this.category = exportContactFieldArray(contact.categories);
+    if (fromContact.categories) {
+        contact.category = exportContactFieldArray(fromContact.categories);
     }
-    if (contact.addresses) {
-        this.adr = exportAddress(contact.addresses);
+    if (fromContact.addresses) {
+        contact.adr = exportAddress(fromContact.addresses);
     }
-    if (contact.phoneNumbers) {
-        this.tel = exportContactField(contact.phoneNumbers);
+    if (fromContact.phoneNumbers) {
+        contact.tel = exportContactField(fromContact.phoneNumbers);
     }
-    if (contact.organizations) {
+    if (fromContact.organizations) {
         // XXX: organizations are saved in 2 arrays - org and jobTitle
         //      depending on the usecase it might generate issues
         //      where wrong title will be added to an organization
-        this.org = exportContactFieldArray(contact.organizations, 'name');
-        this.jobTitle = exportContactFieldArray(contact.organizations, 'title');
+        contact.org = exportContactFieldArray(fromContact.organizations, 'name');
+        contact.jobTitle = exportContactFieldArray(fromContact.organizations, 'title');
     }
-    if (contact.note) {
-        this.note = [contact.note];
+    if (fromContact.note) {
+        contact.note = [fromContact.note];
     }
 }
 
@@ -287,7 +287,7 @@ function createMozillaFromCordova(successCB, errorCB, contact) {
         filterBy: ['id'], filterValue: contact.id, filterOp: 'equals'});
       search.onsuccess = function() {
         moz = search.result[0];
-        moz.updateFromCordova(contact);
+        updateFromCordova(moz, contact);
         successCB(moz);
       };
       search.onerror = errorCB;
@@ -296,11 +296,11 @@ function createMozillaFromCordova(successCB, errorCB, contact) {
 
     // create empty contact
     moz = new mozContact();
-    if ('init' in moz) {
+    // if ('init' in moz) {
       // 1.2 and below compatibility
-      moz.init();
-    }
-    moz.updateFromCordova(contact);
+      // moz.init();
+    // }
+    updateFromCordova(moz, contact);
     successCB(moz);
 }
 
@@ -461,4 +461,4 @@ module.exports = {
     search: search
 };    
     
-require("cordova/firefoxos/commandProxy").add("Contacts", module.exports); 
+require("cordova/firefoxos/commandProxy").add("Contacts", module.exports);
\ No newline at end of file


[07/10] git commit: CB-6126 [BlackBerry10] Update docs quirks section for fields which are supported

Posted by ia...@apache.org.
CB-6126 [BlackBerry10] Update docs quirks section for fields which are supported


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/3d79c903
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/3d79c903
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/3d79c903

Branch: refs/heads/master
Commit: 3d79c9035b5c0e46db8fd2ac180efba538dd6cf6
Parents: 910f80f
Author: Bryan Higgins <bh...@blackberry.com>
Authored: Mon Apr 14 09:11:06 2014 -0400
Committer: Bryan Higgins <bh...@blackberry.com>
Committed: Mon Apr 14 09:11:54 2014 -0400

----------------------------------------------------------------------
 doc/index.md | 22 +---------------------
 1 file changed, 1 insertion(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/3d79c903/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 0a78d4c..f27ab52 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -267,27 +267,7 @@ for details.
 
 ### BlackBerry 10 Quirks
 
-- __id__: Supported.  Assigned by the device when saving the contact.
-
-- __displayName__: Supported.  Stored in BlackBerry __user1__ field.
-
-- __nickname__: Not supported, returning `null`.
-
-- __phoneNumbers__: Partially supported.  Phone numbers are stored in BlackBerry fields __homePhone1__ and __homePhone2__ if _type_ is 'home', __workPhone1__ and __workPhone2__ if _type_ is 'work', __mobilePhone__ if _type_ is 'mobile', __faxPhone__ if _type_ is 'fax', __pagerPhone__ if _type_ is 'pager', and __otherPhone__ if _type_ is none of the above.
-
-- __emails__: Partially supported.  The first three email addresses are stored in the BlackBerry __email1__, __email2__, and __email3__ fields, respectively.
-
-- __addresses__: Partially supported.  The first and second addresses are stored in the BlackBerry __homeAddress__ and __workAddress__ fields, respectively.
-
-- __ims__: Not supported, returning `null`.
-
-- __organizations__: Partially supported.  The __name__ and __title__ of the first organization are stored in the BlackBerry __company__ and __title__ fields, respectively.
-
-- __photos__: Partially supported.  A single thumbnail-sized photo is supported.  To set a contact's photo, pass in a either a base64-encoded image, or a URL pointing to the image.  The image is scaled down before saving to the BlackBerry contacts database.   The contact photo is returned as a base64-encoded image.
-
-- __categories__:  Partially supported.  Only _Business_ and _Personal_ categories are supported.
-
-- __urls__:  Partially supported. The first URL is stored in BlackBerry __webpage__ field.
+- __id__: Assigned by the device when saving the contact.
 
 ### FirefoxOS Quirks
 


[10/10] git commit: CB-6452 Updated version and RELEASENOTES.md for release 0.2.10

Posted by ia...@apache.org.
CB-6452 Updated version and RELEASENOTES.md for release 0.2.10


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/134b3a6b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/134b3a6b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/134b3a6b

Branch: refs/heads/master
Commit: 134b3a6ba14e7bdecd934bf8af8b7caa5ef26349
Parents: e55db4a
Author: Ian Clelland <ic...@chromium.org>
Authored: Thu Apr 17 10:53:20 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Thu Apr 17 10:53:20 2014 -0400

----------------------------------------------------------------------
 RELEASENOTES.md | 6 ++++++
 plugin.xml      | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/134b3a6b/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index c7e7464..30f2c2f 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -76,3 +76,9 @@
 ### 0.2.9 (Feb 26, 2014)
 * CB-6086 Fix typo in ffos part of plugin.xml: Camera -> Contacts
 * CB-5994 Switch Contact ID lookup to use Raw contact id.
+
+### 0.2.10 (Apr 17, 2014)
+* CB-6126: [BlackBerry10] Update docs quirks section for fields which are supported
+* CB-6212: [iOS] fix warnings compiled under arm64 64-bit
+* CB-6460: Update license headers
+* Add NOTICE file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/134b3a6b/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 83d8470..928ba20 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -22,7 +22,7 @@
     xmlns:rim="http://www.blackberry.com/ns/widgets"
     xmlns:android="http://schemas.android.com/apk/res/android"
     id="org.apache.cordova.contacts"
-    version="0.2.10-dev">
+    version="0.2.10">
 
     <name>Contacts</name>
     <description>Cordova Contacts Plugin</description>


[06/10] git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit

Posted by ia...@apache.org.
CB-6212 iOS: fix warnings compiled under arm64 64-bit

-for CDVContacts.m


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/910f80fa
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/910f80fa
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/910f80fa

Branch: refs/heads/master
Commit: 910f80fae8fe79eb8342bcd737b663c2d5f62d78
Parents: 0d7bf39
Author: James Jong <wj...@gmail.com>
Authored: Thu Mar 13 09:39:14 2014 -0400
Committer: James Jong <wj...@gmail.com>
Committed: Thu Mar 13 09:42:04 2014 -0400

----------------------------------------------------------------------
 src/ios/CDVContacts.m | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/910f80fa/src/ios/CDVContacts.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVContacts.m b/src/ios/CDVContacts.m
index aa0c9c7..56ca2ab 100644
--- a/src/ios/CDVContacts.m
+++ b/src/ios/CDVContacts.m
@@ -135,7 +135,7 @@
     [abHelper createAddressBook: ^(ABAddressBookRef addrBook, CDVAddressBookAccessError* errCode) {
         if (addrBook == NULL) {
             // permission was denied or other error - return error
-            CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:errCode ? errCode.errorCode:UNKNOWN_ERROR];
+            CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:errCode ? (int)errCode.errorCode:UNKNOWN_ERROR];
             [weakSelf.commandDelegate sendPluginResult:result callbackId:callbackId];
             return;
         }
@@ -269,7 +269,7 @@
             // iOS 4 & 5
             addrBook = ABAddressBookCreate();
         }
-        ABRecordRef person = ABAddressBookGetPersonWithRecordID(addrBook, [[picker.pickedContactDictionary objectForKey:kW3ContactId] integerValue]);
+        ABRecordRef person = ABAddressBookGetPersonWithRecordID(addrBook, (int)[[picker.pickedContactDictionary objectForKey:kW3ContactId] integerValue]);
         if (person) {
             CDVContact* pickedContact = [[CDVContact alloc] initFromABRecord:(ABRecordRef)person];
             NSArray* fields = [picker.options objectForKey:@"fields"];
@@ -304,7 +304,7 @@
         [abHelper createAddressBook: ^(ABAddressBookRef addrBook, CDVAddressBookAccessError* errCode) {
             if (addrBook == NULL) {
                 // permission was denied or other error - return error
-                CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:errCode ? errCode.errorCode:UNKNOWN_ERROR];
+                CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:errCode ? (int)errCode.errorCode:UNKNOWN_ERROR];
                 [weakSelf.commandDelegate sendPluginResult:result callbackId:callbackId];
                 return;
             }
@@ -333,7 +333,7 @@
                 if (foundRecords && ([foundRecords count] > 0)) {
                     // create Contacts and put into matches array
                     // doesn't make sense to ask for all records when multiple == NO but better check
-                    int xferCount = multiple == YES ? [foundRecords count] : 1;
+                    int xferCount = multiple == YES ? (int)[foundRecords count] : 1;
                     matches = [NSMutableArray arrayWithCapacity:xferCount];
 
                     for (int k = 0; k < xferCount; k++) {
@@ -346,7 +346,7 @@
                 foundRecords = (__bridge_transfer NSArray*)ABAddressBookCopyArrayOfAllPeople(addrBook);
                 matches = [NSMutableArray arrayWithCapacity:1];
                 BOOL bFound = NO;
-                int testCount = [foundRecords count];
+                int testCount = (int)[foundRecords count];
 
                 for (int j = 0; j < testCount; j++) {
                     CDVContact* testContact = [[CDVContact alloc] initFromABRecord:(__bridge ABRecordRef)[foundRecords objectAtIndex:j]];
@@ -365,7 +365,7 @@
                 // convert to JS Contacts format and return in callback
                 // - returnFields  determines what properties to return
                 @autoreleasepool {
-                    int count = multiple == YES ? [matches count] : 1;
+                    int count = multiple == YES ? (int)[matches count] : 1;
 
                     for (int i = 0; i < count; i++) {
                         CDVContact* newContact = [matches objectAtIndex:i];
@@ -401,7 +401,7 @@
             CDVPluginResult* result = nil;
             if (addrBook == NULL) {
                 // permission was denied or other error - return error
-                result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:errorCode ? errorCode.errorCode:UNKNOWN_ERROR];
+                result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:errorCode ? (int)errorCode.errorCode:UNKNOWN_ERROR];
                 [weakSelf.commandDelegate sendPluginResult:result callbackId:callbackId];
                 return;
             }
@@ -450,7 +450,7 @@
             CFRelease(addrBook);
 
             if (bIsError) {
-                result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:errCode];
+                result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:(int)errCode];
             }
 
             if (result) {
@@ -472,7 +472,7 @@
         CDVPluginResult* result = nil;
         if (addrBook == NULL) {
             // permission was denied or other error - return error
-            result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:errorCode ? errorCode.errorCode:UNKNOWN_ERROR];
+            result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:errorCode ? (int)errorCode.errorCode:UNKNOWN_ERROR];
             [weakSelf.commandDelegate sendPluginResult:result callbackId:callbackId];
             return;
         }
@@ -516,7 +516,7 @@
             CFRelease(addrBook);
         }
         if (bIsError) {
-            result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:errCode];
+            result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt:(int)errCode];
         }
         if (result) {
             [weakSelf.commandDelegate sendPluginResult:result callbackId:callbackId];


[09/10] git commit: CB-6460: Update license headers

Posted by ia...@apache.org.
CB-6460: Update license headers


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/e55db4a9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/e55db4a9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/e55db4a9

Branch: refs/heads/master
Commit: e55db4a91c31b4dbc77954fc2de281a737ab31f6
Parents: f067e52
Author: Ian Clelland <ic...@chromium.org>
Authored: Wed Apr 16 16:15:52 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Wed Apr 16 16:15:52 2014 -0400

----------------------------------------------------------------------
 plugin.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/e55db4a9/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index d3981da..83d8470 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     xmlns:rim="http://www.blackberry.com/ns/widgets"


[03/10] git commit: Merge branch 'master' into dev

Posted by ia...@apache.org.
Merge branch 'master' into dev


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/9712e9be
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/9712e9be
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/9712e9be

Branch: refs/heads/master
Commit: 9712e9be9469af5082727544d5f069e03ffa2ff6
Parents: 5738562 431eeea
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Feb 27 16:04:37 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Feb 27 16:04:37 2014 -0500

----------------------------------------------------------------------

----------------------------------------------------------------------



[02/10] git commit: Add NOTICE file

Posted by ia...@apache.org.
Add NOTICE file


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/5738562d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/5738562d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/5738562d

Branch: refs/heads/master
Commit: 5738562d7e410fae2f1b0c94b0771cfe84820b40
Parents: 427d1d6
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Feb 27 15:36:31 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Feb 27 15:36:31 2014 -0500

----------------------------------------------------------------------
 NOTICE | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/5738562d/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..8ec56a5
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,5 @@
+Apache Cordova
+Copyright 2012 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).


[08/10] git commit: Merge branch 'master' into dev

Posted by ia...@apache.org.
Merge branch 'master' into dev


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/f067e52f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/f067e52f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/f067e52f

Branch: refs/heads/master
Commit: f067e52f13930bf4ee2741e122117893e6e222fb
Parents: 3d79c90 6ed8b90
Author: Ian Clelland <ic...@chromium.org>
Authored: Wed Apr 16 10:54:37 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Wed Apr 16 10:54:37 2014 -0400

----------------------------------------------------------------------
 doc/index.md                 |  40 ++++++++--
 plugin.xml                   |   7 +-
 src/windows8/ContactProxy.js | 151 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 189 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/f067e52f/doc/index.md
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/f067e52f/plugin.xml
----------------------------------------------------------------------


[05/10] git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit

Posted by ia...@apache.org.
CB-6212 iOS: fix warnings compiled under arm64 64-bit


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/0d7bf398
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/0d7bf398
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/0d7bf398

Branch: refs/heads/master
Commit: 0d7bf3980516b577deae0ff7f365b5c53116cbc1
Parents: db17e0b
Author: James Jong <wj...@gmail.com>
Authored: Tue Mar 11 13:28:34 2014 -0400
Committer: James Jong <wj...@gmail.com>
Committed: Tue Mar 11 13:28:34 2014 -0400

----------------------------------------------------------------------
 src/ios/CDVContact.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/0d7bf398/src/ios/CDVContact.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVContact.m b/src/ios/CDVContact.m
index 82704ea..5bf9f3c 100644
--- a/src/ios/CDVContact.m
+++ b/src/ios/CDVContact.m
@@ -1706,7 +1706,7 @@ static NSDictionary* org_apache_cordova_contacts_defaultFields = nil;
     BOOL bFound = NO;
 
     NSArray* values = [self valuesForProperty:propId inRecord:self.record];  // array of dictionaries (as CFDictionaryRef)
-    int dictCount = [values count];
+    NSUInteger dictCount = [values count];
 
     // for ims dictionary contains with service (w3C type) and username (W3c value)
     // for addresses dictionary contains street, city, state, zip, country