glib2 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +42 -0
- data/Rakefile +8 -7
- data/ext/glib2/glib2.def +5 -0
- data/ext/glib2/rbglib-gc.c +89 -0
- data/ext/glib2/rbglib-variant-type.c +17 -0
- data/ext/glib2/rbglib.c +3 -0
- data/ext/glib2/rbglib.h +6 -1
- data/ext/glib2/rbglib2conversions.h +1 -1
- data/ext/glib2/rbgobj_boxed.c +49 -30
- data/ext/glib2/rbgobj_closure.c +3 -2
- data/ext/glib2/rbgobj_convert.c +1 -2
- data/ext/glib2/rbgobj_enums.c +32 -14
- data/ext/glib2/rbgobj_flags.c +31 -14
- data/ext/glib2/rbgobj_param.c +43 -23
- data/ext/glib2/rbgobj_signal.c +78 -66
- data/ext/glib2/rbgobj_type.c +22 -10
- data/ext/glib2/rbgobject.h +2 -0
- data/ext/glib2/rbgprivate.h +11 -0
- data/glib2.gemspec +48 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/2.4/glib2.so +0 -0
- data/lib/2.5/glib2.so +0 -0
- data/lib/gnome2/rake/package-task.rb +17 -5
- data/lib/gnome2/rake/package.rb +2 -2
- data/lib/gnome2/rake/windows-binary-build-task.rb +39 -6
- data/lib/mkmf-gnome2.rb +4 -3
- data/sample/bookmarkfile.rb +2 -2
- data/sample/type-register.rb +6 -6
- data/sample/type-register2.rb +6 -6
- data/test/{test_enum.rb → test-enum.rb} +0 -0
- data/test/{test_file_utils.rb → test-file-utils.rb} +0 -0
- data/test/{test_flags.rb → test-flags.rb} +0 -0
- data/test/{test_glib2.rb → test-glib2.rb} +0 -0
- data/test/{test_key_file.rb → test-key-file.rb} +0 -0
- data/test/{test_mkenums.rb → test-mkenums.rb} +0 -0
- data/test/{test_poll_fd.rb → test-poll-fd.rb} +0 -0
- data/test/{test_signal.rb → test-signal.rb} +34 -2
- data/test/{test_source.rb → test-source.rb} +0 -0
- data/test/{test_spawn.rb → test-spawn.rb} +0 -0
- data/test/{test_timeout.rb → test-timeout.rb} +0 -0
- data/test/{test_unicode.rb → test-unicode.rb} +0 -0
- data/test/{test_utils.rb → test-utils.rb} +0 -0
- data/test/{test_value.rb → test-value.rb} +0 -0
- data/test/test-variant.rb +27 -0
- data/test/{test_win32.rb → test-win32.rb} +0 -0
- 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/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/gio.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 +1 -1
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +4 -2
- 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-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn2.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +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-30.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-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn2-0.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.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/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/idn2.h +5 -3
- data/vendor/local/include/p11-kit-1/p11-kit/iter.h +25 -1
- data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +6 -0
- data/vendor/local/include/p11-kit-1/p11-kit/pkcs11.h +133 -4
- data/vendor/local/include/p11-kit-1/p11-kit/pkcs11x.h +1 -0
- data/vendor/local/include/p11-kit-1/p11-kit/remote.h +15 -0
- data/vendor/local/include/p11-kit-1/p11-kit/uri.h +32 -12
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libasprintf.la +1 -1
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libcharset.la +1 -1
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libffi.la +1 -1
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +2 -2
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +2 -2
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +2 -2
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +1 -1
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +2 -2
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +2 -2
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libiconv.la +1 -1
- data/vendor/local/lib/libidn2.a +0 -0
- data/vendor/local/lib/libidn2.dll.a +0 -0
- data/vendor/local/lib/libidn2.la +2 -2
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +1 -1
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.la +3 -3
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +1 -1
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +1 -1
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.la +3 -3
- 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/lib/pkgconfig/libidn2.pc +1 -1
- data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
- data/vendor/local/libexec/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/libexec/p11-kit/p11-kit-server.exe +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2/glib2/vendor/local/lib/{libglib-2.0.so.0.5600.0-gdb.py → libglib-2.0.so.0.5600.1-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2/glib2/vendor/local/lib/{libgobject-2.0.so.0.5600.0-gdb.py → libgobject-2.0.so.0.5600.1-gdb.py} +0 -0
- 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/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- 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/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.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/glib-2.0/gdb/gobject_gdb.py +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +35 -13
- data/vendor/local/share/gtk-doc/html/gio/gio.html +0 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +2 -2
- 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-Allocation.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +4 -4
- 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 +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/libidn2/api-index-full.html +4 -10
- data/vendor/local/share/gtk-doc/html/libidn2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/libidn2/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/libidn2-idn2.html +67 -75
- data/vendor/local/share/gtk-doc/html/libidn2/libidn2.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/libidn2/libidn2.html +2 -2
- data/vendor/local/share/gtk-doc/html/libidn2/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/style.css +4 -0
- data/vendor/local/share/gtk-doc/html/libidn2/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +5 -5
- data/vendor/local/share/gtk-doc/html/p11-kit/index.html +5 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +292 -19
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +22 -16
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +19 -19
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +262 -21
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +5 -5
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +21 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +18 -5
- data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +6 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +43 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/remoting.html +230 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +5 -5
- data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +5 -5
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +42 -7
- data/vendor/local/share/info/libidn2.info +94 -54
- data/vendor/local/share/locale/cs/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libidn2.mo +0 -0
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- 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/gio.1 +1 -6
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- 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
- data/vendor/local/share/man/man3/idn2_check_version.3 +1 -1
- data/vendor/local/share/man/man3/idn2_free.3 +1 -1
- data/vendor/local/share/man/man3/idn2_lookup_u8.3 +1 -1
- data/vendor/local/share/man/man3/idn2_lookup_ul.3 +1 -1
- data/vendor/local/share/man/man3/idn2_register_u8.3 +1 -1
- data/vendor/local/share/man/man3/idn2_register_ul.3 +3 -2
- data/vendor/local/share/man/man3/idn2_strerror.3 +1 -1
- data/vendor/local/share/man/man3/idn2_strerror_name.3 +1 -1
- data/vendor/local/share/man/man3/idn2_to_ascii_4i.3 +6 -3
- data/vendor/local/share/man/man3/idn2_to_ascii_4z.3 +6 -3
- data/vendor/local/share/man/man3/idn2_to_ascii_8z.3 +6 -3
- data/vendor/local/share/man/man3/idn2_to_ascii_lz.3 +6 -3
- data/vendor/local/share/man/man3/idn2_to_unicode_44i.3 +1 -1
- data/vendor/local/share/man/man3/idn2_to_unicode_4z4z.3 +1 -1
- data/vendor/local/share/man/man3/idn2_to_unicode_8z4z.3 +1 -1
- data/vendor/local/share/man/man3/idn2_to_unicode_8z8z.3 +1 -1
- data/vendor/local/share/man/man3/idn2_to_unicode_8zlz.3 +1 -1
- data/vendor/local/share/man/man3/idn2_to_unicode_lzlz.3 +1 -1
- data/vendor/local/share/p11-kit/modules/p11-kit-trust.module +3 -0
- data/version.rb +30 -0
- metadata +52 -71
- data/vendor/local/share/installed-tests/glib-networking/certificate.test +0 -3
- data/vendor/local/share/installed-tests/glib-networking/connection.test +0 -3
- data/vendor/local/share/installed-tests/glib-networking/dtls-connection.test +0 -3
- data/vendor/local/share/installed-tests/glib-networking/file-database.test +0 -3
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-array.test +0 -3
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-pin.test +0 -3
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-slot.test +0 -3
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-util.test +0 -3
@@ -9,7 +9,7 @@ glib_mkenums=glib-mkenums
|
|
9
9
|
|
10
10
|
Name: GLib
|
11
11
|
Description: C Utility Library
|
12
|
-
Version: 2.56.
|
12
|
+
Version: 2.56.1
|
13
13
|
Requires.private: libpcre
|
14
14
|
Libs: -L${libdir} -lglib-2.0 -lintl
|
15
15
|
Libs.private: -lws2_32 -lole32 -lwinmm -lshlwapi -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -lpcre -lintl
|
@@ -6,7 +6,7 @@ includedir=${prefix}/include
|
|
6
6
|
Name: GObject
|
7
7
|
Description: GLib Type, Object, Parameter and Signal Library
|
8
8
|
Requires: glib-2.0
|
9
|
-
Version: 2.56.
|
9
|
+
Version: 2.56.1
|
10
10
|
Libs: -L${libdir} -lgobject-2.0
|
11
11
|
Libs.private: -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -lffi
|
12
12
|
Cflags:
|
@@ -5,7 +5,7 @@ libdir=${exec_prefix}/lib
|
|
5
5
|
|
6
6
|
Name: libidn2
|
7
7
|
Description: Library implementing IDNA2008 and TR46
|
8
|
-
Version: 2.0.
|
8
|
+
Version: 2.0.5
|
9
9
|
Cflags: -I${includedir}
|
10
10
|
Libs: -L${libdir} -lidn2
|
11
11
|
Libs.private: -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -liconv -R/home/vagrant/ruby-gnome2/glib2/vendor/local/lib
|
@@ -18,6 +18,6 @@ p11_system_config_modules=${pkgdatadir}/modules
|
|
18
18
|
|
19
19
|
Name: p11-kit
|
20
20
|
Description: Library and proxy module for properly loading and sharing PKCS#11 modules.
|
21
|
-
Version: 0.23.
|
21
|
+
Version: 0.23.12
|
22
22
|
Libs: -L${libdir} -lp11-kit
|
23
23
|
Cflags: -I${includedir}/p11-kit-1
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -512,10 +512,11 @@ startup signal is emitted and the mainloop runs. If the application
|
|
512
512
|
is not the primary instance then a signal is sent to the primary
|
513
513
|
instance and <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> promptly returns. See the code
|
514
514
|
examples below.</p>
|
515
|
-
<p>If used, the expected form of an application identifier is
|
516
|
-
|
517
|
-
<a class="ulink" href="
|
518
|
-
Examples include: "com.example.MyApp
|
515
|
+
<p>If used, the expected form of an application identifier is the same as
|
516
|
+
that of of a
|
517
|
+
<a class="ulink" href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus" target="_top">D-Bus well-known bus name</a>.
|
518
|
+
Examples include: <code class="literal">com.example.MyApp</code>, <code class="literal">org.example.internal_apps.Calculator</code>,
|
519
|
+
<code class="literal">org._7_zip.Archiver</code>.
|
519
520
|
For details on valid application identifiers, see <a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()"><code class="function">g_application_id_is_valid()</code></a>.</p>
|
520
521
|
<p>On Linux, the application identifier is claimed as a well-known bus name
|
521
522
|
on the user's session bus. This means that the uniqueness of your
|
@@ -589,19 +590,40 @@ g_application_id_is_valid (<em class="parameter"><code>const <a href="../glib-Ba
|
|
589
590
|
is a valid application identifier.</p>
|
590
591
|
<p>A valid ID is required for calls to <a class="link" href="GApplication.html#g-application-new" title="g_application_new ()"><code class="function">g_application_new()</code></a> and
|
591
592
|
<a class="link" href="GApplication.html#g-application-set-application-id" title="g_application_set_application_id ()"><code class="function">g_application_set_application_id()</code></a>.</p>
|
592
|
-
<p>
|
593
|
+
<p>Application identifiers follow the same format as
|
594
|
+
<a class="ulink" href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus" target="_top">D-Bus well-known bus names</a>.
|
595
|
+
For convenience, the restrictions on application identifiers are
|
593
596
|
reproduced here:</p>
|
594
597
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
595
|
-
<li class="listitem"><p>Application identifiers
|
596
|
-
"
|
597
|
-
<li class="listitem"><p>
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
598
|
+
<li class="listitem"><p>Application identifiers are composed of 1 or more elements separated by a
|
599
|
+
period (<code class="literal">.</code>) character. All elements must contain at least one character.</p></li>
|
600
|
+
<li class="listitem"><p>Each element must only contain the ASCII characters <code class="literal">[A-Z][a-z][0-9]_-</code>,
|
601
|
+
with <code class="literal">-</code> discouraged in new application identifiers. Each element must not
|
602
|
+
begin with a digit.</p></li>
|
603
|
+
<li class="listitem"><p>Application identifiers must contain at least one <code class="literal">.</code> (period) character
|
604
|
+
(and thus at least two elements).</p></li>
|
605
|
+
<li class="listitem"><p>Application identifiers must not begin with a <code class="literal">.</code> (period) character.</p></li>
|
603
606
|
<li class="listitem"><p>Application identifiers must not exceed 255 characters.</p></li>
|
604
607
|
</ul></div>
|
608
|
+
<p>Note that the hyphen (<code class="literal">-</code>) character is allowed in application identifiers,
|
609
|
+
but is problematic or not allowed in various specifications and APIs that
|
610
|
+
refer to D-Bus, such as
|
611
|
+
<a class="ulink" href="http://docs.flatpak.org/en/latest/introduction.html#identifiers" target="_top">Flatpak application IDs</a>,
|
612
|
+
the
|
613
|
+
<a class="ulink" href="https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus" target="_top"><code class="literal">DBusActivatable</code> interface in the Desktop Entry Specification</a>,
|
614
|
+
and the convention that an application's "main" interface and object path
|
615
|
+
resemble its application identifier and bus name. To avoid situations that
|
616
|
+
require special-case handling, it is recommended that new application
|
617
|
+
identifiers consistently replace hyphens with underscores.</p>
|
618
|
+
<p>Like D-Bus interface names, application identifiers should start with the
|
619
|
+
reversed DNS domain name of the author of the interface (in lower-case), and
|
620
|
+
it is conventional for the rest of the application identifier to consist of
|
621
|
+
words run together, with initial capital letters.</p>
|
622
|
+
<p>As with D-Bus interface names, if the author's DNS domain name contains
|
623
|
+
hyphen/minus characters they should be replaced by underscores, and if it
|
624
|
+
contains leading digits they should be escaped by prepending an underscore.
|
625
|
+
For example, if the owner of 7-zip.org used an application identifier for an
|
626
|
+
archiving application, it might be named <code class="literal">org._7_zip.Archiver</code>.</p>
|
605
627
|
<div class="refsect3">
|
606
628
|
<a name="g-application-id-is-valid.parameters"></a><h4>Parameters</h4>
|
607
629
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -626,10 +626,6 @@
|
|
626
626
|
<td><p>Show hidden files.</p></td>
|
627
627
|
</tr>
|
628
628
|
<tr>
|
629
|
-
<td><p><span class="term"><code class="option">-h</code>, <code class="option">--hidden</code></span></p></td>
|
630
|
-
<td><p>Show hidden files.</p></td>
|
631
|
-
</tr>
|
632
|
-
<tr>
|
633
629
|
<td><p><span class="term"><code class="option">-l</code>, <code class="option">--follow-symlinks</code></span></p></td>
|
634
630
|
<td><p>Follow symbolic links.</p></td>
|
635
631
|
</tr>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIO Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
for GIO 2.56.
|
18
|
+
for GIO 2.56.1
|
19
19
|
|
20
20
|
The latest version of this documentation can be found on-line at
|
21
21
|
<a class="ulink" href="https://developer.gnome.org/gio/unstable/" target="_top">https://developer.gnome.org/gio/unstable/</a>.
|
@@ -531,7 +531,7 @@ deal with filenames containing Unicode characters that fall outside
|
|
531
531
|
of the codepage.</p>
|
532
532
|
<p>A solution to this is to use <a class="link" href="glib-Windows-Compatibility-Functions.html#g-win32-get-command-line" title="g_win32_get_command_line ()"><code class="function">g_win32_get_command_line()</code></a> and
|
533
533
|
<a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse-strv" title="g_option_context_parse_strv ()"><code class="function">g_option_context_parse_strv()</code></a> which will properly handle full Unicode
|
534
|
-
filenames. If you are using <
|
534
|
+
filenames. If you are using <span class="type">GApplication</span>, this is done
|
535
535
|
automatically for you.</p>
|
536
536
|
<p>The following example shows how you can use <a class="link" href="glib-Commandline-option-parser.html#GOptionContext" title="GOptionContext"><span class="type">GOptionContext</span></a> directly
|
537
537
|
in order to correctly deal with Unicode filenames on Windows:</p>
|
@@ -1067,7 +1067,7 @@ system codepage, which is how they are passed as <em class="parameter"><code>arg
|
|
1067
1067
|
to <code class="function">main()</code>.
|
1068
1068
|
See <a class="link" href="glib-Windows-Compatibility-Functions.html#g-win32-get-command-line" title="g_win32_get_command_line ()"><code class="function">g_win32_get_command_line()</code></a> for a solution.</p>
|
1069
1069
|
<p>This function is useful if you are trying to use <a class="link" href="glib-Commandline-option-parser.html#GOptionContext" title="GOptionContext"><span class="type">GOptionContext</span></a> with
|
1070
|
-
<
|
1070
|
+
<span class="type">GApplication</span>.</p>
|
1071
1071
|
<div class="refsect3">
|
1072
1072
|
<a name="g-option-context-parse-strv.parameters"></a><h4>Parameters</h4>
|
1073
1073
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1057,7 +1057,7 @@ if the copy function takes only one argument.</p>
|
|
1057
1057
|
<tbody>
|
1058
1058
|
<tr>
|
1059
1059
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
1060
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">another_list </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-copy-deep">g_list_copy_deep</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="glib-N-ary-Trees.html#GCopyFunc">GCopyFunc</a></span><span class="symbol">)</span><span class="normal">
|
1060
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">another_list </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-copy-deep">g_list_copy_deep</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="glib-N-ary-Trees.html#GCopyFunc">GCopyFunc</a></span><span class="symbol">)</span><span class="normal"> g_object_ref</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
1061
1061
|
</tr>
|
1062
1062
|
</tbody>
|
1063
1063
|
</table>
|
@@ -1070,7 +1070,7 @@ if the copy function takes only one argument.</p>
|
|
1070
1070
|
<tbody>
|
1071
1071
|
<tr>
|
1072
1072
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
1073
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-free-full">g_list_free_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">another_list</span><span class="symbol">,</span><span class="normal">
|
1073
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-free-full">g_list_free_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">another_list</span><span class="symbol">,</span><span class="normal"> g_object_unref</span><span class="symbol">);</span></pre></td>
|
1074
1074
|
</tr>
|
1075
1075
|
</tbody>
|
1076
1076
|
</table>
|
@@ -615,7 +615,7 @@ misinterpretation of error codes.</p>
|
|
615
615
|
<p><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> has disadvantages though: it requires a memory allocation, and
|
616
616
|
formatting the error message string has a performance overhead. This makes it
|
617
617
|
unsuitable for use in retry loops where errors are a common case, rather than
|
618
|
-
being unusual. For example, using <
|
618
|
+
being unusual. For example, using <code class="literal">G_IO_ERROR_WOULD_BLOCK</code> means hitting these
|
619
619
|
overheads in the normal control flow. String formatting overhead can be
|
620
620
|
eliminated by using <a class="link" href="glib-Error-Reporting.html#g-set-error-literal" title="g_set_error_literal ()"><code class="function">g_set_error_literal()</code></a> in some cases.</p>
|
621
621
|
<p>These performance issues can be compounded if a function wraps the <a href="glib-Error-Reporting.html#GError"><span class="type">GErrors</span></a>
|
@@ -409,7 +409,7 @@
|
|
409
409
|
<a name="glib-File-Utilities.description"></a><h2>Description</h2>
|
410
410
|
<p>Do not use these APIs unless you are porting a POSIX application to Windows.
|
411
411
|
A more high-level file access API is provided as GIO — see the documentation
|
412
|
-
for <
|
412
|
+
for <span class="type">GFile</span>.</p>
|
413
413
|
<p>There is a group of functions which wrap the common POSIX functions
|
414
414
|
dealing with filenames (<a class="link" href="glib-File-Utilities.html#g-open" title="g_open ()"><code class="function">g_open()</code></a>, <a class="link" href="glib-File-Utilities.html#g-rename" title="g_rename ()"><code class="function">g_rename()</code></a>, <a class="link" href="glib-File-Utilities.html#g-mkdir" title="g_mkdir ()"><code class="function">g_mkdir()</code></a>, <a class="link" href="glib-File-Utilities.html#g-stat" title="g_stat ()"><code class="function">g_stat()</code></a>,
|
415
415
|
<a class="link" href="glib-File-Utilities.html#g-unlink" title="g_unlink ()"><code class="function">g_unlink()</code></a>, <a class="link" href="glib-File-Utilities.html#g-remove" title="g_remove ()"><code class="function">g_remove()</code></a>, <a class="link" href="glib-File-Utilities.html#g-fopen" title="g_fopen ()"><code class="function">g_fopen()</code></a>, <a class="link" href="glib-File-Utilities.html#g-freopen" title="g_freopen ()"><code class="function">g_freopen()</code></a>). The point of these
|
@@ -1088,7 +1088,7 @@ Serialised <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><
|
|
1088
1088
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is largely compatible with D-Bus. Almost all types of
|
1089
1089
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances can be sent over D-Bus. See <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> for
|
1090
1090
|
exceptions. (However, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>'s serialisation format is not the same
|
1091
|
-
as the serialisation format of a D-Bus message body: use <
|
1091
|
+
as the serialisation format of a D-Bus message body: use <span class="type">GDBusMessage</span>,
|
1092
1092
|
in the gio library, for those.)</p>
|
1093
1093
|
<p>For space-efficiency, the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> serialisation format does not
|
1094
1094
|
automatically include the variant's length, type or endianness,
|
@@ -1681,7 +1681,7 @@ the data inside of the soon-to-be-freed <a class="link" href="glib-GVariant.html
|
|
1681
1681
|
check fails then a <a class="link" href="glib-Message-Logging.html#g-critical" title="g_critical()"><code class="function">g_critical()</code></a> is printed and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.</p>
|
1682
1682
|
<p>This function is meant to be used by functions that wish to provide
|
1683
1683
|
varargs accessors to <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> values of uncertain values (eg:
|
1684
|
-
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <
|
1684
|
+
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <code class="function">g_menu_model_get_item_attribute()</code>).</p>
|
1685
1685
|
<div class="refsect3">
|
1686
1686
|
<a name="g-variant-check-format-string.parameters"></a><h4>Parameters</h4>
|
1687
1687
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -214,8 +214,8 @@ be accessed either with a string or with a <a class="link" href="glib-Quarks.htm
|
|
214
214
|
the string.</p>
|
215
215
|
<p>The <a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> methods are quicker, since the strings have to be
|
216
216
|
converted to <a href="glib-Quarks.html#GQuark"><span class="type">GQuarks</span></a> anyway.</p>
|
217
|
-
<p>Data lists are used for associating arbitrary data with <
|
218
|
-
using <
|
217
|
+
<p>Data lists are used for associating arbitrary data with <span class="type">GObjects</span>,
|
218
|
+
using <code class="function">g_object_set_data()</code> and related functions.</p>
|
219
219
|
<p>To create a datalist, use <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-init" title="g_datalist_init ()"><code class="function">g_datalist_init()</code></a>.</p>
|
220
220
|
<p>To add data elements to a datalist use <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-id-set-data" title="g_datalist_id_set_data()"><code class="function">g_datalist_id_set_data()</code></a>,
|
221
221
|
<a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-id-set-data-full" title="g_datalist_id_set_data_full ()"><code class="function">g_datalist_id_set_data_full()</code></a>, <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-set-data" title="g_datalist_set_data()"><code class="function">g_datalist_set_data()</code></a> and
|
@@ -896,7 +896,7 @@ g_datalist_set_flags (<em class="parameter"><code><a class="link" href="glib-Key
|
|
896
896
|
to keep a small number of boolean flags in an object with
|
897
897
|
a data list without using any additional space. It is
|
898
898
|
not generally useful except in circumstances where space
|
899
|
-
is very tight. (It is used in the base <
|
899
|
+
is very tight. (It is used in the base <span class="type">GObject</span> type, for
|
900
900
|
example.)</p>
|
901
901
|
<div class="refsect3">
|
902
902
|
<a name="g-datalist-set-flags.parameters"></a><h4>Parameters</h4>
|
@@ -1086,10 +1086,10 @@ the following example (which only works on GCC and clang):</p>
|
|
1086
1086
|
8
|
1087
1087
|
9
|
1088
1088
|
10</pre></td>
|
1089
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal"
|
1089
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">GObject </span><span class="symbol">*</span>
|
1090
1090
|
<span class="function">create_object</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
1091
1091
|
<span class="cbracket">{</span>
|
1092
|
-
<span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="symbol">(</span><span class="normal"
|
1092
|
+
<span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="symbol">(</span><span class="normal">GObject</span><span class="symbol">)</span><span class="normal"> obj </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">G_TYPE_OBJECT</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1093
1093
|
|
1094
1094
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">early_error_case</span><span class="symbol">)</span>
|
1095
1095
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
@@ -1124,7 +1124,7 @@ particularly useful for dealing with optional out parameters:</p>
|
|
1124
1124
|
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="glib-Basic-Types.html#gboolean">gboolean</a></span>
|
1125
1125
|
<span class="function">get_object</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">obj_out</span><span class="symbol">)</span>
|
1126
1126
|
<span class="cbracket">{</span>
|
1127
|
-
<span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="symbol">(</span><span class="normal"
|
1127
|
+
<span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="symbol">(</span><span class="normal">GObject</span><span class="symbol">)</span><span class="normal"> obj </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">G_TYPE_OBJECT</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1128
1128
|
|
1129
1129
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">early_error_case</span><span class="symbol">)</span>
|
1130
1130
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
@@ -577,7 +577,7 @@ type.</p>
|
|
577
577
|
<tbody>
|
578
578
|
<tr>
|
579
579
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
580
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Miscellaneous-Macros.html#G-DEFINE-AUTOPTR-CLEANUP-FUNC:CAPS">G_DEFINE_AUTOPTR_CLEANUP_FUNC</a></span><span class="symbol">(</span><span class="normal"
|
580
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Miscellaneous-Macros.html#G-DEFINE-AUTOPTR-CLEANUP-FUNC:CAPS">G_DEFINE_AUTOPTR_CLEANUP_FUNC</a></span><span class="symbol">(</span><span class="normal">GObject</span><span class="symbol">,</span><span class="normal"> g_object_unref</span><span class="symbol">)</span></pre></td>
|
581
581
|
</tr>
|
582
582
|
</tbody>
|
583
583
|
</table>
|
@@ -512,8 +512,8 @@ or when displaying an application's name in the task list.</p>
|
|
512
512
|
g_get_prgname (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
513
513
|
<p>Gets the name of the program. This name should not be localized,
|
514
514
|
in contrast to <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()"><code class="function">g_get_application_name()</code></a>.</p>
|
515
|
-
<p>If you are using <
|
516
|
-
<
|
515
|
+
<p>If you are using <span class="type">GApplication</span> the program name is set in
|
516
|
+
<code class="function">g_application_run()</code>. In case of GDK or GTK+ it is set in
|
517
517
|
<code class="function">gdk_init()</code>, which is called by <code class="function">gtk_init()</code> and the
|
518
518
|
<span class="type">“startup”</span> handler. The program name is found by
|
519
519
|
taking the last component of <em class="parameter"><code>argv</code></em>
|
@@ -531,8 +531,8 @@ to GLib and must not be modified or freed.</p>
|
|
531
531
|
g_set_prgname (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prgname</code></em>);</pre>
|
532
532
|
<p>Sets the name of the program. This name should not be localized,
|
533
533
|
in contrast to <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a>.</p>
|
534
|
-
<p>If you are using <
|
535
|
-
<
|
534
|
+
<p>If you are using <span class="type">GApplication</span> the program name is set in
|
535
|
+
<code class="function">g_application_run()</code>. In case of GDK or GTK+ it is set in
|
536
536
|
<code class="function">gdk_init()</code>, which is called by <code class="function">gtk_init()</code> and the
|
537
537
|
<span class="type">“startup”</span> handler. The program name is found by
|
538
538
|
taking the last component of <em class="parameter"><code>argv</code></em>
|
@@ -928,7 +928,7 @@ one argument.</p>
|
|
928
928
|
<tbody>
|
929
929
|
<tr>
|
930
930
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
931
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">another_list </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Singly-Linked-Lists.html#g-slist-copy-deep">g_slist_copy_deep</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="glib-N-ary-Trees.html#GCopyFunc">GCopyFunc</a></span><span class="symbol">)</span><span class="normal">
|
931
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">another_list </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Singly-Linked-Lists.html#g-slist-copy-deep">g_slist_copy_deep</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="glib-N-ary-Trees.html#GCopyFunc">GCopyFunc</a></span><span class="symbol">)</span><span class="normal"> g_object_ref</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
932
932
|
</tr>
|
933
933
|
</tbody>
|
934
934
|
</table>
|
@@ -941,7 +941,7 @@ one argument.</p>
|
|
941
941
|
<tbody>
|
942
942
|
<tr>
|
943
943
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
944
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Singly-Linked-Lists.html#g-slist-free-full">g_slist_free_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">another_list</span><span class="symbol">,</span><span class="normal">
|
944
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Singly-Linked-Lists.html#g-slist-free-full">g_slist_free_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">another_list</span><span class="symbol">,</span><span class="normal"> g_object_unref</span><span class="symbol">);</span></pre></td>
|
945
945
|
</tr>
|
946
946
|
</tbody>
|
947
947
|
</table>
|
@@ -146,7 +146,7 @@ convenient than the bare UNIX <code class="function">fork()</code> and <code cla
|
|
146
146
|
and asynchronous variants (<a class="link" href="glib-Spawning-Processes.html#g-spawn-async" title="g_spawn_async ()"><code class="function">g_spawn_async()</code></a>, <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes ()"><code class="function">g_spawn_async_with_pipes()</code></a>),
|
147
147
|
as well as convenience variants that take a complete shell-like
|
148
148
|
commandline (<a class="link" href="glib-Spawning-Processes.html#g-spawn-command-line-sync" title="g_spawn_command_line_sync ()"><code class="function">g_spawn_command_line_sync()</code></a>, <a class="link" href="glib-Spawning-Processes.html#g-spawn-command-line-async" title="g_spawn_command_line_async ()"><code class="function">g_spawn_command_line_async()</code></a>).</p>
|
149
|
-
<p>See <
|
149
|
+
<p>See <span class="type">GSubprocess</span> in GIO for a higher-level API that provides
|
150
150
|
stream interfaces for communication with child processes.</p>
|
151
151
|
<p>An example of using <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes ()"><code class="function">g_spawn_async_with_pipes()</code></a>:</p>
|
152
152
|
<div class="informalexample">
|
@@ -473,7 +473,7 @@ process reference must be closed using <a class="link" href="glib-Spawning-Proce
|
|
473
473
|
<p>If you are writing a GTK+ application, and the program you are spawning is a
|
474
474
|
graphical application too, then to ensure that the spawned program opens its
|
475
475
|
windows on the right screen, you may want to use <span class="type">GdkAppLaunchContext</span>,
|
476
|
-
<
|
476
|
+
<span class="type">GAppLaunchContext</span>, or set the <code class="literal">DISPLAY</code> environment variable.</p>
|
477
477
|
<div class="refsect3">
|
478
478
|
<a name="g-spawn-async-with-pipes.parameters"></a><h4>Parameters</h4>
|
479
479
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -569,7 +569,7 @@ reference when you don't need it any more.</p>
|
|
569
569
|
<p>If you are writing a GTK+ application, and the program you are spawning is a
|
570
570
|
graphical application too, then to ensure that the spawned program opens its
|
571
571
|
windows on the right screen, you may want to use <span class="type">GdkAppLaunchContext</span>,
|
572
|
-
<
|
572
|
+
<span class="type">GAppLaunchContext</span>, or set the <code class="literal">DISPLAY</code> environment variable.</p>
|
573
573
|
<p>Note that the returned <em class="parameter"><code>child_pid</code></em>
|
574
574
|
on Windows is a handle to the child
|
575
575
|
process and not its identifier. Process handles and process identifiers
|
@@ -723,8 +723,8 @@ more elaborate, and include the values of the compared entities.</p>
|
|
723
723
|
<span class="function">my_object_fixture_tear_down</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">MyObjectFixture</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">fixture</span><span class="symbol">,</span>
|
724
724
|
<span class="normal"> </span><span class="usertype">gconstpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
725
725
|
<span class="cbracket">{</span>
|
726
|
-
<span class="normal"> </span><span class="function"
|
727
|
-
<span class="normal"> </span><span class="function"
|
726
|
+
<span class="normal"> </span><span class="function">g_clear_object</span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">fixture</span><span class="symbol">-></span><span class="normal">helper</span><span class="symbol">);</span>
|
727
|
+
<span class="normal"> </span><span class="function">g_clear_object</span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">fixture</span><span class="symbol">-></span><span class="normal">obj</span><span class="symbol">);</span>
|
728
728
|
<span class="cbracket">}</span>
|
729
729
|
|
730
730
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -1947,9 +1947,9 @@ callback A before callback B will cause <code class="function">B()</code> to be
|
|
1947
1947
|
<div class="refsect2">
|
1948
1948
|
<a name="g-test-queue-unref"></a><h3>g_test_queue_unref()</h3>
|
1949
1949
|
<pre class="programlisting">#define g_test_queue_unref(gobject)</pre>
|
1950
|
-
<p>Enqueue an object to be released with <
|
1950
|
+
<p>Enqueue an object to be released with <code class="function">g_object_unref()</code> during
|
1951
1951
|
the next teardown phase. This is equivalent to calling
|
1952
|
-
<a class="link" href="glib-Testing.html#g-test-queue-destroy" title="g_test_queue_destroy ()"><code class="function">g_test_queue_destroy()</code></a> with a destroy callback of <
|
1952
|
+
<a class="link" href="glib-Testing.html#g-test-queue-destroy" title="g_test_queue_destroy ()"><code class="function">g_test_queue_destroy()</code></a> with a destroy callback of <code class="function">g_object_unref()</code>.</p>
|
1953
1953
|
<div class="refsect3">
|
1954
1954
|
<a name="g-test-queue-unref.parameters"></a><h4>Parameters</h4>
|
1955
1955
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2623,7 +2623,7 @@ ensure that no other asynchronous operations accidentally get
|
|
2623
2623
|
started while the non-default context is active.</p>
|
2624
2624
|
<p>Beware that libraries that predate this function may not correctly
|
2625
2625
|
handle being used from a thread with a thread-default context. Eg,
|
2626
|
-
see <
|
2626
|
+
see <code class="function">g_file_supports_thread_contexts()</code>.</p>
|
2627
2627
|
<div class="refsect3">
|
2628
2628
|
<a name="g-main-context-push-thread-default.parameters"></a><h4>Parameters</h4>
|
2629
2629
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3480,7 +3480,7 @@ if the call was interrupted.</p>
|
|
3480
3480
|
<a name="GSourceDummyMarshal"></a><h3>GSourceDummyMarshal ()</h3>
|
3481
3481
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3482
3482
|
<span class="c_punctuation">(</span>*GSourceDummyMarshal<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
3483
|
-
<p>This is just a placeholder for <
|
3483
|
+
<p>This is just a placeholder for <span class="type">GClosureMarshal</span>,
|
3484
3484
|
which cannot be used here for dependency reasons.</p>
|
3485
3485
|
</div>
|
3486
3486
|
<hr>
|
@@ -3739,7 +3739,7 @@ before the dispatch of your idle handler.</p>
|
|
3739
3739
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">idle_id</span><span class="symbol">)</span>
|
3740
3740
|
<span class="normal"> </span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">idle_id</span><span class="symbol">);</span>
|
3741
3741
|
<span class="normal"> </span>
|
3742
|
-
<span class="normal"> </span><span class="function"
|
3742
|
+
<span class="normal"> </span><span class="function">G_OBJECT_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
3743
3743
|
<span class="cbracket">}</span></pre></td>
|
3744
3744
|
</tr>
|
3745
3745
|
</tbody>
|
@@ -4602,7 +4602,7 @@ callback), and when <em class="parameter"><code>source</code></em>
|
|
4602
4602
|
its own prepare/check functions indicate that it is ready.)</p>
|
4603
4603
|
<p>If you don't need <em class="parameter"><code>child_source</code></em>
|
4604
4604
|
to do anything on its own when it
|
4605
|
-
triggers, you can call <
|
4605
|
+
triggers, you can call <code class="function">g_source_set_dummy_callback()</code> on it to set a
|
4606
4606
|
callback that does nothing (except return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if appropriate).</p>
|
4607
4607
|
<p><em class="parameter"><code>source</code></em>
|
4608
4608
|
will hold a reference on <em class="parameter"><code>child_source</code></em>
|