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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (540) hide show
  1. data/ext/glib2/extconf.rb +1 -0
  2. data/ext/glib2/glib2.def +23 -0
  3. data/ext/glib2/rbgcompat.h +19 -5
  4. data/ext/glib2/rbglib.c +607 -160
  5. data/ext/glib2/rbglib.h +81 -26
  6. data/ext/glib2/rbglib2conversions.h +57 -0
  7. data/ext/glib2/rbglib_bookmarkfile.c +117 -107
  8. data/ext/glib2/rbglib_completion.c +37 -26
  9. data/ext/glib2/rbglib_convert.c +42 -30
  10. data/ext/glib2/rbglib_error.c +20 -10
  11. data/ext/glib2/rbglib_fileutils.c +48 -37
  12. data/ext/glib2/rbglib_i18n.c +24 -14
  13. data/ext/glib2/rbglib_int64.c +24 -16
  14. data/ext/glib2/rbglib_iochannel.c +146 -204
  15. data/ext/glib2/rbglib_iochannel_win32_socket.c +56 -0
  16. data/ext/glib2/rbglib_iochannelerror.c +49 -0
  17. data/ext/glib2/rbglib_keyfile.c +171 -182
  18. data/ext/glib2/rbglib_maincontext.c +107 -92
  19. data/ext/glib2/rbglib_mainloop.c +34 -21
  20. data/ext/glib2/rbglib_messages.c +53 -44
  21. data/ext/glib2/rbglib_pollfd.c +37 -26
  22. data/ext/glib2/rbglib_shell.c +29 -22
  23. data/ext/glib2/rbglib_shellerror.c +34 -0
  24. data/ext/glib2/rbglib_source.c +49 -36
  25. data/ext/glib2/rbglib_spawn.c +50 -61
  26. data/ext/glib2/rbglib_spawnerror.c +53 -0
  27. data/ext/glib2/rbglib_threads.c +28 -16
  28. data/ext/glib2/rbglib_timer.c +35 -24
  29. data/ext/glib2/rbglib_ucs4.c +79 -0
  30. data/ext/glib2/rbglib_unichar.c +209 -0
  31. data/ext/glib2/rbglib_unicode.c +34 -584
  32. data/ext/glib2/rbglib_utf16.c +78 -0
  33. data/ext/glib2/rbglib_utf8.c +259 -0
  34. data/ext/glib2/rbglib_utils.c +95 -91
  35. data/ext/glib2/rbglib_win32.c +52 -45
  36. data/ext/glib2/rbglibdeprecated.c +56 -0
  37. data/ext/glib2/rbglibdeprecated.h +34 -0
  38. data/ext/glib2/rbgobj_boxed.c +40 -33
  39. data/ext/glib2/rbgobj_closure.c +45 -34
  40. data/ext/glib2/rbgobj_convert.c +19 -9
  41. data/ext/glib2/rbgobj_enumflags.c +109 -0
  42. data/ext/glib2/rbgobj_enums.c +67 -646
  43. data/ext/glib2/rbgobj_flags.c +522 -0
  44. data/ext/glib2/rbgobj_fundamental.c +19 -6
  45. data/ext/glib2/rbgobj_object.c +90 -81
  46. data/ext/glib2/rbgobj_param.c +78 -83
  47. data/ext/glib2/rbgobj_paramspecs.c +20 -12
  48. data/ext/glib2/rbgobj_signal.c +248 -193
  49. data/ext/glib2/rbgobj_strv.c +20 -10
  50. data/ext/glib2/rbgobj_type.c +153 -149
  51. data/ext/glib2/rbgobj_typeinstance.c +49 -39
  52. data/ext/glib2/rbgobj_typeinterface.c +37 -27
  53. data/ext/glib2/rbgobj_typemodule.c +39 -29
  54. data/ext/glib2/rbgobj_typeplugin.c +36 -26
  55. data/ext/glib2/rbgobj_value.c +41 -11
  56. data/ext/glib2/rbgobj_valuearray.c +59 -23
  57. data/ext/glib2/rbgobj_valuetypes.c +27 -17
  58. data/ext/glib2/rbgobject.c +26 -40
  59. data/ext/glib2/rbgobject.h +38 -20
  60. data/ext/glib2/rbgprivate.h +87 -5
  61. data/ext/glib2/rbgutil.c +52 -238
  62. data/ext/glib2/rbgutil.h +55 -42
  63. data/ext/glib2/rbgutil_callback.c +47 -12
  64. data/ext/glib2/rbgutil_list.c +173 -0
  65. data/ext/glib2/rbgutil_list.h +85 -0
  66. data/ext/glib2/rbgutildeprecated.c +252 -0
  67. data/ext/glib2/rbgutildeprecated.h +63 -0
  68. data/lib/1.8/glib2.so +0 -0
  69. data/lib/1.9/glib2.so +0 -0
  70. data/lib/glib-mkenums.rb +2 -2
  71. data/lib/glib2.rb +2 -25
  72. data/lib/glib2/deprecatable.rb +149 -0
  73. data/lib/gnome2-raketask.rb +45 -15
  74. data/lib/gnome2-win32-binary-downloader.rb +1 -1
  75. data/lib/mkmf-gnome2.rb +37 -18
  76. data/test/test_flags.rb +129 -0
  77. data/test/test_key_file.rb +6 -2
  78. data/test/test_spawn.rb +33 -0
  79. data/vendor/local/bin/gdbus.exe +0 -0
  80. data/vendor/local/bin/gio-querymodules.exe +0 -0
  81. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  82. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  83. data/vendor/local/bin/glib-gettextize +2 -2
  84. data/vendor/local/bin/glib-mkenums +1 -1
  85. data/vendor/local/bin/gobject-query.exe +0 -0
  86. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  87. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  88. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  89. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  90. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  91. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  92. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  93. data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +33 -0
  94. data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +67 -0
  95. data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +79 -0
  96. data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +78 -0
  97. data/vendor/local/include/glib-2.0/gio/gapplication.h +13 -7
  98. data/vendor/local/include/glib-2.0/gio/gioenums.h +16 -5
  99. data/vendor/local/include/glib-2.0/glib/gconvert.h +2 -0
  100. data/vendor/local/include/glib-2.0/glib/gdir.h +2 -0
  101. data/vendor/local/include/glib-2.0/glib/gfileutils.h +2 -0
  102. data/vendor/local/include/glib-2.0/glib/giochannel.h +1 -1
  103. data/vendor/local/include/glib-2.0/glib/gspawn.h +2 -0
  104. data/vendor/local/include/glib-2.0/glib/gutils.h +6 -2
  105. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +10 -10
  106. data/vendor/local/include/glib-2.0/gobject/gtype.h +1 -1
  107. data/vendor/local/include/glib-2.0/gobject/gvalue.h +9 -1
  108. data/vendor/local/lib/gio-2.0.lib +0 -0
  109. data/vendor/local/lib/glib-2.0.def +1 -0
  110. data/vendor/local/lib/glib-2.0.lib +0 -0
  111. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  112. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  113. data/vendor/local/lib/gobject-2.0.lib +0 -0
  114. data/vendor/local/lib/gthread-2.0.lib +0 -0
  115. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  116. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  117. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  118. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  119. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  120. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  121. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  122. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  124. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  125. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  126. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  127. data/vendor/local/manifest/{glib-dev_2.28.1-1_win32.mft → glib-dev_2.28.8-1_win32.mft} +33 -20
  128. data/vendor/local/manifest/{glib_2.28.1-1_win32.mft → glib_2.28.8-1_win32.mft} +3 -3
  129. data/vendor/local/share/aclocal/gsettings.m4 +83 -0
  130. data/vendor/local/share/doc/{glib-2.28.1 → glib-2.28.8}/COPYING +0 -0
  131. data/vendor/local/share/doc/{glib-dev-2.28.1 → glib-dev-2.28.8}/COPYING +0 -0
  132. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -0
  133. data/vendor/local/share/gtk-doc/html/gio/GAction.html +3 -3
  134. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +2 -2
  135. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +3 -3
  136. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +115 -32
  137. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +329 -312
  138. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +2 -2
  139. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +2 -2
  140. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +2 -2
  141. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +2 -2
  142. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +2 -2
  143. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +2 -2
  144. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +2 -2
  145. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +2 -2
  146. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +2 -2
  147. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +95 -40
  148. data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +2 -2
  149. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +4 -4
  150. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +6 -4
  151. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +21 -11
  152. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +3 -4
  153. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +2 -2
  154. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +2 -2
  155. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +2 -2
  156. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +2 -2
  157. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +2 -2
  158. data/vendor/local/share/gtk-doc/html/gio/GFile.html +9 -7
  159. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +2 -2
  160. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +3 -3
  161. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +2 -2
  162. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +2 -2
  163. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3 -3
  164. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +2 -2
  165. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +2 -2
  166. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +2 -2
  167. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +2 -2
  168. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +4 -4
  169. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +2 -2
  170. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +2 -2
  171. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +2 -2
  172. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +2 -2
  173. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +2 -2
  174. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +2 -2
  175. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +2 -2
  176. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +2 -2
  177. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +2 -2
  178. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +2 -2
  179. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +2 -2
  180. data/vendor/local/share/gtk-doc/html/gio/GMount.html +2 -2
  181. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +6 -6
  182. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +2 -2
  183. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +2 -2
  184. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +2 -2
  185. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +2 -2
  186. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +2 -2
  187. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +2 -2
  189. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
  190. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +2 -2
  191. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +2 -2
  192. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +2 -2
  193. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +11 -4
  194. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +2 -2
  195. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +3 -3
  196. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +2 -2
  197. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +2 -2
  198. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +2 -2
  199. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2 -2
  200. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +2 -2
  201. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +2 -2
  202. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +2 -2
  203. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +2 -2
  204. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +2 -2
  205. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +2 -2
  206. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +2 -2
  207. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +2 -2
  208. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +2 -2
  209. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +2 -2
  210. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +3 -3
  211. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +2 -2
  212. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +2 -2
  213. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +2 -2
  214. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +2 -2
  215. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +2 -2
  216. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +2 -2
  217. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +2 -2
  218. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +2 -2
  219. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +2 -2
  220. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +2 -2
  221. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +2 -2
  222. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +2 -2
  223. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +2 -2
  224. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +2 -2
  225. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +2 -2
  226. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +2 -2
  227. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +2 -2
  228. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +2 -2
  229. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +2 -2
  230. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  231. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  232. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  234. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
  235. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
  237. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
  238. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  239. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  240. data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -3
  241. data/vendor/local/share/gtk-doc/html/gio/ch02.html +4 -4
  242. data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -3
  243. data/vendor/local/share/gtk-doc/html/gio/ch26.html +3 -3
  244. data/vendor/local/share/gtk-doc/html/gio/ch27.html +5 -5
  245. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +3 -3
  246. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/gio/ch28.html +5 -5
  248. data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +3 -3
  249. data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +3 -3
  250. data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +3 -3
  251. data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +3 -3
  252. data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +4 -4
  253. data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +3 -3
  254. data/vendor/local/share/gtk-doc/html/gio/ch29.html +5 -5
  255. data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +3 -3
  256. data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +3 -3
  257. data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +3 -3
  258. data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +5 -5
  259. data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +4 -4
  260. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  262. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  263. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  264. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  265. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  266. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  267. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -9
  269. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +2 -2
  270. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +2 -2
  271. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +2 -2
  272. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +2 -2
  273. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +2 -2
  274. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +6 -5
  275. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +2 -2
  276. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +2 -2
  277. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +4 -4
  278. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +2 -2
  279. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +2 -2
  280. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +2 -2
  281. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +2 -2
  282. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +2 -2
  283. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +2 -2
  284. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
  285. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +3 -3
  286. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +8 -8
  287. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +8 -8
  288. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +7 -5
  289. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +4 -4
  290. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  291. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  292. data/vendor/local/share/gtk-doc/html/gio/index.html +6 -6
  293. data/vendor/local/share/gtk-doc/html/gio/migrating.html +5 -5
  294. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  295. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  296. data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -3
  297. data/vendor/local/share/gtk-doc/html/gio/pt02.html +3 -3
  298. data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
  299. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  300. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  301. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  302. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  303. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  304. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  305. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  306. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -2
  307. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  308. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  309. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
  310. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  311. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  312. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  313. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  314. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  315. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  316. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  317. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  318. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +4 -4
  319. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  320. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  321. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
  322. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +26 -26
  323. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +4 -4
  324. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +2 -2
  325. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +2 -2
  326. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
  327. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
  328. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +2 -2
  329. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +2 -2
  330. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2 -2
  331. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +3 -3
  332. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +2 -2
  333. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +4 -4
  334. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +99 -19
  335. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +4 -4
  336. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +2 -2
  337. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
  338. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +4 -4
  339. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +2 -2
  340. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
  341. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +3 -3
  342. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +5 -5
  343. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +147 -49
  344. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2 -2
  345. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +2 -2
  346. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +123 -94
  347. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +52 -47
  348. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
  349. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +4 -3
  350. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
  351. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
  352. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +5 -4
  353. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +3 -3
  354. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2 -2
  355. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +2 -2
  356. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +2 -2
  357. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +2 -2
  358. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +4 -4
  361. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +6 -6
  362. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +5 -5
  363. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -48
  365. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
  366. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
  367. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +3 -3
  369. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
  370. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +6 -4
  374. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +287 -52
  377. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
  378. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2 -2
  380. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +2 -2
  381. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -2
  382. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +19 -14
  383. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
  384. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +17 -14
  385. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
  386. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
  387. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +2 -2
  388. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -8
  389. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +2 -2
  390. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +6 -6
  391. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +4 -4
  392. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
  393. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -3
  394. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +4 -4
  395. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -3
  396. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  397. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
  398. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  399. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  400. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +5 -5
  401. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +47 -47
  402. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +5 -5
  403. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +8 -8
  404. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  405. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +49 -49
  406. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +49 -49
  407. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  408. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +5 -5
  409. data/vendor/local/share/gtk-doc/html/glib/gtester.html +5 -5
  410. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +35 -35
  411. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +4 -4
  412. data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
  413. data/vendor/local/share/gtk-doc/html/glib/index.sgml +1 -0
  414. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  415. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +2 -2
  416. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +2 -2
  417. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +2 -2
  418. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +2 -2
  419. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
  420. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  421. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  422. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  423. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  424. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  425. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  426. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  427. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  428. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
  429. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  430. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  431. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
  432. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
  433. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +6 -6
  434. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +3 -3
  435. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  436. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
  437. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
  438. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +10 -10
  439. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +11 -11
  440. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +8 -8
  441. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +2 -2
  442. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2 -2
  443. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +2 -2
  444. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +2 -2
  445. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +2 -2
  446. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +5 -5
  447. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +2 -2
  448. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +7 -7
  449. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +8 -3
  450. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +5 -3
  451. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +2 -2
  452. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  453. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +6 -6
  454. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +5 -5
  455. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +8 -8
  456. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -8
  457. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +4 -4
  458. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  459. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
  460. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  461. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +4 -4
  462. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
  463. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
  464. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +2 -2
  465. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +5 -5
  466. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +5 -5
  467. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +2 -2
  468. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +6 -6
  469. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +2 -2
  470. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  471. data/vendor/local/share/gtk-doc/html/gobject/index.html +9 -9
  472. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -3
  473. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +6 -6
  474. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +6 -6
  475. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -3
  476. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -3
  477. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -3
  478. data/vendor/local/share/gtk-doc/html/gobject/signal.html +6 -6
  479. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  480. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  481. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
  482. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  483. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  484. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  485. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  486. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  487. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  488. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  489. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  490. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  491. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  492. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  493. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  494. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  495. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  496. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  497. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  498. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  499. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  500. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  501. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  502. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  503. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  504. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  505. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  506. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  507. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  508. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  509. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  510. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  511. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  512. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  513. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  514. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  515. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  516. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  517. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  518. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  519. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  520. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  521. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  522. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  523. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  524. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  525. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  526. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  527. data/vendor/local/share/man/man1/gdbus.1 +249 -0
  528. data/vendor/local/share/man/man1/gio-querymodules.1 +44 -0
  529. data/vendor/local/share/man/man1/glib-compile-schemas.1 +86 -0
  530. data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
  531. data/vendor/local/share/man/man1/glib-gettextize.1 +80 -0
  532. data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
  533. data/vendor/local/share/man/man1/gobject-query.1 +2 -2
  534. data/vendor/local/share/man/man1/gsettings.1 +153 -0
  535. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +2919 -0
  536. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +157 -0
  537. metadata +45 -13
  538. data/ChangeLog +0 -3513
  539. data/vendor/local/src/tml/packaging/glib_2.28.1-1_win32.log +0 -2775
  540. data/vendor/local/src/tml/packaging/glib_2.28.1-1_win32.sh +0 -62
