gtksourceview3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +15 -2
- data/ext/gtksourceview3/extconf.rb +7 -2
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +80 -90
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +2 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +9 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +8 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +52 -35
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +2 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +6 -6
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +5 -5
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +9479 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +311 -252
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +26 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +24 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +16 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +22 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +25 -21
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +118 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +19 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +27 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +895 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +465 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +43 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +11 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +42 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +182 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +26 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +140 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +155 -105
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +23 -12
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +213 -150
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +18 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +202 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +11 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +6 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +323 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -1
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -2
- metadata +26 -293
- data/README +0 -29
- data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +0 -96
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
- data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
- data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
- data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
- data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
- data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
- data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
- data/vendor/local/include/libxml2/libxml/dict.h +0 -80
- data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
- data/vendor/local/include/libxml2/libxml/entities.h +0 -150
- data/vendor/local/include/libxml2/libxml/globals.h +0 -502
- data/vendor/local/include/libxml2/libxml/hash.h +0 -233
- data/vendor/local/include/libxml2/libxml/list.h +0 -137
- data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
- data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
- data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
- data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
- data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
- data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
- data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
- data/vendor/local/include/libxml2/libxml/threads.h +0 -84
- data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
- data/vendor/local/include/libxml2/libxml/uri.h +0 -94
- data/vendor/local/include/libxml2/libxml/valid.h +0 -458
- data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
- data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
- data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
- data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
- data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
- data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
- data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
- data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
- data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
- data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
- data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
- data/vendor/local/lib/libxml2.def +0 -1659
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
- data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
- data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
- data/vendor/local/share/aclocal/libxml.m4 +0 -188
- data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
- data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
- data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
- data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
- data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
- data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
- data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +0 -956
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +0 -199
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +0 -137
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +0 -101
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +0 -53
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +0 -32
- data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +0 -20
- data/vendor/local/share/man/man1/xml2-config.1 +0 -30
- data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
- data/vendor/local/share/man/man1/xmllint.1 +0 -427
- data/vendor/local/share/man/man3/libxml.3 +0 -71
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
@@ -1,550 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Summary: XML Path Language implementation
|
3
|
-
* Description: API for the XML Path Language implementation
|
4
|
-
*
|
5
|
-
* XML Path Language implementation
|
6
|
-
* XPath is a language for addressing parts of an XML document,
|
7
|
-
* designed to be used by both XSLT and XPointer
|
8
|
-
* http://www.w3.org/TR/xpath
|
9
|
-
*
|
10
|
-
* Implements
|
11
|
-
* W3C Recommendation 16 November 1999
|
12
|
-
* http://www.w3.org/TR/1999/REC-xpath-19991116
|
13
|
-
*
|
14
|
-
* Copy: See Copyright for the status of this software.
|
15
|
-
*
|
16
|
-
* Author: Daniel Veillard
|
17
|
-
*/
|
18
|
-
|
19
|
-
#ifndef __XML_XPATH_H__
|
20
|
-
#define __XML_XPATH_H__
|
21
|
-
|
22
|
-
#include <libxml/xmlversion.h>
|
23
|
-
|
24
|
-
#ifdef LIBXML_XPATH_ENABLED
|
25
|
-
|
26
|
-
#include <libxml/xmlerror.h>
|
27
|
-
#include <libxml/tree.h>
|
28
|
-
#include <libxml/hash.h>
|
29
|
-
#endif /* LIBXML_XPATH_ENABLED */
|
30
|
-
|
31
|
-
#if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
32
|
-
#ifdef __cplusplus
|
33
|
-
extern "C" {
|
34
|
-
#endif
|
35
|
-
#endif /* LIBXML_XPATH_ENABLED or LIBXML_SCHEMAS_ENABLED */
|
36
|
-
|
37
|
-
#ifdef LIBXML_XPATH_ENABLED
|
38
|
-
|
39
|
-
typedef struct _xmlXPathContext xmlXPathContext;
|
40
|
-
typedef xmlXPathContext *xmlXPathContextPtr;
|
41
|
-
typedef struct _xmlXPathParserContext xmlXPathParserContext;
|
42
|
-
typedef xmlXPathParserContext *xmlXPathParserContextPtr;
|
43
|
-
|
44
|
-
/**
|
45
|
-
* The set of XPath error codes.
|
46
|
-
*/
|
47
|
-
|
48
|
-
typedef enum {
|
49
|
-
XPATH_EXPRESSION_OK = 0,
|
50
|
-
XPATH_NUMBER_ERROR,
|
51
|
-
XPATH_UNFINISHED_LITERAL_ERROR,
|
52
|
-
XPATH_START_LITERAL_ERROR,
|
53
|
-
XPATH_VARIABLE_REF_ERROR,
|
54
|
-
XPATH_UNDEF_VARIABLE_ERROR,
|
55
|
-
XPATH_INVALID_PREDICATE_ERROR,
|
56
|
-
XPATH_EXPR_ERROR,
|
57
|
-
XPATH_UNCLOSED_ERROR,
|
58
|
-
XPATH_UNKNOWN_FUNC_ERROR,
|
59
|
-
XPATH_INVALID_OPERAND,
|
60
|
-
XPATH_INVALID_TYPE,
|
61
|
-
XPATH_INVALID_ARITY,
|
62
|
-
XPATH_INVALID_CTXT_SIZE,
|
63
|
-
XPATH_INVALID_CTXT_POSITION,
|
64
|
-
XPATH_MEMORY_ERROR,
|
65
|
-
XPTR_SYNTAX_ERROR,
|
66
|
-
XPTR_RESOURCE_ERROR,
|
67
|
-
XPTR_SUB_RESOURCE_ERROR,
|
68
|
-
XPATH_UNDEF_PREFIX_ERROR,
|
69
|
-
XPATH_ENCODING_ERROR,
|
70
|
-
XPATH_INVALID_CHAR_ERROR,
|
71
|
-
XPATH_INVALID_CTXT,
|
72
|
-
XPATH_STACK_ERROR,
|
73
|
-
XPATH_FORBID_VARIABLE_ERROR
|
74
|
-
} xmlXPathError;
|
75
|
-
|
76
|
-
/*
|
77
|
-
* A node-set (an unordered collection of nodes without duplicates).
|
78
|
-
*/
|
79
|
-
typedef struct _xmlNodeSet xmlNodeSet;
|
80
|
-
typedef xmlNodeSet *xmlNodeSetPtr;
|
81
|
-
struct _xmlNodeSet {
|
82
|
-
int nodeNr; /* number of nodes in the set */
|
83
|
-
int nodeMax; /* size of the array as allocated */
|
84
|
-
xmlNodePtr *nodeTab; /* array of nodes in no particular order */
|
85
|
-
/* @@ with_ns to check wether namespace nodes should be looked at @@ */
|
86
|
-
};
|
87
|
-
|
88
|
-
/*
|
89
|
-
* An expression is evaluated to yield an object, which
|
90
|
-
* has one of the following four basic types:
|
91
|
-
* - node-set
|
92
|
-
* - boolean
|
93
|
-
* - number
|
94
|
-
* - string
|
95
|
-
*
|
96
|
-
* @@ XPointer will add more types !
|
97
|
-
*/
|
98
|
-
|
99
|
-
typedef enum {
|
100
|
-
XPATH_UNDEFINED = 0,
|
101
|
-
XPATH_NODESET = 1,
|
102
|
-
XPATH_BOOLEAN = 2,
|
103
|
-
XPATH_NUMBER = 3,
|
104
|
-
XPATH_STRING = 4,
|
105
|
-
XPATH_POINT = 5,
|
106
|
-
XPATH_RANGE = 6,
|
107
|
-
XPATH_LOCATIONSET = 7,
|
108
|
-
XPATH_USERS = 8,
|
109
|
-
XPATH_XSLT_TREE = 9 /* An XSLT value tree, non modifiable */
|
110
|
-
} xmlXPathObjectType;
|
111
|
-
|
112
|
-
typedef struct _xmlXPathObject xmlXPathObject;
|
113
|
-
typedef xmlXPathObject *xmlXPathObjectPtr;
|
114
|
-
struct _xmlXPathObject {
|
115
|
-
xmlXPathObjectType type;
|
116
|
-
xmlNodeSetPtr nodesetval;
|
117
|
-
int boolval;
|
118
|
-
double floatval;
|
119
|
-
xmlChar *stringval;
|
120
|
-
void *user;
|
121
|
-
int index;
|
122
|
-
void *user2;
|
123
|
-
int index2;
|
124
|
-
};
|
125
|
-
|
126
|
-
/**
|
127
|
-
* xmlXPathConvertFunc:
|
128
|
-
* @obj: an XPath object
|
129
|
-
* @type: the number of the target type
|
130
|
-
*
|
131
|
-
* A conversion function is associated to a type and used to cast
|
132
|
-
* the new type to primitive values.
|
133
|
-
*
|
134
|
-
* Returns -1 in case of error, 0 otherwise
|
135
|
-
*/
|
136
|
-
typedef int (*xmlXPathConvertFunc) (xmlXPathObjectPtr obj, int type);
|
137
|
-
|
138
|
-
/*
|
139
|
-
* Extra type: a name and a conversion function.
|
140
|
-
*/
|
141
|
-
|
142
|
-
typedef struct _xmlXPathType xmlXPathType;
|
143
|
-
typedef xmlXPathType *xmlXPathTypePtr;
|
144
|
-
struct _xmlXPathType {
|
145
|
-
const xmlChar *name; /* the type name */
|
146
|
-
xmlXPathConvertFunc func; /* the conversion function */
|
147
|
-
};
|
148
|
-
|
149
|
-
/*
|
150
|
-
* Extra variable: a name and a value.
|
151
|
-
*/
|
152
|
-
|
153
|
-
typedef struct _xmlXPathVariable xmlXPathVariable;
|
154
|
-
typedef xmlXPathVariable *xmlXPathVariablePtr;
|
155
|
-
struct _xmlXPathVariable {
|
156
|
-
const xmlChar *name; /* the variable name */
|
157
|
-
xmlXPathObjectPtr value; /* the value */
|
158
|
-
};
|
159
|
-
|
160
|
-
/**
|
161
|
-
* xmlXPathEvalFunc:
|
162
|
-
* @ctxt: an XPath parser context
|
163
|
-
* @nargs: the number of arguments passed to the function
|
164
|
-
*
|
165
|
-
* An XPath evaluation function, the parameters are on the XPath context stack.
|
166
|
-
*/
|
167
|
-
|
168
|
-
typedef void (*xmlXPathEvalFunc)(xmlXPathParserContextPtr ctxt,
|
169
|
-
int nargs);
|
170
|
-
|
171
|
-
/*
|
172
|
-
* Extra function: a name and a evaluation function.
|
173
|
-
*/
|
174
|
-
|
175
|
-
typedef struct _xmlXPathFunct xmlXPathFunct;
|
176
|
-
typedef xmlXPathFunct *xmlXPathFuncPtr;
|
177
|
-
struct _xmlXPathFunct {
|
178
|
-
const xmlChar *name; /* the function name */
|
179
|
-
xmlXPathEvalFunc func; /* the evaluation function */
|
180
|
-
};
|
181
|
-
|
182
|
-
/**
|
183
|
-
* xmlXPathAxisFunc:
|
184
|
-
* @ctxt: the XPath interpreter context
|
185
|
-
* @cur: the previous node being explored on that axis
|
186
|
-
*
|
187
|
-
* An axis traversal function. To traverse an axis, the engine calls
|
188
|
-
* the first time with cur == NULL and repeat until the function returns
|
189
|
-
* NULL indicating the end of the axis traversal.
|
190
|
-
*
|
191
|
-
* Returns the next node in that axis or NULL if at the end of the axis.
|
192
|
-
*/
|
193
|
-
|
194
|
-
typedef xmlXPathObjectPtr (*xmlXPathAxisFunc) (xmlXPathParserContextPtr ctxt,
|
195
|
-
xmlXPathObjectPtr cur);
|
196
|
-
|
197
|
-
/*
|
198
|
-
* Extra axis: a name and an axis function.
|
199
|
-
*/
|
200
|
-
|
201
|
-
typedef struct _xmlXPathAxis xmlXPathAxis;
|
202
|
-
typedef xmlXPathAxis *xmlXPathAxisPtr;
|
203
|
-
struct _xmlXPathAxis {
|
204
|
-
const xmlChar *name; /* the axis name */
|
205
|
-
xmlXPathAxisFunc func; /* the search function */
|
206
|
-
};
|
207
|
-
|
208
|
-
/**
|
209
|
-
* xmlXPathFunction:
|
210
|
-
* @ctxt: the XPath interprestation context
|
211
|
-
* @nargs: the number of arguments
|
212
|
-
*
|
213
|
-
* An XPath function.
|
214
|
-
* The arguments (if any) are popped out from the context stack
|
215
|
-
* and the result is pushed on the stack.
|
216
|
-
*/
|
217
|
-
|
218
|
-
typedef void (*xmlXPathFunction) (xmlXPathParserContextPtr ctxt, int nargs);
|
219
|
-
|
220
|
-
/*
|
221
|
-
* Function and Variable Lookup.
|
222
|
-
*/
|
223
|
-
|
224
|
-
/**
|
225
|
-
* xmlXPathVariableLookupFunc:
|
226
|
-
* @ctxt: an XPath context
|
227
|
-
* @name: name of the variable
|
228
|
-
* @ns_uri: the namespace name hosting this variable
|
229
|
-
*
|
230
|
-
* Prototype for callbacks used to plug variable lookup in the XPath
|
231
|
-
* engine.
|
232
|
-
*
|
233
|
-
* Returns the XPath object value or NULL if not found.
|
234
|
-
*/
|
235
|
-
typedef xmlXPathObjectPtr (*xmlXPathVariableLookupFunc) (void *ctxt,
|
236
|
-
const xmlChar *name,
|
237
|
-
const xmlChar *ns_uri);
|
238
|
-
|
239
|
-
/**
|
240
|
-
* xmlXPathFuncLookupFunc:
|
241
|
-
* @ctxt: an XPath context
|
242
|
-
* @name: name of the function
|
243
|
-
* @ns_uri: the namespace name hosting this function
|
244
|
-
*
|
245
|
-
* Prototype for callbacks used to plug function lookup in the XPath
|
246
|
-
* engine.
|
247
|
-
*
|
248
|
-
* Returns the XPath function or NULL if not found.
|
249
|
-
*/
|
250
|
-
typedef xmlXPathFunction (*xmlXPathFuncLookupFunc) (void *ctxt,
|
251
|
-
const xmlChar *name,
|
252
|
-
const xmlChar *ns_uri);
|
253
|
-
|
254
|
-
/**
|
255
|
-
* xmlXPathFlags:
|
256
|
-
* Flags for XPath engine compilation and runtime
|
257
|
-
*/
|
258
|
-
/**
|
259
|
-
* XML_XPATH_CHECKNS:
|
260
|
-
*
|
261
|
-
* check namespaces at compilation
|
262
|
-
*/
|
263
|
-
#define XML_XPATH_CHECKNS (1<<0)
|
264
|
-
/**
|
265
|
-
* XML_XPATH_NOVAR:
|
266
|
-
*
|
267
|
-
* forbid variables in expression
|
268
|
-
*/
|
269
|
-
#define XML_XPATH_NOVAR (1<<1)
|
270
|
-
|
271
|
-
/**
|
272
|
-
* xmlXPathContext:
|
273
|
-
*
|
274
|
-
* Expression evaluation occurs with respect to a context.
|
275
|
-
* he context consists of:
|
276
|
-
* - a node (the context node)
|
277
|
-
* - a node list (the context node list)
|
278
|
-
* - a set of variable bindings
|
279
|
-
* - a function library
|
280
|
-
* - the set of namespace declarations in scope for the expression
|
281
|
-
* Following the switch to hash tables, this need to be trimmed up at
|
282
|
-
* the next binary incompatible release.
|
283
|
-
* The node may be modified when the context is passed to libxml2
|
284
|
-
* for an XPath evaluation so you may need to initialize it again
|
285
|
-
* before the next call.
|
286
|
-
*/
|
287
|
-
|
288
|
-
struct _xmlXPathContext {
|
289
|
-
xmlDocPtr doc; /* The current document */
|
290
|
-
xmlNodePtr node; /* The current node */
|
291
|
-
|
292
|
-
int nb_variables_unused; /* unused (hash table) */
|
293
|
-
int max_variables_unused; /* unused (hash table) */
|
294
|
-
xmlHashTablePtr varHash; /* Hash table of defined variables */
|
295
|
-
|
296
|
-
int nb_types; /* number of defined types */
|
297
|
-
int max_types; /* max number of types */
|
298
|
-
xmlXPathTypePtr types; /* Array of defined types */
|
299
|
-
|
300
|
-
int nb_funcs_unused; /* unused (hash table) */
|
301
|
-
int max_funcs_unused; /* unused (hash table) */
|
302
|
-
xmlHashTablePtr funcHash; /* Hash table of defined funcs */
|
303
|
-
|
304
|
-
int nb_axis; /* number of defined axis */
|
305
|
-
int max_axis; /* max number of axis */
|
306
|
-
xmlXPathAxisPtr axis; /* Array of defined axis */
|
307
|
-
|
308
|
-
/* the namespace nodes of the context node */
|
309
|
-
xmlNsPtr *namespaces; /* Array of namespaces */
|
310
|
-
int nsNr; /* number of namespace in scope */
|
311
|
-
void *user; /* function to free */
|
312
|
-
|
313
|
-
/* extra variables */
|
314
|
-
int contextSize; /* the context size */
|
315
|
-
int proximityPosition; /* the proximity position */
|
316
|
-
|
317
|
-
/* extra stuff for XPointer */
|
318
|
-
int xptr; /* is this an XPointer context? */
|
319
|
-
xmlNodePtr here; /* for here() */
|
320
|
-
xmlNodePtr origin; /* for origin() */
|
321
|
-
|
322
|
-
/* the set of namespace declarations in scope for the expression */
|
323
|
-
xmlHashTablePtr nsHash; /* The namespaces hash table */
|
324
|
-
xmlXPathVariableLookupFunc varLookupFunc;/* variable lookup func */
|
325
|
-
void *varLookupData; /* variable lookup data */
|
326
|
-
|
327
|
-
/* Possibility to link in an extra item */
|
328
|
-
void *extra; /* needed for XSLT */
|
329
|
-
|
330
|
-
/* The function name and URI when calling a function */
|
331
|
-
const xmlChar *function;
|
332
|
-
const xmlChar *functionURI;
|
333
|
-
|
334
|
-
/* function lookup function and data */
|
335
|
-
xmlXPathFuncLookupFunc funcLookupFunc;/* function lookup func */
|
336
|
-
void *funcLookupData; /* function lookup data */
|
337
|
-
|
338
|
-
/* temporary namespace lists kept for walking the namespace axis */
|
339
|
-
xmlNsPtr *tmpNsList; /* Array of namespaces */
|
340
|
-
int tmpNsNr; /* number of namespaces in scope */
|
341
|
-
|
342
|
-
/* error reporting mechanism */
|
343
|
-
void *userData; /* user specific data block */
|
344
|
-
xmlStructuredErrorFunc error; /* the callback in case of errors */
|
345
|
-
xmlError lastError; /* the last error */
|
346
|
-
xmlNodePtr debugNode; /* the source node XSLT */
|
347
|
-
|
348
|
-
/* dictionary */
|
349
|
-
xmlDictPtr dict; /* dictionary if any */
|
350
|
-
|
351
|
-
int flags; /* flags to control compilation */
|
352
|
-
|
353
|
-
/* Cache for reusal of XPath objects */
|
354
|
-
void *cache;
|
355
|
-
};
|
356
|
-
|
357
|
-
/*
|
358
|
-
* The structure of a compiled expression form is not public.
|
359
|
-
*/
|
360
|
-
|
361
|
-
typedef struct _xmlXPathCompExpr xmlXPathCompExpr;
|
362
|
-
typedef xmlXPathCompExpr *xmlXPathCompExprPtr;
|
363
|
-
|
364
|
-
/**
|
365
|
-
* xmlXPathParserContext:
|
366
|
-
*
|
367
|
-
* An XPath parser context. It contains pure parsing informations,
|
368
|
-
* an xmlXPathContext, and the stack of objects.
|
369
|
-
*/
|
370
|
-
struct _xmlXPathParserContext {
|
371
|
-
const xmlChar *cur; /* the current char being parsed */
|
372
|
-
const xmlChar *base; /* the full expression */
|
373
|
-
|
374
|
-
int error; /* error code */
|
375
|
-
|
376
|
-
xmlXPathContextPtr context; /* the evaluation context */
|
377
|
-
xmlXPathObjectPtr value; /* the current value */
|
378
|
-
int valueNr; /* number of values stacked */
|
379
|
-
int valueMax; /* max number of values stacked */
|
380
|
-
xmlXPathObjectPtr *valueTab; /* stack of values */
|
381
|
-
|
382
|
-
xmlXPathCompExprPtr comp; /* the precompiled expression */
|
383
|
-
int xptr; /* it this an XPointer expression */
|
384
|
-
xmlNodePtr ancestor; /* used for walking preceding axis */
|
385
|
-
|
386
|
-
int valueFrame; /* used to limit Pop on the stack */
|
387
|
-
};
|
388
|
-
|
389
|
-
/************************************************************************
|
390
|
-
* *
|
391
|
-
* Public API *
|
392
|
-
* *
|
393
|
-
************************************************************************/
|
394
|
-
|
395
|
-
/**
|
396
|
-
* Objects and Nodesets handling
|
397
|
-
*/
|
398
|
-
|
399
|
-
XMLPUBVAR double xmlXPathNAN;
|
400
|
-
XMLPUBVAR double xmlXPathPINF;
|
401
|
-
XMLPUBVAR double xmlXPathNINF;
|
402
|
-
|
403
|
-
/* These macros may later turn into functions */
|
404
|
-
/**
|
405
|
-
* xmlXPathNodeSetGetLength:
|
406
|
-
* @ns: a node-set
|
407
|
-
*
|
408
|
-
* Implement a functionality similar to the DOM NodeList.length.
|
409
|
-
*
|
410
|
-
* Returns the number of nodes in the node-set.
|
411
|
-
*/
|
412
|
-
#define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
|
413
|
-
/**
|
414
|
-
* xmlXPathNodeSetItem:
|
415
|
-
* @ns: a node-set
|
416
|
-
* @index: index of a node in the set
|
417
|
-
*
|
418
|
-
* Implements a functionality similar to the DOM NodeList.item().
|
419
|
-
*
|
420
|
-
* Returns the xmlNodePtr at the given @index in @ns or NULL if
|
421
|
-
* @index is out of range (0 to length-1)
|
422
|
-
*/
|
423
|
-
#define xmlXPathNodeSetItem(ns, index) \
|
424
|
-
((((ns) != NULL) && \
|
425
|
-
((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
|
426
|
-
(ns)->nodeTab[(index)] \
|
427
|
-
: NULL)
|
428
|
-
/**
|
429
|
-
* xmlXPathNodeSetIsEmpty:
|
430
|
-
* @ns: a node-set
|
431
|
-
*
|
432
|
-
* Checks whether @ns is empty or not.
|
433
|
-
*
|
434
|
-
* Returns %TRUE if @ns is an empty node-set.
|
435
|
-
*/
|
436
|
-
#define xmlXPathNodeSetIsEmpty(ns) \
|
437
|
-
(((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
|
438
|
-
|
439
|
-
|
440
|
-
XMLPUBFUN void XMLCALL
|
441
|
-
xmlXPathFreeObject (xmlXPathObjectPtr obj);
|
442
|
-
XMLPUBFUN xmlNodeSetPtr XMLCALL
|
443
|
-
xmlXPathNodeSetCreate (xmlNodePtr val);
|
444
|
-
XMLPUBFUN void XMLCALL
|
445
|
-
xmlXPathFreeNodeSetList (xmlXPathObjectPtr obj);
|
446
|
-
XMLPUBFUN void XMLCALL
|
447
|
-
xmlXPathFreeNodeSet (xmlNodeSetPtr obj);
|
448
|
-
XMLPUBFUN xmlXPathObjectPtr XMLCALL
|
449
|
-
xmlXPathObjectCopy (xmlXPathObjectPtr val);
|
450
|
-
XMLPUBFUN int XMLCALL
|
451
|
-
xmlXPathCmpNodes (xmlNodePtr node1,
|
452
|
-
xmlNodePtr node2);
|
453
|
-
/**
|
454
|
-
* Conversion functions to basic types.
|
455
|
-
*/
|
456
|
-
XMLPUBFUN int XMLCALL
|
457
|
-
xmlXPathCastNumberToBoolean (double val);
|
458
|
-
XMLPUBFUN int XMLCALL
|
459
|
-
xmlXPathCastStringToBoolean (const xmlChar * val);
|
460
|
-
XMLPUBFUN int XMLCALL
|
461
|
-
xmlXPathCastNodeSetToBoolean(xmlNodeSetPtr ns);
|
462
|
-
XMLPUBFUN int XMLCALL
|
463
|
-
xmlXPathCastToBoolean (xmlXPathObjectPtr val);
|
464
|
-
|
465
|
-
XMLPUBFUN double XMLCALL
|
466
|
-
xmlXPathCastBooleanToNumber (int val);
|
467
|
-
XMLPUBFUN double XMLCALL
|
468
|
-
xmlXPathCastStringToNumber (const xmlChar * val);
|
469
|
-
XMLPUBFUN double XMLCALL
|
470
|
-
xmlXPathCastNodeToNumber (xmlNodePtr node);
|
471
|
-
XMLPUBFUN double XMLCALL
|
472
|
-
xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns);
|
473
|
-
XMLPUBFUN double XMLCALL
|
474
|
-
xmlXPathCastToNumber (xmlXPathObjectPtr val);
|
475
|
-
|
476
|
-
XMLPUBFUN xmlChar * XMLCALL
|
477
|
-
xmlXPathCastBooleanToString (int val);
|
478
|
-
XMLPUBFUN xmlChar * XMLCALL
|
479
|
-
xmlXPathCastNumberToString (double val);
|
480
|
-
XMLPUBFUN xmlChar * XMLCALL
|
481
|
-
xmlXPathCastNodeToString (xmlNodePtr node);
|
482
|
-
XMLPUBFUN xmlChar * XMLCALL
|
483
|
-
xmlXPathCastNodeSetToString (xmlNodeSetPtr ns);
|
484
|
-
XMLPUBFUN xmlChar * XMLCALL
|
485
|
-
xmlXPathCastToString (xmlXPathObjectPtr val);
|
486
|
-
|
487
|
-
XMLPUBFUN xmlXPathObjectPtr XMLCALL
|
488
|
-
xmlXPathConvertBoolean (xmlXPathObjectPtr val);
|
489
|
-
XMLPUBFUN xmlXPathObjectPtr XMLCALL
|
490
|
-
xmlXPathConvertNumber (xmlXPathObjectPtr val);
|
491
|
-
XMLPUBFUN xmlXPathObjectPtr XMLCALL
|
492
|
-
xmlXPathConvertString (xmlXPathObjectPtr val);
|
493
|
-
|
494
|
-
/**
|
495
|
-
* Context handling.
|
496
|
-
*/
|
497
|
-
XMLPUBFUN xmlXPathContextPtr XMLCALL
|
498
|
-
xmlXPathNewContext (xmlDocPtr doc);
|
499
|
-
XMLPUBFUN void XMLCALL
|
500
|
-
xmlXPathFreeContext (xmlXPathContextPtr ctxt);
|
501
|
-
XMLPUBFUN int XMLCALL
|
502
|
-
xmlXPathContextSetCache(xmlXPathContextPtr ctxt,
|
503
|
-
int active,
|
504
|
-
int value,
|
505
|
-
int options);
|
506
|
-
/**
|
507
|
-
* Evaluation functions.
|
508
|
-
*/
|
509
|
-
XMLPUBFUN long XMLCALL
|
510
|
-
xmlXPathOrderDocElems (xmlDocPtr doc);
|
511
|
-
XMLPUBFUN xmlXPathObjectPtr XMLCALL
|
512
|
-
xmlXPathEval (const xmlChar *str,
|
513
|
-
xmlXPathContextPtr ctx);
|
514
|
-
XMLPUBFUN xmlXPathObjectPtr XMLCALL
|
515
|
-
xmlXPathEvalExpression (const xmlChar *str,
|
516
|
-
xmlXPathContextPtr ctxt);
|
517
|
-
XMLPUBFUN int XMLCALL
|
518
|
-
xmlXPathEvalPredicate (xmlXPathContextPtr ctxt,
|
519
|
-
xmlXPathObjectPtr res);
|
520
|
-
/**
|
521
|
-
* Separate compilation/evaluation entry points.
|
522
|
-
*/
|
523
|
-
XMLPUBFUN xmlXPathCompExprPtr XMLCALL
|
524
|
-
xmlXPathCompile (const xmlChar *str);
|
525
|
-
XMLPUBFUN xmlXPathCompExprPtr XMLCALL
|
526
|
-
xmlXPathCtxtCompile (xmlXPathContextPtr ctxt,
|
527
|
-
const xmlChar *str);
|
528
|
-
XMLPUBFUN xmlXPathObjectPtr XMLCALL
|
529
|
-
xmlXPathCompiledEval (xmlXPathCompExprPtr comp,
|
530
|
-
xmlXPathContextPtr ctx);
|
531
|
-
XMLPUBFUN int XMLCALL
|
532
|
-
xmlXPathCompiledEvalToBoolean(xmlXPathCompExprPtr comp,
|
533
|
-
xmlXPathContextPtr ctxt);
|
534
|
-
XMLPUBFUN void XMLCALL
|
535
|
-
xmlXPathFreeCompExpr (xmlXPathCompExprPtr comp);
|
536
|
-
#endif /* LIBXML_XPATH_ENABLED */
|
537
|
-
#if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
538
|
-
XMLPUBFUN void XMLCALL
|
539
|
-
xmlXPathInit (void);
|
540
|
-
XMLPUBFUN int XMLCALL
|
541
|
-
xmlXPathIsNaN (double val);
|
542
|
-
XMLPUBFUN int XMLCALL
|
543
|
-
xmlXPathIsInf (double val);
|
544
|
-
|
545
|
-
#ifdef __cplusplus
|
546
|
-
}
|
547
|
-
#endif
|
548
|
-
|
549
|
-
#endif /* LIBXML_XPATH_ENABLED or LIBXML_SCHEMAS_ENABLED*/
|
550
|
-
#endif /* ! __XML_XPATH_H__ */
|