rho-tau-extensions 6.0.0 → 7.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. checksums.yaml +4 -4
  2. data/libs/android_net_native_prebuilt/ext/build +22 -0
  3. data/libs/android_net_native_prebuilt/ext/build.bat +44 -0
  4. data/libs/android_net_native_prebuilt/ext/platform/android/android_net_native.jar +0 -0
  5. data/libs/android_net_native_prebuilt/ext/platform/android/lib/aarch64/libandroid_net_native.a +0 -0
  6. data/libs/android_net_native_prebuilt/ext/platform/android/lib/armeabi/libandroid_net_native.a +0 -0
  7. data/libs/android_net_native_prebuilt/ext/platform/android/lib/x86/libandroid_net_native.a +0 -0
  8. data/libs/android_net_native_prebuilt/ext.yml +8 -0
  9. data/libs/crosswalk/ext/platform/android/Rakefile +19 -1
  10. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so +0 -0
  11. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so +0 -0
  12. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/native_lib_placeholder.stamp +0 -0
  13. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so +0 -0
  14. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so +0 -0
  15. data/libs/crosswalk/ext/platform/android/adds/lib/x86/native_lib_placeholder.stamp +0 -0
  16. data/libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar +0 -0
  17. data/libs/crosswalk/ext/platform/android/adds/res/layout/dropdown_item.xml +1 -1
  18. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/dropdown_item.xml +2 -2
  19. data/libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml +8 -8
  20. data/libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat +0 -0
  21. data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak +0 -0
  22. data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk_100_percent.pak +0 -0
  23. data/libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml +1 -0
  24. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_attrs.xml → attrs.xml} +0 -0
  25. data/libs/crosswalk/ext/platform/android/adds/res/values/attrs_03.xml +18 -0
  26. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_colors.xml → colors_xwalk.xml} +0 -0
  27. data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_dimens.xml → dimens_03.xml} +1 -3
  28. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_dimens.xml → dimens_xwalk.xml} +0 -0
  29. data/libs/crosswalk/ext/platform/android/adds/res/values/ids_xwalk.xml +12 -0
  30. data/libs/crosswalk/ext/platform/android/adds/res/values/strings_00.xml +16 -0
  31. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_core_internal_java_strings.xml → strings_01.xml} +0 -0
  32. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_core_java_strings.xml → strings_02.xml} +0 -0
  33. data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_strings.xml → strings_03.xml} +0 -0
  34. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_styles.xml → styles_00.xml} +0 -0
  35. data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_styles.xml → styles_03.xml} +0 -0
  36. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_values.xml → values_00.xml} +0 -0
  37. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml +7 -10
  38. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml +2 -1
  39. data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml +1 -0
  40. data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_ui_strings.xml +1 -0
  41. data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_ui_strings.xml +1 -0
  42. data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_ui_strings.xml +1 -0
  43. data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_ui_strings.xml +1 -0
  44. data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_ui_strings.xml +4 -3
  45. data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_ui_strings.xml +1 -0
  46. data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_ui_strings.xml +1 -0
  47. data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_ui_strings.xml +1 -0
  48. data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_ui_strings.xml +1 -0
  49. data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_ui_strings.xml +1 -0
  50. data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_ui_strings.xml +2 -1
  51. data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_ui_strings.xml +1 -0
  52. data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_ui_strings.xml +1 -0
  53. data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_ui_strings.xml +2 -1
  54. data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_ui_strings.xml +1 -0
  55. data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_ui_strings.xml +1 -0
  56. data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_ui_strings.xml +1 -0
  57. data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_ui_strings.xml +1 -0
  58. data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_ui_strings.xml +1 -0
  59. data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_ui_strings.xml +1 -0
  60. data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_ui_strings.xml +1 -0
  61. data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_ui_strings.xml +1 -0
  62. data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_ui_strings.xml +1 -0
  63. data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_ui_strings.xml +1 -0
  64. data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_ui_strings.xml +1 -0
  65. data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_ui_strings.xml +1 -0
  66. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_ui_strings.xml +1 -0
  67. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_ui_strings.xml +1 -0
  68. data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_ui_strings.xml +1 -0
  69. data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_ui_strings.xml +1 -0
  70. data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_ui_strings.xml +1 -0
  71. data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_ui_strings.xml +1 -0
  72. data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_ui_strings.xml +1 -0
  73. data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_ui_strings.xml +1 -0
  74. data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_ui_strings.xml +2 -1
  75. data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_ui_strings.xml +1 -0
  76. data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_ui_strings.xml +1 -0
  77. data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml +1 -0
  78. data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml +1 -0
  79. data/libs/crosswalk/ext/platform/android/adds/res/values-v17/{ui_java_styles.xml → styles_03.xml} +0 -0
  80. data/libs/crosswalk/ext/platform/android/adds/res/values-v21/{ui_java_styles.xml → styles_03.xml} +0 -0
  81. data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml +1 -0
  82. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_ui_strings.xml +1 -0
  83. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_ui_strings.xml +1 -0
  84. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWalkWebView.java +18 -1
  85. data/libs/enterprise-barcode/ext/platform/android/adds/lib/aarch64/liballbarcode.a +0 -0
  86. data/libs/enterprise-barcode/ext/platform/android/adds/lib/armeabi/liballbarcode.a +0 -0
  87. data/libs/enterprise-barcode/ext/platform/android/adds/lib/x86/liballbarcode.a +0 -0
  88. data/libs/enterprise-barcode/ext/platform/android/allbarcode.jar +0 -0
  89. data/libs/enterprise-barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +8 -4
  90. data/libs/enterprise-barcode/ext/platform/iphone/Rakefile +9 -58
  91. data/libs/fcm-push-18/ext/android/AndroidManifest.rb +10 -0
  92. data/libs/fcm-push-18/ext/android/ApplicationManifestAdds.erb +39 -0
  93. data/libs/fcm-push-18/ext/android/Rakefile +187 -0
  94. data/libs/fcm-push-18/ext/android/ext_java.files +3 -0
  95. data/libs/fcm-push-18/ext/android/ext_native.files +1 -0
  96. data/libs/fcm-push-18/ext/android/jni/src/fcmpushclient.cpp +215 -0
  97. data/libs/fcm-push-18/ext/android/jni/src/fcmpushclient.h +74 -0
  98. data/libs/fcm-push-18/ext/android/res/res/values/fireBaseValues.xml +5 -0
  99. data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMFacade.java +164 -0
  100. data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +219 -0
  101. data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMListener.java +88 -0
  102. data/libs/fcm-push-18/ext/build +16 -0
  103. data/libs/fcm-push-18/ext/build.bat +8 -0
  104. data/libs/fcm-push-18/ext/fcm.xml +9 -0
  105. data/libs/fcm-push-18/ext/iphone/ApplePush_Prefix.pch +7 -0
  106. data/libs/fcm-push-18/ext/iphone/Firebase.h +68 -0
  107. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics +0 -0
  108. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +62 -0
  109. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +115 -0
  110. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h +1 -0
  111. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h +13 -0
  112. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h +1 -0
  113. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h +1 -0
  114. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h +389 -0
  115. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h +1 -0
  116. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +485 -0
  117. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h +15 -0
  118. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +10 -0
  119. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap +10 -0
  120. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/FirebaseCore +0 -0
  121. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h +52 -0
  122. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRApp.h +130 -0
  123. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h +78 -0
  124. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h +35 -0
  125. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIROptions.h +133 -0
  126. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h +5 -0
  127. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Modules/module.modulemap +7 -0
  128. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics +0 -0
  129. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/Modules/module.modulemap +6 -0
  130. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID +0 -0
  131. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h +276 -0
  132. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h +1 -0
  133. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap +7 -0
  134. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/FirebaseMessaging +0 -0
  135. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h +508 -0
  136. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h +1 -0
  137. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap +8 -0
  138. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB +0 -0
  139. data/libs/fcm-push-18/ext/iphone/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac +0 -0
  140. data/libs/fcm-push-18/ext/iphone/Frameworks/GoogleToolboxForMac.framework/Modules/module.modulemap +5 -0
  141. data/libs/fcm-push-18/ext/iphone/Frameworks/Protobuf.framework/Modules/module.modulemap +5 -0
  142. data/libs/fcm-push-18/ext/iphone/Frameworks/Protobuf.framework/Protobuf +0 -0
  143. data/libs/fcm-push-18/ext/iphone/Frameworks/nanopb.framework/Modules/module.modulemap +5 -0
  144. data/libs/fcm-push-18/ext/iphone/Frameworks/nanopb.framework/nanopb +0 -0
  145. data/libs/fcm-push-18/ext/iphone/Rakefile +30 -0
  146. data/libs/fcm-push-18/ext/iphone/fcm-push.xcodeproj/project.pbxproj +370 -0
  147. data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.h +28 -0
  148. data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.m +27 -0
  149. data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.mm +234 -0
  150. data/libs/fcm-push-18/ext/iphone/impl/applePushSetup.c +10 -0
  151. data/libs/fcm-push-18/ext/iphone/impl/applepushclient.h +69 -0
  152. data/libs/fcm-push-18/ext/iphone/impl/applepushclient.mm +164 -0
  153. data/libs/fcm-push-18/ext/iphone/impl/readme.txt +7 -0
  154. data/libs/fcm-push-18/ext/platform/iphone/impl/readme.txt +7 -0
  155. data/libs/fcm-push-18/ext.yml +20 -0
  156. data/libs/nodejs/ext/platform/android/jxCore/jx.h +17 -1
  157. data/libs/nodejs/ext/platform/android/jxCore/libcares_arm.a +0 -0
  158. data/libs/nodejs/ext/platform/android/jxCore/libcares_ia32.a +0 -0
  159. data/libs/nodejs/ext/platform/android/jxCore/libcares_x64.a +0 -0
  160. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_arm.a +0 -0
  161. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_ia32.a +0 -0
  162. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_x64.a +0 -0
  163. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_arm.a +0 -0
  164. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_ia32.a +0 -0
  165. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_x64.a +0 -0
  166. data/libs/nodejs/ext/platform/android/jxCore/libjx_arm.a +0 -0
  167. data/libs/nodejs/ext/platform/android/jxCore/libjx_ia32.a +0 -0
  168. data/libs/nodejs/ext/platform/android/jxCore/libjx_x64.a +0 -0
  169. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_arm.a +0 -0
  170. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_ia32.a +0 -0
  171. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_x64.a +0 -0
  172. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_arm.a +0 -0
  173. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_ia32.a +0 -0
  174. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_x64.a +0 -0
  175. data/libs/nodejs/ext/platform/android/jxCore/libuv_arm.a +0 -0
  176. data/libs/nodejs/ext/platform/android/jxCore/libuv_ia32.a +0 -0
  177. data/libs/nodejs/ext/platform/android/jxCore/libuv_x64.a +0 -0
  178. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_arm.a +0 -0
  179. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_ia32.a +0 -0
  180. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_x64.a +0 -0
  181. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_arm.a +0 -0
  182. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_ia32.a +0 -0
  183. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_x64.a +0 -0
  184. data/libs/nodejs/ext/platform/iphone/Nodejs.xcodeproj/project.pbxproj +8 -4
  185. data/libs/nodejs/ext/platform/iphone/Rakefile +9 -62
  186. data/libs/nodejs/ext/platform/iphone/jxCore/jx.h +17 -1
  187. data/libs/nodejs/ext/platform/iphone/jxCore/libcares.a +0 -0
  188. data/libs/nodejs/ext/platform/iphone/jxCore/libchrome_zlib.a +0 -0
  189. data/libs/nodejs/ext/platform/iphone/jxCore/libhttp_parser.a +0 -0
  190. data/libs/nodejs/ext/platform/iphone/jxCore/libjx.a +0 -0
  191. data/libs/nodejs/ext/platform/iphone/jxCore/libmozjs.a +0 -0
  192. data/libs/nodejs/ext/platform/iphone/jxCore/libopenssl.a +0 -0
  193. data/libs/nodejs/ext/platform/iphone/jxCore/libsqlite3.a +0 -0
  194. data/libs/nodejs/ext/platform/iphone/jxCore/libuv.a +0 -0
  195. data/libs/openssl.so-edge/ext/android/armeabi/libcrypto.a +0 -0
  196. data/libs/openssl.so-edge/ext/android/armeabi/libssl.a +0 -0
  197. data/libs/openssl.so-edge/ext/android/x86/libcrypto.a +0 -0
  198. data/libs/openssl.so-edge/ext/android/x86/libssl.a +0 -0
  199. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/asn1t.h +19 -0
  200. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dso.h +23 -0
  201. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/thread_once.h +5 -2
  202. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1.h +5 -2
  203. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1t.h +5 -0
  204. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bio.h +9 -12
  205. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bn.h +1 -1
  206. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/buffer.h +1 -4
  207. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf.h +1 -0
  208. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/crypto.h +5 -1
  209. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ct.h +17 -2
  210. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dh.h +24 -6
  211. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dsa.h +1 -0
  212. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/e_os2.h +3 -16
  213. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ec.h +7 -12
  214. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/engine.h +0 -2
  215. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/err.h +3 -2
  216. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/evp.h +11 -1
  217. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/lhash.h +13 -0
  218. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/objects.h +2 -2
  219. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ocsp.h +3 -16
  220. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h +20 -8
  221. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslv.h +3 -3
  222. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rsa.h +2 -0
  223. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/seed.h +1 -3
  224. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srtp.h +1 -1
  225. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl.h +85 -52
  226. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl3.h +4 -1
  227. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/tls1.h +6 -6
  228. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ui.h +10 -0
  229. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509.h +1 -1
  230. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509_vfy.h +5 -0
  231. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509v3.h +1 -0
  232. data/libs/rexml-edge/rexml/attlistdecl.rb +63 -0
  233. data/libs/rexml-edge/rexml/attribute.rb +192 -0
  234. data/libs/rexml-edge/rexml/cdata.rb +68 -0
  235. data/libs/rexml-edge/rexml/child.rb +97 -0
  236. data/libs/rexml-edge/rexml/comment.rb +80 -0
  237. data/libs/rexml-edge/rexml/doctype.rb +270 -0
  238. data/libs/rexml-edge/rexml/document.rb +291 -0
  239. data/libs/rexml-edge/rexml/dtd/attlistdecl.rb +11 -0
  240. data/libs/rexml-edge/rexml/dtd/dtd.rb +47 -0
  241. data/libs/rexml-edge/rexml/dtd/elementdecl.rb +18 -0
  242. data/libs/rexml-edge/rexml/dtd/entitydecl.rb +57 -0
  243. data/libs/rexml-edge/rexml/dtd/notationdecl.rb +40 -0
  244. data/libs/rexml-edge/rexml/element.rb +1241 -0
  245. data/libs/rexml-edge/rexml/encoding.rb +51 -0
  246. data/libs/rexml-edge/rexml/entity.rb +174 -0
  247. data/libs/rexml-edge/rexml/formatters/default.rb +112 -0
  248. data/libs/rexml-edge/rexml/formatters/pretty.rb +142 -0
  249. data/libs/rexml-edge/rexml/formatters/transitive.rb +58 -0
  250. data/libs/rexml-edge/rexml/functions.rb +418 -0
  251. data/libs/rexml-edge/rexml/instruction.rb +71 -0
  252. data/libs/rexml-edge/rexml/light/node.rb +196 -0
  253. data/libs/rexml-edge/rexml/namespace.rb +48 -0
  254. data/libs/rexml-edge/rexml/node.rb +76 -0
  255. data/libs/rexml-edge/rexml/output.rb +30 -0
  256. data/libs/rexml-edge/rexml/parent.rb +166 -0
  257. data/libs/rexml-edge/rexml/parseexception.rb +52 -0
  258. data/libs/rexml-edge/rexml/parsers/baseparser.rb +533 -0
  259. data/libs/rexml-edge/rexml/parsers/lightparser.rb +59 -0
  260. data/libs/rexml-edge/rexml/parsers/pullparser.rb +197 -0
  261. data/libs/rexml-edge/rexml/parsers/sax2parser.rb +273 -0
  262. data/libs/rexml-edge/rexml/parsers/streamparser.rb +61 -0
  263. data/libs/rexml-edge/rexml/parsers/treeparser.rb +101 -0
  264. data/libs/rexml-edge/rexml/parsers/ultralightparser.rb +57 -0
  265. data/libs/rexml-edge/rexml/parsers/xpathparser.rb +657 -0
  266. data/libs/rexml-edge/rexml/quickpath.rb +266 -0
  267. data/libs/rexml-edge/rexml/rexml.rb +32 -0
  268. data/libs/rexml-edge/rexml/sax2listener.rb +98 -0
  269. data/libs/rexml-edge/rexml/security.rb +28 -0
  270. data/libs/rexml-edge/rexml/source.rb +297 -0
  271. data/libs/rexml-edge/rexml/streamlistener.rb +93 -0
  272. data/libs/rexml-edge/rexml/syncenumerator.rb +33 -0
  273. data/libs/rexml-edge/rexml/text.rb +426 -0
  274. data/libs/rexml-edge/rexml/undefinednamespaceexception.rb +9 -0
  275. data/libs/rexml-edge/rexml/validation/relaxng.rb +539 -0
  276. data/libs/rexml-edge/rexml/validation/validation.rb +144 -0
  277. data/libs/rexml-edge/rexml/validation/validationexception.rb +10 -0
  278. data/libs/rexml-edge/rexml/xmldecl.rb +116 -0
  279. data/libs/rexml-edge/rexml/xmltokens.rb +85 -0
  280. data/libs/rexml-edge/rexml/xpath.rb +81 -0
  281. data/libs/rexml-edge/rexml/xpath_parser.rb +704 -0
  282. data/version +1 -1
  283. metadata +144 -27
  284. data/libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml +0 -19
  285. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png +0 -0
  286. data/libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png +0 -0
  287. data/libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png +0 -0
  288. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png +0 -0
  289. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml +0 -7
  290. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml +0 -18
  291. data/libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js +0 -206
  292. data/libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js +0 -231
  293. data/libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js +0 -359
  294. data/libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js +0 -144
  295. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_attrs.xml +0 -9
  296. data/libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml +0 -16
