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
data/ext/glib2/rbglib.h CHANGED
@@ -1,19 +1,31 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /**********************************************************************
3
-
4
- rbglib.h -
5
-
6
- $Author: sakai $
7
- $Date: 2007/07/04 13:13:20 $
8
-
9
- Copyright (C) 2002-2005 Ruby-GNOME2 Project
10
- Copyright (C) 2002,2003 Masahiro Sakai
11
-
12
- **********************************************************************/
2
+ /*
3
+ * Copyright (C) 2011-2012 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2002-2005 Ruby-GNOME2 Project
5
+ * Copyright (C) 2002,2003 Masahiro Sakai
6
+ *
7
+ * This library is free software; you can redistribute it and/or
8
+ * modify it under the terms of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation; either
10
+ * version 2.1 of the License, or (at your option) any later version.
11
+ *
12
+ * This library is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public
18
+ * License along with this library; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
+ * MA 02110-1301 USA
21
+ */
13
22
 
14
23
  #include <glib.h>
15
24
  #include "ruby.h"
16
25
 
26
+ #include "rbglibdeprecated.h"
27
+ #include "rbglib2conversions.h"
28
+
17
29
  #ifndef __RBGLIB_H__
18
30
  #define __RBGLIB_H__
19
31
 
@@ -22,8 +34,8 @@ extern "C" {
22
34
  #endif /* __cplusplus */
23
35
 
24
36
  #define RBGLIB_MAJOR_VERSION 1
25
- #define RBGLIB_MINOR_VERSION 0
26
- #define RBGLIB_MICRO_VERSION 3
37
+ #define RBGLIB_MINOR_VERSION 1
38
+ #define RBGLIB_MICRO_VERSION 0
27
39
 
28
40
  #ifndef RSTRING_PTR
29
41
  # define RSTRING_PTR(s) (RSTRING(s)->ptr)
@@ -45,29 +57,56 @@ typedef int GPid;
45
57
 
46
58
  #define RBG_INSPECT(object) (rbg_rval_inspect(object))
47
59
 
48
- #define RVAL2CSTR(v) (rbg_rval2cstr(&v))
49
- #define RVAL2CSTR_ACCEPT_NIL(v) (rbg_rval2cstr_accept_nil(&v))
60
+ #define RVAL2CSTR(v) (rbg_rval2cstr(&(v)))
61
+ #define RVAL2CSTR_ACCEPT_NIL(v) (rbg_rval2cstr_accept_nil(&(v)))
50
62
  #define RVAL2CSTR2(v) (RVAL2CSTR_ACCEPT_NIL(v))
63
+ #define RVAL2CSTR_ACCEPT_SYMBOL(v) (rbg_rval2cstr_accept_symbol(&(v)))
64
+ #define RVAL2CSTR_ACCEPT_SYMBOL_ACCEPT_NIL(v) (rbg_rval2cstr_accept_symbol_accept_nil(&(v)))
65
+ #define RVAL2GLIBID(v, buf) (rbg_rval2glibid(&(v), &(buf), FALSE))
66
+ #define RVAL2GLIBID_ACCEPT_NIL(v, buf) (rbg_rval2glibid(&(v), &(buf), TRUE))
51
67
  #define CSTR2RVAL(s) (rbg_cstr2rval(s))
52
68
  #define CSTR2RVAL_LEN(s, l) (rbg_cstr2rval_len(s, l))
69
+ #define CSTR2RVAL_LEN_FREE(s, l) (rbg_cstr2rval_len_free(s, l))
53
70
  #define CSTR2RVAL_ENC(s, e) (rbg_cstr2rval_with_encoding(s, e))
54
71
  #define CSTR2RVAL_LEN_ENC(s, l, e) (rbg_cstr2rval_len_with_encoding(s, l, e))
55
72
  #define CSTR2RVAL_FREE(s) (rbg_cstr2rval_free(s))
56
73
  #define CSTR2RVAL2(s) (CSTR2RVAL_FREE(s))
57
74
 
75
+ #if G_BYTE_ORDER == G_LITTLE_ENDIAN
76
+ # define CSTR2RVAL_LEN_UCS4(s, l) (CSTR2RVAL_LEN_ENC(s, l, "UTF-32LE"))
77
+ # define CSTR2RVAL_LEN_UTF16(s, l) (CSTR2RVAL_LEN_ENC(s, l, "UTF-16LE"))
78
+ #else
79
+ # define CSTR2RVAL_LEN_UCS4(s, l) (CSTR2RVAL_LEN_ENC(s, l, "UTF-32BE"))
80
+ # define CSTR2RVAL_LEN_UTF16(s, l) (CSTR2RVAL_LEN_ENC(s, l, "UTF-16BE"))
81
+ #endif
82
+
58
83
  #define RVAL2CSTRFILENAME(v) (rbg_filename_from_ruby(v))
59
84
  #define CSTRFILENAME2RVAL(s) (rbg_filename_to_ruby(s))
60
85
  #define CSTRFILENAME2RVAL_FREE(s) (rbg_filename_to_ruby_free(s))
61
- #define CSTRFILENAMEARRAY2RVAL_FREE(s) (rbg_filename_gslist_to_array_free(s))
62
86
 
63
- #define RVAL2STRV(ary) rbg_rval2strv(ary)
64
- #define RVAL2STRV_ACCEPT_NIL(ary) rbg_rval2strv_accept_nil(ary)
65
- #define RVAL2STRV_DUP(ary) rbg_rval2strv_dup(ary)
66
- #define RVAL2STRV_DUP_ACCEPT_NIL(ary) rbg_rval2strv_dup_accept_nil(ary)
87
+ #define RVAL2STRS(ary, n) rbg_rval2strv(&(ary), &(n))
88
+ #define RVAL2STRS_ACCEPT_NIL(ary, n) rbg_rval2strv_accept_nil(&(ary), &(n))
89
+ #define RVAL2STRV(ary) rbg_rval2strv(&(ary), NULL)
90
+ #define RVAL2STRV_ACCEPT_NIL(ary) rbg_rval2strv_accept_nil(&(ary), NULL)
91
+ #define RVAL2STRS_DUP(ary, n) rbg_rval2strv_dup(&(ary), &(n))
92
+ #define RVAL2STRS_DUP_ACCEPT_NIL(ary, n) rbg_rval2strv_dup_accept_nil(&(ary), &(n))
93
+ #define RVAL2STRV_DUP(ary) rbg_rval2strv_dup(&(ary), NULL)
94
+ #define RVAL2STRV_DUP_ACCEPT_NIL(ary) rbg_rval2strv_dup_accept_nil(&(ary), NULL)
67
95
 
68
96
  #define STRV2RVAL(strings) rbg_strv2rval(strings)
69
97
  #define STRV2RVAL_FREE(strings) rbg_strv2rval_free(strings)
70
98
 
99
+ #define RVAL2GBOOLEANS(ary, n) rbg_rval2gbooleans(&(ary), &(n))
100
+ #define RVAL2GINTS(ary, n) rbg_rval2gints(&(ary), &(n))
101
+ #define RVAL2GINT8S(ary, n) rbg_rval2gint8s(&(ary), &(n))
102
+ #define RVAL2GUINT8S(ary, n) rbg_rval2guint8s(&(ary), &(n))
103
+ #define RVAL2GUINT16S(ary, n) rbg_rval2guint16s(&(ary), &(n))
104
+ #define RVAL2GUINT32S(ary, n) rbg_rval2guint32s(&(ary), &(n))
105
+ #define RVAL2GDOUBLES(ary, n) rbg_rval2gdoubles(&(ary), &(n))
106
+
107
+ #define GINTS2RVAL(ary, n) rbg_gints2rval(ary, n)
108
+ #define GINTS2RVAL_FREE(ary, n) rbg_gints2rval(ary, n)
109
+
71
110
  #define CBOOL2RVAL(b) ((b) ? Qtrue : Qfalse)
72
111
  #define RVAL2CBOOL(b) (RTEST(b))
73
112
  #define GERROR2RVAL(error) (rbgerr_gerror2exception(error))
@@ -94,8 +133,13 @@ extern const gchar *rbg_rval_inspect(VALUE object);
94
133
  extern gchar* rbg_string_value_ptr(volatile VALUE* ptr); /* no longer used */
95
134
  extern const gchar *rbg_rval2cstr(VALUE *str);
96
135
  extern const gchar *rbg_rval2cstr_accept_nil(VALUE *str);
136
+ extern const gchar *rbg_rval2cstr_accept_symbol(volatile VALUE *value);
137
+ extern const gchar *rbg_rval2cstr_accept_symbol_accept_nil(volatile VALUE *value);
138
+ extern const gchar *rbg_rval2glibid(volatile VALUE *value, volatile VALUE *buf, gboolean accept_nil);
139
+
97
140
  extern VALUE rbg_cstr2rval(const gchar* str);
98
141
  extern VALUE rbg_cstr2rval_len(const gchar* str, gsize len);
142
+ extern VALUE rbg_cstr2rval_len_free(gchar *str, gsize len);
99
143
  extern VALUE rbg_cstr2rval_with_encoding(const gchar* str,
100
144
  const gchar *encoding);
101
145
  extern VALUE rbg_cstr2rval_len_with_encoding(const gchar* str, gsize len,
@@ -107,16 +151,27 @@ extern VALUE rbg_cstr2rval_with_free(gchar *str);
107
151
  VALUE rbg_filename_to_ruby(const gchar *filename);
108
152
  extern VALUE rbg_filename_to_ruby_free(gchar *filename);
109
153
  extern gchar *rbg_filename_from_ruby(VALUE filename);
110
- extern VALUE rbg_filename_gslist_to_array_free(GSList *list);
111
154
 
112
- const gchar **rbg_rval2strv(VALUE ary);
113
- const gchar **rbg_rval2strv_accept_nil(VALUE ary);
114
- gchar **rbg_rval2strv_dup(VALUE ary);
115
- gchar **rbg_rval2strv_dup_accept_nil(VALUE ary);
116
- const gchar **rbg_rval2argv(VALUE ary);
155
+ const gchar **rbg_rval2strv(volatile VALUE *value, long *n);
156
+ const gchar **rbg_rval2strv_accept_nil(volatile VALUE *value, long *n);
157
+ gchar **rbg_rval2strv_dup(volatile VALUE *value, long *n);
158
+ gchar **rbg_rval2strv_dup_accept_nil(volatile VALUE *value, long *n);
117
159
  VALUE rbg_strv2rval(const gchar **strings);
118
160
  VALUE rbg_strv2rval_free(gchar **strings);
119
161
 
162
+ gboolean *rbg_rval2gbooleans(volatile VALUE *value, long *n);
163
+ gint *rbg_rval2gints(volatile VALUE *value, long *n);
164
+ gint8 *rbg_rval2gint8s(volatile VALUE *value, long *n);
165
+ guint8 *rbg_rval2guint8s(volatile VALUE *value, long *n);
166
+ guint16 *rbg_rval2guint16s(volatile VALUE *value, long *n);
167
+ guint32 *rbg_rval2guint32s(volatile VALUE *value, long *n);
168
+ gdouble *rbg_rval2gdoubles(volatile VALUE *value, long *n);
169
+
170
+ VALUE rbg_gints2rval(const gint *gints, long n);
171
+ VALUE rbg_gints2rval_free(gint *gints, long n);
172
+
173
+ extern void rbg_scan_options(VALUE options, ...);
174
+
120
175
  /* rbgerror.h */
121
176
  extern VALUE rbgerr_gerror2exception(GError *error);
122
177
  extern VALUE rbgerr_define_gerror(GQuark domain, const gchar* name, VALUE module, VALUE parent, VALUE gtype);
@@ -0,0 +1,57 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
+ * MA 02110-1301 USA
19
+ */
20
+
21
+ #ifndef __GLIB2CONVERSIONS_H__
22
+ #define __GLIB2CONVERSIONS_H__
23
+
24
+ #define RVAL2GPARAMSPEC(o) (G_PARAM_SPEC(RVAL2GOBJ(o)))
25
+
26
+ #define RVAL2GCLOSURE(o) ((GClosure*)RVAL2BOXED(o, G_TYPE_CLOSURE))
27
+ #define GCLOSURE2RVAL(o) (BOXED2RVAL(o, G_TYPE_CLOSURE))
28
+ #define RVAL2GCOMPLETION(o) ((GCompletion*)RVAL2BOXED(o, G_TYPE_COMPLETION))
29
+ #define GCOMPLETION2RVAL(o) (BOXED2RVAL(o, G_TYPE_COMPLETION))
30
+ #define RVAL2GIOCHANNEL(o) ((GIOChannel*)RVAL2BOXED(o, G_TYPE_IO_CHANNEL))
31
+ #define GIOCHANNEL2RVAL(o) (BOXED2RVAL(o, G_TYPE_IO_CHANNEL))
32
+ #define RVAL2GKEYFILE(o) ((GKeyFile*)RVAL2BOXED(o, G_TYPE_KEY_FILE))
33
+ #define GKEYFILE2RVAL(o) (BOXED2RVAL(o, G_TYPE_KEY_FILE))
34
+ #define RVAL2GMAINCONTEXT(o) ((GMainContext*)RVAL2BOXED(o, G_TYPE_MAIN_CONTEXT))
35
+ #define GMAINCONTEXT2RVAL(o) (BOXED2RVAL(o, G_TYPE_MAIN_CONTEXT))
36
+ #define RVAL2GMAINLOOP(o) ((GMainLoop*)RVAL2BOXED(o, G_TYPE_MAIN_LOOP))
37
+ #define GMAINLOOP2RVAL(o) (BOXED2RVAL(o, G_TYPE_MAIN_LOOP))
38
+ #define RVAL2GPOLLFD(o) ((GPollFD*)RVAL2BOXED(o, G_TYPE_POLL_FD))
39
+ #define GPOLLFD2RVAL(o) (BOXED2RVAL(o, G_TYPE_POLL_FD))
40
+ #define RVAL2GSOURCE(o) ((GSource*)RVAL2BOXED(o, G_TYPE_SOURCE))
41
+ #define GSOURCE2RVAL(o) (BOXED2RVAL(o, G_TYPE_SOURCE))
42
+ #define RVAL2GTIMER(o) ((GTimer*)RVAL2BOXED(o, G_TYPE_TIMER))
43
+ #define GTIMER2RVAL(o) (BOXED2RVAL(o, G_TYPE_TIMER))
44
+ #define RVAL2GVALUE(o) ((GValue*)RVAL2BOXED(o, G_TYPE_VALUE))
45
+ #define GVALUE2RVAL(o) (BOXED2RVAL(o, G_TYPE_VALUE))
46
+
47
+ #define RVAL2GIOCONDITION(o) (RVAL2GENUM(o, G_TYPE_IO_CONDITION))
48
+ #define GIOCONDITION2RVAL(o) (GENUM2RVAL(o, G_TYPE_IO_CONDITION))
49
+ #define RVAL2GNORMALIZEMODE(o) (RVAL2GENUM(o, G_TYPE_NORMALIZE_MODE))
50
+ #define GNORMALIZEMODE2RVAL(o) (GENUM2RVAL(o, G_TYPE_NORMALIZE_MODE))
51
+
52
+ #define RVAL2GCONNECTFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_CONNECT_FLAGS))
53
+ #define GCONNECTFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_CONNECT_FLAGS))
54
+ #define RVAL2GKEYFILEFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_KEY_FILE_FLAGS))
55
+ #define GKEYFILEFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_KEY_FILE_FLAGS))
56
+
57
+ #endif /* __GLIB2CONVERSIONS_H__ */
@@ -1,13 +1,23 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbglib_bookmarkfile.c -
5
-
6
- $Author: sakai $
7
- $Date: 2007/07/07 08:25:33 $
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
 
@@ -26,8 +36,7 @@ bookmarkfile_copy(const GBookmarkFile* file)
26
36
  return (GBookmarkFile*)file;
27
37
  }
28
38
 
29
-
30
- GType
39
+ static GType
31
40
  g_bookmark_file_get_type(void)
32
41
  {
33
42
  static GType our_type = 0;
@@ -40,17 +49,19 @@ g_bookmark_file_get_type(void)
40
49
  /************************************************/
41
50
 
42
51
  #define G_TYPE_BOOKMARK_FILE (g_bookmark_file_get_type())
52
+
53
+ #define RG_TARGET_NAMESPACE cBookmarkFile
43
54
  #define _SELF(self) ((GBookmarkFile*)(RVAL2BOXED(self, G_TYPE_BOOKMARK_FILE)))
44
55
 
45
56
  static VALUE
46
- bf_initialize(VALUE self)
57
+ rg_initialize(VALUE self)
47
58
  {
48
59
  G_INITIALIZE(self, g_bookmark_file_new());
49
60
  return Qnil;
50
61
  }
51
62
 
52
63
  static VALUE
53
- bf_load_from_file(VALUE self, VALUE rbfilename)
64
+ rg_load_from_file(VALUE self, VALUE rbfilename)
54
65
  {
55
66
  gchar *filename = RVAL2CSTRFILENAME(rbfilename);
56
67
  GError* error = NULL;
@@ -63,22 +74,22 @@ bf_load_from_file(VALUE self, VALUE rbfilename)
63
74
  }
64
75
 
65
76
  static VALUE
66
- bf_load_from_data(VALUE self, VALUE data)
77
+ rg_load_from_data(VALUE self, VALUE data)
67
78
  {
68
79
  GError *error = NULL;
69
80
 
70
81
  StringValue(data);
71
82
  if (!g_bookmark_file_load_from_data(_SELF(self),
72
- RSTRING_PTR(data),
73
- RSTRING_LEN(data),
74
- &error))
75
- RAISE_GERROR(error);
83
+ RSTRING_PTR(data),
84
+ RSTRING_LEN(data),
85
+ &error))
86
+ RAISE_GERROR(error);
76
87
 
77
88
  return Qnil;
78
89
  }
