You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2017/04/27 20:13:06 UTC
[08/15] cordova-plugin-vibration git commit: Set VERSION to 2.1.5-dev
(via coho)
Set VERSION to 2.1.5-dev (via coho)
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/4eba546a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/4eba546a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/4eba546a
Branch: refs/heads/2.1.x
Commit: 4eba546a7cd377ebf337c5db924501cd5bd63900
Parents: eee973f
Author: Steve Gill <st...@gmail.com>
Authored: Tue Feb 28 17:56:01 2017 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 2 15:33:19 2017 -0800
----------------------------------------------------------------------
package.json | 2 +-
plugin.xml | 251 ++++++++++++++++++++++++++++++--------------------
tests/plugin.xml | 35 ++++++-
3 files changed, 184 insertions(+), 104 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/4eba546a/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index ae9abc3..2dbc672 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-vibration",
- "version": "2.1.4",
+ "version": "2.1.5-dev",
"description": "Cordova Vibration Plugin",
"types": "./types/index.d.ts",
"cordova": {
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/4eba546a/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index a360357..4dcbc3e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -1,100 +1,155 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-vibration" version="2.1.4">
- <name>Vibration</name>
- <description>Cordova Vibration Plugin</description>
- <license>Apache 2.0</license>
- <keywords>cordova,vibration</keywords>
- <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git</repo>
- <issue>https://issues.apache.org/jira/browse/CB/component/12320639</issue>
- <js-module src="www/vibration.js" name="notification">
- <merges target="navigator.notification"/>
- <merges target="navigator"/>
- </js-module>
- <platform name="firefoxos">
- <config-file target="www/config.xml" parent="/*">
- <feature name="Vibration">
- <param name="firefoxos-package" value="Vibration"/>
- </feature>
- </config-file>
- <js-module src="src/firefoxos/VibrationProxy.js" name="VibrationProxy">
- <runs/>
+<?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:android="http://schemas.android.com/apk/res/android"
+ id="cordova-plugin-vibration"
+ version="2.1.5-dev">
+
+ <name>Vibration</name>
+ <description>Cordova Vibration Plugin</description>
+ <license>Apache 2.0</license>
+ <keywords>cordova,vibration</keywords>
+ <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git</repo>
+ <issue>https://issues.apache.org/jira/browse/CB/component/12320639</issue>
+
+ <js-module src="www/vibration.js" name="notification">
+ <merges target="navigator.notification" />
+ <merges target="navigator" />
</js-module>
- </platform>
- <platform name="wp7">
- <config-file target="config.xml" parent="/*">
- <feature name="Vibration">
- <param name="wp-package" value="Vibration"/>
- </feature>
- </config-file>
- <source-file src="src/wp/Vibration.cs"/>
- </platform>
- <platform name="wp8">
- <config-file target="config.xml" parent="/*">
- <feature name="Vibration">
- <param name="wp-package" value="Vibration"/>
- </feature>
- </config-file>
- <source-file src="src/wp/Vibration.cs"/>
- </platform>
- <platform name="windows">
- <js-module src="src/windows/VibrationProxy.js" name="VibrationProxy">
- <runs/>
- </js-module>
- <framework src="src/windows/Vibration/Vibration.csproj" target="phone" type="projectReference" custom="true" versions="<10.0.0"/>
- </platform>
- <platform name="android">
- <config-file target="res/xml/config.xml" parent="/*">
- <feature name="Vibration">
- <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
- </feature>
- </config-file>
- <config-file target="AndroidManifest.xml" parent="/manifest">
- <uses-permission android:name="android.permission.VIBRATE"/>
- </config-file>
- <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration"/>
- </platform>
- <platform name="amazon-fireos">
- <config-file target="res/xml/config.xml" parent="/*">
- <feature name="Vibration">
- <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
- </feature>
- </config-file>
- <config-file target="AndroidManifest.xml" parent="/manifest">
- <uses-permission android:name="android.permission.VIBRATE"/>
- </config-file>
- <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration"/>
- </platform>
- <platform name="ubuntu">
- <header-file src="src/ubuntu/vibration.h"/>
- <source-file src="src/ubuntu/vibration.cpp"/>
- </platform>
- <platform name="ios">
- <config-file target="config.xml" parent="/*">
- <feature name="Vibration">
- <param name="ios-package" value="CDVVibration"/>
- </feature>
- </config-file>
- <header-file src="src/ios/CDVVibration.h"/>
- <source-file src="src/ios/CDVVibration.m"/>
- <framework src="AudioToolbox.framework" weak="true"/>
- </platform>
- <platform name="blackberry10">
- <source-file src="src/blackberry10/index.js" target-dir="Vibration"/>
- <lib-file src="src/blackberry10/native/device/libVibration.so" arch="device"/>
- <lib-file src="src/blackberry10/native/simulator/libVibration.so" arch="simulator"/>
- <config-file target="www/config.xml" parent="/widget">
- <feature name="Vibration" value="Vibration"/>
- </config-file>
- </platform>
- <platform name="browser">
- <js-module src="src/browser/Vibration.js" name="Vibration">
- <merges target="navigator.notification"/>
- <merges target="navigator"/>
- </js-module>
- </platform>
- <platform name="tizen">
- <js-module src="src/tizen/VibrationProxy.js" name="VibrationProxy">
- <runs/>
- </js-module>
- </platform>
+
+ <!-- firefoxos -->
+ <platform name="firefoxos">
+ <config-file target="www/config.xml" parent="/*">
+ <feature name="Vibration">
+ <param name="firefoxos-package" value="Vibration" />
+ </feature>
+ </config-file>
+ <js-module src="src/firefoxos/VibrationProxy.js" name="VibrationProxy">
+ <runs />
+ </js-module>
+ </platform>
+
+ <!-- wp7 -->
+ <platform name="wp7">
+ <config-file target="config.xml" parent="/*">
+ <feature name="Vibration">
+ <param name="wp-package" value="Vibration"/>
+ </feature>
+ </config-file>
+
+ <source-file src="src/wp/Vibration.cs" />
+ </platform>
+
+ <!-- wp8 -->
+ <platform name="wp8">
+ <config-file target="config.xml" parent="/*">
+ <feature name="Vibration">
+ <param name="wp-package" value="Vibration"/>
+ </feature>
+ </config-file>
+
+ <source-file src="src/wp/Vibration.cs" />
+ </platform>
+
+ <!-- windows -->
+ <platform name="windows">
+ <js-module src="src/windows/VibrationProxy.js" name="VibrationProxy">
+ <runs />
+ </js-module>
+
+ <framework src="src/windows/Vibration/Vibration.csproj" target="phone"
+ type="projectReference" custom="true" versions="<10.0.0" />
+ </platform>
+
+ <!-- android -->
+ <platform name="android">
+ <config-file target="res/xml/config.xml" parent="/*">
+ <feature name="Vibration">
+ <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
+ </feature>
+ </config-file>
+
+ <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration" />
+
+ <config-file target="AndroidManifest.xml" parent="/manifest">
+ <uses-permission android:name="android.permission.VIBRATE"/>
+ </config-file>
+ </platform>
+
+ <!-- amazon-fireos -->
+ <platform name="amazon-fireos">
+ <config-file target="res/xml/config.xml" parent="/*">
+ <feature name="Vibration">
+ <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
+ </feature>
+ </config-file>
+
+ <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration" />
+
+ <config-file target="AndroidManifest.xml" parent="/manifest">
+ <uses-permission android:name="android.permission.VIBRATE"/>
+ </config-file>
+ </platform>
+
+ <!-- ubuntu -->
+ <platform name="ubuntu">
+ <header-file src="src/ubuntu/vibration.h" />
+ <source-file src="src/ubuntu/vibration.cpp" />
+ </platform>
+
+ <!-- ios -->
+ <platform name="ios">
+ <config-file target="config.xml" parent="/*">
+ <feature name="Vibration">
+ <param name="ios-package" value="CDVVibration"/>
+ </feature>
+ </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">
+ <source-file src="src/blackberry10/index.js" target-dir="Vibration"/>
+ <lib-file src="src/blackberry10/native/device/libVibration.so" arch="device" />
+ <lib-file src="src/blackberry10/native/simulator/libVibration.so" arch="simulator" />
+ <config-file target="www/config.xml" parent="/widget">
+ <feature name="Vibration" value="Vibration" />
+ </config-file>
+ </platform>
+
+ <!-- browser -->
+ <platform name="browser">
+ <js-module src="src/browser/Vibration.js" name="Vibration">
+ <merges target="navigator.notification" />
+ <merges target="navigator" />
+ </js-module>
+ </platform>
+
+ <!-- tizen -->
+ <platform name="tizen">
+ <js-module src="src/tizen/VibrationProxy.js" name="VibrationProxy">
+ <runs />
+ </js-module>
+ </platform>
</plugin>
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/4eba546a/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index ede5262..e207a21 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -1,6 +1,31 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-vibration-tests" version="2.1.4">
- <name>Cordova Vibration Plugin Tests</name>
- <license>Apache 2.0</license>
- <js-module src="tests.js" name="tests"/>
+<?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"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ id="cordova-plugin-vibration-tests"
+ version="2.1.5-dev">
+ <name>Cordova Vibration Plugin Tests</name>
+ <license>Apache 2.0</license>
+
+ <js-module src="tests.js" name="tests">
+ </js-module>
</plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org