gobject-introspection 3.1.8-x86-mingw32 → 3.1.9-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/gobject-introspection/rb-gi-argument.c +49 -9
  4. data/ext/gobject-introspection/rb-gi-loader.c +74 -1
  5. data/lib/2.2/gobject_introspection.so +0 -0
  6. data/lib/2.3/gobject_introspection.so +0 -0
  7. data/lib/2.4/gobject_introspection.so +0 -0
  8. data/test/run-test.rb +1 -1
  9. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  10. data/vendor/local/bin/g-ir-generate.exe +0 -0
  11. data/vendor/local/bin/g-ir-inspect.exe +0 -0
  12. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  13. data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
  14. data/vendor/local/lib/girepository-1.0/GModule-2.0.typelib +0 -0
  15. data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
  16. data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
  17. data/vendor/local/lib/girepository-1.0/cairo-1.0.typelib +0 -0
  18. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
  19. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
  20. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  21. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  22. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  23. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  24. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  25. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  26. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +8 -14
  27. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  28. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  29. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.py +48 -51
  30. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
  31. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
  32. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  33. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  34. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
  35. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
  36. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
  37. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
  38. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
  39. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
  40. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  41. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  42. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  43. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  44. data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +39 -66
  45. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  46. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  47. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  48. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  49. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  50. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  51. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  52. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  53. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  54. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  55. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  56. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  57. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  58. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  59. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  60. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  61. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyc +0 -0
  62. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyo +0 -0
  63. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  64. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  65. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  66. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  67. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  68. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  69. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +3 -1
  70. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  71. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  72. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  73. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  74. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  75. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  76. data/vendor/local/lib/gobject-introspection/giscanner/utils.py +3 -3
  77. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  78. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  79. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  80. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  81. data/vendor/local/lib/libgirepository-1.0.a +0 -0
  82. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  83. data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +1 -1
  84. data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +1 -1
  85. data/vendor/local/share/gir-1.0/GLib-2.0.gir +579 -528
  86. data/vendor/local/share/gir-1.0/GModule-2.0.gir +0 -25
  87. data/vendor/local/share/gir-1.0/GObject-2.0.gir +160 -3
  88. data/vendor/local/share/gir-1.0/Gio-2.0.gir +198 -83
  89. data/vendor/local/share/gir-1.0/cairo-1.0.gir +622 -21
  90. data/vendor/local/share/gir-1.0/gir-1.2.rnc +479 -0
  91. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +2 -1
  92. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +1 -1
  93. data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +50 -1
  94. data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +7 -0
  95. metadata +5 -4
@@ -821,11 +821,12 @@ regress_annotation_return_filename (void)
821
821
 
822
822
  /**
823
823
  * regress_annotation_transfer_floating:
824
+ * @object: (in) (transfer floating): an object
824
825
  *
825
826
  * Returns: (transfer floating): A floating object
826
827
  */
827
828
  GObject *
828
- regress_annotation_transfer_floating(void)
829
+ regress_annotation_transfer_floating (GObject *object)
829
830
  {
830
831
  return NULL;
831
832
  }
@@ -276,7 +276,7 @@ gchar* regress_annotation_return_filename (void);
276
276
 
277
277
 
278
278
  _GI_TEST_EXTERN
279
- GObject * regress_annotation_transfer_floating(void);
279
+ GObject * regress_annotation_transfer_floating (GObject *object);
280
280
 
281
281
  /* This one we can handle properly */
282
282
  #define REGRESS_ANNOTATION_CALCULATED_DEFINE (10 * 10)
@@ -2097,7 +2097,8 @@ enum
2097
2097
  PROP_TEST_OBJ_FLOAT,
2098
2098
  PROP_TEST_OBJ_DOUBLE,
2099
2099
  PROP_TEST_OBJ_STRING,
2100
- PROP_TEST_OBJ_GTYPE
2100
+ PROP_TEST_OBJ_GTYPE,
2101
+ PROP_TEST_OBJ_NAME_CONFLICT
2101
2102
  };
2102
2103
 
2103
2104
  static void
