@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,10 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief XML Schematron implementation
|
|
5
|
+
*
|
|
6
|
+
* interface to the XML Schematron validity checking.
|
|
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
|
|
|
@@ -22,118 +25,123 @@
|
|
|
22
25
|
extern "C" {
|
|
23
26
|
#endif
|
|
24
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Schematron validation options
|
|
30
|
+
*/
|
|
25
31
|
typedef enum {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
/** quiet no report */
|
|
33
|
+
XML_SCHEMATRON_OUT_QUIET = 1 << 0,
|
|
34
|
+
/** build a textual report */
|
|
35
|
+
XML_SCHEMATRON_OUT_TEXT = 1 << 1,
|
|
36
|
+
/** output SVRL */
|
|
37
|
+
XML_SCHEMATRON_OUT_XML = 1 << 2,
|
|
38
|
+
/** output via xmlStructuredErrorFunc */
|
|
39
|
+
XML_SCHEMATRON_OUT_ERROR = 1 << 3,
|
|
40
|
+
/** output to a file descriptor */
|
|
41
|
+
XML_SCHEMATRON_OUT_FILE = 1 << 8,
|
|
42
|
+
/** output to a buffer */
|
|
43
|
+
XML_SCHEMATRON_OUT_BUFFER = 1 << 9,
|
|
44
|
+
/** output to I/O mechanism */
|
|
45
|
+
XML_SCHEMATRON_OUT_IO = 1 << 10
|
|
33
46
|
} xmlSchematronValidOptions;
|
|
34
47
|
|
|
35
|
-
/**
|
|
36
|
-
* The schemas related types are kept internal
|
|
37
|
-
*/
|
|
48
|
+
/** Schematron schema */
|
|
38
49
|
typedef struct _xmlSchematron xmlSchematron;
|
|
39
50
|
typedef xmlSchematron *xmlSchematronPtr;
|
|
40
51
|
|
|
41
52
|
/**
|
|
42
|
-
* xmlSchematronValidityErrorFunc:
|
|
43
|
-
* @ctx: the validation context
|
|
44
|
-
* @msg: the message
|
|
45
|
-
* @...: extra arguments
|
|
46
|
-
*
|
|
47
53
|
* Signature of an error callback from a Schematron validation
|
|
54
|
+
*
|
|
55
|
+
* @param ctx the validation context
|
|
56
|
+
* @param msg the message
|
|
57
|
+
* @param ... extra arguments
|
|
48
58
|
*/
|
|
49
59
|
typedef void (*xmlSchematronValidityErrorFunc) (void *ctx, const char *msg, ...);
|
|
50
60
|
|
|
51
61
|
/**
|
|
52
|
-
* xmlSchematronValidityWarningFunc:
|
|
53
|
-
* @ctx: the validation context
|
|
54
|
-
* @msg: the message
|
|
55
|
-
* @...: extra arguments
|
|
56
|
-
*
|
|
57
62
|
* Signature of a warning callback from a Schematron validation
|
|
63
|
+
*
|
|
64
|
+
* @param ctx the validation context
|
|
65
|
+
* @param msg the message
|
|
66
|
+
* @param ... extra arguments
|
|
58
67
|
*/
|
|
59
68
|
typedef void (*xmlSchematronValidityWarningFunc) (void *ctx, const char *msg, ...);
|
|
60
69
|
|
|
61
|
-
/**
|
|
62
|
-
* A schemas validation context
|
|
63
|
-
*/
|
|
70
|
+
/** Schematron parser context */
|
|
64
71
|
typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt;
|
|
65
72
|
typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr;
|
|
66
73
|
|
|
74
|
+
/** Schematron validation context */
|
|
67
75
|
typedef struct _xmlSchematronValidCtxt xmlSchematronValidCtxt;
|
|
68
76
|
typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr;
|
|
69
77
|
|
|
70
78
|
/*
|
|
71
79
|
* Interfaces for parsing.
|
|
72
80
|
*/
|
|
73
|
-
XMLPUBFUN
|
|
81
|
+
XMLPUBFUN xmlSchematronParserCtxt *
|
|
74
82
|
xmlSchematronNewParserCtxt (const char *URL);
|
|
75
|
-
XMLPUBFUN
|
|
83
|
+
XMLPUBFUN xmlSchematronParserCtxt *
|
|
76
84
|
xmlSchematronNewMemParserCtxt(const char *buffer,
|
|
77
85
|
int size);
|
|
78
|
-
XMLPUBFUN
|
|
79
|
-
xmlSchematronNewDocParserCtxt(
|
|
86
|
+
XMLPUBFUN xmlSchematronParserCtxt *
|
|
87
|
+
xmlSchematronNewDocParserCtxt(xmlDoc *doc);
|
|
80
88
|
XMLPUBFUN void
|
|
81
|
-
xmlSchematronFreeParserCtxt (
|
|
89
|
+
xmlSchematronFreeParserCtxt (xmlSchematronParserCtxt *ctxt);
|
|
82
90
|
/*****
|
|
83
91
|
XMLPUBFUN void
|
|
84
|
-
xmlSchematronSetParserErrors(
|
|
92
|
+
xmlSchematronSetParserErrors(xmlSchematronParserCtxt *ctxt,
|
|
85
93
|
xmlSchematronValidityErrorFunc err,
|
|
86
94
|
xmlSchematronValidityWarningFunc warn,
|
|
87
95
|
void *ctx);
|
|
88
96
|
XMLPUBFUN int
|
|
89
|
-
xmlSchematronGetParserErrors(
|
|
97
|
+
xmlSchematronGetParserErrors(xmlSchematronParserCtxt *ctxt,
|
|
90
98
|
xmlSchematronValidityErrorFunc * err,
|
|
91
99
|
xmlSchematronValidityWarningFunc * warn,
|
|
92
100
|
void **ctx);
|
|
93
101
|
XMLPUBFUN int
|
|
94
|
-
xmlSchematronIsValid (
|
|
102
|
+
xmlSchematronIsValid (xmlSchematronValidCtxt *ctxt);
|
|
95
103
|
*****/
|
|
96
|
-
XMLPUBFUN
|
|
97
|
-
xmlSchematronParse (
|
|
104
|
+
XMLPUBFUN xmlSchematron *
|
|
105
|
+
xmlSchematronParse (xmlSchematronParserCtxt *ctxt);
|
|
98
106
|
XMLPUBFUN void
|
|
99
|
-
xmlSchematronFree (
|
|
107
|
+
xmlSchematronFree (xmlSchematron *schema);
|
|
100
108
|
/*
|
|
101
109
|
* Interfaces for validating
|
|
102
110
|
*/
|
|
103
111
|
XMLPUBFUN void
|
|
104
112
|
xmlSchematronSetValidStructuredErrors(
|
|
105
|
-
|
|
113
|
+
xmlSchematronValidCtxt *ctxt,
|
|
106
114
|
xmlStructuredErrorFunc serror,
|
|
107
115
|
void *ctx);
|
|
108
116
|
/******
|
|
109
117
|
XMLPUBFUN void
|
|
110
|
-
xmlSchematronSetValidErrors (
|
|
118
|
+
xmlSchematronSetValidErrors (xmlSchematronValidCtxt *ctxt,
|
|
111
119
|
xmlSchematronValidityErrorFunc err,
|
|
112
120
|
xmlSchematronValidityWarningFunc warn,
|
|
113
121
|
void *ctx);
|
|
114
122
|
XMLPUBFUN int
|
|
115
|
-
xmlSchematronGetValidErrors (
|
|
123
|
+
xmlSchematronGetValidErrors (xmlSchematronValidCtxt *ctxt,
|
|
116
124
|
xmlSchematronValidityErrorFunc *err,
|
|
117
125
|
xmlSchematronValidityWarningFunc *warn,
|
|
118
126
|
void **ctx);
|
|
119
127
|
XMLPUBFUN int
|
|
120
|
-
xmlSchematronSetValidOptions(
|
|
128
|
+
xmlSchematronSetValidOptions(xmlSchematronValidCtxt *ctxt,
|
|
121
129
|
int options);
|
|
122
130
|
XMLPUBFUN int
|
|
123
|
-
xmlSchematronValidCtxtGetOptions(
|
|
131
|
+
xmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxt *ctxt);
|
|
124
132
|
XMLPUBFUN int
|
|
125
|
-
xmlSchematronValidateOneElement (
|
|
126
|
-
|
|
133
|
+
xmlSchematronValidateOneElement (xmlSchematronValidCtxt *ctxt,
|
|
134
|
+
xmlNode *elem);
|
|
127
135
|
*******/
|
|
128
136
|
|
|
129
|
-
XMLPUBFUN
|
|
130
|
-
xmlSchematronNewValidCtxt (
|
|
137
|
+
XMLPUBFUN xmlSchematronValidCtxt *
|
|
138
|
+
xmlSchematronNewValidCtxt (xmlSchematron *schema,
|
|
131
139
|
int options);
|
|
132
140
|
XMLPUBFUN void
|
|
133
|
-
xmlSchematronFreeValidCtxt (
|
|
141
|
+
xmlSchematronFreeValidCtxt (xmlSchematronValidCtxt *ctxt);
|
|
134
142
|
XMLPUBFUN int
|
|
135
|
-
xmlSchematronValidateDoc (
|
|
136
|
-
|
|
143
|
+
xmlSchematronValidateDoc (xmlSchematronValidCtxt *ctxt,
|
|
144
|
+
xmlDoc *instance);
|
|
137
145
|
|
|
138
146
|
#ifdef __cplusplus
|
|
139
147
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief interfaces for thread handling
|
|
5
|
+
*
|
|
6
|
+
* set of generic threading related routines
|
|
4
7
|
* should work with pthreads, Windows native or TLS threads
|
|
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_THREADS_H__
|
|
@@ -17,38 +20,34 @@
|
|
|
17
20
|
extern "C" {
|
|
18
21
|
#endif
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
* xmlMutex are a simple mutual exception locks.
|
|
22
|
-
*/
|
|
23
|
+
/** Mutual exclusion object */
|
|
23
24
|
typedef struct _xmlMutex xmlMutex;
|
|
24
25
|
typedef xmlMutex *xmlMutexPtr;
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
* xmlRMutex are reentrant mutual exception locks.
|
|
28
|
-
*/
|
|
27
|
+
/** Reentrant mutual exclusion object */
|
|
29
28
|
typedef struct _xmlRMutex xmlRMutex;
|
|
30
29
|
typedef xmlRMutex *xmlRMutexPtr;
|
|
31
30
|
|
|
32
31
|
XMLPUBFUN int
|
|
33
32
|
xmlCheckThreadLocalStorage(void);
|
|
34
33
|
|
|
35
|
-
XMLPUBFUN
|
|
34
|
+
XMLPUBFUN xmlMutex *
|
|
36
35
|
xmlNewMutex (void);
|
|
37
36
|
XMLPUBFUN void
|
|
38
|
-
xmlMutexLock (
|
|
37
|
+
xmlMutexLock (xmlMutex *tok);
|
|
39
38
|
XMLPUBFUN void
|
|
40
|
-
xmlMutexUnlock (
|
|
39
|
+
xmlMutexUnlock (xmlMutex *tok);
|
|
41
40
|
XMLPUBFUN void
|
|
42
|
-
xmlFreeMutex (
|
|
41
|
+
xmlFreeMutex (xmlMutex *tok);
|
|
43
42
|
|
|
44
|
-
XMLPUBFUN
|
|
43
|
+
XMLPUBFUN xmlRMutex *
|
|
45
44
|
xmlNewRMutex (void);
|
|
46
45
|
XMLPUBFUN void
|
|
47
|
-
xmlRMutexLock (
|
|
46
|
+
xmlRMutexLock (xmlRMutex *tok);
|
|
48
47
|
XMLPUBFUN void
|
|
49
|
-
xmlRMutexUnlock (
|
|
48
|
+
xmlRMutexUnlock (xmlRMutex *tok);
|
|
50
49
|
XMLPUBFUN void
|
|
51
|
-
xmlFreeRMutex (
|
|
50
|
+
xmlFreeRMutex (xmlRMutex *tok);
|
|
52
51
|
|
|
53
52
|
/*
|
|
54
53
|
* Library wide APIs.
|
|
@@ -64,14 +63,14 @@ XML_DEPRECATED
|
|
|
64
63
|
XMLPUBFUN void
|
|
65
64
|
xmlCleanupThreads(void);
|
|
66
65
|
|
|
67
|
-
/**
|
|
66
|
+
/** @cond IGNORE */
|
|
68
67
|
#if defined(LIBXML_THREAD_ENABLED) && defined(_WIN32) && \
|
|
69
68
|
defined(LIBXML_STATIC_FOR_DLL)
|
|
70
69
|
int
|
|
71
70
|
xmlDllMain(void *hinstDLL, unsigned long fdwReason,
|
|
72
71
|
void *lpvReserved);
|
|
73
72
|
#endif
|
|
74
|
-
/**
|
|
73
|
+
/** @endcond */
|
|
75
74
|
|
|
76
75
|
#ifdef __cplusplus
|
|
77
76
|
}
|