79
90
 
80
91
  static VALUE
81
- bf_load_from_data_dirs(VALUE self, VALUE file)
92
+ rg_load_from_data_dirs(VALUE self, VALUE file)
82
93
  {
83
94
  GError* error = NULL;
84
95
  gboolean ret;
@@ -94,18 +105,18 @@ bf_load_from_data_dirs(VALUE self, VALUE file)
94
105
  }
95
106
 
96
107
  static VALUE
97
- bf_to_data(VALUE self)
108
+ rg_to_data(VALUE self)
98
109
  {
99
110
  GError* error = NULL;
100
111
  gchar* data = g_bookmark_file_to_data(_SELF(self), NULL, &error);
101
112
 
102
113
  if (error) RAISE_GERROR(error);
103
-
114
+
104
115
  return CSTR2RVAL_FREE(data);
105
116
  }
106
117
 
107
118
  static VALUE
108
- bf_to_file(VALUE self, VALUE rbfilename)
119
+ rg_to_file(VALUE self, VALUE rbfilename)
109
120
  {
110
121
  gchar *filename = RVAL2CSTRFILENAME(rbfilename);
111
122
  GError* error = NULL;
@@ -118,14 +129,14 @@ bf_to_file(VALUE self, VALUE rbfilename)
118
129
  }