@@ -2161,6 +2162,10 @@ regress_test_obj_set_property (GObject *object,
2161
2162
  self->gtype = g_value_get_gtype (value);
2162
2163
  break;
2163
2164
 
2165
+ case PROP_TEST_OBJ_NAME_CONFLICT:
2166
+ self->name_conflict = g_value_get_int (value);
2167
+ break;
2168
+
2164
2169
  default:
2165
2170
  /* We don't have any other property... */
2166
2171
  G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
@@ -2218,6 +2223,10 @@ regress_test_obj_get_property (GObject *object,
2218
2223
  g_value_set_gtype (value, self->gtype);
2219
2224
  break;
2220
2225
 
2226
+ case PROP_TEST_OBJ_NAME_CONFLICT:
2227
+ g_value_set_int (value, self->name_conflict);
2228
+ break;
2229
+
2221
2230
  default:
2222
2231
  /* We don't have any other property... */
2223
2232
  G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
@@ -2664,6 +2673,20 @@ regress_test_obj_class_init (RegressTestObjClass *klass)
2664
2673
  PROP_TEST_OBJ_GTYPE,
2665
2674
  pspec);
2666
2675
 
2676
+ /**
2677
+ * TestObj:name-conflict:
2678
+ */
2679
+ pspec = g_param_spec_int ("name-conflict",
2680
+ "name-conflict property",
2681
+ "A property name that conflicts with a method",
2682
+ G_MININT,
2683
+ G_MAXINT,
2684
+ 42,
2685
+ G_PARAM_CONSTRUCT | G_PARAM_READWRITE);
2686
+ g_object_class_install_property (gobject_class,
2687
+ PROP_TEST_OBJ_NAME_CONFLICT,
2688
+ pspec);
2689
+
2667
2690
  klass->matrix = regress_test_obj_default_matrix;
2668
2691
  }
2669
2692
 
@@ -3094,6 +3117,15 @@ regress_test_obj_not_nullable_element_typed_gpointer_in (RegressTestObj *obj,
3094
3117
  {
3095
3118
  }
3096
3119
 
3120
+ /**
3121
+ * regress_test_obj_name_conflict:
3122
+ * @obj: A #RegressTestObj
3123
+ */
3124
+ void
3125
+ regress_test_obj_name_conflict (RegressTestObj *obj)
3126
+ {
3127
+ }
3128
+
3097
3129
  /**
3098
3130
  * regress_test_array_fixed_out_objects:
3099
3131
  * @objs: (out) (array fixed-size=2) (transfer full): An array of #RegressTestObj
@@ -4121,6 +4153,23 @@ regress_test_strv_in_gvalue (void)
4121
4153
  return value;
4122
4154
  }
4123
4155
 
4156
+ /**
4157
+ * regress_test_null_strv_in_gvalue:
4158
+ *
4159
+ * Returns: (transfer full):
4160
+ */
4161
+ GValue *
4162
+ regress_test_null_strv_in_gvalue (void)
4163
+ {
4164
+ GValue *value = g_new0 (GValue, 1);
4165
+ const char **strv = NULL;
4166
+
4167
+ g_value_init (value, G_TYPE_STRV);
4168
+ g_value_set_boxed (value, strv);
4169
+
4170
+ return value;
4171
+ }
4172
+
4124
4173
  /**
4125
4174
  * regress_test_multiline_doc_comments:
4126
4175
  *
@@ -771,6 +771,7 @@ struct _RegressTestObj
771
771
  double some_double;
772
772
  char* string;
773
773
  GType gtype;
774
+ gint name_conflict;
774
775
 
775
776
  /* < private > */
776
777
  void (*function_ptr) (void);
@@ -940,6 +941,9 @@ void regress_test_obj_not_nullable_element_typed_gpointer_in (RegressTestObj *ob
940
941
  gpointer input,
941
942
  guint count);
942
943
 
944
+ _GI_TEST_EXTERN
945
+ void regress_test_obj_name_conflict (RegressTestObj *obj);
946
+
943
947
  /* inheritance */
944
948
  #define REGRESS_TEST_TYPE_SUB_OBJ (regress_test_sub_obj_get_type ())
945
949
  #define REGRESS_TEST_SUB_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_TEST_TYPE_SUB_OBJ, RegressTestSubObj))
@@ -1278,6 +1282,9 @@ GValue *regress_test_date_in_gvalue (void);
1278
1282
  _GI_TEST_EXTERN
1279
1283
  GValue *regress_test_strv_in_gvalue (void);
1280
1284
 
1285
+ _GI_TEST_EXTERN
1286
+ GValue *regress_test_null_strv_in_gvalue (void);
1287
+
1281
1288
 
1282
1289
  _GI_TEST_EXTERN
1283
1290
  GObject * _regress_this_is_a_private_symbol (void);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobject-introspection
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.8
4
+ version: 3.1.9
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-15 00:00:00.000000000 Z
11
+ date: 2017-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.8
19
+ version: 3.1.9
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.1.8
26
+ version: 3.1.9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: test-unit
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -314,6 +314,7 @@ files:
314
314
  - vendor/local/share/gir-1.0/cairo-1.0.gir
315
315
  - vendor/local/share/gir-1.0/fontconfig-2.0.gir
316
316
  - vendor/local/share/gir-1.0/freetype2-2.0.gir
317
+ - vendor/local/share/gir-1.0/gir-1.2.rnc
317
318
  - vendor/local/share/gir-1.0/libxml2-2.0.gir
318
319
  - vendor/local/share/gir-1.0/win32-1.0.gir
319
320
  - vendor/local/share/gir-1.0/xfixes-4.0.gir