@revizly/sharp-libvips-dev 1.0.8 → 1.0.10

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 (145) hide show
  1. package/cplusplus/VImage.cpp +18 -2
  2. package/cplusplus/vips-operators.cpp +79 -3
  3. package/include/aom/aom.h +1 -1
  4. package/include/aom/aom_codec.h +22 -5
  5. package/include/aom/aom_decoder.h +1 -1
  6. package/include/aom/aom_encoder.h +5 -1
  7. package/include/aom/aom_external_partition.h +1 -1
  8. package/include/aom/aom_frame_buffer.h +1 -1
  9. package/include/aom/aom_image.h +4 -2
  10. package/include/aom/aom_integer.h +1 -9
  11. package/include/aom/aomcx.h +99 -16
  12. package/include/aom/aomdx.h +1 -1
  13. package/include/archive.h +2 -2
  14. package/include/archive_entry.h +7 -1
  15. package/include/cairo/cairo-version.h +1 -1
  16. package/include/expat.h +4 -2
  17. package/include/expat_config.h +3 -6
  18. package/include/ffi.h +1 -1
  19. package/include/fontconfig/fontconfig.h +22 -2
  20. package/include/fribidi/fribidi-config.h +2 -2
  21. package/include/fribidi/fribidi-unicode-version.h +3 -3
  22. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
  23. package/include/gio-unix-2.0/gio/gunixmounts.h +105 -24
  24. package/include/glib-2.0/gio/gdbusconnection.h +65 -5
  25. package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
  26. package/include/glib-2.0/gio/gfile.h +4 -0
  27. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  28. package/include/glib-2.0/gio/gioenums.h +16 -5
  29. package/include/glib-2.0/gio/gioenumtypes.h +3 -3
  30. package/include/glib-2.0/gio/giotypes.h +4 -4
  31. package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
  32. package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  33. package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
  34. package/include/glib-2.0/gio/gproxy.h +1 -1
  35. package/include/glib-2.0/gio/gproxyresolver.h +1 -1
  36. package/include/glib-2.0/gio/gresource.h +6 -0
  37. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  38. package/include/glib-2.0/gio/gvfs.h +3 -3
  39. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  40. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  41. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  42. package/include/glib-2.0/girepository/gitypes.h +1 -0
  43. package/include/glib-2.0/glib/garray.h +1 -1
  44. package/include/glib-2.0/glib/gerror.h +1 -1
  45. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  46. package/include/glib-2.0/glib/gmacros.h +3 -3
  47. package/include/glib-2.0/glib/gmain.h +131 -48
  48. package/include/glib-2.0/glib/gmem.h +3 -0
  49. package/include/glib-2.0/glib/goption.h +58 -36
  50. package/include/glib-2.0/glib/gqueue.h +1 -1
  51. package/include/glib-2.0/glib/grefstring.h +4 -0
  52. package/include/glib-2.0/glib/gstdio.h +65 -0
  53. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  54. package/include/glib-2.0/glib/gstring.h +4 -0
  55. package/include/glib-2.0/glib/gtestutils.h +65 -33
  56. package/include/glib-2.0/glib/gthread.h +2 -0
  57. package/include/glib-2.0/glib/gtypes.h +1 -1
  58. package/include/glib-2.0/glib/gunicode.h +21 -5
  59. package/include/glib-2.0/glib/gvariant.h +50 -13
  60. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  61. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  62. package/include/glib-2.0/glib-unix.h +21 -0
  63. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  64. package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
  65. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  66. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +3 -3
  67. package/include/glib-2.0/gobject/gparam.h +4 -2
  68. package/include/glib-2.0/gobject/gsignal.h +22 -7
  69. package/include/glib-2.0/gobject/gtype.h +10 -4
  70. package/include/harfbuzz/hb-buffer.h +7 -0
  71. package/include/harfbuzz/hb-common.h +18 -0
  72. package/include/harfbuzz/hb-draw.h +1 -1
  73. package/include/harfbuzz/hb-face.h +43 -2
  74. package/include/harfbuzz/hb-ft.h +3 -0
  75. package/include/harfbuzz/hb-ot-shape.h +6 -0
  76. package/include/harfbuzz/hb-paint.h +1 -1
  77. package/include/harfbuzz/hb-shape.h +2 -0
  78. package/include/harfbuzz/hb-subset-serialize.h +83 -0
  79. package/include/harfbuzz/hb-subset.h +12 -0
  80. package/include/harfbuzz/hb-version.h +3 -3
  81. package/include/lcms2.h +7 -5
  82. package/include/lcms2_plugin.h +1 -1
  83. package/include/libexif/exif-byte-order.h +2 -0
  84. package/include/libexif/exif-content.h +2 -0
  85. package/include/libexif/exif-data-type.h +2 -0
  86. package/include/libexif/exif-data.h +3 -2
  87. package/include/libexif/exif-entry.h +2 -0
  88. package/include/libexif/exif-format.h +2 -0
  89. package/include/libexif/exif-ifd.h +2 -0
  90. package/include/libexif/exif-loader.h +2 -0
  91. package/include/libexif/exif-log.h +2 -0
  92. package/include/libexif/exif-mem.h +2 -0
  93. package/include/libexif/exif-mnote-data.h +2 -0
  94. package/include/libexif/exif-tag.h +2 -0
  95. package/include/libexif/exif-utils.h +2 -0
  96. package/include/libheif/heif.h +322 -26
  97. package/include/libheif/heif_properties.h +24 -4
  98. package/include/libheif/heif_version.h +2 -2
  99. package/include/libpng16/png.h +126 -18
  100. package/include/libpng16/pngconf.h +5 -6
  101. package/include/libpng16/pnglibconf.h +11 -2
  102. package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
  103. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
  104. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  105. package/include/librsvg-2.0/librsvg/rsvg.h +3 -1
  106. package/include/libxml2/libxml/xmlexports.h +2 -2
  107. package/include/libxml2/libxml/xmlversion.h +4 -4
  108. package/include/pango-1.0/pango/pango-features.h +3 -3
  109. package/include/pango-1.0/pango/pango-font.h +31 -2
  110. package/include/pango-1.0/pango/pango-fontmap.h +4 -0
  111. package/include/pango-1.0/pango/pango-layout.h +10 -1
  112. package/include/pango-1.0/pango/pango-version-macros.h +52 -0
  113. package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
  114. package/include/pixman-1/pixman-version.h +3 -3
  115. package/include/png.h +126 -18
  116. package/include/pngconf.h +5 -6
  117. package/include/pnglibconf.h +11 -2
  118. package/include/tiffio.h +11 -11
  119. package/include/tiffvers.h +4 -4
  120. package/include/vips/VImage8.h +170 -60
  121. package/include/vips/arithmetic.h +9 -0
  122. package/include/vips/basic.h +8 -4
  123. package/include/vips/buf.h +0 -2
  124. package/include/vips/connection.h +0 -2
  125. package/include/vips/conversion.h +0 -3
  126. package/include/vips/create.h +11 -0
  127. package/include/vips/enumtypes.h +3 -3
  128. package/include/vips/foreign.h +4 -18
  129. package/include/vips/header.h +7 -0
  130. package/include/vips/image.h +7 -2
  131. package/include/vips/interpolate.h +2 -3
  132. package/include/vips/memory.h +19 -1
  133. package/include/vips/operation.h +2 -7
  134. package/include/vips/private.h +7 -0
  135. package/include/vips/util.h +6 -15
  136. package/include/vips/version.h +8 -8
  137. package/include/vips/vips.h +11 -5
  138. package/include/vips/vips8 +19 -12
  139. package/include/webp/encode.h +5 -4
  140. package/include/webp/sharpyuv/sharpyuv.h +14 -5
  141. package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
  142. package/include/webp/types.h +2 -2
  143. package/include/zlib.h +4 -4
  144. package/package.json +1 -1
  145. package/versions.json +22 -22
