@img/sharp-libvips-dev-wasm32 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 (99) hide show
  1. package/include/expat.h +1 -1
  2. package/include/expat_config.h +3 -3
  3. package/include/ffi.h +1 -1
  4. package/include/glib-2.0/gio/gdbusnameowning.h +12 -10
  5. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  6. package/include/glib-2.0/gio/gsettings.h +35 -31
  7. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  8. package/include/glib-2.0/glib/gbitlock.h +11 -0
  9. package/include/glib-2.0/glib/gdate.h +6 -0
  10. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  11. package/include/glib-2.0/glib/gmain.h +13 -10
  12. package/include/glib-2.0/glib/gmessages.h +4 -1
  13. package/include/glib-2.0/glib/gstring.h +2 -0
  14. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  15. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  16. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  17. package/include/glib-2.0/gobject/gsignal.h +33 -8
  18. package/include/libheif/heif.h +2 -0
  19. package/include/libheif/heif_version.h +2 -2
  20. package/include/resvg.h +2 -2
  21. package/include/vips/VImage8.h +62 -14
  22. package/include/vips/arithmetic.h +34 -34
  23. package/include/vips/basic.h +16 -0
  24. package/include/vips/buf.h +0 -5
  25. package/include/vips/colour.h +6 -7
  26. package/include/vips/connection.h +25 -37
  27. package/include/vips/enumtypes.h +11 -2
  28. package/include/vips/foreign.h +73 -43
  29. package/include/vips/format.h +7 -5
  30. package/include/vips/gate.h +0 -11
  31. package/include/vips/header.h +11 -11
  32. package/include/vips/image.h +8 -3
  33. package/include/vips/interpolate.h +0 -2
  34. package/include/vips/memory.h +4 -0
  35. package/include/vips/mosaicing.h +4 -0
  36. package/include/vips/object.h +14 -18
  37. package/include/vips/operation.h +0 -2
  38. package/include/vips/private.h +50 -2
  39. package/include/vips/region.h +1 -3
  40. package/include/vips/resample.h +2 -0
  41. package/include/vips/semaphore.h +8 -3
  42. package/include/vips/thread.h +1 -24
  43. package/include/vips/threadpool.h +0 -6
  44. package/include/vips/type.h +13 -9
  45. package/include/vips/util.h +17 -98
  46. package/include/vips/vector.h +0 -4
  47. package/include/vips/version.h +8 -8
  48. package/include/vips/vips.h +1 -0
  49. package/lib/glib-2.0/include/glibconfig.h +1 -1
  50. package/lib/libaom.a +0 -0
  51. package/lib/libcgif.a +0 -0
  52. package/lib/libexif.a +0 -0
  53. package/lib/libexif.la +0 -0
  54. package/lib/libexpat.a +0 -0
  55. package/lib/libexpat.la +1 -1
  56. package/lib/libffi.a +0 -0
  57. package/lib/libffi.la +0 -0
  58. package/lib/libgio-2.0.a +0 -0
  59. package/lib/libglib-2.0.a +0 -0
  60. package/lib/libgmodule-2.0.a +0 -0
  61. package/lib/libgobject-2.0.a +0 -0
  62. package/lib/libgthread-2.0.a +0 -0
  63. package/lib/libheif.a +0 -0
  64. package/lib/libhwy.a +0 -0
  65. package/lib/libimagequant.a +0 -0
  66. package/lib/libjpeg.a +0 -0
  67. package/lib/liblcms2.a +0 -0
  68. package/lib/libresvg.a +0 -0
  69. package/lib/libsharpyuv.a +0 -0
  70. package/lib/libsharpyuv.la +0 -0
  71. package/lib/libspng.a +0 -0
  72. package/lib/libtiff.a +0 -0
  73. package/lib/libtiff.la +0 -0
  74. package/lib/libvips-cpp.a +0 -0
  75. package/lib/libvips.a +0 -0
  76. package/lib/libwebp.a +0 -0
  77. package/lib/libwebp.la +0 -0
  78. package/lib/libwebpdemux.a +0 -0
  79. package/lib/libwebpdemux.la +0 -0
  80. package/lib/libwebpmux.a +0 -0
  81. package/lib/libwebpmux.la +0 -0
  82. package/lib/libz.a +0 -0
  83. package/lib/pkgconfig/aom.pc +2 -2
  84. package/lib/pkgconfig/expat.pc +1 -1
  85. package/lib/pkgconfig/gio-2.0.pc +1 -1
  86. package/lib/pkgconfig/glib-2.0.pc +1 -1
  87. package/lib/pkgconfig/gmodule-2.0.pc +1 -1
  88. package/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  89. package/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  90. package/lib/pkgconfig/gobject-2.0.pc +1 -1
  91. package/lib/pkgconfig/gthread-2.0.pc +1 -1
  92. package/lib/pkgconfig/libffi.pc +1 -1
  93. package/lib/pkgconfig/libheif.pc +1 -1
  94. package/lib/pkgconfig/vips-cpp.pc +3 -3
  95. package/lib/pkgconfig/vips.pc +3 -3
  96. package/package.json +1 -1
  97. package/versions.json +8 -8
  98. package/include/glib-2.0/glib/gwin32.h +0 -142
  99. package/include/hwy/ops/tuple-inl.h +0 -125
