@img/sharp-libvips-dev 1.2.2-rc.2 → 1.2.3

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.
Files changed (51) hide show
  1. package/include/expat.h +37 -24
  2. package/include/expat_config.h +9 -9
  3. package/include/expat_external.h +62 -61
  4. package/include/libxml2/libxml/HTMLparser.h +159 -101
  5. package/include/libxml2/libxml/HTMLtree.h +49 -74
  6. package/include/libxml2/libxml/SAX.h +8 -5
  7. package/include/libxml2/libxml/SAX2.h +18 -15
  8. package/include/libxml2/libxml/c14n.h +30 -29
  9. package/include/libxml2/libxml/catalog.h +47 -22
  10. package/include/libxml2/libxml/chvalid.h +52 -64
  11. package/include/libxml2/libxml/debugXML.h +18 -15
  12. package/include/libxml2/libxml/dict.h +22 -19
  13. package/include/libxml2/libxml/encoding.h +144 -111
  14. package/include/libxml2/libxml/entities.h +95 -75
  15. package/include/libxml2/libxml/globals.h +7 -4
  16. package/include/libxml2/libxml/hash.h +61 -64
  17. package/include/libxml2/libxml/list.h +59 -51
  18. package/include/libxml2/libxml/nanoftp.h +7 -4
  19. package/include/libxml2/libxml/nanohttp.h +10 -7
  20. package/include/libxml2/libxml/parser.h +1091 -563
  21. package/include/libxml2/libxml/parserInternals.h +167 -214
  22. package/include/libxml2/libxml/pattern.h +29 -31
  23. package/include/libxml2/libxml/relaxng.h +59 -58
  24. package/include/libxml2/libxml/schemasInternals.h +114 -268
  25. package/include/libxml2/libxml/schematron.h +59 -51
  26. package/include/libxml2/libxml/threads.h +19 -20
  27. package/include/libxml2/libxml/tree.h +873 -623
  28. package/include/libxml2/libxml/uri.h +21 -22
  29. package/include/libxml2/libxml/valid.h +170 -199
  30. package/include/libxml2/libxml/xinclude.h +24 -43
  31. package/include/libxml2/libxml/xlink.h +55 -51
  32. package/include/libxml2/libxml/xmlIO.h +133 -151
  33. package/include/libxml2/libxml/xmlautomata.h +66 -65
  34. package/include/libxml2/libxml/xmlerror.h +197 -94
  35. package/include/libxml2/libxml/xmlexports.h +17 -19
  36. package/include/libxml2/libxml/xmlmemory.h +44 -29
  37. package/include/libxml2/libxml/xmlmodule.h +14 -15
  38. package/include/libxml2/libxml/xmlreader.h +137 -131
  39. package/include/libxml2/libxml/xmlregexp.h +28 -31
  40. package/include/libxml2/libxml/xmlsave.h +81 -36
  41. package/include/libxml2/libxml/xmlschemas.h +61 -67
  42. package/include/libxml2/libxml/xmlschemastypes.h +60 -54
  43. package/include/libxml2/libxml/xmlstring.h +8 -9
  44. package/include/libxml2/libxml/xmlunicode.h +6 -3
  45. package/include/libxml2/libxml/xmlversion.h +44 -121
  46. package/include/libxml2/libxml/xmlwriter.h +97 -97
  47. package/include/libxml2/libxml/xpath.h +235 -232
  48. package/include/libxml2/libxml/xpathInternals.h +247 -277
  49. package/include/libxml2/libxml/xpointer.h +21 -17
  50. package/package.json +1 -1
  51. package/versions.json +2 -2
@@ -1,11 +1,14 @@
1
- /*
2
- * Summary: pattern expression handling
3
- * Description: allows to compile and test pattern expressions for nodes
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
- * Copy: See Copyright for the status of this software.
9
+ * @copyright See Copyright for the status of this software.
7
10
  *
8
- * Author: Daniel Veillard
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
- * xmlPatternFlags:
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 (xmlPatternPtr comp);
45
+ xmlFreePattern (xmlPattern *comp);
48
46
 
49
47
  XMLPUBFUN void
50
- xmlFreePatternList (xmlPatternPtr comp);
48
+ xmlFreePatternList (xmlPattern *comp);
51
49
 
52
- XMLPUBFUN xmlPatternPtr
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
- xmlPatternPtr *patternOut);
60
+ xmlPattern **patternOut);
63
61
  XMLPUBFUN int
64
- xmlPatternMatch (xmlPatternPtr comp,
65
- xmlNodePtr node);
62
+ xmlPatternMatch (xmlPattern *comp,
63
+ xmlNode *node);
66
64
 
67
- /* streaming interfaces */
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 (xmlPatternPtr comp);
70
+ xmlPatternStreamable (xmlPattern *comp);
73
71
  XMLPUBFUN int
