@img/sharp-libvips-dev 1.1.0-rc5 → 1.2.0-rc.1

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 (151) hide show
  1. package/cplusplus/vips-operators.cpp +39 -0
  2. package/include/archive.h +53 -2
  3. package/include/archive_entry.h +56 -25
  4. package/include/ffi.h +20 -2
  5. package/include/fontconfig/fontconfig.h +1 -1
  6. package/include/glib-2.0/gio/gdbusnameowning.h +12 -10
  7. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  8. package/include/glib-2.0/gio/gsettings.h +35 -31
  9. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  10. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  11. package/include/glib-2.0/girepository/gitypes.h +6 -0
  12. package/include/glib-2.0/glib/gbitlock.h +11 -0
  13. package/include/glib-2.0/glib/gdate.h +6 -0
  14. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  15. package/include/glib-2.0/glib/gmain.h +13 -10
  16. package/include/glib-2.0/glib/gmessages.h +4 -1
  17. package/include/glib-2.0/glib/gstring.h +2 -0
  18. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  19. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  20. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  21. package/include/glib-2.0/gobject/gsignal.h +33 -8
  22. package/include/harfbuzz/hb-common.h +1 -431
  23. package/include/harfbuzz/hb-deprecated.h +80 -2
  24. package/include/harfbuzz/hb-draw.h +2 -10
  25. package/include/harfbuzz/hb-face.h +1 -1
  26. package/include/harfbuzz/hb-font.h +55 -36
  27. package/include/harfbuzz/hb-paint.h +5 -3
  28. package/include/harfbuzz/hb-script-list.h +484 -0
  29. package/include/harfbuzz/hb-subset.h +22 -2
  30. package/include/harfbuzz/hb-version.h +3 -3
  31. package/include/libheif/heif.h +2 -0
  32. package/include/libheif/heif_version.h +2 -2
  33. package/include/libpng16/png.h +10 -10
  34. package/include/libpng16/pngconf.h +20 -27
  35. package/include/libpng16/pnglibconf.h +1 -1
  36. package/include/libxml2/libxml/HTMLparser.h +33 -30
  37. package/include/libxml2/libxml/HTMLtree.h +1 -0
  38. package/include/libxml2/libxml/SAX.h +2 -186
  39. package/include/libxml2/libxml/SAX2.h +2 -3
  40. package/include/libxml2/libxml/catalog.h +1 -0
  41. package/include/libxml2/libxml/debugXML.h +0 -138
  42. package/include/libxml2/libxml/encoding.h +124 -61
  43. package/include/libxml2/libxml/entities.h +0 -19
  44. package/include/libxml2/libxml/globals.h +0 -16
  45. package/include/libxml2/libxml/nanoftp.h +3 -173
  46. package/include/libxml2/libxml/parser.h +474 -231
  47. package/include/libxml2/libxml/parserInternals.h +21 -101
  48. package/include/libxml2/libxml/relaxng.h +7 -2
  49. package/include/libxml2/libxml/threads.h +0 -6
  50. package/include/libxml2/libxml/tree.h +29 -85
  51. package/include/libxml2/libxml/valid.h +20 -12
  52. package/include/libxml2/libxml/xinclude.h +5 -0
  53. package/include/libxml2/libxml/xlink.h +4 -0
  54. package/include/libxml2/libxml/xmlIO.h +15 -34
  55. package/include/libxml2/libxml/xmlautomata.h +19 -2
  56. package/include/libxml2/libxml/xmlerror.h +17 -18
  57. package/include/libxml2/libxml/xmlexports.h +6 -56
  58. package/include/libxml2/libxml/xmlmemory.h +19 -19
  59. package/include/libxml2/libxml/xmlmodule.h +4 -0
  60. package/include/libxml2/libxml/xmlreader.h +11 -3
  61. package/include/libxml2/libxml/xmlregexp.h +7 -106
  62. package/include/libxml2/libxml/xmlsave.h +11 -2
  63. package/include/libxml2/libxml/xmlschemas.h +10 -5
  64. package/include/libxml2/libxml/xmlunicode.h +3 -354
  65. package/include/libxml2/libxml/xmlversion.h +18 -33
  66. package/include/libxml2/libxml/xpath.h +5 -15
  67. package/include/libxml2/libxml/xpathInternals.h +9 -3
  68. package/include/libxml2/libxml/xpointer.h +1 -91
  69. package/include/pixman-1/pixman-version.h +2 -2
  70. package/include/pixman-1/pixman.h +200 -0
  71. package/include/png.h +10 -10
  72. package/include/pngconf.h +20 -27
  73. package/include/pnglibconf.h +1 -1
  74. package/include/vips/VImage8.h +62 -14
  75. package/include/vips/arithmetic.h +34 -34
  76. package/include/vips/basic.h +16 -0
  77. package/include/vips/buf.h +0 -5
  78. package/include/vips/colour.h +6 -7
  79. package/include/vips/connection.h +25 -37
  80. package/include/vips/enumtypes.h +11 -2
  81. package/include/vips/foreign.h +73 -43
  82. package/include/vips/format.h +7 -5
  83. package/include/vips/gate.h +0 -11
  84. package/include/vips/header.h +11 -11
  85. package/include/vips/image.h +8 -3
  86. package/include/vips/interpolate.h +0 -2
  87. package/include/vips/memory.h +4 -0
  88. package/include/vips/mosaicing.h +4 -0
  89. package/include/vips/object.h +14 -18
  90. package/include/vips/operation.h +0 -2
  91. package/include/vips/private.h +50 -2
  92. package/include/vips/region.h +1 -3
  93. package/include/vips/resample.h +2 -0
  94. package/include/vips/semaphore.h +8 -3
  95. package/include/vips/thread.h +1 -24
  96. package/include/vips/threadpool.h +0 -6
  97. package/include/vips/type.h +13 -9
  98. package/include/vips/util.h +17 -98
  99. package/include/vips/vector.h +0 -4
  100. package/include/vips/version.h +8 -8
  101. package/include/vips/vips.h +1 -0
  102. package/package.json +1 -1
  103. package/versions.json +11 -11
  104. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
  105. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
  106. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
  107. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
  108. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
  109. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
  110. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
  111. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
  112. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
  113. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
  114. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
  115. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
  116. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
  117. package/include/glib-2.0/glib/gwin32.h +0 -142
  118. package/include/harfbuzz/hb-subset-repacker.h +0 -81
  119. package/include/hwy/ops/tuple-inl.h +0 -125
  120. package/include/orc-0.4/orc/orc-stdint.h +0 -1
  121. package/include/orc-0.4/orc/orc.h +0 -16
  122. package/include/orc-0.4/orc/orcarm.h +0 -879
  123. package/include/orc-0.4/orc/orcbytecode.h +0 -35
  124. package/include/orc-0.4/orc/orcbytecodes.h +0 -255
  125. package/include/orc-0.4/orc/orccode.h +0 -53
  126. package/include/orc-0.4/orc/orccompiler.h +0 -176
  127. package/include/orc-0.4/orc/orcconstant.h +0 -39
  128. package/include/orc-0.4/orc/orccpu.h +0 -21
  129. package/include/orc-0.4/orc/orccpuinsn.h +0 -40
  130. package/include/orc-0.4/orc/orcdebug.h +0 -158
  131. package/include/orc-0.4/orc/orcemulateopcodes.h +0 -203
  132. package/include/orc-0.4/orc/orcexecutor.h +0 -135
  133. package/include/orc-0.4/orc/orcfunctions.h +0 -93
  134. package/include/orc-0.4/orc/orcinstruction.h +0 -39
  135. package/include/orc-0.4/orc/orcinternal.h +0 -46
  136. package/include/orc-0.4/orc/orclimits.h +0 -94
  137. package/include/orc-0.4/orc/orcmips.h +0 -229
  138. package/include/orc-0.4/orc/orcmmx.h +0 -79
  139. package/include/orc-0.4/orc/orcneon.h +0 -43
  140. package/include/orc-0.4/orc/orconce.h +0 -166
  141. package/include/orc-0.4/orc/orcopcode.h +0 -63
  142. package/include/orc-0.4/orc/orcparse.h +0 -27
  143. package/include/orc-0.4/orc/orcpowerpc.h +0 -209
  144. package/include/orc-0.4/orc/orcprogram.h +0 -192
  145. package/include/orc-0.4/orc/orcrule.h +0 -52
  146. package/include/orc-0.4/orc/orcsse.h +0 -55
  147. package/include/orc-0.4/orc/orctarget.h +0 -115
  148. package/include/orc-0.4/orc/orcutils.h +0 -238
  149. package/include/orc-0.4/orc/orcvariable.h +0 -81
  150. package/include/orc-0.4/orc/orcx86.h +0 -199
  151. package/include/orc-0.4/orc/orcx86insn.h +0 -672
