Updated Branches:
  refs/heads/master c9f233250 -> 064239b7b

[CB-2824] Remove DebugConsole plugin

This is being replaced with the Logger plugin; see the associated commit in
cordova-dev


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/064239b7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/064239b7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/064239b7

Branch: refs/heads/master
Commit: 064239b7b5fa9a867144cf1ee8b2fb798ce1f988
Parents: c9f2332
Author: Ian Clelland <[email protected]>
Authored: Fri Mar 29 22:50:22 2013 -0400
Committer: Andrew Grieve <[email protected]>
Committed: Thu Apr 4 15:42:58 2013 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDV.h                        |    1 -
 CordovaLib/Classes/CDVDebugConsole.h            |   28 -------------
 CordovaLib/Classes/CDVDebugConsole.m            |   37 ------------------
 CordovaLib/CordovaLib.xcodeproj/project.pbxproj |    8 ----
 CordovaLibTests/CordovaLibApp/config.xml        |    1 -
 bin/templates/project/__TESTING__/config.xml    |    1 -
 6 files changed, 0 insertions(+), 76 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/064239b7/CordovaLib/Classes/CDV.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDV.h b/CordovaLib/Classes/CDV.h
index b92d16f..15d9316 100644
--- a/CordovaLib/Classes/CDV.h
+++ b/CordovaLib/Classes/CDV.h
@@ -33,7 +33,6 @@
 #import "CDVContact.h"
 #import "CDVContacts.h"
 #import "CDVDebug.h"
-#import "CDVDebugConsole.h"
 #import "CDVDevice.h"
 #import "CDVFile.h"
 #import "CDVFileTransfer.h"

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/064239b7/CordovaLib/Classes/CDVDebugConsole.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVDebugConsole.h 
b/CordovaLib/Classes/CDVDebugConsole.h
deleted file mode 100644
index 6a0a185..0000000
--- a/CordovaLib/Classes/CDVDebugConsole.h
+++ /dev/null
@@ -1,28 +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.
- */
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-#import "CDVPlugin.h"
-
-@interface CDVDebugConsole : CDVPlugin {}
-
-- (void)log:(CDVInvokedUrlCommand*)command;
-
-@end

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/064239b7/CordovaLib/Classes/CDVDebugConsole.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVDebugConsole.m 
b/CordovaLib/Classes/CDVDebugConsole.m
deleted file mode 100644
index 29cbb91..0000000
--- a/CordovaLib/Classes/CDVDebugConsole.m
+++ /dev/null
@@ -1,37 +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.
- */
-
-#import "CDVDebugConsole.h"
-
-@implementation CDVDebugConsole
-
-- (void)log:(CDVInvokedUrlCommand*)command
-{
-    NSString* message = [command.arguments objectAtIndex:0];
-    NSDictionary* options = [command.arguments objectAtIndex:1];
-    NSString* log_level = @"INFO";
-
-    if ([options objectForKey:@"logLevel"]) {
-        log_level = [options objectForKey:@"logLevel"];
-    }
-
-    NSLog(@"[%@] %@", log_level, message);
-}
-
-@end

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/064239b7/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj 
b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
index 2a4efcc..c637d60 100644
--- a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
+++ b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
@@ -57,8 +57,6 @@
                8887FD691090FBE7009987E8 /* NSDictionary+Extensions.m in 
Sources */ = {isa = PBXBuildFile; fileRef = 8887FD291090FBE7009987E8 /* 
NSDictionary+Extensions.m */; };
                8887FD6A1090FBE7009987E8 /* CDVContacts.h in Headers */ = {isa 
= PBXBuildFile; fileRef = 8887FD2A1090FBE7009987E8 /* CDVContacts.h */; 
settings = {ATTRIBUTES = (Public, ); }; };
                8887FD6B1090FBE7009987E8 /* CDVContacts.m in Sources */ = {isa 
= PBXBuildFile; fileRef = 8887FD2B1090FBE7009987E8 /* CDVContacts.m */; };
-               8887FD6C1090FBE7009987E8 /* CDVDebugConsole.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 8887FD2C1090FBE7009987E8 /* CDVDebugConsole.h 
*/; settings = {ATTRIBUTES = (Public, ); }; };
-               8887FD6D1090FBE7009987E8 /* CDVDebugConsole.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 8887FD2D1090FBE7009987E8 /* CDVDebugConsole.m 
*/; };
                8887FD701090FBE7009987E8 /* CDVFile.h in Headers */ = {isa = 
PBXBuildFile; fileRef = 8887FD301090FBE7009987E8 /* CDVFile.h */; settings = 
{ATTRIBUTES = (Public, ); }; };
                8887FD711090FBE7009987E8 /* CDVFile.m in Sources */ = {isa = 
PBXBuildFile; fileRef = 8887FD311090FBE7009987E8 /* CDVFile.m */; };
                8887FD741090FBE7009987E8 /* CDVInvokedUrlCommand.h in Headers 
*/ = {isa = PBXBuildFile; fileRef = 8887FD341090FBE7009987E8 /* 
CDVInvokedUrlCommand.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -160,8 +158,6 @@
                8887FD291090FBE7009987E8 /* NSDictionary+Extensions.m */ = {isa 
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; 
name = "NSDictionary+Extensions.m"; path = "Classes/NSDictionary+Extensions.m"; 
sourceTree = "<group>"; };
                8887FD2A1090FBE7009987E8 /* CDVContacts.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = 
CDVContacts.h; path = Classes/CDVContacts.h; sourceTree = "<group>"; };
                8887FD2B1090FBE7009987E8 /* CDVContacts.m */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name 
= CDVContacts.m; path = Classes/CDVContacts.m; sourceTree = "<group>"; };
-               8887FD2C1090FBE7009987E8 /* CDVDebugConsole.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = 
CDVDebugConsole.h; path = Classes/CDVDebugConsole.h; sourceTree = "<group>"; };
-               8887FD2D1090FBE7009987E8 /* CDVDebugConsole.m */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name 
= CDVDebugConsole.m; path = Classes/CDVDebugConsole.m; sourceTree = "<group>"; 
};
                8887FD301090FBE7009987E8 /* CDVFile.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = 
CDVFile.h; path = Classes/CDVFile.h; sourceTree = "<group>"; };
                8887FD311090FBE7009987E8 /* CDVFile.m */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name 
