rhodes 7.1.17 → 7.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1157) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +1 -1
  3. data/Gemfile +3 -0
  4. data/LICENSE +1 -1
  5. data/README.html +2 -2
  6. data/README.md +26 -23
  7. data/Rakefile +169 -89
  8. data/appveyor.yml +74 -47
  9. data/bin/rhodes-setup +4 -4
  10. data/doc/application.txt +21 -0
  11. data/doc/oss/DeveloperNotes.md +1 -1
  12. data/doc/oss/WM_CE_Installation_And_Build_Guidelines.md +1 -1
  13. data/ext/extconf.rb +16 -3
  14. data/extensions/instrumentation/ext/platform/iphone/Instrumentation.xcodeproj/project.pbxproj +4 -4
  15. data/extensions/rhoconnect-push/ext/build.bat +1 -1
  16. data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/graphics/BatteryIndicator.java +14 -1
  17. data/lib/build/buildgem.rb +26 -0
  18. data/lib/build/jake.rb +7 -5
  19. data/lib/commonAPI/ConnectionChecking/ext/build.bat +1 -1
  20. data/lib/commonAPI/RubyServer/ext/build.bat +1 -1
  21. data/lib/commonAPI/RubyServer/ext/platform/iphone/Rakefile +9 -62
  22. data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer.xcodeproj/project.pbxproj +4 -4
  23. data/lib/commonAPI/audiocapture/ext/build.bat +1 -1
  24. data/lib/commonAPI/audiocapture/ext/platform/android/src/com/rho/audiocapture/AudioCapture.java +4 -1
  25. data/lib/commonAPI/audiocapture/ext/platform/iphone/Audiocapture.xcodeproj/project.pbxproj +4 -4
  26. data/lib/commonAPI/audiocapture/ext/platform/iphone/Rakefile +9 -63
  27. data/lib/commonAPI/barcode/ext/barcode.xml +2 -6
  28. data/lib/commonAPI/barcode/ext/build +5 -0
  29. data/lib/commonAPI/barcode/ext/build.bat +1 -1
  30. data/lib/commonAPI/barcode/ext/platform/android/AndroidManifest.xml +13 -0
  31. data/lib/commonAPI/barcode/ext/platform/android/Rakefile +229 -0
  32. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_arrow_back.png +0 -0
  33. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_done.png +0 -0
  34. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_flash_off.png +0 -0
  35. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_flash_on.png +0 -0
  36. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_replay.png +0 -0
  37. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable-hdpi/icon.png +0 -0
  38. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/layout/barcode_capture.xml +98 -0
  39. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/barcode_strings.xml +12 -0
  40. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/barcode_styles.xml +8 -0
  41. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/dimens.xml +5 -0
  42. data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values-w820dp/dimens.xml +6 -0
  43. data/lib/commonAPI/barcode/ext/platform/android/ext_java.files +11 -0
  44. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeCaptureActivity.java +669 -0
  45. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeFormats.java +64 -0
  46. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphic.java +94 -0
  47. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphicTracker.java +165 -0
  48. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeTrackerFactory.java +47 -0
  49. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSource.java +1166 -0
  50. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSourcePreview.java +189 -0
  51. data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/GraphicOverlay.java +309 -0
  52. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeCommon.java +199 -0
  53. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactory.java +66 -49
  54. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactoryRhoListener.java +9 -1
  55. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java +9 -1
  56. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeSingleton.java +75 -23
  57. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/InternalAndroidBarcodeScanner.java +184 -0
  58. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/ZXingScanner.java +48 -180
  59. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/emdk3/EMDK3Scanner.java +8 -1
  60. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/emdk3/EMDK3ScannerSettings.java +4 -3
  61. data/lib/commonAPI/barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +4 -4
  62. data/lib/commonAPI/barcode/ext/platform/iphone/Rakefile +9 -64
  63. data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC/client/result/ZXResultParser.m +1 -1
  64. data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC/datamatrix/decoder/ZXDataMatrixDecodedBitStreamParser.m +4 -4
  65. data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC.xcodeproj/project.pbxproj +6 -6
  66. data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro +41 -37
  67. data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogBuilder.h +2 -0
  68. data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogView.cpp +6 -3
  69. data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogView.h +1 -1
  70. data/lib/commonAPI/barcode/ext/platform/qt/src/qzxing/zxing/zxing/ZXing.h +5 -5
  71. data/lib/commonAPI/barcode/ext.yml +10 -1
  72. data/lib/commonAPI/bluetooth/ext/build.bat +1 -1
  73. data/lib/commonAPI/bluetooth/ext/platform/android/src/com/rhomobile/rhodes/bluetooth/RhoBluetoothManagerNew.java +2 -0
  74. data/lib/commonAPI/bluetooth/ext/platform/iphone/Bluetooth.xcodeproj/project.pbxproj +6 -16
  75. data/lib/commonAPI/bluetooth/ext/platform/iphone/Rakefile +9 -62
  76. data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro +8 -11
  77. data/lib/commonAPI/bluetooth/ext/platform/qt/src/bluetooth/bluetoothserver.h +1 -1
  78. data/lib/commonAPI/clipboard/ext/build.bat +1 -1
  79. data/lib/commonAPI/clipboard/ext/platform/iphone/Clipboard.xcodeproj/project.pbxproj +4 -4
  80. data/lib/commonAPI/clipboard/ext/platform/iphone/Rakefile +9 -62
  81. data/lib/commonAPI/coreapi/RhoNativeTabbarApi.rb +1 -1
  82. data/lib/commonAPI/coreapi/RhoNotificationApi.rb +1 -1
  83. data/lib/commonAPI/coreapi/ext/Application.xml +2 -1
  84. data/lib/commonAPI/coreapi/ext/Timer.xml +21 -13
  85. data/lib/commonAPI/coreapi/ext/build +5 -0
  86. data/lib/commonAPI/coreapi/ext/build.bat +1 -1
  87. data/lib/commonAPI/coreapi/ext/platform/android/ApplicationManifestAdds.erb +0 -1
  88. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/intent/IntentSingleton.java +21 -7
  89. data/lib/commonAPI/coreapi/ext/platform/iphone/Coreapi.xcodeproj/project.pbxproj +6 -4
  90. data/lib/commonAPI/coreapi/ext/platform/iphone/cpp_based_impl/SystemImpl.mm +4 -2
  91. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/IntentSingleton.m +2 -2
  92. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +2 -2
  93. data/lib/commonAPI/coreapi/ext/platform/qt/coreapi.pro +16 -17
  94. data/lib/commonAPI/coreapi/ext/platform/qt/src/CNativeToolbarImpl.cpp +1 -1
  95. data/lib/commonAPI/coreapi/ext/platform/wm/src/NetworkDetect.h +2 -2
  96. data/lib/commonAPI/coreapi/ext/platform/wm/src/NotificationImpl.cpp +7 -0
  97. data/lib/commonAPI/coreapi/ext/platform/wm/src/SystemImpl.cpp +1 -3
  98. data/lib/commonAPI/coreapi/ext/push.xml +5 -3
  99. data/lib/commonAPI/coreapi/ext/shared/ApplicationImpl.cpp +2 -2
  100. data/lib/commonAPI/coreapi/ext/shared/InitExtension.cpp +8 -8
  101. data/lib/commonAPI/coreapi/ext/shared/NetworkDetectBase.cpp +1 -1
  102. data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.cpp +2 -0
  103. data/lib/commonAPI/coreapi/ext/system.xml +3 -0
  104. data/lib/commonAPI/devicesecurity/ext/DeviceSecurity.xml +2 -2
  105. data/lib/commonAPI/devicesecurity/ext/build.bat +1 -1
  106. data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +4 -4
  107. data/lib/commonAPI/devicesecurity/ext/platform/iphone/Rakefile +9 -62
  108. data/lib/commonAPI/eventsource/ext/platform/iphone/Eventsource.xcodeproj/project.pbxproj +4 -4
  109. data/lib/commonAPI/eventsource/ext/platform/iphone/Rakefile +9 -64
  110. data/lib/commonAPI/hardwarekeys/ext/platform/android/src/com/rho/keycapture/KeyCaptureRhoListener.java +11 -1
  111. data/lib/commonAPI/hardwarekeys/ext/platform/android/src/com/rho/keycapture/KeyCaptureSingleton.java +14 -1
  112. data/lib/commonAPI/hardwarekeys/ext/platform/iphone/HardwareKeys.xcodeproj/project.pbxproj +4 -4
  113. data/lib/commonAPI/hardwarekeys/ext/platform/iphone/Rakefile +9 -62
  114. data/lib/commonAPI/indicators/ext/platform/iphone/Indicators.xcodeproj/project.pbxproj +4 -4
  115. data/lib/commonAPI/indicators/ext/platform/iphone/Rakefile +9 -62
  116. data/lib/commonAPI/javascriptvm/ext/platform/iphone/Javascriptvm.xcodeproj/project.pbxproj +4 -4
  117. data/lib/commonAPI/javascriptvm/ext/platform/iphone/Rakefile +9 -63
  118. data/lib/commonAPI/logCapture/ext/build.bat +1 -1
  119. data/lib/commonAPI/logCapture/ext/platform/iphone/LogCapture.xcodeproj/project.pbxproj +4 -4
  120. data/lib/commonAPI/logCapture/ext/platform/iphone/Rakefile +9 -62
  121. data/lib/commonAPI/mediacapture/ext/build +5 -0
  122. data/lib/commonAPI/mediacapture/ext/build.bat +1 -1
  123. data/lib/commonAPI/mediacapture/ext/platform/android/AndroidManifest_rhomobile.xml +1 -0
  124. data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb +9 -0
  125. data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/xml/image_fileprovider_paths.xml +4 -0
  126. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +60 -3
  127. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java +50 -8
  128. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/videocapture/Videocapture.java +3 -1
  129. data/lib/commonAPI/mediacapture/ext/platform/iphone/Mediacapture.xcodeproj/project.pbxproj +4 -4
  130. data/lib/commonAPI/mediacapture/ext/platform/iphone/Rakefile +9 -62
  131. data/lib/commonAPI/mediacapture/ext/platform/qt/{MediaCapture.pro → Mediacapture.pro} +19 -33
  132. data/lib/commonAPI/mediacapture/ext/platform/qt/src/Camera_impl.cpp +1 -1
  133. data/lib/commonAPI/mediacapture/ext.yml +4 -1
  134. data/lib/commonAPI/mediaplayer/ext/platform/iphone/Mediaplayer.xcodeproj/project.pbxproj +4 -4
  135. data/lib/commonAPI/mediaplayer/ext/platform/iphone/Rakefile +9 -62
  136. data/lib/commonAPI/printing/ext/platform/iphone/Printing.xcodeproj/project.pbxproj +4 -4
  137. data/lib/commonAPI/printing/ext/platform/iphone/Rakefile +9 -62
  138. data/lib/commonAPI/printing_epson/ext/platform/iphone/PrintingEpson.xcodeproj/project.pbxproj +4 -4
  139. data/lib/commonAPI/printing_epson/ext/platform/iphone/Rakefile +9 -62
  140. data/lib/commonAPI/printing_zebra/ext/platform/iphone/PrintingZebra.xcodeproj/project.pbxproj +4 -4
  141. data/lib/commonAPI/printing_zebra/ext/platform/iphone/Rakefile +9 -62
  142. data/lib/commonAPI/screenorientation/ext/platform/android/src/com/rho/screenorientation/ScreenOrientationRhoListener.java +2 -1
  143. data/lib/commonAPI/screenorientation/ext/platform/android/src/com/rho/screenorientation/ScreenOrientationSingleton.java +19 -6
  144. data/lib/commonAPI/screenorientation/ext/platform/iphone/Rakefile +9 -63
  145. data/lib/commonAPI/screenorientation/ext/platform/iphone/Screenorientation.xcodeproj/project.pbxproj +4 -4
  146. data/lib/commonAPI/sensor/ext/platform/iphone/Rakefile +9 -62
  147. data/lib/commonAPI/sensor/ext/platform/iphone/Sensor.xcodeproj/project.pbxproj +4 -4
  148. data/lib/commonAPI/signature/ext/build.bat +8 -0
  149. data/lib/commonAPI/signature/ext/platform/iphone/Rakefile +9 -62
  150. data/lib/commonAPI/signature/ext/platform/iphone/signature.xcodeproj/project.pbxproj +4 -4
  151. data/lib/commonAPI/signature/ext/platform/qt/Signature.pro +26 -12
  152. data/lib/commonAPI/signature/ext.yml +0 -1
  153. data/lib/commonAPI/smartcradle/ext/build.bat +1 -1
  154. data/lib/commonAPI/websocket/ext/platform/iphone/Rakefile +9 -62
  155. data/lib/commonAPI/websocket/ext/platform/iphone/Websocket.xcodeproj/project.pbxproj +4 -4
  156. data/lib/extensions/Development/ext/build.bat +1 -1
  157. data/lib/extensions/Development/ext/platform/iphone/Development.xcodeproj/project.pbxproj +4 -4
  158. data/lib/extensions/Development/ext/platform/iphone/Rakefile +9 -62
  159. data/lib/extensions/applePush/ext/platform/iphone/ApplePush.xcodeproj/project.pbxproj +4 -4
  160. data/lib/extensions/applePush/ext/platform/iphone/Rakefile +9 -62
  161. data/lib/extensions/audiocapture/ext/audiocapture/platform/iphone/Audiocapture.xcodeproj/project.pbxproj +4 -4
  162. data/lib/extensions/audiocapture/ext/audiocapture/platform/iphone/Rakefile +9 -62
  163. data/lib/extensions/bigdecimal/ext/Rakefile +2 -2
  164. data/lib/extensions/bigdecimal/ext/bigdecimal.pro +9 -0
  165. data/lib/extensions/bigdecimal/ext/build +4 -0
  166. data/lib/extensions/bigdecimal/ext/build.bat +1 -1
  167. data/lib/extensions/bigdecimal/ext/iphone/Bigdecimal.xcodeproj/project.pbxproj +4 -4
  168. data/lib/extensions/bigdecimal/ext/iphone/Rakefile +9 -62
  169. data/lib/extensions/debugger/debugger.rb +331 -180
  170. data/lib/extensions/decrypt/ext/build.bat +1 -1
  171. data/lib/extensions/decrypt/ext/platform/iphone/Decrypt.xcodeproj/project.pbxproj +4 -4
  172. data/lib/extensions/decrypt/ext/platform/iphone/Rakefile +9 -62
  173. data/lib/extensions/decryptstub/ext/build.bat +1 -1
  174. data/lib/extensions/decryptstub/ext/platform/iphone/Decryptstub.xcodeproj/project.pbxproj +6 -4
  175. data/lib/extensions/decryptstub/ext/platform/iphone/Rakefile +9 -62
  176. data/lib/extensions/digest/ext/Rakefile +2 -2
  177. data/lib/extensions/digest/ext/build +4 -0
  178. data/lib/extensions/digest/ext/build.bat +1 -1
  179. data/lib/extensions/digest/ext/digest.pro +9 -0
  180. data/lib/extensions/digest/ext/iphone/Digest.xcodeproj/project.pbxproj +4 -4
  181. data/lib/extensions/digest/ext/iphone/Rakefile +9 -62
  182. data/lib/extensions/digest-md5/ext/Rakefile +2 -2
  183. data/lib/extensions/digest-md5/ext/build +4 -0
  184. data/lib/extensions/digest-md5/ext/build.bat +1 -1
  185. data/lib/extensions/digest-md5/ext/digest-md5.pro +9 -0
  186. data/lib/extensions/digest-md5/ext/iphone/Dmd5.xcodeproj/project.pbxproj +4 -4
  187. data/lib/extensions/digest-md5/ext/iphone/Rakefile +9 -62
  188. data/lib/extensions/digest-sha1/ext/Rakefile +2 -2
  189. data/lib/extensions/digest-sha1/ext/build +4 -0
  190. data/lib/extensions/digest-sha1/ext/build.bat +1 -1
  191. data/lib/extensions/digest-sha1/ext/digest-sha1.pro +9 -0
  192. data/lib/extensions/digest-sha1/ext/iphone/Dsha1.xcodeproj/project.pbxproj +4 -4
  193. data/lib/extensions/digest-sha1/ext/iphone/Rakefile +9 -62
  194. data/lib/extensions/digest-sha2/ext/Rakefile +2 -2
  195. data/lib/extensions/digest-sha2/ext/build +4 -0
  196. data/lib/extensions/digest-sha2/ext/build.bat +1 -1
  197. data/lib/extensions/digest-sha2/ext/digest-sha2.pro +9 -0
  198. data/lib/extensions/digest-sha2/ext/iphone/Dsha2.xcodeproj/project.pbxproj +4 -4
  199. data/lib/extensions/digest-sha2/ext/iphone/Rakefile +9 -62
  200. data/lib/extensions/esri/ext/esri/platform/iphone/ESRI.xcodeproj/project.pbxproj +4 -4
  201. data/lib/extensions/esri/ext/esri/platform/iphone/Rakefile +9 -65
  202. data/lib/extensions/fcm-push/ext/iphone/Podfile +11 -0
  203. data/lib/extensions/fcm-push/ext/iphone/Rakefile +13 -66
  204. data/lib/extensions/fcm-push/ext/iphone/fcm-push.xcodeproj/project.pbxproj +99 -48
  205. data/lib/extensions/fcm-push/ext/iphone/impl/PushNotificationsReceiver.h +3 -1
  206. data/lib/extensions/fcm-push/ext/iphone/impl/PushNotificationsReceiver.mm +11 -4
  207. data/lib/extensions/fcm-push/ext/iphone/resources.txt +1 -0
  208. data/lib/extensions/fcm-push/ext.yml +5 -1
  209. data/lib/extensions/fcntl/ext/Rakefile +2 -2
  210. data/lib/extensions/fcntl/ext/build +4 -0
  211. data/lib/extensions/fcntl/ext/build.bat +1 -1
  212. data/lib/extensions/fcntl/ext/fcntl.pro +9 -0
  213. data/lib/extensions/fcntl/ext/iphone/Fcntl.xcodeproj/project.pbxproj +4 -4
  214. data/lib/extensions/fcntl/ext/iphone/Rakefile +9 -62
  215. data/lib/extensions/keyboard/ext/build.bat +1 -1
  216. data/lib/extensions/keyboard/ext/platform/iphone/Keyboard.xcodeproj/project.pbxproj +4 -4
  217. data/lib/extensions/keyboard/ext/platform/iphone/Rakefile +9 -62
  218. data/lib/extensions/openssl/ext/Rakefile +2 -2
  219. data/lib/extensions/openssl/ext/build +4 -0
  220. data/lib/extensions/openssl/ext/build.bat +1 -1
  221. data/lib/extensions/openssl/ext/iphone/Rakefile +9 -62
  222. data/lib/extensions/openssl/ext/iphone/openssl.xcodeproj/project.pbxproj +4 -4
  223. data/lib/extensions/openssl/ext/linux/extconf.h +65 -0
  224. data/lib/extensions/openssl/ext/openssl.pro +10 -0
  225. data/lib/extensions/openssl/ext/openssl_missing.c +4 -2
  226. data/lib/extensions/openssl/ext/ossl.h +3 -0
  227. data/lib/extensions/openssl/ext/ossl_x509cert.c +1 -1
  228. data/lib/extensions/openssl.so/ext/Rakefile +1 -1
  229. data/lib/extensions/openssl.so/ext/android/aarch64/libopenssl.so.a +0 -0
  230. data/lib/extensions/openssl.so/ext/android/armeabi/libopenssl.so.a +0 -0
  231. data/lib/extensions/openssl.so/ext/android/x86/libopenssl.so.a +0 -0
  232. data/lib/extensions/openssl.so/ext/build +4 -0
  233. data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libcrypto.a +0 -0
  234. data/lib/extensions/{fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics → openssl.so/ext/iphone/OpenSSl.SDK/libcrypto_sim.a} +0 -0
  235. data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl.a +0 -0
  236. data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl_sim.a +0 -0
  237. data/lib/extensions/openssl.so/ext/iphone/Rakefile +30 -54
  238. data/lib/extensions/openssl.so/ext/iphone/Release-iphoneos/libopenssl.so.a +0 -0
  239. data/lib/extensions/openssl.so/ext/iphone/Release-iphonesimulator/libopenssl.so.a +0 -0
  240. data/lib/extensions/openssl.so/ext/iphone/openssl.xcodeproj/project.pbxproj +116 -10
  241. data/lib/extensions/openssl.so/ext/sources/include/openssl/__DECC_INCLUDE_EPILOGUE.H +9 -3
  242. data/lib/extensions/openssl.so/ext/sources/include/openssl/__DECC_INCLUDE_PROLOGUE.H +10 -4
  243. data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1.h +13 -226
  244. data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1err.h +256 -0
  245. data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1t.h +24 -8
  246. data/lib/extensions/openssl.so/ext/sources/include/openssl/async.h +2 -24
  247. data/lib/extensions/openssl.so/ext/sources/include/openssl/asyncerr.h +42 -0
  248. data/lib/extensions/openssl.so/ext/sources/include/openssl/bio.h +89 -139
  249. data/lib/extensions/openssl.so/ext/sources/include/openssl/bioerr.h +124 -0
  250. data/lib/extensions/openssl.so/ext/sources/include/openssl/bn.h +75 -111
  251. data/lib/extensions/openssl.so/ext/sources/include/openssl/bnerr.h +100 -0
  252. data/lib/extensions/openssl.so/ext/sources/include/openssl/buffer.h +2 -17
  253. data/lib/extensions/openssl.so/ext/sources/include/openssl/buffererr.h +34 -0
  254. data/lib/extensions/openssl.so/ext/sources/include/openssl/cms.h +6 -179
  255. data/lib/extensions/openssl.so/ext/sources/include/openssl/cmserr.h +202 -0
  256. data/lib/extensions/openssl.so/ext/sources/include/openssl/comp.h +2 -21
  257. data/lib/extensions/openssl.so/ext/sources/include/openssl/comperr.h +44 -0
  258. data/lib/extensions/openssl.so/ext/sources/include/openssl/conf.h +2 -51
  259. data/lib/extensions/openssl.so/ext/sources/include/openssl/conferr.h +76 -0
  260. data/lib/extensions/openssl.so/ext/sources/include/openssl/crypto.h +27 -49
  261. data/lib/extensions/openssl.so/ext/sources/include/openssl/cryptoerr.h +57 -0
  262. data/lib/extensions/openssl.so/ext/sources/include/openssl/ct.h +2 -61
  263. data/lib/extensions/openssl.so/ext/sources/include/openssl/cterr.h +80 -0
  264. data/lib/extensions/openssl.so/ext/sources/include/openssl/dh.h +33 -54
  265. data/lib/extensions/openssl.so/ext/sources/include/openssl/dherr.h +88 -0
  266. data/lib/extensions/openssl.so/ext/sources/include/openssl/dsa.h +21 -60
  267. data/lib/extensions/openssl.so/ext/sources/include/openssl/dsaerr.h +72 -0
  268. data/lib/extensions/openssl.so/ext/sources/include/openssl/dtls1.h +7 -8
  269. data/lib/extensions/openssl.so/ext/sources/include/openssl/e_os2.h +21 -19
  270. data/lib/extensions/openssl.so/ext/sources/include/openssl/ec.h +187 -284
  271. data/lib/extensions/openssl.so/ext/sources/include/openssl/ecerr.h +275 -0
  272. data/lib/extensions/openssl.so/ext/sources/include/openssl/engine.h +5 -94
  273. data/lib/extensions/openssl.so/ext/sources/include/openssl/engineerr.h +111 -0
  274. data/lib/extensions/openssl.so/ext/sources/include/openssl/err.h +19 -5
  275. data/lib/extensions/openssl.so/ext/sources/include/openssl/evp.h +250 -180
  276. data/lib/extensions/openssl.so/ext/sources/include/openssl/evperr.h +205 -0
  277. data/lib/extensions/openssl.so/ext/sources/include/openssl/hmac.h +4 -2
  278. data/lib/extensions/openssl.so/ext/sources/include/openssl/kdf.h +51 -29
  279. data/lib/extensions/openssl.so/ext/sources/include/openssl/kdferr.h +55 -0
  280. data/lib/extensions/openssl.so/ext/sources/include/openssl/lhash.h +43 -19
  281. data/lib/extensions/openssl.so/ext/sources/include/openssl/modes.h +11 -6
  282. data/lib/extensions/openssl.so/ext/sources/include/openssl/obj_mac.h +632 -11
  283. data/lib/extensions/openssl.so/ext/sources/include/openssl/objects.h +3 -925
  284. data/lib/extensions/openssl.so/ext/sources/include/openssl/objectserr.h +42 -0
  285. data/lib/extensions/openssl.so/ext/sources/include/openssl/ocsp.h +21 -65
  286. data/lib/extensions/openssl.so/ext/sources/include/openssl/ocsperr.h +78 -0
  287. data/lib/extensions/openssl.so/ext/sources/include/openssl/opensslconf.h +36 -10
  288. data/lib/extensions/openssl.so/ext/sources/include/openssl/opensslv.h +3 -7
  289. data/lib/extensions/openssl.so/ext/sources/include/openssl/ossl_typ.h +8 -1
  290. data/lib/extensions/openssl.so/ext/sources/include/openssl/pem.h +13 -136
  291. data/lib/extensions/openssl.so/ext/sources/include/openssl/pem2.h +4 -11
  292. data/lib/extensions/openssl.so/ext/sources/include/openssl/pemerr.h +103 -0
  293. data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs12.h +1 -60
  294. data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs12err.h +81 -0
  295. data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs7.h +1 -86
  296. data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs7err.h +103 -0
  297. data/lib/extensions/openssl.so/ext/sources/include/openssl/rand.h +22 -34
  298. data/lib/extensions/openssl.so/ext/sources/include/openssl/rand_drbg.h +130 -0
  299. data/lib/extensions/openssl.so/ext/sources/include/openssl/randerr.h +94 -0
  300. data/lib/extensions/openssl.so/ext/sources/include/openssl/rsa.h +96 -173
  301. data/lib/extensions/openssl.so/ext/sources/include/openssl/rsaerr.h +167 -0
  302. data/lib/extensions/openssl.so/ext/sources/include/openssl/safestack.h +66 -23
  303. data/lib/extensions/openssl.so/ext/sources/include/openssl/srp.h +5 -1
  304. data/lib/extensions/openssl.so/ext/sources/include/openssl/ssl.h +706 -828
  305. data/lib/extensions/openssl.so/ext/sources/include/openssl/ssl3.h +49 -20
  306. data/lib/extensions/openssl.so/ext/sources/include/openssl/sslerr.h +773 -0
  307. data/lib/extensions/openssl.so/ext/sources/include/openssl/stack.h +8 -3
  308. data/lib/extensions/openssl.so/ext/sources/include/openssl/store.h +266 -1
  309. data/lib/extensions/openssl.so/ext/sources/include/openssl/storeerr.h +91 -0
  310. data/lib/extensions/openssl.so/ext/sources/include/openssl/symhacks.h +1 -16
  311. data/lib/extensions/openssl.so/ext/sources/include/openssl/tls1.h +350 -85
  312. data/lib/extensions/openssl.so/ext/sources/include/openssl/ts.h +25 -109
  313. data/lib/extensions/openssl.so/ext/sources/include/openssl/tserr.h +132 -0
  314. data/lib/extensions/openssl.so/ext/sources/include/openssl/txt_db.h +2 -2
  315. data/lib/extensions/openssl.so/ext/sources/include/openssl/ui.h +56 -66
  316. data/lib/extensions/openssl.so/ext/sources/include/openssl/uierr.h +65 -0
  317. data/lib/extensions/openssl.so/ext/sources/include/openssl/x509.h +36 -112
  318. data/lib/extensions/openssl.so/ext/sources/include/openssl/x509_vfy.h +85 -1
  319. data/lib/extensions/openssl.so/ext/sources/include/openssl/x509err.h +130 -0
  320. data/lib/extensions/openssl.so/ext/sources/include/openssl/x509v3.h +72 -141
  321. data/lib/extensions/openssl.so/ext/sources/include/openssl/x509v3err.h +162 -0
  322. data/lib/extensions/openssl.so.src/ext/build +4 -0
  323. data/lib/extensions/rawsensors/ext/rawsensors/platform/iphone/Rakefile +9 -62
  324. data/lib/extensions/rawsensors/ext/rawsensors/platform/iphone/Rawsensors.xcodeproj/project.pbxproj +4 -4
  325. data/lib/extensions/serialport/ext/build.bat +1 -1
  326. data/lib/extensions/serialport/ext/serialport.pro +11 -11
  327. data/lib/extensions/videocapture/ext/videocapture/platform/iphone/Rakefile +9 -62
  328. data/lib/extensions/videocapture/ext/videocapture/platform/iphone/Videocapture.xcodeproj/project.pbxproj +4 -4
  329. data/lib/extensions/zlib/ext/Rakefile +2 -2
  330. data/lib/extensions/zlib/ext/build +4 -0
  331. data/lib/extensions/zlib/ext/build.bat +1 -1
  332. data/lib/extensions/zlib/ext/gzlib.c +1 -1
  333. data/lib/extensions/zlib/ext/gzread.c +2 -2
  334. data/lib/extensions/zlib/ext/gzwrite.c +3 -3
  335. data/lib/extensions/zlib/ext/iphone/Rakefile +9 -62
  336. data/lib/extensions/zlib/ext/iphone/zlib.xcodeproj/project.pbxproj +4 -4
  337. data/lib/extensions/zlib/ext/zlib.pro +24 -16
  338. data/lib/framework/autocomplete/Rho.rb +6 -2
  339. data/lib/framework/autocomplete/Rhodes.rb +1 -1
  340. data/lib/framework/rho/rho.rb +9 -0
  341. data/lib/framework/rho/rhoapplication.rb +4 -0
  342. data/lib/framework/rhodes.rb +2 -2
  343. data/lib/framework/version.rb +1 -1
  344. data/lib/rhodes.rb +2 -2
  345. data/platform/android/Rhodes/AndroidManifest.xml.erb +3 -2
  346. data/platform/android/Rhodes/jni/include/rhodes/RhoClassFactory.h +4 -3
  347. data/platform/android/Rhodes/jni/include/rhodes/sslimpl.h +94 -6
  348. data/platform/android/Rhodes/jni/src/JNIRhoRuby.cpp +1 -1
  349. data/platform/android/Rhodes/jni/src/JNIRhoRubyCppWrapper.cpp +104 -2
  350. data/platform/android/Rhodes/jni/src/RhoClassFactory.cpp +29 -1
  351. data/platform/android/Rhodes/jni/src/fileapi.cpp +2 -1
  352. data/platform/android/Rhodes/jni/src/rhodes.cpp +1 -0
  353. data/platform/android/Rhodes/jni/src/rhodesapp.cpp +18 -0
  354. data/platform/android/Rhodes/jni/src/sslimpl.cpp +317 -3
  355. data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +15 -1
  356. data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +17 -0
  357. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubySingleton.java +33 -0
  358. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +241 -165
  359. data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java +7 -1
  360. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +7 -1
  361. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +13 -0
  362. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality11.java +9 -0
  363. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +61 -13
  364. data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/RhoSocketImpl.java +10 -2
  365. data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +268 -16
  366. data/platform/android/Rhodes/src/com/rhomobile/rhodes/uri/LocalFileHandler.java +21 -18
  367. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +47 -1
  368. data/platform/android/build/CMakeLists.txt.erb +3 -33
  369. data/platform/android/build/CMakeListsExts.txt.erb +26 -0
  370. data/platform/android/build/aab_builder.rb +234 -0
  371. data/platform/android/build/android.rake +512 -381
  372. data/platform/android/build/android_studio_project_generator.rb +82 -0
  373. data/platform/android/build/android_tools.rb +111 -26
  374. data/platform/android/build/androidcommon.rb +4 -23
  375. data/platform/android/build/apk_builder.rb +42 -0
  376. data/platform/android/build/libcurl_build.files +1 -1
  377. data/platform/android/build/librhodes_build.files +1 -1
  378. data/platform/android/build/maven_deps_extractor.rb +39 -5
  379. data/platform/android/build/ndkwrapper.rb +9 -11
  380. data/platform/android/proguard/proguard-base-rules.pro +27 -4
  381. data/platform/iphone/Classes/AppManager/AppManager.m +174 -159
  382. data/platform/iphone/Classes/Camera/PickImageDelegate.m +63 -0
  383. data/platform/iphone/Classes/RhoAlert.m +2 -2
  384. data/platform/iphone/Classes/RhoUIWebView.h +1 -1
  385. data/platform/iphone/Classes/RhoUIWebView.m +1 -1
  386. data/platform/iphone/Classes/RhoWKWebView.h +6 -3
  387. data/platform/iphone/Classes/RhoWKWebView.mm +86 -23
  388. data/platform/iphone/Classes/RhoWebView.h +6 -6
  389. data/platform/iphone/Classes/RhoWebViewFabrique.h +1 -1
  390. data/platform/iphone/Classes/RhoWebViewFabrique.m +4 -4
  391. data/platform/iphone/Classes/Rhodes.m +60 -12
  392. data/platform/iphone/Classes/SimpleMainView.m +2 -2
  393. data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +3 -3
  394. data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.m +1 -1
  395. data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +1 -1
  396. data/platform/iphone/Default-568h@2x.png +0 -0
  397. data/platform/iphone/Default-667h@2x.png +0 -0
  398. data/platform/iphone/Default-736h@3x.png +0 -0
  399. data/platform/iphone/Default-812h@3x.png +0 -0
  400. data/platform/iphone/Default-896h@2x.png +0 -0
  401. data/platform/iphone/Default-896h@3x.png +0 -0
  402. data/platform/iphone/Default-Landscape-736h@3x.png +0 -0
  403. data/platform/iphone/Default-Landscape-812h@3x.png +0 -0
  404. data/platform/iphone/Default-Landscape-896h@2x.png +0 -0
  405. data/platform/iphone/Default-Landscape-896h@3x.png +0 -0
  406. data/platform/iphone/Default-Landscape.png +0 -0
  407. data/platform/iphone/Default-Landscape@2x.png +0 -0
  408. data/platform/iphone/Default-LandscapeLeft.png +0 -0
  409. data/platform/iphone/Default-LandscapeLeft@2x.png +0 -0
  410. data/platform/iphone/Default-LandscapeRight.png +0 -0
  411. data/platform/iphone/Default-LandscapeRight@2x.png +0 -0
  412. data/platform/iphone/Default-Portrait.png +0 -0
  413. data/platform/iphone/Default-Portrait@2x.png +0 -0
  414. data/platform/iphone/Default-PortraitUpsideDown.png +0 -0
  415. data/platform/iphone/Default-PortraitUpsideDown@2x.png +0 -0
  416. data/platform/iphone/Default.png +0 -0
  417. data/platform/iphone/Default@2x.png +0 -0
  418. data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +9 -7
  419. data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +14 -6
  420. data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +7 -7
  421. data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +4 -4
  422. data/platform/iphone/Rhodes.xcodeproj/project.pbxproj +4 -4
  423. data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +11 -7
  424. data/platform/iphone/rbuild/buildextension.rb +115 -0
  425. data/platform/iphone/rbuild/iphone.rake +401 -115
  426. data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +5 -4
  427. data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +4 -4
  428. data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +3 -3
  429. data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +8 -7
  430. data/platform/linux/tasks/control.erb +8 -0
  431. data/platform/linux/tasks/getting sudo instruction.txt +8 -0
  432. data/platform/linux/tasks/install_dev_depes_alt.sh +9 -0
  433. data/platform/linux/tasks/install_dev_depes_astra.sh +7 -0
  434. data/platform/linux/tasks/install_dev_depes_redos.sh +10 -0
  435. data/platform/linux/tasks/install_dev_depes_rosa_r7.sh +15 -0
  436. data/platform/linux/tasks/install_dev_depes_rosa_x4.sh +21 -0
  437. data/platform/linux/tasks/install_dev_depes_ubuntu.sh +18 -0
  438. data/platform/linux/tasks/installation.txt +2 -0
  439. data/platform/linux/tasks/linter_exceptions.erb +2 -0
  440. data/platform/linux/tasks/linux.rake +498 -61
  441. data/platform/linux/tasks/rpm_spec.erb +33 -0
  442. data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
  443. data/platform/sailfish/build/coreapi.pro.erb +11 -12
  444. data/platform/sailfish/build/curl.pro.erb +12 -14
  445. data/platform/sailfish/build/harbour-SailfishRhodes.pro.erb +2 -2
  446. data/platform/sailfish/build/rho_build.cmd.erb +1 -0
  447. data/platform/sailfish/build/rho_clean.cmd.erb +1 -0
  448. data/platform/sailfish/build/rho_deploy.cmd.erb +1 -0
  449. data/platform/sailfish/build/rho_rpm.cmd.erb +1 -0
  450. data/platform/sailfish/build/rho_rpmvalidation.cmd.erb +1 -0
  451. data/platform/sailfish/build/rhodes.pro.erb +43 -38
  452. data/platform/sailfish/build/rholib.pro.erb +21 -57
  453. data/platform/sailfish/build/rubylib.pro.erb +25 -30
  454. data/platform/sailfish/build/sailfish.rake +56 -9
  455. data/platform/sailfish/build/sqlite3.pro.erb +9 -9
  456. data/platform/sailfish/build/syncengine.pro.erb +9 -16
  457. data/platform/sailfish/build/unzip.pro.erb +66 -0
  458. data/platform/sailfish/build/zlib.pro.erb +72 -0
  459. data/platform/shared/api_generator/Api.h +5 -0
  460. data/platform/shared/common/CMakeLists.txt.erb +2 -52
  461. data/platform/shared/common/IRhoClassFactory.h +54 -2
  462. data/platform/shared/common/RhoDefs.h +0 -1
  463. data/platform/shared/common/RhoFile.h +2 -0
  464. data/platform/shared/common/RhoMutexLock.h +1 -1
  465. data/platform/shared/common/RhodesApp.cpp +50 -7
  466. data/platform/shared/common/RhodesApp.h +5 -1
  467. data/platform/shared/common/iphone/RhoClassfactory.h +1 -1
  468. data/platform/shared/curl/CMakeLists.txt.erb +1 -94
  469. data/platform/shared/curl/lib/asyn-thread.c +2 -1
  470. data/platform/shared/curl/lib/curl_addrinfo.h +39 -0
  471. data/platform/shared/curl/lib/curl_config.h +9 -10
  472. data/platform/shared/curl/lib/curl_setup.h +4 -0
  473. data/platform/shared/curl/lib/multi.c +0 -1
  474. data/platform/shared/curl/lib/transfer.c +21 -2
  475. data/platform/shared/curl/lib/vtls/vtls.h +3 -0
  476. data/platform/shared/db/CMakeLists.txt.erb +1 -6
  477. data/platform/shared/db/DBAdapter.cpp +10 -4
  478. data/platform/shared/json/RJSONTokener.c +1 -8
  479. data/platform/shared/json/json_object.c +2 -2
  480. data/platform/shared/json/json_tokener.c +1 -1
  481. data/platform/shared/json.new/CMakeLists.txt.erb +1 -15
  482. data/platform/shared/json.new/RJSONTokener.c +0 -7
  483. data/platform/shared/json.new/json_object.c +5 -5
  484. data/platform/shared/json.new/json_pointer.c +2 -2
  485. data/platform/shared/json.new/json_tokener.c +1 -1
  486. data/platform/shared/logging/CMakeLists.txt.erb +1 -5
  487. data/platform/shared/logging/RhoLogConf.cpp +82 -3
  488. data/platform/shared/net/CURLNetRequest.cpp +6 -7
  489. data/platform/shared/net/HttpServer.cpp +234 -4
  490. data/platform/shared/net/HttpServer.h +22 -2
  491. data/platform/shared/net/INetRequest.cpp +2 -2
  492. data/platform/shared/net/INetRequest.h +6 -0
  493. data/platform/shared/net/linux/SSLImpl.cpp +2 -1
  494. data/platform/shared/net/ssl.h +26 -0
  495. data/platform/shared/qt/RhoSimulator.pro +24 -12
  496. data/platform/shared/qt/RhoSimulator_dev.pro +30 -15
  497. data/platform/shared/qt/curl/curl.pro +27 -16
  498. data/platform/shared/qt/rhodes/iexecutable.h +1 -1
  499. data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +1 -1
  500. data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +1 -1
  501. data/platform/shared/qt/rhodes/newVersion/QtMainWindow.cpp +25 -10
  502. data/platform/shared/qt/rhodes/newVersion/QtMainWindow.h +1 -1
  503. data/platform/shared/qt/rhodes/newVersion/{qtwebenginepage.cpp → QtWebEnginePage.cpp} +1 -1
  504. data/platform/shared/qt/rhodes/newVersion/{qtwebenginepage.h → QtWebEnginePage.h} +0 -0
  505. data/platform/shared/qt/rhodes/newVersion/{qtwebengineview.cpp → QtWebEngineView.cpp} +1 -1
  506. data/platform/shared/qt/rhodes/newVersion/{qtwebengineview.h → QtWebEngineView.h} +0 -0
  507. data/platform/shared/qt/rhodes/newVersion/WebUrlRequestInterceptor.cpp +2 -2
  508. data/platform/shared/qt/rhodes/newVersion/main.cpp +5 -6
  509. data/platform/shared/qt/rhodes/resources/rho.png +0 -0
  510. data/platform/shared/qt/rhodes/rhodes.pro +88 -72
  511. data/platform/shared/qt/rholib/rholib.pro +33 -25
  512. data/platform/shared/qt/rhoruby_win32_build.bat +1 -1
  513. data/platform/shared/qt/rhoruby_win32_build_debug.bat +1 -1
  514. data/platform/shared/qt/rhosimulator_win32_build.bat +1 -1
  515. data/platform/shared/qt/rhosimulator_win32_build_debug.bat +1 -1
  516. data/platform/shared/qt/rubylib/rubylib.pro +37 -34
  517. data/platform/shared/qt/sailfish/SailfishRhodes.pro +1 -1
  518. data/platform/shared/qt/sailfish/icons/172x172/harbour-sailfishrhodes.png +0 -0
  519. data/platform/shared/qt/sailfish/qml/pages/BarcodePage.qml +18 -48
  520. data/platform/shared/qt/sqlite3/sqlite3.pro +16 -10
  521. data/platform/shared/qt/syncengine/syncengine.pro +18 -15
  522. data/platform/shared/qt/unzip/unzip.pro +133 -0
  523. data/platform/shared/rhoruby/impl/RhoRubyImpl.cpp +24 -19
  524. data/platform/shared/rhoruby/impl/RhoRubyImpl.h +5 -0
  525. data/platform/shared/ruby/CMakeLists.txt.erb +1 -129
  526. data/platform/shared/ruby/dln_find.c +1 -1
  527. data/platform/shared/ruby/error.c +1 -1
  528. data/platform/shared/ruby/ext/rho/rhoruby.c +35 -14
  529. data/platform/shared/ruby/ext/rho/rhoruby.h +1 -0
  530. data/platform/shared/ruby/ext/socket/addrinfo.h +2 -1
  531. data/platform/shared/ruby/ext/socket/ipsocket.c +3 -3
  532. data/platform/shared/ruby/file.c +3 -3
  533. data/platform/shared/ruby/io.c +46 -46
  534. data/platform/shared/ruby/linux/ruby/config.h +94 -34
  535. data/platform/shared/ruby/linux/ruby/config_linux.h +403 -0
  536. data/platform/shared/ruby/missing/langinfo.c +1 -1
  537. data/platform/shared/ruby/missing/memmove.c +4 -0
  538. data/platform/shared/ruby/posixnames.h +2 -8
  539. data/platform/shared/ruby/process.c +7 -7
  540. data/platform/shared/ruby/ruby.c +10 -10
  541. data/platform/shared/ruby/sailfish/ruby/config.h +1 -1
  542. data/platform/shared/ruby/thread_pthread.c +1 -1
  543. data/platform/shared/ruby/time.c +2 -2
  544. data/platform/shared/ruby/uwp/win32/win32.c +12 -12
  545. data/platform/shared/ruby/win32/ruby/config.h +1 -1
  546. data/platform/shared/sqlite/CMakeLists.txt.erb +1 -1
  547. data/platform/shared/sqlite/sqlite3.c +23 -0
  548. data/platform/shared/sync/CMakeLists.txt.erb +1 -1
  549. data/platform/shared/unzip/gzlib.cpp +1 -1
  550. data/platform/shared/unzip/gzwrite.cpp +3 -3
  551. data/platform/shared/unzip/unzip.cpp +3 -10
  552. data/platform/shared/unzip/zip.cpp +3 -8
  553. data/platform/uwp/rhodes/App.xaml.cs +9 -9
  554. data/platform/uwp/rhoruntime/common/RhoClassFactory.h +1 -1
  555. data/platform/win32/RhoSimulator/Qt5Core.dll +0 -0
  556. data/platform/win32/RhoSimulator/Qt5Gui.dll +0 -0
  557. data/platform/win32/RhoSimulator/Qt5Multimedia.dll +0 -0
  558. data/platform/win32/RhoSimulator/Qt5Network.dll +0 -0
  559. data/platform/win32/RhoSimulator/Qt5Positioning.dll +0 -0
  560. data/platform/win32/RhoSimulator/Qt5PrintSupport.dll +0 -0
  561. data/platform/win32/RhoSimulator/Qt5Qml.dll +0 -0
  562. data/platform/win32/RhoSimulator/Qt5Quick.dll +0 -0
  563. data/platform/win32/RhoSimulator/Qt5QuickWidgets.dll +0 -0
  564. data/platform/win32/RhoSimulator/Qt5SerialPort.dll +0 -0
  565. data/platform/win32/RhoSimulator/Qt5Svg.dll +0 -0
  566. data/platform/win32/RhoSimulator/Qt5WebChannel.dll +0 -0
  567. data/platform/win32/RhoSimulator/Qt5WebEngine.dll +0 -0
  568. data/platform/win32/RhoSimulator/Qt5WebEngineCore.dll +0 -0
  569. data/platform/win32/RhoSimulator/Qt5WebEngineWidgets.dll +0 -0
  570. data/platform/win32/RhoSimulator/Qt5Widgets.dll +0 -0
  571. data/platform/win32/RhoSimulator/QtWebEngineProcess.exe +0 -0
  572. data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
  573. data/platform/win32/RhoSimulator/audio/qtaudio_wasapi.dll +0 -0
  574. data/platform/win32/RhoSimulator/audio/qtaudio_windows.dll +0 -0
  575. data/platform/win32/RhoSimulator/bearer/qgenericbearer.dll +0 -0
  576. data/platform/win32/RhoSimulator/concrt140.dll +0 -0
  577. data/platform/win32/RhoSimulator/iconengines/qsvgicon.dll +0 -0
  578. data/platform/win32/RhoSimulator/imageformats/qgif.dll +0 -0
  579. data/platform/win32/RhoSimulator/imageformats/qicns.dll +0 -0
  580. data/platform/win32/RhoSimulator/imageformats/qico.dll +0 -0
  581. data/platform/win32/RhoSimulator/imageformats/qjpeg.dll +0 -0
  582. data/platform/win32/RhoSimulator/imageformats/qsvg.dll +0 -0
  583. data/platform/win32/RhoSimulator/imageformats/qtga.dll +0 -0
  584. data/platform/win32/RhoSimulator/imageformats/qtiff.dll +0 -0
  585. data/platform/win32/RhoSimulator/imageformats/qwbmp.dll +0 -0
  586. data/platform/win32/RhoSimulator/imageformats/qwebp.dll +0 -0
  587. data/platform/win32/RhoSimulator/libEGL.dll +0 -0
  588. data/platform/win32/RhoSimulator/libGLESV2.dll +0 -0
  589. data/platform/win32/RhoSimulator/mediaservice/dsengine.dll +0 -0
  590. data/platform/win32/RhoSimulator/mediaservice/qtmedia_audioengine.dll +0 -0
  591. data/platform/win32/RhoSimulator/mediaservice/wmfengine.dll +0 -0
  592. data/platform/win32/RhoSimulator/mfc140.dll +0 -0
  593. data/platform/win32/RhoSimulator/mfc140chs.dll +0 -0
  594. data/platform/win32/RhoSimulator/mfc140cht.dll +0 -0
  595. data/platform/win32/RhoSimulator/mfc140deu.dll +0 -0
  596. data/platform/win32/RhoSimulator/mfc140enu.dll +0 -0
  597. data/platform/win32/RhoSimulator/mfc140esn.dll +0 -0
  598. data/platform/win32/RhoSimulator/mfc140fra.dll +0 -0
  599. data/platform/win32/RhoSimulator/mfc140ita.dll +0 -0
  600. data/platform/win32/RhoSimulator/mfc140jpn.dll +0 -0
  601. data/platform/win32/RhoSimulator/mfc140kor.dll +0 -0
  602. data/platform/win32/RhoSimulator/mfc140rus.dll +0 -0
  603. data/platform/win32/RhoSimulator/mfc140u.dll +0 -0
  604. data/platform/win32/RhoSimulator/mfcm140.dll +0 -0
  605. data/platform/win32/RhoSimulator/mfcm140u.dll +0 -0
  606. data/platform/win32/RhoSimulator/msvcp140.dll +0 -0
  607. data/platform/win32/RhoSimulator/msvcp140_1.dll +0 -0
  608. data/platform/win32/RhoSimulator/msvcp140_2.dll +0 -0
  609. data/platform/win32/RhoSimulator/platforms/qwindows.dll +0 -0
  610. data/platform/win32/RhoSimulator/playlistformats/qtmultimedia_m3u.dll +0 -0
  611. data/platform/win32/RhoSimulator/position/qtposition_positionpoll.dll +0 -0
  612. data/platform/win32/RhoSimulator/position/qtposition_serialnmea.dll +0 -0
  613. data/platform/win32/RhoSimulator/position/qtposition_winrt.dll +0 -0
  614. data/platform/win32/RhoSimulator/printsupport/windowsprintersupport.dll +0 -0
  615. data/platform/win32/RhoSimulator/resources/icudtl.dat +0 -0
  616. data/platform/win32/RhoSimulator/resources/qtwebengine_devtools_resources.pak +0 -0
  617. data/platform/win32/RhoSimulator/resources/qtwebengine_resources.pak +0 -0
  618. data/platform/win32/RhoSimulator/resources/qtwebengine_resources_100p.pak +0 -0
  619. data/platform/win32/RhoSimulator/resources/qtwebengine_resources_200p.pak +0 -0
  620. data/platform/win32/RhoSimulator/styles/qwindowsvistastyle.dll +0 -0
  621. data/platform/win32/RhoSimulator/translations/qt_ca.qm +0 -0
  622. data/platform/win32/RhoSimulator/translations/qt_da.qm +0 -0
  623. data/platform/win32/RhoSimulator/translations/qt_de.qm +0 -0
  624. data/platform/win32/RhoSimulator/translations/qt_fi.qm +0 -0
  625. data/platform/win32/RhoSimulator/translations/qt_ru.qm +0 -0
  626. data/platform/win32/RhoSimulator/translations/qt_zh_TW.qm +0 -0
  627. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/am.pak +0 -0
  628. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ar.pak +0 -0
  629. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/bg.pak +0 -0
  630. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/bn.pak +0 -0
  631. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ca.pak +0 -0
  632. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/cs.pak +0 -0
  633. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/da.pak +0 -0
  634. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/de.pak +0 -0
  635. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/el.pak +0 -0
  636. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/en-GB.pak +0 -0
  637. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/en-US.pak +0 -0
  638. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/es-419.pak +0 -0
  639. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/es.pak +0 -0
  640. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/et.pak +0 -0
  641. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fa.pak +0 -0
  642. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fi.pak +0 -0
  643. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fil.pak +0 -0
  644. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fr.pak +0 -0
  645. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/gu.pak +0 -0
  646. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/he.pak +0 -0
  647. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hi.pak +0 -0
  648. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hr.pak +0 -0
  649. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hu.pak +0 -0
  650. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/id.pak +0 -0
  651. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/it.pak +0 -0
  652. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ja.pak +0 -0
  653. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/kn.pak +0 -0
  654. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ko.pak +0 -0
  655. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/lt.pak +0 -0
  656. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/lv.pak +0 -0
  657. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ml.pak +0 -0
  658. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/mr.pak +0 -0
  659. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ms.pak +0 -0
  660. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/nb.pak +0 -0
  661. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/nl.pak +0 -0
  662. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pl.pak +0 -0
  663. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pt-BR.pak +0 -0
  664. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pt-PT.pak +0 -0
  665. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ro.pak +0 -0
  666. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ru.pak +0 -0
  667. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sk.pak +0 -0
  668. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sl.pak +0 -0
  669. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sr.pak +0 -0
  670. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sv.pak +0 -0
  671. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sw.pak +0 -0
  672. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ta.pak +0 -0
  673. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/te.pak +0 -0
  674. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/th.pak +0 -0
  675. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/tr.pak +0 -0
  676. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/uk.pak +0 -0
  677. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/vi.pak +0 -0
  678. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/zh-CN.pak +0 -0
  679. data/platform/win32/RhoSimulator/translations/qtwebengine_locales/zh-TW.pak +0 -0
  680. data/platform/win32/RhoSimulator/vcamp140.dll +0 -0
  681. data/platform/win32/RhoSimulator/vccorlib140.dll +0 -0
  682. data/platform/win32/RhoSimulator/vcomp140.dll +0 -0
  683. data/platform/win32/RhoSimulator/vcruntime140.dll +0 -0
  684. data/platform/win32/build/rhodes.nsi +184 -0
  685. data/platform/win32/build/win32.rake +876 -0
  686. data/platform/wm/build/wm.rake +12 -1067
  687. data/platform/wm/rhodes/rho/common/RhoClassFactory.h +2 -2
  688. data/platform/wm/syncengine/syncengine.vcproj +24 -16
  689. data/platform/wp8/rhoruntime/common/RhoClassFactory.h +1 -1
  690. data/rakefile.rb +169 -89
  691. data/res/build-tools/aapt2/linux/aapt2 +0 -0
  692. data/res/build-tools/aapt2/osx/aapt2 +0 -0
  693. data/res/build-tools/aapt2/windows/aapt2.exe +0 -0
  694. data/res/build-tools/bundletool.jar +0 -0
  695. data/res/build-tools/helpers/ext/android/build_common.rb +160 -0
  696. data/res/build-tools/iphonesim/build/Release/iphonesim_8 +6 -4
  697. data/res/generators/rhogen.rb +13 -3
  698. data/res/generators/templates/api/platform/iphone/generated/stub_impl/MontanaSetup.m +2 -2
  699. data/res/generators/templates/application/AndroidManifest.erb +4 -3
  700. data/res/generators/templates/application/Podfile.example +43 -0
  701. data/res/generators/templates/application/app/Settings/index.erb +52 -55
  702. data/res/generators/templates/application/app/Settings/javascript_index.html +51 -46
  703. data/res/generators/templates/application/app/Settings/javascript_login.html +24 -17
  704. data/res/generators/templates/application/app/Settings/login.erb +5 -12
  705. data/res/generators/templates/application/app/Settings/reset.erb +10 -14
  706. data/res/generators/templates/application/app/index.erb +26 -30
  707. data/res/generators/templates/application/app/javascript_index.html +36 -30
  708. data/res/generators/templates/application/app/javascript_index.js +13 -4
  709. data/res/generators/templates/application/app/layout.erb +18 -4
  710. data/res/generators/templates/application/app/loading.png +0 -0
  711. data/res/generators/templates/application/build.yml +22 -2
  712. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.css +3899 -0
  713. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.css.map +1 -0
  714. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.min.css +7 -0
  715. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.min.css.map +1 -0
  716. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.css +327 -0
  717. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.css.map +1 -0
  718. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.min.css +8 -0
  719. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.min.css.map +1 -0
  720. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.css +10224 -0
  721. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.css.map +1 -0
  722. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.min.css +7 -0
  723. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.min.css.map +1 -0
  724. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.js +7134 -0
  725. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.js.map +1 -0
  726. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.min.js +7 -0
  727. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.min.js.map +1 -0
  728. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.js +4521 -0
  729. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.js.map +1 -0
  730. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.min.js +7 -0
  731. data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.min.js.map +1 -0
  732. data/res/generators/templates/application/public/libs/feather/js/feather.js +2413 -0
  733. data/res/generators/templates/application/public/libs/feather/js/feather.min.js +13 -0
  734. data/res/generators/templates/application/public/libs/feather/svg/activity.svg +1 -0
  735. data/res/generators/templates/application/public/libs/feather/svg/airplay.svg +1 -0
  736. data/res/generators/templates/application/public/libs/feather/svg/alert-circle.svg +1 -0
  737. data/res/generators/templates/application/public/libs/feather/svg/alert-octagon.svg +1 -0
  738. data/res/generators/templates/application/public/libs/feather/svg/alert-triangle.svg +1 -0
  739. data/res/generators/templates/application/public/libs/feather/svg/align-center.svg +1 -0
  740. data/res/generators/templates/application/public/libs/feather/svg/align-justify.svg +1 -0
  741. data/res/generators/templates/application/public/libs/feather/svg/align-left.svg +1 -0
  742. data/res/generators/templates/application/public/libs/feather/svg/align-right.svg +1 -0
  743. data/res/generators/templates/application/public/libs/feather/svg/anchor.svg +1 -0
  744. data/res/generators/templates/application/public/libs/feather/svg/aperture.svg +1 -0
  745. data/res/generators/templates/application/public/libs/feather/svg/archive.svg +1 -0
  746. data/res/generators/templates/application/public/libs/feather/svg/arrow-down-circle.svg +1 -0
  747. data/res/generators/templates/application/public/libs/feather/svg/arrow-down-left.svg +1 -0
  748. data/res/generators/templates/application/public/libs/feather/svg/arrow-down-right.svg +1 -0
  749. data/res/generators/templates/application/public/libs/feather/svg/arrow-down.svg +1 -0
  750. data/res/generators/templates/application/public/libs/feather/svg/arrow-left-circle.svg +1 -0
  751. data/res/generators/templates/application/public/libs/feather/svg/arrow-left.svg +1 -0
  752. data/res/generators/templates/application/public/libs/feather/svg/arrow-right-circle.svg +1 -0
  753. data/res/generators/templates/application/public/libs/feather/svg/arrow-right.svg +1 -0
  754. data/res/generators/templates/application/public/libs/feather/svg/arrow-up-circle.svg +1 -0
  755. data/res/generators/templates/application/public/libs/feather/svg/arrow-up-left.svg +1 -0
  756. data/res/generators/templates/application/public/libs/feather/svg/arrow-up-right.svg +1 -0
  757. data/res/generators/templates/application/public/libs/feather/svg/arrow-up.svg +1 -0
  758. data/res/generators/templates/application/public/libs/feather/svg/at-sign.svg +1 -0
  759. data/res/generators/templates/application/public/libs/feather/svg/award.svg +1 -0
  760. data/res/generators/templates/application/public/libs/feather/svg/bar-chart-2.svg +1 -0
  761. data/res/generators/templates/application/public/libs/feather/svg/bar-chart.svg +1 -0
  762. data/res/generators/templates/application/public/libs/feather/svg/battery-charging.svg +1 -0
  763. data/res/generators/templates/application/public/libs/feather/svg/battery.svg +1 -0
  764. data/res/generators/templates/application/public/libs/feather/svg/bell-off.svg +1 -0
  765. data/res/generators/templates/application/public/libs/feather/svg/bell.svg +1 -0
  766. data/res/generators/templates/application/public/libs/feather/svg/bluetooth.svg +1 -0
  767. data/res/generators/templates/application/public/libs/feather/svg/bold.svg +1 -0
  768. data/res/generators/templates/application/public/libs/feather/svg/book-open.svg +1 -0
  769. data/res/generators/templates/application/public/libs/feather/svg/book.svg +1 -0
  770. data/res/generators/templates/application/public/libs/feather/svg/bookmark.svg +1 -0
  771. data/res/generators/templates/application/public/libs/feather/svg/box.svg +1 -0
  772. data/res/generators/templates/application/public/libs/feather/svg/briefcase.svg +1 -0
  773. data/res/generators/templates/application/public/libs/feather/svg/calendar.svg +1 -0
  774. data/res/generators/templates/application/public/libs/feather/svg/camera-off.svg +1 -0
  775. data/res/generators/templates/application/public/libs/feather/svg/camera.svg +1 -0
  776. data/res/generators/templates/application/public/libs/feather/svg/cast.svg +1 -0
  777. data/res/generators/templates/application/public/libs/feather/svg/check-circle.svg +1 -0
  778. data/res/generators/templates/application/public/libs/feather/svg/check-square.svg +1 -0
  779. data/res/generators/templates/application/public/libs/feather/svg/check.svg +1 -0
  780. data/res/generators/templates/application/public/libs/feather/svg/chevron-down.svg +1 -0
  781. data/res/generators/templates/application/public/libs/feather/svg/chevron-left.svg +1 -0
  782. data/res/generators/templates/application/public/libs/feather/svg/chevron-right.svg +1 -0
  783. data/res/generators/templates/application/public/libs/feather/svg/chevron-up.svg +1 -0
  784. data/res/generators/templates/application/public/libs/feather/svg/chevrons-down.svg +1 -0
  785. data/res/generators/templates/application/public/libs/feather/svg/chevrons-left.svg +1 -0
  786. data/res/generators/templates/application/public/libs/feather/svg/chevrons-right.svg +1 -0
  787. data/res/generators/templates/application/public/libs/feather/svg/chevrons-up.svg +1 -0
  788. data/res/generators/templates/application/public/libs/feather/svg/chrome.svg +1 -0
  789. data/res/generators/templates/application/public/libs/feather/svg/circle.svg +1 -0
  790. data/res/generators/templates/application/public/libs/feather/svg/clipboard.svg +1 -0
  791. data/res/generators/templates/application/public/libs/feather/svg/clock.svg +1 -0
  792. data/res/generators/templates/application/public/libs/feather/svg/cloud-drizzle.svg +1 -0
  793. data/res/generators/templates/application/public/libs/feather/svg/cloud-lightning.svg +1 -0
  794. data/res/generators/templates/application/public/libs/feather/svg/cloud-off.svg +1 -0
  795. data/res/generators/templates/application/public/libs/feather/svg/cloud-rain.svg +1 -0
  796. data/res/generators/templates/application/public/libs/feather/svg/cloud-snow.svg +1 -0
  797. data/res/generators/templates/application/public/libs/feather/svg/cloud.svg +1 -0
  798. data/res/generators/templates/application/public/libs/feather/svg/code.svg +1 -0
  799. data/res/generators/templates/application/public/libs/feather/svg/codepen.svg +1 -0
  800. data/res/generators/templates/application/public/libs/feather/svg/codesandbox.svg +1 -0
  801. data/res/generators/templates/application/public/libs/feather/svg/coffee.svg +1 -0
  802. data/res/generators/templates/application/public/libs/feather/svg/columns.svg +1 -0
  803. data/res/generators/templates/application/public/libs/feather/svg/command.svg +1 -0
  804. data/res/generators/templates/application/public/libs/feather/svg/compass.svg +1 -0
  805. data/res/generators/templates/application/public/libs/feather/svg/copy.svg +1 -0
  806. data/res/generators/templates/application/public/libs/feather/svg/corner-down-left.svg +1 -0
  807. data/res/generators/templates/application/public/libs/feather/svg/corner-down-right.svg +1 -0
  808. data/res/generators/templates/application/public/libs/feather/svg/corner-left-down.svg +1 -0
  809. data/res/generators/templates/application/public/libs/feather/svg/corner-left-up.svg +1 -0
  810. data/res/generators/templates/application/public/libs/feather/svg/corner-right-down.svg +1 -0
  811. data/res/generators/templates/application/public/libs/feather/svg/corner-right-up.svg +1 -0
  812. data/res/generators/templates/application/public/libs/feather/svg/corner-up-left.svg +1 -0
  813. data/res/generators/templates/application/public/libs/feather/svg/corner-up-right.svg +1 -0
  814. data/res/generators/templates/application/public/libs/feather/svg/cpu.svg +1 -0
  815. data/res/generators/templates/application/public/libs/feather/svg/credit-card.svg +1 -0
  816. data/res/generators/templates/application/public/libs/feather/svg/crop.svg +1 -0
  817. data/res/generators/templates/application/public/libs/feather/svg/crosshair.svg +1 -0
  818. data/res/generators/templates/application/public/libs/feather/svg/database.svg +1 -0
  819. data/res/generators/templates/application/public/libs/feather/svg/delete.svg +1 -0
  820. data/res/generators/templates/application/public/libs/feather/svg/disc.svg +1 -0
  821. data/res/generators/templates/application/public/libs/feather/svg/dollar-sign.svg +1 -0
  822. data/res/generators/templates/application/public/libs/feather/svg/download-cloud.svg +1 -0
  823. data/res/generators/templates/application/public/libs/feather/svg/download.svg +1 -0
  824. data/res/generators/templates/application/public/libs/feather/svg/droplet.svg +1 -0
  825. data/res/generators/templates/application/public/libs/feather/svg/edit-2.svg +1 -0
  826. data/res/generators/templates/application/public/libs/feather/svg/edit-3.svg +1 -0
  827. data/res/generators/templates/application/public/libs/feather/svg/edit.svg +1 -0
  828. data/res/generators/templates/application/public/libs/feather/svg/external-link.svg +1 -0
  829. data/res/generators/templates/application/public/libs/feather/svg/eye-off.svg +1 -0
  830. data/res/generators/templates/application/public/libs/feather/svg/eye.svg +1 -0
  831. data/res/generators/templates/application/public/libs/feather/svg/facebook.svg +1 -0
  832. data/res/generators/templates/application/public/libs/feather/svg/fast-forward.svg +1 -0
  833. data/res/generators/templates/application/public/libs/feather/svg/feather.svg +1 -0
  834. data/res/generators/templates/application/public/libs/feather/svg/figma.svg +1 -0
  835. data/res/generators/templates/application/public/libs/feather/svg/file-minus.svg +1 -0
  836. data/res/generators/templates/application/public/libs/feather/svg/file-plus.svg +1 -0
  837. data/res/generators/templates/application/public/libs/feather/svg/file-text.svg +1 -0
  838. data/res/generators/templates/application/public/libs/feather/svg/file.svg +1 -0
  839. data/res/generators/templates/application/public/libs/feather/svg/film.svg +1 -0
  840. data/res/generators/templates/application/public/libs/feather/svg/filter.svg +1 -0
  841. data/res/generators/templates/application/public/libs/feather/svg/flag.svg +1 -0
  842. data/res/generators/templates/application/public/libs/feather/svg/folder-minus.svg +1 -0
  843. data/res/generators/templates/application/public/libs/feather/svg/folder-plus.svg +1 -0
  844. data/res/generators/templates/application/public/libs/feather/svg/folder.svg +1 -0
  845. data/res/generators/templates/application/public/libs/feather/svg/framer.svg +1 -0
  846. data/res/generators/templates/application/public/libs/feather/svg/frown.svg +1 -0
  847. data/res/generators/templates/application/public/libs/feather/svg/gift.svg +1 -0
  848. data/res/generators/templates/application/public/libs/feather/svg/git-branch.svg +1 -0
  849. data/res/generators/templates/application/public/libs/feather/svg/git-commit.svg +1 -0
  850. data/res/generators/templates/application/public/libs/feather/svg/git-merge.svg +1 -0
  851. data/res/generators/templates/application/public/libs/feather/svg/git-pull-request.svg +1 -0
  852. data/res/generators/templates/application/public/libs/feather/svg/github.svg +1 -0
  853. data/res/generators/templates/application/public/libs/feather/svg/gitlab.svg +1 -0
  854. data/res/generators/templates/application/public/libs/feather/svg/globe.svg +1 -0
  855. data/res/generators/templates/application/public/libs/feather/svg/grid.svg +1 -0
  856. data/res/generators/templates/application/public/libs/feather/svg/hard-drive.svg +1 -0
  857. data/res/generators/templates/application/public/libs/feather/svg/hash.svg +1 -0
  858. data/res/generators/templates/application/public/libs/feather/svg/headphones.svg +1 -0
  859. data/res/generators/templates/application/public/libs/feather/svg/heart.svg +1 -0
  860. data/res/generators/templates/application/public/libs/feather/svg/help-circle.svg +1 -0
  861. data/res/generators/templates/application/public/libs/feather/svg/hexagon.svg +1 -0
  862. data/res/generators/templates/application/public/libs/feather/svg/home.svg +1 -0
  863. data/res/generators/templates/application/public/libs/feather/svg/image.svg +1 -0
  864. data/res/generators/templates/application/public/libs/feather/svg/inbox.svg +1 -0
  865. data/res/generators/templates/application/public/libs/feather/svg/info.svg +1 -0
  866. data/res/generators/templates/application/public/libs/feather/svg/instagram.svg +1 -0
  867. data/res/generators/templates/application/public/libs/feather/svg/italic.svg +1 -0
  868. data/res/generators/templates/application/public/libs/feather/svg/key.svg +1 -0
  869. data/res/generators/templates/application/public/libs/feather/svg/layers.svg +1 -0
  870. data/res/generators/templates/application/public/libs/feather/svg/layout.svg +1 -0
  871. data/res/generators/templates/application/public/libs/feather/svg/life-buoy.svg +1 -0
  872. data/res/generators/templates/application/public/libs/feather/svg/link-2.svg +1 -0
  873. data/res/generators/templates/application/public/libs/feather/svg/link.svg +1 -0
  874. data/res/generators/templates/application/public/libs/feather/svg/linkedin.svg +1 -0
  875. data/res/generators/templates/application/public/libs/feather/svg/list.svg +1 -0
  876. data/res/generators/templates/application/public/libs/feather/svg/loader.svg +1 -0
  877. data/res/generators/templates/application/public/libs/feather/svg/lock.svg +1 -0
  878. data/res/generators/templates/application/public/libs/feather/svg/log-in.svg +1 -0
  879. data/res/generators/templates/application/public/libs/feather/svg/log-out.svg +1 -0
  880. data/res/generators/templates/application/public/libs/feather/svg/mail.svg +1 -0
  881. data/res/generators/templates/application/public/libs/feather/svg/map-pin.svg +1 -0
  882. data/res/generators/templates/application/public/libs/feather/svg/map.svg +1 -0
  883. data/res/generators/templates/application/public/libs/feather/svg/maximize-2.svg +1 -0
  884. data/res/generators/templates/application/public/libs/feather/svg/maximize.svg +1 -0
  885. data/res/generators/templates/application/public/libs/feather/svg/meh.svg +1 -0
  886. data/res/generators/templates/application/public/libs/feather/svg/menu.svg +1 -0
  887. data/res/generators/templates/application/public/libs/feather/svg/message-circle.svg +1 -0
  888. data/res/generators/templates/application/public/libs/feather/svg/message-square.svg +1 -0
  889. data/res/generators/templates/application/public/libs/feather/svg/mic-off.svg +1 -0
  890. data/res/generators/templates/application/public/libs/feather/svg/mic.svg +1 -0
  891. data/res/generators/templates/application/public/libs/feather/svg/minimize-2.svg +1 -0
  892. data/res/generators/templates/application/public/libs/feather/svg/minimize.svg +1 -0
  893. data/res/generators/templates/application/public/libs/feather/svg/minus-circle.svg +1 -0
  894. data/res/generators/templates/application/public/libs/feather/svg/minus-square.svg +1 -0
  895. data/res/generators/templates/application/public/libs/feather/svg/minus.svg +1 -0
  896. data/res/generators/templates/application/public/libs/feather/svg/monitor.svg +1 -0
  897. data/res/generators/templates/application/public/libs/feather/svg/moon.svg +1 -0
  898. data/res/generators/templates/application/public/libs/feather/svg/more-horizontal.svg +1 -0
  899. data/res/generators/templates/application/public/libs/feather/svg/more-vertical.svg +1 -0
  900. data/res/generators/templates/application/public/libs/feather/svg/mouse-pointer.svg +1 -0
  901. data/res/generators/templates/application/public/libs/feather/svg/move.svg +1 -0
  902. data/res/generators/templates/application/public/libs/feather/svg/music.svg +1 -0
  903. data/res/generators/templates/application/public/libs/feather/svg/navigation-2.svg +1 -0
  904. data/res/generators/templates/application/public/libs/feather/svg/navigation.svg +1 -0
  905. data/res/generators/templates/application/public/libs/feather/svg/octagon.svg +1 -0
  906. data/res/generators/templates/application/public/libs/feather/svg/package.svg +1 -0
  907. data/res/generators/templates/application/public/libs/feather/svg/paperclip.svg +1 -0
  908. data/res/generators/templates/application/public/libs/feather/svg/pause-circle.svg +1 -0
  909. data/res/generators/templates/application/public/libs/feather/svg/pause.svg +1 -0
  910. data/res/generators/templates/application/public/libs/feather/svg/pen-tool.svg +1 -0
  911. data/res/generators/templates/application/public/libs/feather/svg/percent.svg +1 -0
  912. data/res/generators/templates/application/public/libs/feather/svg/phone-call.svg +1 -0
  913. data/res/generators/templates/application/public/libs/feather/svg/phone-forwarded.svg +1 -0
  914. data/res/generators/templates/application/public/libs/feather/svg/phone-incoming.svg +1 -0
  915. data/res/generators/templates/application/public/libs/feather/svg/phone-missed.svg +1 -0
  916. data/res/generators/templates/application/public/libs/feather/svg/phone-off.svg +1 -0
  917. data/res/generators/templates/application/public/libs/feather/svg/phone-outgoing.svg +1 -0
  918. data/res/generators/templates/application/public/libs/feather/svg/phone.svg +1 -0
  919. data/res/generators/templates/application/public/libs/feather/svg/pie-chart.svg +1 -0
  920. data/res/generators/templates/application/public/libs/feather/svg/play-circle.svg +1 -0
  921. data/res/generators/templates/application/public/libs/feather/svg/play.svg +1 -0
  922. data/res/generators/templates/application/public/libs/feather/svg/plus-circle.svg +1 -0
  923. data/res/generators/templates/application/public/libs/feather/svg/plus-square.svg +1 -0
  924. data/res/generators/templates/application/public/libs/feather/svg/plus.svg +1 -0
  925. data/res/generators/templates/application/public/libs/feather/svg/pocket.svg +1 -0
  926. data/res/generators/templates/application/public/libs/feather/svg/power.svg +1 -0
  927. data/res/generators/templates/application/public/libs/feather/svg/printer.svg +1 -0
  928. data/res/generators/templates/application/public/libs/feather/svg/radio.svg +1 -0
  929. data/res/generators/templates/application/public/libs/feather/svg/refresh-ccw.svg +1 -0
  930. data/res/generators/templates/application/public/libs/feather/svg/refresh-cw.svg +1 -0
  931. data/res/generators/templates/application/public/libs/feather/svg/repeat.svg +1 -0
  932. data/res/generators/templates/application/public/libs/feather/svg/rewind.svg +1 -0
  933. data/res/generators/templates/application/public/libs/feather/svg/rotate-ccw.svg +1 -0
  934. data/res/generators/templates/application/public/libs/feather/svg/rotate-cw.svg +1 -0
  935. data/res/generators/templates/application/public/libs/feather/svg/rss.svg +1 -0
  936. data/res/generators/templates/application/public/libs/feather/svg/save.svg +1 -0
  937. data/res/generators/templates/application/public/libs/feather/svg/scissors.svg +1 -0
  938. data/res/generators/templates/application/public/libs/feather/svg/search.svg +1 -0
  939. data/res/generators/templates/application/public/libs/feather/svg/send.svg +1 -0
  940. data/res/generators/templates/application/public/libs/feather/svg/server.svg +1 -0
  941. data/res/generators/templates/application/public/libs/feather/svg/settings.svg +1 -0
  942. data/res/generators/templates/application/public/libs/feather/svg/share-2.svg +1 -0
  943. data/res/generators/templates/application/public/libs/feather/svg/share.svg +1 -0
  944. data/res/generators/templates/application/public/libs/feather/svg/shield-off.svg +1 -0
  945. data/res/generators/templates/application/public/libs/feather/svg/shield.svg +1 -0
  946. data/res/generators/templates/application/public/libs/feather/svg/shopping-bag.svg +1 -0
  947. data/res/generators/templates/application/public/libs/feather/svg/shopping-cart.svg +1 -0
  948. data/res/generators/templates/application/public/libs/feather/svg/shuffle.svg +1 -0
  949. data/res/generators/templates/application/public/libs/feather/svg/sidebar.svg +1 -0
  950. data/res/generators/templates/application/public/libs/feather/svg/skip-back.svg +1 -0
  951. data/res/generators/templates/application/public/libs/feather/svg/skip-forward.svg +1 -0
  952. data/res/generators/templates/application/public/libs/feather/svg/slack.svg +1 -0
  953. data/res/generators/templates/application/public/libs/feather/svg/slash.svg +1 -0
  954. data/res/generators/templates/application/public/libs/feather/svg/sliders.svg +1 -0
  955. data/res/generators/templates/application/public/libs/feather/svg/smartphone.svg +1 -0
  956. data/res/generators/templates/application/public/libs/feather/svg/smile.svg +1 -0
  957. data/res/generators/templates/application/public/libs/feather/svg/speaker.svg +1 -0
  958. data/res/generators/templates/application/public/libs/feather/svg/square.svg +1 -0
  959. data/res/generators/templates/application/public/libs/feather/svg/star.svg +1 -0
  960. data/res/generators/templates/application/public/libs/feather/svg/stop-circle.svg +1 -0
  961. data/res/generators/templates/application/public/libs/feather/svg/sun.svg +1 -0
  962. data/res/generators/templates/application/public/libs/feather/svg/sunrise.svg +1 -0
  963. data/res/generators/templates/application/public/libs/feather/svg/sunset.svg +1 -0
  964. data/res/generators/templates/application/public/libs/feather/svg/tablet.svg +1 -0
  965. data/res/generators/templates/application/public/libs/feather/svg/tag.svg +1 -0
  966. data/res/generators/templates/application/public/libs/feather/svg/target.svg +1 -0
  967. data/res/generators/templates/application/public/libs/feather/svg/terminal.svg +1 -0
  968. data/res/generators/templates/application/public/libs/feather/svg/thermometer.svg +1 -0
  969. data/res/generators/templates/application/public/libs/feather/svg/thumbs-down.svg +1 -0
  970. data/res/generators/templates/application/public/libs/feather/svg/thumbs-up.svg +1 -0
  971. data/res/generators/templates/application/public/libs/feather/svg/toggle-left.svg +1 -0
  972. data/res/generators/templates/application/public/libs/feather/svg/toggle-right.svg +1 -0
  973. data/res/generators/templates/application/public/libs/feather/svg/tool.svg +1 -0
  974. data/res/generators/templates/application/public/libs/feather/svg/trash-2.svg +1 -0
  975. data/res/generators/templates/application/public/libs/feather/svg/trash.svg +1 -0
  976. data/res/generators/templates/application/public/libs/feather/svg/trello.svg +1 -0
  977. data/res/generators/templates/application/public/libs/feather/svg/trending-down.svg +1 -0
  978. data/res/generators/templates/application/public/libs/feather/svg/trending-up.svg +1 -0
  979. data/res/generators/templates/application/public/libs/feather/svg/triangle.svg +1 -0
  980. data/res/generators/templates/application/public/libs/feather/svg/truck.svg +1 -0
  981. data/res/generators/templates/application/public/libs/feather/svg/tv.svg +1 -0
  982. data/res/generators/templates/application/public/libs/feather/svg/twitch.svg +1 -0
  983. data/res/generators/templates/application/public/libs/feather/svg/twitter.svg +1 -0
  984. data/res/generators/templates/application/public/libs/feather/svg/type.svg +1 -0
  985. data/res/generators/templates/application/public/libs/feather/svg/umbrella.svg +1 -0
  986. data/res/generators/templates/application/public/libs/feather/svg/underline.svg +1 -0
  987. data/res/generators/templates/application/public/libs/feather/svg/unlock.svg +1 -0
  988. data/res/generators/templates/application/public/libs/feather/svg/upload-cloud.svg +1 -0
  989. data/res/generators/templates/application/public/libs/feather/svg/upload.svg +1 -0
  990. data/res/generators/templates/application/public/libs/feather/svg/user-check.svg +1 -0
  991. data/res/generators/templates/application/public/libs/feather/svg/user-minus.svg +1 -0
  992. data/res/generators/templates/application/public/libs/feather/svg/user-plus.svg +1 -0
  993. data/res/generators/templates/application/public/libs/feather/svg/user-x.svg +1 -0
  994. data/res/generators/templates/application/public/libs/feather/svg/user.svg +1 -0
  995. data/res/generators/templates/application/public/libs/feather/svg/users.svg +1 -0
  996. data/res/generators/templates/application/public/libs/feather/svg/video-off.svg +1 -0
  997. data/res/generators/templates/application/public/libs/feather/svg/video.svg +1 -0
  998. data/res/generators/templates/application/public/libs/feather/svg/voicemail.svg +1 -0
  999. data/res/generators/templates/application/public/libs/feather/svg/volume-1.svg +1 -0
  1000. data/res/generators/templates/application/public/libs/feather/svg/volume-2.svg +1 -0
  1001. data/res/generators/templates/application/public/libs/feather/svg/volume-x.svg +1 -0
  1002. data/res/generators/templates/application/public/libs/feather/svg/volume.svg +1 -0
  1003. data/res/generators/templates/application/public/libs/feather/svg/watch.svg +1 -0
  1004. data/res/generators/templates/application/public/libs/feather/svg/wifi-off.svg +1 -0
  1005. data/res/generators/templates/application/public/libs/feather/svg/wifi.svg +1 -0
  1006. data/res/generators/templates/application/public/libs/feather/svg/wind.svg +1 -0
  1007. data/res/generators/templates/application/public/libs/feather/svg/x-circle.svg +1 -0
  1008. data/res/generators/templates/application/public/libs/feather/svg/x-octagon.svg +1 -0
  1009. data/res/generators/templates/application/public/libs/feather/svg/x-square.svg +1 -0
  1010. data/res/generators/templates/application/public/libs/feather/svg/x.svg +1 -0
  1011. data/res/generators/templates/application/public/libs/feather/svg/youtube.svg +1 -0
  1012. data/res/generators/templates/application/public/libs/feather/svg/zap-off.svg +1 -0
  1013. data/res/generators/templates/application/public/libs/feather/svg/zap.svg +1 -0
  1014. data/res/generators/templates/application/public/libs/feather/svg/zoom-in.svg +1 -0
  1015. data/res/generators/templates/application/public/libs/feather/svg/zoom-out.svg +1 -0
  1016. data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.js +10872 -0
  1017. data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.min.js +2 -0
  1018. data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.min.map +1 -0
  1019. data/res/generators/templates/application/public/libs/popper-2.4.0/popper-2.4.0.js +1802 -0
  1020. data/res/generators/templates/application/public/libs/popper-2.4.0/popper-2.4.0.min.js +6 -0
  1021. data/res/generators/templates/application/resources/android/res/drawable/loading.png +0 -0
  1022. data/res/generators/templates/application/resources/android/res/drawable-hdpi/loading.png +0 -0
  1023. data/res/generators/templates/application/resources/android/res/drawable-ldpi/loading.png +0 -0
  1024. data/res/generators/templates/application/resources/android/res/drawable-mdpi/loading.png +0 -0
  1025. data/res/generators/templates/application/resources/android/res/drawable-xhdpi/loading.png +0 -0
  1026. data/res/generators/templates/application/resources/android/res/drawable-xxhdpi/loading.png +0 -0
  1027. data/res/generators/templates/application/resources/android/res/drawable-xxxhdpi/loading.png +0 -0
  1028. data/res/generators/templates/application/resources/ios/Default-568h@2x.png +0 -0
  1029. data/res/generators/templates/application/resources/ios/Default-667h@2x.png +0 -0
  1030. data/res/generators/templates/application/resources/ios/Default-736h@3x.png +0 -0
  1031. data/res/generators/templates/application/resources/ios/Default-812h@3x.png +0 -0
  1032. data/res/generators/templates/application/resources/ios/Default-896h@2x.png +0 -0
  1033. data/res/generators/templates/application/resources/ios/Default-896h@3x.png +0 -0
  1034. data/res/generators/templates/application/resources/ios/Default-Landscape-736h@3x.png +0 -0
  1035. data/res/generators/templates/application/resources/ios/Default-Landscape-812h@3x.png +0 -0
  1036. data/res/generators/templates/application/resources/ios/Default-Landscape-896h@2x.png +0 -0
  1037. data/res/generators/templates/application/resources/ios/Default-Landscape-896h@3x.png +0 -0
  1038. data/res/generators/templates/application/resources/ios/Default-Landscape.png +0 -0
  1039. data/res/generators/templates/application/resources/ios/Default-Landscape@2x.png +0 -0
  1040. data/res/generators/templates/application/resources/ios/Default-Portrait.png +0 -0
  1041. data/res/generators/templates/application/resources/ios/Default-Portrait@2x.png +0 -0
  1042. data/res/generators/templates/application/resources/ios/Default.png +0 -0
  1043. data/res/generators/templates/application/resources/ios/Default@2x.png +0 -0
  1044. data/res/generators/templates/application/rhoconfig.txt +7 -0
  1045. data/res/generators/templates/extension/extensions/montana/ext/build +5 -0
  1046. data/res/generators/templates/extension/extensions/montana/ext/build.bat +1 -1
  1047. data/res/generators/templates/extension/extensions/montana/ext/platform/android/Rakefile +1 -160
  1048. data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Montana.xcodeproj/project.pbxproj +4 -4
  1049. data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Podfile.example +16 -0
  1050. data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Rakefile +9 -62
  1051. data/res/generators/templates/extension/extensions/montana/ext/platform/qt/Montana.pro +26 -1
  1052. data/res/generators/templates/iphone_project/Bremen8.xcodeproj/project.pbxproj +34 -55
  1053. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-568h@2x.png +0 -0
  1054. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-667h@2x.png +0 -0
  1055. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-736h@3x.png +0 -0
  1056. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-812h@3x.png +0 -0
  1057. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-896h@2x.png +0 -0
  1058. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-896h@3x.png +0 -0
  1059. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-736h@3x.png +0 -0
  1060. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-812h@3x.png +0 -0
  1061. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-896h@2x.png +0 -0
  1062. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-896h@3x.png +0 -0
  1063. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape.png +0 -0
  1064. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png +0 -0
  1065. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Portrait.png +0 -0
  1066. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png +0 -0
  1067. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default.png +0 -0
  1068. data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default@2x.png +0 -0
  1069. data/res/generators/templates/iphone_project/Rhodes/Rhodes.xcodeproj/project.pbxproj +4 -4
  1070. data/res/generators/templates/iphone_project/buildRhoBundle +2 -10
  1071. data/res/generators/templates/iphone_project/root/Info.plist +4 -0
  1072. data/res/generators/templates/model/edit.erb +10 -12
  1073. data/res/generators/templates/model/index.erb +27 -29
  1074. data/res/generators/templates/model/javascript_edit.html +18 -17
  1075. data/res/generators/templates/model/javascript_index.html +22 -21
  1076. data/res/generators/templates/model/javascript_index.js +12 -7
  1077. data/res/generators/templates/model/javascript_new.html +20 -16
  1078. data/res/generators/templates/model/javascript_show.html +30 -32
  1079. data/res/generators/templates/model/new.erb +8 -12
  1080. data/res/generators/templates/model/show.erb +22 -28
  1081. data/res/generators/templates/project/android_studio_project/app/CMakeLists.txt.erb +15 -2
  1082. data/res/generators/templates/project/android_studio_project/app/build.gradle.erb +22 -19
  1083. data/res/generators/templates/project/android_studio_project/build.gradle +3 -1
  1084. data/res/generators/templates/spec/app/SpecRunner/controller.rb +1 -1
  1085. data/res/generators/templates/spec/app/mspec.rb +1 -1
  1086. data/res/generators/templates/spec/app/spec_runner.rb +23 -4
  1087. data/res/prebuild_base_app/rhoconfig.txt +11 -8
  1088. data/rhobuild.yml.example +3 -0
  1089. data/rhodes-core.gemspec +1 -2
  1090. data/rhodes.gemspec +20 -26
  1091. data/rhomobile-debug.gemspec +0 -1
  1092. data/version +1 -1
  1093. metadata +453 -97
  1094. data/extensions/emdk3-manager/ext/platform/android/ext_native.files +0 -0
  1095. data/lib/extensions/fcm-push/ext/iphone/Firebase.h +0 -68
  1096. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +0 -62
  1097. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +0 -115
  1098. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h +0 -1
  1099. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h +0 -13
  1100. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h +0 -1
  1101. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h +0 -1
  1102. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h +0 -389
  1103. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h +0 -1
  1104. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +0 -485
  1105. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h +0 -15
  1106. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +0 -10
  1107. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap +0 -10
  1108. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/FirebaseCore +0 -0
  1109. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h +0 -52
  1110. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRApp.h +0 -130
  1111. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h +0 -78
  1112. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h +0 -35
  1113. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIROptions.h +0 -133
  1114. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h +0 -5
  1115. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Modules/module.modulemap +0 -7
  1116. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics +0 -0
  1117. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/Modules/module.modulemap +0 -6
  1118. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID +0 -0
  1119. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h +0 -276
  1120. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h +0 -1
  1121. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap +0 -7
  1122. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/FirebaseMessaging +0 -0
  1123. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h +0 -508
  1124. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h +0 -1
  1125. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap +0 -8
  1126. data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB +0 -0
  1127. data/lib/extensions/fcm-push/ext/iphone/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac +0 -0
  1128. data/lib/extensions/fcm-push/ext/iphone/Frameworks/GoogleToolboxForMac.framework/Modules/module.modulemap +0 -5
  1129. data/lib/extensions/fcm-push/ext/iphone/Frameworks/Protobuf.framework/Modules/module.modulemap +0 -5
  1130. data/lib/extensions/fcm-push/ext/iphone/Frameworks/Protobuf.framework/Protobuf +0 -0
  1131. data/lib/extensions/fcm-push/ext/iphone/Frameworks/nanopb.framework/Modules/module.modulemap +0 -5
  1132. data/lib/extensions/fcm-push/ext/iphone/Frameworks/nanopb.framework/nanopb +0 -0
  1133. data/platform/win32/RhoSimulator/position/qtposition_geoclue.dll +0 -0
  1134. data/platform/win32/build/RhoRuntimeQt5-VS2008.nsi +0 -162
  1135. data/platform/win32/build/RhoRuntimeQt5.5.0.0_VS2012.nsi +0 -178
  1136. data/platform/win32/build/RhoRuntimeQt5.bat +0 -2
  1137. data/platform/win32/build/RhoRuntimeQt5.ico +0 -0
  1138. data/platform/win32/build/RhoRuntimeQt5.nsi +0 -165
  1139. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.css +0 -587
  1140. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.css.map +0 -1
  1141. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.min.css +0 -6
  1142. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.min.css.map +0 -1
  1143. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.css +0 -6757
  1144. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.css.map +0 -1
  1145. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.min.css +0 -6
  1146. data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.min.css.map +0 -1
  1147. data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.eot +0 -0
  1148. data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.svg +0 -288
  1149. data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.ttf +0 -0
  1150. data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff +0 -0
  1151. data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff2 +0 -0
  1152. data/res/generators/templates/application/public/bootstrap-3.3.7/js/bootstrap.js +0 -2377
  1153. data/res/generators/templates/application/public/bootstrap-3.3.7/js/bootstrap.min.js +0 -7
  1154. data/res/generators/templates/application/public/bootstrap-3.3.7/js/npm.js +0 -13
  1155. data/res/generators/templates/application/public/jquery/jquery-3.1.1.min.js +0 -4
  1156. data/res/generators/templates/application/public/jquery/jquery-3.1.1.min.map +0 -1
  1157. data/res/generators/templates/application/public/jquery/jquery-3.2.1.min.js +0 -4
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
2
+ * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the OpenSSL license (the "License"). You may not use
5
5
  * this file except in compliance with the License. You can obtain a copy
