glib2 3.0.9-x64-mingw32 → 3.1.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/glib2/extconf.rb +0 -3
  4. data/ext/glib2/glib2.def +3 -0
  5. data/ext/glib2/rbglib.c +52 -20
  6. data/ext/glib2/rbglib.h +2 -2
  7. data/ext/glib2/rbglib_iochannel.c +1 -1
  8. data/ext/glib2/rbglib_mainloop.c +34 -11
  9. data/ext/glib2/rbglib_messages.c +21 -14
  10. data/ext/glib2/rbgobj_closure.c +65 -28
  11. data/ext/glib2/rbgobj_signal.c +38 -2
  12. data/ext/glib2/rbgobject.h +16 -0
  13. data/ext/glib2/rbgutil.c +6 -6
  14. data/lib/2.2/glib2.so +0 -0
  15. data/lib/2.3/glib2.so +0 -0
  16. data/lib/glib2.rb +8 -3
  17. data/lib/gnome2/rake/external-package.rb +24 -1
  18. data/lib/gnome2/rake/windows-binary-build-task.rb +339 -338
  19. data/vendor/local/bin/asn1Coding.exe +0 -0
  20. data/vendor/local/bin/asn1Decoding.exe +0 -0
  21. data/vendor/local/bin/asn1Parser.exe +0 -0
  22. data/vendor/local/bin/envsubst.exe +0 -0
  23. data/vendor/local/bin/gdbus.exe +0 -0
  24. data/vendor/local/bin/gettext.exe +0 -0
  25. data/vendor/local/bin/gio-querymodules.exe +0 -0
  26. data/vendor/local/bin/gio.exe +0 -0
  27. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  28. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  29. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  30. data/vendor/local/bin/glib-gettextize +1 -1
  31. data/vendor/local/bin/glib-mkenums +1 -1
  32. data/vendor/local/bin/gobject-query.exe +0 -0
  33. data/vendor/local/bin/gresource.exe +0 -0
  34. data/vendor/local/bin/gsettings.exe +0 -0
  35. data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
  36. data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
  37. data/vendor/local/bin/iconv.exe +0 -0
  38. data/vendor/local/bin/idn.exe +0 -0
  39. data/vendor/local/bin/libasprintf-0.dll +0 -0
  40. data/vendor/local/bin/libcharset-1.dll +0 -0
  41. data/vendor/local/bin/libffi-6.dll +0 -0
  42. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  43. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  44. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  45. data/vendor/local/bin/libgmp-10.dll +0 -0
  46. data/vendor/local/bin/libgnutls-30.dll +0 -0
  47. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  48. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  49. data/vendor/local/bin/libhogweed-4-2.dll +0 -0
  50. data/vendor/local/bin/libiconv-2.dll +0 -0
  51. data/vendor/local/bin/libidn-11.dll +0 -0
  52. data/vendor/local/bin/libintl-8.dll +0 -0
  53. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  54. data/vendor/local/bin/libp11-kit-0.dll +0 -0
  55. data/vendor/local/bin/libpcre-1.dll +0 -0
  56. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  57. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  58. data/vendor/local/bin/libtasn1-6.dll +0 -0
  59. data/vendor/local/bin/nettle-hash.exe +0 -0
  60. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  61. data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
  62. data/vendor/local/bin/ngettext.exe +0 -0
  63. data/vendor/local/bin/p11-kit.exe +0 -0
  64. data/vendor/local/bin/pcregrep.exe +0 -0
  65. data/vendor/local/bin/pcretest.exe +0 -0
  66. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  67. data/vendor/local/bin/sexp-conv.exe +0 -0
  68. data/vendor/local/bin/trust.exe +0 -0
  69. data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -0
  70. data/vendor/local/include/glib-2.0/gio/gdrive.h +4 -0
  71. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +9 -0
  72. data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
  73. data/vendor/local/include/glib-2.0/gio/gioenums.h +10 -10
  74. data/vendor/local/include/glib-2.0/gio/giotypes.h +1 -1
  75. data/vendor/local/include/glib-2.0/gio/gsettings.h +14 -0
  76. data/vendor/local/include/glib-2.0/gio/gvfs.h +36 -0
  77. data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -1
  78. data/vendor/local/include/glib-2.0/glib/ghmac.h +5 -0
  79. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +6 -0
  80. data/vendor/local/include/glib-2.0/glib/gmacros.h +1 -1
  81. data/vendor/local/include/glib-2.0/glib/gmain.h +11 -0
  82. data/vendor/local/include/glib-2.0/glib/gmessages.h +211 -2
  83. data/vendor/local/include/glib-2.0/glib/gtypes.h +2 -1
  84. data/vendor/local/include/glib-2.0/glib/gunicode.h +23 -3
  85. data/vendor/local/include/glib-2.0/glib/gutils.h +10 -0
  86. data/vendor/local/include/glib-2.0/glib/gvariant.h +71 -2
  87. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -1
  88. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +23 -0
  89. data/vendor/local/include/glib-2.0/gobject/gparam.h +2 -1
  90. data/vendor/local/include/glib-2.0/gobject/gsignal.h +1 -1
  91. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +2 -0
  92. data/vendor/local/include/gmp.h +1 -1
  93. data/vendor/local/include/nettle/nettle-stdint.h +1 -1
  94. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  95. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  96. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  97. data/vendor/local/lib/glib-2.0/include/glibconfig.h +3 -2
  98. data/vendor/local/lib/libasprintf.a +0 -0
  99. data/vendor/local/lib/libasprintf.dll.a +0 -0
  100. data/vendor/local/lib/libcharset.a +0 -0
  101. data/vendor/local/lib/libcharset.dll.a +0 -0
  102. data/vendor/local/lib/libffi.a +0 -0
  103. data/vendor/local/lib/libffi.dll.a +0 -0
  104. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  105. data/vendor/local/lib/libgio-2.0.la +5 -5
  106. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  107. data/vendor/local/lib/libglib-2.0.la +5 -5
  108. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  109. data/vendor/local/lib/libgmodule-2.0.la +5 -5
  110. data/vendor/local/lib/libgmp.dll.a +0 -0
  111. data/vendor/local/lib/libgnutls.dll.a +0 -0
  112. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  113. data/vendor/local/lib/libgobject-2.0.la +5 -5
  114. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  115. data/vendor/local/lib/libgthread-2.0.la +5 -5
  116. data/vendor/local/lib/libhogweed.a +0 -0
  117. data/vendor/local/lib/libhogweed.dll.a +0 -0
  118. data/vendor/local/lib/libiconv.dll.a +0 -0
  119. data/vendor/local/lib/libidn.a +0 -0
  120. data/vendor/local/lib/libidn.dll.a +0 -0
  121. data/vendor/local/lib/libintl.a +0 -0
  122. data/vendor/local/lib/libintl.dll.a +0 -0
  123. data/vendor/local/lib/libnettle.a +0 -0
  124. data/vendor/local/lib/libnettle.dll.a +0 -0
  125. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  126. data/vendor/local/lib/libpcre.a +0 -0
  127. data/vendor/local/lib/libpcre.dll.a +0 -0
  128. data/vendor/local/lib/libpcrecpp.a +0 -0
  129. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  130. data/vendor/local/lib/libpcreposix.a +0 -0
  131. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  132. data/vendor/local/lib/libtasn1.a +0 -0
  133. data/vendor/local/lib/libtasn1.dll.a +0 -0
  134. data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
  135. data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
  136. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  137. data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
  138. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  139. data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
  140. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  141. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  142. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  143. data/vendor/local/lib/pkgconfig/gnutls.pc +1 -1
  144. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
  145. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  146. data/vendor/local/share/bash-completion/completions/gsettings +3 -3
  147. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.1-gdb.py → libglib-2.0.so.0.5000.2-gdb.py} +1 -1
  148. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.1-gdb.py → libgobject-2.0.so.0.5000.2-gdb.py} +1 -1
  149. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  150. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  151. data/vendor/local/share/glib-2.0/codegen/codegen.py +32 -22
  152. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  153. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  154. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  155. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  156. data/vendor/local/share/glib-2.0/codegen/codegen_main.py +3 -0
  157. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  158. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  159. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  160. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  161. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  162. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  163. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  164. data/vendor/local/share/glib-2.0/codegen/parser.py +8 -4
  165. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  166. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  167. data/vendor/local/share/glib-2.0/codegen/utils.py +8 -2
  168. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  169. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  170. data/vendor/local/share/glib-2.0/gdb/{glib.py → glib_gdb.py} +0 -0
  171. data/vendor/local/share/glib-2.0/gdb/{gobject.py → gobject_gdb.py} +3 -3
  172. data/vendor/local/share/gtk-doc/html/gio/GAction.html +1 -1
  173. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1 -1
  174. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
  175. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +115 -8
  176. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +4 -4
  177. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +2 -1
  178. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +1 -1
  179. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +1 -1
  180. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +1 -1
  181. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +1 -1
  182. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +5 -5
  183. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +1 -1
  184. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +6 -6
  185. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +1 -1
  186. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +1 -1
  187. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1 -1
  188. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +3 -3
  189. data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +8 -7
  190. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +44 -1
  191. data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +1 -1
  192. data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1 -1
  193. data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +1 -1
  194. data/vendor/local/share/gtk-doc/html/gio/GFile.html +25 -23
  195. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +1 -1
  196. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +1 -1
  197. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +18 -4
  198. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +5 -5
  199. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +14 -10
  200. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +1 -1
  201. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +1 -1
  202. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +1 -1
  203. data/vendor/local/share/gtk-doc/html/gio/GListModel.html +1 -1
  204. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +1 -1
  205. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +14 -14
  206. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1 -1
  207. data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
  208. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +5 -5
  209. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +1 -1
  210. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +1 -1
  211. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +1 -1
  212. data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +4 -4
  213. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +1 -1
  214. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +1 -1
  215. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +1 -1
  216. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +2 -0
  217. data/vendor/local/share/gtk-doc/html/gio/GResource.html +32 -2
  218. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +1 -1
  219. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +234 -11
  220. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +1 -1
  221. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +3 -3
  222. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +10 -2
  223. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +1 -1
  224. data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +9 -9
  225. data/vendor/local/share/gtk-doc/html/gio/GTask.html +6 -6
  226. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +1 -1
  227. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +1 -1
  228. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +10 -9
  229. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +1 -1
  230. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +3 -3
  231. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +1 -1
  232. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +222 -0
  233. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
  234. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
  235. data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/api-index-2-50.html +79 -0
  237. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +44 -0
  238. data/vendor/local/share/gtk-doc/html/gio/ch33.html +2 -2
  239. data/vendor/local/share/gtk-doc/html/gio/ch35.html +1 -1
  240. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +1 -1
  241. data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
  242. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +18 -6
  243. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1 -1
  244. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +7 -4
  245. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +1 -1
  246. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2 -2
  248. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +10 -6
  249. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +14 -0
  251. data/vendor/local/share/gtk-doc/html/gio/gio.html +664 -0
  252. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +19 -0
  253. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +6 -0
  254. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +7 -0
  255. data/vendor/local/share/gtk-doc/html/gio/index.html +5 -1
  256. data/vendor/local/share/gtk-doc/html/gio/pt02.html +3 -0
  257. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +10 -9
  258. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  259. data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -0
  260. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
  261. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  262. data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +1 -1
  263. data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +1 -1
  264. data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
  265. data/vendor/local/share/gtk-doc/html/glib/api-index-2-50.html +121 -0
  266. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  267. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +110 -34
  268. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +1 -1
  269. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +10 -9
  270. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +4 -4
  271. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +10 -8
  272. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +8 -8
  273. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +1 -1
  274. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +56 -2
  275. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
  276. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +2 -2
  277. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +71 -50
  278. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +74 -17
  279. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +4 -4
  280. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +1 -1
  281. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2 -2
  282. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +57 -0
  283. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
  284. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
  285. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +1009 -13
  286. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +2 -2
  287. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +84 -56
  288. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +3 -0
  289. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1 -1
  290. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +4 -4
  291. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +1 -1
  292. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2 -2
  293. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +27 -13
  294. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +36 -14
  295. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
  296. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
  297. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +4 -4
  298. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +68 -5
  299. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +17 -4
  300. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +12 -23
  301. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
  302. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -3
  303. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +1 -1
  304. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -2
  305. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +1 -1
  306. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +36 -2
  307. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +6 -6
  308. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +1 -1
  309. data/vendor/local/share/gtk-doc/html/glib/index.html +4 -4
  310. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +1 -1
  311. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +1 -1
  312. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +1 -1
  313. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +1 -1
  314. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +3 -3
  315. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2 -2
  316. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2 -2
  317. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +2 -2
  318. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
  319. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +1 -1
  320. data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
  321. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +1 -1
  322. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
  323. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
  324. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
  325. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
  326. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
  327. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  328. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  329. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
  330. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  331. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
  332. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  333. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  334. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  335. data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
  336. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  337. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  338. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  339. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
  340. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  341. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
  342. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  343. data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
  344. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  345. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  346. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  347. data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
  348. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  349. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  350. data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
  351. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  352. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  353. data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
  354. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  355. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  356. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  357. data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
  358. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  359. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  360. data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
  361. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  362. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  363. data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
  364. data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
  365. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  366. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  367. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  368. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  369. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  370. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  371. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  372. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  373. data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
  374. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  375. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  376. data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
  377. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  378. data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
  379. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  380. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  381. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  382. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  383. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  384. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  385. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  386. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  387. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  388. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  389. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
  390. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  391. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  392. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  393. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  394. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  395. data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
  396. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  397. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  398. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
  399. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
  400. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  401. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
  402. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  403. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  404. data/vendor/local/share/man/man1/gdbus-codegen.1 +8 -3
  405. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  406. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  407. data/vendor/local/share/man/man1/gio.1 +583 -0
  408. data/vendor/local/share/man/man1/glib-compile-resources.1 +19 -1
  409. data/vendor/local/share/man/man1/glib-compile-schemas.1 +6 -1
  410. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  411. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  412. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  413. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  414. data/vendor/local/share/man/man1/gresource.1 +1 -1
  415. data/vendor/local/share/man/man1/gsettings.1 +9 -1
  416. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  417. data/vendor/local/share/man/man1/gtester.1 +1 -1
  418. metadata +12 -7
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -10,9 +10,9 @@ gdbus_codegen=gdbus-codegen
10
10
 