= CDVFile.m; path = Classes/CDVFile.m; sourceTree = "<group>"; };
                8887FD341090FBE7009987E8 /* CDVInvokedUrlCommand.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = 
CDVInvokedUrlCommand.h; path = Classes/CDVInvokedUrlCommand.h; sourceTree = 
"<group>"; };
@@ -311,8 +307,6 @@
                                1F3C04CD12BC247D004F9E10 /* CDVContact.m */,
                                8887FD2A1090FBE7009987E8 /* CDVContacts.h */,
                                8887FD2B1090FBE7009987E8 /* CDVContacts.m */,
-                               8887FD2C1090FBE7009987E8 /* CDVDebugConsole.h 
*/,
-                               8887FD2D1090FBE7009987E8 /* CDVDebugConsole.m 
*/,
                                EB80C2AA15DEA63D004D9E7B /* CDVEcho.h */,
                                EB80C2AB15DEA63D004D9E7B /* CDVEcho.m */,
                                8887FD301090FBE7009987E8 /* CDVFile.h */,
@@ -386,7 +380,6 @@
                                8887FD661090FBE7009987E8 /* CDVCamera.h in 
Headers */,
                                8887FD681090FBE7009987E8 /* 
NSDictionary+Extensions.h in Headers */,
                                8887FD6A1090FBE7009987E8 /* CDVContacts.h in 
Headers */,
-                               8887FD6C1090FBE7009987E8 /* CDVDebugConsole.h 
in Headers */,
                                8887FD701090FBE7009987E8 /* CDVFile.h in 
Headers */,
                                8887FD741090FBE7009987E8 /* 
CDVInvokedUrlCommand.h in Headers */,
                                8887FD851090FBE7009987E8 /* CDVLocation.h in 
Headers */,
@@ -487,7 +480,6 @@
                                8887FD671090FBE7009987E8 /* CDVCamera.m in 
Sources */,
                                8887FD691090FBE7009987E8 /* 
NSDictionary+Extensions.m in Sources */,
                                8887FD6B1090FBE7009987E8 /* CDVContacts.m in 
Sources */,
-                               8887FD6D1090FBE7009987E8 /* CDVDebugConsole.m 
in Sources */,
                                8887FD711090FBE7009987E8 /* CDVFile.m in 
Sources */,
                                8887FD751090FBE7009987E8 /* 
CDVInvokedUrlCommand.m in Sources */,
                                8887FD861090FBE7009987E8 /* CDVLocation.m in 
Sources */,

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/064239b7/CordovaLibTests/CordovaLibApp/config.xml
----------------------------------------------------------------------
diff --git a/CordovaLibTests/CordovaLibApp/config.xml 
b/CordovaLibTests/CordovaLibApp/config.xml
index 5610e5e..f8a2fad 100644
--- a/CordovaLibTests/CordovaLibApp/config.xml
+++ b/CordovaLibTests/CordovaLibApp/config.xml
@@ -25,7 +25,6 @@
         <plugin name="Camera" value="CDVCamera" />
         <plugin name="NetworkStatus" value="CDVConnection" />
         <plugin name="Contacts" value="CDVContacts" />
-        <plugin name="Debug Console" value="CDVDebugConsole" />
         <plugin name="File" value="CDVFile" />
         <plugin name="FileTransfer" value="CDVFileTransfer" />
         <plugin name="Geolocation" value="CDVLocation" />

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/064239b7/bin/templates/project/__TESTING__/config.xml
----------------------------------------------------------------------
diff --git a/bin/templates/project/__TESTING__/config.xml 
b/bin/templates/project/__TESTING__/config.xml
index 8889726..537705d 100644
--- a/bin/templates/project/__TESTING__/config.xml
+++ b/bin/templates/project/__TESTING__/config.xml
@@ -46,7 +46,6 @@
         <plugin name="Camera" value="CDVCamera" />
         <plugin name="NetworkStatus" value="CDVConnection" />
         <plugin name="Contacts" value="CDVContacts" />
-        <plugin name="Debug Console" value="CDVDebugConsole" />
         <plugin name="Echo" value="CDVEcho" />
         <plugin name="File" value="CDVFile" />
         <plugin name="FileTransfer" value="CDVFileTransfer" />

Reply via email to