nokogiri 1.14.4-x64-mingw32 → 1.15.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +9 -8
- data/dependencies.yml +6 -6
- data/ext/nokogiri/extconf.rb +66 -22
- data/ext/nokogiri/html4_document.c +1 -2
- data/ext/nokogiri/html4_element_description.c +19 -14
- data/ext/nokogiri/html4_sax_parser_context.c +10 -16
- data/ext/nokogiri/html4_sax_push_parser.c +2 -2
- data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
- data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
- data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
- data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
- data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
- data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
- data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
- data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
- data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
- data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
- data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
- data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
- data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
- data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
- data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
- data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
- data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
- data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
- data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
- data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
- data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
- data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
- data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
- data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
- data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
- data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
- data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
- data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
- data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
- data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
- data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
- data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
- data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
- data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
- data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
- data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
- data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
- data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
- data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
- data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
- data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
- data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
- data/ext/nokogiri/include/libxslt/attributes.h +1 -0
- data/ext/nokogiri/include/libxslt/variables.h +3 -3
- data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
- data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
- data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
- data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
- data/ext/nokogiri/nokogiri.c +46 -24
- data/ext/nokogiri/nokogiri.h +13 -2
- data/ext/nokogiri/xml_attr.c +1 -1
- data/ext/nokogiri/xml_cdata.c +10 -2
- data/ext/nokogiri/xml_comment.c +1 -1
- data/ext/nokogiri/xml_document.c +102 -22
- data/ext/nokogiri/xml_document_fragment.c +1 -1
- data/ext/nokogiri/xml_dtd.c +1 -1
- data/ext/nokogiri/xml_element_content.c +32 -29
- data/ext/nokogiri/xml_element_decl.c +5 -5
- data/ext/nokogiri/xml_encoding_handler.c +12 -4
- data/ext/nokogiri/xml_entity_reference.c +1 -1
- data/ext/nokogiri/xml_namespace.c +11 -12
- data/ext/nokogiri/xml_node.c +7 -7
- data/ext/nokogiri/xml_node_set.c +125 -105
- data/ext/nokogiri/xml_processing_instruction.c +1 -1
- data/ext/nokogiri/xml_reader.c +37 -28
- data/ext/nokogiri/xml_relax_ng.c +65 -78
- data/ext/nokogiri/xml_sax_parser.c +24 -5
- data/ext/nokogiri/xml_sax_parser_context.c +46 -25
- data/ext/nokogiri/xml_sax_push_parser.c +29 -8
- data/ext/nokogiri/xml_schema.c +90 -116
- data/ext/nokogiri/xml_text.c +10 -2
- data/ext/nokogiri/xml_xpath_context.c +156 -83
- data/ext/nokogiri/xslt_stylesheet.c +103 -50
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/css/xpath_visitor.rb +2 -2
- data/lib/nokogiri/extension.rb +1 -1
- data/lib/nokogiri/html4/document_fragment.rb +1 -1
- data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
- data/lib/nokogiri/html5/document_fragment.rb +1 -1
- data/lib/nokogiri/html5/node.rb +5 -0
- data/lib/nokogiri/html5.rb +5 -2
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/xml/attribute_decl.rb +4 -2
- data/lib/nokogiri/xml/document_fragment.rb +1 -1
- data/lib/nokogiri/xml/element_content.rb +10 -2
- data/lib/nokogiri/xml/element_decl.rb +4 -2
- data/lib/nokogiri/xml/entity_decl.rb +4 -2
- data/lib/nokogiri/xml/node/save_options.rb +8 -0
- data/lib/nokogiri/xml/node.rb +22 -13
- data/lib/nokogiri/xml/pp/node.rb +23 -12
- data/lib/nokogiri/xml/sax/document.rb +1 -1
- data/lib/nokogiri/xml/searchable.rb +18 -10
- data/lib/nokogiri/xslt.rb +73 -3
- data/lib/nokogiri.rb +12 -4
- data/lib/xsd/xmlparser/nokogiri.rb +1 -1
- metadata +2 -2
@@ -947,8 +947,8 @@ struct _xmlSchema {
|
|
947
947
|
void *volatiles; /* Obsolete */
|
948
948
|
};
|
949
949
|
|
950
|
-
XMLPUBFUN void
|
951
|
-
XMLPUBFUN void
|
950
|
+
XMLPUBFUN void xmlSchemaFreeType (xmlSchemaTypePtr type);
|
951
|
+
XMLPUBFUN void xmlSchemaFreeWildcard(xmlSchemaWildcardPtr wildcard);
|
952
952
|
|
953
953
|
#ifdef __cplusplus
|
954
954
|
}
|
@@ -69,68 +69,68 @@ typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr;
|
|
69
69
|
/*
|
70
70
|
* Interfaces for parsing.
|
71
71
|
*/
|
72
|
-
XMLPUBFUN xmlSchematronParserCtxtPtr
|
72
|
+
XMLPUBFUN xmlSchematronParserCtxtPtr
|
73
73
|
xmlSchematronNewParserCtxt (const char *URL);
|
74
|
-
XMLPUBFUN xmlSchematronParserCtxtPtr
|
74
|
+
XMLPUBFUN xmlSchematronParserCtxtPtr
|
75
75
|
xmlSchematronNewMemParserCtxt(const char *buffer,
|
76
76
|
int size);
|
77
|
-
XMLPUBFUN xmlSchematronParserCtxtPtr
|
77
|
+
XMLPUBFUN xmlSchematronParserCtxtPtr
|
78
78
|
xmlSchematronNewDocParserCtxt(xmlDocPtr doc);
|
79
|
-
XMLPUBFUN void
|
79
|
+
XMLPUBFUN void
|
80
80
|
xmlSchematronFreeParserCtxt (xmlSchematronParserCtxtPtr ctxt);
|
81
81
|
/*****
|
82
|
-
XMLPUBFUN void
|
82
|
+
XMLPUBFUN void
|
83
83
|
xmlSchematronSetParserErrors(xmlSchematronParserCtxtPtr ctxt,
|
84
84
|
xmlSchematronValidityErrorFunc err,
|
85
85
|
xmlSchematronValidityWarningFunc warn,
|
86
86
|
void *ctx);
|
87
|
-
XMLPUBFUN int
|
87
|
+
XMLPUBFUN int
|
88
88
|
xmlSchematronGetParserErrors(xmlSchematronParserCtxtPtr ctxt,
|
89
89
|
xmlSchematronValidityErrorFunc * err,
|
90
90
|
xmlSchematronValidityWarningFunc * warn,
|
91
91
|
void **ctx);
|
92
|
-
XMLPUBFUN int
|
92
|
+
XMLPUBFUN int
|
93
93
|
xmlSchematronIsValid (xmlSchematronValidCtxtPtr ctxt);
|
94
94
|
*****/
|
95
|
-
XMLPUBFUN xmlSchematronPtr
|
95
|
+
XMLPUBFUN xmlSchematronPtr
|
96
96
|
xmlSchematronParse (xmlSchematronParserCtxtPtr ctxt);
|
97
|
-
XMLPUBFUN void
|
97
|
+
XMLPUBFUN void
|
98
98
|
xmlSchematronFree (xmlSchematronPtr schema);
|
99
99
|
/*
|
100
100
|
* Interfaces for validating
|
101
101
|
*/
|
102
|
-
XMLPUBFUN void
|
102
|
+
XMLPUBFUN void
|
103
103
|
xmlSchematronSetValidStructuredErrors(
|
104
104
|
xmlSchematronValidCtxtPtr ctxt,
|
105
105
|
xmlStructuredErrorFunc serror,
|
106
106
|
void *ctx);
|
107
107
|
/******
|
108
|
-
XMLPUBFUN void
|
108
|
+
XMLPUBFUN void
|
109
109
|
xmlSchematronSetValidErrors (xmlSchematronValidCtxtPtr ctxt,
|
110
110
|
xmlSchematronValidityErrorFunc err,
|
111
111
|
xmlSchematronValidityWarningFunc warn,
|
112
112
|
void *ctx);
|
113
|
-
XMLPUBFUN int
|
113
|
+
XMLPUBFUN int
|
114
114
|
xmlSchematronGetValidErrors (xmlSchematronValidCtxtPtr ctxt,
|
115
115
|
xmlSchematronValidityErrorFunc *err,
|
116
116
|
xmlSchematronValidityWarningFunc *warn,
|
117
117
|
void **ctx);
|
118
|
-
XMLPUBFUN int
|
118
|
+
XMLPUBFUN int
|
119
119
|
xmlSchematronSetValidOptions(xmlSchematronValidCtxtPtr ctxt,
|
120
120
|
int options);
|
121
|
-
XMLPUBFUN int
|
121
|
+
XMLPUBFUN int
|
122
122
|
xmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxtPtr ctxt);
|
123
|
-
XMLPUBFUN int
|
123
|
+
XMLPUBFUN int
|
124
124
|
xmlSchematronValidateOneElement (xmlSchematronValidCtxtPtr ctxt,
|
125
125
|
xmlNodePtr elem);
|
126
126
|
*******/
|
127
127
|
|
128
|
-
XMLPUBFUN xmlSchematronValidCtxtPtr
|
128
|
+
XMLPUBFUN xmlSchematronValidCtxtPtr
|
129
129
|
xmlSchematronNewValidCtxt (xmlSchematronPtr schema,
|
130
130
|
int options);
|
131
|
-
XMLPUBFUN void
|
131
|
+
XMLPUBFUN void
|
132
132
|
xmlSchematronFreeValidCtxt (xmlSchematronValidCtxtPtr ctxt);
|
133
|
-
XMLPUBFUN int
|
133
|
+
XMLPUBFUN int
|
134
134
|
xmlSchematronValidateDoc (xmlSchematronValidCtxtPtr ctxt,
|
135
135
|
xmlDocPtr instance);
|
136
136
|
|
@@ -36,52 +36,55 @@ typedef xmlRMutex *xmlRMutexPtr;
|
|
36
36
|
#ifdef __cplusplus
|
37
37
|
extern "C" {
|
38
38
|
#endif
|
39
|
-
XMLPUBFUN xmlMutexPtr
|
39
|
+
XMLPUBFUN xmlMutexPtr
|
40
40
|
xmlNewMutex (void);
|
41
|
-
XMLPUBFUN void
|
41
|
+
XMLPUBFUN void
|
42
42
|
xmlMutexLock (xmlMutexPtr tok);
|
43
|
-
XMLPUBFUN void
|
43
|
+
XMLPUBFUN void
|
44
44
|
xmlMutexUnlock (xmlMutexPtr tok);
|
45
|
-
XMLPUBFUN void
|
45
|
+
XMLPUBFUN void
|
46
46
|
xmlFreeMutex (xmlMutexPtr tok);
|
47
47
|
|
48
|
-
XMLPUBFUN xmlRMutexPtr
|
48
|
+
XMLPUBFUN xmlRMutexPtr
|
49
49
|
xmlNewRMutex (void);
|
50
|
-
XMLPUBFUN void
|
50
|
+
XMLPUBFUN void
|
51
51
|
xmlRMutexLock (xmlRMutexPtr tok);
|
52
|
-
XMLPUBFUN void
|
52
|
+
XMLPUBFUN void
|
53
53
|
xmlRMutexUnlock (xmlRMutexPtr tok);
|
54
|
-
XMLPUBFUN void
|
54
|
+
XMLPUBFUN void
|
55
55
|
xmlFreeRMutex (xmlRMutexPtr tok);
|
56
56
|
|
57
57
|
/*
|
58
58
|
* Library wide APIs.
|
59
59
|
*/
|
60
60
|
XML_DEPRECATED
|
61
|
-
XMLPUBFUN void
|
61
|
+
XMLPUBFUN void
|
62
62
|
xmlInitThreads (void);
|
63
|
-
XMLPUBFUN void
|
63
|
+
XMLPUBFUN void
|
64
64
|
xmlLockLibrary (void);
|
65
|
-
XMLPUBFUN void
|
65
|
+
XMLPUBFUN void
|
66
66
|
xmlUnlockLibrary(void);
|
67
|
-
|
67
|
+
XML_DEPRECATED
|
68
|
+
XMLPUBFUN int
|
68
69
|
xmlGetThreadId (void);
|
69
|
-
|
70
|
+
XML_DEPRECATED
|
71
|
+
XMLPUBFUN int
|
70
72
|
xmlIsMainThread (void);
|
71
73
|
XML_DEPRECATED
|
72
|
-
XMLPUBFUN void
|
74
|
+
XMLPUBFUN void
|
73
75
|
xmlCleanupThreads(void);
|
74
|
-
|
76
|
+
XML_DEPRECATED
|
77
|
+
XMLPUBFUN xmlGlobalStatePtr
|
75
78
|
xmlGetGlobalState(void);
|
76
79
|
|
77
|
-
|
78
|
-
#
|
79
|
-
|
80
|
-
int
|
80
|
+
/** DOC_DISABLE */
|
81
|
+
#if defined(LIBXML_THREAD_ENABLED) && defined(_WIN32) && \
|
82
|
+
!defined(HAVE_COMPILER_TLS) && defined(LIBXML_STATIC_FOR_DLL)
|
83
|
+
int
|
81
84
|
xmlDllMain(void *hinstDLL, unsigned long fdwReason,
|
82
85
|
void *lpvReserved);
|
83
86
|
#endif
|
84
|
-
|
87
|
+
/** DOC_ENABLE */
|
85
88
|
|
86
89
|
#ifdef __cplusplus
|
87
90
|
}
|