Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 055F1CAB6 for ; Fri, 27 Apr 2012 13:47:56 +0000 (UTC) Received: (qmail 22057 invoked by uid 500); 27 Apr 2012 13:47:56 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 21961 invoked by uid 500); 27 Apr 2012 13:47:55 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 21946 invoked by uid 99); 27 Apr 2012 13:47:55 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 13:47:55 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 01DF9EC78; Fri, 27 Apr 2012 13:47:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: longwei@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [1/2] qt commit: minor updates for mobile-spec test cases Message-Id: <20120427134755.01DF9EC78@tyr.zones.apache.org> Date: Fri, 27 Apr 2012 13:47:54 +0000 (UTC) Updated Branches: refs/heads/master d4facfb6f -> b6c00928f minor updates for mobile-spec test cases Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/commit/b6c00928 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/tree/b6c00928 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/diff/b6c00928 Branch: refs/heads/master Commit: b6c00928f08cc9fefb77d8b2efc96f22168cb0e4 Parents: 95bcfc6 Author: Longwei Su Authored: Fri Apr 27 09:43:13 2012 -0400 Committer: Longwei Su Committed: Fri Apr 27 09:43:13 2012 -0400 ---------------------------------------------------------------------- qml/main_qt5.qml | 2 +- src/plugins/media.h | 8 +- www/index.html | 156 ++++++++++++++++++++++++-------------------- www/index_qt5.html | 59 ----------------- www/js/contacts.js | 3 +- www/phonegap-1.3.0.js | 15 ++++ xml/plugins.xml | 2 +- 7 files changed, 109 insertions(+), 136 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/b6c00928/qml/main_qt5.qml ---------------------------------------------------------------------- diff --git a/qml/main_qt5.qml b/qml/main_qt5.qml index 86bfa48..efc2b72 100644 --- a/qml/main_qt5.qml +++ b/qml/main_qt5.qml @@ -16,7 +16,7 @@ WebView { } //Uncomment when it will be available //experimental.setFlickableViewportEnabled: false -// experimental.useTraditionalDesktopBehaviour: true + //experimental.useTraditionalDesktopBehaviour: true Component.onCompleted: { http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/b6c00928/src/plugins/media.h ---------------------------------------------------------------------- diff --git a/src/plugins/media.h b/src/plugins/media.h index 05388ab..78e0654 100644 --- a/src/plugins/media.h +++ b/src/plugins/media.h @@ -18,11 +18,11 @@ #define MEDIA_H #include "../cplugin.h" -#include -#include +#include +#include #include -#include -#include +#include +#include //#ifdef QTM_NAMESPACE //QTM_USE_NAMESPACE http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/b6c00928/www/index.html ---------------------------------------------------------------------- diff --git a/www/index.html b/www/index.html old mode 100644 new mode 100755 index 5f38cb3..3fb8e67 --- a/www/index.html +++ b/www/index.html @@ -1,73 +1,89 @@ - - - - Cordova-Qt Test Page - - - - - - - - - - - - - - + + + + + + Cordova Mobile Spec + + + - + + + + + + +

Events

+
+ Results:
+ +
+ +

Action

+
Intercept backbutton
+
Stop intercept of backbutton
+
Intercept menubutton
+
Stop intercept of menubutton
+
Intercept searchbutton
+
Stop intercept of searchbutton
+
Intercept resume
+
Stop intercept of resume
+
Intercept pause
+
Stop intercept of pause
+
Intercept online
+
Stop intercept of online
+
Intercept offline
+
Stop intercept of offline
+ +

Back
+ http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/b6c00928/www/index_qt5.html ---------------------------------------------------------------------- diff --git a/www/index_qt5.html b/www/index_qt5.html deleted file mode 100644 index 5312fd5..0000000 --- a/www/index_qt5.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - Cordova-Qt5 Test Page - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
-
- -
-
Location
- -
-
Acceleration
- -
-
Heading
- -
-
- -
-
- -
-
- - http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/b6c00928/www/js/contacts.js ---------------------------------------------------------------------- diff --git a/www/js/contacts.js b/www/js/contacts.js index eb78db5..b56b4dd 100644 --- a/www/js/contacts.js +++ b/www/js/contacts.js @@ -68,6 +68,7 @@ ContactName.create = function(obj) { var result = new ContactName() result.familyName = obj.familyName result.givenName = obj.givenName + result.formatted = obj.formatted result.middleName = obj.middleName result.honorificPrefix = obj.honorificPrefix result.honorificSuffix = obj.honorificSuffix @@ -156,7 +157,7 @@ Contact.create = function(obj) { var result = new Contact() result.id = obj.id result.displayName = obj.displayName - result.name = ContactName.create(obj.name | obj.displayName) + result.name = ContactName.create(obj.name) result.nickname = obj.nickname var subObj for (subObj in obj.phoneNumbers) http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/b6c00928/www/phonegap-1.3.0.js ---------------------------------------------------------------------- diff --git a/www/phonegap-1.3.0.js b/www/phonegap-1.3.0.js new file mode 100644 index 0000000..1b53740 --- /dev/null +++ b/www/phonegap-1.3.0.js @@ -0,0 +1,15 @@ +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); + + http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/b6c00928/xml/plugins.xml ---------------------------------------------------------------------- diff --git a/xml/plugins.xml b/xml/plugins.xml index b1a9376..4eb7266 100644 --- a/xml/plugins.xml +++ b/xml/plugins.xml @@ -11,7 +11,7 @@ - +