@@ -15,21 +15,21 @@
15
15
  *
16
16
  * the version string like "1.2.3"
17
17
  */
18
- #define LIBXML_DOTTED_VERSION "2.13.7"
18
+ #define LIBXML_DOTTED_VERSION "2.14.3"
19
19
 
20
20
  /**
21
21
  * LIBXML_VERSION:
22
22
  *
23
23
  * the version number: 1.2.3 value is 10203
24
24
  */
25
- #define LIBXML_VERSION 21307
25
+ #define LIBXML_VERSION 21403
26
26
 
27
27
  /**
28
28
  * LIBXML_VERSION_STRING:
29
29
  *
30
30
  * the version number string, 1.2.3 value is "10203"
31
31
  */
32
- #define LIBXML_VERSION_STRING "21307"
32
+ #define LIBXML_VERSION_STRING "21403"
33
33
 
34
34
  /**
35
35
  * LIBXML_VERSION_EXTRA:
@@ -44,7 +44,7 @@
44
44
  * Macro to check that the libxml version in use is compatible with
45
45
  * the version the software has been compiled against
46
46
  */
47
- #define LIBXML_TEST_VERSION xmlCheckVersion(21307);
47
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21403);
48
48
 
49
49
  /**
50
50
  * LIBXML_THREAD_ENABLED:
@@ -67,11 +67,9 @@
67
67
  /**
68
68
  * LIBXML_TREE_ENABLED:
69
69
  *
70
- * Whether the DOM like tree manipulation API support is configured in
70
+ * Always enabled since 2.14.0
71
71
  */