package/include/expat.h CHANGED
@@ -1068,7 +1068,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1068
1068
  */
1069
1069
  #define XML_MAJOR_VERSION 2
1070
1070
  #define XML_MINOR_VERSION 7
1071
- #define XML_MICRO_VERSION 0
1071
+ #define XML_MICRO_VERSION 1
1072
1072
 
1073
1073
  #ifdef __cplusplus
1074
1074
  }
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.7.0"
86
+ #define PACKAGE_STRING "expat 2.7.1"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.7.0"
95
+ #define PACKAGE_VERSION "2.7.1"
96
96
 
97
97
  /* Define to 1 if all of the C90 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.7.0"
103
+ #define VERSION "2.7.1"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
package/include/ffi.h CHANGED
@@ -1,5 +1,5 @@
1
1
  /* -----------------------------------------------------------------*-C-*-
2
- libffi 3.4.7
2
+ libffi 3.4.8
3
3
  - Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024 Anthony Green
4
4
  - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
5
5
 
@@ -33,9 +33,9 @@ G_BEGIN_DECLS
33
33
 
34
34
  /**
35
35
  * GBusAcquiredCallback:
36
- * @connection: The #GDBusConnection to a message bus.
37
- * @name: The name that is requested to be owned.
38
- * @user_data: User data passed to g_bus_own_name().
36
+ * @connection: the connection to a message bus
37
+ * @name: the name that is requested to be owned
38
+ * @user_data: user data passed to [func@Gio.bus_own_name]
39
39
  *
40
40
  * Invoked when a connection to a message bus has been obtained.
41
41
  *
@@ -47,9 +47,10 @@ typedef void (*GBusAcquiredCallback) (GDBusConnection *connection,
47
47
 
48
48
  /**
49
49
  * GBusNameAcquiredCallback:
50
- * @connection: The #GDBusConnection on which to acquired the name.
51
- * @name: The name being owned.
52
- * @user_data: User data passed to g_bus_own_name() or g_bus_own_name_on_connection().
50
+ * @connection: the connection on which to acquired the name
51
+ * @name: the name being owned
52
+ * @user_data: user data passed to [func@Gio.bus_own_name] or
53
+ * [func@Gio.bus_own_name_on_connection]
53
54
  *
54
55
  * Invoked when the name is acquired.
55
56
  *
@@ -61,10 +62,11 @@ typedef void (*GBusNameAcquiredCallback) (GDBusConnection *connection,
61
62
 
62
63
  /**
63
64
  * GBusNameLostCallback:
64
- * @connection: The #GDBusConnection on which to acquire the name or %NULL if
65
- * the connection was disconnected.
66
- * @name: The name being owned.
67
- * @user_data: User data passed to g_bus_own_name() or g_bus_own_name_on_connection().
65
+ * @connection: the connect on which to acquire the name or `NULL` if
66
+ * the connection was disconnected
67
+ * @name: the name being owned
68
+ * @user_data: user data passed to [func@Gio.bus_own_name] or
69
+ * [func@Gio.bus_own_name_on_connection]
68
70
  *
69
71
  * Invoked when the name is lost or @connection has been closed.
70
72
  *
@@ -1052,3 +1052,37 @@
1052
1052
  #define GIO_AVAILABLE_ENUMERATOR_IN_2_84
1053
1053
  #define GIO_AVAILABLE_TYPE_IN_2_84
1054
1054
  #endif
1055
+
1056
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
1057
+ #define GIO_DEPRECATED_IN_2_86 GIO_DEPRECATED
1058
+ #define GIO_DEPRECATED_IN_2_86_FOR(f) GIO_DEPRECATED_FOR (f)
1059
+ #define GIO_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
1060
+ #define GIO_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1061
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
1062
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1063
+ #define GIO_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
1064
+ #define GIO_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1065
+ #else
1066
+ #define GIO_DEPRECATED_IN_2_86 _GIO_EXTERN
1067
+ #define GIO_DEPRECATED_IN_2_86_FOR(f) _GIO_EXTERN
1068
+ #define GIO_DEPRECATED_MACRO_IN_2_86
1069
+ #define GIO_DEPRECATED_MACRO_IN_2_86_FOR(f)
1070
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_86
1071
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
1072
+ #define GIO_DEPRECATED_TYPE_IN_2_86
1073
+ #define GIO_DEPRECATED_TYPE_IN_2_86_FOR(f)
1074
+ #endif
1075
+
1076
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
1077
+ #define GIO_AVAILABLE_IN_2_86 GIO_UNAVAILABLE (2, 86)
1078
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
1079
+ #define GIO_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
1080
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
1081
+ #define GIO_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
1082
+ #else
1083
+ #define GIO_AVAILABLE_IN_2_86 _GIO_EXTERN
1084
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_86
1085
+ #define GIO_AVAILABLE_MACRO_IN_2_86
1086
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_86
1087
+ #define GIO_AVAILABLE_TYPE_IN_2_86
1088
+ #endif
@@ -224,15 +224,15 @@ void g_settings_sync (void);
224
224
 
225
225
  /**
226
226
  * GSettingsBindSetMapping:
227
- * @value: a #GValue containing the property value to map
228
- * @expected_type: the #GVariantType to create
227
+ * @value: the property value to map
228
+ * @expected_type: expected type of the result
229
229
  * @user_data: user data that was specified when the binding was created
230
230
  *
231
231
  * The type for the function that is used to convert an object property
232
- * value to a #GVariant for storing it in #GSettings.
232
+ * value to a [struct@GLib.Variant] for storing it in [class@Gio.Settings].
233
233
  *
234
- * Returns: a new #GVariant holding the data from @value,
235
- * or %NULL in case of an error
234
+ * Returns: (nullable): a new [struct@GLib.Variant] holding the data from @value,
235
+ * or `NULL` in case of an error
236
236
  */