11
11
  Name: GIO
12
12
  Description: glib I/O library
13
- Version: 2.48.1
13
+ Version: 2.50.2
14
14
  Requires: glib-2.0 gobject-2.0
15
15
  Requires.private: gmodule-no-export-2.0
16
16
  Libs: -L${libdir} -lgio-2.0
17
- Libs.private: -L/home/vagrant/rcairo.win64/vendor/local/lib -lz
17
+ Libs.private: -L/home/vagrant/rcairo.win64/vendor/local/lib -lz
18
18
  Cflags:
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: GIO Windows specific APIs
7
7
  Description: Windows specific headers for glib I/O library
8
- Version: 2.48.1
8
+ Version: 2.50.2
9
9
  Requires: gobject-2.0,gmodule-no-export-2.0,gio-2.0
10
10
  Libs: -L${libdir} -lgio-2.0
11
11
  Cflags: -I${includedir}/gio-win32-2.0/
@@ -9,8 +9,8 @@ glib_mkenums=glib-mkenums
9
9
 
10
10
  Name: GLib
11
11
  Description: C Utility Library
12
- Version: 2.48.1
12
+ Version: 2.50.2
13
13
  Requires.private: libpcre
14
14
  Libs: -L${libdir} -lglib-2.0 -lintl
15
- Libs.private: -lws2_32 -lole32 -lwinmm -lshlwapi -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lpcre -lintl
15
+ Libs.private: -lws2_32 -lole32 -lwinmm -lshlwapi -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lpcre -lintl
16
16
  Cflags: -I${includedir} -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include -mms-bitfields
