gobject-introspection 2.0.2-x86-mingw32 → 2.0.3-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 +7 -0
- data/Rakefile +5 -2
- data/ext/gobject-introspection/rb-gi-argument.c +215 -4
- data/ext/gobject-introspection/rb-gi-loader.c +7 -2
- data/ext/gobject-introspection/rb-gi-struct-info.c +1 -1
- data/lib/1.9/gobject_introspection.so +0 -0
- data/lib/2.0/gobject_introspection.so +0 -0
- data/test/test-function-info.rb +3 -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/libgirepository-1.0-1.dll +0 -0
- data/vendor/local/lib/girepository-1.0/DBus-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/DBusGLib-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GModule-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/win32-1.0.typelib +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.py +1 -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.py +52 -47
- 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.py +48 -42
- 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.py +11 -10
- 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/codegen.py +7 -5
- 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__.py +22 -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/ordereddict.py +120 -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.py +14 -2
- 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.py +19 -10
- 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.py +18 -11
- 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.py +10 -13
- 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.py +24 -30
- 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.py +11 -12
- 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.py +25 -21
- 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.py +1 -1
- 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.py +98 -100
- 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.py +10 -8
- 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/scannermain.py +28 -16
- 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.py +83 -9
- 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.py +5 -1
- 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.py +20 -21
- 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.py +3 -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.py +32 -41
- 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.py +9 -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.py +9 -11
- 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.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +691 -691
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +6972 -6467
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +103 -4
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +2085 -1955
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +10955 -9269
- data/vendor/local/share/gir-1.0/win32-1.0.gir +19 -0
- data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +2 -2
- data/vendor/local/share/gobject-introspection-1.0/gdump.c +7 -2
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +15 -15
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +1 -1
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +14 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +2 -2
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +8 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +9 -0
- metadata +20 -21
- data/vendor/local/lib/gobject-introspection/giscanner/odict.py +0 -50
- data/vendor/local/lib/gobject-introspection/giscanner/odict.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/odict.pyo +0 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<repository version="1.2"
|
3
|
+
xmlns="http://www.gtk.org/introspection/core/1.0"
|
4
|
+
xmlns:c="http://www.gtk.org/introspection/c/1.0">
|
5
|
+
<namespace name="win32" version="1.0"
|
6
|
+
c:identifier-prefixes=""
|
7
|
+
c:symbol-prefixes="Win32">
|
8
|
+
<alias name="HWND" c:type="HWND">
|
9
|
+
<type name="guint" c:type="guint"/>
|
10
|
+
</alias>
|
11
|
+
<alias name="HICON" c:type="HICON">
|
12
|
+
<type name="gulong" c:type="gulong"/>
|
13
|
+
</alias>
|
14
|
+
<alias name="HGDIOBJ" c:type="HGDIOBJ">
|
15
|
+
<type name="gulong" c:type="gulong"/>
|
16
|
+
</alias>
|
17
|
+
</namespace>
|
18
|
+
</repository>
|
19
|
+
|
@@ -75,14 +75,14 @@ _gir_verbosity = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
|
|
75
75
|
|
76
76
|
_gir_silent_scanner_prefix = $(_gir_silent_scanner_prefix_$(V))
|
77
77
|
_gir_silent_scanner_prefix_ = $(_gir_silent_scanner_prefix_$(_gir_verbosity))
|
78
|
-
_gir_silent_scanner_prefix_0 = @echo " GISCAN
|
78
|
+
_gir_silent_scanner_prefix_0 = @echo " GISCAN $(1)";
|
79
79
|
_gir_silent_scanner_opts = $(_gir_silent_scanner_opts_$(V))
|
80
80
|
_gir_silent_scanner_opts_ = $(_gir_silent_scanner_opts_$(_gir_verbosity))
|
81
81
|
_gir_silent_scanner_opts_0 = --quiet
|
82
82
|
|
83
83
|
_gir_silent_compiler = $(_gir_silent_compiler_$(V))
|
84
84
|
_gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
|
85
|
-
_gir_silent_compiler_0 = @echo " GICOMP
|
85
|
+
_gir_silent_compiler_0 = @echo " GICOMP $(1)";
|
86
86
|
|
87
87
|
#
|
88
88
|
# Creates a GIR by scanning C headers/sources
|
@@ -37,6 +37,9 @@
|
|
37
37
|
|
38
38
|
#include <string.h>
|
39
39
|
|
40
|
+
static void
|
41
|
+
escaped_printf (GOutputStream *out, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
|
42
|
+
|
40
43
|
static void
|
41
44
|
escaped_printf (GOutputStream *out, const char *fmt, ...)
|
42
45
|
{
|
@@ -422,8 +425,10 @@ dump_error_quark (GQuark quark, const char *symbol, GOutputStream *out)
|
|
422
425
|
*
|
423
426
|
* Argument specified is a comma-separated pair of filenames; i.e. of
|
424
427
|
* the form "input.txt,output.xml". The input file should be a
|
425
|
-
* UTF-8 Unix-line-ending text file, with each line containing
|
426
|
-
* of a GType _get_type function
|
428
|
+
* UTF-8 Unix-line-ending text file, with each line containing either
|
429
|
+
* "get-type:" followed by the name of a GType _get_type function, or
|
430
|
+
* "error-quark:" followed by the name of an error quark function. No
|
431
|
+
* extra whitespace is allowed.
|
427
432
|
*
|
428
433
|
* The output file should already exist, but be empty. This function will
|
429
434
|
* overwrite its contents.
|
@@ -128,12 +128,12 @@ regress_annotation_object_class_init (RegressAnnotationObjectClass *klass)
|
|
128
128
|
/**
|
129
129
|
* RegressAnnotationObject::attribute-signal:
|
130
130
|
* @regress_annotation: the regress_annotation object
|
131
|
-
* @arg1: (attribute some.
|
132
|
-
* @arg2: (attribute some.
|
131
|
+
* @arg1: (attribute some.annotation.foo1 val1): a value
|
132
|
+
* @arg2: (attribute some.annotation.foo2 val2): another value
|
133
133
|
*
|
134
134
|
* This signal tests a signal with attributes.
|
135
135
|
*
|
136
|
-
* Returns: (attribute some.
|
136
|
+
* Returns: (attribute some.annotation.foo3 val3): the return value
|
137
137
|
*/
|
138
138
|
regress_annotation_object_signals[ATTRIBUTE_SIGNAL] =
|
139
139
|
g_signal_new ("attribute-signal",
|
@@ -174,14 +174,14 @@ regress_annotation_object_class_init (RegressAnnotationObjectClass *klass)
|
|
174
174
|
"This property is a function pointer",
|
175
175
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
176
176
|
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
177
|
+
/**
|
178
|
+
* RegressAnnotationObject:tab-property:
|
179
|
+
*
|
180
|
+
* This is a property annotation intentionally indented with a mix
|
181
|
+
* of tabs and strings to test the tab handling capabilities of the scanner.
|
182
|
+
*
|
183
|
+
* Since: 1.2
|
184
|
+
*/
|
185
185
|
g_object_class_install_property (gobject_class,
|
186
186
|
PROP_TAB_PROPERTY,
|
187
187
|
g_param_spec_string ("tab-property",
|
@@ -622,7 +622,7 @@ regress_annotation_object_watch (RegressAnnotationObject *object,
|
|
622
622
|
* @user_data: The callback data
|
623
623
|
* @destroy: Destroy notification
|
624
624
|
*
|
625
|
-
* Test overriding via the "Rename To"
|
625
|
+
* Test overriding via the "Rename To" annotation.
|
626
626
|
*
|
627
627
|
* Rename to: regress_annotation_object_watch
|
628
628
|
*/
|
@@ -721,7 +721,7 @@ regress_annotation_object_extra_annos (RegressAnnotationObject *object)
|
|
721
721
|
* @callback: (destroy destroy) (closure data): Destroy notification
|
722
722
|
*
|
723
723
|
* Test messing up the heuristic of closure/destroy-notification
|
724
|
-
* detection, and fixing it via
|
724
|
+
* detection, and fixing it via annotations.
|
725
725
|
*/
|
726
726
|
void
|
727
727
|
regress_annotation_custom_destroy (RegressAnnotationCallback callback,
|
@@ -763,9 +763,9 @@ regress_annotation_ptr_array (GPtrArray *array)
|
|
763
763
|
/**
|
764
764
|
* regress_annotation_attribute_func:
|
765
765
|
* @object: A #RegressAnnotationObject.
|
766
|
-
* @data: (attribute some.
|
766
|
+
* @data: (attribute some.annotation value) (attribute another.annotation blahvalue): Some data.
|
767
767
|
*
|
768
|
-
* Returns: (attribute some.other.
|
768
|
+
* Returns: (attribute some.other.annotation value2) (attribute yet.another.annotation another_value): The return value.
|
769
769
|
*/
|
770
770
|
gint
|
771
771
|
regress_annotation_attribute_func (RegressAnnotationObject *object,
|
@@ -39,7 +39,7 @@ typedef void (*RegressAnnotationNotifyFunc) (gpointer data);
|
|
39
39
|
/**
|
40
40
|
* RegressAnnotationObject:
|
41
41
|
*
|
42
|
-
* This is an object used to test
|
42
|
+
* This is an object used to test annotations.
|
43
43
|
*
|
44
44
|
* Attributes: (org.example.Test cows)
|
45
45
|
*/
|
@@ -3137,6 +3137,20 @@ gi_marshalling_tests_gvalue_in_with_type (GValue *value, GType type)
|
|
3137
3137
|
g_assert (g_type_is_a (G_VALUE_TYPE (value), type));
|
3138
3138
|
}
|
3139
3139
|
|
3140
|
+
/**
|
3141
|
+
* gi_marshalling_tests_gvalue_in_with_modification:
|
3142
|
+
* @value: (transfer none):
|
3143
|
+
*
|
3144
|
+
* Expects a GValue passed by reference which is then modified by
|
3145
|
+
* this function.
|
3146
|
+
*/
|
3147
|
+
void
|
3148
|
+
gi_marshalling_tests_gvalue_in_with_modification (GValue *value)
|
3149
|
+
{
|
3150
|
+
g_assert_cmpint (g_value_get_int (value), ==, 42);
|
3151
|
+
g_value_set_int (value, 24);
|
3152
|
+
}
|
3153
|
+
|
3140
3154
|
/**
|
3141
3155
|
* gi_marshalling_tests_gvalue_in_enum:
|
3142
3156
|
* @value: (transfer none):
|
@@ -545,6 +545,7 @@ GValue *gi_marshalling_tests_gvalue_return (void);
|
|
545
545
|
void gi_marshalling_tests_gvalue_in (GValue *value);
|
546
546
|
void gi_marshalling_tests_gvalue_int64_in (GValue *value);
|
547
547
|
void gi_marshalling_tests_gvalue_in_with_type (GValue *value, GType type);
|
548
|
+
void gi_marshalling_tests_gvalue_in_with_modification (GValue *value);
|
548
549
|
|
549
550
|
void gi_marshalling_tests_gvalue_in_enum (GValue *value);
|
550
551
|
|
@@ -807,7 +808,7 @@ struct _GIMarshallingTestsObjectClass
|
|
807
808
|
/**
|
808
809
|
* GIMarshallingTestsObjectClass::vfunc_return_enum:
|
809
810
|
*/
|
810
|
-
|
811
|
+
GIMarshallingTestsEnum (* vfunc_return_enum) (GIMarshallingTestsObject *self);
|
811
812
|
|
812
813
|
/**
|
813
814
|
* GIMarshallingTestsObjectClass::vfunc_out_enum:
|
@@ -910,7 +911,6 @@ void gi_marshalling_tests_object_full_out (GIMarshallingTestsObject **object);
|
|
910
911
|
|
911
912
|
void gi_marshalling_tests_object_none_inout (GIMarshallingTestsObject **object);
|
912
913
|
void gi_marshalling_tests_object_full_inout (GIMarshallingTestsObject **object);
|
913
|
-
void gi_marshalling_tests_object_inout_same (GIMarshallingTestsObject **object);
|
914
914
|
|
915
915
|
void gi_marshalling_tests_object_int8_in (GIMarshallingTestsObject *object, gint8 in);
|
916
916
|
void gi_marshalling_tests_object_int8_out (GIMarshallingTestsObject *object, gint8 *out);
|
@@ -4007,3 +4007,11 @@ void
|
|
4007
4007
|
regress_test_versioning (void)
|
4008
4008
|
{
|
4009
4009
|
}
|
4010
|
+
|
4011
|
+
void
|
4012
|
+
regress_like_xkl_config_item_set_name (RegressLikeXklConfigItem *self,
|
4013
|
+
const char *name)
|
4014
|
+
{
|
4015
|
+
strncpy (self->name, name, sizeof (self->name) - 1);
|
4016
|
+
self->name[sizeof(self->name)-1] = '\0';
|
4017
|
+
}
|
@@ -7,6 +7,8 @@
|
|
7
7
|
#include <glib-object.h>
|
8
8
|
#include <gio/gio.h>
|
9
9
|
#include <time.h>
|
10
|
+
#include <string.h>
|
11
|
+
#include <stdlib.h>
|
10
12
|
|
11
13
|
void regress_set_abort_on_error (gboolean abort_on_error);
|
12
14
|
|
@@ -905,6 +907,13 @@ typedef struct {
|
|
905
907
|
|
906
908
|
void regress_test_struct_fixed_array_frob (RegressTestStructFixedArray *str);
|
907
909
|
|
910
|
+
typedef struct {
|
911
|
+
gchar name[32];
|
912
|
+
} RegressLikeXklConfigItem;
|
913
|
+
|
914
|
+
void regress_like_xkl_config_item_set_name (RegressLikeXklConfigItem *self,
|
915
|
+
const char *name);
|
916
|
+
|
908
917
|
#define REGRESS_UTF8_CONSTANT "const \xe2\x99\xa5 utf8"
|
909
918
|
|
910
919
|
#ifdef __GNUC__
|
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gobject-introspection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.3
|
6
5
|
platform: x86-mingw32
|
7
6
|
authors:
|
8
7
|
- The Ruby-GNOME2 Project Team
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: glib2
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.
|
19
|
+
version: 2.0.3
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.0.
|
26
|
+
version: 2.0.3
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: test-unit
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '2'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '2'
|
46
41
|
description: Ruby/GObjectIntrospection is a Ruby binding of GObjectIntrospection.
|
@@ -158,6 +153,7 @@ files:
|
|
158
153
|
- vendor/local/lib/girepository-1.0/fontconfig-2.0.typelib
|
159
154
|
- vendor/local/lib/girepository-1.0/freetype2-2.0.typelib
|
160
155
|
- vendor/local/lib/girepository-1.0/libxml2-2.0.typelib
|
156
|
+
- vendor/local/lib/girepository-1.0/win32-1.0.typelib
|
161
157
|
- vendor/local/lib/girepository-1.0/xfixes-4.0.typelib
|
162
158
|
- vendor/local/lib/girepository-1.0/xft-2.0.typelib
|
163
159
|
- vendor/local/lib/girepository-1.0/xlib-2.0.typelib
|
@@ -180,6 +176,12 @@ files:
|
|
180
176
|
- vendor/local/lib/gobject-introspection/giscanner/codegen.py
|
181
177
|
- vendor/local/lib/gobject-introspection/giscanner/codegen.pyc
|
182
178
|
- vendor/local/lib/gobject-introspection/giscanner/codegen.pyo
|
179
|
+
- vendor/local/lib/gobject-introspection/giscanner/collections/__init__.py
|
180
|
+
- vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc
|
181
|
+
- vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo
|
182
|
+
- vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.py
|
183
|
+
- vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc
|
184
|
+
- vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo
|
183
185
|
- vendor/local/lib/gobject-introspection/giscanner/docmain.py
|
184
186
|
- vendor/local/lib/gobject-introspection/giscanner/docmain.pyc
|
185
187
|
- vendor/local/lib/gobject-introspection/giscanner/docmain.pyo
|
@@ -246,9 +248,6 @@ files:
|
|
246
248
|
- vendor/local/lib/gobject-introspection/giscanner/message.py
|
247
249
|
- vendor/local/lib/gobject-introspection/giscanner/message.pyc
|
248
250
|
- vendor/local/lib/gobject-introspection/giscanner/message.pyo
|
249
|
-
- vendor/local/lib/gobject-introspection/giscanner/odict.py
|
250
|
-
- vendor/local/lib/gobject-introspection/giscanner/odict.pyc
|
251
|
-
- vendor/local/lib/gobject-introspection/giscanner/odict.pyo
|
252
251
|
- vendor/local/lib/gobject-introspection/giscanner/scannermain.py
|
253
252
|
- vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc
|
254
253
|
- vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo
|
@@ -291,6 +290,7 @@ files:
|
|
291
290
|
- vendor/local/share/gir-1.0/fontconfig-2.0.gir
|
292
291
|
- vendor/local/share/gir-1.0/freetype2-2.0.gir
|
293
292
|
- vendor/local/share/gir-1.0/libxml2-2.0.gir
|
293
|
+
- vendor/local/share/gir-1.0/win32-1.0.gir
|
294
294
|
- vendor/local/share/gir-1.0/xfixes-4.0.gir
|
295
295
|
- vendor/local/share/gir-1.0/xft-2.0.gir
|
296
296
|
- vendor/local/share/gir-1.0/xlib-2.0.gir
|
@@ -319,26 +319,25 @@ files:
|
|
319
319
|
- vendor/local/share/man/man1/g-ir-generate.1
|
320
320
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
321
321
|
licenses: []
|
322
|
+
metadata: {}
|
322
323
|
post_install_message:
|
323
324
|
rdoc_options: []
|
324
325
|
require_paths:
|
325
326
|
- lib
|
326
327
|
required_ruby_version: !ruby/object:Gem::Requirement
|
327
|
-
none: false
|
328
328
|
requirements:
|
329
|
-
- -
|
329
|
+
- - '>='
|
330
330
|
- !ruby/object:Gem::Version
|
331
|
-
version: 1.
|
331
|
+
version: 1.9.3
|
332
332
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
|
-
none: false
|
334
333
|
requirements:
|
335
|
-
- -
|
334
|
+
- - '>='
|
336
335
|
- !ruby/object:Gem::Version
|
337
336
|
version: '0'
|
338
337
|
requirements: []
|
339
338
|
rubyforge_project:
|
340
|
-
rubygems_version:
|
339
|
+
rubygems_version: 2.0.14
|
341
340
|
signing_key:
|
342
|
-
specification_version:
|
341
|
+
specification_version: 4
|
343
342
|
summary: Ruby/GObjectIntrospection is a Ruby binding of GObjectIntrospection.
|
344
343
|
test_files: []
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# -*- Mode: Python -*-
|
2
|
-
# GObject-Introspection - a framework for introspecting GObject libraries
|
3
|
-
# Copyright (C) 2008 Johan Dahlin
|
4
|
-
#
|
5
|
-
# This library is free software; you can redistribute it and/or
|
6
|
-
# modify it under the terms of the GNU Lesser General Public
|
7
|
-
# License as published by the Free Software Foundation; either
|
8
|
-
# version 2 of the License, or (at your option) any later version.
|
9
|
-
#
|
10
|
-
# This library is distributed in the hope that it will be useful,
|
11
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
-
# Lesser General Public License for more details.
|
14
|
-
#
|
15
|
-
# You should have received a copy of the GNU Lesser General Public
|
16
|
-
# License along with this library; if not, write to the
|
17
|
-
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
18
|
-
# Boston, MA 02111-1307, USA.
|
19
|
-
#
|
20
|
-
|
21
|
-
"""odict - an ordered dictionary"""
|
22
|
-
|
23
|
-
try:
|
24
|
-
# Starting with Python 2.7 we can use collections.OrderedDict
|
25
|
-
from collections import OrderedDict as odict
|
26
|
-
except ImportError:
|
27
|
-
# But we still support Python 2.5 and 2.6
|
28
|
-
from UserDict import DictMixin
|
29
|
-
|
30
|
-
|
31
|
-
class odict(DictMixin):
|
32
|
-
|
33
|
-
def __init__(self):
|
34
|
-
self._items = {}
|
35
|
-
self._keys = []
|
36
|
-
|
37
|
-
def __setitem__(self, key, value):
|
38
|
-
if key not in self._items:
|
39
|
-
self._keys.append(key)
|
40
|
-
self._items[key] = value
|
41
|
-
|
42
|
-
def __getitem__(self, key):
|
43
|
-
return self._items[key]
|
44
|
-
|
45
|
-
def __delitem__(self, key):
|
46
|
-
del self._items[key]
|
47
|
-
self._keys.remove(key)
|
48
|
-
|
49
|
-
def keys(self):
|
50
|
-
return self._keys[:]
|
Binary file
|
Binary file
|