@@ -14,6 +14,7 @@
14
14
  # include <openssl/ossl_typ.h>
15
15
  # include <openssl/symhacks.h>
16
16
  # include <openssl/bio.h>
17
+ # include <openssl/evperr.h>
17
18
 
18
19
  # define EVP_MAX_MD_SIZE 64/* longest known is SHA512 */
19
20
  # define EVP_MAX_KEY_LENGTH 64
@@ -40,6 +41,7 @@
40
41
  # define EVP_PKEY_NONE NID_undef
41
42
  # define EVP_PKEY_RSA NID_rsaEncryption
42
43
  # define EVP_PKEY_RSA2 NID_rsa
44
+ # define EVP_PKEY_RSA_PSS NID_rsassaPss
43
45
  # define EVP_PKEY_DSA NID_dsa
44
46
  # define EVP_PKEY_DSA1 NID_dsa_2
45
47
  # define EVP_PKEY_DSA2 NID_dsaWithSHA
@@ -48,10 +50,18 @@
48
50
  # define EVP_PKEY_DH NID_dhKeyAgreement
49
51
  # define EVP_PKEY_DHX NID_dhpublicnumber
50
52
  # define EVP_PKEY_EC NID_X9_62_id_ecPublicKey
53
+ # define EVP_PKEY_SM2 NID_sm2
51
54
  # define EVP_PKEY_HMAC NID_hmac