@@ -1,124 +1,39 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /**********************************************************************
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2006 Kouhei Sutou
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
+ */
3
21
 
4
- rbglib_unicode.c -
5
-
6
- $Author: ktou $
7
- $Date: 2007/08/30 10:16:35 $
8
-
9
- Copyright (C) 2006 Kouhei Sutou
10
-
11
- **********************************************************************/
12
22
  #include "rbgprivate.h"
13
23
  #include "rbglib.h"
14
24
 
15
- static VALUE
16
- rbg_ucs4_to_rval_len(const gchar* ucs4, gsize len)
17
- {
18
- const gchar *ucs4_encoding;
19
- #if G_BYTE_ORDER == G_LITTLE_ENDIAN
20
- ucs4_encoding = "UTF-32LE";
21
- #else
22
- ucs4_encoding = "UTF-32BE";
23
- #endif
24
-
25
- return CSTR2RVAL_LEN_ENC(ucs4, len, ucs4_encoding);
26
- }
27
-
28
- static VALUE
29
- rbg_utf16_to_rval_len(const gchar* utf16, gsize len)
30
- {
31
- const gchar *utf16_encoding;
32
- #if G_BYTE_ORDER == G_LITTLE_ENDIAN
33
- utf16_encoding = "UTF-16LE";
34
- #else
35
- utf16_encoding = "UTF-16BE";
36
- #endif
37
-
38
- return CSTR2RVAL_LEN_ENC(utf16, len, utf16_encoding);
39
- }
25
+ #define RG_TARGET_NAMESPACE mUnicode
40
26
 