74
- xmlPatternMaxDepth (xmlPatternPtr comp);
72
+ xmlPatternMaxDepth (xmlPattern *comp);
75
73
  XMLPUBFUN int
76
- xmlPatternMinDepth (xmlPatternPtr comp);
74
+ xmlPatternMinDepth (xmlPattern *comp);
77
75
  XMLPUBFUN int
78
- xmlPatternFromRoot (xmlPatternPtr comp);
79
- XMLPUBFUN xmlStreamCtxtPtr
80
- xmlPatternGetStreamCtxt (xmlPatternPtr comp);
76
+ xmlPatternFromRoot (xmlPattern *comp);
77
+ XMLPUBFUN xmlStreamCtxt *
78
+ xmlPatternGetStreamCtxt (xmlPattern *comp);
81
79
  XMLPUBFUN void
82
- xmlFreeStreamCtxt (xmlStreamCtxtPtr stream);
80
+ xmlFreeStreamCtxt (xmlStreamCtxt *stream);
83
81
  XMLPUBFUN int
84
- xmlStreamPushNode (xmlStreamCtxtPtr stream,
82
+ xmlStreamPushNode (xmlStreamCtxt *stream,
85
83
  const xmlChar *name,
86
84
  const xmlChar *ns,
87
85
  int nodeType);
88
86
  XMLPUBFUN int
89
- xmlStreamPush (xmlStreamCtxtPtr stream,
87
+ xmlStreamPush (xmlStreamCtxt *stream,
90
88
  const xmlChar *name,
91
89
  const xmlChar *ns);
92
90
  XMLPUBFUN int
93
- xmlStreamPushAttr (xmlStreamCtxtPtr stream,
91
+ xmlStreamPushAttr (xmlStreamCtxt *stream,
94
92
  const xmlChar *name,
95
93
  const xmlChar *ns);
96
94
  XMLPUBFUN int
97
- xmlStreamPop (xmlStreamCtxtPtr stream);
95
+ xmlStreamPop (xmlStreamCtxt *stream);
98
96
  XMLPUBFUN int
99
- xmlStreamWantsAnyNode (xmlStreamCtxtPtr stream);
97
+ xmlStreamWantsAnyNode (xmlStreamCtxt *stream);
100
98
  #ifdef __cplusplus
101
99
  }
102
100
  #endif
@@ -1,10 +1,13 @@
1
- /*
2
- * Summary: implementation of the Relax-NG validation
3
- * Description: implementation of the Relax-NG validation
1
+ /**
2
+ * @file
3
+ *
4
+ * @brief implementation of the Relax-NG validation
5
+ *
6
+ * implementation of the Relax-NG validation
4
7
  *
5
- * Copy: See Copyright for the status of this software.
8
+ * @copyright See Copyright for the status of this software.
6
9
  *
7
- * Author: Daniel Veillard
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 xmlRelaxNGParserCtxtPtr
127
+ XMLPUBFUN xmlRelaxNGParserCtxt *
131
128
  xmlRelaxNGNewParserCtxt (const char *URL);
132
- XMLPUBFUN xmlRelaxNGParserCtxtPtr
129
+ XMLPUBFUN xmlRelaxNGParserCtxt *
133
130
  xmlRelaxNGNewMemParserCtxt (const char *buffer,
134
131
  int size);
135
- XMLPUBFUN xmlRelaxNGParserCtxtPtr
136
- xmlRelaxNGNewDocParserCtxt (xmlDocPtr doc);
132
+ XMLPUBFUN xmlRelaxNGParserCtxt *
133
+ xmlRelaxNGNewDocParserCtxt (xmlDoc *doc);
137
134
 
138
135
  XMLPUBFUN int
139
- xmlRelaxParserSetFlag (xmlRelaxNGParserCtxtPtr ctxt,
136
+ xmlRelaxParserSetFlag (xmlRelaxNGParserCtxt *ctxt,
140
137
  int flag);
141
138
 
142
139
  XMLPUBFUN void
143
- xmlRelaxNGFreeParserCtxt (xmlRelaxNGParserCtxtPtr ctxt);
140
+ xmlRelaxNGFreeParserCtxt (xmlRelaxNGParserCtxt *ctxt);
144
141
  XMLPUBFUN void
145
- xmlRelaxNGSetParserErrors(xmlRelaxNGParserCtxtPtr ctxt,
142
+ xmlRelaxNGSetParserErrors(xmlRelaxNGParserCtxt *ctxt,
146
143
  xmlRelaxNGValidityErrorFunc err,
147
144
  xmlRelaxNGValidityWarningFunc warn,
148
145
  void *ctx);
149
146
  XMLPUBFUN int
150
- xmlRelaxNGGetParserErrors(xmlRelaxNGParserCtxtPtr ctxt,
147
+ xmlRelaxNGGetParserErrors(xmlRelaxNGParserCtxt *ctxt,
151
148
  xmlRelaxNGValidityErrorFunc *err,
152
149
  xmlRelaxNGValidityWarningFunc *warn,
153
150
  void **ctx);
154
151
  XMLPUBFUN void
155
152
  xmlRelaxNGSetParserStructuredErrors(
156
- xmlRelaxNGParserCtxtPtr ctxt,
153
+ xmlRelaxNGParserCtxt *ctxt,
157
154
  xmlStructuredErrorFunc serror,
158
155
  void *ctx);
159
156
  XMLPUBFUN void
160
- xmlRelaxNGSetResourceLoader (xmlRelaxNGParserCtxtPtr ctxt,
157
+ xmlRelaxNGSetResourceLoader (xmlRelaxNGParserCtxt *ctxt,
161
158
  xmlResourceLoader loader,
162
159
  void *vctxt);
163
- XMLPUBFUN xmlRelaxNGPtr
164
- xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt);
160
+ XMLPUBFUN xmlRelaxNG *
161
+ xmlRelaxNGParse (xmlRelaxNGParserCtxt *ctxt);
165
162
  XMLPUBFUN void
166
- xmlRelaxNGFree (xmlRelaxNGPtr schema);
167
- #ifdef LIBXML_OUTPUT_ENABLED
163
+ xmlRelaxNGFree (xmlRelaxNG *schema);
164
+ #ifdef LIBXML_DEBUG_ENABLED
168
165
  XMLPUBFUN void
169
166
  xmlRelaxNGDump (FILE *output,
170
- xmlRelaxNGPtr schema);
167
+ xmlRelaxNG *schema);
168
+ #endif /* LIBXML_DEBUG_ENABLED */
169
+ #ifdef LIBXML_OUTPUT_ENABLED
171
170
  XMLPUBFUN void
172
171
  xmlRelaxNGDumpTree (FILE * output,
173
- xmlRelaxNGPtr schema);
172
+ xmlRelaxNG *schema);
174
173
  #endif /* LIBXML_OUTPUT_ENABLED */
175
174
  /*
176
175
  * Interfaces for validating
177
176
  */
178
177
  XMLPUBFUN void
179
- xmlRelaxNGSetValidErrors(xmlRelaxNGValidCtxtPtr ctxt,
178
+ xmlRelaxNGSetValidErrors(xmlRelaxNGValidCtxt *ctxt,
180
179
  xmlRelaxNGValidityErrorFunc err,
181
180
  xmlRelaxNGValidityWarningFunc warn,
182
181
  void *ctx);
183
182
  XMLPUBFUN int
184
- xmlRelaxNGGetValidErrors(xmlRelaxNGValidCtxtPtr ctxt,
183
+ xmlRelaxNGGetValidErrors(xmlRelaxNGValidCtxt *ctxt,
185
184
  xmlRelaxNGValidityErrorFunc *err,
186
185
  xmlRelaxNGValidityWarningFunc *warn,
187
186
  void **ctx);
188
187
  XMLPUBFUN void
189
- xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxtPtr ctxt,
188
+ xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxt *ctxt,
190
189
  xmlStructuredErrorFunc serror, void *ctx);
191
- XMLPUBFUN xmlRelaxNGValidCtxtPtr
192
- xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema);
190
+ XMLPUBFUN xmlRelaxNGValidCtxt *
191
+ xmlRelaxNGNewValidCtxt (xmlRelaxNG *schema);
193
192
  XMLPUBFUN void
194
- xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxtPtr ctxt);
193
+ xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxt *ctxt);
195
194
  XMLPUBFUN int