52
55
  # define EVP_PKEY_CMAC NID_cmac
56
+ # define EVP_PKEY_SCRYPT NID_id_scrypt
53
57
  # define EVP_PKEY_TLS1_PRF NID_tls1_prf
54
58
  # define EVP_PKEY_HKDF NID_hkdf
59
+ # define EVP_PKEY_POLY1305 NID_poly1305
60
+ # define EVP_PKEY_SIPHASH NID_siphash
61
+ # define EVP_PKEY_X25519 NID_X25519
62
+ # define EVP_PKEY_ED25519 NID_ED25519
63
+ # define EVP_PKEY_X448 NID_X448
64
+ # define EVP_PKEY_ED448 NID_ED448
55
65
 
56
66
  #ifdef __cplusplus
57
67
  extern "C" {
@@ -102,6 +112,9 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
102
112
  /* digest can only handle a single block */
103
113
  # define EVP_MD_FLAG_ONESHOT 0x0001
104
114
 
115
+ /* digest is extensible-output function, XOF */
116
+ # define EVP_MD_FLAG_XOF 0x0002
117
+
105
118
  /* DigestAlgorithmIdentifier flags... */
106
119
 
107
120
  # define EVP_MD_FLAG_DIGALGID_MASK 0x0018
@@ -125,6 +138,7 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
125
138
 
126
139
  # define EVP_MD_CTRL_DIGALGID 0x1
127
140
  # define EVP_MD_CTRL_MICALG 0x2
141
+ # define EVP_MD_CTRL_XOF_LEN 0x3
128
142
 
129
143
  /* Minimum Algorithm specific ctrl value */
130
144
 
@@ -166,6 +180,7 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
166
180
  * if the following flag is set.
167
181
  */
168
182
  # define EVP_MD_CTX_FLAG_FINALISE 0x0200
183
+ /* NOTE: 0x0400 is reserved for internal usage */
169
184
 
170
185
  EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
171
186
  EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
@@ -245,6 +260,8 @@ int (*EVP_CIPHER_meth_get_ctrl(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
245
260
  # define EVP_CIPH_RAND_KEY 0x200
246
261
  /* cipher has its own additional copying logic */
247
262
  # define EVP_CIPH_CUSTOM_COPY 0x400
263
+ /* Don't use standard iv length function */
264
+ # define EVP_CIPH_CUSTOM_IV_LENGTH 0x800
248
265
  /* Allow use default ASN1 get/set iv */
249
266
  # define EVP_CIPH_FLAG_DEFAULT_ASN1 0x1000
250
267
  /* Buffer length in bits not bytes: CFB1 mode only */
@@ -334,6 +351,8 @@ int (*EVP_CIPHER_meth_get_ctrl(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
334
351
  /* Set the input buffer lengths to use for a pipelined operation */
335
352
  # define EVP_CTRL_SET_PIPELINE_INPUT_LENS 0x24
336
353
 
354
+ # define EVP_CTRL_GET_IVLEN 0x25
355
+
337
356
  /* Padding modes */
338
357
  #define EVP_PADDING_PKCS7 1
339
358
  #define EVP_PADDING_ISO7816_4 2
@@ -364,6 +383,15 @@ typedef struct {
364
383
  # define EVP_CCM_TLS_FIXED_IV_LEN 4
365
384
  /* Length of explicit part of IV part of TLS records */
366
385
  # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8
386
+ /* Total length of CCM IV length for TLS */
387
+ # define EVP_CCM_TLS_IV_LEN 12
388
+ /* Length of tag for TLS */
389
+ # define EVP_CCM_TLS_TAG_LEN 16
390
+ /* Length of CCM8 tag for TLS */
391
+ # define EVP_CCM8_TLS_TAG_LEN 8
392
+
393
+ /* Length of tag for TLS */
394
+ # define EVP_CHACHAPOLY_TLS_TAG_LEN 16
367
395
 
368
396
  typedef struct evp_cipher_info_st {
369
397
  const EVP_CIPHER *cipher;
@@ -396,6 +424,15 @@ typedef int (EVP_PBE_KEYGEN) (EVP_CIPHER_CTX *ctx, const char *pass,
396
424
  # define EVP_PKEY_assign_EC_KEY(pkey,eckey) EVP_PKEY_assign((pkey),EVP_PKEY_EC,\
397
425
  (char *)(eckey))
398
426
  # endif
427
+ # ifndef OPENSSL_NO_SIPHASH
428
+ # define EVP_PKEY_assign_SIPHASH(pkey,shkey) EVP_PKEY_assign((pkey),EVP_PKEY_SIPHASH,\
429
+ (char *)(shkey))
430
+ # endif
431
+
432
+ # ifndef OPENSSL_NO_POLY1305
433
+ # define EVP_PKEY_assign_POLY1305(pkey,polykey) EVP_PKEY_assign((pkey),EVP_PKEY_POLY1305,\
434
+ (char *)(polykey))
435
+ # endif
399
436
 
400
437
  /* Add some extra combinations */
401
438
  # define EVP_get_digestbynid(a) EVP_get_digestbyname(OBJ_nid2sn(a))
@@ -421,6 +458,7 @@ void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx,
421
458
  # define EVP_MD_CTX_block_size(e) EVP_MD_block_size(EVP_MD_CTX_md(e))
422
459
  # define EVP_MD_CTX_type(e) EVP_MD_type(EVP_MD_CTX_md(e))
423
460
  EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx);
461
+ void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx);
424
462
  void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
425
463
 
426
464
  int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
@@ -455,8 +493,8 @@ void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
455
493
  # endif
456
494
  # define EVP_CIPHER_CTX_mode(c) EVP_CIPHER_mode(EVP_CIPHER_CTX_cipher(c))
457
495
 
458
- # define EVP_ENCODE_LENGTH(l) (((l+2)/3*4)+(l/48+1)*2+80)
459
- # define EVP_DECODE_LENGTH(l) ((l+3)/4*3+80)
496
+ # define EVP_ENCODE_LENGTH(l) ((((l)+2)/3*4)+((l)/48+1)*2+80)
497
+ # define EVP_DECODE_LENGTH(l) (((l)+3)/4*3+80)
460
498
 
461
499
  # define EVP_SignInit_ex(a,b,c) EVP_DigestInit_ex(a,b,c)
462
500
  # define EVP_SignInit(a,b) EVP_DigestInit(a,b)
@@ -472,13 +510,16 @@ void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
472
510
  # ifdef CONST_STRICT
473
511
  void BIO_set_md(BIO *, const EVP_MD *md);
474
512
  # else
475
- # define BIO_set_md(b,md) BIO_ctrl(b,BIO_C_SET_MD,0,(char *)md)
513
+ # define BIO_set_md(b,md) BIO_ctrl(b,BIO_C_SET_MD,0,(char *)(md))
476
514
  # endif
477
- # define BIO_get_md(b,mdp) BIO_ctrl(b,BIO_C_GET_MD,0,(char *)mdp)
478
- # define BIO_get_md_ctx(b,mdcp) BIO_ctrl(b,BIO_C_GET_MD_CTX,0,(char *)mdcp)
479
- # define BIO_set_md_ctx(b,mdcp) BIO_ctrl(b,BIO_C_SET_MD_CTX,0,(char *)mdcp)
480
- # define BIO_get_cipher_status(b) BIO_ctrl(b,BIO_C_GET_CIPHER_STATUS,0,NULL)
481
- # define BIO_get_cipher_ctx(b,c_pp) BIO_ctrl(b,BIO_C_GET_CIPHER_CTX,0,(char *)c_pp)
515
+ # define BIO_get_md(b,mdp) BIO_ctrl(b,BIO_C_GET_MD,0,(char *)(mdp))
516
+ # define BIO_get_md_ctx(b,mdcp) BIO_ctrl(b,BIO_C_GET_MD_CTX,0, \
517
+ (char *)(mdcp))
518
+ # define BIO_set_md_ctx(b,mdcp) BIO_ctrl(b,BIO_C_SET_MD_CTX,0, \
519
+ (char *)(mdcp))
520
+ # define BIO_get_cipher_status(b) BIO_ctrl(b,BIO_C_GET_CIPHER_STATUS,0,NULL)
521
+ # define BIO_get_cipher_ctx(b,c_pp) BIO_ctrl(b,BIO_C_GET_CIPHER_CTX,0, \
522
+ (char *)(c_pp))
482
523
 
