glib2 3.1.6-x64-mingw32 → 3.1.7-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -3
  3. data/ext/glib2/rbglib-bytes.c +24 -0
  4. data/ext/glib2/rbglib.c +1 -0
  5. data/ext/glib2/rbglib.h +1 -1
  6. data/ext/glib2/rbglib_error.c +15 -1
  7. data/ext/glib2/rbgprivate.h +1 -0
  8. data/lib/2.2/glib2.so +0 -0
  9. data/lib/2.3/glib2.so +0 -0
  10. data/lib/2.4/glib2.so +0 -0
  11. data/lib/glib-mkenums.rb +1 -1
  12. data/lib/glib2.rb +1 -1
  13. data/lib/mkmf-gnome2.rb +2 -1
  14. data/vendor/local/bin/asn1Coding.exe +0 -0
  15. data/vendor/local/bin/asn1Decoding.exe +0 -0
  16. data/vendor/local/bin/asn1Parser.exe +0 -0
  17. data/vendor/local/bin/envsubst.exe +0 -0
  18. data/vendor/local/bin/gdbus.exe +0 -0
  19. data/vendor/local/bin/gettext.exe +0 -0
  20. data/vendor/local/bin/gio-querymodules.exe +0 -0
  21. data/vendor/local/bin/gio.exe +0 -0
  22. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  23. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  24. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  25. data/vendor/local/bin/glib-gettextize +1 -1
  26. data/vendor/local/bin/glib-mkenums +1 -1
  27. data/vendor/local/bin/gobject-query.exe +0 -0
  28. data/vendor/local/bin/gresource.exe +0 -0
  29. data/vendor/local/bin/gsettings.exe +0 -0
  30. data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
  31. data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
  32. data/vendor/local/bin/iconv.exe +0 -0
  33. data/vendor/local/bin/idn.exe +0 -0
  34. data/vendor/local/bin/libasprintf-0.dll +0 -0
  35. data/vendor/local/bin/libcharset-1.dll +0 -0
  36. data/vendor/local/bin/libffi-6.dll +0 -0
  37. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  38. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  39. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  40. data/vendor/local/bin/libgmp-10.dll +0 -0
  41. data/vendor/local/bin/libgnutls-30.dll +0 -0
  42. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  43. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  44. data/vendor/local/bin/libhogweed-4-2.dll +0 -0
  45. data/vendor/local/bin/libiconv-2.dll +0 -0
  46. data/vendor/local/bin/libidn-11.dll +0 -0
  47. data/vendor/local/bin/libintl-8.dll +0 -0
  48. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  49. data/vendor/local/bin/libp11-kit-0.dll +0 -0
  50. data/vendor/local/bin/libpcre-1.dll +0 -0
  51. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  52. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  53. data/vendor/local/bin/libtasn1-6.dll +0 -0
  54. data/vendor/local/bin/nettle-hash.exe +0 -0
  55. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  56. data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
  57. data/vendor/local/bin/ngettext.exe +0 -0
  58. data/vendor/local/bin/p11-kit.exe +0 -0
  59. data/vendor/local/bin/pcregrep.exe +0 -0
  60. data/vendor/local/bin/pcretest.exe +0 -0
  61. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  62. data/vendor/local/bin/sexp-conv.exe +0 -0
  63. data/vendor/local/bin/trust.exe +0 -0
  64. data/vendor/local/include/glib-2.0/glib/gmain.h +4 -1
  65. data/vendor/local/include/libtasn1.h +4 -1
  66. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  67. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  68. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  69. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  70. data/vendor/local/lib/libasprintf.dll.a +0 -0
  71. data/vendor/local/lib/libcharset.dll.a +0 -0
  72. data/vendor/local/lib/libffi.dll.a +0 -0
  73. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  74. data/vendor/local/lib/libgio-2.0.la +1 -1
  75. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  76. data/vendor/local/lib/libglib-2.0.la +1 -1
  77. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  78. data/vendor/local/lib/libgmodule-2.0.la +1 -1
  79. data/vendor/local/lib/libgmp.dll.a +0 -0
  80. data/vendor/local/lib/libgnutls.dll.a +0 -0
  81. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  82. data/vendor/local/lib/libgobject-2.0.la +1 -1
  83. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  84. data/vendor/local/lib/libgthread-2.0.la +1 -1
  85. data/vendor/local/lib/libhogweed.dll.a +0 -0
  86. data/vendor/local/lib/libiconv.dll.a +0 -0
  87. data/vendor/local/lib/libidn.dll.a +0 -0
  88. data/vendor/local/lib/libintl.dll.a +0 -0
  89. data/vendor/local/lib/libnettle.dll.a +0 -0
  90. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  91. data/vendor/local/lib/libpcre.dll.a +0 -0
  92. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  93. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  94. data/vendor/local/lib/libtasn1.a +0 -0
  95. data/vendor/local/lib/libtasn1.dll.a +0 -0
  96. data/vendor/local/lib/libtasn1.la +1 -1
  97. data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
  98. data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
  99. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  100. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  101. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  102. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  103. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  104. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  105. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  106. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  107. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  108. data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
  109. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libglib-2.0.so.0.5200.1-gdb.py → libglib-2.0.so.0.5200.3-gdb.py} +0 -0
  110. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libgobject-2.0.so.0.5200.1-gdb.py → libgobject-2.0.so.0.5200.3-gdb.py} +0 -0
  111. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  112. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  113. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  114. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  115. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.py +4 -2
  116. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  117. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  118. data/vendor/local/share/glib-2.0/codegen/codegen_main.py +3 -2
  119. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  120. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  121. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  122. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  123. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  124. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  125. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  126. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  127. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  128. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  129. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  130. data/vendor/local/share/gtk-doc/html/gio/GAction.html +1 -1
  131. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1 -1
  132. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
  133. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +2 -2
  134. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +4 -4
  135. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +1 -1
  136. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +1 -1
  137. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +1 -1
  138. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +1 -1
  139. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +1 -1
  140. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +1 -1
  141. data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +1 -1
  142. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1 -1
  143. data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +1 -1
  144. data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1 -1
  145. data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +1 -1
  146. data/vendor/local/share/gtk-doc/html/gio/GFile.html +1 -1
  147. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +1 -1
  148. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -1
  149. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +2 -2
  150. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +1 -1
  151. data/vendor/local/share/gtk-doc/html/gio/GListModel.html +1 -1
  152. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +1 -1
  153. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1 -1
  154. data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
  155. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +5 -5
  156. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +1 -1
  157. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +1 -1
  158. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +1 -1
  159. data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +4 -4
  160. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +1 -1
  161. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +1 -1
  162. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +1 -1
  163. data/vendor/local/share/gtk-doc/html/gio/GResource.html +2 -2
  164. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +1 -1
  165. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +1 -1
  166. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +1 -1
  167. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +1 -1
  168. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +1 -1
  169. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +1 -1
  170. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +1 -1
  171. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +1 -1
  172. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
  173. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +3 -3
  174. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1 -1
  175. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +1 -1
  176. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +1 -1
  177. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +1 -1
  178. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
  179. data/vendor/local/share/gtk-doc/html/gio/index.html +1 -1
  180. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1 -1
  181. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2 -2
  182. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1 -1
  183. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +2 -2
  184. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +4 -4
  185. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
  186. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
  187. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +1 -1
  189. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +1 -1
  190. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +4 -4
  191. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +15 -12
  192. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
  193. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
  194. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3 -3
  195. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +1 -1
  196. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
  197. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
  198. data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
  199. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +1 -1
  200. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +1 -1
  201. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +1 -1
  202. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
  203. data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
  204. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +1 -1
  205. data/vendor/local/share/info/libtasn1.info +3 -3
  206. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  207. data/vendor/local/share/man/man1/asn1Coding.1 +3 -3
  208. data/vendor/local/share/man/man1/asn1Decoding.1 +6 -3
  209. data/vendor/local/share/man/man1/asn1Parser.1 +3 -3
  210. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  211. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  212. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  213. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  214. data/vendor/local/share/man/man1/gio.1 +1 -1
  215. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  216. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  217. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  218. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  219. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  220. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  221. data/vendor/local/share/man/man1/gresource.1 +1 -1
  222. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  223. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  224. data/vendor/local/share/man/man1/gtester.1 +1 -1
  225. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 061fe3b7568200eb514041d35a5ea8c7960ea614
