@img/sharp-libvips-dev 1.2.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.
- package/include/expat.h +37 -24
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- 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 +170 -199
- package/include/libxml2/libxml/xinclude.h +24 -43
- package/include/libxml2/libxml/xlink.h +55 -51
- package/include/libxml2/libxml/xmlIO.h +133 -151
- package/include/libxml2/libxml/xmlautomata.h +66 -65
- package/include/libxml2/libxml/xmlerror.h +197 -94
- package/include/libxml2/libxml/xmlexports.h +17 -19
- 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/package.json +1 -1
- package/versions.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief Implementation of XInclude 1.0
|
|
5
|
+
*
|
|
6
|
+
* API to process XML Inclusions.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* @copyright See Copyright for the status of this software.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* @author Daniel Veillard
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#ifndef __XML_XINCLUDE_H__
|
|
@@ -25,66 +25,47 @@ extern "C" {
|
|
|
25
25
|
#endif
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* XINCLUDE_NS:
|
|
29
|
-
*
|
|
30
28
|
* Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude
|
|
31
29
|
*/
|
|
32
30
|
#define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude"
|
|
33
31
|
/**
|
|
34
|
-
* XINCLUDE_OLD_NS:
|
|
35
|
-
*
|
|
36
32
|
* Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude
|
|
37
33
|
*/
|
|
38
34
|
#define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
|
|
39
35
|
/**
|
|
40
|
-
* XINCLUDE_NODE:
|
|
41
|
-
*
|
|
42
36
|
* Macro defining "include"
|
|
43
37
|
*/
|
|
44
38
|
#define XINCLUDE_NODE (const xmlChar *) "include"
|
|
45
39
|
/**
|
|
46
|
-
* XINCLUDE_FALLBACK:
|
|
47
|
-
*
|
|
48
40
|
* Macro defining "fallback"
|
|
49
41
|
*/
|
|
50
42
|
#define XINCLUDE_FALLBACK (const xmlChar *) "fallback"
|
|
51
43
|
/**
|
|
52
|
-
* XINCLUDE_HREF:
|
|
53
|
-
*
|
|
54
44
|
* Macro defining "href"
|
|
55
45
|
*/
|
|
56
46
|
#define XINCLUDE_HREF (const xmlChar *) "href"
|
|
57
47
|
/**
|
|
58
|
-
* XINCLUDE_PARSE:
|
|
59
|
-
*
|
|
60
48
|
* Macro defining "parse"
|
|
61
49
|
*/
|
|
62
50
|
#define XINCLUDE_PARSE (const xmlChar *) "parse"
|
|
63
51
|
/**
|
|
64
|
-
* XINCLUDE_PARSE_XML:
|
|
65
|
-
*
|
|
66
52
|
* Macro defining "xml"
|
|
67
53
|
*/
|
|
68
54
|
#define XINCLUDE_PARSE_XML (const xmlChar *) "xml"
|
|
69
55
|
/**
|
|
70
|
-
* XINCLUDE_PARSE_TEXT:
|
|
71
|
-
*
|
|
72
56
|
* Macro defining "text"
|
|
73
57
|
*/
|
|
74
58
|
#define XINCLUDE_PARSE_TEXT (const xmlChar *) "text"
|
|
75
59
|
/**
|
|
76
|
-
* XINCLUDE_PARSE_ENCODING:
|
|
77
|
-
*
|
|
78
60
|
* Macro defining "encoding"
|
|
79
61
|
*/
|
|
80
62
|
#define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding"
|
|
81
63
|
/**
|
|
82
|
-
* XINCLUDE_PARSE_XPOINTER:
|
|
83
|
-
*
|
|
84
64
|
* Macro defining "xpointer"
|
|
85
65
|
*/
|
|
86
66
|
#define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
|
|
87
67
|
|
|
68
|
+
/** XInclude context */
|
|
88
69
|
typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
|
|
89
70
|
typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
|
|
90
71
|
|
|
@@ -92,46 +73,46 @@ typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
|
|
|
92
73
|
* standalone processing
|
|
93
74
|
*/
|
|
94
75
|
XMLPUBFUN int
|
|
95
|
-
xmlXIncludeProcess (
|
|
76
|
+
xmlXIncludeProcess (xmlDoc *doc);
|
|
96
77
|
XMLPUBFUN int
|
|
97
|
-
xmlXIncludeProcessFlags (
|
|
78
|
+
xmlXIncludeProcessFlags (xmlDoc *doc,
|
|
98
79
|
int flags);
|
|
99
80
|
XMLPUBFUN int
|
|
100
|
-
xmlXIncludeProcessFlagsData(
|
|
81
|
+
xmlXIncludeProcessFlagsData(xmlDoc *doc,
|
|
101
82
|
int flags,
|
|
102
83
|
void *data);
|
|
103
84
|
XMLPUBFUN int
|
|
104
|
-
xmlXIncludeProcessTreeFlagsData(
|
|
85
|
+
xmlXIncludeProcessTreeFlagsData(xmlNode *tree,
|
|
105
86
|
int flags,
|
|
106
87
|
void *data);
|
|
107
88
|
XMLPUBFUN int
|
|
108
|
-
xmlXIncludeProcessTree (
|
|
89
|
+
xmlXIncludeProcessTree (xmlNode *tree);
|
|
109
90
|
XMLPUBFUN int
|
|
110
|
-
xmlXIncludeProcessTreeFlags(
|
|
91
|
+
xmlXIncludeProcessTreeFlags(xmlNode *tree,
|
|
111
92
|
int flags);
|
|
112
93
|
/*
|
|
113
94
|
* contextual processing
|
|
114
95
|
*/
|
|
115
|
-
XMLPUBFUN
|
|
116
|
-
xmlXIncludeNewContext (
|
|
96
|
+
XMLPUBFUN xmlXIncludeCtxt *
|
|
97
|
+
xmlXIncludeNewContext (xmlDoc *doc);
|
|
117
98
|
XMLPUBFUN int
|
|
118
|
-
xmlXIncludeSetFlags (
|
|
99
|
+
xmlXIncludeSetFlags (xmlXIncludeCtxt *ctxt,
|
|
119
100
|
int flags);
|
|
120
101
|
XMLPUBFUN void
|
|
121
|
-
xmlXIncludeSetErrorHandler(
|
|
102
|
+
xmlXIncludeSetErrorHandler(xmlXIncludeCtxt *ctxt,
|
|
122
103
|
xmlStructuredErrorFunc handler,
|
|
123
104
|
void *data);
|
|
124
105
|
XMLPUBFUN void
|
|
125
|
-
xmlXIncludeSetResourceLoader(
|
|
106
|
+
xmlXIncludeSetResourceLoader(xmlXIncludeCtxt *ctxt,
|
|
126
107
|
xmlResourceLoader loader,
|
|
127
108
|
void *data);
|
|
128
109
|
XMLPUBFUN int
|
|
129
|
-
xmlXIncludeGetLastError (
|
|
110
|
+
xmlXIncludeGetLastError (xmlXIncludeCtxt *ctxt);
|
|
130
111
|
XMLPUBFUN void
|
|
131
|
-
xmlXIncludeFreeContext (
|
|
112
|
+
xmlXIncludeFreeContext (xmlXIncludeCtxt *ctxt);
|
|
132
113
|
XMLPUBFUN int
|
|
133
|
-
xmlXIncludeProcessNode (
|
|
134
|
-
|
|
114
|
+
xmlXIncludeProcessNode (xmlXIncludeCtxt *ctxt,
|
|
115
|
+
xmlNode *tree);
|
|
135
116
|
#ifdef __cplusplus
|
|
136
117
|
}
|
|
137
118
|
#endif
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief unfinished XLink detection module
|
|
5
|
+
*
|
|
6
|
+
* This module is deprecated, don't use.
|
|
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_XLINK_H__
|
|
@@ -19,6 +22,8 @@
|
|
|
19
22
|
extern "C" {
|
|
20
23
|
#endif
|
|
21
24
|
|
|
25
|
+
/** @cond ignore */
|
|
26
|
+
|
|
22
27
|
/**
|
|
23
28
|
* Various defines for the various Link properties.
|
|
24
29
|
*
|
|
@@ -53,15 +58,16 @@ typedef enum {
|
|
|
53
58
|
XLINK_ACTUATE_ONREQUEST
|
|
54
59
|
} xlinkActuate;
|
|
55
60
|
|
|
61
|
+
/** @endcond */
|
|
62
|
+
|
|
56
63
|
/**
|
|
57
|
-
* xlinkNodeDetectFunc:
|
|
58
|
-
* @ctx: user data pointer
|
|
59
|
-
* @node: the node to check
|
|
60
|
-
*
|
|
61
64
|
* This is the prototype for the link detection routine.
|
|
62
65
|
* It calls the default link detection callbacks upon link detection.
|
|
66
|
+
*
|
|
67
|
+
* @param ctx user data pointer
|
|
68
|
+
* @param node the node to check
|
|
63
69
|
*/
|
|
64
|
-
typedef void (*xlinkNodeDetectFunc) (void *ctx,
|
|
70
|
+
typedef void (*xlinkNodeDetectFunc) (void *ctx, xmlNode *node);
|
|
65
71
|
|
|
66
72
|
/*
|
|
67
73
|
* The link detection module interact with the upper layers using
|
|
@@ -69,43 +75,41 @@ typedef void (*xlinkNodeDetectFunc) (void *ctx, xmlNodePtr node);
|
|
|
69
75
|
*/
|
|
70
76
|
|
|
71
77
|
/**
|
|
72
|
-
* xlinkSimpleLinkFunk:
|
|
73
|
-
* @ctx: user data pointer
|
|
74
|
-
* @node: the node carrying the link
|
|
75
|
-
* @href: the target of the link
|
|
76
|
-
* @role: the role string
|
|
77
|
-
* @title: the link title
|
|
78
|
-
*
|
|
79
78
|
* This is the prototype for a simple link detection callback.
|
|
79
|
+
*
|
|
80
|
+
* @param ctx user data pointer
|
|
81
|
+
* @param node the node carrying the link
|
|
82
|
+
* @param href the target of the link
|
|
83
|
+
* @param role the role string
|
|
84
|
+
* @param title the link title
|
|
80
85
|
*/
|
|
81
86
|
typedef void
|
|
82
87
|
(*xlinkSimpleLinkFunk) (void *ctx,
|
|
83
|
-
|
|
88
|
+
xmlNode *node,
|
|
84
89
|
const xlinkHRef href,
|
|
85
90
|
const xlinkRole role,
|
|
86
91
|
const xlinkTitle title);
|
|
87
92
|
|
|
88
93
|
/**
|
|
89
|
-
* xlinkExtendedLinkFunk:
|
|
90
|
-
* @ctx: user data pointer
|
|
91
|
-
* @node: the node carrying the link
|
|
92
|
-
* @nbLocators: the number of locators detected on the link
|
|
93
|
-
* @hrefs: pointer to the array of locator hrefs
|
|
94
|
-
* @roles: pointer to the array of locator roles
|
|
95
|
-
* @nbArcs: the number of arcs detected on the link
|
|
96
|
-
* @from: pointer to the array of source roles found on the arcs
|
|
97
|
-
* @to: pointer to the array of target roles found on the arcs
|
|
98
|
-
* @show: array of values for the show attributes found on the arcs
|
|
99
|
-
* @actuate: array of values for the actuate attributes found on the arcs
|
|
100
|
-
* @nbTitles: the number of titles detected on the link
|
|
101
|
-
* @title: array of titles detected on the link
|
|
102
|
-
* @langs: array of xml:lang values for the titles
|
|
103
|
-
*
|
|
104
94
|
* This is the prototype for a extended link detection callback.
|
|
95
|
+
*
|
|
96
|
+
* @param ctx user data pointer
|
|
97
|
+
* @param node the node carrying the link
|
|
98
|
+
* @param nbLocators the number of locators detected on the link
|
|
99
|
+
* @param hrefs pointer to the array of locator hrefs
|
|
100
|
+
* @param roles pointer to the array of locator roles
|
|
101
|
+
* @param nbArcs the number of arcs detected on the link
|
|
102
|
+
* @param from pointer to the array of source roles found on the arcs
|
|
103
|
+
* @param to pointer to the array of target roles found on the arcs
|
|
104
|
+
* @param show array of values for the show attributes found on the arcs
|
|
105
|
+
* @param actuate array of values for the actuate attributes found on the arcs
|
|
106
|
+
* @param nbTitles the number of titles detected on the link
|
|
107
|
+
* @param titles array of titles detected on the link
|
|
108
|
+
* @param langs array of xml:lang values for the titles
|
|
105
109
|
*/
|
|
106
110
|
typedef void
|
|
107
111
|
(*xlinkExtendedLinkFunk)(void *ctx,
|
|
108
|
-
|
|
112
|
+
xmlNode *node,
|
|
109
113
|
int nbLocators,
|
|
110
114
|
const xlinkHRef *hrefs,
|
|
111
115
|
const xlinkRole *roles,
|
|
@@ -119,21 +123,20 @@ typedef void
|
|
|
119
123
|
const xmlChar **langs);
|
|
120
124
|
|
|
121
125
|
/**
|
|
122
|
-
* xlinkExtendedLinkSetFunk:
|
|
123
|
-
* @ctx: user data pointer
|
|
124
|
-
* @node: the node carrying the link
|
|
125
|
-
* @nbLocators: the number of locators detected on the link
|
|
126
|
-
* @hrefs: pointer to the array of locator hrefs
|
|
127
|
-
* @roles: pointer to the array of locator roles
|
|
128
|
-
* @nbTitles: the number of titles detected on the link
|
|
129
|
-
* @title: array of titles detected on the link
|
|
130
|
-
* @langs: array of xml:lang values for the titles
|
|
131
|
-
*
|
|
132
126
|
* This is the prototype for a extended link set detection callback.
|
|
127
|
+
*
|
|
128
|
+
* @param ctx user data pointer
|
|
129
|
+
* @param node the node carrying the link
|
|
130
|
+
* @param nbLocators the number of locators detected on the link
|
|
131
|
+
* @param hrefs pointer to the array of locator hrefs
|
|
132
|
+
* @param roles pointer to the array of locator roles
|
|
133
|
+
* @param nbTitles the number of titles detected on the link
|
|
134
|
+
* @param titles array of titles detected on the link
|
|
135
|
+
* @param langs array of xml:lang values for the titles
|
|
133
136
|
*/
|
|
134
137
|
typedef void
|
|
135
138
|
(*xlinkExtendedLinkSetFunk) (void *ctx,
|
|
136
|
-
|
|
139
|
+
xmlNode *node,
|
|
137
140
|
int nbLocators,
|
|
138
141
|
const xlinkHRef *hrefs,
|
|
139
142
|
const xlinkRole *roles,
|
|
@@ -141,14 +144,14 @@ typedef void
|
|
|
141
144
|
const xlinkTitle *titles,
|
|
142
145
|
const xmlChar **langs);
|
|
143
146
|
|
|
147
|
+
typedef struct _xlinkHandler xlinkHandler;
|
|
148
|
+
typedef xlinkHandler *xlinkHandlerPtr;
|
|
144
149
|
/**
|
|
145
150
|
* This is the structure containing a set of Links detection callbacks.
|
|
146
151
|
*
|
|
147
152
|
* There is no default xlink callbacks, if one want to get link
|
|
148
153
|
* recognition activated, those call backs must be provided before parsing.
|
|
149
154
|
*/
|
|
150
|
-
typedef struct _xlinkHandler xlinkHandler;
|
|
151
|
-
typedef xlinkHandler *xlinkHandlerPtr;
|
|
152
155
|
struct _xlinkHandler {
|
|
153
156
|
xlinkSimpleLinkFunk simple;
|
|
154
157
|
xlinkExtendedLinkFunk extended;
|
|
@@ -171,18 +174,19 @@ XMLPUBFUN void
|
|
|
171
174
|
* Routines to set/get the default handlers.
|
|
172
175
|
*/
|
|
173
176
|
XML_DEPRECATED
|
|
174
|
-
XMLPUBFUN
|
|
177
|
+
XMLPUBFUN xlinkHandler *
|
|
175
178
|
xlinkGetDefaultHandler (void);
|
|
176
179
|
XML_DEPRECATED
|
|
177
180
|
XMLPUBFUN void
|
|
178
|
-
xlinkSetDefaultHandler (
|
|
181
|
+
xlinkSetDefaultHandler (xlinkHandler *handler);
|
|
179
182
|
|
|
180
183
|
/*
|
|
181
184
|
* Link detection module itself.
|
|
182
185
|
*/
|
|
186
|
+
XML_DEPRECATED
|
|
183
187
|
XMLPUBFUN xlinkType
|
|
184
|
-
xlinkIsLink (
|
|
185
|
-
|
|
188
|
+
xlinkIsLink (xmlDoc *doc,
|
|
189
|
+
xmlNode *node);
|
|
186
190
|
|
|
187
191
|
#ifdef __cplusplus
|
|
188
192
|
}
|