glib2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (540) hide show
  1. data/ext/glib2/extconf.rb +1 -0
  2. data/ext/glib2/glib2.def +23 -0
  3. data/ext/glib2/rbgcompat.h +19 -5
  4. data/ext/glib2/rbglib.c +607 -160
  5. data/ext/glib2/rbglib.h +81 -26
  6. data/ext/glib2/rbglib2conversions.h +57 -0
  7. data/ext/glib2/rbglib_bookmarkfile.c +117 -107
  8. data/ext/glib2/rbglib_completion.c +37 -26
  9. data/ext/glib2/rbglib_convert.c +42 -30
  10. data/ext/glib2/rbglib_error.c +20 -10
  11. data/ext/glib2/rbglib_fileutils.c +48 -37
  12. data/ext/glib2/rbglib_i18n.c +24 -14
  13. data/ext/glib2/rbglib_int64.c +24 -16
  14. data/ext/glib2/rbglib_iochannel.c +146 -204
  15. data/ext/glib2/rbglib_iochannel_win32_socket.c +56 -0
  16. data/ext/glib2/rbglib_iochannelerror.c +49 -0
  17. data/ext/glib2/rbglib_keyfile.c +171 -182
  18. data/ext/glib2/rbglib_maincontext.c +107 -92
  19. data/ext/glib2/rbglib_mainloop.c +34 -21
  20. data/ext/glib2/rbglib_messages.c +53 -44
  21. data/ext/glib2/rbglib_pollfd.c +37 -26
  22. data/ext/glib2/rbglib_shell.c +29 -22
  23. data/ext/glib2/rbglib_shellerror.c +34 -0
  24. data/ext/glib2/rbglib_source.c +49 -36
  25. data/ext/glib2/rbglib_spawn.c +50 -61
  26. data/ext/glib2/rbglib_spawnerror.c +53 -0
  27. data/ext/glib2/rbglib_threads.c +28 -16
  28. data/ext/glib2/rbglib_timer.c +35 -24
  29. data/ext/glib2/rbglib_ucs4.c +79 -0
  30. data/ext/glib2/rbglib_unichar.c +209 -0
  31. data/ext/glib2/rbglib_unicode.c +34 -584
  32. data/ext/glib2/rbglib_utf16.c +78 -0
  33. data/ext/glib2/rbglib_utf8.c +259 -0
  34. data/ext/glib2/rbglib_utils.c +95 -91
  35. data/ext/glib2/rbglib_win32.c +52 -45
  36. data/ext/glib2/rbglibdeprecated.c +56 -0
  37. data/ext/glib2/rbglibdeprecated.h +34 -0
  38. data/ext/glib2/rbgobj_boxed.c +40 -33
  39. data/ext/glib2/rbgobj_closure.c +45 -34
  40. data/ext/glib2/rbgobj_convert.c +19 -9
  41. data/ext/glib2/rbgobj_enumflags.c +109 -0
  42. data/ext/glib2/rbgobj_enums.c +67 -646
  43. data/ext/glib2/rbgobj_flags.c +522 -0
  44. data/ext/glib2/rbgobj_fundamental.c +19 -6
  45. data/ext/glib2/rbgobj_object.c +90 -81
  46. data/ext/glib2/rbgobj_param.c +78 -83
  47. data/ext/glib2/rbgobj_paramspecs.c +20 -12
  48. data/ext/glib2/rbgobj_signal.c +248 -193
  49. data/ext/glib2/rbgobj_strv.c +20 -10
  50. data/ext/glib2/rbgobj_type.c +153 -149
  51. data/ext/glib2/rbgobj_typeinstance.c +49 -39
  52. data/ext/glib2/rbgobj_typeinterface.c +37 -27
  53. data/ext/glib2/rbgobj_typemodule.c +39 -29
  54. data/ext/glib2/rbgobj_typeplugin.c +36 -26
  55. data/ext/glib2/rbgobj_value.c +41 -11
  56. data/ext/glib2/rbgobj_valuearray.c +59 -23
  57. data/ext/glib2/rbgobj_valuetypes.c +27 -17
  58. data/ext/glib2/rbgobject.c +26 -40
  59. data/ext/glib2/rbgobject.h +38 -20
  60. data/ext/glib2/rbgprivate.h +87 -5
  61. data/ext/glib2/rbgutil.c +52 -238
  62. data/ext/glib2/rbgutil.h +55 -42
  63. data/ext/glib2/rbgutil_callback.c +47 -12
  64. data/ext/glib2/rbgutil_list.c +173 -0
  65. data/ext/glib2/rbgutil_list.h +85 -0
  66. data/ext/glib2/rbgutildeprecated.c +252 -0
  67. data/ext/glib2/rbgutildeprecated.h +63 -0
  68. data/lib/1.8/glib2.so +0 -0
  69. data/lib/1.9/glib2.so +0 -0
  70. data/lib/glib-mkenums.rb +2 -2
  71. data/lib/glib2.rb +2 -25
  72. data/lib/glib2/deprecatable.rb +149 -0
  73. data/lib/gnome2-raketask.rb +45 -15
  74. data/lib/gnome2-win32-binary-downloader.rb +1 -1
  75. data/lib/mkmf-gnome2.rb +37 -18
  76. data/test/test_flags.rb +129 -0
  77. data/test/test_key_file.rb +6 -2
  78. data/test/test_spawn.rb +33 -0
  79. data/vendor/local/bin/gdbus.exe +0 -0
  80. data/vendor/local/bin/gio-querymodules.exe +0 -0
  81. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  82. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  83. data/vendor/local/bin/glib-gettextize +2 -2
  84. data/vendor/local/bin/glib-mkenums +1 -1
  85. data/vendor/local/bin/gobject-query.exe +0 -0
  86. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  87. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  88. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  89. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  90. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  91. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  92. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  93. data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +33 -0
  94. data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +67 -0
  95. data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +79 -0
  96. data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +78 -0
  97. data/vendor/local/include/glib-2.0/gio/gapplication.h +13 -7
  98. data/vendor/local/include/glib-2.0/gio/gioenums.h +16 -5
  99. data/vendor/local/include/glib-2.0/glib/gconvert.h +2 -0
  100. data/vendor/local/include/glib-2.0/glib/gdir.h +2 -0
  101. data/vendor/local/include/glib-2.0/glib/gfileutils.h +2 -0
  102. data/vendor/local/include/glib-2.0/glib/giochannel.h +1 -1
  103. data/vendor/local/include/glib-2.0/glib/gspawn.h +2 -0
  104. data/vendor/local/include/glib-2.0/glib/gutils.h +6 -2
  105. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +10 -10
  106. data/vendor/local/include/glib-2.0/gobject/gtype.h +1 -1
  107. data/vendor/local/include/glib-2.0/gobject/gvalue.h +9 -1
  108. data/vendor/local/lib/gio-2.0.lib +0 -0
  109. data/vendor/local/lib/glib-2.0.def +1 -0
  110. data/vendor/local/lib/glib-2.0.lib +0 -0
  111. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  112. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  113. data/vendor/local/lib/gobject-2.0.lib +0 -0
  114. data/vendor/local/lib/gthread-2.0.lib +0 -0
  115. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  116. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  117. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  118. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  119. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  120. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  121. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  122. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  124. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  125. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  126. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  127. data/vendor/local/manifest/{glib-dev_2.28.1-1_win32.mft → glib-dev_2.28.8-1_win32.mft} +33 -20
  128. data/vendor/local/manifest/{glib_2.28.1-1_win32.mft → glib_2.28.8-1_win32.mft} +3 -3
  129. data/vendor/local/share/aclocal/gsettings.m4 +83 -0
  130. data/vendor/local/share/doc/{glib-2.28.1 → glib-2.28.8}/COPYING +0 -0
  131. data/vendor/local/share/doc/{glib-dev-2.28.1 → glib-dev-2.28.8}/COPYING +0 -0
  132. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -0
  133. data/vendor/local/share/gtk-doc/html/gio/GAction.html +3 -3
  134. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +2 -2
  135. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +3 -3
  136. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +115 -32
  137. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +329 -312
  138. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +2 -2
  139. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +2 -2
  140. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +2 -2
  141. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +2 -2
  142. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +2 -2
  143. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +2 -2
  144. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +2 -2
  145. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +2 -2
  146. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +2 -2
  147. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +95 -40
  148. data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +2 -2
  149. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +4 -4
  150. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +6 -4
  151. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +21 -11
  152. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +3 -4
  153. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +2 -2
  154. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +2 -2
  155. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +2 -2
  156. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +2 -2
  157. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +2 -2
  158. data/vendor/local/share/gtk-doc/html/gio/GFile.html +9 -7
  159. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +2 -2
  160. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +3 -3
  161. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +2 -2
  162. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +2 -2
  163. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3 -3
  164. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +2 -2
  165. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +2 -2
  166. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +2 -2
  167. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +2 -2
  168. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +4 -4
  169. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +2 -2
  170. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +2 -2
  171. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +2 -2
  172. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +2 -2
  173. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +2 -2
  174. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +2 -2
  175. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +2 -2
  176. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +2 -2
  177. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +2 -2
  178. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +2 -2
  179. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +2 -2
  180. data/vendor/local/share/gtk-doc/html/gio/GMount.html +2 -2
  181. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +6 -6
  182. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +2 -2
  183. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +2 -2
  184. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +2 -2
  185. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +2 -2
  186. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +2 -2
  187. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +2 -2
  189. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
  190. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +2 -2
  191. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +2 -2
  192. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +2 -2
  193. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +11 -4
  194. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +2 -2
  195. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +3 -3
  196. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +2 -2
  197. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +2 -2
  198. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +2 -2
  199. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2 -2
  200. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +2 -2
  201. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +2 -2
  202. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +2 -2
  203. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +2 -2
  204. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +2 -2
  205. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +2 -2
  206. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +2 -2
  207. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +2 -2
  208. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +2 -2
  209. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +2 -2
  210. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +3 -3
  211. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +2 -2
  212. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +2 -2
  213. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +2 -2
  214. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +2 -2
  215. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +2 -2
  216. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +2 -2
  217. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +2 -2
  218. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +2 -2
  219. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +2 -2
  220. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +2 -2
  221. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +2 -2
  222. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +2 -2
  223. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +2 -2
  224. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +2 -2
  225. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +2 -2
  226. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +2 -2
  227. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +2 -2
  228. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +2 -2
  229. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +2 -2
  230. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  231. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  232. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  234. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
  235. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
  237. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
  238. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  239. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  240. data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -3
  241. data/vendor/local/share/gtk-doc/html/gio/ch02.html +4 -4
  242. data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -3
  243. data/vendor/local/share/gtk-doc/html/gio/ch26.html +3 -3
  244. data/vendor/local/share/gtk-doc/html/gio/ch27.html +5 -5
  245. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +3 -3
  246. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/gio/ch28.html +5 -5
  248. data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +3 -3
  249. data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +3 -3
  250. data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +3 -3
  251. data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +3 -3
  252. data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +4 -4
  253. data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +3 -3
  254. data/vendor/local/share/gtk-doc/html/gio/ch29.html +5 -5
  255. data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +3 -3
  256. data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +3 -3
  257. data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +3 -3
  258. data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +5 -5
  259. data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +4 -4
  260. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  262. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  263. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  264. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  265. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  266. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  267. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -9
  269. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +2 -2
  270. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +2 -2
  271. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +2 -2
  272. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +2 -2
  273. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +2 -2
  274. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +6 -5
  275. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +2 -2
  276. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +2 -2
  277. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +4 -4
  278. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +2 -2
  279. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +2 -2
  280. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +2 -2
  281. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +2 -2
  282. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +2 -2
  283. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +2 -2
  284. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
  285. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +3 -3
  286. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +8 -8
  287. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +8 -8
  288. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +7 -5
  289. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +4 -4
  290. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  291. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  292. data/vendor/local/share/gtk-doc/html/gio/index.html +6 -6
  293. data/vendor/local/share/gtk-doc/html/gio/migrating.html +5 -5
  294. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  295. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  296. data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -3
  297. data/vendor/local/share/gtk-doc/html/gio/pt02.html +3 -3
  298. data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
  299. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  300. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  301. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  302. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  303. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  304. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  305. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  306. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -2
  307. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  308. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  309. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
  310. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  311. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  312. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  313. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  314. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  315. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  316. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  317. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  318. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +4 -4
  319. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  320. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  321. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
  322. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +26 -26
  323. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +4 -4
  324. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +2 -2
  325. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +2 -2
  326. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
  327. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
  328. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +2 -2
  329. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +2 -2
  330. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2 -2
  331. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +3 -3
  332. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +2 -2
  333. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +4 -4
  334. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +99 -19
  335. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +4 -4
  336. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +2 -2
  337. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
  338. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +4 -4
  339. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +2 -2
  340. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
  341. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +3 -3
  342. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +5 -5
  343. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +147 -49
  344. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2 -2
  345. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +2 -2
  346. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +123 -94
  347. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +52 -47
  348. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
  349. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +4 -3
  350. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
  351. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
  352. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +5 -4
  353. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +3 -3
  354. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2 -2
  355. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +2 -2
  356. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +2 -2
  357. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +2 -2
  358. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +4 -4
  361. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +6 -6
  362. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +5 -5
  363. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -48
  365. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
  366. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
  367. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +3 -3
  369. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
  370. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +6 -4
  374. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +287 -52
  377. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
  378. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2 -2
  380. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +2 -2
  381. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -2
  382. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +19 -14
  383. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
  384. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +17 -14
  385. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
  386. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
  387. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +2 -2
  388. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -8
  389. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +2 -2
  390. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +6 -6
  391. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +4 -4
  392. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
  393. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -3
  394. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +4 -4
  395. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -3
  396. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  397. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
  398. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  399. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  400. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +5 -5
  401. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +47 -47
  402. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +5 -5
  403. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +8 -8
  404. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  405. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +49 -49
  406. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +49 -49
  407. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  408. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +5 -5
  409. data/vendor/local/share/gtk-doc/html/glib/gtester.html +5 -5
  410. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +35 -35
  411. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +4 -4
  412. data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
  413. data/vendor/local/share/gtk-doc/html/glib/index.sgml +1 -0
  414. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  415. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +2 -2
  416. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +2 -2
  417. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +2 -2
  418. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +2 -2
  419. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
  420. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  421. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  422. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  423. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  424. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  425. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  426. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  427. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  428. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
  429. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  430. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  431. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
  432. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
  433. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +6 -6
  434. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +3 -3
  435. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  436. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
  437. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
  438. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +10 -10
  439. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +11 -11
  440. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +8 -8
  441. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +2 -2
  442. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2 -2
  443. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +2 -2
  444. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +2 -2
  445. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +2 -2
  446. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +5 -5
  447. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +2 -2
  448. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +7 -7
  449. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +8 -3
  450. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +5 -3
  451. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +2 -2
  452. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  453. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +6 -6
  454. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +5 -5
  455. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +8 -8
  456. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -8
  457. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +4 -4
  458. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  459. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
  460. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  461. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +4 -4
  462. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
  463. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
  464. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +2 -2
  465. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +5 -5
  466. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +5 -5
  467. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +2 -2
  468. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +6 -6
  469. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +2 -2
  470. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  471. data/vendor/local/share/gtk-doc/html/gobject/index.html +9 -9
  472. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -3
  473. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +6 -6
  474. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +6 -6
  475. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -3
  476. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -3
  477. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -3
  478. data/vendor/local/share/gtk-doc/html/gobject/signal.html +6 -6
  479. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  480. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  481. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
  482. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  483. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  484. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  485. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  486. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  487. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  488. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  489. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  490. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  491. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  492. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  493. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  494. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  495. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  496. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  497. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  498. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  499. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  500. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  501. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  502. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  503. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  504. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  505. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  506. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  507. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  508. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  509. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  510. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  511. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  512. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  513. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  514. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  515. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  516. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  517. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  518. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  519. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  520. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  521. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  522. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  523. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  524. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  525. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  526. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  527. data/vendor/local/share/man/man1/gdbus.1 +249 -0
  528. data/vendor/local/share/man/man1/gio-querymodules.1 +44 -0
  529. data/vendor/local/share/man/man1/glib-compile-schemas.1 +86 -0
  530. data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
  531. data/vendor/local/share/man/man1/glib-gettextize.1 +80 -0
  532. data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
  533. data/vendor/local/share/man/man1/gobject-query.1 +2 -2
  534. data/vendor/local/share/man/man1/gsettings.1 +153 -0
  535. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +2919 -0
  536. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +157 -0
  537. metadata +45 -13
  538. data/ChangeLog +0 -3513
  539. data/vendor/local/src/tml/packaging/glib_2.28.1-1_win32.log +0 -2775
  540. data/vendor/local/src/tml/packaging/glib_2.28.1-1_win32.sh +0 -62