@@ -1,9 +1,8 @@
1
-
2
1
  /* png.h - header file for PNG reference library
3
2
  *
4
- * libpng version 1.6.43
3
+ * libpng version 1.6.47
5
4
  *
6
- * Copyright (c) 2018-2024 Cosmin Truta
5
+ * Copyright (c) 2018-2025 Cosmin Truta
7
6
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
8
7
  * Copyright (c) 1996-1997 Andreas Dilger
9
8
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -15,7 +14,7 @@
15
14
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
16
15
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
17
16
  * Glenn Randers-Pehrson
18
- * libpng versions 1.6.36, December 2018, through 1.6.43, February 2024:
17
+ * libpng versions 1.6.36, December 2018, through 1.6.47, February 2025:
19
18
  * Cosmin Truta
20
19
  * See also "Contributing Authors", below.
21
20
  */
@@ -27,8 +26,8 @@
27
26
  * PNG Reference Library License version 2
28
27
  * ---------------------------------------
29
28
  *
30
- * * Copyright (c) 1995-2024 The PNG Reference Library Authors.
31
- * * Copyright (c) 2018-2024 Cosmin Truta.
29
+ * * Copyright (c) 1995-2025 The PNG Reference Library Authors.
30
+ * * Copyright (c) 2018-2025 Cosmin Truta.
32
31
  * * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
33
32
  * * Copyright (c) 1996-1997 Andreas Dilger.
34
33
  * * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -239,7 +238,7 @@
239
238
  * ...
240
239
  * 1.5.30 15 10530 15.so.15.30[.0]
241
240
  * ...
242
- * 1.6.43 16 10643 16.so.16.43[.0]
241
+ * 1.6.47 16 10647 16.so.16.47[.0]
243
242
  *
244
243
  * Henceforth the source version will match the shared-library major and
245
244
  * minor numbers; the shared-library major version number will be used for
@@ -275,7 +274,7 @@
275
274
  */
276
275
 
277
276
  /* Version information for png.h - this should match the version in png.c */
278
- #define PNG_LIBPNG_VER_STRING "1.6.43"
277
+ #define PNG_LIBPNG_VER_STRING "1.6.47"
279
278
  #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
280
279
 
281
280
  /* The versions of shared library builds should stay in sync, going forward */