196
- xmlRelaxNGValidateDoc (xmlRelaxNGValidCtxtPtr ctxt,
197
- xmlDocPtr doc);
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 (xmlRelaxNGValidCtxtPtr ctxt,
203
- xmlDocPtr doc,
204
- xmlNodePtr elem);
201
+ xmlRelaxNGValidatePushElement (xmlRelaxNGValidCtxt *ctxt,
202
+ xmlDoc *doc,
203
+ xmlNode *elem);
205
204
  XMLPUBFUN int
206
- xmlRelaxNGValidatePushCData (xmlRelaxNGValidCtxtPtr ctxt,
205
+ xmlRelaxNGValidatePushCData (xmlRelaxNGValidCtxt *ctxt,
207
206
  const xmlChar *data,
208
207
  int len);
209
208
  XMLPUBFUN int
210
- xmlRelaxNGValidatePopElement (xmlRelaxNGValidCtxtPtr ctxt,
211
- xmlDocPtr doc,
212
- xmlNodePtr elem);
209
+ xmlRelaxNGValidatePopElement (xmlRelaxNGValidCtxt *ctxt,
210
+ xmlDoc *doc,
211
+ xmlNode *elem);
213
212
  XMLPUBFUN int
214
- xmlRelaxNGValidateFullElement (xmlRelaxNGValidCtxtPtr ctxt,
215
- xmlDocPtr doc,
216
- xmlNodePtr elem);
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
  }