@@ -0,0 +1,69 @@
1
+ /*------------------------------------------------------------------------
2
+ * (The MIT License)
3
+ *
4
+ * Copyright (c) 2008-2012 Rhomobile, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ * THE SOFTWARE.
23
+ *
24
+ * http://rhomobile.com
25
+ *------------------------------------------------------------------------*/
26
+
27
+ #pragma once
28
+ #include "Push.h"
29
+
30
+ #include "logging/RhoLog.h"
31
+ #include "common/RhoStd.h"
32
+
33
+
34
+ namespace rho {
35
+
36
+ namespace apple {
37
+
38
+ using namespace rho::common;
39
+
40
+ class ApplePushClient: public push::CPushClient
41
+ {
42
+ class SyncLoginListener;
43
+ private:
44
+ CMethodResult m_oResult;
45
+ CMethodResult m_deviceIdResult;
46
+ bool m_CallbackIsValid;
47
+ bool m_HasSavedMessage;
48
+ String m_SavedMessage;
49
+ static const String s_Type;
50
+
51
+ public:
52
+ DEFINE_LOGCLASS;
53
+
54
+ ApplePushClient();
55
+ virtual ~ApplePushClient() {}
56
+
57
+ virtual const String& getId() const { return s_Type; }
58
+ virtual void setDeviceId(const String& deviceId);
59
+ virtual void getDeviceId(CMethodResult& result);
60
+ virtual void startNotifications(CMethodResult& result);
61
+ virtual void stopNotifications(CMethodResult& result);
62
+ virtual bool callBack(const String& json);
63
+
64
+ void doRegister();
65
+ void doUnregister();
66
+ };
67
+
68
+
69
+ }}
@@ -0,0 +1,164 @@
1
+ /*------------------------------------------------------------------------
2
+ * (The MIT License)
3
+ *
4
+ * Copyright (c) 2008-2012 Rhomobile, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ * THE SOFTWARE.
23
+ *
24
+ * http://rhomobile.com
25
+ *------------------------------------------------------------------------*/
26
+
27
+ #import "Firebase.h"
28
+ #include "common/RhoConf.h"
29
+ #include "Push.h"
30
+ #include "sync/RhoconnectClientManager.h"
31
+ #include "sync/ILoginListener.h"
32
+ #import "Rhodes.h"
33
+ #import "PushNotificationsReceiver.h"
34
+
35
+
36
+
37
+ #include "logging/RhoLog.h"
38
+
39
+ #include "applepushclient.h"
40
+
41
+
42
+ extern "C" void Init_FCMPushClient();
43
+
44
+ //----------------------------------------------------------------------------------------------------------------------
45
+ void Init_FCMPushClient()
46
+ {
47
+ RAWTRACEC("Init_FCMPushClient", "creating Apple client >>>>>>>>>>>>>>");
48
+
49
+ rho::apple::ApplePushClient* pClient = new rho::apple::ApplePushClient();
50
+
51
+ RAWTRACEC("Init_FCMPushClient", "adding Apple client >>>>>>>>>>>>>>>>");
52
+
53
+ rho::push::CPushManager::getInstance()->addClient(pClient);
54
+
55
+ LOG(TRACE) + "request APNS registration >>>>>>>>>>>>>>>>";
56
+ pClient->doRegister();
57
+ }
58
+ //----------------------------------------------------------------------------------------------------------------------
59
+
60
+ namespace rho {
61
+
62
+ namespace apple {
63
+
64
+ IMPLEMENT_LOGCLASS(ApplePushClient, "ApplePushClient");
65
+
66
+ void ApplePushClient::doRegister()
67
+ {
68
+ LOG(TRACE) + "ApplePushRegister()";
69
+ [[Rhodes sharedInstance] registerForPushNotifications: [PushNotificationsReceiver sharedInstance] ];
70
+ }
71
+
72
+
73
+ void ApplePushClient::doUnregister()
74
+ {
75
+ LOG(TRACE) + "ApplePushUnregister()";
76
+
77
+ }
78
+ //----------------------------------------------------------------------------------------------------------------------
79
+ const String ApplePushClient::s_Type = "fcm";
80
+
81
+ ApplePushClient::ApplePushClient()
82
+ {
83
+ m_CallbackIsValid = false;
84
+ m_HasSavedMessage = false;
85
+ m_SavedMessage = "";
86
+ CMethodResult result;
87
+ setProperty("id", s_Type, result);
88
+ setProperty("type", IPush::PUSH_TYPE_NATIVE, result);
89
+ }
90
+
91
+ //----------------------------------------------------------------------------------------------------------------------
92
+
93
+ void ApplePushClient::getDeviceId(CMethodResult& result)
94
+ {
95
+ String deviceId = m_hashProps["deviceId"];
96
+
97
+ if(deviceId.length() != 0)
98
+ {
99
+ LOG(TRACE) + "APNS deviceId: " + deviceId;
100
+ result.set(deviceId);
101
+ }
102
+ else
103
+ {
104
+ LOG(TRACE) + "Still waiting for APNS deviceId";
105
+ m_deviceIdResult = result;
106
+ }
107
+ }
108
+
109
+ //----------------------------------------------------------------------------------------------------------------------
110
+ void ApplePushClient::startNotifications(CMethodResult& result)
111
+ {
112
+ LOG(TRACE) + "Start APNS push notifications";
113
+ m_oResult = result;
114
+ m_CallbackIsValid = true;
115
+ if (m_HasSavedMessage) {
116
+ dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
117
+ m_oResult.setJSON(m_SavedMessage);
118
+ m_SavedMessage = "";
119
+ });
120
+ }
121
+ m_HasSavedMessage = false;
122
+ }
123
+
124
+ //----------------------------------------------------------------------------------------------------------------------
125
+ void ApplePushClient::stopNotifications(CMethodResult& result)
126
+ {
127
+ LOG(TRACE) + "Stop APNS push notifications";
128
+ m_oResult = CMethodResult();
129
+ m_CallbackIsValid = false;
130
+ m_HasSavedMessage = false;
131
+ m_SavedMessage = "";
132
+ }
133
+
134
+ //----------------------------------------------------------------------------------------------------------------------
135
+ void ApplePushClient::setDeviceId(const String& deviceId)
136
+ {
137
+ CMethodResult result;
138
+ setProperty("deviceId", deviceId, result);
139
+
140
+ LOG(TRACE) + "creating client register";
141
+ rho::sync::RhoconnectClientManager::clientRegisterCreate(deviceId.c_str());
142
+
143
+ getDeviceId(m_deviceIdResult);
144
+ m_deviceIdResult = CMethodResult();
145
+
146
+ }
147
+
148
+ //----------------------------------------------------------------------------------------------------------------------
149
+ bool ApplePushClient::callBack(const String& json)
150
+ {
151
+ LOG(TRACE) + "APNS push notification: " + json;
152
+
153
+ if (m_CallbackIsValid) {
154
+ m_oResult.setJSON(json);
155
+ }
156
+ else {
157
+ m_SavedMessage = json;
158
+ m_HasSavedMessage = true;
159
+ }
160
+ return true;
161
+ }
162
+
163
+ }}
164
+
@@ -0,0 +1,7 @@
1
+ contains files with module API Implementation.
2
+
3
+ Developer should create it - after first generation this folder is empty and this folder do not changed with next generation processes !!!.
4
+
5
+ Developer should make at least <ModuleName>FactorySingleton.m with acees to <ModuleName>Factory interface!
6
+ All other files include base_impl can be removed from project if it wants by developer.
7
+ Default stub generated code placed in stub_impl folder - you can just copy all files from /generated/stub_impl to this folder and implement unemplemented methods.
@@ -0,0 +1,7 @@
1
+ contains files with module API Implementation.
2
+
3
+ Developer should create it - after first generation this folder is empty and this folder do not changed with next generation processes !!!.
4
+
5
+ Developer should make at least <ModuleName>FactorySingleton.m with acees to <ModuleName>Factory interface!
6
+ All other files include base_impl can be removed from project if it wants by developer.
7
+ Default stub generated code placed in stub_impl folder - you can just copy all files from /generated/stub_impl to this folder and implement unemplemented methods.
@@ -0,0 +1,20 @@
1
+ entry: Init_FCMPush_extension
2
+ iphone:
3
+ javaentry: com.applepush.ApplePush
4
+ android:
5
+ exttype: rakefile
6
+ manifest_changes:
7
+ - ext/android/AndroidManifest.rb
8
+ - ext/android/ApplicationManifestAdds.erb
9
+ library_deps: [extras/google/google_play_services/libproject/google-play-services_lib]
10
+ source_list: ext/android/ext_java.files
11
+ maven_deps:
12
+ - 'com.google.firebase:firebase-core:16.0.0'
13
+ - 'com.google.firebase:firebase-messaging:18.0.0'
14
+ - 'com.google.android.gms:play-services-auth:16.0.0'
15
+ - 'com.google.gms:google-services:4.2.0'
16
+ - 'com.android.support:support-v4:27.0.0'
17
+ adds: ext/android/res
18
+ libraries: ['fcm-push-18']
19
+ xml_api_paths: ext/fcm.xml
20
+ #will work with newer SDKs
@@ -11,7 +11,23 @@ extern "C" {
11
11
 
12
12
  typedef void (*JX_CALLBACK)(JXValue *result, int argc);
13
13
 
14
- // Call method below only once per app. to initialize JXcore
14
+ // Creates a thread to run a restartable instance of the JXcore engine
15
+ // Input arg 'start' is the function to run on the new thread.
16
+ JXCORE_EXTERN(bool)
17
+ JX_CreateRIThread(void (*start)(void *arg));
18
+
19
+ // Join the thread created by JX_CreateRIThread. Make sure to call
20
+ // this method only after JX_StopEngine has been called on the
21
+ // thread to join.
22
+ JXCORE_EXTERN(bool)
23
+ JX_JoinRIThread();
24
+
25
+ // If the script has called 'process.exit(exitcode)', it returns
26
+ // the exitcode, otherwise returns '0'.
27
+ JXCORE_EXTERN(int)
28
+ JX_ProcessExitResult();
29
+
30
+ // Call method below only once per app. to initialize JXcore.
15
31
  JXCORE_EXTERN(void)
16
32
  JX_InitializeOnce(const char *home_folder);
17
33
 
@@ -248,6 +248,7 @@
248
248
  isa = XCBuildConfiguration;
249
249
  buildSettings = {
250
250
  GCC_C_LANGUAGE_STANDARD = c99;
251
+ CLANG_CXX_LIBRARY = "libc++";
251
252
  GCC_OPTIMIZATION_LEVEL = 0;
252
253
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
253
254
  GCC_WARN_UNUSED_VARIABLE = YES;
@@ -258,7 +259,7 @@
258
259
  "$(RHO_ROOT)/platform/shared/ruby/iphone",
259
260
  "$(RHO_ROOT)/platform/shared",
260
261
  );
261
- IPHONEOS_DEPLOYMENT_TARGET = 3.0;
262
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
262
263
  ONLY_ACTIVE_ARCH = NO;
263
264
  PREBINDING = NO;
264
265
  SDKROOT = iphonesimulator4.1;
@@ -270,6 +271,7 @@
270
271
  isa = XCBuildConfiguration;
271
272
  buildSettings = {
272
273
  GCC_C_LANGUAGE_STANDARD = c99;
274
+ CLANG_CXX_LIBRARY = "libc++";
273
275
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
274
276
  GCC_WARN_UNUSED_VARIABLE = YES;
275
277
  HEADER_SEARCH_PATHS = (
@@ -279,7 +281,7 @@
279
281
  "$(RHO_ROOT)/platform/shared/ruby/iphone",
280
282
  "$(RHO_ROOT)/platform/shared",
281
283
  );
282
- IPHONEOS_DEPLOYMENT_TARGET = 3.0;
284
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
283
285
  ONLY_ACTIVE_ARCH = NO;
284
286
  PREBINDING = NO;
285
287
  SDKROOT = iphonesimulator4.1;
@@ -293,6 +295,7 @@
293
295
  ALWAYS_SEARCH_USER_PATHS = NO;
294
296
  COPY_PHASE_STRIP = NO;
295
297
  DSTROOT = /tmp/Nodejs.dst;
298
+ CLANG_CXX_LIBRARY = "libc++";
296
299
  GCC_DYNAMIC_NO_PIC = NO;
297
300
  GCC_ENABLE_FIX_AND_CONTINUE = YES;
298
301
  GCC_MODEL_TUNING = G5;
@@ -300,7 +303,7 @@
300
303
  GCC_PRECOMPILE_PREFIX_HEADER = YES;
301
304
  GCC_PREFIX_HEADER = Nodejs_Prefix.pch;
302
305
  INSTALL_PATH = /usr/local/lib;
303
- IPHONEOS_DEPLOYMENT_TARGET = 3.0;
306
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
304
307
  MACOSX_DEPLOYMENT_TARGET = 10.5;
305
308
  PRODUCT_NAME = Nodejs;
306
309
  SDKROOT = iphoneos;
@@ -316,7 +319,8 @@
316
319
  GCC_PRECOMPILE_PREFIX_HEADER = YES;
317
320
  GCC_PREFIX_HEADER = Nodejs_Prefix.pch;
318
321
  INSTALL_PATH = /usr/local/lib;
319
- IPHONEOS_DEPLOYMENT_TARGET = 3.0;
322
+ CLANG_CXX_LIBRARY = "libc++";
323
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
320
324
  MACOSX_DEPLOYMENT_TARGET = 10.5;
321
325
  PRODUCT_NAME = Nodejs;
322
326
  SDKROOT = iphoneos;
@@ -1,73 +1,20 @@
1
1
  require 'fileutils'
2
2
 
3
- USE_STLPORT = true
4
-
5
- puts "Nodejs extension !"
6
-
7
3
  namespace "build" do
4
+ task :all do
5
+ rhorootdir = ENV['RHO_ROOT']
6
+ raise "RHO_ROOT is not set" if rhorootdir.nil?
8
7
 
9
- task :config do
10
-
11
- $targetdir = ENV['TARGET_TEMP_DIR']
12
- raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
13
-
14
- $tempdir = ENV['TEMP_FILES_DIR']
15
- raise "TEMP_FILES_DIR is not set" if $tempdir.nil?
16
-
17
- $rootdir = ENV['RHO_ROOT']
18
- raise "RHO_ROOT is not set" if $rootdir.nil?
19
-
20
- $xcodebuild = ENV['XCODEBUILD']
21
- raise "XCODEBUILD is not set" if $xcodebuild.nil?
22
-
23
- $configuration = ENV['CONFIGURATION']
24
- raise "CONFIGURATION is not set" if $configuration.nil?
25
-
26
- $sdk = ENV['SDK_NAME']
27
- raise "SDK_NAME is not set" if $sdk.nil?
28
-
29
- $bindir = ENV['PLATFORM_DEVELOPER_BIN_DIR']
30
- raise "PLATFORM_DEVELOPER_BIN_DIR is not set" if $bindir.nil?
31
-
32
- $sdkroot = ENV['SDKROOT']
33
- raise "SDKROOT is not set" if $sdkroot.nil?
34
-
35
- $arch = ENV['ARCHS']
36
- raise "ARCHS is not set" if $arch.nil?
37
-
38
- $gccbin = $bindir + '/gcc-4.2'
39
- $arbin = $bindir + '/ar'
40
-
41
- end
8
+ require File.join(rhorootdir, 'platform','iphone','rbuild','buildextension')
42
9
 
43
- task :all => :config do
10
+ IPhoneBuild.load_env_for_build_rhodes_ios_extension
44
11
 
45
- iphone_path = '.'
12
+ extension_name = "Nodejs"
13
+ extension_lib_name = extension_name
14
+ extension_xcode_target_name = extension_name
46
15
 
47
- simulator = $sdk =~ /iphonesimulator/
48
-
49
- if $configuration == 'Distribution'
50
- $configuration = 'Release'
16
+ ret= IPhoneBuild.build_rhodes_ios_extension(extension_name, extension_lib_name, extension_xcode_target_name)
51
17
  end
52
-
53
- result_lib = iphone_path + '/build/' + $configuration + '-' + ( simulator ? "iphonesimulator" : "iphoneos") + '/libNodejs.a'
54
- target_lib = $targetdir + '/libNodejs.a'
55
-
56
- rm_rf 'build'
57
- rm_rf target_lib
58
-
59
- args = ['build', '-target', 'Nodejs', '-configuration', $configuration, '-sdk', $sdk]
60
-
61
- require File.join(ENV['RHO_ROOT'], 'platform','iphone','rbuild','iphonecommon')
62
-
63
- ret = IPhoneBuild.run_and_trace($xcodebuild,args)
64
-
65
- # copy result to $targetdir
66
- cp result_lib,target_lib
67
-
68
- end
69
-
70
-
71
18
  end
72
19
 
73
20
  task :default => "build:all"
@@ -11,7 +11,23 @@ extern "C" {
11
11
 
12
12
  typedef void (*JX_CALLBACK)(JXValue *result, int argc);
13
13
 
14
- // Call method below only once per app. to initialize JXcore
14
+ // Creates a thread to run a restartable instance of the JXcore engine
15
+ // Input arg 'start' is the function to run on the new thread.
16
+ JXCORE_EXTERN(bool)
17
+ JX_CreateRIThread(void (*start)(void *arg));
18
+
19
+ // Join the thread created by JX_CreateRIThread. Make sure to call
20
+ // this method only after JX_StopEngine has been called on the
21
+ // thread to join.
22
+ JXCORE_EXTERN(bool)
23
+ JX_JoinRIThread();
24
+
25
+ // If the script has called 'process.exit(exitcode)', it returns
26
+ // the exitcode, otherwise returns '0'.
27
+ JXCORE_EXTERN(int)
28
+ JX_ProcessExitResult();
29
+
30
+ // Call method below only once per app. to initialize JXcore.
15
31
  JXCORE_EXTERN(void)
16
32
  JX_InitializeOnce(const char *home_folder);
17
33
 
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #include <openssl/asn1t.h>
11
+
12
+ DECLARE_ASN1_ITEM(INT32)
13
+ DECLARE_ASN1_ITEM(ZINT32)
14
+ DECLARE_ASN1_ITEM(UINT32)
15
+ DECLARE_ASN1_ITEM(ZUINT32)
16
+ DECLARE_ASN1_ITEM(INT64)
17
+ DECLARE_ASN1_ITEM(ZINT64)
18
+ DECLARE_ASN1_ITEM(UINT64)
19
+ DECLARE_ASN1_ITEM(ZUINT64)
@@ -42,6 +42,10 @@ extern "C" {
42
42
  */
43
43
  # define DSO_FLAG_NAME_TRANSLATION_EXT_ONLY 0x02
44
44
 
45
+ /*
46
+ * Don't unload the DSO when we call DSO_free()
47
+ */
48
+ # define DSO_FLAG_NO_UNLOAD_ON_FREE 0x04
45
49
  /*
46
50
  * The following flag controls the translation of symbol names to upper case.
47
51
  * This is currently only being implemented for OpenVMS.
@@ -136,6 +140,23 @@ DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname);
136
140
  */
137
141
  DSO_METHOD *DSO_METHOD_openssl(void);
138
142
 
143
+ /*
144
+ * This function writes null-terminated pathname of DSO module containing
145
+ * 'addr' into 'sz' large caller-provided 'path' and returns the number of
146
+ * characters [including trailing zero] written to it. If 'sz' is 0 or
147
+ * negative, 'path' is ignored and required amount of characters [including
148
+ * trailing zero] to accommodate pathname is returned. If 'addr' is NULL, then
149
+ * pathname of cryptolib itself is returned. Negative or zero return value
150
+ * denotes error.
151
+ */
152
+ int DSO_pathbyaddr(void *addr, char *path, int sz);
153
+
154
+ /*
155
+ * Like DSO_pathbyaddr() but instead returns a handle to the DSO for the symbol
156
+ * or NULL on error.
157
+ */
158
+ DSO *DSO_dsobyaddr(void *addr, int flags);
159
+
139
160
  /*
140
161
  * This function should be used with caution! It looks up symbols in *all*
141
162
  * loaded modules and if module gets unloaded by somebody else attempt to
@@ -177,6 +198,7 @@ int ERR_load_DSO_strings(void);
177
198
  # define DSO_F_DSO_LOAD 112
178
199
  # define DSO_F_DSO_MERGE 132
179
200
  # define DSO_F_DSO_NEW_METHOD 113
201
+ # define DSO_F_DSO_PATHBYADDR 105
180
202
  # define DSO_F_DSO_SET_FILENAME 129
181
203
  # define DSO_F_DSO_UP_REF 114
182
204
  # define DSO_F_VMS_BIND_SYM 115
@@ -189,6 +211,7 @@ int ERR_load_DSO_strings(void);
189
211
  # define DSO_F_WIN32_LOAD 120
190
212
  # define DSO_F_WIN32_MERGER 134
191
213
  # define DSO_F_WIN32_NAME_CONVERTER 125
214
+ # define DSO_F_WIN32_PATHBYADDR 109
192
215
  # define DSO_F_WIN32_SPLITTER 136
193
216
  # define DSO_F_WIN32_UNLOAD 121
194
217
 
@@ -34,9 +34,12 @@
34
34
  * RUN_ONCE - use CRYPTO_THREAD_run_once, and check if the init succeeded
35
35
  * @once: pointer to static object of type CRYPTO_ONCE
36
36
  * @init: function name that was previously given to DEFINE_RUN_ONCE,
37
- * DEFINE_RUN_ONCE_STATIC or DECLARE_RUN_ONCE.
37
+ * DEFINE_RUN_ONCE_STATIC or DECLARE_RUN_ONCE. This function
38
+ * must return 1 for success or 0 for failure.
38
39
  *
39
- * The return value is 1 on success or 0 in case of error.
40
+ * The return value is 1 on success (*) or 0 in case of error.
41
+ *
42
+ * (*) by convention, since the init function must return 1 on success.
40
43
  */
41
44
  #define RUN_ONCE(once, init) \
42
45
  (CRYPTO_THREAD_run_once(once, init##_ossl_) ? init##_ossl_ret_ : 0)