@@ -8,7 +8,7 @@ gmodule_supported=true
8
8
  Name: GModule
9
9
  Description: Dynamic module loader for GLib
10
10
  Requires: glib-2.0
11
- Version: 2.48.1
11
+ Version: 2.50.2
12
12
  Libs: -L${libdir} -lgmodule-2.0
13
13
  Libs.private:
14
14
  Cflags:
@@ -8,7 +8,7 @@ gmodule_supported=true
8
8
  Name: GModule
9
9
  Description: Dynamic module loader for GLib
10
10
  Requires: glib-2.0
11
- Version: 2.48.1
11
+ Version: 2.50.2
12
12
  Libs: -L${libdir} -lgmodule-2.0
13
13
  Libs.private:
14
14
  Cflags:
@@ -8,7 +8,7 @@ gmodule_supported=true
8
8
  Name: GModule
9
9
  Description: Dynamic module loader for GLib
10
10
  Requires: glib-2.0
11
- Version: 2.48.1
11
+ Version: 2.50.2
12
12
  Libs: -L${libdir} -lgmodule-2.0
13
13
  Libs.private:
14
14
  Cflags:
@@ -19,6 +19,6 @@ Description: Transport Security Layer implementation for the GNU system
19
19
  URL: http://www.gnutls.org/
