cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/2] cordova-plugin-file-transfer git commit: Revert "CB-8683 changed plugin-id to pacakge-name"
Date Thu, 02 Apr 2015 02:12:20 GMT
Revert "CB-8683 changed plugin-id to pacakge-name"

This reverts commit 0530d90fb0e46128558bbb6579ea44f9832b7b4d.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/9a0bd56b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/9a0bd56b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/9a0bd56b

Branch: refs/heads/old-ID
Commit: 9a0bd56ba74c791da111f50dd5852aeadff2e9b9
Parents: 0530d90
Author: Steve Gill <stevengill97@gmail.com>
Authored: Wed Apr 1 19:12:13 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Wed Apr 1 19:12:13 2015 -0700

----------------------------------------------------------------------
 package.json                          | 2 +-
 plugin.xml                            | 2 +-
 src/ubuntu/file-transfer.cpp          | 2 +-
 src/windows/FileTransferProxy.js      | 8 ++++----
 tests/plugin.xml                      | 2 +-
 www/FileTransfer.js                   | 6 +++---
 www/blackberry10/FileTransferProxy.js | 2 +-
 www/blackberry10/xhrFileTransfer.js   | 4 ++--
 8 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 4592171..36421bd 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "0.5.1-dev",
   "description": "Cordova File Transfer Plugin",
   "cordova": {
-    "id": "cordova-plugin-file-transfer",
+    "id": "org.apache.cordova.file-transfer",
     "platforms": [
       "android",
       "amazon-fireos",

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 217d1e5..46868cf 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -20,7 +20,7 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     xmlns:android="http://schemas.android.com/apk/res/android"
-    id="cordova-plugin-file-transfer"
+    id="org.apache.cordova.file-transfer"
     version="0.5.1-dev">
     <name>File Transfer</name>
     <description>Cordova File Transfer Plugin</description>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/src/ubuntu/file-transfer.cpp
----------------------------------------------------------------------
diff --git a/src/ubuntu/file-transfer.cpp b/src/ubuntu/file-transfer.cpp
index 5b1adea..9c553eb 100644
--- a/src/ubuntu/file-transfer.cpp
+++ b/src/ubuntu/file-transfer.cpp
@@ -18,7 +18,7 @@
 */
 
 #include "file-transfer.h"
-#include <plugins/cordova-plugin-file/file.h>
+#include <plugins/org.apache.cordova.file/file.h>
 #include <cassert>
 
 static void SetHeaders(QNetworkRequest &request, const QVariantMap &headers) {

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/src/windows/FileTransferProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/FileTransferProxy.js b/src/windows/FileTransferProxy.js
index 39c7c24..659e5c9 100644
--- a/src/windows/FileTransferProxy.js
+++ b/src/windows/FileTransferProxy.js
@@ -24,10 +24,10 @@
 /*global module, require*/
 
 var FTErr = require('./FileTransferError'),
-    ProgressEvent = require('cordova-plugin-file.ProgressEvent'),
-    FileUploadResult = require('cordova-plugin-file.FileUploadResult'),
-    FileProxy = require('cordova-plugin-file.FileProxy'),
-    FileEntry = require('cordova-plugin-file.FileEntry');
+    ProgressEvent = require('org.apache.cordova.file.ProgressEvent'),
+    FileUploadResult = require('org.apache.cordova.file.FileUploadResult'),
+    FileProxy = require('org.apache.cordova.file.FileProxy'),
+    FileEntry = require('org.apache.cordova.file.FileEntry');
 
 var appData = Windows.Storage.ApplicationData.current;
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index 49d975d..d3c1f8f 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -20,7 +20,7 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     xmlns:android="http://schemas.android.com/apk/res/android"
-    id="cordova-plugin-file-transfer-tests"
+    id="org.apache.cordova.file-transfer.tests"
     version="0.5.1-dev">
     <name>Cordova File Transfer Plugin Tests</name>
     <license>Apache 2.0</license>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/www/FileTransfer.js
----------------------------------------------------------------------
diff --git a/www/FileTransfer.js b/www/FileTransfer.js
index 0a4c773..17fb782 100644
--- a/www/FileTransfer.js
+++ b/www/FileTransfer.js
@@ -22,7 +22,7 @@
 var argscheck = require('cordova/argscheck'),
     exec = require('cordova/exec'),
     FileTransferError = require('./FileTransferError'),
-    ProgressEvent = require('cordova-plugin-file.ProgressEvent');
+    ProgressEvent = require('org.apache.cordova.file.ProgressEvent');
 
 function newProgressEvent(result) {
     var pe = new ProgressEvent();
@@ -178,10 +178,10 @@ FileTransfer.prototype.download = function(source, target, successCallback,
erro
         } else if (successCallback) {
             var entry = null;
             if (result.isDirectory) {
-                entry = new (require('cordova-plugin-file.DirectoryEntry'))();
+                entry = new (require('org.apache.cordova.file.DirectoryEntry'))();
             }
             else if (result.isFile) {
-                entry = new (require('cordova-plugin-file.FileEntry'))();
+                entry = new (require('org.apache.cordova.file.FileEntry'))();
             }
             entry.isDirectory = result.isDirectory;
             entry.isFile = result.isFile;

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/www/blackberry10/FileTransferProxy.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/FileTransferProxy.js b/www/blackberry10/FileTransferProxy.js
index a363f07..438999a 100644
--- a/www/blackberry10/FileTransferProxy.js
+++ b/www/blackberry10/FileTransferProxy.js
@@ -25,7 +25,7 @@
  * Register all FileTransfer exec calls to be handled by proxy
  */
 
-var xhrFileTransfer = require('cordova-plugin-file-transfer.xhrFileTransfer');
+var xhrFileTransfer = require('org.apache.cordova.file-transfer.xhrFileTransfer');
 
 module.exports = {
     abort: xhrFileTransfer.abort,

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9a0bd56b/www/blackberry10/xhrFileTransfer.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/xhrFileTransfer.js b/www/blackberry10/xhrFileTransfer.js
index 7eba7af..87c8ec0 100644
--- a/www/blackberry10/xhrFileTransfer.js
+++ b/www/blackberry10/xhrFileTransfer.js
@@ -21,8 +21,8 @@
 
 /*global Blob:false */
 var cordova = require('cordova'),
-    resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame'),
+    resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame'),
     xhr = {};
 
 function getParentPath(filePath) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message