@@ -1,19 +1,27 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /**********************************************************************
3
-
4
- utils_int64.c -
5
-
6
- $Author: isambart $
7
- $Date: 2007/08/14 10:35:04 $
8
-
9
- Copyright (C) 2003 Masahiro Sakai
10
- Copyright (C) 2002 Masahiro Sakai
11
- Kenichi Komiya
12
-
13
- **********************************************************************/
14
-
15
- #include <glib/gtypes.h>
16
- #include "rbglib.h"
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2003 Masahiro Sakai
5
+ * Copyright (C) 2002 Masahiro Sakai
6
+ * Kenichi Komiya
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation; either
11
+ * version 2.1 of the License, or (at your option) any later version.
12
+ *
13
+ * This library is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ * Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public
19
+ * License along with this library; if not, write to the Free Software
20
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
+ * MA 02110-1301 USA
22
+ */
23
+
24
+ #include "rbgprivate.h"
17
25
 
18
26
  static ID id_and;
19
27
  static ID id_rshift;
@@ -142,7 +150,7 @@ rbglib_num_to_uint64(VALUE val)
142
150
  /**********************************************************************/
143
151
 
144
152
  void
145
- Init_glib_int64()
153
+ Init_glib_int64(void)
146
154
  {
147
155
  id_and = rb_intern("&");
148
156
  id_rshift = rb_intern(">>");
@@ -1,18 +1,29 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbglib_iochannel.c -
5
-
6
- $Author: ggc $
7
- $Date: 2007/07/13 16:07:28 $
8
-
9
- Copyright (C) 2005 Masao Mutoh
10
- ************************************************/
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2005 Masao Mutoh
5
+ *
6
+ * This library is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU Lesser General Public
8
+ * License as published by the Free Software Foundation; either
9
+ * version 2.1 of the License, or (at your option) any later version.
10
+ *
11
+ * This library is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ * Lesser General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public
17
+ * License along with this library; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
+ * MA 02110-1301 USA
20
+ */
11
21
 
12
22
  #include "rbgprivate.h"
13
23
 
14
24
  static ID id_call;
15
25
 
26
+ #define RG_TARGET_NAMESPACE cIOChannel
16
27
  #define _SELF(s) ((GIOChannel*)RVAL2BOXED(s, G_TYPE_IO_CHANNEL))
17
28
 
18
29
  static void
@@ -32,7 +43,7 @@ ioc_error(GIOStatus status, GError *err)
32
43
  }
