facter 2.5.7 → 3.9.6.cfacter.20180606

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1531) hide show
  1. checksums.yaml +5 -5
  2. data/ext/facter/Makefile.erb +31 -0
  3. data/ext/facter/cpp-hocon/CMakeLists.txt +67 -0
  4. data/ext/facter/cpp-hocon/CONTRIBUTING.md +9 -0
  5. data/ext/facter/cpp-hocon/LICENSE +17 -0
  6. data/ext/facter/cpp-hocon/MAINTAINERS +33 -0
  7. data/ext/facter/cpp-hocon/README.md +74 -0
  8. data/ext/facter/cpp-hocon/acceptance/Gemfile +18 -0
  9. data/ext/facter/cpp-hocon/acceptance/Rakefile +7 -0
  10. data/ext/{debian/lintian-overrides → facter/cpp-hocon/acceptance/tests/fake.rb} +0 -0
  11. data/ext/facter/cpp-hocon/appveyor.yml +41 -0
  12. data/ext/facter/cpp-hocon/lib/CMakeLists.txt +94 -0
  13. data/ext/facter/cpp-hocon/lib/Doxyfile.in +2312 -0
  14. data/ext/facter/cpp-hocon/lib/inc/hocon/config.hpp +734 -0
  15. data/ext/facter/cpp-hocon/lib/inc/hocon/config_exception.hpp +184 -0
  16. data/ext/facter/cpp-hocon/lib/inc/hocon/config_include_context.hpp +51 -0
  17. data/ext/facter/cpp-hocon/lib/inc/hocon/config_includer.hpp +53 -0
  18. data/ext/facter/cpp-hocon/lib/inc/hocon/config_includer_file.hpp +30 -0
  19. data/ext/facter/cpp-hocon/lib/inc/hocon/config_list.hpp +51 -0
  20. data/ext/facter/cpp-hocon/lib/inc/hocon/config_mergeable.hpp +72 -0
  21. data/ext/facter/cpp-hocon/lib/inc/hocon/config_object.hpp +81 -0
  22. data/ext/facter/cpp-hocon/lib/inc/hocon/config_origin.hpp +98 -0
  23. data/ext/facter/cpp-hocon/lib/inc/hocon/config_parse_options.hpp +139 -0
  24. data/ext/facter/cpp-hocon/lib/inc/hocon/config_parseable.hpp +47 -0
  25. data/ext/facter/cpp-hocon/lib/inc/hocon/config_render_options.hpp +128 -0
  26. data/ext/facter/cpp-hocon/lib/inc/hocon/config_resolve_options.hpp +83 -0
  27. data/ext/facter/cpp-hocon/lib/inc/hocon/config_syntax.hpp +24 -0
  28. data/ext/facter/cpp-hocon/lib/inc/hocon/config_value.hpp +267 -0
  29. data/ext/facter/cpp-hocon/lib/inc/hocon/config_value_factory.hpp +48 -0
  30. data/ext/facter/cpp-hocon/lib/inc/hocon/functional_list.hpp +318 -0
  31. data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document.hpp +95 -0
  32. data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document_factory.hpp +39 -0
  33. data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_node.hpp +32 -0
  34. data/ext/facter/cpp-hocon/lib/inc/hocon/path.hpp +60 -0
  35. data/ext/facter/cpp-hocon/lib/inc/hocon/program_options.hpp +84 -0
  36. data/ext/facter/cpp-hocon/lib/inc/hocon/types.hpp +57 -0
  37. data/ext/facter/cpp-hocon/lib/inc/internal/config_document_parser.hpp +83 -0
  38. data/ext/facter/cpp-hocon/lib/inc/internal/config_parser.hpp +55 -0
  39. data/ext/facter/cpp-hocon/lib/inc/internal/config_util.hpp +17 -0
  40. data/ext/facter/cpp-hocon/lib/inc/internal/container.hpp +28 -0
  41. data/ext/facter/cpp-hocon/lib/inc/internal/default_transformer.hpp +12 -0
  42. data/ext/facter/cpp-hocon/lib/inc/internal/full_includer.hpp +13 -0
  43. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node.hpp +16 -0
  44. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node_value.hpp +12 -0
  45. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_array.hpp +17 -0
  46. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_comment.hpp +14 -0
  47. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_complex_value.hpp +25 -0
  48. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_concatenation.hpp +16 -0
  49. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_field.hpp +29 -0
  50. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_include.hpp +26 -0
  51. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_object.hpp +45 -0
  52. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_path.hpp +25 -0
  53. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_root.hpp +24 -0
  54. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_simple_value.hpp +21 -0
  55. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_single_token.hpp +20 -0
  56. data/ext/facter/cpp-hocon/lib/inc/internal/parseable.hpp +128 -0
  57. data/ext/facter/cpp-hocon/lib/inc/internal/path_builder.hpp +20 -0
  58. data/ext/facter/cpp-hocon/lib/inc/internal/path_parser.hpp +55 -0
  59. data/ext/facter/cpp-hocon/lib/inc/internal/replaceable_merge_stack.hpp +14 -0
  60. data/ext/facter/cpp-hocon/lib/inc/internal/resolve_context.hpp +53 -0
  61. data/ext/facter/cpp-hocon/lib/inc/internal/resolve_result.hpp +21 -0
  62. data/ext/facter/cpp-hocon/lib/inc/internal/resolve_source.hpp +55 -0
  63. data/ext/facter/cpp-hocon/lib/inc/internal/simple_config_document.hpp +28 -0
  64. data/ext/facter/cpp-hocon/lib/inc/internal/simple_config_origin.hpp +67 -0
  65. data/ext/facter/cpp-hocon/lib/inc/internal/simple_include_context.hpp +22 -0
  66. data/ext/facter/cpp-hocon/lib/inc/internal/simple_includer.hpp +79 -0
  67. data/ext/facter/cpp-hocon/lib/inc/internal/substitution_expression.hpp +28 -0
  68. data/ext/facter/cpp-hocon/lib/inc/internal/token.hpp +45 -0
  69. data/ext/facter/cpp-hocon/lib/inc/internal/tokenizer.hpp +143 -0
  70. data/ext/facter/cpp-hocon/lib/inc/internal/tokens.hpp +135 -0
  71. data/ext/facter/cpp-hocon/lib/inc/internal/unmergeable.hpp +20 -0
  72. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_boolean.hpp +26 -0
  73. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_concatenation.hpp +59 -0
  74. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge.hpp +53 -0
  75. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge_object.hpp +57 -0
  76. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_double.hpp +28 -0
  77. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_int.hpp +25 -0
  78. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_long.hpp +28 -0
  79. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_null.hpp +33 -0
  80. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_number.hpp +38 -0
  81. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_reference.hpp +38 -0
  82. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_string.hpp +32 -0
  83. data/ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_list.hpp +75 -0
  84. data/ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_object.hpp +107 -0
  85. data/ext/facter/cpp-hocon/lib/namespaces.dox.in +6 -0
  86. data/ext/facter/cpp-hocon/lib/src/config.cc +573 -0
  87. data/ext/facter/cpp-hocon/lib/src/config_document_factory.cc +24 -0
  88. data/ext/facter/cpp-hocon/lib/src/config_document_parser.cc +620 -0
  89. data/ext/facter/cpp-hocon/lib/src/config_parse_options.cc +101 -0
  90. data/ext/facter/cpp-hocon/lib/src/config_parser.cc +399 -0
  91. data/ext/facter/cpp-hocon/lib/src/config_render_options.cc +44 -0
  92. data/ext/facter/cpp-hocon/lib/src/config_resolve_options.cc +24 -0
  93. data/ext/facter/cpp-hocon/lib/src/config_util.cc +95 -0
  94. data/ext/facter/cpp-hocon/lib/src/config_value_factory.cc +68 -0
  95. data/ext/facter/cpp-hocon/lib/src/default_transformer.cc +94 -0
  96. data/ext/facter/cpp-hocon/lib/src/nodes/abstract_config_node.cc +19 -0
  97. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_array.cc +13 -0
  98. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_comment.cc +15 -0
  99. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_complex_value.cc +50 -0
  100. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_concatenation.cc +14 -0
  101. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_field.cc +80 -0
  102. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_include.cc +38 -0
  103. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_object.cc +318 -0
  104. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_path.cc +47 -0
  105. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_root.cc +70 -0
  106. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_simple_value.cc +50 -0
  107. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_single_token.cc +18 -0
  108. data/ext/facter/cpp-hocon/lib/src/parseable.cc +325 -0
  109. data/ext/facter/cpp-hocon/lib/src/path.cc +219 -0
  110. data/ext/facter/cpp-hocon/lib/src/path_builder.cc +38 -0
  111. data/ext/facter/cpp-hocon/lib/src/path_parser.cc +253 -0
  112. data/ext/facter/cpp-hocon/lib/src/resolve_context.cc +139 -0
  113. data/ext/facter/cpp-hocon/lib/src/resolve_source.cc +216 -0
  114. data/ext/facter/cpp-hocon/lib/src/simple_config_document.cc +69 -0
  115. data/ext/facter/cpp-hocon/lib/src/simple_config_origin.cc +246 -0
  116. data/ext/facter/cpp-hocon/lib/src/simple_include_context.cc +18 -0
  117. data/ext/facter/cpp-hocon/lib/src/simple_includer.cc +186 -0
  118. data/ext/facter/cpp-hocon/lib/src/substitution_expression.cc +35 -0
  119. data/ext/facter/cpp-hocon/lib/src/token.cc +52 -0
  120. data/ext/facter/cpp-hocon/lib/src/tokenizer.cc +568 -0
  121. data/ext/facter/cpp-hocon/lib/src/tokens.cc +257 -0
  122. data/ext/facter/cpp-hocon/lib/src/values/config_boolean.cc +34 -0
  123. data/ext/facter/cpp-hocon/lib/src/values/config_concatenation.cc +260 -0
  124. data/ext/facter/cpp-hocon/lib/src/values/config_delayed_merge.cc +223 -0
  125. data/ext/facter/cpp-hocon/lib/src/values/config_delayed_merge_object.cc +180 -0
  126. data/ext/facter/cpp-hocon/lib/src/values/config_double.cc +35 -0
  127. data/ext/facter/cpp-hocon/lib/src/values/config_int.cc +35 -0
  128. data/ext/facter/cpp-hocon/lib/src/values/config_long.cc +35 -0
  129. data/ext/facter/cpp-hocon/lib/src/values/config_null.cc +35 -0
  130. data/ext/facter/cpp-hocon/lib/src/values/config_number.cc +78 -0
  131. data/ext/facter/cpp-hocon/lib/src/values/config_object.cc +97 -0
  132. data/ext/facter/cpp-hocon/lib/src/values/config_reference.cc +85 -0
  133. data/ext/facter/cpp-hocon/lib/src/values/config_string.cc +47 -0
  134. data/ext/facter/cpp-hocon/lib/src/values/config_value.cc +289 -0
  135. data/ext/facter/cpp-hocon/lib/src/values/simple_config_list.cc +219 -0
  136. data/ext/facter/cpp-hocon/lib/src/values/simple_config_object.cc +515 -0
  137. data/ext/facter/cpp-hocon/lib/tests/CMakeLists.txt +42 -0
  138. data/ext/facter/cpp-hocon/lib/tests/concatenation_test.cc +401 -0
  139. data/ext/facter/cpp-hocon/lib/tests/conf_parser_test.cc +715 -0
  140. data/ext/facter/cpp-hocon/lib/tests/config_document_parser_test.cc +208 -0
  141. data/ext/facter/cpp-hocon/lib/tests/config_document_tests.cc +110 -0
  142. data/ext/facter/cpp-hocon/lib/tests/config_node_test.cc +338 -0
  143. data/ext/facter/cpp-hocon/lib/tests/config_substitution_test.cc +897 -0
  144. data/ext/facter/cpp-hocon/lib/tests/config_test.cc +151 -0
  145. data/ext/facter/cpp-hocon/lib/tests/config_value_factory_test.cc +60 -0
  146. data/ext/facter/cpp-hocon/lib/tests/config_value_test.cc +111 -0
  147. data/ext/facter/cpp-hocon/lib/tests/fixtures.hpp.in +3 -0
  148. data/ext/facter/cpp-hocon/lib/tests/fixtures/test01.conf +91 -0
  149. data/ext/facter/cpp-hocon/lib/tests/fixtures/test01.json +4 -0
  150. data/ext/facter/cpp-hocon/lib/tests/main.cc +8 -0
  151. data/ext/facter/cpp-hocon/lib/tests/path_test.cc +129 -0
  152. data/ext/facter/cpp-hocon/lib/tests/program_options.cc +63 -0
  153. data/ext/facter/cpp-hocon/lib/tests/test.conf +1 -0
  154. data/ext/facter/cpp-hocon/lib/tests/test_utils.cc +452 -0
  155. data/ext/facter/cpp-hocon/lib/tests/test_utils.hpp +139 -0
  156. data/ext/facter/cpp-hocon/lib/tests/token_test.cc +108 -0
  157. data/ext/facter/cpp-hocon/lib/tests/tokenizer_test.cc +694 -0
  158. data/ext/facter/cpp-hocon/lib/version.h.in +28 -0
  159. data/ext/facter/cpp-hocon/locales/CMakeLists.txt +4 -0
  160. data/ext/facter/cpp-hocon/locales/cpp-hocon.pot +767 -0
  161. data/ext/facter/extconf.rb +22 -0
  162. data/ext/facter/facter/CMakeLists.txt +183 -0
  163. data/ext/facter/facter/CONTRIBUTING.md +99 -0
  164. data/ext/facter/facter/Extensibility.md +133 -0
  165. data/ext/facter/facter/LICENSE +17 -0
  166. data/ext/facter/facter/MAINTAINERS +28 -0
  167. data/ext/facter/facter/README.md +295 -0
  168. data/ext/facter/facter/Rakefile +42 -0
  169. data/ext/facter/facter/acceptance/Gemfile +22 -0
  170. data/ext/facter/facter/acceptance/Rakefile +2 -0
  171. data/ext/facter/facter/acceptance/bin/ci-bootstrap-from-artifacts.sh +55 -0
  172. data/ext/facter/facter/acceptance/config/aio/options.rb +3 -0
  173. data/ext/facter/facter/acceptance/config/git/options.rb +3 -0
  174. data/ext/facter/facter/acceptance/config/nodes/aix-53-power.yaml +7 -0
  175. data/ext/facter/facter/acceptance/config/nodes/aix-61-power.yaml +7 -0
  176. data/ext/facter/facter/acceptance/config/nodes/aix-71-power.yaml +7 -0
  177. data/ext/facter/facter/acceptance/config/nodes/huaweios-6-powerpc.yaml +7 -0
  178. data/ext/facter/facter/acceptance/config/nodes/solaris-10-sparc.yaml +9 -0
  179. data/ext/facter/facter/acceptance/config/nodes/solaris-11-sparc.yaml +9 -0
  180. data/ext/facter/facter/acceptance/lib/facter/acceptance/base_fact_utils.rb +563 -0
  181. data/ext/facter/facter/acceptance/lib/facter/acceptance/user_fact_utils.rb +132 -0
  182. data/ext/facter/facter/acceptance/lib/helper.rb +1 -0
  183. data/ext/facter/facter/acceptance/lib/puppet/acceptance/common_utils.rb +10 -0
  184. data/ext/facter/facter/acceptance/lib/puppet/acceptance/git_utils.rb +19 -0
  185. data/ext/facter/facter/acceptance/lib/puppet/acceptance/install_utils.rb +58 -0
  186. data/ext/facter/facter/acceptance/tests/custom_facts/custom_fact_with_10001_weight_overrides_external_fact.rb +30 -0
  187. data/ext/facter/facter/acceptance/tests/custom_facts/having_multiple_facts_in_one_file.rb +40 -0
  188. data/ext/facter/facter/acceptance/tests/custom_facts/using_win32ole_should_not_hang.rb +33 -0
  189. data/ext/facter/facter/acceptance/tests/external_facts/env_var_overrides_external_fact.rb +46 -0
  190. data/ext/facter/facter/acceptance/tests/external_facts/external_dir_overrides_default_external_fact.rb +34 -0
  191. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact.rb +29 -0
  192. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_10000_weight_or_less.rb +30 -0
  193. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_confine.rb +35 -0
  194. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_stderr_messages_output_to_stderr.rb +49 -0
  195. data/ext/facter/facter/acceptance/tests/external_facts/external_facts_only_run_once.rb +43 -0
  196. data/ext/facter/facter/acceptance/tests/external_facts/fact_directory_precedence.rb +109 -0
  197. data/ext/facter/facter/acceptance/tests/external_facts/non_root_users_default_external_fact_directory.rb +142 -0
  198. data/ext/facter/facter/acceptance/tests/external_facts/root_uses_default_external_fact_dir.rb +34 -0
  199. data/ext/facter/facter/acceptance/tests/external_facts/structured_executable_facts.rb +139 -0
  200. data/ext/facter/facter/acceptance/tests/facter_returns_success_on_non_existent_fact.rb +9 -0
  201. data/ext/facter/facter/acceptance/tests/facts/dmi.rb +51 -0
  202. data/ext/facter/facter/acceptance/tests/facts/facterversion.rb +11 -0
  203. data/ext/facter/facter/acceptance/tests/facts/identity.rb +52 -0
  204. data/ext/facter/facter/acceptance/tests/facts/networking_facts.rb +76 -0
  205. data/ext/facter/facter/acceptance/tests/facts/non_root_users_without_errors.rb +32 -0
  206. data/ext/facter/facter/acceptance/tests/facts/operatingsystem_detection_after_clear_on_ubuntu.rb +26 -0
  207. data/ext/facter/facter/acceptance/tests/facts/os_processors_and_kernel.rb +20 -0
  208. data/ext/facter/facter/acceptance/tests/facts/partitions.rb +37 -0
  209. data/ext/facter/facter/acceptance/tests/facts/productname.rb +15 -0
  210. data/ext/facter/facter/acceptance/tests/facts/ruby.rb +59 -0
  211. data/ext/facter/facter/acceptance/tests/facts/validate_file_system_size_bytes.rb +37 -0
  212. data/ext/facter/facter/acceptance/tests/facts/verify_tmpfs_file_system.rb +54 -0
  213. data/ext/facter/facter/acceptance/tests/load_libfacter.rb +66 -0
  214. data/ext/facter/facter/acceptance/tests/no_errors_on_stderr.rb +10 -0
  215. data/ext/facter/facter/acceptance/tests/options/color.rb +16 -0
  216. data/ext/facter/facter/acceptance/tests/options/config.rb +27 -0
  217. data/ext/facter/facter/acceptance/tests/options/config_file/blocklist.rb +35 -0
  218. data/ext/facter/facter/acceptance/tests/options/config_file/blocklist_from_puppet_facts.rb +40 -0
  219. data/ext/facter/facter/acceptance/tests/options/config_file/custom_dir_overridden_by_cli_custom_dir.rb +56 -0
  220. data/ext/facter/facter/acceptance/tests/options/config_file/custom_facts.rb +42 -0
  221. data/ext/facter/facter/acceptance/tests/options/config_file/custom_facts_list.rb +56 -0
  222. data/ext/facter/facter/acceptance/tests/options/config_file/debug.rb +34 -0
  223. data/ext/facter/facter/acceptance/tests/options/config_file/debug_override_config_file.rb +34 -0
  224. data/ext/facter/facter/acceptance/tests/options/config_file/default_file_location.rb +37 -0
  225. data/ext/facter/facter/acceptance/tests/options/config_file/external_dir_conflicts_with_cli_no_external_facts.rb +37 -0
  226. data/ext/facter/facter/acceptance/tests/options/config_file/external_dir_overridden_by_cli_external_dir.rb +40 -0
  227. data/ext/facter/facter/acceptance/tests/options/config_file/external_facts.rb +37 -0
  228. data/ext/facter/facter/acceptance/tests/options/config_file/external_facts_list.rb +43 -0
  229. data/ext/facter/facter/acceptance/tests/options/config_file/load_from_ruby.rb +73 -0
  230. data/ext/facter/facter/acceptance/tests/options/config_file/log_level.rb +35 -0
  231. data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_custom_dir.rb +43 -0
  232. data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_facterlib.rb +43 -0
  233. data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_load_path.rb +49 -0
  234. data/ext/facter/facter/acceptance/tests/options/config_file/no_external_facts.rb +38 -0
  235. data/ext/facter/facter/acceptance/tests/options/config_file/no_external_facts_and_external_dir.rb +34 -0
  236. data/ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_custom_facts.rb +52 -0
  237. data/ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_ruby_facts.rb +34 -0
  238. data/ext/facter/facter/acceptance/tests/options/config_file/trace.rb +48 -0
  239. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_clear_by_empty_ttls_cache_list.rb +71 -0
  240. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_creates_json_cache_file.rb +48 -0
  241. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_do_not_read_the_old_cached_value.rb +58 -0
  242. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_refresh_the_cached_value.rb +61 -0
  243. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_read_from_the_cached_value.rb +57 -0
  244. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_corrupt_are_refreshed.rb +53 -0
  245. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_empty_return_an_empty_value.rb +53 -0
  246. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_creates_json_for_cached_facts.rb +45 -0
  247. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_honors_cached_facts.rb +54 -0
  248. data/ext/facter/facter/acceptance/tests/options/config_file/verbose.rb +34 -0
  249. data/ext/facter/facter/acceptance/tests/options/custom_facts.rb +34 -0
  250. data/ext/facter/facter/acceptance/tests/options/custom_facts_facterlib.rb +33 -0
  251. data/ext/facter/facter/acceptance/tests/options/custom_facts_list.rb +48 -0
  252. data/ext/facter/facter/acceptance/tests/options/custom_facts_load_path.rb +42 -0
  253. data/ext/facter/facter/acceptance/tests/options/debug.rb +12 -0
  254. data/ext/facter/facter/acceptance/tests/options/external_facts.rb +28 -0
  255. data/ext/facter/facter/acceptance/tests/options/external_facts_list.rb +35 -0
  256. data/ext/facter/facter/acceptance/tests/options/help.rb +13 -0
  257. data/ext/facter/facter/acceptance/tests/options/json.rb +43 -0
  258. data/ext/facter/facter/acceptance/tests/options/list_block_groups.rb +16 -0
  259. data/ext/facter/facter/acceptance/tests/options/list_cache_groups.rb +16 -0
  260. data/ext/facter/facter/acceptance/tests/options/log_level.rb +13 -0
  261. data/ext/facter/facter/acceptance/tests/options/no_block.rb +34 -0
  262. data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_cache_facts.rb +43 -0
  263. data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_load_cached_facts.rb +58 -0
  264. data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_refresh_cached_facts.rb +63 -0
  265. data/ext/facter/facter/acceptance/tests/options/no_color.rb +16 -0
  266. data/ext/facter/facter/acceptance/tests/options/no_custom_facts.rb +34 -0
  267. data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_custom_dir.rb +19 -0
  268. data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_facterlib.rb +34 -0
  269. data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_load_path.rb +43 -0
  270. data/ext/facter/facter/acceptance/tests/options/no_external_facts.rb +28 -0
  271. data/ext/facter/facter/acceptance/tests/options/no_external_facts_and_external_dir.rb +19 -0
  272. data/ext/facter/facter/acceptance/tests/options/no_ruby.rb +44 -0
  273. data/ext/facter/facter/acceptance/tests/options/puppet_facts.rb +35 -0
  274. data/ext/facter/facter/acceptance/tests/options/show_legacy.rb +18 -0
  275. data/ext/facter/facter/acceptance/tests/options/strict.rb +11 -0
  276. data/ext/facter/facter/acceptance/tests/options/trace.rb +36 -0
  277. data/ext/facter/facter/acceptance/tests/options/verbose.rb +12 -0
  278. data/ext/facter/facter/acceptance/tests/options/version.rb +12 -0
  279. data/ext/facter/facter/acceptance/tests/options/yaml.rb +43 -0
  280. data/ext/facter/facter/acceptance/tests/ticket_1123_facter_with_invalid_locale.rb +22 -0
  281. data/ext/facter/facter/acceptance/tests/ticket_1238_hostname_fqdn.rb +37 -0
  282. data/ext/facter/facter/appveyor.yml +43 -0
  283. data/ext/facter/facter/cmake/FindBLKID.cmake +6 -0
  284. data/ext/facter/facter/cmake/FindCPPHOCON.cmake +6 -0
  285. data/ext/facter/facter/cmake/FindDependency.cmake +54 -0
  286. data/ext/facter/facter/cmake/FindOPENSSL.cmake +10 -0
  287. data/ext/facter/facter/cmake/FindRuby.cmake +286 -0
  288. data/ext/facter/facter/cmake/FindWHEREAMI.cmake +6 -0
  289. data/ext/facter/facter/cmake/FindYAMLCPP.cmake +17 -0
  290. data/ext/facter/facter/contrib/dockerfiles/travis-cpp-builder/Dockerfile +56 -0
  291. data/ext/facter/facter/contrib/dockerfiles/travis-facter-builder/Dockerfile +23 -0
  292. data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/Dockerfile +40 -0
  293. data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/_coverity-submit.erb +12 -0
  294. data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/fix_curl_command.patch +32 -0
  295. data/ext/facter/facter/exe/CMakeLists.txt +39 -0
  296. data/ext/facter/facter/exe/facter.cc +377 -0
  297. data/ext/facter/facter/ext/build_defaults.yaml +16 -0
  298. data/ext/facter/facter/ext/debian/changelog.erb +11 -0
  299. data/ext/{debian → facter/facter/ext/debian}/compat +0 -0
  300. data/ext/facter/facter/ext/debian/control +14 -0
  301. data/ext/facter/facter/ext/debian/copyright +19 -0
  302. data/ext/facter/facter/ext/debian/docs +2 -0
  303. data/ext/facter/facter/ext/debian/facter.install +4 -0
  304. data/ext/facter/facter/ext/debian/lintian-overrides +0 -0
  305. data/ext/facter/facter/ext/debian/rules +39 -0
  306. data/ext/{debian → facter/facter/ext/debian}/source/format +0 -0
  307. data/ext/facter/facter/ext/project_data.yaml +30 -0
  308. data/ext/facter/facter/ext/redhat/facter.spec.erb +113 -0
  309. data/ext/facter/facter/ext/windows/facter.bat +8 -0
  310. data/ext/facter/facter/ext/windows/facter_interactive.bat +6 -0
  311. data/ext/facter/facter/ext/windows/run_facter_interactive.bat +9 -0
  312. data/ext/facter/facter/factergo/example/main.go +17 -0
  313. data/ext/facter/facter/factergo/facter.go +42 -0
  314. data/ext/facter/facter/factergo/facter_test.go +25 -0
  315. data/ext/facter/facter/lib/CMakeLists.txt +408 -0
  316. data/ext/facter/facter/lib/Doxyfile +2313 -0
  317. data/ext/facter/facter/lib/Facter.java.in +110 -0
  318. data/ext/facter/facter/lib/Gemfile +11 -0
  319. data/ext/facter/facter/lib/Rakefile +8 -0
  320. data/ext/facter/facter/lib/docs/generate.rb +25 -0
  321. data/ext/facter/facter/lib/docs/namespaces.dox +129 -0
  322. data/ext/facter/facter/lib/docs/template.erb +43 -0
  323. data/ext/facter/facter/lib/facter.rb.in +45 -0
  324. data/ext/facter/facter/lib/gemspec.in +21 -0
  325. data/ext/facter/facter/lib/inc/facter/cwrapper.hpp +18 -0
  326. data/ext/facter/facter/lib/inc/facter/facts/array_value.hpp +125 -0
  327. data/ext/facter/facter/lib/inc/facter/facts/collection.hpp +339 -0
  328. data/ext/facter/facter/lib/inc/facter/facts/external/resolver.hpp +49 -0
  329. data/ext/facter/facter/lib/inc/facter/facts/fact.hpp +664 -0
  330. data/ext/facter/facter/lib/inc/facter/facts/map_value.hpp +127 -0
  331. data/ext/facter/facter/lib/inc/facter/facts/os.hpp +202 -0
  332. data/ext/facter/facter/lib/inc/facter/facts/os_family.hpp +58 -0
  333. data/ext/facter/facter/lib/inc/facter/facts/resolver.hpp +126 -0
  334. data/ext/facter/facter/lib/inc/facter/facts/scalar_value.hpp +152 -0
  335. data/ext/facter/facter/lib/inc/facter/facts/value.hpp +164 -0
  336. data/ext/facter/facter/lib/inc/facter/facts/vm.hpp +157 -0
  337. data/ext/facter/facter/lib/inc/facter/logging/logging.hpp +192 -0
  338. data/ext/facter/facter/lib/inc/facter/ruby/ruby.hpp +62 -0
  339. data/ext/facter/facter/lib/inc/facter/util/config.hpp +84 -0
  340. data/ext/facter/facter/lib/inc/facter/util/string.hpp +72 -0
  341. data/ext/facter/facter/lib/inc/internal/facts/aix/disk_resolver.hpp +25 -0
  342. data/ext/facter/facter/lib/inc/internal/facts/aix/filesystem_resolver.hpp +41 -0
  343. data/ext/facter/facter/lib/inc/internal/facts/aix/kernel_resolver.hpp +25 -0
  344. data/ext/facter/facter/lib/inc/internal/facts/aix/memory_resolver.hpp +25 -0
  345. data/ext/facter/facter/lib/inc/internal/facts/aix/networking_resolver.hpp +56 -0
  346. data/ext/facter/facter/lib/inc/internal/facts/aix/operating_system_resolver.hpp +24 -0
  347. data/ext/facter/facter/lib/inc/internal/facts/aix/processor_resolver.hpp +25 -0
  348. data/ext/facter/facter/lib/inc/internal/facts/aix/serial_number_resolver.hpp +27 -0
  349. data/ext/facter/facter/lib/inc/internal/facts/bsd/filesystem_resolver.hpp +30 -0
  350. data/ext/facter/facter/lib/inc/internal/facts/bsd/networking_resolver.hpp +59 -0
  351. data/ext/facter/facter/lib/inc/internal/facts/bsd/uptime_resolver.hpp +24 -0
  352. data/ext/facter/facter/lib/inc/internal/facts/cache.hpp +71 -0
  353. data/ext/facter/facter/lib/inc/internal/facts/external/execution_resolver.hpp +31 -0
  354. data/ext/facter/facter/lib/inc/internal/facts/external/json_resolver.hpp +31 -0
  355. data/ext/facter/facter/lib/inc/internal/facts/external/text_resolver.hpp +31 -0
  356. data/ext/facter/facter/lib/inc/internal/facts/external/windows/powershell_resolver.hpp +34 -0
  357. data/ext/facter/facter/lib/inc/internal/facts/external/yaml_resolver.hpp +31 -0
  358. data/ext/facter/facter/lib/inc/internal/facts/freebsd/dmi_resolver.hpp +28 -0
  359. data/ext/facter/facter/lib/inc/internal/facts/freebsd/memory_resolver.hpp +25 -0
  360. data/ext/facter/facter/lib/inc/internal/facts/freebsd/networking_resolver.hpp +49 -0
  361. data/ext/facter/facter/lib/inc/internal/facts/freebsd/operating_system_resolver.hpp +24 -0
  362. data/ext/facter/facter/lib/inc/internal/facts/freebsd/processor_resolver.hpp +25 -0
  363. data/ext/facter/facter/lib/inc/internal/facts/freebsd/virtualization_resolver.hpp +27 -0
  364. data/ext/facter/facter/lib/inc/internal/facts/freebsd/zfs_resolver.hpp +24 -0
  365. data/ext/facter/facter/lib/inc/internal/facts/freebsd/zpool_resolver.hpp +24 -0
  366. data/ext/facter/facter/lib/inc/internal/facts/glib/load_average_resolver.hpp +24 -0
  367. data/ext/facter/facter/lib/inc/internal/facts/linux/disk_resolver.hpp +25 -0
  368. data/ext/facter/facter/lib/inc/internal/facts/linux/dmi_resolver.hpp +37 -0
  369. data/ext/facter/facter/lib/inc/internal/facts/linux/filesystem_resolver.hpp +40 -0
  370. data/ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp +25 -0
  371. data/ext/facter/facter/lib/inc/internal/facts/linux/memory_resolver.hpp +25 -0
  372. data/ext/facter/facter/lib/inc/internal/facts/linux/networking_resolver.hpp +85 -0
  373. data/ext/facter/facter/lib/inc/internal/facts/linux/operating_system_resolver.hpp +28 -0
  374. data/ext/facter/facter/lib/inc/internal/facts/linux/os_cisco.hpp +114 -0
  375. data/ext/facter/facter/lib/inc/internal/facts/linux/os_coreos.hpp +56 -0
  376. data/ext/facter/facter/lib/inc/internal/facts/linux/os_cumulus.hpp +56 -0
  377. data/ext/facter/facter/lib/inc/internal/facts/linux/os_linux.hpp +72 -0
  378. data/ext/facter/facter/lib/inc/internal/facts/linux/processor_resolver.hpp +60 -0
  379. data/ext/facter/facter/lib/inc/internal/facts/linux/release_file.hpp +124 -0
  380. data/ext/facter/facter/lib/inc/internal/facts/linux/uptime_resolver.hpp +24 -0
  381. data/ext/facter/facter/lib/inc/internal/facts/linux/virtualization_resolver.hpp +50 -0
  382. data/ext/facter/facter/lib/inc/internal/facts/openbsd/dmi_resolver.hpp +28 -0
  383. data/ext/facter/facter/lib/inc/internal/facts/openbsd/memory_resolver.hpp +25 -0
  384. data/ext/facter/facter/lib/inc/internal/facts/openbsd/networking_resolver.hpp +49 -0
  385. data/ext/facter/facter/lib/inc/internal/facts/openbsd/processor_resolver.hpp +25 -0
  386. data/ext/facter/facter/lib/inc/internal/facts/openbsd/virtualization_resolver.hpp +25 -0
  387. data/ext/facter/facter/lib/inc/internal/facts/osx/dmi_resolver.hpp +25 -0
  388. data/ext/facter/facter/lib/inc/internal/facts/osx/memory_resolver.hpp +25 -0
  389. data/ext/facter/facter/lib/inc/internal/facts/osx/networking_resolver.hpp +67 -0
  390. data/ext/facter/facter/lib/inc/internal/facts/osx/operating_system_resolver.hpp +25 -0
  391. data/ext/facter/facter/lib/inc/internal/facts/osx/processor_resolver.hpp +25 -0
  392. data/ext/facter/facter/lib/inc/internal/facts/osx/system_profiler_resolver.hpp +25 -0
  393. data/ext/facter/facter/lib/inc/internal/facts/osx/virtualization_resolver.hpp +25 -0
  394. data/ext/facter/facter/lib/inc/internal/facts/posix/identity_resolver.hpp +25 -0
  395. data/ext/facter/facter/lib/inc/internal/facts/posix/kernel_resolver.hpp +25 -0
  396. data/ext/facter/facter/lib/inc/internal/facts/posix/networking_resolver.hpp +55 -0
  397. data/ext/facter/facter/lib/inc/internal/facts/posix/operating_system_resolver.hpp +25 -0
  398. data/ext/facter/facter/lib/inc/internal/facts/posix/processor_resolver.hpp +25 -0
  399. data/ext/facter/facter/lib/inc/internal/facts/posix/ssh_resolver.hpp +28 -0
  400. data/ext/facter/facter/lib/inc/internal/facts/posix/timezone_resolver.hpp +24 -0
  401. data/ext/facter/facter/lib/inc/internal/facts/posix/uptime_resolver.hpp +32 -0
  402. data/ext/facter/facter/lib/inc/internal/facts/posix/xen_resolver.hpp +24 -0
  403. data/ext/facter/facter/lib/inc/internal/facts/resolvers/augeas_resolver.hpp +35 -0
  404. data/ext/facter/facter/lib/inc/internal/facts/resolvers/disk_resolver.hpp +81 -0
  405. data/ext/facter/facter/lib/inc/internal/facts/resolvers/dmi_resolver.hpp +115 -0
  406. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ec2_resolver.hpp +30 -0
  407. data/ext/facter/facter/lib/inc/internal/facts/resolvers/filesystem_resolver.hpp +166 -0
  408. data/ext/facter/facter/lib/inc/internal/facts/resolvers/gce_resolver.hpp +28 -0
  409. data/ext/facter/facter/lib/inc/internal/facts/resolvers/hypervisors_resolver.hpp +69 -0
  410. data/ext/facter/facter/lib/inc/internal/facts/resolvers/identity_resolver.hpp +73 -0
  411. data/ext/facter/facter/lib/inc/internal/facts/resolvers/kernel_resolver.hpp +66 -0
  412. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ldom_resolver.hpp +64 -0
  413. data/ext/facter/facter/lib/inc/internal/facts/resolvers/load_average_resolver.hpp +37 -0
  414. data/ext/facter/facter/lib/inc/internal/facts/resolvers/memory_resolver.hpp +99 -0
  415. data/ext/facter/facter/lib/inc/internal/facts/resolvers/networking_resolver.hpp +156 -0
  416. data/ext/facter/facter/lib/inc/internal/facts/resolvers/operating_system_resolver.hpp +235 -0
  417. data/ext/facter/facter/lib/inc/internal/facts/resolvers/path_resolver.hpp +28 -0
  418. data/ext/facter/facter/lib/inc/internal/facts/resolvers/processor_resolver.hpp +80 -0
  419. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ruby_resolver.hpp +56 -0
  420. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ssh_resolver.hpp +99 -0
  421. data/ext/facter/facter/lib/inc/internal/facts/resolvers/system_profiler_resolver.hpp +127 -0
  422. data/ext/facter/facter/lib/inc/internal/facts/resolvers/timezone_resolver.hpp +36 -0
  423. data/ext/facter/facter/lib/inc/internal/facts/resolvers/uptime_resolver.hpp +36 -0
  424. data/ext/facter/facter/lib/inc/internal/facts/resolvers/virtualization_resolver.hpp +95 -0
  425. data/ext/facter/facter/lib/inc/internal/facts/resolvers/xen_resolver.hpp +55 -0
  426. data/ext/facter/facter/lib/inc/internal/facts/resolvers/zfs_resolver.hpp +59 -0
  427. data/ext/facter/facter/lib/inc/internal/facts/resolvers/zone_resolver.hpp +95 -0
  428. data/ext/facter/facter/lib/inc/internal/facts/resolvers/zpool_resolver.hpp +63 -0
  429. data/ext/facter/facter/lib/inc/internal/facts/solaris/disk_resolver.hpp +25 -0
  430. data/ext/facter/facter/lib/inc/internal/facts/solaris/dmi_resolver.hpp +25 -0
  431. data/ext/facter/facter/lib/inc/internal/facts/solaris/filesystem_resolver.hpp +29 -0
  432. data/ext/facter/facter/lib/inc/internal/facts/solaris/kernel_resolver.hpp +25 -0
  433. data/ext/facter/facter/lib/inc/internal/facts/solaris/ldom_resolver.hpp +25 -0
  434. data/ext/facter/facter/lib/inc/internal/facts/solaris/memory_resolver.hpp +25 -0
  435. data/ext/facter/facter/lib/inc/internal/facts/solaris/networking_resolver.hpp +55 -0
  436. data/ext/facter/facter/lib/inc/internal/facts/solaris/operating_system_resolver.hpp +25 -0
  437. data/ext/facter/facter/lib/inc/internal/facts/solaris/processor_resolver.hpp +25 -0
  438. data/ext/facter/facter/lib/inc/internal/facts/solaris/virtualization_resolver.hpp +25 -0
  439. data/ext/facter/facter/lib/inc/internal/facts/solaris/zfs_resolver.hpp +24 -0
  440. data/ext/facter/facter/lib/inc/internal/facts/solaris/zone_resolver.hpp +25 -0
  441. data/ext/facter/facter/lib/inc/internal/facts/solaris/zpool_resolver.hpp +24 -0
  442. data/ext/facter/facter/lib/inc/internal/facts/windows/dmi_resolver.hpp +38 -0
  443. data/ext/facter/facter/lib/inc/internal/facts/windows/identity_resolver.hpp +25 -0
  444. data/ext/facter/facter/lib/inc/internal/facts/windows/kernel_resolver.hpp +25 -0
  445. data/ext/facter/facter/lib/inc/internal/facts/windows/memory_resolver.hpp +25 -0
  446. data/ext/facter/facter/lib/inc/internal/facts/windows/networking_resolver.hpp +74 -0
  447. data/ext/facter/facter/lib/inc/internal/facts/windows/operating_system_resolver.hpp +36 -0
  448. data/ext/facter/facter/lib/inc/internal/facts/windows/processor_resolver.hpp +36 -0
  449. data/ext/facter/facter/lib/inc/internal/facts/windows/timezone_resolver.hpp +24 -0
  450. data/ext/facter/facter/lib/inc/internal/facts/windows/uptime_resolver.hpp +32 -0
  451. data/ext/facter/facter/lib/inc/internal/facts/windows/virtualization_resolver.hpp +37 -0
  452. data/ext/facter/facter/lib/inc/internal/ruby/aggregate_resolution.hpp +77 -0
  453. data/ext/facter/facter/lib/inc/internal/ruby/chunk.hpp +83 -0
  454. data/ext/facter/facter/lib/inc/internal/ruby/confine.hpp +60 -0
  455. data/ext/facter/facter/lib/inc/internal/ruby/fact.hpp +108 -0
  456. data/ext/facter/facter/lib/inc/internal/ruby/module.hpp +165 -0
  457. data/ext/facter/facter/lib/inc/internal/ruby/resolution.hpp +126 -0
  458. data/ext/facter/facter/lib/inc/internal/ruby/ruby_value.hpp +119 -0
  459. data/ext/facter/facter/lib/inc/internal/ruby/simple_resolution.hpp +56 -0
  460. data/ext/facter/facter/lib/inc/internal/util/agent.hpp +29 -0
  461. data/ext/facter/facter/lib/inc/internal/util/aix/odm.hpp +373 -0
  462. data/ext/facter/facter/lib/inc/internal/util/aix/vmount.hpp +139 -0
  463. data/ext/facter/facter/lib/inc/internal/util/bsd/scoped_ifaddrs.hpp +33 -0
  464. data/ext/facter/facter/lib/inc/internal/util/posix/scoped_addrinfo.hpp +45 -0
  465. data/ext/facter/facter/lib/inc/internal/util/posix/scoped_bio.hpp +34 -0
  466. data/ext/facter/facter/lib/inc/internal/util/posix/scoped_descriptor.hpp +27 -0
  467. data/ext/facter/facter/lib/inc/internal/util/scoped_file.hpp +36 -0
  468. data/ext/facter/facter/lib/inc/internal/util/solaris/k_stat.hpp +176 -0
  469. data/ext/facter/facter/lib/inc/internal/util/solaris/scoped_kstat.hpp +45 -0
  470. data/ext/facter/facter/lib/inc/internal/util/versions.hpp +34 -0
  471. data/ext/facter/facter/lib/inc/internal/util/windows/wsa.hpp +92 -0
  472. data/ext/facter/facter/lib/inc/internal/util/yaml.hpp +25 -0
  473. data/ext/facter/facter/lib/schema/core_facts.pot +2017 -0
  474. data/ext/facter/facter/lib/schema/facter.yaml +1927 -0
  475. data/ext/facter/facter/lib/schema/translation_tooling.rb +67 -0
  476. data/ext/facter/facter/lib/spec/unit/facter_spec.rb +136 -0
  477. data/ext/facter/facter/lib/spec_helper.rb.in +27 -0
  478. data/ext/facter/facter/lib/src/cwrapper.cc +40 -0
  479. data/ext/facter/facter/lib/src/facts/aix/collection.cc +32 -0
  480. data/ext/facter/facter/lib/src/facts/aix/disk_resolver.cc +75 -0
  481. data/ext/facter/facter/lib/src/facts/aix/filesystem_resolver.cc +132 -0
  482. data/ext/facter/facter/lib/src/facts/aix/kernel_resolver.cc +27 -0
  483. data/ext/facter/facter/lib/src/facts/aix/memory_resolver.cc +48 -0
  484. data/ext/facter/facter/lib/src/facts/aix/networking_resolver.cc +250 -0
  485. data/ext/facter/facter/lib/src/facts/aix/operating_system_resolver.cc +61 -0
  486. data/ext/facter/facter/lib/src/facts/aix/processor_resolver.cc +106 -0
  487. data/ext/facter/facter/lib/src/facts/aix/serial_number_resolver.cc +43 -0
  488. data/ext/facter/facter/lib/src/facts/array_value.cc +111 -0
  489. data/ext/facter/facter/lib/src/facts/bsd/collection.cc +27 -0
  490. data/ext/facter/facter/lib/src/facts/bsd/filesystem_resolver.cc +92 -0
  491. data/ext/facter/facter/lib/src/facts/bsd/networking_resolver.cc +175 -0
  492. data/ext/facter/facter/lib/src/facts/bsd/uptime_resolver.cc +23 -0
  493. data/ext/facter/facter/lib/src/facts/cache.cc +117 -0
  494. data/ext/facter/facter/lib/src/facts/collection.cc +661 -0
  495. data/ext/facter/facter/lib/src/facts/external/execution_resolver.cc +89 -0
  496. data/ext/facter/facter/lib/src/facts/external/json_resolver.cc +219 -0
  497. data/ext/facter/facter/lib/src/facts/external/resolver.cc +12 -0
  498. data/ext/facter/facter/lib/src/facts/external/text_resolver.cc +45 -0
  499. data/ext/facter/facter/lib/src/facts/external/windows/powershell_resolver.cc +117 -0
  500. data/ext/facter/facter/lib/src/facts/external/yaml_resolver.cc +45 -0
  501. data/ext/facter/facter/lib/src/facts/freebsd/collection.cc +41 -0
  502. data/ext/facter/facter/lib/src/facts/freebsd/dmi_resolver.cc +39 -0
  503. data/ext/facter/facter/lib/src/facts/freebsd/memory_resolver.cc +76 -0
  504. data/ext/facter/facter/lib/src/facts/freebsd/networking_resolver.cc +64 -0
  505. data/ext/facter/facter/lib/src/facts/freebsd/operating_system_resolver.cc +17 -0
  506. data/ext/facter/facter/lib/src/facts/freebsd/processor_resolver.cc +63 -0
  507. data/ext/facter/facter/lib/src/facts/freebsd/virtualization_resolver.cc +44 -0
  508. data/ext/facter/facter/lib/src/facts/freebsd/zfs_resolver.cc +12 -0
  509. data/ext/facter/facter/lib/src/facts/freebsd/zpool_resolver.cc +12 -0
  510. data/ext/facter/facter/lib/src/facts/glib/load_average_resolver.cc +22 -0
  511. data/ext/facter/facter/lib/src/facts/linux/collection.cc +42 -0
  512. data/ext/facter/facter/lib/src/facts/linux/disk_resolver.cc +80 -0
  513. data/ext/facter/facter/lib/src/facts/linux/dmi_resolver.cc +208 -0
  514. data/ext/facter/facter/lib/src/facts/linux/filesystem_resolver.cc +282 -0
  515. data/ext/facter/facter/lib/src/facts/linux/kernel_resolver.cc +20 -0
  516. data/ext/facter/facter/lib/src/facts/linux/memory_resolver.cc +50 -0
  517. data/ext/facter/facter/lib/src/facts/linux/networking_resolver.cc +284 -0
  518. data/ext/facter/facter/lib/src/facts/linux/operating_system_resolver.cc +175 -0
  519. data/ext/facter/facter/lib/src/facts/linux/os_linux.cc +393 -0
  520. data/ext/facter/facter/lib/src/facts/linux/processor_resolver.cc +200 -0
  521. data/ext/facter/facter/lib/src/facts/linux/uptime_resolver.cc +15 -0
  522. data/ext/facter/facter/lib/src/facts/linux/virtualization_resolver.cc +282 -0
  523. data/ext/facter/facter/lib/src/facts/map_value.cc +119 -0
  524. data/ext/facter/facter/lib/src/facts/openbsd/collection.cc +37 -0
  525. data/ext/facter/facter/lib/src/facts/openbsd/dmi_resolver.cc +47 -0
  526. data/ext/facter/facter/lib/src/facts/openbsd/memory_resolver.cc +76 -0
  527. data/ext/facter/facter/lib/src/facts/openbsd/networking_resolver.cc +64 -0
  528. data/ext/facter/facter/lib/src/facts/openbsd/processor_resolver.cc +59 -0
  529. data/ext/facter/facter/lib/src/facts/openbsd/virtualization_resolver.cc +20 -0
  530. data/ext/facter/facter/lib/src/facts/osx/collection.cc +39 -0
  531. data/ext/facter/facter/lib/src/facts/osx/dmi_resolver.cc +32 -0
  532. data/ext/facter/facter/lib/src/facts/osx/memory_resolver.cc +60 -0
  533. data/ext/facter/facter/lib/src/facts/osx/networking_resolver.cc +80 -0
  534. data/ext/facter/facter/lib/src/facts/osx/operating_system_resolver.cc +49 -0
  535. data/ext/facter/facter/lib/src/facts/osx/processor_resolver.cc +55 -0
  536. data/ext/facter/facter/lib/src/facts/osx/system_profiler_resolver.cc +66 -0
  537. data/ext/facter/facter/lib/src/facts/osx/virtualization_resolver.cc +46 -0
  538. data/ext/facter/facter/lib/src/facts/posix/cache.cc +9 -0
  539. data/ext/facter/facter/lib/src/facts/posix/collection.cc +48 -0
  540. data/ext/facter/facter/lib/src/facts/posix/identity_resolver.cc +79 -0
  541. data/ext/facter/facter/lib/src/facts/posix/kernel_resolver.cc +25 -0
  542. data/ext/facter/facter/lib/src/facts/posix/networking_resolver.cc +137 -0
  543. data/ext/facter/facter/lib/src/facts/posix/operatingsystem_resolver.cc +29 -0
  544. data/ext/facter/facter/lib/src/facts/posix/processor_resolver.cc +22 -0
  545. data/ext/facter/facter/lib/src/facts/posix/ssh_resolver.cc +115 -0
  546. data/ext/facter/facter/lib/src/facts/posix/timezone_resolver.cc +26 -0
  547. data/ext/facter/facter/lib/src/facts/posix/uptime_resolver.cc +53 -0
  548. data/ext/facter/facter/lib/src/facts/posix/xen_resolver.cc +43 -0
  549. data/ext/facter/facter/lib/src/facts/resolver.cc +105 -0
  550. data/ext/facter/facter/lib/src/facts/resolvers/augeas_resolver.cc +56 -0
  551. data/ext/facter/facter/lib/src/facts/resolvers/disk_resolver.cc +69 -0
  552. data/ext/facter/facter/lib/src/facts/resolvers/dmi_resolver.cc +160 -0
  553. data/ext/facter/facter/lib/src/facts/resolvers/ec2_resolver.cc +174 -0
  554. data/ext/facter/facter/lib/src/facts/resolvers/filesystem_resolver.cc +118 -0
  555. data/ext/facter/facter/lib/src/facts/resolvers/gce_resolver.cc +276 -0
  556. data/ext/facter/facter/lib/src/facts/resolvers/hypervisors_resolver.cc +76 -0
  557. data/ext/facter/facter/lib/src/facts/resolvers/identity_resolver.cc +50 -0
  558. data/ext/facter/facter/lib/src/facts/resolvers/kernel_resolver.cc +62 -0
  559. data/ext/facter/facter/lib/src/facts/resolvers/ldom_resolver.cc +60 -0
  560. data/ext/facter/facter/lib/src/facts/resolvers/load_average_resolver.cc +36 -0
  561. data/ext/facter/facter/lib/src/facts/resolvers/memory_resolver.cc +88 -0
  562. data/ext/facter/facter/lib/src/facts/resolvers/networking_resolver.cc +296 -0
  563. data/ext/facter/facter/lib/src/facts/resolvers/operating_system_resolver.cc +276 -0
  564. data/ext/facter/facter/lib/src/facts/resolvers/path_resolver.cc +25 -0
  565. data/ext/facter/facter/lib/src/facts/resolvers/processor_resolver.cc +70 -0
  566. data/ext/facter/facter/lib/src/facts/resolvers/ruby_resolver.cc +109 -0
  567. data/ext/facter/facter/lib/src/facts/resolvers/ssh_resolver.cc +76 -0
  568. data/ext/facter/facter/lib/src/facts/resolvers/system_profiler_resolver.cc +137 -0
  569. data/ext/facter/facter/lib/src/facts/resolvers/timezone_resolver.cc +27 -0
  570. data/ext/facter/facter/lib/src/facts/resolvers/uptime_resolver.cc +63 -0
  571. data/ext/facter/facter/lib/src/facts/resolvers/virtualization_resolver.cc +119 -0
  572. data/ext/facter/facter/lib/src/facts/resolvers/xen_resolver.cc +80 -0
  573. data/ext/facter/facter/lib/src/facts/resolvers/zfs_resolver.cc +63 -0
  574. data/ext/facter/facter/lib/src/facts/resolvers/zone_resolver.cc +91 -0
  575. data/ext/facter/facter/lib/src/facts/resolvers/zpool_resolver.cc +93 -0
  576. data/ext/facter/facter/lib/src/facts/scalar_value.cc +73 -0
  577. data/ext/facter/facter/lib/src/facts/solaris/collection.cc +51 -0
  578. data/ext/facter/facter/lib/src/facts/solaris/disk_resolver.cc +35 -0
  579. data/ext/facter/facter/lib/src/facts/solaris/dmi_resolver.cc +86 -0
  580. data/ext/facter/facter/lib/src/facts/solaris/filesystem_resolver.cc +92 -0
  581. data/ext/facter/facter/lib/src/facts/solaris/kernel_resolver.cc +24 -0
  582. data/ext/facter/facter/lib/src/facts/solaris/ldom_resolver.cc +87 -0
  583. data/ext/facter/facter/lib/src/facts/solaris/memory_resolver.cc +91 -0
  584. data/ext/facter/facter/lib/src/facts/solaris/networking_resolver.cc +188 -0
  585. data/ext/facter/facter/lib/src/facts/solaris/operating_system_resolver.cc +83 -0
  586. data/ext/facter/facter/lib/src/facts/solaris/processor_resolver.cc +105 -0
  587. data/ext/facter/facter/lib/src/facts/solaris/virtualization_resolver.cc +38 -0
  588. data/ext/facter/facter/lib/src/facts/solaris/zfs_resolver.cc +12 -0
  589. data/ext/facter/facter/lib/src/facts/solaris/zone_resolver.cc +33 -0
  590. data/ext/facter/facter/lib/src/facts/solaris/zpool_resolver.cc +12 -0
  591. data/ext/facter/facter/lib/src/facts/windows/cache.cc +11 -0
  592. data/ext/facter/facter/lib/src/facts/windows/collection.cc +91 -0
  593. data/ext/facter/facter/lib/src/facts/windows/dmi_resolver.cc +38 -0
  594. data/ext/facter/facter/lib/src/facts/windows/identity_resolver.cc +46 -0
  595. data/ext/facter/facter/lib/src/facts/windows/kernel_resolver.cc +78 -0
  596. data/ext/facter/facter/lib/src/facts/windows/memory_resolver.cc +25 -0
  597. data/ext/facter/facter/lib/src/facts/windows/networking_resolver.cc +227 -0
  598. data/ext/facter/facter/lib/src/facts/windows/operating_system_resolver.cc +125 -0
  599. data/ext/facter/facter/lib/src/facts/windows/processor_resolver.cc +99 -0
  600. data/ext/facter/facter/lib/src/facts/windows/timezone_resolver.cc +28 -0
  601. data/ext/facter/facter/lib/src/facts/windows/uptime_resolver.cc +26 -0
  602. data/ext/facter/facter/lib/src/facts/windows/virtualization_resolver.cc +63 -0
  603. data/ext/facter/facter/lib/src/java/facter.cc +185 -0
  604. data/ext/facter/facter/lib/src/logging/logging.cc +151 -0
  605. data/ext/facter/facter/lib/src/ruby/aggregate_resolution.cc +249 -0
  606. data/ext/facter/facter/lib/src/ruby/chunk.cc +136 -0
  607. data/ext/facter/facter/lib/src/ruby/confine.cc +84 -0
  608. data/ext/facter/facter/lib/src/ruby/fact.cc +382 -0
  609. data/ext/facter/facter/lib/src/ruby/module.cc +1130 -0
  610. data/ext/facter/facter/lib/src/ruby/resolution.cc +230 -0
  611. data/ext/facter/facter/lib/src/ruby/ruby.cc +150 -0
  612. data/ext/facter/facter/lib/src/ruby/ruby_value.cc +288 -0
  613. data/ext/facter/facter/lib/src/ruby/simple_resolution.cc +156 -0
  614. data/ext/facter/facter/lib/src/util/bsd/scoped_ifaddrs.cc +29 -0
  615. data/ext/facter/facter/lib/src/util/config/config.cc +83 -0
  616. data/ext/facter/facter/lib/src/util/config/posix/config.cc +12 -0
  617. data/ext/facter/facter/lib/src/util/config/windows/config.cc +14 -0
  618. data/ext/facter/facter/lib/src/util/posix/scoped_addrinfo.cc +41 -0
  619. data/ext/facter/facter/lib/src/util/posix/scoped_bio.cc +29 -0
  620. data/ext/facter/facter/lib/src/util/posix/scoped_descriptor.cc +20 -0
  621. data/ext/facter/facter/lib/src/util/scoped_file.cc +26 -0
  622. data/ext/facter/facter/lib/src/util/solaris/k_stat.cc +165 -0
  623. data/ext/facter/facter/lib/src/util/solaris/scoped_kstat.cc +31 -0
  624. data/ext/facter/facter/lib/src/util/string.cc +170 -0
  625. data/ext/facter/facter/lib/src/util/windows/wsa.cc +69 -0
  626. data/ext/facter/facter/lib/src/util/yaml.cc +72 -0
  627. data/ext/facter/facter/lib/tasks/spec.rake +26 -0
  628. data/ext/facter/facter/lib/tests/CMakeLists.txt +172 -0
  629. data/ext/facter/facter/lib/tests/collection_fixture.cc +15 -0
  630. data/ext/facter/facter/lib/tests/collection_fixture.hpp +19 -0
  631. data/ext/facter/facter/lib/tests/cwrapper.cc +22 -0
  632. data/ext/facter/facter/lib/tests/facts/array_value.cc +140 -0
  633. data/ext/facter/facter/lib/tests/facts/boolean_value.cc +67 -0
  634. data/ext/facter/facter/lib/tests/facts/cache.cc +100 -0
  635. data/ext/facter/facter/lib/tests/facts/collection.cc +576 -0
  636. data/ext/facter/facter/lib/tests/facts/double_value.cc +40 -0
  637. data/ext/facter/facter/lib/tests/facts/external/json_resolver.cc +62 -0
  638. data/ext/facter/facter/lib/tests/facts/external/posix/execution_resolver.cc +69 -0
  639. data/ext/facter/facter/lib/tests/facts/external/text_resolver.cc +46 -0
  640. data/ext/facter/facter/lib/tests/facts/external/windows/execution_resolver.cc +69 -0
  641. data/ext/facter/facter/lib/tests/facts/external/windows/powershell_resolver.cc +122 -0
  642. data/ext/facter/facter/lib/tests/facts/external/yaml_resolver.cc +70 -0
  643. data/ext/facter/facter/lib/tests/facts/integer_value.cc +69 -0
  644. data/ext/facter/facter/lib/tests/facts/linux/dmi_resolver.cc +116 -0
  645. data/ext/facter/facter/lib/tests/facts/linux/filesystem_resolver.cc +13 -0
  646. data/ext/facter/facter/lib/tests/facts/linux/processor_fixture.cc +259 -0
  647. data/ext/facter/facter/lib/tests/facts/linux/processor_fixture.hpp +77 -0
  648. data/ext/facter/facter/lib/tests/facts/linux/processor_resolver.cc +312 -0
  649. data/ext/facter/facter/lib/tests/facts/linux/virtualization_resolver.cc +48 -0
  650. data/ext/facter/facter/lib/tests/facts/map_value.cc +116 -0
  651. data/ext/facter/facter/lib/tests/facts/posix/collection.cc +39 -0
  652. data/ext/facter/facter/lib/tests/facts/posix/uptime_resolver.cc +52 -0
  653. data/ext/facter/facter/lib/tests/facts/resolvers/augeas_resolver.cc +58 -0
  654. data/ext/facter/facter/lib/tests/facts/resolvers/disk_resolver.cc +114 -0
  655. data/ext/facter/facter/lib/tests/facts/resolvers/dmi_resolver.cc +152 -0
  656. data/ext/facter/facter/lib/tests/facts/resolvers/filesystem_resolver.cc +206 -0
  657. data/ext/facter/facter/lib/tests/facts/resolvers/identity_resolver.cc +83 -0
  658. data/ext/facter/facter/lib/tests/facts/resolvers/kernel_resolver.cc +61 -0
  659. data/ext/facter/facter/lib/tests/facts/resolvers/ldom_resolver.cc +86 -0
  660. data/ext/facter/facter/lib/tests/facts/resolvers/memory_resolver.cc +135 -0
  661. data/ext/facter/facter/lib/tests/facts/resolvers/networking_resolver.cc +507 -0
  662. data/ext/facter/facter/lib/tests/facts/resolvers/operating_system_resolver.cc +247 -0
  663. data/ext/facter/facter/lib/tests/facts/resolvers/processor_resolver.cc +157 -0
  664. data/ext/facter/facter/lib/tests/facts/resolvers/ruby_resolver.cc +74 -0
  665. data/ext/facter/facter/lib/tests/facts/resolvers/ssh_resolver.cc +96 -0
  666. data/ext/facter/facter/lib/tests/facts/resolvers/system_profiler_resolver.cc +135 -0
  667. data/ext/facter/facter/lib/tests/facts/resolvers/timezone_resolver.cc +49 -0
  668. data/ext/facter/facter/lib/tests/facts/resolvers/uptime_resolver.cc +151 -0
  669. data/ext/facter/facter/lib/tests/facts/resolvers/virtualization_resolver.cc +175 -0
  670. data/ext/facter/facter/lib/tests/facts/resolvers/xen_resolver.cc +100 -0
  671. data/ext/facter/facter/lib/tests/facts/resolvers/zfs_resolver.cc +65 -0
  672. data/ext/facter/facter/lib/tests/facts/resolvers/zone_resolver.cc +122 -0
  673. data/ext/facter/facter/lib/tests/facts/resolvers/zpool_resolver.cc +69 -0
  674. data/ext/facter/facter/lib/tests/facts/schema.cc +779 -0
  675. data/ext/facter/facter/lib/tests/facts/string_value.cc +270 -0
  676. data/ext/facter/facter/lib/tests/facts/windows/collection.cc +60 -0
  677. data/ext/facter/facter/lib/tests/facts/windows/networking_resolver.cc +217 -0
  678. data/ext/facter/facter/lib/tests/fixtures.cc +62 -0
  679. data/ext/facter/facter/lib/tests/fixtures.hpp.in +27 -0
  680. data/ext/facter/facter/lib/tests/fixtures/execution/with space/command_with_space.bat +2 -0
  681. data/ext/facter/facter/lib/tests/fixtures/facts/external/json/facts.json +12 -0
  682. data/ext/facter/facter/lib/tests/fixtures/facts/external/json/invalid.json +1 -0
  683. data/ext/facter/facter/lib/tests/fixtures/facts/external/ordering/bar/foo.yaml +1 -0
  684. data/ext/facter/facter/lib/tests/fixtures/facts/external/ordering/foo/foo.yaml +1 -0
  685. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/error_message +4 -0
  686. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/facts +5 -0
  687. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/failed +3 -0
  688. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/not_executable +1 -0
  689. data/ext/facter/facter/lib/tests/fixtures/facts/external/text/facts.txt +4 -0
  690. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/error_message.bat +4 -0
  691. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/facts.bat +4 -0
  692. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/failed.cmd +2 -0
  693. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/not_executable +1 -0
  694. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/ruby_script.rb +1 -0
  695. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/error_message.ps1 +3 -0
  696. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/facts.ps1 +4 -0
  697. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/failed.ps1 +2 -0
  698. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/json.ps1 +21 -0
  699. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/not_executable +1 -0
  700. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/yaml.ps1 +18 -0
  701. data/ext/facter/facter/lib/tests/fixtures/facts/external/yaml/facts.yaml +15 -0
  702. data/ext/facter/facter/lib/tests/fixtures/facts/external/yaml/invalid.yaml +1 -0
  703. data/ext/facter/facter/lib/tests/fixtures/facts/external/z/303/266/facts.rb +3 -0
  704. data/ext/facter/facter/lib/tests/fixtures/facts/external/z/303/266/facts.txt +1 -0
  705. data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure +3 -0
  706. data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure-unknown +3 -0
  707. data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/not-azure +0 -0
  708. data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full.txt +83 -0
  709. data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full_alternative.txt +83 -0
  710. data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/none.txt +2 -0
  711. data/ext/facter/facter/lib/tests/fixtures/ruby/100_resolutions.rb +7 -0
  712. data/ext/facter/facter/lib/tests/fixtures/ruby/101_resolutions.rb +7 -0
  713. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate.rb +9 -0
  714. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_invalid_require.rb +9 -0
  715. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_block.rb +30 -0
  716. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_cycle.rb +9 -0
  717. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_invalid_merge.rb +13 -0
  718. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_merge.rb +23 -0
  719. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_require.rb +16 -0
  720. data/ext/facter/facter/lib/tests/fixtures/ruby/array_confine.rb +6 -0
  721. data/ext/facter/facter/lib/tests/fixtures/ruby/array_fact.rb +5 -0
  722. data/ext/facter/facter/lib/tests/fixtures/ruby/bad_command.rb +19 -0
  723. data/ext/facter/facter/lib/tests/fixtures/ruby/bad_syntax.rb +2 -0
  724. data/ext/facter/facter/lib/tests/fixtures/ruby/bignum_fact_value.rb +5 -0
  725. data/ext/facter/facter/lib/tests/fixtures/ruby/block_confine.rb +9 -0
  726. data/ext/facter/facter/lib/tests/fixtures/ruby/block_false_confine.rb +9 -0
  727. data/ext/facter/facter/lib/tests/fixtures/ruby/block_nil_confine.rb +9 -0
  728. data/ext/facter/facter/lib/tests/fixtures/ruby/block_true_confine.rb +9 -0
  729. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_confine.rb +6 -0
  730. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_fact.rb +5 -0
  731. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_confine.rb +6 -0
  732. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_fact.rb +5 -0
  733. data/ext/facter/facter/lib/tests/fixtures/ruby/command_with_space.rb +5 -0
  734. data/ext/facter/facter/lib/tests/fixtures/ruby/confine_missing_fact.rb +22 -0
  735. data/ext/facter/facter/lib/tests/fixtures/ruby/confine_weight.rb +20 -0
  736. data/ext/facter/facter/lib/tests/fixtures/ruby/custom_dir/expect_network_init.rb +15 -0
  737. data/ext/facter/facter/lib/tests/fixtures/ruby/cycle.rb +7 -0
  738. data/ext/facter/facter/lib/tests/fixtures/ruby/debug.rb +7 -0
  739. data/ext/facter/facter/lib/tests/fixtures/ruby/debugging.rb +14 -0
  740. data/ext/facter/facter/lib/tests/fixtures/ruby/debugonce.rb +9 -0
  741. data/ext/facter/facter/lib/tests/fixtures/ruby/define_aggregate_fact.rb +13 -0
  742. data/ext/facter/facter/lib/tests/fixtures/ruby/define_fact.rb +9 -0
  743. data/ext/facter/facter/lib/tests/fixtures/ruby/double_fact.rb +5 -0
  744. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_command.rb +3 -0
  745. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_fact.rb +1 -0
  746. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_fact_with_value.rb +1 -0
  747. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_setcode_command.rb +3 -0
  748. data/ext/facter/facter/lib/tests/fixtures/ruby/exec.rb +7 -0
  749. data/ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_raise.rb +17 -0
  750. data/ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_value.rb +5 -0
  751. data/ext/facter/facter/lib/tests/fixtures/ruby/execute_timeout.rb +1 -0
  752. data/ext/facter/facter/lib/tests/fixtures/ruby/execution_failure.rb +5 -0
  753. data/ext/facter/facter/lib/tests/fixtures/ruby/existing_aggregate_resolution.rb +5 -0
  754. data/ext/facter/facter/lib/tests/fixtures/ruby/existing_simple_resolution.rb +5 -0
  755. data/ext/facter/facter/lib/tests/fixtures/ruby/fact.rb +7 -0
  756. data/ext/facter/facter/lib/tests/fixtures/ruby/facter.rb +7 -0
  757. data/ext/facter/facter/lib/tests/fixtures/ruby/facterversion.rb +17 -0
  758. data/ext/facter/facter/lib/tests/fixtures/ruby/hash_fact.rb +5 -0
  759. data/ext/facter/facter/lib/tests/fixtures/ruby/hash_with_non_string_key.rb +5 -0
  760. data/ext/facter/facter/lib/tests/fixtures/ruby/integer_fact.rb +5 -0
  761. data/ext/facter/facter/lib/tests/fixtures/ruby/log_exception.rb +21 -0
  762. data/ext/facter/facter/lib/tests/fixtures/ruby/lookup.rb +7 -0
  763. data/ext/facter/facter/lib/tests/fixtures/ruby/multi_confine.rb +6 -0
  764. data/ext/facter/facter/lib/tests/fixtures/ruby/named_resolution.rb +13 -0
  765. data/ext/facter/facter/lib/tests/fixtures/ruby/negative_number.rb +5 -0
  766. data/ext/facter/facter/lib/tests/fixtures/ruby/nil_fact.rb +5 -0
  767. data/ext/facter/facter/lib/tests/fixtures/ruby/nonexistent_command.rb +21 -0
  768. data/ext/facter/facter/lib/tests/fixtures/ruby/on_message.rb +16 -0
  769. data/ext/facter/facter/lib/tests/fixtures/ruby/range_confine.rb +6 -0
  770. data/ext/facter/facter/lib/tests/fixtures/ruby/regexp_confine.rb +6 -0
  771. data/ext/facter/facter/lib/tests/fixtures/ruby/ruby.rb +6 -0
  772. data/ext/facter/facter/lib/tests/fixtures/ruby/simple.rb +11 -0
  773. data/ext/facter/facter/lib/tests/fixtures/ruby/simple_command.rb +7 -0
  774. data/ext/facter/facter/lib/tests/fixtures/ruby/simple_confine.rb +6 -0
  775. data/ext/facter/facter/lib/tests/fixtures/ruby/simple_resolution.rb +5 -0
  776. data/ext/facter/facter/lib/tests/fixtures/ruby/single_allocation.rb +7 -0
  777. data/ext/facter/facter/lib/tests/fixtures/ruby/stderr_output.rb +9 -0
  778. data/ext/facter/facter/lib/tests/fixtures/ruby/string_fact.rb +5 -0
  779. data/ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb +10 -0
  780. data/ext/facter/facter/lib/tests/fixtures/ruby/trace.rb +22 -0
  781. data/ext/facter/facter/lib/tests/fixtures/ruby/uni/341/220/201dir/customfacts/342/204/242.rb +6 -0
  782. data/ext/facter/facter/lib/tests/fixtures/ruby/uses_exit_code.rb +7 -0
  783. data/ext/facter/facter/lib/tests/fixtures/ruby/value.rb +6 -0
  784. data/ext/facter/facter/lib/tests/fixtures/ruby/version.rb +2 -0
  785. data/ext/facter/facter/lib/tests/fixtures/ruby/warn.rb +7 -0
  786. data/ext/facter/facter/lib/tests/fixtures/ruby/warnonce.rb +9 -0
  787. data/ext/facter/facter/lib/tests/fixtures/ruby/weight.rb +20 -0
  788. data/ext/facter/facter/lib/tests/fixtures/ruby/weight_option.rb +17 -0
  789. data/ext/facter/facter/lib/tests/fixtures/ruby/which.rb +9 -0
  790. data/ext/facter/facter/lib/tests/fixtures/ruby/windows/ole.rb +7 -0
  791. data/ext/facter/facter/lib/tests/java/facter.cc +69 -0
  792. data/ext/facter/facter/lib/tests/log_capture.cc +29 -0
  793. data/ext/facter/facter/lib/tests/log_capture.hpp +35 -0
  794. data/ext/facter/facter/lib/tests/logging/logging.cc +69 -0
  795. data/ext/facter/facter/lib/tests/main.cc +20 -0
  796. data/ext/facter/facter/lib/tests/mock_server.cc +44 -0
  797. data/ext/facter/facter/lib/tests/mock_server.hpp +25 -0
  798. data/ext/facter/facter/lib/tests/ruby/ruby.cc +634 -0
  799. data/ext/facter/facter/lib/tests/ruby/ruby_dirfacts.cc +35 -0
  800. data/ext/facter/facter/lib/tests/ruby/ruby_helper.cc +41 -0
  801. data/ext/facter/facter/lib/tests/ruby/ruby_helper.hpp +8 -0
  802. data/ext/facter/facter/lib/tests/ruby/windows/ruby.cc +53 -0
  803. data/ext/facter/facter/lib/tests/util/bsd/scoped_ifaddrs.cc +10 -0
  804. data/ext/facter/facter/lib/tests/util/posix/scoped_addrinfo.cc +11 -0
  805. data/ext/facter/facter/lib/tests/util/posix/scoped_bio.cc +12 -0
  806. data/ext/facter/facter/lib/tests/util/posix/scoped_descriptor.cc +22 -0
  807. data/ext/facter/facter/lib/tests/util/string.cc +291 -0
  808. data/ext/facter/facter/lib/version.h.in +28 -0
  809. data/ext/facter/facter/locales/CMakeLists.txt +7 -0
  810. data/ext/facter/facter/locales/FACTER.pot +1529 -0
  811. data/ext/facter/facter/man/man8/facter.8 +205 -0
  812. data/ext/facter/facter/scripts/cpplint.py +4754 -0
  813. data/ext/facter/facter/scripts/travis_target.sh +83 -0
  814. data/ext/facter/facter/tasks/ci.rake +22 -0
  815. data/ext/facter/leatherman/CHANGELOG.md +423 -0
  816. data/ext/facter/leatherman/CMakeLists.txt +143 -0
  817. data/ext/facter/leatherman/CONTRIBUTING.md +98 -0
  818. data/ext/facter/leatherman/LICENSE +17 -0
  819. data/ext/facter/leatherman/LeathermanConfig.cmake.in +57 -0
  820. data/ext/facter/leatherman/LeathermanConfigVersion.cmake.in +11 -0
  821. data/ext/facter/leatherman/MAINTAINERS +28 -0
  822. data/ext/facter/leatherman/README.md +416 -0
  823. data/ext/facter/leatherman/appveyor.yml +40 -0
  824. data/ext/facter/leatherman/catch/CMakeLists.txt +1 -0
  825. data/ext/facter/leatherman/cmake/FindICU.cmake +690 -0
  826. data/ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake +130 -0
  827. data/ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake.in +38 -0
  828. data/ext/facter/leatherman/cmake/cflags.cmake +110 -0
  829. data/ext/facter/leatherman/cmake/generate_translations.cmake +17 -0
  830. data/ext/facter/leatherman/cmake/internal.cmake +241 -0
  831. data/ext/facter/leatherman/cmake/leatherman.cmake.in +369 -0
  832. data/ext/facter/leatherman/cmake/leatherman_config.cmake +80 -0
  833. data/ext/facter/leatherman/cmake/normalize_pot.cmake +17 -0
  834. data/ext/facter/leatherman/cmake/options.cmake +21 -0
  835. data/ext/facter/leatherman/cmake/pod2man.cmake +36 -0
  836. data/ext/facter/leatherman/curl/CMakeLists.txt +42 -0
  837. data/ext/facter/leatherman/curl/inc/leatherman/curl/client.hpp +441 -0
  838. data/ext/facter/leatherman/curl/inc/leatherman/curl/request.hpp +130 -0
  839. data/ext/facter/leatherman/curl/inc/leatherman/curl/response.hpp +80 -0
  840. data/ext/facter/leatherman/curl/src/client.cc +575 -0
  841. data/ext/facter/leatherman/curl/src/request.cc +112 -0
  842. data/ext/facter/leatherman/curl/src/response.cc +62 -0
  843. data/ext/facter/leatherman/curl/tests/CMakeLists.txt +22 -0
  844. data/ext/facter/leatherman/curl/tests/client_test.cc +615 -0
  845. data/ext/facter/leatherman/curl/tests/fixtures.cc +27 -0
  846. data/ext/facter/leatherman/curl/tests/fixtures.hpp +31 -0
  847. data/ext/facter/leatherman/curl/tests/mock_curl.cc +421 -0
  848. data/ext/facter/leatherman/curl/tests/mock_curl.hpp +85 -0
  849. data/ext/facter/leatherman/curl/tests/request_test.cc +87 -0
  850. data/ext/facter/leatherman/curl/tests/response_test.cc +60 -0
  851. data/ext/facter/leatherman/dynamic_library/CMakeLists.txt +43 -0
  852. data/ext/facter/leatherman/dynamic_library/inc/leatherman/dynamic_library/dynamic_library.hpp +122 -0
  853. data/ext/facter/leatherman/dynamic_library/src/dynamic_library.cc +57 -0
  854. data/ext/facter/leatherman/dynamic_library/src/posix/dynamic_library.cc +91 -0
  855. data/ext/facter/leatherman/dynamic_library/src/windows/dynamic_library.cc +128 -0
  856. data/ext/facter/leatherman/dynamic_library/tests/dynamic_library_tests.cc +98 -0
  857. data/ext/facter/leatherman/dynamic_library/tests/fixtures.hpp.in +3 -0
  858. data/ext/facter/leatherman/dynamic_library/tests/test-lib/goodbye.cc +5 -0
  859. data/ext/facter/leatherman/dynamic_library/tests/test-lib/hello.cc +7 -0
  860. data/ext/facter/leatherman/execution/CMakeLists.txt +65 -0
  861. data/ext/facter/leatherman/execution/inc/leatherman/execution/execution.hpp +488 -0
  862. data/ext/facter/leatherman/execution/src/execution.cc +507 -0
  863. data/ext/facter/leatherman/execution/src/posix/execution.cc +575 -0
  864. data/ext/facter/leatherman/execution/src/posix/generic/platform.cc +30 -0
  865. data/ext/facter/leatherman/execution/src/posix/platform.hpp +15 -0
  866. data/ext/facter/leatherman/execution/src/posix/solaris/platform.cc +197 -0
  867. data/ext/facter/leatherman/execution/src/windows/execution.cc +696 -0
  868. data/ext/facter/leatherman/execution/tests/fixtures.hpp.in +2 -0
  869. data/ext/facter/leatherman/execution/tests/fixtures/echo_pid +2 -0
  870. data/ext/facter/leatherman/execution/tests/fixtures/error_message +5 -0
  871. data/ext/facter/leatherman/execution/tests/fixtures/execution/selfkill.sh +3 -0
  872. data/ext/facter/leatherman/execution/tests/fixtures/execution/sleep.sh +3 -0
  873. data/ext/facter/leatherman/execution/tests/fixtures/facts +5 -0
  874. data/ext/facter/leatherman/execution/tests/fixtures/failed +3 -0
  875. data/ext/facter/leatherman/execution/tests/fixtures/ls/crlf.txt +3 -0
  876. data/ext/facter/leatherman/execution/tests/fixtures/ls/file1.txt +1 -0
  877. data/ext/facter/leatherman/execution/tests/fixtures/ls/file2.txt +1 -0
  878. data/ext/facter/leatherman/execution/tests/fixtures/ls/file3.txt +1 -0
  879. data/ext/facter/leatherman/execution/tests/fixtures/ls/file4.txt +7 -0
  880. data/ext/facter/leatherman/execution/tests/fixtures/not_executable +1 -0
  881. data/ext/facter/leatherman/execution/tests/fixtures/windows/error_message.bat +6 -0
  882. data/ext/facter/leatherman/execution/tests/fixtures/windows/facts.bat +4 -0
  883. data/ext/facter/leatherman/execution/tests/fixtures/windows/failed.cmd +2 -0
  884. data/ext/facter/leatherman/execution/tests/fixtures/windows/not_executable +1 -0
  885. data/ext/facter/leatherman/execution/tests/fixtures/windows/ruby_script.rb +1 -0
  886. data/ext/facter/leatherman/execution/tests/log_capture.cc +29 -0
  887. data/ext/facter/leatherman/execution/tests/log_capture.hpp +35 -0
  888. data/ext/facter/leatherman/execution/tests/lth_cat.cc +38 -0
  889. data/ext/facter/leatherman/execution/tests/lth_cat.hpp +9 -0
  890. data/ext/facter/leatherman/execution/tests/posix/execution.cc +728 -0
  891. data/ext/facter/leatherman/execution/tests/posix/solaris/execution.cc +54 -0
  892. data/ext/facter/leatherman/execution/tests/windows/execution.cc +787 -0
  893. data/ext/facter/leatherman/file_util/CMakeLists.txt +18 -0
  894. data/ext/facter/leatherman/file_util/inc/leatherman/file_util/directory.hpp +28 -0
  895. data/ext/facter/leatherman/file_util/inc/leatherman/file_util/file.hpp +95 -0
  896. data/ext/facter/leatherman/file_util/src/directory.cc +51 -0
  897. data/ext/facter/leatherman/file_util/src/file.cc +131 -0
  898. data/ext/facter/leatherman/file_util/tests/directory_utils_test.cc +89 -0
  899. data/ext/facter/leatherman/file_util/tests/file_utils_test.cc +197 -0
  900. data/ext/facter/leatherman/file_util/tests/fixtures.cc +37 -0
  901. data/ext/facter/leatherman/file_util/tests/fixtures.hpp +39 -0
  902. data/ext/facter/leatherman/json_container/CMakeLists.txt +11 -0
  903. data/ext/facter/leatherman/json_container/README.md +108 -0
  904. data/ext/facter/leatherman/json_container/inc/leatherman/json_container/json_container.hpp +436 -0
  905. data/ext/facter/leatherman/json_container/src/json_container.cc +646 -0
  906. data/ext/facter/leatherman/json_container/tests/json_container_test.cc +985 -0
  907. data/ext/facter/leatherman/locale/CMakeLists.txt +46 -0
  908. data/ext/facter/leatherman/locale/disabled/locale.cc +38 -0
  909. data/ext/facter/leatherman/locale/inc/leatherman/locale/locale.hpp +263 -0
  910. data/ext/facter/leatherman/locale/locales/CMakeLists.txt +6 -0
  911. data/ext/facter/leatherman/locale/locales/fr.po +40 -0
  912. data/ext/facter/leatherman/locale/locales/leatherman_locale.pot +41 -0
  913. data/ext/facter/leatherman/locale/src/locale.cc +95 -0
  914. data/ext/facter/leatherman/locale/tests/format.cc +117 -0
  915. data/ext/facter/leatherman/locale/tests/locale.cc +190 -0
  916. data/ext/facter/leatherman/locales/CMakeLists.txt +7 -0
  917. data/ext/facter/leatherman/locales/leatherman.pot +722 -0
  918. data/ext/facter/leatherman/logging/CMakeLists.txt +43 -0
  919. data/ext/facter/leatherman/logging/inc/leatherman/logging/logging.hpp +264 -0
  920. data/ext/facter/leatherman/logging/locales/CMakeLists.txt +6 -0
  921. data/ext/facter/leatherman/logging/locales/fr.po +72 -0
  922. data/ext/facter/leatherman/logging/locales/leatherman_logging.pot +72 -0
  923. data/ext/facter/leatherman/logging/src/logging.cc +227 -0
  924. data/ext/facter/leatherman/logging/src/posix/logging.cc +39 -0
  925. data/ext/facter/leatherman/logging/src/windows/logging.cc +52 -0
  926. data/ext/facter/leatherman/logging/tests/logging.cc +118 -0
  927. data/ext/facter/leatherman/logging/tests/logging.hpp +88 -0
  928. data/ext/facter/leatherman/logging/tests/logging_i18n.cc +103 -0
  929. data/ext/facter/leatherman/logging/tests/logging_on_message.cc +61 -0
  930. data/ext/facter/leatherman/logging/tests/logging_stream.cc +159 -0
  931. data/ext/facter/leatherman/logging/tests/logging_stream_lines.cc +172 -0
  932. data/ext/facter/leatherman/logging/tests/posix/logging.cc +23 -0
  933. data/ext/facter/leatherman/logging/tests/windows/logging.cc +13 -0
  934. data/ext/facter/leatherman/nowide/CMakeLists.txt +7 -0
  935. data/ext/facter/leatherman/rapidjson/CMakeLists.txt +1 -0
  936. data/ext/facter/leatherman/ruby/CMakeLists.txt +26 -0
  937. data/ext/facter/leatherman/ruby/inc/leatherman/ruby/api.hpp +744 -0
  938. data/ext/facter/leatherman/ruby/src/api.cc +527 -0
  939. data/ext/facter/leatherman/ruby/src/posix/api.cc +14 -0
  940. data/ext/facter/leatherman/ruby/src/windows/api.cc +20 -0
  941. data/ext/facter/leatherman/ruby/tests/api-test.cc +206 -0
  942. data/ext/facter/leatherman/scripts/cpplint.py +6323 -0
  943. data/ext/facter/leatherman/scripts/travis_target.sh +79 -0
  944. data/ext/facter/leatherman/tests/CMakeLists.txt +22 -0
  945. data/ext/facter/leatherman/tests/main.cc +17 -0
  946. data/ext/facter/leatherman/util/CMakeLists.txt +36 -0
  947. data/ext/facter/leatherman/util/inc/leatherman/util/environment.hpp +69 -0
  948. data/ext/facter/leatherman/util/inc/leatherman/util/option_set.hpp +228 -0
  949. data/ext/facter/leatherman/util/inc/leatherman/util/posix/scoped_descriptor.hpp +32 -0
  950. data/ext/facter/leatherman/util/inc/leatherman/util/regex.hpp +80 -0
  951. data/ext/facter/leatherman/util/inc/leatherman/util/scope_exit.hpp +62 -0
  952. data/ext/facter/leatherman/util/inc/leatherman/util/scoped_env.hpp +35 -0
  953. data/ext/facter/leatherman/util/inc/leatherman/util/scoped_resource.hpp +130 -0
  954. data/ext/facter/leatherman/util/inc/leatherman/util/strings.hpp +54 -0
  955. data/ext/facter/leatherman/util/inc/leatherman/util/time.hpp +36 -0
  956. data/ext/facter/leatherman/util/inc/leatherman/util/timer.hpp +43 -0
  957. data/ext/facter/leatherman/util/inc/leatherman/util/uri.hpp +23 -0
  958. data/ext/facter/leatherman/util/inc/leatherman/util/windows/scoped_handle.hpp +32 -0
  959. data/ext/facter/leatherman/util/src/environment.cc +29 -0
  960. data/ext/facter/leatherman/util/src/posix/environment.cc +75 -0
  961. data/ext/facter/leatherman/util/src/posix/scoped_descriptor.cc +23 -0
  962. data/ext/facter/leatherman/util/src/posix/time.cc +9 -0
  963. data/ext/facter/leatherman/util/src/scope_exit.cc +43 -0
  964. data/ext/facter/leatherman/util/src/scoped_env.cc +37 -0
  965. data/ext/facter/leatherman/util/src/strings.cc +41 -0
  966. data/ext/facter/leatherman/util/src/time.cc +49 -0
  967. data/ext/facter/leatherman/util/src/uri.cc +75 -0
  968. data/ext/facter/leatherman/util/src/windows/environment.cc +75 -0
  969. data/ext/facter/leatherman/util/src/windows/scoped_handle.cc +24 -0
  970. data/ext/facter/leatherman/util/src/windows/time.cc +10 -0
  971. data/ext/facter/leatherman/util/tests/environment.cc +90 -0
  972. data/ext/facter/leatherman/util/tests/option_set.cc +234 -0
  973. data/ext/facter/leatherman/util/tests/posix/environment.cc +36 -0
  974. data/ext/facter/leatherman/util/tests/scoped_env.cc +52 -0
  975. data/ext/facter/leatherman/util/tests/strings_test.cc +71 -0
  976. data/ext/facter/leatherman/util/tests/timer.cc +41 -0
  977. data/ext/facter/leatherman/util/tests/uri.cc +104 -0
  978. data/ext/facter/leatherman/util/tests/windows/environment.cc +30 -0
  979. data/ext/facter/leatherman/vendor/catch-1.4.0.zip +0 -0
  980. data/ext/facter/leatherman/vendor/nowide/build/Jamfile.v2 +26 -0
  981. data/ext/facter/leatherman/vendor/nowide/doc/Doxyfile +1632 -0
  982. data/ext/facter/leatherman/vendor/nowide/doc/gendoc.sh +11 -0
  983. data/ext/facter/leatherman/vendor/nowide/doc/main.txt +346 -0
  984. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/args.hpp +167 -0
  985. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cenv.hpp +126 -0
  986. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/config.hpp +54 -0
  987. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/convert.hpp +154 -0
  988. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdio.hpp +101 -0
  989. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdlib.hpp +16 -0
  990. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/filebuf.hpp +415 -0
  991. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/fstream.hpp +283 -0
  992. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/integration/filesystem.hpp +28 -0
  993. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/iostream.hpp +99 -0
  994. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/stackstring.hpp +154 -0
  995. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/system.hpp +46 -0
  996. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/utf8_codecvt.hpp +499 -0
  997. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/windows.hpp +39 -0
  998. data/ext/facter/leatherman/vendor/nowide/index.html +16 -0
  999. data/ext/facter/leatherman/vendor/nowide/src/iostream.cpp +261 -0
  1000. data/ext/facter/leatherman/vendor/nowide/standalone/CMakeLists.txt +104 -0
  1001. data/ext/facter/leatherman/vendor/nowide/standalone/MinGW.cmake +9 -0
  1002. data/ext/facter/leatherman/vendor/nowide/standalone/config.hpp +37 -0
  1003. data/ext/facter/leatherman/vendor/nowide/standalone/convert +34 -0
  1004. data/ext/facter/leatherman/vendor/nowide/standalone/encoding_errors.hpp +58 -0
  1005. data/ext/facter/leatherman/vendor/nowide/standalone/encoding_utf.hpp +84 -0
  1006. data/ext/facter/leatherman/vendor/nowide/standalone/run_convert_and_build.sh +19 -0
  1007. data/ext/facter/leatherman/vendor/nowide/standalone/scoped_ptr.hpp +93 -0
  1008. data/ext/facter/leatherman/vendor/nowide/standalone/utf.hpp +469 -0
  1009. data/ext/facter/leatherman/vendor/nowide/template.hpp +19 -0
  1010. data/ext/facter/leatherman/vendor/nowide/test/Jamfile.v2 +43 -0
  1011. data/ext/facter/leatherman/vendor/nowide/test/test.hpp +25 -0
  1012. data/ext/facter/leatherman/vendor/nowide/test/test_codecvt.cpp +254 -0
  1013. data/ext/facter/leatherman/vendor/nowide/test/test_convert.cpp +101 -0
  1014. data/ext/facter/leatherman/vendor/nowide/test/test_env.cpp +49 -0
  1015. data/ext/facter/leatherman/vendor/nowide/test/test_fs.cpp +48 -0
  1016. data/ext/facter/leatherman/vendor/nowide/test/test_fstream.cpp +184 -0
  1017. data/ext/facter/leatherman/vendor/nowide/test/test_iostream.cpp +52 -0
  1018. data/ext/facter/leatherman/vendor/nowide/test/test_stdio.cpp +60 -0
  1019. data/ext/facter/leatherman/vendor/nowide/test/test_system.cpp +91 -0
  1020. data/ext/facter/leatherman/vendor/rapidjson-1.0.2.zip +0 -0
  1021. data/ext/facter/leatherman/windows/CMakeLists.txt +27 -0
  1022. data/ext/facter/leatherman/windows/inc/leatherman/windows/file_util.hpp +23 -0
  1023. data/ext/facter/leatherman/windows/inc/leatherman/windows/process.hpp +22 -0
  1024. data/ext/facter/leatherman/windows/inc/leatherman/windows/registry.hpp +56 -0
  1025. data/ext/facter/leatherman/windows/inc/leatherman/windows/system_error.hpp +23 -0
  1026. data/ext/facter/leatherman/windows/inc/leatherman/windows/user.hpp +30 -0
  1027. data/ext/facter/leatherman/windows/inc/leatherman/windows/windows.hpp +10 -0
  1028. data/ext/facter/leatherman/windows/inc/leatherman/windows/wmi.hpp +188 -0
  1029. data/ext/facter/leatherman/windows/src/file_util.cc +28 -0
  1030. data/ext/facter/leatherman/windows/src/process.cc +42 -0
  1031. data/ext/facter/leatherman/windows/src/registry.cc +96 -0
  1032. data/ext/facter/leatherman/windows/src/system_error.cc +33 -0
  1033. data/ext/facter/leatherman/windows/src/user.cc +76 -0
  1034. data/ext/facter/leatherman/windows/src/wmi.cc +208 -0
  1035. data/ext/facter/leatherman/windows/tests/file_utils_test.cc +13 -0
  1036. metadata +1052 -841
  1037. data/COMMITTERS.md +0 -185
  1038. data/CONTRIBUTING.md +0 -91
  1039. data/Gemfile +0 -69
  1040. data/LICENSE +0 -15
  1041. data/README.md +0 -65
  1042. data/Rakefile +0 -46
  1043. data/bin/facter +0 -20
  1044. data/etc/facter.conf +0 -5
  1045. data/ext/build_defaults.yaml +0 -9
  1046. data/ext/debian/changelog.erb +0 -59
  1047. data/ext/debian/control +0 -15
  1048. data/ext/debian/copyright +0 -19
  1049. data/ext/debian/docs +0 -1
  1050. data/ext/debian/rules +0 -10
  1051. data/ext/facter-diff +0 -74
  1052. data/ext/ips/facter.p5m.erb +0 -10
  1053. data/ext/ips/rules +0 -7
  1054. data/ext/ips/transforms +0 -18
  1055. data/ext/osx/file_mapping.yaml +0 -32
  1056. data/ext/osx/preflight.erb +0 -33
  1057. data/ext/osx/prototype.plist.erb +0 -38
  1058. data/ext/project_data.yaml +0 -31
  1059. data/ext/redhat/facter.spec.erb +0 -223
  1060. data/ext/solaris/pkginfo +0 -7
  1061. data/install.rb +0 -380
  1062. data/lib/facter.rb +0 -261
  1063. data/lib/facter/Cfkey.rb +0 -42
  1064. data/lib/facter/application.rb +0 -206
  1065. data/lib/facter/architecture.rb +0 -50
  1066. data/lib/facter/augeasversion.rb +0 -28
  1067. data/lib/facter/blockdevices.rb +0 -105
  1068. data/lib/facter/core/aggregate.rb +0 -220
  1069. data/lib/facter/core/directed_graph.rb +0 -46
  1070. data/lib/facter/core/execution.rb +0 -123
  1071. data/lib/facter/core/execution/base.rb +0 -81
  1072. data/lib/facter/core/execution/posix.rb +0 -50
  1073. data/lib/facter/core/execution/windows.rb +0 -57
  1074. data/lib/facter/core/logging.rb +0 -197
  1075. data/lib/facter/core/resolvable.rb +0 -94
  1076. data/lib/facter/core/suitable.rb +0 -113
  1077. data/lib/facter/dhcp_servers.rb +0 -45
  1078. data/lib/facter/domain.rb +0 -99
  1079. data/lib/facter/ec2.rb +0 -68
  1080. data/lib/facter/ec2/rest.rb +0 -137
  1081. data/lib/facter/facterversion.rb +0 -15
  1082. data/lib/facter/filesystems.rb +0 -45
  1083. data/lib/facter/fqdn.rb +0 -24
  1084. data/lib/facter/gce.rb +0 -16
  1085. data/lib/facter/gce/metadata.rb +0 -87
  1086. data/lib/facter/gid.rb +0 -25
  1087. data/lib/facter/hardwareisa.rb +0 -20
  1088. data/lib/facter/hardwaremodel.rb +0 -67
  1089. data/lib/facter/hostname.rb +0 -31
  1090. data/lib/facter/id.rb +0 -21
  1091. data/lib/facter/interfaces.rb +0 -58
  1092. data/lib/facter/ipaddress.rb +0 -169
  1093. data/lib/facter/ipaddress6.rb +0 -82
  1094. data/lib/facter/iphostnumber.rb +0 -29
  1095. data/lib/facter/kernel.rb +0 -22
  1096. data/lib/facter/kernelmajversion.rb +0 -23
  1097. data/lib/facter/kernelrelease.rb +0 -45
  1098. data/lib/facter/kernelversion.rb +0 -22
  1099. data/lib/facter/ldom.rb +0 -51
  1100. data/lib/facter/lsbdistcodename.rb +0 -20
  1101. data/lib/facter/lsbdistdescription.rb +0 -21
  1102. data/lib/facter/lsbdistid.rb +0 -20
  1103. data/lib/facter/lsbdistrelease.rb +0 -20
  1104. data/lib/facter/lsbmajdistrelease.rb +0 -22
  1105. data/lib/facter/lsbminordistrelease.rb +0 -22
  1106. data/lib/facter/lsbrelease.rb +0 -20
  1107. data/lib/facter/macaddress.rb +0 -99
  1108. data/lib/facter/macosx.rb +0 -56
  1109. data/lib/facter/manufacturer.rb +0 -68
  1110. data/lib/facter/memory.rb +0 -168
  1111. data/lib/facter/netmask.rb +0 -43
  1112. data/lib/facter/network.rb +0 -20
  1113. data/lib/facter/operatingsystem.rb +0 -24
  1114. data/lib/facter/operatingsystem/base.rb +0 -61
  1115. data/lib/facter/operatingsystem/cumuluslinux.rb +0 -27
  1116. data/lib/facter/operatingsystem/implementation.rb +0 -33
  1117. data/lib/facter/operatingsystem/linux.rb +0 -511
  1118. data/lib/facter/operatingsystem/osreleaselinux.rb +0 -28
  1119. data/lib/facter/operatingsystem/sunos.rb +0 -54
  1120. data/lib/facter/operatingsystem/vmkernel.rb +0 -11
  1121. data/lib/facter/operatingsystem/windows.rb +0 -43
  1122. data/lib/facter/operatingsystemmajrelease.rb +0 -31
  1123. data/lib/facter/operatingsystemrelease.rb +0 -29
  1124. data/lib/facter/os.rb +0 -98
  1125. data/lib/facter/osfamily.rb +0 -18
  1126. data/lib/facter/partitions.rb +0 -39
  1127. data/lib/facter/path.rb +0 -14
  1128. data/lib/facter/physicalprocessorcount.rb +0 -27
  1129. data/lib/facter/processor.rb +0 -52
  1130. data/lib/facter/processors.rb +0 -66
  1131. data/lib/facter/processors/os.rb +0 -244
  1132. data/lib/facter/ps.rb +0 -31
  1133. data/lib/facter/puppetversion.rb +0 -20
  1134. data/lib/facter/rackspace.rb +0 -37
  1135. data/lib/facter/rubyplatform.rb +0 -12
  1136. data/lib/facter/rubysitedir.rb +0 -15
  1137. data/lib/facter/rubyversion.rb +0 -12
  1138. data/lib/facter/selinux.rb +0 -154
  1139. data/lib/facter/ssh.rb +0 -73
  1140. data/lib/facter/system32.rb +0 -21
  1141. data/lib/facter/system_uptime.rb +0 -44
  1142. data/lib/facter/timezone.rb +0 -14
  1143. data/lib/facter/uniqueid.rb +0 -4
  1144. data/lib/facter/uptime.rb +0 -16
  1145. data/lib/facter/uptime_days.rb +0 -13
  1146. data/lib/facter/uptime_hours.rb +0 -13
  1147. data/lib/facter/uptime_seconds.rb +0 -20
  1148. data/lib/facter/util/architecture.rb +0 -19
  1149. data/lib/facter/util/collection.rb +0 -161
  1150. data/lib/facter/util/composite_loader.rb +0 -12
  1151. data/lib/facter/util/config.rb +0 -88
  1152. data/lib/facter/util/confine.rb +0 -66
  1153. data/lib/facter/util/dhcp_servers.rb +0 -58
  1154. data/lib/facter/util/directory_loader.rb +0 -88
  1155. data/lib/facter/util/ec2.rb +0 -106
  1156. data/lib/facter/util/fact.rb +0 -204
  1157. data/lib/facter/util/file_read.rb +0 -37
  1158. data/lib/facter/util/formatter.rb +0 -39
  1159. data/lib/facter/util/ip.rb +0 -340
  1160. data/lib/facter/util/ip/windows.rb +0 -215
  1161. data/lib/facter/util/loader.rb +0 -155
  1162. data/lib/facter/util/macaddress.rb +0 -43
  1163. data/lib/facter/util/macosx.rb +0 -73
  1164. data/lib/facter/util/manufacturer.rb +0 -99
  1165. data/lib/facter/util/memory.rb +0 -228
  1166. data/lib/facter/util/netmask.rb +0 -40
  1167. data/lib/facter/util/normalization.rb +0 -94
  1168. data/lib/facter/util/nothing_loader.rb +0 -12
  1169. data/lib/facter/util/operatingsystem.rb +0 -21
  1170. data/lib/facter/util/parser.rb +0 -168
  1171. data/lib/facter/util/partitions.rb +0 -47
  1172. data/lib/facter/util/partitions/linux.rb +0 -71
  1173. data/lib/facter/util/partitions/openbsd.rb +0 -40
  1174. data/lib/facter/util/plist.rb +0 -24
  1175. data/lib/facter/util/plist/generator.rb +0 -228
  1176. data/lib/facter/util/plist/parser.rb +0 -226
  1177. data/lib/facter/util/posix.rb +0 -16
  1178. data/lib/facter/util/processor.rb +0 -289
  1179. data/lib/facter/util/registry.rb +0 -11
  1180. data/lib/facter/util/resolution.rb +0 -160
  1181. data/lib/facter/util/solaris_zones.rb +0 -158
  1182. data/lib/facter/util/unix_root.rb +0 -5
  1183. data/lib/facter/util/uptime.rb +0 -83
  1184. data/lib/facter/util/values.rb +0 -109
  1185. data/lib/facter/util/virtual.rb +0 -220
  1186. data/lib/facter/util/vlans.rb +0 -21
  1187. data/lib/facter/util/windows.rb +0 -10
  1188. data/lib/facter/util/windows/api_types.rb +0 -135
  1189. data/lib/facter/util/windows/dir.rb +0 -43
  1190. data/lib/facter/util/windows/error.rb +0 -87
  1191. data/lib/facter/util/windows/process.rb +0 -294
  1192. data/lib/facter/util/windows/user.rb +0 -186
  1193. data/lib/facter/util/windows_root.rb +0 -7
  1194. data/lib/facter/util/wmi.rb +0 -49
  1195. data/lib/facter/util/xendomains.rb +0 -28
  1196. data/lib/facter/version.rb +0 -86
  1197. data/lib/facter/virtual.rb +0 -339
  1198. data/lib/facter/vlans.rb +0 -17
  1199. data/lib/facter/xendomains.rb +0 -20
  1200. data/lib/facter/zfs_version.rb +0 -14
  1201. data/lib/facter/zonename.rb +0 -6
  1202. data/lib/facter/zones.rb +0 -18
  1203. data/lib/facter/zpool_version.rb +0 -10
  1204. data/spec/fixtures/cpuinfo/amd64dual +0 -57
  1205. data/spec/fixtures/cpuinfo/amd64dual-grep +0 -2
  1206. data/spec/fixtures/cpuinfo/amd64quad +0 -79
  1207. data/spec/fixtures/cpuinfo/amd64solo +0 -23
  1208. data/spec/fixtures/cpuinfo/amd64tri +0 -86
  1209. data/spec/fixtures/cpuinfo/amd64twentyfour +0 -600
  1210. data/spec/fixtures/cpuinfo/amd64twentyfour-grep +0 -24
  1211. data/spec/fixtures/cpuinfo/bbg3-armel +0 -12
  1212. data/spec/fixtures/cpuinfo/beaglexm-armel +0 -12
  1213. data/spec/fixtures/cpuinfo/panda-armel +0 -17
  1214. data/spec/fixtures/cpuinfo/ppc64 +0 -19
  1215. data/spec/fixtures/cpuinfo/ppc64le +0 -15
  1216. data/spec/fixtures/cpuinfo/sparc +0 -10
  1217. data/spec/fixtures/cpuinfo/two_multicore-grep +0 -4
  1218. data/spec/fixtures/cpuinfo/two_singlecore-grep +0 -2
  1219. data/spec/fixtures/hpux/machinfo/hppa-rp4440 +0 -26
  1220. data/spec/fixtures/hpux/machinfo/ia64-rx2620 +0 -49
  1221. data/spec/fixtures/hpux/machinfo/ia64-rx6600 +0 -26
  1222. data/spec/fixtures/hpux/machinfo/ia64-rx8640 +0 -53
  1223. data/spec/fixtures/hpux/machinfo/superdome-server-SD32B +0 -53
  1224. data/spec/fixtures/hpux/machinfo/superdome2-16s +0 -31
  1225. data/spec/fixtures/hpux/sched.models +0 -174
  1226. data/spec/fixtures/hpux/unistd.h +0 -1534
  1227. data/spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces +0 -18
  1228. data/spec/fixtures/ifconfig/centos_5_5 +0 -17
  1229. data/spec/fixtures/ifconfig/centos_5_5_eth0 +0 -8
  1230. data/spec/fixtures/ifconfig/darwin_10_3_0 +0 -26
  1231. data/spec/fixtures/ifconfig/darwin_10_3_0_en0 +0 -6
  1232. data/spec/fixtures/ifconfig/darwin_10_6_4 +0 -28
  1233. data/spec/fixtures/ifconfig/darwin_10_6_4_en1 +0 -6
  1234. data/spec/fixtures/ifconfig/darwin_10_6_6_dualstack +0 -8
  1235. data/spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1 +0 -7
  1236. data/spec/fixtures/ifconfig/darwin_9_8_0 +0 -26
  1237. data/spec/fixtures/ifconfig/darwin_9_8_0_en0 +0 -6
  1238. data/spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces +0 -23
  1239. data/spec/fixtures/ifconfig/fedora_10 +0 -36
  1240. data/spec/fixtures/ifconfig/fedora_10_eth0 +0 -9
  1241. data/spec/fixtures/ifconfig/fedora_13 +0 -18
  1242. data/spec/fixtures/ifconfig/fedora_13_eth0 +0 -9
  1243. data/spec/fixtures/ifconfig/fedora_8 +0 -38
  1244. data/spec/fixtures/ifconfig/fedora_8_eth0 +0 -9
  1245. data/spec/fixtures/ifconfig/freebsd_6_0 +0 -12
  1246. data/spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt +0 -19
  1247. data/spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt +0 -16
  1248. data/spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces +0 -19
  1249. data/spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80 +0 -19
  1250. data/spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6 +0 -18
  1251. data/spec/fixtures/ifconfig/linux_ifconfig_no_addr +0 -19
  1252. data/spec/fixtures/ifconfig/linux_ifconfig_no_mac +0 -8
  1253. data/spec/fixtures/ifconfig/linux_ifconfig_venet +0 -24
  1254. data/spec/fixtures/ifconfig/open_solaris_10 +0 -12
  1255. data/spec/fixtures/ifconfig/open_solaris_b132 +0 -20
  1256. data/spec/fixtures/ifconfig/openbsd_bridge_rules +0 -11
  1257. data/spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces +0 -10
  1258. data/spec/fixtures/ifconfig/ubuntu_7_04 +0 -38
  1259. data/spec/fixtures/ifconfig/ubuntu_7_04_eth0 +0 -9
  1260. data/spec/fixtures/ldom/ldom_v1 +0 -6
  1261. data/spec/fixtures/netstat/centos_5_5 +0 -5
  1262. data/spec/fixtures/netstat/darwin_10_3_0 +0 -35
  1263. data/spec/fixtures/netstat/darwin_10_6_4 +0 -29
  1264. data/spec/fixtures/netstat/darwin_10_6_6_dualstack +0 -34
  1265. data/spec/fixtures/netstat/darwin_9_8_0 +0 -28
  1266. data/spec/fixtures/netstat/fedora_10 +0 -7
  1267. data/spec/fixtures/netstat/open_solaris_10 +0 -16
  1268. data/spec/fixtures/netstat/open_solaris_b132 +0 -17
  1269. data/spec/fixtures/netstat/ubuntu_7_04 +0 -7
  1270. data/spec/fixtures/processorcount/solaris-psrinfo +0 -24
  1271. data/spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info +0 -1216
  1272. data/spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info +0 -225
  1273. data/spec/fixtures/unit/dhcp_servers/nmcli_devices +0 -4
  1274. data/spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected +0 -4
  1275. data/spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp +0 -36
  1276. data/spec/fixtures/unit/dhcp_servers/nmcli_eth0_static +0 -24
  1277. data/spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp +0 -49
  1278. data/spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static +0 -37
  1279. data/spec/fixtures/unit/dhcp_servers/route +0 -3
  1280. data/spec/fixtures/unit/dhcp_servers/route_nogw +0 -1
  1281. data/spec/fixtures/unit/ec2/rest/meta-data/root +0 -20
  1282. data/spec/fixtures/unit/filesystems/linux +0 -28
  1283. data/spec/fixtures/unit/gce/metadata/metadata.json +0 -69
  1284. data/spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt +0 -19
  1285. data/spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1 +0 -10
  1286. data/spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo +0 -8
  1287. data/spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60_v6.txt +0 -9
  1288. data/spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt +0 -20
  1289. data/spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt +0 -19
  1290. data/spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt +0 -18
  1291. data/spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt +0 -16
  1292. data/spec/fixtures/unit/kernelrelease/openbsd-5.3 +0 -2
  1293. data/spec/fixtures/unit/kernelrelease/openbsd-5.3-current +0 -3
  1294. data/spec/fixtures/unit/memory/aix-svmon +0 -9
  1295. data/spec/fixtures/unit/memory/aix-swap_l +0 -2
  1296. data/spec/fixtures/unit/memory/darwin-swapinfo-multiple +0 -3
  1297. data/spec/fixtures/unit/memory/darwin-swapinfo-single +0 -2
  1298. data/spec/fixtures/unit/memory/darwin-vm_stat +0 -13
  1299. data/spec/fixtures/unit/memory/dragonfly-vmstat +0 -3
  1300. data/spec/fixtures/unit/memory/freebsd-vmstat +0 -3
  1301. data/spec/fixtures/unit/memory/linux-proc_meminfo +0 -10
  1302. data/spec/fixtures/unit/memory/openbsd-vmstat +0 -3
  1303. data/spec/fixtures/unit/memory/smartos_zone_swap_l-single +0 -2
  1304. data/spec/fixtures/unit/memory/solaris-prtconf +0 -4
  1305. data/spec/fixtures/unit/memory/solaris-swap_l-multiple +0 -3
  1306. data/spec/fixtures/unit/memory/solaris-swap_l-single +0 -2
  1307. data/spec/fixtures/unit/memory/solaris-vmstat +0 -3
  1308. data/spec/fixtures/unit/netmask/darwin_10_8_5.txt +0 -30
  1309. data/spec/fixtures/unit/netmask/ifconfig_aix_7.txt +0 -3
  1310. data/spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt +0 -19
  1311. data/spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt +0 -16
  1312. data/spec/fixtures/unit/processors/os/darwin-system-profiler +0 -287
  1313. data/spec/fixtures/unit/selinux/selinux_sestatus +0 -6
  1314. data/spec/fixtures/unit/selinux/selinux_sestatus2 +0 -9
  1315. data/spec/fixtures/unit/util/dhcp_servers/route +0 -3
  1316. data/spec/fixtures/unit/util/dhcp_servers/route_nogw +0 -1
  1317. data/spec/fixtures/unit/util/ec2/centos-arp-ec2.out +0 -1
  1318. data/spec/fixtures/unit/util/ec2/linux-arp-ec2.out +0 -1
  1319. data/spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out +0 -5
  1320. data/spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out +0 -7
  1321. data/spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out +0 -6
  1322. data/spec/fixtures/unit/util/ec2/windows-2008-arp-a.out +0 -10
  1323. data/spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig +0 -12
  1324. data/spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig +0 -26
  1325. data/spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces +0 -10
  1326. data/spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface +0 -6
  1327. data/spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig +0 -40
  1328. data/spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0 +0 -2
  1329. data/spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1 +0 -2
  1330. data/spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0 +0 -2
  1331. data/spec/fixtures/unit/util/ip/hpux_1111_lanscan +0 -5
  1332. data/spec/fixtures/unit/util/ip/hpux_1111_netstat_in +0 -4
  1333. data/spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0 +0 -2
  1334. data/spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1 +0 -2
  1335. data/spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0 +0 -2
  1336. data/spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan +0 -5
  1337. data/spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in +0 -4
  1338. data/spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0 +0 -2
  1339. data/spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1 +0 -2
  1340. data/spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0 +0 -2
  1341. data/spec/fixtures/unit/util/ip/hpux_1131_lanscan +0 -4
  1342. data/spec/fixtures/unit/util/ip/hpux_1131_netstat_in +0 -4
  1343. data/spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1 +0 -2
  1344. data/spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4 +0 -2
  1345. data/spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1 +0 -2
  1346. data/spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0 +0 -2
  1347. data/spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan +0 -9
  1348. data/spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in +0 -6
  1349. data/spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0 +0 -19
  1350. data/spec/fixtures/unit/util/ip/linux_get_single_interface_eth0 +0 -10
  1351. data/spec/fixtures/unit/util/ip/linux_get_single_interface_ib0 +0 -8
  1352. data/spec/fixtures/unit/util/ip/linux_get_single_interface_ib0_centos7 +0 -8
  1353. data/spec/fixtures/unit/util/ip/linux_get_single_interface_lo +0 -9
  1354. data/spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface +0 -18
  1355. data/spec/fixtures/unit/util/ip/linux_ifconfig_ib0 +0 -8
  1356. data/spec/fixtures/unit/util/ip/linux_ifconfig_ib0_centos7 +0 -8
  1357. data/spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces +0 -8
  1358. data/spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface +0 -3
  1359. data/spec/fixtures/unit/util/ip/windows_netsh_all_interfaces +0 -12
  1360. data/spec/fixtures/unit/util/ip/windows_netsh_single_interface +0 -7
  1361. data/spec/fixtures/unit/util/ip/windows_netsh_single_interface6 +0 -18
  1362. data/spec/fixtures/unit/util/manufacturer/freebsd_dmidecode +0 -42
  1363. data/spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode +0 -549
  1364. data/spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces +0 -60
  1365. data/spec/fixtures/unit/util/manufacturer/opensolaris_smbios +0 -33
  1366. data/spec/fixtures/unit/util/manufacturer/smartos_smbios +0 -533
  1367. data/spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag +0 -33
  1368. data/spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag +0 -136
  1369. data/spec/fixtures/unit/util/operatingsystem/coreos.txt +0 -9
  1370. data/spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt +0 -8
  1371. data/spec/fixtures/unit/util/operatingsystem/redhat-7.txt +0 -12
  1372. data/spec/fixtures/unit/util/operatingsystem/sabayon.txt +0 -7
  1373. data/spec/fixtures/unit/util/operatingsystem/wheezy.txt +0 -9
  1374. data/spec/fixtures/unit/util/partitions/partitions/mount +0 -9
  1375. data/spec/fixtures/unit/util/processor/solaris-i86pc +0 -28
  1376. data/spec/fixtures/unit/util/processor/solaris-sun4u +0 -151
  1377. data/spec/fixtures/unit/util/processor/x86-pentium2 +0 -41
  1378. data/spec/fixtures/unit/util/uptime/kstat_boot_time +0 -1
  1379. data/spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin +0 -1
  1380. data/spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd +0 -1
  1381. data/spec/fixtures/unit/util/uptime/ubuntu_proc_uptime +0 -1
  1382. data/spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries +0 -0
  1383. data/spec/fixtures/unit/util/virtual/solaris10_proc_self_status1 +0 -0
  1384. data/spec/fixtures/unit/util/vlans/centos-5-no-vlans +0 -2
  1385. data/spec/fixtures/unit/util/vlans/linux_vlan_config +0 -6
  1386. data/spec/fixtures/unit/util/xendomains/xendomains +0 -4
  1387. data/spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt +0 -0
  1388. data/spec/fixtures/unit/zfs_version/freebsd_8.2 +0 -14
  1389. data/spec/fixtures/unit/zfs_version/freebsd_9.0 +0 -13
  1390. data/spec/fixtures/unit/zfs_version/linux-fuse_0.6.9 +0 -14
  1391. data/spec/fixtures/unit/zfs_version/solaris_10 +0 -10
  1392. data/spec/fixtures/unit/zfs_version/solaris_11 +0 -12
  1393. data/spec/fixtures/unit/zfs_version/zfs_new +0 -61
  1394. data/spec/fixtures/unit/zfs_version/zfs_old +0 -43
  1395. data/spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1 +0 -13
  1396. data/spec/fixtures/unit/zpool_version/freebsd_8.2 +0 -26
  1397. data/spec/fixtures/unit/zpool_version/freebsd_9.0 +0 -38
  1398. data/spec/fixtures/unit/zpool_version/linux-fuse_0.6.9 +0 -35
  1399. data/spec/fixtures/unit/zpool_version/solaris_10 +0 -31
  1400. data/spec/fixtures/unit/zpool_version/solaris_11 +0 -43
  1401. data/spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1 +0 -48
  1402. data/spec/fixtures/virtual/proc_1_cgroup/in_a_container +0 -9
  1403. data/spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container +0 -8
  1404. data/spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices +0 -10
  1405. data/spec/fixtures/virtual/proc_1_cgroup/not_in_a_container +0 -9
  1406. data/spec/fixtures/virtual/proc_self_status/vserver_2_1/guest +0 -37
  1407. data/spec/fixtures/virtual/proc_self_status/vserver_2_1/host +0 -36
  1408. data/spec/fixtures/virtual/proc_self_status/vserver_2_3/guest +0 -39
  1409. data/spec/fixtures/virtual/proc_self_status/vserver_2_3/host +0 -39
  1410. data/spec/integration/facter_spec.rb +0 -39
  1411. data/spec/integration/util/windows/user_spec.rb +0 -59
  1412. data/spec/lib/facter_spec/cpuinfo.rb +0 -15
  1413. data/spec/lib/facter_spec/windows_network.rb +0 -64
  1414. data/spec/puppetlabs_spec/files.rb +0 -57
  1415. data/spec/puppetlabs_spec/fixtures.rb +0 -49
  1416. data/spec/puppetlabs_spec/matchers.rb +0 -87
  1417. data/spec/puppetlabs_spec/verbose.rb +0 -9
  1418. data/spec/puppetlabs_spec_helper.rb +0 -26
  1419. data/spec/schema/validate_facter_schema.rb +0 -18
  1420. data/spec/shared_contexts/platform.rb +0 -55
  1421. data/spec/shared_formats/parses.rb +0 -3
  1422. data/spec/spec_helper.rb +0 -68
  1423. data/spec/unit/application_spec.rb +0 -110
  1424. data/spec/unit/architecture_spec.rb +0 -63
  1425. data/spec/unit/blockdevices_spec.rb +0 -109
  1426. data/spec/unit/core/aggregate_spec.rb +0 -125
  1427. data/spec/unit/core/directed_graph_spec.rb +0 -79
  1428. data/spec/unit/core/execution/base_spec.rb +0 -130
  1429. data/spec/unit/core/execution/posix_spec.rb +0 -96
  1430. data/spec/unit/core/execution/windows_spec.rb +0 -106
  1431. data/spec/unit/core/execution_spec.rb +0 -42
  1432. data/spec/unit/core/logging_spec.rb +0 -223
  1433. data/spec/unit/core/resolvable_spec.rb +0 -81
  1434. data/spec/unit/core/suitable_spec.rb +0 -106
  1435. data/spec/unit/dhcp_servers_spec.rb +0 -212
  1436. data/spec/unit/domain_spec.rb +0 -310
  1437. data/spec/unit/ec2/rest_spec.rb +0 -168
  1438. data/spec/unit/ec2_spec.rb +0 -139
  1439. data/spec/unit/facter_spec.rb +0 -108
  1440. data/spec/unit/filesystems_spec.rb +0 -50
  1441. data/spec/unit/fqdn_spec.rb +0 -16
  1442. data/spec/unit/gce/metadata_spec.rb +0 -49
  1443. data/spec/unit/gce_spec.rb +0 -34
  1444. data/spec/unit/gid_spec.rb +0 -51
  1445. data/spec/unit/hardwareisa_spec.rb +0 -41
  1446. data/spec/unit/hardwaremodel_spec.rb +0 -58
  1447. data/spec/unit/hostname_spec.rb +0 -40
  1448. data/spec/unit/id_spec.rb +0 -29
  1449. data/spec/unit/interfaces_spec.rb +0 -67
  1450. data/spec/unit/ipaddress6_spec.rb +0 -180
  1451. data/spec/unit/ipaddress_spec.rb +0 -114
  1452. data/spec/unit/kernel_spec.rb +0 -24
  1453. data/spec/unit/kernelmajversion_spec.rb +0 -22
  1454. data/spec/unit/kernelrelease_spec.rb +0 -66
  1455. data/spec/unit/kernelversion_spec.rb +0 -32
  1456. data/spec/unit/ldom_spec.rb +0 -84
  1457. data/spec/unit/lsbdistcodename_spec.rb +0 -30
  1458. data/spec/unit/lsbdistdescription_spec.rb +0 -30
  1459. data/spec/unit/lsbdistid_spec.rb +0 -30
  1460. data/spec/unit/lsbdistrelease_spec.rb +0 -30
  1461. data/spec/unit/lsbmajdistrelease_spec.rb +0 -30
  1462. data/spec/unit/lsbminordistrelease_spec.rb +0 -31
  1463. data/spec/unit/lsbrelease_spec.rb +0 -30
  1464. data/spec/unit/macaddress_spec.rb +0 -76
  1465. data/spec/unit/manufacturer_spec.rb +0 -115
  1466. data/spec/unit/memory_spec.rb +0 -470
  1467. data/spec/unit/netmask_spec.rb +0 -106
  1468. data/spec/unit/operatingsystem/base_spec.rb +0 -76
  1469. data/spec/unit/operatingsystem/cumuluslinux_spec.rb +0 -40
  1470. data/spec/unit/operatingsystem/implementation_spec.rb +0 -50
  1471. data/spec/unit/operatingsystem/linux_spec.rb +0 -559
  1472. data/spec/unit/operatingsystem/sunos_spec.rb +0 -143
  1473. data/spec/unit/operatingsystem/vmkernel_spec.rb +0 -13
  1474. data/spec/unit/operatingsystem/windows_spec.rb +0 -77
  1475. data/spec/unit/operatingsystem_spec.rb +0 -17
  1476. data/spec/unit/operatingsystemmajrelease_spec.rb +0 -21
  1477. data/spec/unit/operatingsystemrelease_spec.rb +0 -20
  1478. data/spec/unit/os_spec.rb +0 -131
  1479. data/spec/unit/osfamily_spec.rb +0 -17
  1480. data/spec/unit/partitions_spec.rb +0 -88
  1481. data/spec/unit/physicalprocessorcount_spec.rb +0 -13
  1482. data/spec/unit/processor_spec.rb +0 -38
  1483. data/spec/unit/processors/os_spec.rb +0 -469
  1484. data/spec/unit/processors_spec.rb +0 -203
  1485. data/spec/unit/ps_spec.rb +0 -42
  1486. data/spec/unit/rackspace_spec.rb +0 -40
  1487. data/spec/unit/rubyplatform_spec.rb +0 -7
  1488. data/spec/unit/selinux_spec.rb +0 -119
  1489. data/spec/unit/ssh_spec.rb +0 -77
  1490. data/spec/unit/system32_spec.rb +0 -28
  1491. data/spec/unit/system_uptime_spec.rb +0 -80
  1492. data/spec/unit/uniqueid_spec.rb +0 -27
  1493. data/spec/unit/uptime_spec.rb +0 -110
  1494. data/spec/unit/util/collection_spec.rb +0 -258
  1495. data/spec/unit/util/config_spec.rb +0 -120
  1496. data/spec/unit/util/confine_spec.rb +0 -148
  1497. data/spec/unit/util/dhcp_servers_spec.rb +0 -63
  1498. data/spec/unit/util/directory_loader_spec.rb +0 -102
  1499. data/spec/unit/util/ec2_spec.rb +0 -184
  1500. data/spec/unit/util/fact_spec.rb +0 -142
  1501. data/spec/unit/util/file_read_spec.rb +0 -29
  1502. data/spec/unit/util/formatter_spec.rb +0 -55
  1503. data/spec/unit/util/ip/windows_spec.rb +0 -80
  1504. data/spec/unit/util/ip_spec.rb +0 -487
  1505. data/spec/unit/util/loader_spec.rb +0 -286
  1506. data/spec/unit/util/macaddress_spec.rb +0 -143
  1507. data/spec/unit/util/macosx_spec.rb +0 -114
  1508. data/spec/unit/util/manufacturer_spec.rb +0 -223
  1509. data/spec/unit/util/normalization_spec.rb +0 -113
  1510. data/spec/unit/util/operatingsystem_spec.rb +0 -107
  1511. data/spec/unit/util/parser_spec.rb +0 -233
  1512. data/spec/unit/util/partitions/partitions_spec.rb +0 -67
  1513. data/spec/unit/util/partitions_spec.rb +0 -19
  1514. data/spec/unit/util/posix_spec.rb +0 -11
  1515. data/spec/unit/util/processor_spec.rb +0 -212
  1516. data/spec/unit/util/registry_spec.rb +0 -76
  1517. data/spec/unit/util/resolution_spec.rb +0 -129
  1518. data/spec/unit/util/solaris_zones_spec.rb +0 -127
  1519. data/spec/unit/util/uptime_spec.rb +0 -131
  1520. data/spec/unit/util/values_spec.rb +0 -171
  1521. data/spec/unit/util/virtual_spec.rb +0 -393
  1522. data/spec/unit/util/vlans_spec.rb +0 -42
  1523. data/spec/unit/util/wmi_spec.rb +0 -19
  1524. data/spec/unit/util/xendomains_spec.rb +0 -114
  1525. data/spec/unit/version_spec.rb +0 -42
  1526. data/spec/unit/virtual_spec.rb +0 -585
  1527. data/spec/unit/zfs_version_spec.rb +0 -87
  1528. data/spec/unit/zonename_spec.rb +0 -14
  1529. data/spec/unit/zones_spec.rb +0 -55
  1530. data/spec/unit/zpool_version_spec.rb +0 -80
  1531. data/spec/watchr.rb +0 -125
