rhodes 6.2.0 → 7.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -10
- data/appveyor.yml +1 -1
- data/extensions/emdk3-manager/ext/platform/android/Rakefile +2 -0
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/Rakefile +18 -1
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/Rakefile +19 -1
- data/lib/commonAPI/RubyServer/ext.yml +21 -0
- data/lib/commonAPI/RubyServer/ext/RubyServer.xml +101 -0
- data/lib/commonAPI/RubyServer/ext/build +19 -0
- data/lib/commonAPI/RubyServer/ext/build.bat +29 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/Rakefile +161 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_java.files +9 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_native.files +7 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/Rakefile +73 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer.xcodeproj/project.pbxproj +322 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer_Prefix.pch +7 -0
- data/lib/commonAPI/RubyServer/ext/shared/RubyServerImpl.cpp +242 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactory.java +23 -3
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java +68 -8
- data/lib/commonAPI/barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +24 -52
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.h +38 -10
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.m +300 -22
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +6 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/barcode.m +6 -2
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/Barcode.m +7 -3
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeFactory.m +13 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeSingleton.m +25 -3
- data/lib/commonAPI/bluetooth/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/clipboard/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/coreapi/ext/Notification.xml +47 -0
- data/lib/commonAPI/coreapi/ext/platform/android/ApplicationManifestAdds.erb +1 -0
- data/lib/commonAPI/coreapi/ext/platform/android/Rakefile +19 -0
- data/lib/commonAPI/coreapi/ext/platform/android/ext_java.files +2 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/AlarmReceiver.java +27 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +28 -10
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationFactory.java +14 -1
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +260 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationSingleton.java +23 -1
- data/lib/commonAPI/coreapi/ext/platform/iphone/Coreapi.xcodeproj/project.pbxproj +21 -19
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +1 -0
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +234 -1
- data/lib/commonAPI/coreapi/ext/platform/qt/coreapi.pro +2 -0
- data/lib/commonAPI/coreapi/ext/platform/qt/src/CNotificationImpl.cpp +7 -0
- data/lib/commonAPI/coreapi/ext/shared/ApplicationImpl.cpp +5 -0
- data/lib/commonAPI/coreapi/public/api/rhoapi.js +18 -8
- data/lib/commonAPI/devicesecurity/ext/platform/android/Rakefile +19 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +16 -0
- data/lib/commonAPI/hardwarekeys/ext/keycapture.xml +11 -9
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.h +5 -3
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.m +80 -67
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java +25 -14
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java +55 -25
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +34 -9
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java +1 -0
- data/lib/commonAPI/printing_zebra/ext/platform/android/Rakefile +18 -0
- data/lib/commonAPI/sensor/ext/platform/android/src/com/rho/sensor/Sensor.java +4 -4
- data/lib/extensions/decrypt/ext/platform/android/Rakefile +19 -1
- data/lib/extensions/decryptstub/ext/platform/android/Rakefile +19 -0
- data/lib/extensions/decryptstub/ext/platform/iphone/Decryptstub.xcodeproj/project.pbxproj +4 -2
- data/lib/extensions/digest-md5/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha1/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha2/ext/android/Rakefile +18 -0
- data/lib/extensions/esri/ext/esri/platform/iphone/Classes/MapViewControllerESRI.h +19 -19
- data/lib/extensions/fcm-push/ext/android/Rakefile +18 -0
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +38 -16
- data/lib/extensions/gcm-push/ext/android/Rakefile +19 -0
- data/lib/extensions/keyboard/ext.yml +15 -0
- data/lib/extensions/keyboard/ext/Keyboard.xml +28 -0
- data/lib/extensions/keyboard/ext/build +19 -0
- data/lib/extensions/keyboard/ext/build.bat +29 -0
- data/lib/extensions/keyboard/ext/platform/android/Rakefile +141 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_java.files +9 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_native.files +7 -0
- data/lib/extensions/keyboard/ext/platform/android/jni/Keyboard_impl.cpp +61 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/Keyboard.java +32 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardFactory.java +18 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardSingleton.java +29 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard.xcodeproj/project.pbxproj +368 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard_Prefix.pch +7 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Rakefile +73 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.h +14 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.m +24 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardFactorySingleton.m +16 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSetup.m +9 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.h +17 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.m +23 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/readme.txt +7 -0
- data/lib/extensions/keyboard/ext/platform/qt/Keyboard.pro +68 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile +473 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile.Release +408 -0
- data/lib/extensions/keyboard/ext/platform/qt/Rakefile +39 -0
- data/lib/extensions/keyboard/ext/platform/qt/src/Keyboard_impl.cpp +99 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj.filters +50 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.csproj +119 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.props +8 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.targets +7 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj.filters +58 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cpp +76 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cs +69 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Properties/AssemblyInfo.cs +37 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.sln +52 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vcproj +714 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vsprops +15 -0
- data/lib/extensions/keyboard/ext/platform/wm/src/Keyboard_impl.cpp +77 -0
- data/lib/extensions/openssl.so.src/ext/android/Rakefile +18 -0
- data/lib/extensions/openssl.so/ext/android/aarch64/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/howtobuild.txt +2 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libcrypto.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Release-iphoneos/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Release-iphonesimulator/libopenssl.so.a +0 -0
- data/lib/extensions/openssl/ext/android/Rakefile +18 -0
- data/lib/extensions/zlib/ext/zlib.c +5 -1
- data/lib/framework/autocomplete/Rhodes.rb +1 -1
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/set.rb +799 -0
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/AndroidManifest.xml.erb +11 -2
- data/platform/android/Rhodes/jni/include/rhodes.h +6 -0
- data/platform/android/Rhodes/jni/include/rhodes/RhoClassFactory.h +3 -0
- data/platform/android/Rhodes/jni/include/rhodes/SecurityTokenGenerator.h +30 -0
- data/platform/android/Rhodes/jni/include/rhodes/details/rhojava.inc +1 -0
- data/platform/android/Rhodes/jni/src/JNIRhoRubyCppWrapper.cpp +408 -0
- data/platform/android/Rhodes/jni/src/RhoClassFactory.cpp +7 -0
- data/platform/android/Rhodes/jni/src/SecurityTokenGenerator.cpp +60 -0
- data/platform/android/Rhodes/jni/src/fileapi.cpp +318 -12
- data/platform/android/Rhodes/jni/src/mapview.cpp +4 -0
- data/platform/android/Rhodes/res/drawable/ic_notification.png +0 -0
- data/platform/android/Rhodes/res/xml/network_security_config.xml +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +9 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoMain.java +8 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyArrayObjects.java +33 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyClassObject.java +20 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyObject.java +115 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubySingleton.java +52 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyTypes.java +15 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +25 -13
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/SecurityTokenGenerator.java +57 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +9 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +3 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality11.java +13 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +105 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionalityManager.java +4 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +24 -4
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +20 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +10 -0
- data/platform/android/build/Rakefile +30 -1
- data/platform/android/build/RhodesSRC_build.files +8 -0
- data/platform/android/build/android.rake +326 -22
- data/platform/android/build/android_tools.rb +36 -3
- data/platform/android/build/androidcommon.rb +97 -44
- data/platform/android/build/librhocommon_build.files +11 -0
- data/platform/android/build/librhodes_build.files +2 -0
- data/platform/android/build/manifest_generator.rb +9 -2
- data/platform/android/build/maven_deps_extractor.rb +96 -15
- data/platform/android/build/ndkwrapper.rb +111 -16
- data/platform/android/build/pom.erb +2 -2
- data/platform/iphone/Classes/AppManager/AppManager.m +31 -1
- data/platform/iphone/Classes/MapView/GoogleGeocoder.h +3 -3
- data/platform/iphone/Classes/RhoMainViewStubImpl.h +38 -0
- data/platform/iphone/Classes/RhoMainViewStubImpl.m +88 -0
- data/platform/iphone/Classes/RhoUIWebView.h +5 -0
- data/platform/iphone/Classes/RhoUIWebView.m +14 -6
- data/platform/iphone/Classes/{RhoWKWebView.m → RhoWKWebView.mm} +98 -18
- data/platform/iphone/Classes/RhoWebView.h +1 -1
- data/platform/iphone/Classes/RhoWebViewFabrique.m +24 -12
- data/platform/iphone/Classes/Rhodes.h +7 -2
- data/platform/iphone/Classes/Rhodes.m +46 -8
- data/platform/iphone/Classes/SimpleMainView.m +22 -13
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.h +32 -3
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +93 -61
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.h +22 -0
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.m +246 -0
- data/platform/iphone/Classes/WebView.m +14 -2
- data/platform/iphone/Entitlements.plist +1 -1
- data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +399 -0
- data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1208 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Info.plist +24 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Rhodes.h +21 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/StubCode.m +15 -0
- data/platform/iphone/Info.plist +1 -3
- data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +511 -4
- data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +467 -1
- data/platform/iphone/Rhodes.xcodeproj/project.pbxproj +51 -274
- data/platform/iphone/RhodesBaseDelegate.h +1 -1
- data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +85 -3
- data/platform/iphone/rbuild/ApplicationPlist.erb +1 -1
- data/platform/iphone/rbuild/iphone.rake +497 -25
- data/platform/iphone/rbuild/iphonecommon.rb +15 -6
- data/platform/iphone/rhodes_stub.cpp +15 -0
- data/platform/iphone/rhodeslib/api/RhodesLib.h +28 -0
- data/platform/iphone/rhodeslib/impl/RhodesLib.m +52 -0
- data/platform/iphone/rhodesruby/api/IRefCountedObject.h +20 -0
- data/platform/iphone/rhodesruby/api/IRhoRuby.h +72 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyArray.h +12 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyBoolean.h +11 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyHash.h +15 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableArray.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableBoolean.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableHash.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableString.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNativeCallback.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNil.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyObject.h +37 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyRunnable.h +8 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyString.h +10 -0
- data/platform/iphone/rhodesruby/api/RhoRuby.h +26 -0
- data/platform/iphone/rhodesruby/api/RhoRubySingletone.h +14 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyFabrique.h +10 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.h +56 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.mm +432 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.mm +43 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.mm +38 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.mm +48 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.h +22 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.mm +11 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.h +31 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.mm +49 -0
- data/platform/iphone/rhodesruby/impl/RhoRubySingletone.m +19 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.mm +32 -0
- data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +79 -0
- data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +91 -0
- data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +85 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
- data/platform/shared/common/IRhoClassFactory.h +2 -0
- data/platform/shared/common/ISecurityTokenGenerator.h +16 -0
- data/platform/shared/common/RhoFile.cpp +11 -0
- data/platform/shared/common/RhoMath.h +14 -0
- data/platform/shared/common/RhoMutexLock.h +13 -0
- data/platform/shared/common/RhoSystem.h +1 -1
- data/platform/shared/common/RhoThread.cpp +25 -0
- data/platform/shared/common/RhodesApp.cpp +52 -6
- data/platform/shared/common/RhodesApp.h +25 -1
- data/platform/shared/common/RhodesAppBase.cpp +4 -2
- data/platform/shared/common/RhodesAppBase.h +5 -0
- data/platform/shared/common/iphone/RhoClassfactory.h +6 -0
- data/platform/shared/common/iphone/RhoCryptImpl.mm +21 -2
- data/platform/shared/common/map/BaseMapEngine.cpp +2 -2
- data/platform/shared/common/map/GeocodingMapEngine.cpp +1 -1
- data/platform/shared/common/map/GoogleMapEngine.cpp +1 -1
- data/platform/shared/common/map/OSMMapEngine.cpp +1 -1
- data/platform/shared/curl/lib/curl_config.h +28 -0
- data/platform/shared/db/DBAdapter.cpp +18 -10
- data/platform/shared/json.new/JSONIterator.cpp +2 -2
- data/platform/shared/net/HttpServer.cpp +32 -0
- data/platform/shared/net/HttpServer.h +15 -0
- data/platform/shared/net/INetRequest.cpp +54 -0
- data/platform/shared/qt/RhoRubylib.pro +10 -0
- data/platform/shared/qt/rhodes/impl/AlertImpl.cpp +13 -0
- data/platform/shared/qt/rhodes/impl/CameraImpl.cpp +6 -0
- data/platform/shared/qt/rhodes/impl/DateTimePickerImpl.cpp +4 -0
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.cpp +36 -7
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.h +12 -1
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.cpp +21 -2
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.h +1 -0
- data/platform/shared/qt/rhodes/impl/NativeToolbarImpl.cpp +10 -0
- data/platform/shared/qt/rhodes/impl/QtSystemImpl.cpp +55 -3
- data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +11 -0
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +71 -7
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.h +79 -2
- data/platform/shared/qt/rhodes/impl/RhodesImpl.cpp +16 -6
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.cpp +37 -0
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.h +25 -0
- data/platform/shared/qt/rhodes/impl/SignatureImpl.cpp +2 -0
- data/platform/shared/qt/rhodes/impl/WebViewImpl.cpp +27 -0
- data/platform/shared/qt/rhodes/impl/notificationsound.cpp +16 -2
- data/platform/shared/qt/rhodes/impl/notificationsound.h +11 -1
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.cpp +25 -16
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.h +3 -0
- data/platform/shared/qt/rhodes/newVersion/WebUrlRequestInterceptor.cpp +17 -0
- data/platform/shared/qt/rhodes/rhodes.pro +68 -14
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.cpp +148 -0
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.h +12 -0
- data/platform/shared/qt/rholib/rholib.pro +33 -5
- data/platform/shared/qt/rhoruby_win32_build.bat +19 -0
- data/platform/shared/qt/rhoruby_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rhosimulator_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rubylib/rubylib.pro +1 -0
- data/platform/shared/qt/sqlite3/sqlite3.pro +1 -0
- data/platform/shared/qt/syncengine/syncengine.pro +1 -0
- data/platform/shared/rhoruby/api/IArray.h +20 -0
- data/platform/shared/rhoruby/api/IBoolean.h +17 -0
- data/platform/shared/rhoruby/api/IFloat.h +17 -0
- data/platform/shared/rhoruby/api/IHash.h +23 -0
- data/platform/shared/rhoruby/api/IInteger.h +18 -0
- data/platform/shared/rhoruby/api/IMutableArray.h +18 -0
- data/platform/shared/rhoruby/api/IMutableBoolean.h +18 -0
- data/platform/shared/rhoruby/api/IMutableFloat.h +17 -0
- data/platform/shared/rhoruby/api/IMutableHash.h +18 -0
- data/platform/shared/rhoruby/api/IMutableInteger.h +17 -0
- data/platform/shared/rhoruby/api/IMutableString.h +17 -0
- data/platform/shared/rhoruby/api/INil.h +16 -0
- data/platform/shared/rhoruby/api/IObject.h +46 -0
- data/platform/shared/rhoruby/api/IRefCountedObject.h +20 -0
- data/platform/shared/rhoruby/api/IRhoRuby.h +78 -0
- data/platform/shared/rhoruby/api/IRunnable.h +17 -0
- data/platform/shared/rhoruby/api/IString.h +17 -0
- data/platform/shared/rhoruby/api/RhoRuby.h +29 -0
- data/platform/shared/rhoruby/api/RhoRubySingletone.h +19 -0
- data/platform/shared/rhoruby/api/SmartPointer.h +27 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.cpp +54 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.h +48 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.cpp +44 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.cpp +64 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.h +49 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.cpp +52 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.h +44 -0
- data/platform/shared/rhoruby/impl/NilImpl.cpp +23 -0
- data/platform/shared/rhoruby/impl/NilImpl.h +32 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.cpp +77 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.h +53 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.cpp +28 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.h +33 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.cpp +799 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.h +81 -0
- data/platform/shared/rhoruby/impl/RhoRubySingletone.cpp +20 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.cpp +32 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/shared/ruby/android/ruby/config.h +55 -3
- data/platform/shared/ruby/error.c +1 -1
- data/platform/shared/ruby/ext/rho/rhoruby.c +60 -7
- data/platform/shared/ruby/ext/rho/rhoruby.h +3 -0
- data/platform/shared/rubyext/NativeToolbarExt.h +1 -0
- data/platform/uwp/rhodes/rhodes_TemporaryKey.pfx +0 -0
- data/platform/uwp/rhoruntime/common/RhoClassFactory.h +6 -0
- data/platform/win32/RhoSimulator/Qt5Core.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Gui.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Multimedia.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Network.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Positioning.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5PrintSupport.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Qml.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Quick.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5QuickWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5SerialPort.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Svg.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebChannel.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngine.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineCore.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Widgets.dll +0 -0
- data/platform/win32/RhoSimulator/QtWebEngineProcess.exe +0 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_wasapi.dll +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_windows.dll +0 -0
- data/platform/win32/RhoSimulator/bearer/qgenericbearer.dll +0 -0
- data/platform/win32/RhoSimulator/iconengines/qsvgicon.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qgif.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qicns.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qico.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qjpeg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qsvg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtga.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtiff.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwbmp.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwebp.dll +0 -0
- data/platform/win32/RhoSimulator/libEGL.dll +0 -0
- data/platform/win32/RhoSimulator/libGLESV2.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/dsengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/qtmedia_audioengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/wmfengine.dll +0 -0
- data/platform/win32/RhoSimulator/platforms/qwindows.dll +0 -0
- data/platform/win32/RhoSimulator/playlistformats/qtmultimedia_m3u.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_geoclue.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_positionpoll.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_serialnmea.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_winrt.dll +0 -0
- data/platform/win32/RhoSimulator/printsupport/windowsprintersupport.dll +0 -0
- data/platform/wm/build/wm.rake +110 -5
- data/platform/wm/rhodes/rho/common/ExtManager.cpp +30 -0
- data/platform/wm/rhodes/rho/common/RhoClassFactory.h +6 -0
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +3 -0
- data/platform/wm/rubylib/rubylib.vcxproj +6 -0
- data/platform/wp8/rhoruntime/common/RhoClassFactory.h +6 -0
- data/rakefile.rb +14 -10
- data/res/build-tools/iphonesim/build/Release/iphonesim_8 +23 -15
- data/res/build-tools/maven/LICENSE +18 -89
- data/res/build-tools/maven/NOTICE +1 -1
- data/res/build-tools/maven/README.txt +12 -12
- data/res/build-tools/maven/bin/m2.conf +2 -2
- data/res/build-tools/maven/bin/mvn +122 -125
- data/res/build-tools/maven/bin/mvn.cmd +205 -0
- data/res/build-tools/maven/bin/mvnDebug +10 -176
- data/res/build-tools/maven/bin/mvnDebug.cmd +33 -0
- data/res/build-tools/maven/bin/mvnyjp +9 -181
- data/res/build-tools/maven/boot/plexus-classworlds-2.6.0.jar +0 -0
- data/res/build-tools/maven/conf/logging/simplelogger.properties +8 -1
- data/res/build-tools/maven/conf/settings.xml +1 -1
- data/res/build-tools/maven/conf/toolchains.xml +103 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations-1.14.jar +0 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations.license +14 -0
- data/res/build-tools/maven/lib/checker-compat-qual-2.0.0.jar +0 -0
- data/res/build-tools/maven/lib/checker-compat-qual.license +14 -0
- data/res/build-tools/maven/lib/commons-cli-1.4.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.5.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang3-3.8.1.jar +0 -0
- data/res/build-tools/maven/lib/error_prone_annotations-2.1.3.jar +0 -0
- data/res/build-tools/maven/lib/guava-25.1-android.jar +0 -0
- data/res/build-tools/maven/lib/guice-4.2.1-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/j2objc-annotations-1.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-1.17.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-native/README.txt +7 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/osx/libjansi.jnilib +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows32/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows64/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j.license +14 -0
- data/res/build-tools/maven/lib/jsr250-api.license +383 -405
- data/res/build-tools/maven/lib/jsr305-3.0.2.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-builder-support-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-core-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-api-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-connector-basic-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-impl-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-spi-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-transport-wagon-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-util-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-shared-utils-3.2.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-slf4j-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject.license +210 -261
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus.license +210 -261
- data/res/build-tools/maven/lib/plexus-component-annotations-1.7.1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.25.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.4.jar +0 -0
- data/res/build-tools/maven/lib/plexus-utils-3.2.0.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api.license +10 -186
- data/res/build-tools/maven/lib/wagon-file-3.3.2.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-3.3.2-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api-3.3.2.jar +0 -0
- data/res/generators/rhogen.rb +150 -0
- data/res/generators/templates/application/AndroidManifest.erb +13 -4
- data/res/generators/templates/application/build.yml +9 -0
- data/res/generators/templates/application/nodejs_build.yml +1 -1
- data/res/generators/templates/application/resources/android/res/xml/network_security_config.xml +7 -0
- data/res/generators/templates/application/rhoconfig.txt +13 -6
- data/res/generators/templates/application/rhoconfig_rubynode.txt +139 -0
- data/res/generators/templates/application/rubynodejs_build.yml +95 -0
- data/res/generators/templates/extension/extensions/montana/ext/platform/android/Rakefile +19 -0
- data/res/generators/templates/iphone_project/root/Entitlements.plist +1 -1
- data/res/generators/templates/iphone_project/root/Info.plist +1 -3
- data/res/generators/templates/iphone_project/root/rhorunner_development.entitlements +1 -1
- data/res/generators/templates/iphone_project/root/rhorunner_production.entitlements +1 -1
- data/rhodes.gemspec +2 -2
- data/version +1 -1
- metadata +244 -71
- data/res/build-tools/maven/bin/mvn.bat +0 -197
- data/res/build-tools/maven/bin/mvnDebug.bat +0 -200
- data/res/build-tools/maven/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/res/build-tools/maven/lib/aether-api-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-api.license +0 -261
- data/res/build-tools/maven/lib/aether-connector-basic-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-connector-basic.license +0 -261
- data/res/build-tools/maven/lib/aether-impl-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-impl.license +0 -261
- data/res/build-tools/maven/lib/aether-spi-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-spi.license +0 -261
- data/res/build-tools/maven/lib/aether-transport-wagon-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-transport-wagon.license +0 -261
- data/res/build-tools/maven/lib/aether-util-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-util.license +0 -261
- data/res/build-tools/maven/lib/cdi-api.license +0 -445
- data/res/build-tools/maven/lib/commons-cli-1.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang-2.6.jar +0 -0
- data/res/build-tools/maven/lib/guava-18.0.jar +0 -0
- data/res/build-tools/maven/lib/jsoup-1.7.2.jar +0 -0
- data/res/build-tools/maven/lib/jsoup.license +0 -66
- data/res/build-tools/maven/lib/maven-aether-provider-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-aether-provider.license +0 -202
- data/res/build-tools/maven/lib/maven-artifact-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact.license +0 -202
- data/res/build-tools/maven/lib/maven-compat-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat.license +0 -202
- data/res/build-tools/maven/lib/maven-core-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-core.license +0 -202
- data/res/build-tools/maven/lib/maven-embedder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder.license +0 -202
- data/res/build-tools/maven/lib/maven-model-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-model.license +0 -202
- data/res/build-tools/maven/lib/maven-plugin-api-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api.license +0 -202
- data/res/build-tools/maven/lib/maven-repository-metadata-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata.license +0 -202
- data/res/build-tools/maven/lib/maven-settings-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-settings.license +0 -202
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-cipher.license +0 -445
- data/res/build-tools/maven/lib/plexus-component-annotations-1.5.5.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.21.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher.license +0 -445
- data/res/build-tools/maven/lib/plexus-utils-3.0.20.jar +0 -0
- data/res/build-tools/maven/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple.license +0 -190
- data/res/build-tools/maven/lib/wagon-file-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-file.license +0 -202
- data/res/build-tools/maven/lib/wagon-http-2.8-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared.license +0 -202
- data/res/build-tools/maven/lib/wagon-http.license +0 -202
- data/res/build-tools/maven/lib/wagon-provider-api-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api.license +0 -202
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/platform/wm/build/wm.rake
CHANGED
@@ -25,6 +25,7 @@
|
|
25
25
|
#------------------------------------------------------------------------
|
26
26
|
require 'rubygems'
|
27
27
|
$zippath = "res/build-tools/7za.exe"
|
28
|
+
$rhodes_as_lib = false
|
28
29
|
|
29
30
|
VS_FIXEDFILEINFO = Struct.new("VS_FIXEDFILEINFO", :Signature, :StrucVersion, :FileVersionMS, :FileVersionLS, :ProductVersionMS, :ProductVersionLS, :FileFlagsMask, :FileFlags, :FileOS, :FileType, :FileSubtype, :FileDateMS, :FileDateLS)
|
30
31
|
|
@@ -1048,6 +1049,10 @@ namespace "build" do
|
|
1048
1049
|
ENV['RHO_QMAKE_SPEC'] = $qmake_makespec
|
1049
1050
|
ENV['RHO_VSCMNTOOLS'] = $vscommontools
|
1050
1051
|
|
1052
|
+
if($debug and !$rhosimulator_build)
|
1053
|
+
ENV['RHO_QMAKE_VARS'] = ENV['RHO_QMAKE_VARS'] + " CONFIG+=debug CONFIG-=release"
|
1054
|
+
end
|
1055
|
+
|
1051
1056
|
if File.exists? File.join(extpath, 'build.bat')
|
1052
1057
|
clean_ext_vsprops(commin_ext_path) if $wm_win32_ignore_vsprops
|
1053
1058
|
Jake.run3('build.bat', extpath)
|
@@ -1197,6 +1202,57 @@ namespace "build" do
|
|
1197
1202
|
end #wm
|
1198
1203
|
|
1199
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
|
+
|
1200
1256
|
task :deployqt => "config:win32:qt" do
|
1201
1257
|
|
1202
1258
|
FileUtils.rm_rf(Dir.glob(File.join($target_path, 'msvc*0.dll')), {:secure => true})
|
@@ -1504,10 +1560,14 @@ namespace "build" do
|
|
1504
1560
|
ENV['VCBUILD'] = $vcbuild
|
1505
1561
|
ENV['RHO_VSPROJ_SDK_PLATFORM'] = $sdk
|
1506
1562
|
ENV['RHO_QMAKE'] = $qmake
|
1507
|
-
ENV['RHO_QMAKE_VARS'] = $rhosimulator_build ? 'RHOSIMULATOR_BUILD=1' :
|
1563
|
+
ENV['RHO_QMAKE_VARS'] = $rhosimulator_build ? 'RHOSIMULATOR_BUILD=1' : ""
|
1508
1564
|
ENV['RHO_QMAKE_SPEC'] = $qmake_makespec
|
1509
1565
|
ENV['RHO_VSCMNTOOLS'] = $vscommontools
|
1510
1566
|
|
1567
|
+
if($debug and !$rhosimulator_build)
|
1568
|
+
ENV['RHO_QMAKE_VARS'] = ENV['RHO_QMAKE_VARS'] + " CONFIG+=debug CONFIG-=release"
|
1569
|
+
end
|
1570
|
+
|
1511
1571
|
clean_ext_vsprops(commin_ext_path) if $wm_win32_ignore_vsprops
|
1512
1572
|
Jake.run3('build.bat', extpath)
|
1513
1573
|
end
|
@@ -1593,7 +1653,19 @@ PRE_TARGETDEPS += #{pre_targetdeps}
|
|
1593
1653
|
|
1594
1654
|
ENV['RHO_QMAKE_SPEC'] = $qmake_makespec
|
1595
1655
|
ENV['RHO_VSCMNTOOLS'] = $vscommontools
|
1596
|
-
|
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
|
1597
1669
|
|
1598
1670
|
chdir $startdir
|
1599
1671
|
|
@@ -1626,12 +1698,35 @@ PRE_TARGETDEPS += #{pre_targetdeps}
|
|
1626
1698
|
|
1627
1699
|
ENV['RHO_QMAKE_SPEC'] = $qmake_makespec
|
1628
1700
|
ENV['RHO_VSCMNTOOLS'] = $vscommontools
|
1629
|
-
|
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
|
1630
1714
|
$target_path = File.join( $startdir, $vcbindir, $sdk, 'rhodes', $buildcfg)
|
1631
1715
|
if not File.directory?($target_path)
|
1632
1716
|
Dir.mkdir($target_path)
|
1633
1717
|
end
|
1634
|
-
|
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
|
1635
1730
|
|
1636
1731
|
chdir $startdir
|
1637
1732
|
end
|
@@ -1757,7 +1852,17 @@ namespace "device" do
|
|
1757
1852
|
mkdir_p $tmpdir unless skip_deployqt
|
1758
1853
|
mkdir_p out_dir
|
1759
1854
|
|
1760
|
-
|
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
|
1761
1866
|
|
1762
1867
|
script_name = File.join($startdir, "platform", "wm", "build", "rhodes.nsi")
|
1763
1868
|
app_script_name = File.join($tmpdir, $appname + ".nsi")
|
@@ -82,7 +82,11 @@ CRhoExtData CExtManager::makeExtData()
|
|
82
82
|
oData.m_hWnd = 0;
|
83
83
|
oData.m_hInstance = 0;
|
84
84
|
#endif
|
85
|
+
#ifndef RHODES_VERSION_LIBRARY
|
85
86
|
oData.m_iTabIndex = rho_webview_active_tab();
|
87
|
+
#else
|
88
|
+
oData.m_iTabIndex = -1;
|
89
|
+
#endif
|
86
90
|
#if !defined(OS_WINDOWS_DESKTOP)
|
87
91
|
if(getAppWindow().getWebKitEngine())
|
88
92
|
oData.m_hBrowserWnd = getAppWindow().getWebKitEngine()->GetHTMLWND(oData.m_iTabIndex);
|
@@ -169,7 +173,9 @@ unsigned long CExtManager::parseJsonToRubyHash(const char* szJson)
|
|
169
173
|
|
170
174
|
void CExtManager::navigate(const wchar_t* szUrl)
|
171
175
|
{
|
176
|
+
#ifndef RHODES_VERSION_LIBRARY
|
172
177
|
rho_webview_navigate( convertToStringA(szUrl).c_str(), -1 );
|
178
|
+
#endif
|
173
179
|
}
|
174
180
|
|
175
181
|
bool CExtManager::existsJavascript(const wchar_t* szJSFunction)
|
@@ -240,6 +246,7 @@ bool CExtManager::DeRegisterForPrimaryBrowserMessage(unsigned int iMsgId)
|
|
240
246
|
|
241
247
|
void CExtManager::executeJavascript(const wchar_t* szJSFunction)
|
242
248
|
{
|
249
|
+
#ifndef RHODES_VERSION_LIBRARY
|
243
250
|
TNavigateData* nd = new TNavigateData();
|
244
251
|
nd->index = rho_webview_active_tab();
|
245
252
|
#ifndef RHODES_QT_PLATFORM
|
@@ -249,31 +256,46 @@ void CExtManager::executeJavascript(const wchar_t* szJSFunction)
|
|
249
256
|
nd->url = wcsdup(szJSFunction);
|
250
257
|
CMainWindow::getInstance()->executeJavaScriptCommand(nd);
|
251
258
|
#endif
|
259
|
+
#endif
|
252
260
|
}
|
253
261
|
|
254
262
|
StringW CExtManager::getCurrentUrl()
|
255
263
|
{
|
264
|
+
#ifndef RHODES_VERSION_LIBRARY
|
256
265
|
return convertToStringW(RHODESAPP().getCurrentUrl(rho_webview_active_tab()));
|
266
|
+
#else
|
267
|
+
return convertToStringW(RHODESAPP().getCurrentUrl(-1));
|
268
|
+
#endif
|
257
269
|
}
|
258
270
|
|
259
271
|
void CExtManager::historyForward()
|
260
272
|
{
|
273
|
+
#ifndef RHODES_VERSION_LIBRARY
|
261
274
|
rho_webview_navigate_forward();
|
275
|
+
#endif
|
262
276
|
}
|
263
277
|
|
264
278
|
void CExtManager::historyBack()
|
265
279
|
{
|
280
|
+
#ifndef RHODES_VERSION_LIBRARY
|
266
281
|
rho_webview_navigate_back();
|
282
|
+
#endif
|
267
283
|
}
|
268
284
|
|
269
285
|
int CExtManager::getCurrentTabID()
|
270
286
|
{
|
287
|
+
#ifndef RHODES_VERSION_LIBRARY
|
271
288
|
return rho_webview_active_tab();
|
289
|
+
#else
|
290
|
+
return -1;
|
291
|
+
#endif
|
272
292
|
}
|
273
293
|
|
274
294
|
void CExtManager::refreshPage(bool bFromCache)
|
275
295
|
{
|
296
|
+
#ifndef RHODES_VERSION_LIBRARY
|
276
297
|
rho_webview_refresh(rho_webview_active_tab());
|
298
|
+
#endif
|
277
299
|
}
|
278
300
|
|
279
301
|
void CExtManager::stopNavigate()
|
@@ -285,7 +307,9 @@ void CExtManager::stopNavigate()
|
|
285
307
|
|
286
308
|
void CExtManager::quitApp()
|
287
309
|
{
|
310
|
+
#ifndef RHODES_VERSION_LIBRARY
|
288
311
|
rho_sys_app_exit();
|
312
|
+
#endif
|
289
313
|
}
|
290
314
|
|
291
315
|
#ifndef RHODES_QT_PLATFORM
|
@@ -305,8 +329,10 @@ void CExtManager::minimizeApp()
|
|
305
329
|
::PostMessage( getMainWnd(), WM_WINDOW_MINIMIZE, 0, 0 );
|
306
330
|
#endif
|
307
331
|
#else
|
332
|
+
#ifndef RHODES_VERSION_LIBRARY
|
308
333
|
CMainWindow::getInstance()->minimizeWindowCommand();
|
309
334
|
#endif
|
335
|
+
#endif
|
310
336
|
}
|
311
337
|
|
312
338
|
void CExtManager::restoreApp()
|
@@ -318,8 +344,10 @@ void CExtManager::restoreApp()
|
|
318
344
|
rho_callInUIThread(__minimize_restoreApp, SW_SHOW);
|
319
345
|
#endif
|
320
346
|
#else
|
347
|
+
#ifndef RHODES_VERSION_LIBRARY
|
321
348
|
CMainWindow::getInstance()->restoreWindowCommand();
|
322
349
|
#endif
|
350
|
+
#endif
|
323
351
|
}
|
324
352
|
|
325
353
|
void CExtManager::resizeBrowserWindow(RECT rc)
|
@@ -327,8 +355,10 @@ void CExtManager::resizeBrowserWindow(RECT rc)
|
|
327
355
|
#ifndef RHODES_QT_PLATFORM
|
328
356
|
//::MoveWindow( getMainWnd(), rc.left, rc.top, rc.right-rc.left, rc.bottom-rc.top, TRUE );
|
329
357
|
#else
|
358
|
+
#ifndef RHODES_VERSION_LIBRARY
|
330
359
|
CMainWindow::getInstance()->setFrame(rc.left, rc.top, rc.right-rc.left, rc.bottom-rc.top);
|
331
360
|
#endif
|
361
|
+
#endif
|
332
362
|
}
|
333
363
|
|
334
364
|
void CExtManager::zoomPage(float fZoom)
|
@@ -29,6 +29,7 @@
|
|
29
29
|
#include "common/IRhoClassFactory.h"
|
30
30
|
#include "../net/NetRequestImpl.h"
|
31
31
|
#include "RhoThreadImpl.h"
|
32
|
+
#include "common/ISecurityTokenGenerator.h"
|
32
33
|
|
33
34
|
namespace rho {
|
34
35
|
namespace common {
|
@@ -52,6 +53,11 @@ public:
|
|
52
53
|
return NULL;
|
53
54
|
}
|
54
55
|
|
56
|
+
const rho::common::ISecurityTokenGenerator* createSecurityTokenGenerator()
|
57
|
+
{
|
58
|
+
return nullptr;
|
59
|
+
}
|
60
|
+
|
55
61
|
virtual IRhoCrypt* createRhoCrypt();
|
56
62
|
};
|
57
63
|
|
@@ -37,6 +37,8 @@
|
|
37
37
|
#include "common/RhoDefs.h"
|
38
38
|
#include "common/RhoStd.h"
|
39
39
|
#undef null
|
40
|
+
|
41
|
+
#ifndef RHODES_VERSION_LIBRARY
|
40
42
|
#include <qglobal.h>
|
41
43
|
#ifndef OS_SAILFISH
|
42
44
|
#if QT_VERSION > QT_VERSION_CHECK(5,7,0)
|
@@ -48,6 +50,7 @@
|
|
48
50
|
#endif
|
49
51
|
#endif
|
50
52
|
#include "../../qt/rhodes/impl/MainWindowImpl.h"
|
53
|
+
#endif// RHODES_VERSION_LIBRARY
|
51
54
|
|
52
55
|
#else // RHODES_QT_PLATFORM
|
53
56
|
|
@@ -273,6 +273,12 @@
|
|
273
273
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_RubyCompiler|Win32'">true</ExcludedFromBuild>
|
274
274
|
</ClCompile>
|
275
275
|
<ClCompile Include="..\..\shared\ruby\ext\rho\rhoruby.c" />
|
276
|
+
<ClCompile Include="..\..\shared\ruby\ext\io\wait\wait.c" />
|
277
|
+
<ClCompile Include="..\..\shared\ruby\ext\io\nonblock\nonblock.c" />
|
278
|
+
<ClCompile Include="..\..\shared\ruby\ext\date\date_core.c" />
|
279
|
+
<ClCompile Include="..\..\shared\ruby\ext\date\date_parse.c" />
|
280
|
+
<ClCompile Include="..\..\shared\ruby\ext\date\date_strftime.c" />
|
281
|
+
<ClCompile Include="..\..\shared\ruby\ext\date\date_strptime.c" />
|
276
282
|
<ClCompile Include="..\..\shared\ruby\ext\rho\rhosupport.c">
|
277
283
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_RubyCompiler|Win32'">false</ExcludedFromBuild>
|
278
284
|
</ClCompile>
|
@@ -29,6 +29,7 @@
|
|
29
29
|
#include "common/IRhoClassFactory.h"
|
30
30
|
#include "net/CURLNetRequest.h"
|
31
31
|
#include "RhoThreadImpl.h"
|
32
|
+
#include "common/ISecurityTokenGenerator.h"
|
32
33
|
|
33
34
|
namespace rho {
|
34
35
|
namespace common {
|
@@ -47,6 +48,11 @@ public:
|
|
47
48
|
return new CRhoThreadImpl;
|
48
49
|
}
|
49
50
|
|
51
|
+
const rho::common::ISecurityTokenGenerator* createSecurityTokenGenerator()
|
52
|
+
{
|
53
|
+
return nullptr;
|
54
|
+
}
|
55
|
+
|
50
56
|
virtual net::ISSL* createSSLEngine();
|
51
57
|
virtual IRhoCrypt* createRhoCrypt();
|
52
58
|
};
|
data/rakefile.rb
CHANGED
@@ -138,7 +138,7 @@ end
|
|
138
138
|
Jake.set_logger( $logger )
|
139
139
|
|
140
140
|
|
141
|
-
def print_timestamp(msg = 'just for info')
|
141
|
+
def print_timestamp(msg = 'just for info')
|
142
142
|
if $timestamp_start_milliseconds == 0
|
143
143
|
$timestamp_start_milliseconds = (Time.now.to_f*1000.0).to_i
|
144
144
|
end
|
@@ -198,7 +198,7 @@ namespace "framework" do
|
|
198
198
|
end
|
199
199
|
end
|
200
200
|
|
201
|
-
$application_build_configs_keys = ['encrypt_files_key', 'nodejs_application', 'security_token', 'encrypt_database', 'use_deprecated_encryption','android_title', 'iphone_db_in_approot', 'iphone_set_approot', 'iphone_userpath_in_approot', "iphone_use_new_ios7_status_bar_style", "iphone_full_screen", "webkit_outprocess", "webengine", "iphone_enable_startup_logging"]
|
201
|
+
$application_build_configs_keys = ['encrypt_files_key', 'nodejs_application', 'rubynodejs_application', 'security_token', 'encrypt_database', 'use_deprecated_encryption','android_title', 'iphone_db_in_approot', 'iphone_set_approot', 'iphone_userpath_in_approot', "iphone_use_new_ios7_status_bar_style", "iphone_full_screen", "webkit_outprocess", "webengine", "iphone_enable_startup_logging"]
|
202
202
|
|
203
203
|
$winxpe_build = false
|
204
204
|
|
@@ -208,7 +208,7 @@ def make_application_build_config_header_file
|
|
208
208
|
#f.puts "// Generated #{Time.now.to_s}"
|
209
209
|
f.puts ""
|
210
210
|
f.puts "#include <string.h>"
|
211
|
-
f.puts "#include
|
211
|
+
f.puts "#include \"common/RhoConf.h\""
|
212
212
|
f.puts ""
|
213
213
|
f.puts '//#include "app_build_configs.h"'
|
214
214
|
if $rhosimulator_build
|
@@ -2255,9 +2255,11 @@ namespace "config" do
|
|
2255
2255
|
$use_shared_runtime = Jake.getBuildBoolProp("use_shared_runtime")
|
2256
2256
|
$js_application = Jake.getBuildBoolProp("javascript_application")
|
2257
2257
|
$nodejs_application = Jake.getBuildBoolProp("nodejs_application")
|
2258
|
+
$rubynodejs_application = Jake.getBuildBoolProp("rubynodejs_application")
|
2258
2259
|
|
2259
2260
|
$logger.debug '%%%_%%% $js_application = '+$js_application.to_s
|
2260
2261
|
$logger.debug '%%%_%%% $nodejs_application = '+$nodejs_application.to_s
|
2262
|
+
$logger.debug '%%%_%%% $rubynodejs_application = '+$rubynodejs_application.to_s
|
2261
2263
|
|
2262
2264
|
if !$js_application && !$nodejs_application && !Dir.exists?(File.join($app_path, "app"))
|
2263
2265
|
BuildOutput.error([
|
@@ -2564,14 +2566,14 @@ def init_extensions(dest, mode = "")
|
|
2564
2566
|
rhoapi_js_folder = nil
|
2565
2567
|
rhoapi_nodejs_folder = nil
|
2566
2568
|
if !dest.nil?
|
2567
|
-
if $nodejs_application
|
2569
|
+
if $nodejs_application || $rubynodejs_application
|
2568
2570
|
rhoapi_js_folder = File.join( File.dirname(dest), "apps/nodejs/server/public/api" )
|
2569
2571
|
else
|
2570
2572
|
rhoapi_js_folder = File.join( File.dirname(dest), "apps/public/api" )
|
2571
2573
|
end
|
2572
2574
|
rhoapi_nodejs_folder = File.join( File.dirname(dest), "apps/nodejs/rhoapi" )
|
2573
2575
|
elsif mode == "update_rho_modules_js"
|
2574
|
-
if $nodejs_application
|
2576
|
+
if $nodejs_application || $rubynodejs_application
|
2575
2577
|
rhoapi_js_folder = File.join( $app_path, "nodejs/server/public/api" )
|
2576
2578
|
else
|
2577
2579
|
rhoapi_js_folder = File.join( $app_path, "public/api" )
|
@@ -3416,7 +3418,7 @@ namespace "build" do
|
|
3416
3418
|
end
|
3417
3419
|
else
|
3418
3420
|
puts `#{cmd_str}`
|
3419
|
-
end
|
3421
|
+
end
|
3420
3422
|
unless $? == 0
|
3421
3423
|
puts "Error interpreting erb code"
|
3422
3424
|
exit 1
|
@@ -3962,12 +3964,12 @@ namespace "build" do
|
|
3962
3964
|
msbuild = "msbuild" if msbuild.nil?
|
3963
3965
|
|
3964
3966
|
rho_ruby_project = File.join($startdir, "platform/win32/RubyWin/RubyWin.2015.sln")
|
3965
|
-
argsClean = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
|
3966
|
-
'/p:VisualStudioVersion=14.0', '/t:Clean']
|
3967
|
+
argsClean = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
|
3968
|
+
'/p:VisualStudioVersion=14.0', '/t:Clean']
|
3967
3969
|
Jake.run(msbuild, argsClean)
|
3968
3970
|
|
3969
|
-
argsBuild = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
|
3970
|
-
'/p:VisualStudioVersion=14.0', '/t:Build']
|
3971
|
+
argsBuild = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
|
3972
|
+
'/p:VisualStudioVersion=14.0', '/t:Build']
|
3971
3973
|
Jake.run(msbuild, argsBuild)
|
3972
3974
|
puts "RhoRuby rebuilded"
|
3973
3975
|
end
|
@@ -4044,6 +4046,8 @@ namespace "run" do
|
|
4044
4046
|
sim_conf = "rhodes_path='#{$startdir}'\r\n"
|
4045
4047
|
sim_conf += "app_version='#{$app_config["version"]}'\r\n"
|
4046
4048
|
sim_conf += "app_name='#{$appname}'\r\n"
|
4049
|
+
sim_conf += "rhodes_gem_version='#{ENV['rhodes_version']}'\r\n"
|
4050
|
+
|
4047
4051
|
if ( ENV['rho_reload_app_changes'] )
|
4048
4052
|
sim_conf += "reload_app_changes=#{ENV['rho_reload_app_changes']}\r\n"
|
4049
4053
|
else
|