cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [10/10] cordova-lib git commit: Empty out contents of plugin test files (and delete some unused ones)
Date Fri, 16 Jan 2015 15:30:47 GMT
Empty out contents of plugin test files (and delete some unused ones)

Their contents don't matter for the unit tests. This saves some space
and makes things run faster.


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

Branch: refs/heads/master
Commit: cdf4694db66a404d1c710e619af33960c8537cbc
Parents: 36ffb18
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Jan 16 10:27:57 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Fri Jan 16 10:30:15 2015 -0500

----------------------------------------------------------------------
 cordova-lib/spec-plugman/plugins/.gitkeep       |    0
 .../plugins/AndroidJS/www/android.js            |    2 +-
 .../ChildBrowser/src/android/ChildBrowser.java  |   20 +-
 .../src/ios/ChildBrowser.bundle/arrow_left.png  |  Bin 2946 -> 58 bytes
 .../ios/ChildBrowser.bundle/arrow_left@2x.png   |  Bin 2946 -> 61 bytes
 .../src/ios/ChildBrowser.bundle/arrow_right.png |  Bin 2946 -> 59 bytes
 .../ios/ChildBrowser.bundle/arrow_right@2x.png  |  Bin 2946 -> 62 bytes
 .../src/ios/ChildBrowser.bundle/but_refresh.png |  Bin 3369 -> 59 bytes
 .../ios/ChildBrowser.bundle/but_refresh@2x.png  |  Bin 3369 -> 62 bytes
 .../src/ios/ChildBrowser.bundle/compass.png     |  Bin 3035 -> 55 bytes
 .../src/ios/ChildBrowser.bundle/compass@2x.png  |  Bin 3035 -> 58 bytes
 .../ChildBrowser/src/ios/ChildBrowserCommand.h  |   50 +-
 .../ChildBrowser/src/ios/ChildBrowserCommand.m  |   87 +-
 .../src/ios/ChildBrowserViewController.h        |   74 +-
 .../src/ios/ChildBrowserViewController.m        |  240 +-
 .../src/ios/ChildBrowserViewController.xib      |  876 +------
 .../ChildBrowser/src/ios/TargetDirTest.h        |   21 +-
 .../ChildBrowser/src/ios/TargetDirTest.m        |    2 +-
 .../src/ios/preserveDirs/PreserveDirsTest.h     |   21 +-
 .../src/ios/preserveDirs/PreserveDirsTest.m     |    2 +-
 .../plugins/ChildBrowser/www/childbrowser.js    |   20 +-
 .../ChildBrowser/www/childbrowser/image.jpg     |    2 +-
 .../ChildBrowser/www/childbrowser_file.html     |    2 +-
 .../Contacts/src/android/ContactAccessor.java   |  199 +-
 .../src/android/ContactAccessorSdk5.java        | 2184 +-----------------
 .../Contacts/src/android/ContactManager.java    |  123 +-
 .../src/blackberry10/ContactActivity.js         |   27 +-
 .../Contacts/src/blackberry10/ContactAddress.js |   31 +-
 .../Contacts/src/blackberry10/ContactError.js   |   31 +-
 .../Contacts/src/blackberry10/ContactField.js   |   28 +-
 .../src/blackberry10/ContactFindOptions.js      |   51 +-
 .../Contacts/src/blackberry10/ContactName.js    |   40 +-
 .../Contacts/src/blackberry10/ContactNews.js    |   27 +-
 .../src/blackberry10/ContactOrganization.js     |   23 +-
 .../Contacts/src/blackberry10/ContactPhoto.js   |   24 +-
 .../Contacts/src/blackberry10/contactConsts.js  |  226 +-
 .../Contacts/src/blackberry10/contactUtils.js   |  224 +-
 .../plugins/Contacts/src/blackberry10/index.js  |  375 +--
 .../plugins/Contacts/src/ios/CDVContact.h       |  137 +-
 .../plugins/Contacts/src/ios/CDVContact.m       | 1753 +-------------
 .../plugins/Contacts/src/ios/CDVContacts.h      |  152 +-
 .../plugins/Contacts/src/ios/CDVContacts.m      |  594 +----
 .../plugins/Contacts/src/wp/Contacts.cs         |  665 +-----
 .../plugins/Contacts/www/Contact.js             |  178 +-
 .../plugins/Contacts/www/ContactAddress.js      |   47 +-
 .../plugins/Contacts/www/ContactError.js        |   43 +-
 .../plugins/Contacts/www/ContactField.js        |   38 +-
 .../plugins/Contacts/www/ContactFindOptions.js  |   35 +-
 .../plugins/Contacts/www/ContactName.js         |   42 +-
 .../plugins/Contacts/www/ContactOrganization.js |   45 +-
 .../plugins/Contacts/www/contacts.js            |   77 +-
 .../plugins/Contacts/www/ios/Contact.js         |   52 +-
 .../plugins/Contacts/www/ios/contacts.js        |   63 +-
 .../plugins/DummyPlugin/android-resource.xml    |    2 +-
 .../DummyPlugin/src/android/DummyPlugin.java    |   20 +-
 .../plugins/DummyPlugin/src/android/TestLib.jar |    1 +
 .../DummyPlugin/src/blackberry10/index.js       |   20 +-
 .../src/ios/Custom.framework/someFheader.h      |    1 +
 .../src/ios/Custom.framework/somebinlib         |    1 +
 .../DummyPlugin/src/ios/DummyPlugin.bundle      |    1 +
 .../DummyPlugin/src/ios/DummyPluginCommand.h    |    1 +
 .../DummyPlugin/src/ios/DummyPluginCommand.m    |    1 +
 .../DummyPlugin/src/ios/SourceWithFramework.m   |    1 +
 .../plugins/DummyPlugin/src/ios/TargetDirTest.h |    1 +
 .../plugins/DummyPlugin/src/ios/TargetDirTest.m |    1 +
 .../DummyPlugin/src/ios/libsqlite3.dylib        |    1 +
 .../plugins/DummyPlugin/src/tizen/dummer.js     |    1 +
 .../plugins/DummyPlugin/src/windows8/dummer.js  |    1 +
 .../plugins/DummyPlugin/src/wp7/DummyPlugin.cs  |   20 +-
 .../plugins/DummyPlugin/src/wp8/DummyPlugin.cs  |   20 +-
 .../plugins/DummyPlugin/www/dummyplugin.js      |   20 +-
 .../DummyPlugin/www/dummyplugin/image.jpg       |    2 +-
 .../plugins/EnginePlugin/megaBoringVersion      |   24 +-
 .../plugins/EnginePlugin/megaFunVersion         |   24 +-
 .../FaultyPlugin/src/android/FaultyPlugin.java  |   20 +-
 .../FaultyPlugin/src/blackberry10/client.js     |    1 +
 .../plugins/FaultyPlugin/src/ios/FaultyPlugin.h |   50 +-
 .../plugins/FaultyPlugin/src/ios/FaultyPlugin.m |   87 +-
 .../FaultyPlugin/src/windows8/faultyPlugin.js   |    1 +
 .../FaultyPlugin/src/wp7/FaultyPlugin.cs        |   20 +-
 .../FaultyPlugin/src/wp8/FaultyPlugin.cs        |   20 +-
 .../WebNotifications/src/ios/AppDelegate.m.diff |   19 +-
 .../WebNotifications/src/ios/WebNotifications.h |   36 +-
 .../WebNotifications/src/ios/WebNotifications.m |  125 +-
 .../WebNotifications/www/webnotifications.js    |  124 +-
 .../src/android/WeblessPlugin.java              |   20 +-
 .../src/ios/WeblessPlugin.bundle/arrow_left.png |  Bin 2946 -> 60 bytes
 .../ios/WeblessPlugin.bundle/arrow_left@2x.png  |  Bin 2946 -> 63 bytes
 .../ios/WeblessPlugin.bundle/arrow_right.png    |  Bin 2946 -> 61 bytes
 .../ios/WeblessPlugin.bundle/arrow_right@2x.png |  Bin 2946 -> 64 bytes
 .../ios/WeblessPlugin.bundle/but_refresh.png    |  Bin 3369 -> 61 bytes
 .../ios/WeblessPlugin.bundle/but_refresh@2x.png |  Bin 3369 -> 64 bytes
 .../src/ios/WeblessPlugin.bundle/compass.png    |  Bin 3035 -> 57 bytes
 .../src/ios/WeblessPlugin.bundle/compass@2x.png |  Bin 3035 -> 60 bytes
 .../src/ios/WeblessPluginCommand.h              |   50 +-
 .../src/ios/WeblessPluginCommand.m              |   87 +-
 .../src/ios/WeblessPluginViewController.h       |   74 +-
 .../src/ios/WeblessPluginViewController.m       |  240 +-
 .../src/ios/WeblessPluginViewController.xib     |  876 +------
 .../plugins/cordova.echo/.gitignore             |    2 +-
 .../cordova.echo/src/blackberry10/index.js      |   86 +-
 .../src/blackberry10/native/device/echoJnext.so |  Bin 1291818 -> 59 bytes
 .../blackberry10/native/public/json/autolink.h  |   19 -
 .../blackberry10/native/public/json/config.h    |   43 -
 .../blackberry10/native/public/json/features.h  |   42 -
 .../blackberry10/native/public/json/forwards.h  |   39 -
 .../src/blackberry10/native/public/json/json.h  |   10 -
 .../blackberry10/native/public/json/reader.h    |  196 --
 .../src/blackberry10/native/public/json/value.h | 1069 ---------
 .../blackberry10/native/public/json/writer.h    |  174 --
 .../native/public/json_batchallocator.h         |  125 -
 .../native/public/json_internalarray.inl        |  448 ----
 .../native/public/json_internalmap.inl          |  607 -----
 .../blackberry10/native/public/json_reader.cpp  |  894 -------
 .../blackberry10/native/public/json_value.cpp   | 1726 --------------
 .../native/public/json_valueiterator.inl        |  292 ---
 .../blackberry10/native/public/json_writer.cpp  |  829 -------
 .../src/blackberry10/native/public/plugin.cpp   |  320 ---
 .../src/blackberry10/native/public/plugin.h     |   70 -
 .../blackberry10/native/public/tokenizer.cpp    |  222 --
 .../src/blackberry10/native/public/tokenizer.h  |   55 -
 .../blackberry10/native/simulator/echoJnext.so  |  Bin 231778 -> 62 bytes
 .../src/blackberry10/native/src/echo.cpp        |  121 -
 .../src/blackberry10/native/src/echo.hpp        |   45 -
 .../plugins/cordova.echo/www/client.js          |   54 +-
 .../plugins/dependencies/A/src/android/A.java   |    1 +
 .../dependencies/A/src/ios/APluginCommand.h     |    1 +
 .../dependencies/A/src/ios/APluginCommand.m     |    1 +
 .../plugins/dependencies/A/www/plugin-a.js      |    1 +
 .../plugins/dependencies/B/src/android/B.java   |    1 +
 .../dependencies/B/src/ios/BPluginCommand.h     |    1 +
 .../dependencies/B/src/ios/BPluginCommand.m     |    1 +
 .../plugins/dependencies/B/www/plugin-b.js      |    1 +
 .../plugins/dependencies/C/src/android/C.java   |    1 +
 .../dependencies/C/src/ios/CPluginCommand.h     |    1 +
 .../dependencies/C/src/ios/CPluginCommand.m     |    1 +
 .../plugins/dependencies/C/www/plugin-c.js      |    1 +
 .../plugins/dependencies/D/src/android/D.java   |    1 +
 .../dependencies/D/src/ios/DPluginCommand.h     |    1 +
 .../dependencies/D/src/ios/DPluginCommand.m     |    1 +
 .../plugins/dependencies/D/www/plugin-d.js      |    1 +
 .../plugins/dependencies/E/src/android/E.java   |    1 +
 .../dependencies/E/src/ios/EPluginCommand.h     |    1 +
 .../dependencies/E/src/ios/EPluginCommand.m     |    1 +
 .../plugins/dependencies/E/www/plugin-d.js      |    1 +
 .../plugins/dependencies/F/src/android/F.java   |    1 +
 .../dependencies/F/src/ios/FPluginCommand.h     |    1 +
 .../dependencies/F/src/ios/FPluginCommand.m     |    1 +
 .../plugins/dependencies/F/www/plugin-f.js      |    1 +
 .../plugins/dependencies/G/src/android/G.java   |    1 +
 .../dependencies/G/src/ios/EPluginCommand.m     |    1 +
 .../dependencies/G/src/ios/GPluginCommand.h     |    1 +
 .../plugins/dependencies/G/www/plugin-g.js      |    1 +
 .../plugins/dependencies/H/src/android/H.java   |    1 +
 .../dependencies/H/src/ios/HPluginCommand.h     |    1 +
 .../dependencies/H/src/ios/HPluginCommand.m     |    1 +
 .../plugins/dependencies/H/www/plugin-h.js      |    1 +
 .../spec-plugman/plugins/dependencies/README.md |   11 +-
 .../dependencies/meta/D/src/android/D.java      |    1 +
 .../meta/D/src/ios/DPluginCommand.h             |    1 +
 .../meta/D/src/ios/DPluginCommand.m             |    1 +
 .../plugins/dependencies/meta/D/www/plugin-d.js |    1 +
 .../meta/subdir/E/src/android/E.java            |    1 +
 .../meta/subdir/E/src/ios/EPluginCommand.h      |    1 +
 .../meta/subdir/E/src/ios/EPluginCommand.m      |    1 +
 .../dependencies/meta/subdir/E/www/plugin-e.js  |    1 +
 .../dependencies/subdir/E/src/android/E.java    |    1 +
 .../subdir/E/src/ios/EPluginCommand.h           |    1 +
 .../subdir/E/src/ios/EPluginCommand.m           |    1 +
 .../dependencies/subdir/E/www/plugin-e.js       |    1 +
 170 files changed, 130 insertions(+), 18380 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/.gitkeep
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/.gitkeep b/cordova-lib/spec-plugman/plugins/.gitkeep
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/AndroidJS/www/android.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/AndroidJS/www/android.js b/cordova-lib/spec-plugman/plugins/AndroidJS/www/android.js
index d268b7d..da8fc11 100644
--- a/cordova-lib/spec-plugman/plugins/AndroidJS/www/android.js
+++ b/cordova-lib/spec-plugman/plugins/AndroidJS/www/android.js
@@ -1 +1 @@
-{};
+./AndroidJS/www/android.js

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/android/ChildBrowser.java
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/android/ChildBrowser.java b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/android/ChildBrowser.java
index 5263b0c..4100bef 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/android/ChildBrowser.java
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/android/ChildBrowser.java
@@ -1,19 +1 @@
-/*
- *
- * Copyright 2013 Anis Kadri
- *
- * Licensed 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.
- *
-*/
-
+./ChildBrowser/src/android/ChildBrowser.java

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left.png
index 530e12b..83f5cfd 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left@2x.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left@2x.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left@2x.png
index 530e12b..4d5a28f 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left@2x.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_left@2x.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right.png
index 8b3d855..70b9d07 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right@2x.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right@2x.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right@2x.png
index 8b3d855..96ab272 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right@2x.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/arrow_right@2x.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh.png
index 309b6bd..7db5a66 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh@2x.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh@2x.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh@2x.png
index 309b6bd..244ce1d 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh@2x.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/but_refresh@2x.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass.png
index 46a8901..5c04cdf 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass@2x.png
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass@2x.png b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass@2x.png
index 46a8901..e0ac1dd 100644
Binary files a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass@2x.png and b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowser.bundle/compass@2x.png differ

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.h
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.h b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.h
index 6a23ab6..818cc13 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.h
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.h
@@ -1,49 +1 @@
-/*
- *
- * Copyright 2013 Anis Kadri
- *
- * Licensed 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.
- *
-*/
-
-//
-//  PhoneGap ! ChildBrowserCommand
-//
-//
-//  Created by Jesse MacFadyen on 10-05-29.
-//  Copyright 2010 Nitobi. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#ifdef PHONEGAP_FRAMEWORK
-	#import <PhoneGap/PGPlugin.h>
-#else
-	#import "PGPlugin.h"
-#endif
-#import "ChildBrowserViewController.h"
-
-
-
-@interface ChildBrowserCommand : PGPlugin <ChildBrowserDelegate>  {
-
-	ChildBrowserViewController* childBrowser;
-}
-
-@property (nonatomic, retain) ChildBrowserViewController *childBrowser;
-
-
-- (void) showWebPage:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
--(void) onChildLocationChange:(NSString*)newLoc;
-
-@end
+./ChildBrowser/src/ios/ChildBrowserCommand.h

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.m
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.m b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.m
index 38aaf64..7d592d3 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.m
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserCommand.m
@@ -1,86 +1 @@
-//
-
-// 
-//
-//  Created by Jesse MacFadyen on 10-05-29.
-//  Copyright 2010 Nitobi. All rights reserved.
-//  Copyright (c) 2011, IBM Corporation
-//  Copyright 2011, Randy McMillan
-//
-
-#import "ChildBrowserCommand.h"
-
-#ifdef PHONEGAP_FRAMEWORK
-	#import <PhoneGap/PhoneGapViewController.h>
-#else
-	#import "PhoneGapViewController.h"
-#endif
-
-
-@implementation ChildBrowserCommand
-
-@synthesize childBrowser;
-
-- (void) showWebPage:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options // args: url
-{	
-	
-    if(childBrowser == NULL)
-	{
-		childBrowser = [[ ChildBrowserViewController alloc ] initWithScale:FALSE ];
-		childBrowser.delegate = self;
-	}
-	
-/* // TODO: Work in progress
-	NSString* strOrientations = [ options objectForKey:@"supportedOrientations"];
-	NSArray* supportedOrientations = [strOrientations componentsSeparatedByString:@","];
-*/
-    PhoneGapViewController* cont = (PhoneGapViewController*)[ super appViewController ];
-    childBrowser.supportedOrientations = cont.supportedOrientations;
-    
-    if ([cont respondsToSelector:@selector(presentViewController)]) {
-        //Reference UIViewController.h Line:179 for update to iOS 5 difference - @RandyMcMillan
-        [cont presentViewController:childBrowser animated:YES completion:nil];        
-    } else {
-        [ cont presentModalViewController:childBrowser animated:YES ];
-    }                 
-        
-    NSString *url = (NSString*) [arguments objectAtIndex:0];
-        
-    [childBrowser loadURL:url  ];
-        
-}
-
--(void) close:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options // args: url
-{
-    [ childBrowser closeBrowser];
-	
-}
-
--(void) onClose
-{
-	NSString* jsCallback = [NSString stringWithFormat:@"ChildBrowser._onClose();",@""];
-	[self.webView stringByEvaluatingJavaScriptFromString:jsCallback];
-}
-
--(void) onOpenInSafari
-{
-	NSString* jsCallback = [NSString stringWithFormat:@"ChildBrowser._onOpenExternal();",@""];
-	[self.webView stringByEvaluatingJavaScriptFromString:jsCallback];
-}
-
-
--(void) onChildLocationChange:(NSString*)newLoc
-{
-	
-	NSString* tempLoc = [NSString stringWithFormat:@"%@",newLoc];
-	NSString* encUrl = [tempLoc stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
-	 
-	NSString* jsCallback = [NSString stringWithFormat:@"ChildBrowser._onLocationChange('%@');",encUrl];
-	[self.webView stringByEvaluatingJavaScriptFromString:jsCallback];
-
-}
-
-
-
-
-@end
+./ChildBrowser/src/ios/ChildBrowserCommand.m

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.h
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.h b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.h
index d6fc139..e6c2284 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.h
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.h
@@ -1,73 +1 @@
-/*
- *
- * Copyright 2013 Anis Kadri
- *
- * Licensed 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.
- *
-*/
-
-//
-//  ChildBrowserViewController.h
-//
-//  Created by Jesse MacFadyen on 21/07/09.
-//  Copyright 2009 Nitobi. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@protocol ChildBrowserDelegate<NSObject>
-
-
-
-/*
- *  onChildLocationChanging:newLoc
- *  
- *  Discussion:
- *    Invoked when a new page has loaded
- */
--(void) onChildLocationChange:(NSString*)newLoc;
--(void) onOpenInSafari;
--(void) onClose;
-@end
-
-
-@interface ChildBrowserViewController : UIViewController < UIWebViewDelegate > {
-	IBOutlet UIWebView* webView;
-	IBOutlet UIBarButtonItem* closeBtn;
-	IBOutlet UIBarButtonItem* refreshBtn;
-	IBOutlet UILabel* addressLabel;
-	IBOutlet UIBarButtonItem* backBtn;
-	IBOutlet UIBarButtonItem* fwdBtn;
-	IBOutlet UIBarButtonItem* safariBtn;
-	IBOutlet UIActivityIndicatorView* spinner;
-	BOOL scaleEnabled;
-	BOOL isImage;
-	NSString* imageURL;
-	NSArray* supportedOrientations;
-	id <ChildBrowserDelegate> delegate;
-}
-
-@property (nonatomic, retain)id <ChildBrowserDelegate> delegate;
-@property (nonatomic, retain) 	NSArray* supportedOrientations;
-@property(retain) NSString* imageURL;
-@property(assign) BOOL isImage;
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation; 
-- (ChildBrowserViewController*)initWithScale:(BOOL)enabled;
-- (IBAction)onDoneButtonPress:(id)sender;
-- (IBAction)onSafariButtonPress:(id)sender;
-- (void)loadURL:(NSString*)url;
--(void)closeBrowser;
-
-@end
+./ChildBrowser/src/ios/ChildBrowserViewController.h

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.m
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.m b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.m
index 167ef98..859dfa1 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.m
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.m
@@ -1,239 +1 @@
-//
-//  ChildBrowserViewController.m
-//
-//  Created by Jesse MacFadyen on 21/07/09.
-//  Copyright 2009 Nitobi. All rights reserved.
-//  Copyright (c) 2011, IBM Corporation
-//  Copyright 2011, Randy McMillan
-//
-
-#import "ChildBrowserViewController.h"
-
-
-@implementation ChildBrowserViewController
-
-@synthesize imageURL;
-@synthesize supportedOrientations;
-@synthesize isImage;
-@synthesize delegate;
-
-/*
- // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
-- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
-    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
-        // Custom initialization
-    }
-    return self;
-}
-*/
-
-+ (NSString*) resolveImageResource:(NSString*)resource
-{
-	NSString* systemVersion = [[UIDevice currentDevice] systemVersion];
-	BOOL isLessThaniOS4 = ([systemVersion compare:@"4.0" options:NSNumericSearch] == NSOrderedAscending);
-	
-	// the iPad image (nor retina) differentiation code was not in 3.x, and we have to explicitly set the path
-	if (isLessThaniOS4)
-	{
-        return [NSString stringWithFormat:@"%@.png", resource];
-	}
-	
-	return resource;
-}
-
-
-- (ChildBrowserViewController*)initWithScale:(BOOL)enabled
-{
-    self = [super init];
-	
-	
-	scaleEnabled = enabled;
-	
-	return self;	
-}
-
-// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
-- (void)viewDidLoad {
-    [super viewDidLoad];
-    
-	refreshBtn.image = [UIImage imageNamed:[[self class] resolveImageResource:@"ChildBrowser.bundle/but_refresh"]];
-	backBtn.image = [UIImage imageNamed:[[self class] resolveImageResource:@"ChildBrowser.bundle/arrow_left"]];
-	fwdBtn.image = [UIImage imageNamed:[[self class] resolveImageResource:@"ChildBrowser.bundle/arrow_right"]];
-	safariBtn.image = [UIImage imageNamed:[[self class] resolveImageResource:@"ChildBrowser.bundle/compass"]];
-
-	webView.delegate = self;
-	webView.scalesPageToFit = TRUE;
-	webView.backgroundColor = [UIColor whiteColor];
-	NSLog(@"View did load");
-}
-
-
-
-
-
-- (void)didReceiveMemoryWarning {
-	// Releases the view if it doesn't have a superview.
-    [super didReceiveMemoryWarning];
-	
-	// Release any cached data, images, etc that aren't in use.
-}
-
-- (void)viewDidUnload {
-	// Release any retained subviews of the main view.
-	// e.g. self.myOutlet = nil;
-	NSLog(@"View did UN-load");
-}
-
-
-- (void)dealloc {
-
-	webView.delegate = nil;
-	
-	[webView release];
-	[closeBtn release];
-	[refreshBtn release];
-	[addressLabel release];
-	[backBtn release];
-	[fwdBtn release];
-	[safariBtn release];
-	[spinner release];
-	[ supportedOrientations release];
-	[super dealloc];
-}
-
--(void)closeBrowser
-{
-	
-	if(delegate != NULL)
-	{
-		[delegate onClose];		
-	}
-    if ([self respondsToSelector:@selector(presentingViewController)]) { 
-        //Reference UIViewController.h Line:179 for update to iOS 5 difference - @RandyMcMillan
-        [[self presentingViewController] dismissViewControllerAnimated:YES completion:nil];
-    } else {
-        [[self parentViewController] dismissModalViewControllerAnimated:YES];
-    }
-}
-
--(IBAction) onDoneButtonPress:(id)sender
-{
-	[ self closeBrowser];
-
-    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]];
-    [webView loadRequest:request];
-}
-
-
--(IBAction) onSafariButtonPress:(id)sender
-{
-	
-	if(delegate != NULL)
-	{
-		[delegate onOpenInSafari];		
-	}
-	
-	if(isImage)
-	{
-		NSURL* pURL = [[ [NSURL alloc] initWithString:imageURL ] autorelease];
-		[ [ UIApplication sharedApplication ] openURL:pURL  ];
-	}
-	else
-	{
-		NSURLRequest *request = webView.request;
-		[[UIApplication sharedApplication] openURL:request.URL];
-	}
-
-	 
-}
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation 
-{
-	BOOL autoRotate = [self.supportedOrientations count] > 1; // autorotate if only more than 1 orientation supported
-	if (autoRotate)
-	{
-		if ([self.supportedOrientations containsObject:
-			 [NSNumber numberWithInt:interfaceOrientation]]) {
-			return YES;
-		}
-    }
-	
-	return NO;
-}
-
-
-
-
-- (void)loadURL:(NSString*)url
-{
-	NSLog(@"Opening Url : %@",url);
-	 
-	if( [url hasSuffix:@".png" ]  || 
-	    [url hasSuffix:@".jpg" ]  || 
-		[url hasSuffix:@".jpeg" ] || 
-		[url hasSuffix:@".bmp" ]  || 
-		[url hasSuffix:@".gif" ]  )
-	{
-		[ imageURL release ];
-		imageURL = [url copy];
-		isImage = YES;
-		NSString* htmlText = @"<html><body style='background-color:#333;margin:0px;padding:0px;'><img style='min-height:200px;margin:0px;padding:0px;width:100%;height:auto;' alt='' src='IMGSRC'/></body></html>";
-		htmlText = [ htmlText stringByReplacingOccurrencesOfString:@"IMGSRC" withString:url ];
-
-		[webView loadHTMLString:htmlText baseURL:[NSURL URLWithString:@""]];
-		
-	}
-	else
-	{
-		imageURL = @"";
-		isImage = NO;
-		NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:url]];
-		[webView loadRequest:request];
-	}
-	webView.hidden = NO;
-}
-
-
-- (void)webViewDidStartLoad:(UIWebView *)sender {
-	addressLabel.text = @"Loading...";
-	backBtn.enabled = webView.canGoBack;
-	fwdBtn.enabled = webView.canGoForward;
-	
-	[ spinner startAnimating ];
-	
-}
-
-- (void)webViewDidFinishLoad:(UIWebView *)sender 
-{
-	NSURLRequest *request = webView.request;
-	NSLog(@"New Address is : %@",request.URL.absoluteString);
-	addressLabel.text = request.URL.absoluteString;
-	backBtn.enabled = webView.canGoBack;
-	fwdBtn.enabled = webView.canGoForward;
-	[ spinner stopAnimating ];
-	
-	if(delegate != NULL)
-	{
-		[delegate onChildLocationChange:request.URL.absoluteString];		
-	}
-
-}
-
-- (void)webView:(UIWebView *)wv didFailLoadWithError:(NSError *)error {
-    NSLog (@"webView:didFailLoadWithError");
-    [spinner stopAnimating];
-    addressLabel.text = @"Failed";
-    if (error != NULL) {
-        UIAlertView *errorAlert = [[UIAlertView alloc]
-                                   initWithTitle: [error localizedDescription]
-                                   message: [error localizedFailureReason]
-                                   delegate:nil
-                                   cancelButtonTitle:@"OK"
-                                   otherButtonTitles:nil];
-        [errorAlert show];
-        [errorAlert release];
-    }
-}
-
-
-@end
+./ChildBrowser/src/ios/ChildBrowserViewController.m

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.xib
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.xib b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.xib
index cc8dd65..d26b022 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.xib
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/ChildBrowserViewController.xib
@@ -1,875 +1 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
-	<data>
-		<int key="IBDocument.SystemTarget">768</int>
-		<string key="IBDocument.SystemVersion">10K540</string>
-		<string key="IBDocument.InterfaceBuilderVersion">851</string>
-		<string key="IBDocument.AppKitVersion">1038.36</string>
-		<string key="IBDocument.HIToolboxVersion">461.00</string>
-		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
-			<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-			<string key="NS.object.0">141</string>
-		</object>
-		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
-			<bool key="EncodedWithXMLCoder">YES</bool>
-		</object>
-		<object class="NSArray" key="IBDocument.PluginDependencies">
-			<bool key="EncodedWithXMLCoder">YES</bool>
-			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-		</object>
-		<object class="NSMutableDictionary" key="IBDocument.Metadata">
-			<bool key="EncodedWithXMLCoder">YES</bool>
-			<object class="NSArray" key="dict.sortedKeys" id="0">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-			</object>
-			<object class="NSMutableArray" key="dict.values">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-			</object>
-		</object>
-		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
-			<bool key="EncodedWithXMLCoder">YES</bool>
-			<object class="IBProxyObject" id="372490531">
-				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
-				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-			</object>
-			<object class="IBProxyObject" id="975951072">
-				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
-				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-			</object>
-			<object class="IBUIView" id="191373211">
-				<nil key="NSNextResponder"/>
-				<int key="NSvFlags">292</int>
-				<object class="NSMutableArray" key="NSSubviews">
-					<bool key="EncodedWithXMLCoder">YES</bool>
-					<object class="IBUIWebView" id="345761693">
-						<reference key="NSNextResponder" ref="191373211"/>
-						<int key="NSvFlags">-2147483374</int>
-						<string key="NSFrameSize">{480, 229}</string>
-						<reference key="NSSuperview" ref="191373211"/>
-						<reference key="NSNextKeyView" ref="471899933"/>
-						<object class="NSColor" key="IBUIBackgroundColor">
-							<int key="NSColorSpace">1</int>
-							<bytes key="NSRGB">MCAwIDAAA</bytes>
-						</object>
-						<bool key="IBUIClipsSubviews">YES</bool>
-						<bool key="IBUIMultipleTouchEnabled">YES</bool>
-						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-						<int key="IBUIDataDetectorTypes">1</int>
-						<bool key="IBUIDetectsPhoneNumbers">YES</bool>
-					</object>
-					<object class="IBUIToolbar" id="471899933">
-						<reference key="NSNextResponder" ref="191373211"/>
-						<int key="NSvFlags">266</int>
-						<string key="NSFrame">{{0, 256}, {480, 44}}</string>
-						<reference key="NSSuperview" ref="191373211"/>
-						<reference key="NSNextKeyView" ref="349240355"/>
-						<bool key="IBUIOpaque">NO</bool>
-						<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
-						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-						<int key="IBUIBarStyle">1</int>
-						<object class="NSMutableArray" key="IBUIItems">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<object class="IBUIBarButtonItem" id="966737436">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<int key="IBUIStyle">1</int>
-								<reference key="IBUIToolbar" ref="471899933"/>
-								<int key="IBUISystemItemIdentifier">0</int>
-							</object>
-							<object class="IBUIBarButtonItem" id="312951844">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<reference key="IBUIToolbar" ref="471899933"/>
-								<int key="IBUISystemItemIdentifier">5</int>
-							</object>
-							<object class="IBUIBarButtonItem" id="615970053">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<reference key="IBUIToolbar" ref="471899933"/>
-							</object>
-							<object class="IBUIBarButtonItem" id="111711024">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<reference key="IBUIToolbar" ref="471899933"/>
-								<int key="IBUISystemItemIdentifier">5</int>
-							</object>
-							<object class="IBUIBarButtonItem" id="227415391">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<float key="IBUIWidth">32</float>
-								<reference key="IBUIToolbar" ref="471899933"/>
-							</object>
-							<object class="IBUIBarButtonItem" id="766205236">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<reference key="IBUIToolbar" ref="471899933"/>
-								<int key="IBUISystemItemIdentifier">5</int>
-							</object>
-							<object class="IBUIBarButtonItem" id="283287216">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<float key="IBUIWidth">32</float>
-								<reference key="IBUIToolbar" ref="471899933"/>
-							</object>
-							<object class="IBUIBarButtonItem" id="129413107">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<reference key="IBUIToolbar" ref="471899933"/>
-								<int key="IBUISystemItemIdentifier">5</int>
-							</object>
-							<object class="IBUIBarButtonItem" id="1046195837">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<float key="IBUIWidth">32</float>
-								<reference key="IBUIToolbar" ref="471899933"/>
-							</object>
-							<object class="IBUIBarButtonItem" id="667527307">
-								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<reference key="IBUIToolbar" ref="471899933"/>
-								<int key="IBUISystemItemIdentifier">5</int>
-							</object>
-						</object>
-					</object>
-					<object class="IBUILabel" id="349240355">
-						<reference key="NSNextResponder" ref="191373211"/>
-						<int key="NSvFlags">270</int>
-						<string key="NSFrame">{{5, 230}, {418, 21}}</string>
-						<reference key="NSSuperview" ref="191373211"/>
-						<reference key="NSNextKeyView" ref="89602979"/>
-						<object class="NSColor" key="IBUIBackgroundColor">
-							<int key="NSColorSpace">4</int>
-							<bytes key="NSWhite">MC42NjY2NjY2OSAwAA</bytes>
-						</object>
-						<bool key="IBUIOpaque">NO</bool>
-						<bool key="IBUIClipsSubviews">YES</bool>
-						<bool key="IBUIUserInteractionEnabled">NO</bool>
-						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-						<string key="IBUIText">Loading...</string>
-						<object class="NSFont" key="IBUIFont">
-							<string key="NSName">Helvetica</string>
-							<double key="NSSize">13</double>
-							<int key="NSfFlags">16</int>
-						</object>
-						<object class="NSColor" key="IBUITextColor">
-							<int key="NSColorSpace">3</int>
-							<bytes key="NSWhite">MQA</bytes>
-						</object>
-						<nil key="IBUIHighlightedColor"/>
-						<int key="IBUIBaselineAdjustment">1</int>
-						<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
-						<float key="IBUIMinimumFontSize">10</float>
-					</object>
-					<object class="IBUIActivityIndicatorView" id="89602979">
-						<reference key="NSNextResponder" ref="191373211"/>
-						<int key="NSvFlags">-2147483383</int>
-						<string key="NSFrame">{{454, 231}, {20, 20}}</string>
-						<reference key="NSSuperview" ref="191373211"/>
-						<bool key="IBUIOpaque">NO</bool>
-						<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
-						<bool key="IBUIUserInteractionEnabled">NO</bool>
-						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-					</object>
-				</object>
-				<string key="NSFrame">{{0, 20}, {480, 300}}</string>
-				<reference key="NSNextKeyView" ref="345761693"/>
-				<object class="NSColor" key="IBUIBackgroundColor">
-					<int key="NSColorSpace">3</int>
-					<bytes key="NSWhite">MC41AA</bytes>
-					<object class="NSColorSpace" key="NSCustomColorSpace">
-						<int key="NSID">2</int>
-					</object>
-				</object>
-				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
-				<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
-					<int key="interfaceOrientation">3</int>
-				</object>
-				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-			</object>
-		</object>
-		<object class="IBObjectContainer" key="IBDocument.Objects">
-			<object class="NSMutableArray" key="connectionRecords">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">webView</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="345761693"/>
-					</object>
-					<int key="connectionID">17</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">addressLabel</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="349240355"/>
-					</object>
-					<int key="connectionID">18</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">backBtn</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="227415391"/>
-					</object>
-					<int key="connectionID">19</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">fwdBtn</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="283287216"/>
-					</object>
-					<int key="connectionID">22</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">refreshBtn</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="615970053"/>
-					</object>
-					<int key="connectionID">23</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchEventConnection" key="connection">
-						<string key="label">onDoneButtonPress:</string>
-						<reference key="source" ref="966737436"/>
-						<reference key="destination" ref="372490531"/>
-					</object>
-					<int key="connectionID">26</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchEventConnection" key="connection">
-						<string key="label">reload</string>
-						<reference key="source" ref="615970053"/>
-						<reference key="destination" ref="345761693"/>
-					</object>
-					<int key="connectionID">27</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchEventConnection" key="connection">
-						<string key="label">goBack</string>
-						<reference key="source" ref="227415391"/>
-						<reference key="destination" ref="345761693"/>
-					</object>
-					<int key="connectionID">28</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchEventConnection" key="connection">
-						<string key="label">goForward</string>
-						<reference key="source" ref="283287216"/>
-						<reference key="destination" ref="345761693"/>
-					</object>
-					<int key="connectionID">29</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchEventConnection" key="connection">
-						<string key="label">onSafariButtonPress:</string>
-						<reference key="source" ref="1046195837"/>
-						<reference key="destination" ref="372490531"/>
-					</object>
-					<int key="connectionID">31</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">view</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="191373211"/>
-					</object>
-					<int key="connectionID">35</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">spinner</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="89602979"/>
-					</object>
-					<int key="connectionID">36</int>
-				</object>
-				<object class="IBConnectionRecord">
-					<object class="IBCocoaTouchOutletConnection" key="connection">
-						<string key="label">safariBtn</string>
-						<reference key="source" ref="372490531"/>
-						<reference key="destination" ref="1046195837"/>
-					</object>
-					<int key="connectionID">40</int>
-				</object>
-			</object>
-			<object class="IBMutableOrderedSet" key="objectRecords">
-				<object class="NSArray" key="orderedObjects">
-					<bool key="EncodedWithXMLCoder">YES</bool>
-					<object class="IBObjectRecord">
-						<int key="objectID">0</int>
-						<reference key="object" ref="0"/>
-						<reference key="children" ref="1000"/>
-						<nil key="parent"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">1</int>
-						<reference key="object" ref="191373211"/>
-						<object class="NSMutableArray" key="children">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<reference ref="471899933"/>
-							<reference ref="349240355"/>
-							<reference ref="89602979"/>
-							<reference ref="345761693"/>
-						</object>
-						<reference key="parent" ref="0"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">-1</int>
-						<reference key="object" ref="372490531"/>
-						<reference key="parent" ref="0"/>
-						<string key="objectName">File's Owner</string>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">-2</int>
-						<reference key="object" ref="975951072"/>
-						<reference key="parent" ref="0"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">4</int>
-						<reference key="object" ref="345761693"/>
-						<reference key="parent" ref="191373211"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">6</int>
-						<reference key="object" ref="471899933"/>
-						<object class="NSMutableArray" key="children">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<reference ref="966737436"/>
-							<reference ref="615970053"/>
-							<reference ref="227415391"/>
-							<reference ref="283287216"/>
-							<reference ref="1046195837"/>
-							<reference ref="111711024"/>
-							<reference ref="129413107"/>
-							<reference ref="312951844"/>
-							<reference ref="667527307"/>
-							<reference ref="766205236"/>
-						</object>
-						<reference key="parent" ref="191373211"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">7</int>
-						<reference key="object" ref="966737436"/>
-						<reference key="parent" ref="471899933"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">8</int>
-						<reference key="object" ref="615970053"/>
-						<reference key="parent" ref="471899933"/>
-						<string key="objectName">Bar Button Item (Reload)</string>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">9</int>
-						<reference key="object" ref="227415391"/>
-						<reference key="parent" ref="471899933"/>
-						<string key="objectName">Bar Button Item (Go Back)</string>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">10</int>
-						<reference key="object" ref="283287216"/>
-						<reference key="parent" ref="471899933"/>
-						<string key="objectName">Bar Button Item (Go Forward)</string>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">11</int>
-						<reference key="object" ref="1046195837"/>
-						<reference key="parent" ref="471899933"/>
-						<string key="objectName">Bar Button Item (Safari)</string>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">13</int>
-						<reference key="object" ref="349240355"/>
-						<reference key="parent" ref="191373211"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">14</int>
-						<reference key="object" ref="111711024"/>
-						<reference key="parent" ref="471899933"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">15</int>
-						<reference key="object" ref="129413107"/>
-						<reference key="parent" ref="471899933"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">32</int>
-						<reference key="object" ref="89602979"/>
-						<reference key="parent" ref="191373211"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">37</int>
-						<reference key="object" ref="312951844"/>
-						<reference key="parent" ref="471899933"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">38</int>
-						<reference key="object" ref="667527307"/>
-						<reference key="parent" ref="471899933"/>
-					</object>
-					<object class="IBObjectRecord">
-						<int key="objectID">39</int>
-						<reference key="object" ref="766205236"/>
-						<reference key="parent" ref="471899933"/>
-					</object>
-				</object>
-			</object>
-			<object class="NSMutableDictionary" key="flattenedProperties">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-				<object class="NSArray" key="dict.sortedKeys">
-					<bool key="EncodedWithXMLCoder">YES</bool>
-					<string>-1.CustomClassName</string>
-					<string>-2.CustomClassName</string>
-					<string>1.IBEditorWindowLastContentRect</string>
-					<string>1.IBPluginDependency</string>
-					<string>10.IBPluginDependency</string>
-					<string>11.IBPluginDependency</string>
-					<string>13.IBPluginDependency</string>
-					<string>13.IBViewBoundsToFrameTransform</string>
-					<string>14.IBPluginDependency</string>
-					<string>15.IBPluginDependency</string>
-					<string>32.IBPluginDependency</string>
-					<string>32.IBViewBoundsToFrameTransform</string>
-					<string>37.IBPluginDependency</string>
-					<string>38.IBPluginDependency</string>
-					<string>39.IBPluginDependency</string>
-					<string>4.IBPluginDependency</string>
-					<string>4.IBViewBoundsToFrameTransform</string>
-					<string>6.IBPluginDependency</string>
-					<string>6.IBViewBoundsToFrameTransform</string>
-					<string>7.IBPluginDependency</string>
-					<string>8.IBPluginDependency</string>
-					<string>9.IBPluginDependency</string>
-				</object>
-				<object class="NSMutableArray" key="dict.values">
-					<bool key="EncodedWithXMLCoder">YES</bool>
-					<string>ChildBrowserViewController</string>
-					<string>UIResponder</string>
-					<string>{{250, 643}, {480, 320}}</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<object class="NSAffineTransform">
-						<bytes key="NSTransformStruct">P4AAAL+AAABCoAAAwygAAA</bytes>
-					</object>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<object class="NSAffineTransform">
-						<bytes key="NSTransformStruct">P4AAAL+AAABD5gAAw3kAAA</bytes>
-					</object>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<object class="NSAffineTransform">
-						<bytes key="NSTransformStruct">P4AAAL+AAABB8AAAwwUAAA</bytes>
-					</object>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<object class="NSAffineTransform">
-						<bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAw10AAA</bytes>
-					</object>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
-				</object>
-			</object>
-			<object class="NSMutableDictionary" key="unlocalizedProperties">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-				<reference key="dict.sortedKeys" ref="0"/>
-				<object class="NSMutableArray" key="dict.values">
-					<bool key="EncodedWithXMLCoder">YES</bool>
-				</object>
-			</object>
-			<nil key="activeLocalization"/>
-			<object class="NSMutableDictionary" key="localizations">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-				<reference key="dict.sortedKeys" ref="0"/>
-				<object class="NSMutableArray" key="dict.values">
-					<bool key="EncodedWithXMLCoder">YES</bool>
-				</object>
-			</object>
-			<nil key="sourceID"/>
-			<int key="maxID">40</int>
-		</object>
-		<object class="IBClassDescriber" key="IBDocument.Classes">
-			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-				<object class="IBPartialClassDescription">
-					<string key="className">ChildBrowserViewController</string>
-					<string key="superclassName">UIViewController</string>
-					<object class="NSMutableDictionary" key="actions">
-						<bool key="EncodedWithXMLCoder">YES</bool>
-						<object class="NSArray" key="dict.sortedKeys">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>onDoneButtonPress:</string>
-							<string>onSafariButtonPress:</string>
-						</object>
-						<object class="NSMutableArray" key="dict.values">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>id</string>
-							<string>id</string>
-						</object>
-					</object>
-					<object class="NSMutableDictionary" key="actionInfosByName">
-						<bool key="EncodedWithXMLCoder">YES</bool>
-						<object class="NSArray" key="dict.sortedKeys">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>onDoneButtonPress:</string>
-							<string>onSafariButtonPress:</string>
-						</object>
-						<object class="NSMutableArray" key="dict.values">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<object class="IBActionInfo">
-								<string key="name">onDoneButtonPress:</string>
-								<string key="candidateClassName">id</string>
-							</object>
-							<object class="IBActionInfo">
-								<string key="name">onSafariButtonPress:</string>
-								<string key="candidateClassName">id</string>
-							</object>
-						</object>
-					</object>
-					<object class="NSMutableDictionary" key="outlets">
-						<bool key="EncodedWithXMLCoder">YES</bool>
-						<object class="NSArray" key="dict.sortedKeys">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>addressLabel</string>
-							<string>backBtn</string>
-							<string>closeBtn</string>
-							<string>delegate</string>
-							<string>fwdBtn</string>
-							<string>refreshBtn</string>
-							<string>safariBtn</string>
-							<string>spinner</string>
-							<string>webView</string>
-						</object>
-						<object class="NSMutableArray" key="dict.values">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>UILabel</string>
-							<string>UIBarButtonItem</string>
-							<string>UIBarButtonItem</string>
-							<string>id</string>
-							<string>UIBarButtonItem</string>
-							<string>UIBarButtonItem</string>
-							<string>UIBarButtonItem</string>
-							<string>UIActivityIndicatorView</string>
-							<string>UIWebView</string>
-						</object>
-					</object>
-					<object class="NSMutableDictionary" key="toOneOutletInfosByName">
-						<bool key="EncodedWithXMLCoder">YES</bool>
-						<object class="NSArray" key="dict.sortedKeys">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>addressLabel</string>
-							<string>backBtn</string>
-							<string>closeBtn</string>
-							<string>delegate</string>
-							<string>fwdBtn</string>
-							<string>refreshBtn</string>
-							<string>safariBtn</string>
-							<string>spinner</string>
-							<string>webView</string>
-						</object>
-						<object class="NSMutableArray" key="dict.values">
-							<bool key="EncodedWithXMLCoder">YES</bool>
-							<object class="IBToOneOutletInfo">
-								<string key="name">addressLabel</string>
-								<string key="candidateClassName">UILabel</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">backBtn</string>
-								<string key="candidateClassName">UIBarButtonItem</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">closeBtn</string>
-								<string key="candidateClassName">UIBarButtonItem</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">delegate</string>
-								<string key="candidateClassName">id</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">fwdBtn</string>
-								<string key="candidateClassName">UIBarButtonItem</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">refreshBtn</string>
-								<string key="candidateClassName">UIBarButtonItem</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">safariBtn</string>
-								<string key="candidateClassName">UIBarButtonItem</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">spinner</string>
-								<string key="candidateClassName">UIActivityIndicatorView</string>
-							</object>
-							<object class="IBToOneOutletInfo">
-								<string key="name">webView</string>
-								<string key="candidateClassName">UIWebView</string>
-							</object>
-						</object>
-					</object>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBProjectSource</string>
-						<string key="minorKey">Plugins/ChildBrowser/ChildBrowserViewController.h</string>
-					</object>
-				</object>
-			</object>
-			<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
-				<bool key="EncodedWithXMLCoder">YES</bool>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">QuartzCore.framework/Headers/CAAnimation.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">QuartzCore.framework/Headers/CALayer.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="485348283">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIActivityIndicatorView</string>
-					<string key="superclassName">UIView</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIActivityIndicatorView.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIBarButtonItem</string>
-					<string key="superclassName">UIBarItem</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIBarButtonItem.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIBarItem</string>
-					<string key="superclassName">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIBarItem.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UILabel</string>
-					<string key="superclassName">UIView</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UILabel.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIResponder</string>
-					<string key="superclassName">NSObject</string>
-					<reference key="sourceIdentifier" ref="485348283"/>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UISearchBar</string>
-					<string key="superclassName">UIView</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UISearchDisplayController</string>
-					<string key="superclassName">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIToolbar</string>
-					<string key="superclassName">UIView</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIToolbar.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIView</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIView</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIView</string>
-					<string key="superclassName">UIResponder</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIView.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIViewController</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">MediaPlayer.framework/Headers/MPMoviePlayerViewController.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIViewController</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIViewController</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIViewController</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIViewController</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIViewController</string>
-					<string key="superclassName">UIResponder</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
-					</object>
-				</object>
-				<object class="IBPartialClassDescription">
-					<string key="className">UIWebView</string>
-					<string key="superclassName">UIView</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
-						<string key="majorKey">IBFrameworkSource</string>
-						<string key="minorKey">UIKit.framework/Headers/UIWebView.h</string>
-					</object>
-				</object>
-			</object>
-		</object>
-		<int key="IBDocument.localizationMode">0</int>
-		<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
-		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
-			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
-			<integer value="768" key="NS.object.0"/>
-		</object>
-		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
-			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
-			<integer value="1056" key="NS.object.0"/>
-		</object>
-		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
-			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
-			<integer value="3000" key="NS.object.0"/>
-		</object>
-		<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
-		<nil key="IBDocument.LastKnownRelativeProjectPath"/>
-		<int key="IBDocument.defaultPropertyAccessControl">3</int>
-		<string key="IBCocoaTouchPluginVersion">141</string>
-	</data>
-</archive>
+./ChildBrowser/src/ios/ChildBrowserViewController.xib

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.h
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.h b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.h
index 60a1403..fc155de 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.h
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.h
@@ -1,20 +1 @@
-/*
- *
- * Copyright 2013 Anis Kadri
- *
- * Licensed 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.
- *
-*/
-
- 
+./ChildBrowser/src/ios/TargetDirTest.h

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.m
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.m b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.m
index 8d1c8b6..1269e2d 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.m
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/TargetDirTest.m
@@ -1 +1 @@
- 
+./ChildBrowser/src/ios/TargetDirTest.m

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.h
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.h b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.h
index 60a1403..fdbdead 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.h
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.h
@@ -1,20 +1 @@
-/*
- *
- * Copyright 2013 Anis Kadri
- *
- * Licensed 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.
- *
-*/
-
- 
+./ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.h

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.m
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.m b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.m
index 8d1c8b6..5c689b1 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.m
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.m
@@ -1 +1 @@
- 
+./ChildBrowser/src/ios/preserveDirs/PreserveDirsTest.m

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser.js b/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser.js
index 5263b0c..14f38cc 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser.js
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser.js
@@ -1,19 +1 @@
-/*
- *
- * Copyright 2013 Anis Kadri
- *
- * Licensed 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.
- *
-*/
-
+./ChildBrowser/www/childbrowser.js

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser/image.jpg
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser/image.jpg b/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser/image.jpg
index 257cc56..dce12e3 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser/image.jpg
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser/image.jpg
@@ -1 +1 @@
-foo
+./ChildBrowser/www/childbrowser/image.jpg

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser_file.html
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser_file.html b/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser_file.html
index 6de7b8c..e04dd76 100644
--- a/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser_file.html
+++ b/cordova-lib/spec-plugman/plugins/ChildBrowser/www/childbrowser_file.html
@@ -1 +1 @@
-This is a test file.
+./ChildBrowser/www/childbrowser_file.html

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/cdf4694d/cordova-lib/spec-plugman/plugins/Contacts/src/android/ContactAccessor.java
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/plugins/Contacts/src/android/ContactAccessor.java b/cordova-lib/spec-plugman/plugins/Contacts/src/android/ContactAccessor.java
index 24ef9c6..8b666c6 100644
--- a/cordova-lib/spec-plugman/plugins/Contacts/src/android/ContactAccessor.java
+++ b/cordova-lib/spec-plugman/plugins/Contacts/src/android/ContactAccessor.java
@@ -1,198 +1 @@
-/*
- * Copyright (C) 2009 The Android Open Source Project
- *
- * Licensed 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.
- */
-
-package org.apache.cordova.core;
-
-import java.util.HashMap;
-
-import android.util.Log;
-import android.webkit.WebView;
-
-import org.apache.cordova.CordovaInterface;
-import org.json.JSONArray;
-import org.json.JSONException;
-import org.json.JSONObject;
-
-/**
- * This abstract class defines SDK-independent API for communication with
- * Contacts Provider. The actual implementation used by the application depends
- * on the level of API available on the device. If the API level is Cupcake or
- * Donut, we want to use the {@link ContactAccessorSdk3_4} class. If it is
- * Eclair or higher, we want to use {@link ContactAccessorSdk5}.
- */
-public abstract class ContactAccessor {
-
-    protected final String LOG_TAG = "ContactsAccessor";
-    protected CordovaInterface mApp;
-    protected WebView mView;
-
-    /**
-     * Check to see if the data associated with the key is required to
-     * be populated in the Contact object.
-     * @param key
-     * @param map created by running buildPopulationSet.
-     * @return true if the key data is required
-     */
-    protected boolean isRequired(String key, HashMap<String,Boolean> map) {
-        Boolean retVal = map.get(key);
-        return (retVal == null) ? false : retVal.booleanValue();
-    }
-
-    /**
-     * Create a hash map of what data needs to be populated in the Contact object
-     * @param fields the list of fields to populate
-     * @return the hash map of required data
-     */
-    protected HashMap<String,Boolean> buildPopulationSet(JSONArray fields) {
-        HashMap<String,Boolean> map = new HashMap<String,Boolean>();
-
-        String key;
-        try {
-            if (fields.length() == 1 && fields.getString(0).equals("*")) {
-                map.put("displayName", true);
-                map.put("name", true);
-                map.put("nickname", true);
-                map.put("phoneNumbers", true);
-                map.put("emails", true);
-                map.put("addresses", true);
-                map.put("ims", true);
-                map.put("organizations", true);
-                map.put("birthday", true);
-                map.put("note", true);
-                map.put("urls", true);
-                map.put("photos", true);
-                map.put("categories", true);
-           } 
-            else {
-                for (int i=0; i<fields.length(); i++) {
-                    key = fields.getString(i);
-                    if (key.startsWith("displayName")) {
-                        map.put("displayName", true);
-                    }
-                    else if (key.startsWith("name")) {
-                        map.put("displayName", true);
-                        map.put("name", true);
-                    }
-                    else if (key.startsWith("nickname")) {
-                        map.put("nickname", true);
-                    }
-                    else if (key.startsWith("phoneNumbers")) {
-                        map.put("phoneNumbers", true);
-                    }
-                    else if (key.startsWith("emails")) {
-                        map.put("emails", true);
-                    }
-                    else if (key.startsWith("addresses")) {
-                        map.put("addresses", true);
-                    }
-                    else if (key.startsWith("ims")) {
-                        map.put("ims", true);
-                    }
-                    else if (key.startsWith("organizations")) {
-                        map.put("organizations", true);
-                    }
-                    else if (key.startsWith("birthday")) {
-                        map.put("birthday", true);
-                    }
-                    else if (key.startsWith("note")) {
-                        map.put("note", true);
-                    }
-                    else if (key.startsWith("urls")) {
-                        map.put("urls", true);
-                    }
-                    else if (key.startsWith("photos")) {
-                        map.put("photos", true);
-                    }
-                    else if (key.startsWith("categories")) {
-                        map.put("categories", true);
-                    }
-                }
-            }
-       }
-        catch (JSONException e) {
-            Log.e(LOG_TAG, e.getMessage(), e);
-        }
-        return map;
-    }
-
-    /**
-     * Convenience method to get a string from a JSON object.  Saves a
-     * lot of try/catch writing.
-     * If the property is not found in the object null will be returned.
-     *
-     * @param obj contact object to search
-     * @param property to be looked up
-     * @return The value of the property
-     */
-    protected String getJsonString(JSONObject obj, String property) {
-        String value = null;
-        try {
-            if (obj != null) {
-                value = obj.getString(property);
-                if (value.equals("null")) {
-                    Log.d(LOG_TAG, property + " is string called 'null'");
-                    value = null;
-                }
-            }
-       }
-        catch (JSONException e) {
-            Log.d(LOG_TAG, "Could not get = " + e.getMessage());
-        }
-        return value;
-    }
-
-    /**
-     * Handles adding a JSON Contact object into the database.
-     * @return TODO
-     */
-    public abstract String save(JSONObject contact);
-
-    /**
-     * Handles searching through SDK-specific contacts API.
-     */
-    public abstract JSONArray search(JSONArray filter, JSONObject options);
-
-    /**
-     * Handles searching through SDK-specific contacts API.
-     * @throws JSONException
-     */
-    public abstract JSONObject getContactById(String id) throws JSONException;
-
-    /**
-     * Handles removing a contact from the database.
-     */
-    public abstract boolean remove(String id);
-
-   /**
-     * A class that represents the where clause to be used in the database query 
-     */
-    class WhereOptions {
-        private String where;
-        private String[] whereArgs;
-        public void setWhere(String where) {
-            this.where = where;
-        }
-        public String getWhere() {
-            return where;
-        }
-        public void setWhereArgs(String[] whereArgs) {
-            this.whereArgs = whereArgs;
-        }
-        public String[] getWhereArgs() {
-            return whereArgs;
-        }
-    }
-}
+./Contacts/src/android/ContactAccessor.java


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


Mime
View raw message