20
20
  Version: 3.4.10
21
21
  Libs: -L${libdir} -lgnutls
22
- Libs.private: /home/vagrant/rcairo.win64/vendor/local/lib/libz.dll.a -L/home/vagrant/rcairo.win64/vendor/local/lib /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.dll.a /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.dll.a -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lws2_32 /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.dll.a -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lp11-kit -lws2_32 -lgmp
22
+ Libs.private: /home/vagrant/rcairo.win64/vendor/local/lib/libz.dll.a -L/home/vagrant/rcairo.win64/vendor/local/lib /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.dll.a /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.dll.a -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lws2_32 /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.dll.a -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lp11-kit -lws2_32 -lgmp
23
23
  Requires.private: nettle, hogweed, libtasn1, libidn, p11-kit-1, zlib
24
24
  Cflags: -I${includedir}
@@ -6,7 +6,7 @@ includedir=${prefix}/include
6
6
  Name: GObject
7
7
  Description: GLib Type, Object, Parameter and Signal Library
8
8
  Requires: glib-2.0
9
- Version: 2.48.1
9
+ Version: 2.50.2
10
10
  Libs: -L${libdir} -lgobject-2.0
11
- Libs.private: -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lffi
11
+ Libs.private: -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -lffi
12
12
  Cflags:
