gobject-introspection 3.2.7-x86-mingw32 → 3.2.8-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.
- checksums.yaml +4 -4
- data/ext/gobject-introspection/rb-gi-constant-info.c +2 -2
- data/ext/gobject-introspection/rb-gi-function-info.c +37 -18
- data/gobject-introspection.gemspec +2 -0
- data/lib/2.2/gobject_introspection.so +0 -0
- data/lib/2.3/gobject_introspection.so +0 -0
- data/lib/2.4/gobject_introspection.so +0 -0
- data/lib/2.5/gobject_introspection.so +0 -0
- data/lib/gobject-introspection/loader.rb +1 -1
- data/vendor/local/bin/g-ir-compiler.exe +0 -0
- data/vendor/local/bin/g-ir-generate.exe +0 -0
- data/vendor/local/bin/g-ir-inspect.exe +0 -0
- data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
- data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.la +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab4576873e2c9b8132c503af1bb924e63480ffb779bed22626333a1e8cb973bf
|
4
|
+
data.tar.gz: 9653bcc99593a2da017cfdffeaf47042d2ebff5cdc07603ba85caa2821fb14c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb59759559af4d12b55bf36aad323ea7a027710f23ef7ff00bfc0b53b32664ee1c5df07a6e102d39d08ba75ada77b5443f66b461c4cec1c053c3245c7a067a7f
|
7
|
+
data.tar.gz: cda0a68b39a98773afd1a8d1bd183f00ffeb81188f645a1312282c857a181c10ce241975c438ac013ccadc53326d458f0fdb9ca383c6fdccb006c49af6f1b0dc
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2012 Ruby-GNOME2 Project Team
|
3
|
+
* Copyright (C) 2012-2018 Ruby-GNOME2 Project Team
|
4
4
|
*
|
5
5
|
* This library is free software; you can redistribute it and/or
|
6
6
|
* modify it under the terms of the GNU Lesser General Public
|
@@ -49,7 +49,7 @@ rg_value(VALUE self)
|
|
49
49
|
{
|
50
50
|
GIConstantInfo *info;
|
51
51
|
GIArgument value;
|
52
|
-
gint value_size;
|
52
|
+
G_GNUC_UNUSED gint value_size;
|
53
53
|
GITypeInfo *type_info;
|
54
54
|
VALUE rb_value;
|
55
55
|
|
@@ -46,6 +46,7 @@ struct RBGICallbackData_ {
|
|
46
46
|
RBGICallback *callback;
|
47
47
|
RBGIArgMetadata *metadata;
|
48
48
|
VALUE rb_callback;
|
49
|
+
GObject *owner;
|
49
50
|
};
|
50
51
|
|
51
52
|
static VALUE RG_TARGET_NAMESPACE;
|
@@ -303,18 +304,6 @@ fill_metadata(GPtrArray *args_metadata, GICallableInfo *info)
|
|
303
304
|
fill_metadata_rb_arg_index(args_metadata);
|
304
305
|
}
|
305
306
|
|
306
|
-
static void
|
307
|
-
callback_data_guard_from_gc(RBGICallbackData *callback_data)
|
308
|
-
{
|
309
|
-
rbg_gc_guard(callback_data, callback_data->rb_callback);
|
310
|
-
}
|
311
|
-
|
312
|
-
static void
|
313
|
-
callback_data_unguard_from_gc(RBGICallbackData *callback_data)
|
314
|
-
{
|
315
|
-
rbg_gc_unguard(callback_data);
|
316
|
-
}
|
317
|
-
|
318
307
|
static void
|
319
308
|
rb_gi_callback_free(RBGICallback *callback)
|
320
309
|
{
|
@@ -325,13 +314,30 @@ rb_gi_callback_free(RBGICallback *callback)
|
|
325
314
|
xfree(callback);
|
326
315
|
}
|
327
316
|
|
317
|
+
static void
|
318
|
+
rb_gi_callback_data_weak_notify(gpointer data, GObject* where_the_object_was)
|
319
|
+
{
|
320
|
+
RBGICallbackData *callback_data = data;
|
321
|
+
callback_data->owner = NULL;
|
322
|
+
}
|
323
|
+
|
328
324
|
void
|
329
325
|
rb_gi_callback_data_free(RBGICallbackData *callback_data)
|
330
326
|
{
|
331
327
|
if (callback_data->callback) {
|
332
328
|
rb_gi_callback_free(callback_data->callback);
|
333
329
|
}
|
334
|
-
|
330
|
+
if (callback_data->owner) {
|
331
|
+
VALUE rb_owner;
|
332
|
+
g_object_weak_unref(callback_data->owner,
|
333
|
+
rb_gi_callback_data_weak_notify,
|
334
|
+
callback_data);
|
335
|
+
rb_owner = rbgobj_ruby_object_from_instance2(callback_data->owner,
|
336
|
+
FALSE);
|
337
|
+
if (!NIL_P(rb_owner)) {
|
338
|
+
rbgobj_object_remove_relative(rb_owner, callback_data->rb_callback);
|
339
|
+
}
|
340
|
+
}
|
335
341
|
xfree(callback_data->metadata);
|
336
342
|
xfree(callback_data);
|
337
343
|
}
|
@@ -349,7 +355,7 @@ rb_gi_callback_data_get_rb_callback(RBGICallbackData *callback_data)
|
|
349
355
|
}
|
350
356
|
|
351
357
|
static void
|
352
|
-
|
358
|
+
rb_gi_callback_data_destroy_notify(gpointer data)
|
353
359
|
{
|
354
360
|
RBGICallbackData *callback_data = data;
|
355
361
|
rb_gi_callback_data_free(callback_data);
|
@@ -1087,7 +1093,10 @@ ffi_closure_callback(G_GNUC_UNUSED ffi_cif *cif,
|
|
1087
1093
|
}
|
1088
1094
|
|
1089
1095
|
static void
|
1090
|
-
in_callback_argument_from_ruby(RBGIArgMetadata *metadata,
|
1096
|
+
in_callback_argument_from_ruby(RBGIArgMetadata *metadata,
|
1097
|
+
GArray *in_args,
|
1098
|
+
VALUE self,
|
1099
|
+
VALUE rb_arguments)
|
1091
1100
|
{
|
1092
1101
|
gpointer callback_function;
|
1093
1102
|
GIArgInfo *arg_info;
|
@@ -1140,17 +1149,27 @@ in_callback_argument_from_ruby(RBGIArgMetadata *metadata, GArray *in_args)
|
|
1140
1149
|
|
1141
1150
|
if (closure_argument) {
|
1142
1151
|
RBGICallbackData *callback_data;
|
1152
|
+
VALUE rb_owner;
|
1143
1153
|
|
1144
1154
|
callback_data = ALLOC(RBGICallbackData);
|
1145
1155
|
callback_data->callback = callback;
|
1146
1156
|
callback_data->metadata = metadata;
|
1147
1157
|
callback_data->rb_callback = rb_block_proc();
|
1148
|
-
|
1158
|
+
if (NIL_P(self)) {
|
1159
|
+
rb_owner = rb_ary_entry(rb_arguments, 0);
|
1160
|
+
} else {
|
1161
|
+
rb_owner = self;
|
1162
|
+
}
|
1163
|
+
rbgobj_object_add_relative(rb_owner, callback_data->rb_callback);
|
1164
|
+
callback_data->owner = RVAL2GOBJ(rb_owner);
|
1165
|
+
g_object_weak_ref(callback_data->owner,
|
1166
|
+
rb_gi_callback_data_weak_notify,
|
1167
|
+
callback_data);
|
1149
1168
|
closure_argument->v_pointer = callback_data;
|
1150
1169
|
}
|
1151
1170
|
|
1152
1171
|
if (destroy_argument) {
|
1153
|
-
destroy_argument->v_pointer =
|
1172
|
+
destroy_argument->v_pointer = rb_gi_callback_data_destroy_notify;
|
1154
1173
|
}
|
1155
1174
|
}
|
1156
1175
|
|
@@ -1163,7 +1182,7 @@ in_argument_from_ruby(GICallableInfo *callable_info,
|
|
1163
1182
|
VALUE self)
|
1164
1183
|
{
|
1165
1184
|
if (metadata->callback_p && !metadata->destroy_p) {
|
1166
|
-
in_callback_argument_from_ruby(metadata, in_args);
|
1185
|
+
in_callback_argument_from_ruby(metadata, in_args, self, rb_arguments);
|
1167
1186
|
return;
|
1168
1187
|
}
|
1169
1188
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -596,7 +596,7 @@ module GObjectIntrospection
|
|
596
596
|
end
|
597
597
|
|
598
598
|
def define_equal_style_setter(info, klass, method_name)
|
599
|
-
if /\Aset_/ =~ method_name and info.
|
599
|
+
if /\Aset_/ =~ method_name and info.n_in_args == 1
|
600
600
|
setter_method_name = "#{$POSTMATCH}="
|
601
601
|
remove_existing_method(klass, setter_method_name)
|
602
602
|
klass.__send__(:alias_method, setter_method_name, method_name)
|
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
|
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
|
@@ -17,7 +17,7 @@ old_library='libgirepository-1.0.a'
|
|
17
17
|
inherited_linker_flags=' -pthread'
|
18
18
|
|
19
19
|
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -R/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/rcairo/vendor/local/lib -L/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib -L/home/vagrant/ruby-gnome2/
|
20
|
+
dependency_libs=' -R/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/rcairo/vendor/local/lib -L/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib/../lib /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi -lz /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/../lib/libffi.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libiconv.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/../lib/libffi.la'
|
21
21
|
|
22
22
|
# Names of additional weak libraries provided by this library
|
23
23
|
weak_library_names=''
|
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.2.
|
4
|
+
version: 3.2.8
|
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: 2018-06
|
11
|
+
date: 2018-08-06 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.2.
|
19
|
+
version: 3.2.8
|
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.2.
|
26
|
+
version: 3.2.8
|
27
27
|
description: Ruby/GObjectIntrospection provides bindings of GObject Introspection
|
28
28
|
and a loader module that can generate dynamically Ruby bindings of any GObject C
|
29
29
|
libraries
|