glib2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +24 -12
- data/ext/glib2/extconf.rb +1 -0
- data/ext/glib2/glib2.def +4 -0
- data/ext/glib2/rbglib-variant.c +163 -12
- data/ext/glib2/rbglib.c +31 -8
- data/ext/glib2/rbglib.h +15 -1
- data/ext/glib2/rbglib2conversions.h +3 -0
- data/ext/glib2/rbglib_iochannel.c +0 -3
- data/ext/glib2/rbglib_iochannel_win32_socket.c +0 -1
- data/ext/glib2/rbglib_matchinfo.c +179 -0
- data/ext/glib2/rbglib_regex.c +484 -0
- data/ext/glib2/rbgobj_value.c +7 -1
- data/ext/glib2/rbgprivate.h +2 -0
- data/ext/glib2/rbgutil.c +7 -0
- data/ext/glib2/rbgutil.h +2 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +2 -1
- data/lib/glib2/regex.rb +29 -0
- data/lib/gnome2/rake/external-package.rb +6 -1
- data/lib/gnome2/rake/package-task.rb +1 -1
- data/lib/gnome2/rake/package.rb +9 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +35 -11
- data/lib/mkmf-gnome2.rb +3 -1
- data/test/test-match-info.rb +113 -0
- data/test/test-regex.rb +320 -0
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +1 -1
- 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 +2 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/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.def +993 -984
- 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-1.dll → 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/pcre-config +133 -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/gdatagrambased.h +144 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +9 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsclientconnection.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsconnection.h +191 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsserverconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +69 -13
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +2 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gliststore.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +25 -25
- data/vendor/local/include/glib-2.0/gio/gsocket.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +4 -1
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +13 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +2 -0
- data/vendor/local/include/glib-2.0/glib/glib-autocleanups.h +12 -4
- data/vendor/local/include/glib-2.0/glib/gmacros.h +46 -10
- data/vendor/local/include/glib-2.0/glib/gmain.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +7 -5
- data/vendor/local/include/glib-2.0/glib/gmessages.h +8 -8
- data/vendor/local/include/glib-2.0/glib/gnode.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +2 -9
- data/vendor/local/include/glib-2.0/glib/gsequence.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +15 -2
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +10 -57
- data/vendor/local/include/glib-2.0/glib/gtypes.h +61 -6
- data/vendor/local/include/glib-2.0/glib/gunicode.h +15 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +36 -57
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +59 -10
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +3 -3
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -7
- data/vendor/local/include/glib-2.0/gobject/gobject-autocleanups.h +0 -1
- data/vendor/local/include/glib-2.0/gobject/gobject.h +8 -4
- data/vendor/local/include/glib-2.0/gobject/gparam.h +5 -2
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +3 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +47 -26
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -0
- data/vendor/local/include/gmp.h +56 -24
- data/vendor/local/include/gnutls/gnutls.h +79 -39
- data/vendor/local/include/gnutls/pkcs11.h +6 -0
- data/vendor/local/include/gnutls/pkcs7.h +17 -4
- data/vendor/local/include/gnutls/x509.h +8 -0
- data/vendor/local/include/libintl.h +1 -1
- data/vendor/local/include/libtasn1.h +1 -1
- data/vendor/local/include/nettle/rsa.h +72 -0
- data/vendor/local/include/nettle/sha3.h +4 -0
- data/vendor/local/include/nettle/version.h +8 -1
- data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +1 -0
- data/vendor/local/include/pcre.h +677 -0
- data/vendor/local/include/pcre_scanner.h +172 -0
- data/vendor/local/include/pcre_stringpiece.h +180 -0
- data/vendor/local/include/pcrecpp.h +710 -0
- data/vendor/local/include/pcrecpparg.h +174 -0
- data/vendor/local/include/pcreposix.h +146 -0
- 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 +3 -3
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +4 -16
- 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/libgmp.la +4 -4
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +4 -4
- 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/libidn.la +1 -1
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +2 -2
- 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/libp11-kit.la +1 -1
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +41 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +41 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +41 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +1 -1
- 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/pkcs11/p11-kit-trust.la +1 -1
- 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 +3 -3
- 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 +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
- data/vendor/local/lib/pkgconfig/libidn.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcre.pc +13 -0
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +12 -0
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +13 -0
- data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
- data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
- data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
- data/vendor/local/share/aclocal/glib-gettext.m4 +3 -2
- data/vendor/local/share/doc/pcre/AUTHORS +45 -0
- data/vendor/local/share/doc/pcre/COPYING +5 -0
- data/vendor/local/share/doc/pcre/ChangeLog +5918 -0
- data/vendor/local/share/doc/pcre/LICENCE +93 -0
- data/vendor/local/share/doc/pcre/NEWS +716 -0
- data/vendor/local/share/doc/pcre/README +1002 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +772 -0
- data/vendor/local/share/doc/pcre/html/README.txt +1002 -0
- data/vendor/local/share/doc/pcre/html/index.html +185 -0
- data/vendor/local/share/doc/pcre/html/pcre-config.html +109 -0
- data/vendor/local/share/doc/pcre/html/pcre.html +224 -0
- data/vendor/local/share/doc/pcre/html/pcre16.html +384 -0
- data/vendor/local/share/doc/pcre/html/pcre32.html +382 -0
- data/vendor/local/share/doc/pcre/html/pcre_assign_jit_stack.html +76 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile2.html +115 -0
- data/vendor/local/share/doc/pcre/html/pcre_config.html +94 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_named_substring.html +65 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_substring.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_dfa_exec.html +129 -0
- data/vendor/local/share/doc/pcre/html/pcre_exec.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_study.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring_list.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_fullinfo.html +118 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_named_substring.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringnumber.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringtable_entries.html +60 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring.html +64 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring_list.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_exec.html +108 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_alloc.html +55 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_free.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_maketables.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html +58 -0
- data/vendor/local/share/doc/pcre/html/pcre_refcount.html +51 -0
- data/vendor/local/share/doc/pcre/html/pcre_study.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_version.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcreapi.html +2922 -0
- data/vendor/local/share/doc/pcre/html/pcrebuild.html +534 -0
- data/vendor/local/share/doc/pcre/html/pcrecallout.html +286 -0
- data/vendor/local/share/doc/pcre/html/pcrecompat.html +235 -0
- data/vendor/local/share/doc/pcre/html/pcrecpp.html +368 -0
- data/vendor/local/share/doc/pcre/html/pcredemo.html +426 -0
- data/vendor/local/share/doc/pcre/html/pcregrep.html +759 -0
- data/vendor/local/share/doc/pcre/html/pcrejit.html +452 -0
- data/vendor/local/share/doc/pcre/html/pcrelimits.html +90 -0
- data/vendor/local/share/doc/pcre/html/pcrematching.html +242 -0
- data/vendor/local/share/doc/pcre/html/pcrepartial.html +509 -0
- data/vendor/local/share/doc/pcre/html/pcrepattern.html +3273 -0
- data/vendor/local/share/doc/pcre/html/pcreperform.html +195 -0
- data/vendor/local/share/doc/pcre/html/pcreposix.html +290 -0
- data/vendor/local/share/doc/pcre/html/pcreprecompile.html +163 -0
- data/vendor/local/share/doc/pcre/html/pcresample.html +110 -0
- data/vendor/local/share/doc/pcre/html/pcrestack.html +225 -0
- data/vendor/local/share/doc/pcre/html/pcresyntax.html +561 -0
- data/vendor/local/share/doc/pcre/html/pcretest.html +1158 -0
- data/vendor/local/share/doc/pcre/html/pcreunicode.html +262 -0
- data/vendor/local/share/doc/pcre/pcre-config.txt +86 -0
- data/vendor/local/share/doc/pcre/pcre.txt +10455 -0
- data/vendor/local/share/doc/pcre/pcregrep.txt +741 -0
- data/vendor/local/share/doc/pcre/pcretest.txt +1087 -0
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gettext/ABOUT-NLS +382 -413
- data/vendor/local/share/gettext/its/gschema.its +25 -0
- data/vendor/local/share/gettext/its/gschema.loc +10 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.py +22 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +58 -64
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +75 -80
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -51
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +72 -97
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +7 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +174 -160
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +127 -132
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +90 -92
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +43 -46
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +17 -26
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +12 -17
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +45 -52
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +14 -18
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +20 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +41 -48
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +34 -40
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +337 -258
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +23 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +44 -50
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +143 -158
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +59 -54
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +19 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +25 -27
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +48 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +34 -31
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +25 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +105 -122
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +32 -39
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +40 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +17 -28
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +766 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +56 -75
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +468 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1521 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +208 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +16 -19
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +16 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +204 -240
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +13 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +128 -145
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +75 -36
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +10 -13
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +41 -43
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +56 -44
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +20 -23
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +103 -118
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +39 -47
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +32 -44
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +80 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +138 -145
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +84 -94
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +54 -66
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +34 -42
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +26 -28
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +97 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +49 -47
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +39 -56
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +30 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +46 -47
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +79 -74
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +12 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +325 -200
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -49
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +21 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +258 -162
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -9
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +470 -281
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +27 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +76 -85
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +118 -72
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +26 -30
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +180 -62
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +51 -28
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +25 -31
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +63 -75
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +49 -54
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +406 -404
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +36 -38
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +30 -31
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +11 -14
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +172 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +96 -37
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +64 -66
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +256 -63
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +150 -49
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +21 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +21 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +26 -27
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +21 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +11 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +211 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +283 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +107 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +459 -8
- data/vendor/local/share/gtk-doc/html/gio/application.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +29 -172
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +187 -27
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +15 -34
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +16 -137
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +26 -87
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +37 -121
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +132 -176
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +19 -71
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +24 -908
- data/vendor/local/share/gtk-doc/html/gio/{ch33s06.html → ch34s06.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch33s07.html → ch34s07.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +94 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +141 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +201 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/extending.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +11 -12
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +199 -200
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +89 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +77 -87
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +19 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +43 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +20 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +21 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +9 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +147 -114
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2066 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +29 -32
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +54 -75
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +27 -30
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +11 -8
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +194 -140
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +6 -7
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -6
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +41 -45
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +204 -137
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +22 -44
- data/vendor/local/share/gtk-doc/html/gio/networking.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +20 -5
- data/vendor/local/share/gtk-doc/html/gio/registry.html +32 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/tls.html +12 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +16 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +7 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +12 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +46 -8
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +80 -9
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +68 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +254 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +130 -144
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +19 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +33 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +22 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +89 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +384 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +100 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +83 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +14 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +49 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +141 -156
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +32 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +24 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +28 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +108 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +98 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +89 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +93 -125
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +50 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +189 -171
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +99 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +172 -217
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +32 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +430 -451
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +53 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +12 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +167 -192
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +58 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +14 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +70 -79
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +68 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +166 -183
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +33 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +80 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +101 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +102 -75
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +133 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +192 -162
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +107 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +69 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +12 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +199 -230
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +54 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +24 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +29 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +187 -173
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +13 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +104 -117
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +62 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +26 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +15 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +13 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +210 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +95 -101
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +306 -268
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +373 -369
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +79 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +316 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +12 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +44 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +20 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +44 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +21 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +200 -220
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +51 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +25 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +6 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +4 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +14 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +44 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +149 -149
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -12
- data/vendor/local/share/gtk-doc/html/glib/index.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +36 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +53 -57
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +72 -77
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +14 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +34 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +22 -17
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +85 -135
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +80 -144
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +59 -75
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +20 -21
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +68 -89
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +227 -218
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +48 -57
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +125 -96
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +78 -90
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +143 -138
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +226 -285
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +306 -289
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +450 -448
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +22 -23
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +11 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +32 -91
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +134 -133
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +4 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +89 -98
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +119 -112
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +199 -183
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +30 -30
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +32 -33
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +80 -32
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +73 -53
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +52 -50
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +255 -133
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +147 -111
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +65 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +93 -79
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +80 -54
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +82 -87
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +126 -62
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +61 -54
- data/vendor/local/share/gtk-doc/html/gobject/index.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +98 -198
- data/vendor/local/share/gtk-doc/html/gobject/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/gtk-doc.css +9 -6
- data/vendor/local/share/gtk-doc/html/p11-kit/index.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +22 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -13
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +3 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +3 -18
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +3 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +22 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +7 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -4
- data/vendor/local/share/info/gmp.info +153 -158
- data/vendor/local/share/info/gmp.info-1 +131 -178
- data/vendor/local/share/info/gmp.info-2 +250 -193
- data/vendor/local/share/info/libtasn1.info +2 -2
- data/vendor/local/share/license/gmp/AUTHORS +1 -1
- data/vendor/local/share/license/pcre/AUTHORS +45 -0
- data/vendor/local/share/license/pcre/COPYING +5 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.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/ms/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.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/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.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/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/asn1Coding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Decoding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Parser.1 +1 -1
- data/vendor/local/share/man/man1/envsubst.1 +1 -1
- data/vendor/local/share/man/man1/gapplication.1 +2 -2
- data/vendor/local/share/man/man1/gdbus-codegen.1 +23 -22
- data/vendor/local/share/man/man1/gdbus.1 +2 -2
- data/vendor/local/share/man/man1/gettext.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-resources.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +7 -2
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-gettextize.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/share/man/man1/gresource.1 +2 -2
- data/vendor/local/share/man/man1/gsettings.1 +2 -2
- data/vendor/local/share/man/man1/gtester-report.1 +2 -2
- data/vendor/local/share/man/man1/gtester.1 +2 -2
- data/vendor/local/share/man/man1/ngettext.1 +1 -1
- data/vendor/local/share/man/man1/pcre-config.1 +92 -0
- data/vendor/local/share/man/man1/pcregrep.1 +683 -0
- data/vendor/local/share/man/man1/pcretest.1 +1156 -0
- data/vendor/local/share/man/man3/asn1_array2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_check_version.3 +1 -1
- data/vendor/local/share/man/man3/asn1_copy_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_create_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_coding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +1 -1
- data/vendor/local/share/man/man3/asn1_dup_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_encode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_object_id_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +1 -1
- data/vendor/local/share/man/man3/asn1_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2array.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_perror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_print_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_node_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_tag.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value_type.3 +1 -1
- data/vendor/local/share/man/man3/asn1_strerror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_write_value.3 +1 -1
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +1 -1
- data/vendor/local/share/man/man3/bindtextdomain.3 +1 -1
- data/vendor/local/share/man/man3/gettext.3 +1 -1
- data/vendor/local/share/man/man3/ngettext.3 +1 -1
- data/vendor/local/share/man/man3/pcre.3 +230 -0
- data/vendor/local/share/man/man3/pcre16.3 +371 -0
- data/vendor/local/share/man/man3/pcre16_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre16_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre16_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre16_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre16_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre16_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre16_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre16_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre16_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre16_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre16_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre16_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre16_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre16_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre32.3 +369 -0
- data/vendor/local/share/man/man3/pcre32_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre32_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre32_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre32_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre32_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre32_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre32_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre32_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre32_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre32_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre32_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre32_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre32_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre32_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_version.3 +31 -0
- data/vendor/local/share/man/man3/pcreapi.3 +2919 -0
- data/vendor/local/share/man/man3/pcrebuild.3 +550 -0
- data/vendor/local/share/man/man3/pcrecallout.3 +255 -0
- data/vendor/local/share/man/man3/pcrecompat.3 +200 -0
- data/vendor/local/share/man/man3/pcrecpp.3 +348 -0
- data/vendor/local/share/man/man3/pcredemo.3 +424 -0
- data/vendor/local/share/man/man3/pcrejit.3 +431 -0
- data/vendor/local/share/man/man3/pcrelimits.3 +71 -0
- data/vendor/local/share/man/man3/pcrematching.3 +214 -0
- data/vendor/local/share/man/man3/pcrepartial.3 +476 -0
- data/vendor/local/share/man/man3/pcrepattern.3 +3301 -0
- data/vendor/local/share/man/man3/pcreperform.3 +177 -0
- data/vendor/local/share/man/man3/pcreposix.3 +267 -0
- data/vendor/local/share/man/man3/pcreprecompile.3 +155 -0
- data/vendor/local/share/man/man3/pcresample.3 +99 -0
- data/vendor/local/share/man/man3/pcrestack.3 +215 -0
- data/vendor/local/share/man/man3/pcresyntax.3 +540 -0
- data/vendor/local/share/man/man3/pcreunicode.3 +249 -0
- data/vendor/local/share/man/man3/textdomain.3 +1 -1
- metadata +233 -22
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/vendor/local/bin/libhogweed-4-1.dll +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +0 -1537
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +0 -679
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +0 -572
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +0 -561
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +0 -161
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +0 -51
@@ -0,0 +1,348 @@
|
|
1
|
+
.TH PCRECPP 3 "08 January 2012" "PCRE 8.30"
|
2
|
+
.SH NAME
|
3
|
+
PCRE - Perl-compatible regular expressions.
|
4
|
+
.SH "SYNOPSIS OF C++ WRAPPER"
|
5
|
+
.rs
|
6
|
+
.sp
|
7
|
+
.B #include <pcrecpp.h>
|
8
|
+
.
|
9
|
+
.SH DESCRIPTION
|
10
|
+
.rs
|
11
|
+
.sp
|
12
|
+
The C++ wrapper for PCRE was provided by Google Inc. Some additional
|
13
|
+
functionality was added by Giuseppe Maxia. This brief man page was constructed
|
14
|
+
from the notes in the \fIpcrecpp.h\fP file, which should be consulted for
|
15
|
+
further details. Note that the C++ wrapper supports only the original 8-bit
|
16
|
+
PCRE library. There is no 16-bit or 32-bit support at present.
|
17
|
+
.
|
18
|
+
.
|
19
|
+
.SH "MATCHING INTERFACE"
|
20
|
+
.rs
|
21
|
+
.sp
|
22
|
+
The "FullMatch" operation checks that supplied text matches a supplied pattern
|
23
|
+
exactly. If pointer arguments are supplied, it copies matched sub-strings that
|
24
|
+
match sub-patterns into them.
|
25
|
+
.sp
|
26
|
+
Example: successful match
|
27
|
+
pcrecpp::RE re("h.*o");
|
28
|
+
re.FullMatch("hello");
|
29
|
+
.sp
|
30
|
+
Example: unsuccessful match (requires full match):
|
31
|
+
pcrecpp::RE re("e");
|
32
|
+
!re.FullMatch("hello");
|
33
|
+
.sp
|
34
|
+
Example: creating a temporary RE object:
|
35
|
+
pcrecpp::RE("h.*o").FullMatch("hello");
|
36
|
+
.sp
|
37
|
+
You can pass in a "const char*" or a "string" for "text". The examples below
|
38
|
+
tend to use a const char*. You can, as in the different examples above, store
|
39
|
+
the RE object explicitly in a variable or use a temporary RE object. The
|
40
|
+
examples below use one mode or the other arbitrarily. Either could correctly be
|
41
|
+
used for any of these examples.
|
42
|
+
.P
|
43
|
+
You must supply extra pointer arguments to extract matched subpieces.
|
44
|
+
.sp
|
45
|
+
Example: extracts "ruby" into "s" and 1234 into "i"
|
46
|
+
int i;
|
47
|
+
string s;
|
48
|
+
pcrecpp::RE re("(\e\ew+):(\e\ed+)");
|
49
|
+
re.FullMatch("ruby:1234", &s, &i);
|
50
|
+
.sp
|
51
|
+
Example: does not try to extract any extra sub-patterns
|
52
|
+
re.FullMatch("ruby:1234", &s);
|
53
|
+
.sp
|
54
|
+
Example: does not try to extract into NULL
|
55
|
+
re.FullMatch("ruby:1234", NULL, &i);
|
56
|
+
.sp
|
57
|
+
Example: integer overflow causes failure
|
58
|
+
!re.FullMatch("ruby:1234567891234", NULL, &i);
|
59
|
+
.sp
|
60
|
+
Example: fails because there aren't enough sub-patterns:
|
61
|
+
!pcrecpp::RE("\e\ew+:\e\ed+").FullMatch("ruby:1234", &s);
|
62
|
+
.sp
|
63
|
+
Example: fails because string cannot be stored in integer
|
64
|
+
!pcrecpp::RE("(.*)").FullMatch("ruby", &i);
|
65
|
+
.sp
|
66
|
+
The provided pointer arguments can be pointers to any scalar numeric
|
67
|
+
type, or one of:
|
68
|
+
.sp
|
69
|
+
string (matched piece is copied to string)
|
70
|
+
StringPiece (StringPiece is mutated to point to matched piece)
|
71
|
+
T (where "bool T::ParseFrom(const char*, int)" exists)
|
72
|
+
NULL (the corresponding matched sub-pattern is not copied)
|
73
|
+
.sp
|
74
|
+
The function returns true iff all of the following conditions are satisfied:
|
75
|
+
.sp
|
76
|
+
a. "text" matches "pattern" exactly;
|
77
|
+
.sp
|
78
|
+
b. The number of matched sub-patterns is >= number of supplied
|
79
|
+
pointers;
|
80
|
+
.sp
|
81
|
+
c. The "i"th argument has a suitable type for holding the
|
82
|
+
string captured as the "i"th sub-pattern. If you pass in
|
83
|
+
void * NULL for the "i"th argument, or a non-void * NULL
|
84
|
+
of the correct type, or pass fewer arguments than the
|
85
|
+
number of sub-patterns, "i"th captured sub-pattern is
|
86
|
+
ignored.
|
87
|
+
.sp
|
88
|
+
CAVEAT: An optional sub-pattern that does not exist in the matched
|
89
|
+
string is assigned the empty string. Therefore, the following will
|
90
|
+
return false (because the empty string is not a valid number):
|
91
|
+
.sp
|
92
|
+
int number;
|
93
|
+
pcrecpp::RE::FullMatch("abc", "[a-z]+(\e\ed+)?", &number);
|
94
|
+
.sp
|
95
|
+
The matching interface supports at most 16 arguments per call.
|
96
|
+
If you need more, consider using the more general interface
|
97
|
+
\fBpcrecpp::RE::DoMatch\fP. See \fBpcrecpp.h\fP for the signature for
|
98
|
+
\fBDoMatch\fP.
|
99
|
+
.P
|
100
|
+
NOTE: Do not use \fBno_arg\fP, which is used internally to mark the end of a
|
101
|
+
list of optional arguments, as a placeholder for missing arguments, as this can
|
102
|
+
lead to segfaults.
|
103
|
+
.
|
104
|
+
.
|
105
|
+
.SH "QUOTING METACHARACTERS"
|
106
|
+
.rs
|
107
|
+
.sp
|
108
|
+
You can use the "QuoteMeta" operation to insert backslashes before all
|
109
|
+
potentially meaningful characters in a string. The returned string, used as a
|
110
|
+
regular expression, will exactly match the original string.
|
111
|
+
.sp
|
112
|
+
Example:
|
113
|
+
string quoted = RE::QuoteMeta(unquoted);
|
114
|
+
.sp
|
115
|
+
Note that it's legal to escape a character even if it has no special meaning in
|
116
|
+
a regular expression -- so this function does that. (This also makes it
|
117
|
+
identical to the perl function of the same name; see "perldoc -f quotemeta".)
|
118
|
+
For example, "1.5-2.0?" becomes "1\e.5\e-2\e.0\e?".
|
119
|
+
.
|
120
|
+
.SH "PARTIAL MATCHES"
|
121
|
+
.rs
|
122
|
+
.sp
|
123
|
+
You can use the "PartialMatch" operation when you want the pattern
|
124
|
+
to match any substring of the text.
|
125
|
+
.sp
|
126
|
+
Example: simple search for a string:
|
127
|
+
pcrecpp::RE("ell").PartialMatch("hello");
|
128
|
+
.sp
|
129
|
+
Example: find first number in a string:
|
130
|
+
int number;
|
131
|
+
pcrecpp::RE re("(\e\ed+)");
|
132
|
+
re.PartialMatch("x*100 + 20", &number);
|
133
|
+
assert(number == 100);
|
134
|
+
.
|
135
|
+
.
|
136
|
+
.SH "UTF-8 AND THE MATCHING INTERFACE"
|
137
|
+
.rs
|
138
|
+
.sp
|
139
|
+
By default, pattern and text are plain text, one byte per character. The UTF8
|
140
|
+
flag, passed to the constructor, causes both pattern and string to be treated
|
141
|
+
as UTF-8 text, still a byte stream but potentially multiple bytes per
|
142
|
+
character. In practice, the text is likelier to be UTF-8 than the pattern, but
|
143
|
+
the match returned may depend on the UTF8 flag, so always use it when matching
|
144
|
+
UTF8 text. For example, "." will match one byte normally but with UTF8 set may
|
145
|
+
match up to three bytes of a multi-byte character.
|
146
|
+
.sp
|
147
|
+
Example:
|
148
|
+
pcrecpp::RE_Options options;
|
149
|
+
options.set_utf8();
|
150
|
+
pcrecpp::RE re(utf8_pattern, options);
|
151
|
+
re.FullMatch(utf8_string);
|
152
|
+
.sp
|
153
|
+
Example: using the convenience function UTF8():
|
154
|
+
pcrecpp::RE re(utf8_pattern, pcrecpp::UTF8());
|
155
|
+
re.FullMatch(utf8_string);
|
156
|
+
.sp
|
157
|
+
NOTE: The UTF8 flag is ignored if pcre was not configured with the
|
158
|
+
--enable-utf8 flag.
|
159
|
+
.
|
160
|
+
.
|
161
|
+
.SH "PASSING MODIFIERS TO THE REGULAR EXPRESSION ENGINE"
|
162
|
+
.rs
|
163
|
+
.sp
|
164
|
+
PCRE defines some modifiers to change the behavior of the regular expression
|
165
|
+
engine. The C++ wrapper defines an auxiliary class, RE_Options, as a vehicle to
|
166
|
+
pass such modifiers to a RE class. Currently, the following modifiers are
|
167
|
+
supported:
|
168
|
+
.sp
|
169
|
+
modifier description Perl corresponding
|
170
|
+
.sp
|
171
|
+
PCRE_CASELESS case insensitive match /i
|
172
|
+
PCRE_MULTILINE multiple lines match /m
|
173
|
+
PCRE_DOTALL dot matches newlines /s
|
174
|
+
PCRE_DOLLAR_ENDONLY $ matches only at end N/A
|
175
|
+
PCRE_EXTRA strict escape parsing N/A
|
176
|
+
PCRE_EXTENDED ignore white spaces /x
|
177
|
+
PCRE_UTF8 handles UTF8 chars built-in
|
178
|
+
PCRE_UNGREEDY reverses * and *? N/A
|
179
|
+
PCRE_NO_AUTO_CAPTURE disables capturing parens N/A (*)
|
180
|
+
.sp
|
181
|
+
(*) Both Perl and PCRE allow non capturing parentheses by means of the
|
182
|
+
"?:" modifier within the pattern itself. e.g. (?:ab|cd) does not
|
183
|
+
capture, while (ab|cd) does.
|
184
|
+
.P
|
185
|
+
For a full account on how each modifier works, please check the
|
186
|
+
PCRE API reference page.
|
187
|
+
.P
|
188
|
+
For each modifier, there are two member functions whose name is made
|
189
|
+
out of the modifier in lowercase, without the "PCRE_" prefix. For
|
190
|
+
instance, PCRE_CASELESS is handled by
|
191
|
+
.sp
|
192
|
+
bool caseless()
|
193
|
+
.sp
|
194
|
+
which returns true if the modifier is set, and
|
195
|
+
.sp
|
196
|
+
RE_Options & set_caseless(bool)
|
197
|
+
.sp
|
198
|
+
which sets or unsets the modifier. Moreover, PCRE_EXTRA_MATCH_LIMIT can be
|
199
|
+
accessed through the \fBset_match_limit()\fP and \fBmatch_limit()\fP member
|
200
|
+
functions. Setting \fImatch_limit\fP to a non-zero value will limit the
|
201
|
+
execution of pcre to keep it from doing bad things like blowing the stack or
|
202
|
+
taking an eternity to return a result. A value of 5000 is good enough to stop
|
203
|
+
stack blowup in a 2MB thread stack. Setting \fImatch_limit\fP to zero disables
|
204
|
+
match limiting. Alternatively, you can call \fBmatch_limit_recursion()\fP
|
205
|
+
which uses PCRE_EXTRA_MATCH_LIMIT_RECURSION to limit how much PCRE
|
206
|
+
recurses. \fBmatch_limit()\fP limits the number of matches PCRE does;
|
207
|
+
\fBmatch_limit_recursion()\fP limits the depth of internal recursion, and
|
208
|
+
therefore the amount of stack that is used.
|
209
|
+
.P
|
210
|
+
Normally, to pass one or more modifiers to a RE class, you declare
|
211
|
+
a \fIRE_Options\fP object, set the appropriate options, and pass this
|
212
|
+
object to a RE constructor. Example:
|
213
|
+
.sp
|
214
|
+
RE_Options opt;
|
215
|
+
opt.set_caseless(true);
|
216
|
+
if (RE("HELLO", opt).PartialMatch("hello world")) ...
|
217
|
+
.sp
|
218
|
+
RE_options has two constructors. The default constructor takes no arguments and
|
219
|
+
creates a set of flags that are off by default. The optional parameter
|
220
|
+
\fIoption_flags\fP is to facilitate transfer of legacy code from C programs.
|
221
|
+
This lets you do
|
222
|
+
.sp
|
223
|
+
RE(pattern,
|
224
|
+
RE_Options(PCRE_CASELESS|PCRE_MULTILINE)).PartialMatch(str);
|
225
|
+
.sp
|
226
|
+
However, new code is better off doing
|
227
|
+
.sp
|
228
|
+
RE(pattern,
|
229
|
+
RE_Options().set_caseless(true).set_multiline(true))
|
230
|
+
.PartialMatch(str);
|
231
|
+
.sp
|
232
|
+
If you are going to pass one of the most used modifiers, there are some
|
233
|
+
convenience functions that return a RE_Options class with the
|
234
|
+
appropriate modifier already set: \fBCASELESS()\fP, \fBUTF8()\fP,
|
235
|
+
\fBMULTILINE()\fP, \fBDOTALL\fP(), and \fBEXTENDED()\fP.
|
236
|
+
.P
|
237
|
+
If you need to set several options at once, and you don't want to go through
|
238
|
+
the pains of declaring a RE_Options object and setting several options, there
|
239
|
+
is a parallel method that give you such ability on the fly. You can concatenate
|
240
|
+
several \fBset_xxxxx()\fP member functions, since each of them returns a
|
241
|
+
reference to its class object. For example, to pass PCRE_CASELESS,
|
242
|
+
PCRE_EXTENDED, and PCRE_MULTILINE to a RE with one statement, you may write:
|
243
|
+
.sp
|
244
|
+
RE(" ^ xyz \e\es+ .* blah$",
|
245
|
+
RE_Options()
|
246
|
+
.set_caseless(true)
|
247
|
+
.set_extended(true)
|
248
|
+
.set_multiline(true)).PartialMatch(sometext);
|
249
|
+
.sp
|
250
|
+
.
|
251
|
+
.
|
252
|
+
.SH "SCANNING TEXT INCREMENTALLY"
|
253
|
+
.rs
|
254
|
+
.sp
|
255
|
+
The "Consume" operation may be useful if you want to repeatedly
|
256
|
+
match regular expressions at the front of a string and skip over
|
257
|
+
them as they match. This requires use of the "StringPiece" type,
|
258
|
+
which represents a sub-range of a real string. Like RE, StringPiece
|
259
|
+
is defined in the pcrecpp namespace.
|
260
|
+
.sp
|
261
|
+
Example: read lines of the form "var = value" from a string.
|
262
|
+
string contents = ...; // Fill string somehow
|
263
|
+
pcrecpp::StringPiece input(contents); // Wrap in a StringPiece
|
264
|
+
.sp
|
265
|
+
string var;
|
266
|
+
int value;
|
267
|
+
pcrecpp::RE re("(\e\ew+) = (\e\ed+)\en");
|
268
|
+
while (re.Consume(&input, &var, &value)) {
|
269
|
+
...;
|
270
|
+
}
|
271
|
+
.sp
|
272
|
+
Each successful call to "Consume" will set "var/value", and also
|
273
|
+
advance "input" so it points past the matched text.
|
274
|
+
.P
|
275
|
+
The "FindAndConsume" operation is similar to "Consume" but does not
|
276
|
+
anchor your match at the beginning of the string. For example, you
|
277
|
+
could extract all words from a string by repeatedly calling
|
278
|
+
.sp
|
279
|
+
pcrecpp::RE("(\e\ew+)").FindAndConsume(&input, &word)
|
280
|
+
.
|
281
|
+
.
|
282
|
+
.SH "PARSING HEX/OCTAL/C-RADIX NUMBERS"
|
283
|
+
.rs
|
284
|
+
.sp
|
285
|
+
By default, if you pass a pointer to a numeric value, the
|
286
|
+
corresponding text is interpreted as a base-10 number. You can
|
287
|
+
instead wrap the pointer with a call to one of the operators Hex(),
|
288
|
+
Octal(), or CRadix() to interpret the text in another base. The
|
289
|
+
CRadix operator interprets C-style "0" (base-8) and "0x" (base-16)
|
290
|
+
prefixes, but defaults to base-10.
|
291
|
+
.sp
|
292
|
+
Example:
|
293
|
+
int a, b, c, d;
|
294
|
+
pcrecpp::RE re("(.*) (.*) (.*) (.*)");
|
295
|
+
re.FullMatch("100 40 0100 0x40",
|
296
|
+
pcrecpp::Octal(&a), pcrecpp::Hex(&b),
|
297
|
+
pcrecpp::CRadix(&c), pcrecpp::CRadix(&d));
|
298
|
+
.sp
|
299
|
+
will leave 64 in a, b, c, and d.
|
300
|
+
.
|
301
|
+
.
|
302
|
+
.SH "REPLACING PARTS OF STRINGS"
|
303
|
+
.rs
|
304
|
+
.sp
|
305
|
+
You can replace the first match of "pattern" in "str" with "rewrite".
|
306
|
+
Within "rewrite", backslash-escaped digits (\e1 to \e9) can be
|
307
|
+
used to insert text matching corresponding parenthesized group
|
308
|
+
from the pattern. \e0 in "rewrite" refers to the entire matching
|
309
|
+
text. For example:
|
310
|
+
.sp
|
311
|
+
string s = "yabba dabba doo";
|
312
|
+
pcrecpp::RE("b+").Replace("d", &s);
|
313
|
+
.sp
|
314
|
+
will leave "s" containing "yada dabba doo". The result is true if the pattern
|
315
|
+
matches and a replacement occurs, false otherwise.
|
316
|
+
.P
|
317
|
+
\fBGlobalReplace\fP is like \fBReplace\fP except that it replaces all
|
318
|
+
occurrences of the pattern in the string with the rewrite. Replacements are
|
319
|
+
not subject to re-matching. For example:
|
320
|
+
.sp
|
321
|
+
string s = "yabba dabba doo";
|
322
|
+
pcrecpp::RE("b+").GlobalReplace("d", &s);
|
323
|
+
.sp
|
324
|
+
will leave "s" containing "yada dada doo". It returns the number of
|
325
|
+
replacements made.
|
326
|
+
.P
|
327
|
+
\fBExtract\fP is like \fBReplace\fP, except that if the pattern matches,
|
328
|
+
"rewrite" is copied into "out" (an additional argument) with substitutions.
|
329
|
+
The non-matching portions of "text" are ignored. Returns true iff a match
|
330
|
+
occurred and the extraction happened successfully; if no match occurs, the
|
331
|
+
string is left unaffected.
|
332
|
+
.
|
333
|
+
.
|
334
|
+
.SH AUTHOR
|
335
|
+
.rs
|
336
|
+
.sp
|
337
|
+
.nf
|
338
|
+
The C++ wrapper was contributed by Google Inc.
|
339
|
+
Copyright (c) 2007 Google Inc.
|
340
|
+
.fi
|
341
|
+
.
|
342
|
+
.
|
343
|
+
.SH REVISION
|
344
|
+
.rs
|
345
|
+
.sp
|
346
|
+
.nf
|
347
|
+
Last updated: 08 January 2012
|
348
|
+
.fi
|
@@ -0,0 +1,424 @@
|
|
1
|
+
.\" Start example.
|
2
|
+
.de EX
|
3
|
+
. nr mE \\n(.f
|
4
|
+
. nf
|
5
|
+
. nh
|
6
|
+
. ft CW
|
7
|
+
..
|
8
|
+
.
|
9
|
+
.
|
10
|
+
.\" End example.
|
11
|
+
.de EE
|
12
|
+
. ft \\n(mE
|
13
|
+
. fi
|
14
|
+
. hy \\n(HY
|
15
|
+
..
|
16
|
+
.
|
17
|
+
.EX
|
18
|
+
/*************************************************
|
19
|
+
* PCRE DEMONSTRATION PROGRAM *
|
20
|
+
*************************************************/
|
21
|
+
|
22
|
+
/* This is a demonstration program to illustrate the most straightforward ways
|
23
|
+
of calling the PCRE regular expression library from a C program. See the
|
24
|
+
pcresample documentation for a short discussion ("man pcresample" if you have
|
25
|
+
the PCRE man pages installed).
|
26
|
+
|
27
|
+
In Unix-like environments, if PCRE is installed in your standard system
|
28
|
+
libraries, you should be able to compile this program using this command:
|
29
|
+
|
30
|
+
gcc -Wall pcredemo.c -lpcre -o pcredemo
|
31
|
+
|
32
|
+
If PCRE is not installed in a standard place, it is likely to be installed with
|
33
|
+
support for the pkg-config mechanism. If you have pkg-config, you can compile
|
34
|
+
this program using this command:
|
35
|
+
|
36
|
+
gcc -Wall pcredemo.c `pkg-config --cflags --libs libpcre` -o pcredemo
|
37
|
+
|
38
|
+
If you do not have pkg-config, you may have to use this:
|
39
|
+
|
40
|
+
gcc -Wall pcredemo.c -I/usr/local/include -L/usr/local/lib \e
|
41
|
+
-R/usr/local/lib -lpcre -o pcredemo
|
42
|
+
|
43
|
+
Replace "/usr/local/include" and "/usr/local/lib" with wherever the include and
|
44
|
+
library files for PCRE are installed on your system. Only some operating
|
45
|
+
systems (e.g. Solaris) use the -R option.
|
46
|
+
|
47
|
+
Building under Windows:
|
48
|
+
|
49
|
+
If you want to statically link this program against a non-dll .a file, you must
|
50
|
+
define PCRE_STATIC before including pcre.h, otherwise the pcre_malloc() and
|
51
|
+
pcre_free() exported functions will be declared __declspec(dllimport), with
|
52
|
+
unwanted results. So in this environment, uncomment the following line. */
|
53
|
+
|
54
|
+
/* #define PCRE_STATIC */
|
55
|
+
|
56
|
+
#include <stdio.h>
|
57
|
+
#include <string.h>
|
58
|
+
#include <pcre.h>
|
59
|
+
|
60
|
+
#define OVECCOUNT 30 /* should be a multiple of 3 */
|
61
|
+
|
62
|
+
|
63
|
+
int main(int argc, char **argv)
|
64
|
+
{
|
65
|
+
pcre *re;
|
66
|
+
const char *error;
|
67
|
+
char *pattern;
|
68
|
+
char *subject;
|
69
|
+
unsigned char *name_table;
|
70
|
+
unsigned int option_bits;
|
71
|
+
int erroffset;
|
72
|
+
int find_all;
|
73
|
+
int crlf_is_newline;
|
74
|
+
int namecount;
|
75
|
+
int name_entry_size;
|
76
|
+
int ovector[OVECCOUNT];
|
77
|
+
int subject_length;
|
78
|
+
int rc, i;
|
79
|
+
int utf8;
|
80
|
+
|
81
|
+
|
82
|
+
/**************************************************************************
|
83
|
+
* First, sort out the command line. There is only one possible option at *
|
84
|
+
* the moment, "-g" to request repeated matching to find all occurrences, *
|
85
|
+
* like Perl's /g option. We set the variable find_all to a non-zero value *
|
86
|
+
* if the -g option is present. Apart from that, there must be exactly two *
|
87
|
+
* arguments. *
|
88
|
+
**************************************************************************/
|
89
|
+
|
90
|
+
find_all = 0;
|
91
|
+
for (i = 1; i < argc; i++)
|
92
|
+
{
|
93
|
+
if (strcmp(argv[i], "-g") == 0) find_all = 1;
|
94
|
+
else break;
|
95
|
+
}
|
96
|
+
|
97
|
+
/* After the options, we require exactly two arguments, which are the pattern,
|
98
|
+
and the subject string. */
|
99
|
+
|
100
|
+
if (argc - i != 2)
|
101
|
+
{
|
102
|
+
printf("Two arguments required: a regex and a subject string\en");
|
103
|
+
return 1;
|
104
|
+
}
|
105
|
+
|
106
|
+
pattern = argv[i];
|
107
|
+
subject = argv[i+1];
|
108
|
+
subject_length = (int)strlen(subject);
|
109
|
+
|
110
|
+
|
111
|
+
/*************************************************************************
|
112
|
+
* Now we are going to compile the regular expression pattern, and handle *
|
113
|
+
* and errors that are detected. *
|
114
|
+
*************************************************************************/
|
115
|
+
|
116
|
+
re = pcre_compile(
|
117
|
+
pattern, /* the pattern */
|
118
|
+
0, /* default options */
|
119
|
+
&error, /* for error message */
|
120
|
+
&erroffset, /* for error offset */
|
121
|
+
NULL); /* use default character tables */
|
122
|
+
|
123
|
+
/* Compilation failed: print the error message and exit */
|
124
|
+
|
125
|
+
if (re == NULL)
|
126
|
+
{
|
127
|
+
printf("PCRE compilation failed at offset %d: %s\en", erroffset, error);
|
128
|
+
return 1;
|
129
|
+
}
|
130
|
+
|
131
|
+
|
132
|
+
/*************************************************************************
|
133
|
+
* If the compilation succeeded, we call PCRE again, in order to do a *
|
134
|
+
* pattern match against the subject string. This does just ONE match. If *
|
135
|
+
* further matching is needed, it will be done below. *
|
136
|
+
*************************************************************************/
|
137
|
+
|
138
|
+
rc = pcre_exec(
|
139
|
+
re, /* the compiled pattern */
|
140
|
+
NULL, /* no extra data - we didn't study the pattern */
|
141
|
+
subject, /* the subject string */
|
142
|
+
subject_length, /* the length of the subject */
|
143
|
+
0, /* start at offset 0 in the subject */
|
144
|
+
0, /* default options */
|
145
|
+
ovector, /* output vector for substring information */
|
146
|
+
OVECCOUNT); /* number of elements in the output vector */
|
147
|
+
|
148
|
+
/* Matching failed: handle error cases */
|
149
|
+
|
150
|
+
if (rc < 0)
|
151
|
+
{
|
152
|
+
switch(rc)
|
153
|
+
{
|
154
|
+
case PCRE_ERROR_NOMATCH: printf("No match\en"); break;
|
155
|
+
/*
|
156
|
+
Handle other special cases if you like
|
157
|
+
*/
|
158
|
+
default: printf("Matching error %d\en", rc); break;
|
159
|
+
}
|
160
|
+
pcre_free(re); /* Release memory used for the compiled pattern */
|
161
|
+
return 1;
|
162
|
+
}
|
163
|
+
|
164
|
+
/* Match succeded */
|
165
|
+
|
166
|
+
printf("\enMatch succeeded at offset %d\en", ovector[0]);
|
167
|
+
|
168
|
+
|
169
|
+
/*************************************************************************
|
170
|
+
* We have found the first match within the subject string. If the output *
|
171
|
+
* vector wasn't big enough, say so. Then output any substrings that were *
|
172
|
+
* captured. *
|
173
|
+
*************************************************************************/
|
174
|
+
|
175
|
+
/* The output vector wasn't big enough */
|
176
|
+
|
177
|
+
if (rc == 0)
|
178
|
+
{
|
179
|
+
rc = OVECCOUNT/3;
|
180
|
+
printf("ovector only has room for %d captured substrings\en", rc - 1);
|
181
|
+
}
|
182
|
+
|
183
|
+
/* Show substrings stored in the output vector by number. Obviously, in a real
|
184
|
+
application you might want to do things other than print them. */
|
185
|
+
|
186
|
+
for (i = 0; i < rc; i++)
|
187
|
+
{
|
188
|
+
char *substring_start = subject + ovector[2*i];
|
189
|
+
int substring_length = ovector[2*i+1] - ovector[2*i];
|
190
|
+
printf("%2d: %.*s\en", i, substring_length, substring_start);
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
/**************************************************************************
|
195
|
+
* That concludes the basic part of this demonstration program. We have *
|
196
|
+
* compiled a pattern, and performed a single match. The code that follows *
|
197
|
+
* shows first how to access named substrings, and then how to code for *
|
198
|
+
* repeated matches on the same subject. *
|
199
|
+
**************************************************************************/
|
200
|
+
|
201
|
+
/* See if there are any named substrings, and if so, show them by name. First
|
202
|
+
we have to extract the count of named parentheses from the pattern. */
|
203
|
+
|
204
|
+
(void)pcre_fullinfo(
|
205
|
+
re, /* the compiled pattern */
|
206
|
+
NULL, /* no extra data - we didn't study the pattern */
|
207
|
+
PCRE_INFO_NAMECOUNT, /* number of named substrings */
|
208
|
+
&namecount); /* where to put the answer */
|
209
|
+
|
210
|
+
if (namecount <= 0) printf("No named substrings\en"); else
|
211
|
+
{
|
212
|
+
unsigned char *tabptr;
|
213
|
+
printf("Named substrings\en");
|
214
|
+
|
215
|
+
/* Before we can access the substrings, we must extract the table for
|
216
|
+
translating names to numbers, and the size of each entry in the table. */
|
217
|
+
|
218
|
+
(void)pcre_fullinfo(
|
219
|
+
re, /* the compiled pattern */
|
220
|
+
NULL, /* no extra data - we didn't study the pattern */
|
221
|
+
PCRE_INFO_NAMETABLE, /* address of the table */
|
222
|
+
&name_table); /* where to put the answer */
|
223
|
+
|
224
|
+
(void)pcre_fullinfo(
|
225
|
+
re, /* the compiled pattern */
|
226
|
+
NULL, /* no extra data - we didn't study the pattern */
|
227
|
+
PCRE_INFO_NAMEENTRYSIZE, /* size of each entry in the table */
|
228
|
+
&name_entry_size); /* where to put the answer */
|
229
|
+
|
230
|
+
/* Now we can scan the table and, for each entry, print the number, the name,
|
231
|
+
and the substring itself. */
|
232
|
+
|
233
|
+
tabptr = name_table;
|
234
|
+
for (i = 0; i < namecount; i++)
|
235
|
+
{
|
236
|
+
int n = (tabptr[0] << 8) | tabptr[1];
|
237
|
+
printf("(%d) %*s: %.*s\en", n, name_entry_size - 3, tabptr + 2,
|
238
|
+
ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]);
|
239
|
+
tabptr += name_entry_size;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
243
|
+
|
244
|
+
/*************************************************************************
|
245
|
+
* If the "-g" option was given on the command line, we want to continue *
|
246
|
+
* to search for additional matches in the subject string, in a similar *
|
247
|
+
* way to the /g option in Perl. This turns out to be trickier than you *
|
248
|
+
* might think because of the possibility of matching an empty string. *
|
249
|
+
* What happens is as follows: *
|
250
|
+
* *
|
251
|
+
* If the previous match was NOT for an empty string, we can just start *
|
252
|
+
* the next match at the end of the previous one. *
|
253
|
+
* *
|
254
|
+
* If the previous match WAS for an empty string, we can't do that, as it *
|
255
|
+
* would lead to an infinite loop. Instead, a special call of pcre_exec() *
|
256
|
+
* is made with the PCRE_NOTEMPTY_ATSTART and PCRE_ANCHORED flags set. *
|
257
|
+
* The first of these tells PCRE that an empty string at the start of the *
|
258
|
+
* subject is not a valid match; other possibilities must be tried. The *
|
259
|
+
* second flag restricts PCRE to one match attempt at the initial string *
|
260
|
+
* position. If this match succeeds, an alternative to the empty string *
|
261
|
+
* match has been found, and we can print it and proceed round the loop, *
|
262
|
+
* advancing by the length of whatever was found. If this match does not *
|
263
|
+
* succeed, we still stay in the loop, advancing by just one character. *
|
264
|
+
* In UTF-8 mode, which can be set by (*UTF8) in the pattern, this may be *
|
265
|
+
* more than one byte. *
|
266
|
+
* *
|
267
|
+
* However, there is a complication concerned with newlines. When the *
|
268
|
+
* newline convention is such that CRLF is a valid newline, we must *
|
269
|
+
* advance by two characters rather than one. The newline convention can *
|
270
|
+
* be set in the regex by (*CR), etc.; if not, we must find the default. *
|
271
|
+
*************************************************************************/
|
272
|
+
|
273
|
+
if (!find_all) /* Check for -g */
|
274
|
+
{
|
275
|
+
pcre_free(re); /* Release the memory used for the compiled pattern */
|
276
|
+
return 0; /* Finish unless -g was given */
|
277
|
+
}
|
278
|
+
|
279
|
+
/* Before running the loop, check for UTF-8 and whether CRLF is a valid newline
|
280
|
+
sequence. First, find the options with which the regex was compiled; extract
|
281
|
+
the UTF-8 state, and mask off all but the newline options. */
|
282
|
+
|
283
|
+
(void)pcre_fullinfo(re, NULL, PCRE_INFO_OPTIONS, &option_bits);
|
284
|
+
utf8 = option_bits & PCRE_UTF8;
|
285
|
+
option_bits &= PCRE_NEWLINE_CR|PCRE_NEWLINE_LF|PCRE_NEWLINE_CRLF|
|
286
|
+
PCRE_NEWLINE_ANY|PCRE_NEWLINE_ANYCRLF;
|
287
|
+
|
288
|
+
/* If no newline options were set, find the default newline convention from the
|
289
|
+
build configuration. */
|
290
|
+
|
291
|
+
if (option_bits == 0)
|
292
|
+
{
|
293
|
+
int d;
|
294
|
+
(void)pcre_config(PCRE_CONFIG_NEWLINE, &d);
|
295
|
+
/* Note that these values are always the ASCII ones, even in
|
296
|
+
EBCDIC environments. CR = 13, NL = 10. */
|
297
|
+
option_bits = (d == 13)? PCRE_NEWLINE_CR :
|
298
|
+
(d == 10)? PCRE_NEWLINE_LF :
|
299
|
+
(d == (13<<8 | 10))? PCRE_NEWLINE_CRLF :
|
300
|
+
(d == -2)? PCRE_NEWLINE_ANYCRLF :
|
301
|
+
(d == -1)? PCRE_NEWLINE_ANY : 0;
|
302
|
+
}
|
303
|
+
|
304
|
+
/* See if CRLF is a valid newline sequence. */
|
305
|
+
|
306
|
+
crlf_is_newline =
|
307
|
+
option_bits == PCRE_NEWLINE_ANY ||
|
308
|
+
option_bits == PCRE_NEWLINE_CRLF ||
|
309
|
+
option_bits == PCRE_NEWLINE_ANYCRLF;
|
310
|
+
|
311
|
+
/* Loop for second and subsequent matches */
|
312
|
+
|
313
|
+
for (;;)
|
314
|
+
{
|
315
|
+
int options = 0; /* Normally no options */
|
316
|
+
int start_offset = ovector[1]; /* Start at end of previous match */
|
317
|
+
|
318
|
+
/* If the previous match was for an empty string, we are finished if we are
|
319
|
+
at the end of the subject. Otherwise, arrange to run another match at the
|
320
|
+
same point to see if a non-empty match can be found. */
|
321
|
+
|
322
|
+
if (ovector[0] == ovector[1])
|
323
|
+
{
|
324
|
+
if (ovector[0] == subject_length) break;
|
325
|
+
options = PCRE_NOTEMPTY_ATSTART | PCRE_ANCHORED;
|
326
|
+
}
|
327
|
+
|
328
|
+
/* Run the next matching operation */
|
329
|
+
|
330
|
+
rc = pcre_exec(
|
331
|
+
re, /* the compiled pattern */
|
332
|
+
NULL, /* no extra data - we didn't study the pattern */
|
333
|
+
subject, /* the subject string */
|
334
|
+
subject_length, /* the length of the subject */
|
335
|
+
start_offset, /* starting offset in the subject */
|
336
|
+
options, /* options */
|
337
|
+
ovector, /* output vector for substring information */
|
338
|
+
OVECCOUNT); /* number of elements in the output vector */
|
339
|
+
|
340
|
+
/* This time, a result of NOMATCH isn't an error. If the value in "options"
|
341
|
+
is zero, it just means we have found all possible matches, so the loop ends.
|
342
|
+
Otherwise, it means we have failed to find a non-empty-string match at a
|
343
|
+
point where there was a previous empty-string match. In this case, we do what
|
344
|
+
Perl does: advance the matching position by one character, and continue. We
|
345
|
+
do this by setting the "end of previous match" offset, because that is picked
|
346
|
+
up at the top of the loop as the point at which to start again.
|
347
|
+
|
348
|
+
There are two complications: (a) When CRLF is a valid newline sequence, and
|
349
|
+
the current position is just before it, advance by an extra byte. (b)
|
350
|
+
Otherwise we must ensure that we skip an entire UTF-8 character if we are in
|
351
|
+
UTF-8 mode. */
|
352
|
+
|
353
|
+
if (rc == PCRE_ERROR_NOMATCH)
|
354
|
+
{
|
355
|
+
if (options == 0) break; /* All matches found */
|
356
|
+
ovector[1] = start_offset + 1; /* Advance one byte */
|
357
|
+
if (crlf_is_newline && /* If CRLF is newline & */
|
358
|
+
start_offset < subject_length - 1 && /* we are at CRLF, */
|
359
|
+
subject[start_offset] == '\er' &&
|
360
|
+
subject[start_offset + 1] == '\en')
|
361
|
+
ovector[1] += 1; /* Advance by one more. */
|
362
|
+
else if (utf8) /* Otherwise, ensure we */
|
363
|
+
{ /* advance a whole UTF-8 */
|
364
|
+
while (ovector[1] < subject_length) /* character. */
|
365
|
+
{
|
366
|
+
if ((subject[ovector[1]] & 0xc0) != 0x80) break;
|
367
|
+
ovector[1] += 1;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
continue; /* Go round the loop again */
|
371
|
+
}
|
372
|
+
|
373
|
+
/* Other matching errors are not recoverable. */
|
374
|
+
|
375
|
+
if (rc < 0)
|
376
|
+
{
|
377
|
+
printf("Matching error %d\en", rc);
|
378
|
+
pcre_free(re); /* Release memory used for the compiled pattern */
|
379
|
+
return 1;
|
380
|
+
}
|
381
|
+
|
382
|
+
/* Match succeded */
|
383
|
+
|
384
|
+
printf("\enMatch succeeded again at offset %d\en", ovector[0]);
|
385
|
+
|
386
|
+
/* The match succeeded, but the output vector wasn't big enough. */
|
387
|
+
|
388
|
+
if (rc == 0)
|
389
|
+
{
|
390
|
+
rc = OVECCOUNT/3;
|
391
|
+
printf("ovector only has room for %d captured substrings\en", rc - 1);
|
392
|
+
}
|
393
|
+
|
394
|
+
/* As before, show substrings stored in the output vector by number, and then
|
395
|
+
also any named substrings. */
|
396
|
+
|
397
|
+
for (i = 0; i < rc; i++)
|
398
|
+
{
|
399
|
+
char *substring_start = subject + ovector[2*i];
|
400
|
+
int substring_length = ovector[2*i+1] - ovector[2*i];
|
401
|
+
printf("%2d: %.*s\en", i, substring_length, substring_start);
|
402
|
+
}
|
403
|
+
|
404
|
+
if (namecount <= 0) printf("No named substrings\en"); else
|
405
|
+
{
|
406
|
+
unsigned char *tabptr = name_table;
|
407
|
+
printf("Named substrings\en");
|
408
|
+
for (i = 0; i < namecount; i++)
|
409
|
+
{
|
410
|
+
int n = (tabptr[0] << 8) | tabptr[1];
|
411
|
+
printf("(%d) %*s: %.*s\en", n, name_entry_size - 3, tabptr + 2,
|
412
|
+
ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]);
|
413
|
+
tabptr += name_entry_size;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
} /* End of loop to find second and subsequent matches */
|
417
|
+
|
418
|
+
printf("\en");
|
419
|
+
pcre_free(re); /* Release memory used for the compiled pattern */
|
420
|
+
return 0;
|
421
|
+
}
|
422
|
+
|
423
|
+
/* End of pcredemo.c */
|
424
|
+
.EE
|