72
- #if 0
73
72
  #define LIBXML_TREE_ENABLED
74
- #endif
75
73
 
76
74
  /**
77
75
  * LIBXML_OUTPUT_ENABLED:
@@ -127,15 +125,6 @@
127
125
  #define LIBXML_SAX1_ENABLED
128
126
  #endif
129
127
 
130
- /**
131
- * LIBXML_FTP_ENABLED:
132
- *
133
- * Whether the FTP support is configured in
134
- */
135
- #if 0
136
- #define LIBXML_FTP_ENABLED
137
- #endif
138
-
139
128
  /**
140
129
  * LIBXML_HTTP_ENABLED:
141
130
  *
@@ -166,11 +155,9 @@
166
155
  /**
167
156
  * LIBXML_LEGACY_ENABLED:
168
157
  *
169
- * Whether the deprecated APIs are compiled in for compatibility
158
+ * Removed in 2.14
170
159
  */
171
- #if 0
172
- #define LIBXML_LEGACY_ENABLED
173
- #endif
160
+ #undef LIBXML_LEGACY_ENABLED
174
161
 
175
162
  /**
176
163
  * LIBXML_C14N_ENABLED:
@@ -208,15 +195,6 @@
208
195
  #define LIBXML_XPTR_ENABLED
209
196
  #endif
210
197
 
211
- /**
212
- * LIBXML_XPTR_LOCS_ENABLED:
213
- *
214
- * Whether support for XPointer locations is configured in
215
- */
216
- #if 0
217
- #define LIBXML_XPTR_LOCS_ENABLED
218
- #endif
219
-
220
198
  /**
221
199
  * LIBXML_XINCLUDE_ENABLED:
222
200
  *
@@ -265,11 +243,9 @@
265
243
  /**
266
244
  * LIBXML_UNICODE_ENABLED:
267
245
  *
268
- * Whether the Unicode related interfaces are compiled in
246
+ * Removed in 2.14
269
247
  */
270
- #if 0
271
- #define LIBXML_UNICODE_ENABLED
272
- #endif
248
+ #undef LIBXML_UNICODE_ENABLED
273
249
 
274
250
  /**
275
251
  * LIBXML_REGEXP_ENABLED:
@@ -289,6 +265,15 @@
289
265
  #define LIBXML_AUTOMATA_ENABLED
290
266
  #endif
291
267
 
268
+ /**
269
+ * LIBXML_RELAXNG_ENABLED:
270
+ *
271
+ * Whether the RelaxNG validation interfaces are compiled in
272
+ */
273
+ #if 0
274
+ #define LIBXML_RELAXNG_ENABLED
275
+ #endif
276
+
292
277
  /**
293
278
  * LIBXML_SCHEMAS_ENABLED:
294
279
  *
@@ -26,15 +26,10 @@
26
26
  #include <libxml/xmlerror.h>
27
27
  #include <libxml/tree.h>
28
28
  #include <libxml/hash.h>
29
- #endif /* LIBXML_XPATH_ENABLED */
30
29
 
31
- #if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
32
30
  #ifdef __cplusplus
