@img/sharp-libvips-dev 1.2.2 → 1.2.4-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/archive.h +2 -2
- package/include/archive_entry.h +1 -1
- package/include/expat.h +39 -25
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/harfbuzz/hb-ot-layout.h +6 -0
- package/include/harfbuzz/hb-script-list.h +1 -1
- package/include/harfbuzz/hb-subset.h +5 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/jconfig.h +37 -14
- package/include/jerror.h +47 -42
- package/include/jmorecfg.h +21 -18
- package/include/jpeglib.h +216 -132
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/libxml2/libxml/HTMLparser.h +159 -101
- package/include/libxml2/libxml/HTMLtree.h +49 -74
- package/include/libxml2/libxml/SAX.h +8 -5
- package/include/libxml2/libxml/SAX2.h +18 -15
- package/include/libxml2/libxml/c14n.h +30 -29
- package/include/libxml2/libxml/catalog.h +47 -22
- package/include/libxml2/libxml/chvalid.h +52 -64
- package/include/libxml2/libxml/debugXML.h +18 -15
- package/include/libxml2/libxml/dict.h +22 -19
- package/include/libxml2/libxml/encoding.h +144 -111
- package/include/libxml2/libxml/entities.h +95 -75
- package/include/libxml2/libxml/globals.h +7 -4
- package/include/libxml2/libxml/hash.h +61 -64
- package/include/libxml2/libxml/list.h +59 -51
- package/include/libxml2/libxml/nanoftp.h +7 -4
- package/include/libxml2/libxml/nanohttp.h +10 -7
- package/include/libxml2/libxml/parser.h +1091 -563
- package/include/libxml2/libxml/parserInternals.h +167 -214
- package/include/libxml2/libxml/pattern.h +29 -31
- package/include/libxml2/libxml/relaxng.h +59 -58
- package/include/libxml2/libxml/schemasInternals.h +114 -268
- package/include/libxml2/libxml/schematron.h +59 -51
- package/include/libxml2/libxml/threads.h +19 -20
- package/include/libxml2/libxml/tree.h +873 -623
- package/include/libxml2/libxml/uri.h +21 -22
- package/include/libxml2/libxml/valid.h +169 -199
- package/include/libxml2/libxml/xinclude.h +24 -43
- package/include/libxml2/libxml/xlink.h +55 -51
- package/include/libxml2/libxml/xmlIO.h +127 -145
- package/include/libxml2/libxml/xmlautomata.h +66 -65
- package/include/libxml2/libxml/xmlerror.h +197 -94
- package/include/libxml2/libxml/xmlexports.h +20 -18
- package/include/libxml2/libxml/xmlmemory.h +44 -29
- package/include/libxml2/libxml/xmlmodule.h +14 -15
- package/include/libxml2/libxml/xmlreader.h +137 -131
- package/include/libxml2/libxml/xmlregexp.h +28 -31
- package/include/libxml2/libxml/xmlsave.h +81 -36
- package/include/libxml2/libxml/xmlschemas.h +61 -67
- package/include/libxml2/libxml/xmlschemastypes.h +60 -54
- package/include/libxml2/libxml/xmlstring.h +8 -9
- package/include/libxml2/libxml/xmlunicode.h +6 -3
- package/include/libxml2/libxml/xmlversion.h +44 -121
- package/include/libxml2/libxml/xmlwriter.h +97 -97
- package/include/libxml2/libxml/xpath.h +235 -232
- package/include/libxml2/libxml/xpathInternals.h +247 -277
- package/include/libxml2/libxml/xpointer.h +21 -17
- package/include/tiff.h +1 -0
- package/include/tiffconf.h +1 -1
- package/include/tiffio.h +23 -5
- package/include/tiffvers.h +4 -4
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +9 -9
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief pattern expression handling
|
|
5
|
+
*
|
|
6
|
+
* allows to compile and test pattern expressions for nodes
|
|
4
7
|
* either in a tree or based on a parser state.
|
|
5
8
|
*
|
|
6
|
-
*
|
|
9
|
+
* @copyright See Copyright for the status of this software.
|
|
7
10
|
*
|
|
8
|
-
*
|
|
11
|
+
* @author Daniel Veillard
|
|
9
12
|
*/
|
|
10
13
|
|
|
11
14
|
#ifndef __XML_PATTERN_H__
|
|
@@ -22,19 +25,14 @@ extern "C" {
|
|
|
22
25
|
#endif
|
|
23
26
|
|
|
24
27
|
/**
|
|
25
|
-
* xmlPattern:
|
|
26
|
-
*
|
|
27
28
|
* A compiled (XPath based) pattern to select nodes
|
|
28
29
|
*/
|
|
29
30
|
typedef struct _xmlPattern xmlPattern;
|
|
30
31
|
typedef xmlPattern *xmlPatternPtr;
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* This is the set of options affecting the behaviour of pattern
|
|
36
|
-
* matching with this module
|
|
37
|
-
*
|
|
34
|
+
* Internal type. This is the set of options affecting the behaviour
|
|
35
|
+
* of pattern matching with this module.
|
|
38
36
|
*/
|
|
39
37
|
typedef enum {
|
|
40
38
|
XML_PATTERN_DEFAULT = 0, /* simple pattern match */
|
|
@@ -44,12 +42,12 @@ typedef enum {
|
|
|
44
42
|
} xmlPatternFlags;
|
|
45
43
|
|
|
46
44
|
XMLPUBFUN void
|
|
47
|
-
xmlFreePattern (
|
|
45
|
+
xmlFreePattern (xmlPattern *comp);
|
|
48
46
|
|
|
49
47
|
XMLPUBFUN void
|
|
50
|
-
xmlFreePatternList (
|
|
48
|
+
xmlFreePatternList (xmlPattern *comp);
|
|
51
49
|
|
|
52
|
-
XMLPUBFUN
|
|
50
|
+
XMLPUBFUN xmlPattern *
|
|
53
51
|
xmlPatterncompile (const xmlChar *pattern,
|
|
54
52
|
xmlDict *dict,
|
|
55
53
|
int flags,
|
|
@@ -59,44 +57,44 @@ XMLPUBFUN int
|
|
|
59
57
|
xmlDict *dict,
|
|
60
58
|
int flags,
|
|
61
59
|
const xmlChar **namespaces,
|
|
62
|
-
|
|
60
|
+
xmlPattern **patternOut);
|
|
63
61
|
XMLPUBFUN int
|
|
64
|
-
xmlPatternMatch (
|
|
65
|
-
|
|
62
|
+
xmlPatternMatch (xmlPattern *comp,
|
|
63
|
+
xmlNode *node);
|
|
66
64
|
|
|
67
|
-
|
|
65
|
+
/** State object for streaming interface */
|
|
68
66
|
typedef struct _xmlStreamCtxt xmlStreamCtxt;
|
|
69
67
|
typedef xmlStreamCtxt *xmlStreamCtxtPtr;
|
|
70
68
|
|
|
71
69
|
XMLPUBFUN int
|
|
72
|
-
xmlPatternStreamable (
|
|
70
|
+
xmlPatternStreamable (xmlPattern *comp);
|
|
73
71
|
XMLPUBFUN int
|
|
74
|
-
xmlPatternMaxDepth (
|
|
72
|
+
xmlPatternMaxDepth (xmlPattern *comp);
|
|
75
73
|
XMLPUBFUN int
|
|
76
|
-
xmlPatternMinDepth (
|
|
74
|
+
xmlPatternMinDepth (xmlPattern *comp);
|
|
77
75
|
XMLPUBFUN int
|
|
78
|
-
xmlPatternFromRoot (
|
|
79
|
-
XMLPUBFUN
|
|
80
|
-
xmlPatternGetStreamCtxt (
|
|
76
|
+
xmlPatternFromRoot (xmlPattern *comp);
|
|
77
|
+
XMLPUBFUN xmlStreamCtxt *
|
|
78
|
+
xmlPatternGetStreamCtxt (xmlPattern *comp);
|
|
81
79
|
XMLPUBFUN void
|
|
82
|
-
xmlFreeStreamCtxt (
|
|
80
|
+
xmlFreeStreamCtxt (xmlStreamCtxt *stream);
|
|
83
81
|
XMLPUBFUN int
|
|
84
|
-
xmlStreamPushNode (
|
|
82
|
+
xmlStreamPushNode (xmlStreamCtxt *stream,
|
|
85
83
|
const xmlChar *name,
|
|
86
84
|
const xmlChar *ns,
|
|
87
85
|
int nodeType);
|
|
88
86
|
XMLPUBFUN int
|
|
89
|
-
xmlStreamPush (
|
|
87
|
+
xmlStreamPush (xmlStreamCtxt *stream,
|
|
90
88
|
const xmlChar *name,
|
|
91
89
|
const xmlChar *ns);
|
|
92
90
|
XMLPUBFUN int
|
|
93
|
-
xmlStreamPushAttr (
|
|
91
|
+
xmlStreamPushAttr (xmlStreamCtxt *stream,
|
|
94
92
|
const xmlChar *name,
|
|
95
93
|
const xmlChar *ns);
|
|
96
94
|
XMLPUBFUN int
|
|
97
|
-
xmlStreamPop (
|
|
95
|
+
xmlStreamPop (xmlStreamCtxt *stream);
|
|
98
96
|
XMLPUBFUN int
|
|
99
|
-
xmlStreamWantsAnyNode (
|
|
97
|
+
xmlStreamWantsAnyNode (xmlStreamCtxt *stream);
|
|
100
98
|
#ifdef __cplusplus
|
|
101
99
|
}
|
|
102
100
|
#endif
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief implementation of the Relax-NG validation
|
|
5
|
+
*
|
|
6
|
+
* implementation of the Relax-NG validation
|
|
4
7
|
*
|
|
5
|
-
*
|
|
8
|
+
* @copyright See Copyright for the status of this software.
|
|
6
9
|
*
|
|
7
|
-
*
|
|
10
|
+
* @author Daniel Veillard
|
|
8
11
|
*/
|
|
9
12
|
|
|
10
13
|
#ifndef __XML_RELAX_NG__
|
|
@@ -22,46 +25,42 @@
|
|
|
22
25
|
extern "C" {
|
|
23
26
|
#endif
|
|
24
27
|
|
|
28
|
+
/** RelaxNG schema */
|
|
25
29
|
typedef struct _xmlRelaxNG xmlRelaxNG;
|
|
26
30
|
typedef xmlRelaxNG *xmlRelaxNGPtr;
|
|
27
31
|
|
|
28
32
|
|
|
29
33
|
/**
|
|
30
|
-
* xmlRelaxNGValidityErrorFunc:
|
|
31
|
-
* @ctx: the validation context
|
|
32
|
-
* @msg: the message
|
|
33
|
-
* @...: extra arguments
|
|
34
|
-
*
|
|
35
34
|
* Signature of an error callback from a Relax-NG validation
|
|
35
|
+
*
|
|
36
|
+
* @param ctx the validation context
|
|
37
|
+
* @param msg the message
|
|
38
|
+
* @param ... extra arguments
|
|
36
39
|
*/
|
|
37
40
|
typedef void (*xmlRelaxNGValidityErrorFunc) (void *ctx,
|
|
38
41
|
const char *msg,
|
|
39
42
|
...) LIBXML_ATTR_FORMAT(2,3);
|
|
40
43
|
|
|
41
44
|
/**
|
|
42
|
-
* xmlRelaxNGValidityWarningFunc:
|
|
43
|
-
* @ctx: the validation context
|
|
44
|
-
* @msg: the message
|
|
45
|
-
* @...: extra arguments
|
|
46
|
-
*
|
|
47
45
|
* Signature of a warning callback from a Relax-NG validation
|
|
46
|
+
*
|
|
47
|
+
* @param ctx the validation context
|
|
48
|
+
* @param msg the message
|
|
49
|
+
* @param ... extra arguments
|
|
48
50
|
*/
|
|
49
51
|
typedef void (*xmlRelaxNGValidityWarningFunc) (void *ctx,
|
|
50
52
|
const char *msg,
|
|
51
53
|
...) LIBXML_ATTR_FORMAT(2,3);
|
|
52
54
|
|
|
53
|
-
/**
|
|
54
|
-
* A schemas validation context
|
|
55
|
-
*/
|
|
55
|
+
/** RelaxNG parser context */
|
|
56
56
|
typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt;
|
|
57
57
|
typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr;
|
|
58
58
|
|
|
59
|
+
/** RelaxNG validation context */
|
|
59
60
|
typedef struct _xmlRelaxNGValidCtxt xmlRelaxNGValidCtxt;
|
|
60
61
|
typedef xmlRelaxNGValidCtxt *xmlRelaxNGValidCtxtPtr;
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
* xmlRelaxNGValidErr:
|
|
64
|
-
*
|
|
63
|
+
/**
|
|
65
64
|
* List of possible Relax NG validation errors
|
|
66
65
|
*/
|
|
67
66
|
typedef enum {
|
|
@@ -107,9 +106,7 @@ typedef enum {
|
|
|
107
106
|
XML_RELAXNG_ERR_TEXTWRONG
|
|
108
107
|
} xmlRelaxNGValidErr;
|
|
109
108
|
|
|
110
|
-
|
|
111
|
-
* xmlRelaxNGParserFlags:
|
|
112
|
-
*
|
|
109
|
+
/**
|
|
113
110
|
* List of possible Relax NG Parser flags
|
|
114
111
|
*/
|
|
115
112
|
typedef enum {
|
|
@@ -127,93 +124,97 @@ XMLPUBFUN void
|
|
|
127
124
|
/*
|
|
128
125
|
* Interfaces for parsing.
|
|
129
126
|
*/
|
|
130
|
-
XMLPUBFUN
|
|
127
|
+
XMLPUBFUN xmlRelaxNGParserCtxt *
|
|
131
128
|
xmlRelaxNGNewParserCtxt (const char *URL);
|
|
132
|
-
XMLPUBFUN
|
|
129
|
+
XMLPUBFUN xmlRelaxNGParserCtxt *
|
|
133
130
|
xmlRelaxNGNewMemParserCtxt (const char *buffer,
|
|
134
131
|
int size);
|
|
135
|
-
XMLPUBFUN
|
|
136
|
-
xmlRelaxNGNewDocParserCtxt (
|
|
132
|
+
XMLPUBFUN xmlRelaxNGParserCtxt *
|
|
133
|
+
xmlRelaxNGNewDocParserCtxt (xmlDoc *doc);
|
|
137
134
|
|
|
138
135
|
XMLPUBFUN int
|
|
139
|
-
xmlRelaxParserSetFlag (
|
|
136
|
+
xmlRelaxParserSetFlag (xmlRelaxNGParserCtxt *ctxt,
|
|
140
137
|
int flag);
|
|
141
138
|
|
|
142
139
|
XMLPUBFUN void
|
|
143
|
-
xmlRelaxNGFreeParserCtxt (
|
|
140
|
+
xmlRelaxNGFreeParserCtxt (xmlRelaxNGParserCtxt *ctxt);
|
|
144
141
|
XMLPUBFUN void
|
|
145
|
-
xmlRelaxNGSetParserErrors(
|
|
142
|
+
xmlRelaxNGSetParserErrors(xmlRelaxNGParserCtxt *ctxt,
|
|
146
143
|
xmlRelaxNGValidityErrorFunc err,
|
|
147
144
|
xmlRelaxNGValidityWarningFunc warn,
|
|
148
145
|
void *ctx);
|
|
149
146
|
XMLPUBFUN int
|
|
150
|
-
xmlRelaxNGGetParserErrors(
|
|
147
|
+
xmlRelaxNGGetParserErrors(xmlRelaxNGParserCtxt *ctxt,
|
|
151
148
|
xmlRelaxNGValidityErrorFunc *err,
|
|
152
149
|
xmlRelaxNGValidityWarningFunc *warn,
|
|
153
150
|
void **ctx);
|
|
154
151
|
XMLPUBFUN void
|
|
155
152
|
xmlRelaxNGSetParserStructuredErrors(
|
|
156
|
-
|
|
153
|
+
xmlRelaxNGParserCtxt *ctxt,
|
|
157
154
|
xmlStructuredErrorFunc serror,
|
|
158
155
|
void *ctx);
|
|
159
156
|
XMLPUBFUN void
|
|
160
|
-
xmlRelaxNGSetResourceLoader (
|
|
157
|
+
xmlRelaxNGSetResourceLoader (xmlRelaxNGParserCtxt *ctxt,
|
|
161
158
|
xmlResourceLoader loader,
|
|
162
159
|
void *vctxt);
|
|
163
|
-
XMLPUBFUN
|
|
164
|
-
xmlRelaxNGParse (
|
|
160
|
+
XMLPUBFUN xmlRelaxNG *
|
|
161
|
+
xmlRelaxNGParse (xmlRelaxNGParserCtxt *ctxt);
|
|
165
162
|
XMLPUBFUN void
|
|
166
|
-
xmlRelaxNGFree (
|
|
167
|
-
#ifdef
|
|
163
|
+
xmlRelaxNGFree (xmlRelaxNG *schema);
|
|
164
|
+
#ifdef LIBXML_DEBUG_ENABLED
|
|
168
165
|
XMLPUBFUN void
|
|
169
166
|
xmlRelaxNGDump (FILE *output,
|
|
170
|
-
|
|
167
|
+
xmlRelaxNG *schema);
|
|
168
|
+
#endif /* LIBXML_DEBUG_ENABLED */
|
|
169
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
|
171
170
|
XMLPUBFUN void
|
|
172
171
|
xmlRelaxNGDumpTree (FILE * output,
|
|
173
|
-
|
|
172
|
+
xmlRelaxNG *schema);
|
|
174
173
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
|
175
174
|
/*
|
|
176
175
|
* Interfaces for validating
|
|
177
176
|
*/
|
|
178
177
|
XMLPUBFUN void
|
|
179
|
-
xmlRelaxNGSetValidErrors(
|
|
178
|
+
xmlRelaxNGSetValidErrors(xmlRelaxNGValidCtxt *ctxt,
|
|
180
179
|
xmlRelaxNGValidityErrorFunc err,
|
|
181
180
|
xmlRelaxNGValidityWarningFunc warn,
|
|
182
181
|
void *ctx);
|
|
183
182
|
XMLPUBFUN int
|
|
184
|
-
xmlRelaxNGGetValidErrors(
|
|
183
|
+
xmlRelaxNGGetValidErrors(xmlRelaxNGValidCtxt *ctxt,
|
|
185
184
|
xmlRelaxNGValidityErrorFunc *err,
|
|
186
185
|
xmlRelaxNGValidityWarningFunc *warn,
|
|
187
186
|
void **ctx);
|
|
188
187
|
XMLPUBFUN void
|
|
189
|
-
xmlRelaxNGSetValidStructuredErrors(
|
|
188
|
+
xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxt *ctxt,
|
|
190
189
|
xmlStructuredErrorFunc serror, void *ctx);
|
|
191
|
-
XMLPUBFUN
|
|
192
|
-
xmlRelaxNGNewValidCtxt (
|
|
190
|
+
XMLPUBFUN xmlRelaxNGValidCtxt *
|
|
191
|
+
xmlRelaxNGNewValidCtxt (xmlRelaxNG *schema);
|
|
193
192
|
XMLPUBFUN void
|
|
194
|
-
xmlRelaxNGFreeValidCtxt (
|
|
193
|
+
xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxt *ctxt);
|
|
195
194
|
XMLPUBFUN int
|
|
196
|
-
xmlRelaxNGValidateDoc (
|
|
197
|
-
|
|
195
|
+
xmlRelaxNGValidateDoc (xmlRelaxNGValidCtxt *ctxt,
|
|
196
|
+
xmlDoc *doc);
|
|
198
197
|
/*
|
|
199
198
|
* Interfaces for progressive validation when possible
|
|
200
199
|
*/
|
|
201
200
|
XMLPUBFUN int
|
|
202
|
-
xmlRelaxNGValidatePushElement (
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
xmlRelaxNGValidatePushElement (xmlRelaxNGValidCtxt *ctxt,
|
|
202
|
+
xmlDoc *doc,
|
|
203
|
+
xmlNode *elem);
|
|
205
204
|
XMLPUBFUN int
|
|
206
|
-
xmlRelaxNGValidatePushCData (
|
|
205
|
+
xmlRelaxNGValidatePushCData (xmlRelaxNGValidCtxt *ctxt,
|
|
207
206
|
const xmlChar *data,
|
|
208
207
|
int len);
|
|
209
208
|
XMLPUBFUN int
|
|
210
|
-
xmlRelaxNGValidatePopElement (
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
xmlRelaxNGValidatePopElement (xmlRelaxNGValidCtxt *ctxt,
|
|
210
|
+
xmlDoc *doc,
|
|
211
|
+
xmlNode *elem);
|
|
213
212
|
XMLPUBFUN int
|
|
214
|
-
xmlRelaxNGValidateFullElement (
|
|
215
|
-
|
|
216
|
-
|
|
213
|
+
xmlRelaxNGValidateFullElement (xmlRelaxNGValidCtxt *ctxt,
|
|
214
|
+
xmlDoc *doc,
|
|
215
|
+
xmlNode *elem);
|
|
216
|
+
XMLPUBFUN void
|
|
217
|
+
xmlRelaxNGValidCtxtClearErrors(xmlRelaxNGValidCtxt* ctxt);
|
|
217
218
|
|
|
218
219
|
#ifdef __cplusplus
|
|
219
220
|
}
|