4
- data.tar.gz: a91c1009dd2560ccbef9db067bdefb227db639dc
3
+ metadata.gz: a663434c7c4602e7e14bead17a3575e9a0a246f5
4
+ data.tar.gz: bb2662abaa8ae343407bad8d645650e098705bc2
5
5
  SHA512:
6
- metadata.gz: ae27b6db6d503cd1a4f57e63d26ffc16a292dea87b33b2d101831095dddcfa97a69291f24e1b014d7fbffb23ea532521fe2b30192b459a5932eceb3cbf39f79f
7
- data.tar.gz: 3a6c787093ec1c280792cdfc8519e571ff1d698e3e55cd1aa159c008da72653ba812314411839f2c2b01f85427a8650e58cb113a6884139d5d5807e80e6aea4c
6
+ metadata.gz: 2b114c3e4abf0137ec639ede9376c937fa5be496df5a839b40e9fd478299fbc655287b8f96fa0c0c61a7293c1ef48040c81e00933700ad00879c411a63e848fb
7
+ data.tar.gz: 3531e2372df783f0b41fa3b25c327cb50fc605953323122d071fc49affec4f8f6a0b7ace83e35ec309cea19e73c61bb1882dfdd7a1027705eb3922003197271c
data/Rakefile CHANGED
@@ -88,13 +88,12 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
88
88
  :name => "glib",