@@ -286,18 +285,18 @@
286
285
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
287
286
  #define PNG_LIBPNG_VER_MAJOR 1
288
287
  #define PNG_LIBPNG_VER_MINOR 6
289
- #define PNG_LIBPNG_VER_RELEASE 43
288
+ #define PNG_LIBPNG_VER_RELEASE 47
290
289
 
291
290
  /* This should be zero for a public release, or non-zero for a
292
291
  * development version.
293
292
  */
294
- #define PNG_LIBPNG_VER_BUILD 0
293
+ #define PNG_LIBPNG_VER_BUILD 0
295
294
 
296
295
  /* Release Status */
297
- #define PNG_LIBPNG_BUILD_ALPHA 1
298
- #define PNG_LIBPNG_BUILD_BETA 2
299
- #define PNG_LIBPNG_BUILD_RC 3
300
- #define PNG_LIBPNG_BUILD_STABLE 4
296
+ #define PNG_LIBPNG_BUILD_ALPHA 1
297
+ #define PNG_LIBPNG_BUILD_BETA 2
298
+ #define PNG_LIBPNG_BUILD_RC 3
299
+ #define PNG_LIBPNG_BUILD_STABLE 4
301
300
  #define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK 7
302
301
 
303
302
  /* Release-Specific Flags */
@@ -317,7 +316,7 @@
317
316
  * From version 1.0.1 it is:
318
317
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
319
318
  */
320
- #define PNG_LIBPNG_VER 10643 /* 1.6.43 */
319
+ #define PNG_LIBPNG_VER 10647 /* 1.6.47 */
321
320
 
322
321
  /* Library configuration: these options cannot be changed after
323
322
  * the library has been built.
@@ -427,7 +426,7 @@ extern "C" {
427
426
  /* This triggers a compiler error in png.c, if png.c and png.h
428
427
  * do not agree upon the version number.
429
428
  */
430
- typedef char* png_libpng_version_1_6_43;
429
+ typedef char* png_libpng_version_1_6_47;
431
430
 
432
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
433
432
  *
@@ -745,6 +744,21 @@ typedef png_unknown_chunk * * png_unknown_chunkpp;
745
744
  #define PNG_INFO_sCAL 0x4000U /* ESR, 1.0.6 */
746
745
  #define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */
747
746
  #define PNG_INFO_eXIf 0x10000U /* GR-P, 1.6.31 */
747
+ #define PNG_INFO_cICP 0x20000U /* PNGv3: 1.6.45 */
748
+ #define PNG_INFO_cLLI 0x40000U /* PNGv3: 1.6.45 */
749
+ #define PNG_INFO_mDCV 0x80000U /* PNGv3: 1.6.45 */
750
+ /* APNG: these chunks are stored as unknown, these flags are never set
751
+ * however they are provided as a convenience for implementors of APNG and
752
+ * avoids any merge conflicts.
753
+ *
754
+ * Private chunks: these chunk names violate the chunk name recommendations
755
+ * because the chunk definitions have no signature and because the private
756
+ * chunks with these names have been reserved. Private definitions should
757
+ * avoid them.
758
+ */
759
+ #define PNG_INFO_acTL 0x100000U /* PNGv3: 1.6.45: unknown */
760
+ #define PNG_INFO_fcTL 0x200000U /* PNGv3: 1.6.45: unknown */
761
+ #define PNG_INFO_fdAT 0x400000U /* PNGv3: 1.6.45: unknown */
748
762
 
749
763
  /* This is used for the transformation routines, as some of them
750
764
  * change these values for the row. It also should enable using
@@ -824,7 +838,7 @@ typedef PNG_CALLBACK(int, *png_user_chunk_ptr, (png_structp,
824
838
  * your compiler. This may be very difficult - try using a different compiler
825
839
  * to build the library!
826
840
  */
827
- PNG_FUNCTION(void, (PNGCAPI *png_longjmp_ptr), PNGARG((jmp_buf, int)), typedef);
841
+ PNG_FUNCTION(void, (PNGCAPI *png_longjmp_ptr), (jmp_buf, int), typedef);
828
842
  #endif
829
843
 
830
844
  /* Transform masks for the high-level interface */
@@ -1974,6 +1988,46 @@ PNG_FIXED_EXPORT(233, void, png_set_cHRM_XYZ_fixed, (png_const_structrp png_ptr,
1974
1988
  png_fixed_point int_blue_Z))
1975
1989
  #endif
1976
1990
 