33
31
  extern "C" {
34
32
  #endif
35
- #endif /* LIBXML_XPATH_ENABLED or LIBXML_SCHEMAS_ENABLED */
36
-
37
- #ifdef LIBXML_XPATH_ENABLED
38
33
 
39
34
  typedef struct _xmlXPathContext xmlXPathContext;
40
35
  typedef xmlXPathContext *xmlXPathContextPtr;
@@ -104,22 +99,15 @@ typedef enum {
104
99
  XPATH_BOOLEAN = 2,
105
100
  XPATH_NUMBER = 3,
106
101
  XPATH_STRING = 4,
107
- #ifdef LIBXML_XPTR_LOCS_ENABLED
108
- XPATH_POINT = 5,
109
- XPATH_RANGE = 6,
110
- XPATH_LOCATIONSET = 7,
111
- #endif
112
102
  XPATH_USERS = 8,
113
103
  XPATH_XSLT_TREE = 9 /* An XSLT value tree, non modifiable */
114
104
  } xmlXPathObjectType;
115
105
 
116
- #ifndef LIBXML_XPTR_LOCS_ENABLED
117
106
  /** DOC_DISABLE */
118
107
  #define XPATH_POINT 5
119
108
  #define XPATH_RANGE 6
120
109
  #define XPATH_LOCATIONSET 7
121
110
  /** DOC_ENABLE */
122
- #endif
123
111
 
124
112
  typedef struct _xmlXPathObject xmlXPathObject;
125
113
  typedef xmlXPathObject *xmlXPathObjectPtr;
@@ -413,8 +401,11 @@ struct _xmlXPathParserContext {
413
401
  * Objects and Nodesets handling
414
402
  */
415
403
 
404
+ XML_DEPRECATED
416
405
  XMLPUBVAR double xmlXPathNAN;
406
+ XML_DEPRECATED
417
407
  XMLPUBVAR double xmlXPathPINF;
408
+ XML_DEPRECATED
418
409
  XMLPUBVAR double xmlXPathNINF;
419
410
 
420
411
  /* These macros may later turn into functions */
@@ -561,8 +552,7 @@ XMLPUBFUN int
561
552
  xmlXPathContextPtr ctxt);
562
553
  XMLPUBFUN void
563
554
  xmlXPathFreeCompExpr (xmlXPathCompExprPtr comp);
564
- #endif /* LIBXML_XPATH_ENABLED */
565
- #if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
555
+
566
556
  XML_DEPRECATED
567
557
  XMLPUBFUN void
568
558
  xmlXPathInit (void);
@@ -575,5 +565,5 @@ XMLPUBFUN int
575
565
  }
576
566
  #endif
577
567
 
578
- #endif /* LIBXML_XPATH_ENABLED or LIBXML_SCHEMAS_ENABLED*/
568
+ #endif /* LIBXML_XPATH_ENABLED */
579
569
  #endif /* ! __XML_XPATH_H__ */