483
524
  /*__owur*/ int EVP_Cipher(EVP_CIPHER_CTX *c,
484
525
  unsigned char *out,
@@ -518,14 +559,14 @@ __owur int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in);
518
559
  __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);
519
560
  __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md,
520
561
  unsigned int *s);
562
+ __owur int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md,
563
+ size_t len);
521
564
 
522
- #ifndef OPENSSL_NO_UI
523
565
  int EVP_read_pw_string(char *buf, int length, const char *prompt, int verify);
524
566
  int EVP_read_pw_string_min(char *buf, int minlen, int maxlen,
525
567
  const char *prompt, int verify);
526
568
  void EVP_set_pw_prompt(const char *prompt);
527
569
  char *EVP_get_pw_prompt(void);
528
- #endif
529
570
 
530
571
  __owur int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
531
572
  const unsigned char *salt,
@@ -579,9 +620,17 @@ __owur int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm,
579
620
  __owur int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s,
580
621
  EVP_PKEY *pkey);
581
622
 
623
+ __owur int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret,
624
+ size_t *siglen, const unsigned char *tbs,
625
+ size_t tbslen);
626
+
582
627
  __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
583
628
  unsigned int siglen, EVP_PKEY *pkey);
584
629
 
630
+ __owur int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret,
631
+ size_t siglen, const unsigned char *tbs,
632
+ size_t tbslen);
633
+
585
634
  /*__owur*/ int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