1991
+ #ifdef PNG_cICP_SUPPORTED
1992
+ PNG_EXPORT(250, png_uint_32, png_get_cICP, (png_const_structrp png_ptr,
1993
+ png_const_inforp info_ptr, png_bytep colour_primaries,
1994
+ png_bytep transfer_function, png_bytep matrix_coefficients,
1995
+ png_bytep video_full_range_flag));
1996
+ #endif
1997
+
1998
+ #ifdef PNG_cICP_SUPPORTED
1999
+ PNG_EXPORT(251, void, png_set_cICP, (png_const_structrp png_ptr,
2000
+ png_inforp info_ptr, png_byte colour_primaries,
2001
+ png_byte transfer_function, png_byte matrix_coefficients,
2002
+ png_byte video_full_range_flag));
2003
+ #endif
2004
+
2005
+ #ifdef PNG_cLLI_SUPPORTED
2006
+ PNG_FP_EXPORT(252, png_uint_32, png_get_cLLI, (png_const_structrp png_ptr,
2007
+ png_const_inforp info_ptr, double *maximum_content_light_level,
2008
+ double *maximum_frame_average_light_level))
2009
+ PNG_FIXED_EXPORT(253, png_uint_32, png_get_cLLI_fixed,
2010
+ (png_const_structrp png_ptr, png_const_inforp info_ptr,
2011
+ /* The values below are in cd/m2 (nits) and are scaled by 10,000; not
2012
+ * 100,000 as in the case of png_fixed_point.
2013
+ */
2014
+ png_uint_32p maximum_content_light_level_scaled_by_10000,
2015
+ png_uint_32p maximum_frame_average_light_level_scaled_by_10000))
2016
+ #endif
2017
+
2018
+ #ifdef PNG_cLLI_SUPPORTED
2019
+ PNG_FP_EXPORT(254, void, png_set_cLLI, (png_const_structrp png_ptr,
2020
+ png_inforp info_ptr, double maximum_content_light_level,
2021
+ double maximum_frame_average_light_level))
2022
+ PNG_FIXED_EXPORT(255, void, png_set_cLLI_fixed, (png_const_structrp png_ptr,
2023
+ png_inforp info_ptr,
2024
+ /* The values below are in cd/m2 (nits) and are scaled by 10,000; not
2025
+ * 100,000 as in the case of png_fixed_point.
2026
+ */
2027
+ png_uint_32 maximum_content_light_level_scaled_by_10000,
2028
+ png_uint_32 maximum_frame_average_light_level_scaled_by_10000))
2029
+ #endif
2030
+
1977
2031
  #ifdef PNG_eXIf_SUPPORTED
1978
2032
  PNG_EXPORT(246, png_uint_32, png_get_eXIf, (png_const_structrp png_ptr,
1979
2033
  png_inforp info_ptr, png_bytep *exif));
@@ -2018,6 +2072,60 @@ PNG_EXPORT(144, void, png_set_IHDR, (png_const_structrp png_ptr,
2018
2072
  int color_type, int interlace_method, int compression_method,
2019
2073
  int filter_method));
2020
2074
 
2075
+ #ifdef PNG_mDCV_SUPPORTED
2076
+ PNG_FP_EXPORT(256, png_uint_32, png_get_mDCV, (png_const_structrp png_ptr,
2077
+ png_const_inforp info_ptr,
2078
+ /* The chromaticities of the mastering display. As cHRM, but independent of
2079
+ * the encoding endpoints in cHRM, or cICP, or iCCP. These values will
2080
+ * always be in the range 0 to 1.3107.
2081
+ */
2082
+ double *white_x, double *white_y, double *red_x, double *red_y,
2083
+ double *green_x, double *green_y, double *blue_x, double *blue_y,
2084
+ /* Mastering display luminance in cd/m2 (nits). */
2085
+ double *mastering_display_maximum_luminance,
2086
+ double *mastering_display_minimum_luminance))
2087
+
2088
+ PNG_FIXED_EXPORT(257, png_uint_32, png_get_mDCV_fixed,
2089
+ (png_const_structrp png_ptr, png_const_inforp info_ptr,
2090
+ png_fixed_point *int_white_x, png_fixed_point *int_white_y,
2091
+ png_fixed_point *int_red_x, png_fixed_point *int_red_y,
2092
+ png_fixed_point *int_green_x, png_fixed_point *int_green_y,
2093
+ png_fixed_point *int_blue_x, png_fixed_point *int_blue_y,
2094
+ /* Mastering display luminance in cd/m2 (nits) multiplied (scaled) by
2095
+ * 10,000.
2096
+ */
2097
+ png_uint_32p mastering_display_maximum_luminance_scaled_by_10000,
2098
+ png_uint_32p mastering_display_minimum_luminance_scaled_by_10000))
2099
+ #endif
2100
+
2101
+ #ifdef PNG_mDCV_SUPPORTED
2102
+ PNG_FP_EXPORT(258, void, png_set_mDCV, (png_const_structrp png_ptr,
2103
+ png_inforp info_ptr,
2104
+ /* The chromaticities of the mastering display. As cHRM, but independent of
2105
+ * the encoding endpoints in cHRM, or cICP, or iCCP.
2106
+ */
2107
+ double white_x, double white_y, double red_x, double red_y, double green_x,
2108
+ double green_y, double blue_x, double blue_y,
2109
+ /* Mastering display luminance in cd/m2 (nits). */
2110
+ double mastering_display_maximum_luminance,
2111
+ double mastering_display_minimum_luminance))
2112
+
2113
+ PNG_FIXED_EXPORT(259, void, png_set_mDCV_fixed, (png_const_structrp png_ptr,
2114
+ png_inforp info_ptr,
2115
+ /* The admissible range of these values is not the full range of a PNG
2116
+ * fixed point value. Negative values cannot be encoded and the maximum
2117
+ * value is about 1.3 */
2118
+ png_fixed_point int_white_x, png_fixed_point int_white_y,
2119
+ png_fixed_point int_red_x, png_fixed_point int_red_y,
2120
+ png_fixed_point int_green_x, png_fixed_point int_green_y,
2121
+ png_fixed_point int_blue_x, png_fixed_point int_blue_y,
2122
+ /* These are PNG unsigned 4 byte values: 31-bit unsigned values. The MSB
2123
+ * must be zero.
2124
+ */
2125
+ png_uint_32 mastering_display_maximum_luminance_scaled_by_10000,
2126
+ png_uint_32 mastering_display_minimum_luminance_scaled_by_10000))
2127
+ #endif
2128
+
2021
2129
  #ifdef PNG_oFFs_SUPPORTED