33
44
 
34
45
  static VALUE
35
- ioc_initialize(gint argc, VALUE *argv, VALUE self)
46
+ rg_initialize(gint argc, VALUE *argv, VALUE self)
36
47
  {
37
48
  VALUE arg1, arg2;
38
49
 
@@ -78,7 +89,7 @@ ioc_close(VALUE self)
78
89
  }
79
90
 
80
91
  static VALUE
81
- ioc_s_open(gint argc, VALUE *argv, VALUE self)
92
+ rg_s_open(gint argc, VALUE *argv, G_GNUC_UNUSED VALUE self)
82
93
  {
83
94
  VALUE arg1, arg2;
84
95
  VALUE rio;
@@ -113,7 +124,7 @@ ioc_s_open(gint argc, VALUE *argv, VALUE self)
113
124
  }
114
125
 
115
126
  static VALUE
116
- ioc_get_fd(VALUE self)
127
+ rg_fileno(VALUE self)
117
128
  {
118
129
  #ifdef G_OS_UNIX
119
130
  return INT2NUM(g_io_channel_unix_get_fd(_SELF(self)));
@@ -130,58 +141,45 @@ ioc_get_fd(VALUE self)
130
141
  void g_io_channel_init (GIOChannel *channel);
131
142
  */
132
143
 
133
-
134
144
  static VALUE
135
- ioc_read_chars(gint argc, VALUE *argv, VALUE self)
145
+ rg_read(gint argc, VALUE *argv, VALUE self)
136
146
  {
137
- VALUE count, ret;
138
- gchar* buf;
147
+ VALUE rbcount;
148
+ gsize count;
149
+ gchar *buffer;
139
150
  gsize bytes_read;
140
- GError* err = NULL;
151
+ GIOChannel *channel = _SELF(self);
152
+ GError *error = NULL;
141
153
  GIOStatus status;
142
- GIOChannel *channel;
143
154
 
144
- rb_scan_args(argc, argv, "01", &count);
155
+ rb_scan_args(argc, argv, "01", &rbcount);
145
156
 
146
- channel = _SELF(self);
147
- if (NIL_P(count)) {
148
- gsize length;
157
+ if (NIL_P(rbcount)) {
158
+ status = g_io_channel_read_to_end(channel, &buffer, &bytes_read, &error);
159
+ ioc_error(status, error);
149
160
 
150
- status = g_io_channel_read_to_end(channel, &buf, &length, &err);
161
+ return buffer != NULL ? CSTR2RVAL_LEN_FREE(buffer, bytes_read) : CSTR2RVAL("");
162
+ }
151
163
 
152
- if (status == G_IO_STATUS_EOF) {
153
- ret = CSTR2RVAL("");
154
- } else {
155
- ioc_error(status, err);
156
- }
157
- if (buf) {
158
- ret = CSTR2RVAL_LEN(buf, length);
159
- g_free(buf);
160
- } else {
161
- ret = CSTR2RVAL("");
162
- }
163
- } else {
164
- buf = ALLOCA_N(gchar, count);
165
- memset(buf, '\0', count);
164
+ count = NUM2UINT(rbcount);
166
165
 
167
- status = g_io_channel_read_chars(channel, buf, NUM2UINT(count),
168
- &bytes_read, &err);
169
- if (status == G_IO_STATUS_EOF) {
170
- ret = CSTR2RVAL("");
171
- } else {
172
- ioc_error(status, err);
173
- }
174
- if (buf) {
175
- ret = CSTR2RVAL_LEN(buf, bytes_read);
176
- } else {
177
- ret = CSTR2RVAL("");
178
- }
179
- }
180
- return ret;
166
+ buffer = g_new(gchar, count);
167
+ memset(buffer, '\0', count);
168
+
169
+ status = g_io_channel_read_chars(channel, buffer, count, &bytes_read, &error);
170
+ if (status == G_IO_STATUS_NORMAL)
171
+ return CSTR2RVAL_LEN_FREE(buffer, bytes_read);
172
+ else if (status == G_IO_STATUS_EOF)
173
+ return CSTR2RVAL("");
174
+
175
+ ioc_error(status, error);
176
+
177
+ /* Not reached. */
178
+ return Qnil;
181
179
  }
182
180
 
183
181
  static VALUE
184
- ioc_read_unichar(VALUE self)
182
+ rg_readchar(VALUE self)
185
183
  {
186
184
  gunichar thechar;
187
185
  GError* err = NULL;
@@ -193,7 +191,7 @@ ioc_read_unichar(VALUE self)
193
191
  }
194
192
 
195
193
  static VALUE
196
- ioc_getuc(VALUE self)
194
+ rg_getc(VALUE self)
197
195
  {
198
196
  gunichar thechar;
199
197
  GError* err = NULL;
@@ -211,7 +209,7 @@ ioc_getuc(VALUE self)
211
209
  }
212
210
 
213
211
  static VALUE
214
- ioc_each_char(VALUE self)
212
+ rg_each_char(VALUE self)
215
213
  {
216
214
  if (!rb_block_given_p()) {
217
215
  rb_raise(rb_eArgError, "called without a block");
@@ -232,7 +230,7 @@ ioc_each_char(VALUE self)
232
230
  }
233
231
 
234
232
  static VALUE
235
- ioc_read_line(gint argc, VALUE *argv, VALUE self)
233
+ rg_readline(gint argc, VALUE *argv, VALUE self)
236
234
  {
237
235
  gchar* str;
238
236
  VALUE line_term, ret;
@@ -259,7 +257,7 @@ ioc_read_line(gint argc, VALUE *argv, VALUE self)
259
257
  }
260
258
 
261
259
  ioc_error(status, err);
262
-
260
+
263
261
  ret = str ? CSTR2RVAL(str) : CSTR2RVAL("");
264
262
  g_free(str);
265
263
 
@@ -267,7 +265,7 @@ ioc_read_line(gint argc, VALUE *argv, VALUE self)
267
265
  }
268
266
 
269
267
  static VALUE
270
- ioc_gets(gint argc, VALUE *argv, VALUE self)
268
+ rg_gets(gint argc, VALUE *argv, VALUE self)
271
269
  {
272
270
  gchar* str;
273
271
  VALUE line_term, ret;
@@ -321,7 +319,7 @@ ioc_set_line_term(VALUE args)
321
319
  }
322
320
 
323
321
  static VALUE
324
- ioc_each_line(gint argc, VALUE *argv, VALUE self)
322
+ rg_each(gint argc, VALUE *argv, VALUE self)
325
323
  {
326
324
  gchar* str;
327
325
  VALUE line_term;
@@ -368,7 +366,6 @@ ioc_each_line(gint argc, VALUE *argv, VALUE self)
368
366
  return self;
369
367
  }
370
368
 
371
-
372
369
  /* Don't need this.
373
370
  GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
374
371
  GString *buffer,
@@ -398,7 +395,7 @@ ioc_read_to_end(VALUE self)
398
395
  */
399
396
 
400
397
  static VALUE
401
- ioc_write_chars(VALUE self, VALUE buf)
398
+ rg_write(VALUE self, VALUE buf)
402
399
  {
403
400
  gssize count;
404
401
  gsize bytes_written;
@@ -421,7 +418,7 @@ ioc_write_chars(VALUE self, VALUE buf)
421
418
  static ID id_unpack;
422
419
 
423
420
  static VALUE
424
- ioc_write_unichar(VALUE self, VALUE thechar)
421
+ rg_putc(VALUE self, VALUE thechar)
425
422
  {
426
423
  GError* err = NULL;
427
424
  GIOStatus status;
@@ -443,7 +440,7 @@ ioc_write_unichar(VALUE self, VALUE thechar)
443
440
  }
444
441
 
445
442
  static VALUE
446
- ioc_flush(VALUE self)
443
+ rg_flush(VALUE self)
447
444
  {
448
445
  GError* err = NULL;
449
446
  GIOStatus status = g_io_channel_flush(_SELF(self), &err);
@@ -452,7 +449,7 @@ ioc_flush(VALUE self)
452
449
  }
453
450
 
454
451
  static VALUE
455
- ioc_seek(gint argc, VALUE *argv, VALUE self)
452
+ rg_seek(gint argc, VALUE *argv, VALUE self)
456
453
  {
457
454
  VALUE ofs, type;
458
455
  GIOStatus status;
@@ -471,7 +468,7 @@ ioc_seek(gint argc, VALUE *argv, VALUE self)
471
468
  }
472
469
 
473
470
  static VALUE
474
- ioc_seek_pos(VALUE self, VALUE pos)
471
+ rg_set_pos(VALUE self, VALUE pos)
475
472
  {
476
473
  GError* err = NULL;
477
474
  GIOStatus status = g_io_channel_seek_position(_SELF(self), NUM2INT(pos),
@@ -481,7 +478,7 @@ ioc_seek_pos(VALUE self, VALUE pos)
481
478
  }
482
479
 
483
480
  static VALUE
484
- ioc_shutdown(gint argc, VALUE *argv, VALUE self)
481
+ rg_close(gint argc, VALUE *argv, VALUE self)
485
482
  {
486
483
  VALUE flush;
487
484
  GError* err = NULL;
@@ -501,7 +498,7 @@ ioc_shutdown(gint argc, VALUE *argv, VALUE self)
501
498
  }
502
499
 
503
500
  static VALUE
504
- ioc_create_watch(VALUE self, VALUE condition)
501
+ rg_create_watch(VALUE self, VALUE condition)
505
502
  {
506
503
  return BOXED2RVAL(g_io_create_watch(_SELF(self), NUM2INT(condition)),
507
504
  G_TYPE_SOURCE);
@@ -516,14 +513,14 @@ io_func(GIOChannel *source, GIOCondition condition, gpointer func)
516
513
  }
517
514
 
518
515
  static VALUE
519
- ioc_add_watch(VALUE self, VALUE condition)
516
+ rg_add_watch(VALUE self, VALUE condition)
520
517
  {
521
518
  VALUE func = rb_block_proc();
522
519
  G_RELATIVE(self, func);
523
520
  return UINT2NUM(g_io_add_watch(_SELF(self), NUM2INT(condition),
524
521
  (GIOFunc)io_func, (gpointer)func));
525
522
  }
526
-
523
+
527
524
  /* Don't need this
528
525
  guint g_io_add_watch_full (GIOChannel *channel,
529
526
  gint priority,
@@ -534,32 +531,32 @@ guint g_io_add_watch_full (GIOChannel *channel,
534
531
  */
535
532
 
536
533
  static VALUE
537
- ioc_get_buffer_size(VALUE self)
534
+ rg_buffer_size(VALUE self)
538
535
  {
539
536
  return UINT2NUM(g_io_channel_get_buffer_size(_SELF(self)));
540
537
  }
541
538
 
542
539
  static VALUE
543
- ioc_set_buffer_size(VALUE self, VALUE buffer_size)
540
+ rg_set_buffer_size(VALUE self, VALUE buffer_size)
544
541
  {
545
542
  g_io_channel_set_buffer_size(_SELF(self), NUM2UINT(buffer_size));
546
543
  return self;
547
544
  }
548
545
 
549
546
  static VALUE
550
- ioc_get_buffer_condition(VALUE self)
547
+ rg_buffer_condition(VALUE self)
551
548
  {
552
549
  return INT2NUM(g_io_channel_get_buffer_condition(_SELF(self)));
553
550
  }
554
551
 
555
552
  static VALUE
556
- ioc_get_flags(VALUE self)
553
+ rg_flags(VALUE self)
557
554
  {
558
555
  return INT2NUM(g_io_channel_get_flags(_SELF(self)));
559
556
  }
560
557
 
561
558
  static VALUE
562
- ioc_set_flags(VALUE self, VALUE flags)
559
+ rg_set_flags(VALUE self, VALUE flags)
563
560
  {
564
561
  GError* err = NULL;
565
562
  GIOStatus status = g_io_channel_set_flags(_SELF(self),
@@ -595,26 +592,26 @@ ioc_set_line_term(VALUE self, VALUE line_term)
595
592
  */
596
593
 
597
594
  static VALUE
598
- ioc_get_buffered(VALUE self)
595
+ rg_buffered(VALUE self)
599
596
  {
600
597
  return CBOOL2RVAL(g_io_channel_get_buffered(_SELF(self)));
601
598
  }
602
599
 
603
600
  static VALUE
604
- ioc_set_buffered(VALUE self, VALUE buffered)
601
+ rg_set_buffered(VALUE self, VALUE buffered)
605
602
  {
606
603
  g_io_channel_set_buffered(_SELF(self), RVAL2CBOOL(buffered));
607
604
  return self;
608
605
  }
609
606
 
610
607
  static VALUE
611
- ioc_get_encoding(VALUE self)
608
+ rg_encoding(VALUE self)
612
609
  {
613
610
  return CSTR2RVAL(g_io_channel_get_encoding(_SELF(self)));
614
611
  }
615
612
 
616
613
  static VALUE
617
- ioc_set_encoding(VALUE self, VALUE encoding)
614
+ rg_set_encoding(VALUE self, VALUE encoding)
618
615
  {
619
616
  GError* err = NULL;
620
617
  GIOStatus status;
@@ -648,41 +645,16 @@ GIOError g_io_channel_seek (GIOChannel *channel,
648
645
  void g_io_channel_close (GIOChannel *channel);
649
646
  */
650
647
 
651
- #ifdef G_OS_WIN32
652
- static VALUE
653
- ioc_win32_socket_initialize(VALUE self, VALUE socket)
654
- {
655
- GIOChannel *io = NULL;
656
- int fd;
657
-
658
- rb_secure(4);
659
- /* TODO: support IO object */
660
- fd = NUM2INT(socket);
661
- io = g_io_channel_win32_new_socket(rb_w32_get_osfhandle(fd));
662
- G_INITIALIZE(self, io);
663
-
664
- return Qnil;
665
- }
666
- #endif
667
-
668
- static VALUE
669
- ioc_error_s_from_errno(VALUE self, VALUE errno_)
670
- {
671
- return INT2NUM(g_io_channel_error_from_errno(NUM2INT(errno_)));
672
- }
673
-
674
648
  /*
675
649
  * Stolen some convenient methods from io.c
676
650
  */
677
651
  static VALUE
678
- ioc_printf(int argc, VALUE *argv, VALUE self)
652
+ rg_printf(int argc, VALUE *argv, VALUE self)
679
653
  {
680
- ioc_write_chars(self, rb_f_sprintf(argc, argv));
654
+ rg_write(self, rb_f_sprintf(argc, argv));
681
655
  return Qnil;
682
656
  }
683
657
 
684
- static VALUE ioc_puts(int argc, VALUE* argv, VALUE self);
685
-
686
658
  static VALUE
687
659
  ioc_puts_ary(VALUE ary, VALUE out, int recur)
688
660
  {
@@ -700,14 +672,14 @@ ioc_puts_ary(VALUE ary, VALUE out, int recur)
700
672
  }
701
673
 
702
674
  static VALUE
703
- ioc_puts(int argc, VALUE *argv, VALUE self)
675
+ rg_puts(int argc, VALUE *argv, VALUE self)
704
676
  {
705
677
  int i;
706
678
  VALUE line;
707
679
 
708
680
  /* if no argument given, print newline. */
709
681
  if (argc == 0) {
710
- ioc_write_chars(self, rb_default_rs);
682
+ rg_write(self, rb_default_rs);
711
683
  return Qnil;
712
684
  }
713
685
  for (i=0; i<argc; i++) {
@@ -715,13 +687,13 @@ ioc_puts(int argc, VALUE *argv, VALUE self)
715
687
  line = rb_str_new2("nil");
716
688
  }
717
689
  else {
718
- #if HAVE_RB_CHECK_ARRAY_TYPE
690
+ #ifdef HAVE_RB_CHECK_ARRAY_TYPE
719
691
  line = rb_check_array_type(argv[i]);
720
692
  #else
721
693
  line = rb_check_convert_type(argv[i], T_ARRAY, "Array", "to_ary");
722
694
  #endif
723
695
  if (!NIL_P(line)) {
724
- #if HAVE_RB_EXEC_RECURSIVE
696
+ #ifdef HAVE_RB_EXEC_RECURSIVE
725
697
  rb_exec_recursive(ioc_puts_ary, line, self);
726
698
  #else
727
699
  rb_protect_inspect(ioc_puts_ary, line, self);
@@ -730,10 +702,10 @@ ioc_puts(int argc, VALUE *argv, VALUE self)
730
702
  }
731
703
  line = rb_obj_as_string(argv[i]);
732
704
  }
733
- ioc_write_chars(self, line);
705
+ rg_write(self, line);
734
706
  if (RSTRING_LEN(line) == 0 ||
735
707
  RSTRING_PTR(line)[RSTRING_LEN(line)-1] != '\n') {
736
- ioc_write_chars(self, rb_default_rs);
708
+ rg_write(self, rb_default_rs);
737
709
  }
738
710
  }
739
711
 
@@ -741,7 +713,7 @@ ioc_puts(int argc, VALUE *argv, VALUE self)
741
713
  }
742
714
 
743
715
  static VALUE
744
- ioc_print(int argc, VALUE *argv, VALUE out)
716
+ rg_print(int argc, VALUE *argv, VALUE out)
745
717
  {
746
718
  int i;
747
719
  VALUE line;
@@ -754,125 +726,95 @@ ioc_print(int argc, VALUE *argv, VALUE out)
754
726
  }
755
727
  for (i=0; i<argc; i++) {
756
728
  if (!NIL_P(rb_output_fs) && i>0) {
757
- ioc_write_chars(out, rb_output_fs);
729
+ rg_write(out, rb_output_fs);
758
730
  }
759
731
  switch (TYPE(argv[i])) {
760
732
  case T_NIL:
761
- ioc_write_chars(out, rb_str_new2("nil"));
733
+ rg_write(out, rb_str_new2("nil"));
762
734
  break;
763
735
  default:
764
- ioc_write_chars(out, argv[i]);
736
+ rg_write(out, argv[i]);
765
737
  break;
766
738
  }
767
739
  }
768
740
  if (!NIL_P(rb_output_rs)) {
769
- ioc_write_chars(out, rb_output_rs);
741
+ rg_write(out, rb_output_rs);
770
742
  }
771
743
 
772
744
  return Qnil;
773
745
  }
774
746
 
775
-
776
747
  void
777
- Init_glib_io_channel()
748
+ Init_glib_io_channel(void)
778
749
  {
779
- VALUE io = G_DEF_CLASS(G_TYPE_IO_CHANNEL, "IOChannel", mGLib);
780
- VALUE ioc_error = G_DEF_ERROR2(G_IO_CHANNEL_ERROR, "IOChannelError", mGLib, rb_eIOError);
750
+ VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_IO_CHANNEL, "IOChannel", mGLib);
781
751
 
782
- rb_include_module(io, rb_mEnumerable);
752
+ rb_include_module(RG_TARGET_NAMESPACE, rb_mEnumerable);
783
753
 
784
754
  id_call = rb_intern("call");
785
755
  id_unpack = rb_intern("unpack");
786
756
 
787
-
788
- rb_define_method(io, "initialize", ioc_initialize, -1);
789
- rb_define_singleton_method(io, "open", ioc_s_open, -1);
790
- rb_define_method(io, "fileno", ioc_get_fd, 0); /* ref: IO#fileno */
791
- rb_define_alias(io, "to_i", "fileno"); /* ref: IO#to_i */
792
- rb_define_method(io, "read", ioc_read_chars, -1); /* ref: IO#read(count = nil) */
793
- rb_define_method(io, "readchar", ioc_read_unichar, 0); /* ref: IO#readchar but this return an UTF-8 char */
794
- rb_define_method(io, "getc", ioc_getuc, 0); /* ref: IO#getc but this return an UTF-8 char */
795
- rb_define_method(io, "readline", ioc_read_line, -1); /* ref: IO#readline(rs = nil) */
796
- rb_define_method(io, "gets", ioc_gets, -1); /* ref: IO#gets(rs = nil) */
797
- rb_define_method(io, "each", ioc_each_line, -1); /* ref: IO#each(rs = nil){|line|...} */
798
- rb_define_alias(io, "each_line", "each"); /* ref: IO#each_line(rs = nil){|line|...} */
799
- rb_define_method(io, "each_char", ioc_each_char, 0); /* ref: IO#each_byte{|line|...} */
800
- rb_define_method(io, "write", ioc_write_chars, 1); /* ref: IO#write(str) */
801
- rb_define_method(io, "printf", ioc_printf, -1); /* ref: IO#printf(...) */
802
- rb_define_method(io, "print", ioc_print, -1); /* ref: IO#print(...) */
803
- rb_define_method(io, "puts", ioc_puts, -1); /* ref: IO#puts(...) */
804
- rb_define_method(io, "putc", ioc_write_unichar, 1); /* ref: IO#putc(ch) but this accept an UTF-8 code */
805
- rb_define_method(io, "flush", ioc_flush, 0); /* ref: IO#flush */
806
- rb_define_method(io, "seek", ioc_seek, -1); /* ref: IO#seek */
807
- rb_define_method(io, "set_pos", ioc_seek_pos, 1); /* ref: IO#pos= */
808
- rb_define_method(io, "close", ioc_shutdown, -1); /* ref: IO#close */
809
- rb_define_method(io, "create_watch", ioc_create_watch, 1);
810
- rb_define_method(io, "add_watch", ioc_add_watch, 1);
811
- rb_define_method(io, "buffer_size", ioc_get_buffer_size, 0);
812
- rb_define_method(io, "set_buffer_size", ioc_set_buffer_size, 1);
813
- rb_define_method(io, "buffer_condition", ioc_get_buffer_condition, 0);
814
- rb_define_method(io, "flags", ioc_get_flags, 0);
815
- rb_define_method(io, "set_flags", ioc_set_flags, 1);
816
- rb_define_method(io, "buffered", ioc_get_buffered, 0);
817
- rb_define_method(io, "set_buffered", ioc_set_buffered, 1);
818
- rb_define_method(io, "encoding", ioc_get_encoding, 0);
819
- rb_define_method(io, "set_encoding", ioc_set_encoding, 1);
820
-
821
- G_DEF_SETTERS(io);
822
-
823
- #ifdef G_OS_WIN32
824
- {
825
- /* GIOWin32Channel */
826
- VALUE io_channel_win32_socket;
827
- io_channel_win32_socket =
828
- rb_define_class_under(mGLib,
829
- "IOChannelWin32Socket",
830
- io);
831
- rb_define_method(io_channel_win32_socket, "initialize",
832
- ioc_win32_socket_initialize, 1);
833
- }
834
- #endif
757
+ RG_DEF_METHOD(initialize, -1);
758
+ RG_DEF_SMETHOD(open, -1);
759
+ RG_DEF_METHOD(fileno, 0);
760
+ RG_DEF_ALIAS("to_i", "fileno");
761
+ RG_DEF_METHOD(read, -1);
762
+ RG_DEF_METHOD(readchar, 0);
763
+ RG_DEF_METHOD(getc, 0);
764
+ RG_DEF_METHOD(readline, -1);
765
+ RG_DEF_METHOD(gets, -1);
766
+ RG_DEF_METHOD(each, -1);
767
+ RG_DEF_ALIAS("each_line", "each");
768
+ RG_DEF_METHOD(each_char, 0);
769
+ RG_DEF_METHOD(write, 1);
770
+ RG_DEF_METHOD(printf, -1);
771
+ RG_DEF_METHOD(print, -1);
772
+ RG_DEF_METHOD(puts, -1);
773
+ RG_DEF_METHOD(putc, 1);
774
+ RG_DEF_METHOD(flush, 0);
775
+ RG_DEF_METHOD(seek, -1);
776
+ RG_DEF_METHOD(set_pos, 1);
777
+ RG_DEF_METHOD(close, -1);
778
+ RG_DEF_METHOD(create_watch, 1);
779
+ RG_DEF_METHOD(add_watch, 1);
780
+ RG_DEF_METHOD(buffer_size, 0);
781
+ RG_DEF_METHOD(set_buffer_size, 1);
782
+ RG_DEF_METHOD(buffer_condition, 0);
783
+ RG_DEF_METHOD(flags, 0);
784
+ RG_DEF_METHOD(set_flags, 1);
785
+ RG_DEF_METHOD(buffered, 0);
786
+ RG_DEF_METHOD(set_buffered, 1);
787
+ RG_DEF_METHOD(encoding, 0);
788
+ RG_DEF_METHOD(set_encoding, 1);
789
+
790
+ G_DEF_SETTERS(RG_TARGET_NAMESPACE);
835
791
 
836
792
  /* GSeekType */
837
- rb_define_const(io, "SEEK_CUR", INT2NUM(G_SEEK_CUR));
838
- rb_define_const(io, "SEEK_SET", INT2NUM(G_SEEK_SET));
839
- rb_define_const(io, "SEEK_END", INT2NUM(G_SEEK_END));
840
-
793
+ rb_define_const(RG_TARGET_NAMESPACE, "SEEK_CUR", INT2NUM(G_SEEK_CUR));
794
+ rb_define_const(RG_TARGET_NAMESPACE, "SEEK_SET", INT2NUM(G_SEEK_SET));
795
+ rb_define_const(RG_TARGET_NAMESPACE, "SEEK_END", INT2NUM(G_SEEK_END));
796
+
841
797
  /* GIOStatus */
842
- rb_define_const(io, "STATUS_ERROR", INT2NUM(G_IO_STATUS_ERROR));
843
- rb_define_const(io, "STATUS_NORMAL", INT2NUM(G_IO_STATUS_NORMAL));
844
- rb_define_const(io, "STATUS_EOF", INT2NUM(G_IO_STATUS_EOF));
845
- rb_define_const(io, "STATUS_AGAIN", INT2NUM(G_IO_STATUS_AGAIN));
798
+ rb_define_const(RG_TARGET_NAMESPACE, "STATUS_ERROR", INT2NUM(G_IO_STATUS_ERROR));
799
+ rb_define_const(RG_TARGET_NAMESPACE, "STATUS_NORMAL", INT2NUM(G_IO_STATUS_NORMAL));
800
+ rb_define_const(RG_TARGET_NAMESPACE, "STATUS_EOF", INT2NUM(G_IO_STATUS_EOF));
801
+ rb_define_const(RG_TARGET_NAMESPACE, "STATUS_AGAIN", INT2NUM(G_IO_STATUS_AGAIN));
846
802
 
847
803
  /* GIOCondition */
848
- rb_define_const(io, "IN", INT2NUM(G_IO_IN));
849
- rb_define_const(io, "OUT", INT2NUM(G_IO_OUT));
850
- rb_define_const(io, "PRI", INT2NUM(G_IO_PRI));
851
- rb_define_const(io, "ERR", INT2NUM(G_IO_ERR));
852
- rb_define_const(io, "HUP", INT2NUM(G_IO_HUP));
853
- rb_define_const(io, "NVAL", INT2NUM(G_IO_NVAL));
804
+ rb_define_const(RG_TARGET_NAMESPACE, "IN", INT2NUM(G_IO_IN));
805
+ rb_define_const(RG_TARGET_NAMESPACE, "OUT", INT2NUM(G_IO_OUT));
806
+ rb_define_const(RG_TARGET_NAMESPACE, "PRI", INT2NUM(G_IO_PRI));
807
+ rb_define_const(RG_TARGET_NAMESPACE, "ERR", INT2NUM(G_IO_ERR));
808
+ rb_define_const(RG_TARGET_NAMESPACE, "HUP", INT2NUM(G_IO_HUP));
809
+ rb_define_const(RG_TARGET_NAMESPACE, "NVAL", INT2NUM(G_IO_NVAL));
854
810
 
855
811
  /* GIOFlags */
856
- rb_define_const(io, "FLAG_APPEND", INT2NUM(G_IO_FLAG_APPEND));
857
- rb_define_const(io, "FLAG_NONBLOCK", INT2NUM(G_IO_FLAG_NONBLOCK));
858
- rb_define_const(io, "FLAG_READABLE", INT2NUM(G_IO_FLAG_IS_READABLE));
859
- rb_define_const(io, "FLAG_WRITEABLE", INT2NUM(G_IO_FLAG_IS_WRITEABLE));
860
- rb_define_const(io, "FLAG_IS_SEEKABLE", INT2NUM(G_IO_FLAG_IS_SEEKABLE));
861
- rb_define_const(io, "FLAG_MASK", INT2NUM(G_IO_FLAG_MASK));
862
- rb_define_const(io, "FLAG_GET_MASK", INT2NUM(G_IO_FLAG_GET_MASK));
863
- rb_define_const(io, "FLAG_SET_MASK", INT2NUM(G_IO_FLAG_SET_MASK));
864
-
865
- /* GIOChannelError */
866
- rb_define_singleton_method(ioc_error, "from_errno", ioc_error_s_from_errno, 1);
867
-
868
- rb_define_const(ioc_error, "FBIG", INT2NUM(G_IO_CHANNEL_ERROR_FBIG));
869
- rb_define_const(ioc_error, "INVAL", INT2NUM(G_IO_CHANNEL_ERROR_INVAL));
870
- rb_define_const(ioc_error, "IO", INT2NUM(G_IO_CHANNEL_ERROR_IO));
871
- rb_define_const(ioc_error, "ISDIR", INT2NUM(G_IO_CHANNEL_ERROR_ISDIR));
872
- rb_define_const(ioc_error, "NOSPC", INT2NUM(G_IO_CHANNEL_ERROR_NOSPC));
873
- rb_define_const(ioc_error, "NXIO", INT2NUM(G_IO_CHANNEL_ERROR_NXIO));
874
- rb_define_const(ioc_error, "OVERFLOW", INT2NUM(G_IO_CHANNEL_ERROR_OVERFLOW));
875
- rb_define_const(ioc_error, "PIPE", INT2NUM(G_IO_CHANNEL_ERROR_PIPE));
876
- rb_define_const(ioc_error, "FAILED", INT2NUM(G_IO_CHANNEL_ERROR_FAILED));
877
-
812
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_APPEND", INT2NUM(G_IO_FLAG_APPEND));
813
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_NONBLOCK", INT2NUM(G_IO_FLAG_NONBLOCK));
814
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_READABLE", INT2NUM(G_IO_FLAG_IS_READABLE));
815
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_WRITEABLE", INT2NUM(G_IO_FLAG_IS_WRITEABLE));
816
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_IS_SEEKABLE", INT2NUM(G_IO_FLAG_IS_SEEKABLE));
817
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_MASK", INT2NUM(G_IO_FLAG_MASK));
818
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_GET_MASK", INT2NUM(G_IO_FLAG_GET_MASK));
819
+ rb_define_const(RG_TARGET_NAMESPACE, "FLAG_SET_MASK", INT2NUM(G_IO_FLAG_SET_MASK));
878
820
  }