586
635
  const EVP_MD *type, ENGINE *e,
587
636
  EVP_PKEY *pkey);
@@ -662,6 +711,14 @@ const EVP_MD *EVP_sha224(void);
662
711
  const EVP_MD *EVP_sha256(void);
663
712
  const EVP_MD *EVP_sha384(void);
664
713
  const EVP_MD *EVP_sha512(void);
714
+ const EVP_MD *EVP_sha512_224(void);
715
+ const EVP_MD *EVP_sha512_256(void);
716
+ const EVP_MD *EVP_sha3_224(void);
717
+ const EVP_MD *EVP_sha3_256(void);
718
+ const EVP_MD *EVP_sha3_384(void);
719
+ const EVP_MD *EVP_sha3_512(void);
720
+ const EVP_MD *EVP_shake128(void);
721
+ const EVP_MD *EVP_shake256(void);
665
722
  # ifndef OPENSSL_NO_MDC2
666
723
  const EVP_MD *EVP_mdc2(void);
667
724
  # endif
@@ -671,6 +728,9 @@ const EVP_MD *EVP_ripemd160(void);
671
728
  # ifndef OPENSSL_NO_WHIRLPOOL
672
729
  const EVP_MD *EVP_whirlpool(void);
673
730
  # endif
731
+ # ifndef OPENSSL_NO_SM3
732
+ const EVP_MD *EVP_sm3(void);
733
+ # endif
674
734
  const EVP_CIPHER *EVP_enc_null(void); /* does nothing :-) */