89
89
  :download_site => :gnome,
90
90
  :label => "GLib",
91
- :version => "2.52.1",
91
+ :version => "2.52.3",
92
92
  :compression_method => "xz",
93
93
  :windows => {
94
94
  :need_autoreconf => true,
95
95
  :patches => [
96
96
  "glib-2.48.0-add-missing-exeext.diff",
97
- "glib-2.52.1-fix-build-error.diff",
98
97
  ],
99
98
  :built_file => "bin/libglib-2.0-0.dll",
100
99
  },
@@ -127,7 +126,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
127
126
  :name => "libtasn1",
128
127
  :download_site => :gnu,
129
128
  :label => "Libtasn1",
130
- :version => "4.10",
129
+ :version => "4.12",
131
130
  :windows => {
132
131
  :built_file => "bin/libtasn1-6.dll",
133
132
  },
@@ -63,6 +63,27 @@ rg_to_s(VALUE self)
63
63
  # endif
64
64
  return rb_data;
65
65
  }
66
+
67
+ static VALUE
68
+ rg_size(VALUE self)
69
+ {
70
+ GBytes *bytes;
71
+
72
+ bytes = _SELF(self);
73
+ return ULONG2NUM(g_bytes_get_size(bytes));
74
+ }
75
+
76
+ static VALUE
77
+ rg_pointer(VALUE self)
78
+ {
79
+ GBytes *bytes;
80
+ gconstpointer data;
81
+
82
+ bytes = _SELF(self);
83
+ data = g_bytes_get_data(bytes, NULL);
84
+
85
+ return ULONG2NUM((guintptr)data);
86
+ }
66
87
  #endif
67
88
 
68
89
  void
@@ -74,5 +95,8 @@ Init_glib_bytes(void)
74
95
  RG_DEF_METHOD(initialize, -1);
75
96
  RG_DEF_METHOD(to_s, 0);
76
97
  RG_DEF_ALIAS("to_str", "to_s");
98
+ RG_DEF_METHOD(size, 0);
99
+ RG_DEF_ALIAS("length", "size");
100
+ RG_DEF_METHOD(pointer, 0);
77
101
  #endif
78
102
  }
data/ext/glib2/rbglib.c CHANGED
@@ -1162,6 +1162,7 @@ union GDoubleIEEE754;
1162
1162
  Init_gobject();
1163
1163
 
1164
1164
  /* Require GBoxed/GObject */
1165
+ Init_glib_error_conversions();
1165
1166
  Init_glib_utils();
