rho-tau-extensions 5.5.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (661) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +2 -0
  3. data/LICENSE +21 -0
  4. data/README.md +6 -0
  5. data/Rakefile +90 -0
  6. data/libs/crosswalk.rb +2 -0
  7. data/libs/crosswalk/crosswalk.rb +2 -0
  8. data/libs/crosswalk/ext.yml +21 -0
  9. data/libs/crosswalk/ext/Crosswalk.xml +27 -0
  10. data/libs/crosswalk/ext/build +19 -0
  11. data/libs/crosswalk/ext/build.bat +29 -0
  12. data/libs/crosswalk/ext/platform/android/AndroidManifest.xml +9 -0
  13. data/libs/crosswalk/ext/platform/android/Rakefile +141 -0
  14. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so +0 -0
  15. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so +0 -0
  16. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so +0 -0
  17. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so +0 -0
  18. data/libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar +0 -0
  19. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble.9.png +0 -0
  20. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble_arrow_up.png +0 -0
  21. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/color_picker_advanced_select_handle.png +0 -0
  22. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png +0 -0
  23. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_down.9.png +0 -0
  24. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_up.9.png +0 -0
  25. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_menu_share_holo_light.png +0 -0
  26. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_search.png +0 -0
  27. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_warning.png +0 -0
  28. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ondemand_overlay.9.png +0 -0
  29. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/verify_checkmark.png +0 -0
  30. data/libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png +0 -0
  31. data/libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png +0 -0
  32. data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_borderless_compat.xml +10 -0
  33. data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_compat.xml +9 -0
  34. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble.9.png +0 -0
  35. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble_arrow_up.png +0 -0
  36. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/color_picker_advanced_select_handle.png +0 -0
  37. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png +0 -0
  38. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_down.9.png +0 -0
  39. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_up.9.png +0 -0
  40. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_menu_share_holo_light.png +0 -0
  41. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_search.png +0 -0
  42. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_warning.png +0 -0
  43. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ondemand_overlay.9.png +0 -0
  44. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/verify_checkmark.png +0 -0
  45. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_menu_share_holo_light.png +0 -0
  46. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_search.png +0 -0
  47. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_warning.png +0 -0
  48. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/verify_checkmark.png +0 -0
  49. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_menu_share_holo_light.png +0 -0
  50. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_search.png +0 -0
  51. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_warning.png +0 -0
  52. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/verify_checkmark.png +0 -0
  53. data/libs/crosswalk/ext/platform/android/adds/res/drawable/autofill_chip_inset.xml +15 -0
  54. data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble.9.png +0 -0
  55. data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble_arrow_up.png +0 -0
  56. data/libs/crosswalk/ext/platform/android/adds/res/drawable/button_compat_shape.xml +9 -0
  57. data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_button_background.xml +36 -0
  58. data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_advanced_select_handle.png +0 -0
  59. data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_border.xml +12 -0
  60. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_label_color.xml +11 -0
  61. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background.xml +13 -0
  62. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_down.9.png +0 -0
  63. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_up.9.png +0 -0
  64. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_menu_share_holo_light.png +0 -0
  65. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_search.png +0 -0
  66. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_warning.png +0 -0
  67. data/libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml +19 -0
  68. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ondemand_overlay.9.png +0 -0
  69. data/libs/crosswalk/ext/platform/android/adds/res/drawable/verify_checkmark.png +0 -0
  70. data/libs/crosswalk/ext/platform/android/adds/res/layout-land/date_time_picker_dialog.xml +42 -0
  71. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_keyboard_accessory_item.xml +40 -0
  72. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml +18 -0
  73. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_advanced_component.xml +46 -0
  74. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_content.xml +51 -0
  75. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_title.xml +41 -0
  76. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/date_time_suggestion.xml +35 -0
  77. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/dropdown_item.xml +58 -0
  78. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/multi_field_time_picker_dialog.xml +122 -0
  79. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/two_field_date_picker.xml +38 -0
  80. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/validation_message_bubble.xml +72 -0
  81. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_icon.xml +13 -0
  82. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_item.xml +17 -0
  83. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml +7 -0
  84. data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_advanced_component.xml +30 -0
  85. data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_content.xml +36 -0
  86. data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_title.xml +25 -0
  87. data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_picker_dialog.xml +42 -0
  88. data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_suggestion.xml +16 -0
  89. data/libs/crosswalk/ext/platform/android/adds/res/layout/dropdown_item.xml +34 -0
  90. data/libs/crosswalk/ext/platform/android/adds/res/layout/multi_field_time_picker_dialog.xml +50 -0
  91. data/libs/crosswalk/ext/platform/android/adds/res/layout/two_field_date_picker.xml +26 -0
  92. data/libs/crosswalk/ext/platform/android/adds/res/layout/validation_message_bubble.xml +47 -0
  93. data/libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml +54 -0
  94. data/libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js +206 -0
  95. data/libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js +231 -0
  96. data/libs/crosswalk/ext/platform/android/adds/res/raw/empty.wav +0 -0
  97. data/libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat +0 -0
  98. data/libs/crosswalk/ext/platform/android/adds/res/raw/launch_screen_api.js +9 -0
  99. data/libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js +359 -0
  100. data/libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js +144 -0
  101. data/libs/crosswalk/ext/platform/android/adds/res/raw/wifidirect_api.js +227 -0
  102. data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak +0 -0
  103. data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_content_strings.xml +15 -0
  104. data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml +47 -0
  105. data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_content_strings.xml +15 -0
  106. data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_ui_strings.xml +47 -0
  107. data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_content_strings.xml +15 -0
  108. data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_ui_strings.xml +47 -0
  109. data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_content_strings.xml +15 -0
  110. data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_ui_strings.xml +47 -0
  111. data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_content_strings.xml +15 -0
  112. data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_ui_strings.xml +47 -0
  113. data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_content_strings.xml +15 -0
  114. data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_ui_strings.xml +47 -0
  115. data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_content_strings.xml +15 -0
  116. data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_ui_strings.xml +47 -0
  117. data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_content_strings.xml +15 -0
  118. data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_ui_strings.xml +47 -0
  119. data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_content_strings.xml +15 -0
  120. data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_ui_strings.xml +47 -0
  121. data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_content_strings.xml +15 -0
  122. data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_ui_strings.xml +47 -0
  123. data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_content_strings.xml +15 -0
  124. data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_ui_strings.xml +47 -0
  125. data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_content_strings.xml +15 -0
  126. data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_ui_strings.xml +47 -0
  127. data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_content_strings.xml +15 -0
  128. data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_ui_strings.xml +47 -0
  129. data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_content_strings.xml +15 -0
  130. data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_ui_strings.xml +47 -0
  131. data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_content_strings.xml +15 -0
  132. data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_ui_strings.xml +47 -0
  133. data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_content_strings.xml +15 -0
  134. data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_ui_strings.xml +47 -0
  135. data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_content_strings.xml +15 -0
  136. data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_ui_strings.xml +47 -0
  137. data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_content_strings.xml +15 -0
  138. data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_ui_strings.xml +47 -0
  139. data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_content_strings.xml +15 -0
  140. data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_ui_strings.xml +47 -0
  141. data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_content_strings.xml +15 -0
  142. data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_ui_strings.xml +47 -0
  143. data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_content_strings.xml +15 -0
  144. data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_ui_strings.xml +47 -0
  145. data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_content_strings.xml +15 -0
  146. data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_ui_strings.xml +47 -0
  147. data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_content_strings.xml +15 -0
  148. data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_ui_strings.xml +47 -0
  149. data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_content_strings.xml +15 -0
  150. data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_ui_strings.xml +47 -0
  151. data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_content_strings.xml +15 -0
  152. data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_ui_strings.xml +47 -0
  153. data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_content_strings.xml +15 -0
  154. data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_ui_strings.xml +47 -0
  155. data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_content_strings.xml +15 -0
  156. data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_ui_strings.xml +47 -0
  157. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_content_strings.xml +15 -0
  158. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_ui_strings.xml +47 -0
  159. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_content_strings.xml +15 -0
  160. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_ui_strings.xml +47 -0
  161. data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_content_strings.xml +15 -0
  162. data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_ui_strings.xml +47 -0
  163. data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_content_strings.xml +15 -0
  164. data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_ui_strings.xml +47 -0
  165. data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_content_strings.xml +15 -0
  166. data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_ui_strings.xml +47 -0
  167. data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_content_strings.xml +15 -0
  168. data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_ui_strings.xml +47 -0
  169. data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_content_strings.xml +15 -0
  170. data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_ui_strings.xml +47 -0
  171. data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_content_strings.xml +15 -0
  172. data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_ui_strings.xml +47 -0
  173. data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_content_strings.xml +15 -0
  174. data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_ui_strings.xml +47 -0
  175. data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_content_strings.xml +15 -0
  176. data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_ui_strings.xml +47 -0
  177. data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_content_strings.xml +15 -0
  178. data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_ui_strings.xml +47 -0
  179. data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_content_strings.xml +15 -0
  180. data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml +47 -0
  181. data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_content_strings.xml +15 -0
  182. data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml +47 -0
  183. data/libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml +16 -0
  184. data/libs/crosswalk/ext/platform/android/adds/res/values-v17/styles.xml +19 -0
  185. data/libs/crosswalk/ext/platform/android/adds/res/values-v17/ui_java_styles.xml +41 -0
  186. data/libs/crosswalk/ext/platform/android/adds/res/values-v21/styles.xml +14 -0
  187. data/libs/crosswalk/ext/platform/android/adds/res/values-v21/ui_java_styles.xml +14 -0
  188. data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_content_strings.xml +15 -0
  189. data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml +47 -0
  190. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_content_strings.xml +15 -0
  191. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_ui_strings.xml +47 -0
  192. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_content_strings.xml +15 -0
  193. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_ui_strings.xml +47 -0
  194. data/libs/crosswalk/ext/platform/android/adds/res/values/android_content_strings.xml +15 -0
  195. data/libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml +47 -0
  196. data/libs/crosswalk/ext/platform/android/adds/res/values/android_xwalk_strings.xml +17 -0
  197. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_attrs.xml +9 -0
  198. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_dimens.xml +31 -0
  199. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_strings.xml +16 -0
  200. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_styles.xml +101 -0
  201. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml +28 -0
  202. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_attrs.xml +11 -0
  203. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_colors.xml +13 -0
  204. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_internal_java_strings.xml +16 -0
  205. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_java_strings.xml +16 -0
  206. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_dimens.xml +11 -0
  207. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml +7 -0
  208. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_styles.xml +40 -0
  209. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_values.xml +10 -0
  210. data/libs/crosswalk/ext/platform/android/ext_java.files +14 -0
  211. data/libs/crosswalk/ext/platform/android/ext_native.files +7 -0
  212. data/libs/crosswalk/ext/platform/android/jni/Crosswalk_impl.cpp +61 -0
  213. data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/Crosswalk.java +14 -0
  214. data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkFactory.java +18 -0
  215. data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkSingleton.java +24 -0
  216. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/CrosswalkExtension.java +16 -0
  217. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/RhodesListener.java +18 -0
  218. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWResourceClient.java +182 -0
  219. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWUIClient.java +125 -0
  220. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWalkWebView.java +368 -0
  221. data/libs/crosswalk/ext/platform/iphone/Crosswalk.xcodeproj/project.pbxproj +368 -0
  222. data/libs/crosswalk/ext/platform/iphone/Crosswalk_Prefix.pch +7 -0
  223. data/libs/crosswalk/ext/platform/iphone/Rakefile +73 -0
  224. data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.h +14 -0
  225. data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.m +24 -0
  226. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkFactorySingleton.m +16 -0
  227. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSetup.m +9 -0
  228. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.h +17 -0
  229. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.m +23 -0
  230. data/libs/crosswalk/ext/platform/iphone/impl/readme.txt +7 -0
  231. data/libs/crosswalk/ext/platform/qt/Crosswalk.pro +66 -0
  232. data/libs/crosswalk/ext/platform/qt/Rakefile +35 -0
  233. data/libs/crosswalk/ext/platform/qt/src/Crosswalk_impl.cpp +77 -0
  234. data/libs/crosswalk/ext/platform/wm/Crosswalk.sln +52 -0
  235. data/libs/crosswalk/ext/platform/wm/Crosswalk.vcproj +714 -0
  236. data/libs/crosswalk/ext/platform/wm/Crosswalk.vsprops +15 -0
  237. data/libs/crosswalk/ext/platform/wm/src/Crosswalk_impl.cpp +77 -0
  238. data/libs/crosswalk/ext/platform/wp8/Crosswalk.props +18 -0
  239. data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj +170 -0
  240. data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj.filters +50 -0
  241. data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.csproj +119 -0
  242. data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.props +8 -0
  243. data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.targets +7 -0
  244. data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.props +18 -0
  245. data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj +185 -0
  246. data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj.filters +58 -0
  247. data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cpp +76 -0
  248. data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cs +69 -0
  249. data/libs/crosswalk/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
  250. data/libs/enterprise-barcode/ext.yml +13 -0
  251. data/libs/enterprise-barcode/ext/barcode.xml +2144 -0
  252. data/libs/enterprise-barcode/ext/build +17 -0
  253. data/libs/enterprise-barcode/ext/build.bat +29 -0
  254. data/libs/enterprise-barcode/ext/platform/android/AndroidManifest.xml +31 -0
  255. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/AUTHORS +58 -0
  256. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/CHANGES +266 -0
  257. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/COPYING +201 -0
  258. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/README +11 -0
  259. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/cancel_icon.png +0 -0
  260. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/ok_icon.png +0 -0
  261. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/retake_icon.png +0 -0
  262. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/cancel_icon.png +0 -0
  263. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/ok_icon.png +0 -0
  264. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/retake_icon.png +0 -0
  265. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/layout/capture.xml +122 -0
  266. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/raw/beep.ogg +0 -0
  267. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/attrs.xml +20 -0
  268. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/colors.xml +42 -0
  269. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/ids.xml +31 -0
  270. data/libs/enterprise-barcode/ext/platform/android/adds/lib/armeabi/liballbarcode.a +0 -0
  271. data/libs/enterprise-barcode/ext/platform/android/adds/lib/x86/liballbarcode.a +0 -0
  272. data/libs/enterprise-barcode/ext/platform/android/allbarcode.jar +0 -0
  273. data/libs/enterprise-barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +524 -0
  274. data/libs/enterprise-barcode/ext/platform/iphone/Barcode_Prefix.pch +7 -0
  275. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.h +27 -0
  276. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.mm +231 -0
  277. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.h +95 -0
  278. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.m +1017 -0
  279. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.h +7 -0
  280. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +58 -0
  281. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactoryRegister.mm +18 -0
  282. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.h +16 -0
  283. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.mm +32 -0
  284. data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.cpp +25 -0
  285. data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.h +15 -0
  286. data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.mm +159 -0
  287. data/libs/enterprise-barcode/ext/platform/iphone/Classes/barcode.m +123 -0
  288. data/libs/enterprise-barcode/ext/platform/iphone/Rakefile +69 -0
  289. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/COPYING +27 -0
  290. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCameraSimulator.h +45 -0
  291. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCaptureReader.h +111 -0
  292. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarHelpController.h +60 -0
  293. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImage.h +69 -0
  294. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImageScanner.h +51 -0
  295. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderController.h +142 -0
  296. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderView.h +135 -0
  297. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderViewController.h +130 -0
  298. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSDK.h +34 -0
  299. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSymbol.h +71 -0
  300. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar.h +1497 -0
  301. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Decoder.h +202 -0
  302. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Exception.h +187 -0
  303. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Image.h +321 -0
  304. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/ImageScanner.h +130 -0
  305. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Processor.h +223 -0
  306. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Scanner.h +162 -0
  307. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Symbol.h +528 -0
  308. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Video.h +170 -0
  309. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Window.h +136 -0
  310. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/LICENSE +504 -0
  311. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/README +59 -0
  312. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-back.png +0 -0
  313. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-help.html +88 -0
  314. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-helpicons.png +0 -0
  315. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-samples.png +0 -0
  316. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/libzbar.a +0 -0
  317. data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.h +21 -0
  318. data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.m +132 -0
  319. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.h +10 -0
  320. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.m +16 -0
  321. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactorySingleton.m +16 -0
  322. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSetup.m +8 -0
  323. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.h +17 -0
  324. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.m +22 -0
  325. data/libs/enterprise-barcode/ext/platform/iphone/impl/readme.txt +7 -0
  326. data/libs/enterprise-barcode/ext/platform/wm/Barcode.sln +44 -0
  327. data/libs/enterprise-barcode/ext/platform/wm/Barcode.vcproj +836 -0
  328. data/libs/enterprise-barcode/ext/platform/wm/Barcode.vsprops +15 -0
  329. data/libs/enterprise-barcode/ext/platform/wm/readme.txt +0 -0
  330. data/libs/enterprise-barcode/ext/platform/wm/src/Barcode_impl.cpp +376 -0
  331. data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.cpp +173 -0
  332. data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.h +149 -0
  333. data/libs/enterprise-barcode/ext/platform/wm/src/EMDKInterfaceAbstraction.cpp +476 -0
  334. data/libs/enterprise-barcode/ext/platform/wm/src/GetDecoderProperties.cpp +1195 -0
  335. data/libs/enterprise-barcode/ext/platform/wm/src/GetScannerProperties.cpp +553 -0
  336. data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.cpp +177 -0
  337. data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h +40 -0
  338. data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.cpp +76 -0
  339. data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.h +44 -0
  340. data/libs/enterprise-barcode/ext/platform/wm/src/RSM.cpp +1211 -0
  341. data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.cpp +2609 -0
  342. data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.h +1099 -0
  343. data/libs/enterprise-barcode/ext/platform/wm/src/ScannerDefines.h +322 -0
  344. data/libs/enterprise-barcode/ext/platform/wm/src/SetDecoderProperties.cpp +2106 -0
  345. data/libs/enterprise-barcode/ext/platform/wm/src/SetScannerProperties.cpp +1060 -0
  346. data/libs/enterprise-barcode/ext/platform/wm/src/Utilities.cpp +184 -0
  347. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.csproj +119 -0
  348. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.props +8 -0
  349. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.targets +35 -0
  350. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.props +18 -0
  351. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj +185 -0
  352. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj.filters +58 -0
  353. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.dll +0 -0
  354. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.winmd +0 -0
  355. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.xml +4813 -0
  356. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.dll +0 -0
  357. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
  358. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.xml +41 -0
  359. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/OpticalReaderLib.dll +0 -0
  360. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.XML +68 -0
  361. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.dll +0 -0
  362. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.csproj +120 -0
  363. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.sln +34 -0
  364. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml +32 -0
  365. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml.cs +235 -0
  366. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/OpticalReaderTask.cs +182 -0
  367. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/Properties/AssemblyInfo.cs +37 -0
  368. data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.dll +0 -0
  369. data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.xml +341 -0
  370. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.dll +0 -0
  371. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.winmd +0 -0
  372. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.xml +4813 -0
  373. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.dll +0 -0
  374. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
  375. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.xml +41 -0
  376. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/OpticalReaderLib.dll +0 -0
  377. data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.XML +10324 -0
  378. data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.dll +0 -0
  379. data/libs/enterprise-barcode/ext/platform/wp8/src/Barcode_impl.cs +630 -0
  380. data/libs/enterprise-barcode/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
  381. data/libs/enterprise-barcode/public/api/generated/Rho.Barcode.js +772 -0
  382. data/libs/ie/rhobrowser.dll +0 -0
  383. data/libs/nodejs.rb +2 -0
  384. data/libs/nodejs/ext.yml +25 -0
  385. data/libs/nodejs/ext/Nodejs.xml +37 -0
  386. data/libs/nodejs/ext/build +19 -0
  387. data/libs/nodejs/ext/build.bat +29 -0
  388. data/libs/nodejs/ext/platform/android/Rakefile +161 -0
  389. data/libs/nodejs/ext/platform/android/ext_native.files +8 -0
  390. data/libs/nodejs/ext/platform/android/jxCore/jx.h +134 -0
  391. data/libs/nodejs/ext/platform/android/jxCore/jx_result.h +221 -0
  392. data/libs/nodejs/ext/platform/android/jxCore/libcares_arm.a +0 -0
  393. data/libs/nodejs/ext/platform/android/jxCore/libcares_ia32.a +0 -0
  394. data/libs/nodejs/ext/platform/android/jxCore/libcares_x64.a +0 -0
  395. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_arm.a +0 -0
  396. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_ia32.a +0 -0
  397. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_x64.a +0 -0
  398. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_arm.a +0 -0
  399. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_ia32.a +0 -0
  400. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_x64.a +0 -0
  401. data/libs/nodejs/ext/platform/android/jxCore/libjx_arm.a +0 -0
  402. data/libs/nodejs/ext/platform/android/jxCore/libjx_ia32.a +0 -0
  403. data/libs/nodejs/ext/platform/android/jxCore/libjx_x64.a +0 -0
  404. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_arm.a +0 -0
  405. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_ia32.a +0 -0
  406. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_x64.a +0 -0
  407. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_arm.a +0 -0
  408. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_ia32.a +0 -0
  409. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_x64.a +0 -0
  410. data/libs/nodejs/ext/platform/android/jxCore/libuv_arm.a +0 -0
  411. data/libs/nodejs/ext/platform/android/jxCore/libuv_ia32.a +0 -0
  412. data/libs/nodejs/ext/platform/android/jxCore/libuv_x64.a +0 -0
  413. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_arm.a +0 -0
  414. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_ia32.a +0 -0
  415. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_x64.a +0 -0
  416. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_arm.a +0 -0
  417. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_ia32.a +0 -0
  418. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_x64.a +0 -0
  419. data/libs/nodejs/ext/platform/iphone/Nodejs.xcodeproj/project.pbxproj +350 -0
  420. data/libs/nodejs/ext/platform/iphone/Nodejs_Prefix.pch +7 -0
  421. data/libs/nodejs/ext/platform/iphone/Rakefile +73 -0
  422. data/libs/nodejs/ext/platform/iphone/jxCore/jx.h +134 -0
  423. data/libs/nodejs/ext/platform/iphone/jxCore/jx_result.h +221 -0
  424. data/libs/nodejs/ext/platform/iphone/jxCore/libcares.a +0 -0
  425. data/libs/nodejs/ext/platform/iphone/jxCore/libchrome_zlib.a +0 -0
  426. data/libs/nodejs/ext/platform/iphone/jxCore/libhttp_parser.a +0 -0
  427. data/libs/nodejs/ext/platform/iphone/jxCore/libjx.a +0 -0
  428. data/libs/nodejs/ext/platform/iphone/jxCore/libmozjs.a +0 -0
  429. data/libs/nodejs/ext/platform/iphone/jxCore/libopenssl.a +0 -0
  430. data/libs/nodejs/ext/platform/iphone/jxCore/libsqlite3.a +0 -0
  431. data/libs/nodejs/ext/platform/iphone/jxCore/libuv.a +0 -0
  432. data/libs/nodejs/ext/shared/jxcore/jx.h +134 -0
  433. data/libs/nodejs/ext/shared/jxcore/jx_result.h +221 -0
  434. data/libs/nodejs/ext/shared/jxcoretau.cpp +454 -0
  435. data/libs/nodejs/ext/shared/jxcoretau.h +20 -0
  436. data/libs/nodejs/ext/shared/nodejs_impl.cpp +106 -0
  437. data/libs/nodejs/nodejs.rb +2 -0
  438. data/libs/openssl-edge.rb +2 -0
  439. data/libs/openssl-edge/ext.yml +4 -0
  440. data/libs/openssl-edge/ext/Rakefile +145 -0
  441. data/libs/openssl-edge/ext/android/Rakefile +107 -0
  442. data/libs/openssl-edge/ext/android/ext_native.files +32 -0
  443. data/libs/openssl-edge/ext/android/extconf.h +91 -0
  444. data/libs/openssl-edge/ext/build +12 -0
  445. data/libs/openssl-edge/ext/build.bat +5 -0
  446. data/libs/openssl-edge/ext/extconf.rb +141 -0
  447. data/libs/openssl-edge/ext/openssl.pro +109 -0
  448. data/libs/openssl-edge/ext/openssl.sln +52 -0
  449. data/libs/openssl-edge/ext/openssl.vcproj +1010 -0
  450. data/libs/openssl-edge/ext/openssl_missing.c +1163 -0
  451. data/libs/openssl-edge/ext/openssl_missing.h +537 -0
  452. data/libs/openssl-edge/ext/ossl.c +1203 -0
  453. data/libs/openssl-edge/ext/ossl.h +242 -0
  454. data/libs/openssl-edge/ext/ossl_asn1.c +2008 -0
  455. data/libs/openssl-edge/ext/ossl_asn1.h +66 -0
  456. data/libs/openssl-edge/ext/ossl_bio.c +118 -0
  457. data/libs/openssl-edge/ext/ossl_bio.h +19 -0
  458. data/libs/openssl-edge/ext/ossl_bn.c +1153 -0
  459. data/libs/openssl-edge/ext/ossl_bn.h +23 -0
  460. data/libs/openssl-edge/ext/ossl_cipher.c +1085 -0
  461. data/libs/openssl-edge/ext/ossl_cipher.h +20 -0
  462. data/libs/openssl-edge/ext/ossl_config.c +89 -0
  463. data/libs/openssl-edge/ext/ossl_config.h +19 -0
  464. data/libs/openssl-edge/ext/ossl_digest.c +453 -0
  465. data/libs/openssl-edge/ext/ossl_digest.h +20 -0
  466. data/libs/openssl-edge/ext/ossl_engine.c +580 -0
  467. data/libs/openssl-edge/ext/ossl_engine.h +19 -0
  468. data/libs/openssl-edge/ext/ossl_hmac.c +398 -0
  469. data/libs/openssl-edge/ext/ossl_hmac.h +18 -0
  470. data/libs/openssl-edge/ext/ossl_ns_spki.c +406 -0
  471. data/libs/openssl-edge/ext/ossl_ns_spki.h +19 -0
  472. data/libs/openssl-edge/ext/ossl_ocsp.c +2013 -0
  473. data/libs/openssl-edge/ext/ossl_ocsp.h +23 -0
  474. data/libs/openssl-edge/ext/ossl_pkcs12.c +261 -0
  475. data/libs/openssl-edge/ext/ossl_pkcs12.h +13 -0
  476. data/libs/openssl-edge/ext/ossl_pkcs5.c +180 -0
  477. data/libs/openssl-edge/ext/ossl_pkcs5.h +6 -0
  478. data/libs/openssl-edge/ext/ossl_pkcs7.c +1157 -0
  479. data/libs/openssl-edge/ext/ossl_pkcs7.h +20 -0
  480. data/libs/openssl-edge/ext/ossl_pkey.c +469 -0
  481. data/libs/openssl-edge/ext/ossl_pkey.h +245 -0
  482. data/libs/openssl-edge/ext/ossl_pkey_dh.c +650 -0
  483. data/libs/openssl-edge/ext/ossl_pkey_dsa.c +672 -0
  484. data/libs/openssl-edge/ext/ossl_pkey_ec.c +1806 -0
  485. data/libs/openssl-edge/ext/ossl_pkey_rsa.c +768 -0
  486. data/libs/openssl-edge/ext/ossl_rand.c +238 -0
  487. data/libs/openssl-edge/ext/ossl_rand.h +18 -0
  488. data/libs/openssl-edge/ext/ossl_ssl.c +2724 -0
  489. data/libs/openssl-edge/ext/ossl_ssl.h +41 -0
  490. data/libs/openssl-edge/ext/ossl_ssl_session.c +352 -0
  491. data/libs/openssl-edge/ext/ossl_version.h +15 -0
  492. data/libs/openssl-edge/ext/ossl_x509.c +186 -0
  493. data/libs/openssl-edge/ext/ossl_x509.h +119 -0
  494. data/libs/openssl-edge/ext/ossl_x509attr.c +328 -0
  495. data/libs/openssl-edge/ext/ossl_x509cert.c +863 -0
  496. data/libs/openssl-edge/ext/ossl_x509crl.c +565 -0
  497. data/libs/openssl-edge/ext/ossl_x509ext.c +480 -0
  498. data/libs/openssl-edge/ext/ossl_x509name.c +547 -0
  499. data/libs/openssl-edge/ext/ossl_x509req.c +492 -0
  500. data/libs/openssl-edge/ext/ossl_x509revoked.c +279 -0
  501. data/libs/openssl-edge/ext/ossl_x509store.c +846 -0
  502. data/libs/openssl-edge/ext/ruby_missing.h +32 -0
  503. data/libs/openssl-edge/openssl-edge.rb +2 -0
  504. data/libs/openssl-edge/openssl.rb +24 -0
  505. data/libs/openssl-edge/openssl/bn.rb +35 -0
  506. data/libs/openssl-edge/openssl/buffering.rb +341 -0
  507. data/libs/openssl-edge/openssl/cipher.rb +65 -0
  508. data/libs/openssl-edge/openssl/digest.rb +61 -0
  509. data/libs/openssl-edge/openssl/ssl-internal.rb +180 -0
  510. data/libs/openssl-edge/openssl/ssl.rb +1 -0
  511. data/libs/openssl-edge/openssl/x509-internal.rb +153 -0
  512. data/libs/openssl-edge/openssl/x509.rb +1 -0
  513. data/libs/openssl.so-edge.rb +2 -0
  514. data/libs/openssl.so-edge/ext.yml +8 -0
  515. data/libs/openssl.so-edge/ext/Rakefile +140 -0
  516. data/libs/openssl.so-edge/ext/android/armeabi/libcrypto.a +0 -0
  517. data/libs/openssl.so-edge/ext/android/armeabi/libssl.a +0 -0
  518. data/libs/openssl.so-edge/ext/android/x86/libcrypto.a +0 -0
  519. data/libs/openssl.so-edge/ext/android/x86/libssl.a +0 -0
  520. data/libs/openssl.so-edge/ext/build +12 -0
  521. data/libs/openssl.so-edge/ext/build.bat +1 -0
  522. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dh/dh_locl.h +56 -0
  523. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dsa/dsa_locl.h +76 -0
  524. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/evp/evp_locl.h +66 -0
  525. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/hmac/hmac_lcl.h +33 -0
  526. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/asn1_int.h +94 -0
  527. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/async.h +14 -0
  528. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_conf.h +28 -0
  529. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_dh.h +17 -0
  530. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_int.h +82 -0
  531. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_srp.h +32 -0
  532. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/chacha.h +49 -0
  533. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib.h +81 -0
  534. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib_int.h +31 -0
  535. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/dso_conf.h +16 -0
  536. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/engine.h +20 -0
  537. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/err_int.h +17 -0
  538. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/evp_int.h +382 -0
  539. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/md32_common.h +383 -0
  540. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/objects.h +12 -0
  541. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/poly1305.h +19 -0
  542. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/rand.h +20 -0
  543. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/x509_int.h +267 -0
  544. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/ocsp/ocsp_lcl.h +216 -0
  545. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/rsa/rsa_locl.h +96 -0
  546. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/x509/x509_lcl.h +142 -0
  547. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/e_os.h +520 -0
  548. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/bio.h +26 -0
  549. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/comp.h +12 -0
  550. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/conf.h +32 -0
  551. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/constant_time_locl.h +185 -0
  552. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dane.h +103 -0
  553. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dso.h +216 -0
  554. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/err.h +15 -0
  555. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/numbers.h +68 -0
  556. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_dir.h +63 -0
  557. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_str.h +17 -0
  558. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/thread_once.h +42 -0
  559. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_EPILOGUE.H +16 -0
  560. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_PROLOGUE.H +20 -0
  561. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/aes.h +92 -0
  562. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1.h +1096 -0
  563. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1_mac.h +10 -0
  564. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1t.h +924 -0
  565. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/async.h +98 -0
  566. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bio.h +854 -0
  567. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/blowfish.h +61 -0
  568. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bn.h +575 -0
  569. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/buffer.h +76 -0
  570. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/camellia.h +83 -0
  571. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cast.h +53 -0
  572. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h +41 -0
  573. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cms.h +512 -0
  574. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/comp.h +72 -0
  575. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf.h +216 -0
  576. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf_api.h +40 -0
  577. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/crypto.h +463 -0
  578. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ct.h +518 -0
  579. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/des.h +174 -0
  580. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dh.h +343 -0
  581. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dsa.h +282 -0
  582. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dtls1.h +56 -0
  583. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/e_os2.h +311 -0
  584. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ebcdic.h +33 -0
  585. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ec.h +1581 -0
  586. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdh.h +10 -0
  587. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdsa.h +10 -0
  588. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/engine.h +842 -0
  589. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/err.h +259 -0
  590. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/evp.h +1586 -0
  591. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/hmac.h +49 -0
  592. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/idea.h +64 -0
  593. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/kdf.h +75 -0
  594. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/lhash.h +204 -0
  595. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md2.h +44 -0
  596. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md4.h +51 -0
  597. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md5.h +50 -0
  598. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/mdc2.h +42 -0
  599. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/modes.h +203 -0
  600. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/obj_mac.h +4577 -0
  601. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/objects.h +1097 -0
  602. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ocsp.h +409 -0
  603. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h +169 -0
  604. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h.in +141 -0
  605. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslv.h +105 -0
  606. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ossl_typ.h +190 -0
  607. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem.h +501 -0
  608. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem2.h +20 -0
  609. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs12.h +282 -0
  610. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs7.h +404 -0
  611. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rand.h +89 -0
  612. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc2.h +51 -0
  613. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc4.h +36 -0
  614. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc5.h +63 -0
  615. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ripemd.h +47 -0
  616. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rsa.h +588 -0
  617. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/safestack.h +164 -0
  618. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/seed.h +98 -0
  619. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/sha.h +119 -0
  620. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srp.h +131 -0
  621. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srtp.h +50 -0
  622. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl.h +2527 -0
  623. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl2.h +24 -0
  624. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl3.h +307 -0
  625. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/stack.h +78 -0
  626. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/symhacks.h +52 -0
  627. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/tls1.h +972 -0
  628. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ts.h +643 -0
  629. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/txt_db.h +57 -0
  630. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ui.h +368 -0
  631. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/whrlpool.h +48 -0
  632. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509.h +1123 -0
  633. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509_vfy.h +539 -0
  634. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509v3.h +1005 -0
  635. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/packet_locl.h +555 -0
  636. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record.h +240 -0
  637. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record_locl.h +114 -0
  638. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/ssl_locl.h +2127 -0
  639. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem.h +123 -0
  640. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem_locl.h +124 -0
  641. data/libs/openssl.so-edge/openssl.so.rb +2 -0
  642. data/libs/webkit.rb +2 -0
  643. data/libs/webkit/ext.yml +4 -0
  644. data/libs/webkit/ext/build +12 -0
  645. data/libs/webkit/ext/build.bat +7 -0
  646. data/libs/webkit/ext/wm/Rakefile +61 -0
  647. data/libs/webkit/ext/wm/RhoMsgs.cpp +17 -0
  648. data/libs/webkit/ext/wm/RhoMsgs.h +14 -0
  649. data/libs/webkit/ext/wm/RhoWKBrowserEngine.cpp +736 -0
  650. data/libs/webkit/ext/wm/RhoWKBrowserEngine.h +105 -0
  651. data/libs/webkit/ext/wm/lib/npapi/rhobridge.dll +0 -0
  652. data/libs/webkit/ext/wm/lib/rhoengine_defs.h +80 -0
  653. data/libs/webkit/ext/wm/lib/rhowebkit.dll +0 -0
  654. data/libs/webkit/ext/wm/webkit.sln +36 -0
  655. data/libs/webkit/ext/wm/webkit.suo +0 -0
  656. data/libs/webkit/ext/wm/webkit.vcproj +800 -0
  657. data/libs/webkit/ext/wm/webkit.vsprops +20 -0
  658. data/libs/webkit/webkit.rb +2 -0
  659. data/rho-tau-extensions.gemspec +23 -0
  660. data/version +1 -0
  661. metadata +705 -0