675
735
  # ifndef OPENSSL_NO_DES
676
736
  const EVP_CIPHER *EVP_des_ecb(void);
@@ -797,6 +857,38 @@ const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha1(void);
797
857
  const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha1(void);
798
858
  const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha256(void);
799
859
  const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha256(void);
860
+ # ifndef OPENSSL_NO_ARIA
861
+ const EVP_CIPHER *EVP_aria_128_ecb(void);
862
+ const EVP_CIPHER *EVP_aria_128_cbc(void);
863
+ const EVP_CIPHER *EVP_aria_128_cfb1(void);
864
+ const EVP_CIPHER *EVP_aria_128_cfb8(void);
865
+ const EVP_CIPHER *EVP_aria_128_cfb128(void);
866
+ # define EVP_aria_128_cfb EVP_aria_128_cfb128
867
+ const EVP_CIPHER *EVP_aria_128_ctr(void);
868
+ const EVP_CIPHER *EVP_aria_128_ofb(void);
869
+ const EVP_CIPHER *EVP_aria_128_gcm(void);
870
+ const EVP_CIPHER *EVP_aria_128_ccm(void);
871
+ const EVP_CIPHER *EVP_aria_192_ecb(void);
872
+ const EVP_CIPHER *EVP_aria_192_cbc(void);
873
+ const EVP_CIPHER *EVP_aria_192_cfb1(void);
874
+ const EVP_CIPHER *EVP_aria_192_cfb8(void);
875
+ const EVP_CIPHER *EVP_aria_192_cfb128(void);
876
+ # define EVP_aria_192_cfb EVP_aria_192_cfb128
877
+ const EVP_CIPHER *EVP_aria_192_ctr(void);
878
+ const EVP_CIPHER *EVP_aria_192_ofb(void);
879
+ const EVP_CIPHER *EVP_aria_192_gcm(void);
880
+ const EVP_CIPHER *EVP_aria_192_ccm(void);
881
+ const EVP_CIPHER *EVP_aria_256_ecb(void);
882
+ const EVP_CIPHER *EVP_aria_256_cbc(void);
883
+ const EVP_CIPHER *EVP_aria_256_cfb1(void);
884
+ const EVP_CIPHER *EVP_aria_256_cfb8(void);
885
+ const EVP_CIPHER *EVP_aria_256_cfb128(void);
886
+ # define EVP_aria_256_cfb EVP_aria_256_cfb128
887
+ const EVP_CIPHER *EVP_aria_256_ctr(void);
888
+ const EVP_CIPHER *EVP_aria_256_ofb(void);
889
+ const EVP_CIPHER *EVP_aria_256_gcm(void);
890
+ const EVP_CIPHER *EVP_aria_256_ccm(void);
891
+ # endif
800
892
  # ifndef OPENSSL_NO_CAMELLIA