41
27
  static VALUE
42
- rbglib_m_charset(VALUE self)
28
+ rbglib_m_charset(G_GNUC_UNUSED VALUE self)
43
29
  {
44
30
  const char *charset;
45
31
  g_get_charset(&charset);
46
32
  return CSTR2RVAL(charset);
47
33
  }
48
34
 
49
- #define DEF_IS_UNICHAR(name) \
50
- static VALUE \
51
- rbglib_m_unichar_is ## name(VALUE self, VALUE unichar) \
52
- { \
53
- return CBOOL2RVAL(g_unichar_is ## name(NUM2UINT(unichar))); \
54
- }
55
-
56
- DEF_IS_UNICHAR(alnum)
57
- DEF_IS_UNICHAR(alpha)
58
- DEF_IS_UNICHAR(cntrl)
59
- DEF_IS_UNICHAR(digit)
60
- DEF_IS_UNICHAR(graph)
61
- DEF_IS_UNICHAR(lower)
62
- DEF_IS_UNICHAR(print)
63
- DEF_IS_UNICHAR(punct)
64
- DEF_IS_UNICHAR(space)
65
- DEF_IS_UNICHAR(upper)
66
- DEF_IS_UNICHAR(xdigit)
67
- DEF_IS_UNICHAR(title)
68
- DEF_IS_UNICHAR(defined)
69
- DEF_IS_UNICHAR(wide)
70
- #if GLIB_CHECK_VERSION(2,12,0)
71
- DEF_IS_UNICHAR(wide_cjk)
72
- #endif
73
-
74
- #undef DEF_IS_UNICHAR
75
-
76
- static VALUE
77
- rbglib_m_unichar_toupper(VALUE self, VALUE unichar)
78
- {
79
- return UINT2NUM(g_unichar_toupper(NUM2UINT(unichar)));
80
- }
81
-
82
- static VALUE
83
- rbglib_m_unichar_tolower(VALUE self, VALUE unichar)
84
- {
85
- return UINT2NUM(g_unichar_tolower(NUM2UINT(unichar)));
86
- }
87
-
88
- static VALUE
89
- rbglib_m_unichar_totitle(VALUE self, VALUE unichar)
90
- {
91
- return UINT2NUM(g_unichar_totitle(NUM2UINT(unichar)));
92
- }
93
-
94
- static VALUE
95
- rbglib_m_unichar_digit_value(VALUE self, VALUE unichar)
96
- {
97
- return INT2NUM(g_unichar_digit_value(NUM2UINT(unichar)));
98
- }
99
-
100
- static VALUE
101
- rbglib_m_unichar_xdigit_value(VALUE self, VALUE unichar)
102
- {
103
- return INT2NUM(g_unichar_xdigit_value(NUM2UINT(unichar)));
104
- }
105
-
106
35
  static VALUE
107
- rbglib_m_unichar_type(VALUE self, VALUE unichar)
108
- {
109
- return GENUM2RVAL(g_unichar_type(NUM2UINT(unichar)),
110
- G_TYPE_UNICODE_TYPE);
111
- }
112
-
113
- static VALUE
114
- rbglib_m_unichar_break_type(VALUE self, VALUE unichar)
115
- {
116
- return GENUM2RVAL(g_unichar_break_type(NUM2UINT(unichar)),
117
- G_TYPE_UNICODE_BREAK_TYPE);
118
- }
119
-
120
- static VALUE
121
- rbglib_m_unicode_canonical_ordering(VALUE self, VALUE rb_ucs4)
36
+ rg_s_canonical_ordering(G_GNUC_UNUSED VALUE self, VALUE rb_ucs4)
122
37
  {
123
38
  VALUE normalized_ucs4;
124
39
  gchar *original_str;
@@ -129,512 +44,47 @@ rbglib_m_unicode_canonical_ordering(VALUE self, VALUE rb_ucs4)
129
44
  len = RSTRING_LEN(rb_ucs4);
130
45
  ucs4 = g_memdup(original_str, len);
131
46
  g_unicode_canonical_ordering(ucs4, len);
132
- normalized_ucs4 = rbg_ucs4_to_rval_len((const char *)ucs4, len);
47
+ normalized_ucs4 = CSTR2RVAL_LEN_UCS4((const char *)ucs4, len);
133
48
  g_free(ucs4);
134
49
  return normalized_ucs4;
135
50
  }
136
51
 
137
52
  static VALUE
138
- rbglib_m_unicode_canonical_decomposition(VALUE self, VALUE unichar)
53
+ rg_s_canonical_decomposition(G_GNUC_UNUSED VALUE self, VALUE unichar)
139
54
  {
140
55
  VALUE normalized_ucs4;
141
56
  gunichar *ucs4;
142
57
  gsize len;
143
58
 
144
59
  ucs4 = g_unicode_canonical_decomposition(NUM2UINT(unichar), &len);
145
- normalized_ucs4 = rbg_ucs4_to_rval_len((const char *)ucs4,
60
+ normalized_ucs4 = CSTR2RVAL_LEN_UCS4((const char *)ucs4,
146
61
  len * sizeof(gunichar));
147
62
  g_free(ucs4);
148
63
  return normalized_ucs4;
149
64
  }
150
65
 
151
- #if GLIB_CHECK_VERSION(2,4,0)
152
- static VALUE
153
- rbglib_m_unichar_get_mirror_char(VALUE self, VALUE unichar)
154
- {
155
- gunichar mirrored_char;
156
-
157
- if (g_unichar_get_mirror_char(NUM2UINT(unichar), &mirrored_char)) {
158
- return UINT2NUM(mirrored_char);
159
- } else {
160
- return unichar;
161
- }
162
- }
163
- #endif
164
-
165
- #if GLIB_CHECK_VERSION(2,14,0)
166
- static VALUE
167
- rbglib_m_unichar_combining_class(VALUE self, VALUE unichar)
168
- {
169
- return INT2NUM(g_unichar_combining_class(NUM2UINT(unichar)));
170
- }
171
-
172
- static VALUE
173
- rbglib_m_unichar_get_script(VALUE self, VALUE unichar)
174
- {
175
- return GENUM2RVAL(g_unichar_get_script(NUM2UINT(unichar)),
176
- G_TYPE_UNICODE_SCRIPT);
177
- }
178
-
179
- static VALUE
180
- rbglib_m_unichar_ismark(VALUE self, VALUE unichar)
181
- {
182
- return CBOOL2RVAL(g_unichar_ismark(NUM2UINT(unichar)));
183
- }
184
-
185
- static VALUE
186
- rbglib_m_unichar_iszerowidth(VALUE self, VALUE unichar)
187
- {
188
- return CBOOL2RVAL(g_unichar_iszerowidth(NUM2UINT(unichar)));
189
- }
190
- #endif
191
-
192
- static VALUE
193
- rbglib_m_utf8_get_char(int argc, VALUE *argv, VALUE self)
194
- {
195
- VALUE utf8, validate;
196
- gunichar result;
197
-
198
- rb_scan_args(argc, argv, "11", &utf8, &validate);
199
-
200
- if (RVAL2CBOOL(validate)) {
201
- StringValue(utf8);
202
- result = g_utf8_get_char_validated(RSTRING_PTR(utf8),
203
- RSTRING_LEN(utf8));
204
- if (result == (gunichar)-1) {
205
- return INT2NUM(-1);
206
- } else if (result == (gunichar)-2) {
207
- return INT2NUM(-2);
208
- }
209
- } else {
210
- result = g_utf8_get_char(StringValueCStr(utf8));
211
- }
212
-
213
- return UINT2NUM(result);
214
- }
215
-
216
- static VALUE
217
- rbglib_m_utf8_strlen(VALUE self, VALUE rb_utf8)
218
- {
219
- gchar *utf8;
220
-
221
- utf8 = StringValueCStr(rb_utf8);
222
- return INT2NUM(g_utf8_strlen(utf8, RSTRING_LEN(rb_utf8)));
223
- }
224
-
225
- static VALUE
226
- rbglib_m_utf8_strreverse(VALUE self, VALUE rb_utf8)
227
- {
228
- VALUE result;
229
- gchar *utf8, *reversed_utf8;
230
-
231
- utf8 = StringValueCStr(rb_utf8);
232
- reversed_utf8 = g_utf8_strreverse(utf8, RSTRING_LEN(rb_utf8));
233
- result = CSTR2RVAL(reversed_utf8);
234
- g_free(reversed_utf8);
235
- return result;
236
- }
237
-
238
- static VALUE
239
- rbglib_m_utf8_validate(VALUE self, VALUE str)
240
- {
241
- StringValue(str);
242
- return CBOOL2RVAL(g_utf8_validate(RSTRING_PTR(str), RSTRING_LEN(str),
243
- NULL));
244
- }
245
-
246
- static VALUE
247
- rbglib_m_utf8_strup(VALUE self, VALUE rb_utf8)
248
- {
249
- VALUE result;
250
- gchar *utf8, *upcased_utf8;
251
-
252
- utf8 = StringValueCStr(rb_utf8);
253
- upcased_utf8 = g_utf8_strup(utf8, RSTRING_LEN(rb_utf8));
254
- result = CSTR2RVAL(upcased_utf8);
255
- g_free(upcased_utf8);
256
- return result;
257
- }
258
-
259
- static VALUE
260
- rbglib_m_utf8_strdown(VALUE self, VALUE rb_utf8)
261
- {
262
- VALUE result;
263
- gchar *utf8, *downcased_utf8;
264
-
265
- utf8 = StringValueCStr(rb_utf8);
266
- downcased_utf8 = g_utf8_strdown(utf8, RSTRING_LEN(rb_utf8));
267
- result = CSTR2RVAL(downcased_utf8);
268
- g_free(downcased_utf8);
269
- return result;
270
- }
271
-
272
- static VALUE
273
- rbglib_m_utf8_casefold(VALUE self, VALUE rb_utf8)
274
- {
275
- VALUE result;
276
- gchar *utf8, *casefolded_utf8;
277
-
278
- utf8 = StringValueCStr(rb_utf8);
279
- casefolded_utf8 = g_utf8_casefold(utf8, RSTRING_LEN(rb_utf8));
280
- result = CSTR2RVAL(casefolded_utf8);
281
- g_free(casefolded_utf8);
282
- return result;
283
- }
284
-
285
- static VALUE
286
- rbglib_m_utf8_normalize(int argc, VALUE *argv, VALUE self)
287
- {
288
- VALUE rb_utf8, rb_mode, result;
289
- gchar *utf8, *normalized_utf8;
290
- GNormalizeMode mode = G_NORMALIZE_DEFAULT;
291
-
292
- rb_scan_args(argc, argv, "11", &rb_utf8, &rb_mode);
293
-
294
- if (!NIL_P(rb_mode))
295
- mode = RVAL2GENUM(rb_mode, G_TYPE_NORMALIZE_MODE);
296
-
297
- utf8 = StringValueCStr(rb_utf8);
298
- normalized_utf8 = g_utf8_normalize(utf8, RSTRING_LEN(rb_utf8), mode);
299
- result = CSTR2RVAL(normalized_utf8);
300
- g_free(normalized_utf8);
301
- return result;
302
- }
303
-
304
- static VALUE
305
- rbglib_m_utf8_collate(VALUE self, VALUE utf8a, VALUE utf8b)
306
- {
307
- return INT2NUM(g_utf8_collate(StringValueCStr(utf8a),
308
- StringValueCStr(utf8b)));
309
- }
310
-
311
- static VALUE
312
- rbglib_m_utf8_collate_key(int argc, VALUE *argv, VALUE self)
313
- {
314
- VALUE result, rb_utf8, for_filename;
315
- gchar *key, *utf8;
316
- gssize len;
317
-
318
- rb_scan_args(argc, argv, "11", &rb_utf8, &for_filename);
319
-
320
- utf8 = StringValueCStr(rb_utf8);
321
- len = RSTRING_LEN(rb_utf8);
322
- #if GLIB_CHECK_VERSION(2,8,0)
323
- if (RVAL2CBOOL(for_filename))
324
- key = g_utf8_collate_key_for_filename(utf8, len);
325
- else
326
- #endif
327
- key = g_utf8_collate_key(utf8, len);
328
-
329
- result = CSTR2RVAL(key);
330
- g_free(key);
331
- return result;
332
- }
333
-
334
- static VALUE
335
- rbglib_m_utf8_to_utf16(VALUE self, VALUE rb_utf8)
336
- {
337
- VALUE result;
338
- gchar *utf8;
339
- gunichar2 *utf16;
340
- glong len, items_written;
341
- GError *error = NULL;
342
-
343
- utf8 = StringValueCStr(rb_utf8);
344
- len = RSTRING_LEN(rb_utf8);
345
-
346
- utf16 = g_utf8_to_utf16(utf8, len, NULL, &items_written, &error);
347
-
348
- if (error)
349
- RAISE_GERROR(error);
350
-
351
- result = rbg_utf16_to_rval_len((char *)utf16,
352
- items_written * sizeof(*utf16));
353
- g_free(utf16);
354
- return result;
355
- }
356
-
357
- static VALUE
358
- rbglib_m_utf8_to_ucs4(int argc, VALUE *argv, VALUE self)
359
- {
360
- VALUE result, rb_utf8, is_fast;
361
- gchar *utf8;
362
- gunichar *ucs4;
363
- glong len, items_written;
364
-
365
- rb_scan_args(argc, argv, "11", &rb_utf8, &is_fast);
366
-
367
- utf8 = StringValueCStr(rb_utf8);
368
- len = RSTRING_LEN(rb_utf8);
369
-
370
- if (RVAL2CBOOL(is_fast)) {
371
- ucs4 = g_utf8_to_ucs4_fast(utf8, len, &items_written);
372
- } else {
373
- GError *error = NULL;
374
- ucs4 = g_utf8_to_ucs4(utf8, len, NULL, &items_written, &error);
375
-
376
- if (error)
377
- RAISE_GERROR(error);
378
- }
379
-
380
- result = rbg_ucs4_to_rval_len((char *)ucs4, items_written * sizeof(*ucs4));
381
- g_free(ucs4);
382
- return result;
383
- }
384
-
385
- static VALUE
386
- rbglib_m_utf16_to_ucs4(VALUE self, VALUE rb_utf16)
387
- {
388
- VALUE result;
389
- gunichar *ucs4;
390
- gunichar2 *utf16;
391
- glong len, items_written;
392
- GError *error = NULL;
393
-
394
- utf16 = (gunichar2 *)StringValueCStr(rb_utf16);
395
- len = RSTRING_LEN(rb_utf16) / sizeof(*utf16);
396
-
397
- ucs4 = g_utf16_to_ucs4(utf16, len, NULL, &items_written, &error);
398
-
399
- if (error)
400
- RAISE_GERROR(error);
401
-
402
- result = rbg_ucs4_to_rval_len((char *)ucs4, items_written * sizeof(*ucs4));
403
- g_free(ucs4);
404
- return result;
405
- }
406
-
407
- static VALUE
408
- rbglib_m_utf16_to_utf8(VALUE self, VALUE rb_utf16)
409
- {
410
- VALUE result;
411
- gchar *utf8;
412
- gunichar2 *utf16;
413
- glong len, items_written;
414
- GError *error = NULL;
415
-
416
- utf16 = (gunichar2 *)StringValueCStr(rb_utf16);
417
- len = RSTRING_LEN(rb_utf16) / sizeof(*utf16);
418
-
419
- utf8 = g_utf16_to_utf8(utf16, len, NULL, &items_written, &error);
420
-
421
- if (error)
422
- RAISE_GERROR(error);
423
-
424
- result = CSTR2RVAL_LEN(utf8, items_written * sizeof(*utf8));
425
- g_free(utf8);
426
- return result;
427
- }
428
-
429
- static VALUE
430
- rbglib_m_ucs4_to_utf16(VALUE self, VALUE rb_ucs4)
431
- {
432
- VALUE result;
433
- gunichar *ucs4;
434
- gunichar2 *utf16;
435
- glong len, items_written;
436
- GError *error = NULL;
437
-
438
- ucs4 = (gunichar *)StringValuePtr(rb_ucs4);
439
- len = RSTRING_LEN(rb_ucs4) / sizeof(*ucs4);
440
-
441
- utf16 = g_ucs4_to_utf16(ucs4, len, NULL, &items_written, &error);
442
-
443
- if (error)
444
- RAISE_GERROR(error);
445
-
446
- result = rbg_utf16_to_rval_len((char *)utf16,
447
- items_written * sizeof(*utf16));
448
- g_free(utf16);
449
- return result;
450
- }
451
-
452
- static VALUE
453
- rbglib_m_ucs4_to_utf8(VALUE self, VALUE rb_ucs4)
454
- {
455
- VALUE result;
456
- gunichar *ucs4;
457
- gchar *utf8;
458
- glong len, items_written;
459
- GError *error = NULL;
460
-
461
- ucs4 = (gunichar *)StringValuePtr(rb_ucs4);
462
- len = RSTRING_LEN(rb_ucs4) / sizeof(*ucs4);
463
-
464
- utf8 = g_ucs4_to_utf8(ucs4, len, NULL, &items_written, &error);
465
-
466
- if (error)
467
- RAISE_GERROR(error);
468
-
469
- result = CSTR2RVAL_LEN(utf8, items_written);
470
- g_free(utf8);
471
- return result;
472
- }
473
-
474
- static VALUE
475
- rbglib_m_unichar_to_utf8(VALUE self, VALUE unichar)
476
- {
477
- gchar utf8[6];
478
- gint len;
479
-
480
- len = g_unichar_to_utf8(NUM2UINT(unichar), utf8);
481
- return CSTR2RVAL_LEN(utf8, len);
482
- }
483
-
484
66
  void
485
67
  Init_glib_unicode(void)
486
68
  {
487
- VALUE mGLibUniChar, mGLibUnicode, mGLibUTF8, mGLibUTF16, mGLibUCS4;
488
-
489
- mGLibUniChar = rb_define_module_under(mGLib, "UniChar");
490
- mGLibUnicode = rb_define_module_under(mGLib, "Unicode");
491
- mGLibUTF8 = rb_define_module_under(mGLib, "UTF8");
492
- mGLibUTF16 = rb_define_module_under(mGLib, "UTF16");
493
- mGLibUCS4 = rb_define_module_under(mGLib, "UCS4");
69
+ VALUE RG_TARGET_NAMESPACE = rb_define_module_under(mGLib, "Unicode");
494
70
 
495
71
  /* GUnicodeType */
496
- G_DEF_CLASS(G_TYPE_UNICODE_TYPE, "Type", mGLibUnicode);
497
- G_DEF_CONSTANTS(mGLibUnicode, G_TYPE_UNICODE_TYPE, "G_UNICODE_");
72
+ G_DEF_CLASS(G_TYPE_UNICODE_TYPE, "Type", RG_TARGET_NAMESPACE);
73
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, G_TYPE_UNICODE_TYPE, "G_UNICODE_");
498
74
  /* GUnicodeBreakType */
499
- G_DEF_CLASS(G_TYPE_UNICODE_BREAK_TYPE, "BreakType", mGLibUnicode);
500
- G_DEF_CONSTANTS(mGLibUnicode, G_TYPE_UNICODE_BREAK_TYPE, "G_UNICODE_");
75
+ G_DEF_CLASS(G_TYPE_UNICODE_BREAK_TYPE, "BreakType", RG_TARGET_NAMESPACE);
76
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, G_TYPE_UNICODE_BREAK_TYPE, "G_UNICODE_");
501
77
 
502
78
  #if GLIB_CHECK_VERSION(2,14,0)
503
79
  /* GUnicodeScript */
504
- G_DEF_CLASS(G_TYPE_UNICODE_SCRIPT, "Script", mGLibUnicode);
505
- G_DEF_CONSTANTS(mGLibUnicode, G_TYPE_UNICODE_SCRIPT, "G_UNICODE_");
80
+ G_DEF_CLASS(G_TYPE_UNICODE_SCRIPT, "Script", RG_TARGET_NAMESPACE);
81
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, G_TYPE_UNICODE_SCRIPT, "G_UNICODE_");
506
82
  #endif