2022
2130
  PNG_EXPORT(145, png_uint_32, png_get_oFFs, (png_const_structrp png_ptr,
2023
2131
  png_const_inforp info_ptr, png_int_32 *offset_x, png_int_32 *offset_y,
@@ -3238,7 +3346,7 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option,
3238
3346
  * one to use is one more than this.)
3239
3347
  */
3240
3348
  #ifdef PNG_EXPORT_LAST_ORDINAL
3241
- PNG_EXPORT_LAST_ORDINAL(249);
3349
+ PNG_EXPORT_LAST_ORDINAL(259);
3242
3350
  #endif
3243
3351
 
3244
3352
  #ifdef __cplusplus
@@ -1,9 +1,8 @@
1
-
2
1
  /* pngconf.h - machine-configurable file for libpng
3
2
  *
4
- * libpng version 1.6.43
3
+ * libpng version 1.6.47
5
4
  *
6
- * Copyright (c) 2018-2024 Cosmin Truta
5
+ * Copyright (c) 2018-2025 Cosmin Truta
7
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
8
7
  * Copyright (c) 1996-1997 Andreas Dilger
9
8
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -88,7 +87,7 @@
88
87
 
89
88
  /* The PNGARG macro was used in versions of libpng prior to 1.6.0 to protect
90
89
  * against legacy (pre ISOC90) compilers that did not understand function
91
- * prototypes. It is not required for modern C compilers.
90
+ * prototypes. [Deprecated.]
92
91
  */
93
92
  #ifndef PNGARG
94
93
  # define PNGARG(arglist) arglist
@@ -298,7 +297,7 @@
298
297
 
299
298
  #ifndef PNG_EXPORTA
300
299
  # define PNG_EXPORTA(ordinal, type, name, args, attributes) \
301
- PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \
300
+ PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), args, \
302
301
  PNG_LINKAGE_API attributes)
303
302
  #endif
304
303
 
@@ -316,7 +315,7 @@
316
315
  #endif
317
316
 
318
317
  #ifndef PNG_CALLBACK
319
- # define PNG_CALLBACK(type, name, args) type (PNGCBAPI name) PNGARG(args)
318
+ # define PNG_CALLBACK(type, name, args) type (PNGCBAPI name) args
320
319
  #endif
321
320
 
322
321
  /* Support for compiler specific function attributes. These are used
@@ -1,8 +1,8 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.43 */
3
+ /* libpng version 1.6.47 */
4
4
 
5
- /* Copyright (c) 2018-2024 Cosmin Truta */
5
+ /* Copyright (c) 2018-2025 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
7
7
 
8
8
  /* This code is released under the libpng license. */
@@ -88,11 +88,14 @@
88
88
  #define PNG_READ_USER_TRANSFORM_SUPPORTED
89
89
  #define PNG_READ_bKGD_SUPPORTED
90
90
  #define PNG_READ_cHRM_SUPPORTED
91
+ #define PNG_READ_cICP_SUPPORTED
92
+ #define PNG_READ_cLLI_SUPPORTED
91
93
  #define PNG_READ_eXIf_SUPPORTED
92
94
  #define PNG_READ_gAMA_SUPPORTED
93
95
  #define PNG_READ_hIST_SUPPORTED
94
96
  #define PNG_READ_iCCP_SUPPORTED
95
97
  #define PNG_READ_iTXt_SUPPORTED
98
+ #define PNG_READ_mDCV_SUPPORTED
96
99
  #define PNG_READ_oFFs_SUPPORTED
97
100
  #define PNG_READ_pCAL_SUPPORTED
98
101
  #define PNG_READ_pHYs_SUPPORTED
@@ -158,11 +161,14 @@
158
161
  #define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
159
162
  #define PNG_WRITE_bKGD_SUPPORTED
160
163
  #define PNG_WRITE_cHRM_SUPPORTED
164
+ #define PNG_WRITE_cICP_SUPPORTED
165
+ #define PNG_WRITE_cLLI_SUPPORTED
161
166
  #define PNG_WRITE_eXIf_SUPPORTED
162
167
  #define PNG_WRITE_gAMA_SUPPORTED
163
168
  #define PNG_WRITE_hIST_SUPPORTED
164
169
  #define PNG_WRITE_iCCP_SUPPORTED
165
170
  #define PNG_WRITE_iTXt_SUPPORTED
