rhodes 7.4.1 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG +319 -0
  3. data/CREDITS +3 -1
  4. data/LICENSE +1 -1
  5. data/README.md +6 -16
  6. data/Rakefile +55 -43
  7. data/SECURITY.md +19 -0
  8. data/appveyor.yml +66 -8
  9. data/azure-pipelines.yml +67 -0
  10. data/bin/rhodes-setup +22 -8
  11. data/extensions/emdk3-manager/ext/platform/android/src/com/rho/emdk3/EMDK3Extension.java +14 -5
  12. data/extensions/instrumentation/ext/platform/android/src/com/rho/instrumentation/Instrumentation.java +29 -15
  13. data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/src/com/rhomobile/rhoelements/ans/ANSManager.java +3 -3
  14. data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/ElementsCore.java +12 -9
  15. data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/graphics/BatteryIndicator.java +2 -2
  16. data/lib/commonAPI/barcode/ext/platform/android/AndroidManifest.xml +3 -1
  17. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeCaptureActivity.java +11 -13
  18. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphicTracker.java +1 -1
  19. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSource.java +3 -3
  20. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSourcePreview.java +1 -1
  21. data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro +1 -1
  22. data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro.erb +2 -2
  23. data/lib/commonAPI/barcode/ext/platform/qt/src/qzxing/QZXing.pri +9 -21
  24. data/lib/commonAPI/barcode/ext.yml +5 -8
  25. data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro +1 -1
  26. data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro.erb +1 -1
  27. data/lib/commonAPI/bluetooth/ext/platform/qt/src/bluetooth/bluetoothhelper.h +1 -1
  28. data/lib/commonAPI/coreapi/RhoSystemApi.rb +6 -0
  29. data/lib/commonAPI/coreapi/ext/Intent.xml +4 -0
  30. data/lib/commonAPI/coreapi/ext/platform/android/Rakefile +0 -12
  31. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/intent/IntentSingleton.java +6 -0
  32. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +5 -2
  33. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +4 -4
  34. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationSingleton.java +1 -1
  35. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/webview/WebViewSingleton.java +40 -27
  36. data/lib/commonAPI/coreapi/ext/platform/iphone/cpp_based_impl/SystemImpl.mm +5 -6
  37. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/Intent.h +1 -1
  38. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/Intent.m +3 -1
  39. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +2 -1
  40. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +10 -0
  41. data/lib/commonAPI/coreapi/ext/platform/wm/src/IntentImpl.cpp +3 -0
  42. data/lib/commonAPI/coreapi/ext/push.xml +5 -2
  43. data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.cpp +13 -0
  44. data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.h +2 -0
  45. data/lib/commonAPI/coreapi/ext/system.xml +3 -0
  46. data/lib/commonAPI/mediacapture/ext/camera.xml +4 -9
  47. data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationCameraActivity.erb +2 -2
  48. data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb +1 -1
  49. data/lib/commonAPI/mediacapture/ext/platform/android/ext_java.files +2 -9
  50. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraExtension.java +0 -2
  51. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraFactory.java +19 -24
  52. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +322 -730
  53. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java +247 -433
  54. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/{CameraSingletonObject.java → CameraSingleton.java} +68 -74
  55. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/mediacapture/RhoCameraFileProvider.java +6 -0
  56. data/lib/commonAPI/mediacapture/ext/platform/qt/MediaCapture.pro.erb +1 -1
  57. data/lib/commonAPI/mediacapture/ext/platform/qt/Mediacapture.pro +1 -1
  58. data/lib/commonAPI/printing_zebra/ext/platform/android/src/com/rhomobile/printing/zebra/impl/ZebraPrintingProviderImpl.java +2 -1
  59. data/lib/commonAPI/signature/ext/platform/iphone/impl/readme.txt +7 -0
  60. data/lib/commonAPI/signature/ext/platform/qt/Signature.pro +3 -10
  61. data/lib/commonAPI/signature/ext/platform/qt/Signature.pro.erb +2 -2
  62. data/lib/extensions/fcm-push/ext/android/ApplicationManifestAdds.erb +15 -17
  63. data/lib/extensions/fcm-push/ext/android/Rakefile +59 -34
  64. data/lib/extensions/fcm-push/ext/android/ext_java.files +0 -1
  65. data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMFacade.java +13 -17
  66. data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +81 -80
  67. data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMListener.java +0 -16
  68. data/lib/extensions/fcm-push/ext/iphone/Podfile +15 -2
  69. data/lib/extensions/fcm-push/ext/iphone/fcm-push.xcodeproj/project.pbxproj +6 -7
  70. data/lib/extensions/fcm-push/ext.yml +1 -1
  71. data/lib/extensions/gmaps/ext/platform/android/ApplicationManifestAdds.erb +1 -0
  72. data/lib/extensions/gmaps/ext/platform/android/src/com/rhomobile/rhodes/gmaps/GMapActivity.java +12 -4
  73. data/lib/extensions/gmaps/ext.yml +3 -1
  74. data/lib/extensions/nfc/ext/platform/android/src/com/rhomobile/nfc/Nfc.java +2 -1
  75. data/lib/extensions/serialport/ext/serialport.pro +1 -1
  76. data/platform/android/Rhodes/jni/include/rhodes/JNIRhodes.h +1 -0
  77. data/platform/android/Rhodes/jni/src/MethodResultJni.cpp +4 -0
  78. data/platform/android/Rhodes/jni/src/fileapi.cpp +4 -0
  79. data/platform/android/Rhodes/res/drawable/baseline_check_24.xml +5 -0
  80. data/platform/android/Rhodes/res/drawable/baseline_check_240.xml +5 -0
  81. data/platform/android/Rhodes/res/drawable/baseline_close_24.xml +5 -0
  82. data/platform/android/Rhodes/res/drawable/baseline_close_240.xml +5 -0
  83. data/platform/android/Rhodes/res/layout/overlay_layout.xml +39 -0
  84. data/platform/android/Rhodes/res/layout/perrmission_alert_dialog.xml +267 -0
  85. data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +183 -66
  86. data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +38 -6
  87. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoFileProvider.java +32 -0
  88. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +532 -92
  89. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +26 -4
  90. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +259 -163
  91. data/platform/android/Rhodes/src/com/rhomobile/rhodes/alert/StatusNotification.java +1 -1
  92. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/AbstractRhoExtension.java +14 -3
  93. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtManager.java +4 -0
  94. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtension.java +5 -4
  95. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +79 -38
  96. data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocation.java +20 -15
  97. data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java +18 -9
  98. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/CallReceiver.java +22 -0
  99. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/IKioskMode.java +11 -0
  100. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/KioskManager.java +18 -0
  101. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyAccessibilityService.java +230 -0
  102. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyNotificationListenerService.java +16 -0
  103. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyOverlayService.java +197 -0
  104. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/PermissionManager.java +232 -0
  105. data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +34 -8
  106. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +1 -1
  107. data/platform/android/Rhodes/src/com/rhomobile/rhodes/permissioncheck/CheckDrawable.java +53 -0
  108. data/platform/android/Rhodes/src/com/rhomobile/rhodes/permissioncheck/PermissionListGenerate.java +366 -0
  109. data/platform/android/Rhodes/src/com/rhomobile/rhodes/rhodes.iml +11 -0
  110. data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +1 -0
  111. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +782 -41
  112. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoInputConnectionWrapper.java +146 -0
  113. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoInputListener.java +21 -0
  114. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +92 -32
  115. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/TauWebViewOptions.java +118 -0
  116. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/WebSettingsProviderBase.java +18 -17
  117. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/WebSettingsProviderEclairMR1.java +4 -4
  118. data/platform/android/build/RhodesSRC_build.files +13 -0
  119. data/platform/android/build/{aab_builder.rb → aapt2_helper.rb} +94 -37
  120. data/platform/android/build/android-repack.rake +8 -1
  121. data/platform/android/build/android.rake +238 -238
  122. data/platform/android/build/android_tools.rb +10 -10
  123. data/platform/android/build/androidcommon.rb +31 -14
  124. data/platform/android/build/build_tools_finder.rb +46 -0
  125. data/platform/android/build/config.yml +8 -0
  126. data/platform/android/build/dex_builder.rb +88 -0
  127. data/platform/android/build/hostplatform.rb +9 -0
  128. data/platform/android/build/manifest_generator.rb +15 -10
  129. data/platform/android/build/maven_deps_extractor.rb +29 -22
  130. data/platform/android/build/ndkwrapper.rb +92 -51
  131. data/platform/android/proguard/proguard-base-rules.pro +5 -0
  132. data/platform/android/proguard/proguard.jar +0 -0
  133. data/platform/iphone/Classes/AppManager/AppManager.m +3 -1
  134. data/platform/iphone/Classes/Camera/PickImageDelegate.h +2 -0
  135. data/platform/iphone/Classes/Camera/PickImageDelegate.m +45 -23
  136. data/platform/iphone/Classes/CocoaServer/CCocoaServer.h +27 -0
  137. data/platform/iphone/Classes/CocoaServer/CCocoaServer.m +107 -0
  138. data/platform/iphone/Classes/CocoaServer/RhoHTTPConnection.h +16 -0
  139. data/platform/iphone/Classes/CocoaServer/RhoHTTPConnection.m +226 -0
  140. data/platform/iphone/Classes/RhoAppBaseLib-Bridging-Header.h +4 -0
  141. data/platform/iphone/Classes/RhoAppBaseStandaloneLib-Bridging-Header.h +4 -0
  142. data/platform/iphone/Classes/RhoCryptAESGCM.swift +105 -0
  143. data/platform/iphone/Classes/RhoUIWebView.h +1 -1
  144. data/platform/iphone/Classes/RhoUIWebView.m +1 -1
  145. data/platform/iphone/Classes/RhoWKWebView.h +1 -1
  146. data/platform/iphone/Classes/RhoWKWebView.mm +110 -15
  147. data/platform/iphone/Classes/RhoWebView.h +1 -1
  148. data/platform/iphone/Classes/RhoWebViewFabrique.m +13 -2
  149. data/platform/iphone/Classes/Rhodes.m +3 -0
  150. data/platform/iphone/Classes/SimpleMainView.m +5 -5
  151. data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +21 -10
  152. data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +4 -0
  153. data/platform/iphone/CocoaHTTPServer/Core/Categories/DDData.h +14 -0
  154. data/platform/iphone/CocoaHTTPServer/Core/Categories/DDData.m +158 -0
  155. data/platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.h +12 -0
  156. data/platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.m +88 -0
  157. data/platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.h +56 -0
  158. data/platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.m +104 -0
  159. data/platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.h +45 -0
  160. data/platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.m +195 -0
  161. data/platform/iphone/CocoaHTTPServer/Core/HTTPConnection.h +120 -0
  162. data/platform/iphone/CocoaHTTPServer/Core/HTTPConnection.m +2708 -0
  163. data/platform/iphone/CocoaHTTPServer/Core/HTTPLogging.h +136 -0
  164. data/platform/iphone/CocoaHTTPServer/Core/HTTPMessage.h +48 -0
  165. data/platform/iphone/CocoaHTTPServer/Core/HTTPMessage.m +113 -0
  166. data/platform/iphone/CocoaHTTPServer/Core/HTTPResponse.h +149 -0
  167. data/platform/iphone/CocoaHTTPServer/Core/HTTPServer.h +205 -0
  168. data/platform/iphone/CocoaHTTPServer/Core/HTTPServer.m +772 -0
  169. data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.h +65 -0
  170. data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.m +529 -0
  171. data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.h +33 -0
  172. data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.m +86 -0
  173. data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.h +23 -0
  174. data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.m +211 -0
  175. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.h +75 -0
  176. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.m +405 -0
  177. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.h +13 -0
  178. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.m +79 -0
  179. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.h +52 -0
  180. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.m +292 -0
  181. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.h +9 -0
  182. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.m +38 -0
  183. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.h +25 -0
  184. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.m +237 -0
  185. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.h +12 -0
  186. data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.m +73 -0
  187. data/platform/iphone/CocoaHTTPServer/Core/WebSocket.h +105 -0
  188. data/platform/iphone/CocoaHTTPServer/Core/WebSocket.m +791 -0
  189. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.h +7 -0
  190. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.m +160 -0
  191. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.h +11 -0
  192. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.m +372 -0
  193. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.h +7 -0
  194. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.m +49 -0
  195. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.h +8 -0
  196. data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.m +69 -0
  197. data/platform/iphone/CocoaHTTPServer/LICENSE.txt +18 -0
  198. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/About.txt +4 -0
  199. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.h +1226 -0
  200. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.m +8528 -0
  201. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/About.txt +33 -0
  202. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.h +41 -0
  203. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.m +99 -0
  204. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.h +102 -0
  205. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m +727 -0
  206. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.h +334 -0
  207. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.m +1353 -0
  208. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.h +601 -0
  209. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.m +1083 -0
  210. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.h +167 -0
  211. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.m +1479 -0
  212. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.h +65 -0
  213. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.m +191 -0
  214. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.h +116 -0
  215. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.m +251 -0
  216. data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/README.txt +7 -0
  217. data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +1 -1
  218. data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +2 -2
  219. data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +410 -1
  220. data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +1 -1
  221. data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +4 -1
  222. data/platform/iphone/rbuild/iphone.rake +13 -8
  223. data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +4 -1
  224. data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +1 -1
  225. data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +1 -1
  226. data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
  227. data/platform/sailfish/build/{harbour-SailfishRhodes.pro.erb → SailfishRhodes.pro.erb} +10 -17
  228. data/platform/sailfish/build/rhodes.pro.erb +7 -17
  229. data/platform/sailfish/build/rpm/SailfishRhodes.desktop.erb +12 -0
  230. data/platform/sailfish/build/rpm/SailfishRhodes.erb +2 -0
  231. data/platform/sailfish/build/rpm/SailfishRhodes.spec.erb +43 -0
  232. data/platform/sailfish/build/rubylib.pro.erb +29 -29
  233. data/platform/sailfish/build/sailfish.rake +188 -180
  234. data/platform/sailfish/keys/regular_cert.pem +14 -0
  235. data/platform/sailfish/keys/regular_key.pem +4 -0
  236. data/platform/shared/common/RhodesApp.cpp +59 -10
  237. data/platform/shared/common/iphone/RhoCryptImpl.mm +130 -54
  238. data/platform/shared/net/HttpServer.cpp +20 -0
  239. data/platform/shared/qt/RhoSimulator.pro +1 -1
  240. data/platform/shared/qt/rhodes/rhodes.pro +4 -11
  241. data/platform/shared/qt/sailfish/SailfishRhodes.desktop +3 -4
  242. data/platform/shared/qt/sailfish/SailfishRhodes.pro +9 -10
  243. data/platform/shared/qt/sailfish/icons/108x108/108x108.png +0 -0
  244. data/platform/shared/qt/sailfish/privileges/sailfishrhodes +2 -0
  245. data/platform/shared/qt/sailfish/qml/pages/FirstPageWK.qml +7 -11
  246. data/platform/shared/qt/sailfish/qml/{harbour-sailfishrhodes.qml → sailfishrhodes.qml} +1 -1
  247. data/platform/shared/qt/sailfish/rpm/sailfishrhodes.spec +80 -0
  248. data/platform/shared/qt/sailfish/rpm/{harbour-sailfishrhodes.yaml → sailfishrhodes.yaml} +2 -2
  249. data/platform/shared/qt/sailfish/src/QtMainWindow.cpp +1 -1
  250. data/platform/shared/qt/sailfish/src/QtMainWindow.h +1 -1
  251. data/platform/shared/qt/sailfish/src/main.cpp +6 -38
  252. data/platform/shared/qt/sailfish/src/rootdelegate.h +2 -14
  253. data/platform/shared/ruby/aurora/ruby/config.h +386 -0
  254. data/platform/shared/ruby/aurora/ruby/constdefs.c +5866 -0
  255. data/platform/shared/ruby/aurora/ruby/constdefs.h +1788 -0
  256. data/platform/shared/ruby/osx/ruby/config.h +2 -0
  257. data/platform/shared/ruby/win32/win32.c +10 -3
  258. data/platform/shared/sqlite/crypto.c +14 -0
  259. data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
  260. data/platform/win32/build/rhodes.nsi +3 -3
  261. data/platform/win32/build/win32.rake +1 -1
  262. data/rakefile.rb +55 -43
  263. data/res/build-tools/RhoRuby.exe +0 -0
  264. data/res/build-tools/aapt2/linux/aapt2 +0 -0
  265. data/res/build-tools/aapt2/osx/aapt2 +0 -0
  266. data/res/build-tools/iphonesim/build/Release/iphonesim_8 +4 -4
  267. data/res/generators/templates/application/AndroidManifest.erb +28 -6
  268. data/res/generators/templates/application/build.yml +18 -11
  269. data/res/generators/templates/application/resources/android/res/xml/provider_paths.xml +4 -0
  270. data/res/generators/templates/application/rhoconfig.txt +15 -1
  271. data/res/generators/templates/iphone_project/Bremen8.xcodeproj/project.pbxproj +24 -1
  272. data/res/generators/templates/iphone_project/Classes/SimpleSwiftClass.swift +20 -0
  273. data/res/generators/templates/iphone_project/Classes/rhorunner-Bridging-Header.h +4 -0
  274. data/rhobuild.yml.example +4 -4
  275. data/rhodes.gemspec +4 -3
  276. data/version +1 -1
  277. metadata +157 -57
  278. data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/drawable/camera_btn.xml +0 -14
  279. data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_land.xml +0 -23
  280. data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_port.xml +0 -23
  281. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraActivity.java +0 -156
  282. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java +0 -227
  283. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java +0 -152
  284. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraPreview.java +0 -183
  285. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonEclair.java +0 -14
  286. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonGingerbread.java +0 -60
  287. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java +0 -20
  288. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraSingletonObject.java +0 -8
  289. data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMTokenRefresherService.java +0 -27
  290. data/platform/android/Rhodes/AndroidManifest.xml.erb +0 -89
  291. data/platform/sailfish/build/rho_build.cmd.erb +0 -14
  292. data/platform/sailfish/build/rho_clean.cmd.erb +0 -14
  293. data/platform/sailfish/build/rho_deploy.cmd.erb +0 -15
  294. data/platform/sailfish/build/rho_rpm.cmd.erb +0 -14
  295. data/platform/sailfish/build/rho_rpmvalidation.cmd.erb +0 -14
  296. data/platform/sailfish/build/rpm/harbour-SailfishRhodes.desktop.erb +0 -7
  297. data/platform/sailfish/build/rpm/harbour-SailfishRhodes.erb +0 -2
  298. data/platform/sailfish/build/rpm/harbour-SailfishRhodes.yaml.erb +0 -37
  299. data/platform/shared/qt/sailfish/harbour-sailfishrhodes.desktop +0 -6
  300. data/platform/shared/qt/sailfish/icons/108x108/harbour-sailfishrhodes.png +0 -0
  301. data/platform/shared/qt/sailfish/privileges/harbour-sailfishrhodes +0 -2
  302. data/platform/shared/qt/sailfish/qml/pages/FirstPageWE.qml +0 -236
  303. /data/platform/shared/qt/sailfish/icons/128x128/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
  304. /data/platform/shared/qt/sailfish/icons/172x172/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
  305. /data/platform/shared/qt/sailfish/icons/86x86/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 43f0cb24d9b4bc90ae296b771c8f11db34b6ba05
