glib2 0.90.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (875) hide show
  1. data/ChangeLog +3115 -0
  2. data/README +40 -0
  3. data/Rakefile +69 -0
  4. data/ext/glib2/depend +10 -0
  5. data/ext/glib2/extconf.rb +61 -0
  6. data/ext/glib2/glib2.def +89 -0
  7. data/ext/glib2/rbgcompat.h +30 -0
  8. data/ext/glib2/rbglib.c +330 -0
  9. data/ext/glib2/rbglib.h +96 -0
  10. data/ext/glib2/rbglib_bookmarkfile.c +595 -0
  11. data/ext/glib2/rbglib_completion.c +192 -0
  12. data/ext/glib2/rbglib_convert.c +195 -0
  13. data/ext/glib2/rbglib_error.c +95 -0
  14. data/ext/glib2/rbglib_fileutils.c +83 -0
  15. data/ext/glib2/rbglib_i18n.c +44 -0
  16. data/ext/glib2/rbglib_int64.c +157 -0
  17. data/ext/glib2/rbglib_iochannel.c +883 -0
  18. data/ext/glib2/rbglib_keyfile.c +846 -0
  19. data/ext/glib2/rbglib_maincontext.c +915 -0
  20. data/ext/glib2/rbglib_mainloop.c +87 -0
  21. data/ext/glib2/rbglib_messages.c +150 -0
  22. data/ext/glib2/rbglib_pollfd.c +111 -0
  23. data/ext/glib2/rbglib_shell.c +68 -0
  24. data/ext/glib2/rbglib_source.c +190 -0
  25. data/ext/glib2/rbglib_spawn.c +345 -0
  26. data/ext/glib2/rbglib_threads.c +51 -0
  27. data/ext/glib2/rbglib_timer.c +127 -0
  28. data/ext/glib2/rbglib_unicode.c +611 -0
  29. data/ext/glib2/rbglib_utils.c +386 -0
  30. data/ext/glib2/rbglib_win32.c +136 -0
  31. data/ext/glib2/rbgobj_boxed.c +251 -0
  32. data/ext/glib2/rbgobj_closure.c +337 -0
  33. data/ext/glib2/rbgobj_convert.c +167 -0
  34. data/ext/glib2/rbgobj_enums.c +961 -0
  35. data/ext/glib2/rbgobj_fundamental.c +30 -0
  36. data/ext/glib2/rbgobj_object.c +892 -0
  37. data/ext/glib2/rbgobj_param.c +390 -0
  38. data/ext/glib2/rbgobj_paramspecs.c +305 -0
  39. data/ext/glib2/rbgobj_signal.c +963 -0
  40. data/ext/glib2/rbgobj_strv.c +61 -0
  41. data/ext/glib2/rbgobj_type.c +851 -0
  42. data/ext/glib2/rbgobj_typeinstance.c +121 -0
  43. data/ext/glib2/rbgobj_typeinterface.c +148 -0
  44. data/ext/glib2/rbgobj_typemodule.c +66 -0
  45. data/ext/glib2/rbgobj_typeplugin.c +49 -0
  46. data/ext/glib2/rbgobj_value.c +313 -0
  47. data/ext/glib2/rbgobj_valuearray.c +59 -0
  48. data/ext/glib2/rbgobj_valuetypes.c +298 -0
  49. data/ext/glib2/rbgobject.c +406 -0
  50. data/ext/glib2/rbgobject.h +265 -0
  51. data/ext/glib2/rbgprivate.h +88 -0
  52. data/ext/glib2/rbgutil.c +316 -0
  53. data/ext/glib2/rbgutil.h +82 -0
  54. data/ext/glib2/rbgutil_callback.c +231 -0
  55. data/extconf.rb +49 -0
  56. data/lib/1.8/glib2.so +0 -0
  57. data/lib/1.9/glib2.so +0 -0
  58. data/lib/glib-mkenums.rb +199 -0
  59. data/lib/glib2.rb +239 -0
  60. data/lib/gnome2-win32-binary-downloader.rb +92 -0
  61. data/lib/mkmf-gnome2.rb +377 -0
  62. data/sample/bookmarkfile.rb +66 -0
  63. data/sample/completion.rb +45 -0
  64. data/sample/idle.rb +41 -0
  65. data/sample/iochannel.rb +44 -0
  66. data/sample/keyfile.rb +62 -0
  67. data/sample/shell.rb +36 -0
  68. data/sample/spawn.rb +25 -0
  69. data/sample/timeout.rb +28 -0
  70. data/sample/timeout2.rb +35 -0
  71. data/sample/timer.rb +40 -0
  72. data/sample/type-register.rb +103 -0
  73. data/sample/type-register2.rb +104 -0
  74. data/sample/utils.rb +54 -0
  75. data/test/glib-test-init.rb +6 -0
  76. data/test/glib-test-utils.rb +12 -0
  77. data/test/run-test.rb +21 -0
  78. data/test/test_enum.rb +99 -0
  79. data/test/test_file_utils.rb +15 -0
  80. data/test/test_glib2.rb +120 -0
  81. data/test/test_iochannel.rb +275 -0
  82. data/test/test_key_file.rb +38 -0
  83. data/test/test_mkenums.rb +25 -0
  84. data/test/test_signal.rb +20 -0
  85. data/test/test_timeout.rb +28 -0
  86. data/test/test_unicode.rb +369 -0
  87. data/test/test_utils.rb +37 -0
  88. data/test/test_win32.rb +13 -0
  89. data/test-unit/COPYING +56 -0
  90. data/test-unit/GPL +340 -0
  91. data/test-unit/History.txt +232 -0
  92. data/test-unit/Manifest.txt +110 -0
  93. data/test-unit/PSFL +271 -0
  94. data/test-unit/README.txt +75 -0
  95. data/test-unit/Rakefile +53 -0
  96. data/test-unit/TODO +5 -0
  97. data/test-unit/bin/testrb +5 -0
  98. data/test-unit/html/bar.png +0 -0
  99. data/test-unit/html/bar.svg +153 -0
  100. data/test-unit/html/developer.png +0 -0
  101. data/test-unit/html/developer.svg +469 -0
  102. data/test-unit/html/famfamfam-logo.png +0 -0
  103. data/test-unit/html/favicon.ico +0 -0
  104. data/test-unit/html/favicon.png +0 -0
  105. data/test-unit/html/favicon.svg +82 -0
  106. data/test-unit/html/heading-mark.png +0 -0
  107. data/test-unit/html/heading-mark.svg +393 -0
  108. data/test-unit/html/index.html +247 -0
  109. data/test-unit/html/index.html.ja +270 -0
  110. data/test-unit/html/install.png +0 -0
  111. data/test-unit/html/install.svg +636 -0
  112. data/test-unit/html/jp.png +0 -0
  113. data/test-unit/html/kinotan-failure.png +0 -0
  114. data/test-unit/html/kinotan-pass.png +0 -0
  115. data/test-unit/html/logo.png +0 -0
  116. data/test-unit/html/logo.svg +483 -0
  117. data/test-unit/html/reference.png +0 -0
  118. data/test-unit/html/rubyforge.png +0 -0
  119. data/test-unit/html/tango-logo.png +0 -0
  120. data/test-unit/html/test-unit.css +339 -0
  121. data/test-unit/html/tutorial.png +0 -0
  122. data/test-unit/html/tutorial.svg +559 -0
  123. data/test-unit/html/us.png +0 -0
  124. data/test-unit/images/color-diff.png +0 -0
  125. data/test-unit/lib/test/unit/assertionfailederror.rb +25 -0
  126. data/test-unit/lib/test/unit/assertions.rb +1334 -0
  127. data/test-unit/lib/test/unit/attribute.rb +125 -0
  128. data/test-unit/lib/test/unit/autorunner.rb +363 -0
  129. data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
  130. data/test-unit/lib/test/unit/collector/dir.rb +108 -0
  131. data/test-unit/lib/test/unit/collector/load.rb +144 -0
  132. data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
  133. data/test-unit/lib/test/unit/collector.rb +36 -0
  134. data/test-unit/lib/test/unit/color-scheme.rb +106 -0
  135. data/test-unit/lib/test/unit/color.rb +96 -0
  136. data/test-unit/lib/test/unit/diff.rb +740 -0
  137. data/test-unit/lib/test/unit/error.rb +130 -0
  138. data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
  139. data/test-unit/lib/test/unit/failure.rb +136 -0
  140. data/test-unit/lib/test/unit/fixture.rb +176 -0
  141. data/test-unit/lib/test/unit/notification.rb +129 -0
  142. data/test-unit/lib/test/unit/omission.rb +191 -0
  143. data/test-unit/lib/test/unit/pending.rb +150 -0
  144. data/test-unit/lib/test/unit/priority.rb +180 -0
  145. data/test-unit/lib/test/unit/runner/console.rb +52 -0
  146. data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
  147. data/test-unit/lib/test/unit/runner/tap.rb +8 -0
  148. data/test-unit/lib/test/unit/testcase.rb +483 -0
  149. data/test-unit/lib/test/unit/testresult.rb +121 -0
  150. data/test-unit/lib/test/unit/testsuite.rb +110 -0
  151. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
  152. data/test-unit/lib/test/unit/ui/console/testrunner.rb +430 -0
  153. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +63 -0
  154. data/test-unit/lib/test/unit/ui/tap/testrunner.rb +82 -0
  155. data/test-unit/lib/test/unit/ui/testrunner.rb +53 -0
  156. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
  157. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  158. data/test-unit/lib/test/unit/util/backtracefilter.rb +42 -0
  159. data/test-unit/lib/test/unit/util/method-owner-finder.rb +28 -0
  160. data/test-unit/lib/test/unit/util/observable.rb +90 -0
  161. data/test-unit/lib/test/unit/util/output.rb +31 -0
  162. data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
  163. data/test-unit/lib/test/unit/version.rb +7 -0
  164. data/test-unit/lib/test/unit.rb +328 -0
  165. data/test-unit/sample/adder.rb +13 -0
  166. data/test-unit/sample/subtracter.rb +12 -0
  167. data/test-unit/sample/test_adder.rb +20 -0
  168. data/test-unit/sample/test_subtracter.rb +20 -0
  169. data/test-unit/sample/test_user.rb +23 -0
  170. data/test-unit/test/collector/test-descendant.rb +133 -0
  171. data/test-unit/test/collector/test-load.rb +442 -0
  172. data/test-unit/test/collector/test_dir.rb +406 -0
  173. data/test-unit/test/collector/test_objectspace.rb +100 -0
  174. data/test-unit/test/run-test.rb +15 -0
  175. data/test-unit/test/test-attribute.rb +86 -0
  176. data/test-unit/test/test-color-scheme.rb +69 -0
  177. data/test-unit/test/test-color.rb +47 -0
  178. data/test-unit/test/test-diff.rb +518 -0
  179. data/test-unit/test/test-emacs-runner.rb +60 -0
  180. data/test-unit/test/test-fixture.rb +287 -0
  181. data/test-unit/test/test-notification.rb +33 -0
  182. data/test-unit/test/test-omission.rb +81 -0
  183. data/test-unit/test/test-pending.rb +70 -0
  184. data/test-unit/test/test-priority.rb +119 -0
  185. data/test-unit/test/test-testcase.rb +544 -0
  186. data/test-unit/test/test_assertions.rb +1197 -0
  187. data/test-unit/test/test_error.rb +26 -0
  188. data/test-unit/test/test_failure.rb +33 -0
  189. data/test-unit/test/test_testresult.rb +113 -0
  190. data/test-unit/test/test_testsuite.rb +129 -0
  191. data/test-unit/test/testunit-test-util.rb +14 -0
  192. data/test-unit/test/ui/test_tap.rb +33 -0
  193. data/test-unit/test/ui/test_testrunmediator.rb +20 -0
  194. data/test-unit/test/util/test-method-owner-finder.rb +38 -0
  195. data/test-unit/test/util/test-output.rb +11 -0
  196. data/test-unit/test/util/test_backtracefilter.rb +41 -0
  197. data/test-unit/test/util/test_observable.rb +102 -0
  198. data/test-unit/test/util/test_procwrapper.rb +36 -0
  199. data/vendor/local/bin/envsubst.exe +0 -0
  200. data/vendor/local/bin/gettext.exe +0 -0
  201. data/vendor/local/bin/gettext.sh +123 -0
  202. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  203. data/vendor/local/bin/glib-gettextize +188 -0
  204. data/vendor/local/bin/glib-mkenums +511 -0
  205. data/vendor/local/bin/gobject-query.exe +0 -0
  206. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  207. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  208. data/vendor/local/bin/intl.dll +0 -0
  209. data/vendor/local/bin/libasprintf-0.dll +0 -0
  210. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  211. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  212. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  213. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  214. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  215. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  216. data/vendor/local/bin/ngettext.exe +0 -0
  217. data/vendor/local/include/autosprintf.h +66 -0
  218. data/vendor/local/include/glib-2.0/gio/gappinfo.h +237 -0
  219. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +119 -0
  220. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +73 -0
  221. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +123 -0
  222. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +82 -0
  223. data/vendor/local/include/glib-2.0/gio/gcancellable.h +103 -0
  224. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +60 -0
  225. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +57 -0
  226. data/vendor/local/include/glib-2.0/gio/gconverter.h +95 -0
  227. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
  228. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
  229. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +133 -0
  230. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +116 -0
  231. data/vendor/local/include/glib-2.0/gio/gdrive.h +225 -0
  232. data/vendor/local/include/glib-2.0/gio/gemblem.h +58 -0
  233. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +62 -0
  234. data/vendor/local/include/glib-2.0/gio/gfile.h +1017 -0
  235. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +77 -0
  236. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +133 -0
  237. data/vendor/local/include/glib-2.0/gio/gfileicon.h +56 -0
  238. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +951 -0
  239. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +112 -0
  240. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +118 -0
  241. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +95 -0
  242. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +76 -0
  243. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +119 -0
  244. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +76 -0
  245. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +76 -0
  246. data/vendor/local/include/glib-2.0/gio/gicon.h +91 -0
  247. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +103 -0
  248. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +69 -0
  249. data/vendor/local/include/glib-2.0/gio/ginitable.h +96 -0
  250. data/vendor/local/include/glib-2.0/gio/ginputstream.h +172 -0
  251. data/vendor/local/include/glib-2.0/gio/gio.h +101 -0
  252. data/vendor/local/include/glib-2.0/gio/gioenums.h +703 -0
  253. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +79 -0
  254. data/vendor/local/include/glib-2.0/gio/gioerror.h +48 -0
  255. data/vendor/local/include/glib-2.0/gio/giomodule.h +132 -0
  256. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +52 -0
  257. data/vendor/local/include/glib-2.0/gio/giostream.h +112 -0
  258. data/vendor/local/include/glib-2.0/gio/giotypes.h +339 -0
  259. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +97 -0
  260. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +82 -0
  261. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +97 -0
  262. data/vendor/local/include/glib-2.0/gio/gmount.h +242 -0
  263. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +123 -0
  264. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +62 -0
  265. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +69 -0
  266. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +69 -0
  267. data/vendor/local/include/glib-2.0/gio/goutputstream.h +207 -0
  268. data/vendor/local/include/glib-2.0/gio/gresolver.h +167 -0
  269. data/vendor/local/include/glib-2.0/gio/gseekable.h +99 -0
  270. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +125 -0
  271. data/vendor/local/include/glib-2.0/gio/gsocket.h +176 -0
  272. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +79 -0
  273. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +89 -0
  274. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +130 -0
  275. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +68 -0
  276. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +91 -0
  277. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +105 -0
  278. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +138 -0
  279. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +88 -0
  280. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +52 -0
  281. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +68 -0
  282. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +63 -0
  283. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
  284. data/vendor/local/include/glib-2.0/gio/gvfs.h +125 -0
  285. data/vendor/local/include/glib-2.0/gio/gvolume.h +211 -0
  286. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +151 -0
  287. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +55 -0
  288. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +54 -0
  289. data/vendor/local/include/glib-2.0/glib/galloca.h +63 -0
  290. data/vendor/local/include/glib-2.0/glib/garray.h +179 -0
  291. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +120 -0
  292. data/vendor/local/include/glib-2.0/glib/gatomic.h +85 -0
  293. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +68 -0
  294. data/vendor/local/include/glib-2.0/glib/gbase64.h +57 -0
  295. data/vendor/local/include/glib-2.0/glib/gbitlock.h +43 -0
  296. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +191 -0
  297. data/vendor/local/include/glib-2.0/glib/gcache.h +69 -0
  298. data/vendor/local/include/glib-2.0/glib/gchecksum.h +86 -0
  299. data/vendor/local/include/glib-2.0/glib/gcompletion.h +77 -0
  300. data/vendor/local/include/glib-2.0/glib/gconvert.h +138 -0
  301. data/vendor/local/include/glib-2.0/glib/gdataset.h +122 -0
  302. data/vendor/local/include/glib-2.0/glib/gdate.h +263 -0
  303. data/vendor/local/include/glib-2.0/glib/gdir.h +52 -0
  304. data/vendor/local/include/glib-2.0/glib/gerror.h +98 -0
  305. data/vendor/local/include/glib-2.0/glib/gfileutils.h +128 -0
  306. data/vendor/local/include/glib-2.0/glib/ghash.h +166 -0
  307. data/vendor/local/include/glib-2.0/glib/ghook.h +181 -0
  308. data/vendor/local/include/glib-2.0/glib/ghostutils.h +40 -0
  309. data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +38 -0
  310. data/vendor/local/include/glib-2.0/glib/gi18n.h +34 -0
  311. data/vendor/local/include/glib-2.0/glib/giochannel.h +366 -0
  312. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +250 -0
  313. data/vendor/local/include/glib-2.0/glib/glist.h +120 -0
  314. data/vendor/local/include/glib-2.0/glib/gmacros.h +277 -0
  315. data/vendor/local/include/glib-2.0/glib/gmain.h +304 -0
  316. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +49 -0
  317. data/vendor/local/include/glib-2.0/glib/gmarkup.h +163 -0
  318. data/vendor/local/include/glib-2.0/glib/gmem.h +203 -0
  319. data/vendor/local/include/glib-2.0/glib/gmessages.h +343 -0
  320. data/vendor/local/include/glib-2.0/glib/gnode.h +288 -0
  321. data/vendor/local/include/glib-2.0/glib/goption.h +370 -0
  322. data/vendor/local/include/glib-2.0/glib/gpattern.h +49 -0
  323. data/vendor/local/include/glib-2.0/glib/gpoll.h +93 -0
  324. data/vendor/local/include/glib-2.0/glib/gprimes.h +51 -0
  325. data/vendor/local/include/glib-2.0/glib/gprintf.h +52 -0
  326. data/vendor/local/include/glib-2.0/glib/gqsort.h +46 -0
  327. data/vendor/local/include/glib-2.0/glib/gquark.h +52 -0
  328. data/vendor/local/include/glib-2.0/glib/gqueue.h +127 -0
  329. data/vendor/local/include/glib-2.0/glib/grand.h +85 -0
  330. data/vendor/local/include/glib-2.0/glib/gregex.h +243 -0
  331. data/vendor/local/include/glib-2.0/glib/grel.h +97 -0
  332. data/vendor/local/include/glib-2.0/glib/gscanner.h +278 -0
  333. data/vendor/local/include/glib-2.0/glib/gsequence.h +128 -0
  334. data/vendor/local/include/glib-2.0/glib/gshell.h +55 -0
  335. data/vendor/local/include/glib-2.0/glib/gslice.h +86 -0
  336. data/vendor/local/include/glib-2.0/glib/gslist.h +114 -0
  337. data/vendor/local/include/glib-2.0/glib/gspawn.h +139 -0
  338. data/vendor/local/include/glib-2.0/glib/gstdio.h +159 -0
  339. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +267 -0
  340. data/vendor/local/include/glib-2.0/glib/gstring.h +178 -0
  341. data/vendor/local/include/glib-2.0/glib/gtestutils.h +292 -0
  342. data/vendor/local/include/glib-2.0/glib/gthread.h +408 -0
  343. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +114 -0
  344. data/vendor/local/include/glib-2.0/glib/gtimer.h +65 -0
  345. data/vendor/local/include/glib-2.0/glib/gtree.h +91 -0
  346. data/vendor/local/include/glib-2.0/glib/gtypes.h +451 -0
  347. data/vendor/local/include/glib-2.0/glib/gunicode.h +404 -0
  348. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +81 -0
  349. data/vendor/local/include/glib-2.0/glib/gutils.h +490 -0
  350. data/vendor/local/include/glib-2.0/glib/gvariant.h +224 -0
  351. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +305 -0
  352. data/vendor/local/include/glib-2.0/glib/gwin32.h +114 -0
  353. data/vendor/local/include/glib-2.0/glib-object.h +41 -0
  354. data/vendor/local/include/glib-2.0/glib.h +97 -0
  355. data/vendor/local/include/glib-2.0/gmodule.h +101 -0
  356. data/vendor/local/include/glib-2.0/gobject/gboxed.h +236 -0
  357. data/vendor/local/include/glib-2.0/gobject/gclosure.h +251 -0
  358. data/vendor/local/include/glib-2.0/gobject/genums.h +261 -0
  359. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +169 -0
  360. data/vendor/local/include/glib-2.0/gobject/gobject.h +562 -0
  361. data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +166 -0
  362. data/vendor/local/include/glib-2.0/gobject/gparam.h +410 -0
  363. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1083 -0
  364. data/vendor/local/include/glib-2.0/gobject/gsignal.h +509 -0
  365. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +51 -0
  366. data/vendor/local/include/glib-2.0/gobject/gtype.h +1608 -0
  367. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +263 -0
  368. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
  369. data/vendor/local/include/glib-2.0/gobject/gvalue.h +159 -0
  370. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +77 -0
  371. data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +222 -0
  372. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +243 -0
  373. data/vendor/local/include/libintl.h +464 -0
  374. data/vendor/local/lib/GNU.Gettext.dll +0 -0
  375. data/vendor/local/lib/gio-2.0.def +800 -0
  376. data/vendor/local/lib/gio-2.0.lib +0 -0
  377. data/vendor/local/lib/glib-2.0/include/glibconfig.h +284 -0
  378. data/vendor/local/lib/glib-2.0.def +1381 -0
  379. data/vendor/local/lib/glib-2.0.lib +0 -0
  380. data/vendor/local/lib/gmodule-2.0.def +11 -0
  381. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  382. data/vendor/local/lib/gobject-2.0.def +349 -0
  383. data/vendor/local/lib/gobject-2.0.lib +0 -0
  384. data/vendor/local/lib/gthread-2.0.def +3 -0
  385. data/vendor/local/lib/gthread-2.0.lib +0 -0
  386. data/vendor/local/lib/intl.lib +0 -0
  387. data/vendor/local/lib/libasprintf.dll.a +0 -0
  388. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  389. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  390. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  391. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  392. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  393. data/vendor/local/lib/libintl.def +31 -0
  394. data/vendor/local/lib/libintl.dll.a +0 -0
  395. data/vendor/local/lib/pkgconfig/gio-2.0.pc +14 -0
  396. data/vendor/local/lib/pkgconfig/glib-2.0.pc +15 -0
  397. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
  398. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
  399. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +11 -0
  400. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
  401. data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +81 -0
  402. data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +3 -0
  403. data/vendor/local/manifest/glib-dev_2.24.2-2_win32.mft +491 -0
  404. data/vendor/local/manifest/glib_2.24.2-2_win32.mft +101 -0
  405. data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
  406. data/vendor/local/share/aclocal/glib-gettext.m4 +432 -0
  407. data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +165 -0
  408. data/vendor/local/share/doc/gettext/bindtextdomain.3.html +160 -0
  409. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
  410. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
  411. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
  412. data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
  413. data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
  414. data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
  415. data/vendor/local/share/doc/gettext/envsubst.1.html +213 -0
  416. data/vendor/local/share/doc/gettext/gettext.1.html +266 -0
  417. data/vendor/local/share/doc/gettext/gettext.3.html +186 -0
  418. data/vendor/local/share/doc/gettext/ngettext.1.html +280 -0
  419. data/vendor/local/share/doc/gettext/ngettext.3.html +143 -0
  420. data/vendor/local/share/doc/gettext/textdomain.3.html +150 -0
  421. data/vendor/local/share/doc/glib-2.24.2/COPYING +482 -0
  422. data/vendor/local/share/doc/glib-dev-2.24.2/COPYING +482 -0
  423. data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
  424. data/vendor/local/share/glib-2.0/gdb/glib.py +252 -0
  425. data/vendor/local/share/glib-2.0/gdb/gobject.py +305 -0
  426. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +111 -0
  427. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +277 -0
  428. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1390 -0
  429. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +531 -0
  430. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +343 -0
  431. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +568 -0
  432. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +295 -0
  433. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +620 -0
  434. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +245 -0
  435. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +388 -0
  436. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +993 -0
  437. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +544 -0
  438. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1416 -0
  439. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +272 -0
  440. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +206 -0
  441. data/vendor/local/share/gtk-doc/html/gio/GFile.html +7450 -0
  442. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +115 -0
  443. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +520 -0
  444. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +312 -0
  445. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +155 -0
  446. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3116 -0
  447. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +262 -0
  448. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +353 -0
  449. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +301 -0
  450. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +217 -0
  451. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +182 -0
  452. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +183 -0
  453. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +261 -0
  454. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +479 -0
  455. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +331 -0
  456. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +717 -0
  457. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +195 -0
  458. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +388 -0
  459. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +808 -0
  460. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +301 -0
  461. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +185 -0
  462. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +362 -0
  463. data/vendor/local/share/gtk-doc/html/gio/GMount.html +1465 -0
  464. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +848 -0
  465. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +263 -0
  466. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +248 -0
  467. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1006 -0
  468. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +787 -0
  469. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +350 -0
  470. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +979 -0
  471. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2152 -0
  472. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +297 -0
  473. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +930 -0
  474. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +428 -0
  475. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +548 -0
  476. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +274 -0
  477. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +741 -0
  478. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +258 -0
  479. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +377 -0
  480. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +197 -0
  481. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +381 -0
  482. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +280 -0
  483. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +237 -0
  484. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +237 -0
  485. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +306 -0
  486. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +274 -0
  487. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1028 -0
  488. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +709 -0
  489. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +180 -0
  490. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +128 -0
  491. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +153 -0
  492. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +155 -0
  493. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1088 -0
  494. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +206 -0
  495. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +97 -0
  496. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4499 -0
  497. data/vendor/local/share/gtk-doc/html/gio/async.html +44 -0
  498. data/vendor/local/share/gtk-doc/html/gio/ch01.html +171 -0
  499. data/vendor/local/share/gtk-doc/html/gio/ch02.html +45 -0
  500. data/vendor/local/share/gtk-doc/html/gio/ch03.html +80 -0
  501. data/vendor/local/share/gtk-doc/html/gio/ch19.html +75 -0
  502. data/vendor/local/share/gtk-doc/html/gio/ch20.html +217 -0
  503. data/vendor/local/share/gtk-doc/html/gio/ch20s02.html +41 -0
  504. data/vendor/local/share/gtk-doc/html/gio/ch20s03.html +39 -0
  505. data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
  506. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +96 -0
  507. data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
  508. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
  509. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
  510. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
  511. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +339 -0
  512. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +465 -0
  513. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +381 -0
  514. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +163 -0
  515. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +163 -0
  516. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +927 -0
  517. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +328 -0
  518. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +297 -0
  519. data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +313 -0
  520. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +918 -0
  521. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +107 -0
  522. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +1235 -0
  523. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +1384 -0
  524. data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
  525. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +47 -0
  526. data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
  527. data/vendor/local/share/gtk-doc/html/gio/icons.html +50 -0
  528. data/vendor/local/share/gtk-doc/html/gio/index.html +318 -0
  529. data/vendor/local/share/gtk-doc/html/gio/index.sgml +1795 -0
  530. data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
  531. data/vendor/local/share/gtk-doc/html/gio/migrating.html +42 -0
  532. data/vendor/local/share/gtk-doc/html/gio/networking.html +57 -0
  533. data/vendor/local/share/gtk-doc/html/gio/pt01.html +39 -0
  534. data/vendor/local/share/gtk-doc/html/gio/pt02.html +293 -0
  535. data/vendor/local/share/gtk-doc/html/gio/resolver.html +47 -0
  536. data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
  537. data/vendor/local/share/gtk-doc/html/gio/streaming.html +92 -0
  538. data/vendor/local/share/gtk-doc/html/gio/style.css +257 -0
  539. data/vendor/local/share/gtk-doc/html/gio/types.html +41 -0
  540. data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
  541. data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
  542. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
  543. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +180 -0
  544. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +312 -0
  545. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +563 -0
  546. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +362 -0
  547. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +102 -0
  548. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +124 -0
  549. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +83 -0
  550. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +194 -0
  551. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +419 -0
  552. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +389 -0
  553. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +413 -0
  554. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +158 -0
  555. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +340 -0
  556. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +7835 -0
  557. data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
  558. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +893 -0
  559. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +818 -0
  560. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +413 -0
  561. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +430 -0
  562. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +802 -0
  563. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +372 -0
  564. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +500 -0
  565. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2054 -0
  566. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +560 -0
  567. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +1686 -0
  568. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +398 -0
  569. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1187 -0
  570. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +1665 -0
  571. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +460 -0
  572. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +528 -0
  573. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2042 -0
  574. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1278 -0
  575. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1406 -0
  576. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +548 -0
  577. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1023 -0
  578. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1810 -0
  579. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +3798 -0
  580. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1815 -0
  581. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +295 -0
  582. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +1512 -0
  583. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1367 -0
  584. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +229 -0
  585. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +629 -0
  586. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2196 -0
  587. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2556 -0
  588. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +612 -0
  589. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1451 -0
  590. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +389 -0
  591. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1029 -0
  592. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +141 -0
  593. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +706 -0
  594. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +510 -0
  595. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +703 -0
  596. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1045 -0
  597. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +1523 -0
  598. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1466 -0
  599. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +204 -0
  600. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2648 -0
  601. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +752 -0
  602. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +269 -0
  603. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +578 -0
  604. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +483 -0
  605. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +1353 -0
  606. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +238 -0
  607. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1283 -0
  608. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1212 -0
  609. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +924 -0
  610. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +466 -0
  611. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +301 -0
  612. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2947 -0
  613. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1290 -0
  614. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +1719 -0
  615. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +3379 -0
  616. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +606 -0
  617. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3411 -0
  618. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +245 -0
  619. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +188 -0
  620. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +263 -0
  621. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +314 -0
  622. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3356 -0
  623. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +150 -0
  624. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +438 -0
  625. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +476 -0
  626. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
  627. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +159 -0
  628. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +118 -0
  629. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +64 -0
  630. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +160 -0
  631. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +120 -0
  632. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +59 -0
  633. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +93 -0
  634. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2395 -0
  635. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +121 -0
  636. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +302 -0
  637. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +112 -0
  638. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +2084 -0
  639. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2556 -0
  640. data/vendor/local/share/gtk-doc/html/glib/glib.html +80 -0
  641. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +72 -0
  642. data/vendor/local/share/gtk-doc/html/glib/gtester.html +131 -0
  643. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1171 -0
  644. data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
  645. data/vendor/local/share/gtk-doc/html/glib/index.html +336 -0
  646. data/vendor/local/share/gtk-doc/html/glib/index.sgml +2717 -0
  647. data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
  648. data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
  649. data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
  650. data/vendor/local/share/gtk-doc/html/glib/style.css +257 -0
  651. data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
  652. data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
  653. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +710 -0
  654. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +453 -0
  655. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +85 -0
  656. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +55 -0
  657. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +51 -0
  658. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +46 -0
  659. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +38 -0
  660. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +46 -0
  661. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +72 -0
  662. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +178 -0
  663. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +42 -0
  664. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +42 -0
  665. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +50 -0
  666. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2577 -0
  667. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
  668. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +113 -0
  669. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +293 -0
  670. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
  671. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
  672. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
  673. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +355 -0
  674. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +295 -0
  675. data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
  676. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +406 -0
  677. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2355 -0
  678. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +847 -0
  679. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1423 -0
  680. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +776 -0
  681. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2741 -0
  682. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +5242 -0
  683. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2609 -0
  684. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +4227 -0
  685. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +413 -0
  686. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +230 -0
  687. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
  688. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +270 -0
  689. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +117 -0
  690. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +723 -0
  691. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +757 -0
  692. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +143 -0
  693. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +287 -0
  694. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +316 -0
  695. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
  696. data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
  697. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +100 -0
  698. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +86 -0
  699. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +113 -0
  700. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +122 -0
  701. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +257 -0
  702. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +283 -0
  703. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +125 -0
  704. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +167 -0
  705. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +160 -0
  706. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
  707. data/vendor/local/share/gtk-doc/html/gobject/index.html +187 -0
  708. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +734 -0
  709. data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
  710. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
  711. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
  712. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +66 -0
  713. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
  714. data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
  715. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +82 -0
  716. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
  717. data/vendor/local/share/gtk-doc/html/gobject/signal.html +377 -0
  718. data/vendor/local/share/gtk-doc/html/gobject/style.css +257 -0
  719. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
  720. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
  721. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
  722. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +55 -0
  723. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
  724. data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
  725. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  726. data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
  727. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  728. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  729. data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
  730. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  731. data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
  732. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  733. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  734. data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
  735. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  736. data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
  737. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  738. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  739. data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
  740. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  741. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  742. data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
  743. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  744. data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
  745. data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
  746. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  747. data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
  748. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  749. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  750. data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
  751. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  752. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
  753. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
  754. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  755. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  756. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  757. data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
  758. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  759. data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
  760. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  761. data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
  762. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  763. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  764. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  765. data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
  766. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  767. data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
  768. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  769. data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
  770. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  771. data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
  772. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  773. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  774. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  775. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  776. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  777. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  778. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  779. data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
  780. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  781. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  782. data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
  783. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  784. data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
  785. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  786. data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
  787. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  788. data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
  789. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  790. data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
  791. data/vendor/local/share/locale/locale.alias +77 -0
  792. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  793. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  794. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  795. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  796. data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
  797. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  798. data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
  799. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  800. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  801. data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
  802. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  803. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  804. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  805. data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
  806. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  807. data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
  808. data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
  809. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  810. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  811. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  812. data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
  813. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  814. data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
  815. data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
  816. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  817. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
  818. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  819. data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
  820. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  821. data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
  822. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  823. data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
  824. data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
  825. data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
  826. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  827. data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
  828. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  829. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  830. data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
  831. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  832. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  833. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  834. data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
  835. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  836. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  837. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  838. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  839. data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
  840. data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
  841. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  842. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  843. data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
  844. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  845. data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
  846. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  847. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  848. data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
  849. data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
  850. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
  851. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  852. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
  853. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  854. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
  855. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  856. data/vendor/local/share/man/man1/envsubst.1 +54 -0
  857. data/vendor/local/share/man/man1/gettext.1 +69 -0
  858. data/vendor/local/share/man/man1/glib-genmarshal.1 +307 -0
  859. data/vendor/local/share/man/man1/glib-mkenums.1 +234 -0
  860. data/vendor/local/share/man/man1/gobject-query.1 +83 -0
  861. data/vendor/local/share/man/man1/ngettext.1 +68 -0
  862. data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
  863. data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
  864. data/vendor/local/share/man/man3/dcgettext.3 +1 -0
  865. data/vendor/local/share/man/man3/dcngettext.3 +1 -0
  866. data/vendor/local/share/man/man3/dgettext.3 +1 -0
  867. data/vendor/local/share/man/man3/dngettext.3 +1 -0
  868. data/vendor/local/share/man/man3/gettext.3 +99 -0
  869. data/vendor/local/share/man/man3/ngettext.3 +60 -0
  870. data/vendor/local/share/man/man3/textdomain.3 +57 -0
  871. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +10423 -0
  872. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +457 -0
  873. data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.log +2602 -0
  874. data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +290 -0
  875. metadata +940 -0
