rhodes 6.2.0 → 7.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -10
- data/appveyor.yml +1 -1
- data/extensions/emdk3-manager/ext/platform/android/Rakefile +2 -0
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/Rakefile +18 -1
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/Rakefile +19 -1
- data/lib/commonAPI/RubyServer/ext.yml +21 -0
- data/lib/commonAPI/RubyServer/ext/RubyServer.xml +101 -0
- data/lib/commonAPI/RubyServer/ext/build +19 -0
- data/lib/commonAPI/RubyServer/ext/build.bat +29 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/Rakefile +161 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_java.files +9 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_native.files +7 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/Rakefile +73 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer.xcodeproj/project.pbxproj +322 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer_Prefix.pch +7 -0
- data/lib/commonAPI/RubyServer/ext/shared/RubyServerImpl.cpp +242 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactory.java +23 -3
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java +68 -8
- data/lib/commonAPI/barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +24 -52
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.h +38 -10
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.m +300 -22
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +6 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/barcode.m +6 -2
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/Barcode.m +7 -3
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeFactory.m +13 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeSingleton.m +25 -3
- data/lib/commonAPI/bluetooth/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/clipboard/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/coreapi/ext/Notification.xml +47 -0
- data/lib/commonAPI/coreapi/ext/platform/android/ApplicationManifestAdds.erb +1 -0
- data/lib/commonAPI/coreapi/ext/platform/android/Rakefile +19 -0
- data/lib/commonAPI/coreapi/ext/platform/android/ext_java.files +2 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/AlarmReceiver.java +27 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +28 -10
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationFactory.java +14 -1
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +260 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationSingleton.java +23 -1
- data/lib/commonAPI/coreapi/ext/platform/iphone/Coreapi.xcodeproj/project.pbxproj +21 -19
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +1 -0
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +234 -1
- data/lib/commonAPI/coreapi/ext/platform/qt/coreapi.pro +2 -0
- data/lib/commonAPI/coreapi/ext/platform/qt/src/CNotificationImpl.cpp +7 -0
- data/lib/commonAPI/coreapi/ext/shared/ApplicationImpl.cpp +5 -0
- data/lib/commonAPI/coreapi/public/api/rhoapi.js +18 -8
- data/lib/commonAPI/devicesecurity/ext/platform/android/Rakefile +19 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +16 -0
- data/lib/commonAPI/hardwarekeys/ext/keycapture.xml +11 -9
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.h +5 -3
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.m +80 -67
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java +25 -14
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java +55 -25
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +34 -9
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java +1 -0
- data/lib/commonAPI/printing_zebra/ext/platform/android/Rakefile +18 -0
- data/lib/commonAPI/sensor/ext/platform/android/src/com/rho/sensor/Sensor.java +4 -4
- data/lib/extensions/decrypt/ext/platform/android/Rakefile +19 -1
- data/lib/extensions/decryptstub/ext/platform/android/Rakefile +19 -0
- data/lib/extensions/decryptstub/ext/platform/iphone/Decryptstub.xcodeproj/project.pbxproj +4 -2
- data/lib/extensions/digest-md5/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha1/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha2/ext/android/Rakefile +18 -0
- data/lib/extensions/esri/ext/esri/platform/iphone/Classes/MapViewControllerESRI.h +19 -19
- data/lib/extensions/fcm-push/ext/android/Rakefile +18 -0
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +38 -16
- data/lib/extensions/gcm-push/ext/android/Rakefile +19 -0
- data/lib/extensions/keyboard/ext.yml +15 -0
- data/lib/extensions/keyboard/ext/Keyboard.xml +28 -0
- data/lib/extensions/keyboard/ext/build +19 -0
- data/lib/extensions/keyboard/ext/build.bat +29 -0
- data/lib/extensions/keyboard/ext/platform/android/Rakefile +141 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_java.files +9 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_native.files +7 -0
- data/lib/extensions/keyboard/ext/platform/android/jni/Keyboard_impl.cpp +61 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/Keyboard.java +32 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardFactory.java +18 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardSingleton.java +29 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard.xcodeproj/project.pbxproj +368 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard_Prefix.pch +7 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Rakefile +73 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.h +14 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.m +24 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardFactorySingleton.m +16 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSetup.m +9 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.h +17 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.m +23 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/readme.txt +7 -0
- data/lib/extensions/keyboard/ext/platform/qt/Keyboard.pro +68 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile +473 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile.Release +408 -0
- data/lib/extensions/keyboard/ext/platform/qt/Rakefile +39 -0
- data/lib/extensions/keyboard/ext/platform/qt/src/Keyboard_impl.cpp +99 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj.filters +50 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.csproj +119 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.props +8 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.targets +7 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj.filters +58 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cpp +76 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cs +69 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Properties/AssemblyInfo.cs +37 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.sln +52 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vcproj +714 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vsprops +15 -0
- data/lib/extensions/keyboard/ext/platform/wm/src/Keyboard_impl.cpp +77 -0
- data/lib/extensions/openssl.so.src/ext/android/Rakefile +18 -0
- data/lib/extensions/openssl.so/ext/android/aarch64/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/howtobuild.txt +2 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libcrypto.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Release-iphoneos/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Release-iphonesimulator/libopenssl.so.a +0 -0
- data/lib/extensions/openssl/ext/android/Rakefile +18 -0
- data/lib/extensions/zlib/ext/zlib.c +5 -1
- data/lib/framework/autocomplete/Rhodes.rb +1 -1
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/set.rb +799 -0
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/AndroidManifest.xml.erb +11 -2
- data/platform/android/Rhodes/jni/include/rhodes.h +6 -0
- data/platform/android/Rhodes/jni/include/rhodes/RhoClassFactory.h +3 -0
- data/platform/android/Rhodes/jni/include/rhodes/SecurityTokenGenerator.h +30 -0
- data/platform/android/Rhodes/jni/include/rhodes/details/rhojava.inc +1 -0
- data/platform/android/Rhodes/jni/src/JNIRhoRubyCppWrapper.cpp +408 -0
- data/platform/android/Rhodes/jni/src/RhoClassFactory.cpp +7 -0
- data/platform/android/Rhodes/jni/src/SecurityTokenGenerator.cpp +60 -0
- data/platform/android/Rhodes/jni/src/fileapi.cpp +318 -12
- data/platform/android/Rhodes/jni/src/mapview.cpp +4 -0
- data/platform/android/Rhodes/res/drawable/ic_notification.png +0 -0
- data/platform/android/Rhodes/res/xml/network_security_config.xml +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +9 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoMain.java +8 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyArrayObjects.java +33 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyClassObject.java +20 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyObject.java +115 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubySingleton.java +52 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyTypes.java +15 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +25 -13
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/SecurityTokenGenerator.java +57 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +9 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +3 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality11.java +13 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +105 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionalityManager.java +4 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +24 -4
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +20 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +10 -0
- data/platform/android/build/Rakefile +30 -1
- data/platform/android/build/RhodesSRC_build.files +8 -0
- data/platform/android/build/android.rake +326 -22
- data/platform/android/build/android_tools.rb +36 -3
- data/platform/android/build/androidcommon.rb +97 -44
- data/platform/android/build/librhocommon_build.files +11 -0
- data/platform/android/build/librhodes_build.files +2 -0
- data/platform/android/build/manifest_generator.rb +9 -2
- data/platform/android/build/maven_deps_extractor.rb +96 -15
- data/platform/android/build/ndkwrapper.rb +111 -16
- data/platform/android/build/pom.erb +2 -2
- data/platform/iphone/Classes/AppManager/AppManager.m +31 -1
- data/platform/iphone/Classes/MapView/GoogleGeocoder.h +3 -3
- data/platform/iphone/Classes/RhoMainViewStubImpl.h +38 -0
- data/platform/iphone/Classes/RhoMainViewStubImpl.m +88 -0
- data/platform/iphone/Classes/RhoUIWebView.h +5 -0
- data/platform/iphone/Classes/RhoUIWebView.m +14 -6
- data/platform/iphone/Classes/{RhoWKWebView.m → RhoWKWebView.mm} +98 -18
- data/platform/iphone/Classes/RhoWebView.h +1 -1
- data/platform/iphone/Classes/RhoWebViewFabrique.m +24 -12
- data/platform/iphone/Classes/Rhodes.h +7 -2
- data/platform/iphone/Classes/Rhodes.m +46 -8
- data/platform/iphone/Classes/SimpleMainView.m +22 -13
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.h +32 -3
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +93 -61
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.h +22 -0
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.m +246 -0
- data/platform/iphone/Classes/WebView.m +14 -2
- data/platform/iphone/Entitlements.plist +1 -1
- data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +399 -0
- data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1208 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Info.plist +24 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Rhodes.h +21 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/StubCode.m +15 -0
- data/platform/iphone/Info.plist +1 -3
- data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +511 -4
- data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +467 -1
- data/platform/iphone/Rhodes.xcodeproj/project.pbxproj +51 -274
- data/platform/iphone/RhodesBaseDelegate.h +1 -1
- data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +85 -3
- data/platform/iphone/rbuild/ApplicationPlist.erb +1 -1
- data/platform/iphone/rbuild/iphone.rake +497 -25
- data/platform/iphone/rbuild/iphonecommon.rb +15 -6
- data/platform/iphone/rhodes_stub.cpp +15 -0
- data/platform/iphone/rhodeslib/api/RhodesLib.h +28 -0
- data/platform/iphone/rhodeslib/impl/RhodesLib.m +52 -0
- data/platform/iphone/rhodesruby/api/IRefCountedObject.h +20 -0
- data/platform/iphone/rhodesruby/api/IRhoRuby.h +72 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyArray.h +12 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyBoolean.h +11 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyHash.h +15 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableArray.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableBoolean.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableHash.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableString.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNativeCallback.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNil.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyObject.h +37 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyRunnable.h +8 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyString.h +10 -0
- data/platform/iphone/rhodesruby/api/RhoRuby.h +26 -0
- data/platform/iphone/rhodesruby/api/RhoRubySingletone.h +14 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyFabrique.h +10 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.h +56 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.mm +432 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.mm +43 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.mm +38 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.mm +48 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.h +22 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.mm +11 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.h +31 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.mm +49 -0
- data/platform/iphone/rhodesruby/impl/RhoRubySingletone.m +19 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.mm +32 -0
- data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +79 -0
- data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +91 -0
- data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +85 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
- data/platform/shared/common/IRhoClassFactory.h +2 -0
- data/platform/shared/common/ISecurityTokenGenerator.h +16 -0
- data/platform/shared/common/RhoFile.cpp +11 -0
- data/platform/shared/common/RhoMath.h +14 -0
- data/platform/shared/common/RhoMutexLock.h +13 -0
- data/platform/shared/common/RhoSystem.h +1 -1
- data/platform/shared/common/RhoThread.cpp +25 -0
- data/platform/shared/common/RhodesApp.cpp +52 -6
- data/platform/shared/common/RhodesApp.h +25 -1
- data/platform/shared/common/RhodesAppBase.cpp +4 -2
- data/platform/shared/common/RhodesAppBase.h +5 -0
- data/platform/shared/common/iphone/RhoClassfactory.h +6 -0
- data/platform/shared/common/iphone/RhoCryptImpl.mm +21 -2
- data/platform/shared/common/map/BaseMapEngine.cpp +2 -2
- data/platform/shared/common/map/GeocodingMapEngine.cpp +1 -1
- data/platform/shared/common/map/GoogleMapEngine.cpp +1 -1
- data/platform/shared/common/map/OSMMapEngine.cpp +1 -1
- data/platform/shared/curl/lib/curl_config.h +28 -0
- data/platform/shared/db/DBAdapter.cpp +18 -10
- data/platform/shared/json.new/JSONIterator.cpp +2 -2
- data/platform/shared/net/HttpServer.cpp +32 -0
- data/platform/shared/net/HttpServer.h +15 -0
- data/platform/shared/net/INetRequest.cpp +54 -0
- data/platform/shared/qt/RhoRubylib.pro +10 -0
- data/platform/shared/qt/rhodes/impl/AlertImpl.cpp +13 -0
- data/platform/shared/qt/rhodes/impl/CameraImpl.cpp +6 -0
- data/platform/shared/qt/rhodes/impl/DateTimePickerImpl.cpp +4 -0
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.cpp +36 -7
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.h +12 -1
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.cpp +21 -2
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.h +1 -0
- data/platform/shared/qt/rhodes/impl/NativeToolbarImpl.cpp +10 -0
- data/platform/shared/qt/rhodes/impl/QtSystemImpl.cpp +55 -3
- data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +11 -0
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +71 -7
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.h +79 -2
- data/platform/shared/qt/rhodes/impl/RhodesImpl.cpp +16 -6
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.cpp +37 -0
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.h +25 -0
- data/platform/shared/qt/rhodes/impl/SignatureImpl.cpp +2 -0
- data/platform/shared/qt/rhodes/impl/WebViewImpl.cpp +27 -0
- data/platform/shared/qt/rhodes/impl/notificationsound.cpp +16 -2
- data/platform/shared/qt/rhodes/impl/notificationsound.h +11 -1
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.cpp +25 -16
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.h +3 -0
- data/platform/shared/qt/rhodes/newVersion/WebUrlRequestInterceptor.cpp +17 -0
- data/platform/shared/qt/rhodes/rhodes.pro +68 -14
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.cpp +148 -0
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.h +12 -0
- data/platform/shared/qt/rholib/rholib.pro +33 -5
- data/platform/shared/qt/rhoruby_win32_build.bat +19 -0
- data/platform/shared/qt/rhoruby_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rhosimulator_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rubylib/rubylib.pro +1 -0
- data/platform/shared/qt/sqlite3/sqlite3.pro +1 -0
- data/platform/shared/qt/syncengine/syncengine.pro +1 -0
- data/platform/shared/rhoruby/api/IArray.h +20 -0
- data/platform/shared/rhoruby/api/IBoolean.h +17 -0
- data/platform/shared/rhoruby/api/IFloat.h +17 -0
- data/platform/shared/rhoruby/api/IHash.h +23 -0
- data/platform/shared/rhoruby/api/IInteger.h +18 -0
- data/platform/shared/rhoruby/api/IMutableArray.h +18 -0
- data/platform/shared/rhoruby/api/IMutableBoolean.h +18 -0
- data/platform/shared/rhoruby/api/IMutableFloat.h +17 -0
- data/platform/shared/rhoruby/api/IMutableHash.h +18 -0
- data/platform/shared/rhoruby/api/IMutableInteger.h +17 -0
- data/platform/shared/rhoruby/api/IMutableString.h +17 -0
- data/platform/shared/rhoruby/api/INil.h +16 -0
- data/platform/shared/rhoruby/api/IObject.h +46 -0
- data/platform/shared/rhoruby/api/IRefCountedObject.h +20 -0
- data/platform/shared/rhoruby/api/IRhoRuby.h +78 -0
- data/platform/shared/rhoruby/api/IRunnable.h +17 -0
- data/platform/shared/rhoruby/api/IString.h +17 -0
- data/platform/shared/rhoruby/api/RhoRuby.h +29 -0
- data/platform/shared/rhoruby/api/RhoRubySingletone.h +19 -0
- data/platform/shared/rhoruby/api/SmartPointer.h +27 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.cpp +54 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.h +48 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.cpp +44 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.cpp +64 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.h +49 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.cpp +52 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.h +44 -0
- data/platform/shared/rhoruby/impl/NilImpl.cpp +23 -0
- data/platform/shared/rhoruby/impl/NilImpl.h +32 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.cpp +77 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.h +53 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.cpp +28 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.h +33 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.cpp +799 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.h +81 -0
- data/platform/shared/rhoruby/impl/RhoRubySingletone.cpp +20 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.cpp +32 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/shared/ruby/android/ruby/config.h +55 -3
- data/platform/shared/ruby/error.c +1 -1
- data/platform/shared/ruby/ext/rho/rhoruby.c +60 -7
- data/platform/shared/ruby/ext/rho/rhoruby.h +3 -0
- data/platform/shared/rubyext/NativeToolbarExt.h +1 -0
- data/platform/uwp/rhodes/rhodes_TemporaryKey.pfx +0 -0
- data/platform/uwp/rhoruntime/common/RhoClassFactory.h +6 -0
- data/platform/win32/RhoSimulator/Qt5Core.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Gui.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Multimedia.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Network.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Positioning.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5PrintSupport.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Qml.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Quick.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5QuickWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5SerialPort.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Svg.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebChannel.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngine.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineCore.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Widgets.dll +0 -0
- data/platform/win32/RhoSimulator/QtWebEngineProcess.exe +0 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_wasapi.dll +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_windows.dll +0 -0
- data/platform/win32/RhoSimulator/bearer/qgenericbearer.dll +0 -0
- data/platform/win32/RhoSimulator/iconengines/qsvgicon.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qgif.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qicns.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qico.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qjpeg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qsvg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtga.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtiff.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwbmp.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwebp.dll +0 -0
- data/platform/win32/RhoSimulator/libEGL.dll +0 -0
- data/platform/win32/RhoSimulator/libGLESV2.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/dsengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/qtmedia_audioengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/wmfengine.dll +0 -0
- data/platform/win32/RhoSimulator/platforms/qwindows.dll +0 -0
- data/platform/win32/RhoSimulator/playlistformats/qtmultimedia_m3u.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_geoclue.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_positionpoll.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_serialnmea.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_winrt.dll +0 -0
- data/platform/win32/RhoSimulator/printsupport/windowsprintersupport.dll +0 -0
- data/platform/wm/build/wm.rake +110 -5
- data/platform/wm/rhodes/rho/common/ExtManager.cpp +30 -0
- data/platform/wm/rhodes/rho/common/RhoClassFactory.h +6 -0
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +3 -0
- data/platform/wm/rubylib/rubylib.vcxproj +6 -0
- data/platform/wp8/rhoruntime/common/RhoClassFactory.h +6 -0
- data/rakefile.rb +14 -10
- data/res/build-tools/iphonesim/build/Release/iphonesim_8 +23 -15
- data/res/build-tools/maven/LICENSE +18 -89
- data/res/build-tools/maven/NOTICE +1 -1
- data/res/build-tools/maven/README.txt +12 -12
- data/res/build-tools/maven/bin/m2.conf +2 -2
- data/res/build-tools/maven/bin/mvn +122 -125
- data/res/build-tools/maven/bin/mvn.cmd +205 -0
- data/res/build-tools/maven/bin/mvnDebug +10 -176
- data/res/build-tools/maven/bin/mvnDebug.cmd +33 -0
- data/res/build-tools/maven/bin/mvnyjp +9 -181
- data/res/build-tools/maven/boot/plexus-classworlds-2.6.0.jar +0 -0
- data/res/build-tools/maven/conf/logging/simplelogger.properties +8 -1
- data/res/build-tools/maven/conf/settings.xml +1 -1
- data/res/build-tools/maven/conf/toolchains.xml +103 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations-1.14.jar +0 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations.license +14 -0
- data/res/build-tools/maven/lib/checker-compat-qual-2.0.0.jar +0 -0
- data/res/build-tools/maven/lib/checker-compat-qual.license +14 -0
- data/res/build-tools/maven/lib/commons-cli-1.4.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.5.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang3-3.8.1.jar +0 -0
- data/res/build-tools/maven/lib/error_prone_annotations-2.1.3.jar +0 -0
- data/res/build-tools/maven/lib/guava-25.1-android.jar +0 -0
- data/res/build-tools/maven/lib/guice-4.2.1-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/j2objc-annotations-1.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-1.17.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-native/README.txt +7 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/osx/libjansi.jnilib +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows32/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows64/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j.license +14 -0
- data/res/build-tools/maven/lib/jsr250-api.license +383 -405
- data/res/build-tools/maven/lib/jsr305-3.0.2.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-builder-support-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-core-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-api-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-connector-basic-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-impl-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-spi-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-transport-wagon-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-util-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-shared-utils-3.2.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-slf4j-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject.license +210 -261
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus.license +210 -261
- data/res/build-tools/maven/lib/plexus-component-annotations-1.7.1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.25.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.4.jar +0 -0
- data/res/build-tools/maven/lib/plexus-utils-3.2.0.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api.license +10 -186
- data/res/build-tools/maven/lib/wagon-file-3.3.2.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-3.3.2-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api-3.3.2.jar +0 -0
- data/res/generators/rhogen.rb +150 -0
- data/res/generators/templates/application/AndroidManifest.erb +13 -4
- data/res/generators/templates/application/build.yml +9 -0
- data/res/generators/templates/application/nodejs_build.yml +1 -1
- data/res/generators/templates/application/resources/android/res/xml/network_security_config.xml +7 -0
- data/res/generators/templates/application/rhoconfig.txt +13 -6
- data/res/generators/templates/application/rhoconfig_rubynode.txt +139 -0
- data/res/generators/templates/application/rubynodejs_build.yml +95 -0
- data/res/generators/templates/extension/extensions/montana/ext/platform/android/Rakefile +19 -0
- data/res/generators/templates/iphone_project/root/Entitlements.plist +1 -1
- data/res/generators/templates/iphone_project/root/Info.plist +1 -3
- data/res/generators/templates/iphone_project/root/rhorunner_development.entitlements +1 -1
- data/res/generators/templates/iphone_project/root/rhorunner_production.entitlements +1 -1
- data/rhodes.gemspec +2 -2
- data/version +1 -1
- metadata +244 -71
- data/res/build-tools/maven/bin/mvn.bat +0 -197
- data/res/build-tools/maven/bin/mvnDebug.bat +0 -200
- data/res/build-tools/maven/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/res/build-tools/maven/lib/aether-api-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-api.license +0 -261
- data/res/build-tools/maven/lib/aether-connector-basic-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-connector-basic.license +0 -261
- data/res/build-tools/maven/lib/aether-impl-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-impl.license +0 -261
- data/res/build-tools/maven/lib/aether-spi-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-spi.license +0 -261
- data/res/build-tools/maven/lib/aether-transport-wagon-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-transport-wagon.license +0 -261
- data/res/build-tools/maven/lib/aether-util-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-util.license +0 -261
- data/res/build-tools/maven/lib/cdi-api.license +0 -445
- data/res/build-tools/maven/lib/commons-cli-1.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang-2.6.jar +0 -0
- data/res/build-tools/maven/lib/guava-18.0.jar +0 -0
- data/res/build-tools/maven/lib/jsoup-1.7.2.jar +0 -0
- data/res/build-tools/maven/lib/jsoup.license +0 -66
- data/res/build-tools/maven/lib/maven-aether-provider-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-aether-provider.license +0 -202
- data/res/build-tools/maven/lib/maven-artifact-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact.license +0 -202
- data/res/build-tools/maven/lib/maven-compat-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat.license +0 -202
- data/res/build-tools/maven/lib/maven-core-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-core.license +0 -202
- data/res/build-tools/maven/lib/maven-embedder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder.license +0 -202
- data/res/build-tools/maven/lib/maven-model-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-model.license +0 -202
- data/res/build-tools/maven/lib/maven-plugin-api-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api.license +0 -202
- data/res/build-tools/maven/lib/maven-repository-metadata-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata.license +0 -202
- data/res/build-tools/maven/lib/maven-settings-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-settings.license +0 -202
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-cipher.license +0 -445
- data/res/build-tools/maven/lib/plexus-component-annotations-1.5.5.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.21.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher.license +0 -445
- data/res/build-tools/maven/lib/plexus-utils-3.0.20.jar +0 -0
- data/res/build-tools/maven/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple.license +0 -190
- data/res/build-tools/maven/lib/wagon-file-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-file.license +0 -202
- data/res/build-tools/maven/lib/wagon-http-2.8-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared.license +0 -202
- data/res/build-tools/maven/lib/wagon-http.license +0 -202
- data/res/build-tools/maven/lib/wagon-provider-api-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api.license +0 -202
@@ -0,0 +1,49 @@
|
|
1
|
+
|
2
|
+
#import "RhoRubyObjectImpl.h"
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
#import "../api/RhoRubySingletone.h"
|
7
|
+
#import "RhoRubyImpl.h"
|
8
|
+
|
9
|
+
@implementation RhoRubyObjectImpl
|
10
|
+
|
11
|
+
|
12
|
+
-(rho::ruby::IObject*) getCppIObject {
|
13
|
+
return mCppObject;
|
14
|
+
}
|
15
|
+
|
16
|
+
- (id)initWithCppObject:(rho::ruby::IObject*)pCppObject {
|
17
|
+
mCppObject = pCppObject;
|
18
|
+
[self getCppIObject]->addRef();
|
19
|
+
return self;
|
20
|
+
}
|
21
|
+
|
22
|
+
- (NSString*) getClassName {
|
23
|
+
return [NSString stringWithUTF8String:[self getCppIObject]->getClassName()];
|
24
|
+
}
|
25
|
+
|
26
|
+
- (RHO_RUBY_BASIC_TYPES) getBasicType {
|
27
|
+
return [((RhoRubyImpl*)[RhoRubySingletone getRhoRuby]) convertBasicTypeFromCpp:[self getCppIObject]->getBasicType()];
|
28
|
+
}
|
29
|
+
|
30
|
+
- (rho::ruby::IObject*) getCppObject {
|
31
|
+
return mCppObject;
|
32
|
+
}
|
33
|
+
|
34
|
+
- (void) dealloc {
|
35
|
+
if (mCppObject != NULL) {
|
36
|
+
[self getCppIObject]->release();
|
37
|
+
}
|
38
|
+
mCppObject = NULL;
|
39
|
+
[super dealloc];
|
40
|
+
}
|
41
|
+
|
42
|
+
@end
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
#import "../api/RhoRubySingletone.h"
|
3
|
+
#import "RhoRubyFabrique.h"
|
4
|
+
|
5
|
+
|
6
|
+
static id<IRhoRuby> ourIRhoRuby = nil;
|
7
|
+
|
8
|
+
@implementation RhoRubySingletone
|
9
|
+
|
10
|
+
+(id<IRhoRuby>) getRhoRuby {
|
11
|
+
if (ourIRhoRuby == nil) {
|
12
|
+
ourIRhoRuby = [RhoRubyFabrique createRhoRuby];
|
13
|
+
}
|
14
|
+
return ourIRhoRuby;
|
15
|
+
}
|
16
|
+
|
17
|
+
@end
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
#pragma once
|
2
|
+
#include "../api/IRhoRuby.h"
|
3
|
+
|
4
|
+
namespace rho {
|
5
|
+
namespace ruby {
|
6
|
+
|
7
|
+
class RubyServerResponceImpl : public IRubyServerResponce {
|
8
|
+
|
9
|
+
public:
|
10
|
+
virtual ~RubyServerResponceImpl();
|
11
|
+
RubyServerResponceImpl(const char* body);
|
12
|
+
virtual IString* getResponceBody();
|
13
|
+
|
14
|
+
private:
|
15
|
+
char* mBody;
|
16
|
+
};
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
#include "RubyServerResponceImpl.h"
|
2
|
+
#include "../api/RhoRubySingletone.h"
|
3
|
+
#include "../api/IMutableString.h"
|
4
|
+
#include <stdlib.h>
|
5
|
+
#include "string.h"
|
6
|
+
|
7
|
+
namespace rho {
|
8
|
+
namespace ruby {
|
9
|
+
|
10
|
+
RubyServerResponceImpl::RubyServerResponceImpl(const char* body) {
|
11
|
+
mBody = NULL;
|
12
|
+
if (body != NULL) {
|
13
|
+
int len = (int)strlen(body);
|
14
|
+
mBody = (char*)malloc(len+1);
|
15
|
+
strcpy(mBody, body);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
RubyServerResponceImpl::~RubyServerResponceImpl(){
|
20
|
+
if (mBody != NULL) {
|
21
|
+
free(mBody);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
IString* RubyServerResponceImpl::getResponceBody() {
|
26
|
+
IMutableString* str = (IMutableString*)RhoRubySingletone::getRhoRuby()->makeBaseTypeObject(BASIC_TYPES::MutableString);
|
27
|
+
str->setUTF8(mBody);
|
28
|
+
return str;
|
29
|
+
}
|
30
|
+
|
31
|
+
}
|
32
|
+
}
|
@@ -6,6 +6,20 @@
|
|
6
6
|
objectVersion = 46;
|
7
7
|
objects = {
|
8
8
|
|
9
|
+
/* Begin PBXAggregateTarget section */
|
10
|
+
FAD356E5226421F200419673 /* rhoextlibAggregated */ = {
|
11
|
+
isa = PBXAggregateTarget;
|
12
|
+
buildConfigurationList = FAD356E9226421F200419673 /* Build configuration list for PBXAggregateTarget "rhoextlibAggregated" */;
|
13
|
+
buildPhases = (
|
14
|
+
FAD356EA226421F800419673 /* ShellScript */,
|
15
|
+
);
|
16
|
+
dependencies = (
|
17
|
+
);
|
18
|
+
name = rhoextlibAggregated;
|
19
|
+
productName = rhoextlibAggregated;
|
20
|
+
};
|
21
|
+
/* End PBXAggregateTarget section */
|
22
|
+
|
9
23
|
/* Begin PBXBuildFile section */
|
10
24
|
AA747D9F0F9514B9006C5449 /* rhoextlib_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = AA747D9E0F9514B9006C5449 /* rhoextlib_Prefix.pch */; };
|
11
25
|
AACBBE4A0F95108600F1A2B1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AACBBE490F95108600F1A2B1 /* Foundation.framework */; };
|
@@ -119,6 +133,13 @@
|
|
119
133
|
isa = PBXProject;
|
120
134
|
attributes = {
|
121
135
|
LastUpgradeCheck = 0500;
|
136
|
+
TargetAttributes = {
|
137
|
+
FAD356E5226421F200419673 = {
|
138
|
+
CreatedOnToolsVersion = 10.1;
|
139
|
+
DevelopmentTeam = PNQRMU2LPM;
|
140
|
+
ProvisioningStyle = Automatic;
|
141
|
+
};
|
142
|
+
};
|
122
143
|
};
|
123
144
|
buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "rhoextlib" */;
|
124
145
|
compatibilityVersion = "Xcode 3.2";
|
@@ -133,10 +154,31 @@
|
|
133
154
|
projectRoot = "";
|
134
155
|
targets = (
|
135
156
|
D2AAC07D0554694100DB518D /* rhoextlib */,
|
157
|
+
FAD356E5226421F200419673 /* rhoextlibAggregated */,
|
136
158
|
);
|
137
159
|
};
|
138
160
|
/* End PBXProject section */
|
139
161
|
|
162
|
+
/* Begin PBXShellScriptBuildPhase section */
|
163
|
+
FAD356EA226421F800419673 /* ShellScript */ = {
|
164
|
+
isa = PBXShellScriptBuildPhase;
|
165
|
+
buildActionMask = 2147483647;
|
166
|
+
files = (
|
167
|
+
);
|
168
|
+
inputFileListPaths = (
|
169
|
+
);
|
170
|
+
inputPaths = (
|
171
|
+
);
|
172
|
+
outputFileListPaths = (
|
173
|
+
);
|
174
|
+
outputPaths = (
|
175
|
+
);
|
176
|
+
runOnlyForDeploymentPostprocessing = 0;
|
177
|
+
shellPath = /bin/sh;
|
178
|
+
shellScript = "LIB_NAME=\"rhoextlib\"\n\n#MY_BUILD_DIR = \"${BUILD_DIR}\"\nMY_BUILD_DIR=\"./build\"\n\nSIMULATOR_LIBRARY_PATH=\"${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator/lib${LIB_NAME}.a\"\n\nDEVICE_LIBRARY_PATH=\"${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos/lib${LIB_NAME}.a\"\n\nOUTPUT_DIR=\"./${LIB_NAME}-Aggregated\"\n\nrm -rf \"${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator\"\nrm -rf \"${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos\"\n\n\nARCHS=\"i386 x86_64\"\n\nXcodebuild -project ${PROJECT_NAME}.Xcodeproj -scheme ${LIB_NAME} -sdk iphonesimulator -configuration ${CONFIGURATION} install CONFIGURATION_BUILD_DIR=${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator ARCHS=\"i386 x86_64\"\n\nARCHS=\"arm64 armv7 armv7s\"\n\nXcodebuild -project ${PROJECT_NAME}.Xcodeproj -scheme ${LIB_NAME} -sdk iphoneos -configuration ${CONFIGURATION} install CONFIGURATION_BUILD_DIR=${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos ARCHS=\"arm64 armv7 armv7s\"\n\nrm -rf \"${OUTPUT_DIR}\"\n\nmkdir \"${OUTPUT_DIR}\"\n\nlipo \"${SIMULATOR_LIBRARY_PATH}\" \"${DEVICE_LIBRARY_PATH}\" -create -output \"${OUTPUT_DIR}/lib${LIB_NAME}.a\"\n\n";
|
179
|
+
};
|
180
|
+
/* End PBXShellScriptBuildPhase section */
|
181
|
+
|
140
182
|
/* Begin PBXSourcesBuildPhase section */
|
141
183
|
D2AAC07B0554694100DB518D /* Sources */ = {
|
142
184
|
isa = PBXSourcesBuildPhase;
|
@@ -267,6 +309,33 @@
|
|
267
309
|
};
|
268
310
|
name = Distribution;
|
269
311
|
};
|
312
|
+
FAD356E6226421F200419673 /* Debug */ = {
|
313
|
+
isa = XCBuildConfiguration;
|
314
|
+
buildSettings = {
|
315
|
+
CODE_SIGN_STYLE = Automatic;
|
316
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
317
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
318
|
+
};
|
319
|
+
name = Debug;
|
320
|
+
};
|
321
|
+
FAD356E7226421F200419673 /* Release */ = {
|
322
|
+
isa = XCBuildConfiguration;
|
323
|
+
buildSettings = {
|
324
|
+
CODE_SIGN_STYLE = Automatic;
|
325
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
326
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
327
|
+
};
|
328
|
+
name = Release;
|
329
|
+
};
|
330
|
+
FAD356E8226421F200419673 /* Distribution */ = {
|
331
|
+
isa = XCBuildConfiguration;
|
332
|
+
buildSettings = {
|
333
|
+
CODE_SIGN_STYLE = Automatic;
|
334
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
335
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
336
|
+
};
|
337
|
+
name = Distribution;
|
338
|
+
};
|
270
339
|
/* End XCBuildConfiguration section */
|
271
340
|
|
272
341
|
/* Begin XCConfigurationList section */
|
@@ -290,6 +359,16 @@
|
|
290
359
|
defaultConfigurationIsVisible = 0;
|
291
360
|
defaultConfigurationName = Release;
|
292
361
|
};
|
362
|
+
FAD356E9226421F200419673 /* Build configuration list for PBXAggregateTarget "rhoextlibAggregated" */ = {
|
363
|
+
isa = XCConfigurationList;
|
364
|
+
buildConfigurations = (
|
365
|
+
FAD356E6226421F200419673 /* Debug */,
|
366
|
+
FAD356E7226421F200419673 /* Release */,
|
367
|
+
FAD356E8226421F200419673 /* Distribution */,
|
368
|
+
);
|
369
|
+
defaultConfigurationIsVisible = 0;
|
370
|
+
defaultConfigurationName = Release;
|
371
|
+
};
|
293
372
|
/* End XCConfigurationList section */
|
294
373
|
};
|
295
374
|
rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
|
@@ -6,6 +6,20 @@
|
|
6
6
|
objectVersion = 46;
|
7
7
|
objects = {
|
8
8
|
|
9
|
+
/* Begin PBXAggregateTarget section */
|
10
|
+
FAD356F12264225800419673 /* rhorubylibAggregated */ = {
|
11
|
+
isa = PBXAggregateTarget;
|
12
|
+
buildConfigurationList = FAD356F52264225800419673 /* Build configuration list for PBXAggregateTarget "rhorubylibAggregated" */;
|
13
|
+
buildPhases = (
|
14
|
+
FAD356F62264226100419673 /* ShellScript */,
|
15
|
+
);
|
16
|
+
dependencies = (
|
17
|
+
);
|
18
|
+
name = rhorubylibAggregated;
|
19
|
+
productName = rhorubylibAggregated;
|
20
|
+
};
|
21
|
+
/* End PBXAggregateTarget section */
|
22
|
+
|
9
23
|
/* Begin PBXBuildFile section */
|
10
24
|
A80083E220FFA1100051E96E /* date_parse.c in Sources */ = {isa = PBXBuildFile; fileRef = A80083DE20FFA10F0051E96E /* date_parse.c */; };
|
11
25
|
A80083E320FFA1100051E96E /* date_strptime.c in Sources */ = {isa = PBXBuildFile; fileRef = A80083DF20FFA10F0051E96E /* date_strptime.c */; };
|
@@ -271,6 +285,7 @@
|
|
271
285
|
FA6B3F831FD21E05008BFF0D /* single_byte.c in Sources */ = {isa = PBXBuildFile; fileRef = FA6B3F801FD21DFE008BFF0D /* single_byte.c */; };
|
272
286
|
FA6B3F841FD21E07008BFF0D /* utf_16_32.c in Sources */ = {isa = PBXBuildFile; fileRef = FA6B3F7F1FD21DFE008BFF0D /* utf_16_32.c */; };
|
273
287
|
FAA66D031EEDE070003E0B1D /* nonblock.c in Sources */ = {isa = PBXBuildFile; fileRef = FAA66D021EEDE070003E0B1D /* nonblock.c */; };
|
288
|
+
FAE78BBA2254654B001A1150 /* rhoinit.c in Sources */ = {isa = PBXBuildFile; fileRef = A8CAD3DA1E67419C00ED8E7E /* rhoinit.c */; };
|
274
289
|
/* End PBXBuildFile section */
|
275
290
|
|
276
291
|
/* Begin PBXFileReference section */
|
@@ -1075,6 +1090,11 @@
|
|
1075
1090
|
DevelopmentTeam = 7SESST377N;
|
1076
1091
|
ProvisioningStyle = Automatic;
|
1077
1092
|
};
|
1093
|
+
FAD356F12264225800419673 = {
|
1094
|
+
CreatedOnToolsVersion = 10.1;
|
1095
|
+
DevelopmentTeam = PNQRMU2LPM;
|
1096
|
+
ProvisioningStyle = Automatic;
|
1097
|
+
};
|
1078
1098
|
};
|
1079
1099
|
};
|
1080
1100
|
buildConfigurationList = 1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "rhorubylib" */;
|
@@ -1093,10 +1113,31 @@
|
|
1093
1113
|
targets = (
|
1094
1114
|
D2AAC045055464E500DB518D /* rhorubylib */,
|
1095
1115
|
A8A6D30D1E24AADD00016427 /* rubymac */,
|
1116
|
+
FAD356F12264225800419673 /* rhorubylibAggregated */,
|
1096
1117
|
);
|
1097
1118
|
};
|
1098
1119
|
/* End PBXProject section */
|
1099
1120
|
|
1121
|
+
/* Begin PBXShellScriptBuildPhase section */
|
1122
|
+
FAD356F62264226100419673 /* ShellScript */ = {
|
1123
|
+
isa = PBXShellScriptBuildPhase;
|
1124
|
+
buildActionMask = 2147483647;
|
1125
|
+
files = (
|
1126
|
+
);
|
1127
|
+
inputFileListPaths = (
|
1128
|
+
);
|
1129
|
+
inputPaths = (
|
1130
|
+
);
|
1131
|
+
outputFileListPaths = (
|
1132
|
+
);
|
1133
|
+
outputPaths = (
|
1134
|
+
);
|
1135
|
+
runOnlyForDeploymentPostprocessing = 0;
|
1136
|
+
shellPath = /bin/sh;
|
1137
|
+
shellScript = "LIB_NAME=\"rhorubylib\"\n\n#MY_BUILD_DIR = \"${BUILD_DIR}\"\nMY_BUILD_DIR=\"./build\"\n\nSIMULATOR_LIBRARY_PATH=\"${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator/lib${LIB_NAME}.a\"\n\nDEVICE_LIBRARY_PATH=\"${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos/lib${LIB_NAME}.a\"\n\nOUTPUT_DIR=\"./${LIB_NAME}-Aggregated\"\n\nrm -rf \"${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator\"\nrm -rf \"${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos\"\n\n\nARCHS=\"i386 x86_64\"\n\nXcodebuild -project ${PROJECT_NAME}.Xcodeproj -scheme ${LIB_NAME} -sdk iphonesimulator -configuration ${CONFIGURATION} install CONFIGURATION_BUILD_DIR=${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator ARCHS=\"i386 x86_64\"\n\nARCHS=\"arm64 armv7 armv7s\"\n\nXcodebuild -project ${PROJECT_NAME}.Xcodeproj -scheme ${LIB_NAME} -sdk iphoneos -configuration ${CONFIGURATION} install CONFIGURATION_BUILD_DIR=${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos ARCHS=\"arm64 armv7 armv7s\"\n\nrm -rf \"${OUTPUT_DIR}\"\n\nmkdir \"${OUTPUT_DIR}\"\n\nlipo \"${SIMULATOR_LIBRARY_PATH}\" \"${DEVICE_LIBRARY_PATH}\" -create -output \"${OUTPUT_DIR}/lib${LIB_NAME}.a\"\n\n";
|
1138
|
+
};
|
1139
|
+
/* End PBXShellScriptBuildPhase section */
|
1140
|
+
|
1100
1141
|
/* Begin PBXSourcesBuildPhase section */
|
1101
1142
|
A8A6D30A1E24AADD00016427 /* Sources */ = {
|
1102
1143
|
isa = PBXSourcesBuildPhase;
|
@@ -1232,6 +1273,7 @@
|
|
1232
1273
|
A80AFE541E2415390006FF68 /* error.c in Sources */,
|
1233
1274
|
FA4CE2941ECB316100DBA581 /* raddrinfo.c in Sources */,
|
1234
1275
|
A80AFEB91E2415390006FF68 /* vm_trace.c in Sources */,
|
1276
|
+
FAE78BBA2254654B001A1150 /* rhoinit.c in Sources */,
|
1235
1277
|
FA4CE2961ECB316100DBA581 /* udpsocket.c in Sources */,
|
1236
1278
|
A80083E520FFA1100051E96E /* date_strftime.c in Sources */,
|
1237
1279
|
A80AFE6E1E2415390006FF68 /* marshal.c in Sources */,
|
@@ -1384,6 +1426,7 @@
|
|
1384
1426
|
1DEB91F008733DB70010E9CD /* Debug */ = {
|
1385
1427
|
isa = XCBuildConfiguration;
|
1386
1428
|
buildSettings = {
|
1429
|
+
ENABLE_BITCODE = YES;
|
1387
1430
|
GCC_C_LANGUAGE_STANDARD = c99;
|
1388
1431
|
GCC_OPTIMIZATION_LEVEL = 0;
|
1389
1432
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
@@ -1398,6 +1441,7 @@
|
|
1398
1441
|
1DEB91F108733DB70010E9CD /* Release */ = {
|
1399
1442
|
isa = XCBuildConfiguration;
|
1400
1443
|
buildSettings = {
|
1444
|
+
ENABLE_BITCODE = YES;
|
1401
1445
|
GCC_C_LANGUAGE_STANDARD = c99;
|
1402
1446
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
1403
1447
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
@@ -1410,6 +1454,7 @@
|
|
1410
1454
|
46B0043910332DDD00D0C2F4 /* Distribution */ = {
|
1411
1455
|
isa = XCBuildConfiguration;
|
1412
1456
|
buildSettings = {
|
1457
|
+
ENABLE_BITCODE = YES;
|
1413
1458
|
GCC_C_LANGUAGE_STANDARD = c99;
|
1414
1459
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
1415
1460
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
@@ -1618,6 +1663,42 @@
|
|
1618
1663
|
};
|
1619
1664
|
name = Distribution;
|
1620
1665
|
};
|
1666
|
+
FAD356F22264225800419673 /* Debug */ = {
|
1667
|
+
isa = XCBuildConfiguration;
|
1668
|
+
buildSettings = {
|
1669
|
+
CODE_SIGN_STYLE = Automatic;
|
1670
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
1671
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
1672
|
+
SDKROOT = iphoneos;
|
1673
|
+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
1674
|
+
VALID_ARCHS = "arm64 arm64e armv7 armv7s";
|
1675
|
+
};
|
1676
|
+
name = Debug;
|
1677
|
+
};
|
1678
|
+
FAD356F32264225800419673 /* Release */ = {
|
1679
|
+
isa = XCBuildConfiguration;
|
1680
|
+
buildSettings = {
|
1681
|
+
CODE_SIGN_STYLE = Automatic;
|
1682
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
1683
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
1684
|
+
SDKROOT = iphoneos;
|
1685
|
+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
1686
|
+
VALID_ARCHS = "arm64 arm64e armv7 armv7s";
|
1687
|
+
};
|
1688
|
+
name = Release;
|
1689
|
+
};
|
1690
|
+
FAD356F42264225800419673 /* Distribution */ = {
|
1691
|
+
isa = XCBuildConfiguration;
|
1692
|
+
buildSettings = {
|
1693
|
+
CODE_SIGN_STYLE = Automatic;
|
1694
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
1695
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
1696
|
+
SDKROOT = iphoneos;
|
1697
|
+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
1698
|
+
VALID_ARCHS = "arm64 arm64e armv7 armv7s";
|
1699
|
+
};
|
1700
|
+
name = Distribution;
|
1701
|
+
};
|
1621
1702
|
/* End XCBuildConfiguration section */
|
1622
1703
|
|
1623
1704
|
/* Begin XCConfigurationList section */
|
@@ -1651,6 +1732,16 @@
|
|
1651
1732
|
defaultConfigurationIsVisible = 0;
|
1652
1733
|
defaultConfigurationName = Release;
|
1653
1734
|
};
|
1735
|
+
FAD356F52264225800419673 /* Build configuration list for PBXAggregateTarget "rhorubylibAggregated" */ = {
|
1736
|
+
isa = XCConfigurationList;
|
1737
|
+
buildConfigurations = (
|
1738
|
+
FAD356F22264225800419673 /* Debug */,
|
1739
|
+
FAD356F32264225800419673 /* Release */,
|
1740
|
+
FAD356F42264225800419673 /* Distribution */,
|
1741
|
+
);
|
1742
|
+
defaultConfigurationIsVisible = 0;
|
1743
|
+
defaultConfigurationName = Release;
|
1744
|
+
};
|
1654
1745
|
/* End XCConfigurationList section */
|
1655
1746
|
};
|
1656
1747
|
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
|
@@ -6,6 +6,20 @@
|
|
6
6
|
objectVersion = 46;
|
7
7
|
objects = {
|
8
8
|
|
9
|
+
/* Begin PBXAggregateTarget section */
|
10
|
+
FAD356EB2264222400419673 /* rhosynclibAggregated */ = {
|
11
|
+
isa = PBXAggregateTarget;
|
12
|
+
buildConfigurationList = FAD356EF2264222400419673 /* Build configuration list for PBXAggregateTarget "rhosynclibAggregated" */;
|
13
|
+
buildPhases = (
|
14
|
+
FAD356F02264222900419673 /* ShellScript */,
|
15
|
+
);
|
16
|
+
dependencies = (
|
17
|
+
);
|
18
|
+
name = rhosynclibAggregated;
|
19
|
+
productName = rhosynclibAggregated;
|
20
|
+
};
|
21
|
+
/* End PBXAggregateTarget section */
|
22
|
+
|
9
23
|
/* Begin PBXBuildFile section */
|
10
24
|
5C74058A1064AA4900163569 /* DBAttrManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5C7405881064AA4900163569 /* DBAttrManager.cpp */; };
|
11
25
|
5C74058B1064AA4900163569 /* DBAttrManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 5C7405891064AA4900163569 /* DBAttrManager.h */; };
|
@@ -301,6 +315,13 @@
|
|
301
315
|
isa = PBXProject;
|
302
316
|
attributes = {
|
303
317
|
LastUpgradeCheck = 0500;
|
318
|
+
TargetAttributes = {
|
319
|
+
FAD356EB2264222400419673 = {
|
320
|
+
CreatedOnToolsVersion = 10.1;
|
321
|
+
DevelopmentTeam = PNQRMU2LPM;
|
322
|
+
ProvisioningStyle = Automatic;
|
323
|
+
};
|
324
|
+
};
|
304
325
|
};
|
305
326
|
buildConfigurationList = 1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "rhosynclib" */;
|
306
327
|
compatibilityVersion = "Xcode 3.2";
|
@@ -314,10 +335,31 @@
|
|
314
335
|
projectRoot = "";
|
315
336
|
targets = (
|
316
337
|
D2AAC045055464E500DB518D /* rhosynclib */,
|
338
|
+
FAD356EB2264222400419673 /* rhosynclibAggregated */,
|
317
339
|
);
|
318
340
|
};
|
319
341
|
/* End PBXProject section */
|
320
342
|
|
343
|
+
/* Begin PBXShellScriptBuildPhase section */
|
344
|
+
FAD356F02264222900419673 /* ShellScript */ = {
|
345
|
+
isa = PBXShellScriptBuildPhase;
|
346
|
+
buildActionMask = 2147483647;
|
347
|
+
files = (
|
348
|
+
);
|
349
|
+
inputFileListPaths = (
|
350
|
+
);
|
351
|
+
inputPaths = (
|
352
|
+
);
|
353
|
+
outputFileListPaths = (
|
354
|
+
);
|
355
|
+
outputPaths = (
|
356
|
+
);
|
357
|
+
runOnlyForDeploymentPostprocessing = 0;
|
358
|
+
shellPath = /bin/sh;
|
359
|
+
shellScript = "LIB_NAME=\"rhosynclib\"\n\n#MY_BUILD_DIR = \"${BUILD_DIR}\"\nMY_BUILD_DIR=\"./build\"\n\nSIMULATOR_LIBRARY_PATH=\"${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator/lib${LIB_NAME}.a\"\n\nDEVICE_LIBRARY_PATH=\"${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos/lib${LIB_NAME}.a\"\n\nOUTPUT_DIR=\"./${LIB_NAME}-Aggregated\"\n\nrm -rf \"${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator\"\nrm -rf \"${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos\"\n\n\nARCHS=\"i386 x86_64\"\n\nXcodebuild -project ${PROJECT_NAME}.Xcodeproj -scheme ${LIB_NAME} -sdk iphonesimulator -configuration ${CONFIGURATION} install CONFIGURATION_BUILD_DIR=${MY_BUILD_DIR}/${CONFIGURATION}-iphonesimulator ARCHS=\"i386 x86_64\"\n\nARCHS=\"arm64 armv7 armv7s\"\n\nXcodebuild -project ${PROJECT_NAME}.Xcodeproj -scheme ${LIB_NAME} -sdk iphoneos -configuration ${CONFIGURATION} install CONFIGURATION_BUILD_DIR=${MY_BUILD_DIR}/${CONFIGURATION}-iphoneos ARCHS=\"arm64 armv7 armv7s\"\n\nrm -rf \"${OUTPUT_DIR}\"\n\nmkdir \"${OUTPUT_DIR}\"\n\nlipo \"${SIMULATOR_LIBRARY_PATH}\" \"${DEVICE_LIBRARY_PATH}\" -create -output \"${OUTPUT_DIR}/lib${LIB_NAME}.a\"\n\n";
|
360
|
+
};
|
361
|
+
/* End PBXShellScriptBuildPhase section */
|
362
|
+
|
321
363
|
/* Begin PBXSourcesBuildPhase section */
|
322
364
|
D2AAC044055464E500DB518D /* Sources */ = {
|
323
365
|
isa = PBXSourcesBuildPhase;
|
@@ -407,6 +449,7 @@
|
|
407
449
|
1DEB91F008733DB70010E9CD /* Debug */ = {
|
408
450
|
isa = XCBuildConfiguration;
|
409
451
|
buildSettings = {
|
452
|
+
ENABLE_BITCODE = YES;
|
410
453
|
GCC_C_LANGUAGE_STANDARD = c99;
|
411
454
|
GCC_OPTIMIZATION_LEVEL = 0;
|
412
455
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
@@ -416,6 +459,7 @@
|
|
416
459
|
../../shared/ruby/iphone,
|
417
460
|
../../shared/ruby/include,
|
418
461
|
);
|
462
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
419
463
|
ONLY_ACTIVE_ARCH = YES;
|
420
464
|
PREBINDING = NO;
|
421
465
|
SDKROOT = iphonesimulator3.2;
|
@@ -426,6 +470,7 @@
|
|
426
470
|
1DEB91F108733DB70010E9CD /* Release */ = {
|
427
471
|
isa = XCBuildConfiguration;
|
428
472
|
buildSettings = {
|
473
|
+
ENABLE_BITCODE = YES;
|
429
474
|
GCC_C_LANGUAGE_STANDARD = c99;
|
430
475
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
431
476
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
@@ -434,6 +479,7 @@
|
|
434
479
|
../../shared/ruby/iphone,
|
435
480
|
../../shared/ruby/include,
|
436
481
|
);
|
482
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
437
483
|
ONLY_ACTIVE_ARCH = YES;
|
438
484
|
PREBINDING = NO;
|
439
485
|
SDKROOT = iphoneos;
|
@@ -444,6 +490,7 @@
|
|
444
490
|
46B0043210332DD100D0C2F4 /* Distribution */ = {
|
445
491
|
isa = XCBuildConfiguration;
|
446
492
|
buildSettings = {
|
493
|
+
ENABLE_BITCODE = YES;
|
447
494
|
GCC_C_LANGUAGE_STANDARD = c99;
|
448
495
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
449
496
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
@@ -452,6 +499,7 @@
|
|
452
499
|
../../shared/ruby/iphone,
|
453
500
|
../../shared/ruby/include,
|
454
501
|
);
|
502
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
455
503
|
ONLY_ACTIVE_ARCH = YES;
|
456
504
|
PREBINDING = NO;
|
457
505
|
SDKROOT = iphoneos;
|
@@ -484,6 +532,33 @@
|
|
484
532
|
};
|
485
533
|
name = Distribution;
|
486
534
|
};
|
535
|
+
FAD356EC2264222400419673 /* Debug */ = {
|
536
|
+
isa = XCBuildConfiguration;
|
537
|
+
buildSettings = {
|
538
|
+
CODE_SIGN_STYLE = Automatic;
|
539
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
540
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
541
|
+
};
|
542
|
+
name = Debug;
|
543
|
+
};
|
544
|
+
FAD356ED2264222400419673 /* Release */ = {
|
545
|
+
isa = XCBuildConfiguration;
|
546
|
+
buildSettings = {
|
547
|
+
CODE_SIGN_STYLE = Automatic;
|
548
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
549
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
550
|
+
};
|
551
|
+
name = Release;
|
552
|
+
};
|
553
|
+
FAD356EE2264222400419673 /* Distribution */ = {
|
554
|
+
isa = XCBuildConfiguration;
|
555
|
+
buildSettings = {
|
556
|
+
CODE_SIGN_STYLE = Automatic;
|
557
|
+
DEVELOPMENT_TEAM = PNQRMU2LPM;
|
558
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
559
|
+
};
|
560
|
+
name = Distribution;
|
561
|
+
};
|
487
562
|
/* End XCBuildConfiguration section */
|
488
563
|
|
489
564
|
/* Begin XCConfigurationList section */
|
@@ -507,6 +582,16 @@
|
|
507
582
|
defaultConfigurationIsVisible = 0;
|
508
583
|
defaultConfigurationName = Release;
|
509
584
|
};
|
585
|
+
FAD356EF2264222400419673 /* Build configuration list for PBXAggregateTarget "rhosynclibAggregated" */ = {
|
586
|
+
isa = XCConfigurationList;
|
587
|
+
buildConfigurations = (
|
588
|
+
FAD356EC2264222400419673 /* Debug */,
|
589
|
+
FAD356ED2264222400419673 /* Release */,
|
590
|
+
FAD356EE2264222400419673 /* Distribution */,
|
591
|
+
);
|
592
|
+
defaultConfigurationIsVisible = 0;
|
593
|
+
defaultConfigurationName = Release;
|
594
|
+
};
|
510
595
|
/* End XCConfigurationList section */
|
511
596
|
};
|
512
597
|
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
|