glib2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +26 -4
- data/ext/glib2/glib2.def +3 -1
- data/ext/glib2/rbgcompat.h +0 -15
- data/ext/glib2/rbglib.h +11 -3
- data/ext/glib2/rbglib_source.c +6 -1
- data/ext/glib2/rbgobj_boxed.c +65 -48
- data/ext/glib2/rbgobj_convert.c +29 -14
- data/ext/glib2/rbgobj_value.c +42 -0
- data/ext/glib2/rbgobject.c +7 -4
- data/ext/glib2/rbgobject.h +15 -9
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +6 -1
- data/lib/gnome2-win32-binary-build-task.rb +40 -10
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
- data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
- data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
- data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
- data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
- data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
- data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
- data/vendor/local/include/glib-2.0/gmodule.h +7 -11
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
- data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
- data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +2 -41
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
- data/vendor/local/lib/glib-2.0.def +0 -2
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gobject-2.0.def +0 -4
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +33 -197
- data/ext/glib2/rbgobj_fundamental.c +0 -43
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/dumpsexp.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +0 -177
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
- data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
- data/vendor/local/gnutls.README.txt +0 -6
- data/vendor/local/include/gcrypt-module.h +0 -226
- data/vendor/local/include/gcrypt.h +0 -1826
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
- data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/gnutls/extra.h +0 -137
- data/vendor/local/include/gpg-error.h +0 -651
- data/vendor/local/include/libtasn1.h +0 -246
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgcrypt.def +0 -237
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
- data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
- data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
- data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
- data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
- data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
- data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +0 -879
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
- data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
- data/vendor/local/share/info/gcrypt.info +0 -6243
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/libtasn1.info +0 -2993
- data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
- data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
- data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
- data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
- data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
- data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
- data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
- data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
- data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
- data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
- data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
- data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
- data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
- data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
- data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
- data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
- data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
- data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
- data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
@@ -60,8 +60,6 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
60
60
|
#define <a class="link" href="glib-Version-Information.html#GLIB-VERSION-2-28:CAPS" title="GLIB_VERSION_2_28">GLIB_VERSION_2_28</a>
|
61
61
|
#define <a class="link" href="glib-Version-Information.html#GLIB-VERSION-2-30:CAPS" title="GLIB_VERSION_2_30">GLIB_VERSION_2_30</a>
|
62
62
|
#define <a class="link" href="glib-Version-Information.html#GLIB-VERSION-2-32:CAPS" title="GLIB_VERSION_2_32">GLIB_VERSION_2_32</a>
|
63
|
-
#define <a class="link" href="glib-Version-Information.html#GLIB-VERSION-2-34:CAPS" title="GLIB_VERSION_2_34">GLIB_VERSION_2_34</a>
|
64
|
-
#define <a class="link" href="glib-Version-Information.html#GLIB-VERSION-2-36:CAPS" title="GLIB_VERSION_2_36">GLIB_VERSION_2_36</a>
|
65
63
|
#define <a class="link" href="glib-Version-Information.html#GLIB-VERSION-MIN-REQUIRED:CAPS" title="GLIB_VERSION_MIN_REQUIRED">GLIB_VERSION_MIN_REQUIRED</a>
|
66
64
|
#define <a class="link" href="glib-Version-Information.html#GLIB-VERSION-MAX-ALLOWED:CAPS" title="GLIB_VERSION_MAX_ALLOWED">GLIB_VERSION_MAX_ALLOWED</a>
|
67
65
|
#define <a class="link" href="glib-Version-Information.html#GLIB-DISABLE-DEPRECATION-WARNINGS:CAPS" title="GLIB_DISABLE_DEPRECATION_WARNINGS">GLIB_DISABLE_DEPRECATION_WARNINGS</a>
|
@@ -190,13 +188,13 @@ linked against at application run time.
|
|
190
188
|
<hr>
|
191
189
|
<div class="refsect2">
|
192
190
|
<a name="GLIB-MINOR-VERSION:CAPS"></a><h3>GLIB_MINOR_VERSION</h3>
|
193
|
-
<pre class="programlisting">#define GLIB_MINOR_VERSION
|
191
|
+
<pre class="programlisting">#define GLIB_MINOR_VERSION 34
|
194
192
|
</pre>
|
195
193
|
<p>
|
196
194
|
The minor version number of the GLib library.
|
197
195
|
</p>
|
198
196
|
<p>
|
199
|
-
Like <span class="type">gtk_minor_version</span>, but from the headers used at
|
197
|
+
Like <a href="http://library.gnome.org/devel/gtk3/gtk-Feature-Test-Macros.html#gtk-minor-version"><span class="type">gtk_minor_version</span></a>, but from the headers used at
|
200
198
|
application compile time, rather than from the library
|
201
199
|
linked against at application run time.
|
202
200
|
</p>
|
@@ -210,7 +208,7 @@ linked against at application run time.
|
|
210
208
|
The micro version number of the GLib library.
|
211
209
|
</p>
|
212
210
|
<p>
|
213
|
-
Like <span class="type">gtk_micro_version</span>, but from the headers used at
|
211
|
+
Like <a href="http://library.gnome.org/devel/gtk3/gtk-Feature-Test-Macros.html#gtk-micro-version"><span class="type">gtk_micro_version</span></a>, but from the headers used at
|
214
212
|
application compile time, rather than from the library
|
215
213
|
linked against at application run time.
|
216
214
|
</p>
|
@@ -226,7 +224,7 @@ against.
|
|
226
224
|
<p>
|
227
225
|
</p>
|
228
226
|
<div class="example">
|
229
|
-
<a name="
|
227
|
+
<a name="idp7454096"></a><p class="title"><b>Example 1. Checking the version of the GLib library</b></p>
|
230
228
|
<div class="example-contents">
|
231
229
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
232
230
|
<tbody>
|
@@ -319,28 +317,6 @@ that can be used by the C pre-processor.
|
|
319
317
|
</div>
|
320
318
|
<hr>
|
321
319
|
<div class="refsect2">
|
322
|
-
<a name="GLIB-VERSION-2-34:CAPS"></a><h3>GLIB_VERSION_2_34</h3>
|
323
|
-
<pre class="programlisting">#define GLIB_VERSION_2_34 (G_ENCODE_VERSION (2, 34))
|
324
|
-
</pre>
|
325
|
-
<p>
|
326
|
-
A macro that evaluates to the 2.34 version of GLib, in a format
|
327
|
-
that can be used by the C pre-processor.
|
328
|
-
</p>
|
329
|
-
<p class="since">Since 2.34</p>
|
330
|
-
</div>
|
331
|
-
<hr>
|
332
|
-
<div class="refsect2">
|
333
|
-
<a name="GLIB-VERSION-2-36:CAPS"></a><h3>GLIB_VERSION_2_36</h3>
|
334
|
-
<pre class="programlisting">#define GLIB_VERSION_2_36 (G_ENCODE_VERSION (2, 36))
|
335
|
-
</pre>
|
336
|
-
<p>
|
337
|
-
A macro that evaluates to the 2.36 version of GLib, in a format
|
338
|
-
that can be used by the C pre-processor.
|
339
|
-
</p>
|
340
|
-
<p class="since">Since 2.36</p>
|
341
|
-
</div>
|
342
|
-
<hr>
|
343
|
-
<div class="refsect2">
|
344
320
|
<a name="GLIB-VERSION-MIN-REQUIRED:CAPS"></a><h3>GLIB_VERSION_MIN_REQUIRED</h3>
|
345
321
|
<pre class="programlisting"># define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_CUR_STABLE)
|
346
322
|
</pre>
|
@@ -432,7 +432,7 @@ This function may cause different actions on non-UNIX platforms.
|
|
432
432
|
<td>the program name, needed by <span class="command"><strong>gdb</strong></span>
|
433
433
|
for the [S]tack trace option. If <em class="parameter"><code>prg_name</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>
|
434
434
|
is called to get the program name (which will work correctly if
|
435
|
-
<a href="http://
|
435
|
+
<a href="http://library.gnome.org/devel/gdk3/gdk-General.html#gdk-init"><code class="function">gdk_init()</code></a> or <a href="http://developer.gnome.org/gtk2/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a> has been called)</td>
|
436
436
|
</tr></tbody>
|
437
437
|
</table></div>
|
438
438
|
</div>
|
@@ -445,7 +445,7 @@ Invokes <span class="command"><strong>gdb</strong></span>, which attaches to the
|
|
445
445
|
process and shows a stack trace. Called by <a class="link" href="glib-Warnings-and-Assertions.html#g-on-error-query" title="g_on_error_query ()"><code class="function">g_on_error_query()</code></a>
|
446
446
|
when the [S]tack trace option is selected. You can get the current
|
447
447
|
process's "program name" with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>, assuming that you
|
448
|
-
have called <a href="http://developer.gnome.org/gtk2/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a> or <a href="http://
|
448
|
+
have called <a href="http://developer.gnome.org/gtk2/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a> or <a href="http://library.gnome.org/devel/gdk3/gdk-General.html#gdk-init"><code class="function">gdk_init()</code></a>.
|
449
449
|
</p>
|
450
450
|
<p>
|
451
451
|
This function may cause different actions on non-UNIX platforms.
|
@@ -58,7 +58,7 @@
|
|
58
58
|
</p>
|
59
59
|
<p>
|
60
60
|
The GTK+ documentation contains
|
61
|
-
<a class="ulink" href="
|
61
|
+
<a class="ulink" href="http://library.gnome.org/devel/gtk3/gtk-building.html" target="_top">further details</a>
|
62
62
|
about the build process and ways to influence it.
|
63
63
|
</p>
|
64
64
|
</div>
|
@@ -31,7 +31,7 @@ Incompatible changes made between successing versions of GLib
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="idp9035408"></a><h2>Incompatible changes from 2.0 to 2.2</h2>
|
35
35
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
|
36
36
|
<p>
|
37
37
|
GLib changed the seeding algorithm for the pseudo-random number
|
@@ -56,7 +56,7 @@ with Glib-2.0 that you need to reproduce exactly.
|
|
56
56
|
</li></ul></div>
|
57
57
|
</div>
|
58
58
|
<div class="refsect1">
|
59
|
-
<a name="
|
59
|
+
<a name="idp7583408"></a><h2>Incompatible changes from 1.2 to 2.0</h2>
|
60
60
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
61
61
|
<li class="listitem">
|
62
62
|
<p>
|
@@ -31,7 +31,7 @@ How to compile your GLib application
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="idp10060480"></a><h2>Compiling GLib Applications on UNIX</h2>
|
35
35
|
<p>
|
36
36
|
To compile a GLib application, you need to tell the compiler where to
|
37
37
|
find the GLib header files and libraries. This is done with the
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<div class="cmdsynopsis"><p><code class="command">glib-gettextize</code> [OPTION...] [DIRECTORY]</p></div>
|
34
34
|
</div>
|
35
35
|
<div class="refsect1">
|
36
|
-
<a name="
|
36
|
+
<a name="idp20243712"></a><h2>Description</h2>
|
37
37
|
<p><span class="command"><strong>glib-gettextize</strong></span> helps to prepare a source package for being
|
38
38
|
internationalized through <span class="application">gettext</span>.
|
39
39
|
It is a variant of the <span class="command"><strong>gettextize</strong></span> that ships with
|
@@ -48,7 +48,7 @@ from <span class="command"><strong>gettextize</strong></span> in that it doesn't
|
|
48
48
|
</p>
|
49
49
|
</div>
|
50
50
|
<div class="refsect1">
|
51
|
-
<a name="
|
51
|
+
<a name="idp41084688"></a><h2>Options</h2>
|
52
52
|
<div class="variablelist"><table border="0" class="variablelist">
|
53
53
|
<colgroup>
|
54
54
|
<col align="left" valign="top">
|
@@ -83,7 +83,7 @@ force writing of new files even if old ones exist
|
|
83
83
|
</table></div>
|
84
84
|
</div>
|
85
85
|
<div class="refsect1">
|
86
|
-
<a name="
|
86
|
+
<a name="idp13623760"></a><h2>See also</h2>
|
87
87
|
<p>
|
88
88
|
<span class="citerefentry"><span class="refentrytitle">gettextize</span>(1)</span>
|
89
89
|
</p>
|
@@ -31,9 +31,9 @@ General considerations when programming with GLib
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="idp10766640"></a><h2>Writing GLib Applications</h2>
|
35
35
|
<div class="refsect2">
|
36
|
-
<a name="
|
36
|
+
<a name="idp10580272"></a><h3>Threads</h3>
|
37
37
|
<p>
|
38
38
|
The general policy of GLib is that all functions are invisibly threadsafe
|
39
39
|
with the exception of data structure manipulation functions, where, if
|
@@ -52,7 +52,7 @@ support multithreaded applications.
|
|
52
52
|
</div>
|
53
53
|
<hr>
|
54
54
|
<div class="refsect2">
|
55
|
-
<a name="
|
55
|
+
<a name="idp7562144"></a><h3>Security</h3>
|
56
56
|
<p>
|
57
57
|
When writing code that runs with elevated privileges, it is important
|
58
58
|
to follow some basic rules of secure programming. David Wheeler has an
|
@@ -31,7 +31,7 @@ syntax and semantics of regular expressions supported by GRegex
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="idp8924160"></a><h2>GRegex regular expression details</h2>
|
35
35
|
<p>
|
36
36
|
A regular expression is a pattern that is matched against a
|
37
37
|
string from left to right. Most characters stand for themselves in a
|
@@ -59,7 +59,7 @@ that are recognized in square brackets. Outside square brackets, the
|
|
59
59
|
metacharacters are as follows:
|
60
60
|
</p>
|
61
61
|
<div class="table">
|
62
|
-
<a name="
|
62
|
+
<a name="idp7536880"></a><p class="title"><b>Table 1. Metacharacters outside square brackets</b></p>
|
63
63
|
<div class="table-contents"><table summary="Metacharacters outside square brackets" border="1">
|
64
64
|
<colgroup>
|
65
65
|
<col align="center">
|
@@ -126,7 +126,7 @@ Part of a pattern that is in square brackets is called a "character
|
|
126
126
|
class". In a character class the only metacharacters are:
|
127
127
|
</p>
|
128
128
|
<div class="table">
|
129
|
-
<a name="
|
129
|
+
<a name="idp39199472"></a><p class="title"><b>Table 2. Metacharacters inside square brackets</b></p>
|
130
130
|
<div class="table-contents"><table summary="Metacharacters inside square brackets" border="1">
|
131
131
|
<colgroup>
|
132
132
|
<col align="center">
|
@@ -163,7 +163,7 @@ class". In a character class the only metacharacters are:
|
|
163
163
|
<br class="table-break">
|
164
164
|
</div>
|
165
165
|
<div class="refsect1">
|
166
|
-
<a name="
|
166
|
+
<a name="idp39182048"></a><h2>Backslash</h2>
|
167
167
|
<p>
|
168
168
|
The backslash character has several uses. Firstly, if it is followed by
|
169
169
|
a non-alphanumeric character, it takes away any special meaning that
|
@@ -198,7 +198,7 @@ The \Q...\E sequence is recognized both inside and outside character
|
|
198
198
|
classes.
|
199
199
|
</p>
|
200
200
|
<div class="refsect2">
|
201
|
-
<a name="
|
201
|
+
<a name="idp39186672"></a><h3>Non-printing characters</h3>
|
202
202
|
<p>
|
203
203
|
A second use of backslash provides a way of encoding non-printing
|
204
204
|
characters in patterns in a visible manner. There is no restriction on the
|
@@ -208,7 +208,7 @@ editing, it is usually easier to use one of the following escape
|
|
208
208
|
sequences than the binary character it represents:
|
209
209
|
</p>
|
210
210
|
<div class="table">
|
211
|
-
<a name="
|
211
|
+
<a name="idp39188240"></a><p class="title"><b>Table 3. Non-printing characters</b></p>
|
212
212
|
<div class="table-contents"><table summary="Non-printing characters" border="1">
|
213
213
|
<colgroup>
|
214
214
|
<col align="center">
|
@@ -309,7 +309,7 @@ up to three octal digits following the backslash, and uses them to generate
|
|
309
309
|
a data character. Any subsequent digits stand for themselves. For example:
|
310
310
|
</p>
|
311
311
|
<div class="table">
|
312
|
-
<a name="
|
312
|
+
<a name="idp41144112"></a><p class="title"><b>Table 4. Non-printing characters</b></p>
|
313
313
|
<div class="table-contents"><table summary="Non-printing characters" border="1">
|
314
314
|
<colgroup>
|
315
315
|
<col align="center">
|
@@ -373,7 +373,7 @@ Outside a character class, these sequences have different meanings (see below).
|
|
373
373
|
</div>
|
374
374
|
<hr>
|
375
375
|
<div class="refsect2">
|
376
|
-
<a name="
|
376
|
+
<a name="idp41163152"></a><h3>Absolute and relative back references</h3>
|
377
377
|
<p>
|
378
378
|
The sequence \g followed by a positive or negative number, optionally enclosed
|
379
379
|
in braces, is an absolute or relative back reference. Back references are
|
@@ -382,13 +382,13 @@ discussed later, following the discussion of parenthesized subpatterns.
|
|
382
382
|
</div>
|
383
383
|
<hr>
|
384
384
|
<div class="refsect2">
|
385
|
-
<a name="
|
385
|
+
<a name="idp41164720"></a><h3>Generic character types</h3>
|
386
386
|
<p>
|
387
387
|
Another use of backslash is for specifying generic character types.
|
388
388
|
The following are always recognized:
|
389
389
|
</p>
|
390
390
|
<div class="table">
|
391
|
-
<a name="
|
391
|
+
<a name="idp41166000"></a><p class="title"><b>Table 5. Generic characters</b></p>
|
392
392
|
<div class="table-contents"><table summary="Generic characters" border="1">
|
393
393
|
<colgroup>
|
394
394
|
<col align="center">
|
@@ -452,7 +452,7 @@ Characters with values greater than 128 never match \d,
|
|
452
452
|
</div>
|
453
453
|
<hr>
|
454
454
|
<div class="refsect2">
|
455
|
-
<a name="
|
455
|
+
<a name="idp41182672"></a><h3>Newline sequences</h3>
|
456
456
|
<p>Outside a character class, the escape sequence \R matches any Unicode
|
457
457
|
newline sequence.
|
458
458
|
This particular group matches either the two-character sequence CR followed by
|
@@ -464,13 +464,13 @@ cannot be split. Inside a character class, \R matches the letter "R".</p>
|
|
464
464
|
</div>
|
465
465
|
<hr>
|
466
466
|
<div class="refsect2">
|
467
|
-
<a name="
|
467
|
+
<a name="idp41184528"></a><h3>Unicode character properties</h3>
|
468
468
|
<p>
|
469
469
|
To support generic character types there are three additional escape
|
470
470
|
sequences, they are:
|
471
471
|
</p>
|
472
472
|
<div class="table">
|
473
|
-
<a name="
|
473
|
+
<a name="idp41185808"></a><p class="title"><b>Table 6. Generic character types</b></p>
|
474
474
|
<div class="table-contents"><table summary="Generic character types" border="1">
|
475
475
|
<colgroup>
|
476
476
|
<col align="center">
|
@@ -537,7 +537,7 @@ documentation for the #GUnicodeType enumeration, the following
|
|
537
537
|
general category property codes are supported:
|
538
538
|
</p>
|
539
539
|
<div class="table">
|
540
|
-
<a name="
|
540
|
+
<a name="idp41200240"></a><p class="title"><b>Table 7. Property codes</b></p>
|
541
541
|
<div class="table-contents"><table summary="Property codes" border="1">
|
542
542
|
<colgroup>
|
543
543
|
<col align="center">
|
@@ -620,7 +620,7 @@ characters. That is why the traditional escape sequences such as \d and
|
|
620
620
|
</div>
|
621
621
|
<hr>
|
622
622
|
<div class="refsect2">
|
623
|
-
<a name="
|
623
|
+
<a name="idp41220320"></a><h3>Simple assertions</h3>
|
624
624
|
<p>
|
625
625
|
The final use of backslash is for certain simple assertions. An
|
626
626
|
assertion specifies a condition that has to be met at a particular point in
|
@@ -629,7 +629,7 @@ use of subpatterns for more complicated assertions is described below.
|
|
629
629
|
The backslashed assertions are:
|
630
630
|
</p>
|
631
631
|
<div class="table">
|
632
|
-
<a name="
|
632
|
+
<a name="idp41221792"></a><p class="title"><b>Table 8. Simple assertions</b></p>
|
633
633
|
<div class="table-contents"><table summary="Simple assertions" border="1">
|
634
634
|
<colgroup>
|
635
635
|
<col align="center">
|
@@ -711,7 +711,7 @@ in the compiled regular expression.
|
|
711
711
|
</div>
|
712
712
|
</div>
|
713
713
|
<div class="refsect1">
|
714
|
-
<a name="
|
714
|
+
<a name="idp41240976"></a><h2>Circumflex and dollar</h2>
|
715
715
|
<p>
|
716
716
|
Outside a character class, in the default matching mode, the circumflex
|
717
717
|
character is an assertion that is true only if the current matching
|
@@ -769,7 +769,7 @@ is set.
|
|
769
769
|
</p>
|
770
770
|
</div>
|
771
771
|
<div class="refsect1">
|
772
|
-
<a name="
|
772
|
+
<a name="idp41250624"></a><h2>Full stop (period, dot)</h2>
|
773
773
|
<p>
|
774
774
|
Outside a character class, a dot in the pattern matches any one character
|
775
775
|
in the string, including a non-printing character, but not (by
|
@@ -802,7 +802,7 @@ special meaning in a character class.
|
|
802
802
|
</p>
|
803
803
|
</div>
|
804
804
|
<div class="refsect1">
|
805
|
-
<a name="
|
805
|
+
<a name="idp41255744"></a><h2>Matching a single byte</h2>
|
806
806
|
<p>
|
807
807
|
Outside a character class, the escape sequence \C matches any one byte,
|
808
808
|
both in and out of UTF-8 mode. Unlike a dot, it always matches any line
|
@@ -819,7 +819,7 @@ the length of the lookbehind.
|
|
819
819
|
</p>
|
820
820
|
</div>
|
821
821
|
<div class="refsect1">
|
822
|
-
<a name="
|
822
|
+
<a name="idp41258112"></a><h2>Square brackets and character classes</h2>
|
823
823
|
<p>
|
824
824
|
An opening square bracket introduces a character class, terminated by a
|
825
825
|
closing square bracket. A closing square bracket on its own is not special. If a closing square bracket is required as a member of the class,
|
@@ -904,7 +904,7 @@ escaping other non-alphanumeric characters does no harm.
|
|
904
904
|
</p>
|
905
905
|
</div>
|
906
906
|
<div class="refsect1">
|
907
|
-
<a name="
|
907
|
+
<a name="idp41268416"></a><h2>Posix character classes</h2>
|
908
908
|
<p>
|
909
909
|
GRegex supports the POSIX notation for character classes. This uses names
|
910
910
|
enclosed by [: and :] within the enclosing square brackets. For example,
|
@@ -917,7 +917,7 @@ matches "0", "1", any alphabetic character, or "%". The supported class
|
|
917
917
|
names are
|
918
918
|
</p>
|
919
919
|
<div class="table">
|
920
|
-
<a name="
|
920
|
+
<a name="idp41270864"></a><p class="title"><b>Table 9. Posix classes</b></p>
|
921
921
|
<div class="table-contents"><table summary="Posix classes" border="1">
|
922
922
|
<colgroup>
|
923
923
|
<col align="center">
|
@@ -1012,7 +1012,7 @@ of the POSIX character classes.
|
|
1012
1012
|
</p>
|
1013
1013
|
</div>
|
1014
1014
|
<div class="refsect1">
|
1015
|
-
<a name="
|
1015
|
+
<a name="idp41298576"></a><h2>Vertical bar</h2>
|
1016
1016
|
<p>
|
1017
1017
|
Vertical bar characters are used to separate alternative patterns. For
|
1018
1018
|
example, the pattern
|
@@ -1028,7 +1028,7 @@ left to right, and the first one that succeeds is used. If the alternatives are
|
|
1028
1028
|
</p>
|
1029
1029
|
</div>
|
1030
1030
|
<div class="refsect1">
|
1031
|
-
<a name="
|
1031
|
+
<a name="idp41301568"></a><h2>Internal option setting</h2>
|
1032
1032
|
<p>
|
1033
1033
|
The settings of the <code class="varname">G_REGEX_CASELESS</code>, <code class="varname">G_REGEX_MULTILINE</code>, <code class="varname">G_REGEX_MULTILINE</code>,
|
1034
1034
|
and <code class="varname">G_REGEX_EXTENDED</code> options can be changed from within the pattern by a
|
@@ -1036,7 +1036,7 @@ sequence of Perl-style option letters enclosed between "(?" and ")". The
|
|
1036
1036
|
option letters are
|
1037
1037
|
</p>
|
1038
1038
|
<div class="table">
|
1039
|
-
<a name="
|
1039
|
+
<a name="idp41304672"></a><p class="title"><b>Table 10. Option settings</b></p>
|
1040
1040
|
<div class="table-contents"><table summary="Option settings" border="1">
|
1041
1041
|
<colgroup>
|
1042
1042
|
<col align="center">
|
@@ -1110,7 +1110,7 @@ the characters U, X and J respectively.
|
|
1110
1110
|
</p>
|
1111
1111
|
</div>
|
1112
1112
|
<div class="refsect1">
|
1113
|
-
<a name="
|
1113
|
+
<a name="idp41324976"></a><h2>Subpatterns</h2>
|
1114
1114
|
<p>
|
1115
1115
|
Subpatterns are delimited by parentheses (round brackets), which can be
|
1116
1116
|
nested. Turning part of a pattern into a subpattern does two things:
|
@@ -1174,7 +1174,7 @@ subsequent branches, so the above patterns match "SUNDAY" as well as
|
|
1174
1174
|
</p>
|
1175
1175
|
</div>
|
1176
1176
|
<div class="refsect1">
|
1177
|
-
<a name="
|
1177
|
+
<a name="idp40822704"></a><h2>Named subpatterns</h2>
|
1178
1178
|
<p>
|
1179
1179
|
Identifying capturing parentheses by number is simple, but it can be
|
1180
1180
|
very hard to keep track of the numbers in complicated regular expressions.
|
@@ -1215,7 +1215,7 @@ pattern, the one that corresponds to the lowest number is used.
|
|
1215
1215
|
</p>
|
1216
1216
|
</div>
|
1217
1217
|
<div class="refsect1">
|
1218
|
-
<a name="
|
1218
|
+
<a name="idp40827776"></a><h2>Repetition</h2>
|
1219
1219
|
<p>
|
1220
1220
|
Repetition is specified by quantifiers, which can follow any of the
|
1221
1221
|
following items:
|
@@ -1278,7 +1278,7 @@ For convenience, the three most common quantifiers have single-character
|
|
1278
1278
|
abbreviations:
|
1279
1279
|
</p>
|
1280
1280
|
<div class="table">
|
1281
|
-
<a name="
|
1281
|
+
<a name="idp40841120"></a><p class="title"><b>Table 11. Abbreviations for quantifiers</b></p>
|
1282
1282
|
<div class="table-contents"><table summary="Abbreviations for quantifiers" border="1">
|
1283
1283
|
<colgroup>
|
1284
1284
|
<col align="center">
|
@@ -1419,7 +1419,7 @@ matches "aba" the value of the second captured substring is "b".
|
|
1419
1419
|
</p>
|
1420
1420
|
</div>
|
1421
1421
|
<div class="refsect1">
|
1422
|
-
<a name="
|
1422
|
+
<a name="idp40868128"></a><h2>Atomic grouping and possessive quantifiers</h2>
|
1423
1423
|
<p>
|
1424
1424
|
With both maximizing ("greedy") and minimizing ("ungreedy" or "lazy")
|
1425
1425
|
repetition, failure of what follows normally causes the repeated
|
@@ -1537,7 +1537,7 @@ sequences of non-digits cannot be broken, and failure happens quickly.
|
|
1537
1537
|
</p>
|
1538
1538
|
</div>
|
1539
1539
|
<div class="refsect1">
|
1540
|
-
<a name="
|
1540
|
+
<a name="idp40884144"></a><h2>Back references</h2>
|
1541
1541
|
<p>
|
1542
1542
|
Outside a character class, a backslash followed by a digit greater than
|
1543
1543
|
0 (and possibly further digits) is a back reference to a capturing subpattern
|
@@ -1646,7 +1646,7 @@ the example above, or by a quantifier with a minimum of zero.
|
|
1646
1646
|
</p>
|
1647
1647
|
</div>
|
1648
1648
|
<div class="refsect1">
|
1649
|
-
<a name="
|
1649
|
+
<a name="idp40899328"></a><h2>Assertions</h2>
|
1650
1650
|
<p>
|
1651
1651
|
An assertion is a test on the characters following or preceding the
|
1652
1652
|
current matching point that does not actually consume any characters.
|
@@ -1670,7 +1670,7 @@ out only for positive assertions, because it does not make sense for
|
|
1670
1670
|
negative assertions.
|
1671
1671
|
</p>
|
1672
1672
|
<div class="refsect2">
|
1673
|
-
<a name="
|
1673
|
+
<a name="idp40902320"></a><h3>Lookahead assertions</h3>
|
1674
1674
|
<p>
|
1675
1675
|
Lookahead assertions start with (?= for positive assertions and (?! for
|
1676
1676
|
negative assertions. For example,
|
@@ -1707,7 +1707,7 @@ string must always fail.
|
|
1707
1707
|
</div>
|
1708
1708
|
<hr>
|
1709
1709
|
<div class="refsect2">
|
1710
|
-
<a name="
|
1710
|
+
<a name="idp40908384"></a><h3>Lookbehind assertions</h3>
|
1711
1711
|
<p>
|
1712
1712
|
Lookbehind assertions start with (?<= for positive assertions and (?<!
|
1713
1713
|
for negative assertions. For example,
|
@@ -1796,7 +1796,7 @@ processing time.
|
|
1796
1796
|
</div>
|
1797
1797
|
<hr>
|
1798
1798
|
<div class="refsect2">
|
1799
|
-
<a name="
|
1799
|
+
<a name="idp40922128"></a><h3>Using multiple assertions</h3>
|
1800
1800
|
<p>
|
1801
1801
|
Several assertions (of any sort) may occur in succession. For example,
|
1802
1802
|
</p>
|
@@ -1841,7 +1841,7 @@ three characters that are not "999".
|
|
1841
1841
|
</div>
|
1842
1842
|
</div>
|
1843
1843
|
<div class="refsect1">
|
1844
|
-
<a name="
|
1844
|
+
<a name="idp40929600"></a><h2>Conditional subpatterns</h2>
|
1845
1845
|
<p>
|
1846
1846
|
It is possible to cause the matching process to obey a subpattern
|
1847
1847
|
conditionally or to choose between two alternative subpatterns, depending
|
@@ -1862,7 +1862,7 @@ There are four kinds of condition: references to subpatterns, references to
|
|
1862
1862
|
recursion, a pseudo-condition called DEFINE, and assertions.
|
1863
1863
|
</p>
|
1864
1864
|
<div class="refsect2">
|
1865
|
-
<a name="
|
1865
|
+
<a name="idp40932944"></a><h3>Checking for a used subpattern by number</h3>
|
1866
1866
|
<p>
|
1867
1867
|
If the text between the parentheses consists of a sequence of digits, the
|
1868
1868
|
condition is true if the capturing subpattern of that number has previously
|
@@ -1891,7 +1891,7 @@ optionally enclosed in parentheses.
|
|
1891
1891
|
</div>
|
1892
1892
|
<hr>
|
1893
1893
|
<div class="refsect2">
|
1894
|
-
<a name="
|
1894
|
+
<a name="idp40937184"></a><h3>Checking for a used subpattern by name</h3>
|
1895
1895
|
<p>
|
1896
1896
|
Perl uses the syntax (?(<name>)...) or (?('name')...) to test for a used
|
1897
1897
|
subpattern by name, the Python syntax (?(name)...) is also recognized. However,
|
@@ -1910,7 +1910,7 @@ Rewriting the above example to use a named subpattern gives this:
|
|
1910
1910
|
</div>
|
1911
1911
|
<hr>
|
1912
1912
|
<div class="refsect2">
|
1913
|
-
<a name="
|
1913
|
+
<a name="idp40940160"></a><h3>Checking for pattern recursion</h3>
|
1914
1914
|
<p>
|
1915
1915
|
If the condition is the string (R), and there is no subpattern with the name R,
|
1916
1916
|
the condition is true if a recursive call to the whole pattern or any
|
@@ -1933,7 +1933,7 @@ patterns are described below.
|
|
1933
1933
|
</div>
|
1934
1934
|
<hr>
|
1935
1935
|
<div class="refsect2">
|
1936
|
-
<a name="
|
1936
|
+
<a name="idp40943632"></a><h3>Defining subpatterns for use by reference only</h3>
|
1937
1937
|
<p>
|
1938
1938
|
If the condition is the string (DEFINE), and there is no subpattern with the
|
1939
1939
|
name DEFINE, the condition is always false. In this case, there may be only one
|
@@ -1961,7 +1961,7 @@ each end.
|
|
1961
1961
|
</div>
|
1962
1962
|
<hr>
|
1963
1963
|
<div class="refsect2">
|
1964
|
-
<a name="
|
1964
|
+
<a name="idp40947568"></a><h3>Assertion conditions</h3>
|
1965
1965
|
<p>
|
1966
1966
|
If the condition is not in any of the above formats, it must be an
|
1967
1967
|
assertion. This may be a positive or negative lookahead or lookbehind
|
@@ -1984,7 +1984,7 @@ letters and dd are digits.
|
|
1984
1984
|
</div>
|
1985
1985
|
</div>
|
1986
1986
|
<div class="refsect1">
|
1987
|
-
<a name="
|
1987
|
+
<a name="idp40950880"></a><h2>Comments</h2>
|
1988
1988
|
<p>
|
1989
1989
|
The sequence (?# marks the start of a comment that continues up to the
|
1990
1990
|
next closing parenthesis. Nested parentheses are not permitted. The
|
@@ -1998,7 +1998,7 @@ immediately after the next newline in the pattern.
|
|
1998
1998
|
</p>
|
1999
1999
|
</div>
|
2000
2000
|
<div class="refsect1">
|
2001
|
-
<a name="
|
2001
|
+
<a name="idp40953472"></a><h2>Recursive patterns</h2>
|
2002
2002
|
<p>
|
2003
2003
|
Consider the problem of matching a string in parentheses, allowing for
|
2004
2004
|
unlimited nested parentheses. Without the use of recursion, the best
|
@@ -2130,7 +2130,7 @@ The (?R) item is the actual recursive call.
|
|
2130
2130
|
</p>
|
2131
2131
|
</div>
|
2132
2132
|
<div class="refsect1">
|
2133
|
-
<a name="
|
2133
|
+
<a name="idp40972080"></a><h2>Subpatterns as subroutines</h2>
|
2134
2134
|
<p>
|
2135
2135
|
If the syntax for a recursive subpattern reference (either by number or
|
2136
2136
|
by name) is used outside the parentheses to which it refers, it operates
|
@@ -2172,7 +2172,7 @@ processing option does not affect the called subpattern.
|
|
2172
2172
|
</p>
|
2173
2173
|
</div>
|
2174
2174
|
<div class="refsect1">
|
2175
|
-
<a name="
|
2175
|
+
<a name="idp40980944"></a><h2>Copyright</h2>
|
2176
2176
|
<p>
|
2177
2177
|
This document was copied and adapted from the PCRE documentation,
|
2178
2178
|
specifically from the man page for pcrepattern.
|