rhodes 5.5.0.7 → 5.5.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +1 -1
- data/CREDITS +3 -3
- data/Rakefile +24 -0
- data/extensions/instrumentation/ext/platform/android/src/com/rho/instrumentation/Instrumentation.java +5 -0
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/Rakefile +1 -1
- data/lib/build/jake.rb +5 -0
- data/lib/commonAPI/clipboard/ext.yml +17 -0
- data/lib/commonAPI/clipboard/ext/Clipboard.xml +49 -0
- data/lib/commonAPI/clipboard/ext/build +19 -0
- data/lib/commonAPI/clipboard/ext/build.bat +29 -0
- data/lib/commonAPI/clipboard/ext/platform/android/Rakefile +141 -0
- data/lib/commonAPI/clipboard/ext/platform/android/ext_java.files +9 -0
- data/lib/commonAPI/clipboard/ext/platform/android/ext_native.files +7 -0
- data/lib/commonAPI/clipboard/ext/platform/android/jni/Clipboard_impl.cpp +61 -0
- data/lib/commonAPI/clipboard/ext/platform/android/src/com/rho/clipboard/Clipboard.java +15 -0
- data/lib/commonAPI/clipboard/ext/platform/android/src/com/rho/clipboard/ClipboardFactory.java +18 -0
- data/lib/commonAPI/clipboard/ext/platform/android/src/com/rho/clipboard/ClipboardSingleton.java +146 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/Clipboard.xcodeproj/project.pbxproj +368 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/Clipboard_Prefix.pch +7 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/Rakefile +73 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/impl/Clipboard.h +11 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/impl/Clipboard.m +12 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardFactorySingleton.m +16 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardSetup.m +9 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardSingleton.h +18 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardSingleton.m +43 -0
- data/lib/commonAPI/clipboard/ext/platform/iphone/impl/readme.txt +7 -0
- data/lib/commonAPI/coreapi/ext/NativeTabbar.xml +3 -3
- data/lib/commonAPI/coreapi/ext/shared/TimerImpl.cpp +36 -27
- data/lib/commonAPI/coreapi/public/api/rhoapi-force.ajax.js +3 -1
- data/lib/commonAPI/coreapi/public/api/rhoapi.js +2 -1
- data/lib/commonAPI/devicesecurity/ext.yml +11 -0
- data/lib/commonAPI/devicesecurity/ext/DeviceSecurity.xml +91 -0
- data/lib/commonAPI/devicesecurity/ext/build +19 -0
- data/lib/commonAPI/devicesecurity/ext/build.bat +29 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/InbuiltValues.erb +16 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/Rakefile +166 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/ext_java.files +10 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/ext_native.files +7 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/jni/DeviceSecurity_impl.cpp +61 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/src/com/rho/devicesecurity/DeviceSecurity.java +14 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/src/com/rho/devicesecurity/DeviceSecurityFactory.java +18 -0
- data/lib/commonAPI/devicesecurity/ext/platform/android/src/com/rho/devicesecurity/DeviceSecuritySingleton.java +412 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +368 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity_Prefix.pch +7 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/Rakefile +73 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecurity.h +11 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecurity.m +12 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecurityFactorySingleton.m +16 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecuritySetup.m +9 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecuritySingleton.h +19 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecuritySingleton.m +106 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/readme.txt +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +5 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/util/Utils.java +9 -0
- data/platform/android/build/android.rake +42 -1
- data/platform/android/build/androidcommon.rb +4 -2
- data/platform/iphone/Classes/RhoWKWebView.m +4 -0
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.h +2 -0
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +195 -30
- data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +91 -4
- data/platform/iphone/rbuild/iphone.rake +297 -231
- data/platform/iphone/rbuild/putsOverride.rake +8 -0
- data/platform/shared/common/RhoTime.cpp +81 -40
- data/platform/shared/common/RhodesApp.cpp +16 -18
- data/platform/shared/db/DBAdapter.cpp +33 -0
- data/platform/shared/db/DBAdapter.h +5 -0
- data/platform/shared/net/HttpServer.cpp +27 -1
- data/platform/shared/net/INetRequest.cpp +33 -6
- data/platform/shared/qt/rhodes/qkineticscroller.cpp +2 -2
- data/platform/shared/qt/rhodes/qkineticscroller_p.h +1 -1
- data/platform/shared/qt/rhodes/qtscrollerfilter.cpp +3 -3
- data/platform/shared/qt/rhodes/qtscrollevent.cpp +2 -2
- data/platform/shared/qt/rhodes/qwebviewkineticscroller.cpp +1 -1
- data/platform/shared/qt/rhodes/qwebviewkineticscroller.h +1 -1
- data/platform/wm/build/wm.rake +7 -3
- data/platform/wm/rhodes/browser/BrowserFactory.cpp +4 -6
- data/platform/wm/rhodes/browser/stubs.cpp +5 -0
- data/platform/wm/rhodes/rhodes.vcproj +31 -2
- data/rakefile.rb +24 -0
- data/res/generators/templates/application/app/Settings/home.erb +1 -1
- data/res/generators/templates/application/build.yml +61 -4
- data/res/generators/templates/application/icon/icon.png +0 -0
- data/res/generators/templates/application/icon/icon114.png +0 -0
- data/res/generators/templates/application/icon/icon120.png +0 -0
- data/res/generators/templates/application/icon/icon144.png +0 -0
- data/res/generators/templates/application/icon/icon152.png +0 -0
- data/res/generators/templates/application/icon/icon180.png +0 -0
- data/res/generators/templates/application/icon/icon57.png +0 -0
- data/res/generators/templates/application/icon/icon60.png +0 -0
- data/res/generators/templates/application/icon/icon72.png +0 -0
- data/res/generators/templates/application/icon/icon76.png +0 -0
- data/res/generators/templates/application/production/iTunesArtwork.png +0 -0
- data/res/generators/templates/application/production/iTunesArtwork@2x.png +0 -0
- data/res/generators/templates/iphone_project/Bremen7.xcodeproj/project.pbxproj +1 -0
- data/res/generators/templates/iphone_project/buildRhoBundle +23 -7
- data/res/generators/templates/iphone_project/root/Info.plist +0 -2
- data/res/generators/templates/iphone_project/root/iTunesArtwork +0 -0
- data/res/generators/templates/iphone_project/root/iTunesArtwork@2x +0 -0
- data/res/generators/templates/iphone_project/root/icon114.png +0 -0
- data/res/generators/templates/iphone_project/root/icon120.png +0 -0
- data/res/generators/templates/iphone_project/root/icon144.png +0 -0
- data/res/generators/templates/iphone_project/root/icon152.png +0 -0
- data/res/generators/templates/iphone_project/root/icon180.png +0 -0
- data/res/generators/templates/iphone_project/root/icon57.png +0 -0
- data/res/generators/templates/iphone_project/root/icon60.png +0 -0
- data/res/generators/templates/iphone_project/root/icon72.png +0 -0
- data/res/generators/templates/iphone_project/root/icon76.png +0 -0
- data/res/generators/templates/iphone_project/root/rhorunner_development.entitlements +6 -0
- data/rhodes.gemspec +19 -17
- data/version +1 -1
- metadata +118 -44
data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj
ADDED
@@ -0,0 +1,368 @@
|
|
1
|
+
// !$*UTF8*$!
|
2
|
+
{
|
3
|
+
archiveVersion = 1;
|
4
|
+
classes = {
|
5
|
+
};
|
6
|
+
objectVersion = 45;
|
7
|
+
objects = {
|
8
|
+
|
9
|
+
/* Begin PBXBuildFile section */
|
10
|
+
FA3E1F211779EFAA00F5E33A /* DeviceSecurity.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3E1F1B1779EFAA00F5E33A /* DeviceSecurity.h */; };
|
11
|
+
FA3E1F221779EFAA00F5E33A /* DeviceSecurity.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F1C1779EFAA00F5E33A /* DeviceSecurity.m */; };
|
12
|
+
FA3E1F231779EFAA00F5E33A /* DeviceSecurityFactorySingleton.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F1D1779EFAA00F5E33A /* DeviceSecurityFactorySingleton.m */; };
|
13
|
+
FA3E1F241779EFAA00F5E33A /* DeviceSecuritySetup.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F1E1779EFAA00F5E33A /* DeviceSecuritySetup.m */; };
|
14
|
+
FA3E1F251779EFAA00F5E33A /* DeviceSecuritySingleton.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3E1F1F1779EFAA00F5E33A /* DeviceSecuritySingleton.h */; };
|
15
|
+
FA3E1F261779EFAA00F5E33A /* DeviceSecuritySingleton.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F201779EFAA00F5E33A /* DeviceSecuritySingleton.m */; };
|
16
|
+
FA3E1F281779EFB100F5E33A /* IDeviceSecurity.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3E1F271779EFB100F5E33A /* IDeviceSecurity.h */; };
|
17
|
+
FA3E1F2F1779EFBB00F5E33A /* DeviceSecurityBase.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3E1F291779EFBB00F5E33A /* DeviceSecurityBase.h */; };
|
18
|
+
FA3E1F301779EFBB00F5E33A /* DeviceSecurityBase.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F2A1779EFBB00F5E33A /* DeviceSecurityBase.m */; };
|
19
|
+
FA3E1F311779EFBB00F5E33A /* DeviceSecurityFactoryBase.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3E1F2B1779EFBB00F5E33A /* DeviceSecurityFactoryBase.h */; };
|
20
|
+
FA3E1F321779EFBB00F5E33A /* DeviceSecurityFactoryBase.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F2C1779EFBB00F5E33A /* DeviceSecurityFactoryBase.m */; };
|
21
|
+
FA3E1F331779EFBB00F5E33A /* DeviceSecuritySingletonBase.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3E1F2D1779EFBB00F5E33A /* DeviceSecuritySingletonBase.h */; };
|
22
|
+
FA3E1F341779EFBB00F5E33A /* DeviceSecuritySingletonBase.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F2E1779EFBB00F5E33A /* DeviceSecuritySingletonBase.m */; };
|
23
|
+
FA3E1F361779EFC400F5E33A /* devicesecurity_js_wrap.mm in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F351779EFC400F5E33A /* devicesecurity_js_wrap.mm */; };
|
24
|
+
FA3E1F381779EFCB00F5E33A /* devicesecurity_ruby_wrap.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F371779EFCB00F5E33A /* devicesecurity_ruby_wrap.m */; };
|
25
|
+
FA3E1F3C1779EFD700F5E33A /* devicesecurity_api_init.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F391779EFD700F5E33A /* devicesecurity_api_init.cpp */; };
|
26
|
+
FA3E1F3D1779EFD700F5E33A /* devicesecurity_js_api.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F3A1779EFD700F5E33A /* devicesecurity_js_api.cpp */; };
|
27
|
+
FA3E1F3E1779EFD700F5E33A /* devicesecurity_ruby_api.c in Sources */ = {isa = PBXBuildFile; fileRef = FA3E1F3B1779EFD700F5E33A /* devicesecurity_ruby_api.c */; };
|
28
|
+
FAC155E7145855CF0016F3BD /* DeviceSecurity_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = FAD45FD51225FED600141873 /* DeviceSecurity_Prefix.pch */; };
|
29
|
+
FAC155EE145855CF0016F3BD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AACBBE490F95108600F1A2B1 /* Foundation.framework */; };
|
30
|
+
FAC155EF145855CF0016F3BD /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FAD4602C12260A8500141873 /* UIKit.framework */; };
|
31
|
+
/* End PBXBuildFile section */
|
32
|
+
|
33
|
+
/* Begin PBXFileReference section */
|
34
|
+
AACBBE490F95108600F1A2B1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
35
|
+
FA3E1F1B1779EFAA00F5E33A /* DeviceSecurity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeviceSecurity.h; path = impl/DeviceSecurity.h; sourceTree = "<group>"; };
|
36
|
+
FA3E1F1C1779EFAA00F5E33A /* DeviceSecurity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DeviceSecurity.m; path = impl/DeviceSecurity.m; sourceTree = "<group>"; };
|
37
|
+
FA3E1F1D1779EFAA00F5E33A /* DeviceSecurityFactorySingleton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DeviceSecurityFactorySingleton.m; path = impl/DeviceSecurityFactorySingleton.m; sourceTree = "<group>"; };
|
38
|
+
FA3E1F1E1779EFAA00F5E33A /* DeviceSecuritySetup.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DeviceSecuritySetup.m; path = impl/DeviceSecuritySetup.m; sourceTree = "<group>"; };
|
39
|
+
FA3E1F1F1779EFAA00F5E33A /* DeviceSecuritySingleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeviceSecuritySingleton.h; path = impl/DeviceSecuritySingleton.h; sourceTree = "<group>"; };
|
40
|
+
FA3E1F201779EFAA00F5E33A /* DeviceSecuritySingleton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DeviceSecuritySingleton.m; path = impl/DeviceSecuritySingleton.m; sourceTree = "<group>"; };
|
41
|
+
FA3E1F271779EFB100F5E33A /* IDeviceSecurity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IDeviceSecurity.h; path = generated/IDeviceSecurity.h; sourceTree = "<group>"; };
|
42
|
+
FA3E1F291779EFBB00F5E33A /* DeviceSecurityBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeviceSecurityBase.h; path = generated/base_impl/DeviceSecurityBase.h; sourceTree = "<group>"; };
|
43
|
+
FA3E1F2A1779EFBB00F5E33A /* DeviceSecurityBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DeviceSecurityBase.m; path = generated/base_impl/DeviceSecurityBase.m; sourceTree = "<group>"; };
|
44
|
+
FA3E1F2B1779EFBB00F5E33A /* DeviceSecurityFactoryBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeviceSecurityFactoryBase.h; path = generated/base_impl/DeviceSecurityFactoryBase.h; sourceTree = "<group>"; };
|
45
|
+
FA3E1F2C1779EFBB00F5E33A /* DeviceSecurityFactoryBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DeviceSecurityFactoryBase.m; path = generated/base_impl/DeviceSecurityFactoryBase.m; sourceTree = "<group>"; };
|
46
|
+
FA3E1F2D1779EFBB00F5E33A /* DeviceSecuritySingletonBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeviceSecuritySingletonBase.h; path = generated/base_impl/DeviceSecuritySingletonBase.h; sourceTree = "<group>"; };
|
47
|
+
FA3E1F2E1779EFBB00F5E33A /* DeviceSecuritySingletonBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DeviceSecuritySingletonBase.m; path = generated/base_impl/DeviceSecuritySingletonBase.m; sourceTree = "<group>"; };
|
48
|
+
FA3E1F351779EFC400F5E33A /* devicesecurity_js_wrap.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = devicesecurity_js_wrap.mm; path = generated/javascript/devicesecurity_js_wrap.mm; sourceTree = "<group>"; };
|
49
|
+
FA3E1F371779EFCB00F5E33A /* devicesecurity_ruby_wrap.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = devicesecurity_ruby_wrap.m; path = generated/ruby/devicesecurity_ruby_wrap.m; sourceTree = "<group>"; };
|
50
|
+
FA3E1F391779EFD700F5E33A /* devicesecurity_api_init.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = devicesecurity_api_init.cpp; path = ../../shared/generated/devicesecurity_api_init.cpp; sourceTree = "<group>"; };
|
51
|
+
FA3E1F3A1779EFD700F5E33A /* devicesecurity_js_api.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = devicesecurity_js_api.cpp; path = ../../shared/generated/devicesecurity_js_api.cpp; sourceTree = "<group>"; };
|
52
|
+
FA3E1F3B1779EFD700F5E33A /* devicesecurity_ruby_api.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = devicesecurity_ruby_api.c; path = ../../shared/generated/devicesecurity_ruby_api.c; sourceTree = "<group>"; };
|
53
|
+
FAC155F3145855CF0016F3BD /* libDeviceSecurity.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libDeviceSecurity.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
54
|
+
FAD45FD51225FED600141873 /* DeviceSecurity_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceSecurity_Prefix.pch; sourceTree = "<group>"; };
|
55
|
+
FAD4602C12260A8500141873 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
56
|
+
/* End PBXFileReference section */
|
57
|
+
|
58
|
+
/* Begin PBXFrameworksBuildPhase section */
|
59
|
+
FAC155ED145855CF0016F3BD /* Frameworks */ = {
|
60
|
+
isa = PBXFrameworksBuildPhase;
|
61
|
+
buildActionMask = 2147483647;
|
62
|
+
files = (
|
63
|
+
FAC155EE145855CF0016F3BD /* Foundation.framework in Frameworks */,
|
64
|
+
FAC155EF145855CF0016F3BD /* UIKit.framework in Frameworks */,
|
65
|
+
);
|
66
|
+
runOnlyForDeploymentPostprocessing = 0;
|
67
|
+
};
|
68
|
+
/* End PBXFrameworksBuildPhase section */
|
69
|
+
|
70
|
+
/* Begin PBXGroup section */
|
71
|
+
034768DFFF38A50411DB9C8B /* Products */ = {
|
72
|
+
isa = PBXGroup;
|
73
|
+
children = (
|
74
|
+
FAC155F3145855CF0016F3BD /* libDeviceSecurity.a */,
|
75
|
+
);
|
76
|
+
name = Products;
|
77
|
+
sourceTree = "<group>";
|
78
|
+
};
|
79
|
+
0867D691FE84028FC02AAC07 /* DeviceSecurity */ = {
|
80
|
+
isa = PBXGroup;
|
81
|
+
children = (
|
82
|
+
08FB77AEFE84172EC02AAC07 /* Classes */,
|
83
|
+
32C88DFF0371C24200C91783 /* Other Sources */,
|
84
|
+
0867D69AFE84028FC02AAC07 /* Frameworks */,
|
85
|
+
034768DFFF38A50411DB9C8B /* Products */,
|
86
|
+
);
|
87
|
+
name = DeviceSecurity;
|
88
|
+
sourceTree = "<group>";
|
89
|
+
};
|
90
|
+
0867D69AFE84028FC02AAC07 /* Frameworks */ = {
|
91
|
+
isa = PBXGroup;
|
92
|
+
children = (
|
93
|
+
AACBBE490F95108600F1A2B1 /* Foundation.framework */,
|
94
|
+
FAD4602C12260A8500141873 /* UIKit.framework */,
|
95
|
+
);
|
96
|
+
name = Frameworks;
|
97
|
+
sourceTree = "<group>";
|
98
|
+
};
|
99
|
+
08FB77AEFE84172EC02AAC07 /* Classes */ = {
|
100
|
+
isa = PBXGroup;
|
101
|
+
children = (
|
102
|
+
FA3E1F161779EF7600F5E33A /* impl */,
|
103
|
+
FA3E1F151779EF6E00F5E33A /* generated */,
|
104
|
+
);
|
105
|
+
name = Classes;
|
106
|
+
sourceTree = "<group>";
|
107
|
+
};
|
108
|
+
32C88DFF0371C24200C91783 /* Other Sources */ = {
|
109
|
+
isa = PBXGroup;
|
110
|
+
children = (
|
111
|
+
FAD45FD51225FED600141873 /* DeviceSecurity_Prefix.pch */,
|
112
|
+
);
|
113
|
+
name = "Other Sources";
|
114
|
+
sourceTree = "<group>";
|
115
|
+
};
|
116
|
+
FA3E1F151779EF6E00F5E33A /* generated */ = {
|
117
|
+
isa = PBXGroup;
|
118
|
+
children = (
|
119
|
+
FA3E1F1A1779EF9B00F5E33A /* api */,
|
120
|
+
FA3E1F191779EF9400F5E33A /* base_impl */,
|
121
|
+
FA3E1F181779EF8D00F5E33A /* wrappers */,
|
122
|
+
FA3E1F171779EF7D00F5E33A /* shared */,
|
123
|
+
);
|
124
|
+
name = generated;
|
125
|
+
sourceTree = "<group>";
|
126
|
+
};
|
127
|
+
FA3E1F161779EF7600F5E33A /* impl */ = {
|
128
|
+
isa = PBXGroup;
|
129
|
+
children = (
|
130
|
+
FA3E1F1B1779EFAA00F5E33A /* DeviceSecurity.h */,
|
131
|
+
FA3E1F1C1779EFAA00F5E33A /* DeviceSecurity.m */,
|
132
|
+
FA3E1F1D1779EFAA00F5E33A /* DeviceSecurityFactorySingleton.m */,
|
133
|
+
FA3E1F1E1779EFAA00F5E33A /* DeviceSecuritySetup.m */,
|
134
|
+
FA3E1F1F1779EFAA00F5E33A /* DeviceSecuritySingleton.h */,
|
135
|
+
FA3E1F201779EFAA00F5E33A /* DeviceSecuritySingleton.m */,
|
136
|
+
);
|
137
|
+
name = impl;
|
138
|
+
sourceTree = "<group>";
|
139
|
+
};
|
140
|
+
FA3E1F171779EF7D00F5E33A /* shared */ = {
|
141
|
+
isa = PBXGroup;
|
142
|
+
children = (
|
143
|
+
FA3E1F391779EFD700F5E33A /* devicesecurity_api_init.cpp */,
|
144
|
+
FA3E1F3A1779EFD700F5E33A /* devicesecurity_js_api.cpp */,
|
145
|
+
FA3E1F3B1779EFD700F5E33A /* devicesecurity_ruby_api.c */,
|
146
|
+
);
|
147
|
+
name = shared;
|
148
|
+
sourceTree = "<group>";
|
149
|
+
};
|
150
|
+
FA3E1F181779EF8D00F5E33A /* wrappers */ = {
|
151
|
+
isa = PBXGroup;
|
152
|
+
children = (
|
153
|
+
FA3E1F371779EFCB00F5E33A /* devicesecurity_ruby_wrap.m */,
|
154
|
+
FA3E1F351779EFC400F5E33A /* devicesecurity_js_wrap.mm */,
|
155
|
+
);
|
156
|
+
name = wrappers;
|
157
|
+
sourceTree = "<group>";
|
158
|
+
};
|
159
|
+
FA3E1F191779EF9400F5E33A /* base_impl */ = {
|
160
|
+
isa = PBXGroup;
|
161
|
+
children = (
|
162
|
+
FA3E1F291779EFBB00F5E33A /* DeviceSecurityBase.h */,
|
163
|
+
FA3E1F2A1779EFBB00F5E33A /* DeviceSecurityBase.m */,
|
164
|
+
FA3E1F2B1779EFBB00F5E33A /* DeviceSecurityFactoryBase.h */,
|
165
|
+
FA3E1F2C1779EFBB00F5E33A /* DeviceSecurityFactoryBase.m */,
|
166
|
+
FA3E1F2D1779EFBB00F5E33A /* DeviceSecuritySingletonBase.h */,
|
167
|
+
FA3E1F2E1779EFBB00F5E33A /* DeviceSecuritySingletonBase.m */,
|
168
|
+
);
|
169
|
+
name = base_impl;
|
170
|
+
sourceTree = "<group>";
|
171
|
+
};
|
172
|
+
FA3E1F1A1779EF9B00F5E33A /* api */ = {
|
173
|
+
isa = PBXGroup;
|
174
|
+
children = (
|
175
|
+
FA3E1F271779EFB100F5E33A /* IDeviceSecurity.h */,
|
176
|
+
);
|
177
|
+
name = api;
|
178
|
+
sourceTree = "<group>";
|
179
|
+
};
|
180
|
+
/* End PBXGroup section */
|
181
|
+
|
182
|
+
/* Begin PBXHeadersBuildPhase section */
|
183
|
+
FAC155E6145855CF0016F3BD /* Headers */ = {
|
184
|
+
isa = PBXHeadersBuildPhase;
|
185
|
+
buildActionMask = 2147483647;
|
186
|
+
files = (
|
187
|
+
FAC155E7145855CF0016F3BD /* DeviceSecurity_Prefix.pch in Headers */,
|
188
|
+
FA3E1F211779EFAA00F5E33A /* DeviceSecurity.h in Headers */,
|
189
|
+
FA3E1F251779EFAA00F5E33A /* DeviceSecuritySingleton.h in Headers */,
|
190
|
+
FA3E1F281779EFB100F5E33A /* IDeviceSecurity.h in Headers */,
|
191
|
+
FA3E1F2F1779EFBB00F5E33A /* DeviceSecurityBase.h in Headers */,
|
192
|
+
FA3E1F311779EFBB00F5E33A /* DeviceSecurityFactoryBase.h in Headers */,
|
193
|
+
FA3E1F331779EFBB00F5E33A /* DeviceSecuritySingletonBase.h in Headers */,
|
194
|
+
);
|
195
|
+
runOnlyForDeploymentPostprocessing = 0;
|
196
|
+
};
|
197
|
+
/* End PBXHeadersBuildPhase section */
|
198
|
+
|
199
|
+
/* Begin PBXNativeTarget section */
|
200
|
+
FAC155E5145855CF0016F3BD /* DeviceSecurity */ = {
|
201
|
+
isa = PBXNativeTarget;
|
202
|
+
buildConfigurationList = FAC155F0145855CF0016F3BD /* Build configuration list for PBXNativeTarget "DeviceSecurity" */;
|
203
|
+
buildPhases = (
|
204
|
+
FAC155E6145855CF0016F3BD /* Headers */,
|
205
|
+
FAC155E9145855CF0016F3BD /* Sources */,
|
206
|
+
FAC155ED145855CF0016F3BD /* Frameworks */,
|
207
|
+
);
|
208
|
+
buildRules = (
|
209
|
+
);
|
210
|
+
dependencies = (
|
211
|
+
);
|
212
|
+
name = DeviceSecurity;
|
213
|
+
productName = Barcode;
|
214
|
+
productReference = FAC155F3145855CF0016F3BD /* libDeviceSecurity.a */;
|
215
|
+
productType = "com.apple.product-type.library.static";
|
216
|
+
};
|
217
|
+
/* End PBXNativeTarget section */
|
218
|
+
|
219
|
+
/* Begin PBXProject section */
|
220
|
+
0867D690FE84028FC02AAC07 /* Project object */ = {
|
221
|
+
isa = PBXProject;
|
222
|
+
buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "DeviceSecurity" */;
|
223
|
+
compatibilityVersion = "Xcode 3.1";
|
224
|
+
developmentRegion = English;
|
225
|
+
hasScannedForEncodings = 1;
|
226
|
+
knownRegions = (
|
227
|
+
English,
|
228
|
+
Japanese,
|
229
|
+
French,
|
230
|
+
German,
|
231
|
+
);
|
232
|
+
mainGroup = 0867D691FE84028FC02AAC07 /* DeviceSecurity */;
|
233
|
+
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
|
234
|
+
projectDirPath = "";
|
235
|
+
projectRoot = "";
|
236
|
+
targets = (
|
237
|
+
FAC155E5145855CF0016F3BD /* DeviceSecurity */,
|
238
|
+
);
|
239
|
+
};
|
240
|
+
/* End PBXProject section */
|
241
|
+
|
242
|
+
/* Begin PBXSourcesBuildPhase section */
|
243
|
+
FAC155E9145855CF0016F3BD /* Sources */ = {
|
244
|
+
isa = PBXSourcesBuildPhase;
|
245
|
+
buildActionMask = 2147483647;
|
246
|
+
files = (
|
247
|
+
FA3E1F221779EFAA00F5E33A /* DeviceSecurity.m in Sources */,
|
248
|
+
FA3E1F231779EFAA00F5E33A /* DeviceSecurityFactorySingleton.m in Sources */,
|
249
|
+
FA3E1F241779EFAA00F5E33A /* DeviceSecuritySetup.m in Sources */,
|
250
|
+
FA3E1F261779EFAA00F5E33A /* DeviceSecuritySingleton.m in Sources */,
|
251
|
+
FA3E1F301779EFBB00F5E33A /* DeviceSecurityBase.m in Sources */,
|
252
|
+
FA3E1F321779EFBB00F5E33A /* DeviceSecurityFactoryBase.m in Sources */,
|
253
|
+
FA3E1F341779EFBB00F5E33A /* DeviceSecuritySingletonBase.m in Sources */,
|
254
|
+
FA3E1F361779EFC400F5E33A /* devicesecurity_js_wrap.mm in Sources */,
|
255
|
+
FA3E1F381779EFCB00F5E33A /* devicesecurity_ruby_wrap.m in Sources */,
|
256
|
+
FA3E1F3C1779EFD700F5E33A /* devicesecurity_api_init.cpp in Sources */,
|
257
|
+
FA3E1F3D1779EFD700F5E33A /* devicesecurity_js_api.cpp in Sources */,
|
258
|
+
FA3E1F3E1779EFD700F5E33A /* devicesecurity_ruby_api.c in Sources */,
|
259
|
+
);
|
260
|
+
runOnlyForDeploymentPostprocessing = 0;
|
261
|
+
};
|
262
|
+
/* End PBXSourcesBuildPhase section */
|
263
|
+
|
264
|
+
/* Begin XCBuildConfiguration section */
|
265
|
+
1DEB922308733DC00010E9CD /* Debug */ = {
|
266
|
+
isa = XCBuildConfiguration;
|
267
|
+
buildSettings = {
|
268
|
+
GCC_C_LANGUAGE_STANDARD = c99;
|
269
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
270
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
271
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
272
|
+
HEADER_SEARCH_PATHS = (
|
273
|
+
"$(RHO_ROOT)/platform/shared/common",
|
274
|
+
"$(RHO_ROOT)/platform/shared/rubyext",
|
275
|
+
"$(RHO_ROOT)/platform/shared/ruby/include",
|
276
|
+
"$(RHO_ROOT)/platform/shared/ruby/iphone",
|
277
|
+
"$(RHO_ROOT)/platform/shared",
|
278
|
+
);
|
279
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
280
|
+
ONLY_ACTIVE_ARCH = NO;
|
281
|
+
PREBINDING = NO;
|
282
|
+
SDKROOT = iphonesimulator4.1;
|
283
|
+
STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static;
|
284
|
+
};
|
285
|
+
name = Debug;
|
286
|
+
};
|
287
|
+
1DEB922408733DC00010E9CD /* Release */ = {
|
288
|
+
isa = XCBuildConfiguration;
|
289
|
+
buildSettings = {
|
290
|
+
GCC_C_LANGUAGE_STANDARD = c99;
|
291
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
292
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
293
|
+
HEADER_SEARCH_PATHS = (
|
294
|
+
"$(RHO_ROOT)/platform/shared/common",
|
295
|
+
"$(RHO_ROOT)/platform/shared/rubyext",
|
296
|
+
"$(RHO_ROOT)/platform/shared/ruby/include",
|
297
|
+
"$(RHO_ROOT)/platform/shared/ruby/iphone",
|
298
|
+
"$(RHO_ROOT)/platform/shared",
|
299
|
+
);
|
300
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
301
|
+
ONLY_ACTIVE_ARCH = NO;
|
302
|
+
PREBINDING = NO;
|
303
|
+
SDKROOT = iphonesimulator4.1;
|
304
|
+
STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static;
|
305
|
+
};
|
306
|
+
name = Release;
|
307
|
+
};
|
308
|
+
FAC155F1145855CF0016F3BD /* Debug */ = {
|
309
|
+
isa = XCBuildConfiguration;
|
310
|
+
buildSettings = {
|
311
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
312
|
+
COPY_PHASE_STRIP = NO;
|
313
|
+
DSTROOT = /tmp/DeviceSecurity.dst;
|
314
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
315
|
+
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
316
|
+
GCC_MODEL_TUNING = G5;
|
317
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
318
|
+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
319
|
+
GCC_PREFIX_HEADER = DeviceSecurity_Prefix.pch;
|
320
|
+
INSTALL_PATH = /usr/local/lib;
|
321
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
322
|
+
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
323
|
+
PRODUCT_NAME = DeviceSecurity;
|
324
|
+
SDKROOT = iphoneos;
|
325
|
+
};
|
326
|
+
name = Debug;
|
327
|
+
};
|
328
|
+
FAC155F2145855CF0016F3BD /* Release */ = {
|
329
|
+
isa = XCBuildConfiguration;
|
330
|
+
buildSettings = {
|
331
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
332
|
+
DSTROOT = /tmp/DeviceSecurity.dst;
|
333
|
+
GCC_MODEL_TUNING = G5;
|
334
|
+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
335
|
+
GCC_PREFIX_HEADER = DeviceSecurity_Prefix.pch;
|
336
|
+
INSTALL_PATH = /usr/local/lib;
|
337
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
338
|
+
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
339
|
+
PRODUCT_NAME = DeviceSecurity;
|
340
|
+
SDKROOT = iphoneos;
|
341
|
+
};
|
342
|
+
name = Release;
|
343
|
+
};
|
344
|
+
/* End XCBuildConfiguration section */
|
345
|
+
|
346
|
+
/* Begin XCConfigurationList section */
|
347
|
+
1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "DeviceSecurity" */ = {
|
348
|
+
isa = XCConfigurationList;
|
349
|
+
buildConfigurations = (
|
350
|
+
1DEB922308733DC00010E9CD /* Debug */,
|
351
|
+
1DEB922408733DC00010E9CD /* Release */,
|
352
|
+
);
|
353
|
+
defaultConfigurationIsVisible = 0;
|
354
|
+
defaultConfigurationName = Release;
|
355
|
+
};
|
356
|
+
FAC155F0145855CF0016F3BD /* Build configuration list for PBXNativeTarget "DeviceSecurity" */ = {
|
357
|
+
isa = XCConfigurationList;
|
358
|
+
buildConfigurations = (
|
359
|
+
FAC155F1145855CF0016F3BD /* Debug */,
|
360
|
+
FAC155F2145855CF0016F3BD /* Release */,
|
361
|
+
);
|
362
|
+
defaultConfigurationIsVisible = 0;
|
363
|
+
defaultConfigurationName = Release;
|
364
|
+
};
|
365
|
+
/* End XCConfigurationList section */
|
366
|
+
};
|
367
|
+
rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
|
368
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
3
|
+
USE_STLPORT = true
|
4
|
+
|
5
|
+
puts "DeviceSecurity extension !"
|
6
|
+
|
7
|
+
namespace "build" do
|
8
|
+
|
9
|
+
task :config do
|
10
|
+
|
11
|
+
$targetdir = ENV['TARGET_TEMP_DIR']
|
12
|
+
raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
|
13
|
+
|
14
|
+
$tempdir = ENV['TEMP_FILES_DIR']
|
15
|
+
raise "TEMP_FILES_DIR is not set" if $tempdir.nil?
|
16
|
+
|
17
|
+
$rootdir = ENV['RHO_ROOT']
|
18
|
+
raise "RHO_ROOT is not set" if $rootdir.nil?
|
19
|
+
|
20
|
+
$xcodebuild = ENV['XCODEBUILD']
|
21
|
+
raise "XCODEBUILD is not set" if $xcodebuild.nil?
|
22
|
+
|
23
|
+
$configuration = ENV['CONFIGURATION']
|
24
|
+
raise "CONFIGURATION is not set" if $configuration.nil?
|
25
|
+
|
26
|
+
$sdk = ENV['SDK_NAME']
|
27
|
+
raise "SDK_NAME is not set" if $sdk.nil?
|
28
|
+
|
29
|
+
$bindir = ENV['PLATFORM_DEVELOPER_BIN_DIR']
|
30
|
+
raise "PLATFORM_DEVELOPER_BIN_DIR is not set" if $bindir.nil?
|
31
|
+
|
32
|
+
$sdkroot = ENV['SDKROOT']
|
33
|
+
raise "SDKROOT is not set" if $sdkroot.nil?
|
34
|
+
|
35
|
+
$arch = ENV['ARCHS']
|
36
|
+
raise "ARCHS is not set" if $arch.nil?
|
37
|
+
|
38
|
+
$gccbin = $bindir + '/gcc-4.2'
|
39
|
+
$arbin = $bindir + '/ar'
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
task :all => :config do
|
44
|
+
|
45
|
+
iphone_path = '.'
|
46
|
+
|
47
|
+
simulator = $sdk =~ /iphonesimulator/
|
48
|
+
|
49
|
+
if $configuration == 'Distribution'
|
50
|
+
$configuration = 'Release'
|
51
|
+
end
|
52
|
+
|
53
|
+
result_lib = iphone_path + '/build/' + $configuration + '-' + ( simulator ? "iphonesimulator" : "iphoneos") + '/libDeviceSecurity.a'
|
54
|
+
target_lib = $targetdir + '/libDeviceSecurity.a'
|
55
|
+
|
56
|
+
rm_rf 'build'
|
57
|
+
rm_rf target_lib
|
58
|
+
|
59
|
+
args = ['build', '-target', 'DeviceSecurity', '-configuration', $configuration, '-sdk', $sdk]
|
60
|
+
|
61
|
+
require File.join(ENV['RHO_ROOT'], 'platform','iphone','rbuild','iphonecommon')
|
62
|
+
|
63
|
+
ret = IPhoneBuild.run_and_trace($xcodebuild,args)
|
64
|
+
|
65
|
+
# copy result to $targetdir
|
66
|
+
cp result_lib,target_lib
|
67
|
+
|
68
|
+
end
|
69
|
+
|
70
|
+
|
71
|
+
end
|
72
|
+
|
73
|
+
task :default => "build:all"
|