glib2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +26 -4
- data/ext/glib2/glib2.def +3 -1
- data/ext/glib2/rbgcompat.h +0 -15
- data/ext/glib2/rbglib.h +11 -3
- data/ext/glib2/rbglib_source.c +6 -1
- data/ext/glib2/rbgobj_boxed.c +65 -48
- data/ext/glib2/rbgobj_convert.c +29 -14
- data/ext/glib2/rbgobj_value.c +42 -0
- data/ext/glib2/rbgobject.c +7 -4
- data/ext/glib2/rbgobject.h +15 -9
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +6 -1
- data/lib/gnome2-win32-binary-build-task.rb +40 -10
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
- data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
- data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
- data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
- data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
- data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
- data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
- data/vendor/local/include/glib-2.0/gmodule.h +7 -11
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
- data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
- data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +2 -41
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
- data/vendor/local/lib/glib-2.0.def +0 -2
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gobject-2.0.def +0 -4
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +33 -197
- data/ext/glib2/rbgobj_fundamental.c +0 -43
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/dumpsexp.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +0 -177
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
- data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
- data/vendor/local/gnutls.README.txt +0 -6
- data/vendor/local/include/gcrypt-module.h +0 -226
- data/vendor/local/include/gcrypt.h +0 -1826
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
- data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/gnutls/extra.h +0 -137
- data/vendor/local/include/gpg-error.h +0 -651
- data/vendor/local/include/libtasn1.h +0 -246
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgcrypt.def +0 -237
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
- data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
- data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
- data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
- data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
- data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
- data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +0 -879
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
- data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
- data/vendor/local/share/info/gcrypt.info +0 -6243
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/libtasn1.info +0 -2993
- data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
- data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
- data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
- data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
- data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
- data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
- data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
- data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
- data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
- data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
- data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
- data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
- data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
- data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
- data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
- data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
- data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
- data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
- data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
data/Rakefile
CHANGED
@@ -3,21 +3,25 @@
|
|
3
3
|
$LOAD_PATH.unshift("./lib")
|
4
4
|
require 'gnome2-raketask'
|
5
5
|
|
6
|
+
libffi_lib_dir = nil
|
7
|
+
libffi_include_dir = nil
|
8
|
+
|
6
9
|
package = GNOME2Package.new do |_package|
|
10
|
+
libffi_lib_dir = File.join(_package.win32.absolute_binary_dir, "lib")
|
11
|
+
libffi_include_dir = File.join(_package.win32.absolute_binary_dir, "include")
|
12
|
+
|
7
13
|
_package.summary = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
8
14
|
_package.description = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
9
15
|
_package.dependency.gem.runtime = [["pkg-config", ">= 0"]]
|
10
16
|
_package.dependency.gem.development = [["test-unit", ">= 2"]]
|
11
17
|
_package.win32.packages = []
|
12
18
|
_package.win32.dependencies = ["zlib", "libffi", "gettext-runtime"]
|
13
|
-
libffi_lib_dir = File.join(_package.win32.absolute_binary_dir, "lib")
|
14
|
-
libffi_include_dir = File.join(libffi_lib_dir, "libffi-3.0.6", "include")
|
15
19
|
_package.win32.build_packages = [
|
16
20
|
{
|
17
21
|
:name => "glib",
|
18
22
|
:download_site => :gnome,
|
19
23
|
:label => "GLib",
|
20
|
-
:version => "2.
|
24
|
+
:version => "2.34.3",
|
21
25
|
:configure_args => [
|
22
26
|
"LIBFFI_CFLAGS=-I#{libffi_include_dir}",
|
23
27
|
"LIBFFI_LIBS=-L#{libffi_lib_dir} -lffi",
|
@@ -57,7 +61,7 @@ package = GNOME2Package.new do |_package|
|
|
57
61
|
:name => "glib-networking",
|
58
62
|
:download_site => :gnome,
|
59
63
|
:label => "glib-networking",
|
60
|
-
:version => "2.
|
64
|
+
:version => "2.34.2",
|
61
65
|
:configure_args => [
|
62
66
|
"--without-libproxy",
|
63
67
|
"--without-gnome-proxy",
|
@@ -68,3 +72,21 @@ package = GNOME2Package.new do |_package|
|
|
68
72
|
]
|
69
73
|
end
|
70
74
|
package.define_tasks
|
75
|
+
|
76
|
+
namespace :win32 do
|
77
|
+
namespace :libffi do
|
78
|
+
namespace :header do
|
79
|
+
desc "Move libffi headers to include/"
|
80
|
+
task :fix do
|
81
|
+
libffi_version = "libffi-3.0.6"
|
82
|
+
mv(Dir.glob(File.join(libffi_lib_dir, libffi_version, "include", "*.h")),
|
83
|
+
libffi_include_dir)
|
84
|
+
rm_rf(File.join(libffi_lib_dir, libffi_version))
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
namespace :downloader do
|
90
|
+
task :after => ["win32:libffi:header:fix"]
|
91
|
+
end
|
92
|
+
end
|
data/ext/glib2/glib2.def
CHANGED
@@ -21,8 +21,11 @@ EXPORTS
|
|
21
21
|
rbgobj_gobject_initialize
|
22
22
|
rbgobj_boxed_create
|
23
23
|
rbgobj_boxed_get
|
24
|
+
rbgobj_boxed_get_default
|
24
25
|
rbgobj_boxed_not_copy_obj
|
25
26
|
rbgobj_make_boxed
|
27
|
+
rbgobj_make_boxed_raw
|
28
|
+
rbgobj_make_boxed_default
|
26
29
|
rbgobj_add_abstract_but_create_instance_class
|
27
30
|
rbgobj_gtype_get
|
28
31
|
rbgobj_gtype_new
|
@@ -120,7 +123,6 @@ EXPORTS
|
|
120
123
|
rbgerr_define_gerror
|
121
124
|
rbgerr_gerror2exception
|
122
125
|
rbgobj_convert_define
|
123
|
-
rbgobj_fund_define_fundamental
|
124
126
|
rbgobj_gc_mark_gvalue
|
125
127
|
rbgobj_gc_mark_instance
|
126
128
|
rbglib_num_to_uint64
|
data/ext/glib2/rbgcompat.h
CHANGED
@@ -24,21 +24,6 @@
|
|
24
24
|
|
25
25
|
G_BEGIN_DECLS
|
26
26
|
|
27
|
-
typedef struct {
|
28
|
-
GType type;
|
29
|
-
VALUE (*get_superclass)(void);
|
30
|
-
void (*type_init_hook)(VALUE);
|
31
|
-
void (*rvalue2gvalue)(VALUE val, GValue *result);
|
32
|
-
VALUE (*gvalue2rvalue)(const GValue *);
|
33
|
-
void (*initialize)(VALUE, gpointer);
|
34
|
-
gpointer (*robj2instance)(VALUE);
|
35
|
-
VALUE (*instance2robj)(gpointer);
|
36
|
-
} RGFundamental;
|
37
|
-
|
38
|
-
#define G_DEF_FUNDAMENTAL(f) (rbgobj_fund_define_fundamental(f))
|
39
|
-
|
40
|
-
extern void rbgobj_fund_define_fundamental(RGFundamental *fundamental);
|
41
|
-
|
42
27
|
G_END_DECLS
|
43
28
|
|
44
29
|
#endif
|
data/ext/glib2/rbglib.h
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2011-
|
3
|
+
* Copyright (C) 2011-2013 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2002-2005 Ruby-GNOME2 Project
|
5
5
|
* Copyright (C) 2002,2003 Masahiro Sakai
|
6
6
|
*
|
@@ -34,8 +34,8 @@ extern "C" {
|
|
34
34
|
#endif /* __cplusplus */
|
35
35
|
|
36
36
|
#define RBGLIB_MAJOR_VERSION 1
|
37
|
-
#define RBGLIB_MINOR_VERSION
|
38
|
-
#define RBGLIB_MICRO_VERSION
|
37
|
+
#define RBGLIB_MINOR_VERSION 2
|
38
|
+
#define RBGLIB_MICRO_VERSION 0
|
39
39
|
|
40
40
|
#ifndef RSTRING_PTR
|
41
41
|
# define RSTRING_PTR(s) (RSTRING(s)->ptr)
|
@@ -55,6 +55,14 @@ extern "C" {
|
|
55
55
|
typedef int GPid;
|
56
56
|
#endif
|
57
57
|
|
58
|
+
#ifndef G_SOURCE_REMOVE
|
59
|
+
# define G_SOURCE_REMOVE FALSE
|
60
|
+
#endif
|
61
|
+
|
62
|
+
#ifndef G_SOURCE_CONTINUE
|
63
|
+
# define G_SOURCE_CONTINUE TRUE
|
64
|
+
#endif
|
65
|
+
|
58
66
|
#define RBG_INSPECT(object) (rbg_rval_inspect(object))
|
59
67
|
|
60
68
|
#define RVAL2CSTR(v) (rbg_rval2cstr(&(v)))
|
data/ext/glib2/rbglib_source.c
CHANGED
@@ -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-2013 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2005 Masao Mutoh
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -171,6 +171,11 @@ Init_glib_source(void)
|
|
171
171
|
|
172
172
|
id_call = rb_intern("call");
|
173
173
|
|
174
|
+
rb_define_const(RG_TARGET_NAMESPACE,
|
175
|
+
"REMOVE", CBOOL2RVAL(G_SOURCE_REMOVE));
|
176
|
+
rb_define_const(RG_TARGET_NAMESPACE,
|
177
|
+
"CONTINUE", CBOOL2RVAL(G_SOURCE_CONTINUE));
|
178
|
+
|
174
179
|
RG_DEF_METHOD(attach, -1);
|
175
180
|
#if GLIB_CHECK_VERSION(2,12,0)
|
176
181
|
RG_DEF_METHOD_P(destroyed, 0);
|
data/ext/glib2/rbgobj_boxed.c
CHANGED
@@ -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-2013 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2002,2003 Masahiro Sakai
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -55,14 +55,14 @@ boxed_free(boxed_holder *holder)
|
|
55
55
|
static VALUE
|
56
56
|
rbgobj_boxed_s_allocate(VALUE klass)
|
57
57
|
{
|
58
|
-
const RGObjClassInfo*
|
59
|
-
boxed_holder*
|
58
|
+
const RGObjClassInfo *cinfo = rbgobj_lookup_class(klass);
|
59
|
+
boxed_holder *holder;
|
60
60
|
VALUE result;
|
61
61
|
|
62
62
|
if (cinfo->gtype == G_TYPE_BOXED)
|
63
63
|
rb_raise(rb_eTypeError, "abstract class");
|
64
64
|
|
65
|
-
result = Data_Make_Struct(klass, boxed_holder,
|
65
|
+
result = Data_Make_Struct(klass, boxed_holder,
|
66
66
|
boxed_mark, boxed_free, holder);
|
67
67
|
holder->type = cinfo->gtype;
|
68
68
|
holder->boxed = NULL;
|
@@ -81,8 +81,8 @@ rg_initialize(VALUE self)
|
|
81
81
|
static VALUE
|
82
82
|
rg_inspect(VALUE self)
|
83
83
|
{
|
84
|
-
boxed_holder*
|
85
|
-
gchar*
|
84
|
+
boxed_holder *holder;
|
85
|
+
gchar *s;
|
86
86
|
VALUE result;
|
87
87
|
|
88
88
|
Data_Get_Struct(self, boxed_holder, holder);
|
@@ -102,8 +102,8 @@ rg_inspect(VALUE self)
|
|
102
102
|
static VALUE
|
103
103
|
rg_initialize_copy(VALUE self, VALUE orig)
|
104
104
|
{
|
105
|
-
boxed_holder*
|
106
|
-
boxed_holder*
|
105
|
+
boxed_holder *holder1;
|
106
|
+
boxed_holder *holder2;
|
107
107
|
|
108
108
|
if (self == orig) return self;
|
109
109
|
|
@@ -134,24 +134,21 @@ rbgobj_boxed_create(VALUE klass)
|
|
134
134
|
|
135
135
|
void
|
136
136
|
rbgobj_boxed_initialize(VALUE obj, gpointer boxed)
|
137
|
-
{
|
138
|
-
boxed_holder*
|
137
|
+
{
|
138
|
+
boxed_holder *holder;
|
139
139
|
Data_Get_Struct(obj, boxed_holder, holder);
|
140
140
|
holder->boxed = g_boxed_copy(holder->type, boxed);
|
141
141
|
holder->own = TRUE;
|
142
142
|
}
|
143
143
|
|
144
144
|
gpointer
|
145
|
-
|
145
|
+
rbgobj_boxed_get_default(VALUE obj, GType gtype)
|
146
146
|
{
|
147
|
-
boxed_holder*
|
148
|
-
|
149
|
-
if (NIL_P(obj))
|
150
|
-
return NULL;
|
147
|
+
boxed_holder *holder;
|
151
148
|
|
152
149
|
if (!RVAL2CBOOL(rb_obj_is_kind_of(obj, GTYPE2CLASS(gtype))))
|
153
150
|
rb_raise(rb_eArgError, "invalid argument %s (expect %s)",
|
154
|
-
rb_class2name(CLASS_OF(obj)),
|
151
|
+
rb_class2name(CLASS_OF(obj)),
|
155
152
|
rb_class2name(GTYPE2CLASS(gtype)));
|
156
153
|
|
157
154
|
Data_Get_Struct(obj, boxed_holder, holder);
|
@@ -161,22 +158,32 @@ rbgobj_boxed_get(VALUE obj, GType gtype)
|
|
161
158
|
return holder->boxed;
|
162
159
|
}
|
163
160
|
|
161
|
+
gpointer
|
162
|
+
rbgobj_boxed_get(VALUE obj, GType gtype)
|
163
|
+
{
|
164
|
+
gpointer boxed = NULL;
|
165
|
+
|
166
|
+
if (NIL_P(obj))
|
167
|
+
return NULL;
|
168
|
+
|
169
|
+
if (rbgobj_convert_robj2instance(gtype, obj, &boxed)) {
|
170
|
+
return boxed;
|
171
|
+
}
|
172
|
+
|
173
|
+
return rbgobj_boxed_get_default(obj, gtype);
|
174
|
+
}
|
175
|
+
|
164
176
|
VALUE
|
165
|
-
|
177
|
+
rbgobj_make_boxed_raw(gpointer p, GType gtype, VALUE klass, gint flags)
|
166
178
|
{
|
167
|
-
const RGObjClassInfo* cinfo;
|
168
179
|
VALUE result;
|
169
|
-
boxed_holder*
|
180
|
+
boxed_holder *holder;
|
170
181
|
|
171
|
-
|
172
|
-
return Qnil;
|
173
|
-
|
174
|
-
cinfo = GTYPE2CINFO(gtype);
|
175
|
-
result = rbgobj_boxed_s_allocate(cinfo->klass);
|
182
|
+
result = rbgobj_boxed_s_allocate(klass);
|
176
183
|
|
177
184
|
Data_Get_Struct(result, boxed_holder, holder);
|
178
185
|
|
179
|
-
if (
|
186
|
+
if (flags & RBGOBJ_BOXED_NOT_COPY) {
|
180
187
|
holder->boxed = p;
|
181
188
|
holder->own = FALSE;
|
182
189
|
} else {
|
@@ -187,43 +194,53 @@ rbgobj_make_boxed(gpointer p, GType gtype)
|
|
187
194
|
return result;
|
188
195
|
}
|
189
196
|
|
197
|
+
VALUE
|
198
|
+
rbgobj_make_boxed_default(gpointer p, GType gtype)
|
199
|
+
{
|
200
|
+
const RGObjClassInfo *cinfo;
|
201
|
+
|
202
|
+
cinfo = GTYPE2CINFO(gtype);
|
203
|
+
return rbgobj_make_boxed_raw(p, gtype, cinfo->klass, cinfo->flags);
|
204
|
+
}
|
205
|
+
|
206
|
+
VALUE
|
207
|
+
rbgobj_make_boxed(gpointer p, GType gtype)
|
208
|
+
{
|
209
|
+
VALUE result;
|
210
|
+
|
211
|
+
if (!p)
|
212
|
+
return Qnil;
|
213
|
+
|
214
|
+
if (rbgobj_convert_instance2robj(gtype, p, &result)) {
|
215
|
+
return result;
|
216
|
+
}
|
217
|
+
|
218
|
+
return rbgobj_make_boxed_default(p, gtype);
|
219
|
+
}
|
220
|
+
|
190
221
|
void
|
191
222
|
rbgobj_boxed_not_copy_obj(GType gtype)
|
192
223
|
{
|
193
|
-
RGObjClassInfo*
|
224
|
+
RGObjClassInfo *cinfo = (RGObjClassInfo *)GTYPE2CINFO(gtype);
|
194
225
|
cinfo->flags |= RBGOBJ_BOXED_NOT_COPY;
|
195
226
|
}
|
196
227
|
|
197
228
|
/**********************************************************************/
|
198
229
|
|
199
230
|
static VALUE
|
200
|
-
boxed_to_ruby(const GValue*
|
231
|
+
boxed_to_ruby(const GValue *from)
|
201
232
|
{
|
202
|
-
gpointer boxed
|
203
|
-
|
204
|
-
|
205
|
-
else
|
206
|
-
return rbgobj_make_boxed(boxed, G_VALUE_TYPE(from));
|
233
|
+
gpointer boxed;
|
234
|
+
boxed = g_value_get_boxed(from);
|
235
|
+
return rbgobj_make_boxed(boxed, G_VALUE_TYPE(from));
|
207
236
|
}
|
208
237
|
|
209
238
|
static void
|
210
|
-
boxed_from_ruby(VALUE from, GValue*
|
239
|
+
boxed_from_ruby(VALUE from, GValue *to)
|
211
240
|
{
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
g_value_set_boxed(to, NULL);
|
216
|
-
return;
|
217
|
-
}
|
218
|
-
|
219
|
-
Data_Get_Struct(from, boxed_holder, holder);
|
220
|
-
|
221
|
-
if (g_type_is_a(holder->type, G_VALUE_TYPE(to)))
|
222
|
-
g_value_set_boxed(to, holder->boxed);
|
223
|
-
else
|
224
|
-
rb_raise(rb_eRuntimeError, "%s is not a subtype of %s",
|
225
|
-
g_type_name(holder->type),
|
226
|
-
g_type_name(G_VALUE_TYPE(to)));
|
241
|
+
gpointer boxed;
|
242
|
+
boxed = rbgobj_boxed_get(from, G_VALUE_TYPE(to));
|
243
|
+
g_value_set_boxed(to, boxed);
|
227
244
|
}
|
228
245
|
|
229
246
|
/**********************************************************************/
|
data/ext/glib2/rbgobj_convert.c
CHANGED
@@ -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-2013 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2006 Sjoerd Simons, Masao Mutoh
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -24,20 +24,35 @@
|
|
24
24
|
|
25
25
|
static GHashTable *tables, *class_to_g_type_map;
|
26
26
|
|
27
|
+
static void
|
28
|
+
rg_convert_table_free(gpointer data)
|
29
|
+
{
|
30
|
+
RGConvertTable *table = data;
|
31
|
+
|
32
|
+
if (table->notify) {
|
33
|
+
table->notify(table->user_data);
|
34
|
+
}
|
35
|
+
g_free(table);
|
36
|
+
}
|
37
|
+
|
27
38
|
void
|
28
39
|
Init_gobject_convert(void)
|
29
40
|
{
|
30
|
-
tables
|
41
|
+
/* TODO: unref the below tables on exit. */
|
42
|
+
tables = g_hash_table_new_full(g_int_hash, g_int_equal, NULL,
|
43
|
+
rg_convert_table_free);
|
31
44
|
class_to_g_type_map = g_hash_table_new(g_int_hash, g_int_equal);
|
32
45
|
}
|
33
46
|
|
34
47
|
void
|
35
|
-
rbgobj_convert_define(RGConvertTable *table)
|
48
|
+
rbgobj_convert_define(const RGConvertTable *table)
|
36
49
|
{
|
37
|
-
|
38
|
-
|
50
|
+
RGConvertTable *copied_table;
|
51
|
+
copied_table = g_memdup(table, sizeof(RGConvertTable));
|
52
|
+
g_hash_table_insert(tables, &(copied_table->type), copied_table);
|
53
|
+
if (copied_table->klass != Qfalse && !NIL_P(copied_table->klass)) {
|
39
54
|
g_hash_table_insert(class_to_g_type_map,
|
40
|
-
&(
|
55
|
+
&(copied_table->klass), &(copied_table->type));
|
41
56
|
}
|
42
57
|
}
|
43
58
|
|
@@ -60,7 +75,7 @@ rbgobj_convert_get_superclass(GType type, VALUE *result)
|
|
60
75
|
|
61
76
|
table = rbgobj_convert_lookup(type);
|
62
77
|
if (table && table->get_superclass) {
|
63
|
-
*result = table->get_superclass();
|
78
|
+
*result = table->get_superclass(table->user_data);
|
64
79
|
return TRUE;
|
65
80
|
}
|
66
81
|
|
@@ -74,7 +89,7 @@ rbgobj_convert_type_init_hook(GType type, VALUE klass)
|
|
74
89
|
|
75
90
|
table = rbgobj_convert_lookup(type);
|
76
91
|
if (table && table->type_init_hook) {
|
77
|
-
table->type_init_hook(klass);
|
92
|
+
table->type_init_hook(klass, table->user_data);
|
78
93
|
return TRUE;
|
79
94
|
}
|
80
95
|
|
@@ -88,7 +103,7 @@ rbgobj_convert_rvalue2gvalue(GType type, VALUE value, GValue *result)
|
|
88
103
|
|
89
104
|
table = rbgobj_convert_lookup(type);
|
90
105
|
if (table && table->rvalue2gvalue) {
|
91
|
-
table->rvalue2gvalue(value, result);
|
106
|
+
table->rvalue2gvalue(value, result, table->user_data);
|
92
107
|
return TRUE;
|
93
108
|
}
|
94
109
|
|
@@ -102,7 +117,7 @@ rbgobj_convert_gvalue2rvalue(GType type, const GValue *value, VALUE *result)
|
|
102
117
|
|
103
118
|
table = rbgobj_convert_lookup(type);
|
104
119
|
if (table && table->gvalue2rvalue) {
|
105
|
-
*result = table->gvalue2rvalue(value);
|
120
|
+
*result = table->gvalue2rvalue(value, table->user_data);
|
106
121
|
return TRUE;
|
107
122
|
}
|
108
123
|
|
@@ -127,7 +142,7 @@ rbgobj_convert_initialize(GType type, VALUE obj, gpointer cobj)
|
|
127
142
|
|
128
143
|
table = rbgobj_convert_lookup(type);
|
129
144
|
if (table && table->initialize) {
|
130
|
-
table->initialize(obj, cobj);
|
145
|
+
table->initialize(obj, cobj, table->user_data);
|
131
146
|
return TRUE;
|
132
147
|
}
|
133
148
|
|
@@ -141,7 +156,7 @@ rbgobj_convert_robj2instance(GType type, VALUE obj, gpointer *result)
|
|
141
156
|
|
142
157
|
table = rbgobj_convert_lookup(type);
|
143
158
|
if (table && table->robj2instance) {
|
144
|
-
*result = table->robj2instance(obj);
|
159
|
+
*result = table->robj2instance(obj, table->user_data);
|
145
160
|
return TRUE;
|
146
161
|
}
|
147
162
|
|
@@ -155,7 +170,7 @@ rbgobj_convert_instance2robj(GType type, gpointer instance, VALUE *result)
|
|
155
170
|
|
156
171
|
table = rbgobj_convert_lookup(type);
|
157
172
|
if (table && table->instance2robj) {
|
158
|
-
*result = table->instance2robj(instance);
|
173
|
+
*result = table->instance2robj(instance, table->user_data);
|
159
174
|
return TRUE;
|
160
175
|
}
|
161
176
|
|
@@ -169,7 +184,7 @@ rbgobj_convert_unref(GType type, gpointer instance)
|
|
169
184
|
|
170
185
|
table = rbgobj_convert_lookup(type);
|
171
186
|
if (table && table->unref) {
|
172
|
-
table->unref(instance);
|
187
|
+
table->unref(instance, table->user_data);
|
173
188
|
return TRUE;
|
174
189
|
}
|
175
190
|
|