rhodes 6.2.0 → 7.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -10
- data/appveyor.yml +1 -1
- data/extensions/emdk3-manager/ext/platform/android/Rakefile +2 -0
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/Rakefile +18 -1
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/Rakefile +19 -1
- data/lib/commonAPI/RubyServer/ext.yml +21 -0
- data/lib/commonAPI/RubyServer/ext/RubyServer.xml +101 -0
- data/lib/commonAPI/RubyServer/ext/build +19 -0
- data/lib/commonAPI/RubyServer/ext/build.bat +29 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/Rakefile +161 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_java.files +9 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_native.files +7 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/Rakefile +73 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer.xcodeproj/project.pbxproj +322 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer_Prefix.pch +7 -0
- data/lib/commonAPI/RubyServer/ext/shared/RubyServerImpl.cpp +242 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactory.java +23 -3
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java +68 -8
- data/lib/commonAPI/barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +24 -52
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.h +38 -10
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.m +300 -22
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +6 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/barcode.m +6 -2
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/Barcode.m +7 -3
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeFactory.m +13 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeSingleton.m +25 -3
- data/lib/commonAPI/bluetooth/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/clipboard/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/coreapi/ext/Notification.xml +47 -0
- data/lib/commonAPI/coreapi/ext/platform/android/ApplicationManifestAdds.erb +1 -0
- data/lib/commonAPI/coreapi/ext/platform/android/Rakefile +19 -0
- data/lib/commonAPI/coreapi/ext/platform/android/ext_java.files +2 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/AlarmReceiver.java +27 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +28 -10
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationFactory.java +14 -1
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +260 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationSingleton.java +23 -1
- data/lib/commonAPI/coreapi/ext/platform/iphone/Coreapi.xcodeproj/project.pbxproj +21 -19
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +1 -0
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +234 -1
- data/lib/commonAPI/coreapi/ext/platform/qt/coreapi.pro +2 -0
- data/lib/commonAPI/coreapi/ext/platform/qt/src/CNotificationImpl.cpp +7 -0
- data/lib/commonAPI/coreapi/ext/shared/ApplicationImpl.cpp +5 -0
- data/lib/commonAPI/coreapi/public/api/rhoapi.js +18 -8
- data/lib/commonAPI/devicesecurity/ext/platform/android/Rakefile +19 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +16 -0
- data/lib/commonAPI/hardwarekeys/ext/keycapture.xml +11 -9
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.h +5 -3
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.m +80 -67
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java +25 -14
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java +55 -25
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +34 -9
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java +1 -0
- data/lib/commonAPI/printing_zebra/ext/platform/android/Rakefile +18 -0
- data/lib/commonAPI/sensor/ext/platform/android/src/com/rho/sensor/Sensor.java +4 -4
- data/lib/extensions/decrypt/ext/platform/android/Rakefile +19 -1
- data/lib/extensions/decryptstub/ext/platform/android/Rakefile +19 -0
- data/lib/extensions/decryptstub/ext/platform/iphone/Decryptstub.xcodeproj/project.pbxproj +4 -2
- data/lib/extensions/digest-md5/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha1/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha2/ext/android/Rakefile +18 -0
- data/lib/extensions/esri/ext/esri/platform/iphone/Classes/MapViewControllerESRI.h +19 -19
- data/lib/extensions/fcm-push/ext/android/Rakefile +18 -0
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +38 -16
- data/lib/extensions/gcm-push/ext/android/Rakefile +19 -0
- data/lib/extensions/keyboard/ext.yml +15 -0
- data/lib/extensions/keyboard/ext/Keyboard.xml +28 -0
- data/lib/extensions/keyboard/ext/build +19 -0
- data/lib/extensions/keyboard/ext/build.bat +29 -0
- data/lib/extensions/keyboard/ext/platform/android/Rakefile +141 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_java.files +9 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_native.files +7 -0
- data/lib/extensions/keyboard/ext/platform/android/jni/Keyboard_impl.cpp +61 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/Keyboard.java +32 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardFactory.java +18 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardSingleton.java +29 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard.xcodeproj/project.pbxproj +368 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard_Prefix.pch +7 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Rakefile +73 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.h +14 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.m +24 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardFactorySingleton.m +16 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSetup.m +9 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.h +17 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.m +23 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/readme.txt +7 -0
- data/lib/extensions/keyboard/ext/platform/qt/Keyboard.pro +68 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile +473 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile.Release +408 -0
- data/lib/extensions/keyboard/ext/platform/qt/Rakefile +39 -0
- data/lib/extensions/keyboard/ext/platform/qt/src/Keyboard_impl.cpp +99 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj.filters +50 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.csproj +119 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.props +8 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.targets +7 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj.filters +58 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cpp +76 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cs +69 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Properties/AssemblyInfo.cs +37 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.sln +52 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vcproj +714 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vsprops +15 -0
- data/lib/extensions/keyboard/ext/platform/wm/src/Keyboard_impl.cpp +77 -0
- data/lib/extensions/openssl.so.src/ext/android/Rakefile +18 -0
- data/lib/extensions/openssl.so/ext/android/aarch64/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/howtobuild.txt +2 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libcrypto.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Release-iphoneos/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Release-iphonesimulator/libopenssl.so.a +0 -0
- data/lib/extensions/openssl/ext/android/Rakefile +18 -0
- data/lib/extensions/zlib/ext/zlib.c +5 -1
- data/lib/framework/autocomplete/Rhodes.rb +1 -1
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/set.rb +799 -0
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/AndroidManifest.xml.erb +11 -2
- data/platform/android/Rhodes/jni/include/rhodes.h +6 -0
- data/platform/android/Rhodes/jni/include/rhodes/RhoClassFactory.h +3 -0
- data/platform/android/Rhodes/jni/include/rhodes/SecurityTokenGenerator.h +30 -0
- data/platform/android/Rhodes/jni/include/rhodes/details/rhojava.inc +1 -0
- data/platform/android/Rhodes/jni/src/JNIRhoRubyCppWrapper.cpp +408 -0
- data/platform/android/Rhodes/jni/src/RhoClassFactory.cpp +7 -0
- data/platform/android/Rhodes/jni/src/SecurityTokenGenerator.cpp +60 -0
- data/platform/android/Rhodes/jni/src/fileapi.cpp +318 -12
- data/platform/android/Rhodes/jni/src/mapview.cpp +4 -0
- data/platform/android/Rhodes/res/drawable/ic_notification.png +0 -0
- data/platform/android/Rhodes/res/xml/network_security_config.xml +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +9 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoMain.java +8 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyArrayObjects.java +33 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyClassObject.java +20 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyObject.java +115 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubySingleton.java +52 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyTypes.java +15 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +25 -13
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/SecurityTokenGenerator.java +57 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +9 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +3 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality11.java +13 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +105 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionalityManager.java +4 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +24 -4
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +20 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +10 -0
- data/platform/android/build/Rakefile +30 -1
- data/platform/android/build/RhodesSRC_build.files +8 -0
- data/platform/android/build/android.rake +326 -22
- data/platform/android/build/android_tools.rb +36 -3
- data/platform/android/build/androidcommon.rb +97 -44
- data/platform/android/build/librhocommon_build.files +11 -0
- data/platform/android/build/librhodes_build.files +2 -0
- data/platform/android/build/manifest_generator.rb +9 -2
- data/platform/android/build/maven_deps_extractor.rb +96 -15
- data/platform/android/build/ndkwrapper.rb +111 -16
- data/platform/android/build/pom.erb +2 -2
- data/platform/iphone/Classes/AppManager/AppManager.m +31 -1
- data/platform/iphone/Classes/MapView/GoogleGeocoder.h +3 -3
- data/platform/iphone/Classes/RhoMainViewStubImpl.h +38 -0
- data/platform/iphone/Classes/RhoMainViewStubImpl.m +88 -0
- data/platform/iphone/Classes/RhoUIWebView.h +5 -0
- data/platform/iphone/Classes/RhoUIWebView.m +14 -6
- data/platform/iphone/Classes/{RhoWKWebView.m → RhoWKWebView.mm} +98 -18
- data/platform/iphone/Classes/RhoWebView.h +1 -1
- data/platform/iphone/Classes/RhoWebViewFabrique.m +24 -12
- data/platform/iphone/Classes/Rhodes.h +7 -2
- data/platform/iphone/Classes/Rhodes.m +46 -8
- data/platform/iphone/Classes/SimpleMainView.m +22 -13
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.h +32 -3
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +93 -61
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.h +22 -0
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.m +246 -0
- data/platform/iphone/Classes/WebView.m +14 -2
- data/platform/iphone/Entitlements.plist +1 -1
- data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +399 -0
- data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1208 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Info.plist +24 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Rhodes.h +21 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/StubCode.m +15 -0
- data/platform/iphone/Info.plist +1 -3
- data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +511 -4
- data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +467 -1
- data/platform/iphone/Rhodes.xcodeproj/project.pbxproj +51 -274
- data/platform/iphone/RhodesBaseDelegate.h +1 -1
- data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +85 -3
- data/platform/iphone/rbuild/ApplicationPlist.erb +1 -1
- data/platform/iphone/rbuild/iphone.rake +497 -25
- data/platform/iphone/rbuild/iphonecommon.rb +15 -6
- data/platform/iphone/rhodes_stub.cpp +15 -0
- data/platform/iphone/rhodeslib/api/RhodesLib.h +28 -0
- data/platform/iphone/rhodeslib/impl/RhodesLib.m +52 -0
- data/platform/iphone/rhodesruby/api/IRefCountedObject.h +20 -0
- data/platform/iphone/rhodesruby/api/IRhoRuby.h +72 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyArray.h +12 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyBoolean.h +11 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyHash.h +15 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableArray.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableBoolean.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableHash.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableString.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNativeCallback.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNil.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyObject.h +37 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyRunnable.h +8 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyString.h +10 -0
- data/platform/iphone/rhodesruby/api/RhoRuby.h +26 -0
- data/platform/iphone/rhodesruby/api/RhoRubySingletone.h +14 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyFabrique.h +10 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.h +56 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.mm +432 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.mm +43 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.mm +38 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.mm +48 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.h +22 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.mm +11 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.h +31 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.mm +49 -0
- data/platform/iphone/rhodesruby/impl/RhoRubySingletone.m +19 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.mm +32 -0
- data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +79 -0
- data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +91 -0
- data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +85 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
- data/platform/shared/common/IRhoClassFactory.h +2 -0
- data/platform/shared/common/ISecurityTokenGenerator.h +16 -0
- data/platform/shared/common/RhoFile.cpp +11 -0
- data/platform/shared/common/RhoMath.h +14 -0
- data/platform/shared/common/RhoMutexLock.h +13 -0
- data/platform/shared/common/RhoSystem.h +1 -1
- data/platform/shared/common/RhoThread.cpp +25 -0
- data/platform/shared/common/RhodesApp.cpp +52 -6
- data/platform/shared/common/RhodesApp.h +25 -1
- data/platform/shared/common/RhodesAppBase.cpp +4 -2
- data/platform/shared/common/RhodesAppBase.h +5 -0
- data/platform/shared/common/iphone/RhoClassfactory.h +6 -0
- data/platform/shared/common/iphone/RhoCryptImpl.mm +21 -2
- data/platform/shared/common/map/BaseMapEngine.cpp +2 -2
- data/platform/shared/common/map/GeocodingMapEngine.cpp +1 -1
- data/platform/shared/common/map/GoogleMapEngine.cpp +1 -1
- data/platform/shared/common/map/OSMMapEngine.cpp +1 -1
- data/platform/shared/curl/lib/curl_config.h +28 -0
- data/platform/shared/db/DBAdapter.cpp +18 -10
- data/platform/shared/json.new/JSONIterator.cpp +2 -2
- data/platform/shared/net/HttpServer.cpp +32 -0
- data/platform/shared/net/HttpServer.h +15 -0
- data/platform/shared/net/INetRequest.cpp +54 -0
- data/platform/shared/qt/RhoRubylib.pro +10 -0
- data/platform/shared/qt/rhodes/impl/AlertImpl.cpp +13 -0
- data/platform/shared/qt/rhodes/impl/CameraImpl.cpp +6 -0
- data/platform/shared/qt/rhodes/impl/DateTimePickerImpl.cpp +4 -0
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.cpp +36 -7
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.h +12 -1
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.cpp +21 -2
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.h +1 -0
- data/platform/shared/qt/rhodes/impl/NativeToolbarImpl.cpp +10 -0
- data/platform/shared/qt/rhodes/impl/QtSystemImpl.cpp +55 -3
- data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +11 -0
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +71 -7
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.h +79 -2
- data/platform/shared/qt/rhodes/impl/RhodesImpl.cpp +16 -6
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.cpp +37 -0
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.h +25 -0
- data/platform/shared/qt/rhodes/impl/SignatureImpl.cpp +2 -0
- data/platform/shared/qt/rhodes/impl/WebViewImpl.cpp +27 -0
- data/platform/shared/qt/rhodes/impl/notificationsound.cpp +16 -2
- data/platform/shared/qt/rhodes/impl/notificationsound.h +11 -1
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.cpp +25 -16
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.h +3 -0
- data/platform/shared/qt/rhodes/newVersion/WebUrlRequestInterceptor.cpp +17 -0
- data/platform/shared/qt/rhodes/rhodes.pro +68 -14
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.cpp +148 -0
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.h +12 -0
- data/platform/shared/qt/rholib/rholib.pro +33 -5
- data/platform/shared/qt/rhoruby_win32_build.bat +19 -0
- data/platform/shared/qt/rhoruby_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rhosimulator_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rubylib/rubylib.pro +1 -0
- data/platform/shared/qt/sqlite3/sqlite3.pro +1 -0
- data/platform/shared/qt/syncengine/syncengine.pro +1 -0
- data/platform/shared/rhoruby/api/IArray.h +20 -0
- data/platform/shared/rhoruby/api/IBoolean.h +17 -0
- data/platform/shared/rhoruby/api/IFloat.h +17 -0
- data/platform/shared/rhoruby/api/IHash.h +23 -0
- data/platform/shared/rhoruby/api/IInteger.h +18 -0
- data/platform/shared/rhoruby/api/IMutableArray.h +18 -0
- data/platform/shared/rhoruby/api/IMutableBoolean.h +18 -0
- data/platform/shared/rhoruby/api/IMutableFloat.h +17 -0
- data/platform/shared/rhoruby/api/IMutableHash.h +18 -0
- data/platform/shared/rhoruby/api/IMutableInteger.h +17 -0
- data/platform/shared/rhoruby/api/IMutableString.h +17 -0
- data/platform/shared/rhoruby/api/INil.h +16 -0
- data/platform/shared/rhoruby/api/IObject.h +46 -0
- data/platform/shared/rhoruby/api/IRefCountedObject.h +20 -0
- data/platform/shared/rhoruby/api/IRhoRuby.h +78 -0
- data/platform/shared/rhoruby/api/IRunnable.h +17 -0
- data/platform/shared/rhoruby/api/IString.h +17 -0
- data/platform/shared/rhoruby/api/RhoRuby.h +29 -0
- data/platform/shared/rhoruby/api/RhoRubySingletone.h +19 -0
- data/platform/shared/rhoruby/api/SmartPointer.h +27 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.cpp +54 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.h +48 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.cpp +44 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.cpp +64 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.h +49 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.cpp +52 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.h +44 -0
- data/platform/shared/rhoruby/impl/NilImpl.cpp +23 -0
- data/platform/shared/rhoruby/impl/NilImpl.h +32 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.cpp +77 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.h +53 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.cpp +28 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.h +33 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.cpp +799 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.h +81 -0
- data/platform/shared/rhoruby/impl/RhoRubySingletone.cpp +20 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.cpp +32 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/shared/ruby/android/ruby/config.h +55 -3
- data/platform/shared/ruby/error.c +1 -1
- data/platform/shared/ruby/ext/rho/rhoruby.c +60 -7
- data/platform/shared/ruby/ext/rho/rhoruby.h +3 -0
- data/platform/shared/rubyext/NativeToolbarExt.h +1 -0
- data/platform/uwp/rhodes/rhodes_TemporaryKey.pfx +0 -0
- data/platform/uwp/rhoruntime/common/RhoClassFactory.h +6 -0
- data/platform/win32/RhoSimulator/Qt5Core.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Gui.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Multimedia.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Network.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Positioning.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5PrintSupport.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Qml.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Quick.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5QuickWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5SerialPort.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Svg.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebChannel.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngine.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineCore.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Widgets.dll +0 -0
- data/platform/win32/RhoSimulator/QtWebEngineProcess.exe +0 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_wasapi.dll +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_windows.dll +0 -0
- data/platform/win32/RhoSimulator/bearer/qgenericbearer.dll +0 -0
- data/platform/win32/RhoSimulator/iconengines/qsvgicon.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qgif.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qicns.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qico.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qjpeg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qsvg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtga.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtiff.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwbmp.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwebp.dll +0 -0
- data/platform/win32/RhoSimulator/libEGL.dll +0 -0
- data/platform/win32/RhoSimulator/libGLESV2.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/dsengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/qtmedia_audioengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/wmfengine.dll +0 -0
- data/platform/win32/RhoSimulator/platforms/qwindows.dll +0 -0
- data/platform/win32/RhoSimulator/playlistformats/qtmultimedia_m3u.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_geoclue.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_positionpoll.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_serialnmea.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_winrt.dll +0 -0
- data/platform/win32/RhoSimulator/printsupport/windowsprintersupport.dll +0 -0
- data/platform/wm/build/wm.rake +110 -5
- data/platform/wm/rhodes/rho/common/ExtManager.cpp +30 -0
- data/platform/wm/rhodes/rho/common/RhoClassFactory.h +6 -0
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +3 -0
- data/platform/wm/rubylib/rubylib.vcxproj +6 -0
- data/platform/wp8/rhoruntime/common/RhoClassFactory.h +6 -0
- data/rakefile.rb +14 -10
- data/res/build-tools/iphonesim/build/Release/iphonesim_8 +23 -15
- data/res/build-tools/maven/LICENSE +18 -89
- data/res/build-tools/maven/NOTICE +1 -1
- data/res/build-tools/maven/README.txt +12 -12
- data/res/build-tools/maven/bin/m2.conf +2 -2
- data/res/build-tools/maven/bin/mvn +122 -125
- data/res/build-tools/maven/bin/mvn.cmd +205 -0
- data/res/build-tools/maven/bin/mvnDebug +10 -176
- data/res/build-tools/maven/bin/mvnDebug.cmd +33 -0
- data/res/build-tools/maven/bin/mvnyjp +9 -181
- data/res/build-tools/maven/boot/plexus-classworlds-2.6.0.jar +0 -0
- data/res/build-tools/maven/conf/logging/simplelogger.properties +8 -1
- data/res/build-tools/maven/conf/settings.xml +1 -1
- data/res/build-tools/maven/conf/toolchains.xml +103 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations-1.14.jar +0 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations.license +14 -0
- data/res/build-tools/maven/lib/checker-compat-qual-2.0.0.jar +0 -0
- data/res/build-tools/maven/lib/checker-compat-qual.license +14 -0
- data/res/build-tools/maven/lib/commons-cli-1.4.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.5.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang3-3.8.1.jar +0 -0
- data/res/build-tools/maven/lib/error_prone_annotations-2.1.3.jar +0 -0
- data/res/build-tools/maven/lib/guava-25.1-android.jar +0 -0
- data/res/build-tools/maven/lib/guice-4.2.1-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/j2objc-annotations-1.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-1.17.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-native/README.txt +7 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/osx/libjansi.jnilib +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows32/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows64/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j.license +14 -0
- data/res/build-tools/maven/lib/jsr250-api.license +383 -405
- data/res/build-tools/maven/lib/jsr305-3.0.2.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-builder-support-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-core-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-api-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-connector-basic-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-impl-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-spi-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-transport-wagon-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-util-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-shared-utils-3.2.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-slf4j-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject.license +210 -261
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus.license +210 -261
- data/res/build-tools/maven/lib/plexus-component-annotations-1.7.1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.25.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.4.jar +0 -0
- data/res/build-tools/maven/lib/plexus-utils-3.2.0.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api.license +10 -186
- data/res/build-tools/maven/lib/wagon-file-3.3.2.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-3.3.2-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api-3.3.2.jar +0 -0
- data/res/generators/rhogen.rb +150 -0
- data/res/generators/templates/application/AndroidManifest.erb +13 -4
- data/res/generators/templates/application/build.yml +9 -0
- data/res/generators/templates/application/nodejs_build.yml +1 -1
- data/res/generators/templates/application/resources/android/res/xml/network_security_config.xml +7 -0
- data/res/generators/templates/application/rhoconfig.txt +13 -6
- data/res/generators/templates/application/rhoconfig_rubynode.txt +139 -0
- data/res/generators/templates/application/rubynodejs_build.yml +95 -0
- data/res/generators/templates/extension/extensions/montana/ext/platform/android/Rakefile +19 -0
- data/res/generators/templates/iphone_project/root/Entitlements.plist +1 -1
- data/res/generators/templates/iphone_project/root/Info.plist +1 -3
- data/res/generators/templates/iphone_project/root/rhorunner_development.entitlements +1 -1
- data/res/generators/templates/iphone_project/root/rhorunner_production.entitlements +1 -1
- data/rhodes.gemspec +2 -2
- data/version +1 -1
- metadata +244 -71
- data/res/build-tools/maven/bin/mvn.bat +0 -197
- data/res/build-tools/maven/bin/mvnDebug.bat +0 -200
- data/res/build-tools/maven/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/res/build-tools/maven/lib/aether-api-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-api.license +0 -261
- data/res/build-tools/maven/lib/aether-connector-basic-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-connector-basic.license +0 -261
- data/res/build-tools/maven/lib/aether-impl-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-impl.license +0 -261
- data/res/build-tools/maven/lib/aether-spi-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-spi.license +0 -261
- data/res/build-tools/maven/lib/aether-transport-wagon-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-transport-wagon.license +0 -261
- data/res/build-tools/maven/lib/aether-util-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-util.license +0 -261
- data/res/build-tools/maven/lib/cdi-api.license +0 -445
- data/res/build-tools/maven/lib/commons-cli-1.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang-2.6.jar +0 -0
- data/res/build-tools/maven/lib/guava-18.0.jar +0 -0
- data/res/build-tools/maven/lib/jsoup-1.7.2.jar +0 -0
- data/res/build-tools/maven/lib/jsoup.license +0 -66
- data/res/build-tools/maven/lib/maven-aether-provider-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-aether-provider.license +0 -202
- data/res/build-tools/maven/lib/maven-artifact-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact.license +0 -202
- data/res/build-tools/maven/lib/maven-compat-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat.license +0 -202
- data/res/build-tools/maven/lib/maven-core-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-core.license +0 -202
- data/res/build-tools/maven/lib/maven-embedder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder.license +0 -202
- data/res/build-tools/maven/lib/maven-model-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-model.license +0 -202
- data/res/build-tools/maven/lib/maven-plugin-api-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api.license +0 -202
- data/res/build-tools/maven/lib/maven-repository-metadata-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata.license +0 -202
- data/res/build-tools/maven/lib/maven-settings-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-settings.license +0 -202
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-cipher.license +0 -445
- data/res/build-tools/maven/lib/plexus-component-annotations-1.5.5.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.21.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher.license +0 -445
- data/res/build-tools/maven/lib/plexus-utils-3.0.20.jar +0 -0
- data/res/build-tools/maven/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple.license +0 -190
- data/res/build-tools/maven/lib/wagon-file-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-file.license +0 -202
- data/res/build-tools/maven/lib/wagon-http-2.8-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared.license +0 -202
- data/res/build-tools/maven/lib/wagon-http.license +0 -202
- data/res/build-tools/maven/lib/wagon-provider-api-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api.license +0 -202
@@ -0,0 +1,242 @@
|
|
1
|
+
//
|
2
|
+
// RubyServerImpl.cpp
|
3
|
+
#include "common/RhoStd.h"
|
4
|
+
#include "common/AutoPointer.h"
|
5
|
+
#include "common/RhodesApp.h"
|
6
|
+
#include "common/RhoConf.h"
|
7
|
+
#include "generated/cpp/RubyServerBase.h"
|
8
|
+
#include "logging/RhoLog.h"
|
9
|
+
#include "rhoruby/api/RhoRuby.h"
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
class CRhoRubyServerRunMethodHolder : public rho::ruby::IRunnable {
|
15
|
+
public:
|
16
|
+
|
17
|
+
CRhoRubyServerRunMethodHolder( const rho::String& classFullName,
|
18
|
+
const rho::String& methodName,
|
19
|
+
const rho::String& parameters_in_JSON,
|
20
|
+
rho::apiGenerator::CMethodResult& mresult) {
|
21
|
+
mClassName = classFullName;
|
22
|
+
mMethodName = methodName;
|
23
|
+
mParameters = parameters_in_JSON;
|
24
|
+
mMethodResult = mresult;
|
25
|
+
}
|
26
|
+
|
27
|
+
virtual ~CRhoRubyServerRunMethodHolder() {}
|
28
|
+
|
29
|
+
virtual void run() {
|
30
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
31
|
+
rho::ruby::IString* rr_str = rr->executeRubyMethodWithJSON(mClassName.c_str(), mMethodName.c_str(), mParameters.c_str());
|
32
|
+
rho::String res_str;
|
33
|
+
if (rr_str != NULL) {
|
34
|
+
res_str = rr_str->getUTF8();
|
35
|
+
}
|
36
|
+
mMethodResult.set(res_str);
|
37
|
+
delete this;
|
38
|
+
}
|
39
|
+
|
40
|
+
private:
|
41
|
+
rho::String mClassName;
|
42
|
+
rho::String mMethodName;
|
43
|
+
rho::String mParameters;
|
44
|
+
rho::apiGenerator::CMethodResult mMethodResult;
|
45
|
+
|
46
|
+
};
|
47
|
+
|
48
|
+
class CRhoRubyServerLoadRubyHolder : public rho::ruby::IRunnable {
|
49
|
+
public:
|
50
|
+
|
51
|
+
CRhoRubyServerLoadRubyHolder( const rho::String& filename) {
|
52
|
+
mFileName = filename;
|
53
|
+
}
|
54
|
+
|
55
|
+
virtual ~CRhoRubyServerLoadRubyHolder() {}
|
56
|
+
|
57
|
+
virtual void run() {
|
58
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
59
|
+
rr->loadRubyFile(mFileName.c_str());
|
60
|
+
delete this;
|
61
|
+
}
|
62
|
+
|
63
|
+
private:
|
64
|
+
rho::String mFileName;
|
65
|
+
|
66
|
+
};
|
67
|
+
|
68
|
+
class CRhoRubyServerLoadModelHolder : public rho::ruby::IRunnable {
|
69
|
+
public:
|
70
|
+
|
71
|
+
CRhoRubyServerLoadModelHolder( const rho::String& filename) {
|
72
|
+
mFileName = filename;
|
73
|
+
}
|
74
|
+
|
75
|
+
virtual ~CRhoRubyServerLoadModelHolder() {}
|
76
|
+
|
77
|
+
virtual void run() {
|
78
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
79
|
+
rr->loadModel(mFileName.c_str());
|
80
|
+
delete this;
|
81
|
+
}
|
82
|
+
|
83
|
+
private:
|
84
|
+
rho::String mFileName;
|
85
|
+
|
86
|
+
};
|
87
|
+
|
88
|
+
|
89
|
+
class CRhoRubyServerNativeCallbackHolder : public rho::ruby::IRubyNativeCallback {
|
90
|
+
public:
|
91
|
+
|
92
|
+
CRhoRubyServerNativeCallbackHolder(rho::apiGenerator::CMethodResult& mresult) {
|
93
|
+
mMethodResult = mresult;
|
94
|
+
}
|
95
|
+
|
96
|
+
virtual ~CRhoRubyServerNativeCallbackHolder() {}
|
97
|
+
|
98
|
+
virtual void onRubyNative(rho::ruby::IObject* param) {
|
99
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
100
|
+
rho::String res_str;
|
101
|
+
if (param != NULL) {
|
102
|
+
rho::ruby::IString* str = rr->convertObject_to_JSON(param);
|
103
|
+
if (str != NULL) {
|
104
|
+
res_str = str->getUTF8();
|
105
|
+
}
|
106
|
+
}
|
107
|
+
mMethodResult.set(res_str);
|
108
|
+
}
|
109
|
+
|
110
|
+
|
111
|
+
private:
|
112
|
+
rho::apiGenerator::CMethodResult mMethodResult;
|
113
|
+
|
114
|
+
};
|
115
|
+
|
116
|
+
|
117
|
+
class CRhoRubyServerLocalServerRequestCallbackHolder : public rho::ruby::IRubyLocalServerRequestCallback {
|
118
|
+
public:
|
119
|
+
|
120
|
+
CRhoRubyServerLocalServerRequestCallbackHolder(rho::apiGenerator::CMethodResult& mresult) {
|
121
|
+
mMethodResult = mresult;
|
122
|
+
}
|
123
|
+
|
124
|
+
virtual ~CRhoRubyServerLocalServerRequestCallbackHolder() {}
|
125
|
+
|
126
|
+
virtual void onLocalServerResponce(rho::ruby::IString* responce) {
|
127
|
+
rho::String res_str;
|
128
|
+
if (responce != NULL) {
|
129
|
+
res_str = responce->getUTF8();
|
130
|
+
}
|
131
|
+
mMethodResult.set(res_str);
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
private:
|
136
|
+
rho::apiGenerator::CMethodResult mMethodResult;
|
137
|
+
|
138
|
+
};
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
namespace rho {
|
143
|
+
|
144
|
+
using namespace apiGenerator;
|
145
|
+
using namespace common;
|
146
|
+
|
147
|
+
class CRubyServerSingletonImpl: public CRubyServerSingletonBase
|
148
|
+
{
|
149
|
+
public:
|
150
|
+
|
151
|
+
CRubyServerSingletonImpl(): CRubyServerSingletonBase(){}
|
152
|
+
|
153
|
+
//methods
|
154
|
+
|
155
|
+
// serverURL getter for "serverURL" property
|
156
|
+
virtual void getServerURL(rho::apiGenerator::CMethodResult& oResult) {
|
157
|
+
// RAWLOGC_INFO("getServerURL","RubyServer");
|
158
|
+
oResult.set(RHODESAPP().getRubyHomeURL());
|
159
|
+
}
|
160
|
+
|
161
|
+
// loadRubyFile Load ruby file into Ruby VM
|
162
|
+
virtual void loadRubyFile( const rho::String& filepath, rho::apiGenerator::CMethodResult& oResult) {
|
163
|
+
// RAWLOGC_INFO("loadRubyFile","RubyServer");
|
164
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
165
|
+
CRhoRubyServerLoadRubyHolder* rr_holder = new CRhoRubyServerLoadRubyHolder(filepath);
|
166
|
+
rr->executeInRubyThread(rr_holder);
|
167
|
+
}
|
168
|
+
|
169
|
+
// loadModel Load ruby model file into Ruby VM
|
170
|
+
virtual void loadModel( const rho::String& filepath, rho::apiGenerator::CMethodResult& oResult) {
|
171
|
+
// RAWLOGC_INFO("loadModel","RubyServer");
|
172
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
173
|
+
CRhoRubyServerLoadModelHolder* rr_holder = new CRhoRubyServerLoadModelHolder(filepath);
|
174
|
+
rr->executeInRubyThread(rr_holder);
|
175
|
+
}
|
176
|
+
|
177
|
+
// executeRubyMethodWithJSON Async call ruby code in Ruby thread and return result in callback
|
178
|
+
virtual void executeRubyMethodWithJSON( const rho::String& classFullName, const rho::String& methodName, const rho::String& parameters_in_JSON, rho::apiGenerator::CMethodResult& oResult) {
|
179
|
+
// RAWLOGC_INFO("executeRubyMethodWithJSON","RubyServer");
|
180
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
181
|
+
CRhoRubyServerRunMethodHolder* rr_holder = new CRhoRubyServerRunMethodHolder(classFullName, methodName, parameters_in_JSON, oResult);
|
182
|
+
//rr_holder->run();
|
183
|
+
rr->executeInRubyThread(rr_holder);
|
184
|
+
}
|
185
|
+
|
186
|
+
// executeGetRequestToRubyServer Async make GET request to Ruby local server and return responce in callback
|
187
|
+
virtual void executeGetRequestToRubyServer( const rho::String& url, rho::apiGenerator::CMethodResult& oResult) {
|
188
|
+
// RAWLOGC_INFO("executeGetRequestToRubyServer","RubyServer");
|
189
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
190
|
+
CRhoRubyServerLocalServerRequestCallbackHolder* rr_holder = new CRhoRubyServerLocalServerRequestCallbackHolder(oResult);
|
191
|
+
rr->executeGetRequestToRubyServer(url.c_str(), rr_holder);
|
192
|
+
}
|
193
|
+
|
194
|
+
// addRubyNativeCallback add Ruby callback for call your code from Ruby. In Ruby : Rho::Ruby.callNativeCallback(callbackID, param)
|
195
|
+
virtual void addRubyNativeCallback( const rho::String& callbackID, rho::apiGenerator::CMethodResult& oResult) {
|
196
|
+
// RAWLOGC_INFO("addRubyNativeCallback","RubyServer");
|
197
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
198
|
+
CRhoRubyServerNativeCallbackHolder* rr_holder = new CRhoRubyServerNativeCallbackHolder(oResult);
|
199
|
+
rr->addRubyNativeCallback(callbackID.c_str(), rr_holder);
|
200
|
+
}
|
201
|
+
|
202
|
+
// removeRubyNativeCallback remove previously added Ruby callback for call your code from Ruby. In Ruby : Rho::Ruby.callNativeCallback(callbackID, param)
|
203
|
+
virtual void removeRubyNativeCallback( const rho::String& callbackID, rho::apiGenerator::CMethodResult& oResult) {
|
204
|
+
// RAWLOGC_INFO("removeRubyNativeCallback","RubyServer");
|
205
|
+
rho::ruby::IRhoRuby* rr = rho::ruby::RhoRubySingletone::getRhoRuby();
|
206
|
+
rr->removeRubyNativeCallback(callbackID.c_str());
|
207
|
+
}
|
208
|
+
|
209
|
+
};
|
210
|
+
|
211
|
+
class CRubyServerImpl : public CRubyServerBase
|
212
|
+
{
|
213
|
+
public:
|
214
|
+
virtual ~CRubyServerImpl() {}
|
215
|
+
|
216
|
+
//methods
|
217
|
+
|
218
|
+
};
|
219
|
+
|
220
|
+
////////////////////////////////////////////////////////////////////////
|
221
|
+
|
222
|
+
class CRubyServerFactory: public CRubyServerFactoryBase {
|
223
|
+
public:
|
224
|
+
CRubyServerFactory(){}
|
225
|
+
|
226
|
+
IRubyServerSingleton* createModuleSingleton()
|
227
|
+
{
|
228
|
+
return new CRubyServerSingletonImpl();
|
229
|
+
}
|
230
|
+
|
231
|
+
virtual IRubyServer* createModuleByID(const rho::String& strID){ return new CRubyServerImpl(); };
|
232
|
+
|
233
|
+
};
|
234
|
+
|
235
|
+
}
|
236
|
+
|
237
|
+
extern "C" void Init_RubyServer_extension()
|
238
|
+
{
|
239
|
+
rho::CRubyServerFactory::setInstance( new rho::CRubyServerFactory() );
|
240
|
+
rho::Init_RubyServer_API();
|
241
|
+
|
242
|
+
}
|
@@ -51,6 +51,7 @@ public class BarcodeFactory extends RhoApiFactory<Barcode, BarcodeSingleton> imp
|
|
51
51
|
private int defaultEMDKScanner = -1;
|
52
52
|
protected final int KEYCODE_TRIGGER_1 = 102;
|
53
53
|
protected final int KEYCODE_TRIGGER_2 = 103;
|
54
|
+
protected final int KEYCODE_SCAN = 10036;
|
54
55
|
private int lastKeyAction;
|
55
56
|
private StartScannerTask startTask;
|
56
57
|
private StopScannerTask stopTask;
|
@@ -469,6 +470,22 @@ public class BarcodeFactory extends RhoApiFactory<Barcode, BarcodeSingleton> imp
|
|
469
470
|
{
|
470
471
|
return defaultEMDKScanner;
|
471
472
|
}
|
473
|
+
|
474
|
+
private boolean isKeyScan(int keyCode)
|
475
|
+
{
|
476
|
+
switch (keyCode) {
|
477
|
+
case KEYCODE_TRIGGER_2:
|
478
|
+
case KEYCODE_TRIGGER_1:
|
479
|
+
case KEYCODE_SCAN:
|
480
|
+
return true;
|
481
|
+
|
482
|
+
default:
|
483
|
+
{
|
484
|
+
Logger.E(TAG, "Key code not found: " + keyCode);
|
485
|
+
return false;
|
486
|
+
}
|
487
|
+
}
|
488
|
+
}
|
472
489
|
|
473
490
|
public boolean onKey(int keyCode, KeyEvent event)
|
474
491
|
{
|
@@ -476,7 +493,8 @@ public class BarcodeFactory extends RhoApiFactory<Barcode, BarcodeSingleton> imp
|
|
476
493
|
//TODO enabledScanner is not being populated by EMDK3 Scanner
|
477
494
|
if(enabledScanner != null)
|
478
495
|
{
|
479
|
-
|
496
|
+
Logger.D(TAG, "Key code: " + keyCode);
|
497
|
+
if (isKeyScan(keyCode) && event.getRepeatCount() == 0)
|
480
498
|
{
|
481
499
|
boolean isDown = (event.getAction() == KeyEvent.ACTION_DOWN);
|
482
500
|
Logger.D(TAG, "Caught Trigger for the Scanner: " + isDown);
|
@@ -581,7 +599,8 @@ public class BarcodeFactory extends RhoApiFactory<Barcode, BarcodeSingleton> imp
|
|
581
599
|
|
582
600
|
if (releaseEMDKOnPause) {
|
583
601
|
Logger.D( TAG, "Will restore EMDK resources" );
|
584
|
-
emdk3Listener
|
602
|
+
if(emdk3Listener != null)
|
603
|
+
emdk3Listener.resume();
|
585
604
|
}
|
586
605
|
|
587
606
|
if(enabledScanner != null)
|
@@ -629,7 +648,8 @@ public class BarcodeFactory extends RhoApiFactory<Barcode, BarcodeSingleton> imp
|
|
629
648
|
Logger.D( TAG, "Will release EMDK resources" );
|
630
649
|
enabledScanner = null;
|
631
650
|
removeAllEMDKScannerIDs();
|
632
|
-
emdk3Listener
|
651
|
+
if(emdk3Listener != null)
|
652
|
+
emdk3Listener.pause();
|
633
653
|
setIsEMDKScannerSetupCalled(false);
|
634
654
|
}
|
635
655
|
|
data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java
CHANGED
@@ -7,13 +7,15 @@ import com.rhomobile.rhodes.extmanager.IRhoExtManager;
|
|
7
7
|
import com.rhomobile.rhodes.extmanager.IRhoWebView;
|
8
8
|
import com.rhomobile.rhodes.webview.GoogleWebView;
|
9
9
|
import com.rhomobile.rhodes.webview.WebViewConfig;
|
10
|
+
import com.rhomobile.rhodes.Logger;
|
11
|
+
|
12
|
+
import android.net.Uri;
|
10
13
|
|
11
14
|
public class BarcodeRhoExtension extends AbstractRhoExtension{
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
// TODO Auto-generated method stub
|
15
|
+
|
16
|
+
private final static String TAG = "BarcodeRhoExtension";
|
17
|
+
|
18
|
+
public boolean onBeforeNavigate(IRhoExtManager extManager, String url, IRhoWebView ext, boolean res) {
|
17
19
|
int disable_scanner_val = 0;
|
18
20
|
IRhoConfig rhoelementsGetConfig= null;
|
19
21
|
IRhoWebView vi=RhodesActivity.safeGetInstance().getMainView().getWebView(0);
|
@@ -35,10 +37,68 @@ public class BarcodeRhoExtension extends AbstractRhoExtension{
|
|
35
37
|
|
36
38
|
if(disable_scanner_val == 1){
|
37
39
|
BarcodeFactory factory=(BarcodeFactory) BarcodeFactorySingleton.getInstance();
|
38
|
-
if(factory!=null)
|
39
|
-
|
40
|
+
if(factory!=null) {
|
41
|
+
|
42
|
+
Logger.D( TAG, "Will check for url before disabling scanner on navigate: " + url );
|
43
|
+
|
44
|
+
boolean doDisable = isControllerURL(url);
|
45
|
+
|
46
|
+
if (doDisable) {
|
47
|
+
Logger.D( TAG, "Will disable active scanner as navigating to other page.");
|
48
|
+
factory.disableScannerOnNavigate();
|
49
|
+
} else {
|
50
|
+
Logger.D( TAG, "Won't disable active scaner as target URL didn't met required contitions.");
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
40
54
|
}
|
41
|
-
|
55
|
+
|
56
|
+
//return res;
|
57
|
+
return super.onBeforeNavigate(extManager, url, ext, res);
|
58
|
+
}
|
59
|
+
|
60
|
+
//this will determine if requested URL belongs to controller part of the app.
|
61
|
+
//we need to only apply disable scanner policy when really changing the page.
|
62
|
+
private static boolean isControllerURL( String url ) {
|
63
|
+
|
64
|
+
try {
|
65
|
+
Uri uri = Uri.parse(url);
|
66
|
+
String protocol = uri.getScheme();
|
67
|
+
if ( null == protocol ) {
|
68
|
+
protocol = "";
|
69
|
+
}
|
70
|
+
protocol = protocol.toLowerCase();
|
71
|
+
|
72
|
+
String host = uri.getHost();
|
73
|
+
if ( null == host ) {
|
74
|
+
host = "";
|
75
|
+
}
|
76
|
+
host = host.toLowerCase();
|
77
|
+
|
78
|
+
String path = uri.getPath();
|
79
|
+
if ( null == path ) {
|
80
|
+
path = "";
|
81
|
+
}
|
82
|
+
path = path.toLowerCase();
|
83
|
+
|
84
|
+
boolean validProtocol = protocol.isEmpty() || protocol.equals("http") || protocol.equals( "https");
|
85
|
+
boolean validHost = host.isEmpty() || host.equals("localhost") || host.equals("127.0.0.1");
|
86
|
+
boolean validPath = path.startsWith("/app/");
|
87
|
+
|
88
|
+
Logger.D( TAG, "isControllerURL: " +
|
89
|
+
"proto:" + protocol + ":" + String.valueOf(validProtocol) +
|
90
|
+
" host:" + host + ":" + String.valueOf(validHost) +
|
91
|
+
" path:" + path + ":" + String.valueOf(validPath)
|
92
|
+
);
|
93
|
+
|
94
|
+
return validProtocol && validHost && validPath;
|
95
|
+
}
|
96
|
+
catch( Throwable e ) {
|
97
|
+
Logger.W(TAG, "Error parsing pre-navigate URL" );
|
98
|
+
e.printStackTrace();
|
99
|
+
}
|
100
|
+
|
101
|
+
return false;
|
42
102
|
}
|
43
103
|
|
44
104
|
|
@@ -8,7 +8,6 @@
|
|
8
8
|
|
9
9
|
/* Begin PBXBuildFile section */
|
10
10
|
AA747D9F0F9514B9006C5449 /* Barcode_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = AA747D9E0F9514B9006C5449 /* Barcode_Prefix.pch */; };
|
11
|
-
AC3113DB2090484500B94E0D /* libzbar.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F0B136AF9BD009D6E63 /* libzbar.a */; };
|
12
11
|
ACC8390A20890CB000677617 /* libZXingObjC-iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ACC838DA2087838100677617 /* libZXingObjC-iOS.a */; };
|
13
12
|
FA21F9FA170658EE0061F9DC /* barcode_api_init.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA21F9F7170658EE0061F9DC /* barcode_api_init.cpp */; };
|
14
13
|
FA21F9FB170658EE0061F9DC /* barcode_js_api.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA21F9F8170658EE0061F9DC /* barcode_js_api.cpp */; };
|
@@ -66,13 +65,6 @@
|
|
66
65
|
remoteGlobalIDString = 25403CB3166A96FA00E13304;
|
67
66
|
remoteInfo = "ZXingObjC-iOS";
|
68
67
|
};
|
69
|
-
ACC838DB2087838100677617 /* PBXContainerItemProxy */ = {
|
70
|
-
isa = PBXContainerItemProxy;
|
71
|
-
containerPortal = ACC838D02087838000677617 /* ZXingObjC.xcodeproj */;
|
72
|
-
proxyType = 2;
|
73
|
-
remoteGlobalIDString = 25403CC4166A96FA00E13304;
|
74
|
-
remoteInfo = "Unit Tests iOS";
|
75
|
-
};
|
76
68
|
ACC838DD2087838100677617 /* PBXContainerItemProxy */ = {
|
77
69
|
isa = PBXContainerItemProxy;
|
78
70
|
containerPortal = ACC838D02087838000677617 /* ZXingObjC.xcodeproj */;
|
@@ -80,13 +72,6 @@
|
|
80
72
|
remoteGlobalIDString = 25404166166AADAC00E13304;
|
81
73
|
remoteInfo = "ZXingObjC-osx";
|
82
74
|
};
|
83
|
-
ACC838DF2087838100677617 /* PBXContainerItemProxy */ = {
|
84
|
-
isa = PBXContainerItemProxy;
|
85
|
-
containerPortal = ACC838D02087838000677617 /* ZXingObjC.xcodeproj */;
|
86
|
-
proxyType = 2;
|
87
|
-
remoteGlobalIDString = 25404178166AADAC00E13304;
|
88
|
-
remoteInfo = "Unit Tests OS X";
|
89
|
-
};
|
90
75
|
ACC838E12087838100677617 /* PBXContainerItemProxy */ = {
|
91
76
|
isa = PBXContainerItemProxy;
|
92
77
|
containerPortal = ACC838D02087838000677617 /* ZXingObjC.xcodeproj */;
|
@@ -157,7 +142,6 @@
|
|
157
142
|
isa = PBXFrameworksBuildPhase;
|
158
143
|
buildActionMask = 2147483647;
|
159
144
|
files = (
|
160
|
-
AC3113DB2090484500B94E0D /* libzbar.a in Frameworks */,
|
161
145
|
ACC8390A20890CB000677617 /* libZXingObjC-iOS.a in Frameworks */,
|
162
146
|
FA4D3F50136B07BB009D6E63 /* CoreVideo.framework in Frameworks */,
|
163
147
|
FA4D3F4E136B07B2009D6E63 /* CoreMedia.framework in Frameworks */,
|
@@ -242,9 +226,7 @@
|
|
242
226
|
isa = PBXGroup;
|
243
227
|
children = (
|
244
228
|
ACC838DA2087838100677617 /* libZXingObjC-iOS.a */,
|
245
|
-
ACC838DC2087838100677617 /* Unit Tests iOS.xctest */,
|
246
229
|
ACC838DE2087838100677617 /* libZXingObjC-osx.a */,
|
247
|
-
ACC838E02087838100677617 /* Unit Tests OS X.xctest */,
|
248
230
|
ACC838E22087838100677617 /* ZXingObjC.framework */,
|
249
231
|
ACC838E42087838100677617 /* ZXingObjC.framework */,
|
250
232
|
);
|
@@ -412,13 +394,6 @@
|
|
412
394
|
remoteRef = ACC838D92087838100677617 /* PBXContainerItemProxy */;
|
413
395
|
sourceTree = BUILT_PRODUCTS_DIR;
|
414
396
|
};
|
415
|
-
ACC838DC2087838100677617 /* Unit Tests iOS.xctest */ = {
|
416
|
-
isa = PBXReferenceProxy;
|
417
|
-
fileType = wrapper.cfbundle;
|
418
|
-
path = "Unit Tests iOS.xctest";
|
419
|
-
remoteRef = ACC838DB2087838100677617 /* PBXContainerItemProxy */;
|
420
|
-
sourceTree = BUILT_PRODUCTS_DIR;
|
421
|
-
};
|
422
397
|
ACC838DE2087838100677617 /* libZXingObjC-osx.a */ = {
|
423
398
|
isa = PBXReferenceProxy;
|
424
399
|
fileType = archive.ar;
|
@@ -426,13 +401,6 @@
|
|
426
401
|
remoteRef = ACC838DD2087838100677617 /* PBXContainerItemProxy */;
|
427
402
|
sourceTree = BUILT_PRODUCTS_DIR;
|
428
403
|
};
|
429
|
-
ACC838E02087838100677617 /* Unit Tests OS X.xctest */ = {
|
430
|
-
isa = PBXReferenceProxy;
|
431
|
-
fileType = wrapper.cfbundle;
|
432
|
-
path = "Unit Tests OS X.xctest";
|
433
|
-
remoteRef = ACC838DF2087838100677617 /* PBXContainerItemProxy */;
|
434
|
-
sourceTree = BUILT_PRODUCTS_DIR;
|
435
|
-
};
|
436
404
|
ACC838E22087838100677617 /* ZXingObjC.framework */ = {
|
437
405
|
isa = PBXReferenceProxy;
|
438
406
|
fileType = wrapper.framework;
|
@@ -515,11 +483,12 @@
|
|
515
483
|
"$(RHO_ROOT)/platform/shared",
|
516
484
|
ZBarSDK/Headers/ZBarSDK,
|
517
485
|
ZBarSDK/Headers/ZBarSDK/zbar,
|
518
|
-
/Users/MOHUS/rhodes/platform/shared/common,
|
519
|
-
/Users/MOHUS/rhodes/platform/shared/rubyext,
|
520
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/include,
|
521
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/iphone,
|
522
|
-
/Users/MOHUS/rhodes/platform/shared,
|
486
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/common,
|
487
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/rubyext,
|
488
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/include,
|
489
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/iphone,
|
490
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared,
|
491
|
+
/Users/MOHUS/tauplatform/rhodes/platform/iphone/Classes,
|
523
492
|
"./ZXingObjC/ZXingObjC/**",
|
524
493
|
);
|
525
494
|
INSTALL_PATH = /usr/local/lib;
|
@@ -563,11 +532,12 @@
|
|
563
532
|
"$(RHO_ROOT)/platform/shared",
|
564
533
|
ZBarSDK/Headers/ZBarSDK,
|
565
534
|
ZBarSDK/Headers/ZBarSDK/zbar,
|
566
|
-
/Users/MOHUS/rhodes/platform/shared/common,
|
567
|
-
/Users/MOHUS/rhodes/platform/shared/rubyext,
|
568
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/include,
|
569
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/iphone,
|
570
|
-
/Users/MOHUS/rhodes/platform/shared,
|
535
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/common,
|
536
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/rubyext,
|
537
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/include,
|
538
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/iphone,
|
539
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared,
|
540
|
+
/Users/MOHUS/tauplatform/rhodes/platform/iphone/Classes,
|
571
541
|
"./ZXingObjC/ZXingObjC/**",
|
572
542
|
);
|
573
543
|
INSTALL_PATH = /usr/local/lib;
|
@@ -603,11 +573,12 @@
|
|
603
573
|
"$(RHO_ROOT)/platform/shared",
|
604
574
|
ZBarSDK/Headers/ZBarSDK,
|
605
575
|
ZBarSDK/Headers/ZBarSDK/zbar,
|
606
|
-
/Users/MOHUS/rhodes/platform/shared/common,
|
607
|
-
/Users/MOHUS/rhodes/platform/shared/rubyext,
|
608
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/include,
|
609
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/iphone,
|
610
|
-
/Users/MOHUS/rhodes/platform/shared,
|
576
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/common,
|
577
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/rubyext,
|
578
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/include,
|
579
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/iphone,
|
580
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared,
|
581
|
+
/Users/MOHUS/tauplatform/rhodes/platform/iphone/Classes,
|
611
582
|
);
|
612
583
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
613
584
|
ONLY_ACTIVE_ARCH = NO;
|
@@ -632,11 +603,12 @@
|
|
632
603
|
"$(RHO_ROOT)/platform/shared",
|
633
604
|
ZBarSDK/Headers/ZBarSDK,
|
634
605
|
ZBarSDK/Headers/ZBarSDK/zbar,
|
635
|
-
/Users/MOHUS/rhodes/platform/shared/common,
|
636
|
-
/Users/MOHUS/rhodes/platform/shared/rubyext,
|
637
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/include,
|
638
|
-
/Users/MOHUS/rhodes/platform/shared/ruby/iphone,
|
639
|
-
/Users/MOHUS/rhodes/platform/shared,
|
606
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/common,
|
607
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/rubyext,
|
608
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/include,
|
609
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared/ruby/iphone,
|
610
|
+
/Users/MOHUS/tauplatform/rhodes/platform/shared,
|
611
|
+
/Users/MOHUS/tauplatform/rhodes/platform/iphone/Classes,
|
640
612
|
);
|
641
613
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
642
614
|
ONLY_ACTIVE_ARCH = NO;
|