You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2014/01/28 02:00:51 UTC
[1/8] git commit: Add tentative Tizen implementation.
Updated Branches:
refs/heads/master 3c2813f50 -> 4da6ca883
Add tentative Tizen implementation.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/9ebd08f6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/9ebd08f6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/9ebd08f6
Branch: refs/heads/master
Commit: 9ebd08f69ba9075b810ec6a0dedacd9c7ad86a8f
Parents: 4b757c8
Author: Salvatore Iovene <sa...@iovene.com>
Authored: Tue Nov 19 12:43:12 2013 +0200
Committer: Salvatore Iovene <sa...@iovene.com>
Committed: Tue Nov 19 12:43:12 2013 +0200
----------------------------------------------------------------------
plugin.xml | 7 ++++++-
src/tizen/SplashScreenProxy.js | 14 ++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/9ebd08f6/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 5500ad3..3a9ae5e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -37,7 +37,7 @@
<header-file src="src/ios/CDVSplashScreen.h" />
<source-file src="src/ios/CDVSplashScreen.m" />
-
+
<framework src="CoreGraphics.framework" />
</platform>
@@ -80,4 +80,9 @@
</js-module>
</platform>
+ <!-- tizen -->
+ <platform name="tizen">
+ <js-module src="www/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
+ </js-module>
+ </platfom>
</plugin>
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/9ebd08f6/src/tizen/SplashScreenProxy.js
----------------------------------------------------------------------
diff --git a/src/tizen/SplashScreenProxy.js b/src/tizen/SplashScreenProxy.js
new file mode 100644
index 0000000..8d630f2
--- /dev/null
+++ b/src/tizen/SplashScreenProxy.js
@@ -0,0 +1,14 @@
+var exec = require('cordova/exec');
+
+module.exports = {
+ splashscreen: {
+ show = function() {
+ exec(null, null, "SplashScreen", "show", []);
+ },
+ hide = function() {
+ exec(null, null, "SplashScreen", "hide", []);
+ }
+ }
+};
+
+require("cordova/tizen/commandProxy").add("SplashScreen", module.exports);
[7/8] git commit: Proxy: Correct structure,
and only ever create one splashscreen window.
Posted by an...@apache.org.
Proxy: Correct structure, and only ever create one splashscreen window.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/8dc057b7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/8dc057b7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/8dc057b7
Branch: refs/heads/master
Commit: 8dc057b796b34150de611314f27800da70df690a
Parents: 8aa0b24
Author: Gabriel Schulhof <ga...@intel.com>
Authored: Tue Nov 19 14:01:31 2013 +0200
Committer: Gabriel Schulhof <ga...@intel.com>
Committed: Tue Nov 19 14:01:56 2013 +0200
----------------------------------------------------------------------
src/tizen/SplashScreenProxy.js | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/8dc057b7/src/tizen/SplashScreenProxy.js
----------------------------------------------------------------------
diff --git a/src/tizen/SplashScreenProxy.js b/src/tizen/SplashScreenProxy.js
index 3e90443..5222b6b 100644
--- a/src/tizen/SplashScreenProxy.js
+++ b/src/tizen/SplashScreenProxy.js
@@ -1,14 +1,16 @@
-var exec = require('cordova/exec');
+( function() {
-module.exports = {
- splashscreen: {
- win: null,
+win = null;
- show: function() {
- win= window.open('splashscreen.html');
- },
+module.exports = {
+ show: function() {
+ if ( win === null ) {
+ win = window.open('splashscreen.html');
+ }
+ },
- hide: function() {
+ hide: function() {
+ if ( win !== null ) {
win.close();
win = null;
}
@@ -16,3 +18,5 @@ module.exports = {
};
require("cordova/tizen/commandProxy").add("SplashScreen", module.exports);
+
+})();
[2/8] git commit: Native Tizen implementation of SplashScreen API.
Posted by an...@apache.org.
Native Tizen implementation of SplashScreen API.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/3a1810ba
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/3a1810ba
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/3a1810ba
Branch: refs/heads/master
Commit: 3a1810baa51b64dee93332365c7cb5592f0baf6e
Parents: 9ebd08f
Author: Salvatore Iovene <sa...@iovene.com>
Authored: Tue Nov 19 12:55:35 2013 +0200
Committer: Salvatore Iovene <sa...@iovene.com>
Committed: Tue Nov 19 12:55:35 2013 +0200
----------------------------------------------------------------------
src/tizen/SplashScreenProxy.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/3a1810ba/src/tizen/SplashScreenProxy.js
----------------------------------------------------------------------
diff --git a/src/tizen/SplashScreenProxy.js b/src/tizen/SplashScreenProxy.js
index 8d630f2..cd76a82 100644
--- a/src/tizen/SplashScreenProxy.js
+++ b/src/tizen/SplashScreenProxy.js
@@ -2,11 +2,15 @@ var exec = require('cordova/exec');
module.exports = {
splashscreen: {
+ win: null,
+
show = function() {
- exec(null, null, "SplashScreen", "show", []);
+ win= window.open('splashscreen.html');
},
+
hide = function() {
- exec(null, null, "SplashScreen", "hide", []);
+ win.close();
+ win = null;
}
}
};
[6/8] git commit: plugin.xml: Make sure splashscreen proxy is
executed.
Posted by an...@apache.org.
plugin.xml: Make sure splashscreen proxy is executed.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/8aa0b244
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/8aa0b244
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/8aa0b244
Branch: refs/heads/master
Commit: 8aa0b244810ff8c1ff653a479b3efd9a99cc09d2
Parents: 9f3b52f
Author: Gabriel Schulhof <ga...@intel.com>
Authored: Tue Nov 19 14:01:13 2013 +0200
Committer: Gabriel Schulhof <ga...@intel.com>
Committed: Tue Nov 19 14:01:13 2013 +0200
----------------------------------------------------------------------
plugin.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/8aa0b244/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index cd4be3a..6fd986e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -83,6 +83,7 @@
<!-- tizen -->
<platform name="tizen">
<js-module src="src/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
+ <runs />
</js-module>
</platform>
</plugin>
[4/8] git commit: Fix syntax errors.
Posted by an...@apache.org.
Fix syntax errors.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/cf7c35d3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/cf7c35d3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/cf7c35d3
Branch: refs/heads/master
Commit: cf7c35d39950b3e0de7a3592335d19287331938b
Parents: c368b63
Author: Salvatore Iovene <sa...@iovene.com>
Authored: Tue Nov 19 13:11:32 2013 +0200
Committer: Salvatore Iovene <sa...@iovene.com>
Committed: Tue Nov 19 13:11:32 2013 +0200
----------------------------------------------------------------------
src/tizen/SplashScreenProxy.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/cf7c35d3/src/tizen/SplashScreenProxy.js
----------------------------------------------------------------------
diff --git a/src/tizen/SplashScreenProxy.js b/src/tizen/SplashScreenProxy.js
index cd76a82..3e90443 100644
--- a/src/tizen/SplashScreenProxy.js
+++ b/src/tizen/SplashScreenProxy.js
@@ -4,11 +4,11 @@ module.exports = {
splashscreen: {
win: null,
- show = function() {
+ show: function() {
win= window.open('splashscreen.html');
},
- hide = function() {
+ hide: function() {
win.close();
win = null;
}
[3/8] git commit: Fix typo.
Posted by an...@apache.org.
Fix typo.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/c368b63f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/c368b63f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/c368b63f
Branch: refs/heads/master
Commit: c368b63f0a310bbb04da5576ef7cba75357c10fa
Parents: 3a1810b
Author: Salvatore Iovene <sa...@iovene.com>
Authored: Tue Nov 19 13:04:30 2013 +0200
Committer: Salvatore Iovene <sa...@iovene.com>
Committed: Tue Nov 19 13:04:30 2013 +0200
----------------------------------------------------------------------
plugin.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/c368b63f/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 3a9ae5e..76613ae 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -84,5 +84,5 @@
<platform name="tizen">
<js-module src="www/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
</js-module>
- </platfom>
+ </platform>
</plugin>
[8/8] git commit: Merge branch 'tizen' of
http://github.com/siovene/cordova-plugin-splashscreen
Posted by an...@apache.org.
Merge branch 'tizen' of http://github.com/siovene/cordova-plugin-splashscreen
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/4da6ca88
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/4da6ca88
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/4da6ca88
Branch: refs/heads/master
Commit: 4da6ca883cd06e8528513dbda5820ef3311818b1
Parents: 3c2813f 8dc057b
Author: Anis Kadri <an...@apache.org>
Authored: Mon Jan 27 17:00:15 2014 -0800
Committer: Anis Kadri <an...@apache.org>
Committed: Mon Jan 27 17:00:15 2014 -0800
----------------------------------------------------------------------
plugin.xml | 8 +++++++-
src/tizen/SplashScreenProxy.js | 22 ++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/4da6ca88/plugin.xml
----------------------------------------------------------------------
[5/8] git commit: Fix path of Tizen's SplashScreenProxy file.
Posted by an...@apache.org.
Fix path of Tizen's SplashScreenProxy file.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/9f3b52f4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/9f3b52f4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/9f3b52f4
Branch: refs/heads/master
Commit: 9f3b52f4b9653039e5774e773addf6554987451a
Parents: cf7c35d
Author: Salvatore Iovene <sa...@iovene.com>
Authored: Tue Nov 19 13:11:59 2013 +0200
Committer: Salvatore Iovene <sa...@iovene.com>
Committed: Tue Nov 19 13:11:59 2013 +0200
----------------------------------------------------------------------
plugin.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/9f3b52f4/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 76613ae..cd4be3a 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -82,7 +82,7 @@
<!-- tizen -->
<platform name="tizen">
- <js-module src="www/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
+ <js-module src="src/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
</js-module>
</platform>
</plugin>