801
893
  const EVP_CIPHER *EVP_camellia_128_ecb(void);
802
894
  const EVP_CIPHER *EVP_camellia_128_cbc(void);
@@ -838,6 +930,15 @@ const EVP_CIPHER *EVP_seed_cfb128(void);
838
930
  const EVP_CIPHER *EVP_seed_ofb(void);
839
931
  # endif
840
932
 
933
+ # ifndef OPENSSL_NO_SM4
934
+ const EVP_CIPHER *EVP_sm4_ecb(void);
935
+ const EVP_CIPHER *EVP_sm4_cbc(void);
936
+ const EVP_CIPHER *EVP_sm4_cfb128(void);
937
+ # define EVP_sm4_cfb EVP_sm4_cfb128
938
+ const EVP_CIPHER *EVP_sm4_ofb(void);
939
+ const EVP_CIPHER *EVP_sm4_ctr(void);
940
+ # endif
941
+
841
942
  # if OPENSSL_API_COMPAT < 0x10100000L
842
943
  # define OPENSSL_add_all_algorithms_conf() \
843
944
  OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
@@ -848,14 +949,9 @@ const EVP_CIPHER *EVP_seed_ofb(void);
848
949
  | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
849
950
 
850
951
  # ifdef OPENSSL_LOAD_CONF
851
- # define OpenSSL_add_all_algorithms() \
852
- OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
853
- | OPENSSL_INIT_ADD_ALL_DIGESTS \
854
- | OPENSSL_INIT_LOAD_CONFIG, NULL)
952
+ # define OpenSSL_add_all_algorithms() OPENSSL_add_all_algorithms_conf()
855
953
  # else
856
- # define OpenSSL_add_all_algorithms() \
857
- OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
858
- | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
954
+ # define OpenSSL_add_all_algorithms() OPENSSL_add_all_algorithms_noconf()
859
955
  # endif
860
956
 
861
957
  # define OpenSSL_add_all_ciphers() \
@@ -897,15 +993,23 @@ int EVP_PKEY_id(const EVP_PKEY *pkey);
897
993
  int EVP_PKEY_base_id(const EVP_PKEY *pkey);
898
994
  int EVP_PKEY_bits(const EVP_PKEY *pkey);
899
995
  int EVP_PKEY_security_bits(const EVP_PKEY *pkey);
900
- int EVP_PKEY_size(EVP_PKEY *pkey);
996
+ int EVP_PKEY_size(const EVP_PKEY *pkey);
901
997
  int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
902
998
  int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
999
+ int EVP_PKEY_set_alias_type(EVP_PKEY *pkey, int type);
903
1000
  # ifndef OPENSSL_NO_ENGINE
904
1001
  int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e);
1002
+ ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey);
905
1003
  # endif
906
1004
  int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
907
1005
  void *EVP_PKEY_get0(const EVP_PKEY *pkey);
908
1006
  const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);
1007
+ # ifndef OPENSSL_NO_POLY1305
1008
+ const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len);
1009
+ # endif
1010
+ # ifndef OPENSSL_NO_SIPHASH
1011
+ const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len);
1012
+ # endif
909
1013
 
910
1014
  # ifndef OPENSSL_NO_RSA
911
1015
  struct rsa_st;
@@ -1114,6 +1218,38 @@ void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth,
1114
1218
  X509_ALGOR *alg2,
1115
1219
  ASN1_BIT_STRING *sig));
1116
1220
 
1221
+ void EVP_PKEY_asn1_set_siginf(EVP_PKEY_ASN1_METHOD *ameth,
1222
+ int (*siginf_set) (X509_SIG_INFO *siginf,
1223
+ const X509_ALGOR *alg,
1224
+ const ASN1_STRING *sig));
1225
+
1226
+ void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth,
1227
+ int (*pkey_check) (const EVP_PKEY *pk));
1228
+
1229
+ void EVP_PKEY_asn1_set_public_check(EVP_PKEY_ASN1_METHOD *ameth,
1230
+ int (*pkey_pub_check) (const EVP_PKEY *pk));
1231
+
1232
+ void EVP_PKEY_asn1_set_param_check(EVP_PKEY_ASN1_METHOD *ameth,
1233
+ int (*pkey_param_check) (const EVP_PKEY *pk));
1234
+
1235
+ void EVP_PKEY_asn1_set_set_priv_key(EVP_PKEY_ASN1_METHOD *ameth,
1236
+ int (*set_priv_key) (EVP_PKEY *pk,
1237
+ const unsigned char
1238
+ *priv,
1239
+ size_t len));
1240
+ void EVP_PKEY_asn1_set_set_pub_key(EVP_PKEY_ASN1_METHOD *ameth,
1241
+ int (*set_pub_key) (EVP_PKEY *pk,
1242
+ const unsigned char *pub,
1243
+ size_t len));
1244
+ void EVP_PKEY_asn1_set_get_priv_key(EVP_PKEY_ASN1_METHOD *ameth,
1245
+ int (*get_priv_key) (const EVP_PKEY *pk,
1246
+ unsigned char *priv,
1247
+ size_t *len));
1248
+ void EVP_PKEY_asn1_set_get_pub_key(EVP_PKEY_ASN1_METHOD *ameth,
1249
+ int (*get_pub_key) (const EVP_PKEY *pk,
1250
+ unsigned char *pub,
1251
+ size_t *len));
1252
+
1117
1253
  void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
1118
1254
  int (*pkey_security_bits) (const EVP_PKEY
1119
1255
  *pk));
@@ -1145,15 +1281,15 @@ void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
1145
1281
 
1146
1282
  # define EVP_PKEY_CTX_set_signature_md(ctx, md) \
1147
1283
  EVP_PKEY_CTX_ctrl(ctx, -1, EVP_PKEY_OP_TYPE_SIG, \
1148
- EVP_PKEY_CTRL_MD, 0, (void *)md)
1284
+ EVP_PKEY_CTRL_MD, 0, (void *)(md))
1149
1285
 
1150
1286
  # define EVP_PKEY_CTX_get_signature_md(ctx, pmd) \
1151
1287
  EVP_PKEY_CTX_ctrl(ctx, -1, EVP_PKEY_OP_TYPE_SIG, \
1152
- EVP_PKEY_CTRL_GET_MD, 0, (void *)pmd)
1288
+ EVP_PKEY_CTRL_GET_MD, 0, (void *)(pmd))
1153
1289
 
1154
1290
  # define EVP_PKEY_CTX_set_mac_key(ctx, key, len) \
1155
1291
  EVP_PKEY_CTX_ctrl(ctx, -1, EVP_PKEY_OP_KEYGEN, \
1156
- EVP_PKEY_CTRL_SET_MAC_KEY, len, (void *)key)
1292
+ EVP_PKEY_CTRL_SET_MAC_KEY, len, (void *)(key))
1157
1293
 
1158
1294
  # define EVP_PKEY_CTRL_MD 1
1159
1295
  # define EVP_PKEY_CTRL_PEER_KEY 2
@@ -1178,6 +1314,8 @@ void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
1178
1314
 
1179
1315
  # define EVP_PKEY_CTRL_GET_MD 13
1180
1316
 
1317
+ # define EVP_PKEY_CTRL_SET_DIGEST_SIZE 14
1318
+
1181
1319
  # define EVP_PKEY_ALG_CTRL 0x1000
1182
1320
 
1183
1321
  # define EVP_PKEY_FLAG_AUTOARGLEN 2
@@ -1193,6 +1331,9 @@ void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
1193
1331
  void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, const EVP_PKEY_METHOD *src);
1194
1332
  void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
1195
1333
  int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
1334
+ int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth);
1335
+ size_t EVP_PKEY_meth_get_count(void);
1336
+ const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
1196
1337
 
1197
1338
  EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e);
1198
1339
  EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e);
@@ -1203,15 +1344,32 @@ int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
1203
1344
  int cmd, int p1, void *p2);
1204
1345
  int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type,
1205
1346
  const char *value);
1347
+ int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype,
1348
+ int cmd, uint64_t value);
1206
1349
 
1207
1350
  int EVP_PKEY_CTX_str2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *str);
1208
1351
  int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex);
1209
1352
 
1353
+ int EVP_PKEY_CTX_md(EVP_PKEY_CTX *ctx, int optype, int cmd, const char *md);
1354
+
1210
1355
  int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx);
1211
1356
  void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen);
1212
1357
 
1213
1358
  EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e,
1214
1359
  const unsigned char *key, int keylen);
1360
+ EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *e,
1361
+ const unsigned char *priv,
1362
+ size_t len);
1363
+ EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *e,
1364
+ const unsigned char *pub,
1365
+ size_t len);
1366
+ int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv,
1367
+ size_t *len);
1368
+ int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub,
1369
+ size_t *len);
1370
+
1371
+ EVP_PKEY *EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv,
1372
+ size_t len, const EVP_CIPHER *cipher);
1215
1373
 
1216
1374
  void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data);
1217
1375
  void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx);
@@ -1253,6 +1411,9 @@ int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx);
1253
1411
  int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
1254
1412
  int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx);
1255
1413
  int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
1414
+ int EVP_PKEY_check(EVP_PKEY_CTX *ctx);
1415
+ int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx);
1416
+ int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx);
1256
1417
 
1257
1418
  void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);
1258
1419
  EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx);
@@ -1351,34 +1512,61 @@ void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
1351
1512
  const char *type,
1352
1513
  const char *value));
1353
1514
 
1354
- void EVP_PKEY_meth_get_init(EVP_PKEY_METHOD *pmeth,
1515
+ void EVP_PKEY_meth_set_digestsign(EVP_PKEY_METHOD *pmeth,
1516
+ int (*digestsign) (EVP_MD_CTX *ctx,
1517
+ unsigned char *sig,
1518
+ size_t *siglen,
1519
+ const unsigned char *tbs,
1520
+ size_t tbslen));
1521
+
1522
+ void EVP_PKEY_meth_set_digestverify(EVP_PKEY_METHOD *pmeth,
1523
+ int (*digestverify) (EVP_MD_CTX *ctx,
1524
+ const unsigned char *sig,
1525
+ size_t siglen,
1526
+ const unsigned char *tbs,
1527
+ size_t tbslen));
1528
+
1529
+ void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
1530
+ int (*check) (EVP_PKEY *pkey));
1531
+
1532
+ void EVP_PKEY_meth_set_public_check(EVP_PKEY_METHOD *pmeth,
1533
+ int (*check) (EVP_PKEY *pkey));
1534
+
1535
+ void EVP_PKEY_meth_set_param_check(EVP_PKEY_METHOD *pmeth,
1536
+ int (*check) (EVP_PKEY *pkey));
1537
+
1538
+ void EVP_PKEY_meth_set_digest_custom(EVP_PKEY_METHOD *pmeth,
1539
+ int (*digest_custom) (EVP_PKEY_CTX *ctx,
1540
+ EVP_MD_CTX *mctx));
1541
+
1542
+ void EVP_PKEY_meth_get_init(const EVP_PKEY_METHOD *pmeth,
1355
1543
  int (**pinit) (EVP_PKEY_CTX *ctx));
1356
1544
 