@@ -0,0 +1,1060 @@
1
+ #include "Scanner.h"
2
+ #include <pm.h>
3
+
4
+ #pragma region Scanner_EMML_Tag_Handlers
5
+
6
+ // Function used for the top level scanner tags
7
+ BOOL CScanner::ScannerTag_MetaProc(LPCTSTR szPropertyName, LPCTSTR szPropertyValue)
8
+ {
9
+ BOOL bRetVal = TRUE;
10
+ if (EnabledValue(szPropertyName) ||
11
+ cmp(szPropertyName, L"init") ||
12
+ cmp(szPropertyName, L"initialise"))
13
+ {
14
+ if (!m_bScannerOpen)
15
+ {
16
+ // Scanner is not open, open the specified Scanner
17
+ if (szPropertyValue == NULL || (wcslen(szPropertyValue) < 1))
18
+ {
19
+ if (!OpenScanner(m_szUserSpecifiedScanner))
20
+ {
21
+ LOG(WARNING) + "OpenScanner Failed!";
22
+ return FALSE;
23
+ }
24
+ }
25
+ else
26
+ {
27
+ if (!OpenScanner(szPropertyValue))
28
+ {
29
+ LOG(WARNING) + "OpenScanner Failed!";
30
+ return FALSE;
31
+ }
32
+ }
33
+ }
34
+ else
35
+ {
36
+ // The Scanner is open, check it is the correct scanner
37
+ // which is open and reopen the correct scanner if
38
+ // appropriate
39
+ if (szPropertyValue != NULL &&
40
+ (wcslen(szPropertyValue) > 0) &&
41
+ m_szCurrentlyOpenScanner &&
42
+ !(cmp(m_szCurrentlyOpenScanner, szPropertyValue)))
43
+ {
44
+ CloseScanner();
45
+ if (!OpenScanner(szPropertyValue))
46
+ {
47
+ LOG(WARNING) + "OpenScanner Failed!";
48
+ return FALSE;
49
+ }
50
+ }
51
+ }
52
+ if (!m_bScannerEnabled && !m_bScannerBeingEnabled)
53
+ {
54
+ if (!EnableScanner())
55
+ {
56
+ LOG(WARNING) + "EnableScanner failed!";
57
+ }
58
+ }
59
+ else
60
+ {
61
+ LOG(INFO) + L"Attempted to Enable the Scanner but it is already enabled";
62
+ }
63
+ }
64
+ else if (DisabledValue(szPropertyName))
65
+ {
66
+ // Empty the list of tags on the current page since disabling the scanner resets
67
+ // the hardware to a default state.
68
+ ActionPendingMetaTags(m_hTagsOnCurrentPageQRead, false);
69
+ bRetVal = CloseScanner();
70
+ }
71
+ else if (cmp(szPropertyName, L"GetDeviceCapabilities"))
72
+ {
73
+ // New functionality for RhoElements
74
+ CloseHandle(CreateThread(NULL, 0, &DeviceCapabilitiesToApplication, (void*)this, NULL, 0));
75
+ }
76
+ else if (cmp(szPropertyName, L"deinit") ||
77
+ cmp(szPropertyName, L"deinitialise"))
78
+ {
79
+ // Not publicly documented
80
+ bRetVal = CloseScanner();
81
+ }
82
+ else if (cmp(szPropertyName, L"Start"))
83
+ {
84
+ BOOL bSetTrigger = TRUE;
85
+ bRetVal = (lpfn_SCAN_SetSoftTrigger(m_hScanner, &bSetTrigger) == E_SCN_SUCCESS);
86
+ }
87
+ else if (cmp(szPropertyName, L"Stop"))
88
+ {
89
+ BOOL bSetTrigger = FALSE;
90
+ bRetVal = (lpfn_SCAN_SetSoftTrigger(m_hScanner, &bSetTrigger) == E_SCN_SUCCESS);
91
+ }
92
+ else if (cmp(szPropertyName, L"triggerConnected"))
93
+ {
94
+ if (EnabledValue(szPropertyValue))
95
+ {
96
+ // Connect the Trigger
97
+ if (m_bTriggerConnected)
98
+ LOG(INFO) + "Call to connect Trigger is ineffective, the trigger is already connected";
99
+ else
100
+ {
101
+ m_bTriggerConnected = true;
102
+ // Re-submit the Scan read if the scanner is enabled
103
+ if (m_bScannerEnabled)
104
+ SubmitRead();
105
+ }
106
+ }
107
+ else
108
+ {
109
+ // Disconnect the Trigger
110
+ if (!m_bTriggerConnected)
111
+ LOG(INFO) + "Call to disconnect Trigger is ineffective, the trigger is already disconnected";
112
+ else
113
+ {
114
+ LOG(INFO) + "Trigger disconnected. To scan via the hardware trigger you must re-connect the trigger";
115
+ m_bTriggerConnected = false;
116
+ // Flush the pending scanner read to disconnect the trigger. The read will not be resubmitted because
117
+ // m_bTriggerConnected is false
118
+ lpfn_SCAN_Flush(m_hScanner);
119
+ }
120
+ }
121
+ }
122
+ else if (cmp(szPropertyName, L"AutoEnter"))
123
+ {
124
+ if (EnabledValue(szPropertyValue))
125
+ m_bAutoEnter = true;
126
+ else if (DisabledValue(szPropertyValue))
127
+ m_bAutoEnter = false;
128
+ else
129
+ bRetVal = FALSE;
130
+ }
131
+ else if (cmp(szPropertyName, L"AutoTab"))
132
+ {
133
+ if (EnabledValue(szPropertyValue))
134
+ m_bAutoTab = true;
135
+ else if (DisabledValue(szPropertyValue))
136
+ m_bAutoTab = false;
137
+ else
138
+ bRetVal = FALSE;
139
+ }
140
+ else if (cmp(szPropertyName, L"DisableScannerDuringNavigate"))
141
+ {
142
+ if (EnabledValue(szPropertyValue))
143
+ m_bLegacyNavBehaviour = false;
144
+ else
145
+ m_bLegacyNavBehaviour = true;
146
+ }
147
+ else if (cmp(szPropertyName, L"lowBatteryScan"))
148
+ {
149
+ if (EnabledValue(szPropertyValue))
150
+ {
151
+ //Modified by Abhineet Agarwal
152
+ m_bLowBatteryScan = true;
153
+ LOG(INFO) + L"Setting LowBatteryScan property to True.";
154
+ //Low Battery Scan - True, No effect to scanner, if battery is low or critical...
155
+ //Terminate thread if running.....
156
+ StartOrDisableCheckingLowBattery();
157
+ }
158
+ else
159
+ {
160
+ //Modified by Abhineet Agarwal
161
+ m_bLowBatteryScan = false;
162
+ LOG(INFO) + L"Setting LowBatteryScan property to False.";
163
+ //Low Battery Scan - False, Disable scanner, if battery is low or critical...
164
+ //Start low battery thread if not running and disable the scanner if the battery is low or critical....
165
+ StartOrDisableCheckingLowBattery();
166
+ }
167
+ }
168
+
169
+ return bRetVal;
170
+ }
171
+
172
+ BOOL CScanner::ScannerBeeper_MetaProc(LPCTSTR szPropertyName, LPCTSTR szPropertyValue)
173
+ {
174
+ BOOL bRetVal = TRUE;
175
+ if (cmp(szPropertyName, L"decodeVolume"))
176
+ {
177
+ DWORD dwValue = StringToInt(szPropertyValue);
178
+ if (dwValue <= MAXIMUM_DECODE_VOLUME)
179
+ m_decodeNotifier->SetDecodeVolume(dwValue);
180
+ else
181
+ {
182
+ LOG(WARNING) + L"Attempted to set Decode Volume to an out of range value";
183
+ bRetVal = FALSE;
184
+ }
185
+ }
186
+ else if (cmp(szPropertyName, L"decodeDuration"))
187
+ {
188
+ DWORD dwValue = StringToInt(szPropertyValue);
189
+ if (dwValue <= MAXIMUM_DECODE_DURATION)
190
+ m_decodeNotifier->SetDecodeDuration(dwValue);
191
+ else
192
+ {
193
+ LOG(WARNING) + L"Attempted to set Decode Duration to an out of range value";
194
+ bRetVal = FALSE;
195
+ }
196
+ }
197
+ else if (cmp(szPropertyName, L"successfulDecodeFrequency") || cmp(szPropertyName, L"decodeFrequency"))
198
+ {
199
+ DWORD dwValue = StringToInt(szPropertyValue);
200
+ if (dwValue <= MAXIMUM_SUCCESSFUL_DECODE_FREQUENCY)
201
+ m_decodeNotifier->SetSuccessfulDecodeFrequency(dwValue);
202
+ else
203
+ {
204
+ LOG(WARNING) + L"Attempted to set Successful Decode Frequency to an out of range value";
205
+ bRetVal = FALSE;
206
+ }
207
+ }
208
+ else if (cmp(szPropertyName, L"invalidDecodeFrequency"))
209
+ {
210
+ DWORD dwValue = StringToInt(szPropertyValue);
211
+ if (dwValue <= MAXIMUM_INVALID_DECODE_FREQUENCY)
212
+ m_decodeNotifier->SetInvalidDecodeFrequency(dwValue);
213
+ else
214
+ {
215
+ LOG(WARNING) + L"Attempted to set Invalid Decode Frequency to an out of range value";
216
+ bRetVal = FALSE;
217
+ }
218
+ }
219
+ else if (cmp(szPropertyName, L"successfulDecodeSound") ||
220
+ cmp(szPropertyName, L"DecodeSound"))
221
+ {
222
+ if (szPropertyValue && wcslen(szPropertyValue) == 0)
223
+ m_decodeNotifier->SetSuccessfulDecodeSound(NULL);
224
+ else if (szPropertyValue && wcslen(szPropertyValue) == wcslen(L"url('')") &&
225
+ wcsicmp(szPropertyValue, L"url('')") == 0)
226
+ m_decodeNotifier->SetSuccessfulDecodeSound(NULL);
227
+ else
228
+ m_decodeNotifier->SetSuccessfulDecodeSound(szPropertyValue);
229
+ }
230
+ else if (cmp(szPropertyName, L"invalidDecodeSound"))
231
+ {
232
+ if (szPropertyValue && wcslen(szPropertyValue) == 0)
233
+ m_decodeNotifier->SetInvalidDecodeSound(NULL);
234
+ else if (szPropertyValue && wcslen(szPropertyValue) == wcslen(L"url('')") &&
235
+ wcsicmp(szPropertyValue, L"url('')") == 0)
236
+ m_decodeNotifier->SetInvalidDecodeSound(NULL);
237
+ else
238
+ m_decodeNotifier->SetInvalidDecodeSound(szPropertyValue);
239
+ }
240
+
241
+ return bRetVal;
242
+ }
243
+
244
+ BOOL CScanner::ScannerReaderTag_MetaProc(LPCTSTR szPropertyName, LPCTSTR szPropertyValue)
245
+ {
246
+ BOOL bRetVal = TRUE;
247
+ READER_PARAMS readerParams;
248
+ RetrieveScannerParameters(&readerParams);
249
+ bool bLaser = readerParams.dwReaderType == READER_TYPE_LASER;
250
+ if (cmp(szPropertyName, L"RasterMode"))
251
+ {
252
+ if (bLaser)
253
+ {
254
+ // Note - Raster Mode Cyclone is no longer mentioned in the EMDK help file
255
+ if (cmp(szPropertyValue, L"none"))
256
+ readerParams.ReaderSpecific.laser_specific.dwRasterMode = RASTER_MODE_NONE;
257
+ else if (cmp(szPropertyValue, L"Open_Always") ||
258
+ cmp(szPropertyValue, L"OpenAlways"))
259
+ readerParams.ReaderSpecific.laser_specific.dwRasterMode = RASTER_MODE_OPEN_ALWAYS;
260
+ else if (cmp(szPropertyValue, L"Smart"))
261
+ readerParams.ReaderSpecific.laser_specific.dwRasterMode = RASTER_MODE_SMART;
262
+ else if (cmp(szPropertyValue, L"Cyclone"))
263
+ readerParams.ReaderSpecific.laser_specific.dwRasterMode = RASTER_MODE_CYCLONE;
264
+ else
265
+ bRetVal = FALSE;
266
+ }
267
+ else
268
+ {
269
+ LOG(WARNING) + "Attempted to set laser specific Raster Mode on an Imager Scanner";
270
+ bRetVal = FALSE;
271
+ }
272
+ }
273
+ else if (cmp(szPropertyName, L"AimType"))
274
+ {
275
+ if (bLaser)
276
+ {
277
+ if (cmp(szPropertyValue, L"Trigger"))
278
+ readerParams.ReaderSpecific.laser_specific.dwAimType = AIM_TYPE_TRIGGER;
279
+ else if (cmp(szPropertyValue, L"Timed_Hold") ||
280
+ cmp(szPropertyValue, L"TimedHold"))
281
+ readerParams.ReaderSpecific.laser_specific.dwAimType = AIM_TYPE_TIMED_HOLD;
282
+ else if (cmp(szPropertyValue, L"Timed_Release") ||
283
+ cmp(szPropertyValue, L"TimedRelease"))
284
+ readerParams.ReaderSpecific.laser_specific.dwAimType = AIM_TYPE_TIMED_RELEASE;
285
+ else if (cmp(szPropertyValue, L"Presentation"))
286
+ readerParams.ReaderSpecific.laser_specific.dwAimType = AIM_TYPE_PRESENTATION;
287
+ else if (cmp(szPropertyValue, L"Press_And_Release") ||
288
+ cmp(szPropertyValue, L"PressAndRelease"))
289
+ readerParams.ReaderSpecific.laser_specific.dwAimType = AIM_TYPE_PRESS_AND_RELEASE;
290
+ else if (cmp(szPropertyValue, L"Continuous_Read") ||
291
+ cmp(szPropertyValue, L"ContinuousRead"))
292
+ readerParams.ReaderSpecific.laser_specific.dwAimType = AIM_TYPE_CONTINUOUS_READ;
293
+ else
294
+ bRetVal = FALSE;
295
+ }
296
+ else
297
+ {
298
+ // Setting AimType to Presentation on MK31xx can cause it not to start (ane possibly other side effects)
299
+ WCHAR buf[255];
300
+ if (SystemParametersInfo(SPI_GETOEMINFO, 255, buf, 0))
301
+ {
302
+ if (wcsstr(buf, L"MK31") != NULL)
303
+ {
304
+ LOG(WARNING) + L"Setting Aim Type is not supported on MK31xx devices, the default value is 'Presentation'";
305
+ return FALSE;
306
+ }
307
+ }
308
+
309
+ if (cmp(szPropertyValue, L"Trigger"))
310
+ readerParams.ReaderSpecific.imager_specific.dwAimType = AIM_TYPE_TRIGGER;
311
+ else if (cmp(szPropertyValue, L"Timed_Hold") ||
312
+ cmp(szPropertyValue, L"TimedHold"))
313
+ readerParams.ReaderSpecific.imager_specific.dwAimType = AIM_TYPE_TIMED_HOLD;
314
+ else if (cmp(szPropertyValue, L"Timed_Release") ||
315
+ cmp(szPropertyValue, L"TimedRelease"))
316
+ readerParams.ReaderSpecific.imager_specific.dwAimType = AIM_TYPE_TIMED_RELEASE;
317
+ else if (cmp(szPropertyValue, L"Presentation"))
318
+ readerParams.ReaderSpecific.imager_specific.dwAimType = AIM_TYPE_PRESENTATION;
319
+ else if (cmp(szPropertyValue, L"Press_And_Release") ||
320
+ cmp(szPropertyValue, L"PressAndRelease"))
321
+ readerParams.ReaderSpecific.imager_specific.dwAimType = AIM_TYPE_PRESS_AND_RELEASE;
322
+ else if (cmp(szPropertyValue, L"Continuous_Read") ||
323
+ cmp(szPropertyValue, L"ContinuousRead"))
324
+ readerParams.ReaderSpecific.imager_specific.dwAimType = AIM_TYPE_CONTINUOUS_READ;
325
+ else
326
+ bRetVal = FALSE;
327
+ }
328
+ }
329
+ else if (cmp(szPropertyName, L"AimMode"))
330
+ {
331
+ if (bLaser)
332
+ {
333
+ if (cmp(szPropertyValue, L"None"))
334
+ readerParams.ReaderSpecific.laser_specific.dwAimMode = AIM_MODE_NONE;
335
+ else if (cmp(szPropertyValue, L"Dot"))
336
+ readerParams.ReaderSpecific.laser_specific.dwAimMode = AIM_MODE_DOT;
337
+ else if (cmp(szPropertyValue, L"Slab"))
338
+ readerParams.ReaderSpecific.laser_specific.dwAimMode = AIM_MODE_SLAB;
339
+ else if (cmp(szPropertyValue, L"Reticle"))
340
+ readerParams.ReaderSpecific.laser_specific.dwAimMode = AIM_MODE_RETICLE;
341
+ else
342
+ bRetVal = FALSE;
343
+ }
344
+ else
345
+ {
346
+ if (cmp(szPropertyValue, L"None"))
347
+ readerParams.ReaderSpecific.imager_specific.dwAimMode = AIM_MODE_NONE;
348
+ else if (cmp(szPropertyValue, L"Dot"))
349
+ readerParams.ReaderSpecific.imager_specific.dwAimMode = AIM_MODE_DOT;
350
+ else if (cmp(szPropertyValue, L"Slab"))
351
+ readerParams.ReaderSpecific.imager_specific.dwAimMode = AIM_MODE_SLAB;
352
+ else if (cmp(szPropertyValue, L"Reticle"))
353
+ readerParams.ReaderSpecific.imager_specific.dwAimMode = AIM_MODE_RETICLE;
354
+ else
355
+ bRetVal = FALSE;
356
+ }
357
+ }
358
+ else if (cmp(szPropertyName, L"LinearSecurityLevel"))
359
+ {
360
+ if (bLaser)
361
+ {
362
+ if (cmp(szPropertyValue, L"redundancyAndLength"))
363
+ readerParams.ReaderSpecific.laser_specific.dwLinearSecurityLevel = SECURITY_REDUNDANCY_AND_LENGTH;
364
+ else if (cmp(szPropertyValue, L"shortOrCodabar"))
365
+ readerParams.ReaderSpecific.laser_specific.dwLinearSecurityLevel = SECURITY_SHORT_OR_CODABAR;
366
+ else if (cmp(szPropertyValue, L"longAndShort"))
367
+ readerParams.ReaderSpecific.laser_specific.dwLinearSecurityLevel = SECURITY_LONG_AND_SHORT;
368
+ else if (cmp(szPropertyValue, L"allTwice"))
369
+ readerParams.ReaderSpecific.laser_specific.dwLinearSecurityLevel = SECURITY_ALL_TWICE;
370
+ else if (cmp(szPropertyValue, L"allThrice"))
371
+ readerParams.ReaderSpecific.laser_specific.dwLinearSecurityLevel = SECURITY_ALL_THRICE;
372
+ else
373
+ bRetVal = FALSE;
374
+ }
375
+ else
376
+ {
377
+ // Imager
378
+ if (cmp(szPropertyValue, L"redundancyAndLength"))
379
+ readerParams.ReaderSpecific.imager_specific.dwLinearSecurityLevel = SECURITY_REDUNDANCY_AND_LENGTH;
380
+ else if (cmp(szPropertyValue, L"shortOrCodabar"))
381
+ readerParams.ReaderSpecific.imager_specific.dwLinearSecurityLevel = SECURITY_SHORT_OR_CODABAR;
382
+ else if (cmp(szPropertyValue, L"longAndShort"))
383
+ readerParams.ReaderSpecific.imager_specific.dwLinearSecurityLevel = SECURITY_LONG_AND_SHORT;
384
+ else if (cmp(szPropertyValue, L"allTwice"))
385
+ readerParams.ReaderSpecific.imager_specific.dwLinearSecurityLevel = SECURITY_ALL_TWICE;
386
+ else if (cmp(szPropertyValue, L"allThrice"))
387
+ readerParams.ReaderSpecific.imager_specific.dwLinearSecurityLevel = SECURITY_ALL_THRICE;
388
+ else
389
+ bRetVal = FALSE;
390
+ }
391
+ }
392
+ else if (cmp(szPropertyName, L"DBPMode"))
393
+ {
394
+ if (bLaser)
395
+ {
396
+ if (cmp(szPropertyValue, L"Normal"))
397
+ readerParams.ReaderSpecific.laser_specific.dwDBPMode = DBP_NORMAL;
398
+ else if (cmp(szPropertyValue, L"Composite"))
399
+ readerParams.ReaderSpecific.laser_specific.dwDBPMode = DBP_COMPOSITE;
400
+ else
401
+ bRetVal = FALSE;
402
+ }
403
+ else
404
+ {
405
+ LOG(WARNING) + "Attempted to set Laser setting DBPMode on an Imager Scanner";
406
+ bRetVal = FALSE;
407
+ }
408
+ }
409
+ else if (cmp(szPropertyName, L"FocusMode"))
410
+ {
411
+ if (!bLaser)
412
+ {
413
+ if (cmp(szPropertyValue, L"Fixed"))
414
+ readerParams.ReaderSpecific.imager_specific.dwFocusMode = FOCUS_MODE_FIXED;
415
+ else if (cmp(szPropertyValue, L"Auto"))
416
+ readerParams.ReaderSpecific.imager_specific.dwFocusMode = FOCUS_MODE_AUTO;
417
+ else
418
+ bRetVal = FALSE;
419
+ }
420
+ else
421
+ {
422
+ LOG(WARNING) + "Attempted to set Imager Scanner only property FocusMode on a Laser Scanner";
423
+ bRetVal = FALSE;
424
+ }
425
+ }
426
+ else if (cmp(szPropertyName, L"PicklistMode"))
427
+ {
428
+ if (!bLaser)
429
+ {
430
+ if (cmp(szPropertyValue, L"Disabled"))
431
+ readerParams.ReaderSpecific.imager_specific.dwPicklistModeEx = PICKLIST_DISABLED;
432
+ else if (cmp(szPropertyValue, L"HardwareReticle"))
433
+ readerParams.ReaderSpecific.imager_specific.dwPicklistModeEx = PICKLIST_HARDWARE_RETICLE;
434
+ else if (cmp(szPropertyValue, L"SoftwareReticle"))
435
+ readerParams.ReaderSpecific.imager_specific.dwPicklistModeEx = PICKLIST_SOFTWARE_RETICLE;
436
+ else
437
+ bRetVal = FALSE;
438
+ }
439
+ else
440
+ {
441
+ LOG(WARNING) + "Attempted to set Imager Scanner only property PicklistMode on a Laser Scanner";
442
+ bRetVal = FALSE;
443
+ }
444
+ }
445
+ else if (cmp(szPropertyName, L"IlluminationMode"))
446
+ {
447
+ if (!bLaser)
448
+ {
449
+ if (cmp(szPropertyValue, L"Auto"))
450
+ readerParams.ReaderSpecific.imager_specific.dwIlluminationMode = ILLUMINATION_AUTO;
451
+ else if (cmp(szPropertyValue, L"AlwaysOn"))
452
+ readerParams.ReaderSpecific.imager_specific.dwIlluminationMode = ILLUMINATION_ALWAYS_ON;
453
+ else if (cmp(szPropertyValue, L"AlwaysOff"))
454
+ readerParams.ReaderSpecific.imager_specific.dwIlluminationMode = ILLUMINATION_ALWAYS_OFF;
455
+ else
456
+ bRetVal = FALSE;
457
+ }
458
+ else
459
+ {
460
+ LOG(WARNING) + "Attempted to set Imager Scanner only property IlluminationMode on a Laser Scanner";
461
+ bRetVal = FALSE;
462
+ }
463
+ }
464
+ else if (cmp(szPropertyName, L"ViewfinderMode"))
465
+ {
466
+ if (!bLaser)
467
+ {
468
+ if (EnabledValue(szPropertyValue))
469
+ readerParams.ReaderSpecific.imager_specific.dwVFMode = VIEWFINDER_MODE_ENABLED;
470
+ else if (DisabledValue(szPropertyValue))
471
+ readerParams.ReaderSpecific.imager_specific.dwVFMode = VIEWFINDER_MODE_DISABLED;
472
+ else if (cmp(szPropertyValue, L"StaticReticle"))
473
+ readerParams.ReaderSpecific.imager_specific.dwVFMode = VIEWFINDER_MODE_STATIC_RETICLE;
474
+ else if (cmp(szPropertyValue, L"DynamicReticle"))
475
+ readerParams.ReaderSpecific.imager_specific.dwVFMode = VIEWFINDER_MODE_DYNAMIC_RETICLE;
476
+ else
477
+ bRetVal = FALSE;
478
+ }
479
+ else
480
+ {
481
+ LOG(WARNING) + "Attempted to set Imager Scanner only property ViewfinderMode on a Laser Scanner";
482
+ bRetVal = FALSE;
483
+ }
484
+ }
485
+ else if (cmp(szPropertyName, L"ViewfinderFeedback"))
486
+ {
487
+ if (!bLaser)
488
+ {
489
+ if (EnabledValue(szPropertyValue))
490
+ readerParams.ReaderSpecific.imager_specific.dwVFFeedback = VIEWFINDER_FEEDBACK_ENABLED;
491
+ else if (DisabledValue(szPropertyValue))
492
+ readerParams.ReaderSpecific.imager_specific.dwVFFeedback = VIEWFINDER_FEEDBACK_DISABLED;
493
+ else if (cmp(szPropertyValue, L"Reticle"))
494
+ readerParams.ReaderSpecific.imager_specific.dwVFFeedback = VIEWFINDER_FEEDBACK_RETICLE;
495
+ else
496
+ bRetVal = FALSE;
497
+ }
498
+ else
499
+ {
500
+ LOG(WARNING) + "Attempted to set Imager Scanner only property ViewfinderFeedback on a Laser Scanner";
501
+ bRetVal = FALSE;
502
+ }
503
+ }
504
+ else if (cmp(szPropertyName, L"Inverse1DMode"))
505
+ {
506
+ if (!bLaser)
507
+ {
508
+ if (EnabledValue(szPropertyValue))
509
+ readerParams.ReaderSpecific.imager_specific.dwInverse1DMode = INVERSE_ENABLE;
510
+ else if (DisabledValue(szPropertyValue))
511
+ readerParams.ReaderSpecific.imager_specific.dwInverse1DMode = INVERSE_DISABLE;
512
+ else if (cmp(szPropertyValue, L"Auto"))
513
+ readerParams.ReaderSpecific.imager_specific.dwInverse1DMode = INVERSE_AUTO;
514
+ else
515
+ bRetVal = FALSE;
516
+ }
517
+ else
518
+ {
519
+ LOG(WARNING) + "Attempted to set Imager Scanner only property Inverse1DMode on a Laser Scanner";
520
+ bRetVal = FALSE;
521
+ }
522
+ }
523
+ else if (cmp(szPropertyName, L"TimedAimDuration"))
524
+ {
525
+ int iValue = StringToInt(szPropertyValue);
526
+ if (iValue >= MINIMUM_TIMED_AIM_DURATION)
527
+ {
528
+ if (bLaser)
529
+ readerParams.ReaderSpecific.laser_specific.dwAimDuration = iValue;
530
+ else
531
+ readerParams.ReaderSpecific.imager_specific.dwAimDuration = iValue;
532
+ }
533
+ else
534
+ {
535
+ LOG(WARNING) + L"TimedAimDuration is out of Range";
536
+ bRetVal = FALSE;
537
+ }
538
+ }
539
+ else if (cmp(szPropertyName, L"NarrowBeam"))
540
+ {
541
+ LOG(INFO) + L"NarrowBeam has been deprecated, please use BeamWidth in preference";
542
+ if (bLaser)
543
+ {
544
+ if (cmp(szPropertyValue, L"TRUE"))
545
+ readerParams.ReaderSpecific.laser_specific.bNarrowBeam = TRUE;
546
+ else if (cmp(szPropertyValue, L"FALSE"))
547
+ readerParams.ReaderSpecific.laser_specific.bNarrowBeam = FALSE;
548
+ else
549
+ bRetVal = FALSE;
550
+ }
551
+ else
552
+ {
553
+ LOG(WARNING) + "Attempted to set Laser Scanner only property NarrowBeam on an Imager Scanner";
554
+ bRetVal = FALSE;
555
+ }
556
+
557
+ }
558
+ else if (cmp(szPropertyName, L"BeamWidth"))
559
+ {
560
+ if (bLaser)
561
+ {
562
+ if (cmp(szPropertyValue, L"Normal"))
563
+ readerParams.ReaderSpecific.laser_specific.dwBeamWidth = BEAM_WIDTH_NORMAL;
564
+ else if (cmp(szPropertyValue, L"Narrow"))
565
+ readerParams.ReaderSpecific.laser_specific.dwBeamWidth = BEAM_WIDTH_NARROW;
566
+ else if (cmp(szPropertyValue, L"Wide"))
567
+ readerParams.ReaderSpecific.laser_specific.dwBeamWidth = BEAM_WIDTH_WIDE;
568
+ else
569
+ bRetVal = FALSE;
570
+ }
571
+ else
572
+ {
573
+ LOG(WARNING) + "Attempted to set Laser Scanner only property BeamWidth on an Imager Scanner";
574
+ bRetVal = FALSE;
575
+ }
576
+ }
577
+ else if (cmp(szPropertyName, L"ScanTimeout"))
578
+ {
579
+ int iValue = StringToInt(szPropertyValue);
580
+ if (iValue >= MINIMUM_SCAN_TIMEOUT_DURATION)
581
+ {
582
+ if (bLaser)
583
+ readerParams.ReaderSpecific.laser_specific.dwBeamTimer = iValue;
584
+ else
585
+ readerParams.ReaderSpecific.imager_specific.dwBeamTimer = iValue;
586
+ }
587
+ else
588
+ {
589
+ LOG(WARNING) + L"ScanTimeout is out of Range";
590
+ bRetVal = FALSE;
591
+ }
592
+ }
593
+ else if (cmp(szPropertyName, L"KlasseEins"))
594
+ {
595
+ if (bLaser)
596
+ {
597
+ if (cmp(szPropertyValue, L"TRUE"))
598
+ readerParams.ReaderSpecific.laser_specific.bKlasseEinsEnable = TRUE;
599
+ else if (cmp(szPropertyValue, L"FALSE"))
600
+ readerParams.ReaderSpecific.laser_specific.bKlasseEinsEnable = FALSE;
601
+ else
602
+ bRetVal = FALSE;
603
+ }
604
+ else
605
+ {
606
+ LOG(WARNING) + "Attempted to set Laser Scanner only property KlasseEins on an Imager Scanner";
607
+ bRetVal = FALSE;
608
+ }
609
+ }
610
+ else if (cmp(szPropertyName, L"BidirectionalRedundancy"))
611
+ {
612
+ if (bLaser)
613
+ {
614
+ if (cmp(szPropertyValue, L"TRUE"))
615
+ readerParams.ReaderSpecific.laser_specific.bBidirRedundancy = TRUE;
616
+ else if (cmp(szPropertyValue, L"FALSE"))
617
+ readerParams.ReaderSpecific.laser_specific.bBidirRedundancy = FALSE;
618
+ else
619
+ bRetVal = FALSE;
620
+ }
621
+ else
622
+ {
623
+ LOG(WARNING) + "Attempted to set Laser Scanner only property BidirectionalRedundancy on an Imager Scanner";
624
+ bRetVal = FALSE;
625
+ }
626
+ }
627
+ else if (cmp(szPropertyName, L"RasterHeight"))
628
+ {
629
+ if (bLaser)
630
+ {
631
+ int iValue = StringToInt(szPropertyValue);
632
+ if (iValue >= MINIMUM_RASTER_HEIGHT && iValue <= MAXIMUM_RASTER_HEIGHT)
633
+ {
634
+ readerParams.ReaderSpecific.laser_specific.dwRasterHeight = iValue;
635
+ }
636
+ else
637
+ {
638
+ LOG(WARNING) + L"RasterHeight is out of Range";
639
+ bRetVal = FALSE;
640
+ }
641
+ }
642
+ else
643
+ {
644
+ LOG(WARNING) + "Attempted to set Laser Scanner only property RasterHeight on an Imager Scanner";
645
+ bRetVal = FALSE;
646
+ }
647
+ }
648
+ else if (cmp(szPropertyName, L"SameSymbolTimeout"))
649
+ {
650
+ int iValue = StringToInt(szPropertyValue);
651
+ if (iValue >= MINIMUM_SAME_SYMBOL_TIMEOUT)
652
+ {
653
+ if (bLaser)
654
+ readerParams.ReaderSpecific.laser_specific.dwSameSymbolTimeout = iValue;
655
+ else
656
+ readerParams.ReaderSpecific.imager_specific.dwSameSymbolTimeout = iValue;
657
+ }
658
+ else
659
+ {
660
+ LOG(WARNING) + L"SameSymbolTimeout is out of Range";
661
+ bRetVal = FALSE;
662
+ }
663
+
664
+ }
665
+ else if (cmp(szPropertyName, L"DifferentSymbolTimeout"))
666
+ {
667
+ int iValue = StringToInt(szPropertyValue);
668
+ if (iValue >= MINIMUM_DIFFERENT_SYMBOL_TIMEOUT)
669
+ {
670
+ if (bLaser)
671
+ readerParams.ReaderSpecific.laser_specific.dwDifferentSymbolTimeout = iValue;
672
+ else
673
+ readerParams.ReaderSpecific.imager_specific.dwDifferentSymbolTimeout = iValue;
674
+ }
675
+ else
676
+ {
677
+ LOG(WARNING) + L"DifferentSymbolTimeout is out of Range";
678
+ bRetVal = FALSE;
679
+ }
680
+ }
681
+ else if (cmp(szPropertyName, L"PoorQuality1DMode"))
682
+ {
683
+ if (!bLaser)
684
+ {
685
+ if (cmp(szPropertyValue, L"TRUE"))
686
+ readerParams.ReaderSpecific.imager_specific.bPoorQuality1DMode = TRUE;
687
+ else if (cmp(szPropertyValue, L"FALSE"))
688
+ readerParams.ReaderSpecific.imager_specific.bPoorQuality1DMode = FALSE;
689
+ else
690
+ bRetVal = FALSE;
691
+ }
692
+ else
693
+ {
694
+ LOG(WARNING) + "Attempted to set Imager Scanner only property PoorQuality1DMode on a Laser Scanner";
695
+ bRetVal = FALSE;
696
+ }
697
+ }
698
+ else if (cmp(szPropertyName, L"DPMMode"))
699
+ {
700
+ if (bLaser)
701
+ {
702
+ if (EnabledValue(szPropertyValue) ||
703
+ cmp(szPropertyValue, L"TRUE"))
704
+ readerParams.ReaderSpecific.imager_specific.dwDPMMode = DPM_ENABLED;
705
+ else if (DisabledValue(szPropertyValue) ||
706
+ cmp(szPropertyValue, L"FALSE"))
707
+ readerParams.ReaderSpecific.imager_specific.dwDPMMode = DPM_DISABLED;
708
+ else
709
+ bRetVal = FALSE;
710
+ }
711
+ else
712
+ {
713
+ LOG(WARNING) + "Attempted to set Imager Scanner only property DPMMode on a Laser Scanner";
714
+ bRetVal = FALSE;
715
+ }
716
+ }
717
+ else if (cmp(szPropertyName, L"ViewfinderX"))
718
+ {
719
+ if (!bLaser)
720
+ {
721
+ // There is lots of logic around setting the viewfinder position as the EMDK
722
+ // complains if you try and set the values beyond the screen coordinates.
723
+ // We therefore keep track of the requested coordinates but only set the values
724
+ // at the EMDK that do not exceed the screen dimensions (in which case we
725
+ // set to the screen dimensions)
726
+ // Unfortunately the EMDK locks it's maximum size to the screen orientation
727
+ // when you first launch so you can't properly handle orientation changes.
728
+ int iScreenWidth = GetSystemMetrics(SM_CXSCREEN) - 1;
729
+ int iScreenHeight = GetSystemMetrics(SM_CYSCREEN) - 1;
730
+ int iValue = StringToInt(szPropertyValue);
731
+ if (iValue >= MINIMUM_VIEWFINDER_X && iValue <= iScreenWidth)
732
+ {
733
+ int iRight = m_iViewfinderRequestedRight;
734
+ if (iRight == -1)
735
+ iRight = readerParams.ReaderSpecific.imager_specific.rVFPosition.right;
736
+ int iLeft = m_iViewfinderRequestedLeft;
737
+ if (iLeft == -1)
738
+ iLeft = readerParams.ReaderSpecific.imager_specific.rVFPosition.left;
739
+ int iWidth = iRight - iLeft;
740
+ // Move the whole window
741
+ m_iViewfinderRequestedLeft = iValue;
742
+ m_iViewfinderRequestedRight = iValue + iWidth;
743
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.left = iValue;
744
+ if (m_iViewfinderRequestedRight > iScreenWidth)
745
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.right = iScreenWidth;
746
+ else
747
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.right = m_iViewfinderRequestedRight;
748
+ if (readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom > iScreenHeight)
749
+ {
750
+ m_iViewfinderRequestedBottom = readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom;
751
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom = iScreenHeight;
752
+ }
753
+ }
754
+ else
755
+ {
756
+ LOG(WARNING) + L"ViewfinderX is out of Range";
757
+ bRetVal = FALSE;
758
+ }
759
+ }
760
+ else
761
+ {
762
+ LOG(WARNING) + "Attempted to set Imager Scanner only property ViewfinderX on a Laser Scanner";
763
+ bRetVal = FALSE;
764
+ }
765
+ }
766
+ else if (cmp(szPropertyName, L"ViewfinderY"))
767
+ {
768
+ if (!bLaser)
769
+ {
770
+ int iScreenWidth = GetSystemMetrics(SM_CXSCREEN) - 1;
771
+ int iScreenHeight = GetSystemMetrics(SM_CYSCREEN) - 1;
772
+ int iValue = StringToInt(szPropertyValue);
773
+ if (iValue >= MINIMUM_VIEWFINDER_Y && iValue <= iScreenHeight)
774
+ {
775
+ int iBottom = m_iViewfinderRequestedBottom;
776
+ if (iBottom == -1)
777
+ iBottom = readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom;
778
+ int iTop = m_iViewfinderRequestedTop;
779
+ if (iTop == -1)
780
+ iTop = readerParams.ReaderSpecific.imager_specific.rVFPosition.top;
781
+ int iHeight = iBottom - iTop;
782
+ // Move the whole window
783
+ m_iViewfinderRequestedTop = iValue;
784
+ m_iViewfinderRequestedBottom = iValue + iHeight;
785
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.top = m_iViewfinderRequestedTop;
786
+ if (m_iViewfinderRequestedBottom > iScreenHeight)
787
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom = iScreenHeight;
788
+ else
789
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom = m_iViewfinderRequestedBottom;
790
+ if (readerParams.ReaderSpecific.imager_specific.rVFPosition.right > iScreenWidth)
791
+ {
792
+ m_iViewfinderRequestedRight = readerParams.ReaderSpecific.imager_specific.rVFPosition.right;
793
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.right = iScreenWidth;
794
+ }
795
+ }
796
+ else
797
+ {
798
+ LOG(WARNING) + L"ViewfinderY is out of Range";
799
+ bRetVal = FALSE;
800
+ }
801
+ }
802
+ else
803
+ {
804
+ LOG(WARNING) + "Attempted to set Imager Scanner only property ViewfinderY on a Laser Scanner";
805
+ bRetVal = FALSE;
806
+ }
807
+ }
808
+ else if (cmp(szPropertyName, L"ViewfinderWidth"))
809
+ {
810
+ if (!bLaser)
811
+ {
812
+ int iScreenWidth = GetSystemMetrics(SM_CXSCREEN) - 1;
813
+ int iScreenHeight = GetSystemMetrics(SM_CYSCREEN) - 1;
814
+ int iValue = StringToInt(szPropertyValue);
815
+ if ((iValue) >= MINIMUM_VIEWFINDER_WIDTH)
816
+ {
817
+ int iLeft = m_iViewfinderRequestedLeft;
818
+ if (iLeft == -1)
819
+ iLeft = readerParams.ReaderSpecific.imager_specific.rVFPosition.left;
820
+ m_iViewfinderRequestedRight = iLeft + iValue;
821
+ if (m_iViewfinderRequestedRight > iScreenWidth)
822
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.right = iScreenWidth;
823
+ else
824
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.right = m_iViewfinderRequestedRight;
825
+ if (readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom > iScreenHeight)
826
+ {
827
+ m_iViewfinderRequestedBottom = readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom;
828
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom = iScreenHeight;
829
+ }
830
+ }
831
+ else
832
+ {
833
+ LOG(WARNING) + L"Viewfinder Width is out of Range";
834
+ bRetVal = FALSE;
835
+ }
836
+ }
837
+ else
838
+ {
839
+ LOG(WARNING) + "Attempted to set Imager Scanner only property ViewfinderWidth on a Laser Scanner";
840
+ bRetVal = FALSE;
841
+ }
842
+ }
843
+ else if (cmp(szPropertyName, L"ViewfinderHeight"))
844
+ {
845
+ if (!bLaser)
846
+ {
847
+ int iScreenWidth = GetSystemMetrics(SM_CXSCREEN) - 1;
848
+ int iScreenHeight = GetSystemMetrics(SM_CYSCREEN) - 1;
849
+ int iValue = StringToInt(szPropertyValue);
850
+ if ((iValue) >= MINIMUM_VIEWFINDER_HEIGHT)
851
+ {
852
+ int iTop = m_iViewfinderRequestedTop;
853
+ if (iTop == -1)
854
+ iTop = readerParams.ReaderSpecific.imager_specific.rVFPosition.top;
855
+ m_iViewfinderRequestedBottom = iTop + iValue;
856
+ if (m_iViewfinderRequestedBottom > iScreenHeight)
857
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom = iScreenHeight;
858
+ else
859
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.bottom = m_iViewfinderRequestedBottom;
860
+ if (readerParams.ReaderSpecific.imager_specific.rVFPosition.right > iScreenWidth)
861
+ {
862
+ m_iViewfinderRequestedRight = readerParams.ReaderSpecific.imager_specific.rVFPosition.right;
863
+ readerParams.ReaderSpecific.imager_specific.rVFPosition.right = iScreenWidth;
864
+ }
865
+ }
866
+ else
867
+ {
868
+ LOG(WARNING) + L"Viewfinder Height is out of Range";
869
+ bRetVal = FALSE;
870
+ }
871
+ }
872
+ else
873
+ {
874
+ LOG(WARNING) + "Attempted to set Imager Scanner only property ViewfinderHeight on a Laser Scanner";
875
+ bRetVal = FALSE;
876
+ }
877
+ }
878
+ else if (cmp(szPropertyName, L"ViewfinderFeedbackTime"))
879
+ {
880
+ if (!bLaser)
881
+ {
882
+ int iValue = StringToInt(szPropertyValue);
883
+ if (iValue >= MINIMUM_VIEWFINDER_FEEDBACK_TIME)
884
+ {
885
+ readerParams.ReaderSpecific.imager_specific.dwVFFeedbackTime = iValue;
886
+ }
887
+ else
888
+ {
889
+ LOG(WARNING) + L"Viewfinder Feedback Time is out of Range";
890
+ bRetVal = FALSE;
891
+ }
892
+ }
893
+ else
894
+ {
895
+ LOG(WARNING) + "Attempted to set Imager Scanner only property ViewfinderFeedbackTime on a Laser Scanner";
896
+ bRetVal = FALSE;
897
+ }
898
+ }
899
+ else if (cmp(szPropertyName, L"AdaptiveScanning"))
900
+ {
901
+ if (bLaser)
902
+ {
903
+ if (cmp(szPropertyValue, L"TRUE"))
904
+ readerParams.ReaderSpecific.laser_specific.dwAdaptiveScanning = ADAPTIVE_SCANNING_ENABLE;
905
+ else if (cmp(szPropertyValue, L"FALSE"))
906
+ readerParams.ReaderSpecific.laser_specific.dwAdaptiveScanning = ADAPTIVE_SCANNING_DISABLE;
907
+ else
908
+ bRetVal = FALSE;
909
+ }
910
+ else
911
+ {
912
+ LOG(WARNING) + "Attempted to set Laser Scanner only property AdaptiveScanning on an Imager Scanner";
913
+ bRetVal = FALSE;
914
+ }
915
+ }
916
+ else if (cmp(szPropertyName, L"ScanType"))
917
+ {
918
+ if (cmp(szPropertyValue, L"Foreground"))
919
+ bRetVal = ChangeReadType(SCAN_TYPE_FOREGROUND);
920
+ else if (cmp(szPropertyValue, L"Background"))
921
+ bRetVal = ChangeReadType(SCAN_TYPE_BACKGROUND);
922
+ else if (cmp(szPropertyValue, L"Monitor"))
923
+ bRetVal = ChangeReadType(SCAN_TYPE_MONITOR);
924
+ else
925
+ bRetVal = FALSE;
926
+ }
927
+ else if (cmp(szPropertyName, L"dataBufferSize"))
928
+ {
929
+ int iValue = StringToInt(szPropertyValue);
930
+ if (iValue >= MINIMUM_DATA_BUFFER_SIZE &&
931
+ iValue <= MAXIMUM_DATA_BUFFER_SIZE)
932
+ {
933
+ m_iDataBufferSize = iValue;
934
+ // Free the memory into which the scanned data was stored and reallocate it
935
+ delete[] m_lastScannedData.szData;
936
+ m_lastScannedData.szData = new WCHAR[m_iDataBufferSize];
937
+ if (!m_lastScannedData.szData)
938
+ {
939
+ LOG(ERROR) + L"Unable to allocate memory to return data buffer";
940
+ bRetVal = FALSE;
941
+ }
942
+
943
+ // In order to apply these settings re-establish the Scan Buffer
944
+ m_bResetScanBuffer = true;
945
+ }
946
+ else
947
+ {
948
+ LOG(WARNING) + L"Data Buffer Size is out of Range";
949
+ bRetVal = FALSE;
950
+ }
951
+ }
952
+ else if (cmp(szPropertyName, L"BarcodeDataFormat"))
953
+ {
954
+ if (cmp(szPropertyValue, L"Text"))
955
+ m_bufferFormat = BUFFER_TEXT;
956
+ else if (cmp(szPropertyValue, L"Binary"))
957
+ m_bufferFormat = BUFFER_RAW_DATA;
958
+ else
959
+ bRetVal = FALSE;
960
+
961
+ // In order to apply these settings re-establish the Scan Buffer
962
+ if (bRetVal)
963
+ m_bResetScanBuffer = true;
964
+ }
965
+
966
+ // Apply the settings
967
+ if (bRetVal)
968
+ bRetVal = SetScannerParameters(&readerParams, sizeof(readerParams));
969
+
970
+ return bRetVal;
971
+ }
972
+
973
+ BOOL CScanner::ScannerBluetoothTag_MetaProc(LPCTSTR szPropertyName, LPCTSTR szPropertyValue)
974
+ {
975
+ BOOL bRetVal = TRUE;
976
+ BOOL bApplySettings = TRUE;
977
+ INTERFACE_PARAMS interfaceParams;
978
+ RetrieveScannerInterfaceParameters(&interfaceParams);
979
+ if (cmp(szPropertyName, L"ConnectionIdleTimeout"))
980
+ {
981
+ int iValue = StringToInt(szPropertyValue);
982
+ if (iValue >= MINIMUM_CONNECTION_IDLE_TIMEOUT)
983
+ {
984
+ interfaceParams.InterfaceSpecific.SsiSpecific.dwConnectionIdleTimeout = iValue;
985
+ }
986
+ else
987
+ {
988
+ LOG(WARNING) + L"ConnectionIdleTimeout is out of Range";
989
+ bRetVal = FALSE;
990
+ }
991
+ }
992
+ else if (cmp(szPropertyName, L"DisconnectBTOnDisable"))
993
+ {
994
+ if (cmp(szPropertyValue, L"TRUE"))
995
+ interfaceParams.InterfaceSpecific.SsiSpecific.bBTDisconnectOnExit = TRUE;
996
+ else if (cmp(szPropertyValue, L"FALSE"))
997
+ interfaceParams.InterfaceSpecific.SsiSpecific.bBTDisconnectOnExit = FALSE;
998
+ else
999
+ bRetVal = FALSE;
1000
+
1001
+ }
1002
+ else if (cmp(szPropertyName, L"displayBTAddressBarcodeOnEnable"))
1003
+ {
1004
+ bApplySettings = FALSE;
1005
+ if (cmp(szPropertyValue, L"TRUE"))
1006
+ m_iDisplayBTPairBarcode = BT_PAIRING_BARCODE_DISPLAY;
1007
+ else if (cmp(szPropertyValue, L"FALSE"))
1008
+ m_iDisplayBTPairBarcode = BT_PAIRING_BARCODE_HIDDEN;
1009
+ else
1010
+ bRetVal = FALSE;
1011
+ }
1012
+ else if (cmp(szPropertyName, L"enableTimeout"))
1013
+ {
1014
+ bApplySettings = FALSE;
1015
+ int iValue = StringToInt(szPropertyValue);
1016
+ if (iValue >= MINIMUM_ENABLE_TIMEOUT && iValue <= MAXIMUM_ENABLE_TIMEOUT)
1017
+ m_dwEnableTimeout = iValue;
1018
+ else
1019
+ {
1020
+ LOG(WARNING) + L"EnableTimeout is out of Range";
1021
+ bRetVal = FALSE;
1022
+ }
1023
+ }
1024
+
1025
+ // Apply the settings
1026
+ if (bRetVal && bApplySettings)
1027
+ bRetVal = SetScannerInterfaceParameters(&interfaceParams, sizeof(interfaceParams));
1028
+
1029
+ return bRetVal;
1030
+ }
1031
+
1032
+ #pragma endregion
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+