237
237
  typedef GVariant * (*GSettingsBindSetMapping) (const GValue *value,
238
238
  const GVariantType *expected_type,
@@ -241,14 +241,15 @@ typedef GVariant * (*GSettingsBindSetMapping) (const G
241
241
  /**
242
242
  * GSettingsBindGetMapping:
243
243
  * @value: return location for the property value
244
- * @variant: the #GVariant
244
+ * @variant: variant to map to the property value
245
245
  * @user_data: user data that was specified when the binding was created
246
246
  *
247
- * The type for the function that is used to convert from #GSettings to
248
- * an object property. The @value is already initialized to hold values
249
- * of the appropriate type.
247
+ * The type for the function that is used to convert from [class@Gio.Settings]
248
+ * to an object property.
250
249
  *
251
- * Returns: %TRUE if the conversion succeeded, %FALSE in case of an error
250
+ * The @value is already initialized to hold values of the appropriate type.
251
+ *
252
+ * Returns: true if the conversion succeeded, false in case of an error
252
253
  */
253
254
  typedef gboolean (*GSettingsBindGetMapping) (GValue *value,
254
255
  GVariant *variant,
@@ -256,23 +257,23 @@ typedef gboolean (*GSettingsBindGetMapping) (GValue
256
257
 
257
258
  /**
258
259
  * GSettingsGetMapping:
259
- * @value: the #GVariant to map, or %NULL
260
+ * @value: (nullable): variant to map to the application value
260
261
  * @result: (out): the result of the mapping
261
262
  * @user_data: (closure): the user data that was passed to
262
- * g_settings_get_mapped()
263
+ * [method@Gio.Settings.get_mapped]
263
264
  *
264
265
  * The type of the function that is used to convert from a value stored
265
- * in a #GSettings to a value that is useful to the application.
266
+ * in a [class@Gio.Settings] to a value that is useful to the application.
266
267
  *
267
268
  * If the value is successfully mapped, the result should be stored at
268
- * @result and %TRUE returned. If mapping fails (for example, if @value
269
- * is not in the right format) then %FALSE should be returned.
269
+ * @result and true returned. If mapping fails (for example, if @value
270
+ * is not in the right format) then false should be returned.
270
271
  *
271
- * If @value is %NULL then it means that the mapping function is being
272
- * given a "last chance" to successfully return a valid value. %TRUE
272
+ * If @value is `NULL` then it means that the mapping function is being
273
+ * given a last chance to successfully return a valid value. True
273
274
  * must be returned in this case.
274
275
  *
275
- * Returns: %TRUE if the conversion succeeded, %FALSE in case of an error
276
+ * Returns: true if the conversion succeeded, false in case of an error
276
277
  **/
277
278
  typedef gboolean (*GSettingsGetMapping) (GVariant *value,
278
279
  gpointer *result,
@@ -281,20 +282,23 @@ typedef gboolean (*GSettingsGetMapping) (GVarian
281
282
  /**
282
283
  * GSettingsBindFlags:
283
284
  * @G_SETTINGS_BIND_DEFAULT: Equivalent to `G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`
284
- * @G_SETTINGS_BIND_GET: Update the #GObject property when the setting changes.
285
- * It is an error to use this flag if the property is not writable.
286
- * @G_SETTINGS_BIND_SET: Update the setting when the #GObject property changes.
287
- * It is an error to use this flag if the property is not readable.
288
- * @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a "sensitivity" property to the writability of the setting
289
- * @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to %G_SETTINGS_BIND_GET, set the #GObject property
290
- * value initially from the setting, but do not listen for changes of the setting
291
- * @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to g_settings_bind(), uses a pair of mapping functions that invert
292
- * the boolean value when mapping between the setting and the property. The setting and property must both
293
- * be booleans. You cannot pass this flag to g_settings_bind_with_mapping().
285
+ * @G_SETTINGS_BIND_GET: Update the [class@GObject.Object] property when the setting changes.
286
+ * It is an error to use this flag if the property is not writable.
287
+ * @G_SETTINGS_BIND_SET: Update the setting when the [class@GObject.Object] property changes.
288
+ * It is an error to use this flag if the property is not readable.
289
+ * @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a sensitivity property to the writability of the setting
290
+ * @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to [flags@Gio.SettingsBindFlags.GET],
291
+ * set the [class@GObject.Object] property
292
+ * value initially from the setting, but do not listen for changes of the setting
293
+ * @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to [method@Gio.Settings.bind],
294
+ * uses a pair of mapping functions that invert
295
+ * the boolean value when mapping between the setting and the property. The setting and property must both
296
+ * be booleans. You cannot pass this flag to [method@Gio.Settings.bind_with_mapping].
297
+ *
298
+ * Flags used when creating a binding.
294
299
  *
295
- * Flags used when creating a binding. These flags determine in which
296
- * direction the binding works. The default is to synchronize in both
297
- * directions.
300
+ * These flags determine in which direction the binding works. The default is to
301
+ * synchronize in both directions.
298
302
  */
299
303
  typedef enum
300
304
  {
@@ -59,6 +59,12 @@ GIO_AVAILABLE_IN_ALL
59
59
  void g_zlib_compressor_set_file_info (GZlibCompressor *compressor,
60
60
  GFileInfo *file_info);
61
61
 
62
+ GIO_AVAILABLE_IN_2_86
63
+ int g_zlib_compressor_get_os (GZlibCompressor *compressor);
64
+ GIO_AVAILABLE_IN_2_86
65
+ void g_zlib_compressor_set_os (GZlibCompressor *compressor,
66
+ int os);
67
+
62
68
  G_END_DECLS
63
69
 
64
70
  #endif /* __G_ZLIB_COMPRESSOR_H__ */
@@ -34,6 +34,11 @@ G_BEGIN_DECLS
34
34
  GLIB_AVAILABLE_IN_ALL
35
35
  void g_bit_lock (volatile gint *address,
36
36
  gint lock_bit);
37
+ GLIB_AVAILABLE_IN_2_86
38
+ void g_bit_lock_and_get (gint *address,
39
+ guint lock_bit,
40
+ gint *out_val);
41
+
37
42
  GLIB_AVAILABLE_IN_ALL
38
43
  gboolean g_bit_trylock (volatile gint *address,
39
44
  gint lock_bit);
@@ -41,6 +46,12 @@ GLIB_AVAILABLE_IN_ALL
41
46
  void g_bit_unlock (volatile gint *address,
42
47
  gint lock_bit);
43
48
 
49
+ GLIB_AVAILABLE_IN_2_86
50
+ void g_bit_unlock_and_set (gint *address,
51
+ guint lock_bit,
52
+ gint new_val,
53
+ gint preserve_mask);
54
+
44
55
  GLIB_AVAILABLE_IN_ALL
45
56
  void g_pointer_bit_lock (volatile void *address,
46
57
  gint lock_bit);
@@ -167,6 +167,9 @@ GLIB_AVAILABLE_IN_ALL
167
167
  guint g_date_get_monday_week_of_year (const GDate *date);
168
168
  GLIB_AVAILABLE_IN_ALL
169
169
  guint g_date_get_sunday_week_of_year (const GDate *date);
170
+ GLIB_AVAILABLE_IN_2_86
171
+ guint g_date_get_week_of_year (const GDate *date,
172
+ GDateWeekday first_day_of_week);
170
173
  GLIB_AVAILABLE_IN_ALL
171
174
  guint g_date_get_iso8601_week_of_year (const GDate *date);
172
175
 
@@ -250,6 +253,9 @@ GLIB_AVAILABLE_IN_ALL
250
253
  guint8 g_date_get_monday_weeks_in_year (GDateYear year) G_GNUC_CONST;
251
254
  GLIB_AVAILABLE_IN_ALL
252
255
  guint8 g_date_get_sunday_weeks_in_year (GDateYear year) G_GNUC_CONST;
256
+ GLIB_AVAILABLE_IN_2_86
257
+ guint8 g_date_get_weeks_in_year (GDateYear year,
258
+ GDateWeekday first_day_of_week) G_GNUC_CONST;
253
259
 
254
260
  /* Returns the number of days between the two dates. If date2 comes
255
261
  before date1, a negative value is return. */
@@ -1052,3 +1052,37 @@
1052
1052
  #define GLIB_AVAILABLE_ENUMERATOR_IN_2_84
1053
1053
  #define GLIB_AVAILABLE_TYPE_IN_2_84
1054
1054
  #endif
1055
+
1056
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
1057
+ #define GLIB_DEPRECATED_IN_2_86 GLIB_DEPRECATED
1058
+ #define GLIB_DEPRECATED_IN_2_86_FOR(f) GLIB_DEPRECATED_FOR (f)
1059
+ #define GLIB_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
1060
+ #define GLIB_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1061
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
1062
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1063
+ #define GLIB_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
1064
+ #define GLIB_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1065
+ #else
1066
+ #define GLIB_DEPRECATED_IN_2_86 _GLIB_EXTERN
1067
+ #define GLIB_DEPRECATED_IN_2_86_FOR(f) _GLIB_EXTERN
1068
+ #define GLIB_DEPRECATED_MACRO_IN_2_86
1069
+ #define GLIB_DEPRECATED_MACRO_IN_2_86_FOR(f)
1070
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_86
1071
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
1072
+ #define GLIB_DEPRECATED_TYPE_IN_2_86
1073
+ #define GLIB_DEPRECATED_TYPE_IN_2_86_FOR(f)
1074
+ #endif
1075
+
1076
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
1077
+ #define GLIB_AVAILABLE_IN_2_86 GLIB_UNAVAILABLE (2, 86)
1078
+ #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
1079
+ #define GLIB_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
1080
+ #define GLIB_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
1081
+ #define GLIB_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
1082
+ #else
1083
+ #define GLIB_AVAILABLE_IN_2_86 _GLIB_EXTERN
1084
+ #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_86
1085
+ #define GLIB_AVAILABLE_MACRO_IN_2_86
1086
+ #define GLIB_AVAILABLE_ENUMERATOR_IN_2_86
1087
+ #define GLIB_AVAILABLE_TYPE_IN_2_86
1088
+ #endif
@@ -100,8 +100,8 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
100
100
 
101
101
  /**
102
102
  * GSourceFuncs:
103
- * @prepare: Called before all the file descriptors are polled. If the
104
- * source can determine that it is ready here (without waiting for the
103
+ * @prepare: (nullable): Called before all the file descriptors are polled. If
104
+ * the source can determine that it is ready here (without waiting for the
105
105
  * results of the poll() call) it should return %TRUE. It can also return
106
106
  * a @timeout_ value which should be the maximum timeout (in milliseconds)
107
107
  * which should be passed to the poll() call. The actual timeout used will
@@ -111,9 +111,9 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
111
111
  * %FALSE with a timeout of -1. If @prepare returns a
112
112
  * timeout and the source also has a ready time set, then the
113
113
  * lower of the two will be used.
114
- * @check: Called after all the file descriptors are polled. The source
115
- * should return %TRUE if it is ready to be dispatched. Note that some
116
- * time may have passed since the previous prepare function was called,
114
+ * @check: (nullable): Called after all the file descriptors are polled. The
115
+ * source should return %TRUE if it is ready to be dispatched. Note that
116
+ * some time may have passed since the previous prepare function was called,
117
117
  * so the source should be checked again here. Since 2.36 this may
118
118
  * be %NULL, in which case the effect is as if the function always returns
119
119
  * %FALSE.
@@ -127,11 +127,12 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
127
127
  * The return value of the @dispatch function should be
128
128
  * [const@GLib.SOURCE_REMOVE] if the source should be removed or
129
129
  * [const@GLib.SOURCE_CONTINUE] to keep it.
130
- * @finalize: Called when the source is finalized. At this point, the source
131
- * will have been destroyed, had its callback cleared, and have been removed
132
- * from its [struct@GLib.MainContext], but it will still have its final
133
- * reference count, so methods can be called on it from within this
134
- * function.
130
+ * @finalize: (nullable): Called when the source is finalized. At this point,
131
+ * the source will have been destroyed, had its callback cleared, and have
132
+ * been removed from its [struct@GLib.MainContext], but it will still have
133
+ * its final reference count, so methods can be called on it from within
134
+ * this function. This may be %NULL, in which case the effect is as if the
135
+ * function does nothing and returns.
135
136
  *
136
137
  * The `GSourceFuncs` struct contains a table of
137
138
  * functions used to handle event sources in a generic manner.
@@ -726,6 +727,8 @@ guint g_source_get_id (GSource *source);
726
727
 
727
728
  GLIB_AVAILABLE_IN_ALL
728
729
  GMainContext *g_source_get_context (GSource *source);
730
+ GLIB_AVAILABLE_IN_2_86
731
+ GMainContext *g_source_dup_context (GSource *source);
729
732
 
730
733
  GLIB_AVAILABLE_IN_ALL
731
734
  void g_source_set_callback (GSource *source,
@@ -117,6 +117,9 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
117
117
  GLIB_AVAILABLE_IN_ALL
118
118
  GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
119
119
 
120
+ GLIB_AVAILABLE_IN_2_86
121
+ GLogLevelFlags g_log_get_always_fatal (void);
122
+
120
123
  /* Structured logging mechanism. */
121
124
 
122
125
  /**
@@ -587,7 +590,7 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
587
590
  *
588
591
  * To debug failure of a g_return_if_fail() check, run the code under a debugger
589
592
  * with `G_DEBUG=fatal-criticals` or `G_DEBUG=fatal-warnings` defined in the
590
- * environment (see [Running GLib Applications](glib-running.html)):
593
+ * environment (see [Running GLib Applications](running.html)):
591
594
  *
592
595
  * |[
593
596
  * G_DEBUG=fatal-warnings gdb ./my-program
@@ -58,6 +58,8 @@ GString* g_string_new_len (const gchar *init,
58
58
  gssize len);
59
59
  GLIB_AVAILABLE_IN_ALL
60
60
  GString* g_string_sized_new (gsize dfl_size);
61
+ GLIB_AVAILABLE_IN_2_86
62
+ GString *g_string_copy (GString *string);
61
63
  GLIB_AVAILABLE_IN_ALL
62
64
  gchar* (g_string_free) (GString *string,
63
65
  gboolean free_segment);
@@ -413,6 +413,15 @@
413
413
  * Since: 2.84
414
414
  */
415
415
  #define GLIB_VERSION_2_84 (G_ENCODE_VERSION (2, 84))
416
+ /**
417
+ * GLIB_VERSION_2_86:
418
+ *
419
+ * A macro that evaluates to the 2.86 version of GLib, in a format
420
+ * that can be used by the C pre-processor.
421
+ *
422
+ * Since: 2.86
423
+ */
424
+ #define GLIB_VERSION_2_86 (G_ENCODE_VERSION (2, 86))
416
425
 
417
426
  /**
418
427
  * GLIB_VERSION_CUR_STABLE:
@@ -1052,3 +1052,37 @@
1052
1052
  #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_84
1053
1053
  #define GMODULE_AVAILABLE_TYPE_IN_2_84
1054
1054
  #endif
1055
+
1056
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
1057
+ #define GMODULE_DEPRECATED_IN_2_86 GMODULE_DEPRECATED
1058
+ #define GMODULE_DEPRECATED_IN_2_86_FOR(f) GMODULE_DEPRECATED_FOR (f)
1059
+ #define GMODULE_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
1060
+ #define GMODULE_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1061
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
1062
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1063
+ #define GMODULE_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
1064
+ #define GMODULE_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1065
+ #else
1066
+ #define GMODULE_DEPRECATED_IN_2_86 _GMODULE_EXTERN
1067
+ #define GMODULE_DEPRECATED_IN_2_86_FOR(f) _GMODULE_EXTERN
1068
+ #define GMODULE_DEPRECATED_MACRO_IN_2_86
1069
+ #define GMODULE_DEPRECATED_MACRO_IN_2_86_FOR(f)
1070
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86
1071
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
1072
+ #define GMODULE_DEPRECATED_TYPE_IN_2_86
1073
+ #define GMODULE_DEPRECATED_TYPE_IN_2_86_FOR(f)
1074
+ #endif
1075
+
1076
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
1077
+ #define GMODULE_AVAILABLE_IN_2_86 GMODULE_UNAVAILABLE (2, 86)
1078
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
1079
+ #define GMODULE_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
1080
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
1081
+ #define GMODULE_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
1082
+ #else
1083
+ #define GMODULE_AVAILABLE_IN_2_86 _GMODULE_EXTERN
1084
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_86
1085
+ #define GMODULE_AVAILABLE_MACRO_IN_2_86
1086
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_86
1087
+ #define GMODULE_AVAILABLE_TYPE_IN_2_86
1088
+ #endif
@@ -1052,3 +1052,37 @@
1052
1052
  #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_84
1053
1053
  #define GOBJECT_AVAILABLE_TYPE_IN_2_84
1054
1054
  #endif
1055
+
1056
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
1057
+ #define GOBJECT_DEPRECATED_IN_2_86 GOBJECT_DEPRECATED
1058
+ #define GOBJECT_DEPRECATED_IN_2_86_FOR(f) GOBJECT_DEPRECATED_FOR (f)
1059
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
1060
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1061
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
1062
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1063
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
1064
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1065
+ #else
1066
+ #define GOBJECT_DEPRECATED_IN_2_86 _GOBJECT_EXTERN
1067
+ #define GOBJECT_DEPRECATED_IN_2_86_FOR(f) _GOBJECT_EXTERN
1068
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_86
1069
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_86_FOR(f)
1070
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86
1071
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
1072
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_86
1073
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_86_FOR(f)
1074
+ #endif
1075
+
1076
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
1077
+ #define GOBJECT_AVAILABLE_IN_2_86 GOBJECT_UNAVAILABLE (2, 86)
1078
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
1079
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
1080
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
1081
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
1082
+ #else
1083
+ #define GOBJECT_AVAILABLE_IN_2_86 _GOBJECT_EXTERN
1084
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_86
1085
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_86
1086
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_86
1087
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_86
1088
+ #endif
@@ -124,14 +124,6 @@ typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
124
124
  * of as object methods which can be called generically by
125
125
  * third-party code.
126
126
  * @G_SIGNAL_NO_HOOKS: No emissions hooks are supported for this signal.
127
- * @G_SIGNAL_MUST_COLLECT: Varargs signal emission will always collect the
128
- * arguments, even if there are no signal handlers connected. Since 2.30.
129
- * @G_SIGNAL_DEPRECATED: The signal is deprecated and will be removed
130
- * in a future version. A warning will be generated if it is connected while
131
- * running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.
132
- * @G_SIGNAL_ACCUMULATOR_FIRST_RUN: Only used in #GSignalAccumulator accumulator
133
- * functions for the #GSignalInvocationHint::run_type field to mark the first
134
- * call to the accumulator function for a signal emission. Since 2.68.
135
127
  *
136
128
  * The signal flags are used to specify a signal's behaviour.
137
129
  */
@@ -149,6 +141,39 @@ typedef enum
149
141
  /* normal signal flags until 1 << 16 */
150
142
  G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17,
151
143
  } GSignalFlags;
144
+
145
+ /**
146
+ * G_SIGNAL_MUST_COLLECT:
147
+ *
148
+ * Varargs signal emission will always collect the arguments, even if there
149
+ * are no signal handlers connected.
150
+ *
151
+ * Since: 2.30
152
+ */
153
+
154
+ /**
155
+ * G_SIGNAL_DEPRECATED:
156
+ *
157
+ * The signal is deprecated and will be removed in a future version.
158
+ *
159
+ * A warning will be generated if it is connected while running with
160
+ * `G_ENABLE_DIAGNOSTIC=1`.
161
+ *
162
+ * Since: 2.32
163
+ */
164
+
165
+ /**
166
+ * G_SIGNAL_ACCUMULATOR_FIRST_RUN:
167
+ *
168
+ * The signal accumulator was invoked for the first time.
169
+ *
170
+ * This flag is only used in [callback@GObject.SignalAccumulator][accumulator functions]
171
+ * for the `run_type` field of the [struct@GObject.SignalInvocationHint], to
172
+ * mark the first call to the accumulator function for a signal emission.
173
+ *
174
+ * Since: 2.68
175
+ */
176
+
152
177
  /**
153
178
  * G_SIGNAL_FLAGS_MASK:
154
179
  *
@@ -2059,6 +2059,8 @@ struct heif_writer
2059
2059
  int writer_api_version;
2060
2060
 
2061
2061
  // --- version 1 functions ---
2062
+
2063
+ // On success, the returned heif_error may have a NULL message. It will automatically be replaced with a "Success" string.
2062
2064
  struct heif_error (* write)(struct heif_context* ctx, // TODO: why do we need this parameter?
2063
2065
  const void* data,
2064
2066
  size_t size,
@@ -28,10 +28,10 @@
28
28
  #define LIBHEIF_HEIF_VERSION_H
29
29
 
30
30
  /* Numeric representation of the version */
31
- #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (19<<16) | (7<<8) | 0)
31
+ #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (19<<16) | (8<<8) | 0)
32
32
 
33
33
  /* Version string */
34
- #define LIBHEIF_VERSION "1.19.7"
34
+ #define LIBHEIF_VERSION "1.19.8"
35
35
 
36
36
  #define LIBHEIF_PLUGIN_DIRECTORY "/src/build/target/lib/libheif"
37
37
 
package/include/resvg.h CHANGED
@@ -15,8 +15,8 @@
15
15
 
16
16
  #define RESVG_MAJOR_VERSION 0
17
17
  #define RESVG_MINOR_VERSION 45
18
- #define RESVG_PATCH_VERSION 0
19
- #define RESVG_VERSION "0.45.0"
18
+ #define RESVG_PATCH_VERSION 1
19
+ #define RESVG_VERSION "0.45.1"
20
20
 
21
21
  /**
22
22
  * @brief List of possible errors.