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
data/platform/wm/build/wm.rake
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#------------------------------------------------------------------------
|
2
2
|
# (The MIT License)
|
3
3
|
#
|
4
|
-
# Copyright (c) 2008-
|
4
|
+
# Copyright (c) 2008-2020 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
|
@@ -53,58 +53,6 @@ def GetFileVersion(vfilename)
|
|
53
53
|
return product_version.join(".")
|
54
54
|
end
|
55
55
|
|
56
|
-
def is_equal(minimum,current)
|
57
|
-
m = minimum.split(".")
|
58
|
-
c = current.split(".")
|
59
|
-
[m.size,c.size].min.times do|e|
|
60
|
-
next if m[e].to_i == c[e].to_i
|
61
|
-
return m[e].to_i == c[e].to_i
|
62
|
-
end
|
63
|
-
return true
|
64
|
-
end
|
65
|
-
|
66
|
-
def QTInfo(qtcurrentversion)
|
67
|
-
value =0 # default value
|
68
|
-
|
69
|
-
eqstatus = is_equal("4.7.4.0",qtcurrentversion)
|
70
|
-
puts "Checking for 4.7.4.0 - #{eqstatus}"
|
71
|
-
if(eqstatus)
|
72
|
-
value =1 # 4.7.4.0
|
73
|
-
end
|
74
|
-
|
75
|
-
eqstatus = is_equal("5.1.1.0",qtcurrentversion)
|
76
|
-
puts "Checking for 5.1.1.0 - #{eqstatus}"
|
77
|
-
if(eqstatus)
|
78
|
-
value =2 # for 5.1.1.0
|
79
|
-
end
|
80
|
-
|
81
|
-
eqstatus = is_equal("5.5.0.0",qtcurrentversion)
|
82
|
-
puts "Checking for 5.5.0.0 - #{eqstatus}"
|
83
|
-
if(eqstatus)
|
84
|
-
value =3 # 5.5.0.0
|
85
|
-
end
|
86
|
-
|
87
|
-
eqstatus = is_equal("5.8",qtcurrentversion)
|
88
|
-
puts "Checking for 5.8 - #{eqstatus}"
|
89
|
-
if(eqstatus)
|
90
|
-
value = 4 # 5.8
|
91
|
-
end
|
92
|
-
|
93
|
-
eqstatus = is_equal("5.9",qtcurrentversion)
|
94
|
-
puts "Checking for 5.9 - #{eqstatus}"
|
95
|
-
if(eqstatus)
|
96
|
-
value = 5 # 5.9
|
97
|
-
end
|
98
|
-
|
99
|
-
eqstatus = is_equal("5.11",qtcurrentversion)
|
100
|
-
puts "Checking for 5.11 - #{eqstatus}"
|
101
|
-
if(eqstatus)
|
102
|
-
value = 6 # 5.11
|
103
|
-
end
|
104
|
-
|
105
|
-
return value
|
106
|
-
end
|
107
|
-
|
108
56
|
def get_ruby_path()
|
109
57
|
if RUBY_PLATFORM =~ /(win|w)32$/
|
110
58
|
File.join($startdir,'res/build-tools/RhoRuby.exe')
|
@@ -115,9 +63,9 @@ end
|
|
115
63
|
|
116
64
|
module WM
|
117
65
|
def self.config
|
66
|
+
$sdk = $app_config["wm"]["sdk"] if $app_config["wm"] && $app_config["wm"]["sdk"]
|
118
67
|
unless $sdk
|
119
68
|
#$sdk = "Windows Mobile 6 Professional SDK (ARMV4I)"
|
120
|
-
#$sdk = $app_config["wm"]["sdk"] if $app_config["wm"] && $app_config["wm"]["sdk"]
|
121
69
|
#value = ENV['rho_wm_sdk']
|
122
70
|
#$sdk = value if value
|
123
71
|
$sdk = "MC3000c50b (ARMV4I)"
|
@@ -136,7 +84,7 @@ module WM
|
|
136
84
|
$detoolappflag = $js_application == true ? "js" : "ruby"
|
137
85
|
$tmp_dir = File.join($bindir, "tmp")
|
138
86
|
|
139
|
-
if $sdk == "Windows Mobile 6 Professional SDK (ARMV4I)"
|
87
|
+
if $sdk == "Windows Mobile 6 Professional SDK (ARMV4I)" or $sdk == "Windows Mobile 6.5 Professional SDK (ARMV4I)"
|
140
88
|
$targetdir = $bindir + "/target/wm6p"
|
141
89
|
else
|
142
90
|
$targetdir = $bindir + "/target/#{$sdk}"
|
@@ -641,7 +589,14 @@ def build_cab
|
|
641
589
|
|
642
590
|
Jake.run3("cscript #{args.join(' ')}", dir)
|
643
591
|
|
592
|
+
begin
|
644
593
|
Jake.run3("\"#{$cabwiz}\" \"#{$appname}.inf\"", dir)
|
594
|
+
rescue Exception => e
|
595
|
+
puts e
|
596
|
+
puts "Make sure that [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem] NtfsDisable8dot3NameCreation is set to 0"
|
597
|
+
exit 1
|
598
|
+
end
|
599
|
+
|
645
600
|
Jake.run3('cscript cleanup.js', dir)
|
646
601
|
|
647
602
|
mkdir_p $targetdir
|
@@ -679,28 +634,15 @@ end
|
|
679
634
|
namespace "config" do
|
680
635
|
task :set_wince_platform do
|
681
636
|
$current_platform = "wm" unless $current_platform
|
682
|
-
$sdk = "MC3000c50b (ARMV4I)"
|
637
|
+
$sdk = "MC3000c50b (ARMV4I)" unless $sdk
|
683
638
|
end
|
684
639
|
|
685
640
|
task :set_wm_platform do
|
686
641
|
$current_platform = "wm" unless $current_platform
|
687
|
-
if($current_platform=='wm')
|
688
|
-
#$webkiLibraryCheck = File.join($startdir,'/thirdpartyWebkit.zip')
|
689
|
-
#if !File.exists? ($webkiLibraryCheck)
|
690
|
-
# puts "\nWindows Mobile or Windows CE applications require additional components for built. Please refer the documentation available at the below link.\nhttps://github.com/rhomobile/rhodes/blob/master/doc/oss/DeveloperNotes.md#third-party-webkit-dependencies-for-wmce\n"
|
691
|
-
# exit 1
|
692
|
-
#end
|
693
|
-
end
|
694
|
-
end
|
695
|
-
|
696
|
-
task :set_win32_platform do
|
697
|
-
$current_platform = "win32" unless $current_platform
|
698
|
-
$sdk = "win32"
|
699
642
|
end
|
700
643
|
|
701
644
|
task :wm => [:set_wm_platform, "config:common"] do
|
702
645
|
puts " $current_platform : #{$current_platform}"
|
703
|
-
|
704
646
|
WM.config
|
705
647
|
end
|
706
648
|
|
@@ -715,156 +657,6 @@ namespace "config" do
|
|
715
657
|
end
|
716
658
|
end
|
717
659
|
|
718
|
-
namespace "win32" do
|
719
|
-
namespace :wm do
|
720
|
-
task :ignore_vsprops do
|
721
|
-
$wm_win32_ignore_vsprops = true
|
722
|
-
end
|
723
|
-
end
|
724
|
-
|
725
|
-
task :qt do
|
726
|
-
next if $prebuild_win32
|
727
|
-
|
728
|
-
|
729
|
-
$qtdir = ENV['QTDIR']
|
730
|
-
unless !$qtdir.nil? && ($qtdir !~ /^\s*$/) && File.directory?($qtdir)
|
731
|
-
puts "\nPlease, set QTDIR environment variable to Qt root directory path"
|
732
|
-
exit 1
|
733
|
-
end
|
734
|
-
|
735
|
-
# Search for QT 5 or QT 4 files
|
736
|
-
qt5corefile =File.join($qtdir, "bin/Qt5Core.dll");
|
737
|
-
qt4corefile =File.join($qtdir, "bin/QtCore4.dll");
|
738
|
-
if File.exists?(qt5corefile)
|
739
|
-
qtcorefile=qt5corefile
|
740
|
-
elsif File.exists?(qt4corefile)
|
741
|
-
qtcorefile=qt4corefile
|
742
|
-
end
|
743
|
-
|
744
|
-
if qtcorefile.nil?
|
745
|
-
puts "\nNo QT File exists in #{$qtdir}"
|
746
|
-
exit 1
|
747
|
-
end
|
748
|
-
|
749
|
-
$QVersion=GetFileVersion(qtcorefile)
|
750
|
-
puts "Current QT Version Found : #{$QVersion}"
|
751
|
-
$qtversionindex = QTInfo($QVersion)
|
752
|
-
puts "QT Version Found and Index for further checking is #{$qtversionindex}"
|
753
|
-
$msvc_version = $app_config["win32"]["msvc"] if $app_config && $app_config["win32"] && $app_config["win32"]["msvc"]
|
754
|
-
|
755
|
-
# use Visual Studio 2015 by default
|
756
|
-
$vs_version = 2015
|
757
|
-
$vscommontools = ENV['VS140COMNTOOLS']
|
758
|
-
|
759
|
-
if $qtversionindex == 5 || $qtversionindex == 6
|
760
|
-
$qmake_makespec = 'win32-msvc'
|
761
|
-
else
|
762
|
-
$qmake_makespec = 'win32-msvc2015'
|
763
|
-
end
|
764
|
-
|
765
|
-
# if win32:msvc is not defined in build.yml, then automatically detect installed Visual Studio
|
766
|
-
if $msvc_version.nil?
|
767
|
-
unless !$vscommontools.nil? && ($vscommontools !~ /^\s*$/) && File.directory?($vscommontools)
|
768
|
-
$vs_version = 2008
|
769
|
-
$vscommontools = ENV['VS90COMNTOOLS']
|
770
|
-
$qmake_makespec = 'win32-msvc2008'
|
771
|
-
end
|
772
|
-
unless !$vscommontools.nil? && ($vscommontools !~ /^\s*$/) && File.directory?($vscommontools)
|
773
|
-
$vs_version = 2012
|
774
|
-
$vscommontools = ENV['VS110COMNTOOLS']
|
775
|
-
$qmake_makespec = 'win32-msvc2012'
|
776
|
-
|
777
|
-
end
|
778
|
-
unless !$vscommontools.nil? && ($vscommontools !~ /^\s*$/) && File.directory?($vscommontools)
|
779
|
-
puts "\nPlease, set either VS110COMNTOOLS or VS90COMNTOOLS environment variable to Common7\\Tools directory path of Visual Studio 2012 or 2008 respectively."
|
780
|
-
exit 1
|
781
|
-
end
|
782
|
-
elsif $msvc_version == "2008"
|
783
|
-
$vs_version = 2008
|
784
|
-
$vscommontools = ENV['VS90COMNTOOLS']
|
785
|
-
$qmake_makespec = 'win32-msvc2008'
|
786
|
-
unless !$vscommontools.nil? && ($vscommontools !~ /^\s*$/) && File.directory?($vscommontools)
|
787
|
-
puts "\nPlease, set VS90COMNTOOLS environment variable to Common7\\Tools directory path of Visual Studio 2008"
|
788
|
-
exit 1
|
789
|
-
end
|
790
|
-
elsif $msvc_version == "2012"
|
791
|
-
$vs_version = 2012
|
792
|
-
$vscommontools = ENV['VS110COMNTOOLS']
|
793
|
-
$qmake_makespec = 'win32-msvc2012'
|
794
|
-
unless !$vscommontools.nil? && ($vscommontools !~ /^\s*$/) && File.directory?($vscommontools)
|
795
|
-
puts "\nPlease, set VS110COMNTOOLS environment variable to Common7\\Tools directory path of Visual Studio 2012"
|
796
|
-
exit 1
|
797
|
-
end
|
798
|
-
elsif $msvc_version == "2015"
|
799
|
-
$vs_version = 2015
|
800
|
-
$vscommontools = ENV['VS140COMNTOOLS']
|
801
|
-
if $qtversionindex == 5 || $qtversionindex == 6
|
802
|
-
$qmake_makespec = 'win32-msvc'
|
803
|
-
else
|
804
|
-
$qmake_makespec = 'win32-msvc2015'
|
805
|
-
end
|
806
|
-
|
807
|
-
unless !$vscommontools.nil? && ($vscommontools !~ /^\s*$/) && File.directory?($vscommontools)
|
808
|
-
puts "\nPlease, set VS110COMNTOOLS environment variable to Common7\\Tools directory path of Visual Studio 2015"
|
809
|
-
exit 1
|
810
|
-
end
|
811
|
-
else
|
812
|
-
puts "\nPlease, specify Visual Studio version as either 2008 or 2012 or 2015 in win32:msvc section of build.yml"
|
813
|
-
exit 1
|
814
|
-
end
|
815
|
-
|
816
|
-
if $vscommontools.frozen?
|
817
|
-
$vscommontools = $vscommontools.dup
|
818
|
-
end
|
819
|
-
|
820
|
-
$vscommontools << '\\' unless $vscommontools.end_with?('\\') || $vscommontools.end_with?('/')
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
if ($qtversionindex != 0)
|
825
|
-
puts "Found QT Version : #{$QVersion}"
|
826
|
-
else
|
827
|
-
puts "Unknown QT Version : #{$QVersion}"
|
828
|
-
end
|
829
|
-
|
830
|
-
puts "Visual Studio Found/Default for build.yml is #{$vs_version} , Code will be Compiled against Visual Studio #{$vs_version}"
|
831
|
-
|
832
|
-
if $vs_version == 2008 && $qtversionindex == 3
|
833
|
-
puts "\n Visual Studio 2008 is not currently supported for this QT version "
|
834
|
-
exit 1
|
835
|
-
end
|
836
|
-
if $vs_version != 2015 && ($qtversionindex == 4 || $qtversionindex == 5 || $qtversionindex == 6)
|
837
|
-
puts "\n Visual Studio #{$vs_version} is not currently supported for this QT version "
|
838
|
-
exit 1
|
839
|
-
end
|
840
|
-
|
841
|
-
$qt_project_dir = File.join( $startdir, 'platform/shared/qt/' )
|
842
|
-
end
|
843
|
-
|
844
|
-
task :application do
|
845
|
-
$app_version = '1.0'
|
846
|
-
$app_version = $app_config["version"] unless $app_config["version"].nil?
|
847
|
-
|
848
|
-
require $startdir + "/lib/rhodes.rb"
|
849
|
-
fversion = StringIO.new("", "w+")
|
850
|
-
fversion.write( "#define RHOSIMULATOR_NAME \"RhoSimulator\"\n" )
|
851
|
-
fversion.write( "#define RHOSIMULATOR_VERSION \"#{Rhodes::VERSION}\"\n" )
|
852
|
-
fversion.write( "#define APPLICATION_NAME \"#{$appname}\"\n" )
|
853
|
-
fversion.write( "#define APPLICATION_VERSION \"#{$app_version}\"\n" )
|
854
|
-
Jake.modify_file_if_content_changed( File.join($startdir, 'platform/shared/qt/rhodes/RhoSimulatorVersion.h'), fversion )
|
855
|
-
|
856
|
-
$app_icon_path = $app_path + "/icon/icon.ico"
|
857
|
-
$app_icon_path = $startdir + "/res/icons/rhodes.ico" unless File.exists? $app_icon_path
|
858
|
-
cp $app_icon_path, $startdir + "/platform/shared/qt/rhodes/resources/rho.ico"
|
859
|
-
|
860
|
-
$qt_icon_path = $app_path + "/icon/icon.png"
|
861
|
-
$qt_icon_path = $startdir + "/res/icons/rhodes.png" unless File.exists? $qt_icon_path
|
862
|
-
cp $qt_icon_path, $startdir + "/platform/shared/qt/rhodes/resources/rho.png"
|
863
|
-
qrcfile = $startdir + "/platform/shared/qt/rhodes/GeneratedFiles/" + $buildcfg + "/qrc_simulator.cpp"
|
864
|
-
rm qrcfile if File.exists? qrcfile
|
865
|
-
end
|
866
|
-
|
867
|
-
end
|
868
660
|
end
|
869
661
|
|
870
662
|
namespace "build" do
|
@@ -881,7 +673,7 @@ namespace "build" do
|
|
881
673
|
$current_platform = "wm"
|
882
674
|
elsif ( args.sdk == 'WinCE' )
|
883
675
|
$current_platform = "wm"
|
884
|
-
$sdk = "MC3000c50b (ARMV4I)"
|
676
|
+
$sdk = "MC3000c50b (ARMV4I)" unless $sdk
|
885
677
|
else
|
886
678
|
throw "You must pass in sdk(Win32, WM, WinCE)"
|
887
679
|
end
|
@@ -1201,535 +993,6 @@ namespace "build" do
|
|
1201
993
|
|
1202
994
|
end #wm
|
1203
995
|
|
1204
|
-
namespace "win32" do
|
1205
|
-
|
1206
|
-
task :rhodeslib_lib, [:target_path] => ["build:win32:set_release_config"] do |t, args|
|
1207
|
-
print_timestamp('build:win32:rhodeslib_lib START')
|
1208
|
-
$rhodes_as_lib = true
|
1209
|
-
Rake::Task['build:win32'].invoke
|
1210
|
-
createWin32Production(false, true)
|
1211
|
-
target_path = args[:target_path]
|
1212
|
-
#cp_r File.join($bindir, "#{$appname}-#{$app_config["version"]}.aar"), target_path
|
1213
|
-
|
1214
|
-
Dir.glob(File.join($tmpdir,'**','*.dll')) do |p|
|
1215
|
-
Jake.copyIfNeeded p, target_path
|
1216
|
-
end
|
1217
|
-
|
1218
|
-
if($debug)
|
1219
|
-
Jake.copyIfNeeded File.join($tmpdir, "rhodeslibd.dll"), target_path
|
1220
|
-
Jake.copyIfNeeded File.join($tmpdir, "rhodeslibd.lib"), target_path
|
1221
|
-
else
|
1222
|
-
Jake.copyIfNeeded File.join($tmpdir, "rhodeslib.dll"), target_path
|
1223
|
-
Jake.copyIfNeeded File.join($tmpdir, "rhodeslib.lib"), target_path
|
1224
|
-
end
|
1225
|
-
|
1226
|
-
rhoruby_dir = File.join($startdir, 'platform', 'shared', 'rhoruby', 'api')
|
1227
|
-
rhodeslib_h = File.join($startdir, 'platform', 'shared', 'qt', 'rhodes', 'rhorubyVersion', 'rhodeslib.h')
|
1228
|
-
mkdir_p File.join(target_path, 'rhoruby') if not File.exists? File.join(target_path, 'rhoruby')
|
1229
|
-
cp_r rhoruby_dir, File.join(target_path, 'rhoruby')
|
1230
|
-
cp_r rhodeslib_h, File.join(target_path, 'rhoruby')
|
1231
|
-
|
1232
|
-
print_timestamp('build:win32:rhodeslib_lib FINISH')
|
1233
|
-
end
|
1234
|
-
|
1235
|
-
task :rhodeslib_bundle, [:target_path] => ["build:win32:set_release_config", "config:common"] do |t, args|
|
1236
|
-
print_timestamp('build:win32:rhodeslib_bundle START')
|
1237
|
-
|
1238
|
-
target_path = args[:target_path]
|
1239
|
-
$skip_build_rhodes_main = true
|
1240
|
-
$skip_build_extensions = true
|
1241
|
-
$skip_build_xmls = true
|
1242
|
-
$use_prebuild_data = true
|
1243
|
-
|
1244
|
-
Rake::Task['config:win32:qt'].invoke
|
1245
|
-
|
1246
|
-
appname = $app_config["name"] ? $app_config["name"] : "rhorunner"
|
1247
|
-
appname_fixed = appname.split(/[^a-zA-Z0-9]/).map { |w| w }.join("")
|
1248
|
-
|
1249
|
-
Rake::Task['build:win32:rhobundle'].invoke
|
1250
|
-
|
1251
|
-
mkdir_p target_path if not File.exists? target_path
|
1252
|
-
cp_r File.join($bindir, "RhoBundle"), target_path
|
1253
|
-
end
|
1254
|
-
|
1255
|
-
|
1256
|
-
task :deployqt => "config:win32:qt" do
|
1257
|
-
|
1258
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'msvc*0.dll')), {:secure => true})
|
1259
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'vcomp*0.dll')), {:secure => true})
|
1260
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'vccorlib*0.dll')), {:secure => true})
|
1261
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'D3Dcompiler*.dll')), {:secure => true})
|
1262
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'Microsoft.VC*.manifest')), {:secure => true})
|
1263
|
-
deploymsvc = Jake.getBuildBoolProp('deploymsvc', $app_config, true)
|
1264
|
-
if(deploymsvc)
|
1265
|
-
puts "Microsoft Visual C++ Runtime Binaries for #{$vs_version} included in App Setup Bundle"
|
1266
|
-
else
|
1267
|
-
puts "Microsoft Visual C++ Runtime Binaries for #{$vs_version} Excluded in App Setup Bundle"
|
1268
|
-
end
|
1269
|
-
if($rhosimulator_build)
|
1270
|
-
puts "Build for Rhosimulator...msvc"
|
1271
|
-
deploymsvc = true;
|
1272
|
-
end
|
1273
|
-
if ($vs_version == 2008)
|
1274
|
-
# Visual Studio 2008
|
1275
|
-
puts "Deploy libs from msvc #{$vs_version}"
|
1276
|
-
vsredistdir = File.join($vscommontools, "../../VC/redist/x86/Microsoft.VC90.CRT")
|
1277
|
-
vsredistdir2 = File.join($vscommontools, "../../VC/redist/x86/Microsoft.VC90.OPENMP")
|
1278
|
-
if deploymsvc
|
1279
|
-
cp File.join(vsredistdir, "msvcm90.dll"), $target_path
|
1280
|
-
cp File.join(vsredistdir, "msvcp90.dll"), $target_path
|
1281
|
-
cp File.join(vsredistdir, "msvcr90.dll"), $target_path
|
1282
|
-
cp File.join(vsredistdir, "Microsoft.VC90.CRT.manifest"), $target_path
|
1283
|
-
cp File.join(vsredistdir2, "vcomp90.dll"), $target_path
|
1284
|
-
cp File.join(vsredistdir2, "Microsoft.VC90.OpenMP.manifest"), $target_path
|
1285
|
-
end
|
1286
|
-
cp File.join($startdir, "lib/extensions/openssl.so/ext/win32/msvc2008/bin/libeay32.dll"), $target_path
|
1287
|
-
cp File.join($startdir, "lib/extensions/openssl.so/ext/win32/msvc2008/bin/ssleay32.dll"), $target_path
|
1288
|
-
elsif ($vs_version == 2012)
|
1289
|
-
# Visual Studio 2012
|
1290
|
-
puts "Deploy libs from msvc #{$vs_version}"
|
1291
|
-
vsredistdir = File.join($vscommontools, "../../VC/redist/x86/Microsoft.VC110.CRT")
|
1292
|
-
vsredistdir2 = File.join($vscommontools, "../../VC/redist/x86/Microsoft.VC110.OPENMP")
|
1293
|
-
if deploymsvc
|
1294
|
-
cp File.join(vsredistdir, "msvcp110.dll"), $target_path
|
1295
|
-
cp File.join(vsredistdir, "msvcr110.dll"), $target_path
|
1296
|
-
cp File.join(vsredistdir, "vccorlib110.dll"), $target_path
|
1297
|
-
cp File.join(vsredistdir2, "vcomp110.dll"), $target_path
|
1298
|
-
cp File.join($vscommontools, "../../VC/bin/D3Dcompiler_46.dll"), $target_path
|
1299
|
-
puts "Joining msvc110 libs"
|
1300
|
-
end
|
1301
|
-
cp File.join($startdir, "lib/extensions/openssl.so/ext/win32/bin/libeay32.dll"), $target_path
|
1302
|
-
cp File.join($startdir, "lib/extensions/openssl.so/ext/win32/bin/ssleay32.dll"), $target_path
|
1303
|
-
elsif ($vs_version == 2015)
|
1304
|
-
# Visual Studio 2015
|
1305
|
-
puts "Deploy libs from msvc #{$vs_version}"
|
1306
|
-
vsredistdir = File.join($vscommontools, "../../VC/redist/x86/Microsoft.VC140.CRT")
|
1307
|
-
vsredistdir2 = File.join($vscommontools, "../../VC/redist/x86/Microsoft.VC140.OPENMP")
|
1308
|
-
if deploymsvc
|
1309
|
-
cp File.join(vsredistdir, "msvcp140.dll"), $target_path if !File.exists?(File.join($target_path, "msvcp140.dll"))
|
1310
|
-
cp File.join(vsredistdir, "concrt140.dll"), $target_path if !File.exists?(File.join($target_path, "concrt140.dll"))
|
1311
|
-
cp File.join(vsredistdir, "vccorlib140.dll"), $target_path if !File.exists?(File.join($target_path, "vccorlib140.dll"))
|
1312
|
-
cp File.join(vsredistdir, "vcruntime140.dll"), $target_path if !File.exists?(File.join($target_path, "vcruntime140.dll"))
|
1313
|
-
cp File.join(vsredistdir2, "vcomp140.dll"), $target_path if !File.exists?(File.join($target_path, "vcomp140.dll"))
|
1314
|
-
#cp File.join($vscommontools, "../../VC/bin/d3dcompiler_47.dll"), $target_path
|
1315
|
-
puts "Joining msvc140 libs"
|
1316
|
-
end
|
1317
|
-
cp File.join($startdir, "lib/extensions/openssl.so/ext/win32/bin/libeay32.dll"), $target_path
|
1318
|
-
cp File.join($startdir, "lib/extensions/openssl.so/ext/win32/bin/ssleay32.dll"), $target_path
|
1319
|
-
else
|
1320
|
-
puts "Libs version not correct"
|
1321
|
-
end
|
1322
|
-
|
1323
|
-
FileUtils.rm_rf(File.join($target_path, 'phonon4.dll'), {:secure => true})
|
1324
|
-
FileUtils.rm_rf(File.join($target_path, 'libEGL.dll'), {:secure => true})
|
1325
|
-
FileUtils.rm_rf(File.join($target_path, 'libGLESv2.dll'), {:secure => true})
|
1326
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'icu*5*.dll')), {:secure => true})
|
1327
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'Qt*4.dll')), {:secure => true})
|
1328
|
-
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'Qt5*.dll')), {:secure => true})
|
1329
|
-
target_if_path = File.join($target_path, 'imageformats/')
|
1330
|
-
FileUtils.rm_rf(target_if_path, {:secure => true})
|
1331
|
-
target_platforms_path = File.join($target_path, 'platforms/')
|
1332
|
-
FileUtils.rm_rf(target_platforms_path, {:secure => true})
|
1333
|
-
|
1334
|
-
deployqt = Jake.getBuildBoolProp('deployqt', $app_config, true)
|
1335
|
-
if($rhosimulator_build)
|
1336
|
-
puts "Build for Rhosimulator...deployqt"
|
1337
|
-
deployqt = true;
|
1338
|
-
end
|
1339
|
-
if(deployqt)
|
1340
|
-
puts "QT Binaries for #{$vs_version} included in App Setup Bundle"
|
1341
|
-
else
|
1342
|
-
puts "QT Binaries for #{$vs_version} Excluded in App Setup Bundle"
|
1343
|
-
end
|
1344
|
-
next unless deployqt
|
1345
|
-
|
1346
|
-
#check the QT versions here for build purpose
|
1347
|
-
format = "Qt version now is #{$QVersion} and index is #{$qtversionindex}"
|
1348
|
-
puts format
|
1349
|
-
|
1350
|
-
#1 - 4.7.4.0
|
1351
|
-
#2 - 5.1.1.0
|
1352
|
-
#3 - 5.5.0.0
|
1353
|
-
#4 - 5.8.0.0
|
1354
|
-
#5 - 5.9.5.0
|
1355
|
-
#6 - 5.11.0.0
|
1356
|
-
case $qtversionindex
|
1357
|
-
when 1 # 4.7.4.0
|
1358
|
-
format ="Found QT Version : #{$QVersion}"
|
1359
|
-
cp File.join($qtdir, "bin/phonon4.dll"), $target_path
|
1360
|
-
cp File.join($qtdir, "bin/QtCore4.dll"), $target_path
|
1361
|
-
cp File.join($qtdir, "bin/QtGui4.dll"), $target_path
|
1362
|
-
cp File.join($qtdir, "bin/QtNetwork4.dll"), $target_path
|
1363
|
-
cp File.join($qtdir, "bin/QtWebKit4.dll"), $target_path
|
1364
|
-
if not File.directory?(target_if_path)
|
1365
|
-
Dir.mkdir(target_if_path)
|
1366
|
-
end
|
1367
|
-
cp File.join($qtdir, "plugins/imageformats/qgif4.dll"), target_if_path
|
1368
|
-
cp File.join($qtdir, "plugins/imageformats/qico4.dll"), target_if_path
|
1369
|
-
cp File.join($qtdir, "plugins/imageformats/qjpeg4.dll"), target_if_path
|
1370
|
-
cp File.join($qtdir, "plugins/imageformats/qmng4.dll"), target_if_path
|
1371
|
-
cp File.join($qtdir, "plugins/imageformats/qsvg4.dll"), target_if_path
|
1372
|
-
cp File.join($qtdir, "plugins/imageformats/qtiff4.dll"), target_if_path
|
1373
|
-
when 2 # 5.1.1.0
|
1374
|
-
format= "Found QT Version : #{$QVersion}"
|
1375
|
-
if File.exists?(File.join($qtdir, "bin/icudt53.dll"))
|
1376
|
-
cp File.join($qtdir, "bin/icudt53.dll"), $target_path
|
1377
|
-
cp File.join($qtdir, "bin/icuuc53.dll"), $target_path
|
1378
|
-
cp File.join($qtdir, "bin/icuin53.dll"), $target_path
|
1379
|
-
elsif File.exists?(File.join($qtdir, "bin/icudt52.dll"))
|
1380
|
-
cp File.join($qtdir, "bin/icudt52.dll"), $target_path
|
1381
|
-
cp File.join($qtdir, "bin/icuuc52.dll"), $target_path
|
1382
|
-
cp File.join($qtdir, "bin/icuin52.dll"), $target_path
|
1383
|
-
else
|
1384
|
-
cp File.join($qtdir, "bin/icudt51.dll"), $target_path
|
1385
|
-
cp File.join($qtdir, "bin/icuuc51.dll"), $target_path
|
1386
|
-
cp File.join($qtdir, "bin/icuin51.dll"), $target_path
|
1387
|
-
end
|
1388
|
-
cp File.join($qtdir, "bin/libEGL.dll"), $target_path
|
1389
|
-
cp File.join($qtdir, "bin/libGLESv2.dll"), $target_path
|
1390
|
-
cp File.join($qtdir, "bin/Qt5Core.dll"), $target_path
|
1391
|
-
cp File.join($qtdir, "bin/Qt5Gui.dll"), $target_path
|
1392
|
-
cp File.join($qtdir, "bin/Qt5Network.dll"), $target_path
|
1393
|
-
cp File.join($qtdir, "bin/Qt5Widgets.dll"), $target_path
|
1394
|
-
cp File.join($qtdir, "bin/Qt5WebKit.dll"), $target_path
|
1395
|
-
cp File.join($qtdir, "bin/Qt5Multimedia.dll"), $target_path
|
1396
|
-
cp File.join($qtdir, "bin/Qt5MultimediaWidgets.dll"), $target_path
|
1397
|
-
cp File.join($qtdir, "bin/Qt5WebKitWidgets.dll"), $target_path
|
1398
|
-
cp File.join($qtdir, "bin/Qt5OpenGL.dll"), $target_path
|
1399
|
-
cp File.join($qtdir, "bin/Qt5PrintSupport.dll"), $target_path
|
1400
|
-
cp File.join($qtdir, "bin/Qt5Quick.dll"), $target_path
|
1401
|
-
cp File.join($qtdir, "bin/Qt5Qml.dll"), $target_path
|
1402
|
-
cp File.join($qtdir, "bin/Qt5Sql.dll"), $target_path
|
1403
|
-
cp File.join($qtdir, "bin/Qt5Sensors.dll"), $target_path
|
1404
|
-
cp File.join($qtdir, "bin/Qt5V8.dll"), $target_path
|
1405
|
-
if not File.directory?(target_platforms_path)
|
1406
|
-
Dir.mkdir(target_platforms_path)
|
1407
|
-
end
|
1408
|
-
cp File.join($qtdir, "plugins/platforms/qwindows.dll"), target_platforms_path
|
1409
|
-
if not File.directory?(target_if_path)
|
1410
|
-
Dir.mkdir(target_if_path)
|
1411
|
-
end
|
1412
|
-
cp File.join($qtdir, "plugins/imageformats/qgif.dll"), target_if_path
|
1413
|
-
cp File.join($qtdir, "plugins/imageformats/qico.dll"), target_if_path
|
1414
|
-
cp File.join($qtdir, "plugins/imageformats/qjpeg.dll"), target_if_path
|
1415
|
-
cp File.join($qtdir, "plugins/imageformats/qmng.dll"), target_if_path
|
1416
|
-
cp File.join($qtdir, "plugins/imageformats/qsvg.dll"), target_if_path
|
1417
|
-
cp File.join($qtdir, "plugins/imageformats/qtga.dll"), target_if_path
|
1418
|
-
cp File.join($qtdir, "plugins/imageformats/qtiff.dll"), target_if_path
|
1419
|
-
cp File.join($qtdir, "plugins/imageformats/qwbmp.dll"), target_if_path
|
1420
|
-
|
1421
|
-
when 3 # 5.5.0.0
|
1422
|
-
format ="Found QT Version : #{$QVersion}"
|
1423
|
-
|
1424
|
-
cp File.join($qtdir, "bin/Qt5Core.dll"), $target_path
|
1425
|
-
cp File.join($qtdir, "bin/Qt5WebKitWidgets.dll"), $target_path
|
1426
|
-
cp File.join($qtdir, "bin/Qt5Widgets.dll"), $target_path
|
1427
|
-
cp File.join($qtdir, "bin/Qt5Gui.dll"), $target_path
|
1428
|
-
cp File.join($qtdir, "bin/Qt5WebKit.dll"), $target_path
|
1429
|
-
cp File.join($qtdir, "bin/icuin54.dll"), $target_path
|
1430
|
-
cp File.join($qtdir, "bin/icuuc54.dll"), $target_path
|
1431
|
-
cp File.join($qtdir, "bin/icudt54.dll"), $target_path
|
1432
|
-
cp File.join($qtdir, "bin/Qt5Sensors.dll"), $target_path
|
1433
|
-
cp File.join($qtdir, "bin/Qt5Positioning.dll"), $target_path
|
1434
|
-
cp File.join($qtdir, "bin/Qt5Quick.dll"), $target_path
|
1435
|
-
cp File.join($qtdir, "bin/Qt5Qml.dll"), $target_path
|
1436
|
-
cp File.join($qtdir, "bin/Qt5Network.dll"), $target_path
|
1437
|
-
cp File.join($qtdir, "bin/Qt5Multimedia.dll"), $target_path
|
1438
|
-
cp File.join($qtdir, "bin/Qt5WebChannel.dll"), $target_path
|
1439
|
-
cp File.join($qtdir, "bin/Qt5Sql.dll"), $target_path
|
1440
|
-
cp File.join($qtdir, "bin/Qt5MultimediaWidgets.dll"), $target_path
|
1441
|
-
cp File.join($qtdir, "bin/Qt5OpenGL.dll"), $target_path
|
1442
|
-
cp File.join($qtdir, "bin/Qt5PrintSupport.dll"), $target_path
|
1443
|
-
if not File.directory?(target_platforms_path)
|
1444
|
-
Dir.mkdir(target_platforms_path)
|
1445
|
-
end
|
1446
|
-
cp File.join($qtdir, "plugins/platforms/qwindows.dll"), target_platforms_path
|
1447
|
-
if not File.directory?(target_if_path)
|
1448
|
-
Dir.mkdir(target_if_path)
|
1449
|
-
end
|
1450
|
-
|
1451
|
-
cp File.join($qtdir, "plugins/imageformats/qgif.dll"), target_if_path
|
1452
|
-
cp File.join($qtdir, "plugins/imageformats/qico.dll"), target_if_path
|
1453
|
-
cp File.join($qtdir, "plugins/imageformats/qjpeg.dll"), target_if_path
|
1454
|
-
cp File.join($qtdir, "plugins/imageformats/qmng.dll"), target_if_path
|
1455
|
-
cp File.join($qtdir, "plugins/imageformats/qsvg.dll"), target_if_path
|
1456
|
-
cp File.join($qtdir, "plugins/imageformats/qtga.dll"), target_if_path
|
1457
|
-
cp File.join($qtdir, "plugins/imageformats/qtiff.dll"), target_if_path
|
1458
|
-
cp File.join($qtdir, "plugins/imageformats/qwbmp.dll"), target_if_path
|
1459
|
-
|
1460
|
-
targetFile = File.join($target_path, $appname + ".exe")
|
1461
|
-
if File.exists? targetFile
|
1462
|
-
Jake.run3("#{File.join($qtdir, 'bin/windeployqt')} #{targetFile}")
|
1463
|
-
else
|
1464
|
-
targetFile = File.join($target_path, "Rhodes.exe")
|
1465
|
-
if File.exists? targetFile
|
1466
|
-
Jake.run3("#{File.join($qtdir, 'bin/windeployqt')} #{targetFile}")
|
1467
|
-
else
|
1468
|
-
targetFile = File.join($target_path, "RhoLaunch.exe")
|
1469
|
-
if File.exists? targetFile
|
1470
|
-
Jake.run3("#{File.join($qtdir, 'bin/windeployqt')} #{targetFile}")
|
1471
|
-
end
|
1472
|
-
end
|
1473
|
-
end
|
1474
|
-
when 4, 5, 6
|
1475
|
-
possible_targets = [ $appname, 'rhosimulator', 'rhodes', 'rholaunch' ]
|
1476
|
-
format ="Found QT Version : #{$QVersion}"
|
1477
|
-
begin
|
1478
|
-
possible_targets.each do |target|
|
1479
|
-
targetFile = File.join($target_path, target + ".exe")
|
1480
|
-
break if File.file?(targetFile)
|
1481
|
-
end
|
1482
|
-
$logger.debug "Looking for app executable: #{targetFile}"
|
1483
|
-
raise "#{targetFile} not found" unless File.file?(targetFile)
|
1484
|
-
Jake.run3("#{File.join($qtdir, 'bin/windeployqt --release --no-quick-import --force')} #{targetFile}")
|
1485
|
-
#cp File.join($qtdir, "bin/Qt5Core.dll"), $target_path
|
1486
|
-
rescue Exception => e
|
1487
|
-
$logger.error "ERROR: #{e.inspect}\n#{e.backtrace}"
|
1488
|
-
end
|
1489
|
-
else
|
1490
|
-
format ="Unknown QT Version : #{$QVersion}"
|
1491
|
-
end
|
1492
|
-
puts format
|
1493
|
-
end
|
1494
|
-
|
1495
|
-
task :extensions => "config:wm" do
|
1496
|
-
next if $prebuild_win32
|
1497
|
-
|
1498
|
-
extensions_lib = ''
|
1499
|
-
pre_targetdeps = ''
|
1500
|
-
|
1501
|
-
puts "$app_extensions_list : #{$app_extensions_list}"
|
1502
|
-
|
1503
|
-
$app_extensions_list.each do |ext, commin_ext_path |
|
1504
|
-
puts "extension #{ext} [#{commin_ext_path}]"
|
1505
|
-
next unless commin_ext_path
|
1506
|
-
|
1507
|
-
extpath = File.join(commin_ext_path, 'ext')
|
1508
|
-
ext_config_path = File.join(commin_ext_path, "ext.yml")
|
1509
|
-
ext_config = nil
|
1510
|
-
if File.exist? ext_config_path
|
1511
|
-
ext_config = Jake.config(File.open(ext_config_path))
|
1512
|
-
end
|
1513
|
-
|
1514
|
-
project_path = ext_config["project_paths"][$current_platform] if ( ext_config && ext_config["project_paths"] && ext_config["project_paths"][$current_platform])
|
1515
|
-
next unless (File.exists?( File.join(extpath, "build.bat") ) || project_path)
|
1516
|
-
|
1517
|
-
if ext != 'openssl.so'
|
1518
|
-
if ext_config.has_key?('libraries')
|
1519
|
-
ext_config["libraries"].each { |name_lib|
|
1520
|
-
extensions_lib << " #{name_lib}.lib"
|
1521
|
-
pre_targetdeps << " ../../../win32/bin/extensions/#{name_lib}.lib"
|
1522
|
-
}
|
1523
|
-
else
|
1524
|
-
extensions_lib << " #{ext}.lib"
|
1525
|
-
pre_targetdeps << " ../../../win32/bin/extensions/#{ext}.lib"
|
1526
|
-
end
|
1527
|
-
end
|
1528
|
-
|
1529
|
-
if (project_path)
|
1530
|
-
|
1531
|
-
ENV['RHO_PLATFORM'] = 'win32'
|
1532
|
-
ENV['PWD'] = $startdir
|
1533
|
-
ENV['RHO_ROOT'] = $startdir
|
1534
|
-
ENV['RHO_VSPROJ_SDK_PLATFORM'] = $sdk
|
1535
|
-
if ext.downcase() == "coreapi" && $rhosimulator_build
|
1536
|
-
ENV['RHO_BUILD_CONFIG'] = 'SimulatorRelease'
|
1537
|
-
else
|
1538
|
-
ENV['RHO_BUILD_CONFIG'] = $rhosimulator_build ? 'Release' : $buildcfg
|
1539
|
-
ENV['TARGET_EXT_DIR_SIM'] = File.join($startdir, "platform", 'wm', "bin", $sdk, "rhodes", $rhosimulator_build ? "SimulatorRelease" : $buildcfg)
|
1540
|
-
end
|
1541
|
-
|
1542
|
-
ENV['TEMP_FILES_DIR'] = File.join($startdir, "platform", "win32", "bin", "extensions", ext)
|
1543
|
-
ENV['VCBUILD'] = $vcbuild
|
1544
|
-
ENV['RHO_PROJECT_PATH'] = File.join(commin_ext_path, project_path)
|
1545
|
-
ENV['TARGET_TEMP_DIR'] = File.join($startdir, "platform", "win32", "bin", "extensions")
|
1546
|
-
|
1547
|
-
ENV['RHO_EXT_NAME']=ext
|
1548
|
-
|
1549
|
-
clean_ext_vsprops(commin_ext_path) if $wm_win32_ignore_vsprops
|
1550
|
-
Jake.run3('rake --trace', File.join($startdir, 'lib/build/extensions'))
|
1551
|
-
|
1552
|
-
else
|
1553
|
-
|
1554
|
-
ENV['RHO_PLATFORM'] = 'win32'
|
1555
|
-
ENV['RHO_BUILD_CONFIG'] = $rhosimulator_build ? 'Release' : $buildcfg
|
1556
|
-
ENV['PWD'] = $startdir
|
1557
|
-
ENV['RHO_ROOT'] = ENV['PWD']
|
1558
|
-
ENV['TARGET_TEMP_DIR'] = File.join(ENV['PWD'], "platform", "win32", "bin", "extensions")
|
1559
|
-
ENV['TEMP_FILES_DIR'] = File.join(ENV['PWD'], "platform", "win32", "bin", "extensions", ext)
|
1560
|
-
ENV['VCBUILD'] = $vcbuild
|
1561
|
-
ENV['RHO_VSPROJ_SDK_PLATFORM'] = $sdk
|
1562
|
-
ENV['RHO_QMAKE'] = $qmake
|
1563
|
-
ENV['RHO_QMAKE_VARS'] = $rhosimulator_build ? 'RHOSIMULATOR_BUILD=1' : ""
|
1564
|
-
ENV['RHO_QMAKE_SPEC'] = $qmake_makespec
|
1565
|
-
ENV['RHO_VSCMNTOOLS'] = $vscommontools
|
1566
|
-
|
1567
|
-
if($debug and !$rhosimulator_build)
|
1568
|
-
ENV['RHO_QMAKE_VARS'] = ENV['RHO_QMAKE_VARS'] + " CONFIG+=debug CONFIG-=release"
|
1569
|
-
end
|
1570
|
-
|
1571
|
-
clean_ext_vsprops(commin_ext_path) if $wm_win32_ignore_vsprops
|
1572
|
-
Jake.run3('build.bat', extpath)
|
1573
|
-
end
|
1574
|
-
end
|
1575
|
-
generate_extensions_pri(extensions_lib, pre_targetdeps)
|
1576
|
-
end
|
1577
|
-
|
1578
|
-
def generate_extensions_pri(extensions_lib, pre_targetdeps)
|
1579
|
-
ext_dir = File.join($startdir, 'platform/win32/bin/extensions')
|
1580
|
-
mkdir_p ext_dir if not File.exists? ext_dir
|
1581
|
-
File.open(File.join(ext_dir, 'extensions.pri'), "wb") do |fextensions|
|
1582
|
-
fextensions.write(%{SOURCES += ../../ruby/ext/rho/extensions.c
|
1583
|
-
LIBS += /LIBPATH:../../../win32/bin/extensions#{extensions_lib}
|
1584
|
-
PRE_TARGETDEPS += #{pre_targetdeps}
|
1585
|
-
})
|
1586
|
-
end
|
1587
|
-
end
|
1588
|
-
|
1589
|
-
# desc "Build win32 rhobundle"
|
1590
|
-
#task :rhobundle => ["config:wm", "build:bundle:noxruby", "build:wm:extensions"] do
|
1591
|
-
#end
|
1592
|
-
|
1593
|
-
task :rhobundle => ["config:set_win32_platform", "config:wm", "config:qt", "config:win32:qt", "build:wm:rhobundle", :after_bundle] do
|
1594
|
-
end
|
1595
|
-
|
1596
|
-
task :upgrade_package => ["build:win32:rhobundle"] do
|
1597
|
-
mkdir_p $targetdir if not File.exists? $targetdir
|
1598
|
-
zip_file_path = File.join($targetdir, "upgrade_bundle.zip")
|
1599
|
-
Jake.zip_upgrade_bundle( $bindir, zip_file_path)
|
1600
|
-
end
|
1601
|
-
|
1602
|
-
task :set_debug_config do
|
1603
|
-
$buildcfg = 'Debug'
|
1604
|
-
end
|
1605
|
-
|
1606
|
-
task :set_release_config do
|
1607
|
-
$buildcfg = 'Release'
|
1608
|
-
end
|
1609
|
-
|
1610
|
-
task :devrhobundle => ["config:set_win32_platform", :set_debug_config, "build:wm:rhobundle", "config:win32:application", :after_bundle] do
|
1611
|
-
end
|
1612
|
-
|
1613
|
-
task :after_bundle do
|
1614
|
-
win32rhopath = ($prebuild_win32 ? $tmpdir : 'platform/wm/bin/win32/rhodes/' + $buildcfg) + '/rho'
|
1615
|
-
mkdir_p win32rhopath
|
1616
|
-
namepath = File.join(win32rhopath,"name.txt")
|
1617
|
-
old_appname = File.read(namepath) if File.exists?(namepath)
|
1618
|
-
|
1619
|
-
confpath = File.join(win32rhopath,"apps/rhoconfig.txt.changes")
|
1620
|
-
confpath_content = File.read(confpath) if File.exists?(confpath)
|
1621
|
-
|
1622
|
-
if $prebuild_win32
|
1623
|
-
$target_path = $tmpdir
|
1624
|
-
if not File.directory?($target_path)
|
1625
|
-
Dir.mkdir($target_path)
|
1626
|
-
end
|
1627
|
-
target_rho_dir = File.join($tmpdir, "rho")
|
1628
|
-
rm_rf target_rho_dir
|
1629
|
-
mv $srcdir, target_rho_dir
|
1630
|
-
else
|
1631
|
-
win32rhopath = win32rhopath + '/'
|
1632
|
-
rm_rf win32rhopath + 'lib'
|
1633
|
-
rm_rf win32rhopath + 'apps'
|
1634
|
-
rm_rf win32rhopath + 'db' if old_appname != $appname
|
1635
|
-
|
1636
|
-
cp_r $srcdir + '/lib', win32rhopath
|
1637
|
-
cp_r $srcdir + '/apps', win32rhopath
|
1638
|
-
cp_r $srcdir + '/db', win32rhopath
|
1639
|
-
end
|
1640
|
-
|
1641
|
-
File.open(namepath, "w") { |f| f.write($appname) }
|
1642
|
-
File.open(confpath, "w") { |f| f.write(confpath_content) } if old_appname == $appname && confpath_content && confpath_content.length()>0
|
1643
|
-
|
1644
|
-
end
|
1645
|
-
|
1646
|
-
task :rhosimulator => ["clean:win32:rhosimulator", "config:rhosimulator", "config:set_win32_platform", "config:wm", "config:qt", "build:rhosimulator_version", "config:win32:qt"] do
|
1647
|
-
$config["platform"] = $current_platform
|
1648
|
-
chdir $startdir
|
1649
|
-
init_extensions(pwd, nil)
|
1650
|
-
Rake::Task["build:win32:extensions"].invoke
|
1651
|
-
|
1652
|
-
cp $startdir + "/res/icons/rhosim.png", $startdir + "/platform/shared/qt/rhodes/resources/rho.png"
|
1653
|
-
|
1654
|
-
ENV['RHO_QMAKE_SPEC'] = $qmake_makespec
|
1655
|
-
ENV['RHO_VSCMNTOOLS'] = $vscommontools
|
1656
|
-
if $rhodes_as_lib
|
1657
|
-
if($debug)
|
1658
|
-
Jake.run3('rhoruby_win32_build_debug.bat "RHOSIMULATOR_BUILD=1"', $qt_project_dir)
|
1659
|
-
else
|
1660
|
-
Jake.run3('rhoruby_win32_build.bat "RHOSIMULATOR_BUILD=1"', $qt_project_dir)
|
1661
|
-
end
|
1662
|
-
else
|
1663
|
-
if($debug && !$rhosimulator_build)
|
1664
|
-
Jake.run3('rhosimulator_win32_build_debug.bat "RHOSIMULATOR_BUILD=1"', $qt_project_dir)
|
1665
|
-
else
|
1666
|
-
Jake.run3('rhosimulator_win32_build.bat "RHOSIMULATOR_BUILD=1"', $qt_project_dir)
|
1667
|
-
end
|
1668
|
-
end
|
1669
|
-
|
1670
|
-
chdir $startdir
|
1671
|
-
|
1672
|
-
$target_path = File.join( $startdir, "platform/win32/RhoSimulator/")
|
1673
|
-
if not File.directory?($target_path)
|
1674
|
-
Dir.mkdir($target_path)
|
1675
|
-
end
|
1676
|
-
cp File.join($startdir, "platform/win32/bin/RhoSimulator/RhoSimulator.exe"), $target_path
|
1677
|
-
|
1678
|
-
Rake::Task["build:win32:deployqt"].invoke
|
1679
|
-
|
1680
|
-
|
1681
|
-
directory = $target_path
|
1682
|
-
zipfile_name = File.join($target_path, "RhoSimulator.zip")
|
1683
|
-
|
1684
|
-
args = []
|
1685
|
-
args << "a"
|
1686
|
-
args << "-tzip"
|
1687
|
-
args << zipfile_name
|
1688
|
-
args << directory + "/*"
|
1689
|
-
puts Jake.run($zippath, args)
|
1690
|
-
end
|
1691
|
-
end
|
1692
|
-
|
1693
|
-
#desc "Build rhodes for win32"
|
1694
|
-
task :win32 => ["build:win32:rhobundle", "config:win32:application"] do
|
1695
|
-
next if $prebuild_win32
|
1696
|
-
|
1697
|
-
chdir $config["build"]["wmpath"]
|
1698
|
-
|
1699
|
-
ENV['RHO_QMAKE_SPEC'] = $qmake_makespec
|
1700
|
-
ENV['RHO_VSCMNTOOLS'] = $vscommontools
|
1701
|
-
if ($rhodes_as_lib)
|
1702
|
-
if($debug)
|
1703
|
-
Jake.run3('rhoruby_win32_build_debug.bat "DESKTOPAPP_BUILD=1"', $qt_project_dir)
|
1704
|
-
else
|
1705
|
-
Jake.run3('rhoruby_win32_build.bat "DESKTOPAPP_BUILD=1"', $qt_project_dir)
|
1706
|
-
end
|
1707
|
-
else
|
1708
|
-
if($debug)
|
1709
|
-
Jake.run3('rhosimulator_win32_build_debug.bat "DESKTOPAPP_BUILD=1"', $qt_project_dir)
|
1710
|
-
else
|
1711
|
-
Jake.run3('rhosimulator_win32_build.bat "DESKTOPAPP_BUILD=1"', $qt_project_dir)
|
1712
|
-
end
|
1713
|
-
end
|
1714
|
-
$target_path = File.join( $startdir, $vcbindir, $sdk, 'rhodes', $buildcfg)
|
1715
|
-
if not File.directory?($target_path)
|
1716
|
-
Dir.mkdir($target_path)
|
1717
|
-
end
|
1718
|
-
if ($rhodes_as_lib)
|
1719
|
-
|
1720
|
-
if($debug)
|
1721
|
-
cp File.join($startdir, "platform/win32/bin/RhoSimulator/rhodeslibd.dll"), File.join($target_path)
|
1722
|
-
cp File.join($startdir, "platform/win32/bin/RhoSimulator/rhodeslibd.lib"), File.join($target_path)
|
1723
|
-
else
|
1724
|
-
cp File.join($startdir, "platform/win32/bin/RhoSimulator/rhodeslib.dll"), File.join($target_path)
|
1725
|
-
cp File.join($startdir, "platform/win32/bin/RhoSimulator/rhodeslib.lib"), File.join($target_path)
|
1726
|
-
end
|
1727
|
-
else
|
1728
|
-
cp File.join($startdir, "platform/win32/bin/RhoSimulator/RhoSimulator.exe"), File.join($target_path, 'rhodes.exe')
|
1729
|
-
end
|
1730
|
-
|
1731
|
-
chdir $startdir
|
1732
|
-
end
|
1733
996
|
end
|
1734
997
|
|
1735
998
|
namespace "device" do
|
@@ -1844,117 +1107,6 @@ namespace "device" do
|
|
1844
1107
|
end
|
1845
1108
|
end
|
1846
1109
|
|
1847
|
-
def createWin32Production(skip_deployqt = false, skip_nsis = false)
|
1848
|
-
out_dir = $startdir + "/" + $vcbindir + "/#{$sdk}" + "/rhodes/" + $buildcfg + "/"
|
1849
|
-
puts "out_dir - " + out_dir
|
1850
|
-
|
1851
|
-
mkdir_p $targetdir unless skip_nsis
|
1852
|
-
mkdir_p $tmpdir unless skip_deployqt
|
1853
|
-
mkdir_p out_dir
|
1854
|
-
|
1855
|
-
if($rhodes_as_lib)
|
1856
|
-
if($debug)
|
1857
|
-
cp_r out_dir + "rhodeslibd.dll", $tmpdir
|
1858
|
-
cp_r out_dir + "rhodeslibd.lib", $tmpdir
|
1859
|
-
else
|
1860
|
-
cp_r out_dir + "rhodeslib.dll", $tmpdir
|
1861
|
-
cp_r out_dir + "rhodeslib.lib", $tmpdir
|
1862
|
-
end
|
1863
|
-
else
|
1864
|
-
cp out_dir + "rhodes.exe", $tmpdir + "/" + $appname + ".exe"
|
1865
|
-
end
|
1866
|
-
|
1867
|
-
script_name = File.join($startdir, "platform", "wm", "build", "rhodes.nsi")
|
1868
|
-
app_script_name = File.join($tmpdir, $appname + ".nsi")
|
1869
|
-
|
1870
|
-
license_filename = "LICENSE.txt"
|
1871
|
-
license_file = File.join($app_path, license_filename)
|
1872
|
-
license_present = '#'
|
1873
|
-
license_line = ''
|
1874
|
-
if File.exists? license_file
|
1875
|
-
cp license_file, $tmpdir
|
1876
|
-
license_present = ''
|
1877
|
-
license_line = 'File "' + license_filename + '"'
|
1878
|
-
end
|
1879
|
-
|
1880
|
-
readme_filename = "README.html"
|
1881
|
-
readme_file = File.join($app_path, readme_filename)
|
1882
|
-
readme_present = '#'
|
1883
|
-
readme_line = '#'
|
1884
|
-
if File.exists? readme_file
|
1885
|
-
cp readme_file, $tmpdir
|
1886
|
-
readme_present = ''
|
1887
|
-
readme_line = 'File "' + readme_filename + '"'
|
1888
|
-
end
|
1889
|
-
|
1890
|
-
if !skip_nsis
|
1891
|
-
vspec_files = ''
|
1892
|
-
if Jake.getBuildBoolProp('deployqt', $app_config, true)
|
1893
|
-
#vspec_files += " File /r \"imageformats\"\n"
|
1894
|
-
#if($qtversionindex.nil? || $qtversionindex > 1)
|
1895
|
-
#vspec_files += " File /r \"platforms\"\n"
|
1896
|
-
#end
|
1897
|
-
vspec_files += " File /r *.dll\n"
|
1898
|
-
end
|
1899
|
-
if Jake.getBuildBoolProp('deploymsvc', $app_config, true) && ($vs_version == 2008)
|
1900
|
-
vspec_files += " File *.manifest\n"
|
1901
|
-
end
|
1902
|
-
|
1903
|
-
# custumize install script for application
|
1904
|
-
$appdisplay_version=$app_version + '.0.0'
|
1905
|
-
if $app_config.has_key?('vendor')
|
1906
|
-
$vendorname = $app_config["vendor"]
|
1907
|
-
else
|
1908
|
-
$vendorname = "Zebra Technologies"
|
1909
|
-
end
|
1910
|
-
install_script = File.read(script_name)
|
1911
|
-
install_script = install_script.gsub(/%OUTPUTFILE%/, $targetdir + "/" + $appname + "-setup.exe" )
|
1912
|
-
install_script = install_script.gsub(/%APPNAME%/, $appname)
|
1913
|
-
install_script = install_script.gsub(/%APPVERSION%/, $app_version)
|
1914
|
-
install_script = install_script.gsub(/%APPDISPLAYVERSION%/, $appdisplay_version)
|
1915
|
-
install_script = install_script.gsub(/%APP_EXECUTABLE%/, $appname + ".exe")
|
1916
|
-
install_script = install_script.gsub(/%SECTOIN_TITLE%/, "\"This installs " + $appname + "\"")
|
1917
|
-
install_script = install_script.gsub(/%FINISHPAGE_TEXT%/, "\"Thank you for installing " + $appname + " \\r\\n\\n\\n\"")
|
1918
|
-
install_script = install_script.gsub(/%APPINSTALLDIR%/, "C:\\" + $appname)
|
1919
|
-
install_script = install_script.gsub(/%APPICON%/, "icon.ico")
|
1920
|
-
install_script = install_script.gsub(/%GROUP_NAME%/, $vendorname)
|
1921
|
-
install_script = install_script.gsub(/%SECTION_NAME%/, "\"" + $appname + "\"")
|
1922
|
-
install_script = install_script.gsub(/%LICENSE_FILE%/, license_line)
|
1923
|
-
install_script = install_script.gsub(/%LICENSE_PRESENT%/, license_present)
|
1924
|
-
install_script = install_script.gsub(/%README_FILE%/, readme_line)
|
1925
|
-
install_script = install_script.gsub(/%README_PRESENT%/, readme_present)
|
1926
|
-
install_script = install_script.gsub(/%QT_VSPEC_FILES%/, vspec_files)
|
1927
|
-
install_script = install_script.gsub(/%VENDOR%/, $vendorname)
|
1928
|
-
File.open(app_script_name, "w") { |file| file.puts install_script }
|
1929
|
-
end
|
1930
|
-
|
1931
|
-
puts "$appname - " + $appname
|
1932
|
-
|
1933
|
-
cp $app_icon_path, $tmpdir + "/icon.ico"
|
1934
|
-
cp $qt_icon_path, $tmpdir + "/icon.png"
|
1935
|
-
|
1936
|
-
if !skip_nsis
|
1937
|
-
File.open(File.join($targetdir,"app_info.txt"), "w") { |f| f.write( $vendorname + "/" + $appname + "/" + $appname + ".exe") }
|
1938
|
-
end
|
1939
|
-
|
1940
|
-
chdir $tmpdir
|
1941
|
-
|
1942
|
-
if !skip_deployqt
|
1943
|
-
target_rho_dir = File.join($tmpdir, "rho")
|
1944
|
-
rm_rf target_rho_dir
|
1945
|
-
mv $srcdir, target_rho_dir
|
1946
|
-
end
|
1947
|
-
|
1948
|
-
$target_path = $tmpdir
|
1949
|
-
Rake::Task["build:win32:deployqt"].invoke unless skip_deployqt
|
1950
|
-
|
1951
|
-
if !skip_nsis
|
1952
|
-
puts "$nsis - " + $nsis
|
1953
|
-
args = ['"' + $tmpdir + "/" + $appname + ".nsi\""]
|
1954
|
-
puts "arg = " + args.to_s
|
1955
|
-
puts Jake.run2($nsis, args, {:nowait => false} )
|
1956
|
-
end
|
1957
|
-
end
|
1958
1110
|
|
1959
1111
|
namespace "winxpe" do
|
1960
1112
|
desc "Build installer for Windows XP Embedded"
|
@@ -1963,67 +1115,6 @@ namespace "device" do
|
|
1963
1115
|
Rake::Task["device:win32:production"].invoke
|
1964
1116
|
end
|
1965
1117
|
end
|
1966
|
-
|
1967
|
-
namespace "win32" do
|
1968
|
-
desc "Build installer for Windows"
|
1969
|
-
task :production => ["build:win32:set_release_config", "build:win32"] do
|
1970
|
-
createWin32Production()
|
1971
|
-
end
|
1972
|
-
|
1973
|
-
desc "Build Windows for production, use prebuild binaries"
|
1974
|
-
task :production_with_prebuild_binary do
|
1975
|
-
$prebuild_win32 = true
|
1976
|
-
Rake::Task["device:win32:build_with_prebuild_binary"].invoke
|
1977
|
-
end
|
1978
|
-
task :build_with_prebuild_binary => ["build:win32:set_release_config", "build:win32:rhobundle", "config:win32:application"] do
|
1979
|
-
container_path = determine_prebuild_path_win('win32', $app_config)
|
1980
|
-
|
1981
|
-
#Support build.yml settings on cloud by copying to rhoconfig.txt
|
1982
|
-
Rake::Task['config:common:ymlsetup'].invoke
|
1983
|
-
|
1984
|
-
Rake::Task['device:win32:apply_container'].invoke(container_path)
|
1985
|
-
createWin32Production(true,false)
|
1986
|
-
end
|
1987
|
-
|
1988
|
-
desc 'Creates application container. See also device:win32:apply_container.'
|
1989
|
-
task :make_container, [:container_prefix_path] => ["build:win32:set_release_config", "build:win32"] do |t, args|
|
1990
|
-
createWin32Production(false,true)
|
1991
|
-
|
1992
|
-
container_prefix_path = args[:container_prefix_path]
|
1993
|
-
|
1994
|
-
Dir.glob("#{container_prefix_path}*") {|f| rm_r(f)}
|
1995
|
-
mkdir_p container_prefix_path
|
1996
|
-
|
1997
|
-
cd $startdir
|
1998
|
-
rhodes_gem_paths = ([
|
1999
|
-
'platform/wm/bin/win32/rhodes/**/rhodes.exe'
|
2000
|
-
].map {|p| Dir.glob(p)}).flatten
|
2001
|
-
bin_exclude_files = [
|
2002
|
-
'bin/tmp/*.exe',
|
2003
|
-
'bin/tmp/*.time',
|
2004
|
-
'bin/tmp/*.ico',
|
2005
|
-
'bin/tmp/*.png',
|
2006
|
-
'bin/tmp/rho/RhoBundleMap.txt',
|
2007
|
-
'bin/tmp/rho/apps/rhoconfig.txt*',
|
2008
|
-
'bin/tmp/rho/apps/rhofilelist.txt',
|
2009
|
-
'bin/tmp/rho/apps/app',
|
2010
|
-
'bin/tmp/rho/apps/app_manifest.txt',
|
2011
|
-
'bin/tmp/rho/apps/public/public.txt'
|
2012
|
-
]
|
2013
|
-
|
2014
|
-
pack_7z($app_path, ['bin'], File.join(container_prefix_path, 'application_override.7z'), bin_exclude_files)
|
2015
|
-
pack_7z($startdir, rhodes_gem_paths, File.join(container_prefix_path, 'rhodes_gem_override.7z'))
|
2016
|
-
end
|
2017
|
-
|
2018
|
-
desc 'Applies application container. See also device:win32:make_container'
|
2019
|
-
task :apply_container, [:container_prefix_path] do |t, args|
|
2020
|
-
container_prefix_path = args[:container_prefix_path]
|
2021
|
-
|
2022
|
-
unpack_7z($app_path, File.join(container_prefix_path, 'application_override.7z'))
|
2023
|
-
unpack_7z($startdir, File.join(container_prefix_path, 'rhodes_gem_override.7z'))
|
2024
|
-
end
|
2025
|
-
|
2026
|
-
end
|
2027
1118
|
end
|
2028
1119
|
|
2029
1120
|
namespace "clean" do
|
@@ -2066,19 +1157,6 @@ namespace "clean" do
|
|
2066
1157
|
task :all => ["clean:wm:rhodes", "clean:common"]
|
2067
1158
|
end
|
2068
1159
|
|
2069
|
-
desc "Clean win32"
|
2070
|
-
task :win32 => ["config:set_win32_platform", "config:wm", "clean:common"]do
|
2071
|
-
rm_rf $vcbindir + "/win32"
|
2072
|
-
rm_rf $tmpdir
|
2073
|
-
rm_rf $targetdir
|
2074
|
-
rm_rf File.join($startdir, 'platform/shared/qt/rhodes/GeneratedFiles')
|
2075
|
-
rm_rf File.join($startdir, 'platform/win32/bin')
|
2076
|
-
rm_rf File.join($startdir, 'platform/wm/bin')
|
2077
|
-
|
2078
|
-
rm_rf File.join($app_path, "bin/tmp") if File.exists? File.join($app_path, "bin/tmp")
|
2079
|
-
rm_rf File.join($app_path, "bin/RhoBundle") if File.exists? File.join($app_path, "bin/RhoBundle")
|
2080
|
-
|
2081
|
-
end
|
2082
1160
|
|
2083
1161
|
desc "Clean winxpe"
|
2084
1162
|
task :winxpe => ["clean:win32"]do
|
@@ -2424,42 +1502,7 @@ namespace "run" do
|
|
2424
1502
|
end
|
2425
1503
|
end
|
2426
1504
|
|
2427
|
-
desc "Run win32"
|
2428
|
-
task :win32 => ["build:win32"] do
|
2429
|
-
unless $prebuild_win32
|
2430
|
-
rundir = File.join($config["build"]["wmpath"], "bin/win32/rhodes", $buildcfg )
|
2431
|
-
$target_path = rundir
|
2432
|
-
rundir = File.join(rundir, "rho");
|
2433
|
-
exefile = "../rhodes.exe"
|
2434
|
-
else
|
2435
|
-
rundir = $target_path
|
2436
|
-
exefile = $target_path + '/' + $appname + '.exe'
|
2437
|
-
end
|
2438
|
-
|
2439
|
-
Rake::Task["build:win32:deployqt"].invoke unless $prebuild_win32
|
2440
|
-
|
2441
|
-
app_rhodir = File.join($startdir, 'platform', 'win32', 'bin', 'RhoSimulator', 'rho')
|
2442
|
-
rm_rf app_rhodir if File.exists?(app_rhodir)
|
2443
|
-
bundleDir = File.join($bindir, 'RhoBundle')
|
2444
|
-
FileUtils.cp_r bundleDir, app_rhodir
|
2445
|
-
|
2446
|
-
cp $qt_icon_path, $target_path + "/icon.png"
|
2447
|
-
if $qtversionindex == 4
|
2448
|
-
cp File.join($qtdir, "bin/Qt5Core.dll"), $target_path
|
2449
|
-
end
|
2450
|
-
args = ['--remote-debugging-port=9090']
|
2451
|
-
# chdir rundir
|
2452
|
-
# Thread.new { Jake.run("bin\\win32\\rhodes\\Debug\\rhodes", args) }
|
2453
|
-
Jake.run2 exefile, args, {:directory => rundir, :nowait => true}
|
2454
|
-
|
2455
|
-
$stdout.flush
|
2456
|
-
chdir $startdir
|
2457
1505
|
|
2458
|
-
unless $? == 0
|
2459
|
-
puts "Error to run rhodes for win32"
|
2460
|
-
exit 1
|
2461
|
-
end
|
2462
|
-
end
|
2463
1506
|
|
2464
1507
|
namespace "rhosimulator" do
|
2465
1508
|
task :get_log => "config:common" do
|
@@ -2468,103 +1511,5 @@ namespace "run" do
|
|
2468
1511
|
end
|
2469
1512
|
end
|
2470
1513
|
|
2471
|
-
namespace "win32" do
|
2472
|
-
rhosim_task = lambda do |name, &block|
|
2473
|
-
task name => ["config:set_win32_platform", "config:common"] do
|
2474
|
-
$rhosim_config = "platform='win32'\r\n"
|
2475
|
-
block.()
|
2476
|
-
end
|
2477
|
-
end
|
2478
|
-
|
2479
|
-
desc "Run application on RhoSimulator"
|
2480
|
-
rhosim_task.(:rhosimulator) { Rake::Task["run:rhosimulator"].invoke }
|
2481
|
-
namespace :rhosimulator do
|
2482
|
-
rhosim_task.(:build) { Rake::Task["run:rhosimulator:build"].invoke }
|
2483
|
-
rhosim_task.(:debug) { Rake::Task["run:rhosimulator:run" ].invoke('wait') }
|
2484
|
-
end
|
2485
|
-
|
2486
|
-
task :package do
|
2487
|
-
$prebuild_win32 = true
|
2488
|
-
Rake::Task["run:win32:run_with_prebuild_binary"].invoke
|
2489
|
-
end
|
2490
|
-
|
2491
|
-
task :run_with_prebuild_binary => ["build:win32:set_release_config", "build:win32:rhobundle", "config:win32:application"] do
|
2492
|
-
container_path = determine_prebuild_path_win('win32', $app_config)
|
2493
|
-
Rake::Task['device:win32:apply_container'].invoke(container_path)
|
2494
|
-
|
2495
|
-
createWin32Production(true,true)
|
2496
|
-
|
2497
|
-
Rake::Task['run:win32'].invoke()
|
2498
|
-
end
|
2499
|
-
|
2500
|
-
task :delete_db do
|
2501
|
-
$buildcfg = $app_config["buildcfg"]
|
2502
|
-
$buildcfg = "Release" unless $buildcfg
|
2503
|
-
|
2504
|
-
db_path = 'platform/wm/bin/win32/rhodes/' + $buildcfg + '/rho/db'
|
2505
|
-
rm_rf db_path if File.exists?(db_path)
|
2506
|
-
end
|
2507
|
-
#run:win32:spec
|
2508
|
-
task :spec => [:delete_db] do
|
2509
|
-
|
2510
|
-
Jake.decorate_spec do
|
2511
|
-
|
2512
|
-
Rake::Task['build:win32'].invoke
|
2513
|
-
|
2514
|
-
#remove log file
|
2515
|
-
win32rhopath = File.join($startdir, $config["build"]["wmpath"],"bin/win32/rhodes/", $buildcfg, 'rho')
|
2516
|
-
win32logpath = File.join(win32rhopath,"RhoLog.txt")
|
2517
|
-
win32logpospath = File.join(win32rhopath,"RhoLog.txt_pos")
|
2518
|
-
win32configpath = File.join(win32rhopath,"apps/rhoconfig.txt.changes")
|
2519
|
-
rm_rf win32logpath if File.exists?(win32logpath)
|
2520
|
-
rm_rf win32logpospath if File.exists?(win32logpospath)
|
2521
|
-
rm_rf win32configpath if File.exists?(win32configpath)
|
2522
|
-
|
2523
|
-
Jake.before_run_spec
|
2524
|
-
start = Time.now
|
2525
|
-
|
2526
|
-
args = [' ']
|
2527
|
-
|
2528
|
-
targetFile = "../rhodes.exe"
|
2529
|
-
targetDirectory = File.join($config["build"]["wmpath"], "bin/win32/rhodes/", $buildcfg, "rho")
|
2530
|
-
targetFileFullName = File.join(targetDirectory, targetFile)
|
2531
|
-
start = Time.now
|
2532
|
-
if File.exists? targetFileFullName
|
2533
|
-
Jake.run3("#{File.join($qtdir, 'bin/windeployqt')} #{targetFileFullName}")
|
2534
|
-
end
|
2535
|
-
counter = 0
|
2536
|
-
Jake.run2(targetFile, args, {:directory => targetDirectory, :nowait => false}) do |line|
|
2537
|
-
counter += 1
|
2538
|
-
end
|
2539
|
-
counter = 0
|
2540
|
-
sleep(5)
|
2541
|
-
File.open(win32logpath, 'r:UTF-8').each do |line|
|
2542
|
-
counter += 1
|
2543
|
-
Jake.process_spec_output(line)
|
2544
|
-
end
|
2545
|
-
puts "Checked lines: " + counter.to_s
|
2546
|
-
Jake.process_spec_results(start)
|
2547
|
-
|
2548
|
-
$stdout.flush
|
2549
|
-
chdir $startdir
|
2550
|
-
|
2551
|
-
if ($failed > 0)
|
2552
|
-
puts "Specs failed with " + $failed.to_s + " failes"
|
2553
|
-
exit 1
|
2554
|
-
end
|
2555
|
-
end
|
2556
|
-
end
|
2557
|
-
|
2558
|
-
end
|
2559
|
-
|
2560
|
-
end
|
2561
1514
|
|
2562
|
-
namespace 'stop' do
|
2563
|
-
task :win32 => ['config:wm'] do
|
2564
|
-
Jake.get_process_list.each do |p|
|
2565
|
-
next unless p[:cmd] =~ /^bin\\win32\\rhodes\\#{$buildcfg}\\rhodes\.exe /
|
2566
|
-
Jake.run2('taskkill.exe', ['/F', '/PID', p[:pid]], {:hide_output => true})
|
2567
|
-
end
|
2568
|
-
end
|
2569
1515
|
end
|
2570
|
-
|