rhodes 7.1.17 → 7.4.1
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/Gemfile +3 -0
- data/LICENSE +1 -1
- data/README.html +2 -2
- data/README.md +26 -23
- data/Rakefile +169 -89
- data/appveyor.yml +74 -47
- data/bin/rhodes-setup +4 -4
- data/doc/application.txt +21 -0
- data/doc/oss/DeveloperNotes.md +1 -1
- data/doc/oss/WM_CE_Installation_And_Build_Guidelines.md +1 -1
- data/ext/extconf.rb +16 -3
- data/extensions/instrumentation/ext/platform/iphone/Instrumentation.xcodeproj/project.pbxproj +4 -4
- data/extensions/rhoconnect-push/ext/build.bat +1 -1
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/graphics/BatteryIndicator.java +14 -1
- data/lib/build/buildgem.rb +26 -0
- data/lib/build/jake.rb +7 -5
- data/lib/commonAPI/ConnectionChecking/ext/build.bat +1 -1
- data/lib/commonAPI/RubyServer/ext/build.bat +1 -1
- data/lib/commonAPI/RubyServer/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/audiocapture/ext/build.bat +1 -1
- data/lib/commonAPI/audiocapture/ext/platform/android/src/com/rho/audiocapture/AudioCapture.java +4 -1
- data/lib/commonAPI/audiocapture/ext/platform/iphone/Audiocapture.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/audiocapture/ext/platform/iphone/Rakefile +9 -63
- data/lib/commonAPI/barcode/ext/barcode.xml +2 -6
- data/lib/commonAPI/barcode/ext/build +5 -0
- data/lib/commonAPI/barcode/ext/build.bat +1 -1
- data/lib/commonAPI/barcode/ext/platform/android/AndroidManifest.xml +13 -0
- data/lib/commonAPI/barcode/ext/platform/android/Rakefile +229 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_arrow_back.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_done.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_flash_off.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_flash_on.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_replay.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable-hdpi/icon.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/layout/barcode_capture.xml +98 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/barcode_strings.xml +12 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/barcode_styles.xml +8 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/dimens.xml +5 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values-w820dp/dimens.xml +6 -0
- data/lib/commonAPI/barcode/ext/platform/android/ext_java.files +11 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeCaptureActivity.java +669 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeFormats.java +64 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphic.java +94 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphicTracker.java +165 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeTrackerFactory.java +47 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSource.java +1166 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSourcePreview.java +189 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/GraphicOverlay.java +309 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeCommon.java +199 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactory.java +66 -49
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactoryRhoListener.java +9 -1
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java +9 -1
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeSingleton.java +75 -23
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/InternalAndroidBarcodeScanner.java +184 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/ZXingScanner.java +48 -180
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/emdk3/EMDK3Scanner.java +8 -1
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/emdk3/EMDK3ScannerSettings.java +4 -3
- data/lib/commonAPI/barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/barcode/ext/platform/iphone/Rakefile +9 -64
- data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC/client/result/ZXResultParser.m +1 -1
- data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC/datamatrix/decoder/ZXDataMatrixDecodedBitStreamParser.m +4 -4
- data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC.xcodeproj/project.pbxproj +6 -6
- data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro +41 -37
- data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogBuilder.h +2 -0
- data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogView.cpp +6 -3
- data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogView.h +1 -1
- data/lib/commonAPI/barcode/ext/platform/qt/src/qzxing/zxing/zxing/ZXing.h +5 -5
- data/lib/commonAPI/barcode/ext.yml +10 -1
- data/lib/commonAPI/bluetooth/ext/build.bat +1 -1
- data/lib/commonAPI/bluetooth/ext/platform/android/src/com/rhomobile/rhodes/bluetooth/RhoBluetoothManagerNew.java +2 -0
- data/lib/commonAPI/bluetooth/ext/platform/iphone/Bluetooth.xcodeproj/project.pbxproj +6 -16
- data/lib/commonAPI/bluetooth/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro +8 -11
- data/lib/commonAPI/bluetooth/ext/platform/qt/src/bluetooth/bluetoothserver.h +1 -1
- data/lib/commonAPI/clipboard/ext/build.bat +1 -1
- data/lib/commonAPI/clipboard/ext/platform/iphone/Clipboard.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/clipboard/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/coreapi/RhoNativeTabbarApi.rb +1 -1
- data/lib/commonAPI/coreapi/RhoNotificationApi.rb +1 -1
- data/lib/commonAPI/coreapi/ext/Application.xml +2 -1
- data/lib/commonAPI/coreapi/ext/Timer.xml +21 -13
- data/lib/commonAPI/coreapi/ext/build +5 -0
- data/lib/commonAPI/coreapi/ext/build.bat +1 -1
- data/lib/commonAPI/coreapi/ext/platform/android/ApplicationManifestAdds.erb +0 -1
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/intent/IntentSingleton.java +21 -7
- data/lib/commonAPI/coreapi/ext/platform/iphone/Coreapi.xcodeproj/project.pbxproj +6 -4
- data/lib/commonAPI/coreapi/ext/platform/iphone/cpp_based_impl/SystemImpl.mm +4 -2
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/IntentSingleton.m +2 -2
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +2 -2
- data/lib/commonAPI/coreapi/ext/platform/qt/coreapi.pro +16 -17
- data/lib/commonAPI/coreapi/ext/platform/qt/src/CNativeToolbarImpl.cpp +1 -1
- data/lib/commonAPI/coreapi/ext/platform/wm/src/NetworkDetect.h +2 -2
- data/lib/commonAPI/coreapi/ext/platform/wm/src/NotificationImpl.cpp +7 -0
- data/lib/commonAPI/coreapi/ext/platform/wm/src/SystemImpl.cpp +1 -3
- data/lib/commonAPI/coreapi/ext/push.xml +5 -3
- data/lib/commonAPI/coreapi/ext/shared/ApplicationImpl.cpp +2 -2
- data/lib/commonAPI/coreapi/ext/shared/InitExtension.cpp +8 -8
- data/lib/commonAPI/coreapi/ext/shared/NetworkDetectBase.cpp +1 -1
- data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.cpp +2 -0
- data/lib/commonAPI/coreapi/ext/system.xml +3 -0
- data/lib/commonAPI/devicesecurity/ext/DeviceSecurity.xml +2 -2
- data/lib/commonAPI/devicesecurity/ext/build.bat +1 -1
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/eventsource/ext/platform/iphone/Eventsource.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/eventsource/ext/platform/iphone/Rakefile +9 -64
- data/lib/commonAPI/hardwarekeys/ext/platform/android/src/com/rho/keycapture/KeyCaptureRhoListener.java +11 -1
- data/lib/commonAPI/hardwarekeys/ext/platform/android/src/com/rho/keycapture/KeyCaptureSingleton.java +14 -1
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/HardwareKeys.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/indicators/ext/platform/iphone/Indicators.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/indicators/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/javascriptvm/ext/platform/iphone/Javascriptvm.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/javascriptvm/ext/platform/iphone/Rakefile +9 -63
- data/lib/commonAPI/logCapture/ext/build.bat +1 -1
- data/lib/commonAPI/logCapture/ext/platform/iphone/LogCapture.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/logCapture/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/mediacapture/ext/build +5 -0
- data/lib/commonAPI/mediacapture/ext/build.bat +1 -1
- data/lib/commonAPI/mediacapture/ext/platform/android/AndroidManifest_rhomobile.xml +1 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb +9 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/xml/image_fileprovider_paths.xml +4 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +60 -3
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java +50 -8
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/videocapture/Videocapture.java +3 -1
- data/lib/commonAPI/mediacapture/ext/platform/iphone/Mediacapture.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/mediacapture/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/mediacapture/ext/platform/qt/{MediaCapture.pro → Mediacapture.pro} +19 -33
- data/lib/commonAPI/mediacapture/ext/platform/qt/src/Camera_impl.cpp +1 -1
- data/lib/commonAPI/mediacapture/ext.yml +4 -1
- data/lib/commonAPI/mediaplayer/ext/platform/iphone/Mediaplayer.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/mediaplayer/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/printing/ext/platform/iphone/Printing.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/printing/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/printing_epson/ext/platform/iphone/PrintingEpson.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/printing_epson/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/printing_zebra/ext/platform/iphone/PrintingZebra.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/printing_zebra/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/screenorientation/ext/platform/android/src/com/rho/screenorientation/ScreenOrientationRhoListener.java +2 -1
- data/lib/commonAPI/screenorientation/ext/platform/android/src/com/rho/screenorientation/ScreenOrientationSingleton.java +19 -6
- data/lib/commonAPI/screenorientation/ext/platform/iphone/Rakefile +9 -63
- data/lib/commonAPI/screenorientation/ext/platform/iphone/Screenorientation.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/sensor/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/sensor/ext/platform/iphone/Sensor.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/signature/ext/build.bat +8 -0
- data/lib/commonAPI/signature/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/signature/ext/platform/iphone/signature.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/signature/ext/platform/qt/Signature.pro +26 -12
- data/lib/commonAPI/signature/ext.yml +0 -1
- data/lib/commonAPI/smartcradle/ext/build.bat +1 -1
- data/lib/commonAPI/websocket/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/websocket/ext/platform/iphone/Websocket.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/Development/ext/build.bat +1 -1
- data/lib/extensions/Development/ext/platform/iphone/Development.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/Development/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/applePush/ext/platform/iphone/ApplePush.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/applePush/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/audiocapture/ext/audiocapture/platform/iphone/Audiocapture.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/audiocapture/ext/audiocapture/platform/iphone/Rakefile +9 -62
- data/lib/extensions/bigdecimal/ext/Rakefile +2 -2
- data/lib/extensions/bigdecimal/ext/bigdecimal.pro +9 -0
- data/lib/extensions/bigdecimal/ext/build +4 -0
- data/lib/extensions/bigdecimal/ext/build.bat +1 -1
- data/lib/extensions/bigdecimal/ext/iphone/Bigdecimal.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/bigdecimal/ext/iphone/Rakefile +9 -62
- data/lib/extensions/debugger/debugger.rb +331 -180
- data/lib/extensions/decrypt/ext/build.bat +1 -1
- data/lib/extensions/decrypt/ext/platform/iphone/Decrypt.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/decrypt/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/decryptstub/ext/build.bat +1 -1
- data/lib/extensions/decryptstub/ext/platform/iphone/Decryptstub.xcodeproj/project.pbxproj +6 -4
- data/lib/extensions/decryptstub/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/digest/ext/Rakefile +2 -2
- data/lib/extensions/digest/ext/build +4 -0
- data/lib/extensions/digest/ext/build.bat +1 -1
- data/lib/extensions/digest/ext/digest.pro +9 -0
- data/lib/extensions/digest/ext/iphone/Digest.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest/ext/iphone/Rakefile +9 -62
- data/lib/extensions/digest-md5/ext/Rakefile +2 -2
- data/lib/extensions/digest-md5/ext/build +4 -0
- data/lib/extensions/digest-md5/ext/build.bat +1 -1
- data/lib/extensions/digest-md5/ext/digest-md5.pro +9 -0
- data/lib/extensions/digest-md5/ext/iphone/Dmd5.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest-md5/ext/iphone/Rakefile +9 -62
- data/lib/extensions/digest-sha1/ext/Rakefile +2 -2
- data/lib/extensions/digest-sha1/ext/build +4 -0
- data/lib/extensions/digest-sha1/ext/build.bat +1 -1
- data/lib/extensions/digest-sha1/ext/digest-sha1.pro +9 -0
- data/lib/extensions/digest-sha1/ext/iphone/Dsha1.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest-sha1/ext/iphone/Rakefile +9 -62
- data/lib/extensions/digest-sha2/ext/Rakefile +2 -2
- data/lib/extensions/digest-sha2/ext/build +4 -0
- data/lib/extensions/digest-sha2/ext/build.bat +1 -1
- data/lib/extensions/digest-sha2/ext/digest-sha2.pro +9 -0
- data/lib/extensions/digest-sha2/ext/iphone/Dsha2.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest-sha2/ext/iphone/Rakefile +9 -62
- data/lib/extensions/esri/ext/esri/platform/iphone/ESRI.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/esri/ext/esri/platform/iphone/Rakefile +9 -65
- data/lib/extensions/fcm-push/ext/iphone/Podfile +11 -0
- data/lib/extensions/fcm-push/ext/iphone/Rakefile +13 -66
- data/lib/extensions/fcm-push/ext/iphone/fcm-push.xcodeproj/project.pbxproj +99 -48
- data/lib/extensions/fcm-push/ext/iphone/impl/PushNotificationsReceiver.h +3 -1
- data/lib/extensions/fcm-push/ext/iphone/impl/PushNotificationsReceiver.mm +11 -4
- data/lib/extensions/fcm-push/ext/iphone/resources.txt +1 -0
- data/lib/extensions/fcm-push/ext.yml +5 -1
- data/lib/extensions/fcntl/ext/Rakefile +2 -2
- data/lib/extensions/fcntl/ext/build +4 -0
- data/lib/extensions/fcntl/ext/build.bat +1 -1
- data/lib/extensions/fcntl/ext/fcntl.pro +9 -0
- data/lib/extensions/fcntl/ext/iphone/Fcntl.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/fcntl/ext/iphone/Rakefile +9 -62
- data/lib/extensions/keyboard/ext/build.bat +1 -1
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/keyboard/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/openssl/ext/Rakefile +2 -2
- data/lib/extensions/openssl/ext/build +4 -0
- data/lib/extensions/openssl/ext/build.bat +1 -1
- data/lib/extensions/openssl/ext/iphone/Rakefile +9 -62
- data/lib/extensions/openssl/ext/iphone/openssl.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/openssl/ext/linux/extconf.h +65 -0
- data/lib/extensions/openssl/ext/openssl.pro +10 -0
- data/lib/extensions/openssl/ext/openssl_missing.c +4 -2
- data/lib/extensions/openssl/ext/ossl.h +3 -0
- data/lib/extensions/openssl/ext/ossl_x509cert.c +1 -1
- data/lib/extensions/openssl.so/ext/Rakefile +1 -1
- data/lib/extensions/openssl.so/ext/android/aarch64/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/android/armeabi/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/android/x86/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/build +4 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libcrypto.a +0 -0
- data/lib/extensions/{fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics → openssl.so/ext/iphone/OpenSSl.SDK/libcrypto_sim.a} +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl_sim.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Rakefile +30 -54
- 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.so/ext/iphone/openssl.xcodeproj/project.pbxproj +116 -10
- data/lib/extensions/openssl.so/ext/sources/include/openssl/__DECC_INCLUDE_EPILOGUE.H +9 -3
- data/lib/extensions/openssl.so/ext/sources/include/openssl/__DECC_INCLUDE_PROLOGUE.H +10 -4
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1.h +13 -226
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1err.h +256 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1t.h +24 -8
- data/lib/extensions/openssl.so/ext/sources/include/openssl/async.h +2 -24
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asyncerr.h +42 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bio.h +89 -139
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bioerr.h +124 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bn.h +75 -111
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bnerr.h +100 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/buffer.h +2 -17
- data/lib/extensions/openssl.so/ext/sources/include/openssl/buffererr.h +34 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cms.h +6 -179
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cmserr.h +202 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/comp.h +2 -21
- data/lib/extensions/openssl.so/ext/sources/include/openssl/comperr.h +44 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/conf.h +2 -51
- data/lib/extensions/openssl.so/ext/sources/include/openssl/conferr.h +76 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/crypto.h +27 -49
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cryptoerr.h +57 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ct.h +2 -61
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cterr.h +80 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dh.h +33 -54
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dherr.h +88 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dsa.h +21 -60
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dsaerr.h +72 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dtls1.h +7 -8
- data/lib/extensions/openssl.so/ext/sources/include/openssl/e_os2.h +21 -19
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ec.h +187 -284
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ecerr.h +275 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/engine.h +5 -94
- data/lib/extensions/openssl.so/ext/sources/include/openssl/engineerr.h +111 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/err.h +19 -5
- data/lib/extensions/openssl.so/ext/sources/include/openssl/evp.h +250 -180
- data/lib/extensions/openssl.so/ext/sources/include/openssl/evperr.h +205 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/hmac.h +4 -2
- data/lib/extensions/openssl.so/ext/sources/include/openssl/kdf.h +51 -29
- data/lib/extensions/openssl.so/ext/sources/include/openssl/kdferr.h +55 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/lhash.h +43 -19
- data/lib/extensions/openssl.so/ext/sources/include/openssl/modes.h +11 -6
- data/lib/extensions/openssl.so/ext/sources/include/openssl/obj_mac.h +632 -11
- data/lib/extensions/openssl.so/ext/sources/include/openssl/objects.h +3 -925
- data/lib/extensions/openssl.so/ext/sources/include/openssl/objectserr.h +42 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ocsp.h +21 -65
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ocsperr.h +78 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/opensslconf.h +36 -10
- data/lib/extensions/openssl.so/ext/sources/include/openssl/opensslv.h +3 -7
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ossl_typ.h +8 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pem.h +13 -136
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pem2.h +4 -11
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pemerr.h +103 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs12.h +1 -60
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs12err.h +81 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs7.h +1 -86
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs7err.h +103 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rand.h +22 -34
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rand_drbg.h +130 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/randerr.h +94 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rsa.h +96 -173
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rsaerr.h +167 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/safestack.h +66 -23
- data/lib/extensions/openssl.so/ext/sources/include/openssl/srp.h +5 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ssl.h +706 -828
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ssl3.h +49 -20
- data/lib/extensions/openssl.so/ext/sources/include/openssl/sslerr.h +773 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/stack.h +8 -3
- data/lib/extensions/openssl.so/ext/sources/include/openssl/store.h +266 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/storeerr.h +91 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/symhacks.h +1 -16
- data/lib/extensions/openssl.so/ext/sources/include/openssl/tls1.h +350 -85
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ts.h +25 -109
- data/lib/extensions/openssl.so/ext/sources/include/openssl/tserr.h +132 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/txt_db.h +2 -2
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ui.h +56 -66
- data/lib/extensions/openssl.so/ext/sources/include/openssl/uierr.h +65 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509.h +36 -112
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509_vfy.h +85 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509err.h +130 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509v3.h +72 -141
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509v3err.h +162 -0
- data/lib/extensions/openssl.so.src/ext/build +4 -0
- data/lib/extensions/rawsensors/ext/rawsensors/platform/iphone/Rakefile +9 -62
- data/lib/extensions/rawsensors/ext/rawsensors/platform/iphone/Rawsensors.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/serialport/ext/build.bat +1 -1
- data/lib/extensions/serialport/ext/serialport.pro +11 -11
- data/lib/extensions/videocapture/ext/videocapture/platform/iphone/Rakefile +9 -62
- data/lib/extensions/videocapture/ext/videocapture/platform/iphone/Videocapture.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/zlib/ext/Rakefile +2 -2
- data/lib/extensions/zlib/ext/build +4 -0
- data/lib/extensions/zlib/ext/build.bat +1 -1
- data/lib/extensions/zlib/ext/gzlib.c +1 -1
- data/lib/extensions/zlib/ext/gzread.c +2 -2
- data/lib/extensions/zlib/ext/gzwrite.c +3 -3
- data/lib/extensions/zlib/ext/iphone/Rakefile +9 -62
- data/lib/extensions/zlib/ext/iphone/zlib.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/zlib/ext/zlib.pro +24 -16
- data/lib/framework/autocomplete/Rho.rb +6 -2
- data/lib/framework/autocomplete/Rhodes.rb +1 -1
- data/lib/framework/rho/rho.rb +9 -0
- data/lib/framework/rho/rhoapplication.rb +4 -0
- data/lib/framework/rhodes.rb +2 -2
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +2 -2
- data/platform/android/Rhodes/AndroidManifest.xml.erb +3 -2
- data/platform/android/Rhodes/jni/include/rhodes/RhoClassFactory.h +4 -3
- data/platform/android/Rhodes/jni/include/rhodes/sslimpl.h +94 -6
- data/platform/android/Rhodes/jni/src/JNIRhoRuby.cpp +1 -1
- data/platform/android/Rhodes/jni/src/JNIRhoRubyCppWrapper.cpp +104 -2
- data/platform/android/Rhodes/jni/src/RhoClassFactory.cpp +29 -1
- data/platform/android/Rhodes/jni/src/fileapi.cpp +2 -1
- data/platform/android/Rhodes/jni/src/rhodes.cpp +1 -0
- data/platform/android/Rhodes/jni/src/rhodesapp.cpp +18 -0
- data/platform/android/Rhodes/jni/src/sslimpl.cpp +317 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +15 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +17 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubySingleton.java +33 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +241 -165
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java +7 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +7 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +13 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality11.java +9 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +61 -13
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/RhoSocketImpl.java +10 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +268 -16
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/uri/LocalFileHandler.java +21 -18
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +47 -1
- data/platform/android/build/CMakeLists.txt.erb +3 -33
- data/platform/android/build/CMakeListsExts.txt.erb +26 -0
- data/platform/android/build/aab_builder.rb +234 -0
- data/platform/android/build/android.rake +512 -381
- data/platform/android/build/android_studio_project_generator.rb +82 -0
- data/platform/android/build/android_tools.rb +111 -26
- data/platform/android/build/androidcommon.rb +4 -23
- data/platform/android/build/apk_builder.rb +42 -0
- data/platform/android/build/libcurl_build.files +1 -1
- data/platform/android/build/librhodes_build.files +1 -1
- data/platform/android/build/maven_deps_extractor.rb +39 -5
- data/platform/android/build/ndkwrapper.rb +9 -11
- data/platform/android/proguard/proguard-base-rules.pro +27 -4
- data/platform/iphone/Classes/AppManager/AppManager.m +174 -159
- data/platform/iphone/Classes/Camera/PickImageDelegate.m +63 -0
- data/platform/iphone/Classes/RhoAlert.m +2 -2
- data/platform/iphone/Classes/RhoUIWebView.h +1 -1
- data/platform/iphone/Classes/RhoUIWebView.m +1 -1
- data/platform/iphone/Classes/RhoWKWebView.h +6 -3
- data/platform/iphone/Classes/RhoWKWebView.mm +86 -23
- data/platform/iphone/Classes/RhoWebView.h +6 -6
- data/platform/iphone/Classes/RhoWebViewFabrique.h +1 -1
- data/platform/iphone/Classes/RhoWebViewFabrique.m +4 -4
- data/platform/iphone/Classes/Rhodes.m +60 -12
- data/platform/iphone/Classes/SimpleMainView.m +2 -2
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +3 -3
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.m +1 -1
- data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +1 -1
- data/platform/iphone/Default-568h@2x.png +0 -0
- data/platform/iphone/Default-667h@2x.png +0 -0
- data/platform/iphone/Default-736h@3x.png +0 -0
- data/platform/iphone/Default-812h@3x.png +0 -0
- data/platform/iphone/Default-896h@2x.png +0 -0
- data/platform/iphone/Default-896h@3x.png +0 -0
- data/platform/iphone/Default-Landscape-736h@3x.png +0 -0
- data/platform/iphone/Default-Landscape-812h@3x.png +0 -0
- data/platform/iphone/Default-Landscape-896h@2x.png +0 -0
- data/platform/iphone/Default-Landscape-896h@3x.png +0 -0
- data/platform/iphone/Default-Landscape.png +0 -0
- data/platform/iphone/Default-Landscape@2x.png +0 -0
- data/platform/iphone/Default-LandscapeLeft.png +0 -0
- data/platform/iphone/Default-LandscapeLeft@2x.png +0 -0
- data/platform/iphone/Default-LandscapeRight.png +0 -0
- data/platform/iphone/Default-LandscapeRight@2x.png +0 -0
- data/platform/iphone/Default-Portrait.png +0 -0
- data/platform/iphone/Default-Portrait@2x.png +0 -0
- data/platform/iphone/Default-PortraitUpsideDown.png +0 -0
- data/platform/iphone/Default-PortraitUpsideDown@2x.png +0 -0
- data/platform/iphone/Default.png +0 -0
- data/platform/iphone/Default@2x.png +0 -0
- data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +9 -7
- data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +14 -6
- data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +7 -7
- data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +4 -4
- data/platform/iphone/Rhodes.xcodeproj/project.pbxproj +4 -4
- data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +11 -7
- data/platform/iphone/rbuild/buildextension.rb +115 -0
- data/platform/iphone/rbuild/iphone.rake +401 -115
- data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +5 -4
- data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +4 -4
- data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +3 -3
- data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +8 -7
- data/platform/linux/tasks/control.erb +8 -0
- data/platform/linux/tasks/getting sudo instruction.txt +8 -0
- data/platform/linux/tasks/install_dev_depes_alt.sh +9 -0
- data/platform/linux/tasks/install_dev_depes_astra.sh +7 -0
- data/platform/linux/tasks/install_dev_depes_redos.sh +10 -0
- data/platform/linux/tasks/install_dev_depes_rosa_r7.sh +15 -0
- data/platform/linux/tasks/install_dev_depes_rosa_x4.sh +21 -0
- data/platform/linux/tasks/install_dev_depes_ubuntu.sh +18 -0
- data/platform/linux/tasks/installation.txt +2 -0
- data/platform/linux/tasks/linter_exceptions.erb +2 -0
- data/platform/linux/tasks/linux.rake +498 -61
- data/platform/linux/tasks/rpm_spec.erb +33 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
- data/platform/sailfish/build/coreapi.pro.erb +11 -12
- data/platform/sailfish/build/curl.pro.erb +12 -14
- data/platform/sailfish/build/harbour-SailfishRhodes.pro.erb +2 -2
- data/platform/sailfish/build/rho_build.cmd.erb +1 -0
- data/platform/sailfish/build/rho_clean.cmd.erb +1 -0
- data/platform/sailfish/build/rho_deploy.cmd.erb +1 -0
- data/platform/sailfish/build/rho_rpm.cmd.erb +1 -0
- data/platform/sailfish/build/rho_rpmvalidation.cmd.erb +1 -0
- data/platform/sailfish/build/rhodes.pro.erb +43 -38
- data/platform/sailfish/build/rholib.pro.erb +21 -57
- data/platform/sailfish/build/rubylib.pro.erb +25 -30
- data/platform/sailfish/build/sailfish.rake +56 -9
- data/platform/sailfish/build/sqlite3.pro.erb +9 -9
- data/platform/sailfish/build/syncengine.pro.erb +9 -16
- data/platform/sailfish/build/unzip.pro.erb +66 -0
- data/platform/sailfish/build/zlib.pro.erb +72 -0
- data/platform/shared/api_generator/Api.h +5 -0
- data/platform/shared/common/CMakeLists.txt.erb +2 -52
- data/platform/shared/common/IRhoClassFactory.h +54 -2
- data/platform/shared/common/RhoDefs.h +0 -1
- data/platform/shared/common/RhoFile.h +2 -0
- data/platform/shared/common/RhoMutexLock.h +1 -1
- data/platform/shared/common/RhodesApp.cpp +50 -7
- data/platform/shared/common/RhodesApp.h +5 -1
- data/platform/shared/common/iphone/RhoClassfactory.h +1 -1
- data/platform/shared/curl/CMakeLists.txt.erb +1 -94
- data/platform/shared/curl/lib/asyn-thread.c +2 -1
- data/platform/shared/curl/lib/curl_addrinfo.h +39 -0
- data/platform/shared/curl/lib/curl_config.h +9 -10
- data/platform/shared/curl/lib/curl_setup.h +4 -0
- data/platform/shared/curl/lib/multi.c +0 -1
- data/platform/shared/curl/lib/transfer.c +21 -2
- data/platform/shared/curl/lib/vtls/vtls.h +3 -0
- data/platform/shared/db/CMakeLists.txt.erb +1 -6
- data/platform/shared/db/DBAdapter.cpp +10 -4
- data/platform/shared/json/RJSONTokener.c +1 -8
- data/platform/shared/json/json_object.c +2 -2
- data/platform/shared/json/json_tokener.c +1 -1
- data/platform/shared/json.new/CMakeLists.txt.erb +1 -15
- data/platform/shared/json.new/RJSONTokener.c +0 -7
- data/platform/shared/json.new/json_object.c +5 -5
- data/platform/shared/json.new/json_pointer.c +2 -2
- data/platform/shared/json.new/json_tokener.c +1 -1
- data/platform/shared/logging/CMakeLists.txt.erb +1 -5
- data/platform/shared/logging/RhoLogConf.cpp +82 -3
- data/platform/shared/net/CURLNetRequest.cpp +6 -7
- data/platform/shared/net/HttpServer.cpp +234 -4
- data/platform/shared/net/HttpServer.h +22 -2
- data/platform/shared/net/INetRequest.cpp +2 -2
- data/platform/shared/net/INetRequest.h +6 -0
- data/platform/shared/net/linux/SSLImpl.cpp +2 -1
- data/platform/shared/net/ssl.h +26 -0
- data/platform/shared/qt/RhoSimulator.pro +24 -12
- data/platform/shared/qt/RhoSimulator_dev.pro +30 -15
- data/platform/shared/qt/curl/curl.pro +27 -16
- data/platform/shared/qt/rhodes/iexecutable.h +1 -1
- data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +1 -1
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +1 -1
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.cpp +25 -10
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.h +1 -1
- data/platform/shared/qt/rhodes/newVersion/{qtwebenginepage.cpp → QtWebEnginePage.cpp} +1 -1
- data/platform/shared/qt/rhodes/newVersion/{qtwebenginepage.h → QtWebEnginePage.h} +0 -0
- data/platform/shared/qt/rhodes/newVersion/{qtwebengineview.cpp → QtWebEngineView.cpp} +1 -1
- data/platform/shared/qt/rhodes/newVersion/{qtwebengineview.h → QtWebEngineView.h} +0 -0
- data/platform/shared/qt/rhodes/newVersion/WebUrlRequestInterceptor.cpp +2 -2
- data/platform/shared/qt/rhodes/newVersion/main.cpp +5 -6
- data/platform/shared/qt/rhodes/resources/rho.png +0 -0
- data/platform/shared/qt/rhodes/rhodes.pro +88 -72
- data/platform/shared/qt/rholib/rholib.pro +33 -25
- data/platform/shared/qt/rhoruby_win32_build.bat +1 -1
- data/platform/shared/qt/rhoruby_win32_build_debug.bat +1 -1
- data/platform/shared/qt/rhosimulator_win32_build.bat +1 -1
- data/platform/shared/qt/rhosimulator_win32_build_debug.bat +1 -1
- data/platform/shared/qt/rubylib/rubylib.pro +37 -34
- data/platform/shared/qt/sailfish/SailfishRhodes.pro +1 -1
- data/platform/shared/qt/sailfish/icons/172x172/harbour-sailfishrhodes.png +0 -0
- data/platform/shared/qt/sailfish/qml/pages/BarcodePage.qml +18 -48
- data/platform/shared/qt/sqlite3/sqlite3.pro +16 -10
- data/platform/shared/qt/syncengine/syncengine.pro +18 -15
- data/platform/shared/qt/unzip/unzip.pro +133 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.cpp +24 -19
- data/platform/shared/rhoruby/impl/RhoRubyImpl.h +5 -0
- data/platform/shared/ruby/CMakeLists.txt.erb +1 -129
- data/platform/shared/ruby/dln_find.c +1 -1
- data/platform/shared/ruby/error.c +1 -1
- data/platform/shared/ruby/ext/rho/rhoruby.c +35 -14
- data/platform/shared/ruby/ext/rho/rhoruby.h +1 -0
- data/platform/shared/ruby/ext/socket/addrinfo.h +2 -1
- data/platform/shared/ruby/ext/socket/ipsocket.c +3 -3
- data/platform/shared/ruby/file.c +3 -3
- data/platform/shared/ruby/io.c +46 -46
- data/platform/shared/ruby/linux/ruby/config.h +94 -34
- data/platform/shared/ruby/linux/ruby/config_linux.h +403 -0
- data/platform/shared/ruby/missing/langinfo.c +1 -1
- data/platform/shared/ruby/missing/memmove.c +4 -0
- data/platform/shared/ruby/posixnames.h +2 -8
- data/platform/shared/ruby/process.c +7 -7
- data/platform/shared/ruby/ruby.c +10 -10
- data/platform/shared/ruby/sailfish/ruby/config.h +1 -1
- data/platform/shared/ruby/thread_pthread.c +1 -1
- data/platform/shared/ruby/time.c +2 -2
- data/platform/shared/ruby/uwp/win32/win32.c +12 -12
- data/platform/shared/ruby/win32/ruby/config.h +1 -1
- data/platform/shared/sqlite/CMakeLists.txt.erb +1 -1
- data/platform/shared/sqlite/sqlite3.c +23 -0
- data/platform/shared/sync/CMakeLists.txt.erb +1 -1
- data/platform/shared/unzip/gzlib.cpp +1 -1
- data/platform/shared/unzip/gzwrite.cpp +3 -3
- data/platform/shared/unzip/unzip.cpp +3 -10
- data/platform/shared/unzip/zip.cpp +3 -8
- data/platform/uwp/rhodes/App.xaml.cs +9 -9
- data/platform/uwp/rhoruntime/common/RhoClassFactory.h +1 -1
- 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/concrt140.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/mfc140.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140chs.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140cht.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140deu.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140enu.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140esn.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140fra.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140ita.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140jpn.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140kor.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140rus.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140u.dll +0 -0
- data/platform/win32/RhoSimulator/mfcm140.dll +0 -0
- data/platform/win32/RhoSimulator/mfcm140u.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp140.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp140_1.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp140_2.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_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/win32/RhoSimulator/resources/icudtl.dat +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_devtools_resources.pak +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_resources.pak +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_resources_100p.pak +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_resources_200p.pak +0 -0
- data/platform/win32/RhoSimulator/styles/qwindowsvistastyle.dll +0 -0
- data/platform/win32/RhoSimulator/translations/qt_ca.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_da.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_de.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_fi.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_ru.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_zh_TW.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/am.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ar.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/bg.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/bn.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ca.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/cs.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/da.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/de.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/el.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/en-GB.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/en-US.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/es-419.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/es.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/et.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fa.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fi.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fil.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/gu.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/he.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hi.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hu.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/id.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/it.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ja.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/kn.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ko.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/lt.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/lv.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ml.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/mr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ms.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/nb.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/nl.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pl.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pt-BR.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pt-PT.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ro.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ru.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sk.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sl.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sv.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sw.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ta.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/te.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/th.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/tr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/uk.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/vi.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/zh-CN.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/zh-TW.pak +0 -0
- data/platform/win32/RhoSimulator/vcamp140.dll +0 -0
- data/platform/win32/RhoSimulator/vccorlib140.dll +0 -0
- data/platform/win32/RhoSimulator/vcomp140.dll +0 -0
- data/platform/win32/RhoSimulator/vcruntime140.dll +0 -0
- data/platform/win32/build/rhodes.nsi +184 -0
- data/platform/win32/build/win32.rake +876 -0
- data/platform/wm/build/wm.rake +12 -1067
- data/platform/wm/rhodes/rho/common/RhoClassFactory.h +2 -2
- data/platform/wm/syncengine/syncengine.vcproj +24 -16
- data/platform/wp8/rhoruntime/common/RhoClassFactory.h +1 -1
- data/rakefile.rb +169 -89
- data/res/build-tools/aapt2/linux/aapt2 +0 -0
- data/res/build-tools/aapt2/osx/aapt2 +0 -0
- data/res/build-tools/aapt2/windows/aapt2.exe +0 -0
- data/res/build-tools/bundletool.jar +0 -0
- data/res/build-tools/helpers/ext/android/build_common.rb +160 -0
- data/res/build-tools/iphonesim/build/Release/iphonesim_8 +6 -4
- data/res/generators/rhogen.rb +13 -3
- data/res/generators/templates/api/platform/iphone/generated/stub_impl/MontanaSetup.m +2 -2
- data/res/generators/templates/application/AndroidManifest.erb +4 -3
- data/res/generators/templates/application/Podfile.example +43 -0
- data/res/generators/templates/application/app/Settings/index.erb +52 -55
- data/res/generators/templates/application/app/Settings/javascript_index.html +51 -46
- data/res/generators/templates/application/app/Settings/javascript_login.html +24 -17
- data/res/generators/templates/application/app/Settings/login.erb +5 -12
- data/res/generators/templates/application/app/Settings/reset.erb +10 -14
- data/res/generators/templates/application/app/index.erb +26 -30
- data/res/generators/templates/application/app/javascript_index.html +36 -30
- data/res/generators/templates/application/app/javascript_index.js +13 -4
- data/res/generators/templates/application/app/layout.erb +18 -4
- data/res/generators/templates/application/app/loading.png +0 -0
- data/res/generators/templates/application/build.yml +22 -2
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.css +3899 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.min.css +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.min.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.css +327 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.min.css +8 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.min.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.css +10224 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.min.css +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.min.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.js +7134 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.js.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.min.js +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.min.js.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.js +4521 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.js.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.min.js +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.min.js.map +1 -0
- data/res/generators/templates/application/public/libs/feather/js/feather.js +2413 -0
- data/res/generators/templates/application/public/libs/feather/js/feather.min.js +13 -0
- data/res/generators/templates/application/public/libs/feather/svg/activity.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/airplay.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/alert-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/alert-octagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/alert-triangle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-center.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-justify.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/anchor.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/aperture.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/archive.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-left-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-right-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/at-sign.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/award.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bar-chart-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bar-chart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/battery-charging.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/battery.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bell-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bell.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bluetooth.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bold.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/book-open.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/book.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bookmark.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/box.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/briefcase.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/calendar.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/camera-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/camera.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cast.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/check-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/check-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/check.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chrome.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/clipboard.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/clock.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-drizzle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-lightning.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-rain.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-snow.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/code.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/codepen.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/codesandbox.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/coffee.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/columns.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/command.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/compass.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/copy.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-down-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-down-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-left-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-left-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-right-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-right-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-up-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-up-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cpu.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/credit-card.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/crop.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/crosshair.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/database.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/delete.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/disc.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/dollar-sign.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/download-cloud.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/download.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/droplet.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/edit-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/edit-3.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/edit.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/external-link.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/eye-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/eye.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/facebook.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/fast-forward.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/feather.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/figma.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file-minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file-plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file-text.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/film.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/filter.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/flag.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/folder-minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/folder-plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/folder.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/framer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/frown.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/gift.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-branch.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-commit.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-merge.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-pull-request.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/github.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/gitlab.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/globe.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/grid.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/hard-drive.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/hash.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/headphones.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/heart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/help-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/hexagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/home.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/image.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/inbox.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/info.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/instagram.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/italic.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/key.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/layers.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/layout.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/life-buoy.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/link-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/link.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/linkedin.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/list.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/loader.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/lock.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/log-in.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/log-out.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mail.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/map-pin.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/map.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/maximize-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/maximize.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/meh.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/menu.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/message-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/message-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mic-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mic.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minimize-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minimize.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minus-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minus-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/monitor.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/moon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/more-horizontal.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/more-vertical.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mouse-pointer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/move.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/music.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/navigation-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/navigation.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/octagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/package.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/paperclip.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pause-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pause.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pen-tool.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/percent.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-call.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-forwarded.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-incoming.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-missed.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-outgoing.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pie-chart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/play-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/play.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/plus-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/plus-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pocket.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/power.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/printer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/radio.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/refresh-ccw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/refresh-cw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/repeat.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rewind.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rotate-ccw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rotate-cw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rss.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/save.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/scissors.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/search.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/send.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/server.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/settings.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/share-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/share.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shield-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shield.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shopping-bag.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shopping-cart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shuffle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sidebar.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/skip-back.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/skip-forward.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/slack.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/slash.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sliders.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/smartphone.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/smile.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/speaker.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/star.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/stop-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sun.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sunrise.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sunset.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tablet.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tag.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/target.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/terminal.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/thermometer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/thumbs-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/thumbs-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/toggle-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/toggle-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tool.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trash-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trash.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trello.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trending-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trending-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/triangle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/truck.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tv.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/twitch.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/twitter.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/type.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/umbrella.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/underline.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/unlock.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/upload-cloud.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/upload.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-check.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-x.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/users.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/video-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/video.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/voicemail.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume-1.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume-x.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/watch.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/wifi-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/wifi.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/wind.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x-octagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/youtube.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zap-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zap.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zoom-in.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zoom-out.svg +1 -0
- data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.js +10872 -0
- data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.min.js +2 -0
- data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.min.map +1 -0
- data/res/generators/templates/application/public/libs/popper-2.4.0/popper-2.4.0.js +1802 -0
- data/res/generators/templates/application/public/libs/popper-2.4.0/popper-2.4.0.min.js +6 -0
- data/res/generators/templates/application/resources/android/res/drawable/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-hdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-ldpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-mdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-xhdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-xxhdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-xxxhdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-568h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-667h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-736h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-812h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-896h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-896h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-736h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-812h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-896h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-896h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Portrait.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Portrait@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default.png +0 -0
- data/res/generators/templates/application/resources/ios/Default@2x.png +0 -0
- data/res/generators/templates/application/rhoconfig.txt +7 -0
- data/res/generators/templates/extension/extensions/montana/ext/build +5 -0
- data/res/generators/templates/extension/extensions/montana/ext/build.bat +1 -1
- data/res/generators/templates/extension/extensions/montana/ext/platform/android/Rakefile +1 -160
- data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Montana.xcodeproj/project.pbxproj +4 -4
- data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Podfile.example +16 -0
- data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Rakefile +9 -62
- data/res/generators/templates/extension/extensions/montana/ext/platform/qt/Montana.pro +26 -1
- data/res/generators/templates/iphone_project/Bremen8.xcodeproj/project.pbxproj +34 -55
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-568h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-667h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-736h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-812h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-896h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-896h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-736h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-812h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-896h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-896h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Portrait.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default@2x.png +0 -0
- data/res/generators/templates/iphone_project/Rhodes/Rhodes.xcodeproj/project.pbxproj +4 -4
- data/res/generators/templates/iphone_project/buildRhoBundle +2 -10
- data/res/generators/templates/iphone_project/root/Info.plist +4 -0
- data/res/generators/templates/model/edit.erb +10 -12
- data/res/generators/templates/model/index.erb +27 -29
- data/res/generators/templates/model/javascript_edit.html +18 -17
- data/res/generators/templates/model/javascript_index.html +22 -21
- data/res/generators/templates/model/javascript_index.js +12 -7
- data/res/generators/templates/model/javascript_new.html +20 -16
- data/res/generators/templates/model/javascript_show.html +30 -32
- data/res/generators/templates/model/new.erb +8 -12
- data/res/generators/templates/model/show.erb +22 -28
- data/res/generators/templates/project/android_studio_project/app/CMakeLists.txt.erb +15 -2
- data/res/generators/templates/project/android_studio_project/app/build.gradle.erb +22 -19
- data/res/generators/templates/project/android_studio_project/build.gradle +3 -1
- data/res/generators/templates/spec/app/SpecRunner/controller.rb +1 -1
- data/res/generators/templates/spec/app/mspec.rb +1 -1
- data/res/generators/templates/spec/app/spec_runner.rb +23 -4
- data/res/prebuild_base_app/rhoconfig.txt +11 -8
- data/rhobuild.yml.example +3 -0
- data/rhodes-core.gemspec +1 -2
- data/rhodes.gemspec +20 -26
- data/rhomobile-debug.gemspec +0 -1
- data/version +1 -1
- metadata +453 -97
- data/extensions/emdk3-manager/ext/platform/android/ext_native.files +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Firebase.h +0 -68
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +0 -62
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +0 -115
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h +0 -13
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h +0 -389
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +0 -485
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h +0 -15
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +0 -10
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap +0 -10
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/FirebaseCore +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h +0 -52
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRApp.h +0 -130
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h +0 -78
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h +0 -35
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIROptions.h +0 -133
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Modules/module.modulemap +0 -7
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/Modules/module.modulemap +0 -6
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h +0 -276
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap +0 -7
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/FirebaseMessaging +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h +0 -508
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap +0 -8
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/GoogleToolboxForMac.framework/Modules/module.modulemap +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/Protobuf.framework/Modules/module.modulemap +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/Protobuf.framework/Protobuf +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/nanopb.framework/Modules/module.modulemap +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/nanopb.framework/nanopb +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_geoclue.dll +0 -0
- data/platform/win32/build/RhoRuntimeQt5-VS2008.nsi +0 -162
- data/platform/win32/build/RhoRuntimeQt5.5.0.0_VS2012.nsi +0 -178
- data/platform/win32/build/RhoRuntimeQt5.bat +0 -2
- data/platform/win32/build/RhoRuntimeQt5.ico +0 -0
- data/platform/win32/build/RhoRuntimeQt5.nsi +0 -165
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.css +0 -587
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.min.css +0 -6
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.min.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.css +0 -6757
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.min.css +0 -6
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.min.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.eot +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.svg +0 -288
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/js/bootstrap.js +0 -2377
- data/res/generators/templates/application/public/bootstrap-3.3.7/js/bootstrap.min.js +0 -7
- data/res/generators/templates/application/public/bootstrap-3.3.7/js/npm.js +0 -13
- data/res/generators/templates/application/public/jquery/jquery-3.1.1.min.js +0 -4
- data/res/generators/templates/application/public/jquery/jquery-3.1.1.min.map +0 -1
- data/res/generators/templates/application/public/jquery/jquery-3.2.1.min.js +0 -4
@@ -1,18 +1,18 @@
|
|
1
1
|
/*------------------------------------------------------------------------
|
2
2
|
* (The MIT License)
|
3
|
-
*
|
3
|
+
*
|
4
4
|
* Copyright (c) 2008-2011 Rhomobile, Inc.
|
5
|
-
*
|
5
|
+
*
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|
8
8
|
* in the Software without restriction, including without limitation the rights
|
9
9
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
10
|
* copies of the Software, and to permit persons to whom the Software is
|
11
11
|
* furnished to do so, subject to the following conditions:
|
12
|
-
*
|
12
|
+
*
|
13
13
|
* The above copyright notice and this permission notice shall be included in
|
14
14
|
* all copies or substantial portions of the Software.
|
15
|
-
*
|
15
|
+
*
|
16
16
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
17
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
18
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
@@ -20,7 +20,7 @@
|
|
20
20
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
22
|
* THE SOFTWARE.
|
23
|
-
*
|
23
|
+
*
|
24
24
|
* http://rhomobile.com
|
25
25
|
*------------------------------------------------------------------------*/
|
26
26
|
|
@@ -88,16 +88,16 @@ static BOOL getEnabledStartupLogging() {
|
|
88
88
|
|
89
89
|
BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
90
90
|
NSError *error;
|
91
|
-
|
92
|
-
NSDictionary *attributes = [fileManager attributesOfItemAtPath:path error:&error];
|
93
|
-
|
91
|
+
|
92
|
+
NSDictionary *attributes = [fileManager attributesOfItemAtPath:path error:&error];
|
93
|
+
|
94
94
|
if (attributes == nil) {
|
95
95
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: SymLink NO : %@", path);
|
96
96
|
return NO;
|
97
97
|
}
|
98
|
-
|
98
|
+
|
99
99
|
NSString* fileType = [attributes objectForKey:NSFileType];
|
100
|
-
|
100
|
+
|
101
101
|
if (fileType == nil) {
|
102
102
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: SymLink NO : %@", path);
|
103
103
|
return NO;
|
@@ -110,7 +110,7 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
110
110
|
else {
|
111
111
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: SymLink NO : %@", path);
|
112
112
|
}
|
113
|
-
|
113
|
+
|
114
114
|
return res;
|
115
115
|
}
|
116
116
|
|
@@ -179,12 +179,12 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
179
179
|
|
180
180
|
|
181
181
|
+ (NSString *) getApplicationsRosterUrl {
|
182
|
-
return @"https://tau-
|
182
|
+
return @"https://tau-platform.com/";
|
183
183
|
}
|
184
184
|
|
185
185
|
+ (bool) installApplication:(NSString*)appName data:(NSData*)appData {
|
186
186
|
NSFileManager *fileManager = [NSFileManager defaultManager];
|
187
|
-
NSString *appPath = [[AppManager getApplicationsRootPath] stringByAppendingPathComponent:appName];
|
187
|
+
NSString *appPath = [[AppManager getApplicationsRootPath] stringByAppendingPathComponent:appName];
|
188
188
|
if ([fileManager fileExistsAtPath:appPath]) {
|
189
189
|
NSError *error;
|
190
190
|
[fileManager removeItemAtPath:appPath error:&error];
|
@@ -205,7 +205,7 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
205
205
|
NSAssert1(0, @"Source item '%@' does not exists in bundle", source);
|
206
206
|
return;
|
207
207
|
}
|
208
|
-
|
208
|
+
|
209
209
|
if (!remove && dir) {
|
210
210
|
NSError *error;
|
211
211
|
if (![fileManager fileExistsAtPath:target]) {
|
@@ -238,7 +238,7 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
238
238
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: filePath2: %@", filePath2);
|
239
239
|
if (![fileManager fileExistsAtPath:filePath1] || ![fileManager fileExistsAtPath:filePath2])
|
240
240
|
return NO;
|
241
|
-
|
241
|
+
|
242
242
|
NSString *content1 = [[NSString alloc] initWithData:[fileManager contentsAtPath:filePath1]
|
243
243
|
encoding:NSUTF8StringEncoding];
|
244
244
|
NSString *content2 = [[NSString alloc] initWithData:[fileManager contentsAtPath:filePath2]
|
@@ -259,23 +259,23 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
259
259
|
|
260
260
|
|
261
261
|
- (void) configure:(BOOL)make_sym_links force_update_content:(BOOL)force_update_content only_apps:(BOOL)only_apps {
|
262
|
-
|
262
|
+
|
263
263
|
//#define RHO_DONT_COPY_ON_START
|
264
|
-
|
264
|
+
|
265
265
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager.configure() START");
|
266
266
|
|
267
|
-
|
267
|
+
|
268
268
|
NSFileManager *fileManager = [NSFileManager defaultManager];
|
269
|
-
|
269
|
+
|
270
270
|
NSString *bundleRoot = [[NSBundle mainBundle] resourcePath];
|
271
|
-
|
271
|
+
|
272
272
|
#ifdef RHO_STANDALONE_LIB
|
273
273
|
bundleRoot = [bundleRoot stringByAppendingPathComponent:@"RhoBundle"];
|
274
274
|
#endif
|
275
|
-
|
275
|
+
|
276
276
|
NSString *rhoRoot = [NSString stringWithUTF8String:rho_native_rhopath()];
|
277
277
|
NSString *rhoUserRoot = [NSString stringWithUTF8String:rho_native_rhouserpath()];
|
278
|
-
NSString *rhoDBRoot = [NSString stringWithUTF8String:rho_native_rhodbpath()];
|
278
|
+
NSString *rhoDBRoot = [NSString stringWithUTF8String:rho_native_rhodbpath()];
|
279
279
|
|
280
280
|
NSString *filePathNew = [bundleRoot stringByAppendingPathComponent:@"name"];
|
281
281
|
NSString *filePathOld = [rhoRoot stringByAppendingPathComponent:@"name"];
|
@@ -295,8 +295,8 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
295
295
|
else {
|
296
296
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager.configure() isNewInstallation == false");
|
297
297
|
}
|
298
|
-
|
299
|
-
|
298
|
+
|
299
|
+
|
300
300
|
// additional check for backup restore
|
301
301
|
NSString *db_folder = [rhoDBRoot stringByAppendingPathComponent:@"db"];
|
302
302
|
if ([fileManager fileExistsAtPath:db_folder]) {
|
@@ -313,7 +313,7 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
313
313
|
filePathNew = [bundleRoot stringByAppendingPathComponent:@"hash"];
|
314
314
|
filePathOld = [rhoRoot stringByAppendingPathComponent:@"hash"];
|
315
315
|
|
316
|
-
contentChanged = ![self isContentsEqual:fileManager first:filePathNew second:filePathOld];
|
316
|
+
contentChanged = ![self isContentsEqual:fileManager first:filePathNew second:filePathOld];
|
317
317
|
// check for lost sym-links (upgrade OS or reinstall application without change version)
|
318
318
|
if (!contentChanged) {
|
319
319
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager.configure() old hash == new hash");
|
@@ -332,7 +332,7 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
332
332
|
else {
|
333
333
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager.configure() old hash != new hash");
|
334
334
|
}
|
335
|
-
|
335
|
+
|
336
336
|
}
|
337
337
|
|
338
338
|
NSString* testName = [rhoRoot stringByAppendingPathComponent:@"lib"];
|
@@ -343,8 +343,8 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
343
343
|
else {
|
344
344
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager.configure() Lib File is NOT Exist: %@", testName);
|
345
345
|
}
|
346
|
-
|
347
|
-
|
346
|
+
|
347
|
+
|
348
348
|
if (contentChanged) {
|
349
349
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager.configure() contentChanged == true");
|
350
350
|
if (make_sym_links) {
|
@@ -355,34 +355,34 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
355
355
|
// we should remove all files
|
356
356
|
// 2. we upgrade version with symlinks
|
357
357
|
// we should remove only symlinks
|
358
|
-
// 3. we should only restore sym-lins after that was cleared - OS upgrade/reinstall app with the same version/restore from bakup etc.
|
358
|
+
// 3. we should only restore sym-lins after that was cleared - OS upgrade/reinstall app with the same version/restore from bakup etc.
|
359
359
|
// we check old "lib" file - if it is SymLink then we have new version of Rhodes (with SymLinks instead of files)
|
360
|
-
|
360
|
+
|
361
361
|
BOOL isNewVersion = isPathIsSymLink(fileManager, testName);
|
362
|
-
|
362
|
+
|
363
363
|
RhoFileManagerDelegate_RemoveOnly_SymLinks* myDelegate = nil;
|
364
364
|
if (isNewVersion) {
|
365
365
|
myDelegate = [[RhoFileManagerDelegate_RemoveOnly_SymLinks alloc] init];
|
366
366
|
[fileManager setDelegate:myDelegate];
|
367
367
|
}
|
368
|
-
|
368
|
+
|
369
369
|
NSError *error;
|
370
|
-
|
370
|
+
|
371
371
|
NSString *appsDocDir = [rhoUserRoot stringByAppendingPathComponent:@"apps"];
|
372
372
|
[fileManager createDirectoryAtPath:rhoRoot withIntermediateDirectories:YES attributes:nil error:&error];
|
373
|
-
|
373
|
+
|
374
374
|
[fileManager createDirectoryAtPath:appsDocDir withIntermediateDirectories:YES attributes:nil error:&error];
|
375
|
-
|
375
|
+
|
376
376
|
// Create symlink to "lib"
|
377
377
|
NSString *src = [bundleRoot stringByAppendingPathComponent:@"lib"];
|
378
378
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: src: %@", src);
|
379
379
|
NSString *dst = [rhoRoot stringByAppendingPathComponent:@"lib"];
|
380
380
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: dst: %@", dst);
|
381
381
|
[fileManager removeItemAtPath:dst error:&error];
|
382
|
-
|
382
|
+
|
383
383
|
[fileManager createSymbolicLinkAtPath:dst withDestinationPath:src error:&error];
|
384
384
|
//[self copyFromMainBundle:fileManager fromPath:src toPath:dst remove:YES];
|
385
|
-
|
385
|
+
|
386
386
|
NSString *dirs[] = {@"apps", @"db"};
|
387
387
|
for (int i = 0, lim = sizeof(dirs)/sizeof(dirs[0]); i < lim; ++i) {
|
388
388
|
// Create directory
|
@@ -392,9 +392,9 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
392
392
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: dst: %@", dst);
|
393
393
|
if (![fileManager fileExistsAtPath:dst])
|
394
394
|
[fileManager createDirectoryAtPath:dst withIntermediateDirectories:YES attributes:nil error:&error];
|
395
|
-
|
395
|
+
|
396
396
|
// And make symlinks from its content
|
397
|
-
|
397
|
+
|
398
398
|
NSArray *subelements = [fileManager contentsOfDirectoryAtPath:src error:&error];
|
399
399
|
for (int i = 0, lim = [subelements count]; i < lim; ++i) {
|
400
400
|
NSString *child = [subelements objectAtIndex:i];
|
@@ -415,19 +415,19 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
415
415
|
//[self addSkipBackupAttributeToItemAtURL:target];
|
416
416
|
}
|
417
417
|
}
|
418
|
-
|
418
|
+
|
419
419
|
// make symlinks for db files
|
420
|
-
|
420
|
+
|
421
421
|
[fileManager setDelegate:nil];
|
422
422
|
if (myDelegate != nil) {
|
423
423
|
[myDelegate release];
|
424
424
|
}
|
425
425
|
// copy "db"
|
426
|
-
|
427
|
-
|
426
|
+
|
427
|
+
|
428
428
|
NSString* exclude_db[] = {@"syncdb.schema", @"syncdb.triggers", @"syncdb_java.triggers"};
|
429
|
-
|
430
|
-
if (!restoreSymLinks_only && !only_apps) {
|
429
|
+
|
430
|
+
if (!restoreSymLinks_only && !only_apps) {
|
431
431
|
NSString *copy_dirs[] = {@"db"};
|
432
432
|
for (int i = 0, lim = sizeof(copy_dirs)/sizeof(copy_dirs[0]); i < lim; ++i) {
|
433
433
|
BOOL remove = nameChanged;
|
@@ -437,9 +437,9 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
437
437
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: copy src: %@", src);
|
438
438
|
NSString *dst = [rhoDBRoot stringByAppendingPathComponent:copy_dirs[i]];
|
439
439
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: copy dst: %@", dst);
|
440
|
-
|
440
|
+
|
441
441
|
//[self copyFromMainBundle:fileManager fromPath:src toPath:dst remove:remove];
|
442
|
-
|
442
|
+
|
443
443
|
NSArray *subelements = [fileManager contentsOfDirectoryAtPath:src error:&error];
|
444
444
|
for (int i = 0, lim = [subelements count]; i < lim; ++i) {
|
445
445
|
NSString *child = [subelements objectAtIndex:i];
|
@@ -447,22 +447,22 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
447
447
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: .. copy src: %@", fchild);
|
448
448
|
NSString *target = [dst stringByAppendingPathComponent:child];
|
449
449
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: .. copy dst: %@", target);
|
450
|
-
|
450
|
+
|
451
451
|
BOOL copyit = YES;
|
452
|
-
|
452
|
+
|
453
453
|
int j, jlim;
|
454
454
|
for (j = 0, jlim = sizeof(exclude_db)/sizeof(exclude_db[0]); j < jlim; j++) {
|
455
455
|
if ([child isEqualToString:exclude_db[j]]) {
|
456
456
|
copyit = NO;
|
457
457
|
}
|
458
458
|
}
|
459
|
-
|
459
|
+
|
460
460
|
if (copyit) {
|
461
461
|
[fileManager removeItemAtPath:target error:&error];
|
462
462
|
[fileManager copyItemAtPath:fchild toPath:target error:&error];
|
463
463
|
}
|
464
464
|
}
|
465
|
-
|
465
|
+
|
466
466
|
}
|
467
467
|
// Finally, copy "hash" and "name" files
|
468
468
|
NSString *items[] = {@"hash", @"name"};
|
@@ -473,11 +473,11 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
473
473
|
if (ENABLE_STARTUP_TRACES) NSLog(@"RhoAppManager: copy dst: %@", dst);
|
474
474
|
[fileManager removeItemAtPath:dst error:&error];
|
475
475
|
[fileManager copyItemAtPath:src toPath:dst error:&error];
|
476
|
-
|
476
|
+
|
477
477
|
//[self addSkipBackupAttributeToItemAtURL:dst];
|
478
478
|
}
|
479
479
|
}
|
480
|
-
|
480
|
+
|
481
481
|
}
|
482
482
|
else {
|
483
483
|
NSString *dirs[] = {@"apps", @"lib", @"db", @"hash", @"name"};
|
@@ -504,30 +504,30 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
504
504
|
|
505
505
|
|
506
506
|
- (UIViewController *) documentInteractionControllerViewControllerForPreview: (UIDocumentInteractionController *) controller {
|
507
|
-
|
507
|
+
|
508
508
|
return [[[Rhodes sharedInstance] mainView] getMainViewController];
|
509
|
-
|
509
|
+
|
510
510
|
}
|
511
511
|
|
512
512
|
- (void)openDocInteractCommand:(NSString*)url {
|
513
513
|
if (NSClassFromString(@"UIDocumentInteractionController")) {
|
514
514
|
NSURL *fileURL = [NSURL fileURLWithPath:url];
|
515
|
-
|
515
|
+
|
516
516
|
UIDocumentInteractionController* docController = [UIDocumentInteractionController interactionControllerWithURL:fileURL];
|
517
|
-
|
517
|
+
|
518
518
|
[docController retain];
|
519
519
|
docController.delegate = self;//[AppManager instance];
|
520
|
-
|
520
|
+
|
521
521
|
BOOL result = [docController presentPreviewAnimated:YES];
|
522
522
|
[docController autorelease];
|
523
|
-
|
523
|
+
|
524
524
|
if (!result) {
|
525
525
|
//[docController retain];
|
526
526
|
CGPoint centerPoint = [Rhodes sharedInstance].window.center;
|
527
527
|
CGRect centerRec = CGRectMake(centerPoint.x, centerPoint.y, 0, 0);
|
528
528
|
BOOL isValid = [docController presentOpenInMenuFromRect:centerRec inView:[Rhodes sharedInstance].window animated:YES];
|
529
529
|
//[docController autorelease];
|
530
|
-
}
|
530
|
+
}
|
531
531
|
}
|
532
532
|
}
|
533
533
|
|
@@ -544,12 +544,12 @@ BOOL isPathIsSymLink(NSFileManager *fileManager, NSString* path) {
|
|
544
544
|
|
545
545
|
|
546
546
|
- (void) openURLComand:(NSString*)url {
|
547
|
-
|
547
|
+
|
548
548
|
RAWLOG_INFO1("rho_sys_open_url: %s", [url UTF8String]);
|
549
|
-
|
549
|
+
|
550
550
|
NSString* strUrl = url;//[NSString stringWithUTF8String:url];
|
551
551
|
BOOL res = FALSE;
|
552
|
-
|
552
|
+
|
553
553
|
BOOL fileExists = [[NSFileManager defaultManager] fileExistsAtPath:strUrl];
|
554
554
|
if (!fileExists) {
|
555
555
|
NSString *fixed_path = [NSString stringWithUTF8String:rho_rhodesapp_getapprootpath()];
|
@@ -603,14 +603,14 @@ const char* getUserPath() {
|
|
603
603
|
NSString *documentsDirectory = //[paths objectAtIndex:0];
|
604
604
|
[ [paths objectAtIndex:0] stringByAppendingString:@"/"];
|
605
605
|
[documentsDirectory getFileSystemRepresentation:root maxLength:sizeof(root)];
|
606
|
-
|
606
|
+
|
607
607
|
loaded = TRUE;
|
608
608
|
}
|
609
|
-
|
609
|
+
|
610
610
|
return root;
|
611
611
|
}
|
612
612
|
|
613
|
-
const char* rho_native_rhopath()
|
613
|
+
const char* rho_native_rhopath()
|
614
614
|
{
|
615
615
|
static bool loaded = FALSE;
|
616
616
|
static char root[FILENAME_MAX];
|
@@ -618,11 +618,11 @@ const char* rho_native_rhopath()
|
|
618
618
|
|
619
619
|
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
|
620
620
|
NSString *rootDirectory = [ [paths objectAtIndex:0] stringByAppendingString:@"/Private Documents/"];
|
621
|
-
|
621
|
+
|
622
622
|
const char* svalue = get_app_build_config_item("iphone_set_approot");
|
623
623
|
if (svalue != NULL) {
|
624
624
|
NSString* value = [NSString stringWithUTF8String:svalue];
|
625
|
-
|
625
|
+
|
626
626
|
if ([value compare:@"Documents" options:NSCaseInsensitiveSearch] == NSOrderedSame) {
|
627
627
|
paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
|
628
628
|
rootDirectory = [ [paths objectAtIndex:0] stringByAppendingString:@"/"];
|
@@ -635,12 +635,12 @@ const char* rho_native_rhopath()
|
|
635
635
|
paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES);
|
636
636
|
rootDirectory = [ [paths objectAtIndex:0] stringByAppendingString:@"/Private Documents/"];
|
637
637
|
}
|
638
|
-
}
|
639
|
-
|
638
|
+
}
|
639
|
+
|
640
640
|
[rootDirectory getFileSystemRepresentation:root maxLength:sizeof(root)];
|
641
641
|
loaded = TRUE;
|
642
642
|
}
|
643
|
-
|
643
|
+
|
644
644
|
return root;
|
645
645
|
}
|
646
646
|
|
@@ -649,14 +649,14 @@ const char* rho_native_reruntimepath()
|
|
649
649
|
return rho_native_rhopath();
|
650
650
|
}
|
651
651
|
|
652
|
-
const char* rho_native_rhouserpath()
|
652
|
+
const char* rho_native_rhouserpath()
|
653
653
|
{
|
654
654
|
BOOL user_path_in_root = NO;
|
655
655
|
const char* svalue = get_app_build_config_item("iphone_userpath_in_approot");
|
656
656
|
if (svalue != NULL) {
|
657
657
|
user_path_in_root = svalue[0] != '0';
|
658
|
-
}
|
659
|
-
|
658
|
+
}
|
659
|
+
|
660
660
|
if (user_path_in_root) {
|
661
661
|
return rho_native_rhopath();
|
662
662
|
}
|
@@ -670,8 +670,8 @@ const char* rho_native_rhodbpath()
|
|
670
670
|
const char* svalue = get_app_build_config_item("iphone_db_in_approot");
|
671
671
|
if (svalue != NULL) {
|
672
672
|
db_path_in_root = svalue[0] != '0';
|
673
|
-
}
|
674
|
-
|
673
|
+
}
|
674
|
+
|
675
675
|
if (db_path_in_root) {
|
676
676
|
return rho_native_rhopath();
|
677
677
|
}
|
@@ -685,23 +685,23 @@ NSString* rho_sys_get_locale_iphone()
|
|
685
685
|
{
|
686
686
|
NSArray* ar = [NSLocale preferredLanguages];
|
687
687
|
NSString *preferredLang = [ar objectAtIndex:0];
|
688
|
-
|
688
|
+
|
689
689
|
NSDictionary *languageDic = [NSLocale componentsFromLocaleIdentifier:preferredLang];
|
690
690
|
//NSString *countryCode = [languageDic objectForKey:@"kCFLocaleCountryCodeKey"];
|
691
691
|
NSString *languageCode = [languageDic objectForKey:@"kCFLocaleLanguageCodeKey"];
|
692
692
|
if (languageCode == nil) {
|
693
693
|
languageCode = preferredLang;
|
694
694
|
}
|
695
|
-
|
695
|
+
|
696
696
|
return languageCode;
|
697
697
|
}
|
698
698
|
|
699
699
|
|
700
700
|
|
701
|
-
VALUE rho_sys_get_locale()
|
701
|
+
VALUE rho_sys_get_locale()
|
702
702
|
{
|
703
703
|
NSString *preferredLang = rho_sys_get_locale_iphone();
|
704
|
-
|
704
|
+
|
705
705
|
return rho_ruby_create_string( [preferredLang UTF8String] );
|
706
706
|
}
|
707
707
|
|
@@ -755,7 +755,7 @@ void rho_sys_app_uninstall(const char *appname) {
|
|
755
755
|
}
|
756
756
|
|
757
757
|
|
758
|
-
void rho_sys_open_url(const char* url)
|
758
|
+
void rho_sys_open_url(const char* url)
|
759
759
|
{
|
760
760
|
[[AppManager instance] openURL:[NSString stringWithUTF8String:url]];
|
761
761
|
}
|
@@ -764,18 +764,18 @@ BOOL rho_sys_app_install(const char *url) {
|
|
764
764
|
//rho_sys_open_url(url);
|
765
765
|
const char* full_url = url;
|
766
766
|
RAWLOG_INFO1("rho_sys_app_install: %s", full_url);
|
767
|
-
|
767
|
+
|
768
768
|
BOOL res = FALSE;
|
769
|
-
|
769
|
+
|
770
770
|
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:[NSString stringWithUTF8String:full_url]]]) {
|
771
771
|
res = [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithUTF8String:full_url]]];
|
772
772
|
}
|
773
|
-
|
773
|
+
|
774
774
|
if ( res)
|
775
775
|
RAWLOG_INFO("rho_sys_app_install suceeded.");
|
776
776
|
else
|
777
777
|
RAWLOG_INFO("rho_sys_app_install failed.");
|
778
|
-
|
778
|
+
|
779
779
|
return res;
|
780
780
|
}
|
781
781
|
|
@@ -784,26 +784,26 @@ BOOL rho_sys_app_install(const char *url) {
|
|
784
784
|
BOOL rho_sys_run_app_iphone(const char* appname, char* params) {
|
785
785
|
NSString* app_name = [NSString stringWithUTF8String:appname];
|
786
786
|
app_name = [app_name stringByAppendingString:@":"];
|
787
|
-
|
787
|
+
|
788
788
|
if (params != NULL) {
|
789
789
|
NSString* param = [NSString stringWithUTF8String:params];
|
790
790
|
app_name = [app_name stringByAppendingString:param];
|
791
791
|
}
|
792
792
|
const char* full_url = [app_name UTF8String];
|
793
793
|
RAWLOG_INFO1("rho_sys_run_app: %s", full_url);
|
794
|
-
|
795
|
-
|
794
|
+
|
795
|
+
|
796
796
|
BOOL res = FALSE;
|
797
|
-
|
797
|
+
|
798
798
|
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:app_name]]) {
|
799
799
|
res = [[UIApplication sharedApplication] openURL:[NSURL URLWithString:app_name]];
|
800
800
|
}
|
801
|
-
|
801
|
+
|
802
802
|
if ( res)
|
803
803
|
RAWLOG_INFO("rho_sys_run_app suceeded.");
|
804
804
|
else
|
805
805
|
RAWLOG_INFO("rho_sys_run_app failed.");
|
806
|
-
|
806
|
+
|
807
807
|
return res;
|
808
808
|
}
|
809
809
|
|
@@ -825,12 +825,12 @@ void rho_sys_run_app(const char* appname, VALUE params)
|
|
825
825
|
|
826
826
|
void rho_sys_bring_to_front()
|
827
827
|
{
|
828
|
-
RAWLOG_INFO("rho_sys_bring_to_front has no implementation on iPhone.");
|
828
|
+
RAWLOG_INFO("rho_sys_bring_to_front has no implementation on iPhone.");
|
829
829
|
}
|
830
830
|
|
831
831
|
void rho_sys_report_app_started()
|
832
832
|
{
|
833
|
-
RAWLOG_INFO("rho_sys_report_app_started has no implementation on iPhone.");
|
833
|
+
RAWLOG_INFO("rho_sys_report_app_started has no implementation on iPhone.");
|
834
834
|
}
|
835
835
|
|
836
836
|
|
@@ -922,8 +922,8 @@ NSString* getDeviceIdentifier() {
|
|
922
922
|
|
923
923
|
float getPPI() {
|
924
924
|
NSString* model = getDeviceIdentifier();
|
925
|
-
|
926
|
-
|
925
|
+
|
926
|
+
|
927
927
|
if (
|
928
928
|
[model isEqualToString:@"iPad2,1"] ||
|
929
929
|
[model isEqualToString:@"iPad2,2"] ||
|
@@ -1075,7 +1075,7 @@ int rho_sysimpl_get_property_iphone(char* szPropName, NSObject** resValue)
|
|
1075
1075
|
{*resValue = [NSNumber numberWithInt:rho_sys_get_screen_height()]; return 1; }
|
1076
1076
|
else if (strcasecmp("real_screen_height", szPropName) == 0)
|
1077
1077
|
{
|
1078
|
-
|
1078
|
+
|
1079
1079
|
*resValue = [NSNumber numberWithInt:((int)(rho_sys_get_screen_height()*get_scale()))];
|
1080
1080
|
return 1;
|
1081
1081
|
}
|
@@ -1177,14 +1177,14 @@ int rho_sysimpl_get_property(char* szPropName, VALUE* resValue)
|
|
1177
1177
|
{*resValue = rho_ruby_create_integer(rho_sys_get_screen_height()); return 1; }
|
1178
1178
|
else if (strcasecmp("real_screen_height", szPropName) == 0)
|
1179
1179
|
{
|
1180
|
-
|
1181
|
-
*resValue = rho_ruby_create_integer((int)(rho_sys_get_screen_height()*get_scale()));
|
1182
|
-
return 1;
|
1180
|
+
|
1181
|
+
*resValue = rho_ruby_create_integer((int)(rho_sys_get_screen_height()*get_scale()));
|
1182
|
+
return 1;
|
1183
1183
|
}
|
1184
1184
|
else if (strcasecmp("real_screen_width", szPropName) == 0)
|
1185
1185
|
{
|
1186
|
-
*resValue = rho_ruby_create_integer((int)(rho_sys_get_screen_width()*get_scale()));
|
1187
|
-
return 1;
|
1186
|
+
*resValue = rho_ruby_create_integer((int)(rho_sys_get_screen_width()*get_scale()));
|
1187
|
+
return 1;
|
1188
1188
|
}
|
1189
1189
|
else if (strcasecmp("screen_orientation", szPropName) == 0) {
|
1190
1190
|
UIInterfaceOrientation current_orientation = [[UIApplication sharedApplication] statusBarOrientation];
|
@@ -1246,30 +1246,30 @@ int rho_sysimpl_get_property(char* szPropName, VALUE* resValue)
|
|
1246
1246
|
return 1;
|
1247
1247
|
}
|
1248
1248
|
else if (strcasecmp("is_emulator", szPropName) == 0) {
|
1249
|
-
int bSim = 0;
|
1249
|
+
int bSim = 0;
|
1250
1250
|
#if TARGET_IPHONE_SIMULATOR
|
1251
1251
|
bSim = 1;
|
1252
|
-
#endif
|
1252
|
+
#endif
|
1253
1253
|
*resValue = rho_ruby_create_boolean(bSim);
|
1254
1254
|
return 1;
|
1255
1255
|
}else if (strcasecmp("has_calendar", szPropName) == 0) {
|
1256
1256
|
int bCal = 0;
|
1257
|
-
if (is_rho_calendar_supported())
|
1257
|
+
if (is_rho_calendar_supported())
|
1258
1258
|
bCal = 1;
|
1259
1259
|
*resValue = rho_ruby_create_boolean(bCal);
|
1260
1260
|
return 1;
|
1261
|
-
}
|
1262
|
-
|
1261
|
+
}
|
1262
|
+
|
1263
1263
|
//// "device_id" property used only for PUSH technology !
|
1264
1264
|
// else if (strcasecmp("device_id", szPropName) == 0) {
|
1265
1265
|
// NSString* uuid = [[UIDevice currentDevice] uniqueIdentifier];
|
1266
1266
|
// *resValue = rho_ruby_create_string([uuid UTF8String]);
|
1267
1267
|
// return 1;
|
1268
1268
|
//}
|
1269
|
-
|
1270
1269
|
|
1271
|
-
|
1272
|
-
|
1270
|
+
|
1271
|
+
|
1272
|
+
|
1273
1273
|
// [[UIDevice currentDevice] uniqueIdentifier]
|
1274
1274
|
//// Removed because it's possibly dangerous: Apple could reject application
|
1275
1275
|
//// used such approach from its AppStore
|
@@ -1280,7 +1280,7 @@ int rho_sysimpl_get_property(char* szPropName, VALUE* resValue)
|
|
1280
1280
|
// *resValue = rho_ruby_create_string([num UTF8String]);
|
1281
1281
|
// return 1;
|
1282
1282
|
//}
|
1283
|
-
|
1283
|
+
|
1284
1284
|
|
1285
1285
|
return 0;
|
1286
1286
|
}
|
@@ -1309,39 +1309,39 @@ const char* GetApplicationsRootPath() {
|
|
1309
1309
|
|
1310
1310
|
// TODO - do error checking
|
1311
1311
|
bool UnzipApplication(const char* appRoot, const void* zipbuf, unsigned int ziplen) {
|
1312
|
-
|
1313
|
-
ZIPENTRY ze;
|
1312
|
+
|
1313
|
+
ZIPENTRY ze;
|
1314
1314
|
// Open zip file
|
1315
1315
|
HZIP hz = OpenZip((void*)zipbuf, ziplen, 0);
|
1316
|
-
|
1316
|
+
|
1317
1317
|
// Set base for unziping
|
1318
1318
|
SetUnzipBaseDir(hz, appRoot);
|
1319
|
-
|
1319
|
+
|
1320
1320
|
// Get info about the zip
|
1321
1321
|
// -1 gives overall information about the zipfile
|
1322
1322
|
GetZipItem(hz,-1,&ze);
|
1323
1323
|
int numitems = ze.index;
|
1324
|
-
|
1324
|
+
|
1325
1325
|
// Iterate through items and unzip them
|
1326
1326
|
for (int zi = 0; zi<numitems; zi++)
|
1327
|
-
{
|
1328
|
-
//ZIPENTRY ze;
|
1327
|
+
{
|
1328
|
+
//ZIPENTRY ze;
|
1329
1329
|
// fetch individual details, e.g. the item's name.
|
1330
|
-
GetZipItem(hz,zi,&ze);
|
1330
|
+
GetZipItem(hz,zi,&ze);
|
1331
1331
|
// unzip item
|
1332
|
-
UnzipItem(hz, zi, ze.name);
|
1332
|
+
UnzipItem(hz, zi, ze.name);
|
1333
1333
|
}
|
1334
|
-
|
1334
|
+
|
1335
1335
|
CloseZip(hz);
|
1336
|
-
|
1336
|
+
|
1337
1337
|
return true;
|
1338
1338
|
}
|
1339
1339
|
/*
|
1340
1340
|
int _LoadApp(HttpContextRef context) {
|
1341
1341
|
|
1342
|
-
if ( (context->_request->_query!=NULL) &&
|
1342
|
+
if ( (context->_request->_query!=NULL) &&
|
1343
1343
|
(strlen(context->_request->_query)>0) ) {
|
1344
|
-
|
1344
|
+
|
1345
1345
|
AppLoader* appLoader = [[AppLoader alloc] init];
|
1346
1346
|
bool ret = [appLoader loadApplication:[NSString stringWithCString:context->_request->_query]];
|
1347
1347
|
[appLoader release];
|
@@ -1349,12 +1349,12 @@ int _LoadApp(HttpContextRef context) {
|
|
1349
1349
|
HttpSendErrorToTheServer(context, 500, "Error loading application");
|
1350
1350
|
return -1;
|
1351
1351
|
}
|
1352
|
-
|
1352
|
+
|
1353
1353
|
char location[strlen(context->_request->_query)+2];
|
1354
1354
|
HttpSnprintf(location, sizeof(location), "/%s", context->_request->_query);
|
1355
1355
|
return HTTPRedirect(context, location);
|
1356
|
-
}
|
1357
|
-
|
1356
|
+
}
|
1357
|
+
|
1358
1358
|
HttpSendErrorToTheServer(context, 400, "Application name to load and install is not specifyed");
|
1359
1359
|
return -1;
|
1360
1360
|
}*/
|
@@ -1366,7 +1366,7 @@ void rho_appmanager_load( void* httpContext, const char* szQuery)
|
|
1366
1366
|
rho_http_senderror(httpContext, 400, "Application name to load and install is not specifyed");
|
1367
1367
|
return;
|
1368
1368
|
}
|
1369
|
-
|
1369
|
+
|
1370
1370
|
AppLoader* appLoader = [[AppLoader alloc] init];
|
1371
1371
|
bool ret = [appLoader loadApplication:[NSString stringWithUTF8String:szQuery]];
|
1372
1372
|
[appLoader release];
|
@@ -1374,11 +1374,11 @@ void rho_appmanager_load( void* httpContext, const char* szQuery)
|
|
1374
1374
|
rho_http_senderror(httpContext, 500, "Error loading application");
|
1375
1375
|
return;
|
1376
1376
|
}
|
1377
|
-
|
1377
|
+
|
1378
1378
|
char location[strlen(szQuery)+2];
|
1379
1379
|
rho_http_snprintf(location, sizeof(location), "/%s", szQuery);
|
1380
1380
|
rho_http_redirect(httpContext, location);
|
1381
|
-
|
1381
|
+
|
1382
1382
|
return;
|
1383
1383
|
}
|
1384
1384
|
|
@@ -1390,7 +1390,7 @@ void rho_appmanager_load( void* httpContext, const char* szQuery)
|
|
1390
1390
|
BOOL checkNotificationType(UIUserNotificationType type)
|
1391
1391
|
{
|
1392
1392
|
UIUserNotificationSettings *currentSettings = [[UIApplication sharedApplication] currentUserNotificationSettings];
|
1393
|
-
|
1393
|
+
|
1394
1394
|
return (currentSettings.types & type);
|
1395
1395
|
}
|
1396
1396
|
|
@@ -1399,12 +1399,12 @@ BOOL checkNotificationType(UIUserNotificationType type)
|
|
1399
1399
|
void setApplicationBadgeNumber(NSInteger badgeNumber)
|
1400
1400
|
{
|
1401
1401
|
[[Rhodes sharedInstance] registerForRemoteNotification];
|
1402
|
-
|
1402
|
+
|
1403
1403
|
UIApplication *application = [UIApplication sharedApplication];
|
1404
|
-
|
1404
|
+
|
1405
1405
|
#ifdef __IPHONE_8_0
|
1406
1406
|
// compile with Xcode 6 or higher (iOS SDK >= 8.0)
|
1407
|
-
|
1407
|
+
|
1408
1408
|
if(SYSTEM_VERSION_LESS_THAN(@"8.0"))
|
1409
1409
|
{
|
1410
1410
|
[UIApplication sharedApplication].applicationIconBadgeNumber = badgeNumber;
|
@@ -1422,12 +1422,15 @@ void setApplicationBadgeNumber(NSInteger badgeNumber)
|
|
1422
1422
|
#else
|
1423
1423
|
// compile with Xcode 5 (iOS SDK < 8.0)
|
1424
1424
|
[UIApplication sharedApplication].applicationIconBadgeNumber = badgeNumber;
|
1425
|
-
|
1425
|
+
|
1426
1426
|
#endif
|
1427
1427
|
}
|
1428
1428
|
|
1429
1429
|
void rho_sys_set_application_icon_badge(int badge_number) {
|
1430
|
-
|
1430
|
+
int badge_number_value = badge_number;
|
1431
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
1432
|
+
setApplicationBadgeNumber(badge_number_value);
|
1433
|
+
});
|
1431
1434
|
}
|
1432
1435
|
|
1433
1436
|
void rho_platform_restart_application() {
|
@@ -1443,20 +1446,20 @@ int rho_sys_set_do_not_bakup_attribute(const char* path, int value) {
|
|
1443
1446
|
NSString* pathString = [NSString stringWithUTF8String:path];
|
1444
1447
|
u_int8_t attrValue = value;
|
1445
1448
|
int result = -1;
|
1446
|
-
|
1449
|
+
|
1447
1450
|
// HACK !!!
|
1448
1451
|
// We can not use NSURLIsExcludedFromBackupKey external const from CoreFoundation because app crash on load stage (can not resolve links)
|
1449
1452
|
// So if we want to launch on 5.0 iOS we must hardcore this const value to @"NSURLIsExcludedFromBackupKey"
|
1450
1453
|
if (SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(@"5.1") /*|| &NSURLIsExcludedFromBackupKey == nil*/ ) {
|
1451
1454
|
// iOS 5.0.1 and lower
|
1452
1455
|
result = setxattr(path, attrName, &attrValue, sizeof(attrValue), 0, 0);
|
1453
|
-
|
1456
|
+
|
1454
1457
|
if (result != 0) {
|
1455
1458
|
RAWLOG_WARNING1("WARNING: Can not change [do_not_bakup] attribute for path: %s", path);
|
1456
1459
|
}
|
1457
1460
|
}
|
1458
1461
|
else {
|
1459
|
-
|
1462
|
+
|
1460
1463
|
// Remove old style attribute if it exists
|
1461
1464
|
int result = getxattr(path, attrName, NULL, sizeof(u_int8_t), 0, 0);
|
1462
1465
|
if (result != -1) {
|
@@ -1465,21 +1468,21 @@ int rho_sys_set_do_not_bakup_attribute(const char* path, int value) {
|
|
1465
1468
|
RAWLOG_WARNING1("Removed extended attribute on file %s", [pathString UTF8String]);
|
1466
1469
|
}
|
1467
1470
|
}
|
1468
|
-
|
1471
|
+
|
1469
1472
|
NSError *error = nil;
|
1470
1473
|
NSURL* url = [NSURL fileURLWithPath:pathString];
|
1471
1474
|
BOOL success = [url setResourceValue: [NSNumber numberWithBool: (value == 1)]
|
1472
1475
|
forKey: @"NSURLIsExcludedFromBackupKey"
|
1473
1476
|
error: &error];
|
1474
|
-
|
1477
|
+
|
1475
1478
|
result = success ? 0 : -1;
|
1476
|
-
|
1479
|
+
|
1477
1480
|
if (result != 0) {
|
1478
1481
|
RAWLOG_WARNING2("Can not change [do_not_bakup] attribute for path: %s, error: %d", [pathString UTF8String], (int)[error localizedDescription]);
|
1479
1482
|
}
|
1480
1483
|
}
|
1481
1484
|
|
1482
|
-
|
1485
|
+
|
1483
1486
|
return (int)(result == 0);
|
1484
1487
|
}
|
1485
1488
|
|
@@ -1489,18 +1492,18 @@ int rho_prepare_folder_for_upgrade(const char* szPath) {
|
|
1489
1492
|
NSFileManager *fileManager = [NSFileManager defaultManager];
|
1490
1493
|
|
1491
1494
|
NSString* main_path = [NSString stringWithUTF8String:szPath];
|
1492
|
-
|
1495
|
+
|
1493
1496
|
NSDirectoryEnumerator *enumerator = [fileManager enumeratorAtPath:main_path];
|
1494
1497
|
NSString *child;
|
1495
1498
|
while (child = [enumerator nextObject]) {
|
1496
1499
|
// check for sym_link
|
1497
1500
|
NSString* child_path = [main_path stringByAppendingPathComponent:child];
|
1498
1501
|
if (isPathIsSymLink(fileManager, child_path) ) {
|
1499
|
-
|
1502
|
+
|
1500
1503
|
NSError *error;
|
1501
|
-
|
1504
|
+
|
1502
1505
|
NSString* tmp_path = [main_path stringByAppendingPathComponent:@"temporary_path_for_copying_sym_link"];
|
1503
|
-
|
1506
|
+
|
1504
1507
|
[[AppManager instance] copyFromMainBundle:fileManager fromPath:child_path toPath:tmp_path remove:NO];
|
1505
1508
|
if ([fileManager removeItemAtPath:child_path error:&error] != YES) {
|
1506
1509
|
return 0;
|
@@ -1541,6 +1544,18 @@ int rhodes_ios_delete_file_via_platform_api(const char* filePath) {
|
|
1541
1544
|
return -1;
|
1542
1545
|
}
|
1543
1546
|
NSError *error = nil;
|
1547
|
+
if (![fileManager fileExistsAtPath:sPath]) {
|
1548
|
+
NSString *msg = [NSString stringWithFormat:@"rhodes_ios_delete_file_via_platform_api() error during delete file, ERROR = object not exists \"%@\"", sPath];
|
1549
|
+
NSLog(msg);
|
1550
|
+
RAWLOG_ERROR([msg UTF8String]);
|
1551
|
+
return -1;
|
1552
|
+
}
|
1553
|
+
if (![fileManager isDeletableFileAtPath:sPath]) {
|
1554
|
+
NSString *msg = [NSString stringWithFormat:@"rhodes_ios_delete_file_via_platform_api() error during delete file, ERROR = object is not deletable \"%@\"", sPath];
|
1555
|
+
NSLog(msg);
|
1556
|
+
RAWLOG_ERROR([msg UTF8String]);
|
1557
|
+
return -1;
|
1558
|
+
}
|
1544
1559
|
if (![fileManager removeItemAtPath:sPath error:&error]) {
|
1545
1560
|
NSString *msg = [NSString stringWithFormat:@"$$$ rhodes_ios_delete_file_via_platform_api() error during delete file, ERROR = %@", [error localizedDescription]];
|
1546
1561
|
NSLog(msg);
|
@@ -1562,41 +1577,41 @@ const static struct {
|
|
1562
1577
|
} _actions[MAX_ACTIONS];
|
1563
1578
|
} controllers[] = {
|
1564
1579
|
{"loader" , { {"load", _LoadApp}, {NULL, NULL} } },
|
1565
|
-
{NULL}
|
1580
|
+
{NULL}
|
1566
1581
|
};
|
1567
|
-
|
1582
|
+
|
1568
1583
|
int ExecuteAppManager(HttpContextRef context, RouteRef route) {
|
1569
1584
|
char err[512];
|
1570
|
-
|
1585
|
+
|
1571
1586
|
if (!route->_model) {
|
1572
1587
|
HttpSendErrorToTheServer(context, 404, "Controller is not specifyed for the App Manager");
|
1573
1588
|
return -1;
|
1574
1589
|
}
|
1575
|
-
|
1590
|
+
|
1576
1591
|
for (int i = 0; controllers[i]._name != NULL; i++ ) {
|
1577
1592
|
if (!strcmp(route->_model, controllers[i]._name)) {
|
1578
1593
|
|
1579
1594
|
if (!route->_action) {
|
1580
|
-
sprintf(err,"No action specifyed for the controller [%s]", route->_model);
|
1595
|
+
sprintf(err,"No action specifyed for the controller [%s]", route->_model);
|
1581
1596
|
HttpSendErrorToTheServer(context, 404, err);
|
1582
|
-
return -1;
|
1597
|
+
return -1;
|
1583
1598
|
}
|
1584
|
-
|
1599
|
+
|
1585
1600
|
for (int n = 0; controllers[i]._actions[n]._name; n++) {
|
1586
1601
|
if (!strcmp(controllers[i]._actions[n]._name, route->_action)) {
|
1587
1602
|
return (controllers[i]._actions[n]._process)(context);
|
1588
1603
|
}
|
1589
1604
|
}
|
1590
1605
|
|
1591
|
-
sprintf(err,"No action [%s] found for the App Manager controller [%s]",
|
1592
|
-
route->_action, route->_model);
|
1606
|
+
sprintf(err,"No action [%s] found for the App Manager controller [%s]",
|
1607
|
+
route->_action, route->_model);
|
1593
1608
|
HttpSendErrorToTheServer(context, 404, err);
|
1594
|
-
return -1;
|
1595
|
-
|
1609
|
+
return -1;
|
1610
|
+
|
1596
1611
|
}
|
1597
1612
|
}
|
1598
|
-
|
1599
|
-
sprintf(err,"No [%s] controller found for App Manager", route->_model);
|
1613
|
+
|
1614
|
+
sprintf(err,"No [%s] controller found for App Manager", route->_model);
|
1600
1615
|
HttpSendErrorToTheServer(context, 404, err);
|
1601
1616
|
return -1;
|
1602
1617
|
}*/
|