119
130
 
120
131
  static VALUE
121
- bf_has_item(VALUE self, VALUE uri)
132
+ rg_has_item_p(VALUE self, VALUE uri)
122
133
  {
123
134
  return CBOOL2RVAL(g_bookmark_file_has_item(_SELF(self),
124
135
  RVAL2CSTR(uri)));
125
136
  }
126
137
 
127
138
  static VALUE
128
- bf_has_group(VALUE self, VALUE uri, VALUE group)
139
+ rg_has_group_p(VALUE self, VALUE uri, VALUE group)
129
140
  {
130
141
  GError* error = NULL;
131
142
  return CBOOL2RVAL(g_bookmark_file_has_group(_SELF(self),
@@ -133,9 +144,9 @@ bf_has_group(VALUE self, VALUE uri, VALUE group)
133
144
  RVAL2CSTR(group),
134
145
  &error));
135
146
  }
136
-
147
+
137
148
  static VALUE
138
- bf_has_application(VALUE self, VALUE uri, VALUE name)
149
+ rg_has_application_p(VALUE self, VALUE uri, VALUE name)
139
150
  {
140
151
  GError* error = NULL;
141
152
  return CBOOL2RVAL(g_bookmark_file_has_application(_SELF(self),
@@ -143,21 +154,21 @@ bf_has_application(VALUE self, VALUE uri, VALUE name)
143
154
  RVAL2CSTR(name),
144
155
  &error));
145
156
  }