@@ -6,6 +6,6 @@ includedir=${prefix}/include
6
6
  Name: GThread
7
7
  Description: Thread support for GLib
8
8
  Requires: glib-2.0
9
- Version: 2.48.1
9
+ Version: 2.50.2
10
10
  Libs: -L${libdir} -lgthread-2.0
11
11
  Cflags:
@@ -21,7 +21,7 @@ __gsettings() {
21
21
 
22
22
  case "$((${COMP_CWORD}-$coffset))" in
23
23
  1)
24
- choices=$'--schemadir\n--version\nhelp \nlist-schemas\nlist-relocatable-schemas\nlist-keys \nlist-children \nlist-recursively \nget \nrange \nset \nreset \nreset-recursively \nwritable \nmonitor'
24
+ choices=$'--schemadir\n--version\nhelp \nlist-schemas\nlist-relocatable-schemas\nlist-keys \nlist-children \nlist-recursively \nget \nrange \nset \nreset \nreset-recursively \nwritable \nmonitor \ndescribe '
25
25
  ;;
26
26
 
27
27
  2)
@@ -38,7 +38,7 @@ __gsettings() {
38
38
  choices="$(gsettings $schemadir list-schemas)"$'\n'"$(gsettings $schemadir list-relocatable-schemas | sed -e 's.$.:/.')"
39
39
  ;;
40
40
 
41
- get|range|set|reset|writable|monitor)
41
+ get|range|set|reset|writable|monitor|describe)
42
42
  choices="$(gsettings $schemadir list-schemas | sed -e 's.$. .')"$'\n'"$(gsettings $schemadir list-relocatable-schemas | sed -e 's.$.:/.')"
43
43
  ;;
44
44
  esac
@@ -50,7 +50,7 @@ __gsettings() {
50
50
  choices="$(gsettings $schemadir list-keys ${COMP_WORDS[$(($coffset+2))]} 2> /dev/null | sed -e 's.$. .')"
51
51
  ;;
52
52
 
53
- get|range|reset|writable|monitor)
53
+ get|range|reset|writable|monitor|describe)
54
54
  choices="$(gsettings $schemadir list-keys ${COMP_WORDS[$(($coffset+2))]} 2> /dev/null)"
55
55
  ;;
56
56
  esac
@@ -6,5 +6,5 @@ dir_ = '/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/gdb'
6
6
  if not dir_ in sys.path:
7
7
  sys.path.insert(0, dir_)
8
8
 
9
- from glib import register
9
+ from glib_gdb import register
10
10
  register (gdb.current_objfile ())