@@ -22,6 +22,12 @@
22
22
  extern "C" {
23
23
  #endif
24
24
 
25
+ /*
26
+ * Backward compatibility
27
+ */
28
+ #define valuePush xmlXPathValuePush
29
+ #define valuePop xmlXPathValuePop
30
+
25
31
  /************************************************************************
26
32
  * *
27
33
  * Helpers *
@@ -478,11 +484,10 @@ XMLPUBFUN xmlXPathParserContextPtr
478
484
  XMLPUBFUN void
479
485
  xmlXPathFreeParserContext (xmlXPathParserContextPtr ctxt);
480
486
 
481
- /* TODO: remap to xmlXPathValuePop and Push. */
482
487
  XMLPUBFUN xmlXPathObjectPtr
483
- valuePop (xmlXPathParserContextPtr ctxt);
488
+ xmlXPathValuePop (xmlXPathParserContextPtr ctxt);
484
489
  XMLPUBFUN int
485
- valuePush (xmlXPathParserContextPtr ctxt,
490
+ xmlXPathValuePush (xmlXPathParserContextPtr ctxt,
486
491
  xmlXPathObjectPtr value);
487
492
 
488
493
  XMLPUBFUN xmlXPathObjectPtr
@@ -516,6 +521,7 @@ XMLPUBFUN void
516
521
 
517
522
  XMLPUBFUN void
518
523
  xmlXPathRoot (xmlXPathParserContextPtr ctxt);
524
+ XML_DEPRECATED
519
525
  XMLPUBFUN void
520
526
  xmlXPathEvalExpr (xmlXPathParserContextPtr ctxt);
521
527
  XMLPUBFUN xmlChar *
@@ -28,88 +28,10 @@
28
28
  extern "C" {
29
29
  #endif
30
30
 
31
- #if defined(LIBXML_XPTR_LOCS_ENABLED)
32
- /*
33
- * A Location Set
34
- */
35
- typedef struct _xmlLocationSet xmlLocationSet;
36
- typedef xmlLocationSet *xmlLocationSetPtr;
37
- struct _xmlLocationSet {
38
- int locNr; /* number of locations in the set */
39
- int locMax; /* size of the array as allocated */
40
- xmlXPathObjectPtr *locTab;/* array of locations */
41
- };
42
-
43
- /*
44
- * Handling of location sets.
45
- */
46
-
47
- XML_DEPRECATED
48
- XMLPUBFUN xmlLocationSetPtr
49
- xmlXPtrLocationSetCreate (xmlXPathObjectPtr val);
50
- XML_DEPRECATED
51
- XMLPUBFUN void
52
- xmlXPtrFreeLocationSet (xmlLocationSetPtr obj);
53
- XML_DEPRECATED
54
- XMLPUBFUN xmlLocationSetPtr
55
- xmlXPtrLocationSetMerge (xmlLocationSetPtr val1,
56
- xmlLocationSetPtr val2);
57
- XML_DEPRECATED
58
- XMLPUBFUN xmlXPathObjectPtr
59
- xmlXPtrNewRange (xmlNodePtr start,
60
- int startindex,
61
- xmlNodePtr end,
62
- int endindex);
63
- XML_DEPRECATED
64
- XMLPUBFUN xmlXPathObjectPtr
65
- xmlXPtrNewRangePoints (xmlXPathObjectPtr start,
66
- xmlXPathObjectPtr end);
67
- XML_DEPRECATED
68
- XMLPUBFUN xmlXPathObjectPtr
69
- xmlXPtrNewRangeNodePoint (xmlNodePtr start,
70
- xmlXPathObjectPtr end);
71
- XML_DEPRECATED
72
- XMLPUBFUN xmlXPathObjectPtr
73
- xmlXPtrNewRangePointNode (xmlXPathObjectPtr start,
74
- xmlNodePtr end);
75
- XML_DEPRECATED
76
- XMLPUBFUN xmlXPathObjectPtr
77
- xmlXPtrNewRangeNodes (xmlNodePtr start,
78
- xmlNodePtr end);
79
- XML_DEPRECATED
80
- XMLPUBFUN xmlXPathObjectPtr
81
- xmlXPtrNewLocationSetNodes (xmlNodePtr start,
82
- xmlNodePtr end);
83
- XML_DEPRECATED
84
- XMLPUBFUN xmlXPathObjectPtr
85
- xmlXPtrNewLocationSetNodeSet(xmlNodeSetPtr set);
86
- XML_DEPRECATED
87
- XMLPUBFUN xmlXPathObjectPtr
88
- xmlXPtrNewRangeNodeObject (xmlNodePtr start,
89
- xmlXPathObjectPtr end);
90
- XML_DEPRECATED
91
- XMLPUBFUN xmlXPathObjectPtr
92
- xmlXPtrNewCollapsedRange (xmlNodePtr start);
93
- XML_DEPRECATED
94
- XMLPUBFUN void
95
- xmlXPtrLocationSetAdd (xmlLocationSetPtr cur,
96
- xmlXPathObjectPtr val);
97
- XML_DEPRECATED
98
- XMLPUBFUN xmlXPathObjectPtr
99
- xmlXPtrWrapLocationSet (xmlLocationSetPtr val);
100
- XML_DEPRECATED
101
- XMLPUBFUN void
102
- xmlXPtrLocationSetDel (xmlLocationSetPtr cur,
103
- xmlXPathObjectPtr val);
104
- XML_DEPRECATED
105
- XMLPUBFUN void
106
- xmlXPtrLocationSetRemove (xmlLocationSetPtr cur,
107
- int val);
108
- #endif /* defined(LIBXML_XPTR_LOCS_ENABLED) */
109
-
110
31
  /*
111
32
  * Functions.
112
33
  */
34
+ XML_DEPRECATED
113
35
  XMLPUBFUN xmlXPathContextPtr
114
36
  xmlXPtrNewContext (xmlDocPtr doc,
115
37
  xmlNodePtr here,
@@ -118,18 +40,6 @@ XMLPUBFUN xmlXPathObjectPtr
118
40
  xmlXPtrEval (const xmlChar *str,
119
41
  xmlXPathContextPtr ctx);
120
42
 
121
- #if defined(LIBXML_XPTR_LOCS_ENABLED)
122
- XML_DEPRECATED
123
- XMLPUBFUN void
124
- xmlXPtrRangeToFunction (xmlXPathParserContextPtr ctxt,
125
- int nargs);
126
- XML_DEPRECATED
127
- XMLPUBFUN xmlNodePtr
128
- xmlXPtrBuildNodeList (xmlXPathObjectPtr obj);
129
- XML_DEPRECATED
130
- XMLPUBFUN void
131
- xmlXPtrEvalRangePredicate (xmlXPathParserContextPtr ctxt);
132
- #endif /* defined(LIBXML_XPTR_LOCS_ENABLED) */
133
43
  #ifdef __cplusplus
134
44
  }
135
45
  #endif
@@ -32,10 +32,10 @@
32
32
  #endif
33
33
 
34
34
  #define PIXMAN_VERSION_MAJOR 0
35
- #define PIXMAN_VERSION_MINOR 44
35
+ #define PIXMAN_VERSION_MINOR 46
36
36
  #define PIXMAN_VERSION_MICRO 2
37
37
 
38
- #define PIXMAN_VERSION_STRING "0.44.2"
38
+ #define PIXMAN_VERSION_STRING "0.46.2"
39
39
 
40
40
  #define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
41
41
  ((major) * 10000) \
@@ -754,6 +754,184 @@ void pixman_region32_reset (pixman_region32_t
754
754
 
755
755
  PIXMAN_API
756
756
  void pixman_region32_clear (pixman_region32_t *region);
757
+ /*
758
+ * 64 bit fractional regions
759
+ */
760
+ typedef struct pixman_region64f_data pixman_region64f_data_t;
761
+ typedef struct pixman_box64f pixman_box64f_t;
762
+ typedef struct pixman_rectangle64f pixman_rectangle64f_t;
763
+ typedef struct pixman_region64f pixman_region64f_t;
764
+
765
+ struct pixman_region64f_data {
766
+ long size;
767
+ long numRects;
768
+ /* pixman_box64f_t rects[size]; in memory but not explicitly declared */
769
+ };
770
+
771
+ struct pixman_rectangle64f
772
+ {
773
+ double x, y;
774
+ double width, height;
775
+ };
776
+
777
+ struct pixman_box64f
778
+ {
779
+ double x1, y1, x2, y2;
780
+ };
781
+
782
+ struct pixman_region64f
783
+ {
784
+ pixman_box64f_t extents;
785
+ pixman_region64f_data_t *data;
786
+ };
787
+
788
+ /* creation/destruction */
789
+ PIXMAN_API
790
+ void pixman_region64f_init (pixman_region64f_t *region);
791
+
792
+ PIXMAN_API
793
+ void pixman_region64f_init_rect (pixman_region64f_t *region,
794
+ int x,
795
+ int y,
796
+ unsigned int width,
797
+ unsigned int height);
798
+
799
+ PIXMAN_API
800
+ void pixman_region64f_init_rectf (pixman_region64f_t *region,
801
+ double x,
802
+ double y,
803
+ double width,
804
+ double height);
805
+
806
+ PIXMAN_API
807
+ pixman_bool_t pixman_region64f_init_rects (pixman_region64f_t *region,
808
+ const pixman_box64f_t *boxes,
809
+ int count);
810
+
811
+ PIXMAN_API
812
+ void pixman_region64f_init_with_extents (pixman_region64f_t *region,
813
+ const pixman_box64f_t *extents);
814
+
815
+ PIXMAN_API
816
+ void pixman_region64f_init_from_image (pixman_region64f_t *region,
817
+ pixman_image_t *image);
818
+
819
+ PIXMAN_API
820
+ void pixman_region64f_fini (pixman_region64f_t *region);
821
+
822
+
823
+ /* manipulation */
824
+ PIXMAN_API
825
+ void pixman_region64f_translate (pixman_region64f_t *region,
826
+ int x,
827
+ int y);
828
+
829
+ PIXMAN_API
830
+ void pixman_region64f_translatef (pixman_region64f_t *region,
831
+ double x,
832
+ double y);
833
+
834
+ PIXMAN_API
835
+ pixman_bool_t pixman_region64f_copy (pixman_region64f_t *dest,
836
+ const pixman_region64f_t *source);
837
+
838
+ PIXMAN_API
839
+ pixman_bool_t pixman_region64f_intersect (pixman_region64f_t *new_reg,
840
+ const pixman_region64f_t *reg1,
841
+ const pixman_region64f_t *reg2);
842
+
843
+ PIXMAN_API
844
+ pixman_bool_t pixman_region64f_union (pixman_region64f_t *new_reg,
845
+ const pixman_region64f_t *reg1,
846
+ const pixman_region64f_t *reg2);
847
+
848
+ PIXMAN_API
849
+ pixman_bool_t pixman_region64f_intersect_rect (pixman_region64f_t *dest,
850
+ const pixman_region64f_t *source,
851
+ int x,
852
+ int y,
853
+ unsigned int width,
854
+ unsigned int height);
855
+
856
+ PIXMAN_API
857
+ pixman_bool_t pixman_region64f_intersect_rectf (pixman_region64f_t *dest,
858
+ const pixman_region64f_t *source,
859
+ double x,
860
+ double y,
861
+ double width,
862
+ double height);
863
+
864
+ PIXMAN_API
865
+ pixman_bool_t pixman_region64f_union_rect (pixman_region64f_t *dest,
866
+ const pixman_region64f_t *source,
867
+ int x,
868
+ int y,
869
+ unsigned int width,
870
+ unsigned int height);
871
+
872
+ PIXMAN_API
873
+ pixman_bool_t pixman_region64f_union_rectf (pixman_region64f_t *dest,
874
+ const pixman_region64f_t *source,
875
+ double x,
876
+ double y,
877
+ double width,
878
+ double height);
879
+
880
+ PIXMAN_API
881
+ pixman_bool_t pixman_region64f_subtract (pixman_region64f_t *reg_d,
882
+ const pixman_region64f_t *reg_m,
883
+ const pixman_region64f_t *reg_s);
884
+
885
+ PIXMAN_API
886
+ pixman_bool_t pixman_region64f_inverse (pixman_region64f_t *new_reg,
887
+ const pixman_region64f_t *reg1,
888
+ const pixman_box64f_t *inv_rect);
889
+
890
+ PIXMAN_API
891
+ pixman_bool_t pixman_region64f_contains_point (const pixman_region64f_t *region,
892
+ int x,
893
+ int y,
894
+ pixman_box64f_t *box);
895
+
896
+ PIXMAN_API
897
+ pixman_bool_t pixman_region64f_contains_pointf (const pixman_region64f_t *region,
898
+ double x,
899
+ double y,
900
+ pixman_box64f_t *box);
901
+
902
+ PIXMAN_API
903
+ pixman_region_overlap_t pixman_region64f_contains_rectangle(const pixman_region64f_t *region,
904
+ const pixman_box64f_t *prect);
905
+
906
+ PIXMAN_API
907
+ pixman_bool_t pixman_region64f_empty (const pixman_region64f_t *region);
908
+
909
+ PIXMAN_API
910
+ pixman_bool_t pixman_region64f_not_empty (const pixman_region64f_t *region);
911
+
912
+ PIXMAN_API
913
+ pixman_box64f_t * pixman_region64f_extents (const pixman_region64f_t *region);
914
+
915
+ PIXMAN_API
916
+ int pixman_region64f_n_rects (const pixman_region64f_t *region);
917
+
918
+ PIXMAN_API
919
+ pixman_box64f_t * pixman_region64f_rectangles (const pixman_region64f_t *region,
920
+ int *n_rects);
921
+
922
+ PIXMAN_API
923
+ pixman_bool_t pixman_region64f_equal (const pixman_region64f_t *region1,
924
+ const pixman_region64f_t *region2);
925
+
926
+ PIXMAN_API
927
+ pixman_bool_t pixman_region64f_selfcheck (pixman_region64f_t *region);
928
+
929
+ PIXMAN_API
930
+ void pixman_region64f_reset (pixman_region64f_t *region,
931
+ const pixman_box64f_t *box);
932
+
933
+ PIXMAN_API
934
+ void pixman_region64f_clear (pixman_region64f_t *region);
757
935
 
758
936
 
759
937
  /* Copy / Fill / Misc */
@@ -880,6 +1058,10 @@ typedef enum {
880
1058
  /* 96bpp formats */
881
1059
  PIXMAN_rgb_float = PIXMAN_FORMAT_BYTE(96,PIXMAN_TYPE_RGBA_FLOAT,0,32,32,32),
882
1060
 
1061
+ /* 64bpp formats */
1062
+ /* [63:0] A:B:G:R 16:16:16:16 native endian */
1063
+ PIXMAN_a16b16g16r16 = PIXMAN_FORMAT_BYTE(64,PIXMAN_TYPE_ABGR,16,16,16,16),
1064
+
883
1065
  /* 32bpp formats */
884
1066
  PIXMAN_a8r8g8b8 = PIXMAN_FORMAT(32,PIXMAN_TYPE_ARGB,8,8,8,8),
885
1067
  PIXMAN_x8r8g8b8 = PIXMAN_FORMAT(32,PIXMAN_TYPE_ARGB,0,8,8,8),
@@ -1021,6 +1203,10 @@ PIXMAN_API
1021
1203
  pixman_bool_t pixman_image_set_clip_region32 (pixman_image_t *image,
1022
1204
  const pixman_region32_t *region);
1023
1205
 
1206
+ PIXMAN_API
1207
+ pixman_bool_t pixman_image_set_clip_region64f (pixman_image_t *image,
1208
+ const pixman_region64f_t *region);
1209
+
1024
1210
  PIXMAN_API
1025
1211
  void pixman_image_set_has_client_clip (pixman_image_t *image,
1026
1212
  pixman_bool_t clien_clip);
@@ -1177,6 +1363,20 @@ void pixman_image_composite32 (pixman_op_t op,
1177
1363
  int32_t width,
1178
1364
  int32_t height);
1179
1365
 
1366
+ PIXMAN_API
1367
+ void pixman_image_composite64f (pixman_op_t op,
1368
+ pixman_image_t *src,
1369
+ pixman_image_t *mask,
1370
+ pixman_image_t *dest,
1371
+ double src_x,
1372
+ double src_y,
1373
+ double mask_x,
1374
+ double mask_y,
1375
+ double dest_x,
1376
+ double dest_y,
1377
+ double width,
1378
+ double height);
1379
+
1180
1380
  /* Executive Summary: This function is a no-op that only exists
1181
1381
  * for historical reasons.
1182
1382
  *
package/include/png.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* png.h - header file for PNG reference library
2
2
  *
3
- * libpng version 1.6.47
3
+ * libpng version 1.6.48
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
@@ -14,7 +14,7 @@
14
14
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
15
15
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
16
16
  * Glenn Randers-Pehrson
17
- * libpng versions 1.6.36, December 2018, through 1.6.47, February 2025:
17
+ * libpng versions 1.6.36, December 2018, through 1.6.48, April 2025:
18
18
  * Cosmin Truta
19
19
  * See also "Contributing Authors", below.
20
20
  */
@@ -238,7 +238,7 @@
238
238
  * ...
239
239
  * 1.5.30 15 10530 15.so.15.30[.0]
240
240
  * ...
241
- * 1.6.47 16 10647 16.so.16.47[.0]
241
+ * 1.6.48 16 10648 16.so.16.48[.0]
242
242
  *
243
243
  * Henceforth the source version will match the shared-library major and
244
244
  * minor numbers; the shared-library major version number will be used for
@@ -274,7 +274,7 @@
274
274
  */
275
275
 
276
276
  /* Version information for png.h - this should match the version in png.c */
277
- #define PNG_LIBPNG_VER_STRING "1.6.47"
277
+ #define PNG_LIBPNG_VER_STRING "1.6.48"
278
278
  #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
279
279
 
280
280
  /* The versions of shared library builds should stay in sync, going forward */
@@ -285,7 +285,7 @@
285
285
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
286
286
  #define PNG_LIBPNG_VER_MAJOR 1
287
287
  #define PNG_LIBPNG_VER_MINOR 6
288
- #define PNG_LIBPNG_VER_RELEASE 47
288
+ #define PNG_LIBPNG_VER_RELEASE 48
289
289
 
290
290
  /* This should be zero for a public release, or non-zero for a
291
291
  * development version.
@@ -316,7 +316,7 @@
316
316
  * From version 1.0.1 it is:
317
317
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
318
318
  */
319
- #define PNG_LIBPNG_VER 10647 /* 1.6.47 */
319
+ #define PNG_LIBPNG_VER 10648 /* 1.6.48 */
320
320
 
321
321
  /* Library configuration: these options cannot be changed after
322
322
  * the library has been built.
@@ -426,7 +426,7 @@ extern "C" {
426
426
  /* This triggers a compiler error in png.c, if png.c and png.h
427
427
  * do not agree upon the version number.
428
428
  */
429
- typedef char* png_libpng_version_1_6_47;
429
+ typedef char* png_libpng_version_1_6_48;
430
430
 
431
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
432
432
  *
@@ -1570,7 +1570,7 @@ PNG_EXPORT(226, void, png_set_text_compression_method, (png_structrp png_ptr,
1570
1570
 
1571
1571
  #ifdef PNG_STDIO_SUPPORTED
1572
1572
  /* Initialize the input/output for the PNG file to the default functions. */
1573
- PNG_EXPORT(74, void, png_init_io, (png_structrp png_ptr, png_FILE_p fp));
1573
+ PNG_EXPORT(74, void, png_init_io, (png_structrp png_ptr, FILE *fp));
1574
1574
  #endif
1575
1575
 
1576
1576
  /* Replace the (error and abort), and warning functions with user
@@ -3088,7 +3088,7 @@ PNG_EXPORT(234, int, png_image_begin_read_from_file, (png_imagep image,
3088
3088
  */
3089
3089
 
3090
3090
  PNG_EXPORT(235, int, png_image_begin_read_from_stdio, (png_imagep image,
3091
- FILE* file));
3091
+ FILE *file));
3092
3092
  /* The PNG header is read from the stdio FILE object. */
3093
3093
  #endif /* STDIO */
3094
3094
 
@@ -3163,7 +3163,7 @@ PNG_EXPORT(239, int, png_image_write_to_file, (png_imagep image,
3163
3163
  PNG_EXPORT(240, int, png_image_write_to_stdio, (png_imagep image, FILE *file,
3164
3164
  int convert_to_8_bit, const void *buffer, png_int_32 row_stride,
3165
3165
  const void *colormap));
3166
- /* Write the image to the given (FILE*). */
3166
+ /* Write the image to the given FILE object. */
3167
3167
  #endif /* SIMPLIFIED_WRITE_STDIO */
3168
3168
 
3169
3169
  /* With all write APIs if image is in one of the linear formats with 16-bit