171
+ #define PNG_WRITE_mDCV_SUPPORTED
166
172
  #define PNG_WRITE_oFFs_SUPPORTED
167
173
  #define PNG_WRITE_pCAL_SUPPORTED
168
174
  #define PNG_WRITE_pHYs_SUPPORTED
@@ -176,11 +182,14 @@
176
182
  #define PNG_WRITE_zTXt_SUPPORTED
177
183
  #define PNG_bKGD_SUPPORTED
178
184
  #define PNG_cHRM_SUPPORTED
185
+ #define PNG_cICP_SUPPORTED
186
+ #define PNG_cLLI_SUPPORTED
179
187
  #define PNG_eXIf_SUPPORTED
180
188
  #define PNG_gAMA_SUPPORTED
181
189
  #define PNG_hIST_SUPPORTED
182
190
  #define PNG_iCCP_SUPPORTED
183
191
  #define PNG_iTXt_SUPPORTED
192
+ #define PNG_mDCV_SUPPORTED
184
193
  #define PNG_oFFs_SUPPORTED
185
194
  #define PNG_pCAL_SUPPORTED
186
195
  #define PNG_pHYs_SUPPORTED
@@ -124,7 +124,7 @@
124
124
  #define LIBRSVG_HAVE_CSS (TRUE)
125
125
  #define LIBRSVG_HAVE_PIXBUF (0)
126
126
 
127
- #define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE)
127
+ #define LIBRSVG_CHECK_FEATURE(FEATURE) (LIBRSVG_HAVE_##FEATURE)
128
128
 
129
129
  #ifndef __GTK_DOC_IGNORE__
130
130
 
@@ -72,7 +72,7 @@ GdkPixbuf *rsvg_handle_get_pixbuf (RsvgHandle *handle);
72
72
  * Returns: (transfer full) (nullable): A pixbuf, or %NULL on error
73
73
  * during rendering.
74
74
  *
75
- * Since: 2.58
75
+ * Since: 2.59
76
76
  **/
77
77
  RSVG_API
78
78
  GdkPixbuf *rsvg_handle_get_pixbuf_and_error (RsvgHandle *handle, GError **error);
@@ -6,8 +6,8 @@
6
6
  #define RSVG_VERSION_H
7
7
 
8
8
  #define LIBRSVG_MAJOR_VERSION (2)
9
- #define LIBRSVG_MINOR_VERSION (58)
10
- #define LIBRSVG_MICRO_VERSION (93)
11
- #define LIBRSVG_VERSION "2.58.93"
9
+ #define LIBRSVG_MINOR_VERSION (59)
10
+ #define LIBRSVG_MICRO_VERSION (90)
11
+ #define LIBRSVG_VERSION "2.59.90"
12
12
 
13
13
  #endif
