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
@@ -0,0 +1,56 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
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
+ */
21
+
22
+ #include "rbgprivate.h"
23
+
24
+ #ifdef G_OS_WIN32
25
+
26
+ #define RG_TARGET_NAMESPACE cIOChannelWin32Socket
27
+
28
+ static VALUE
29
+ rg_initialize(VALUE self, VALUE socket)
30
+ {
31
+ GIOChannel *io = NULL;
32
+ int fd;
33
+
34
+ rb_secure(4);
35
+ /* TODO: support IO object */
36
+ fd = NUM2INT(socket);
37
+ io = g_io_channel_win32_new_socket(rb_w32_get_osfhandle(fd));
38
+ G_INITIALIZE(self, io);
39
+
40
+ return Qnil;
41
+ }
42
+ #endif
43
+
44
+ void
45
+ Init_glib_io_channel_win32_socket(void)
46
+ {
47
+ #ifdef G_OS_WIN32
48
+ /* GIOWin32Channel */
49
+ VALUE RG_TARGET_NAMESPACE;
50
+ RG_TARGET_NAMESPACE =
51
+ rb_define_class_under(mGLib,
52
+ "IOChannelWin32Socket",
53
+ RG_TARGET_NAMESPACE);
54
+ RG_DEF_METHOD(initialize, 1);
55
+ #endif
56
+ }
@@ -0,0 +1,49 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
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
+ */
21
+
22
+ #include "rbgprivate.h"
23
+
24
+ #define RG_TARGET_NAMESPACE cIOChannelError
25
+
26
+ static VALUE
27
+ rg_s_from_errno(G_GNUC_UNUSED VALUE self, VALUE errno_)
28
+ {
29
+ return INT2NUM(g_io_channel_error_from_errno(NUM2INT(errno_)));
30
+ }
31
+
32
+ void
33
+ Init_glib_io_channelerror(void)
34
+ {
35
+ VALUE RG_TARGET_NAMESPACE = G_DEF_ERROR2(G_IO_CHANNEL_ERROR, "IOChannelError", mGLib, rb_eIOError);
36
+
37
+ /* GIOChannelError */
38
+ RG_DEF_SMETHOD(from_errno, 1);
39
+
40
+ rb_define_const(RG_TARGET_NAMESPACE, "FBIG", INT2NUM(G_IO_CHANNEL_ERROR_FBIG));
41
+ rb_define_const(RG_TARGET_NAMESPACE, "INVAL", INT2NUM(G_IO_CHANNEL_ERROR_INVAL));
42
+ rb_define_const(RG_TARGET_NAMESPACE, "IO", INT2NUM(G_IO_CHANNEL_ERROR_IO));
43
+ rb_define_const(RG_TARGET_NAMESPACE, "ISDIR", INT2NUM(G_IO_CHANNEL_ERROR_ISDIR));
44
+ rb_define_const(RG_TARGET_NAMESPACE, "NOSPC", INT2NUM(G_IO_CHANNEL_ERROR_NOSPC));
45
+ rb_define_const(RG_TARGET_NAMESPACE, "NXIO", INT2NUM(G_IO_CHANNEL_ERROR_NXIO));
46
+ rb_define_const(RG_TARGET_NAMESPACE, "OVERFLOW", INT2NUM(G_IO_CHANNEL_ERROR_OVERFLOW));
47
+ rb_define_const(RG_TARGET_NAMESPACE, "PIPE", INT2NUM(G_IO_CHANNEL_ERROR_PIPE));
48
+ rb_define_const(RG_TARGET_NAMESPACE, "FAILED", INT2NUM(G_IO_CHANNEL_ERROR_FAILED));
49
+ }
@@ -1,17 +1,28 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbglib_keyfile.c -
5
-
6
- $Author: sakai $
7
- $Date: 2007/06/16 02:46:28 $
8
-
9
- Copyright (C) 2006 Masao Mutoh
10
- ************************************************/
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2006 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
  #if GLIB_CHECK_VERSION(2,6,0)
25
+ #if !GLIB_CHECK_VERSION(2,31,2)
15
26
  /************************************************/
16
27
  static GKeyFile*
17
28
  keyfile_copy(const GKeyFile* keyfile)
@@ -26,7 +37,6 @@ keyfile_copy(const GKeyFile* keyfile)
26
37
  return (GKeyFile*)keyfile;
27
38
  }
28
39
 
29
-
30
40
  GType
31
41
  g_key_file_get_type(void)
32
42
  {
@@ -38,25 +48,27 @@ g_key_file_get_type(void)
38
48
  return our_type;
39
49
  }
40
50
  /************************************************/
51
+ #endif
41
52
 
53
+ #define RG_TARGET_NAMESPACE cKeyFile
42
54
  #define _SELF(self) ((GKeyFile*)(RVAL2BOXED(self, G_TYPE_KEY_FILE)))
43
55
 
44
56
  static VALUE
45
- keyfile_initialize(VALUE self)
57
+ rg_initialize(VALUE self)
46
58
  {
47
59
  G_INITIALIZE(self, g_key_file_new());
48
60
  return Qnil;
49
61
  }
50
62
 
51
63
  static VALUE
