You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/10/28 23:13:47 UTC

[1/6] git commit: [CB-4593] [Blackberry10] Added vibration support for bb10

Updated Branches:
  refs/heads/dev 1d5098df6 -> 683651adc


[CB-4593] [Blackberry10] Added vibration support for bb10


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

Branch: refs/heads/dev
Commit: 6de25493a34fa681170704b50f0271cca1778c3d
Parents: 5558e24
Author: Kristoffer Flores <kf...@blackberry.com>
Authored: Wed Aug 21 17:59:52 2013 -0400
Committer: Bryan Higgins <bh...@blackberry.com>
Committed: Fri Sep 13 08:37:49 2013 -0400

----------------------------------------------------------------------
 plugin.xml                  | 16 ++++++++++++----
 www/blackberry10/vibrate.js | 26 ++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/6de25493/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 08730f1..37e0b3a 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -12,7 +12,7 @@
     <js-module src="www/vibration.js" name="notification">
         <merges target="navigator.notification" />
     </js-module>
-        
+
     <!-- firefoxos -->
     <platform name="firefoxos">
         <config-file target="config.xml" parent="/*">
@@ -20,9 +20,7 @@
                 <param name="firefoxos-package" value="Vibration" />
             </feature>
         </config-file>                                         
-        
         <source-file src="src/firefoxos/vibration.js" target-dir="Vibration" />
-        
     </platform>
 
     <!-- wp7 -->
@@ -71,8 +69,18 @@
         </config-file>
         <header-file src="src/ios/CDVVibration.h" />
 	    <source-file src="src/ios/CDVVibration.m" />
-		
+
 		<framework src="AudioToolbox.framework" weak="true" />
     </platform>
 
+    <!-- blackberry10 -->
+    <platform name="blackberry10">
+        <config-file target="www/config.xml" parent="/widget">
+            <feature name="Vibration" value="Vibration" />
+        </config-file>
+
+        <js-module src="www/blackberry10/vibrate.js" name="vibrate">
+            <clobbers target="window.navigator.notification.vibrate" />
+        </js-module>
+    </platform>
 </plugin>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/6de25493/www/blackberry10/vibrate.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/vibrate.js b/www/blackberry10/vibrate.js
new file mode 100644
index 0000000..ff7a1ec
--- /dev/null
+++ b/www/blackberry10/vibrate.js
@@ -0,0 +1,26 @@
+/*
+ *
+ * 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.
+ *
+*/
+
+var vibrate = function(duration) {
+    navigator.vibrate(duration);
+};
+
+module.exports = vibrate;


[2/6] git commit: merge conflight

Posted by st...@apache.org.
merge conflight


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

Branch: refs/heads/dev
Commit: 1f56102372d4dbe5bada1a431ea7d813d5a4f421
Parents: 6de2549 1b79810
Author: Steven Gill <st...@gmail.com>
Authored: Wed Sep 25 18:20:32 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Wed Sep 25 18:20:32 2013 -0700

----------------------------------------------------------------------
 CHANGELOG.md                    | 25 -------------------------
 RELEASENOTES.md                 | 35 +++++++++++++++++++++++++++++++++++
 plugin.xml                      |  8 +++++---
 src/firefoxos/VibrationProxy.js | 35 +++++++++++++++++++++++++++++++++++
 src/firefoxos/vibration.js      | 34 ----------------------------------
 5 files changed, 75 insertions(+), 62 deletions(-)
----------------------------------------------------------------------



[6/6] git commit: CB-5188:

Posted by st...@apache.org.
CB-5188:


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

Branch: refs/heads/dev
Commit: 683651adc2197c7e194a9601e876052b809cef1a
Parents: b58a2cc
Author: Steven Gill <st...@gmail.com>
Authored: Mon Oct 28 12:27:17 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Mon Oct 28 12:27:17 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/683651ad/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 730341b..6f83e23 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -3,7 +3,7 @@
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     xmlns:android="http://schemas.android.com/apk/res/android"
     id="org.apache.cordova.vibration"
-    version="0.3.4">
+    version="0.3.5-dev">
 
     <name>Vibration</name>
     <description>Cordova Vibration Plugin</description>


[4/6] git commit: [CB-5188] Updated version and RELEASENOTES.md for release 0.3.4

Posted by st...@apache.org.
[CB-5188] Updated version and RELEASENOTES.md for release 0.3.4


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

Branch: refs/heads/dev
Commit: 0be3b8956f174a8aaebf54b0dbc24c6260e2edf8
Parents: 1d5098d
Author: Steven Gill <st...@gmail.com>
Authored: Mon Oct 28 12:09:46 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Mon Oct 28 12:09:46 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/0be3b895/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index be50a94..9564b00 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -36,4 +36,9 @@
 
 ### 0.3.3 (Oct 9, 2013)
 * add missing android namespace
-* [CB-4915] Incremented plugin version on dev branch.
\ No newline at end of file
+* [CB-4915] Incremented plugin version on dev branch.
+
+### 0.3.4 (Oct 28, 2013)
+* add repo + issue tag to plugin.xml for vibration plugin
+* corrected plugin.xml to write properly to config.xml for ffos
+* [CB-5010] Incremented plugin version on dev branch.

http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/0be3b895/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index ecb8672..730341b 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -3,7 +3,7 @@
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     xmlns:android="http://schemas.android.com/apk/res/android"
     id="org.apache.cordova.vibration"
-    version="0.3.4-dev">
+    version="0.3.4">
 
     <name>Vibration</name>
     <description>Cordova Vibration Plugin</description>


[5/6] git commit: Merge branch 'dev'

Posted by st...@apache.org.
Merge branch 'dev'


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

Branch: refs/heads/dev
Commit: b58a2cc57a44230c2ca41d1b3baefdd4c766ce1a
Parents: ae72bbc 0be3b89
Author: Steven Gill <st...@gmail.com>
Authored: Mon Oct 28 12:13:55 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Mon Oct 28 12:13:55 2013 -0700

----------------------------------------------------------------------
 RELEASENOTES.md | 7 ++++++-
 plugin.xml      | 6 ++++--
 2 files changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------



[3/6] git commit: Merge branch 'dev'

Posted by st...@apache.org.
Merge branch 'dev'


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

Branch: refs/heads/dev
Commit: ae72bbc89c668024556e5f528b6b5f98bc32fe2c
Parents: 1f56102 2c29ec7
Author: Steven Gill <st...@gmail.com>
Authored: Wed Oct 9 15:38:36 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Wed Oct 9 15:38:36 2013 -0700

----------------------------------------------------------------------
 RELEASENOTES.md | 4 ++++
 plugin.xml      | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------