gobject-introspection 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +129 -0
- data/ext/gobject-introspection/depend +10 -0
- data/ext/gobject-introspection/extconf.rb +94 -0
- data/ext/gobject-introspection/gobject_introspection.def +5 -0
- data/ext/gobject-introspection/rb-gi-arg-info.c +151 -0
- data/ext/gobject-introspection/rb-gi-argument.c +2053 -0
- data/ext/gobject-introspection/rb-gi-base-info.c +218 -0
- data/ext/gobject-introspection/rb-gi-boxed-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-callable-info.c +104 -0
- data/ext/gobject-introspection/rb-gi-callback-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-constant-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-constructor-info.c +133 -0
- data/ext/gobject-introspection/rb-gi-conversions.h +145 -0
- data/ext/gobject-introspection/rb-gi-enum-info.c +155 -0
- data/ext/gobject-introspection/rb-gi-field-info.c +153 -0
- data/ext/gobject-introspection/rb-gi-flags-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-function-info.c +841 -0
- data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
- data/ext/gobject-introspection/rb-gi-loader.c +224 -0
- data/ext/gobject-introspection/rb-gi-method-info.c +83 -0
- data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
- data/ext/gobject-introspection/rb-gi-private.h +105 -0
- data/ext/gobject-introspection/rb-gi-property-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-registered-type-info.c +86 -0
- data/ext/gobject-introspection/rb-gi-repository.c +246 -0
- data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-struct-info.c +202 -0
- data/ext/gobject-introspection/rb-gi-type-info.c +143 -0
- data/ext/gobject-introspection/rb-gi-type-tag.c +43 -0
- data/ext/gobject-introspection/rb-gi-types.h +71 -0
- data/ext/gobject-introspection/rb-gi-union-info.c +206 -0
- data/ext/gobject-introspection/rb-gi-unresolved-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-value-info.c +57 -0
- data/ext/gobject-introspection/rb-gi-vfunc-info.c +91 -0
- data/ext/gobject-introspection/rb-gobject-introspection.c +44 -0
- data/ext/gobject-introspection/rb-gobject-introspection.h +60 -0
- data/extconf.rb +71 -0
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/2.1/gobject_introspection.so +0 -0
- data/lib/2.2/gobject_introspection.so +0 -0
- data/lib/gobject-introspection.rb +53 -0
- data/lib/gobject-introspection/boxed-info.rb +28 -0
- data/lib/gobject-introspection/callable-info.rb +100 -0
- data/lib/gobject-introspection/collection-reader.rb +34 -0
- data/lib/gobject-introspection/interface-info.rb +32 -0
- data/lib/gobject-introspection/loader.rb +465 -0
- data/lib/gobject-introspection/object-info.rb +33 -0
- data/lib/gobject-introspection/repository.rb +32 -0
- data/lib/gobject-introspection/struct-info.rb +28 -0
- data/lib/gobject-introspection/union-info.rb +28 -0
- data/test/gobject-introspection-test-utils.rb +26 -0
- data/test/run-test.rb +45 -0
- data/test/test-arg-info.rb +68 -0
- data/test/test-base-info.rb +31 -0
- data/test/test-boxed-info.rb +21 -0
- data/test/test-callable-info.rb +49 -0
- data/test/test-callback-info.rb +29 -0
- data/test/test-constant-info.rb +24 -0
- data/test/test-enum-info.rb +61 -0
- data/test/test-field-type.rb +42 -0
- data/test/test-flags-info.rb +27 -0
- data/test/test-function-info.rb +39 -0
- data/test/test-interface-info.rb +97 -0
- data/test/test-loader.rb +30 -0
- data/test/test-object-info.rb +131 -0
- data/test/test-property-info.rb +38 -0
- data/test/test-registered-type-info.rb +35 -0
- data/test/test-repository.rb +62 -0
- data/test/test-signal-info.rb +40 -0
- data/test/test-struct-info.rb +57 -0
- data/test/test-type-info.rb +62 -0
- data/test/test-type-tag.rb +29 -0
- data/test/test-union-info.rb +21 -0
- data/test/test-value-info.rb +28 -0
- data/test/test-vfunc-info.rb +42 -0
- 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/include/gobject-introspection-1.0/giarginfo.h +82 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +120 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +110 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +58 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +82 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +71 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +100 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +106 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +207 -0
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +56 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +64 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +239 -0
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +104 -0
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +57 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +77 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +87 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +80 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +524 -0
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +84 -0
- data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +73 -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/GL-1.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/cairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/fontconfig-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/freetype2-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/win32-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xfixes-4.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xft-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xlib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xrandr-1.3.typelib +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.py +24 -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 +76 -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 +2161 -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.py +1139 -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.py +203 -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.py +202 -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.py +173 -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__.py +23 -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.py +305 -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.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 +72 -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/doctemplates/C/callback.tmpl +4 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/class.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/enum.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +60 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/namespace.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/property.tmpl +5 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/record.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/signal.tmpl +5 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/vfunc.tmpl +4 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +30 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +21 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/field.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +47 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/namespace.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/record.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +38 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +18 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/enum.tmpl +13 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +47 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/namespace.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/record.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +41 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +20 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +61 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +958 -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.py +338 -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.py +529 -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.py +593 -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.py +612 -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.py +240 -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.py +76 -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.py +1366 -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.py +203 -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/scannermain.py +561 -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.py +152 -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.py +140 -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.py +329 -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.py +136 -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 +971 -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.py +211 -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 +156 -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.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +26 -0
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +23 -0
- data/vendor/local/lib/pkgconfig/patched +0 -0
- data/vendor/local/share/aclocal/introspection.m4 +96 -0
- data/vendor/local/share/gir-1.0/DBus-1.0.gir +32 -0
- data/vendor/local/share/gir-1.0/DBusGLib-1.0.gir +18 -0
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +4042 -0
- data/vendor/local/share/gir-1.0/GL-1.0.gir +31 -0
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +47221 -0
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +301 -0
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +14733 -0
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +82459 -0
- data/vendor/local/share/gir-1.0/cairo-1.0.gir +70 -0
- data/vendor/local/share/gir-1.0/fontconfig-2.0.gir +18 -0
- data/vendor/local/share/gir-1.0/freetype2-2.0.gir +22 -0
- data/vendor/local/share/gir-1.0/libxml2-2.0.gir +25 -0
- data/vendor/local/share/gir-1.0/win32-1.0.gir +19 -0
- data/vendor/local/share/gir-1.0/xfixes-4.0.gir +10 -0
- data/vendor/local/share/gir-1.0/xft-2.0.gir +23 -0
- data/vendor/local/share/gir-1.0/xlib-2.0.gir +67 -0
- data/vendor/local/share/gir-1.0/xrandr-1.3.gir +16 -0
- data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +166 -0
- data/vendor/local/share/gobject-introspection-1.0/gdump.c +569 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +831 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +301 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +57 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +44 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1579 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +535 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +790 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +582 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5426 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1948 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gitestmacros.h +10 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +4068 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +1415 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +47 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +102 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +47 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +46 -0
- data/vendor/local/share/license/gobject-introspection/AUTHORS +9 -0
- data/vendor/local/share/license/gobject-introspection/COPYING +12 -0
- data/vendor/local/share/man/man1/g-ir-compiler.1 +42 -0
- data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
- metadata +363 -0
Binary file
|
Binary file
|
@@ -0,0 +1,211 @@
|
|
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
|
+
import re
|
22
|
+
import os
|
23
|
+
import subprocess
|
24
|
+
import platform
|
25
|
+
|
26
|
+
|
27
|
+
_debugflags = None
|
28
|
+
|
29
|
+
|
30
|
+
def have_debug_flag(flag):
|
31
|
+
"""Check for whether a specific debugging feature is enabled.
|
32
|
+
Well-known flags:
|
33
|
+
* start: Drop into debugger just after processing arguments
|
34
|
+
* exception: Drop into debugger on fatalexception
|
35
|
+
* warning: Drop into debugger on warning
|
36
|
+
* posttrans: Drop into debugger just before introspectable pass
|
37
|
+
"""
|
38
|
+
global _debugflags
|
39
|
+
if _debugflags is None:
|
40
|
+
_debugflags = os.environ.get('GI_SCANNER_DEBUG', '').split(',')
|
41
|
+
if '' in _debugflags:
|
42
|
+
_debugflags.remove('')
|
43
|
+
return flag in _debugflags
|
44
|
+
|
45
|
+
|
46
|
+
def break_on_debug_flag(flag):
|
47
|
+
if have_debug_flag(flag):
|
48
|
+
import pdb
|
49
|
+
pdb.set_trace()
|
50
|
+
|
51
|
+
# Copied from h2defs.py
|
52
|
+
_upperstr_pat1 = re.compile(r'([^A-Z])([A-Z])')
|
53
|
+
_upperstr_pat2 = re.compile(r'([A-Z][A-Z])([A-Z][0-9a-z])')
|
54
|
+
_upperstr_pat3 = re.compile(r'^([A-Z])([A-Z])')
|
55
|
+
|
56
|
+
|
57
|
+
def to_underscores(name):
|
58
|
+
"""Converts a typename to the equivalent underscores name.
|
59
|
+
This is used to form the type conversion macros and enum/flag
|
60
|
+
name variables.
|
61
|
+
In particular, and differently from to_underscores_noprefix(),
|
62
|
+
this function treats the first character differently if it is
|
63
|
+
uppercase and followed by another uppercase letter."""
|
64
|
+
name = _upperstr_pat1.sub(r'\1_\2', name)
|
65
|
+
name = _upperstr_pat2.sub(r'\1_\2', name)
|
66
|
+
name = _upperstr_pat3.sub(r'\1_\2', name, count=1)
|
67
|
+
return name
|
68
|
+
|
69
|
+
|
70
|
+
def to_underscores_noprefix(name):
|
71
|
+
"""Like to_underscores, but designed for "unprefixed" names.
|
72
|
+
to_underscores("DBusFoo") => dbus_foo, not d_bus_foo."""
|
73
|
+
name = _upperstr_pat1.sub(r'\1_\2', name)
|
74
|
+
name = _upperstr_pat2.sub(r'\1_\2', name)
|
75
|
+
return name
|
76
|
+
|
77
|
+
|
78
|
+
_libtool_pat = re.compile("dlname='([A-z0-9\.\-\+]+)'\n")
|
79
|
+
|
80
|
+
|
81
|
+
def _extract_dlname_field(la_file):
|
82
|
+
f = open(la_file)
|
83
|
+
data = f.read()
|
84
|
+
f.close()
|
85
|
+
m = _libtool_pat.search(data)
|
86
|
+
if m:
|
87
|
+
return m.groups()[0]
|
88
|
+
else:
|
89
|
+
return None
|
90
|
+
|
91
|
+
|
92
|
+
_libtool_libdir_pat = re.compile("libdir='([^']+)'")
|
93
|
+
|
94
|
+
|
95
|
+
def _extract_libdir_field(la_file):
|
96
|
+
f = open(la_file)
|
97
|
+
data = f.read()
|
98
|
+
f.close()
|
99
|
+
m = _libtool_libdir_pat.search(data)
|
100
|
+
if m:
|
101
|
+
return m.groups()[0]
|
102
|
+
else:
|
103
|
+
return None
|
104
|
+
|
105
|
+
|
106
|
+
# Returns the name that we would pass to dlopen() the library
|
107
|
+
# corresponding to this .la file
|
108
|
+
def extract_libtool_shlib(la_file):
|
109
|
+
dlname = _extract_dlname_field(la_file)
|
110
|
+
if dlname is None:
|
111
|
+
return None
|
112
|
+
|
113
|
+
# Darwin uses absolute paths where possible; since the libtool files never
|
114
|
+
# contain absolute paths, use the libdir field
|
115
|
+
if platform.system() == 'Darwin':
|
116
|
+
dlbasename = os.path.basename(dlname)
|
117
|
+
libdir = _extract_libdir_field(la_file)
|
118
|
+
if libdir is None:
|
119
|
+
return dlbasename
|
120
|
+
return libdir + '/' + dlbasename
|
121
|
+
# From the comments in extract_libtool(), older libtools had
|
122
|
+
# a path rather than the raw dlname
|
123
|
+
return os.path.basename(dlname)
|
124
|
+
|
125
|
+
|
126
|
+
def extract_libtool(la_file):
|
127
|
+
dlname = _extract_dlname_field(la_file)
|
128
|
+
if dlname is None:
|
129
|
+
raise ValueError("%s has no dlname. Not a shared library?" % la_file)
|
130
|
+
libname = os.path.join(os.path.dirname(la_file),
|
131
|
+
'.libs', dlname)
|
132
|
+
# FIXME: This hackish, but I'm not sure how to do this
|
133
|
+
# in a way which is compatible with both libtool 2.2
|
134
|
+
# and pre-2.2. Johan 2008-10-21
|
135
|
+
libname = libname.replace('.libs/.libs', '.libs').replace('.libs\\.libs', '.libs')
|
136
|
+
return libname
|
137
|
+
|
138
|
+
|
139
|
+
# Returns arguments for invoking libtool, if applicable, otherwise None
|
140
|
+
def get_libtool_command(options):
|
141
|
+
libtool_infection = not options.nolibtool
|
142
|
+
if not libtool_infection:
|
143
|
+
return None
|
144
|
+
|
145
|
+
libtool_path = options.libtool_path
|
146
|
+
if libtool_path:
|
147
|
+
# Automake by default sets:
|
148
|
+
# LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
149
|
+
# To be strictly correct we would have to parse shell. For now
|
150
|
+
# we simply split().
|
151
|
+
return libtool_path.split(' ')
|
152
|
+
|
153
|
+
libtool_cmd = 'libtool'
|
154
|
+
if platform.system() == 'Darwin':
|
155
|
+
# libtool on OS X is a completely different program written by Apple
|
156
|
+
libtool_cmd = 'glibtool'
|
157
|
+
try:
|
158
|
+
subprocess.check_call([libtool_cmd, '--version'],
|
159
|
+
stdout=open(os.devnull))
|
160
|
+
except (subprocess.CalledProcessError, OSError):
|
161
|
+
# If libtool's not installed, assume we don't need it
|
162
|
+
return None
|
163
|
+
|
164
|
+
return [libtool_cmd]
|
165
|
+
|
166
|
+
|
167
|
+
def files_are_identical(path1, path2):
|
168
|
+
f1 = open(path1)
|
169
|
+
f2 = open(path2)
|
170
|
+
buf1 = f1.read(8192)
|
171
|
+
buf2 = f2.read(8192)
|
172
|
+
while buf1 == buf2 and buf1 != '':
|
173
|
+
buf1 = f1.read(8192)
|
174
|
+
buf2 = f2.read(8192)
|
175
|
+
f1.close()
|
176
|
+
f2.close()
|
177
|
+
return buf1 == buf2
|
178
|
+
|
179
|
+
|
180
|
+
def cflag_real_include_path(cflag):
|
181
|
+
if not cflag.startswith("-I"):
|
182
|
+
return cflag
|
183
|
+
|
184
|
+
return "-I" + os.path.realpath(cflag[2:])
|
185
|
+
|
186
|
+
|
187
|
+
def which(program):
|
188
|
+
def is_exe(fpath):
|
189
|
+
return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
|
190
|
+
|
191
|
+
def is_nt_exe(fpath):
|
192
|
+
return not fpath.lower().endswith('.exe') and \
|
193
|
+
os.path.isfile(fpath + '.exe') and \
|
194
|
+
os.access(fpath + '.exe', os.X_OK)
|
195
|
+
|
196
|
+
fpath, fname = os.path.split(program)
|
197
|
+
if fpath:
|
198
|
+
if is_exe(program):
|
199
|
+
return program
|
200
|
+
if os.name == 'nt' and is_nt_exe(program):
|
201
|
+
return program + '.exe'
|
202
|
+
else:
|
203
|
+
for path in os.environ["PATH"].split(os.pathsep):
|
204
|
+
path = path.strip('"')
|
205
|
+
exe_file = os.path.join(path, program)
|
206
|
+
if is_exe(exe_file):
|
207
|
+
return exe_file
|
208
|
+
if os.name == 'nt' and is_nt_exe(exe_file):
|
209
|
+
return exe_file + '.exe'
|
210
|
+
|
211
|
+
return None
|
Binary file
|
Binary file
|
@@ -0,0 +1,156 @@
|
|
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
|
+
from __future__ import with_statement
|
22
|
+
|
23
|
+
import os
|
24
|
+
|
25
|
+
from contextlib import contextmanager
|
26
|
+
from cStringIO import StringIO
|
27
|
+
from xml.sax.saxutils import escape
|
28
|
+
|
29
|
+
from .libtoolimporter import LibtoolImporter
|
30
|
+
|
31
|
+
|
32
|
+
with LibtoolImporter(None, None):
|
33
|
+
if 'UNINSTALLED_INTROSPECTION_SRCDIR' in os.environ:
|
34
|
+
from _giscanner import collect_attributes
|
35
|
+
else:
|
36
|
+
from giscanner._giscanner import collect_attributes
|
37
|
+
|
38
|
+
|
39
|
+
def build_xml_tag(tag_name, attributes=None, data=None, self_indent=0,
|
40
|
+
self_indent_char=' '):
|
41
|
+
if attributes is None:
|
42
|
+
attributes = []
|
43
|
+
prefix = u'<%s' % (tag_name, )
|
44
|
+
if data is not None:
|
45
|
+
if isinstance(data, str):
|
46
|
+
data = data.decode('UTF-8')
|
47
|
+
suffix = u'>%s</%s>' % (escape(data), tag_name)
|
48
|
+
else:
|
49
|
+
suffix = u'/>'
|
50
|
+
attrs = collect_attributes(
|
51
|
+
tag_name, attributes,
|
52
|
+
self_indent,
|
53
|
+
self_indent_char,
|
54
|
+
len(prefix) + len(suffix))
|
55
|
+
return prefix + attrs + suffix
|
56
|
+
|
57
|
+
|
58
|
+
class XMLWriter(object):
|
59
|
+
|
60
|
+
def __init__(self):
|
61
|
+
self._data = StringIO()
|
62
|
+
self._data.write('<?xml version="1.0"?>\n')
|
63
|
+
self._tag_stack = []
|
64
|
+
self._indent = 0
|
65
|
+
self._indent_unit = 2
|
66
|
+
self.enable_whitespace()
|
67
|
+
|
68
|
+
# Private
|
69
|
+
|
70
|
+
def _open_tag(self, tag_name, attributes=None):
|
71
|
+
if attributes is None:
|
72
|
+
attributes = []
|
73
|
+
attrs = collect_attributes(tag_name, attributes,
|
74
|
+
self._indent, self._indent_char, len(tag_name) + 2)
|
75
|
+
self.write_line(u'<%s%s>' % (tag_name, attrs))
|
76
|
+
|
77
|
+
def _close_tag(self, tag_name):
|
78
|
+
self.write_line(u'</%s>' % (tag_name, ))
|
79
|
+
|
80
|
+
# Public API
|
81
|
+
|
82
|
+
def enable_whitespace(self):
|
83
|
+
self._indent_char = ' '
|
84
|
+
self._newline_char = '\n'
|
85
|
+
|
86
|
+
def disable_whitespace(self):
|
87
|
+
self._indent_char = ''
|
88
|
+
self._newline_char = ''
|
89
|
+
|
90
|
+
def get_xml(self):
|
91
|
+
return self._data.getvalue()
|
92
|
+
|
93
|
+
def write_line(self, line=u'', indent=True, do_escape=False):
|
94
|
+
if isinstance(line, str):
|
95
|
+
line = line.decode('utf-8')
|
96
|
+
assert isinstance(line, unicode)
|
97
|
+
if do_escape:
|
98
|
+
line = escape(line)
|
99
|
+
if indent:
|
100
|
+
self._data.write('%s%s%s' % (self._indent_char * self._indent,
|
101
|
+
line.encode('utf-8'),
|
102
|
+
self._newline_char))
|
103
|
+
else:
|
104
|
+
self._data.write('%s%s' % (line.encode('utf-8'), self._newline_char))
|
105
|
+
|
106
|
+
def write_comment(self, text):
|
107
|
+
self.write_line('<!-- %s -->' % (text, ))
|
108
|
+
|
109
|
+
def write_tag(self, tag_name, attributes, data=None):
|
110
|
+
self.write_line(build_xml_tag(tag_name, attributes, data,
|
111
|
+
self._indent, self._indent_char))
|
112
|
+
|
113
|
+
def push_tag(self, tag_name, attributes=None):
|
114
|
+
if attributes is None:
|
115
|
+
attributes = []
|
116
|
+
self._open_tag(tag_name, attributes)
|
117
|
+
self._tag_stack.append(tag_name)
|
118
|
+
self._indent += self._indent_unit
|
119
|
+
|
120
|
+
def pop_tag(self):
|
121
|
+
self._indent -= self._indent_unit
|
122
|
+
tag_name = self._tag_stack.pop()
|
123
|
+
self._close_tag(tag_name)
|
124
|
+
return tag_name
|
125
|
+
|
126
|
+
@contextmanager
|
127
|
+
def tagcontext(self, tag_name, attributes=None):
|
128
|
+
self.push_tag(tag_name, attributes)
|
129
|
+
try:
|
130
|
+
yield
|
131
|
+
finally:
|
132
|
+
self.pop_tag()
|
133
|
+
|
134
|
+
|
135
|
+
def test():
|
136
|
+
w = XMLWriter()
|
137
|
+
w.push_tag('repository')
|
138
|
+
w.push_tag('namespace')
|
139
|
+
w.push_tag('enumeration')
|
140
|
+
w.push_tag('member',
|
141
|
+
[('name', 'west'),
|
142
|
+
('value', '7'),
|
143
|
+
('c:identifier', 'GTK_ANCHOR_WEST'),
|
144
|
+
('glib:nick', 'west')])
|
145
|
+
|
146
|
+
w.pop_tag()
|
147
|
+
w.pop_tag()
|
148
|
+
w.pop_tag()
|
149
|
+
x = w.get_xml()
|
150
|
+
lines = x.split('\n')
|
151
|
+
import pprint
|
152
|
+
pprint.pprint(lines)
|
153
|
+
assert len(lines[3]) < 80, len(lines[3])
|
154
|
+
|
155
|
+
if __name__ == '__main__':
|
156
|
+
test()
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# libgirepository-1.0.la - a libtool library file
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.2
|
3
|
+
#
|
4
|
+
# Please DO NOT delete this file!
|
5
|
+
# It is necessary for linking the library.
|
6
|
+
|
7
|
+
# The name that we can dlopen(3).
|
8
|
+
dlname='../bin/libgirepository-1.0-1.dll'
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names='libgirepository-1.0.dll.a'
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library='libgirepository-1.0.a'
|
15
|
+
|
16
|
+
# Linker flags that can not go in dependency_libs.
|
17
|
+
inherited_linker_flags=''
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -R/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi -lz /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.la -lpthread /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la'
|
21
|
+
|
22
|
+
# Names of additional weak libraries provided by this library
|
23
|
+
weak_library_names=''
|
24
|
+
|
25
|
+
# Version information for libgirepository-1.0.
|
26
|
+
current=1
|
27
|
+
age=0
|
28
|
+
revision=0
|
29
|
+
|
30
|
+
# Is this an already installed library?
|
31
|
+
installed=yes
|
32
|
+
|
33
|
+
# Should we warn about portability when linking against -modules?
|
34
|
+
shouldnotlink=no
|
35
|
+
|
36
|
+
# Files to dlopen/dlpreopen
|
37
|
+
dlopen=''
|
38
|
+
dlpreopen=''
|
39
|
+
|
40
|
+
# Directory that this library needs to be installed in:
|
41
|
+
libdir='/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
native_prefix=/home/vagrant/ruby-gnome2.win64/gobject-introspection/tmp/native/local
|
2
|
+
native_bindir=${native_prefix}/bin
|
3
|
+
prefix=/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local
|
4
|
+
exec_prefix=${prefix}
|
5
|
+
libdir=${exec_prefix}/lib
|
6
|
+
bindir=${exec_prefix}/bin
|
7
|
+
datarootdir=${prefix}/share
|
8
|
+
datadir=${datarootdir}
|
9
|
+
includedir=${prefix}/include
|
10
|
+
|
11
|
+
g_ir_scanner=${native_bindir}/g-ir-scanner
|
12
|
+
g_ir_compiler=${native_bindir}/g-ir-compiler
|
13
|
+
g_ir_generate=${bindir}/g-ir-generate.exe
|
14
|
+
gidatadir=${datadir}/gobject-introspection-1.0
|
15
|
+
girdir=${datadir}/gir-1.0
|
16
|
+
typelibdir=${libdir}/girepository-1.0
|
17
|
+
|
18
|
+
Cflags: -I${includedir}/gobject-introspection-1.0
|
19
|
+
Requires: glib-2.0 gobject-2.0
|
20
|
+
Requires.private: gmodule-2.0 libffi
|
21
|
+
Libs: -L${libdir} -lgirepository-1.0
|
22
|
+
Libs.private:
|
23
|
+
|
24
|
+
Name: gobject-introspection
|
25
|
+
Description: GObject Introspection
|
26
|
+
Version: 1.42.0
|