@@ -0,0 +1,1334 @@
1
+ # Author:: Nathaniel Talbott.
2
+ # Copyright:: Copyright (c) 2000-2003 Nathaniel Talbott. All rights reserved.
3
+ # Copyright (c) 2009-2010 Kouhei Sutou. All rights reserved.
4
+ # License:: Ruby license.
5
+
6
+ require 'test/unit/assertionfailederror'
7
+ require 'test/unit/util/backtracefilter'
8
+ require 'test/unit/util/method-owner-finder'
9
+ require 'test/unit/diff'
10
+
11
+ module Test
12
+ module Unit
13
+
14
+ ##
15
+ # Test::Unit::Assertions contains the standard Test::Unit assertions.
16
+ # Assertions is included in Test::Unit::TestCase.
17
+ #
18
+ # To include it in your own code and use its functionality, you simply
19
+ # need to rescue Test::Unit::AssertionFailedError. Additionally you may
20
+ # override add_assertion to get notified whenever an assertion is made.
21
+ #
22
+ # Notes:
23
+ # * The message to each assertion, if given, will be propagated with the
24
+ # failure.
25
+ # * It is easy to add your own assertions based on assert_block().
26
+ #
27
+ # = Example Custom Assertion
28
+ #
29
+ # def deny(boolean, message = nil)
30
+ # message = build_message message, '<?> is not false or nil.', boolean
31
+ # assert_block message do
32
+ # not boolean
33
+ # end
34
+ # end
35
+
36
+ module Assertions
37
+
38
+ ##
39
+ # The assertion upon which all other assertions are based. Passes if the
40
+ # block yields true.
41
+ #
42
+ # Example:
43
+ # assert_block "Couldn't do the thing" do
44
+ # do_the_thing
45
+ # end
46
+
47
+ public
48
+ def assert_block(message="assert_block failed.") # :yields:
49
+ _wrap_assertion do
50
+ if (! yield)
51
+ raise AssertionFailedError.new(message.to_s)
52
+ end
53
+ end
54
+ end
55
+
56
+ ##
57
+ # Asserts that +boolean+ is not false or nil.
58
+ #
59
+ # Example:
60
+ # assert [1, 2].include?(5)
61
+
62
+ public
63
+ def assert(boolean, message=nil)
64
+ _wrap_assertion do
65
+ assert_block("assert should not be called with a block.") { !block_given? }
66
+ assert_block(build_message(message, "<?> is not true.", boolean)) { boolean }
67
+ end
68
+ end
69
+
70
+ ##
71
+ # Passes if +expected+ == +actual.
72
+ #
73
+ # Note that the ordering of arguments is important, since a helpful
74
+ # error message is generated when this one fails that tells you the
75
+ # values of expected and actual.
76
+ #
77
+ # Example:
78
+ # assert_equal 'MY STRING', 'my string'.upcase
79
+
80
+ public
81
+ def assert_equal(expected, actual, message=nil)
82
+ diff = AssertionMessage.delayed_diff(expected, actual)
83
+ if expected.respond_to?(:encoding) and
84
+ actual.respond_to?(:encoding) and
85
+ expected.encoding != actual.encoding
86
+ format = <<EOT
87
+ <?>(?) expected but was
88
+ <?>(?).?
89
+ EOT
90
+ full_message = build_message(message, format,
91
+ expected, expected.encoding.name,
92
+ actual, actual.encoding.name,
93
+ diff)
94
+ else
95
+ full_message = build_message(message, <<EOT, expected, actual, diff)
96
+ <?> expected but was
97
+ <?>.?
98
+ EOT
99
+ end
100
+ begin
101
+ assert_block(full_message) { expected == actual }
102
+ rescue AssertionFailedError => failure
103
+ failure.expected = expected
104
+ failure.actual = actual
105
+ failure.inspected_expected = AssertionMessage.convert(expected)
106
+ failure.inspected_actual = AssertionMessage.convert(actual)
107
+ failure.user_message = message
108
+ raise
109
+ end
110
+ end
111
+
112
+ ##
113
+ # Passes if the block raises one of the expected
114
+ # exceptions. When an expected exception is an Exception
115
+ # object, passes if expected_exception == actual_exception.
116
+ #
117
+ # Example:
118
+ # assert_raise(RuntimeError, LoadError) do
119
+ # raise 'Boom!!!'
120
+ # end # -> pass
121
+ #
122
+ # assert_raise do
123
+ # raise Exception, 'Any exception should be raised!!!'
124
+ # end # -> pass
125
+ #
126
+ # assert_raise(RuntimeError.new("XXX")) {raise "XXX"} # -> pass
127
+ # assert_raise(MyError.new("XXX")) {raise "XXX"} # -> fail
128
+ # assert_raise(RuntimeError.new("ZZZ")) {raise "XXX"} # -> fail
129
+ public
130
+ def assert_raise(*args, &block)
131
+ assert_expected_exception = Proc.new do |*_args|
132
+ message, assert_exception_helper, actual_exception = _args
133
+ expected = assert_exception_helper.expected_exceptions
134
+ full_message = build_message(message,
135
+ "<?> exception expected but was\n?",
136
+ expected, actual_exception)
137
+ assert_block(full_message) do
138
+ expected == [] or assert_exception_helper.expected?(actual_exception)
139
+ end
140
+ end
141
+ _assert_raise(assert_expected_exception, *args, &block)
142
+ end
143
+
144
+ ##
145
+ # Alias of assert_raise.
146
+ #
147
+ # Will be deprecated in 1.9, and removed in 2.0.
148
+
149
+ public
150
+ def assert_raises(*args, &block)
151
+ assert_raise(*args, &block)
152
+ end
153
+
154
+ ##
155
+ # Passes if the block raises one of the given
156
+ # exceptions or sub exceptions of the given exceptions.
157
+ #
158
+ # Example:
159
+ # assert_raise_kind_of(SystemCallError) do
160
+ # raise Errno::EACCES
161
+ # end
162
+ def assert_raise_kind_of(*args, &block)
163
+ assert_expected_exception = Proc.new do |*_args|
164
+ message, assert_exception_helper, actual_exception = _args
165
+ expected = assert_exception_helper.expected_exceptions
166
+ full_message = build_message(message,
167
+ "<?> family exception expected " +
168
+ "but was\n?",
169
+ expected, actual_exception)
170
+ assert_block(full_message) do
171
+ assert_exception_helper.expected?(actual_exception, :kind_of?)
172
+ end
173
+ end
174
+ _assert_raise(assert_expected_exception, *args, &block)
175
+ end
176
+
177
+
178
+ ##
179
+ # Passes if +object+.instance_of?(+klass+). When +klass+ is
180
+ # an array of classes, it passes if any class
181
+ # satisfies +object.instance_of?(class).
182
+ #
183
+ # Example:
184
+ # assert_instance_of(String, 'foo') # -> pass
185
+ # assert_instance_of([Fixnum, NilClass], 100) # -> pass
186
+ # assert_instance_of([Numeric, NilClass], 100) # -> fail
187
+
188
+ public
189
+ def assert_instance_of(klass, object, message="")
190
+ _wrap_assertion do
191
+ klasses = nil
192
+ klasses = klass if klass.is_a?(Array)
193
+ assert_block("The first parameter to assert_instance_of should be " +
194
+ "a Class or an Array of Class.") do
195
+ if klasses
196
+ klasses.all? {|k| k.is_a?(Class)}
197
+ else
198
+ klass.is_a?(Class)
199
+ end
200
+ end
201
+ klass_message = AssertionMessage.maybe_container(klass) do |value|
202
+ "<#{value}>"
203
+ end
204
+ full_message = build_message(message, <<EOT, object, klass_message, object.class)
205
+ <?> expected to be an instance of
206
+ ? but was
207
+ <?>.
208
+ EOT
209
+ assert_block(full_message) do
210
+ if klasses
211
+ klasses.any? {|k| object.instance_of?(k)}
212
+ else
213
+ object.instance_of?(klass)
214
+ end
215
+ end
216
+ end
217
+ end
218
+
219
+ ##
220
+ # Passes if +object+ is nil.
221
+ #
222
+ # Example:
223
+ # assert_nil [1, 2].uniq!
224
+
225
+ public
226
+ def assert_nil(object, message="")
227
+ full_message = build_message(message, <<EOT, object)
228
+ <?> expected to be nil.
229
+ EOT
230
+ assert_block(full_message) { object.nil? }
231
+ end
232
+
233
+ ##
234
+ # Passes if +object+.kind_of?(+klass+). When +klass+ is
235
+ # an array of classes or modules, it passes if any
236
+ # class or module satisfies +object.kind_of?(class_or_module).
237
+ #
238
+ # Example:
239
+ # assert_kind_of(Object, 'foo') # -> pass
240
+ # assert_kind_of([Fixnum, NilClass], 100) # -> pass
241
+ # assert_kind_of([Fixnum, NilClass], "string") # -> fail
242
+
243
+ public
244
+ def assert_kind_of(klass, object, message="")
245
+ _wrap_assertion do
246
+ klasses = nil
247
+ klasses = klass if klass.is_a?(Array)
248
+ assert_block("The first parameter to assert_kind_of should be " +
249
+ "a kind_of Module or an Array of a kind_of Module.") do
250
+ if klasses
251
+ klasses.all? {|k| k.kind_of?(Module)}
252
+ else
253
+ klass.kind_of?(Module)
254
+ end
255
+ end
256
+ klass_message = AssertionMessage.maybe_container(klass) do |value|
257
+ "<#{value}>"
258
+ end
259
+ full_message = build_message(message,
260
+ "<?> expected to be kind_of\\?\n" +
261
+ "? but was\n" +
262
+ "<?>.",
263
+ object,
264
+ klass_message,
265
+ object.class)
266
+ assert_block(full_message) do
267
+ if klasses
268
+ klasses.any? {|k| object.kind_of?(k)}
269
+ else
270
+ object.kind_of?(klass)
271
+ end
272
+ end
273
+ end
274
+ end
275
+
276
+ ##
277
+ # Passes if +object+ .respond_to? +method+
278
+ #
279
+ # Example:
280
+ # assert_respond_to 'bugbear', :slice
281
+
282
+ public
283
+ def assert_respond_to(object, method, message="")
284
+ _wrap_assertion do
285
+ full_message = build_message(message,
286
+ "<?>.kind_of\\?(Symbol) or\n" +
287
+ "<?>.respond_to\\?(:to_str) expected",
288
+ method, method)
289
+ assert_block(full_message) do
290
+ method.kind_of?(Symbol) or method.respond_to?(:to_str)
291
+ end
292
+ full_message = build_message(message,
293
+ "<?>.respond_to\\?(?) expected\n" +
294
+ "(Class: <?>)",
295
+ object, method, object.class)
296
+ assert_block(full_message) {object.respond_to?(method)}
297
+ end
298
+ end
299
+
300
+ ##
301
+ # Passes if +string+ =~ +pattern+.
302
+ #
303
+ # Example:
304
+ # assert_match(/\d+/, 'five, 6, seven')
305
+
306
+ public
307
+ def assert_match(pattern, string, message="")
308
+ _wrap_assertion do
309
+ pattern = case(pattern)
310
+ when String
311
+ Regexp.new(Regexp.escape(pattern))
312
+ else
313
+ pattern
314
+ end
315
+ full_message = build_message(message, "<?> expected to be =~\n<?>.", string, pattern)
316
+ assert_block(full_message) { string =~ pattern }
317
+ end
318
+ end
319
+
320
+ ##
321
+ # Passes if +actual+ .equal? +expected+ (i.e. they are the same
322
+ # instance).
323
+ #
324
+ # Example:
325
+ # o = Object.new
326
+ # assert_same o, o
327
+
328
+ public
329
+ def assert_same(expected, actual, message="")
330
+ full_message = build_message(message, <<EOT, expected, expected.__id__, actual, actual.__id__)
331
+ <?>
332
+ with id <?> expected to be equal\\? to
333
+ <?>
334
+ with id <?>.
335
+ EOT
336
+ assert_block(full_message) { actual.equal?(expected) }
337
+ end
338
+
339
+ ##
340
+ # Compares the +object1+ with +object2+ using +operator+.
341
+ #
342
+ # Passes if object1.__send__(operator, object2) is true.
343
+ #
344
+ # Example:
345
+ # assert_operator 5, :>=, 4
346
+
347
+ public
348
+ def assert_operator(object1, operator, object2, message="")
349
+ _wrap_assertion do
350
+ full_message = build_message(nil, "<?>\ngiven as the operator for #assert_operator must be a Symbol or #respond_to\\?(:to_str).", operator)
351
+ assert_block(full_message){operator.kind_of?(Symbol) || operator.respond_to?(:to_str)}
352
+ full_message = build_message(message, <<EOT, object1, AssertionMessage.literal(operator), object2)
353
+ <?> expected to be
354
+ ?
355
+ <?>.
356
+ EOT
357
+ assert_block(full_message) { object1.__send__(operator, object2) }
358
+ end
359
+ end
360
+
361
+ ##
362
+ # Passes if block does not raise an exception.
363
+ #
364
+ # Example:
365
+ # assert_nothing_raised do
366
+ # [1, 2].uniq
367
+ # end
368
+
369
+ public
370
+ def assert_nothing_raised(*args)
371
+ _wrap_assertion do
372
+ if args.last.is_a?(String)
373
+ message = args.pop
374
+ else
375
+ message = ""
376
+ end
377
+
378
+ assert_exception_helper = AssertExceptionHelper.new(self, args)
379
+ begin
380
+ yield
381
+ rescue Exception => e
382
+ if ((args.empty? && !e.instance_of?(AssertionFailedError)) ||
383
+ assert_exception_helper.expected?(e))
384
+ failure_message = build_message(message, "Exception raised:\n?", e)
385
+ assert_block(failure_message) {false}
386
+ else
387
+ raise
388
+ end
389
+ end
390
+ nil
391
+ end
392
+ end
393
+
394
+ ##
395
+ # Flunk always fails.
396
+ #
397
+ # Example:
398
+ # flunk 'Not done testing yet.'
399
+
400
+ public
401
+ def flunk(message="Flunked")
402
+ assert_block(build_message(message)){false}
403
+ end
404
+
405
+ ##
406
+ # Passes if ! +actual+ .equal? +expected+
407
+ #
408
+ # Example:
409
+ # assert_not_same Object.new, Object.new
410
+
411
+ public
412
+ def assert_not_same(expected, actual, message="")
413
+ full_message = build_message(message, <<EOT, expected, expected.__id__, actual, actual.__id__)
414
+ <?>
415
+ with id <?> expected to not be equal\\? to
416
+ <?>
417
+ with id <?>.
418
+ EOT
419
+ assert_block(full_message) { !actual.equal?(expected) }
420
+ end
421
+
422
+ ##
423
+ # Passes if +expected+ != +actual+
424
+ #
425
+ # Example:
426
+ # assert_not_equal 'some string', 5
427
+
428
+ public
429
+ def assert_not_equal(expected, actual, message="")
430
+ full_message = build_message(message, "<?> expected to be != to\n<?>.", expected, actual)
431
+ assert_block(full_message) { expected != actual }
432
+ end
433
+
434
+ ##
435
+ # Passes if ! +object+ .nil?
436
+ #
437
+ # Example:
438
+ # assert_not_nil '1 two 3'.sub!(/two/, '2')
439
+
440
+ public
441
+ def assert_not_nil(object, message="")
442
+ full_message = build_message(message, "<?> expected to not be nil.", object)
443
+ assert_block(full_message){!object.nil?}
444
+ end
445
+
446
+ ##
447
+ # Passes if +regexp+ !~ +string+
448
+ #
449
+ # Example:
450
+ # assert_no_match(/two/, 'one 2 three')
451
+
452
+ public
453
+ def assert_no_match(regexp, string, message="")
454
+ _wrap_assertion do
455
+ assert_instance_of(Regexp, regexp, "The first argument to assert_no_match should be a Regexp.")
456
+ full_message = build_message(message, "<?> expected to not match\n<?>.", regexp, string)
457
+ assert_block(full_message) { regexp !~ string }
458
+ end
459
+ end
460
+
461
+ UncaughtThrow = {
462
+ NameError => /^uncaught throw \`(.+)\'$/,
463
+ ArgumentError => /^uncaught throw (.+)$/,
464
+ ThreadError => /^uncaught throw \`(.+)\' in thread /
465
+ } #`
466
+
467
+ ##
468
+ # Passes if the block throws +expected_object+
469
+ #
470
+ # Example:
471
+ # assert_throw(:done) do
472
+ # throw(:done)
473
+ # end
474
+
475
+ public
476
+ def assert_throw(expected_object, message="", &proc)
477
+ _wrap_assertion do
478
+ begin
479
+ catch([]) {}
480
+ rescue TypeError
481
+ assert_instance_of(Symbol, expected_object,
482
+ "assert_throws expects the symbol that should be thrown for its first argument")
483
+ end
484
+ assert_block("Should have passed a block to assert_throw.") do
485
+ block_given?
486
+ end
487
+ caught = true
488
+ begin
489
+ catch(expected_object) do
490
+ proc.call
491
+ caught = false
492
+ end
493
+ full_message = build_message(message,
494
+ "<?> should have been thrown.",
495
+ expected_object)
496
+ assert_block(full_message) {caught}
497
+ rescue NameError, ArgumentError, ThreadError => error
498
+ raise unless UncaughtThrow[error.class] =~ error.message
499
+ tag = $1
500
+ tag = tag[1..-1].intern if tag[0, 1] == ":"
501
+ full_message = build_message(message,
502
+ "<?> expected to be thrown but\n" +
503
+ "<?> was thrown.",
504
+ expected_object, tag)
505
+ flunk(full_message)
506
+ end
507
+ end
508
+ end
509
+
510
+ ##
511
+ # Alias of assert_throw.
512
+ #
513
+ # Will be deprecated in 1.9, and removed in 2.0.
514
+ def assert_throws(*args, &block)
515
+ assert_throw(*args, &block)
516
+ end
517
+
518
+ ##
519
+ # Passes if block does not throw anything.
520
+ #
521
+ # Example:
522
+ # assert_nothing_thrown do
523
+ # [1, 2].uniq
524
+ # end
525
+
526
+ public
527
+ def assert_nothing_thrown(message="", &proc)
528
+ _wrap_assertion do
529
+ assert(block_given?, "Should have passed a block to assert_nothing_thrown")
530
+ begin
531
+ proc.call
532
+ rescue NameError, ArgumentError, ThreadError => error
533
+ raise unless UncaughtThrow[error.class] =~ error.message
534
+ tag = $1
535
+ tag = tag[1..-1].intern if tag[0, 1] == ":"
536
+ full_message = build_message(message,
537
+ "<?> was thrown when nothing was expected",
538
+ tag)
539
+ flunk(full_message)
540
+ end
541
+ assert(true, "Expected nothing to be thrown")
542
+ end
543
+ end
544
+
545
+ ##
546
+ # Passes if +expected_float+ and +actual_float+ are equal
547
+ # within +delta+ tolerance.
548
+ #
549
+ # Example:
550
+ # assert_in_delta 0.05, (50000.0 / 10**6), 0.00001
551
+
552
+ public
553
+ def assert_in_delta(expected_float, actual_float, delta, message="")
554
+ _wrap_assertion do
555
+ _assert_in_delta_validate_arguments(expected_float,
556
+ actual_float,
557
+ delta)
558
+ full_message = _assert_in_delta_message(expected_float,
559
+ actual_float,
560
+ delta,
561
+ message)
562
+ assert_block(full_message) do
563
+ (expected_float.to_f - actual_float.to_f).abs <= delta.to_f
564
+ end
565
+ end
566
+ end
567
+
568
+ # :stopdoc:
569
+ private
570
+ def _assert_in_delta_validate_arguments(expected_float,
571
+ actual_float,
572
+ delta)
573
+ {
574
+ expected_float => "first float",
575
+ actual_float => "second float",
576
+ delta => "delta"
577
+ }.each do |float, name|
578
+ assert_respond_to(float, :to_f,
579
+ "The arguments must respond to to_f; " +
580
+ "the #{name} did not")
581
+ end
582
+ assert_operator(delta, :>=, 0.0, "The delta should not be negative")
583
+ end
584
+
585
+ def _assert_in_delta_message(expected_float, actual_float, delta,
586
+ message)
587
+ format = <<-EOT
588
+ <?> expected but was
589
+ <?> (tolerance <?>).
590
+ EOT
591
+ arguments = [expected_float, actual_float, delta]
592
+ normalized_expected = expected_float.to_f
593
+ normalized_actual = actual_float.to_f
594
+ normalized_delta = delta.to_f
595
+ relation_format = nil
596
+ relation_arguments = nil
597
+ if normalized_actual < normalized_expected - normalized_delta
598
+ relation_format = "<<?> < <?>-<?>(?) <= <?>+<?>(?)>"
599
+ relation_arguments = [actual_float,
600
+ expected_float, delta, expected_float - delta,
601
+ expected_float, delta, expected_float + delta]
602
+ elsif normalized_expected - normalized_delta < normalized_actual
603
+ relation_format = "<<?>-<?>(?) <= <?>+<?>(?) < <?>>"
604
+ relation_arguments = [expected_float, delta, expected_float - delta,
605
+ expected_float, delta, expected_float + delta,
606
+ actual_float]
607
+ end
608
+
609
+ if relation_format
610
+ format << <<-EOT
611
+
612
+ Relation:
613
+ #{relation_format}
614
+ EOT
615
+ arguments.concat(relation_arguments)
616
+ end
617
+
618
+ build_message(message, format, *arguments)
619
+ end
620
+ public
621
+ # :startdoc:
622
+
623
+ ##
624
+ # Passes if the method send returns a true value.
625
+ #
626
+ # +send_array+ is composed of:
627
+ # * A receiver
628
+ # * A method
629
+ # * Arguments to the method
630
+ #
631
+ # Example:
632
+ # assert_send [[1, 2], :include?, 4]
633
+
634
+ public
635
+ def assert_send(send_array, message="")
636
+ _wrap_assertion do
637
+ assert_instance_of(Array, send_array, "assert_send requires an array of send information")
638
+ assert(send_array.size >= 2, "assert_send requires at least a receiver and a message name")
639
+ full_message = build_message(message, <<EOT, send_array[0], AssertionMessage.literal(send_array[1].to_s), send_array[2..-1])
640
+ <?> expected to respond to
641
+ <?(?)> with a true value.
642
+ EOT
643
+ assert_block(full_message) { send_array[0].__send__(send_array[1], *send_array[2..-1]) }
644
+ end
645
+ end
646
+
647
+ ##
648
+ # Passes if +actual+ is a boolean value.
649
+ #
650
+ # Example:
651
+ # assert_boolean(true) # -> pass
652
+ # assert_boolean(nil) # -> fail
653
+ def assert_boolean(actual, message=nil)
654
+ _wrap_assertion do
655
+ assert_block(build_message(message,
656
+ "<true> or <false> expected but was\n<?>",
657
+ actual)) do
658
+ [true, false].include?(actual)
659
+ end
660
+ end
661
+ end
662
+
663
+ ##
664
+ # Passes if +actual+ is true.
665
+ #
666
+ # Example:
667
+ # assert_true(true) # -> pass
668
+ # assert_true(:true) # -> fail
669
+ def assert_true(actual, message=nil)
670
+ _wrap_assertion do
671
+ assert_block(build_message(message,
672
+ "<true> expected but was\n<?>",
673
+ actual)) do
674
+ actual == true
675
+ end
676
+ end
677
+ end
678
+
679
+ ##
680
+ # Passes if +actual+ is false.
681
+ #
682
+ # Example:
683
+ # assert_false(false) # -> pass
684
+ # assert_false(nil) # -> fail
685
+ def assert_false(actual, message=nil)
686
+ _wrap_assertion do
687
+ assert_block(build_message(message,
688
+ "<false> expected but was\n<?>",
689
+ actual)) do
690
+ actual == false
691
+ end
692
+ end
693
+ end
694
+
695
+ ##
696
+ # Passes if expression "+expected+ +operator+
697
+ # +actual+" is true.
698
+ #
699
+ # Example:
700
+ # assert_compare(1, "<", 10) # -> pass
701
+ # assert_compare(1, ">=", 10) # -> fail
702
+ def assert_compare(expected, operator, actual, message=nil)
703
+ _wrap_assertion do
704
+ assert_send([["<", "<=", ">", ">="], :include?, operator.to_s])
705
+ case operator.to_s
706
+ when "<"
707
+ operator_description = "less than"
708
+ when "<="
709
+ operator_description = "less than or equal to"
710
+ when ">"
711
+ operator_description = "greater than"
712
+ when ">="
713
+ operator_description = "greater than or equal to"
714
+ end
715
+ template = <<-EOT
716
+ <?> #{operator} <?> should be true
717
+ <?> expected #{operator_description}
718
+ <?>.
719
+ EOT
720
+ full_message = build_message(message, template,
721
+ expected, actual,
722
+ expected, actual)
723
+ assert_block(full_message) do
724
+ expected.send(operator, actual)
725
+ end
726
+ end
727
+ end
728
+
729
+ ##
730
+ # Passes if assertion is failed in block.
731
+ #
732
+ # Example:
733
+ # assert_fail_assertion {assert_equal("A", "B")} # -> pass
734
+ # assert_fail_assertion {assert_equal("A", "A")} # -> fail
735
+ def assert_fail_assertion(message=nil)
736
+ _wrap_assertion do
737
+ full_message = build_message(message,
738
+ "Failed assertion was expected.")
739
+ assert_block(full_message) do
740
+ begin
741
+ yield
742
+ false
743
+ rescue AssertionFailedError
744
+ true
745
+ end
746
+ end
747
+ end
748
+ end
749
+
750
+ ##
751
+ # Passes if an exception is raised in block and its
752
+ # message is +expected+.
753
+ #
754
+ # Example:
755
+ # assert_raise_message("exception") {raise "exception"} # -> pass
756
+ # assert_raise_message(/exc/i) {raise "exception"} # -> pass
757
+ # assert_raise_message("exception") {raise "EXCEPTION"} # -> fail
758
+ # assert_raise_message("exception") {} # -> fail
759
+ def assert_raise_message(expected, message=nil)
760
+ _wrap_assertion do
761
+ full_message = build_message(message,
762
+ "<?> exception message expected " +
763
+ "but none was thrown.",
764
+ expected)
765
+ exception = nil
766
+ assert_block(full_message) do
767
+ begin
768
+ yield
769
+ false
770
+ rescue Exception => exception
771
+ true
772
+ end
773
+ end
774
+
775
+ actual = exception.message
776
+ diff = AssertionMessage.delayed_diff(expected, actual)
777
+ full_message =
778
+ build_message(message,
779
+ "<?> exception message expected but was\n" +
780
+ "<?>.?", expected, actual, diff)
781
+ assert_block(full_message) do
782
+ if expected.is_a?(Regexp)
783
+ expected =~ actual
784
+ else
785
+ expected == actual
786
+ end
787
+ end
788
+ end
789
+ end
790
+
791
+ ##
792
+ # Passes if +object+.const_defined?(+constant_name+)
793
+ #
794
+ # Example:
795
+ # assert_const_defined(Test, :Unit) # -> pass
796
+ # assert_const_defined(Object, :Nonexistent) # -> fail
797
+ def assert_const_defined(object, constant_name, message=nil)
798
+ _wrap_assertion do
799
+ full_message = build_message(message,
800
+ "<?>.const_defined\\?(<?>) expected.",
801
+ object, constant_name)
802
+ assert_block(full_message) do
803
+ object.const_defined?(constant_name)
804
+ end
805
+ end
806
+ end
807
+
808
+ ##
809
+ # Passes if !+object+.const_defined?(+constant_name+)
810
+ #
811
+ # Example:
812
+ # assert_not_const_defined(Object, :Nonexistent) # -> pass
813
+ # assert_not_const_defined(Test, :Unit) # -> fail
814
+ def assert_not_const_defined(object, constant_name, message=nil)
815
+ _wrap_assertion do
816
+ full_message = build_message(message,
817
+ "!<?>.const_defined\\?(<?>) expected.",
818
+ object, constant_name)
819
+ assert_block(full_message) do
820
+ !object.const_defined?(constant_name)
821
+ end
822
+ end
823
+ end
824
+
825
+ ##
826
+ # Passes if +object+.+predicate+
827
+ #
828
+ # Example:
829
+ # assert_predicate([], :empty?) # -> pass
830
+ # assert_predicate([1], :empty?) # -> fail
831
+ def assert_predicate(object, predicate, message=nil)
832
+ _wrap_assertion do
833
+ assert_respond_to(object, predicate, message)
834
+ actual = object.send(predicate)
835
+ full_message = build_message(message,
836
+ "<?>.? is true value expected but was\n" +
837
+ "<?>",
838
+ object,
839
+ AssertionMessage.literal(predicate),
840
+ actual)
841
+ assert_block(full_message) do
842
+ actual
843
+ end
844
+ end
845
+ end
846
+
847
+ ##
848
+ # Passes if +object+.+predicate+
849
+ #
850
+ # Example:
851
+ # assert_not_predicate([1], :empty?) # -> pass
852
+ # assert_not_predicate([], :empty?) # -> fail
853
+ def assert_not_predicate(object, predicate, message=nil)
854
+ _wrap_assertion do
855
+ assert_respond_to(object, predicate, message)
856
+ actual = object.send(predicate)
857
+ full_message = build_message(message,
858
+ "<?>.? is false value expected but was\n" +
859
+ "<?>",
860
+ object,
861
+ AssertionMessage.literal(predicate),
862
+ actual)
863
+ assert_block(full_message) do
864
+ not actual
865
+ end
866
+ end
867
+ end
868
+
869
+ ##
870
+ # Passes if +object+#+alias_name+ is an alias method of
871
+ # +object+#+original_name+.
872
+ #
873
+ # Example:
874
+ # assert_alias_method([], :length, :size) # -> pass
875
+ # assert_alias_method([], :size, :length) # -> pass
876
+ # assert_alias_method([], :each, :size) # -> fail
877
+ def assert_alias_method(object, alias_name, original_name, message=nil)
878
+ _wrap_assertion do
879
+ find_method_failure_message = Proc.new do |method_name|
880
+ build_message(message,
881
+ "<?>.? doesn't exist\n" +
882
+ "(Class: <?>)",
883
+ object,
884
+ AssertionMessage.literal(method_name),
885
+ object.class)
886
+ end
887
+
888
+ alias_method = original_method = nil
889
+ assert_block(find_method_failure_message.call(alias_name)) do
890
+ begin
891
+ alias_method = object.method(alias_name)
892
+ true
893
+ rescue NameError
894
+ false
895
+ end
896
+ end
897
+ assert_block(find_method_failure_message.call(original_name)) do
898
+ begin
899
+ original_method = object.method(original_name)
900
+ true
901
+ rescue NameError
902
+ false
903
+ end
904
+ end
905
+
906
+ full_message = build_message(message,
907
+ "<?> is alias of\n" +
908
+ "<?> expected",
909
+ alias_method,
910
+ original_method)
911
+ assert_block(full_message) do
912
+ alias_method == original_method
913
+ end
914
+ end
915
+ end
916
+
917
+ ##
918
+ # Passes if +path+ exists.
919
+ #
920
+ # Example:
921
+ # assert_path_exist("/tmp") # -> pass
922
+ # assert_path_exist("/bin/sh") # -> pass
923
+ # assert_path_exist("/nonexistent") # -> fail
924
+ def assert_path_exist(path, message=nil)
925
+ _wrap_assertion do
926
+ failure_message = build_message(message,
927
+ "<?> expected to exist",
928
+ path)
929
+ assert_block(failure_message) do
930
+ File.exist?(path)
931
+ end
932
+ end
933
+ end
934
+
935
+ ##
936
+ # Passes if +path+ doesn't exist.
937
+ #
938
+ # Example:
939
+ # assert_path_not_exist("/nonexistent") # -> pass
940
+ # assert_path_not_exist("/tmp") # -> fail
941
+ # assert_path_not_exist("/bin/sh") # -> fail
942
+ def assert_path_not_exist(path, message=nil)
943
+ _wrap_assertion do
944
+ failure_message = build_message(message,
945
+ "<?> expected to not exist",
946
+ path)
947
+ assert_block(failure_message) do
948
+ not File.exist?(path)
949
+ end
950
+ end
951
+ end
952
+
953
+ ##
954
+ # Builds a failure message. +head+ is added before the +template+ and
955
+ # +arguments+ replaces the '?'s positionally in the template.
956
+
957
+ public
958
+ def build_message(head, template=nil, *arguments)
959
+ template &&= template.chomp
960
+ return AssertionMessage.new(head, template, arguments)
961
+ end
962
+
963
+ private
964
+ def _wrap_assertion
965
+ @_assertion_wrapped ||= false
966
+ unless (@_assertion_wrapped)
967
+ @_assertion_wrapped = true
968
+ begin
969
+ add_assertion
970
+ return yield
971
+ ensure
972
+ @_assertion_wrapped = false
973
+ end
974
+ else
975
+ return yield
976
+ end
977
+ end
978
+
979
+ ##
980
+ # Called whenever an assertion is made. Define this in classes that
981
+ # include Test::Unit::Assertions to record assertion counts.
982
+
983
+ private
984
+ def add_assertion
985
+ end
986
+
987
+ ##
988
+ # Select whether or not to use the pretty-printer. If this option is set
989
+ # to false before any assertions are made, pp.rb will not be required.
990
+
991
+ public
992
+ def self.use_pp=(value)
993
+ AssertionMessage.use_pp = value
994
+ end
995
+
996
+ # :stopdoc:
997
+ private
998
+ def _assert_raise(assert_expected_exception, *args, &block)
999
+ _wrap_assertion do
1000
+ if args.last.is_a?(String)
1001
+ message = args.pop
1002
+ else
1003
+ message = ""
1004
+ end
1005
+
1006
+ assert_exception_helper = AssertExceptionHelper.new(self, args)
1007
+ expected = assert_exception_helper.expected_exceptions
1008
+ actual_exception = nil
1009
+ full_message = build_message(message,
1010
+ "<?> exception expected " +
1011
+ "but none was thrown.",
1012
+ expected)
1013
+ assert_block(full_message) do
1014
+ begin
1015
+ yield
1016
+ false
1017
+ rescue Exception => actual_exception
1018
+ true
1019
+ end
1020
+ end
1021
+ assert_expected_exception.call(message, assert_exception_helper,
1022
+ actual_exception)
1023
+ actual_exception
1024
+ end
1025
+ end
1026
+
1027
+ class AssertionMessage
1028
+ @use_pp = true
1029
+ class << self
1030
+ attr_accessor :use_pp
1031
+
1032
+ def literal(value)
1033
+ Literal.new(value)
1034
+ end
1035
+
1036
+ def delayed_literal(&block)
1037
+ DelayedLiteral.new(block)
1038
+ end
1039
+
1040
+ def maybe_container(value, &formatter)
1041
+ MaybeContainer.new(value, &formatter)
1042
+ end
1043
+
1044
+ MAX_DIFF_TARGET_STRING_SIZE = 1000
1045
+ def max_diff_target_string_size
1046
+ size = ENV["TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE"]
1047
+ if size
1048
+ begin
1049
+ size = Integer(size)
1050
+ rescue ArgumentError
1051
+ size = nil
1052
+ end
1053
+ end
1054
+ size || MAX_DIFF_TARGET_STRING_SIZE
1055
+ end
1056
+
1057
+ def diff_target_string?(string)
1058
+ if string.respond_to?(:bytesize)
1059
+ string.bytesize < max_diff_target_string_size
1060
+ else
1061
+ string.size < max_diff_target_string_size
1062
+ end
1063
+ end
1064
+
1065
+ def prepare_for_diff(from, to)
1066
+ if !from.is_a?(String) or !to.is_a?(String)
1067
+ from = convert(from)
1068
+ to = convert(to)
1069
+ end
1070
+
1071
+ if diff_target_string?(from) and diff_target_string?(to)
1072
+ [from, to]
1073
+ else
1074
+ [nil, nil]
1075
+ end
1076
+ end
1077
+
1078
+ def delayed_diff(from, to)
1079
+ delayed_literal do
1080
+ from, to = prepare_for_diff(from, to)
1081
+
1082
+ diff = "" if from.nil? or to.nil?
1083
+ diff ||= Diff.readable(from, to)
1084
+ if /^[-+]/ !~ diff
1085
+ diff = ""
1086
+ elsif /^[ ?]/ =~ diff or /(?:.*\n){2,}/ =~ diff
1087
+ diff = "\n\ndiff:\n#{diff}"
1088
+ else
1089
+ diff = ""
1090
+ end
1091
+
1092
+ if Diff.need_fold?(diff)
1093
+ folded_diff = Diff.folded_readable(from, to)
1094
+ diff << "\n\nfolded diff:\n#{folded_diff}"
1095
+ end
1096
+
1097
+ diff
1098
+ end
1099
+ end
1100
+
1101
+ def convert(object)
1102
+ case object
1103
+ when Exception
1104
+ <<EOM.chop
1105
+ Class: <#{convert(object.class)}>
1106
+ Message: <#{convert(object.message)}>
1107
+ ---Backtrace---
1108
+ #{Util::BacktraceFilter.filter_backtrace(object.backtrace).join("\n")}
1109
+ ---------------
1110
+ EOM
1111
+ else
1112
+ if use_pp
1113
+ begin
1114
+ require 'pp' unless defined?(PP)
1115
+ begin
1116
+ return PP.pp(object, '').chomp
1117
+ rescue NameError
1118
+ end
1119
+ rescue LoadError
1120
+ self.use_pp = false
1121
+ end
1122
+ end
1123
+ object.inspect
1124
+ end
1125
+ end
1126
+ end
1127
+
1128
+ class Literal
1129
+ def initialize(value)
1130
+ @value = value
1131
+ end
1132
+
1133
+ def inspect
1134
+ @value.to_s
1135
+ end
1136
+ end
1137
+
1138
+ class DelayedLiteral
1139
+ def initialize(value)
1140
+ @value = value
1141
+ end
1142
+
1143
+ def inspect
1144
+ @value.call.to_s
1145
+ end
1146
+ end
1147
+
1148
+ class MaybeContainer
1149
+ def initialize(value, &formatter)
1150
+ @value = value
1151
+ @formatter = formatter
1152
+ end
1153
+
1154
+ def inspect
1155
+ if @value.is_a?(Array)
1156
+ values = @value.collect do |value|
1157
+ @formatter.call(AssertionMessage.convert(value))
1158
+ end
1159
+ "[#{values.join(', ')}]"
1160
+ else
1161
+ @formatter.call(AssertionMessage.convert(@value))
1162
+ end
1163
+ end
1164
+ end
1165
+
1166
+ class Template
1167
+ def self.create(string)
1168
+ parts = (string ? string.scan(/(?=[^\\])\?|(?:\\\?|[^\?])+/m) : [])
1169
+ self.new(parts)
1170
+ end
1171
+
1172
+ attr_reader :count
1173
+
1174
+ def initialize(parts)
1175
+ @parts = parts
1176
+ @count = parts.find_all{|e| e == '?'}.size
1177
+ end
1178
+
1179
+ def result(parameters)
1180
+ raise "The number of parameters does not match the number of substitutions." if(parameters.size != count)
1181
+ params = parameters.dup
1182
+ @parts.collect{|e| e == '?' ? params.shift : e.gsub(/\\\?/m, '?')}.join('')
1183
+ end
1184
+ end
1185
+
1186
+ include Util::BacktraceFilter
1187
+
1188
+ def initialize(head, template_string, parameters)
1189
+ @head = head
1190
+ @template_string = template_string
1191
+ @parameters = parameters
1192
+ end
1193
+
1194
+ def convert(object)
1195
+ self.class.convert(object)
1196
+ end
1197
+
1198
+ def template
1199
+ @template ||= Template.create(@template_string)
1200
+ end
1201
+
1202
+ def add_period(string)
1203
+ (string =~ /\.\Z/ ? string : string + '.')
1204
+ end
1205
+
1206
+ def to_s
1207
+ message_parts = []
1208
+ if (@head)
1209
+ head = @head.to_s
1210
+ unless(head.empty?)
1211
+ message_parts << add_period(head)
1212
+ end
1213
+ end
1214
+ tail = template.result(@parameters.collect{|e| convert(e)})
1215
+ message_parts << tail unless(tail.empty?)
1216
+ message_parts.join("\n")
1217
+ end
1218
+ end
1219
+
1220
+ class AssertExceptionHelper
1221
+ class WrappedException
1222
+ def initialize(exception)
1223
+ @exception = exception
1224
+ end
1225
+
1226
+ def inspect
1227
+ if default_inspect?
1228
+ "#{@exception.class.inspect}(#{@exception.message.inspect})"
1229
+ else
1230
+ @exception.inspect
1231
+ end
1232
+ end
1233
+
1234
+ def method_missing(name, *args, &block)
1235
+ @exception.send(name, *args, &block)
1236
+ end
1237
+
1238
+ private
1239
+ def default_inspect?
1240
+ inspect_method = @exception.method(:inspect)
1241
+ if inspect_method.respond_to?(:owner) and
1242
+ inspect_method.owner == Exception
1243
+ true
1244
+ else
1245
+ default_inspect_method = Exception.instance_method(:inspect)
1246
+ default_inspect_method.bind(@exception).call == @exception.inspect
1247
+ end
1248
+ end
1249
+ end
1250
+
1251
+ def initialize(test_case, expected_exceptions)
1252
+ @test_case = test_case
1253
+ @expected_exceptions = expected_exceptions
1254
+ @expected_classes, @expected_modules, @expected_objects =
1255
+ split_expected_exceptions(expected_exceptions)
1256
+ end
1257
+
1258
+ def expected_exceptions
1259
+ exceptions = @expected_exceptions.collect do |exception|
1260
+ if exception.is_a?(Exception)
1261
+ WrappedException.new(exception)
1262
+ else
1263
+ exception
1264
+ end
1265
+ end
1266
+ if exceptions.size == 1
1267
+ exceptions[0]
1268
+ else
1269
+ exceptions
1270
+ end
1271
+ end
1272
+
1273
+ def expected?(actual_exception, equality=nil)
1274
+ equality ||= :instance_of?
1275
+ expected_class?(actual_exception, equality) or
1276
+ expected_module?(actual_exception) or
1277
+ expected_object?(actual_exception)
1278
+ end
1279
+
1280
+ private
1281
+ def split_expected_exceptions(expected_exceptions)
1282
+ exception_modules = []
1283
+ exception_objects = []
1284
+ exception_classes = []
1285
+ expected_exceptions.each do |exception_type|
1286
+ if exception_type.instance_of?(Module)
1287
+ exception_modules << exception_type
1288
+ elsif exception_type.is_a?(Exception)
1289
+ exception_objects << exception_type
1290
+ else
1291
+ @test_case.send(:assert,
1292
+ Exception >= exception_type,
1293
+ "Should expect a class of exception, " +
1294
+ "#{exception_type}")
1295
+ exception_classes << exception_type
1296
+ end
1297
+ end
1298
+ [exception_classes, exception_modules, exception_objects]
1299
+ end
1300
+
1301
+ def expected_class?(actual_exception, equality)
1302
+ @expected_classes.any? do |expected_class|
1303
+ actual_exception.send(equality, expected_class)
1304
+ end
1305
+ end
1306
+
1307
+ def expected_module?(actual_exception)
1308
+ @expected_modules.any? do |expected_module|
1309
+ actual_exception.is_a?(expected_module)
1310
+ end
1311
+ end
1312
+
1313
+ def expected_object?(actual_exception)
1314
+ @expected_objects.any? do |expected_object|
1315
+ expected_object == actual_exception or
1316
+ fallback_exception_object_equal(expected_object, actual_exception)
1317
+ end
1318
+ end
1319
+
1320
+ def fallback_exception_object_equal(expected_object, actual_exception)
1321
+ owner = Util::MethodOwnerFinder.find(expected_object, :==)
1322
+ if owner == Kernel or owner == Exception
1323
+ expected_object.class == actual_exception.class and
1324
+ expected_object.message == actual_exception.message
1325
+ else
1326
+ false
1327
+ end
1328
+ end
1329
+ end
1330
+
1331
+ # :startdoc:
1332
+ end
1333
+ end
1334
+ end