@@ -1172,6 +1172,8 @@ gboolean rsvg_handle_set_stylesheet (RsvgHandle *handle,
1172
1172
  * rsvg_handle_render_document() (or any of the other rendering
1173
1173
  * functions) will return an error with domain `G_IO_ERROR`, and code
1174
1174
  * `G_IO_ERROR_CANCELLED`.
1175
+ *
1176
+ * Since: 2.59.0
1175
1177
  */
1176
1178
  RSVG_API
1177
1179
  void rsvg_handle_set_cancellable_for_rendering (RsvgHandle *handle,
@@ -1326,7 +1328,7 @@ G_END_DECLS
1326
1328
  #include <librsvg/rsvg-version.h>
1327
1329
  #include <librsvg/rsvg-cairo.h>
1328
1330
 
1329
- #if LIBRSVG_CHECK_FEATURE(PIXBUF)
1331
+ #if LIBRSVG_HAVE_PIXBUF
1330
1332
  #include <librsvg/rsvg-pixbuf.h>
1331
1333
  #endif
1332
1334
 
@@ -67,7 +67,7 @@
67
67
  #define XML_DEPRECATED
68
68
  #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301
69
69
  #define XML_DEPRECATED __attribute__((deprecated))
70
- #elif _MSC_VER >= 1400
70
+ #elif defined(_MSC_VER) && _MSC_VER >= 1400
71
71
  /* Available since Visual Studio 2005 */
72
72
  #define XML_DEPRECATED __declspec(deprecated)
73
73
  #else
@@ -100,7 +100,7 @@
100
100
  #define XML_POP_WARNINGS \
101
101
  _Pragma("GCC diagnostic pop")
102
102
 
103
- #elif _MSC_VER >= 1400
103
+ #elif defined(_MSC_VER) && _MSC_VER >= 1400
104
104
 
105
105
  #define XML_IGNORE_FPTR_CAST_WARNINGS __pragma(warning(push))
106
106
  #define XML_POP_WARNINGS __pragma(warning(pop))
@@ -15,21 +15,21 @@
15
15
  *
16
16
  * the version string like "1.2.3"
17
17
  */
18
- #define LIBXML_DOTTED_VERSION "2.13.3"
18
+ #define LIBXML_DOTTED_VERSION "2.13.6"
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 21303
25
+ #define LIBXML_VERSION 21306
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 "21303"
32
+ #define LIBXML_VERSION_STRING "21306"
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(21303);
47
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21306);
48
48
 
49
49
  /**
50
50
  * LIBXML_THREAD_ENABLED:
@@ -2,9 +2,9 @@
2
2
  #define PANGO_FEATURES_H
3
3
 
4
4
  #define PANGO_VERSION_MAJOR 1
5
- #define PANGO_VERSION_MINOR 54
6
- #define PANGO_VERSION_MICRO 0
5
+ #define PANGO_VERSION_MINOR 56
6
+ #define PANGO_VERSION_MICRO 1
7
7
 
8
- #define PANGO_VERSION_STRING "1.54.0"
8
+ #define PANGO_VERSION_STRING "1.56.1"
9
9
 
10
10
  #endif /* PANGO_FEATURES_H */
@@ -177,12 +177,31 @@ typedef enum {
177
177
  * @PANGO_FONT_MASK_WEIGHT: the font weight is specified.
178
178
  * @PANGO_FONT_MASK_STRETCH: the font stretch is specified.
179
179
  * @PANGO_FONT_MASK_SIZE: the font size is specified.
180
- * @PANGO_FONT_MASK_GRAVITY: the font gravity is specified (Since: 1.16.)
181
- * @PANGO_FONT_MASK_VARIATIONS: OpenType font variations are specified (Since: 1.42)
182
180
  *
183
181
  * The bits in a `PangoFontMask` correspond to the set fields in a
184
182
  * `PangoFontDescription`.
185
183
  */
184
+ /**
185
+ * PANGO_FONT_MASK_GRAVITY:
186
+ *
187
+ * The font gravity is specified.
188
+ *
189
+ * Since: 1.16
190
+ */
191
+ /**
192
+ * PANGO_FONT_MASK_VARIATIONS:
193
+ *
194
+ * OpenType font variations are specified.
195
+ *
196
+ * Since: 1.42
197
+ */
198
+ /**
199
+ * PANGO_FONT_MASK_FEATURES:
200
+ *
201
+ * OpenType font features are specified.
202
+ *
203
+ * Since: 1.56
204
+ */
186
205
  typedef enum {
187
206
  PANGO_FONT_MASK_FAMILY = 1 << 0,
188
207
  PANGO_FONT_MASK_STYLE = 1 << 1,
@@ -192,6 +211,7 @@ typedef enum {
192
211
  PANGO_FONT_MASK_SIZE = 1 << 5,
193
212
  PANGO_FONT_MASK_GRAVITY = 1 << 6,
194
213
  PANGO_FONT_MASK_VARIATIONS = 1 << 7,
214
+ PANGO_FONT_MASK_FEATURES = 1 << 8,
195
215
  } PangoFontMask;
196
216
 
197
217
  /* CSS scale factors (1.2 factor between each size) */
@@ -316,6 +336,15 @@ void pango_font_description_set_variations (PangoFontDescript
316
336
  PANGO_AVAILABLE_IN_1_42
317
337
  const char *pango_font_description_get_variations (const PangoFontDescription *desc) G_GNUC_PURE;
318
338
 
339
+ PANGO_AVAILABLE_IN_1_56
340
+ void pango_font_description_set_features_static (PangoFontDescription *desc,
341
+ const char *features);
342
+ PANGO_AVAILABLE_IN_1_56
343
+ void pango_font_description_set_features (PangoFontDescription *desc,
344
+ const char *features);
345
+ PANGO_AVAILABLE_IN_1_42
346
+ const char *pango_font_description_get_features (const PangoFontDescription *desc) G_GNUC_PURE;
347
+
319
348
  PANGO_AVAILABLE_IN_ALL
320
349
  PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc) G_GNUC_PURE;
321
350
  PANGO_AVAILABLE_IN_ALL
@@ -131,6 +131,10 @@ PangoFont * pango_font_map_reload_font (PangoFontMap *fontma
131
131
  PangoContext *context,
132
132
  const char *variations);
133
133
 
134
+ PANGO_AVAILABLE_IN_1_56
135
+ gboolean pango_font_map_add_font_file (PangoFontMap *fontmap,
136
+ const char *filename,
137
+ GError **error);
134
138
 
135
139
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontMap, g_object_unref)
136
140
 
@@ -79,10 +79,19 @@ typedef enum {
79
79
  * breaking at grapheme boundaries that are determined by the Unicode text
80
80
  * segmentation algorithm.
81
81
  */
82
+
83
+ /**
84
+ * PANGO_WRAP_NONE:
85
+ *
86
+ * do not wrap.
87
+ *
88
+ * Since: 1.56
89
+ */
82
90
  typedef enum {
83
91
  PANGO_WRAP_WORD,
84
92
  PANGO_WRAP_CHAR,
85
- PANGO_WRAP_WORD_CHAR
93
+ PANGO_WRAP_WORD_CHAR,
94
+ PANGO_WRAP_NONE PANGO_AVAILABLE_ENUMERATOR_IN_1_56
86
95
  } PangoWrapMode;
87
96
 
88
97
  /**
@@ -302,6 +302,26 @@
302
302
  */
303
303
  #define PANGO_VERSION_1_54 (G_ENCODE_VERSION (1, 54))
304
304
 
305
+ /**
306
+ * PANGO_VERSION_1_55:
307
+ *
308
+ * A macro that evaluates to the 1.55 version of Pango, in a format
309
+ * that can be used by the C pre-processor.
310
+ *
311
+ * Since: 1.55
312
+ */
313
+ #define PANGO_VERSION_1_55 (G_ENCODE_VERSION (1, 55))
314
+
315
+ /**
316
+ * PANGO_VERSION_1_56:
317
+ *
318
+ * A macro that evaluates to the 1.56 version of Pango, in a format
319
+ * that can be used by the C pre-processor.
320
+ *
321
+ * Since: 1.56
322
+ */
323
+ #define PANGO_VERSION_1_56 (G_ENCODE_VERSION (1, 56))
324
+
305
325
  /* evaluates to the current stable version; for development cycles,
306
326
  * this means the next stable target
307
327
  */
@@ -777,5 +797,37 @@
777
797
  # define PANGO_AVAILABLE_IN_1_54 _PANGO_EXTERN
778
798
  #endif
779
799
 
800
+ #if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_55
801
+ # define PANGO_DEPRECATED_IN_1_55 PANGO_DEPRECATED
802
+ # define PANGO_DEPRECATED_IN_1_55_FOR(f) PANGO_DEPRECATED_FOR(f)
803
+ #else
804
+ # define PANGO_DEPRECATED_IN_1_55 _PANGO_EXTERN
805
+ # define PANGO_DEPRECATED_IN_1_55_FOR(f) _PANGO_EXTERN
806
+ #endif
807
+
808
+ #if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_55
809
+ # define PANGO_AVAILABLE_IN_1_55 PANGO_UNAVAILABLE(1, 55)
810
+ # define PANGO_AVAILABLE_ENUMERATOR_IN_1_55 PANGO_UNAVAILABLE (1, 55)
811
+ #else
812
+ # define PANGO_AVAILABLE_IN_1_55 _PANGO_EXTERN
813
+ # define PANGO_AVAILABLE_ENUMERATOR_IN_1_55
814
+ #endif
815
+
816
+ #if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_56
817
+ # define PANGO_DEPRECATED_IN_1_56 PANGO_DEPRECATED
818
+ # define PANGO_DEPRECATED_IN_1_56_FOR(f) PANGO_DEPRECATED_FOR(f)
819
+ #else
820
+ # define PANGO_DEPRECATED_IN_1_56 _PANGO_EXTERN
821
+ # define PANGO_DEPRECATED_IN_1_56_FOR(f) _PANGO_EXTERN
822
+ #endif
823
+
824
+ #if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_56
825
+ # define PANGO_AVAILABLE_IN_1_56 PANGO_UNAVAILABLE(1, 56)
826
+ # define PANGO_AVAILABLE_ENUMERATOR_IN_1_56 PANGO_UNAVAILABLE (1, 56)
827
+ #else
828
+ # define PANGO_AVAILABLE_IN_1_56 _PANGO_EXTERN
829
+ # define PANGO_AVAILABLE_ENUMERATOR_IN_1_56
830
+ #endif
831
+
780
832
  #endif /* __PANGO_VERSION_H__ */
781
833
 
@@ -202,6 +202,8 @@ void pango_fc_font_map_substitute_changed (PangoFcFontMap *fontmap);
202
202
  * fontconfig that have that.
203
203
  *
204
204
  * Since: 1.24
205
+ *
206
+ * Deprecated: 1.56: Use FC_PRGNAME
205
207
  */
206
208
  #define PANGO_FC_PRGNAME "prgname"
207
209
 
@@ -220,6 +222,8 @@ void pango_fc_font_map_substitute_changed (PangoFcFontMap *fontmap);
220
222
  * fontconfig that have that.
221
223
  *
222
224
  * Since: 1.34
225
+ *
226
+ * Deprecated: 1.56: Use FC_FONT_FEATURES
223
227
  */
224
228
  #define PANGO_FC_FONT_FEATURES "fontfeatures"
225
229
 
@@ -236,6 +240,8 @@ void pango_fc_font_map_substitute_changed (PangoFcFontMap *fontmap);
236
240
  *
237
241
  * This is equivalent to FC_FONT_VARIATIONS in versions of
238
242
  * fontconfig that have that.
243
+ *
244
+ * Deprecated: 1.56: Use FC_FONT_VARIATIONS
239
245
  */
240
246
  #define PANGO_FC_FONT_VARIATIONS "fontvariations"
241
247
 
@@ -32,10 +32,10 @@
32
32
  #endif
33
33
 
34
34
  #define PIXMAN_VERSION_MAJOR 0
35
- #define PIXMAN_VERSION_MINOR 43
36
- #define PIXMAN_VERSION_MICRO 4
35
+ #define PIXMAN_VERSION_MINOR 44
36
+ #define PIXMAN_VERSION_MICRO 2
37
37
 
38
- #define PIXMAN_VERSION_STRING "0.43.4"
38
+ #define PIXMAN_VERSION_STRING "0.44.2"
39
39
 
40
40
  #define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
41
41
  ((major) * 10000) \