@@ -6,5 +6,5 @@ dir_ = '/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/gdb'
6
6
  if not dir_ in sys.path:
7
7
  sys.path.insert(0, dir_)
8
8
 
9
- from gobject import register
9
+ from gobject_gdb import register
10
10
  register (gdb.current_objfile ())
@@ -28,9 +28,10 @@ from . import dbustypes
28
28
  # ----------------------------------------------------------------------------------------------------
29
29
 
30
30
  class CodeGenerator:
31
- def __init__(self, ifaces, namespace, interface_prefix, generate_objmanager, docbook_gen, h, c):
31
+ def __init__(self, ifaces, namespace, interface_prefix, generate_objmanager, generate_autocleanup, docbook_gen, h, c):
32
32
  self.docbook_gen = docbook_gen
33
33
  self.generate_objmanager = generate_objmanager
34
+ self.generate_autocleanup = generate_autocleanup
34
35
  self.ifaces = ifaces
35
36
  self.h = h
36
37
  self.c = c
@@ -307,6 +308,11 @@ class CodeGenerator:
307
308
 
308
309
  self.h.write('};\n')
309
310
  self.h.write('\n')
311
+ if self.generate_autocleanup == 'all':
312
+ self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
313
+ self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%s, g_object_unref)\n' % (i.camel_name))
314
+ self.h.write('#endif\n')
315
+ self.h.write('\n')
310
316
  self.h.write('GType %s_get_type (void) G_GNUC_CONST;\n'%(i.name_lower))
311
317
  self.h.write('\n')
312
318
  self.h.write('GDBusInterfaceInfo *%s_interface_info (void);\n'%(i.name_lower))
@@ -451,11 +457,11 @@ class CodeGenerator:
451
457
  self.h.write('\n')
452
458
  self.h.write('GType %s_proxy_get_type (void) G_GNUC_CONST;\n'%(i.name_lower))
453
459
  self.h.write('\n')
454
- self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
455
- self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sProxy, g_object_unref)\n' % (i.camel_name))
456
- self.h.write('#endif\n')
457
-
458
- self.h.write('\n')
460
+ if self.generate_autocleanup in ('objects', 'all'):
461
+ self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
462
+ self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sProxy, g_object_unref)\n' % (i.camel_name))
463
+ self.h.write('#endif\n')
464
+ self.h.write('\n')
459
465
  if i.deprecated:
460
466
  self.h.write('G_GNUC_DEPRECATED ')
461
467
  self.h.write('void %s_proxy_new (\n'
@@ -542,10 +548,11 @@ class CodeGenerator:
542
548
  self.h.write('\n')
543
549
  self.h.write('GType %s_skeleton_get_type (void) G_GNUC_CONST;\n'%(i.name_lower))
544
550
  self.h.write('\n')
545
- self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
546
- self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sSkeleton, g_object_unref)\n' % (i.camel_name))
547
- self.h.write('#endif\n')
548
- self.h.write('\n')
551
+ if self.generate_autocleanup in ('objects', 'all'):
552
+ self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
553
+ self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sSkeleton, g_object_unref)\n' % (i.camel_name))
554
+ self.h.write('#endif\n')
555
+ self.h.write('\n')
549
556
  if i.deprecated:
550
557
  self.h.write('G_GNUC_DEPRECATED ')
551
558
  self.h.write('%s *%s_skeleton_new (void);\n'%(i.camel_name, i.name_lower))
@@ -610,10 +617,11 @@ class CodeGenerator:
610
617
  self.h.write('\n')
611
618
  self.h.write('GType %sobject_proxy_get_type (void) G_GNUC_CONST;\n'%(self.ns_lower))
612
619
  self.h.write('\n')
613
- self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
614
- self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectProxy, g_object_unref)\n' % (self.namespace))
615
- self.h.write('#endif\n')
616
- self.h.write('\n')
620
+ if self.generate_autocleanup in ('objects', 'all'):
621
+ self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
622
+ self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectProxy, g_object_unref)\n' % (self.namespace))
623
+ self.h.write('#endif\n')
624
+ self.h.write('\n')
617
625
  self.h.write('%sObjectProxy *%sobject_proxy_new (GDBusConnection *connection, const gchar *object_path);\n'%(self.namespace, self.ns_lower))
618
626
  self.h.write('\n')