4
- data.tar.gz: da7f51bbf2043b713862d144b4d2181a2b2aa817
2
+ SHA256:
3
+ metadata.gz: a1f7e065cb9464decac0baf573173c3535d971ba58d0ab2e729d0818fb7c47bd
4
+ data.tar.gz: 93b0bf39d9c714185ba42b5accf602a00b10a859f797a10e8961d1f1a68e348a
5
5
  SHA512:
6
- metadata.gz: a28711656f80ee9ee6d35a375755d35e7529c773e4d37c5ae122ecdd75e4119c792c2ff4d8b72bc4e4182f136fe2cf31fe9a323ffc1aa42f25475dc4d261a16b
7
- data.tar.gz: 16cb997336dc241454426e0630e7bd8a87b6044bd4c832b8e392229b5ab71cee8f254f60088579de45593d1e322d3a8240a3a48fbc4d5fc148ec58d6860ea162
6
+ metadata.gz: eb4ae78a83d4a62870eda44114008ed01d15786c55e83035faf14ebf6a9964376cd6d4fb5bee5646cd6a687651e9115d096f753df5fa5bee4b0cb0789d3e7e06
7
+ data.tar.gz: 5d41f0f5ee1413677a6edad656e2a016269122b69cdb52de301219d802091b526fab91a837754e51361117abeab83f736245ffebe52f7ecfaefcfeec0b86b60e
data/CHANGELOG CHANGED
@@ -1,3 +1,322 @@
1
+ Please see here to know more about Rho versioning - http://forums.tau-technologies.com/thread/32/branch-version-management
2
+
3
+ 7.5 - May 2022
4
+ - Android: dependencies updated to use androidx instead of support packaga
5
+ - Android: support for new build v32.0.0 and refactored build system
6
+ - Android: Support for Android 11
7
+ - Android: Support for NDK up to v24
8
+ - Android: updated FCM extension
9
+ - Android: allow preload java classes for extensions
10
+ - Android: fix CommonAPI ruby lambda callback issue (#1087)
11
+ - Android: refactor building AAB bundle and add AAPT2 to local toolchain (#1086)
12
+ - iOS: fix Rhodes as lib mode issue
13
+ - iOS: fix issues with CocoaServer
14
+ - iOS: remade local server on CocoaHTTPServer
15
+ - iOS: add another methods for provide direct http/https request with WKWebView
16
+ - iOS: fix issue with multiple choose images from Gallery
17
+ - Win32: added callback on close button pressed
18
+ - Win32: Support for Windows 11 (#1090)
19
+ - General: multiple fixes
20
+
21
+ 7.4
22
+ - General: replace main domain to tau-platform.com
23
+ - iOS: support for iOS 15
24
+ - iOS: support bitcode
25
+ - iOS: force rebuild openssl.o extension for every build
26
+ - iOS: fix CLI build
27
+ - iOS: support cocoapods
28
+ - iOS: upgrade fcm-push
29
+ - Android: fix Camera for Android 10 and higher
30
+ - Android: upgraded network stack
31
+ - Android: support for custom network stacks ( via extensions )
32
+ - Android: support SSL pinning for upgraded network stack
33
+ - Android: fix occasional crashes on Android 9+
34
+ - Android: fix bug with undefined conscrypt class for rhodes as libs
35
+ - Android: remove usage java.nio.file.Paths for backward compatibility
36
+ - Android: allow preload java classes for extensions
37
+ - Win32/RhoSim: enabled Rho::Config
38
+ - Win32: update for MSVC version setting in build.yml
39
+ - WM: fix for windows mobile build on rhodes 7.x.x (#1071)
40
+ - CommonAPI: fix Network: clear input request headers map before saving response headers
41
+
42
+ 7.3
43
+ - General: support for new debugger in VSCode extension ( https://marketplace.visualstudio.com/items?itemName=Tau-Technologies.rhomobile-dev-tools )
44
+ - General: bootstrap version increased to 4.4.1
45
+ - General: multiple fixes and improvements
46
+ - Android: support for Android 11
47
+ - Android: barcode recognizer that uses Google API
48
+ - Android: fix for granding access for sharing files from directory /rhodata/apps/ (Rho::Application.userFolder) to another applications
49
+ - Android: fixing camera crash on API 29 and higher
50
+ - Android: fixing double casting in arrays and hashes
51
+ - Android: reverting usage of requestLegacyExternalStorage flag in manifest
52
+ - Android: suppressing unnecessary calls for start foreground function
53
+ - Android: improve emulator startup
54
+ - Android: fix notification in foreground service for android 10
55
+ - Android: support maven deps as aar
56
+ - iOS: support for iOS 14
57
+ - iOS: control ARCHS of build
58
+ - iOS: extension build script refactoring
59
+ - iOS: fcm-push do not remove Frameworks.zip after unzip
60
+ - iOS: fix Bluetooth ext build
61
+ - iOS: fix build from XCode
62
+ - iOS: fix compilation issue in ZXing barcode lib
63
+ - iOS: fix image rotation issue
64
+ - iOS: fix native lib build
65
+ - iOS: use only active Arch for Debug
66
+ - iOS: openssl.so support M1 - arm64 simulator arch
67
+ - iOS: support only actual architectures
68
+ - iOS: support WebView.allowsInlineMediaPlayback rhoconfig option
69
+ - iOS: tune replacing screenshot for task
70
+ - Win32: VS 2019 supported for build environment
71
+ - Linux: adding setup guide for Rosa-X4
72
+ - Linux: fix remote debugging
73
+ - Linux: rosa rpm changes
74
+ - Linux: ubuntu guide update
75
+ - Sailfish: supporting Sailfish and Aurora both
76
+ - Sailfish: barcode fix
77
+ - RhoLib: fix build errors
78
+ - RhoLib: correct init RhoRuby API after ruby started
79
+ - RhoSim: more extensions in RhoSim
80
+
81
+ 7.2
82
+ - New OS support: ROSA Linux
83
+ - New OS support: Astra Linux
84
+ - New OS support: Red OS
85
+ - Aurora OS: support for v3.2.1.20
86
+ - Android: Git Issue 1029 Start inner service foregorund for prevent kill by OS
87
+ - Android: Support SSL for local server
88
+ - Android: OpenSSL updated to 1.1.1
89
+ - Android: Fix some NPE crashes
90
+ - Android: Fix crash on audio capture and GPS if no permission on Android (#1020)
91
+ - iOS: fcm-push extension compress Google Frameworks for win32 maxpath issue
92
+ - iOS: update Google Firebase libraries in fcm-push extension
93
+ - iOS: support Frameworks and resources from extensions
94
+ - iOS: implement UI delegate for WKWebView - alert and other UI
95
+ - Common: remove non-UTF8 symbols from log messages
96
+
97
+ 7.1.19
98
+ - Android: RhodesLib: add call NativeCallback from Ruby API
99
+ - Android: fix image sharing via intent
100
+ - Android: fix merge resource for app_name param
101
+ - Android: remove network_securiy_config for low api versions
102
+ - iOS: fix setting app badge
103
+ - iOS: fix issue with crash set_sleep on SDk >= 13.2
104
+ - iOS: remove ZBar library from barcode extension binary for fix of UIWebView issue and remove ZBAR support for iOS Barcode engine
105
+ - iOS: fix UIWebView issue with AppStore
106
+ - iOS: RhodesLib: fix framework build issue
107
+ - iOS: fix WKWebView issues with CommonAPI
108
+ - iOS: Migrate to WKWebView by default
109
+ - iOS: fix issues related to Citrix
110
+ - RhoSim, OS X, Win32: Migration to Qt 5.13 and msvs2017 (#1031)
111
+ - Http server: fixing socket leakage
112
+ - Win32: fixing toolbar issue
113
+ - Security: support WebView.replaceContentBySplashWhenSnapshotBySystem for secure recent
114
+
115
+ 7.1.4
116
+ - Android: lots of fixes for ARM64 support
117
+ - Android: build system updates
118
+ - DB fix issue with dropped encryption key after new installation and DB reset
119
+ - restore selected last api level, if current level not available
120
+ - Android: added fcm v18 support extention ( tho-tau-extensions )
121
+ - Android: added rexml-edge for Ruby 2.3 ( rho-tau-extensions )
122
+ - Android: updated enterprise-barcode for ARM64 ( rho-tau-extensions )
123
+
124
+ 7.1.1
125
+ - Android: updated integrated Maven to latest version
126
+ - Android: improved resolution for Maven dependencies
127
+ - Android: some fixes for arm64
128
+ - iOS: removed redunant insecure HTTP links
129
+ - iOS: updated prebuilt openssl libs
130
+
131
+ 7.1.0.beta1
132
+ - RhoLib: support building of Rhodes as standalone library
133
+ - NodeJS: add RubyNodeJS mixed application type and support it on iOS
134
+ - Android: support ARM64 architecture
135
+ - Android: support CLang as native compiler
136
+ - Android: support NDKs up to 20
137
+ - Android: enable cleartext connections to local server with network security
138
+ - Android: fix support for API level above 28 for content file provider
139
+ - Android, iOS: scheduled notification API
140
+ - Android: fix crash when access to Camera after manually disable permission
141
+ - Android: fix crash on KitKat
142
+ - Android: fix CURL when downloading file
143
+ - Android: download external APKs to download dir with private permissions
144
+ - Android: fix build on Windows 10 returning invalid UTF for OS name
145
+ - Android: support Zebra TC51/52
146
+ - Android: some fixes for EMDK Barcode scanner
147
+ - Android: implement X509TrustManagerExtensions for SSL connections
148
+ - iOS: Add applePush extension automatically when push capability enabled
149
+ - iOS: fix crash on iOS < 10.0 in Notification API
150
+ - iOS: add and support Apple's barcode recognizing as default in barcode extension
151
+ - iOS: add rake option for use security tool with temporary keychain
152
+ - iOS: fix Node.JS JS API call from WebView
153
+ - iOS: fix archive issue with public header
154
+ - Win32: Rho::Keyboard.setOpenKeyboard API added
155
+ - Win32: support for start_maximized option in rhoconfig
156
+ - Win32: support for w32_hide_menu_bar option in rhoconfig
157
+ - Win32: fix for fullscreen mode
158
+ - SQLite: fix error when migrating app to new SQLite version
159
+ - RhoSim: fix Rho::Application.rhoPlatformVersion
160
+ - RubyVM: fix deadlock when acquiring GVL
161
+
162
+ 7.0.0.beta10
163
+ - Android: support HTTP for local Ruby server
164
+ - Android: accept third-party cookies when targeted to SDK>=21
165
+ - Android: fix issue with removing image from gallery after choosePicture
166
+ - iOS: fix issue with capture volume keys
167
+ - iOS: prefer old key when use_deprecated_encryption
168
+ - Build: fix Rhoruby crash on Windows 10
169
+
170
+ 7.0.0.beta5
171
+ - Sailfish: Rhodes now supports building apps for Sailfish OS on Win32 and OSX
172
+ - Sailfish: Camera extension supported
173
+ - Sailfish: Barcode extension supported
174
+ - Sailfish: RhoConnect client extension supported
175
+ - Sailfish: Bluetooth extension supported
176
+ - Sailfish: SignatureCapture extension supported
177
+ - Ruby/common: Updated serialport extension to v1.4.0
178
+ - Ruby/common: Updated Ruby Date extension
179
+ - Win32: Bluetooth lock fix
180
+ - Win32: CURL fix
181
+ - Android: Support NDK 16 and 17
182
+ - Android: Build system fixes/updates for new build tools
183
+ - Common: Bluetooth API extracted to separate extension
184
+ - Common: Added System.getRhoPlatformVersion API
185
+ - Android: Running WebView.currentURL in UI thread
186
+ - iOS: Add Image frameworks to project template
187
+ - SQLite: Changing sqlite page size with encryption for back compatibility. For using old page size in DB type 'use_deprecated_encryption: 1' in build.yml
188
+ - Android: Security fixes
189
+ - iOS: Fix invalid PPI value
190
+ - Build: Fix potential deadlock invoking minifier
191
+ - Rhoconnect Push: some additional checks and fixes for new Androids
192
+ - Ruby/common: Bundle encryption some fixes and Ruby helper for reading encrypted files
193
+ - Ruby/common: Added Sensors.readData API
194
+ - iOS: Added 'emulatortarget' setting for build.yml
195
+ - Android: Encrypt schema files with BundleEncryption
196
+ - iOS: Support for iPhone XS, XS Max, XR
197
+ - Android: Updated default min/target SDK levels for generated apps
198
+ - iOS: Fix WebView.navigate with long URL query
199
+ - iOS: Fix issue with missing DB encryption key when restoring from backup
200
+ - Win32: Threading fix
201
+ - Android: Implemented bsd_signal to run with openssl.so on some Androids
202
+ - Common: Various fixes
203
+
204
+ 6.0.58
205
+ - iOS: XCode 10 support
206
+ - iOS: Support for iOS 12
207
+ - Rho: added Application.getRhoPlatformVersion property
208
+ - fix: skip encryption for empty bundle files
209
+ - fix: correctly parse int64 values for Ruby JSON
210
+ - Win32: fixing threading for RhoSim
211
+ - Rho: increase logging performance
212
+ - Android: updating ProGuard rules
213
+ - Win32: cancel uninstalling until app is closed
214
+ - Android: reduce logging spam from file API
215
+ - Android: support prebuilt jars for extensions
216
+ - Rho: increase SQLite3 performance
217
+ - Win32: fixing RhoSim JS bridge
218
+
219
+ 6.0.55
220
+ - iOS: support FCM Push
221
+ - iOS: support ZXing engine
222
+ - iOS: support video resolution options in videocapture
223
+ - iOS: fix Node.js build
224
+ - iOS: remove context methods use from OpenSSL libs by Apple's requirements for AppStore
225
+ - iOS: add NSPhotoLibraryAddUsageDescription key to default Info.plist
226
+ - iOS: support Media.asset icons
227
+ - RhoSimulator: binaries are updated for every further release
228
+ - RhoSimulator: updated QT version to 5.9.5 LTS
229
+ - RhoSimulator: fix user-agents
230
+ - Win32: updated QT version to 5.9.5 LTS
231
+ - Win32: fixes in thread for timers and some other stuff
232
+ - Ruby VM: fix - prevent VM crash if Common API object is not available. Raise Ruby exception instead
233
+ - Ruby VM: adding missing IO methods
234
+ - Android: improve support of Android Studio
235
+ - Android: escape 4-byte UTF sequences as binary for JSON
236
+ - Android : Added intent chooser option
237
+ - json: fix escaping. Treat invalid UTF bytes as binary, leave valid UTF8 intact
238
+ - DB: fix updating source model in source model table
239
+ - DB: fix couple of multithreading issues
240
+ - DB: support AES-256 encryption
241
+ - lots of fixes
242
+
243
+ 6.0.30
244
+ - Rhodes gem: updating nokogiri dependency version to 1.8.2
245
+ - Android: setting android:exported to 'false' for services in manifest.
246
+ - Android: adding "allowBackup" to build.yml. True by default. Using: "allowBackup: false" in android section.
247
+ - update sqlite3 to 3.22
248
+ - fix memory corruption for issue in sqlite3
249
+ - Win32: updating rhosimulator
250
+ - iOS: updating Ruby config for better support of 32/64bit archs
251
+ - iOS: fixing Ruby Date and Time capacity issues
252
+ - Win32: thread force closing modification
253
+ - http server: fix Ruby multithreading by releasing GVL lock on listening socket select
254
+ - minor fixes
255
+
256
+ 6.0.22
257
+ - libOpenSSL updated to v1.1.0h
258
+ - libSQLite updated to v3.20.1
259
+ - libCurl updated to v7.55.1
260
+ - libJson-C updated to v0.8
261
+ - Ruby: adding thread.rb stub to allow requires
262
+ - FCM: support cold start callbacks
263
+ - iOS: allow system language in system UI elements inside application (copy/paste buttons etc.)
264
+ - Android: supporting both old and new AVD creation CLI
265
+ - UWP: fixing async JS invoking
266
+ - Gemspec: updating rest-client version
267
+ - Gemspec: updating rubyzip version
268
+ - iOS, Android: System info APIs
269
+ - iOS, Android: added UTF-16/32 encoders and transcoders to Ruby VM
270
+ - iOS, Android: WebView cookie management APIs
271
+ - Build: fix build script for make gem
272
+ - iOS: Decrease log output during iOS building without --trace
273
+ - Ruby: force UTF-8 encoding for returned strings in SQLite and CommonAPI
274
+ - Android: support native debug for android studio
275
+ - Android: fixing apk upload error handling
276
+ - Android: fixing intent issue with video capture path
277
+ - Win32: updating Rhosimulator
278
+ - iOS: remove restricted API usage - fix AppStore submit issue
279
+ - Build: fix exception when no rhobuild.yml in root gem folder
280
+ - Android: videocapture fix
281
+ - Android: adding Barcode.ReleaseEMDKOnPause setting
282
+ - Android: refactor AVD creation; will use most recent available AVD image if requested was not found
283
+ - iOS: fix build on system where no any provisioning installed
284
+ - Android: changes to support SDK updates
285
+ - Tau extensions: update openssl-edge to openssl 1.1.0h
286
+ - Tau extensions: update crosswalk to version 23-53-589-4
287
+ - Continuous integration support added for Travis and AppVeyor
288
+ - internal platform updates
289
+
290
+ 6.0.11
291
+ - iOS: fix direct net request issue when app activate/deactivate
292
+ - iOS: fix Barcode extension build
293
+ - Win32: timer fix
294
+ - RhoRuby: fixes
295
+ - UWP: Camera extension
296
+
297
+ 6.0.5
298
+ - iOS: optimize time of building
299
+ - Win32: fix alert_play_file
300
+ - iOS, Android, win32, RhoSim: bigdecimal Ruby API
301
+ - iOS,Android: catch invalid characters in percent encoded query
302
+ - iOS: add new option for prevent screenshot making by multitasking switcher
303
+ - Android: iOS: add enableDragAndDrop WebView option
304
+ - Android: don't break build if Google APIs not found
305
+ - win32: fixing RhoRuby.exe
306
+ - android: removing proguard annoying messages
307
+ - iOS: fix issue with lost AES DB key stored in keychain when upgrade iOS
308
+ - iOS: fix invalid thread for network activity indicator using
309
+ - iOS: add iPhone X new splash for use full screen resolution
310
+ - UWP: timer extention
311
+ - Win32: fixing sound notification
312
+ - iOS: support receive push after application open by tap on notification
313
+ - iOS: fix iOS 11 SDK compilation issue
314
+ - iOS,Android: fix decypt bug
315
+ - Android: fixing Camera onCancel result
316
+ - UWP: sensors extension
317
+ - Android: Fixed google maps crash Bug #1129
318
+ - Android: fix getting mime types for external locations
319
+
1
320
  6.0.5:
2
321
  - iOS: optimize time of building
3
322
  - Win32: fix alert_play_file
data/CREDITS CHANGED
@@ -2227,4 +2227,6 @@ Rhodes contains code from the following other projects:
2227
2227
 
2228
2228
  JXcore (https://github.com/jxcore/jxcore)
2229
2229
  License: MIT-Style (https://github.com/jxcore/jxcore/blob/master/JXCORE_LICENSE)
2230
-
2230
+
2231
+ CocoaHTTPServer (https://github.com/robbiehanson/CocoaHTTPServer)
2232
+ License: BSD-style (https://github.com/robbiehanson/CocoaHTTPServer/blob/master/LICENSE.txt)
data/LICENSE CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Copyright (c) 2008-2010 Rhomobile, Inc.
4
4
  Copyright (c) 2011-2016 Symbol Technologies LLC
5
- Copyright (c) 2016-2020 Tau Technologies, Inc.
5
+ Copyright (c) 2016-2022 Tau Technologies, Inc.
6
6
 
7
7
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,27 +1,17 @@
1
+ [![Build Status](https://dev.azure.com/TauPlatform/rhodes/_apis/build/status/rhomobile.rhodes?branchName=master)](https://dev.azure.com/TauPlatform/rhodes/_build/latest?definitionId=1&branchName=master)
2
+
1
3
  [![Build Status](https://travis-ci.org/rhomobile/rhodes.svg?branch=master)](https://travis-ci.org/rhomobile/rhodes)
2
4
 
3
5
  [![Build status](https://ci.appveyor.com/api/projects/status/4c1uqndnfau9c8hq/branch/master?svg=true)](https://ci.appveyor.com/project/alex-epifanoff/rhodes/branch/master)
4
6
 
5
7
  # Current state of Rhomobile solution
6
8
 
7
- Currently Rhomobile solution supported and improved by TAU Technologies Inc (partner of Zebra Technologies).
8
- For questions on commercial support contact [contact mail](mailto:info@tau-platform.com) or reach out to the [TAU Technologies website](http://www.tau-platform.com).
9
-
10
- Current actual version is Rhomobile Suite 7.0. [Download RMS 7.0](http://tau-platform.com/developers/downloads/)
11
-
12
- Actual documentation located on [RMS 7.0 documentation](http://docs.tau-platform.com/en/7.0/home)
13
-
14
-
15
- # RhoMobile Open Source Documentation
16
-
17
- This page contains links to documentation and source-code repositories for the RhoMobile Suite, which has been released by Zebra Technologies to the open source community.
18
-
19
- For access to prior documentation, please visit **[Zebra's RhoMobile documentation site](http://docs.rhomobile.com/en/5.4/guide/welcome)**.
20
-
9
+ Currently Rhomobile solution supported and improved by TAU Technologies.
10
+ For questions on commercial support contact [contact mail](mailto:info@tau-platform.com) or reach out to the [TAU Technologies website](http://tau-platform.com).
21
11
 
22
- ## Getting RhoMobile source code
12
+ Current actual version is Rhomobile Suite 7.5. [Download RMS 7.5](http://tau-platform.com/developers/downloads/)
23
13
 
24
- [Getting Source Code](https://github.com/rhomobile/rhodes/blob/master/doc/oss/getting_source_code.md) - How to use git to download all the source code that Zebra is making available.
14
+ Actual documentation located on [RMS 7.5 documentation](http://docs.tau-platform.com/en/7.5/home)
25
15
 
26
16
  ## RhoMobile versions
27
17
 
data/Rakefile CHANGED
@@ -3985,11 +3985,11 @@ namespace "build" do
3985
3985
 
3986
3986
  rho_ruby_project = File.join($startdir, "platform/win32/RubyWin/RubyWin.2015.sln")
3987
3987
  argsClean = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
3988
- '/p:VisualStudioVersion=14.0', '/t:Clean']
3988
+ '/p:VisualStudioVersion=14.2', '/t:Clean']
3989
3989
  Jake.run(msbuild, argsClean)
3990
3990
 
3991
3991
  argsBuild = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
3992
- '/p:VisualStudioVersion=14.0', '/t:Build']
3992
+ '/p:VisualStudioVersion=14.2', '/t:Build']
3993
3993
  Jake.run(msbuild, argsBuild)
3994
3994
  puts "RhoRuby rebuilded"
3995
3995
  end
@@ -4055,6 +4055,7 @@ namespace "run" do
4055
4055
 
4056
4056
  namespace :rhosimulator do
4057
4057
 
4058
+ # run:rhosimulator:build
4058
4059
  task :build => ["config:common"] do
4059
4060
 
4060
4061
  RhoPackages.request 'rhosimulator'
@@ -4273,6 +4274,7 @@ namespace "run" do
4273
4274
  end
4274
4275
  end
4275
4276
 
4277
+ # run:rhosimulator:run
4276
4278
  task :run, [:wait] => ["config:common"] do |t, args|
4277
4279
  wait = args[:wait] == 'wait'
4278
4280
 
@@ -4296,9 +4298,9 @@ namespace "run" do
4296
4298
  end
4297
4299
 
4298
4300
  if $config['env']['paths']['rhosimulator'] and $config['env']['paths']['rhosimulator'].length() > 0
4299
- path = File.join( $config['env']['paths']['rhosimulator'], "rhosimulator.exe" )
4301
+ path = File.join( $config['env']['paths']['rhosimulator'], "RhoSimulator.exe" )
4300
4302
  else
4301
- path = File.join( $startdir, "platform/win32/RhoSimulator/rhosimulator.exe" )
4303
+ path = File.join( $startdir, "platform/win32/RhoSimulator/RhoSimulator.exe" )
4302
4304
  end
4303
4305
 
4304
4306
  oldDir = File.join( $startdir, "platform/win32/RhoSimulator" )
@@ -4307,7 +4309,7 @@ namespace "run" do
4307
4309
  qtdir = ENV['QTDIR']
4308
4310
  args << "-remote-debugging-port=9090"
4309
4311
 
4310
- cmd = File.join(newDir, 'rhosimulator.exe')
4312
+ cmd = File.join(newDir, 'RhoSimulator.exe')
4311
4313
  elsif RUBY_PLATFORM =~ /darwin/
4312
4314
 
4313
4315
  path = File.join( $startdir, "platform/osx/bin/RhoSimulator" )
@@ -4351,6 +4353,7 @@ namespace "run" do
4351
4353
 
4352
4354
 
4353
4355
  #desc "Run application on RhoSimulator"
4356
+ # run:rhosimulator
4354
4357
  task :rhosimulator => ["run:rhosimulator:build", "run:rhosimulator:run"]
4355
4358
  end
4356
4359
 
@@ -4452,59 +4455,68 @@ namespace "build" do
4452
4455
  end
4453
4456
 
4454
4457
  def downloadRhosim( targetPath )
4455
- require 'tempfile'
4456
4458
 
4457
- commit = `git rev-parse HEAD`.strip
4458
- branch = `git rev-parse --abbrev-ref HEAD`.strip
4459
+ require 'tempfile'
4459
4460
 
4460
- if RUBY_PLATFORM =~ /(win|w)32$/
4461
- url = "https://tau-autobuilds.s3.eu-central-1.amazonaws.com/rhomobile/rhodes/#{branch}/#{commit}/win32-RhoSimulator/RhoSimulator.zip"
4462
- elsif RUBY_PLATFORM =~ /darwin/
4463
- url = "https://tau-autobuilds.s3.eu-central-1.amazonaws.com/rhomobile/rhodes/#{branch}/#{commit}/osx-rhosimulator_osx-/RhoSimulator.app.zip"
4464
- else
4465
- return
4466
- end
4461
+ commit = `git rev-parse HEAD`.strip
4462
+ branch = `git rev-parse --abbrev-ref HEAD`.strip
4467
4463
 
4468
- $logger.info "Downloading rhosim from #{url}"
4464
+ if RUBY_PLATFORM =~ /(win|w)32$/
4465
+ url = "https://tau-autobuilds.s3.eu-central-1.amazonaws.com/rhomobile/rhodes/#{branch}/#{commit}/win32-RhoSimulator/RhoSimulator.zip"
4466
+ elsif RUBY_PLATFORM =~ /darwin/
4467
+ url = "https://tau-autobuilds.s3.eu-central-1.amazonaws.com/rhomobile/rhodes/#{branch}/#{commit}/osx-rhosimulator_osx-/RhoSimulator.app.zip"
4468
+ else
4469
+ return
4470
+ end
4469
4471
 
4470
- file = Tempfile.new('rhosim.zip')
4471
- file.binmode
4472
+ $logger.info "Downloading rhosim from #{url}"
4472
4473
 
4473
- uri = URI.parse(url)
4474
+ file = Tempfile.new('rhosim.zip')
4475
+ file.binmode
4474
4476
 
4475
- http = Net::HTTP.new(uri.host, uri.port)
4476
- http.use_ssl = true
4477
+ uri = URI.parse(url)
4477
4478
 
4478
- http.request_get(uri.path) do |response|
4479
- length = response['Content-Length'].to_i
4480
- x = 0
4479
+ http = Net::HTTP.new(uri.host, uri.port)
4480
+ http.use_ssl = true
4481
4481
 
4482
- response.read_body do |fragment|
4483
- x += fragment.length
4484
- file.write(fragment)
4485
- end
4486
- end
4482
+ begin
4487
4483
 
4488
- file.flush
4489
- file.close
4484
+ http.request_get(uri.path) do |response|
4485
+ length = response['Content-Length'].to_i
4486
+ x = 0
4490
4487
 
4491
- $logger.info "Unzipping #{file.path} to #{targetPath}"
4488
+ response.read_body do |fragment|
4489
+ x += fragment.length
4490
+ file.write(fragment)
4491
+ end
4492
+ end
4492
4493
 
4493
- mkdir_p( targetPath )
4494
+ file.flush
4495
+ file.close
4494
4496
 
4495
- require 'zip'
4497
+ $logger.info "Unzipping #{file.path} to #{targetPath}"
4496
4498
 
4497
- zipfile = file.path
4498
- file.close
4499
+ mkdir_p( targetPath )
4499
4500
 
4500
- Zip::File.open(zipfile) do |zip_file|
4501
- zip_file.each do |f|
4502
- fpath = File.join(targetPath, f.name)
4503
- zip_file.extract(f, fpath)
4504
- end
4505
- end
4501
+ require 'zip'
4506
4502
 
4507
- file.delete
4503
+ zipfile = file.path
4504
+ file.close
4505
+
4506
+ Zip::File.open(zipfile) do |zip_file|
4507
+ zip_file.each do |f|
4508
+ fpath = File.join(targetPath, f.name)
4509
+ zip_file.extract(f, fpath)
4510
+ end
4511
+ end
4512
+
4513
+ rescue Exception => e
4514
+ $logger.error "Can't download RhoSimulator: #{e.inspect}"
4515
+
4516
+ rm_r targetPath
4517
+ ensure
4518
+ file.delete
4519
+ end
4508
4520
 
4509
4521
  end
4510
4522
 
data/SECURITY.md ADDED
@@ -0,0 +1,19 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ | Version | Supported |
6
+ | ------- | ------------------ |
7
+ | 7.4.x | :white_check_mark: |
8
+ | 7.3.x | :white_check_mark: |
9
+ | 7.2.x | :white_check_mark: |
10
+ | 7.1.x | :white_check_mark: |
11
+ | < 7.1 | :x: |
12
+
13
+ ## Reporting a Vulnerability
14
+
15
+ Ways to submit a support request or security issue:
16
+
17
+ 1. Github issue.
18
+ 2. Zendesk ( for paid customers ): https://tautechnologies.zendesk.com/
19
+ 3. Community forums: https://forums.tau-platform.com