52
- keyfile_set_list_separator(VALUE self, VALUE sep)
64
+ rg_set_list_separator(VALUE self, VALUE sep)
53
65
  {
54
66
  g_key_file_set_list_separator(_SELF(self), NUM2INT(sep));
55
67
  return self;
56
68
  }
57
69
 
58
70
  static VALUE
59
- keyfile_load_from_file(int argc, VALUE *argv, VALUE self)
71
+ rg_load_from_file(int argc, VALUE *argv, VALUE self)
60
72
  {
61
73
  VALUE file, flags;
62
74
  GError* error = NULL;
@@ -79,7 +91,7 @@ keyfile_load_from_file(int argc, VALUE *argv, VALUE self)
79
91
  }
80
92
 
81
93
  static VALUE
82
- keyfile_load_from_data(int argc, VALUE *argv, VALUE self)
94
+ rg_load_from_data(int argc, VALUE *argv, VALUE self)
83
95
  {
84
96
  VALUE data, flags;
85
97
  GError* error = NULL;
@@ -104,7 +116,7 @@ keyfile_load_from_data(int argc, VALUE *argv, VALUE self)
104
116
  }
105
117
 
106
118
  static VALUE
107
- keyfile_load_from_data_dirs(int argc, VALUE *argv, VALUE self)
119
+ rg_load_from_data_dirs(int argc, VALUE *argv, VALUE self)
108
120
  {
109
121
  VALUE file, flags;
110
122
  GError* error = NULL;
@@ -131,7 +143,7 @@ keyfile_load_from_data_dirs(int argc, VALUE *argv, VALUE self)
131
143
 
132
144
  #if GLIB_CHECK_VERSION(2, 14, 0)
133
145
  static VALUE
134
- keyfile_load_from_dirs(int argc, VALUE *argv, VALUE self)
146
+ rg_load_from_dirs(int argc, VALUE *argv, VALUE self)
135
147
  {
136
148
  VALUE rb_file, rb_search_dirs, rb_flags;
137
149
  GError* error = NULL;
@@ -150,24 +162,24 @@ keyfile_load_from_dirs(int argc, VALUE *argv, VALUE self)
150
162
  flags = RVAL2GFLAGS(rb_flags, G_TYPE_KEY_FILE_FLAGS);
151
163
 
152
164
  if (search_dirs != NULL)
153
- success = g_key_file_load_from_dirs(_SELF(self), file,
154
- search_dirs,
155
- &full_path, flags, &error);
165
+ success = g_key_file_load_from_dirs(_SELF(self), file,
166
+ search_dirs,
167
+ &full_path, flags, &error);
156
168
  else
157
- success = g_key_file_load_from_data_dirs(_SELF(self), file,
158
- &full_path, flags, &error);
169
+ success = g_key_file_load_from_data_dirs(_SELF(self), file,
170
+ &full_path, flags, &error);
159
171
 
160
172
  g_free(search_dirs);
161
173
 
162
174
  if (!success)
163
- RAISE_GERROR(error);
175
+ RAISE_GERROR(error);
164
176
 
165
177
  return CSTR2RVAL(full_path);
166
178
  }
167
179
  #endif
168
180
 
169
181
  static VALUE
170
- keyfile_to_data(VALUE self)
182
+ rg_to_data(VALUE self)
171
183
  {
172
184
  GError* error = NULL;
173
185
  gchar* data = g_key_file_to_data(_SELF(self), NULL, &error);
@@ -178,19 +190,19 @@ keyfile_to_data(VALUE self)
178
190
  }
179
191
 
180
192
  static VALUE
181
- keyfile_get_start_group(VALUE self)
193
+ rg_start_group(VALUE self)
182
194
  {
183
195
  return CSTR2RVAL(g_key_file_get_start_group(_SELF(self)));
184
196
  }
185
197
 
186
198
  static VALUE
187
- keyfile_get_groups(VALUE self)
199
+ rg_groups(VALUE self)
188
200
  {
189
201
  return STRV2RVAL_FREE(g_key_file_get_groups(_SELF(self), NULL));
190
202
  }
191
203
 
192
204
  static VALUE
193
- keyfile_get_keys(VALUE self, VALUE group_name)
205
+ rg_get_keys(VALUE self, VALUE group_name)
194
206
  {
195
207
  GError *error = NULL;
196
208
  gchar **keys = g_key_file_get_keys(_SELF(self),
@@ -204,14 +216,14 @@ keyfile_get_keys(VALUE self, VALUE group_name)
204
216
  }
205
217
 
206
218
  static VALUE
207
- keyfile_has_group(VALUE self, VALUE group_name)
219
+ rg_has_group_p(VALUE self, VALUE group_name)
208
220
  {
209
221
  return CBOOL2RVAL(g_key_file_has_group(_SELF(self),
210
222
  (const gchar*)RVAL2CSTR(group_name)));
211
223
  }
212
224
 
213
225
  static VALUE
214
- keyfile_has_key(VALUE self, VALUE group_name, VALUE key)
226
+ rg_has_key_p(VALUE self, VALUE group_name, VALUE key)
215
227
  {
216
228
  GError* error = NULL;
217
229
  gboolean ret = g_key_file_has_key(_SELF(self),
@@ -225,7 +237,7 @@ keyfile_has_key(VALUE self, VALUE group_name, VALUE key)
225
237
  }
226
238
 
227
239
  static VALUE
228
- keyfile_get_value(VALUE self, VALUE group_name, VALUE key)
240
+ rg_get_value(VALUE self, VALUE group_name, VALUE key)
229
241
  {
230
242
  GError* error = NULL;
231
243
  gchar* ret = g_key_file_get_value(_SELF(self),
@@ -239,7 +251,7 @@ keyfile_get_value(VALUE self, VALUE group_name, VALUE key)
239
251
  }
240
252
 
241
253
  static VALUE
242
- keyfile_get_string(VALUE self, VALUE group_name, VALUE key)
254
+ rg_get_string(VALUE self, VALUE group_name, VALUE key)
243
255
  {
244
256
  GError* error = NULL;
245
257
  gchar* ret = g_key_file_get_string(_SELF(self),
@@ -253,7 +265,7 @@ keyfile_get_string(VALUE self, VALUE group_name, VALUE key)
253
265
  }
254
266
 
255
267
  static VALUE
256
- keyfile_get_locale_string(int argc, VALUE *argv, VALUE self)
268
+ rg_get_locale_string(int argc, VALUE *argv, VALUE self)
257
269
  {
258
270
  VALUE group_name, key, locale;
259
271
  GError* error = NULL;
@@ -264,7 +276,7 @@ keyfile_get_locale_string(int argc, VALUE *argv, VALUE self)
264
276
  ret = g_key_file_get_locale_string(_SELF(self),
265
277
  (const gchar*)RVAL2CSTR(group_name),
266
278
  (const gchar*)RVAL2CSTR(key),
267
- (const gchar*)(NIL_P(locale) ? NULL : RVAL2CSTR(locale)),
279
+ (const gchar*)RVAL2CSTR_ACCEPT_NIL(locale),
268
280
  &error);
269
281
 
270
282
  if (error) RAISE_GERROR(error);
@@ -273,7 +285,7 @@ keyfile_get_locale_string(int argc, VALUE *argv, VALUE self)
273
285
  }
274
286
 
275
287
  static VALUE
276
- keyfile_get_boolean(VALUE self, VALUE group_name, VALUE key)
288
+ rg_get_boolean(VALUE self, VALUE group_name, VALUE key)
277
289
  {
278
290
  GError* error = NULL;
279
291
  gboolean ret = g_key_file_get_boolean(_SELF(self),
@@ -287,7 +299,7 @@ keyfile_get_boolean(VALUE self, VALUE group_name, VALUE key)
287
299
  }
288
300
 
289
301
  static VALUE
290
- keyfile_get_integer(VALUE self, VALUE group_name, VALUE key)
302
+ rg_get_integer(VALUE self, VALUE group_name, VALUE key)
291
303
  {
292
304
  GError* error = NULL;
293
305
  gint ret = g_key_file_get_integer(_SELF(self),
@@ -302,7 +314,7 @@ keyfile_get_integer(VALUE self, VALUE group_name, VALUE key)
302
314
 
303
315
  #if GLIB_CHECK_VERSION(2,12,0)
304
316
  static VALUE
305
- keyfile_get_double(VALUE self, VALUE group_name, VALUE key)
317
+ rg_get_double(VALUE self, VALUE group_name, VALUE key)
306
318
  {
307
319
  GError* error = NULL;
308
320
  gdouble ret = g_key_file_get_double(_SELF(self),
@@ -317,7 +329,7 @@ keyfile_get_double(VALUE self, VALUE group_name, VALUE key)
317
329
  #endif
318
330
 
319
331
  static VALUE
320
- keyfile_get_string_list(VALUE self, VALUE group_name, VALUE key)
332
+ rg_get_string_list(VALUE self, VALUE group_name, VALUE key)
321
333
  {
322
334
  VALUE ary;
323
335
  gsize i;
@@ -340,7 +352,7 @@ keyfile_get_string_list(VALUE self, VALUE group_name, VALUE key)
340
352
  }
341
353
 
342
354
  static VALUE
343
- keyfile_get_locale_string_list(int argc, VALUE *argv, VALUE self)
355
+ rg_get_locale_string_list(int argc, VALUE *argv, VALUE self)
344
356
  {
345
357
  VALUE group_name, key, locale;
346
358
  GError* error = NULL;
@@ -354,7 +366,7 @@ keyfile_get_locale_string_list(int argc, VALUE *argv, VALUE self)
354
366
  ret = g_key_file_get_locale_string_list(_SELF(self),
355
367
  (const gchar*)RVAL2CSTR(group_name),
356
368
  (const gchar*)RVAL2CSTR(key),
357
- (const gchar*)(NIL_P(locale) ? NULL : RVAL2CSTR(locale)),
369
+ (const gchar*)RVAL2CSTR_ACCEPT_NIL(locale),
358
370
  &length, &error);
359
371
 
360
372
  if (error) RAISE_GERROR(error);
@@ -369,7 +381,7 @@ keyfile_get_locale_string_list(int argc, VALUE *argv, VALUE self)
369
381
  }
370
382
 
371
383
  static VALUE
372
- keyfile_get_boolean_list(VALUE self, VALUE group_name, VALUE key)
384
+ rg_get_boolean_list(VALUE self, VALUE group_name, VALUE key)
373
385
  {
374
386
  VALUE ary;
375
387
  gsize i;
@@ -390,7 +402,7 @@ keyfile_get_boolean_list(VALUE self, VALUE group_name, VALUE key)
390
402
  }
391
403
 
392
404
  static VALUE
393
- keyfile_get_integer_list(VALUE self, VALUE group_name, VALUE key)
405
+ rg_get_integer_list(VALUE self, VALUE group_name, VALUE key)
394
406
  {
395
407
  VALUE ary;
396
408
  gsize i;
@@ -412,7 +424,7 @@ keyfile_get_integer_list(VALUE self, VALUE group_name, VALUE key)
412
424
 
413
425
  #if GLIB_CHECK_VERSION(2,12,0)
414
426
  static VALUE
415
- keyfile_get_double_list(VALUE self, VALUE group_name, VALUE key)
427
+ rg_get_double_list(VALUE self, VALUE group_name, VALUE key)
416
428
  {
417
429
  VALUE ary;
418
430
  gsize i;
@@ -422,7 +434,7 @@ keyfile_get_double_list(VALUE self, VALUE group_name, VALUE key)
422
434
  (const gchar*)RVAL2CSTR(group_name),
423
435
  (const gchar*)RVAL2CSTR(key),
424
436
  &length, &error);
425
-
437
+
426
438
  if (error) RAISE_GERROR(error);
427
439
 
428
440
  ary = rb_ary_new();
@@ -434,21 +446,21 @@ keyfile_get_double_list(VALUE self, VALUE group_name, VALUE key)
434
446
  #endif
435
447
 
436
448
  static VALUE
437
- keyfile_get_comment(VALUE self, VALUE group_name, VALUE key)
449
+ rg_get_comment(VALUE self, VALUE group_name, VALUE key)
438
450
  {
439
451
  GError* error = NULL;
440
452
  gchar* ret = g_key_file_get_comment(_SELF(self),
441
453
  (const gchar*)RVAL2CSTR(group_name),
442
454
  (const gchar*)RVAL2CSTR(key),
443
455
  &error);
444
-
456
+
445
457
  if (error) RAISE_GERROR(error);
446
458
 
447
459
  return CSTR2RVAL_FREE(ret);
448
460
  }
449
461
 
450
462
  static VALUE
451
- keyfile_set_value(VALUE self, VALUE group_name, VALUE key, VALUE value)
463
+ rg_set_value(VALUE self, VALUE group_name, VALUE key, VALUE value)
452
464
  {
453
465
  g_key_file_set_value(_SELF(self), (const gchar*)RVAL2CSTR(group_name),
454
466
  (const gchar*)RVAL2CSTR(key),
@@ -457,7 +469,7 @@ keyfile_set_value(VALUE self, VALUE group_name, VALUE key, VALUE value)
457
469
  }
458
470
 
459
471
  static VALUE
460
- keyfile_set_string(VALUE self, VALUE group_name, VALUE key, VALUE string)
472
+ rg_set_string(VALUE self, VALUE group_name, VALUE key, VALUE string)
461
473
  {
462
474
  g_key_file_set_string(_SELF(self), (const gchar*)RVAL2CSTR(group_name),
463
475
  (const gchar*)RVAL2CSTR(key),
@@ -466,7 +478,7 @@ keyfile_set_string(VALUE self, VALUE group_name, VALUE key, VALUE string)
466
478
  }
467
479
 
468
480
  static VALUE
469
- keyfile_set_locale_string(VALUE self, VALUE group_name, VALUE key, VALUE locale, VALUE locale_string)
481
+ rg_set_locale_string(VALUE self, VALUE group_name, VALUE key, VALUE locale, VALUE locale_string)
470
482
  {
471
483
  g_key_file_set_locale_string(_SELF(self), (const gchar*)RVAL2CSTR(group_name),
472
484
  (const gchar*)RVAL2CSTR(key),
@@ -476,7 +488,7 @@ keyfile_set_locale_string(VALUE self, VALUE group_name, VALUE key, VALUE locale,
476
488
  }
477
489
 
478
490
  static VALUE
479
- keyfile_set_boolean(VALUE self, VALUE group_name, VALUE key, VALUE value)
491
+ rg_set_boolean(VALUE self, VALUE group_name, VALUE key, VALUE value)
480
492
  {
481
493
  g_key_file_set_boolean(_SELF(self), (const gchar*)RVAL2CSTR(group_name),
482
494
  (const gchar*)RVAL2CSTR(key),
@@ -485,7 +497,7 @@ keyfile_set_boolean(VALUE self, VALUE group_name, VALUE key, VALUE value)
485
497
  }
486
498
 
487
499
  static VALUE
488
- keyfile_set_integer(VALUE self, VALUE group_name, VALUE key, VALUE value)
500
+ rg_set_integer(VALUE self, VALUE group_name, VALUE key, VALUE value)
489
501
  {
490
502
  g_key_file_set_integer(_SELF(self), (const gchar*)RVAL2CSTR(group_name),
491
503
  (const gchar*)RVAL2CSTR(key),
@@ -495,7 +507,7 @@ keyfile_set_integer(VALUE self, VALUE group_name, VALUE key, VALUE value)
495
507
 
496
508
  #if GLIB_CHECK_VERSION(2,12,0)
497
509
  static VALUE
498
- keyfile_set_double(VALUE self, VALUE group_name, VALUE key, VALUE value)
510
+ rg_set_double(VALUE self, VALUE group_name, VALUE key, VALUE value)
499
511
  {
500
512
  g_key_file_set_double(_SELF(self), (const gchar*)RVAL2CSTR(group_name),
501
513
  (const gchar*)RVAL2CSTR(key),
@@ -505,16 +517,15 @@ keyfile_set_double(VALUE self, VALUE group_name, VALUE key, VALUE value)
505
517
  #endif
506
518
 
507
519
  static VALUE
508
- keyfile_set_string_list(VALUE self, VALUE group_name, VALUE key, VALUE rblist)
520
+ rg_set_string_list(VALUE self, VALUE rbgroup_name, VALUE rbkey, VALUE rblist)
509
521
  {
510
- VALUE ary = rb_ary_to_ary(rblist);
511
- const gchar **list = RVAL2STRV(ary);
522
+ GKeyFile *key_file = _SELF(self);
523
+ const gchar *group_name = RVAL2CSTR(rbgroup_name);
524
+ const gchar *key = RVAL2CSTR(rbkey);
525
+ long n;
526
+ const gchar **list = RVAL2STRS(rblist, n);
512
527
 
513
- g_key_file_set_string_list(_SELF(self),
514
- RVAL2CSTR(group_name),
515
- RVAL2CSTR(key),
516
- list,
517
- RARRAY_LEN(ary));
528
+ g_key_file_set_string_list(key_file, group_name, key, list, n);
518
529
 
519
530
  g_free(list);
520
531
 
@@ -522,17 +533,16 @@ keyfile_set_string_list(VALUE self, VALUE group_name, VALUE key, VALUE rblist)
522
533
  }
523
534
 
524
535
  static VALUE
525
- keyfile_set_locale_string_list(VALUE self, VALUE group_name, VALUE key, VALUE locale, VALUE rblist)
536
+ rg_set_locale_string_list(VALUE self, VALUE rbgroup_name, VALUE rbkey, VALUE rblocale, VALUE rblist)
526
537
  {
527
- VALUE ary = rb_ary_to_ary(rblist);
528
- const gchar **list = RVAL2STRV(ary);
538
+ GKeyFile *key_file = _SELF(self);
539
+ const gchar *group_name = RVAL2CSTR(rbgroup_name);
540
+ const gchar *key = RVAL2CSTR(rbkey);
541
+ const gchar *locale = RVAL2CSTR(rblocale);
542
+ long n;
543
+ const gchar **list = RVAL2STRS(rblist, n);
529
544
 
530
- g_key_file_set_locale_string_list(_SELF(self),
531
- RVAL2CSTR(group_name),
532
- RVAL2CSTR(key),
533
- RVAL2CSTR(locale),
534
- list,
535
- RARRAY_LEN(ary));
545
+ g_key_file_set_locale_string_list(key_file, group_name, key, locale, list, n);
536
546
 
537
547
  g_free(list);
538
548
 
@@ -540,75 +550,55 @@ keyfile_set_locale_string_list(VALUE self, VALUE group_name, VALUE key, VALUE lo
540
550
  }
541
551
 
542
552
  static VALUE
543
- keyfile_set_boolean_list(VALUE self, VALUE group_name, VALUE key, VALUE list)
553
+ rg_set_boolean_list(VALUE self, VALUE rbgroup_name, VALUE rbkey, VALUE rblist)
544
554
  {
545
- VALUE ary;
546
- long i, n;
547
- gboolean *booleans;
555
+ GKeyFile *key_file = _SELF(self);
556
+ const gchar *group_name = RVAL2CSTR(rbgroup_name);
557
+ const gchar *key = RVAL2CSTR(rbkey);
558
+ long n;
559
+ gboolean *list = RVAL2GBOOLEANS(rblist, n);
548
560
 
549
- ary = rb_ary_to_ary(list);
550
- n = RARRAY_LEN(ary);
551
- booleans = ALLOCA_N(gboolean, n);
552
- for (i = 0; i < n; i++)
553
- booleans[i] = RVAL2CBOOL(RARRAY_PTR(ary)[i]);
561
+ g_key_file_set_boolean_list(key_file, group_name, key, list, n);
554
562
 
555
- g_key_file_set_boolean_list(_SELF(self),
556
- RVAL2CSTR(group_name),
557
- RVAL2CSTR(key),
558
- booleans,
559
- n);
563
+ g_free(list);
560
564
 
561
565
  return self;
562
566
  }
563
567
 
564
568
  static VALUE
565
- keyfile_set_integer_list(VALUE self, VALUE group_name, VALUE key, VALUE list)
569
+ rg_set_integer_list(VALUE self, VALUE rbgroup_name, VALUE rbkey, VALUE rblist)
566
570
  {
567
- VALUE ary;
568
- long i, n;
569
- gint *ints;
571
+ GKeyFile *key_file = _SELF(self);
572
+ const gchar *group_name = RVAL2CSTR(rbgroup_name);
573
+ const gchar *key = RVAL2CSTR(rbkey);
574
+ long n;
575
+ gint *list = RVAL2GINTS(rblist, n);
570
576
 
571
- ary = rb_ary_to_ary(list);
572
- n = RARRAY_LEN(ary);
573
- ints = ALLOCA_N(gint, n);
574
- for (i = 0; i < n; i++)
575
- ints[i] = NUM2INT(RARRAY_PTR(ary)[i]);
577
+ g_key_file_set_integer_list(key_file, group_name, key, list, n);
576
578
 
577
- g_key_file_set_integer_list(_SELF(self),
578
- RVAL2CSTR(group_name),
579
- RVAL2CSTR(key),
580
- ints,
581
- n);
579
+ g_free(list);
582
580
 
583
581
  return self;
584
582
  }
585
583
 
586
584
  #if GLIB_CHECK_VERSION(2,12,0)
587
585
  static VALUE
588
- keyfile_set_double_list(VALUE self, VALUE group_name, VALUE key, VALUE list)
586
+ rg_set_double_list(VALUE self, VALUE rbgroup_name, VALUE rbkey, VALUE rblist)
589
587
  {
590
- VALUE ary;
591
- long i, n;
592
- gdouble *doubles;
593
-
594
- ary = rb_ary_to_ary(list);
595
- n = RARRAY_LEN(ary);
596
- doubles = ALLOCA_N(gdouble, n);
597
- for (i = 0; i < n; i++)
598
- doubles[i] = NUM2DBL(RARRAY_PTR(ary)[i]);
599
-
600
- g_key_file_set_double_list(_SELF(self),
601
- RVAL2CSTR(group_name),
602
- RVAL2CSTR(key),
603
- doubles,
604
- n);
588
+ GKeyFile *key_file = _SELF(self);
589
+ const gchar *group_name = RVAL2CSTR(rbgroup_name);
590
+ const gchar *key = RVAL2CSTR(rbkey);
591
+ long n;
592
+ gdouble *list = RVAL2GDOUBLES(rblist, n);
593
+
594
+ g_key_file_set_double_list(key_file, group_name, key, list, n);
605
595
 
606
596
  return self;
607
597
  }
608
598
  #endif
609
599
 
610
600
  static VALUE
611
- keyfile_set_comment(VALUE self, VALUE group_name, VALUE key, VALUE comment)
601
+ rg_set_comment(VALUE self, VALUE group_name, VALUE key, VALUE comment)
612
602
  {
613
603
  GError* error = NULL;
614
604
 
@@ -624,7 +614,7 @@ keyfile_set_comment(VALUE self, VALUE group_name, VALUE key, VALUE comment)
624
614
  }
625
615
 
626
616
  static VALUE
627
- keyfile_remove_group(VALUE self, VALUE group_name)
617
+ rg_remove_group(VALUE self, VALUE group_name)
628
618
  {
629
619
  GError* error = NULL;
630
620
 
@@ -637,7 +627,7 @@ keyfile_remove_group(VALUE self, VALUE group_name)
637
627
  }
638
628
 
639
629
  static VALUE
640
- keyfile_remove_key(VALUE self, VALUE group_name, VALUE key)
630
+ rg_remove_key(VALUE self, VALUE group_name, VALUE key)
641
631
  {
642
632
  GError* error = NULL;
643
633
 
@@ -652,9 +642,8 @@ keyfile_remove_key(VALUE self, VALUE group_name, VALUE key)
652
642
  return self;
653
643
  }
654
644
 
655
-
656
645
  static VALUE
657
- keyfile_remove_comment(VALUE self, VALUE group_name, VALUE key)
646
+ rg_remove_comment(VALUE self, VALUE group_name, VALUE key)
658
647
  {
659
648
  GError* error = NULL;
660
649
 
@@ -671,115 +660,115 @@ keyfile_remove_comment(VALUE self, VALUE group_name, VALUE key)
671
660
  #endif
672
661
 
673
662
  void
674
- Init_glib_keyfile()
663
+ Init_glib_keyfile(void)
675
664
  {
676
665
  #if GLIB_CHECK_VERSION(2,6,0)
677
- VALUE kf = G_DEF_CLASS(G_TYPE_KEY_FILE, "KeyFile", mGLib);
666
+ VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_KEY_FILE, "KeyFile", mGLib);
678
667
  G_DEF_ERROR(G_KEY_FILE_ERROR, "KeyFileError", mGLib,
679
668
  rb_eRuntimeError, G_TYPE_KEY_FILE_ERROR);
680
669
 
681
- rb_define_method(kf, "initialize", keyfile_initialize, 0);
682
- rb_define_method(kf, "set_list_separator", keyfile_set_list_separator, 1);
683
- rb_define_method(kf, "load_from_file", keyfile_load_from_file, -1);
684
- rb_define_method(kf, "load_from_data", keyfile_load_from_data, -1);
685
- rb_define_method(kf, "load_from_data_dirs", keyfile_load_from_data_dirs, -1);
670
+ RG_DEF_METHOD(initialize, 0);
671
+ RG_DEF_METHOD(set_list_separator, 1);
672
+ RG_DEF_METHOD(load_from_file, -1);
673
+ RG_DEF_METHOD(load_from_data, -1);
674
+ RG_DEF_METHOD(load_from_data_dirs, -1);
686
675
  #if GLIB_CHECK_VERSION(2, 14, 0)
687
- rb_define_method(kf, "load_from_dirs", keyfile_load_from_dirs, -1);
676
+ RG_DEF_METHOD(load_from_dirs, -1);
688
677
  #endif
689
- rb_define_method(kf, "to_data", keyfile_to_data, 0);
690
- rb_define_method(kf, "start_group", keyfile_get_start_group, 0);
691
- rb_define_method(kf, "groups", keyfile_get_groups, 0);
692
- rb_define_method(kf, "get_keys", keyfile_get_keys, 1);
693
- rb_define_method(kf, "has_group?", keyfile_has_group, 1);
694
- rb_define_method(kf, "has_key?", keyfile_has_key, 2);
695
- rb_define_method(kf, "get_value", keyfile_get_value, 2);
696
- rb_define_method(kf, "get_string", keyfile_get_string, 2);
697
- rb_define_method(kf, "get_locale_string", keyfile_get_locale_string, -1);
698
- rb_define_method(kf, "get_boolean", keyfile_get_boolean, 2);
699
- rb_define_method(kf, "get_integer", keyfile_get_integer, 2);
678
+ RG_DEF_METHOD(to_data, 0);
679
+ RG_DEF_METHOD(start_group, 0);
680
+ RG_DEF_METHOD(groups, 0);
681
+ RG_DEF_METHOD(get_keys, 1);
682
+ RG_DEF_METHOD_P(has_group, 1);
683
+ RG_DEF_METHOD_P(has_key, 2);
684
+ RG_DEF_METHOD(get_value, 2);
685
+ RG_DEF_METHOD(get_string, 2);
686
+ RG_DEF_METHOD(get_locale_string, -1);
687
+ RG_DEF_METHOD(get_boolean, 2);
688
+ RG_DEF_METHOD(get_integer, 2);
700
689
  #if GLIB_CHECK_VERSION(2,12,0)
701
- rb_define_method(kf, "get_double", keyfile_get_double, 2);
690
+ RG_DEF_METHOD(get_double, 2);
702
691
  #endif
703
- rb_define_method(kf, "get_string_list", keyfile_get_string_list, 2);
704
- rb_define_method(kf, "get_locale_string_list", keyfile_get_locale_string_list, -1);
705
- rb_define_method(kf, "get_boolean_list", keyfile_get_boolean_list, 2);
706
- rb_define_method(kf, "get_integer_list", keyfile_get_integer_list, 2);
692
+ RG_DEF_METHOD(get_string_list, 2);
693
+ RG_DEF_METHOD(get_locale_string_list, -1);
694
+ RG_DEF_METHOD(get_boolean_list, 2);
695
+ RG_DEF_METHOD(get_integer_list, 2);
707
696
  #if GLIB_CHECK_VERSION(2,12,0)
708
- rb_define_method(kf, "get_double_list", keyfile_get_double_list, 2);
697
+ RG_DEF_METHOD(get_double_list, 2);
709
698
  #endif
710
- rb_define_method(kf, "get_comment", keyfile_get_comment, 2);
711
- rb_define_method(kf, "set_value", keyfile_set_value, 3);
712
- rb_define_method(kf, "set_string", keyfile_set_string, 3);
713
- rb_define_method(kf, "set_locale_string", keyfile_set_locale_string, 4);
714
- rb_define_method(kf, "set_boolean", keyfile_set_boolean, 3);
715
- rb_define_method(kf, "set_integer", keyfile_set_integer, 3);
699
+ RG_DEF_METHOD(get_comment, 2);
700
+ RG_DEF_METHOD(set_value, 3);
701
+ RG_DEF_METHOD(set_string, 3);
702
+ RG_DEF_METHOD(set_locale_string, 4);
703
+ RG_DEF_METHOD(set_boolean, 3);
704
+ RG_DEF_METHOD(set_integer, 3);
716
705
  #if GLIB_CHECK_VERSION(2,12,0)
717
- rb_define_method(kf, "set_double", keyfile_set_double, 3);
706
+ RG_DEF_METHOD(set_double, 3);
718
707
  #endif
719
- rb_define_method(kf, "set_string_list", keyfile_set_string_list, 3);
720
- rb_define_method(kf, "set_locale_string_list", keyfile_set_locale_string_list, 4);
721
- rb_define_method(kf, "set_boolean_list", keyfile_set_boolean_list, 3);
722
- rb_define_method(kf, "set_integer_list", keyfile_set_integer_list, 3);
708
+ RG_DEF_METHOD(set_string_list, 3);
709
+ RG_DEF_METHOD(set_locale_string_list, 4);
710
+ RG_DEF_METHOD(set_boolean_list, 3);
711
+ RG_DEF_METHOD(set_integer_list, 3);
723
712
  #if GLIB_CHECK_VERSION(2,12,0)
724
- rb_define_method(kf, "set_double_list", keyfile_set_double_list, 3);
713
+ RG_DEF_METHOD(set_double_list, 3);
725
714
  #endif
726
- rb_define_method(kf, "set_comment", keyfile_set_comment, 3);
727
- rb_define_method(kf, "remove_group", keyfile_remove_group, 1);
728
- rb_define_method(kf, "remove_key", keyfile_remove_key, 2);
729
- rb_define_method(kf, "remove_comment", keyfile_remove_comment, 2);
715
+ RG_DEF_METHOD(set_comment, 3);
716
+ RG_DEF_METHOD(remove_group, 1);
717
+ RG_DEF_METHOD(remove_key, 2);
718
+ RG_DEF_METHOD(remove_comment, 2);
730
719
 
731
720
  /* GKeyFileFlags */
732
- G_DEF_CLASS(G_TYPE_KEY_FILE_FLAGS, "Flags", kf);
733
- G_DEF_CONSTANTS(kf, G_TYPE_KEY_FILE_FLAGS, "G_KEY_FILE_");
721
+ G_DEF_CLASS(G_TYPE_KEY_FILE_FLAGS, "Flags", RG_TARGET_NAMESPACE);
722
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, G_TYPE_KEY_FILE_FLAGS, "G_KEY_FILE_");
734
723
 
735
724
  #if GLIB_CHECK_VERSION(2, 14, 0)
736
725
  /* Defines for handling freedesktop.org Desktop files */
737
- rb_define_const(kf, "DESKTOP_GROUP", CSTR2RVAL(G_KEY_FILE_DESKTOP_GROUP));
726
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_GROUP", CSTR2RVAL(G_KEY_FILE_DESKTOP_GROUP));
738
727
 
739
- rb_define_const(kf, "DESKTOP_KEY_TYPE",
728
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_TYPE",
740
729
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_TYPE));
741
- rb_define_const(kf, "DESKTOP_KEY_VERSION",
730
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_VERSION",
742
731
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_VERSION));
743
- rb_define_const(kf, "DESKTOP_KEY_NAME",
732
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_NAME",
744
733
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_NAME));
745
- rb_define_const(kf, "DESKTOP_KEY_GENERIC_NAME",
734
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_GENERIC_NAME",
746
735
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME));
747
- rb_define_const(kf, "DESKTOP_KEY_NO_DISPLAY",
736
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_NO_DISPLAY",
748
737
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY));
749
- rb_define_const(kf, "DESKTOP_KEY_COMMENT",
738
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_COMMENT",
750
739
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_COMMENT));
751
- rb_define_const(kf, "DESKTOP_KEY_ICON",
740
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_ICON",
752
741
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_ICON));
753
- rb_define_const(kf, "DESKTOP_KEY_HIDDEN",
742
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_HIDDEN",
754
743
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_HIDDEN));
755
- rb_define_const(kf, "DESKTOP_KEY_ONLY_SHOW_IN",
744
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_ONLY_SHOW_IN",
756
745
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN));
757
- rb_define_const(kf, "DESKTOP_KEY_NOT_SHOW_IN",
746
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_NOT_SHOW_IN",
758
747
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN));
759
- rb_define_const(kf, "DESKTOP_KEY_TRY_EXEC",
748
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_TRY_EXEC",
760
749
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_TRY_EXEC));
761
- rb_define_const(kf, "DESKTOP_KEY_EXEC",
750
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_EXEC",
762
751
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_EXEC));
763
- rb_define_const(kf, "DESKTOP_KEY_PATH",
752
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_PATH",
764
753
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_PATH));
765
- rb_define_const(kf, "DESKTOP_KEY_TERMINAL",
754
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_TERMINAL",
766
755
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_TERMINAL));
767
- rb_define_const(kf, "DESKTOP_KEY_MIME_TYPE",
756
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_MIME_TYPE",
768
757
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_MIME_TYPE));
769
- rb_define_const(kf, "DESKTOP_KEY_CATEGORIES",
758
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_CATEGORIES",
770
759
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_CATEGORIES));
771
- rb_define_const(kf, "DESKTOP_KEY_STARTUP_NOTIFY",
760
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_STARTUP_NOTIFY",
772
761
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY));
773
- rb_define_const(kf, "DESKTOP_KEY_STARTUP_WM_CLASS",
762
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_STARTUP_WM_CLASS",
774
763
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS));
775
- rb_define_const(kf, "DESKTOP_KEY_URL",
764
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_KEY_URL",
776
765
  CSTR2RVAL(G_KEY_FILE_DESKTOP_KEY_URL));
777
766
 
778
- rb_define_const(kf, "DESKTOP_TYPE_APPLICATION",
767
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_TYPE_APPLICATION",
779
768
  CSTR2RVAL(G_KEY_FILE_DESKTOP_TYPE_APPLICATION));
780
- rb_define_const(kf, "DESKTOP_TYPE_LINK",
769
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_TYPE_LINK",
781
770
  CSTR2RVAL(G_KEY_FILE_DESKTOP_TYPE_LINK));
782
- rb_define_const(kf, "DESKTOP_TYPE_DIRECTORY",
771
+ rb_define_const(RG_TARGET_NAMESPACE, "DESKTOP_TYPE_DIRECTORY",
783
772
  CSTR2RVAL(G_KEY_FILE_DESKTOP_TYPE_DIRECTORY));
784
773
  #endif
785
774
  #endif