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
@@ -247,7 +247,7 @@ are the same size), and the array can be automatically cleared to
|
|
247
247
|
<td class="listing_code"><pre class="programlisting">GArray <span class="gtkdoc opt">*</span>garray<span class="gtkdoc opt">;</span>
|
248
248
|
gint i<span class="gtkdoc opt">;</span>
|
249
249
|
<span class="gtkdoc slc">// We create a new array to store gint values.</span>
|
250
|
-
<span class="gtkdoc slc">// We don
|
250
|
+
<span class="gtkdoc slc">// We don't want it zero-terminated or cleared to 0's.</span>
|
251
251
|
garray <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Arrays.html#g-array-new">g_array_new</a></span> <span class="gtkdoc opt">(</span>FALSE<span class="gtkdoc opt">,</span> FALSE<span class="gtkdoc opt">,</span> <span class="keyword">sizeof</span> <span class="gtkdoc opt">(</span>gint<span class="gtkdoc opt">));</span>
|
252
252
|
<span class="keyword">for</span> <span class="gtkdoc opt">(</span>i <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span> i <span class="gtkdoc opt"><</span> <span class="number">10000</span><span class="gtkdoc opt">;</span> i<span class="gtkdoc opt">++)</span>
|
253
253
|
<span class="function"><a href="glib-Arrays.html#g-array-append-val">g_array_append_val</a></span> <span class="gtkdoc opt">(</span>garray<span class="gtkdoc opt">,</span> i<span class="gtkdoc opt">);</span>
|
@@ -484,8 +484,9 @@ or <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" titl
|
|
484
484
|
</tr>
|
485
485
|
<tr>
|
486
486
|
<td class="parameter_name"><p>filename</p></td>
|
487
|
-
<td class="parameter_description"><p>the path of a filename to load, in the
|
488
|
-
|
487
|
+
<td class="parameter_description"><p> the path of a filename to load, in the
|
488
|
+
GLib file name encoding. </p></td>
|
489
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
489
490
|
</tr>
|
490
491
|
<tr>
|
491
492
|
<td class="parameter_name"><p>error</p></td>
|
@@ -584,14 +585,14 @@ set to either a <a class="link" href="glib-File-Utilities.html#GFileError" title
|
|
584
585
|
</tr>
|
585
586
|
<tr>
|
586
587
|
<td class="parameter_name"><p>file</p></td>
|
587
|
-
<td class="parameter_description"><p>a relative path to a filename to open and parse</p></td>
|
588
|
-
<td class="parameter_annotations">
|
588
|
+
<td class="parameter_description"><p> a relative path to a filename to open and parse. </p></td>
|
589
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
589
590
|
</tr>
|
590
591
|
<tr>
|
591
592
|
<td class="parameter_name"><p>full_path</p></td>
|
592
|
-
<td class="parameter_description"><p> return location for a string
|
593
|
-
of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p></td>
|
594
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
593
|
+
<td class="parameter_description"><p> return location for a string
|
594
|
+
containing the full path of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p></td>
|
595
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
595
596
|
</tr>
|
596
597
|
<tr>
|
597
598
|
<td class="parameter_name"><p>error</p></td>
|
@@ -676,8 +677,8 @@ guaranteed to be atomic by using <a class="link" href="glib-File-Utilities.html#
|
|
676
677
|
</tr>
|
677
678
|
<tr>
|
678
679
|
<td class="parameter_name"><p>filename</p></td>
|
679
|
-
<td class="parameter_description"><p>path of the output file</p></td>
|
680
|
-
<td class="parameter_annotations">
|
680
|
+
<td class="parameter_description"><p> path of the output file. </p></td>
|
681
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
681
682
|
</tr>
|
682
683
|
<tr>
|
683
684
|
<td class="parameter_name"><p>error</p></td>
|
@@ -336,10 +336,10 @@ gbarray <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-B
|
|
336
336
|
|
337
337
|
<span class="keyword">for</span> <span class="gtkdoc opt">(</span>i <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span> i <span class="gtkdoc opt"><</span> <span class="number">10000</span><span class="gtkdoc opt">;</span> i<span class="gtkdoc opt">++)</span>
|
338
338
|
<span class="gtkdoc opt">{</span>
|
339
|
-
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">] ==</span> <span class="string"
|
340
|
-
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">+</span><span class="number">1</span><span class="gtkdoc opt">] ==</span> <span class="string"
|
341
|
-
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">+</span><span class="number">2</span><span class="gtkdoc opt">] ==</span> <span class="string"
|
342
|
-
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">+</span><span class="number">3</span><span class="gtkdoc opt">] ==</span> <span class="string"
|
339
|
+
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">] ==</span> <span class="string">'a'</span><span class="gtkdoc opt">);</span>
|
340
|
+
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">+</span><span class="number">1</span><span class="gtkdoc opt">] ==</span> <span class="string">'b'</span><span class="gtkdoc opt">);</span>
|
341
|
+
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">+</span><span class="number">2</span><span class="gtkdoc opt">] ==</span> <span class="string">'c'</span><span class="gtkdoc opt">);</span>
|
342
|
+
<span class="function"><a href="glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">4</span><span class="gtkdoc opt">*</span>i<span class="gtkdoc opt">+</span><span class="number">3</span><span class="gtkdoc opt">] ==</span> <span class="string">'d'</span><span class="gtkdoc opt">);</span>
|
343
343
|
<span class="gtkdoc opt">}</span>
|
344
344
|
|
345
345
|
<span class="function"><a href="glib-Byte-Arrays.html#g-byte-array-free">g_byte_array_free</a></span> <span class="gtkdoc opt">(</span>gbarray<span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">);</span></pre></td>
|
@@ -202,7 +202,7 @@ a file name is valid as long as it does not have path separators
|
|
202
202
|
in it ("/"). However, displaying file names may require conversion:
|
203
203
|
from the character set in which they were created, to the character
|
204
204
|
set in which the application operates. Consider the Spanish file name
|
205
|
-
"
|
205
|
+
"Presentaci&oacute;n.sxi". If the application which created it uses
|
206
206
|
ISO-8859-1 for its encoding,</p>
|
207
207
|
<div class="informalexample">
|
208
208
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -286,7 +286,7 @@ encoding for file names in the file system.</p>
|
|
286
286
|
name encodings correctly.</p>
|
287
287
|
<div class="orderedlist"><ol class="orderedlist" type="1">
|
288
288
|
<li class="listitem"><p>If you get a file name from the file system from a function
|
289
|
-
such as <code class="function">readdir()</code> or <code class="function">gtk_file_chooser_get_filename()</code>, you do
|
289
|
+
such as <code class="function">readdir()</code> or <a href="http://developer.gnome.org/gtk4/GtkFileChooser.html#gtk-file-chooser-get-filename"><code class="function">gtk_file_chooser_get_filename()</code></a>, you do
|
290
290
|
not need to do any conversion to pass that file name to
|
291
291
|
functions like <code class="function">open()</code>, <code class="function">rename()</code>, or <code class="function">fopen()</code> -- those are "raw"
|
292
292
|
file names which the file system understands.</p></li>
|
@@ -826,8 +826,8 @@ the <a class="link" href="glib-running.html#setlocale" title="Locale">current lo
|
|
826
826
|
<tbody>
|
827
827
|
<tr>
|
828
828
|
<td class="parameter_name"><p>opsysstring</p></td>
|
829
|
-
<td class="parameter_description"><p>a string in the encoding for filenames</p></td>
|
830
|
-
<td class="parameter_annotations">
|
829
|
+
<td class="parameter_description"><p> a string in the encoding for filenames. </p></td>
|
830
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
831
831
|
</tr>
|
832
832
|
<tr>
|
833
833
|
<td class="parameter_name"><p>len</p></td>
|
@@ -1016,8 +1016,9 @@ translation of filenames.</p>
|
|
1016
1016
|
</colgroup>
|
1017
1017
|
<tbody><tr>
|
1018
1018
|
<td class="parameter_name"><p>filename</p></td>
|
1019
|
-
<td class="parameter_description"><p>a pathname hopefully in the
|
1020
|
-
|
1019
|
+
<td class="parameter_description"><p> a pathname hopefully in the
|
1020
|
+
GLib file name encoding. </p></td>
|
1021
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1021
1022
|
</tr></tbody>
|
1022
1023
|
</table></div>
|
1023
1024
|
</div>
|
@@ -1058,8 +1059,9 @@ whole path, as it allows translation.</p>
|
|
1058
1059
|
</colgroup>
|
1059
1060
|
<tbody><tr>
|
1060
1061
|
<td class="parameter_name"><p>filename</p></td>
|
1061
|
-
<td class="parameter_description"><p>an absolute pathname in the
|
1062
|
-
|
1062
|
+
<td class="parameter_description"><p> an absolute pathname in the
|
1063
|
+
GLib file name encoding. </p></td>
|
1064
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1063
1065
|
</tr></tbody>
|
1064
1066
|
</table></div>
|
1065
1067
|
</div>
|
@@ -431,7 +431,7 @@ Application Options<span class="gtkdoc opt">:</span>
|
|
431
431
|
incorporate options from multiple sources. The intended use for this is
|
432
432
|
to let applications collect option groups from the libraries it uses,
|
433
433
|
add them to their <a class="link" href="glib-Commandline-option-parser.html#GOptionContext" title="GOptionContext"><span class="type">GOptionContext</span></a>, and parse all options by a single call
|
434
|
-
to <a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse" title="g_option_context_parse ()"><code class="function">g_option_context_parse()</code></a>. See <code class="function">gtk_get_option_group()</code> for an example.</p>
|
434
|
+
to <a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse" title="g_option_context_parse ()"><code class="function">g_option_context_parse()</code></a>. See <a href="http://developer.gnome.org/gtk4/gtk4-General.html#gtk-get-option-group"><code class="function">gtk_get_option_group()</code></a> for an example.</p>
|
435
435
|
<p>If an option is declared to be of type string or filename, GOption takes
|
436
436
|
care of converting it to the right encoding; strings are returned in
|
437
437
|
UTF-8, filenames are returned in the GLib filename encoding. Note that
|
@@ -485,10 +485,10 @@ commandline above and produce the example help output.</p>
|
|
485
485
|
|
486
486
|
<span class="gtkdoc kwb">static</span> GOptionEntry entries<span class="gtkdoc opt">[] =</span>
|
487
487
|
<span class="gtkdoc opt">{</span>
|
488
|
-
<span class="gtkdoc opt">{</span> <span class="string">"repeats"</span><span class="gtkdoc opt">,</span> <span class="string"
|
489
|
-
<span class="gtkdoc opt">{</span> <span class="string">"max-size"</span><span class="gtkdoc opt">,</span> <span class="string"
|
490
|
-
<span class="gtkdoc opt">{</span> <span class="string">"verbose"</span><span class="gtkdoc opt">,</span> <span class="string"
|
491
|
-
<span class="gtkdoc opt">{</span> <span class="string">"beep"</span><span class="gtkdoc opt">,</span> <span class="string"
|
488
|
+
<span class="gtkdoc opt">{</span> <span class="string">"repeats"</span><span class="gtkdoc opt">,</span> <span class="string">'r'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_INT<span class="gtkdoc opt">, &</span>repeats<span class="gtkdoc opt">,</span> <span class="string">"Average over N repetitions"</span><span class="gtkdoc opt">,</span> <span class="string">"N"</span> <span class="gtkdoc opt">},</span>
|
489
|
+
<span class="gtkdoc opt">{</span> <span class="string">"max-size"</span><span class="gtkdoc opt">,</span> <span class="string">'m'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_INT<span class="gtkdoc opt">, &</span>max_size<span class="gtkdoc opt">,</span> <span class="string">"Test up to 2^M items"</span><span class="gtkdoc opt">,</span> <span class="string">"M"</span> <span class="gtkdoc opt">},</span>
|
490
|
+
<span class="gtkdoc opt">{</span> <span class="string">"verbose"</span><span class="gtkdoc opt">,</span> <span class="string">'v'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_NONE<span class="gtkdoc opt">, &</span>verbose<span class="gtkdoc opt">,</span> <span class="string">"Be verbose"</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">},</span>
|
491
|
+
<span class="gtkdoc opt">{</span> <span class="string">"beep"</span><span class="gtkdoc opt">,</span> <span class="string">'b'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_NONE<span class="gtkdoc opt">, &</span>beep<span class="gtkdoc opt">,</span> <span class="string">"Beep when done"</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">},</span>
|
492
492
|
<span class="gtkdoc opt">{</span> <span class="string">"rand"</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_NONE<span class="gtkdoc opt">, &</span>randomize<span class="gtkdoc opt">,</span> <span class="string">"Randomize the data"</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">},</span>
|
493
493
|
<span class="gtkdoc opt">{</span> NULL <span class="gtkdoc opt">}</span>
|
494
494
|
<span class="gtkdoc opt">};</span>
|
@@ -501,7 +501,7 @@ commandline above and produce the example help output.</p>
|
|
501
501
|
|
502
502
|
context <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Commandline-option-parser.html#g-option-context-new">g_option_context_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"- test tree model performance"</span><span class="gtkdoc opt">);</span>
|
503
503
|
<span class="function"><a href="glib-Commandline-option-parser.html#g-option-context-add-main-entries">g_option_context_add_main_entries</a></span> <span class="gtkdoc opt">(</span>context<span class="gtkdoc opt">,</span> entries<span class="gtkdoc opt">,</span> GETTEXT_PACKAGE<span class="gtkdoc opt">);</span>
|
504
|
-
<span class="function"><a href="glib-Commandline-option-parser.html#g-option-context-add-group">g_option_context_add_group</a></span> <span class="gtkdoc opt">(</span>context<span class="gtkdoc opt">,</span> <span class="function">gtk_get_option_group</span> <span class="gtkdoc opt">(</span>TRUE<span class="gtkdoc opt">));</span>
|
504
|
+
<span class="function"><a href="glib-Commandline-option-parser.html#g-option-context-add-group">g_option_context_add_group</a></span> <span class="gtkdoc opt">(</span>context<span class="gtkdoc opt">,</span> <span class="function"><a href="http://developer.gnome.org/gtk4/gtk4-General.html#gtk-get-option-group">gtk_get_option_group</a></span> <span class="gtkdoc opt">(</span>TRUE<span class="gtkdoc opt">));</span>
|
505
505
|
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="glib-Commandline-option-parser.html#g-option-context-parse">g_option_context_parse</a></span> <span class="gtkdoc opt">(</span>context<span class="gtkdoc opt">, &</span>argc<span class="gtkdoc opt">, &</span>argv<span class="gtkdoc opt">, &</span>error<span class="gtkdoc opt">))</span>
|
506
506
|
<span class="gtkdoc opt">{</span>
|
507
507
|
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"option parsing failed: %s</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">-></span>message<span class="gtkdoc opt">);</span>
|
@@ -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 <a href="
|
534
|
+
filenames. If you are using <a href="https://developer.gnome.org/gio/unstable/GApplication.html#GApplication-struct"><span class="type">GApplication</span></a>, 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
|
-
<a href="
|
1070
|
+
<a href="https://developer.gnome.org/gio/unstable/GApplication.html#GApplication-struct"><span class="type">GApplication</span></a>.</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">
|
@@ -612,7 +612,7 @@ date to include new hashing algorithm types.</p>
|
|
612
612
|
<tr>
|
613
613
|
<td class="enum_member_name"><p><a name="G-CHECKSUM-SHA512:CAPS"></a>G_CHECKSUM_SHA512</p></td>
|
614
614
|
<td class="enum_member_description">
|
615
|
-
<p>Use the SHA-512 hashing algorithm</p>
|
615
|
+
<p>Use the SHA-512 hashing algorithm (Since: 2.36)</p>
|
616
616
|
</td>
|
617
617
|
<td class="enum_member_annotations"> </td>
|
618
618
|
</tr>
|
@@ -110,6 +110,14 @@
|
|
110
110
|
<a class="link" href="glib-Data-HMACs.html#g-compute-hmac-for-string" title="g_compute_hmac_for_string ()">g_compute_hmac_for_string</a> <span class="c_punctuation">()</span>
|
111
111
|
</td>
|
112
112
|
</tr>
|
113
|
+
<tr>
|
114
|
+
<td class="function_type">
|
115
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
116
|
+
</td>
|
117
|
+
<td class="function_name">
|
118
|
+
<a class="link" href="glib-Data-HMACs.html#g-compute-hmac-for-bytes" title="g_compute_hmac_for_bytes ()">g_compute_hmac_for_bytes</a> <span class="c_punctuation">()</span>
|
119
|
+
</td>
|
120
|
+
</tr>
|
113
121
|
</tbody>
|
114
122
|
</table></div>
|
115
123
|
</div>
|
@@ -448,8 +456,8 @@ and <a class="link" href="glib-Data-HMACs.html#g-hmac-unref" title="g_hmac_unref
|
|
448
456
|
</tr>
|
449
457
|
<tr>
|
450
458
|
<td class="parameter_name"><p>data</p></td>
|
451
|
-
<td class="parameter_description"><p>binary blob to compute the HMAC of</p></td>
|
452
|
-
<td class="parameter_annotations">
|
459
|
+
<td class="parameter_description"><p> binary blob to compute the HMAC of. </p></td>
|
460
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></td>
|
453
461
|
</tr>
|
454
462
|
<tr>
|
455
463
|
<td class="parameter_name"><p>length</p></td>
|
@@ -523,6 +531,52 @@ when done using it.</p>
|
|
523
531
|
</div>
|
524
532
|
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
525
533
|
</div>
|
534
|
+
<hr>
|
535
|
+
<div class="refsect2">
|
536
|
+
<a name="g-compute-hmac-for-bytes"></a><h3>g_compute_hmac_for_bytes ()</h3>
|
537
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
538
|
+
g_compute_hmac_for_bytes (<em class="parameter"><code><a class="link" href="glib-Data-Checksums.html#GChecksumType" title="enum GChecksumType"><span class="type">GChecksumType</span></a> digest_type</code></em>,
|
539
|
+
<em class="parameter"><code><a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> *key</code></em>,
|
540
|
+
<em class="parameter"><code><a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> *data</code></em>);</pre>
|
541
|
+
<p>Computes the HMAC for a binary <em class="parameter"><code>data</code></em>
|
542
|
+
. This is a
|
543
|
+
convenience wrapper for <a class="link" href="glib-Data-HMACs.html#g-hmac-new" title="g_hmac_new ()"><code class="function">g_hmac_new()</code></a>, <a class="link" href="glib-Data-HMACs.html#g-hmac-get-string" title="g_hmac_get_string ()"><code class="function">g_hmac_get_string()</code></a>
|
544
|
+
and <a class="link" href="glib-Data-HMACs.html#g-hmac-unref" title="g_hmac_unref ()"><code class="function">g_hmac_unref()</code></a>.</p>
|
545
|
+
<p>The hexadecimal string returned will be in lower case.</p>
|
546
|
+
<div class="refsect3">
|
547
|
+
<a name="g-compute-hmac-for-bytes.parameters"></a><h4>Parameters</h4>
|
548
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
549
|
+
<colgroup>
|
550
|
+
<col width="150px" class="parameters_name">
|
551
|
+
<col class="parameters_description">
|
552
|
+
<col width="200px" class="parameters_annotations">
|
553
|
+
</colgroup>
|
554
|
+
<tbody>
|
555
|
+
<tr>
|
556
|
+
<td class="parameter_name"><p>digest_type</p></td>
|
557
|
+
<td class="parameter_description"><p>a <a class="link" href="glib-Data-Checksums.html#GChecksumType" title="enum GChecksumType"><span class="type">GChecksumType</span></a> to use for the HMAC</p></td>
|
558
|
+
<td class="parameter_annotations"> </td>
|
559
|
+
</tr>
|
560
|
+
<tr>
|
561
|
+
<td class="parameter_name"><p>key</p></td>
|
562
|
+
<td class="parameter_description"><p>the key to use in the HMAC</p></td>
|
563
|
+
<td class="parameter_annotations"> </td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td class="parameter_name"><p>data</p></td>
|
567
|
+
<td class="parameter_description"><p>binary blob to compute the HMAC of</p></td>
|
568
|
+
<td class="parameter_annotations"> </td>
|
569
|
+
</tr>
|
570
|
+
</tbody>
|
571
|
+
</table></div>
|
572
|
+
</div>
|
573
|
+
<div class="refsect3">
|
574
|
+
<a name="g-compute-hmac-for-bytes.returns"></a><h4>Returns</h4>
|
575
|
+
<p> the HMAC of the binary data as a string in hexadecimal.
|
576
|
+
The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when done using it.</p>
|
577
|
+
</div>
|
578
|
+
<p class="since">Since: <a class="link" href="api-index-2-50.html#api-index-2.50">2.50</a></p>
|
579
|
+
</div>
|
526
580
|
</div>
|
527
581
|
<div class="refsect1">
|
528
582
|
<a name="glib-Data-HMACs.other_details"></a><h2>Types and Values</h2>
|
@@ -225,7 +225,7 @@ it must ensure that it is never unloaded, by calling <a class="link" href="glib-
|
|
225
225
|
40
|
226
226
|
41
|
227
227
|
42</pre></td>
|
228
|
-
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc slc">// the function signature for
|
228
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc slc">// the function signature for 'say_hello'</span>
|
229
229
|
<span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">void</span> <span class="gtkdoc opt">(*</span> SayHelloFunc<span class="gtkdoc opt">) (</span><span class="gtkdoc kwb">const char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">);</span>
|
230
230
|
|
231
231
|
gboolean
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-IO-Channels.html" title="IO Channels">
|
10
|
-
<link rel="next" href="glib-Warnings-and-Assertions.html" title="
|
10
|
+
<link rel="next" href="glib-Warnings-and-Assertions.html" title="Warnings and Assertions">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
@@ -611,7 +611,7 @@ misinterpretation of error codes.</p>
|
|
611
611
|
<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
|
612
612
|
formatting the error message string has a performance overhead. This makes it
|
613
613
|
unsuitable for use in retry loops where errors are a common case, rather than
|
614
|
-
being unusual. For example, using <a href="
|
614
|
+
being unusual. For example, using <a href="https://developer.gnome.org/gio/unstable/gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> means hitting these
|
615
615
|
overheads in the normal control flow. String formatting overhead can be
|
616
616
|
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>
|
617
617
|
<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>
|
@@ -634,7 +634,7 @@ tricked into writing into a different location. It doesn't work!</p>
|
|
634
634
|
4
|
635
635
|
5
|
636
636
|
6</pre></td>
|
637
|
-
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc slc">// DON
|
637
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc slc">// DON'T DO THIS</span>
|
638
638
|
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="glib-File-Utilities.html#g-file-test">g_file_test</a></span> <span class="gtkdoc opt">(</span>filename<span class="gtkdoc opt">,</span> G_FILE_TEST_IS_SYMLINK<span class="gtkdoc opt">))</span>
|
639
639
|
<span class="gtkdoc opt">{</span>
|
640
640
|
fd <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-File-Utilities.html#g-open">g_open</a></span> <span class="gtkdoc opt">(</span>filename<span class="gtkdoc opt">,</span> O_WRONLY<span class="gtkdoc opt">);</span>
|
@@ -668,8 +668,9 @@ extensions and those listed in the <code class="literal">PATHEXT</code> environm
|
|
668
668
|
<tbody>
|
669
669
|
<tr>
|
670
670
|
<td class="parameter_name"><p>filename</p></td>
|
671
|
-
<td class="parameter_description"><p>a filename to test in the
|
672
|
-
|
671
|
+
<td class="parameter_description"><p> a filename to test in the
|
672
|
+
GLib file name encoding. </p></td>
|
673
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
673
674
|
</tr>
|
674
675
|
<tr>
|
675
676
|
<td class="parameter_name"><p>test</p></td>
|
@@ -861,8 +862,8 @@ for filenames. Use <a class="link" href="glib-Character-Set-Conversion.html#g-fi
|
|
861
862
|
<tbody>
|
862
863
|
<tr>
|
863
864
|
<td class="parameter_name"><p>filename</p></td>
|
864
|
-
<td class="parameter_description"><p>the symbolic link</p></td>
|
865
|
-
<td class="parameter_annotations">
|
865
|
+
<td class="parameter_description"><p> the symbolic link. </p></td>
|
866
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
866
867
|
</tr>
|
867
868
|
<tr>
|
868
869
|
<td class="parameter_name"><p>error</p></td>
|
@@ -874,8 +875,9 @@ for filenames. Use <a class="link" href="glib-Character-Set-Conversion.html#g-fi
|
|
874
875
|
</div>
|
875
876
|
<div class="refsect3">
|
876
877
|
<a name="g-file-read-link.returns"></a><h4>Returns</h4>
|
877
|
-
<p> A newly-allocated string with the contents of
|
878
|
-
or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred
|
878
|
+
<p> A newly-allocated string with the contents of
|
879
|
+
the symbolic link, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred. </p>
|
880
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
879
881
|
</div>
|
880
882
|
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
881
883
|
</div>
|
@@ -898,8 +900,8 @@ parent directories as needed, too.</p>
|
|
898
900
|
<tbody>
|
899
901
|
<tr>
|
900
902
|
<td class="parameter_name"><p>pathname</p></td>
|
901
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding</p></td>
|
902
|
-
<td class="parameter_annotations">
|
903
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding. </p></td>
|
904
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
903
905
|
</tr>
|
904
906
|
<tr>
|
905
907
|
<td class="parameter_name"><p>mode</p></td>
|
@@ -951,9 +953,10 @@ on Windows it should be in UTF-8.</p>
|
|
951
953
|
<div class="refsect3">
|
952
954
|
<a name="g-mkdtemp.returns"></a><h4>Returns</h4>
|
953
955
|
<p> A pointer to <em class="parameter"><code>tmpl</code></em>
|
954
|
-
, which has been
|
955
|
-
to hold the directory name. In case of errors, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is
|
956
|
-
returned and <code class="literal">errno</code> will be set
|
956
|
+
, which has been
|
957
|
+
modified to hold the directory name. In case of errors, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is
|
958
|
+
returned and <code class="literal">errno</code> will be set. </p>
|
959
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
957
960
|
</div>
|
958
961
|
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
959
962
|
</div>
|
@@ -999,9 +1002,10 @@ should be in UTF-8.</p>
|
|
999
1002
|
<div class="refsect3">
|
1000
1003
|
<a name="g-mkdtemp-full.returns"></a><h4>Returns</h4>
|
1001
1004
|
<p> A pointer to <em class="parameter"><code>tmpl</code></em>
|
1002
|
-
, which has been
|
1003
|
-
to hold the directory name. In case of errors, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is
|
1004
|
-
returned, and <code class="literal">errno</code> will be set
|
1005
|
+
, which has been
|
1006
|
+
modified to hold the directory name. In case of errors, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is
|
1007
|
+
returned, and <code class="literal">errno</code> will be set. </p>
|
1008
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
1005
1009
|
</div>
|
1006
1010
|
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
1007
1011
|
</div>
|
@@ -1137,7 +1141,8 @@ filenames, the returned name is in UTF-8.</p>
|
|
1137
1141
|
<a name="g-dir-read-name.returns"></a><h4>Returns</h4>
|
1138
1142
|
<p> The entry's name or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if there are no
|
1139
1143
|
more entries. The return value is owned by GLib and
|
1140
|
-
must not be modified or freed
|
1144
|
+
must not be modified or freed. </p>
|
1145
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
1141
1146
|
</div>
|
1142
1147
|
</div>
|
1143
1148
|
<hr>
|
@@ -1219,8 +1224,9 @@ to the <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GF
|
|
1219
1224
|
<tbody>
|
1220
1225
|
<tr>
|
1221
1226
|
<td class="parameter_name"><p>filename</p></td>
|
1222
|
-
<td class="parameter_description"><p>The path of the file to load, in the GLib
|
1223
|
-
|
1227
|
+
<td class="parameter_description"><p> The path of the file to load, in the GLib
|
1228
|
+
filename encoding. </p></td>
|
1229
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1224
1230
|
</tr>
|
1225
1231
|
<tr>
|
1226
1232
|
<td class="parameter_name"><p>writable</p></td>
|
@@ -1502,8 +1508,9 @@ or <code class="function">read()</code>.</p>
|
|
1502
1508
|
<tbody>
|
1503
1509
|
<tr>
|
1504
1510
|
<td class="parameter_name"><p>filename</p></td>
|
1505
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1506
|
-
|
1511
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1512
|
+
(UTF-8 on Windows). </p></td>
|
1513
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1507
1514
|
</tr>
|
1508
1515
|
<tr>
|
1509
1516
|
<td class="parameter_name"><p>flags</p></td>
|
@@ -1548,13 +1555,14 @@ a file that is open to some process.</p>
|
|
1548
1555
|
<tbody>
|
1549
1556
|
<tr>
|
1550
1557
|
<td class="parameter_name"><p>oldfilename</p></td>
|
1551
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1552
|
-
|
1558
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1559
|
+
(UTF-8 on Windows). </p></td>
|
1560
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1553
1561
|
</tr>
|
1554
1562
|
<tr>
|
1555
1563
|
<td class="parameter_name"><p>newfilename</p></td>
|
1556
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding</p></td>
|
1557
|
-
<td class="parameter_annotations">
|
1564
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding. </p></td>
|
1565
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1558
1566
|
</tr>
|
1559
1567
|
</tbody>
|
1560
1568
|
</table></div>
|
@@ -1586,8 +1594,9 @@ The mode argument is ignored on Windows.</p>
|
|
1586
1594
|
<tbody>
|
1587
1595
|
<tr>
|
1588
1596
|
<td class="parameter_name"><p>filename</p></td>
|
1589
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1590
|
-
|
1597
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1598
|
+
(UTF-8 on Windows). </p></td>
|
1599
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1591
1600
|
</tr>
|
1592
1601
|
<tr>
|
1593
1602
|
<td class="parameter_name"><p>mode</p></td>
|
@@ -1639,8 +1648,9 @@ might be a macro.</p>
|
|
1639
1648
|
<tbody>
|
1640
1649
|
<tr>
|
1641
1650
|
<td class="parameter_name"><p>filename</p></td>
|
1642
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1643
|
-
|
1651
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1652
|
+
(UTF-8 on Windows). </p></td>
|
1653
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1644
1654
|
</tr>
|
1645
1655
|
<tr>
|
1646
1656
|
<td class="parameter_name"><p>buf</p></td>
|
@@ -1681,8 +1691,9 @@ is identical to <a class="link" href="glib-File-Utilities.html#g-stat" title="g_
|
|
1681
1691
|
<tbody>
|
1682
1692
|
<tr>
|
1683
1693
|
<td class="parameter_name"><p>filename</p></td>
|
1684
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1685
|
-
|
1694
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1695
|
+
(UTF-8 on Windows). </p></td>
|
1696
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1686
1697
|
</tr>
|
1687
1698
|
<tr>
|
1688
1699
|
<td class="parameter_name"><p>buf</p></td>
|
@@ -1722,8 +1733,9 @@ are open to some process, or mapped into memory.</p>
|
|
1722
1733
|
</colgroup>
|
1723
1734
|
<tbody><tr>
|
1724
1735
|
<td class="parameter_name"><p>filename</p></td>
|
1725
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1726
|
-
|
1736
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1737
|
+
(UTF-8 on Windows). </p></td>
|
1738
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1727
1739
|
</tr></tbody>
|
1728
1740
|
</table></div>
|
1729
1741
|
</div>
|
@@ -1763,8 +1775,9 @@ set by <code class="function">rmdir()</code>.</p>
|
|
1763
1775
|
</colgroup>
|
1764
1776
|
<tbody><tr>
|
1765
1777
|
<td class="parameter_name"><p>filename</p></td>
|
1766
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1767
|
-
|
1778
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1779
|
+
(UTF-8 on Windows). </p></td>
|
1780
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1768
1781
|
</tr></tbody>
|
1769
1782
|
</table></div>
|
1770
1783
|
</div>
|
@@ -1794,8 +1807,9 @@ on your system.</p>
|
|
1794
1807
|
</colgroup>
|
1795
1808
|
<tbody><tr>
|
1796
1809
|
<td class="parameter_name"><p>filename</p></td>
|
1797
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1798
|
-
|
1810
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1811
|
+
(UTF-8 on Windows). </p></td>
|
1812
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1799
1813
|
</tr></tbody>
|
1800
1814
|
</table></div>
|
1801
1815
|
</div>
|
@@ -1832,8 +1846,9 @@ functions like <code class="function">fprintf()</code> or <code class="function"
|
|
1832
1846
|
<tbody>
|
1833
1847
|
<tr>
|
1834
1848
|
<td class="parameter_name"><p>filename</p></td>
|
1835
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1836
|
-
|
1849
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1850
|
+
(UTF-8 on Windows). </p></td>
|
1851
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1837
1852
|
</tr>
|
1838
1853
|
<tr>
|
1839
1854
|
<td class="parameter_name"><p>mode</p></td>
|
@@ -1871,8 +1886,9 @@ opens a file and associates it with an existing stream.</p>
|
|
1871
1886
|
<tbody>
|
1872
1887
|
<tr>
|
1873
1888
|
<td class="parameter_name"><p>filename</p></td>
|
1874
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1875
|
-
|
1889
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1890
|
+
(UTF-8 on Windows). </p></td>
|
1891
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1876
1892
|
</tr>
|
1877
1893
|
<tr>
|
1878
1894
|
<td class="parameter_name"><p>mode</p></td>
|
@@ -1919,8 +1935,9 @@ exactly should use the Win32 API.</p>
|
|
1919
1935
|
<tbody>
|
1920
1936
|
<tr>
|
1921
1937
|
<td class="parameter_name"><p>filename</p></td>
|
1922
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1923
|
-
|
1938
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1939
|
+
(UTF-8 on Windows). </p></td>
|
1940
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1924
1941
|
</tr>
|
1925
1942
|
<tr>
|
1926
1943
|
<td class="parameter_name"><p>mode</p></td>
|
@@ -1963,8 +1980,9 @@ more exactly should use the Win32 API.</p>
|
|
1963
1980
|
<tbody>
|
1964
1981
|
<tr>
|
1965
1982
|
<td class="parameter_name"><p>filename</p></td>
|
1966
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
1967
|
-
|
1983
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
1984
|
+
(UTF-8 on Windows). </p></td>
|
1985
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1968
1986
|
</tr>
|
1969
1987
|
<tr>
|
1970
1988
|
<td class="parameter_name"><p>mode</p></td>
|
@@ -2015,8 +2033,9 @@ or <code class="function">read()</code>.</p>
|
|
2015
2033
|
<tbody>
|
2016
2034
|
<tr>
|
2017
2035
|
<td class="parameter_name"><p>filename</p></td>
|
2018
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
2019
|
-
|
2036
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
2037
|
+
(UTF-8 on Windows). </p></td>
|
2038
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
2020
2039
|
</tr>
|
2021
2040
|
<tr>
|
2022
2041
|
<td class="parameter_name"><p>mode</p></td>
|
@@ -2053,8 +2072,9 @@ current directory of the process to <em class="parameter"><code>path</code></em>
|
|
2053
2072
|
</colgroup>
|
2054
2073
|
<tbody><tr>
|
2055
2074
|
<td class="parameter_name"><p>path</p></td>
|
2056
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
2057
|
-
|
2075
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
2076
|
+
(UTF-8 on Windows). </p></td>
|
2077
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
2058
2078
|
</tr></tbody>
|
2059
2079
|
</table></div>
|
2060
2080
|
</div>
|
@@ -2085,8 +2105,9 @@ on your system.</p>
|
|
2085
2105
|
<tbody>
|
2086
2106
|
<tr>
|
2087
2107
|
<td class="parameter_name"><p>filename</p></td>
|
2088
|
-
<td class="parameter_description"><p>a pathname in the GLib file name encoding
|
2089
|
-
|
2108
|
+
<td class="parameter_description"><p> a pathname in the GLib file name encoding
|
2109
|
+
(UTF-8 on Windows). </p></td>
|
2110
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
2090
2111
|
</tr>
|
2091
2112
|
<tr>
|
2092
2113
|
<td class="parameter_name"><p>utb</p></td>
|