1357
- void EVP_PKEY_meth_get_copy(EVP_PKEY_METHOD *pmeth,
1545
+ void EVP_PKEY_meth_get_copy(const EVP_PKEY_METHOD *pmeth,
1358
1546
  int (**pcopy) (EVP_PKEY_CTX *dst,
1359
1547
  EVP_PKEY_CTX *src));
1360
1548
 
1361
- void EVP_PKEY_meth_get_cleanup(EVP_PKEY_METHOD *pmeth,
1549
+ void EVP_PKEY_meth_get_cleanup(const EVP_PKEY_METHOD *pmeth,
1362
1550
  void (**pcleanup) (EVP_PKEY_CTX *ctx));
1363
1551
 
1364
- void EVP_PKEY_meth_get_paramgen(EVP_PKEY_METHOD *pmeth,
1552
+ void EVP_PKEY_meth_get_paramgen(const EVP_PKEY_METHOD *pmeth,
1365
1553
  int (**pparamgen_init) (EVP_PKEY_CTX *ctx),
1366
1554
  int (**pparamgen) (EVP_PKEY_CTX *ctx,
1367
1555
  EVP_PKEY *pkey));
1368
1556
 
1369
- void EVP_PKEY_meth_get_keygen(EVP_PKEY_METHOD *pmeth,
1557
+ void EVP_PKEY_meth_get_keygen(const EVP_PKEY_METHOD *pmeth,
1370
1558
  int (**pkeygen_init) (EVP_PKEY_CTX *ctx),
1371
1559
  int (**pkeygen) (EVP_PKEY_CTX *ctx,
1372
1560
  EVP_PKEY *pkey));
1373
1561
 
1374
- void EVP_PKEY_meth_get_sign(EVP_PKEY_METHOD *pmeth,
1562
+ void EVP_PKEY_meth_get_sign(const EVP_PKEY_METHOD *pmeth,
1375
1563
  int (**psign_init) (EVP_PKEY_CTX *ctx),
1376
1564
  int (**psign) (EVP_PKEY_CTX *ctx,
1377
1565
  unsigned char *sig, size_t *siglen,
1378
1566
  const unsigned char *tbs,
1379
1567
  size_t tbslen));
1380
1568
 
1381
- void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
1569
+ void EVP_PKEY_meth_get_verify(const EVP_PKEY_METHOD *pmeth,
1382
1570
  int (**pverify_init) (EVP_PKEY_CTX *ctx),
1383
1571
  int (**pverify) (EVP_PKEY_CTX *ctx,
1384
1572
  const unsigned char *sig,
@@ -1386,7 +1574,7 @@ void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
1386
1574
  const unsigned char *tbs,
1387
1575
  size_t tbslen));
1388
1576
 
1389
- void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
1577
+ void EVP_PKEY_meth_get_verify_recover(const EVP_PKEY_METHOD *pmeth,
1390
1578
  int (**pverify_recover_init) (EVP_PKEY_CTX
1391
1579
  *ctx),
1392
1580
  int (**pverify_recover) (EVP_PKEY_CTX
@@ -1398,7 +1586,7 @@ void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
1398
1586
  char *tbs,
1399
1587
  size_t tbslen));
1400
1588
 
1401
- void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
1589
+ void EVP_PKEY_meth_get_signctx(const EVP_PKEY_METHOD *pmeth,
1402
1590
  int (**psignctx_init) (EVP_PKEY_CTX *ctx,
1403
1591
  EVP_MD_CTX *mctx),
1404
1592
  int (**psignctx) (EVP_PKEY_CTX *ctx,
@@ -1406,7 +1594,7 @@ void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
1406
1594
  size_t *siglen,
1407
1595
  EVP_MD_CTX *mctx));
1408
1596
 
1409
- void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
1597
+ void EVP_PKEY_meth_get_verifyctx(const EVP_PKEY_METHOD *pmeth,
1410
1598
  int (**pverifyctx_init) (EVP_PKEY_CTX *ctx,
1411
1599
  EVP_MD_CTX *mctx),
1412
1600
  int (**pverifyctx) (EVP_PKEY_CTX *ctx,
@@ -1414,7 +1602,7 @@ void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
1414
1602
  int siglen,
1415
1603
  EVP_MD_CTX *mctx));
1416
1604
 
1417
- void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
1605
+ void EVP_PKEY_meth_get_encrypt(const EVP_PKEY_METHOD *pmeth,
1418
1606
  int (**pencrypt_init) (EVP_PKEY_CTX *ctx),
1419
1607
  int (**pencryptfn) (EVP_PKEY_CTX *ctx,
1420
1608
  unsigned char *out,
@@ -1422,7 +1610,7 @@ void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
1422
1610
  const unsigned char *in,
1423
1611
  size_t inlen));
1424
1612
 
1425
- void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
1613
+ void EVP_PKEY_meth_get_decrypt(const EVP_PKEY_METHOD *pmeth,
1426
1614
  int (**pdecrypt_init) (EVP_PKEY_CTX *ctx),
1427
1615
  int (**pdecrypt) (EVP_PKEY_CTX *ctx,
1428
1616
  unsigned char *out,
@@ -1430,165 +1618,47 @@ void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
1430
1618
  const unsigned char *in,
1431
1619
  size_t inlen));
1432
1620
 
1433
- void EVP_PKEY_meth_get_derive(EVP_PKEY_METHOD *pmeth,
1621
+ void EVP_PKEY_meth_get_derive(const EVP_PKEY_METHOD *pmeth,
1434
1622
  int (**pderive_init) (EVP_PKEY_CTX *ctx),
1435
1623
  int (**pderive) (EVP_PKEY_CTX *ctx,
1436
1624
  unsigned char *key,
1437
1625
  size_t *keylen));
1438
1626
 
1439
- void EVP_PKEY_meth_get_ctrl(EVP_PKEY_METHOD *pmeth,
1627
+ void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
1440
1628
  int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
1441
1629
  void *p2),
1442
1630
  int (**pctrl_str) (EVP_PKEY_CTX *ctx,
1443
1631
  const char *type,
1444
1632
  const char *value));
1445
1633
 
1446
- void EVP_add_alg_module(void);
1634
+ void EVP_PKEY_meth_get_digestsign(EVP_PKEY_METHOD *pmeth,
1635
+ int (**digestsign) (EVP_MD_CTX *ctx,
1636
+ unsigned char *sig,
1637
+ size_t *siglen,
1638
+ const unsigned char *tbs,
1639
+ size_t tbslen));
1447
1640
 
1448
- /* BEGIN ERROR CODES */
1449
- /*
1450
- * The following lines are auto generated by the script mkerr.pl. Any changes
1451
- * made after this point may be overwritten when the script is next run.
1452
- */
1641
+ void EVP_PKEY_meth_get_digestverify(EVP_PKEY_METHOD *pmeth,
1642
+ int (**digestverify) (EVP_MD_CTX *ctx,
1643
+ const unsigned char *sig,
1644
+ size_t siglen,
1645
+ const unsigned char *tbs,
1646
+ size_t tbslen));
1647
+
1648
+ void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
1649
+ int (**pcheck) (EVP_PKEY *pkey));
1650
+
1651
+ void EVP_PKEY_meth_get_public_check(const EVP_PKEY_METHOD *pmeth,
1652
+ int (**pcheck) (EVP_PKEY *pkey));
1653
+
1654
+ void EVP_PKEY_meth_get_param_check(const EVP_PKEY_METHOD *pmeth,
1655
+ int (**pcheck) (EVP_PKEY *pkey));
1656
+
1657
+ void EVP_PKEY_meth_get_digest_custom(EVP_PKEY_METHOD *pmeth,
1658
+ int (**pdigest_custom) (EVP_PKEY_CTX *ctx,
1659
+ EVP_MD_CTX *mctx));
1660
+ void EVP_add_alg_module(void);
1453
1661
 
1454
- int ERR_load_EVP_strings(void);
1455
-
1456
- /* Error codes for the EVP functions. */
1457
-
1458
- /* Function codes. */
1459
- # define EVP_F_AESNI_INIT_KEY 165
1460
- # define EVP_F_AES_INIT_KEY 133
1461
- # define EVP_F_AES_OCB_CIPHER 169
1462
- # define EVP_F_AES_T4_INIT_KEY 178
1463
- # define EVP_F_AES_WRAP_CIPHER 170
1464
- # define EVP_F_ALG_MODULE_INIT 177
1465
- # define EVP_F_CAMELLIA_INIT_KEY 159
1466
- # define EVP_F_CHACHA20_POLY1305_CTRL 182
1467
- # define EVP_F_CMLL_T4_INIT_KEY 179
1468
- # define EVP_F_DES_EDE3_WRAP_CIPHER 171
1469
- # define EVP_F_DO_SIGVER_INIT 161
1470
- # define EVP_F_EVP_CIPHERINIT_EX 123
1471
- # define EVP_F_EVP_CIPHER_CTX_COPY 163
1472
- # define EVP_F_EVP_CIPHER_CTX_CTRL 124
1473
- # define EVP_F_EVP_CIPHER_CTX_SET_KEY_LENGTH 122
1474
- # define EVP_F_EVP_DECRYPTFINAL_EX 101
1475
- # define EVP_F_EVP_DECRYPTUPDATE 166
1476
- # define EVP_F_EVP_DIGESTINIT_EX 128
1477
- # define EVP_F_EVP_ENCRYPTFINAL_EX 127
1478
- # define EVP_F_EVP_ENCRYPTUPDATE 167
1479
- # define EVP_F_EVP_MD_CTX_COPY_EX 110
1480
- # define EVP_F_EVP_MD_SIZE 162
1481
- # define EVP_F_EVP_OPENINIT 102
1482
- # define EVP_F_EVP_PBE_ALG_ADD 115
1483
- # define EVP_F_EVP_PBE_ALG_ADD_TYPE 160
1484
- # define EVP_F_EVP_PBE_CIPHERINIT 116
1485
- # define EVP_F_EVP_PBE_SCRYPT 181
1486
- # define EVP_F_EVP_PKCS82PKEY 111
1487
- # define EVP_F_EVP_PKEY2PKCS8 113
1488
- # define EVP_F_EVP_PKEY_ASN1_ADD0 168
1489
- # define EVP_F_EVP_PKEY_COPY_PARAMETERS 103
1490
- # define EVP_F_EVP_PKEY_CTX_CTRL 137
1491
- # define EVP_F_EVP_PKEY_CTX_CTRL_STR 150
1492
- # define EVP_F_EVP_PKEY_CTX_DUP 156
1493
- # define EVP_F_EVP_PKEY_DECRYPT 104
1494
- # define EVP_F_EVP_PKEY_DECRYPT_INIT 138
1495
- # define EVP_F_EVP_PKEY_DECRYPT_OLD 151
1496
- # define EVP_F_EVP_PKEY_DERIVE 153
1497
- # define EVP_F_EVP_PKEY_DERIVE_INIT 154
1498
- # define EVP_F_EVP_PKEY_DERIVE_SET_PEER 155
1499
- # define EVP_F_EVP_PKEY_ENCRYPT 105
1500
- # define EVP_F_EVP_PKEY_ENCRYPT_INIT 139
1501
- # define EVP_F_EVP_PKEY_ENCRYPT_OLD 152
1502
- # define EVP_F_EVP_PKEY_GET0_DH 119
1503
- # define EVP_F_EVP_PKEY_GET0_DSA 120
1504
- # define EVP_F_EVP_PKEY_GET0_EC_KEY 131
1505
- # define EVP_F_EVP_PKEY_GET0_HMAC 183
1506
- # define EVP_F_EVP_PKEY_GET0_RSA 121
1507
- # define EVP_F_EVP_PKEY_KEYGEN 146
1508
- # define EVP_F_EVP_PKEY_KEYGEN_INIT 147
1509
- # define EVP_F_EVP_PKEY_NEW 106
1510
- # define EVP_F_EVP_PKEY_PARAMGEN 148
1511
- # define EVP_F_EVP_PKEY_PARAMGEN_INIT 149
1512
- # define EVP_F_EVP_PKEY_SET1_ENGINE 187
1513
- # define EVP_F_EVP_PKEY_SIGN 140
1514
- # define EVP_F_EVP_PKEY_SIGN_INIT 141
1515
- # define EVP_F_EVP_PKEY_VERIFY 142
1516
- # define EVP_F_EVP_PKEY_VERIFY_INIT 143
1517
- # define EVP_F_EVP_PKEY_VERIFY_RECOVER 144
1518
- # define EVP_F_EVP_PKEY_VERIFY_RECOVER_INIT 145
1519
- # define EVP_F_EVP_SIGNFINAL 107
1520
- # define EVP_F_EVP_VERIFYFINAL 108
1521
- # define EVP_F_INT_CTX_NEW 157
1522
- # define EVP_F_PKCS5_PBE_KEYIVGEN 117
1523
- # define EVP_F_PKCS5_V2_PBE_KEYIVGEN 118
1524
- # define EVP_F_PKCS5_V2_PBKDF2_KEYIVGEN 164
1525
- # define EVP_F_PKCS5_V2_SCRYPT_KEYIVGEN 180
1526
- # define EVP_F_PKEY_SET_TYPE 158
1527
- # define EVP_F_RC2_MAGIC_TO_METH 109
1528
- # define EVP_F_RC5_CTRL 125
1529
-
1530
- /* Reason codes. */
1531
- # define EVP_R_AES_KEY_SETUP_FAILED 143
1532
- # define EVP_R_BAD_DECRYPT 100
1533
- # define EVP_R_BUFFER_TOO_SMALL 155
1534
- # define EVP_R_CAMELLIA_KEY_SETUP_FAILED 157
1535
- # define EVP_R_CIPHER_PARAMETER_ERROR 122
1536
- # define EVP_R_COMMAND_NOT_SUPPORTED 147
1537
- # define EVP_R_COPY_ERROR 173
1538
- # define EVP_R_CTRL_NOT_IMPLEMENTED 132
1539
- # define EVP_R_CTRL_OPERATION_NOT_IMPLEMENTED 133
1540
- # define EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH 138
1541
- # define EVP_R_DECODE_ERROR 114
1542
- # define EVP_R_DIFFERENT_KEY_TYPES 101
1543
- # define EVP_R_DIFFERENT_PARAMETERS 153
1544
- # define EVP_R_ERROR_LOADING_SECTION 165
1545
- # define EVP_R_ERROR_SETTING_FIPS_MODE 166
1546
- # define EVP_R_EXPECTING_AN_HMAC_KEY 174
1547
- # define EVP_R_EXPECTING_AN_RSA_KEY 127
1548
- # define EVP_R_EXPECTING_A_DH_KEY 128
1549
- # define EVP_R_EXPECTING_A_DSA_KEY 129
1550
- # define EVP_R_EXPECTING_A_EC_KEY 142
1551
- # define EVP_R_FIPS_MODE_NOT_SUPPORTED 167
1552
- # define EVP_R_ILLEGAL_SCRYPT_PARAMETERS 171
1553
- # define EVP_R_INITIALIZATION_ERROR 134
1554
- # define EVP_R_INPUT_NOT_INITIALIZED 111
1555
- # define EVP_R_INVALID_DIGEST 152
1556
- # define EVP_R_INVALID_FIPS_MODE 168
1557
- # define EVP_R_INVALID_KEY 163
1558
- # define EVP_R_INVALID_KEY_LENGTH 130
1559
- # define EVP_R_INVALID_OPERATION 148
1560
- # define EVP_R_KEYGEN_FAILURE 120
1561
- # define EVP_R_MEMORY_LIMIT_EXCEEDED 172
1562
- # define EVP_R_MESSAGE_DIGEST_IS_NULL 159
1563
- # define EVP_R_METHOD_NOT_SUPPORTED 144
1564
- # define EVP_R_MISSING_PARAMETERS 103
1565
- # define EVP_R_NO_CIPHER_SET 131
1566
- # define EVP_R_NO_DEFAULT_DIGEST 158
1567
- # define EVP_R_NO_DIGEST_SET 139
1568
- # define EVP_R_NO_KEY_SET 154
1569
- # define EVP_R_NO_OPERATION_SET 149
1570
- # define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
1571
- # define EVP_R_OPERATON_NOT_INITIALIZED 151
1572
- # define EVP_R_PARTIALLY_OVERLAPPING 162
1573
- # define EVP_R_PKEY_ASN1_METHOD_ALREADY_REGISTERED 164
1574
- # define EVP_R_PRIVATE_KEY_DECODE_ERROR 145
1575
- # define EVP_R_PRIVATE_KEY_ENCODE_ERROR 146
1576
- # define EVP_R_PUBLIC_KEY_NOT_RSA 106
1577
- # define EVP_R_UNKNOWN_CIPHER 160
1578
- # define EVP_R_UNKNOWN_DIGEST 161
1579
- # define EVP_R_UNKNOWN_OPTION 169
1580
- # define EVP_R_UNKNOWN_PBE_ALGORITHM 121
1581
- # define EVP_R_UNSUPPORTED_ALGORITHM 156
1582
- # define EVP_R_UNSUPPORTED_CIPHER 107
1583
- # define EVP_R_UNSUPPORTED_KEYLENGTH 123
1584
- # define EVP_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION 124
1585
- # define EVP_R_UNSUPPORTED_KEY_SIZE 108
1586
- # define EVP_R_UNSUPPORTED_NUMBER_OF_ROUNDS 135
1587
- # define EVP_R_UNSUPPORTED_PRF 125
1588
- # define EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM 118
1589
- # define EVP_R_UNSUPPORTED_SALT_TYPE 126
1590
- # define EVP_R_WRAP_MODE_NOT_ALLOWED 170
1591
- # define EVP_R_WRONG_FINAL_BLOCK_LENGTH 109
1592
1662
 
1593
1663
  # ifdef __cplusplus
1594
1664
  }