glib2 3.0.9-x86-mingw32 → 3.1.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/glib2/extconf.rb +0 -3
- data/ext/glib2/glib2.def +3 -0
- data/ext/glib2/rbglib.c +52 -20
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbglib_iochannel.c +1 -1
- data/ext/glib2/rbglib_mainloop.c +34 -11
- data/ext/glib2/rbglib_messages.c +21 -14
- data/ext/glib2/rbgobj_closure.c +65 -28
- data/ext/glib2/rbgobj_signal.c +38 -2
- data/ext/glib2/rbgobject.h +16 -0
- data/ext/glib2/rbgutil.c +6 -6
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +8 -3
- data/lib/gnome2/rake/external-package.rb +24 -1
- data/lib/gnome2/rake/windows-binary-build-task.rb +339 -338
- 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.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- 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/iconv.exe +0 -0
- data/vendor/local/bin/idn.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/libidn-11.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/glib-2.0/gio/gappinfo.h +11 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +9 -0
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +10 -10
- data/vendor/local/include/glib-2.0/gio/giotypes.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettings.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +36 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -1
- data/vendor/local/include/glib-2.0/glib/ghmac.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +6 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmain.h +11 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +211 -2
- data/vendor/local/include/glib-2.0/glib/gtypes.h +2 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +23 -3
- data/vendor/local/include/glib-2.0/glib/gutils.h +10 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +71 -2
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +23 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +2 -0
- data/vendor/local/include/gmp.h +1 -1
- data/vendor/local/include/nettle/nettle-stdint.h +1 -1
- 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/glib-2.0/include/glibconfig.h +3 -2
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +5 -5
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +5 -5
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +5 -5
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +5 -5
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +5 -5
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.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/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +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/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- 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/gnutls.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/bash-completion/completions/gsettings +3 -3
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.1-gdb.py → libglib-2.0.so.0.5000.2-gdb.py} +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.1-gdb.py → libgobject-2.0.so.0.5000.2-gdb.py} +1 -1
- 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.py +32 -22
- 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.py +3 -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.py +8 -4
- 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.py +8 -2
- 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/{glib.py → glib_gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/{gobject.py → gobject_gdb.py} +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +115 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +2 -1
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +8 -7
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +44 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +25 -23
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +18 -4
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +14 -10
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +2 -0
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +32 -2
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +234 -11
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +10 -2
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +10 -9
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-50.html +79 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +18 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +14 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.html +664 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +19 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +6 -0
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +7 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +5 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +3 -0
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +10 -9
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -0
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-50.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +110 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +10 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +10 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +56 -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-Error-Reporting.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +71 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +74 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +57 -0
- 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 +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +1009 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +84 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +3 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +27 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +36 -14
- 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-URI-Functions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +68 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +17 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +12 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +36 -2
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +1 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.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/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/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/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.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/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +8 -3
- 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 +583 -0
- data/vendor/local/share/man/man1/glib-compile-resources.1 +19 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +6 -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 +9 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +12 -7
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/gdbus.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -37,7 +37,7 @@ Usage: glib-gettextize [OPTION]... [package-dir]
|
|
37
37
|
-f, --force force writing of new files even if old exist
|
38
38
|
Report bugs to http://bugzilla.gnome.org/."
|
39
39
|
package=glib
|
40
|
-
version=2.
|
40
|
+
version=2.50.2
|
41
41
|
try_ln_s=:
|
42
42
|
|
43
43
|
# Directory where the sources are stored.
|
@@ -129,7 +129,7 @@ sub parse_entries {
|
|
129
129
|
}
|
130
130
|
|
131
131
|
sub version {
|
132
|
-
print "glib-mkenums version glib-2.
|
132
|
+
print "glib-mkenums version glib-2.50.2\n";
|
133
133
|
print "glib-mkenums comes with ABSOLUTELY NO WARRANTY.\n";
|
134
134
|
print "You may redistribute copies of glib-mkenums under the terms of\n";
|
135
135
|
print "the GNU General Public License which can be found in the\n";
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/iconv.exe
CHANGED
Binary file
|
data/vendor/local/bin/idn.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/trust.exe
CHANGED
Binary file
|
@@ -230,6 +230,17 @@ gboolean g_app_info_launch_default_for_uri (const char *uri,
|
|
230
230
|
GAppLaunchContext *launch_context,
|
231
231
|
GError **error);
|
232
232
|
|
233
|
+
GLIB_AVAILABLE_IN_2_50
|
234
|
+
void g_app_info_launch_default_for_uri_async (const char *uri,
|
235
|
+
GAppLaunchContext *launch_context,
|
236
|
+
GCancellable *cancellable,
|
237
|
+
GAsyncReadyCallback callback,
|
238
|
+
gpointer user_data);
|
239
|
+
GLIB_AVAILABLE_IN_2_50
|
240
|
+
gboolean g_app_info_launch_default_for_uri_finish (GAsyncResult *result,
|
241
|
+
GError **error);
|
242
|
+
|
243
|
+
|
233
244
|
/**
|
234
245
|
* GAppLaunchContext:
|
235
246
|
*
|
@@ -45,6 +45,7 @@ G_BEGIN_DECLS
|
|
45
45
|
* @get_icon: Returns a #GIcon for the given #GDrive.
|
46
46
|
* @has_volumes: Returns %TRUE if the #GDrive has mountable volumes.
|
47
47
|
* @get_volumes: Returns a list #GList of #GVolume for the #GDrive.
|
48
|
+
* @is_removable: Returns %TRUE if the #GDrive and/or its media is considered removable by the user. Since 2.50.
|
48
49
|
* @is_media_removable: Returns %TRUE if the #GDrive supports removal and insertion of media.
|
49
50
|
* @has_media: Returns %TRUE if the #GDrive has media inserted.
|
50
51
|
* @is_media_check_automatic: Returns %TRUE if the #GDrive is capabable of automatically detecting media changes.
|
@@ -154,6 +155,7 @@ struct _GDriveIface
|
|
154
155
|
|
155
156
|
const gchar * (* get_sort_key) (GDrive *drive);
|
156
157
|
GIcon * (* get_symbolic_icon) (GDrive *drive);
|
158
|
+
gboolean (* is_removable) (GDrive *drive);
|
157
159
|
|
158
160
|
};
|
159
161
|
|
@@ -170,6 +172,8 @@ GLIB_AVAILABLE_IN_ALL
|
|
170
172
|
gboolean g_drive_has_volumes (GDrive *drive);
|
171
173
|
GLIB_AVAILABLE_IN_ALL
|
172
174
|
GList * g_drive_get_volumes (GDrive *drive);
|
175
|
+
GLIB_AVAILABLE_IN_2_50
|
176
|
+
gboolean g_drive_is_removable (GDrive *drive);
|
173
177
|
GLIB_AVAILABLE_IN_ALL
|
174
178
|
gboolean g_drive_is_media_removable (GDrive *drive);
|
175
179
|
GLIB_AVAILABLE_IN_ALL
|
@@ -804,6 +804,15 @@ typedef struct _GFileInfoClass GFileInfoClass;
|
|
804
804
|
**/
|
805
805
|
#define G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW "filesystem::use-preview" /* uint32 (GFilesystemPreviewType) */
|
806
806
|
|
807
|
+
/**
|
808
|
+
* G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE:
|
809
|
+
*
|
810
|
+
* A key in the "filesystem" namespace for checking if the file system
|
811
|
+
* is remote. Is set to %TRUE if the file system is remote.
|
812
|
+
* Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN.
|
813
|
+
**/
|
814
|
+
#define G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE "filesystem::remote" /* boolean */
|
815
|
+
|
807
816
|
/**
|
808
817
|
* G_FILE_ATTRIBUTE_GVFS_BACKEND:
|
809
818
|
*
|
@@ -64,6 +64,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GEmblemedIcon, g_object_unref)
|
|
64
64
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GEmblem, g_object_unref)
|
65
65
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileEnumerator, g_object_unref)
|
66
66
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFile, g_object_unref)
|
67
|
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileAttributeInfoList, g_file_attribute_info_list_unref)
|
67
68
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileIcon, g_object_unref)
|
68
69
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileInfo, g_object_unref)
|
69
70
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileInputStream, g_object_unref)
|
@@ -328,14 +328,14 @@ typedef enum {
|
|
328
328
|
* by file renames (moves) and send a single G_FILE_MONITOR_EVENT_MOVED
|
329
329
|
* event instead (NB: not supported on all backends; the default
|
330
330
|
* behaviour -without specifying this flag- is to send single DELETED
|
331
|
-
* and CREATED events). Deprecated since 2.
|
331
|
+
* and CREATED events). Deprecated since 2.46: use
|
332
332
|
* %G_FILE_MONITOR_WATCH_MOVES instead.
|
333
333
|
* @G_FILE_MONITOR_WATCH_HARD_LINKS: Watch for changes to the file made
|
334
334
|
* via another hard link. Since 2.36.
|
335
335
|
* @G_FILE_MONITOR_WATCH_MOVES: Watch for rename operations on a
|
336
336
|
* monitored directory. This causes %G_FILE_MONITOR_EVENT_RENAMED,
|
337
337
|
* %G_FILE_MONITOR_EVENT_MOVED_IN and %G_FILE_MONITOR_EVENT_MOVED_OUT
|
338
|
-
* events to be emitted when possible. Since: 2.
|
338
|
+
* events to be emitted when possible. Since: 2.46.
|
339
339
|
*
|
340
340
|
* Flags used to set what a #GFileMonitor will watch for.
|
341
341
|
*/
|
@@ -403,13 +403,13 @@ typedef enum {
|
|
403
403
|
* (deprecated) %G_FILE_MONITOR_SEND_MOVED flag is set
|
404
404
|
* @G_FILE_MONITOR_EVENT_RENAMED: the file was renamed within the
|
405
405
|
* current directory -- only sent if the %G_FILE_MONITOR_WATCH_MOVES
|
406
|
-
* flag is set. Since: 2.
|
406
|
+
* flag is set. Since: 2.46.
|
407
407
|
* @G_FILE_MONITOR_EVENT_MOVED_IN: the file was moved into the
|
408
408
|
* monitored directory from another location -- only sent if the
|
409
|
-
* %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.
|
409
|
+
* %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46.
|
410
410
|
* @G_FILE_MONITOR_EVENT_MOVED_OUT: the file was moved out of the
|
411
411
|
* monitored directory to another location -- only sent if the
|
412
|
-
* %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.
|
412
|
+
* %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46
|
413
413
|
*
|
414
414
|
* Specifies what type of event a monitor event is.
|
415
415
|
**/
|
@@ -1398,11 +1398,11 @@ typedef enum
|
|
1398
1398
|
/**
|
1399
1399
|
* GCredentialsType:
|
1400
1400
|
* @G_CREDENTIALS_TYPE_INVALID: Indicates an invalid native credential type.
|
1401
|
-
* @G_CREDENTIALS_TYPE_LINUX_UCRED: The native credentials type is a
|
1402
|
-
* @G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: The native credentials type is a
|
1403
|
-
* @G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: The native credentials type is a
|
1404
|
-
* @G_CREDENTIALS_TYPE_SOLARIS_UCRED: The native credentials type is a
|
1405
|
-
* @G_CREDENTIALS_TYPE_NETBSD_UNPCBID: The native credentials type is a
|
1401
|
+
* @G_CREDENTIALS_TYPE_LINUX_UCRED: The native credentials type is a struct ucred.
|
1402
|
+
* @G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: The native credentials type is a struct cmsgcred.
|
1403
|
+
* @G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: The native credentials type is a struct sockpeercred. Added in 2.30.
|
1404
|
+
* @G_CREDENTIALS_TYPE_SOLARIS_UCRED: The native credentials type is a ucred_t. Added in 2.40.
|
1405
|
+
* @G_CREDENTIALS_TYPE_NETBSD_UNPCBID: The native credentials type is a struct unpcbid.
|
1406
1406
|
*
|
1407
1407
|
* Enumeration describing different kinds of native credential types.
|
1408
1408
|
*
|
@@ -614,7 +614,7 @@ typedef struct _GDBusObjectManagerServer GDBusObjectManagerServer;
|
|
614
614
|
* that @manager was constructed in.
|
615
615
|
*
|
616
616
|
* Returns: A #GType to use for the remote object. The returned type
|
617
|
-
* must be a #GDBusProxy
|
617
|
+
* must be a #GDBusProxy or #GDBusObjectProxy -derived
|
618
618
|
* type.
|
619
619
|
*
|
620
620
|
* Since: 2.30
|
@@ -138,6 +138,13 @@ GLIB_AVAILABLE_IN_ALL
|
|
138
138
|
gboolean g_settings_set_int (GSettings *settings,
|
139
139
|
const gchar *key,
|
140
140
|
gint value);
|
141
|
+
GLIB_AVAILABLE_IN_2_50
|
142
|
+
gint64 g_settings_get_int64 (GSettings *settings,
|
143
|
+
const gchar *key);
|
144
|
+
GLIB_AVAILABLE_IN_2_50
|
145
|
+
gboolean g_settings_set_int64 (GSettings *settings,
|
146
|
+
const gchar *key,
|
147
|
+
gint64 value);
|
141
148
|
GLIB_AVAILABLE_IN_2_32
|
142
149
|
guint g_settings_get_uint (GSettings *settings,
|
143
150
|
const gchar *key);
|
@@ -145,6 +152,13 @@ GLIB_AVAILABLE_IN_2_32
|
|
145
152
|
gboolean g_settings_set_uint (GSettings *settings,
|
146
153
|
const gchar *key,
|
147
154
|
guint value);
|
155
|
+
GLIB_AVAILABLE_IN_2_50
|
156
|
+
guint64 g_settings_get_uint64 (GSettings *settings,
|
157
|
+
const gchar *key);
|
158
|
+
GLIB_AVAILABLE_IN_2_50
|
159
|
+
gboolean g_settings_set_uint64 (GSettings *settings,
|
160
|
+
const gchar *key,
|
161
|
+
guint64 value);
|
148
162
|
GLIB_AVAILABLE_IN_ALL
|
149
163
|
gchar * g_settings_get_string (GSettings *settings,
|
150
164
|
const gchar *key);
|
@@ -36,6 +36,28 @@ G_BEGIN_DECLS
|
|
36
36
|
#define G_IS_VFS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_VFS))
|
37
37
|
#define G_IS_VFS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_VFS))
|
38
38
|
|
39
|
+
/**
|
40
|
+
* GVfsFileLookupFunc:
|
41
|
+
* @vfs: a #GVfs
|
42
|
+
* @identifier: the identifier to lookup a #GFile for. This can either
|
43
|
+
* be an URI or a parse name as returned by g_file_get_parse_name()
|
44
|
+
* @user_data: user data passed to the function
|
45
|
+
*
|
46
|
+
* This function type is used by g_vfs_register_uri_scheme() to make it
|
47
|
+
* possible for a client to associate an URI scheme to a different #GFile
|
48
|
+
* implementation.
|
49
|
+
*
|
50
|
+
* The client should return a reference to the new file that has been
|
51
|
+
* created for @uri, or %NULL to continue with the default implementation.
|
52
|
+
*
|
53
|
+
* Returns: (transfer full): a #GFile for @identifier.
|
54
|
+
*
|
55
|
+
* Since: 2.50
|
56
|
+
*/
|
57
|
+
typedef GFile * (* GVfsFileLookupFunc) (GVfs *vfs,
|
58
|
+
const char *identifier,
|
59
|
+
gpointer user_data);
|
60
|
+
|
39
61
|
/**
|
40
62
|
* G_VFS_EXTENSION_POINT_NAME:
|
41
63
|
*
|
@@ -127,6 +149,20 @@ GVfs * g_vfs_get_default (void);
|
|
127
149
|
GLIB_AVAILABLE_IN_ALL
|
128
150
|
GVfs * g_vfs_get_local (void);
|
129
151
|
|
152
|
+
GLIB_AVAILABLE_IN_2_50
|
153
|
+
gboolean g_vfs_register_uri_scheme (GVfs *vfs,
|
154
|
+
const char *scheme,
|
155
|
+
GVfsFileLookupFunc uri_func,
|
156
|
+
gpointer uri_data,
|
157
|
+
GDestroyNotify uri_destroy,
|
158
|
+
GVfsFileLookupFunc parse_name_func,
|
159
|
+
gpointer parse_name_data,
|
160
|
+
GDestroyNotify parse_name_destroy);
|
161
|
+
GLIB_AVAILABLE_IN_2_50
|
162
|
+
gboolean g_vfs_unregister_uri_scheme (GVfs *vfs,
|
163
|
+
const char *scheme);
|
164
|
+
|
165
|
+
|
130
166
|
G_END_DECLS
|
131
167
|
|
132
168
|
#endif /* __G_VFS_H__ */
|
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
|
|
33
33
|
* @G_CHECKSUM_MD5: Use the MD5 hashing algorithm
|
34
34
|
* @G_CHECKSUM_SHA1: Use the SHA-1 hashing algorithm
|
35
35
|
* @G_CHECKSUM_SHA256: Use the SHA-256 hashing algorithm
|
36
|
-
* @G_CHECKSUM_SHA512: Use the SHA-512 hashing algorithm
|
36
|
+
* @G_CHECKSUM_SHA512: Use the SHA-512 hashing algorithm (Since: 2.36)
|
37
37
|
*
|
38
38
|
* The hashing algorithm to be used by #GChecksum when performing the
|
39
39
|
* digest of some data.
|
@@ -72,6 +72,11 @@ gchar *g_compute_hmac_for_string (GChecksumType digest_type,
|
|
72
72
|
gsize key_len,
|
73
73
|
const gchar *str,
|
74
74
|
gssize length);
|
75
|
+
GLIB_AVAILABLE_IN_2_50
|
76
|
+
gchar *g_compute_hmac_for_bytes (GChecksumType digest_type,
|
77
|
+
GBytes *key,
|
78
|
+
GBytes *data);
|
79
|
+
|
75
80
|
|
76
81
|
G_END_DECLS
|
77
82
|
|
@@ -26,6 +26,7 @@
|
|
26
26
|
#error "Only <glib.h> can be included directly."
|
27
27
|
#endif
|
28
28
|
|
29
|
+
#include <glib/gbytes.h>
|
29
30
|
#include <glib/gerror.h>
|
30
31
|
|
31
32
|
G_BEGIN_DECLS
|
@@ -76,6 +77,11 @@ gboolean g_key_file_load_from_data (GKeyFile *key_file,
|
|
76
77
|
gsize length,
|
77
78
|
GKeyFileFlags flags,
|
78
79
|
GError **error);
|
80
|
+
GLIB_AVAILABLE_IN_2_50
|
81
|
+
gboolean g_key_file_load_from_bytes (GKeyFile *key_file,
|
82
|
+
GBytes *bytes,
|
83
|
+
GKeyFileFlags flags,
|
84
|
+
GError **error);
|
79
85
|
GLIB_AVAILABLE_IN_ALL
|
80
86
|
gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
|
81
87
|
const gchar *file,
|
@@ -311,7 +311,7 @@
|
|
311
311
|
* fields through their offsets.
|
312
312
|
*/
|
313
313
|
|
314
|
-
#if defined(__GNUC__) && __GNUC__ >= 4
|
314
|
+
#if (defined(__GNUC__) && __GNUC__ >= 4) || defined (_MSC_VER)
|
315
315
|
#define G_STRUCT_OFFSET(struct_type, member) \
|
316
316
|
((glong) offsetof (struct_type, member))
|
317
317
|
#else
|
@@ -140,6 +140,17 @@ typedef struct _GSourceFuncs GSourceFuncs;
|
|
140
140
|
* GPid is used in GLib only for descendant processes spawned with
|
141
141
|
* the g_spawn functions.
|
142
142
|
*/
|
143
|
+
/* defined in glibconfig.h */
|
144
|
+
|
145
|
+
/**
|
146
|
+
* G_PID_FORMAT:
|
147
|
+
*
|
148
|
+
* A format specifier that can be used in printf()-style format strings
|
149
|
+
* when printing a #GPid.
|
150
|
+
*
|
151
|
+
* Since: 2.50
|
152
|
+
*/
|
153
|
+
/* defined in glibconfig.h */
|
143
154
|
|
144
155
|
/**
|
145
156
|
* GSourceFunc:
|
@@ -32,6 +32,7 @@
|
|
32
32
|
#include <stdarg.h>
|
33
33
|
#include <glib/gtypes.h>
|
34
34
|
#include <glib/gmacros.h>
|
35
|
+
#include <glib/gvariant.h>
|
35
36
|
|
36
37
|
G_BEGIN_DECLS
|
37
38
|
|
@@ -113,6 +114,143 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
|
|
113
114
|
GLIB_AVAILABLE_IN_ALL
|
114
115
|
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
115
116
|
|
117
|
+
/* Structured logging mechanism. */
|
118
|
+
|
119
|
+
/**
|
120
|
+
* GLogWriterOutput:
|
121
|
+
* @G_LOG_WRITER_HANDLED: Log writer has handled the log entry.
|
122
|
+
* @G_LOG_WRITER_UNHANDLED: Log writer could not handle the log entry.
|
123
|
+
*
|
124
|
+
* Return values from #GLogWriterFuncs to indicate whether the given log entry
|
125
|
+
* was successfully handled by the writer, or whether there was an error in
|
126
|
+
* handling it (and hence a fallback writer should be used).
|
127
|
+
*
|
128
|
+
* If a #GLogWriterFunc ignores a log entry, it should return
|
129
|
+
* %G_LOG_WRITER_HANDLED.
|
130
|
+
*
|
131
|
+
* Since: 2.50
|
132
|
+
*/
|
133
|
+
typedef enum
|
134
|
+
{
|
135
|
+
G_LOG_WRITER_HANDLED = 1,
|
136
|
+
G_LOG_WRITER_UNHANDLED = 0,
|
137
|
+
} GLogWriterOutput;
|
138
|
+
|
139
|
+
/**
|
140
|
+
* GLogField:
|
141
|
+
* @key: field name (UTF-8 string)
|
142
|
+
* @value: field value (arbitrary bytes)
|
143
|
+
* @length: length of @value, in bytes, or -1 if it is nul-terminated
|
144
|
+
*
|
145
|
+
* Structure representing a single field in a structured log entry. See
|
146
|
+
* g_log_structured() for details.
|
147
|
+
*
|
148
|
+
* Log fields may contain arbitrary values, including binary with embedded nul
|
149
|
+
* bytes. If the field contains a string, the string must be UTF-8 encoded and
|
150
|
+
* have a trailing nul byte. Otherwise, @length must be set to a non-negative
|
151
|
+
* value.
|
152
|
+
*
|
153
|
+
* Since: 2.50
|
154
|
+
*/
|
155
|
+
typedef struct _GLogField GLogField;
|
156
|
+
struct _GLogField
|
157
|
+
{
|
158
|
+
const gchar *key;
|
159
|
+
gconstpointer value;
|
160
|
+
gssize length;
|
161
|
+
};
|
162
|
+
|
163
|
+
/**
|
164
|
+
* GLogWriterFunc:
|
165
|
+
* @log_level: log level of the message
|
166
|
+
* @fields: (array length=n_fields): fields forming the message
|
167
|
+
* @n_fields: number of @fields
|
168
|
+
* @user_data: user data passed to g_log_set_writer_func()
|
169
|
+
*
|
170
|
+
* Writer function for log entries. A log entry is a collection of one or more
|
171
|
+
* #GLogFields, using the standard [field names from journal
|
172
|
+
* specification](https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html).
|
173
|
+
* See g_log_structured() for more information.
|
174
|
+
*
|
175
|
+
* Writer functions must ignore fields which they do not recognise, unless they
|
176
|
+
* can write arbitrary binary output, as field values may be arbitrary binary.
|
177
|
+
*
|
178
|
+
* @log_level is guaranteed to be included in @fields as the `PRIORITY` field,
|
179
|
+
* but is provided separately for convenience of deciding whether or where to
|
180
|
+
* output the log entry.
|
181
|
+
*
|
182
|
+
* Returns: %G_LOG_WRITER_HANDLED if the log entry was handled successfully;
|
183
|
+
* %G_LOG_WRITER_UNHANDLED otherwise
|
184
|
+
* Since: 2.50
|
185
|
+
*/
|
186
|
+
typedef GLogWriterOutput (*GLogWriterFunc) (GLogLevelFlags log_level,
|
187
|
+
const GLogField *fields,
|
188
|
+
gsize n_fields,
|
189
|
+
gpointer user_data);
|
190
|
+
|
191
|
+
GLIB_AVAILABLE_IN_2_50
|
192
|
+
void g_log_structured (const gchar *log_domain,
|
193
|
+
GLogLevelFlags log_level,
|
194
|
+
...);
|
195
|
+
GLIB_AVAILABLE_IN_2_50
|
196
|
+
void g_log_structured_array (GLogLevelFlags log_level,
|
197
|
+
const GLogField *fields,
|
198
|
+
gsize n_fields);
|
199
|
+
|
200
|
+
GLIB_AVAILABLE_IN_2_50
|
201
|
+
void g_log_variant (const gchar *log_domain,
|
202
|
+
GLogLevelFlags log_level,
|
203
|
+
GVariant *fields);
|
204
|
+
|
205
|
+
GLIB_AVAILABLE_IN_2_50
|
206
|
+
void g_log_set_writer_func (GLogWriterFunc func,
|
207
|
+
gpointer user_data,
|
208
|
+
GDestroyNotify user_data_free);
|
209
|
+
|
210
|
+
GLIB_AVAILABLE_IN_2_50
|
211
|
+
gboolean g_log_writer_supports_color (gint output_fd);
|
212
|
+
GLIB_AVAILABLE_IN_2_50
|
213
|
+
gboolean g_log_writer_is_journald (gint output_fd);
|
214
|
+
|
215
|
+
GLIB_AVAILABLE_IN_2_50
|
216
|
+
gchar *g_log_writer_format_fields (GLogLevelFlags log_level,
|
217
|
+
const GLogField *fields,
|
218
|
+
gsize n_fields,
|
219
|
+
gboolean use_color);
|
220
|
+
|
221
|
+
GLIB_AVAILABLE_IN_2_50
|
222
|
+
GLogWriterOutput g_log_writer_journald (GLogLevelFlags log_level,
|
223
|
+
const GLogField *fields,
|
224
|
+
gsize n_fields,
|
225
|
+
gpointer user_data);
|
226
|
+
GLIB_AVAILABLE_IN_2_50
|
227
|
+
GLogWriterOutput g_log_writer_standard_streams (GLogLevelFlags log_level,
|
228
|
+
const GLogField *fields,
|
229
|
+
gsize n_fields,
|
230
|
+
gpointer user_data);
|
231
|
+
GLIB_AVAILABLE_IN_2_50
|
232
|
+
GLogWriterOutput g_log_writer_default (GLogLevelFlags log_level,
|
233
|
+
const GLogField *fields,
|
234
|
+
gsize n_fields,
|
235
|
+
gpointer user_data);
|
236
|
+
|
237
|
+
/**
|
238
|
+
* G_DEBUG_HERE:
|
239
|
+
*
|
240
|
+
* A convenience form of g_log_structured(), recommended to be added to
|
241
|
+
* functions when debugging. It prints the current monotonic time and the code
|
242
|
+
* location using %G_STRLOC.
|
243
|
+
*
|
244
|
+
* Since: 2.50
|
245
|
+
*/
|
246
|
+
#define G_DEBUG_HERE() \
|
247
|
+
g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
248
|
+
"CODE_FILE", __FILE__, \
|
249
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
250
|
+
"CODE_FUNC", G_STRFUNC, \
|
251
|
+
"MESSAGE", "%" G_GINT64_FORMAT ": %s", \
|
252
|
+
g_get_monotonic_time (), G_STRLOC)
|
253
|
+
|
116
254
|
/* internal */
|
117
255
|
void _g_log_fallback_handler (const gchar *log_domain,
|
118
256
|
GLogLevelFlags log_level,
|
@@ -143,6 +281,41 @@ void g_assert_warning (const char *log_domain,
|
|
143
281
|
#endif /* G_LOG_DOMAIN */
|
144
282
|
|
145
283
|
#if defined(G_HAVE_ISO_VARARGS) && !G_ANALYZER_ANALYZING
|
284
|
+
#ifdef G_LOG_USE_STRUCTURED
|
285
|
+
#define g_error(...) G_STMT_START { \
|
286
|
+
g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, \
|
287
|
+
"CODE_FILE", __FILE__, \
|
288
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
289
|
+
"CODE_FUNC", G_STRFUNC, \
|
290
|
+
"MESSAGE", __VA_ARGS__); \
|
291
|
+
for (;;) ; \
|
292
|
+
} G_STMT_END
|
293
|
+
#define g_message(...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, \
|
294
|
+
"CODE_FILE", __FILE__, \
|
295
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
296
|
+
"CODE_FUNC", G_STRFUNC, \
|
297
|
+
"MESSAGE", __VA_ARGS__)
|
298
|
+
#define g_critical(...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, \
|
299
|
+
"CODE_FILE", __FILE__, \
|
300
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
301
|
+
"CODE_FUNC", G_STRFUNC, \
|
302
|
+
"MESSAGE", __VA_ARGS__)
|
303
|
+
#define g_warning(...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, \
|
304
|
+
"CODE_FILE", __FILE__, \
|
305
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
306
|
+
"CODE_FUNC", G_STRFUNC, \
|
307
|
+
"MESSAGE", __VA_ARGS__)
|
308
|
+
#define g_info(...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, \
|
309
|
+
"CODE_FILE", __FILE__, \
|
310
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
311
|
+
"CODE_FUNC", G_STRFUNC, \
|
312
|
+
"MESSAGE", __VA_ARGS__)
|
313
|
+
#define g_debug(...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
314
|
+
"CODE_FILE", __FILE__, \
|
315
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
316
|
+
"CODE_FUNC", G_STRFUNC, \
|
317
|
+
"MESSAGE", __VA_ARGS__)
|
318
|
+
#else
|
146
319
|
/* for(;;) ; so that GCC knows that control doesn't go past g_error().
|
147
320
|
* Put space before ending semicolon to avoid C++ build warnings.
|
148
321
|
*/
|
@@ -152,7 +325,6 @@ void g_assert_warning (const char *log_domain,
|
|
152
325
|
__VA_ARGS__); \
|
153
326
|
for (;;) ; \
|
154
327
|
} G_STMT_END
|
155
|
-
|
156
328
|
#define g_message(...) g_log (G_LOG_DOMAIN, \
|
157
329
|
G_LOG_LEVEL_MESSAGE, \
|
158
330
|
__VA_ARGS__)
|
@@ -168,14 +340,50 @@ void g_assert_warning (const char *log_domain,
|
|
168
340
|
#define g_debug(...) g_log (G_LOG_DOMAIN, \
|
169
341
|
G_LOG_LEVEL_DEBUG, \
|
170
342
|
__VA_ARGS__)
|
343
|
+
#endif
|
171
344
|
#elif defined(G_HAVE_GNUC_VARARGS) && !G_ANALYZER_ANALYZING
|
345
|
+
#ifdef G_LOG_USE_STRUCTURED
|
346
|
+
#define g_error(format...) G_STMT_START { \
|
347
|
+
g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, \
|
348
|
+
"CODE_FILE", __FILE__, \
|
349
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
350
|
+
"CODE_FUNC", G_STRFUNC, \
|
351
|
+
"MESSAGE", format); \
|
352
|
+
for (;;) ; \
|
353
|
+
} G_STMT_END
|
354
|
+
#define g_message(format...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, \
|
355
|
+
"CODE_FILE", __FILE__, \
|
356
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
357
|
+
"CODE_FUNC", G_STRFUNC, \
|
358
|
+
"MESSAGE", format)
|
359
|
+
#define g_critical(format...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, \
|
360
|
+
"CODE_FILE", __FILE__, \
|
361
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
362
|
+
"CODE_FUNC", G_STRFUNC, \
|
363
|
+
"MESSAGE", format)
|
364
|
+
#define g_warning(format...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, \
|
365
|
+
"CODE_FILE", __FILE__, \
|
366
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
367
|
+
"CODE_FUNC", G_STRFUNC, \
|
368
|
+
"MESSAGE", format)
|
369
|
+
#define g_info(format...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, \
|
370
|
+
"CODE_FILE", __FILE__, \
|
371
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
372
|
+
"CODE_FUNC", G_STRFUNC, \
|
373
|
+
"MESSAGE", format)
|
374
|
+
#define g_debug(format...) g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
375
|
+
"CODE_FILE", __FILE__, \
|
376
|
+
"CODE_LINE", G_STRINGIFY (__LINE__), \
|
377
|
+
"CODE_FUNC", G_STRFUNC, \
|
378
|
+
"MESSAGE", format)
|
379
|
+
#else
|
172
380
|
#define g_error(format...) G_STMT_START { \
|
173
381
|
g_log (G_LOG_DOMAIN, \
|
174
382
|
G_LOG_LEVEL_ERROR, \
|
175
383
|
format); \
|
176
384
|
for (;;) ; \
|
177
385
|
} G_STMT_END
|
178
|
-
|
386
|
+
|
179
387
|
#define g_message(format...) g_log (G_LOG_DOMAIN, \
|
180
388
|
G_LOG_LEVEL_MESSAGE, \
|
181
389
|
format)
|
@@ -191,6 +399,7 @@ void g_assert_warning (const char *log_domain,
|
|
191
399
|
#define g_debug(format...) g_log (G_LOG_DOMAIN, \
|
192
400
|
G_LOG_LEVEL_DEBUG, \
|
193
401
|
format)
|
402
|
+
#endif
|
194
403
|
#else /* no varargs macros */
|
195
404
|
static void g_error (const gchar *format, ...) G_GNUC_NORETURN G_ANALYZER_NORETURN;
|
196
405
|
static void g_critical (const gchar *format, ...) G_ANALYZER_NORETURN;
|