619
627
  self.h.write('#define %sTYPE_OBJECT_SKELETON (%sobject_skeleton_get_type ())\n'%(self.ns_upper, self.ns_lower))
@@ -641,10 +649,11 @@ class CodeGenerator:
641
649
  self.h.write('\n')
642
650
  self.h.write('GType %sobject_skeleton_get_type (void) G_GNUC_CONST;\n'%(self.ns_lower))
643
651
  self.h.write('\n')
644
- self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
645
- self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectSkeleton, g_object_unref)\n' % (self.namespace))
646
- self.h.write('#endif\n')
647
- self.h.write('\n')
652
+ if self.generate_autocleanup in ('objects', 'all'):
653
+ self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
654
+ self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectSkeleton, g_object_unref)\n' % (self.namespace))
655
+ self.h.write('#endif\n')
656
+ self.h.write('\n')
648
657
  self.h.write('%sObjectSkeleton *%sobject_skeleton_new (const gchar *object_path);\n'
649
658
  %(self.namespace, self.ns_lower))
650
659
  for i in self.ifaces:
@@ -679,10 +688,11 @@ class CodeGenerator:
679
688
  self.h.write(' GDBusObjectManagerClientClass parent_class;\n')
680
689
  self.h.write('};\n')
681
690
  self.h.write('\n')
682
- self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
683
- self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectManagerClient, g_object_unref)\n' % (self.namespace))
684
- self.h.write('#endif\n')
685
- self.h.write('\n')
691
+ if self.generate_autocleanup in ('objects', 'all'):
692
+ self.h.write('#if GLIB_CHECK_VERSION(2, 44, 0)\n')
693
+ self.h.write('G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectManagerClient, g_object_unref)\n' % (self.namespace))
694
+ self.h.write('#endif\n')
695
+ self.h.write('\n')
686
696
  self.h.write('GType %sobject_manager_client_get_type (void) G_GNUC_CONST;\n'%(self.ns_lower))
687
697
  self.h.write('\n')
688
698
  self.h.write('GType %sobject_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data);\n'%(self.ns_lower))
@@ -156,6 +156,8 @@ def codegen_main():
156
156
  help='Generate a GDBusObjectManagerClient subclass when generating C code')
157
157
  arg_parser.add_option('', '--generate-c-code', metavar='OUTFILES',
158
158
  help='Generate C code in OUTFILES.[ch]')
159
+ arg_parser.add_option('', '--c-generate-autocleanup', type='choice', choices=['none', 'objects', 'all'], default='objects',
160
+ help='Generate autocleanup support')
159
161
  arg_parser.add_option('', '--generate-docbook', metavar='OUTFILES',
160
162
  help='Generate Docbook in OUTFILES-org.Project.IFace.xml')
161
163
  arg_parser.add_option('', '--annotate', nargs=3, action='append', metavar='WHAT KEY VALUE',
@@ -189,6 +191,7 @@ def codegen_main():
189
191
  opts.c_namespace,
190
192
  opts.interface_prefix,
191
193
  opts.c_generate_object_manager,
194
+ opts.c_generate_autocleanup,
192
195
  docbook_gen,
193
196
  h, c);
194
197
  ret = gen.generate()
@@ -22,4 +22,4 @@
22
22
  DATADIR = "${prefix}/share"
23
23
  DATADIR = DATADIR.replace(
24
24
  "${prefix}", "/home/vagrant/ruby-gnome2.win64/glib2/vendor/local")
25
- VERSION = "2.48.1"
25
+ VERSION = "2.50.2"
@@ -156,7 +156,8 @@ class DBusXMLParser:
156
156
  short_description = self.doc_comment_params['short_description']
157
157
  self._cur_object.doc_string_brief = short_description
158
158
  if 'since' in self.doc_comment_params:
159
- self._cur_object.since = self.doc_comment_params['since']
159
+ self._cur_object.since = \
160
+ self.doc_comment_params['since'].strip()
160
161
 
161
162
  elif self.state == DBusXMLParser.STATE_INTERFACE:
162
163
  if name == DBusXMLParser.STATE_METHOD:
@@ -186,7 +187,8 @@ class DBusXMLParser:
186
187
  if 'name' in attrs and self.doc_comment_last_symbol == attrs['name']:
187
188
  self._cur_object.doc_string = self.doc_comment_body