146
-
157
+
147
158
  static VALUE
148
- bf_get_size(VALUE self)
159
+ rg_size(VALUE self)
149
160
  {
150
161
  return INT2NUM(g_bookmark_file_get_size(_SELF(self)));
151
162
  }
152
163
 
153
164
  static VALUE
154
- bf_get_uris(VALUE self)
165
+ rg_uris(VALUE self)
155
166
  {
156
167
  return STRV2RVAL_FREE(g_bookmark_file_get_uris(_SELF(self), NULL));
157
168
  }
158
169
 
159
170
  static VALUE
160
- bf_get_title(VALUE self, VALUE uri)
171
+ rg_get_title(VALUE self, VALUE uri)
161
172
  {
162
173
  GError *error = NULL;
163
174
  gchar* ret = g_bookmark_file_get_title(_SELF(self),
@@ -168,7 +179,7 @@ bf_get_title(VALUE self, VALUE uri)
168
179
  }
169
180
 
170
181
  static VALUE
171
- bf_get_description(VALUE self, VALUE uri)
182
+ rg_get_description(VALUE self, VALUE uri)
172
183
  {
173
184
  GError *error = NULL;
174
185
  gchar* ret = g_bookmark_file_get_description(_SELF(self),
@@ -179,7 +190,7 @@ bf_get_description(VALUE self, VALUE uri)
179
190
  }
180
191
 
181
192
  static VALUE
182
- bf_get_mime_type(VALUE self, VALUE uri)
193
+ rg_get_mime_type(VALUE self, VALUE uri)
183
194
  {
184
195
  GError *error = NULL;
185
196
  gchar* ret = g_bookmark_file_get_mime_type(_SELF(self),
@@ -190,7 +201,7 @@ bf_get_mime_type(VALUE self, VALUE uri)
190
201
  }
191
202
 
192
203
  static VALUE
193
- bf_get_is_private(VALUE self, VALUE uri)
204
+ rg_private_p(VALUE self, VALUE uri)
194
205
  {
195
206
  GError *error = NULL;
196
207
  gboolean ret = g_bookmark_file_get_is_private(_SELF(self),
@@ -201,7 +212,7 @@ bf_get_is_private(VALUE self, VALUE uri)
201
212
  }
202
213
 
203
214
  static VALUE
204
- bf_get_icon(VALUE self, VALUE uri)
215
+ rg_get_icon(VALUE self, VALUE uri)
205
216
  {
206
217
  gchar* href;
207
218
  gchar* mime_type;
@@ -218,7 +229,7 @@ bf_get_icon(VALUE self, VALUE uri)
218
229
  }
219
230
 
220
231
  static VALUE
221
- bf_get_added(VALUE self, VALUE uri)
232
+ rg_get_added(VALUE self, VALUE uri)
222
233
  {
223
234
  GError *error = NULL;
224
235
  time_t ret = g_bookmark_file_get_added(_SELF(self),
@@ -230,7 +241,7 @@ bf_get_added(VALUE self, VALUE uri)
230
241
  }
231
242
 
232
243
  static VALUE
233
- bf_get_modified(VALUE self, VALUE uri)
244
+ rg_get_modified(VALUE self, VALUE uri)
234
245
  {
235
246
  GError *error = NULL;
236
247
  time_t ret = g_bookmark_file_get_modified(_SELF(self),
@@ -242,7 +253,7 @@ bf_get_modified(VALUE self, VALUE uri)
242
253
  }
243
254
 
244
255
  static VALUE
245
- bf_get_visited(VALUE self, VALUE uri)
256
+ rg_get_visited(VALUE self, VALUE uri)
246
257
  {
247
258
  GError *error = NULL;
248
259
  time_t ret = g_bookmark_file_get_visited(_SELF(self),
@@ -254,7 +265,7 @@ bf_get_visited(VALUE self, VALUE uri)
254
265
  }
255
266
 
256
267
  static VALUE
257
- bf_get_groups(VALUE self, VALUE uri)
268
+ rg_get_groups(VALUE self, VALUE uri)
258
269
  {
259
270
  gsize length;
260
271
  VALUE ary;
@@ -264,7 +275,6 @@ bf_get_groups(VALUE self, VALUE uri)
264
275
  RVAL2CSTR(uri),
265
276
  &length, &error);
266
277
  if (error) RAISE_GERROR(error);
267
-
268
278
 
269
279
  ary = rb_ary_new();
270
280
  for(i = 0; i < length; i++){
@@ -276,7 +286,7 @@ bf_get_groups(VALUE self, VALUE uri)
276
286
  }
277
287
 
278
288
  static VALUE
279
- bf_get_applications(VALUE self, VALUE uri)
289
+ rg_get_applications(VALUE self, VALUE uri)
280
290
  {
281
291
  gsize length;
282
292
  VALUE ary;
@@ -286,7 +296,6 @@ bf_get_applications(VALUE self, VALUE uri)
286
296
  RVAL2CSTR(uri),
287
297
  &length, &error);
288
298
  if (error) RAISE_GERROR(error);
289
-
290
299
 
291
300
  ary = rb_ary_new();
292
301
  for(i = 0; i < length; i++){
@@ -296,9 +305,9 @@ bf_get_applications(VALUE self, VALUE uri)
296
305
  g_strfreev(ret);
297
306
  return ary;
298
307
  }
299
-
308
+
300
309
  static VALUE
301
- bf_get_app_info(VALUE self, VALUE uri, VALUE name)
310
+ rg_get_app_info(VALUE self, VALUE uri, VALUE name)
302
311
  {
303
312
  gchar* exec;
304
313
  guint count;
@@ -310,12 +319,12 @@ bf_get_app_info(VALUE self, VALUE uri, VALUE name)
310
319
  RVAL2CSTR(name),
311
320
  &exec, &count, &stamp, &error);
312
321
  if (!ret) RAISE_GERROR(error);
313
-
322
+
314
323
  return rb_ary_new3(3, CSTR2RVAL(exec), UINT2NUM(count), rb_time_new(stamp, 0));
315
324
  }
316
325
 
317
326
  static VALUE
318
- bf_set_title(VALUE self, VALUE uri, VALUE title)
327
+ rg_set_title(VALUE self, VALUE uri, VALUE title)
319
328
  {
320
329
  g_bookmark_file_set_title(_SELF(self),
321
330
  RVAL2CSTR(uri),
@@ -324,7 +333,7 @@ bf_set_title(VALUE self, VALUE uri, VALUE title)
324
333
  }
325
334
 
326
335
  static VALUE
327
- bf_set_description(VALUE self, VALUE uri, VALUE description)
336
+ rg_set_description(VALUE self, VALUE uri, VALUE description)
328
337
  {
329
338
  g_bookmark_file_set_description(_SELF(self),
330
339
  RVAL2CSTR(uri),
@@ -333,7 +342,7 @@ bf_set_description(VALUE self, VALUE uri, VALUE description)
333
342
  }
334
343
 
335
344
  static VALUE
336
- bf_set_mime_type(VALUE self, VALUE uri, VALUE mime_type)
345
+ rg_set_mime_type(VALUE self, VALUE uri, VALUE mime_type)
337
346
  {
338
347
  g_bookmark_file_set_mime_type(_SELF(self),
339
348
  RVAL2CSTR(uri),
@@ -342,7 +351,7 @@ bf_set_mime_type(VALUE self, VALUE uri, VALUE mime_type)
342
351
  }
343
352
 
344
353
  static VALUE
345
- bf_set_is_private(VALUE self, VALUE uri, VALUE is_private)
354
+ rg_set_private(VALUE self, VALUE uri, VALUE is_private)
346
355
  {
347
356
  g_bookmark_file_set_is_private(_SELF(self),
348
357
  RVAL2CSTR(uri),
@@ -351,7 +360,7 @@ bf_set_is_private(VALUE self, VALUE uri, VALUE is_private)
351
360
  }
352
361
 
353
362
  static VALUE
354
- bf_set_icon(VALUE self, VALUE uri, VALUE href, VALUE mime_type)
363
+ rg_set_icon(VALUE self, VALUE uri, VALUE href, VALUE mime_type)
355
364
  {
356
365
  g_bookmark_file_set_icon(_SELF(self),
357
366
  RVAL2CSTR(uri),
@@ -361,7 +370,7 @@ bf_set_icon(VALUE self, VALUE uri, VALUE href, VALUE mime_type)
361
370
  }
362
371
 
363
372
  static VALUE
364
- bf_set_added(VALUE self, VALUE uri, VALUE time)
373
+ rg_set_added(VALUE self, VALUE uri, VALUE time)
365
374
  {
366
375
  g_bookmark_file_set_added(_SELF(self),
367
376
  RVAL2CSTR(uri),
@@ -370,12 +379,14 @@ bf_set_added(VALUE self, VALUE uri, VALUE time)
370
379
  }
371
380
 
372
381
  static VALUE
373
- bf_set_groups(VALUE self, VALUE uri, VALUE rbgroups)
382
+ rg_set_groups(VALUE self, VALUE rburi, VALUE rbgroups)
374
383
  {
375
- VALUE ary = rb_ary_to_ary(rbgroups);
376
- const gchar **groups = RVAL2STRV(ary);
377
-
378
- g_bookmark_file_set_groups(_SELF(self), RVAL2CSTR(uri), groups, RARRAY_LEN(ary));
384
+ GBookmarkFile *bookmark = _SELF(self);
385
+ const gchar *uri = RVAL2CSTR(rburi);
386
+ long n;
387
+ const gchar **groups = RVAL2STRS(rbgroups, n);
388
+
389
+ g_bookmark_file_set_groups(bookmark, uri, groups, n);
379
390
 
380
391
  g_free(groups);
381
392
 
@@ -383,7 +394,7 @@ bf_set_groups(VALUE self, VALUE uri, VALUE rbgroups)
383
394
  }
384
395
 
385
396
  static VALUE
386
- bf_set_modified(VALUE self, VALUE uri, VALUE time)
397
+ rg_set_modified(VALUE self, VALUE uri, VALUE time)
387
398
  {
388
399
  g_bookmark_file_set_modified(_SELF(self),
389
400
  RVAL2CSTR(uri),
@@ -392,7 +403,7 @@ bf_set_modified(VALUE self, VALUE uri, VALUE time)
392
403
  }
393
404
 
394
405
  static VALUE
395
- bf_set_visited(VALUE self, VALUE uri, VALUE time)
406
+ rg_set_visited(VALUE self, VALUE uri, VALUE time)
396
407
  {
397
408
  g_bookmark_file_set_visited(_SELF(self),
398
409
  RVAL2CSTR(uri),
@@ -401,7 +412,7 @@ bf_set_visited(VALUE self, VALUE uri, VALUE time)
401
412
  }
402
413
 
403
414
  static VALUE
404
- bf_set_app_info(VALUE self, VALUE uri, VALUE name, VALUE exec, VALUE count, VALUE stamp)
415
+ rg_set_app_info(VALUE self, VALUE uri, VALUE name, VALUE exec, VALUE count, VALUE stamp)
405
416
  {
406
417
  GError* error = NULL;
407
418
  gboolean ret = g_bookmark_file_set_app_info(_SELF(self),
@@ -411,14 +422,14 @@ bf_set_app_info(VALUE self, VALUE uri, VALUE name, VALUE exec, VALUE count, VALU
411
422
  NUM2INT(count),
412
423
  (time_t)NUM2LONG(rb_Integer(stamp)),
413
424
  &error);
414
-
425
+
415
426
  if (! ret) RAISE_GERROR(error);
416
427
 
417
428
  return self;
418
429
  }
419
430
 
420
431
  static VALUE
421
- bf_add_group(VALUE self, VALUE uri, VALUE group)
432
+ rg_add_group(VALUE self, VALUE uri, VALUE group)
422
433
  {
423
434
  g_bookmark_file_add_group(_SELF(self),
424
435
  RVAL2CSTR(uri),
@@ -427,7 +438,7 @@ bf_add_group(VALUE self, VALUE uri, VALUE group)
427
438
  }
428
439
 
429
440
  static VALUE
430
- bf_add_application(VALUE self, VALUE uri, VALUE name, VALUE exec)
441
+ rg_add_application(VALUE self, VALUE uri, VALUE name, VALUE exec)
431
442
  {
432
443
  g_bookmark_file_add_application(_SELF(self),
433
444
  RVAL2CSTR(uri),
@@ -437,7 +448,7 @@ bf_add_application(VALUE self, VALUE uri, VALUE name, VALUE exec)
437
448
  }
438
449
 
439
450
  static VALUE
440
- bf_remove_group(VALUE self, VALUE uri, VALUE group)
451
+ rg_remove_group(VALUE self, VALUE uri, VALUE group)
441
452
  {
442
453
  GError* error = NULL;
443
454
  gboolean ret = g_bookmark_file_remove_group(_SELF(self),
@@ -450,7 +461,7 @@ bf_remove_group(VALUE self, VALUE uri, VALUE group)
450
461
  }
451
462
 
452
463
  static VALUE
453
- bf_remove_application(VALUE self, VALUE uri, VALUE name)
464
+ rg_remove_application(VALUE self, VALUE uri, VALUE name)
454
465
  {
455
466
  GError *error = NULL;
456
467
  gboolean ret = g_bookmark_file_remove_application(_SELF(self),
@@ -462,9 +473,8 @@ bf_remove_application(VALUE self, VALUE uri, VALUE name)
462
473
  return self;
463
474
  }
464
475
 
465
-
466
476
  static VALUE
467
- bf_remove_item(VALUE self, VALUE uri)
477
+ rg_remove_item(VALUE self, VALUE uri)
468
478
  {
469
479
  GError *error = NULL;
470
480
  gboolean ret = g_bookmark_file_remove_item(_SELF(self),
@@ -476,7 +486,7 @@ bf_remove_item(VALUE self, VALUE uri)
476
486
  }
477
487
 
478
488
  static VALUE
479
- bf_move_item(VALUE self, VALUE old_uri, VALUE new_uri)
489
+ rg_move_item(VALUE self, VALUE old_uri, VALUE new_uri)
480
490
  {
481
491
  GError *error = NULL;
482
492
  gboolean ret = g_bookmark_file_move_item(_SELF(self),
@@ -491,51 +501,51 @@ bf_move_item(VALUE self, VALUE old_uri, VALUE new_uri)
491
501
  #endif
492
502
 
493
503
  void
494
- Init_glib_bookmark_file()
504
+ Init_glib_bookmark_file(void)
495
505
  {
496
506
  #if GLIB_CHECK_VERSION(2,12,0)
497
- VALUE bf = G_DEF_CLASS(G_TYPE_BOOKMARK_FILE, "BookmarkFile", mGLib);
507
+ VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_BOOKMARK_FILE, "BookmarkFile", mGLib);
498
508
 
499
509
  G_DEF_ERROR(G_BOOKMARK_FILE_ERROR, "BookmarkFileError", mGLib,
500
510
  rb_eRuntimeError, G_TYPE_BOOKMARK_FILE_ERROR);
501
511
 
502
- rb_define_method(bf, "initialize", bf_initialize, 0);
503
- rb_define_method(bf, "load_from_file", bf_load_from_file, 1);
504
- rb_define_method(bf, "load_from_data", bf_load_from_data, 1);
505
- rb_define_method(bf, "load_from_data_dirs", bf_load_from_data_dirs, 1);
506
- rb_define_method(bf, "to_data", bf_to_data, 0);
507
- rb_define_method(bf, "to_file", bf_to_file, 1);
508
- rb_define_method(bf, "has_item?", bf_has_item, 1);
509
- rb_define_method(bf, "has_group?", bf_has_group, 2);
510
- rb_define_method(bf, "has_application?", bf_has_application, 2);
511
- rb_define_method(bf, "size", bf_get_size, 0);
512
- rb_define_method(bf, "uris", bf_get_uris, 0);
513
- rb_define_method(bf, "get_title", bf_get_title, 1);
514
- rb_define_method(bf, "get_description", bf_get_description, 1);
515
- rb_define_method(bf, "get_mime_type", bf_get_mime_type, 1);
516
- rb_define_method(bf, "private?", bf_get_is_private, 1);
517
- rb_define_method(bf, "get_icon", bf_get_icon, 1);
518
- rb_define_method(bf, "get_added", bf_get_added, 1);
519
- rb_define_method(bf, "get_modified", bf_get_modified, 1);
520
- rb_define_method(bf, "get_visited", bf_get_visited, 1);
521
- rb_define_method(bf, "get_groups", bf_get_groups, 1);
522
- rb_define_method(bf, "get_applications", bf_get_applications, 1);
523
- rb_define_method(bf, "get_app_info", bf_get_app_info, 2);
524
- rb_define_method(bf, "set_title", bf_set_title, 2);
525
- rb_define_method(bf, "set_description", bf_set_description, 2);
526
- rb_define_method(bf, "set_mime_type", bf_set_mime_type, 2);
527
- rb_define_method(bf, "set_private", bf_set_is_private, 2);
528
- rb_define_method(bf, "set_icon", bf_set_icon, 3);
529
- rb_define_method(bf, "set_added", bf_set_added, 2);
530
- rb_define_method(bf, "set_groups", bf_set_groups, 2);
531
- rb_define_method(bf, "set_modified", bf_set_modified, 2);
532
- rb_define_method(bf, "set_visited", bf_set_visited, 2);
533
- rb_define_method(bf, "set_app_info", bf_set_app_info, 5);
534
- rb_define_method(bf, "add_group", bf_add_group, 2);
535
- rb_define_method(bf, "add_application", bf_add_application, 3);
536
- rb_define_method(bf, "remove_group", bf_remove_group, 2);
537
- rb_define_method(bf, "remove_application", bf_remove_application, 2);
538
- rb_define_method(bf, "remove_item", bf_remove_item, 1);
539
- rb_define_method(bf, "move_item", bf_move_item, 2);
512
+ RG_DEF_METHOD(initialize, 0);
513
+ RG_DEF_METHOD(load_from_file, 1);
514
+ RG_DEF_METHOD(load_from_data, 1);
515
+ RG_DEF_METHOD(load_from_data_dirs, 1);
516
+ RG_DEF_METHOD(to_data, 0);
517
+ RG_DEF_METHOD(to_file, 1);
518
+ RG_DEF_METHOD_P(has_item, 1);
519
+ RG_DEF_METHOD_P(has_group, 2);
520
+ RG_DEF_METHOD_P(has_application, 2);
521
+ RG_DEF_METHOD(size, 0);
522
+ RG_DEF_METHOD(uris, 0);
523
+ RG_DEF_METHOD(get_title, 1);
524
+ RG_DEF_METHOD(get_description, 1);
525
+ RG_DEF_METHOD(get_mime_type, 1);
526
+ RG_DEF_METHOD_P(private, 1);
527
+ RG_DEF_METHOD(get_icon, 1);
528
+ RG_DEF_METHOD(get_added, 1);
529
+ RG_DEF_METHOD(get_modified, 1);
530
+ RG_DEF_METHOD(get_visited, 1);
531
+ RG_DEF_METHOD(get_groups, 1);
532
+ RG_DEF_METHOD(get_applications, 1);
533
+ RG_DEF_METHOD(get_app_info, 2);
534
+ RG_DEF_METHOD(set_title, 2);
535
+ RG_DEF_METHOD(set_description, 2);
536
+ RG_DEF_METHOD(set_mime_type, 2);
537
+ RG_DEF_METHOD(set_private, 2);
538
+ RG_DEF_METHOD(set_icon, 3);
539
+ RG_DEF_METHOD(set_added, 2);
540
+ RG_DEF_METHOD(set_groups, 2);
541
+ RG_DEF_METHOD(set_modified, 2);
542
+ RG_DEF_METHOD(set_visited, 2);
543
+ RG_DEF_METHOD(set_app_info, 5);
544
+ RG_DEF_METHOD(add_group, 2);
545
+ RG_DEF_METHOD(add_application, 3);
546
+ RG_DEF_METHOD(remove_group, 2);
547
+ RG_DEF_METHOD(remove_application, 2);
548
+ RG_DEF_METHOD(remove_item, 1);
549
+ RG_DEF_METHOD(move_item, 2);
540
550
  #endif
541
- }
551
+ }