507
83
 
508
84
  G_DEF_CLASS(G_TYPE_NORMALIZE_MODE, "NormalizeMode", mGLib);
509
85
 
510
86
  rb_define_module_function(mGLib, "charset", rbglib_m_charset, 0);
511
87
 
512
- rb_define_module_function(mGLibUniChar, "alnum?",
513
- rbglib_m_unichar_isalnum, 1);
514
- rb_define_module_function(mGLibUniChar, "alpha?",
515
- rbglib_m_unichar_isalpha, 1);
516
- rb_define_module_function(mGLibUniChar, "cntrl?",
517
- rbglib_m_unichar_iscntrl, 1);
518
- rb_define_module_function(mGLibUniChar, "digit?",
519
- rbglib_m_unichar_isdigit, 1);
520
- rb_define_module_function(mGLibUniChar, "graph?",
521
- rbglib_m_unichar_isgraph, 1);
522
- rb_define_module_function(mGLibUniChar, "lower?",
523
- rbglib_m_unichar_islower, 1);
524
- rb_define_module_function(mGLibUniChar, "print?",
525
- rbglib_m_unichar_isprint, 1);
526
- rb_define_module_function(mGLibUniChar, "punct?",
527
- rbglib_m_unichar_ispunct, 1);
528
- rb_define_module_function(mGLibUniChar, "space?",
529
- rbglib_m_unichar_isspace, 1);
530
- rb_define_module_function(mGLibUniChar, "upper?",
531
- rbglib_m_unichar_isupper, 1);
532
- rb_define_module_function(mGLibUniChar, "xdigit?",
533
- rbglib_m_unichar_isxdigit, 1);
534
- rb_define_module_function(mGLibUniChar, "title?",
535
- rbglib_m_unichar_istitle, 1);
536
- rb_define_module_function(mGLibUniChar, "defined?",
537
- rbglib_m_unichar_isdefined, 1);
538
- rb_define_module_function(mGLibUniChar, "wide?",
539
- rbglib_m_unichar_iswide, 1);
540
- #if GLIB_CHECK_VERSION(2,12,0)
541
- rb_define_module_function(mGLibUniChar, "wide_cjk?",
542
- rbglib_m_unichar_iswide_cjk, 1);
543
- #endif
544
-
545
- rb_define_module_function(mGLibUniChar, "to_upper",
546
- rbglib_m_unichar_toupper, 1);
547
- rb_define_module_function(mGLibUniChar, "to_lower",
548
- rbglib_m_unichar_tolower, 1);
549
- rb_define_module_function(mGLibUniChar, "to_title",
550
- rbglib_m_unichar_totitle, 1);
551
-
552
- rb_define_module_function(mGLibUniChar, "digit_value",
553
- rbglib_m_unichar_digit_value, 1);
554
- rb_define_module_function(mGLibUniChar, "xdigit_value",
555
- rbglib_m_unichar_xdigit_value, 1);
556
-
557
- rb_define_module_function(mGLibUniChar, "type", rbglib_m_unichar_type, 1);
558
- rb_define_module_function(mGLibUniChar, "break_type",
559
- rbglib_m_unichar_break_type, 1);
560
-
561
- rb_define_singleton_method(mGLibUnicode, "canonical_ordering",
562
- rbglib_m_unicode_canonical_ordering, 1);
563
- rb_define_singleton_method(mGLibUnicode, "canonical_decomposition",
564
- rbglib_m_unicode_canonical_decomposition, 1);
565
-
566
- #if GLIB_CHECK_VERSION(2,4,0)
567
- rb_define_module_function(mGLibUniChar, "get_mirror_char",
568
- rbglib_m_unichar_get_mirror_char, 1);
569
- #endif
570
-
571
- #if GLIB_CHECK_VERSION(2,14,0)
572
- rb_define_module_function(mGLibUniChar, "combining_class",
573
- rbglib_m_unichar_combining_class, 1);
574
- rb_define_module_function(mGLibUniChar, "get_script",
575
- rbglib_m_unichar_get_script, 1);
576
- rb_define_module_function(mGLibUniChar, "mark?",
577
- rbglib_m_unichar_ismark, 1);
578
- rb_define_module_function(mGLibUniChar, "zero_width?",
579
- rbglib_m_unichar_iszerowidth, 1);
580
- #endif
581
-
582
- /*
583
- Not implemented.
584
- g_utf8_next_char
585
- */
586
- rb_define_module_function(mGLibUTF8, "get_char",
587
- rbglib_m_utf8_get_char, -1);
588
- /*
589
- Not implemented.
590
- g_utf8_offset_to_pointer
591
- g_utf8_pointer_to_offset
592
- g_utf8_prev_char
593
- g_utf8_find_next_char
594
- g_utf8_find_prev_char
595
- g_utf8_prev_char
596
- */
597
- rb_define_module_function(mGLibUTF8, "size", rbglib_m_utf8_strlen, 1);
598
- /*
599
- Not implemented.
600
- g_utf8_strncpy
601
- g_utf8_strrchr
602
- */
603
- rb_define_module_function(mGLibUTF8, "reverse",
604
- rbglib_m_utf8_strreverse, 1);
605
- rb_define_module_function(mGLibUTF8, "validate",
606
- rbglib_m_utf8_validate, 1);
607
-
608
- rb_define_module_function(mGLibUTF8, "upcase",
609
- rbglib_m_utf8_strup, 1);
610
- rb_define_module_function(mGLibUTF8, "downcase",
611
- rbglib_m_utf8_strdown, 1);
612
- rb_define_module_function(mGLibUTF8, "casefold",
613
- rbglib_m_utf8_casefold, 1);
614
-
615
- rb_define_module_function(mGLibUTF8, "normalize",
616
- rbglib_m_utf8_normalize, -1);
617
-
618
- rb_define_module_function(mGLibUTF8, "collate",
619
- rbglib_m_utf8_collate, 2);
620
- rb_define_module_function(mGLibUTF8, "collate_key",
621
- rbglib_m_utf8_collate_key, -1);
622
-
623
- rb_define_module_function(mGLibUTF8, "to_utf16",
624
- rbglib_m_utf8_to_utf16, 1);
625
- rb_define_module_function(mGLibUTF8, "to_ucs4",
626
- rbglib_m_utf8_to_ucs4, -1);
627
-
628
- rb_define_module_function(mGLibUTF16, "to_ucs4",
629
- rbglib_m_utf16_to_ucs4, 1);
630
- rb_define_module_function(mGLibUTF16, "to_utf8",
631
- rbglib_m_utf16_to_utf8, 1);
632
-
633
- rb_define_module_function(mGLibUCS4, "to_utf16",
634
- rbglib_m_ucs4_to_utf16, 1);
635
- rb_define_module_function(mGLibUCS4, "to_utf8",
636
- rbglib_m_ucs4_to_utf8, 1);
637
-
638
- rb_define_module_function(mGLibUniChar, "to_utf8",
639
- rbglib_m_unichar_to_utf8, 1);
88
+ RG_DEF_SMETHOD(canonical_ordering, 1);
89
+ RG_DEF_SMETHOD(canonical_decomposition, 1);
640
90
  }