@@ -0,0 +1,52 @@
1
+ #include <catch.hpp>
2
+ #include <leatherman/util/environment.hpp>
3
+ #include <leatherman/util/scoped_env.hpp>
4
+
5
+ using namespace std;
6
+ using namespace leatherman::util;
7
+
8
+ SCENARIO("scoping an environment variable") {
9
+ string value;
10
+ REQUIRE_FALSE(environment::get("LEATH_ENV_TEST", value));
11
+ REQUIRE(value.empty());
12
+
13
+ WHEN("the variable does not exist") {
14
+ AND_WHEN("the variable is scoped") {
15
+ scoped_env foo("LEATH_ENV_TEST", "FOO");
16
+ THEN("the new value is set") {
17
+ REQUIRE(environment::get("LEATH_ENV_TEST", value));
18
+ REQUIRE(value == "FOO");
19
+ }
20
+ }
21
+ AND_WHEN("the variable is scoped as unset") {
22
+ scoped_env foo("LEATH_ENV_TEST");
23
+ THEN("the variable is not set") {
24
+ REQUIRE_FALSE(environment::get("LEATH_ENV_TEST", value));
25
+ }
26
+ }
27
+ }
28
+ WHEN("the variable exists")
29
+ {
30
+ environment::set("LEATH_ENV_TEST", "bar");
31
+
32
+ AND_WHEN("the variable is scoped") {
33
+ scoped_env foo("LEATH_ENV_TEST", "FOO");
34
+ THEN("the new value is set") {
35
+ REQUIRE(environment::get("LEATH_ENV_TEST", value));
36
+ REQUIRE(value == "FOO");
37
+ }
38
+ }
39
+ AND_WHEN("the variable is scoped as unset") {
40
+ scoped_env foo("LEATH_ENV_TEST");
41
+ THEN("the variable is not set") {
42
+ REQUIRE_FALSE(environment::get("LEATH_ENV_TEST", value));
43
+ }
44
+ }
45
+ THEN("the variable should be restored") {
46
+ REQUIRE(environment::get("LEATH_ENV_TEST", value));
47
+ REQUIRE(value == "bar");
48
+ }
49
+
50
+ environment::clear("LEATH_ENV_TEST");
51
+ }
52
+ }
@@ -0,0 +1,71 @@
1
+ #include <catch.hpp>
2
+ #include <leatherman/util/strings.hpp>
3
+
4
+ using namespace std;
5
+ using namespace leatherman::util;
6
+
7
+ TEST_CASE("strings::plural", "[strings]") {
8
+ SECTION("pluralize string based on a number") {
9
+ REQUIRE(plural(1) == "");
10
+ REQUIRE(plural(2) == "s");
11
+ REQUIRE(plural(0) == "s");
12
+ }
13
+
14
+ SECTION("pluralize string based on a list") {
15
+ vector<string> things { "thing1" };
16
+ REQUIRE(plural(things) == "");
17
+ things.push_back("thing2");
18
+ REQUIRE(plural(things) == "s");
19
+ }
20
+ }
21
+
22
+ TEST_CASE("strings::get_UUID", "[strings]") {
23
+ SECTION("returns a unique value each time") {
24
+ set<string> ids;
25
+ ids.insert(get_UUID());
26
+ for(int i = 0; i < 100; i++) {
27
+ string new_id = get_UUID();
28
+ REQUIRE(ids.find(new_id) == ids.end());
29
+ ids.insert(new_id);
30
+ }
31
+ }
32
+ }
33
+
34
+ TEST_CASE("each_line", "[strings]") {
35
+
36
+ SECTION("empty string never calls callback") {
37
+ each_line("", [](string &line) {
38
+ FAIL("should not be called");
39
+ return true;
40
+ });
41
+ }
42
+
43
+ SECTION("an action is performed on each line") {
44
+ string s = "test1\ntest2\ntest3\n";
45
+ int i = 0;
46
+ each_line(s, [&i](string const &line) {
47
+ i++;
48
+ return line == ("test" + std::to_string(i));
49
+ });
50
+ REQUIRE(i == 3);
51
+ }
52
+
53
+ SECTION("a callback that returns false stops at the first line") {
54
+ string s = "test1\ntest2\ntest3\n";
55
+ vector<string> lines;
56
+ each_line(s, [&](string& line) {
57
+ lines.emplace_back(move(line));
58
+ return false;
59
+ });
60
+ REQUIRE(lines.size() == 1u);
61
+ REQUIRE(lines[0] == "test1");
62
+ }
63
+
64
+ SECTION("strips '\r' from line endings") {
65
+ string s = "test\r\n";
66
+ each_line(s, [](string& line) {
67
+ REQUIRE(line == "test");
68
+ return true;
69
+ });
70
+ }
71
+ }
@@ -0,0 +1,41 @@
1
+ #include <catch.hpp>
2
+ #include <leatherman/util/timer.hpp>
3
+
4
+ namespace leatherman { namespace util {
5
+
6
+ SCENARIO("Using Timer", "[util]") {
7
+ SECTION("can instantiate") {
8
+ REQUIRE_NOTHROW(Timer());
9
+ }
10
+
11
+ SECTION("can reset") {
12
+ Timer t {};
13
+ REQUIRE_NOTHROW(t.reset());
14
+ }
15
+
16
+ SECTION("can retrieve durations [s]") {
17
+ Timer t {};
18
+ auto d1_s = t.elapsed_seconds();
19
+ auto d2_s = t.elapsed_seconds();
20
+
21
+ REQUIRE(d1_s <= d2_s);
22
+ }
23
+
24
+ SECTION("can retrieve durations [ms]") {
25
+ Timer t {};
26
+ auto d1_ms = t.elapsed_milliseconds();
27
+ auto d2_ms = t.elapsed_milliseconds();
28
+
29
+ REQUIRE(d1_ms <= d2_ms);
30
+ }
31
+
32
+ SECTION("can retrieve durations after resetting") {
33
+ Timer t {};
34
+ t.reset();
35
+
36
+ REQUIRE_NOTHROW(t.elapsed_seconds());
37
+ REQUIRE_NOTHROW(t.elapsed_milliseconds());
38
+ }
39
+ }
40
+
41
+ }} // namespace leatherman::util
@@ -0,0 +1,104 @@
1
+ #include <catch.hpp>
2
+ #include <leatherman/util/uri.hpp>
3
+
4
+ namespace lth_util = leatherman::util;
5
+
6
+ TEST_CASE("parses a uri") {
7
+ SECTION("full uri") {
8
+ auto uri = lth_util::uri("https://foo:1234/bar?some=1&other=2");
9
+ REQUIRE(uri.protocol == "https");
10
+ REQUIRE(uri.host == "foo");
11
+ REQUIRE(uri.port == "1234");
12
+ REQUIRE(uri.path == "/bar");
13
+ REQUIRE(uri.query == "?some=1&other=2");
14
+ }
15
+
16
+ SECTION("without protocol") {
17
+ auto uri = lth_util::uri("foo:1234/bar?some=1&other=2");
18
+ REQUIRE(uri.protocol == "");
19
+ REQUIRE(uri.host == "foo");
20
+ REQUIRE(uri.port == "1234");
21
+ REQUIRE(uri.path == "/bar");
22
+ REQUIRE(uri.query == "?some=1&other=2");
23
+ }
24
+
25
+ SECTION("without host") {
26
+ auto uri = lth_util::uri("https://:1234/bar?some=1&other=2");
27
+ REQUIRE(uri.protocol == "https");
28
+ REQUIRE(uri.host == "");
29
+ REQUIRE(uri.port == "1234");
30
+ REQUIRE(uri.path == "/bar");
31
+ REQUIRE(uri.query == "?some=1&other=2");
32
+ }
33
+
34
+ SECTION("without port") {
35
+ auto uri = lth_util::uri("https://foo/bar?some=1&other=2");
36
+ REQUIRE(uri.protocol == "https");
37
+ REQUIRE(uri.host == "foo");
38
+ REQUIRE(uri.port == "");
39
+ REQUIRE(uri.path == "/bar");
40
+ REQUIRE(uri.query == "?some=1&other=2");
41
+ }
42
+
43
+ SECTION("with missing port") {
44
+ auto uri = lth_util::uri("https://foo:/bar?some=1&other=2");
45
+ REQUIRE(uri.protocol == "https");
46
+ REQUIRE(uri.host == "foo");
47
+ REQUIRE(uri.port == "");
48
+ REQUIRE(uri.path == "/bar");
49
+ REQUIRE(uri.query == "?some=1&other=2");
50
+ }
51
+
52
+ SECTION("without path") {
53
+ auto uri = lth_util::uri("https://foo:1234?some=1&other=2");
54
+ REQUIRE(uri.protocol == "https");
55
+ REQUIRE(uri.host == "foo");
56
+ REQUIRE(uri.port == "1234");
57
+ REQUIRE(uri.path == "");
58
+ REQUIRE(uri.query == "?some=1&other=2");
59
+ }
60
+
61
+ SECTION("without query") {
62
+ auto uri = lth_util::uri("https://foo:1234/bar");
63
+ REQUIRE(uri.protocol == "https");
64
+ REQUIRE(uri.host == "foo");
65
+ REQUIRE(uri.port == "1234");
66
+ REQUIRE(uri.path == "/bar");
67
+ REQUIRE(uri.query == "");
68
+ }
69
+
70
+ SECTION("only host") {
71
+ auto uri = lth_util::uri("foo");
72
+ REQUIRE(uri.protocol == "");
73
+ REQUIRE(uri.host == "foo");
74
+ REQUIRE(uri.port == "");
75
+ REQUIRE(uri.path == "");
76
+ REQUIRE(uri.query == "");
77
+ }
78
+
79
+ SECTION("protocol, host, and port") {
80
+ auto uri = lth_util::uri("https://foo:1234");
81
+ REQUIRE(uri.protocol == "https");
82
+ REQUIRE(uri.host == "foo");
83
+ REQUIRE(uri.port == "1234");
84
+ REQUIRE(uri.path == "");
85
+ REQUIRE(uri.query == "");
86
+ }
87
+ }
88
+
89
+ TEST_CASE("prints a uri") {
90
+ SECTION("full uri") {
91
+ auto uri = lth_util::uri("https://foo:1234/bar?some=1&other=2");
92
+ REQUIRE(uri.str() == "https://foo:1234/bar?some=1&other=2");
93
+ }
94
+
95
+ SECTION("host and port") {
96
+ auto uri = lth_util::uri("foo:1234");
97
+ REQUIRE(uri.str() == "foo:1234");
98
+ }
99
+
100
+ SECTION("protocol, host, and port") {
101
+ auto uri = lth_util::uri("https://foo:1234");
102
+ REQUIRE(uri.str() == "https://foo:1234");
103
+ }
104
+ }
@@ -0,0 +1,30 @@
1
+ #include <catch.hpp>
2
+ #include <leatherman/util/environment.hpp>
3
+ #include <leatherman/windows/windows.hpp>
4
+ #include <unistd.h>
5
+
6
+ using namespace std;
7
+ using namespace leatherman::util;
8
+
9
+ SCENARIO("path separator on Windows") {
10
+ REQUIRE(environment::get_path_separator() == ';');
11
+ }
12
+
13
+ SCENARIO("environment search paths") {
14
+ GIVEN("paths from the environment") {
15
+ auto paths = environment::search_paths();
16
+ REQUIRE(paths.size() > 0u);
17
+ }
18
+ GIVEN("empty paths from the environment") {
19
+ string value;
20
+ REQUIRE(environment::get("PATH", value));
21
+ REQUIRE(environment::set("PATH", value+";"));
22
+ environment::reload_search_paths();
23
+ auto paths = environment::search_paths();
24
+ THEN("an empty path should not be searched") {
25
+ REQUIRE(count(paths.begin(), paths.end(), "") == 0);
26
+ }
27
+ REQUIRE(environment::set("PATH", value));
28
+ environment::reload_search_paths();
29
+ }
30
+ }
@@ -0,0 +1,26 @@
1
+ # Boost Nowide Library Build Jamfile
2
+
3
+ # (C) Copyright Beman Dawes 2002, 2006, Artyom Beilis 2012
4
+ #
5
+
6
+ # Distributed under the Boost Software License, Version 1.0.
7
+ # (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
8
+
9
+ # See library home page at http://www.boost.org/libs/nowide
10
+
11
+ project boost/nowide
12
+ : source-location ../src
13
+ : usage-requirements # pass these requirement to dependents (i.e. users)
14
+ <link>shared:<define>BOOST_NOWIDE_DYN_LINK=1
15
+ <link>static:<define>BOOST_NOWIDE_STATIC_LINK=1
16
+ ;
17
+
18
+ SOURCES = iostream ;
19
+
20
+ lib boost_nowide
21
+ : $(SOURCES).cpp
22
+ : <link>shared:<define>BOOST_NOWIDE_DYN_LINK=1
23
+ <link>static:<define>BOOST_NOWIDE_STATIC_LINK=1
24
+ ;
25
+
26
+ boost-install boost_nowide ;
@@ -0,0 +1,1632 @@
1
+ # Doxyfile 1.7.1
2
+
3
+ # This file describes the settings to be used by the documentation system
4
+ # doxygen (www.doxygen.org) for a project
5
+ #
6
+ # All text after a hash (#) is considered a comment and will be ignored
7
+ # The format is:
8
+ # TAG = value [value, ...]
9
+ # For lists items can also be appended using:
10
+ # TAG += value [value, ...]
11
+ # Values that contain spaces should be placed between quotes (" ")
12
+
13
+ #---------------------------------------------------------------------------
14
+ # Project related configuration options
15
+ #---------------------------------------------------------------------------
16
+
17
+ # This tag specifies the encoding used for all characters in the config file
18
+ # that follow. The default is UTF-8 which is also the encoding used for all
19
+ # text before the first occurrence of this tag. Doxygen uses libiconv (or the
20
+ # iconv built into libc) for the transcoding. See
21
+ # http://www.gnu.org/software/libiconv for the list of possible encodings.
22
+
23
+ DOXYFILE_ENCODING = UTF-8
24
+
25
+ # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
26
+ # by quotes) that should identify the project.
27
+
28
+ PROJECT_NAME = Boost.Nowide
29
+
30
+ # The PROJECT_NUMBER tag can be used to enter a project or revision number.
31
+ # This could be handy for archiving the generated documentation or
32
+ # if some version control system is used.
33
+
34
+ PROJECT_NUMBER =
35
+
36
+ # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
37
+ # base path where the generated documentation will be put.
38
+ # If a relative path is entered, it will be relative to the location
39
+ # where doxygen was started. If left blank the current directory will be used.
40
+
41
+ OUTPUT_DIRECTORY = .
42
+
43
+ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
44
+ # 4096 sub-directories (in 2 levels) under the output directory of each output
45
+ # format and will distribute the generated files over these directories.
46
+ # Enabling this option can be useful when feeding doxygen a huge amount of
47
+ # source files, where putting all generated files in the same directory would
48
+ # otherwise cause performance problems for the file system.
49
+
50
+ CREATE_SUBDIRS = NO
51
+
52
+ # The OUTPUT_LANGUAGE tag is used to specify the language in which all
53
+ # documentation generated by doxygen is written. Doxygen will use this
54
+ # information to generate all constant output in the proper language.
55
+ # The default language is English, other supported languages are:
56
+ # Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
57
+ # Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
58
+ # Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
59
+ # messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
60
+ # Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
61
+ # Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
62
+
63
+ OUTPUT_LANGUAGE = English
64
+
65
+ # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
66
+ # include brief member descriptions after the members that are listed in
67
+ # the file and class documentation (similar to JavaDoc).
68
+ # Set to NO to disable this.
69
+
70
+ BRIEF_MEMBER_DESC = YES
71
+
72
+ # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
73
+ # the brief description of a member or function before the detailed description.
74
+ # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
75
+ # brief descriptions will be completely suppressed.
76
+
77
+ REPEAT_BRIEF = YES
78
+
79
+ # This tag implements a quasi-intelligent brief description abbreviator
80
+ # that is used to form the text in various listings. Each string
81
+ # in this list, if found as the leading text of the brief description, will be
82
+ # stripped from the text and the result after processing the whole list, is
83
+ # used as the annotated text. Otherwise, the brief description is used as-is.
84
+ # If left blank, the following values are used ("$name" is automatically
85
+ # replaced with the name of the entity): "The $name class" "The $name widget"
86
+ # "The $name file" "is" "provides" "specifies" "contains"
87
+ # "represents" "a" "an" "the"
88
+
89
+ ABBREVIATE_BRIEF =
90
+
91
+ # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
92
+ # Doxygen will generate a detailed section even if there is only a brief
93
+ # description.
94
+
95
+ ALWAYS_DETAILED_SEC = NO
96
+
97
+ # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
98
+ # inherited members of a class in the documentation of that class as if those
99
+ # members were ordinary class members. Constructors, destructors and assignment
100
+ # operators of the base classes will not be shown.
101
+
102
+ INLINE_INHERITED_MEMB = NO
103
+
104
+ # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
105
+ # path before files name in the file list and in the header files. If set
106
+ # to NO the shortest path that makes the file name unique will be used.
107
+
108
+ FULL_PATH_NAMES = YES
109
+
110
+ # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
111
+ # can be used to strip a user-defined part of the path. Stripping is
112
+ # only done if one of the specified strings matches the left-hand part of
113
+ # the path. The tag can be used to show relative paths in the file list.
114
+ # If left blank the directory from which doxygen is run is used as the
115
+ # path to strip.
116
+
117
+ STRIP_FROM_PATH = ../../..
118
+
119
+ # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
120
+ # the path mentioned in the documentation of a class, which tells
121
+ # the reader which header file to include in order to use a class.
122
+ # If left blank only the name of the header file containing the class
123
+ # definition is used. Otherwise one should specify the include paths that
124
+ # are normally passed to the compiler using the -I flag.
125
+
126
+ STRIP_FROM_INC_PATH = ../../..
127
+
128
+ # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
129
+ # (but less readable) file names. This can be useful is your file systems
130
+ # doesn't support long names like on DOS, Mac, or CD-ROM.
131
+
132
+ SHORT_NAMES = NO
133
+
134
+ # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
135
+ # will interpret the first line (until the first dot) of a JavaDoc-style
136
+ # comment as the brief description. If set to NO, the JavaDoc
137
+ # comments will behave just like regular Qt-style comments
138
+ # (thus requiring an explicit @brief command for a brief description.)
139
+
140
+ JAVADOC_AUTOBRIEF = NO
141
+
142
+ # If the QT_AUTOBRIEF tag is set to YES then Doxygen will
143
+ # interpret the first line (until the first dot) of a Qt-style
144
+ # comment as the brief description. If set to NO, the comments
145
+ # will behave just like regular Qt-style comments (thus requiring
146
+ # an explicit \brief command for a brief description.)
147
+
148
+ QT_AUTOBRIEF = NO
149
+
150
+ # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
151
+ # treat a multi-line C++ special comment block (i.e. a block of //! or ///
152
+ # comments) as a brief description. This used to be the default behaviour.
153
+ # The new default is to treat a multi-line C++ comment block as a detailed
154
+ # description. Set this tag to YES if you prefer the old behaviour instead.
155
+
156
+ MULTILINE_CPP_IS_BRIEF = NO
157
+
158
+ # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
159
+ # member inherits the documentation from any documented member that it
160
+ # re-implements.
161
+
162
+ INHERIT_DOCS = YES
163
+
164
+ # If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
165
+ # a new page for each member. If set to NO, the documentation of a member will
166
+ # be part of the file/class/namespace that contains it.
167
+
168
+ SEPARATE_MEMBER_PAGES = NO
169
+
170
+ # The TAB_SIZE tag can be used to set the number of spaces in a tab.
171
+ # Doxygen uses this value to replace tabs by spaces in code fragments.
172
+
173
+ TAB_SIZE = 8
174
+
175
+ # This tag can be used to specify a number of aliases that acts
176
+ # as commands in the documentation. An alias has the form "name=value".
177
+ # For example adding "sideeffect=\par Side Effects:\n" will allow you to
178
+ # put the command \sideeffect (or @sideeffect) in the documentation, which
179
+ # will result in a user-defined paragraph with heading "Side Effects:".
180
+ # You can put \n's in the value part of an alias to insert newlines.
181
+
182
+ ALIASES =
183
+
184
+ # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
185
+ # sources only. Doxygen will then generate output that is more tailored for C.
186
+ # For instance, some of the names that are used will be different. The list
187
+ # of all members will be omitted, etc.
188
+
189
+ OPTIMIZE_OUTPUT_FOR_C = NO
190
+
191
+ # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
192
+ # sources only. Doxygen will then generate output that is more tailored for
193
+ # Java. For instance, namespaces will be presented as packages, qualified
194
+ # scopes will look different, etc.
195
+
196
+ OPTIMIZE_OUTPUT_JAVA = NO
197
+
198
+ # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
199
+ # sources only. Doxygen will then generate output that is more tailored for
200
+ # Fortran.
201
+
202
+ OPTIMIZE_FOR_FORTRAN = NO
203
+
204
+ # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
205
+ # sources. Doxygen will then generate output that is tailored for
206
+ # VHDL.
207
+
208
+ OPTIMIZE_OUTPUT_VHDL = NO
209
+
210
+ # Doxygen selects the parser to use depending on the extension of the files it
211
+ # parses. With this tag you can assign which parser to use for a given extension.
212
+ # Doxygen has a built-in mapping, but you can override or extend it using this
213
+ # tag. The format is ext=language, where ext is a file extension, and language
214
+ # is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
215
+ # C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
216
+ # doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
217
+ # (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
218
+ # you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
219
+
220
+ EXTENSION_MAPPING =
221
+
222
+ # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
223
+ # to include (a tag file for) the STL sources as input, then you should
224
+ # set this tag to YES in order to let doxygen match functions declarations and
225
+ # definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
226
+ # func(std::string) {}). This also make the inheritance and collaboration
227
+ # diagrams that involve STL classes more complete and accurate.
228
+
229
+ BUILTIN_STL_SUPPORT = NO
230
+
231
+ # If you use Microsoft's C++/CLI language, you should set this option to YES to
232
+ # enable parsing support.
233
+
234
+ CPP_CLI_SUPPORT = NO
235
+
236
+ # Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
237
+ # Doxygen will parse them like normal C++ but will assume all classes use public
238
+ # instead of private inheritance when no explicit protection keyword is present.
239
+
240
+ SIP_SUPPORT = NO
241
+
242
+ # For Microsoft's IDL there are propget and propput attributes to indicate getter
243
+ # and setter methods for a property. Setting this option to YES (the default)
244
+ # will make doxygen to replace the get and set methods by a property in the
245
+ # documentation. This will only work if the methods are indeed getting or
246
+ # setting a simple type. If this is not the case, or you want to show the
247
+ # methods anyway, you should set this option to NO.
248
+
249
+ IDL_PROPERTY_SUPPORT = YES
250
+
251
+ # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
252
+ # tag is set to YES, then doxygen will reuse the documentation of the first
253
+ # member in the group (if any) for the other members of the group. By default
254
+ # all members of a group must be documented explicitly.
255
+
256
+ DISTRIBUTE_GROUP_DOC = NO
257
+
258
+ # Set the SUBGROUPING tag to YES (the default) to allow class member groups of
259
+ # the same type (for instance a group of public functions) to be put as a
260
+ # subgroup of that type (e.g. under the Public Functions section). Set it to
261
+ # NO to prevent subgrouping. Alternatively, this can be done per class using
262
+ # the \nosubgrouping command.
263
+
264
+ SUBGROUPING = YES
265
+
266
+ # When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
267
+ # is documented as struct, union, or enum with the name of the typedef. So
268
+ # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
269
+ # with name TypeT. When disabled the typedef will appear as a member of a file,
270
+ # namespace, or class. And the struct will be named TypeS. This can typically
271
+ # be useful for C code in case the coding convention dictates that all compound
272
+ # types are typedef'ed and only the typedef is referenced, never the tag name.
273
+
274
+ TYPEDEF_HIDES_STRUCT = NO
275
+
276
+ # The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
277
+ # determine which symbols to keep in memory and which to flush to disk.
278
+ # When the cache is full, less often used symbols will be written to disk.
279
+ # For small to medium size projects (<1000 input files) the default value is
280
+ # probably good enough. For larger projects a too small cache size can cause
281
+ # doxygen to be busy swapping symbols to and from disk most of the time
282
+ # causing a significant performance penality.
283
+ # If the system has enough physical memory increasing the cache will improve the
284
+ # performance by keeping more symbols in memory. Note that the value works on
285
+ # a logarithmic scale so increasing the size by one will rougly double the
286
+ # memory usage. The cache size is given by this formula:
287
+ # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
288
+ # corresponding to a cache size of 2^16 = 65536 symbols
289
+
290
+ SYMBOL_CACHE_SIZE = 0
291
+
292
+ #---------------------------------------------------------------------------
293
+ # Build related configuration options
294
+ #---------------------------------------------------------------------------
295
+
296
+ # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
297
+ # documentation are documented, even if no documentation was available.
298
+ # Private class members and static file members will be hidden unless
299
+ # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
300
+
301
+ EXTRACT_ALL = NO
302
+
303
+ # If the EXTRACT_PRIVATE tag is set to YES all private members of a class
304
+ # will be included in the documentation.
305
+
306
+ EXTRACT_PRIVATE = NO
307
+
308
+ # If the EXTRACT_STATIC tag is set to YES all static members of a file
309
+ # will be included in the documentation.
310
+
311
+ EXTRACT_STATIC = YES
312
+
313
+ # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
314
+ # defined locally in source files will be included in the documentation.
315
+ # If set to NO only classes defined in header files are included.
316
+
317
+ EXTRACT_LOCAL_CLASSES = YES
318
+
319
+ # This flag is only useful for Objective-C code. When set to YES local
320
+ # methods, which are defined in the implementation section but not in
321
+ # the interface are included in the documentation.
322
+ # If set to NO (the default) only methods in the interface are included.
323
+
324
+ EXTRACT_LOCAL_METHODS = NO
325
+
326
+ # If this flag is set to YES, the members of anonymous namespaces will be
327
+ # extracted and appear in the documentation as a namespace called
328
+ # 'anonymous_namespace{file}', where file will be replaced with the base
329
+ # name of the file that contains the anonymous namespace. By default
330
+ # anonymous namespace are hidden.
331
+
332
+ EXTRACT_ANON_NSPACES = NO
333
+
334
+ # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
335
+ # undocumented members of documented classes, files or namespaces.
336
+ # If set to NO (the default) these members will be included in the
337
+ # various overviews, but no documentation section is generated.
338
+ # This option has no effect if EXTRACT_ALL is enabled.
339
+
340
+ HIDE_UNDOC_MEMBERS = NO
341
+
342
+ # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
343
+ # undocumented classes that are normally visible in the class hierarchy.
344
+ # If set to NO (the default) these classes will be included in the various
345
+ # overviews. This option has no effect if EXTRACT_ALL is enabled.
346
+
347
+ HIDE_UNDOC_CLASSES = NO
348
+
349
+ # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
350
+ # friend (class|struct|union) declarations.
351
+ # If set to NO (the default) these declarations will be included in the
352
+ # documentation.
353
+
354
+ HIDE_FRIEND_COMPOUNDS = NO
355
+
356
+ # If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
357
+ # documentation blocks found inside the body of a function.
358
+ # If set to NO (the default) these blocks will be appended to the
359
+ # function's detailed documentation block.
360
+
361
+ HIDE_IN_BODY_DOCS = NO
362
+
363
+ # The INTERNAL_DOCS tag determines if documentation
364
+ # that is typed after a \internal command is included. If the tag is set
365
+ # to NO (the default) then the documentation will be excluded.
366
+ # Set it to YES to include the internal documentation.
367
+
368
+ INTERNAL_DOCS = NO
369
+
370
+ # If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
371
+ # file names in lower-case letters. If set to YES upper-case letters are also
372
+ # allowed. This is useful if you have classes or files whose names only differ
373
+ # in case and if your file system supports case sensitive file names. Windows
374
+ # and Mac users are advised to set this option to NO.
375
+
376
+ CASE_SENSE_NAMES = YES
377
+
378
+ # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
379
+ # will show members with their full class and namespace scopes in the
380
+ # documentation. If set to YES the scope will be hidden.
381
+
382
+ HIDE_SCOPE_NAMES = NO
383
+
384
+ # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
385
+ # will put a list of the files that are included by a file in the documentation
386
+ # of that file.
387
+
388
+ SHOW_INCLUDE_FILES = YES
389
+
390
+ # If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
391
+ # will list include files with double quotes in the documentation
392
+ # rather than with sharp brackets.
393
+
394
+ FORCE_LOCAL_INCLUDES = NO
395
+
396
+ # If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
397
+ # is inserted in the documentation for inline members.
398
+
399
+ INLINE_INFO = YES
400
+
401
+ # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
402
+ # will sort the (detailed) documentation of file and class members
403
+ # alphabetically by member name. If set to NO the members will appear in
404
+ # declaration order.
405
+
406
+ SORT_MEMBER_DOCS = YES
407
+
408
+ # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
409
+ # brief documentation of file, namespace and class members alphabetically
410
+ # by member name. If set to NO (the default) the members will appear in
411
+ # declaration order.
412
+
413
+ SORT_BRIEF_DOCS = NO
414
+
415
+ # If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
416
+ # will sort the (brief and detailed) documentation of class members so that
417
+ # constructors and destructors are listed first. If set to NO (the default)
418
+ # the constructors will appear in the respective orders defined by
419
+ # SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
420
+ # This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
421
+ # and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
422
+
423
+ SORT_MEMBERS_CTORS_1ST = NO
424
+
425
+ # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
426
+ # hierarchy of group names into alphabetical order. If set to NO (the default)
427
+ # the group names will appear in their defined order.
428
+
429
+ SORT_GROUP_NAMES = NO
430
+
431
+ # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
432
+ # sorted by fully-qualified names, including namespaces. If set to
433
+ # NO (the default), the class list will be sorted only by class name,
434
+ # not including the namespace part.
435
+ # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
436
+ # Note: This option applies only to the class list, not to the
437
+ # alphabetical list.
438
+
439
+ SORT_BY_SCOPE_NAME = NO
440
+
441
+ # The GENERATE_TODOLIST tag can be used to enable (YES) or
442
+ # disable (NO) the todo list. This list is created by putting \todo
443
+ # commands in the documentation.
444
+
445
+ GENERATE_TODOLIST = YES
446
+
447
+ # The GENERATE_TESTLIST tag can be used to enable (YES) or
448
+ # disable (NO) the test list. This list is created by putting \test
449
+ # commands in the documentation.
450
+
451
+ GENERATE_TESTLIST = YES
452
+
453
+ # The GENERATE_BUGLIST tag can be used to enable (YES) or
454
+ # disable (NO) the bug list. This list is created by putting \bug
455
+ # commands in the documentation.
456
+
457
+ GENERATE_BUGLIST = YES
458
+
459
+ # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
460
+ # disable (NO) the deprecated list. This list is created by putting
461
+ # \deprecated commands in the documentation.
462
+
463
+ GENERATE_DEPRECATEDLIST= YES
464
+
465
+ # The ENABLED_SECTIONS tag can be used to enable conditional
466
+ # documentation sections, marked by \if sectionname ... \endif.
467
+
468
+ ENABLED_SECTIONS =
469
+
470
+ # The MAX_INITIALIZER_LINES tag determines the maximum number of lines
471
+ # the initial value of a variable or define consists of for it to appear in
472
+ # the documentation. If the initializer consists of more lines than specified
473
+ # here it will be hidden. Use a value of 0 to hide initializers completely.
474
+ # The appearance of the initializer of individual variables and defines in the
475
+ # documentation can be controlled using \showinitializer or \hideinitializer
476
+ # command in the documentation regardless of this setting.
477
+
478
+ MAX_INITIALIZER_LINES = 30
479
+
480
+ # Set the SHOW_USED_FILES tag to NO to disable the list of files generated
481
+ # at the bottom of the documentation of classes and structs. If set to YES the
482
+ # list will mention the files that were used to generate the documentation.
483
+
484
+ SHOW_USED_FILES = YES
485
+
486
+ # If the sources in your project are distributed over multiple directories
487
+ # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
488
+ # in the documentation. The default is NO.
489
+
490
+ SHOW_DIRECTORIES = NO
491
+
492
+ # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
493
+ # This will remove the Files entry from the Quick Index and from the
494
+ # Folder Tree View (if specified). The default is YES.
495
+
496
+ SHOW_FILES = YES
497
+
498
+ # Set the SHOW_NAMESPACES tag to NO to disable the generation of the
499
+ # Namespaces page.
500
+ # This will remove the Namespaces entry from the Quick Index
501
+ # and from the Folder Tree View (if specified). The default is YES.
502
+
503
+ SHOW_NAMESPACES = YES
504
+
505
+ # The FILE_VERSION_FILTER tag can be used to specify a program or script that
506
+ # doxygen should invoke to get the current version for each file (typically from
507
+ # the version control system). Doxygen will invoke the program by executing (via
508
+ # popen()) the command <command> <input-file>, where <command> is the value of
509
+ # the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
510
+ # provided by doxygen. Whatever the program writes to standard output
511
+ # is used as the file version. See the manual for examples.
512
+
513
+ FILE_VERSION_FILTER =
514
+
515
+ # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
516
+ # by doxygen. The layout file controls the global structure of the generated
517
+ # output files in an output format independent way. The create the layout file
518
+ # that represents doxygen's defaults, run doxygen with the -l option.
519
+ # You can optionally specify a file name after the option, if omitted
520
+ # DoxygenLayout.xml will be used as the name of the layout file.
521
+
522
+ LAYOUT_FILE =
523
+
524
+ #---------------------------------------------------------------------------
525
+ # configuration options related to warning and progress messages
526
+ #---------------------------------------------------------------------------
527
+
528
+ # The QUIET tag can be used to turn on/off the messages that are generated
529
+ # by doxygen. Possible values are YES and NO. If left blank NO is used.
530
+
531
+ QUIET = NO
532
+
533
+ # The WARNINGS tag can be used to turn on/off the warning messages that are
534
+ # generated by doxygen. Possible values are YES and NO. If left blank
535
+ # NO is used.
536
+
537
+ WARNINGS = YES
538
+
539
+ # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
540
+ # for undocumented members. If EXTRACT_ALL is set to YES then this flag will
541
+ # automatically be disabled.
542
+
543
+ WARN_IF_UNDOCUMENTED = YES
544
+
545
+ # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
546
+ # potential errors in the documentation, such as not documenting some
547
+ # parameters in a documented function, or documenting parameters that
548
+ # don't exist or using markup commands wrongly.
549
+
550
+ WARN_IF_DOC_ERROR = YES
551
+
552
+ # This WARN_NO_PARAMDOC option can be abled to get warnings for
553
+ # functions that are documented, but have no documentation for their parameters
554
+ # or return value. If set to NO (the default) doxygen will only warn about
555
+ # wrong or incomplete parameter documentation, but not about the absence of
556
+ # documentation.
557
+
558
+ WARN_NO_PARAMDOC = NO
559
+
560
+ # The WARN_FORMAT tag determines the format of the warning messages that
561
+ # doxygen can produce. The string should contain the $file, $line, and $text
562
+ # tags, which will be replaced by the file and line number from which the
563
+ # warning originated and the warning text. Optionally the format may contain
564
+ # $version, which will be replaced by the version of the file (if it could
565
+ # be obtained via FILE_VERSION_FILTER)
566
+
567
+ WARN_FORMAT = "$file:$line: $text"
568
+
569
+ # The WARN_LOGFILE tag can be used to specify a file to which warning
570
+ # and error messages should be written. If left blank the output is written
571
+ # to stderr.
572
+
573
+ WARN_LOGFILE =
574
+
575
+ #---------------------------------------------------------------------------
576
+ # configuration options related to the input files
577
+ #---------------------------------------------------------------------------
578
+
579
+ # The INPUT tag can be used to specify the files and/or directories that contain
580
+ # documented source files. You may enter file names like "myfile.cpp" or
581
+ # directories like "/usr/src/myproject". Separate the files or directories
582
+ # with spaces.
583
+
584
+ INPUT = ../../../boost/nowide/ \
585
+ .
586
+
587
+ # This tag can be used to specify the character encoding of the source files
588
+ # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
589
+ # also the default input encoding. Doxygen uses libiconv (or the iconv built
590
+ # into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
591
+ # the list of possible encodings.
592
+
593
+ INPUT_ENCODING = UTF-8
594
+
595
+ # If the value of the INPUT tag contains directories, you can use the
596
+ # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
597
+ # and *.h) to filter out the source-files in the directories. If left
598
+ # blank the following patterns are tested:
599
+ # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
600
+ # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
601
+
602
+ FILE_PATTERNS = *.hpp *.txt
603
+
604
+ # The RECURSIVE tag can be used to turn specify whether or not subdirectories
605
+ # should be searched for input files as well. Possible values are YES and NO.
606
+ # If left blank NO is used.
607
+
608
+ RECURSIVE = NO
609
+
610
+ # The EXCLUDE tag can be used to specify files and/or directories that should
611
+ # excluded from the INPUT source files. This way you can easily exclude a
612
+ # subdirectory from a directory tree whose root is specified with the INPUT tag.
613
+
614
+ EXCLUDE =
615
+
616
+ # The EXCLUDE_SYMLINKS tag can be used select whether or not files or
617
+ # directories that are symbolic links (a Unix filesystem feature) are excluded
618
+ # from the input.
619
+
620
+ EXCLUDE_SYMLINKS = NO
621
+
622
+ # If the value of the INPUT tag contains directories, you can use the
623
+ # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
624
+ # certain files from those directories. Note that the wildcards are matched
625
+ # against the file with absolute path, so to exclude all test directories
626
+ # for example use the pattern */test/*
627
+
628
+ EXCLUDE_PATTERNS =
629
+
630
+ # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
631
+ # (namespaces, classes, functions, etc.) that should be excluded from the
632
+ # output. The symbol name can be a fully qualified name, a word, or if the
633
+ # wildcard * is used, a substring. Examples: ANamespace, AClass,
634
+ # AClass::ANamespace, ANamespace::*Test
635
+
636
+ EXCLUDE_SYMBOLS =
637
+
638
+ # The EXAMPLE_PATH tag can be used to specify one or more files or
639
+ # directories that contain example code fragments that are included (see
640
+ # the \include command).
641
+
642
+ EXAMPLE_PATH = ../examples
643
+
644
+ # If the value of the EXAMPLE_PATH tag contains directories, you can use the
645
+ # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
646
+ # and *.h) to filter out the source-files in the directories. If left
647
+ # blank all files are included.
648
+
649
+ EXAMPLE_PATTERNS =
650
+
651
+ # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
652
+ # searched for input files to be used with the \include or \dontinclude
653
+ # commands irrespective of the value of the RECURSIVE tag.
654
+ # Possible values are YES and NO. If left blank NO is used.
655
+
656
+ EXAMPLE_RECURSIVE = NO
657
+
658
+ # The IMAGE_PATH tag can be used to specify one or more files or
659
+ # directories that contain image that are included in the documentation (see
660
+ # the \image command).
661
+
662
+ IMAGE_PATH =
663
+
664
+ # The INPUT_FILTER tag can be used to specify a program that doxygen should
665
+ # invoke to filter for each input file. Doxygen will invoke the filter program
666
+ # by executing (via popen()) the command <filter> <input-file>, where <filter>
667
+ # is the value of the INPUT_FILTER tag, and <input-file> is the name of an
668
+ # input file. Doxygen will then use the output that the filter program writes
669
+ # to standard output.
670
+ # If FILTER_PATTERNS is specified, this tag will be
671
+ # ignored.
672
+
673
+ INPUT_FILTER =
674
+
675
+ # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
676
+ # basis.
677
+ # Doxygen will compare the file name with each pattern and apply the
678
+ # filter if there is a match.
679
+ # The filters are a list of the form:
680
+ # pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
681
+ # info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
682
+ # is applied to all files.
683
+
684
+ FILTER_PATTERNS =
685
+
686
+ # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
687
+ # INPUT_FILTER) will be used to filter the input files when producing source
688
+ # files to browse (i.e. when SOURCE_BROWSER is set to YES).
689
+
690
+ FILTER_SOURCE_FILES = NO
691
+
692
+ #---------------------------------------------------------------------------
693
+ # configuration options related to source browsing
694
+ #---------------------------------------------------------------------------
695
+
696
+ # If the SOURCE_BROWSER tag is set to YES then a list of source files will
697
+ # be generated. Documented entities will be cross-referenced with these sources.
698
+ # Note: To get rid of all source code in the generated output, make sure also
699
+ # VERBATIM_HEADERS is set to NO.
700
+
701
+ SOURCE_BROWSER = NO
702
+
703
+ # Setting the INLINE_SOURCES tag to YES will include the body
704
+ # of functions and classes directly in the documentation.
705
+
706
+ INLINE_SOURCES = NO
707
+
708
+ # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
709
+ # doxygen to hide any special comment blocks from generated source code
710
+ # fragments. Normal C and C++ comments will always remain visible.
711
+
712
+ STRIP_CODE_COMMENTS = YES
713
+
714
+ # If the REFERENCED_BY_RELATION tag is set to YES
715
+ # then for each documented function all documented
716
+ # functions referencing it will be listed.
717
+
718
+ REFERENCED_BY_RELATION = NO
719
+
720
+ # If the REFERENCES_RELATION tag is set to YES
721
+ # then for each documented function all documented entities
722
+ # called/used by that function will be listed.
723
+
724
+ REFERENCES_RELATION = NO
725
+
726
+ # If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
727
+ # and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
728
+ # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
729
+ # link to the source code.
730
+ # Otherwise they will link to the documentation.
731
+
732
+ REFERENCES_LINK_SOURCE = YES
733
+
734
+ # If the USE_HTAGS tag is set to YES then the references to source code
735
+ # will point to the HTML generated by the htags(1) tool instead of doxygen
736
+ # built-in source browser. The htags tool is part of GNU's global source
737
+ # tagging system (see http://www.gnu.org/software/global/global.html). You
738
+ # will need version 4.8.6 or higher.
739
+
740
+ USE_HTAGS = NO
741
+
742
+ # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
743
+ # will generate a verbatim copy of the header file for each class for
744
+ # which an include is specified. Set to NO to disable this.
745
+
746
+ VERBATIM_HEADERS = YES
747
+
748
+ #---------------------------------------------------------------------------
749
+ # configuration options related to the alphabetical class index
750
+ #---------------------------------------------------------------------------
751
+
752
+ # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
753
+ # of all compounds will be generated. Enable this if the project
754
+ # contains a lot of classes, structs, unions or interfaces.
755
+
756
+ ALPHABETICAL_INDEX = NO
757
+
758
+ # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
759
+ # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
760
+ # in which this list will be split (can be a number in the range [1..20])
761
+
762
+ COLS_IN_ALPHA_INDEX = 5
763
+
764
+ # In case all classes in a project start with a common prefix, all
765
+ # classes will be put under the same header in the alphabetical index.
766
+ # The IGNORE_PREFIX tag can be used to specify one or more prefixes that
767
+ # should be ignored while generating the index headers.
768
+
769
+ IGNORE_PREFIX =
770
+
771
+ #---------------------------------------------------------------------------
772
+ # configuration options related to the HTML output
773
+ #---------------------------------------------------------------------------
774
+
775
+ # If the GENERATE_HTML tag is set to YES (the default) Doxygen will
776
+ # generate HTML output.
777
+
778
+ GENERATE_HTML = YES
779
+
780
+ # The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
781
+ # If a relative path is entered the value of OUTPUT_DIRECTORY will be
782
+ # put in front of it. If left blank `html' will be used as the default path.
783
+
784
+ HTML_OUTPUT = html
785
+
786
+ # The HTML_FILE_EXTENSION tag can be used to specify the file extension for
787
+ # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
788
+ # doxygen will generate files with .html extension.
789
+
790
+ HTML_FILE_EXTENSION = .html
791
+
792
+ # The HTML_HEADER tag can be used to specify a personal HTML header for
793
+ # each generated HTML page. If it is left blank doxygen will generate a
794
+ # standard header.
795
+
796
+ HTML_HEADER =
797
+
798
+ # The HTML_FOOTER tag can be used to specify a personal HTML footer for
799
+ # each generated HTML page. If it is left blank doxygen will generate a
800
+ # standard footer.
801
+
802
+ HTML_FOOTER =
803
+
804
+ # The HTML_STYLESHEET tag can be used to specify a user-defined cascading
805
+ # style sheet that is used by each HTML page. It can be used to
806
+ # fine-tune the look of the HTML output. If the tag is left blank doxygen
807
+ # will generate a default style sheet. Note that doxygen will try to copy
808
+ # the style sheet file to the HTML output directory, so don't put your own
809
+ # stylesheet in the HTML output directory as well, or it will be erased!
810
+
811
+ HTML_STYLESHEET =
812
+
813
+ # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.
814
+ # Doxygen will adjust the colors in the stylesheet and background images
815
+ # according to this color. Hue is specified as an angle on a colorwheel,
816
+ # see http://en.wikipedia.org/wiki/Hue for more information.
817
+ # For instance the value 0 represents red, 60 is yellow, 120 is green,
818
+ # 180 is cyan, 240 is blue, 300 purple, and 360 is red again.
819
+ # The allowed range is 0 to 359.
820
+
821
+ HTML_COLORSTYLE_HUE = 220
822
+
823
+ # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
824
+ # the colors in the HTML output. For a value of 0 the output will use
825
+ # grayscales only. A value of 255 will produce the most vivid colors.
826
+
827
+ HTML_COLORSTYLE_SAT = 100
828
+
829
+ # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
830
+ # the luminance component of the colors in the HTML output. Values below
831
+ # 100 gradually make the output lighter, whereas values above 100 make
832
+ # the output darker. The value divided by 100 is the actual gamma applied,
833
+ # so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
834
+ # and 100 does not change the gamma.
835
+
836
+ HTML_COLORSTYLE_GAMMA = 80
837
+
838
+ # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
839
+ # page will contain the date and time when the page was generated. Setting
840
+ # this to NO can help when comparing the output of multiple runs.
841
+
842
+ HTML_TIMESTAMP = NO
843
+
844
+ # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
845
+ # files or namespaces will be aligned in HTML using tables. If set to
846
+ # NO a bullet list will be used.
847
+
848
+ HTML_ALIGN_MEMBERS = YES
849
+
850
+ # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
851
+ # documentation will contain sections that can be hidden and shown after the
852
+ # page has loaded. For this to work a browser that supports
853
+ # JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
854
+ # Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
855
+
856
+ HTML_DYNAMIC_SECTIONS = NO
857
+
858
+ # If the GENERATE_DOCSET tag is set to YES, additional index files
859
+ # will be generated that can be used as input for Apple's Xcode 3
860
+ # integrated development environment, introduced with OSX 10.5 (Leopard).
861
+ # To create a documentation set, doxygen will generate a Makefile in the
862
+ # HTML output directory. Running make will produce the docset in that
863
+ # directory and running "make install" will install the docset in
864
+ # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
865
+ # it at startup.
866
+ # See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
867
+ # for more information.
868
+
869
+ GENERATE_DOCSET = NO
870
+
871
+ # When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
872
+ # feed. A documentation feed provides an umbrella under which multiple
873
+ # documentation sets from a single provider (such as a company or product suite)
874
+ # can be grouped.
875
+
876
+ DOCSET_FEEDNAME = "Doxygen generated docs"
877
+
878
+ # When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
879
+ # should uniquely identify the documentation set bundle. This should be a
880
+ # reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
881
+ # will append .docset to the name.
882
+
883
+ DOCSET_BUNDLE_ID = org.doxygen.Project
884
+
885
+ # When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify
886
+ # the documentation publisher. This should be a reverse domain-name style
887
+ # string, e.g. com.mycompany.MyDocSet.documentation.
888
+
889
+ DOCSET_PUBLISHER_ID = org.doxygen.Publisher
890
+
891
+ # The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
892
+
893
+ DOCSET_PUBLISHER_NAME = Publisher
894
+
895
+ # If the GENERATE_HTMLHELP tag is set to YES, additional index files
896
+ # will be generated that can be used as input for tools like the
897
+ # Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
898
+ # of the generated HTML documentation.
899
+
900
+ GENERATE_HTMLHELP = NO
901
+
902
+ # If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
903
+ # be used to specify the file name of the resulting .chm file. You
904
+ # can add a path in front of the file if the result should not be
905
+ # written to the html output directory.
906
+
907
+ CHM_FILE =
908
+
909
+ # If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
910
+ # be used to specify the location (absolute path including file name) of
911
+ # the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
912
+ # the HTML help compiler on the generated index.hhp.
913
+
914
+ HHC_LOCATION =
915
+
916
+ # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
917
+ # controls if a separate .chi index file is generated (YES) or that
918
+ # it should be included in the master .chm file (NO).
919
+
920
+ GENERATE_CHI = NO
921
+
922
+ # If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
923
+ # is used to encode HtmlHelp index (hhk), content (hhc) and project file
924
+ # content.
925
+
926
+ CHM_INDEX_ENCODING =
927
+
928
+ # If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
929
+ # controls whether a binary table of contents is generated (YES) or a
930
+ # normal table of contents (NO) in the .chm file.
931
+
932
+ BINARY_TOC = NO
933
+
934
+ # The TOC_EXPAND flag can be set to YES to add extra items for group members
935
+ # to the contents of the HTML help documentation and to the tree view.
936
+
937
+ TOC_EXPAND = NO
938
+
939
+ # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
940
+ # QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
941
+ # that can be used as input for Qt's qhelpgenerator to generate a
942
+ # Qt Compressed Help (.qch) of the generated HTML documentation.
943
+
944
+ GENERATE_QHP = NO
945
+
946
+ # If the QHG_LOCATION tag is specified, the QCH_FILE tag can
947
+ # be used to specify the file name of the resulting .qch file.
948
+ # The path specified is relative to the HTML output folder.
949
+
950
+ QCH_FILE =
951
+
952
+ # The QHP_NAMESPACE tag specifies the namespace to use when generating
953
+ # Qt Help Project output. For more information please see
954
+ # http://doc.trolltech.com/qthelpproject.html#namespace
955
+
956
+ QHP_NAMESPACE = org.doxygen.Project
957
+
958
+ # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
959
+ # Qt Help Project output. For more information please see
960
+ # http://doc.trolltech.com/qthelpproject.html#virtual-folders
961
+
962
+ QHP_VIRTUAL_FOLDER = doc
963
+
964
+ # If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to
965
+ # add. For more information please see
966
+ # http://doc.trolltech.com/qthelpproject.html#custom-filters
967
+
968
+ QHP_CUST_FILTER_NAME =
969
+
970
+ # The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the
971
+ # custom filter to add. For more information please see
972
+ # <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">
973
+ # Qt Help Project / Custom Filters</a>.
974
+
975
+ QHP_CUST_FILTER_ATTRS =
976
+
977
+ # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
978
+ # project's
979
+ # filter section matches.
980
+ # <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">
981
+ # Qt Help Project / Filter Attributes</a>.
982
+
983
+ QHP_SECT_FILTER_ATTRS =
984
+
985
+ # If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
986
+ # be used to specify the location of Qt's qhelpgenerator.
987
+ # If non-empty doxygen will try to run qhelpgenerator on the generated
988
+ # .qhp file.
989
+
990
+ QHG_LOCATION =
991
+
992
+ # If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
993
+ # will be generated, which together with the HTML files, form an Eclipse help
994
+ # plugin. To install this plugin and make it available under the help contents
995
+ # menu in Eclipse, the contents of the directory containing the HTML and XML
996
+ # files needs to be copied into the plugins directory of eclipse. The name of
997
+ # the directory within the plugins directory should be the same as
998
+ # the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before
999
+ # the help appears.
1000
+
1001
+ GENERATE_ECLIPSEHELP = NO
1002
+
1003
+ # A unique identifier for the eclipse help plugin. When installing the plugin
1004
+ # the directory name containing the HTML and XML files should also have
1005
+ # this name.
1006
+
1007
+ ECLIPSE_DOC_ID = org.doxygen.Project
1008
+
1009
+ # The DISABLE_INDEX tag can be used to turn on/off the condensed index at
1010
+ # top of each HTML page. The value NO (the default) enables the index and
1011
+ # the value YES disables it.
1012
+
1013
+ DISABLE_INDEX = NO
1014
+
1015
+ # This tag can be used to set the number of enum values (range [1..20])
1016
+ # that doxygen will group on one line in the generated HTML documentation.
1017
+
1018
+ ENUM_VALUES_PER_LINE = 4
1019
+
1020
+ # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
1021
+ # structure should be generated to display hierarchical information.
1022
+ # If the tag value is set to YES, a side panel will be generated
1023
+ # containing a tree-like index structure (just like the one that
1024
+ # is generated for HTML Help). For this to work a browser that supports
1025
+ # JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
1026
+ # Windows users are probably better off using the HTML help feature.
1027
+
1028
+ GENERATE_TREEVIEW = NO
1029
+
1030
+ # By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
1031
+ # and Class Hierarchy pages using a tree view instead of an ordered list.
1032
+
1033
+ USE_INLINE_TREES = NO
1034
+
1035
+ # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
1036
+ # used to set the initial width (in pixels) of the frame in which the tree
1037
+ # is shown.
1038
+
1039
+ TREEVIEW_WIDTH = 250
1040
+
1041
+ # When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open
1042
+ # links to external symbols imported via tag files in a separate window.
1043
+
1044
+ EXT_LINKS_IN_WINDOW = NO
1045
+
1046
+ # Use this tag to change the font size of Latex formulas included
1047
+ # as images in the HTML documentation. The default is 10. Note that
1048
+ # when you change the font size after a successful doxygen run you need
1049
+ # to manually remove any form_*.png images from the HTML output directory
1050
+ # to force them to be regenerated.
1051
+
1052
+ FORMULA_FONTSIZE = 10
1053
+
1054
+ # Use the FORMULA_TRANPARENT tag to determine whether or not the images
1055
+ # generated for formulas are transparent PNGs. Transparent PNGs are
1056
+ # not supported properly for IE 6.0, but are supported on all modern browsers.
1057
+ # Note that when changing this option you need to delete any form_*.png files
1058
+ # in the HTML output before the changes have effect.
1059
+
1060
+ FORMULA_TRANSPARENT = YES
1061
+
1062
+ # When the SEARCHENGINE tag is enabled doxygen will generate a search box
1063
+ # for the HTML output. The underlying search engine uses javascript
1064
+ # and DHTML and should work on any modern browser. Note that when using
1065
+ # HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets
1066
+ # (GENERATE_DOCSET) there is already a search function so this one should
1067
+ # typically be disabled. For large projects the javascript based search engine
1068
+ # can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
1069
+
1070
+ SEARCHENGINE = NO
1071
+
1072
+ # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1073
+ # implemented using a PHP enabled web server instead of at the web client
1074
+ # using Javascript. Doxygen will generate the search PHP script and index
1075
+ # file to put on the web server. The advantage of the server
1076
+ # based approach is that it scales better to large projects and allows
1077
+ # full text search. The disadvances is that it is more difficult to setup
1078
+ # and does not have live searching capabilities.
1079
+
1080
+ SERVER_BASED_SEARCH = NO
1081
+
1082
+ #---------------------------------------------------------------------------
1083
+ # configuration options related to the LaTeX output
1084
+ #---------------------------------------------------------------------------
1085
+
1086
+ # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
1087
+ # generate Latex output.
1088
+
1089
+ GENERATE_LATEX = NO
1090
+
1091
+ # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
1092
+ # If a relative path is entered the value of OUTPUT_DIRECTORY will be
1093
+ # put in front of it. If left blank `latex' will be used as the default path.
1094
+
1095
+ LATEX_OUTPUT = latex
1096
+
1097
+ # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
1098
+ # invoked. If left blank `latex' will be used as the default command name.
1099
+ # Note that when enabling USE_PDFLATEX this option is only used for
1100
+ # generating bitmaps for formulas in the HTML output, but not in the
1101
+ # Makefile that is written to the output directory.
1102
+
1103
+ LATEX_CMD_NAME = latex
1104
+
1105
+ # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
1106
+ # generate index for LaTeX. If left blank `makeindex' will be used as the
1107
+ # default command name.
1108
+
1109
+ MAKEINDEX_CMD_NAME = makeindex
1110
+
1111
+ # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
1112
+ # LaTeX documents. This may be useful for small projects and may help to
1113
+ # save some trees in general.
1114
+
1115
+ COMPACT_LATEX = NO
1116
+
1117
+ # The PAPER_TYPE tag can be used to set the paper type that is used
1118
+ # by the printer. Possible values are: a4, a4wide, letter, legal and
1119
+ # executive. If left blank a4wide will be used.
1120
+
1121
+ PAPER_TYPE = a4wide
1122
+
1123
+ # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
1124
+ # packages that should be included in the LaTeX output.
1125
+
1126
+ EXTRA_PACKAGES =
1127
+
1128
+ # The LATEX_HEADER tag can be used to specify a personal LaTeX header for
1129
+ # the generated latex document. The header should contain everything until
1130
+ # the first chapter. If it is left blank doxygen will generate a
1131
+ # standard header. Notice: only use this tag if you know what you are doing!
1132
+
1133
+ LATEX_HEADER =
1134
+
1135
+ # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
1136
+ # is prepared for conversion to pdf (using ps2pdf). The pdf file will
1137
+ # contain links (just like the HTML output) instead of page references
1138
+ # This makes the output suitable for online browsing using a pdf viewer.
1139
+
1140
+ PDF_HYPERLINKS = YES
1141
+
1142
+ # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
1143
+ # plain latex in the generated Makefile. Set this option to YES to get a
1144
+ # higher quality PDF documentation.
1145
+
1146
+ USE_PDFLATEX = YES
1147
+
1148
+ # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
1149
+ # command to the generated LaTeX files. This will instruct LaTeX to keep
1150
+ # running if errors occur, instead of asking the user for help.
1151
+ # This option is also used when generating formulas in HTML.
1152
+
1153
+ LATEX_BATCHMODE = NO
1154
+
1155
+ # If LATEX_HIDE_INDICES is set to YES then doxygen will not
1156
+ # include the index chapters (such as File Index, Compound Index, etc.)
1157
+ # in the output.
1158
+
1159
+ LATEX_HIDE_INDICES = NO
1160
+
1161
+ # If LATEX_SOURCE_CODE is set to YES then doxygen will include
1162
+ # source code with syntax highlighting in the LaTeX output.
1163
+ # Note that which sources are shown also depends on other settings
1164
+ # such as SOURCE_BROWSER.
1165
+
1166
+ LATEX_SOURCE_CODE = NO
1167
+
1168
+ #---------------------------------------------------------------------------
1169
+ # configuration options related to the RTF output
1170
+ #---------------------------------------------------------------------------
1171
+
1172
+ # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
1173
+ # The RTF output is optimized for Word 97 and may not look very pretty with
1174
+ # other RTF readers or editors.
1175
+
1176
+ GENERATE_RTF = NO
1177
+
1178
+ # The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
1179
+ # If a relative path is entered the value of OUTPUT_DIRECTORY will be
1180
+ # put in front of it. If left blank `rtf' will be used as the default path.
1181
+
1182
+ RTF_OUTPUT = rtf
1183
+
1184
+ # If the COMPACT_RTF tag is set to YES Doxygen generates more compact
1185
+ # RTF documents. This may be useful for small projects and may help to
1186
+ # save some trees in general.
1187
+
1188
+ COMPACT_RTF = NO
1189
+
1190
+ # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
1191
+ # will contain hyperlink fields. The RTF file will
1192
+ # contain links (just like the HTML output) instead of page references.
1193
+ # This makes the output suitable for online browsing using WORD or other
1194
+ # programs which support those fields.
1195
+ # Note: wordpad (write) and others do not support links.
1196
+
1197
+ RTF_HYPERLINKS = NO
1198
+
1199
+ # Load stylesheet definitions from file. Syntax is similar to doxygen's
1200
+ # config file, i.e. a series of assignments. You only have to provide
1201
+ # replacements, missing definitions are set to their default value.
1202
+
1203
+ RTF_STYLESHEET_FILE =
1204
+
1205
+ # Set optional variables used in the generation of an rtf document.
1206
+ # Syntax is similar to doxygen's config file.
1207
+
1208
+ RTF_EXTENSIONS_FILE =
1209
+
1210
+ #---------------------------------------------------------------------------
1211
+ # configuration options related to the man page output
1212
+ #---------------------------------------------------------------------------
1213
+
1214
+ # If the GENERATE_MAN tag is set to YES (the default) Doxygen will
1215
+ # generate man pages
1216
+
1217
+ GENERATE_MAN = NO
1218
+
1219
+ # The MAN_OUTPUT tag is used to specify where the man pages will be put.
1220
+ # If a relative path is entered the value of OUTPUT_DIRECTORY will be
1221
+ # put in front of it. If left blank `man' will be used as the default path.
1222
+
1223
+ MAN_OUTPUT = man
1224
+
1225
+ # The MAN_EXTENSION tag determines the extension that is added to
1226
+ # the generated man pages (default is the subroutine's section .3)
1227
+
1228
+ MAN_EXTENSION = .3
1229
+
1230
+ # If the MAN_LINKS tag is set to YES and Doxygen generates man output,
1231
+ # then it will generate one additional man file for each entity
1232
+ # documented in the real man page(s). These additional files
1233
+ # only source the real man page, but without them the man command
1234
+ # would be unable to find the correct page. The default is NO.
1235
+
1236
+ MAN_LINKS = NO
1237
+
1238
+ #---------------------------------------------------------------------------
1239
+ # configuration options related to the XML output
1240
+ #---------------------------------------------------------------------------
1241
+
1242
+ # If the GENERATE_XML tag is set to YES Doxygen will
1243
+ # generate an XML file that captures the structure of
1244
+ # the code including all documentation.
1245
+
1246
+ GENERATE_XML = NO
1247
+
1248
+ # The XML_OUTPUT tag is used to specify where the XML pages will be put.
1249
+ # If a relative path is entered the value of OUTPUT_DIRECTORY will be
1250
+ # put in front of it. If left blank `xml' will be used as the default path.
1251
+
1252
+ XML_OUTPUT = xml
1253
+
1254
+ # The XML_SCHEMA tag can be used to specify an XML schema,
1255
+ # which can be used by a validating XML parser to check the
1256
+ # syntax of the XML files.
1257
+
1258
+ XML_SCHEMA =
1259
+
1260
+ # The XML_DTD tag can be used to specify an XML DTD,
1261
+ # which can be used by a validating XML parser to check the
1262
+ # syntax of the XML files.
1263
+
1264
+ XML_DTD =
1265
+
1266
+ # If the XML_PROGRAMLISTING tag is set to YES Doxygen will
1267
+ # dump the program listings (including syntax highlighting
1268
+ # and cross-referencing information) to the XML output. Note that
1269
+ # enabling this will significantly increase the size of the XML output.
1270
+
1271
+ XML_PROGRAMLISTING = YES
1272
+
1273
+ #---------------------------------------------------------------------------
1274
+ # configuration options for the AutoGen Definitions output
1275
+ #---------------------------------------------------------------------------
1276
+
1277
+ # If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
1278
+ # generate an AutoGen Definitions (see autogen.sf.net) file
1279
+ # that captures the structure of the code including all
1280
+ # documentation. Note that this feature is still experimental
1281
+ # and incomplete at the moment.
1282
+
1283
+ GENERATE_AUTOGEN_DEF = NO
1284
+
1285
+ #---------------------------------------------------------------------------
1286
+ # configuration options related to the Perl module output
1287
+ #---------------------------------------------------------------------------
1288
+
1289
+ # If the GENERATE_PERLMOD tag is set to YES Doxygen will
1290
+ # generate a Perl module file that captures the structure of
1291
+ # the code including all documentation. Note that this
1292
+ # feature is still experimental and incomplete at the
1293
+ # moment.
1294
+
1295
+ GENERATE_PERLMOD = NO
1296
+
1297
+ # If the PERLMOD_LATEX tag is set to YES Doxygen will generate
1298
+ # the necessary Makefile rules, Perl scripts and LaTeX code to be able
1299
+ # to generate PDF and DVI output from the Perl module output.
1300
+
1301
+ PERLMOD_LATEX = NO
1302
+
1303
+ # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
1304
+ # nicely formatted so it can be parsed by a human reader.
1305
+ # This is useful
1306
+ # if you want to understand what is going on.
1307
+ # On the other hand, if this
1308
+ # tag is set to NO the size of the Perl module output will be much smaller
1309
+ # and Perl will parse it just the same.
1310
+
1311
+ PERLMOD_PRETTY = YES
1312
+
1313
+ # The names of the make variables in the generated doxyrules.make file
1314
+ # are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
1315
+ # This is useful so different doxyrules.make files included by the same
1316
+ # Makefile don't overwrite each other's variables.
1317
+
1318
+ PERLMOD_MAKEVAR_PREFIX =
1319
+
1320
+ #---------------------------------------------------------------------------
1321
+ # Configuration options related to the preprocessor
1322
+ #---------------------------------------------------------------------------
1323
+
1324
+ # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
1325
+ # evaluate all C-preprocessor directives found in the sources and include
1326
+ # files.
1327
+
1328
+ ENABLE_PREPROCESSING = YES
1329
+
1330
+ # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
1331
+ # names in the source code. If set to NO (the default) only conditional
1332
+ # compilation will be performed. Macro expansion can be done in a controlled
1333
+ # way by setting EXPAND_ONLY_PREDEF to YES.
1334
+
1335
+ MACRO_EXPANSION = YES
1336
+
1337
+ # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
1338
+ # then the macro expansion is limited to the macros specified with the
1339
+ # PREDEFINED and EXPAND_AS_DEFINED tags.
1340
+
1341
+ EXPAND_ONLY_PREDEF = YES
1342
+
1343
+ # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
1344
+ # in the INCLUDE_PATH (see below) will be search if a #include is found.
1345
+
1346
+ SEARCH_INCLUDES = YES
1347
+
1348
+ # The INCLUDE_PATH tag can be used to specify one or more directories that
1349
+ # contain include files that are not input files but should be processed by
1350
+ # the preprocessor.
1351
+
1352
+ INCLUDE_PATH =
1353
+
1354
+ # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
1355
+ # patterns (like *.h and *.hpp) to filter out the header-files in the
1356
+ # directories. If left blank, the patterns specified with FILE_PATTERNS will
1357
+ # be used.
1358
+
1359
+ INCLUDE_FILE_PATTERNS =
1360
+
1361
+ # The PREDEFINED tag can be used to specify one or more macro names that
1362
+ # are defined before the preprocessor is started (similar to the -D option of
1363
+ # gcc). The argument of the tag is a list of macros of the form: name
1364
+ # or name=definition (no spaces). If the definition and the = are
1365
+ # omitted =1 is assumed. To prevent a macro definition from being
1366
+ # undefined via #undef or recursively expanded use the := operator
1367
+ # instead of the = operator.
1368
+
1369
+ PREDEFINED = BOOST_NOWIDE_DECL= \
1370
+ BOOST_NOWIDE_DOXYGEN
1371
+
1372
+ # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
1373
+ # this tag can be used to specify a list of macro names that should be expanded.
1374
+ # The macro definition that is found in the sources will be used.
1375
+ # Use the PREDEFINED tag if you want to use a different macro definition.
1376
+
1377
+ EXPAND_AS_DEFINED =
1378
+
1379
+ # If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
1380
+ # doxygen's preprocessor will remove all function-like macros that are alone
1381
+ # on a line, have an all uppercase name, and do not end with a semicolon. Such
1382
+ # function macros are typically used for boiler-plate code, and will confuse
1383
+ # the parser if not removed.
1384
+
1385
+ SKIP_FUNCTION_MACROS = YES
1386
+
1387
+ #---------------------------------------------------------------------------
1388
+ # Configuration::additions related to external references
1389
+ #---------------------------------------------------------------------------
1390
+
1391
+ # The TAGFILES option can be used to specify one or more tagfiles.
1392
+ # Optionally an initial location of the external documentation
1393
+ # can be added for each tagfile. The format of a tag file without
1394
+ # this location is as follows:
1395
+ #
1396
+ # TAGFILES = file1 file2 ...
1397
+ # Adding location for the tag files is done as follows:
1398
+ #
1399
+ # TAGFILES = file1=loc1 "file2 = loc2" ...
1400
+ # where "loc1" and "loc2" can be relative or absolute paths or
1401
+ # URLs. If a location is present for each tag, the installdox tool
1402
+ # does not have to be run to correct the links.
1403
+ # Note that each tag file must have a unique name
1404
+ # (where the name does NOT include the path)
1405
+ # If a tag file is not located in the directory in which doxygen
1406
+ # is run, you must also specify the path to the tagfile here.
1407
+
1408
+ TAGFILES =
1409
+
1410
+ # When a file name is specified after GENERATE_TAGFILE, doxygen will create
1411
+ # a tag file that is based on the input files it reads.
1412
+
1413
+ GENERATE_TAGFILE =
1414
+
1415
+ # If the ALLEXTERNALS tag is set to YES all external classes will be listed
1416
+ # in the class index. If set to NO only the inherited external classes
1417
+ # will be listed.
1418
+
1419
+ ALLEXTERNALS = NO
1420
+
1421
+ # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
1422
+ # in the modules index. If set to NO, only the current project's groups will
1423
+ # be listed.
1424
+
1425
+ EXTERNAL_GROUPS = YES
1426
+
1427
+ # The PERL_PATH should be the absolute path and name of the perl script
1428
+ # interpreter (i.e. the result of `which perl').
1429
+
1430
+ PERL_PATH = /usr/bin/perl
1431
+
1432
+ #---------------------------------------------------------------------------
1433
+ # Configuration options related to the dot tool
1434
+ #---------------------------------------------------------------------------
1435
+
1436
+ # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
1437
+ # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
1438
+ # or super classes. Setting the tag to NO turns the diagrams off. Note that
1439
+ # this option is superseded by the HAVE_DOT option below. This is only a
1440
+ # fallback. It is recommended to install and use dot, since it yields more
1441
+ # powerful graphs.
1442
+
1443
+ CLASS_DIAGRAMS = YES
1444
+
1445
+ # You can define message sequence charts within doxygen comments using the \msc
1446
+ # command. Doxygen will then run the mscgen tool (see
1447
+ # http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
1448
+ # documentation. The MSCGEN_PATH tag allows you to specify the directory where
1449
+ # the mscgen tool resides. If left empty the tool is assumed to be found in the
1450
+ # default search path.
1451
+
1452
+ MSCGEN_PATH =
1453
+
1454
+ # If set to YES, the inheritance and collaboration graphs will hide
1455
+ # inheritance and usage relations if the target is undocumented
1456
+ # or is not a class.
1457
+
1458
+ HIDE_UNDOC_RELATIONS = YES
1459
+
1460
+ # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
1461
+ # available from the path. This tool is part of Graphviz, a graph visualization
1462
+ # toolkit from AT&T and Lucent Bell Labs. The other options in this section
1463
+ # have no effect if this option is set to NO (the default)
1464
+
1465
+ HAVE_DOT = NO
1466
+
1467
+ # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
1468
+ # allowed to run in parallel. When set to 0 (the default) doxygen will
1469
+ # base this on the number of processors available in the system. You can set it
1470
+ # explicitly to a value larger than 0 to get control over the balance
1471
+ # between CPU load and processing speed.
1472
+
1473
+ DOT_NUM_THREADS = 0
1474
+
1475
+ # By default doxygen will write a font called FreeSans.ttf to the output
1476
+ # directory and reference it in all dot files that doxygen generates. This
1477
+ # font does not include all possible unicode characters however, so when you need
1478
+ # these (or just want a differently looking font) you can specify the font name
1479
+ # using DOT_FONTNAME. You need need to make sure dot is able to find the font,
1480
+ # which can be done by putting it in a standard location or by setting the
1481
+ # DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
1482
+ # containing the font.
1483
+
1484
+ DOT_FONTNAME = FreeSans
1485
+
1486
+ # The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
1487
+ # The default size is 10pt.
1488
+
1489
+ DOT_FONTSIZE = 10
1490
+
1491
+ # By default doxygen will tell dot to use the output directory to look for the
1492
+ # FreeSans.ttf font (which doxygen will put there itself). If you specify a
1493
+ # different font using DOT_FONTNAME you can set the path where dot
1494
+ # can find it using this tag.
1495
+
1496
+ DOT_FONTPATH =
1497
+
1498
+ # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
1499
+ # will generate a graph for each documented class showing the direct and
1500
+ # indirect inheritance relations. Setting this tag to YES will force the
1501
+ # the CLASS_DIAGRAMS tag to NO.
1502
+
1503
+ CLASS_GRAPH = YES
1504
+
1505
+ # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
1506
+ # will generate a graph for each documented class showing the direct and
1507
+ # indirect implementation dependencies (inheritance, containment, and
1508
+ # class references variables) of the class with other documented classes.
1509
+
1510
+ COLLABORATION_GRAPH = YES
1511
+
1512
+ # If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
1513
+ # will generate a graph for groups, showing the direct groups dependencies
1514
+
1515
+ GROUP_GRAPHS = YES
1516
+
1517
+ # If the UML_LOOK tag is set to YES doxygen will generate inheritance and
1518
+ # collaboration diagrams in a style similar to the OMG's Unified Modeling
1519
+ # Language.
1520
+
1521
+ UML_LOOK = NO
1522
+
1523
+ # If set to YES, the inheritance and collaboration graphs will show the
1524
+ # relations between templates and their instances.
1525
+
1526
+ TEMPLATE_RELATIONS = NO
1527
+
1528
+ # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
1529
+ # tags are set to YES then doxygen will generate a graph for each documented
1530
+ # file showing the direct and indirect include dependencies of the file with
1531
+ # other documented files.
1532
+
1533
+ INCLUDE_GRAPH = YES
1534
+
1535
+ # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
1536
+ # HAVE_DOT tags are set to YES then doxygen will generate a graph for each
1537
+ # documented header file showing the documented files that directly or
1538
+ # indirectly include this file.
1539
+
1540
+ INCLUDED_BY_GRAPH = YES
1541
+
1542
+ # If the CALL_GRAPH and HAVE_DOT options are set to YES then
1543
+ # doxygen will generate a call dependency graph for every global function
1544
+ # or class method. Note that enabling this option will significantly increase
1545
+ # the time of a run. So in most cases it will be better to enable call graphs
1546
+ # for selected functions only using the \callgraph command.
1547
+
1548
+ CALL_GRAPH = NO
1549
+
1550
+ # If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
1551
+ # doxygen will generate a caller dependency graph for every global function
1552
+ # or class method. Note that enabling this option will significantly increase
1553
+ # the time of a run. So in most cases it will be better to enable caller
1554
+ # graphs for selected functions only using the \callergraph command.
1555
+
1556
+ CALLER_GRAPH = NO
1557
+
1558
+ # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
1559
+ # will graphical hierarchy of all classes instead of a textual one.
1560
+
1561
+ GRAPHICAL_HIERARCHY = YES
1562
+
1563
+ # If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
1564
+ # then doxygen will show the dependencies a directory has on other directories
1565
+ # in a graphical way. The dependency relations are determined by the #include
1566
+ # relations between the files in the directories.
1567
+
1568
+ DIRECTORY_GRAPH = YES
1569
+
1570
+ # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
1571
+ # generated by dot. Possible values are png, jpg, or gif
1572
+ # If left blank png will be used.
1573
+
1574
+ DOT_IMAGE_FORMAT = png
1575
+
1576
+ # The tag DOT_PATH can be used to specify the path where the dot tool can be
1577
+ # found. If left blank, it is assumed the dot tool can be found in the path.
1578
+
1579
+ DOT_PATH =
1580
+
1581
+ # The DOTFILE_DIRS tag can be used to specify one or more directories that
1582
+ # contain dot files that are included in the documentation (see the
1583
+ # \dotfile command).
1584
+
1585
+ DOTFILE_DIRS =
1586
+
1587
+ # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
1588
+ # nodes that will be shown in the graph. If the number of nodes in a graph
1589
+ # becomes larger than this value, doxygen will truncate the graph, which is
1590
+ # visualized by representing a node as a red box. Note that doxygen if the
1591
+ # number of direct children of the root node in a graph is already larger than
1592
+ # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
1593
+ # that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
1594
+
1595
+ DOT_GRAPH_MAX_NODES = 50
1596
+
1597
+ # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
1598
+ # graphs generated by dot. A depth value of 3 means that only nodes reachable
1599
+ # from the root by following a path via at most 3 edges will be shown. Nodes
1600
+ # that lay further from the root node will be omitted. Note that setting this
1601
+ # option to 1 or 2 may greatly reduce the computation time needed for large
1602
+ # code bases. Also note that the size of a graph can be further restricted by
1603
+ # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
1604
+
1605
+ MAX_DOT_GRAPH_DEPTH = 0
1606
+
1607
+ # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
1608
+ # background. This is disabled by default, because dot on Windows does not
1609
+ # seem to support this out of the box. Warning: Depending on the platform used,
1610
+ # enabling this option may lead to badly anti-aliased labels on the edges of
1611
+ # a graph (i.e. they become hard to read).
1612
+
1613
+ DOT_TRANSPARENT = YES
1614
+
1615
+ # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
1616
+ # files in one run (i.e. multiple -o and -T options on the command line). This
1617
+ # makes dot run faster, but since only newer versions of dot (>1.8.10)
1618
+ # support this, this feature is disabled by default.
1619
+
1620
+ DOT_MULTI_TARGETS = NO
1621
+
1622
+ # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
1623
+ # generate a legend page explaining the meaning of the various boxes and
1624
+ # arrows in the dot generated graphs.
1625
+
1626
+ GENERATE_LEGEND = YES
1627
+
1628
+ # If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
1629
+ # remove the intermediate dot files that are used to generate
1630
+ # the various graphs.
1631
+
1632
+ DOT_CLEANUP = YES