1166
1167
  Init_glib_spawn();
1167
1168
  Init_glib_spawnerror();
data/ext/glib2/rbglib.h CHANGED
@@ -36,7 +36,7 @@ extern "C" {
36
36
 
37
37
  #define RBGLIB_MAJOR_VERSION 3
38
38
  #define RBGLIB_MINOR_VERSION 1
39
- #define RBGLIB_MICRO_VERSION 6
39
+ #define RBGLIB_MICRO_VERSION 7
40
40
 
41
41
  #ifndef RB_ZALLOC
42
42
  # ifdef ZALLOC
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2011-2017 Ruby-GNOME2 Project Team
4
4
  * Copyright (C) 2004 Masao Mutoh
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -146,6 +146,14 @@ rbgerr_define_gerror(GQuark domain, const gchar *name, VALUE module, VALUE paren
146
146
  return error_class;
147
147
  }
148
148
 
149
+ static VALUE
150
+ rbg_error_to_ruby(const GValue *from)
151
+ {
152
+ GError *error;
153
+ error = g_value_get_boxed(from);
154
+ return GERROR2RVAL(error);
155
+ }
156
+
149
157
  void
150
158
  Init_glib_error(void)
151
159
  {
@@ -162,3 +170,9 @@ Init_glib_error(void)
162
170
  generic_error = rb_define_class_under(mGLib, "Error", rb_eRuntimeError);
163
171
  rb_include_module(generic_error, error_info);
164
172
  }
173
+
174
+ void
175
+ Init_glib_error_conversions(void)
176
+ {
177
+ rbgobj_register_g2r_func(G_TYPE_ERROR, rbg_error_to_ruby);
178
+ }
@@ -118,6 +118,7 @@ G_GNUC_INTERNAL void Init_gutil_callback(void);
118
118
  G_GNUC_INTERNAL void Init_glib_gettext(void);
119
119
  G_GNUC_INTERNAL void Init_glib_int64(void);
120
120
  G_GNUC_INTERNAL void Init_glib_error(void);
121
+ G_GNUC_INTERNAL void Init_glib_error_conversions(void);
121
122
  G_GNUC_INTERNAL void Init_glib_threads(void);
122
123
  G_GNUC_INTERNAL void Init_glib_convert(void);
123
124
  G_GNUC_INTERNAL void Init_glib_messages(void);
data/lib/2.2/glib2.so CHANGED
Binary file
data/lib/2.3/glib2.so CHANGED
Binary file
data/lib/2.4/glib2.so CHANGED
Binary file
data/lib/glib-mkenums.rb CHANGED
@@ -158,7 +158,7 @@ GType #{@enum_name}_get_type (void);
158
158
  @target_filename = target_filename
159
159
  @include_files = include_files
160
160
  @targets = []
161
- files.each do |path|
161
+ files.sort.each do |path|
162
162
  data = ""
163
163
  File.open(path) do |i|
164
164
  data = i.read
data/lib/glib2.rb CHANGED
@@ -107,10 +107,10 @@ module GLib
107
107
  begin
108
108
  require "ruby_installer/runtime"
109
109
  rescue LoadError
110
- prepend_path_to_environment_variable(path, "PATH")
111
110
  else
112
111
  RubyInstaller::Runtime.add_dll_directory(path.to_s)
113
112
  end
113
+ prepend_path_to_environment_variable(path, "PATH")
114
114
  end
115
115
  end
116
116
 
data/lib/mkmf-gnome2.rb CHANGED
@@ -151,7 +151,8 @@ def setup_homebrew_libffi
151
151
  platform = NativePackageInstaller::Platform.detect
152
152
  return unless platform.is_a?(NativePackageInstaller::Platform::Homebrew)
153
153
 
154
- PKGConfig.add_path("/usr/local/opt/libffi/lib/pkgconfig")
154
+ libffi_prefix = `brew --prefix libffi`
155
+ PKGConfig.add_path("#{libffi_prefix}/lib/pkgconfig")
155
156
  end
156
157
 
157
158
  #add_depend_package("glib2", "ext/glib2", "/...../ruby-gnome2")
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -37,7 +37,7 @@ Usage: glib-gettextize [OPTION]... [package-dir]
37
37
  -f, --force force writing of new files even if old exist
38
38
  Report bugs to http://bugzilla.gnome.org/."
39
39
  package=glib
40
- version=2.52.1
40
+ version=2.52.3
41
41
  try_ln_s=:
42
42
 
43
43
  # Directory where the sources are stored.
@@ -134,7 +134,7 @@ sub parse_entries {
134
134
  }
135
135
 
136
136
  sub version {
137
- print "glib-mkenums version glib-2.52.1\n";
137
+ print "glib-mkenums version glib-2.52.3\n";
138
138
  print "glib-mkenums comes with ABSOLUTELY NO WARRANTY.\n";
139
139
  print "You may redistribute copies of glib-mkenums under the terms of\n";
140
140
  print "the GNU General Public License which can be found in the\n";
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -104,7 +104,10 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
104
104
  * are needed for this type of event source. The return value of the
105
105
  * @dispatch function should be #G_SOURCE_REMOVE if the source should be
106
106
  * removed or #G_SOURCE_CONTINUE to keep it.
107
- * @finalize: Called when the source is finalized.
107
+ * @finalize: Called when the source is finalized. At this point, the source
108
+ * will have been destroyed, had its callback cleared, and have been removed
109
+ * from its #GMainContext, but it will still have its final reference count;
110
+ * so methods can be called on it from within this function.
108
111
  *
109
112
  * The `GSourceFuncs` struct contains a table of
110
113
  * functions used to handle event sources in a generic manner.
@@ -44,7 +44,7 @@ extern "C"
44
44
  {
45
45
  #endif
46
46
 
47
- #define ASN1_VERSION "4.10"
47
+ #define ASN1_VERSION "4.12"
48
48
 
49
49
  #if defined(__GNUC__) && !defined(ASN1_INTERNAL_BUILD)
50
50
  # define _ASN1_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
@@ -78,6 +78,7 @@ extern "C"
78
78
  #define ASN1_NAME_TOO_LONG 15
79
79
  #define ASN1_ARRAY_ERROR 16
80
80
  #define ASN1_ELEMENT_NOT_EMPTY 17
81
+ #define ASN1_TIME_ENCODING_ERROR 18
81
82
 
82
83
  /*************************************/
83
84
  /* Constants used in asn1_visit_tree */
@@ -190,6 +191,8 @@ extern "C"
190
191
  #define ASN1_DECODE_FLAG_ALLOW_PADDING 1
191
192
  /* This flag would ensure that no BER decoding takes place */
192
193
  #define ASN1_DECODE_FLAG_STRICT_DER (1<<1)
194
+ /* This flag will tolerate Time encoding errors when in strict DER */
195
+ #define ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME (1<<2)
193
196
 
194
197
 
195
198
  struct asn1_data_node_st
@@ -96,7 +96,7 @@ typedef unsigned long long guintptr;
96
96
 
97
97
  #define GLIB_MAJOR_VERSION 2
98
98
  #define GLIB_MINOR_VERSION 52
99
- #define GLIB_MICRO_VERSION 1
99
+ #define GLIB_MICRO_VERSION 3
100
100
 
101
101
  #define G_OS_WIN32
102
102
  #define G_PLATFORM_WIN32
Binary file
Binary file
Binary file
Binary file
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libgio-2.0.
26
26
  current=5200
27
27
  age=5200
28
- revision=1
28
+ revision=3
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
Binary file
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libglib-2.0.
26
26
  current=5200
27
27
  age=5200
28
- revision=1
28
+ revision=3
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
Binary file
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libgmodule-2.0.
26
26
  current=5200
27
27
  age=5200
28
- revision=1
28
+ revision=3
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
Binary file
Binary file
Binary file
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libgobject-2.0.
26
26
  current=5200
27
27
  age=5200
28
- revision=1
28
+ revision=3
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
Binary file
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libgthread-2.0.
26
26
  current=5200
27
27
  age=5200
28
- revision=1
28
+ revision=3
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes