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/09/27 00:25:30 UTC
[01/10] git commit: [CB-4752] Incremented plugin version on dev
branch.
Updated Branches:
refs/heads/master 8eab4539e -> c8b0f9539
[CB-4752] Incremented plugin version on dev branch.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/f26bc046
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/f26bc046
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/f26bc046
Branch: refs/heads/master
Commit: f26bc0468e183a1fff65e18b2265df15514e57ea
Parents: 9824622
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Sep 6 00:58:21 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Sep 6 00:58:21 2013 -0400
----------------------------------------------------------------------
plugin.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f26bc046/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 4e8a52a..fb3184d 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="org.apache.cordova.core.dialogs"
- version="0.2.0">
+ version="0.2.1-dev">
<name>Notification</name>
<description>Cordova Notification Plugin</description>
[07/10] git commit: Merge branch 'dev' of
https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs into dev
Posted by st...@apache.org.
Merge branch 'dev' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs into dev
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/bc1cc202
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/bc1cc202
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/bc1cc202
Branch: refs/heads/master
Commit: bc1cc202ab97821b29e2a884a85e8db6ae0fa4c7
Parents: c027c9c 69e2606
Author: Anis Kadri <an...@apache.org>
Authored: Wed Sep 25 16:08:17 2013 +0200
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Sep 25 16:08:17 2013 +0200
----------------------------------------------------------------------
src/windows8/NotificationProxy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
[05/10] git commit: [windows8] commandProxy was moved
Posted by st...@apache.org.
[windows8] commandProxy was moved
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/69e26060
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/69e26060
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/69e26060
Branch: refs/heads/master
Commit: 69e260607e3b299d113a3af5826e4b9a29991747
Parents: 814e60e
Author: purplecabbage <pu...@gmail.com>
Authored: Tue Sep 24 01:37:00 2013 -0700
Committer: purplecabbage <pu...@gmail.com>
Committed: Tue Sep 24 01:37:00 2013 -0700
----------------------------------------------------------------------
src/windows8/NotificationProxy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/69e26060/src/windows8/NotificationProxy.js
----------------------------------------------------------------------
diff --git a/src/windows8/NotificationProxy.js b/src/windows8/NotificationProxy.js
index 8ede490..b171064 100644
--- a/src/windows8/NotificationProxy.js
+++ b/src/windows8/NotificationProxy.js
@@ -114,4 +114,4 @@ module.exports = {
}
};
-require("cordova/commandProxy").add("Notification",module.exports);
\ No newline at end of file
+require("cordova/windows8/commandProxy").add("Notification",module.exports);
[08/10] git commit: CB-4889 bumping&resetting version
Posted by st...@apache.org.
CB-4889 bumping&resetting version
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/269c7113
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/269c7113
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/269c7113
Branch: refs/heads/master
Commit: 269c71139b76b78902b459886c9d0493bd1b2054
Parents: bc1cc20
Author: Anis Kadri <an...@apache.org>
Authored: Wed Sep 25 17:50:10 2013 +0200
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Sep 25 17:50:10 2013 +0200
----------------------------------------------------------------------
plugin.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/269c7113/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 51bb511..8288fe7 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="org.apache.cordova.dialogs"
- version="0.2.1">
+ version="0.2.2-dev">
<name>Notification</name>
<description>Cordova Notification Plugin</description>
[10/10] git commit: Merge branch 'dev'
Posted by st...@apache.org.
Merge branch 'dev'
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/c8b0f953
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/c8b0f953
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/c8b0f953
Branch: refs/heads/master
Commit: c8b0f9539b4e3fc1584b782b531893f4513ea928
Parents: 8eab453 7ec5fd6
Author: Steven Gill <st...@gmail.com>
Authored: Wed Sep 25 18:17:50 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Wed Sep 25 18:17:50 2013 -0700
----------------------------------------------------------------------
CHANGELOG.md | 23 -----------------------
RELEASENOTES.md | 30 ++++++++++++++++++++++++++++++
plugin.xml | 4 ++--
src/windows8/NotificationProxy.js | 2 +-
src/wp/Notification.cs | 2 +-
5 files changed, 34 insertions(+), 27 deletions(-)
----------------------------------------------------------------------
[04/10] git commit: CB-4889 renaming org.apache.cordova.core.dialogs
to org.apache.cordova.dialogs
Posted by st...@apache.org.
CB-4889 renaming org.apache.cordova.core.dialogs to org.apache.cordova.dialogs
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/2ee32ab0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/2ee32ab0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/2ee32ab0
Branch: refs/heads/master
Commit: 2ee32ab0b9e2e7fbb3a9a042e885ec8a91b5f470
Parents: 814e60e
Author: Anis Kadri <an...@apache.org>
Authored: Sat Sep 21 12:20:10 2013 +0200
Committer: Anis Kadri <an...@apache.org>
Committed: Sat Sep 21 12:20:10 2013 +0200
----------------------------------------------------------------------
plugin.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/2ee32ab0/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 7cfabbf..51bb511 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
- id="org.apache.cordova.core.dialogs"
- version="0.2.1-dev">
+ id="org.apache.cordova.dialogs"
+ version="0.2.1">
<name>Notification</name>
<description>Cordova Notification Plugin</description>
[03/10] git commit: Rename CHANGELOG.md -> RELEASENOTES.md
Posted by st...@apache.org.
Rename CHANGELOG.md -> RELEASENOTES.md
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/814e60e6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/814e60e6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/814e60e6
Branch: refs/heads/master
Commit: 814e60e615a207afc6a013796e0dc171967f688f
Parents: 888a12b
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Sep 17 11:36:13 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Sep 17 11:36:13 2013 -0400
----------------------------------------------------------------------
CHANGELOG.md | 23 -----------------------
RELEASENOTES.md | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/814e60e6/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 6195996..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
-#
-# 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.
-#
--->
-# Release Notes
-
-
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/814e60e6/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
new file mode 100644
index 0000000..6195996
--- /dev/null
+++ b/RELEASENOTES.md
@@ -0,0 +1,23 @@
+<!--
+#
+# 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.
+#
+-->
+# Release Notes
+
+
[02/10] git commit: [CB-4592] [Blackberry10] Added beep support
Posted by st...@apache.org.
[CB-4592] [Blackberry10] Added beep support
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/888a12ba
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/888a12ba
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/888a12ba
Branch: refs/heads/master
Commit: 888a12ba3d54b6c64d75d6147fbf4d8f30c791d3
Parents: f26bc04
Author: Kristoffer Flores <kf...@blackberry.com>
Authored: Fri Aug 23 14:14:42 2013 -0400
Committer: Bryan Higgins <bh...@blackberry.com>
Committed: Fri Sep 13 08:42:40 2013 -0400
----------------------------------------------------------------------
plugin.xml | 11 +++++++----
src/blackberry10/index.js | 4 ----
www/blackberry10/beep.js | 42 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 49 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/888a12ba/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index fb3184d..7cfabbf 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -20,18 +20,18 @@
<param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
</feature>
</config-file>
-
+
<source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
<!-- android specific notification apis -->
<js-module src="www/android/notification.js" name="notification_android">
<merges target="navigator.notification" />
</js-module>
-
+
</platform>
<!-- ios -->
- <platform name="ios">
+ <platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Notification">
<param name="ios-package" value="CDVNotification"/>
@@ -40,7 +40,7 @@
<header-file src="src/ios/CDVNotification.h" />
<source-file src="src/ios/CDVNotification.m" />
<resource-file src="src/ios/CDVNotification.bundle" />
- <framework src="AudioToolbox.framework" weak="true" />
+ <framework src="AudioToolbox.framework" weak="true" />
</platform>
<!-- blackberry10 -->
@@ -49,6 +49,9 @@
<config-file target="www/config.xml" parent="/widget">
<feature name="Notification" value="Notification"/>
</config-file>
+ <js-module src="www/blackberry10/beep.js" name="beep">
+ <clobbers target="window.navigator.notification.beep" />
+ </js-module>
</platform>
<!-- wp7 -->
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/888a12ba/src/blackberry10/index.js
----------------------------------------------------------------------
diff --git a/src/blackberry10/index.js b/src/blackberry10/index.js
index fad04f7..b218eab 100644
--- a/src/blackberry10/index.js
+++ b/src/blackberry10/index.js
@@ -83,9 +83,5 @@ module.exports = {
} else {
showDialog(args, "JavaScriptPrompt", result);
}
- },
- beep: function (success, fail, args, env) {
- var result = new PluginResult(args, env);
- result.error("Beep not supported");
}
};
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/888a12ba/www/blackberry10/beep.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/beep.js b/www/blackberry10/beep.js
new file mode 100644
index 0000000..6d4a77a
--- /dev/null
+++ b/www/blackberry10/beep.js
@@ -0,0 +1,42 @@
+/*
+ *
+ * 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 beep,
+ count = 0,
+ beepObj = new Audio('file:///usr/share/sounds/notification_text_message_im_received.wav');
+
+beep = function (quantity) {
+ var callback = function () {
+ if (--count > 0) {
+ beepObj.play();
+ } else {
+ beepObj.removeEventListener("ended", callback);
+ delete beepObj;
+ }
+ };
+
+ count += quantity;
+ if (count === quantity) {
+ beepObj.addEventListener("ended", callback);
+ beepObj.play();
+ }
+};
+
+module.exports = beep;
[09/10] git commit: [CB-4915] Updated version and RELEASENOTES.md for
release 0.2.2
Posted by st...@apache.org.
[CB-4915] Updated version and RELEASENOTES.md for release 0.2.2
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/7ec5fd6e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/7ec5fd6e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/7ec5fd6e
Branch: refs/heads/master
Commit: 7ec5fd6e4a90b8fd2025afe7b7d81b5fa0357af7
Parents: 269c711
Author: Steven Gill <st...@gmail.com>
Authored: Wed Sep 25 17:20:35 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Wed Sep 25 17:20:35 2013 -0700
----------------------------------------------------------------------
RELEASENOTES.md | 9 ++++++++-
plugin.xml | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/7ec5fd6e/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 6195996..fd813a7 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -20,4 +20,11 @@
-->
# Release Notes
-
+### 0.2.2 (Sept 25, 2013)
+* CB-4889 bumping&resetting version
+* [windows8] commandProxy was moved
+* CB-4889 renaming reference in Notification.cs
+* CB-4889 renaming org.apache.cordova.core.dialogs to org.apache.cordova.dialogs
+* Rename CHANGELOG.md -> RELEASENOTES.md
+* [CB-4592] [Blackberry10] Added beep support
+* [CB-4752] Incremented plugin version on dev branch.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/7ec5fd6e/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 8288fe7..2bdbb3f 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="org.apache.cordova.dialogs"
- version="0.2.2-dev">
+ version="0.2.2">
<name>Notification</name>
<description>Cordova Notification Plugin</description>
[06/10] git commit: CB-4889 renaming reference in Notification.cs
Posted by st...@apache.org.
CB-4889 renaming reference in Notification.cs
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/c027c9c7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/c027c9c7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/c027c9c7
Branch: refs/heads/master
Commit: c027c9c763f2f5e2d2dbad2113a799f338687cd5
Parents: 2ee32ab
Author: Anis Kadri <an...@apache.org>
Authored: Wed Sep 25 16:07:54 2013 +0200
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Sep 25 16:07:54 2013 +0200
----------------------------------------------------------------------
src/wp/Notification.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/c027c9c7/src/wp/Notification.cs
----------------------------------------------------------------------
diff --git a/src/wp/Notification.cs b/src/wp/Notification.cs
index 339978a..1c0c63b 100644
--- a/src/wp/Notification.cs
+++ b/src/wp/Notification.cs
@@ -252,7 +252,7 @@ namespace WPCordovaClassLib.Cordova.Commands
string[] args = JSON.JsonHelper.Deserialize<string[]>(options);
int times = int.Parse(args[0]);
- string resourcePath = BaseCommand.GetBaseURL() + "Plugins/org.apache.cordova.core.dialogs/notification-beep.wav";
+ string resourcePath = BaseCommand.GetBaseURL() + "Plugins/org.apache.cordova.dialogs/notification-beep.wav";
StreamResourceInfo sri = Application.GetResourceStream(new Uri(resourcePath, UriKind.Relative));