188
189
  if 'since' in self.doc_comment_params:
189
- self._cur_object.since = self.doc_comment_params['since']
190
+ self._cur_object.since = \
191
+ self.doc_comment_params['since'].strip()
190
192
 
191
193
  elif self.state == DBusXMLParser.STATE_METHOD:
192
194
  if name == DBusXMLParser.STATE_ARG:
@@ -218,7 +220,8 @@ class DBusXMLParser:
218
220
  if doc_string != None:
219
221
  self._cur_object.doc_string = doc_string
220
222
  if 'since' in self.doc_comment_params:
221
- self._cur_object.since = self.doc_comment_params['since']
223
+ self._cur_object.since = \
224
+ self.doc_comment_params['since'].strip()
222
225
 
223
226
  elif self.state == DBusXMLParser.STATE_SIGNAL:
224
227
  if name == DBusXMLParser.STATE_ARG:
@@ -244,7 +247,8 @@ class DBusXMLParser:
244
247
  if doc_string != None:
245
248
  self._cur_object.doc_string = doc_string
246
249
  if 'since' in self.doc_comment_params:
247
- self._cur_object.since = self.doc_comment_params['since']
250
+ self._cur_object.since = \
251
+ self.doc_comment_params['since'].strip()
248
252
 
249
253
  elif self.state == DBusXMLParser.STATE_PROPERTY:
250
254
  if name == DBusXMLParser.STATE_ANNOTATION:
@@ -96,7 +96,13 @@ def lookup_brief_docs(annotations):
96
96
  return s
97
97
 
98
98
  def version_cmp_key(key):
99
- # If the 'since' version is empty put a 0 in its place as this will
99
+ # If the 'since' version is 'UNRELEASED', compare higher than anything else
100
+ # If it is empty put a 0 in its place as this will
100
101
  # allow LooseVersion to work and will always compare lower.
101
- v = key[0] if key[0] else '0'
102
+ if key[0] == 'UNRELEASED':
103
+ v = '9999'
104
+ elif key[0]:
105
+ v = str(key[0])
106
+ else:
107
+ v = '0'
102
108
  return (distutils.version.LooseVersion(v), key[1])
@@ -1,6 +1,6 @@
1
1
  import os.path
2
2
  import gdb
3
- import glib
3
+ import glib_gdb
4
4
  import sys
5
5
 
6
6
  if sys.version_info[0] >= 3:
@@ -37,7 +37,7 @@ def g_type_to_name (gtype):
37
37
  else:
38
38
  typenode = lookup_fundamental_type (typenode)
39
39
  if typenode != None:
40
- return glib.g_quark_to_string (typenode["qname"])
40
+ return glib_gdb.g_quark_to_string (typenode["qname"])
41
41
  return None
42
42
 
43
43
  def is_g_type_instance (val):
@@ -161,7 +161,7 @@ class SignalFrame(FrameDecorator):
161
161
 
162
162
  def get_detailed_signal_from_frame(self, frame, signal):
163
163
  detail = self.read_var (frame, "detail")
164
- detail = glib.g_quark_to_string (detail)
164
+ detail = glib_gdb.g_quark_to_string (detail)
165
165
  if detail is not None:
166
166
  return signal + ":" + detail
167
167
  else:
@@ -193,7 +193,7 @@
193
193
  </div>
194
194
  <div class="refsect1">
195
195
  <a name="GAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
196
- <pre class="screen"> <a href="/home/desrt/Install/jhbuild/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
196
+ <pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
197
197
  <span class="lineart">╰──</span> GAction
198
198
  </pre>
199
199
  </div>
@@ -210,7 +210,7 @@
210
210
  </div>
211
211
  <div class="refsect1">
212
212
  <a name="GActionGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
213
- <pre class="screen"> <a href="/home/desrt/Install/jhbuild/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
213
+ <pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
214
214
  <span class="lineart">╰──</span> GActionGroup
215
215
  </pre>
216
216
  </div>
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
  <div class="refsect1">
104
104
  <a name="GActionMap.object-hierarchy"></a><h2>Object Hierarchy</h2>
105
- <pre class="screen"> <a href="/home/desrt/Install/jhbuild/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
105
+ <pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
106
106
  <span class="lineart">╰──</span> GActionMap
107
107
  </pre>
108
108
  </div>