@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
@@ -36,7 +36,7 @@ typedef struct _GVariantType GVariantType;
36
36
  /**
37
37
  * G_VARIANT_TYPE_BOOLEAN:
38
38
  *
39
- * The type of a value that can be either %TRUE or %FALSE.
39
+ * The type of a value that can be either true or false.
40
40
  **/
41
41
  #define G_VARIANT_TYPE_BOOLEAN ((const GVariantType *) "b")
42
42
 
@@ -58,6 +58,7 @@ typedef struct _GVariantType GVariantType;
58
58
  * G_VARIANT_TYPE_UINT16:
59
59
  *
60
60
  * The type of an integer value that can range from 0 to 65535.
61
+ *
61
62
  * There were about this many people living in Toronto in the 1870s.
62
63
  **/
63
64
  #define G_VARIANT_TYPE_UINT16 ((const GVariantType *) "q")
@@ -74,7 +75,8 @@ typedef struct _GVariantType GVariantType;
74
75
  * G_VARIANT_TYPE_UINT32:
75
76
  *
76
77
  * The type of an integer value that can range from 0 to 4294967295.
77
- * That's one number for everyone who was around in the late 1970s.
78
+ *
79
+ * That’s one number for everyone who was around in the late 1970s.
78
80
  **/
79
81
  #define G_VARIANT_TYPE_UINT32 ((const GVariantType *) "u")
80
82
 
@@ -90,18 +92,21 @@ typedef struct _GVariantType GVariantType;
90
92
  * G_VARIANT_TYPE_UINT64:
91
93
  *
92
94
  * The type of an integer value that can range from 0
93
- * to 18446744073709551615 (inclusive). That's a really big number,
94
- * but a Rubik's cube can have a bit more than twice as many possible
95
- * positions.
95
+ * to 18446744073709551615 (inclusive).
96
+ *
97
+ * That’s a really big number, but a Rubik’s cube can have a bit more than
98
+ * twice as many possible positions.
96
99
  **/
97
100
  #define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t")
98
101
 
99
102
  /**
100
103
  * G_VARIANT_TYPE_DOUBLE:
101
104
  *
102
- * The type of a double precision IEEE754 floating point number.
103
- * These guys go up to about 1.80e308 (plus and minus) but miss out on
104
- * some numbers in between. In any case, that's far greater than the
105
+ * The type of a double precision
106
+ * [IEEE 754 floating point number](https://en.wikipedia.org/wiki/IEEE_754).
107
+ *
108
+ * These go up to about 1.80e308 (plus and minus) but miss out on
109
+ * some numbers in between. In any case, that’s far greater than the
105
110
  * estimated number of fundamental particles in the observable
106
111
  * universe.
107
112
  **/
@@ -110,32 +115,39 @@ typedef struct _GVariantType GVariantType;
110
115
  /**
111
116
  * G_VARIANT_TYPE_STRING:
112
117
  *
113
- * The type of a string. "" is a string. %NULL is not a string.
118
+ * The type of a string.
119
+ *
120
+ * `""` is a string. `NULL` is not a string.
114
121
  **/
115
122
  #define G_VARIANT_TYPE_STRING ((const GVariantType *) "s")
116
123
 
117
124
  /**
118
125
  * G_VARIANT_TYPE_OBJECT_PATH:
119
126
  *
120
- * The type of a D-Bus object reference. These are strings of a
121
- * specific format used to identify objects at a given destination on
122
- * the bus.
127
+ * The type of a
128
+ * [D-Bus object path](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-marshaling-object-path).
129
+ *
130
+ * These are strings of a specific format used to identify objects at a given
131
+ * destination on the bus.
123
132
  *
124
133
  * If you are not interacting with D-Bus, then there is no reason to make
125
134
  * use of this type. If you are, then the D-Bus specification contains a
126
- * precise description of valid object paths.
135
+ * [precise description of valid object paths](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-marshaling-object-path).
127
136
  **/
128
137
  #define G_VARIANT_TYPE_OBJECT_PATH ((const GVariantType *) "o")
129
138
 
130
139
  /**
131
140
  * G_VARIANT_TYPE_SIGNATURE:
132
141
  *
133
- * The type of a D-Bus type signature. These are strings of a specific
134
- * format used as type signatures for D-Bus methods and messages.
142
+ * The type of a
143
+ * [D-Bus type signature](https://dbus.freedesktop.org/doc/dbus-specification.html#type-system).
144
+ *
145
+ * These are strings of a specific format used as type signatures for D-Bus
146
+ * methods and messages.
135
147
  *
136
148
  * If you are not interacting with D-Bus, then there is no reason to make
137
149
  * use of this type. If you are, then the D-Bus specification contains a
138
- * precise description of valid signature strings.
150
+ * [precise description of valid signature strings](https://dbus.freedesktop.org/doc/dbus-specification.html#type-system).
139
151
  **/
140
152
  #define G_VARIANT_TYPE_SIGNATURE ((const GVariantType *) "g")
141
153
 
@@ -150,7 +162,7 @@ typedef struct _GVariantType GVariantType;
150
162
  /**
151
163
  * G_VARIANT_TYPE_HANDLE:
152
164
  *
153
- * The type of a 32bit signed integer value, that by convention, is used
165
+ * The type of a 32-bit signed integer value, that by convention, is used
154
166
  * as an index into an array of file descriptors that are sent alongside
155
167
  * a D-Bus message.
156
168
  *
@@ -162,8 +174,9 @@ typedef struct _GVariantType GVariantType;
162
174
  /**
163
175
  * G_VARIANT_TYPE_UNIT:
164
176
  *
165
- * The empty tuple type. Has only one instance. Known also as "triv"
166
- * or "void".
177
+ * The empty tuple type.
178
+ *
179
+ * Has only one instance. Known also as ‘triv’ or ‘void’.
167
180
  **/
168
181
  #define G_VARIANT_TYPE_UNIT ((const GVariantType *) "()")
169
182
 
@@ -186,7 +199,7 @@ typedef struct _GVariantType GVariantType;
186
199
  /**
187
200
  * G_VARIANT_TYPE_MAYBE:
188
201
  *
189
- * An indefinite type that is a supertype of every maybe type.
202
+ * An indefinite type that is a supertype of every ‘maybe’ type.
190
203
  **/
191
204
  #define G_VARIANT_TYPE_MAYBE ((const GVariantType *) "m*")
192
205
 
@@ -216,7 +229,7 @@ typedef struct _GVariantType GVariantType;
216
229
  /**
217
230
  * G_VARIANT_TYPE_DICTIONARY:
218
231
  *
219
- * An indefinite type that is a supertype of every dictionary type --
232
+ * An indefinite type that is a supertype of every dictionary type —
220
233
  * that is, any array type that has an element type equal to any
221
234
  * dictionary entry type.
222
235
  **/
@@ -239,8 +252,10 @@ typedef struct _GVariantType GVariantType;
239
252
  /**
240
253
  * G_VARIANT_TYPE_BYTESTRING:
241
254
  *
242
- * The type of an array of bytes. This type is commonly used to pass
243
- * around strings that may not be valid utf8. In that case, the
255
+ * The type of an array of bytes.
256
+ *
257
+ * This type is commonly used to pass around strings that may not be valid
258
+ * UTF-8, such as file system paths. In that case, the
244
259
  * convention is that the nul terminator character should be included as
245
260
  * the last character in the array.
246
261
  **/
@@ -257,7 +272,7 @@ typedef struct _GVariantType GVariantType;
257
272
  * G_VARIANT_TYPE_VARDICT:
258
273
  *
259
274
  * The type of a dictionary mapping strings to variants (the ubiquitous
260
- * "a{sv}" type).
275
+ * `a{sv}` type).
261
276
  *
262
277
  * Since: 2.30
263
278
  **/
@@ -266,19 +281,20 @@ typedef struct _GVariantType GVariantType;
266
281
 
267
282
  /**
268
283
  * G_VARIANT_TYPE:
269
- * @type_string: a well-formed #GVariantType type string
284
+ * @type_string: a well-formed [type@GLib.VariantType] type string
285
+ *
286
+ * Converts a string to a const [type@GLib.VariantType].
270
287
  *
271
- * Converts a string to a const #GVariantType. Depending on the
272
- * current debugging level, this function may perform a runtime check
273
- * to ensure that @string is a valid GVariant type string.
288
+ * Depending on the current debugging level, this function may perform a runtime
289
+ * check to ensure that @string is a valid [type@GLib.Variant] type string.
274
290
  *
275
291
  * It is always a programmer error to use this macro with an invalid
276
- * type string. If in doubt, use g_variant_type_string_is_valid() to
292
+ * type string. If in doubt, use [func@GLib.variant_type_string_is_valid] to
277
293
  * check if the string is valid.
278
294
  *
279
295
  * Since 2.24
280
296
  **/
281
- #ifndef G_DISABLE_CHECKS
297
+ #ifndef G_DISABLE_CAST_CHECKS
282
298
  # define G_VARIANT_TYPE(type_string) (g_variant_type_checked_ ((type_string)))
283
299
  #else
284
300
  # define G_VARIANT_TYPE(type_string) ((const GVariantType *) (type_string))
@@ -286,7 +302,7 @@ typedef struct _GVariantType GVariantType;
286
302
 
287
303
  /* type string checking */
288
304
  GLIB_AVAILABLE_IN_ALL
289
- gboolean g_variant_type_string_is_valid (const gchar *type_string);
305
+ gboolean g_variant_type_string_is_valid (const gchar *type_string) G_GNUC_CONST;
290
306
  GLIB_AVAILABLE_IN_ALL
291
307
  gboolean g_variant_type_string_scan (const gchar *string,
292
308
  const gchar *limit,
@@ -310,21 +326,21 @@ gchar * g_variant_type_dup_string (const G
310
326
 
311
327
  /* classification */
312
328
  GLIB_AVAILABLE_IN_ALL
313
- gboolean g_variant_type_is_definite (const GVariantType *type);
329
+ gboolean g_variant_type_is_definite (const GVariantType *type) G_GNUC_CONST;
314
330
  GLIB_AVAILABLE_IN_ALL
315
- gboolean g_variant_type_is_container (const GVariantType *type);
331
+ gboolean g_variant_type_is_container (const GVariantType *type) G_GNUC_CONST;
316
332
  GLIB_AVAILABLE_IN_ALL
317
- gboolean g_variant_type_is_basic (const GVariantType *type);
333
+ gboolean g_variant_type_is_basic (const GVariantType *type) G_GNUC_CONST;
318
334
  GLIB_AVAILABLE_IN_ALL
319
- gboolean g_variant_type_is_maybe (const GVariantType *type);
335
+ gboolean g_variant_type_is_maybe (const GVariantType *type) G_GNUC_CONST;
320
336
  GLIB_AVAILABLE_IN_ALL
321
- gboolean g_variant_type_is_array (const GVariantType *type);
337
+ gboolean g_variant_type_is_array (const GVariantType *type) G_GNUC_CONST;
322
338
  GLIB_AVAILABLE_IN_ALL
323
- gboolean g_variant_type_is_tuple (const GVariantType *type);
339
+ gboolean g_variant_type_is_tuple (const GVariantType *type) G_GNUC_CONST;
324
340
  GLIB_AVAILABLE_IN_ALL
325
- gboolean g_variant_type_is_dict_entry (const GVariantType *type);
341
+ gboolean g_variant_type_is_dict_entry (const GVariantType *type) G_GNUC_CONST;
326
342
  GLIB_AVAILABLE_IN_ALL
327
- gboolean g_variant_type_is_variant (const GVariantType *type);
343
+ gboolean g_variant_type_is_variant (const GVariantType *type) G_GNUC_CONST;
328
344
 
329
345
  /* for hash tables */
330
346
  GLIB_AVAILABLE_IN_ALL
@@ -336,21 +352,21 @@ gboolean g_variant_type_equal (gconstp
336
352
  /* subtypes */
337
353
  GLIB_AVAILABLE_IN_ALL
338
354
  gboolean g_variant_type_is_subtype_of (const GVariantType *type,
339
- const GVariantType *supertype);
355
+ const GVariantType *supertype) G_GNUC_CONST;
340
356
 
341
357
  /* type iterator interface */
342
358
  GLIB_AVAILABLE_IN_ALL
343
- const GVariantType * g_variant_type_element (const GVariantType *type);
359
+ const GVariantType * g_variant_type_element (const GVariantType *type) G_GNUC_CONST;
344
360
  GLIB_AVAILABLE_IN_ALL
345
- const GVariantType * g_variant_type_first (const GVariantType *type);
361
+ const GVariantType * g_variant_type_first (const GVariantType *type) G_GNUC_CONST;
346
362
  GLIB_AVAILABLE_IN_ALL
347
- const GVariantType * g_variant_type_next (const GVariantType *type);
363
+ const GVariantType * g_variant_type_next (const GVariantType *type) G_GNUC_CONST;
348
364
  GLIB_AVAILABLE_IN_ALL
349
- gsize g_variant_type_n_items (const GVariantType *type);
365
+ gsize g_variant_type_n_items (const GVariantType *type) G_GNUC_CONST;
350
366
  GLIB_AVAILABLE_IN_ALL
351
- const GVariantType * g_variant_type_key (const GVariantType *type);
367
+ const GVariantType * g_variant_type_key (const GVariantType *type) G_GNUC_CONST;
352
368
  GLIB_AVAILABLE_IN_ALL
353
- const GVariantType * g_variant_type_value (const GVariantType *type);
369
+ const GVariantType * g_variant_type_value (const GVariantType *type) G_GNUC_CONST;
354
370
 
355
371
  /* constructors */
356
372
  GLIB_AVAILABLE_IN_ALL
@@ -404,6 +404,15 @@
404
404
  * Since: 2.82
405
405
  */
406
406
  #define GLIB_VERSION_2_82 (G_ENCODE_VERSION (2, 82))
407
+ /**
408
+ * GLIB_VERSION_2_84:
409
+ *
410
+ * A macro that evaluates to the 2.84 version of GLib, in a format
411
+ * that can be used by the C pre-processor.
412
+ *
413
+ * Since: 2.84
414
+ */
415
+ #define GLIB_VERSION_2_84 (G_ENCODE_VERSION (2, 84))
407
416
 
408
417
  /**
409
418
  * GLIB_VERSION_CUR_STABLE:
@@ -184,6 +184,11 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
184
184
  * Since: 2.80
185
185
  */
186
186
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
187
+ static inline gboolean g_unix_pipe_open (GUnixPipe *self,
188
+ int flags,
189
+ GError **error);
190
+
191
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
187
192
  static inline gboolean
188
193
  g_unix_pipe_open (GUnixPipe *self,
189
194
  int flags,
@@ -212,6 +217,10 @@ g_unix_pipe_open (GUnixPipe *self,
212
217
  * Since: 2.80
213
218
  */
214
219
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
220
+ static inline int g_unix_pipe_get (GUnixPipe *self,
221
+ GUnixPipeEnd end);
222
+
223
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
215
224
  static inline int
216
225
  g_unix_pipe_get (GUnixPipe *self,
217
226
  GUnixPipeEnd end)
@@ -241,6 +250,10 @@ g_unix_pipe_get (GUnixPipe *self,
241
250
  * Since: 2.80
242
251
  */
243
252
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
253
+ static inline int g_unix_pipe_steal (GUnixPipe *self,
254
+ GUnixPipeEnd end);
255
+
256
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
244
257
  static inline int
245
258
  g_unix_pipe_steal (GUnixPipe *self,
246
259
  GUnixPipeEnd end)
@@ -276,6 +289,11 @@ g_unix_pipe_steal (GUnixPipe *self,
276
289
  * Since: 2.80
277
290
  */
278
291
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
292
+ static inline gboolean g_unix_pipe_close (GUnixPipe *self,
293
+ GUnixPipeEnd end,
294
+ GError **error);
295
+
296
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
279
297
  static inline gboolean
280
298
  g_unix_pipe_close (GUnixPipe *self,
281
299
  GUnixPipeEnd end,
@@ -304,6 +322,9 @@ g_unix_pipe_close (GUnixPipe *self,
304
322
  *
305
323
  * Since: 2.80
306
324
  */
325
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
326
+ static inline void g_unix_pipe_clear (GUnixPipe *self);
327
+
307
328
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
308
329
  static inline void
309
330
  g_unix_pipe_clear (GUnixPipe *self)
@@ -1018,3 +1018,37 @@
1018
1018
  #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_82
1019
1019
  #define GMODULE_AVAILABLE_TYPE_IN_2_82
1020
1020
  #endif
1021
+
1022
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_84
1023
+ #define GMODULE_DEPRECATED_IN_2_84 GMODULE_DEPRECATED
1024
+ #define GMODULE_DEPRECATED_IN_2_84_FOR(f) GMODULE_DEPRECATED_FOR (f)
1025
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84 GLIB_DEPRECATED_MACRO
1026
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1027
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84 GLIB_DEPRECATED_ENUMERATOR
1028
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1029
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84 GLIB_DEPRECATED_TYPE
1030
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1031
+ #else
1032
+ #define GMODULE_DEPRECATED_IN_2_84 _GMODULE_EXTERN
1033
+ #define GMODULE_DEPRECATED_IN_2_84_FOR(f) _GMODULE_EXTERN
1034
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84
1035
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84_FOR(f)
1036
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84
1037
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f)
1038
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84
1039
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84_FOR(f)
1040
+ #endif
1041
+
1042
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_84
1043
+ #define GMODULE_AVAILABLE_IN_2_84 GMODULE_UNAVAILABLE (2, 84)
1044
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_84 GLIB_UNAVAILABLE_STATIC_INLINE (2, 84)
1045
+ #define GMODULE_AVAILABLE_MACRO_IN_2_84 GLIB_UNAVAILABLE_MACRO (2, 84)
1046
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_84 GLIB_UNAVAILABLE_ENUMERATOR (2, 84)
1047
+ #define GMODULE_AVAILABLE_TYPE_IN_2_84 GLIB_UNAVAILABLE_TYPE (2, 84)
1048
+ #else
1049
+ #define GMODULE_AVAILABLE_IN_2_84 _GMODULE_EXTERN
1050
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_84
1051
+ #define GMODULE_AVAILABLE_MACRO_IN_2_84
1052
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_84
1053
+ #define GMODULE_AVAILABLE_TYPE_IN_2_84
1054
+ #endif
@@ -8,7 +8,7 @@
8
8
 
9
9
  G_BEGIN_DECLS
10
10
 
11
- /* enumerations from "../gobject/../glib/gunicode.h" */
11
+ /* enumerations from "gunicode.h" */
12
12
  GOBJECT_AVAILABLE_IN_2_60 GType g_unicode_type_get_type (void) G_GNUC_CONST;
13
13
  #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type ())
14
14
  GOBJECT_AVAILABLE_IN_2_60 GType g_unicode_break_type_get_type (void) G_GNUC_CONST;
@@ -1018,3 +1018,37 @@
1018
1018
  #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_82
1019
1019
  #define GOBJECT_AVAILABLE_TYPE_IN_2_82
1020
1020
  #endif
1021
+
1022
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_84
1023
+ #define GOBJECT_DEPRECATED_IN_2_84 GOBJECT_DEPRECATED
1024
+ #define GOBJECT_DEPRECATED_IN_2_84_FOR(f) GOBJECT_DEPRECATED_FOR (f)
1025
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84 GLIB_DEPRECATED_MACRO
1026
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1027
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84 GLIB_DEPRECATED_ENUMERATOR
1028
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1029
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84 GLIB_DEPRECATED_TYPE
1030
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1031
+ #else
1032
+ #define GOBJECT_DEPRECATED_IN_2_84 _GOBJECT_EXTERN
1033
+ #define GOBJECT_DEPRECATED_IN_2_84_FOR(f) _GOBJECT_EXTERN
1034
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84
1035
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84_FOR(f)
1036
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84
1037
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f)
1038
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84
1039
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84_FOR(f)
1040
+ #endif
1041
+
1042
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_84
1043
+ #define GOBJECT_AVAILABLE_IN_2_84 GOBJECT_UNAVAILABLE (2, 84)
1044
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_84 GLIB_UNAVAILABLE_STATIC_INLINE (2, 84)
1045
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_84 GLIB_UNAVAILABLE_MACRO (2, 84)
1046
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_84 GLIB_UNAVAILABLE_ENUMERATOR (2, 84)
1047
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_84 GLIB_UNAVAILABLE_TYPE (2, 84)
1048
+ #else
1049
+ #define GOBJECT_AVAILABLE_IN_2_84 _GOBJECT_EXTERN
1050
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_84
1051
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_84
1052
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_84
1053
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_84
1054
+ #endif
@@ -46,7 +46,7 @@ struct _GObjectNotifyContext
46
46
  {
47
47
  GQuark quark_notify_queue;
48
48
  GObjectNotifyQueueDispatcher dispatcher;
49
- GTrashStack *_nqueue_trash; /* unused */
49
+ void *_nqueue_trash; /* unused */
50
50
  };
51
51
  struct _GObjectNotifyQueue
52
52
  {
@@ -140,7 +140,7 @@ g_object_notify_queue_thaw (GObject *object,
140
140
  }
141
141
 
142
142
  static inline void
143
- g_object_notify_queue_clear (GObject *object,
143
+ g_object_notify_queue_clear (GObject *object G_GNUC_UNUSED,
144
144
  GObjectNotifyQueue *nqueue)
145
145
  {
146
146
  g_return_if_fail (nqueue->freeze_count > 0);
@@ -155,7 +155,7 @@ g_object_notify_queue_clear (GObject *object,
155
155
  }
156
156
 
157
157
  static inline void
158
- g_object_notify_queue_add (GObject *object,
158
+ g_object_notify_queue_add (GObject *object G_GNUC_UNUSED,
159
159
  GObjectNotifyQueue *nqueue,
160
160
  GParamSpec *pspec)
161
161
  {
@@ -120,8 +120,10 @@ G_BEGIN_DECLS
120
120
  * @G_PARAM_READABLE: the parameter is readable
121
121
  * @G_PARAM_WRITABLE: the parameter is writable
122
122
  * @G_PARAM_READWRITE: alias for %G_PARAM_READABLE | %G_PARAM_WRITABLE
123
- * @G_PARAM_CONSTRUCT: the parameter will be set upon object construction
124
- * @G_PARAM_CONSTRUCT_ONLY: the parameter can only be set upon object construction
123
+ * @G_PARAM_CONSTRUCT: the parameter will be set upon object construction.
124
+ * See [vfunc@Object.constructed] for more details
125
+ * @G_PARAM_CONSTRUCT_ONLY: the parameter can only be set upon object construction.
126
+ * See [vfunc@Object.constructed] for more details
125
127
  * @G_PARAM_LAX_VALIDATION: upon parameter conversion (see g_param_value_convert())
126
128
  * strict validation is not required
127
129
  * @G_PARAM_STATIC_NAME: the string used as name when constructing the
@@ -505,11 +505,16 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
505
505
  * The handler will be called synchronously, before the default handler of the signal.
506
506
  * [func@GObject.signal_emit] will not return control until all handlers are called.
507
507
  *
508
- * See [memory management of signal handlers](signals.html#Memory_management_of_signal_handlers) for
508
+ * See [memory management of signal handlers](signals.html#memory-management-of-signal-handlers) for
509
509
  * details on how to handle the return value and memory management of @data.
510
510
  *
511
- * This function cannot fail. If the given signal doesn’t exist, a critical
512
- * warning is emitted.
511
+ * This function cannot fail. If the given signal name doesn’t exist,
512
+ * a critical warning is emitted. No validation is performed on the
513
+ * ‘detail’ string when specified in @detailed_signal, other than a
514
+ * non-empty check.
515
+ *
516
+ * Refer to the [signals documentation](signals.html) for more
517
+ * details.
513
518
  *
514
519
  * Returns: the handler ID, of type `gulong` (always greater than 0)
515
520
  */
@@ -528,8 +533,13 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
528
533
  *
529
534
  * The handler will be called synchronously, after the default handler of the signal.
530
535
  *
531
- * This function cannot fail. If the given signal doesn’t exist, a critical
532
- * warning is emitted.
536
+ * This function cannot fail. If the given signal name doesn’t exist,
537
+ * a critical warning is emitted. No validation is performed on the
538
+ * ‘detail’ string when specified in @detailed_signal, other than a
539
+ * non-empty check.
540
+ *
541
+ * Refer to the [signals documentation](signals.html) for more
542
+ * details.
533
543
  *
534
544
  * Returns: the handler ID, of type `gulong` (always greater than 0)
535
545
  */
@@ -569,8 +579,13 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
569
579
  * (GCallback) button_clicked_cb, other_widget);
570
580
  * ]|
571
581
  *
572
- * This function cannot fail. If the given signal doesn’t exist, a critical
573
- * warning is emitted.
582
+ * This function cannot fail. If the given signal name doesn’t exist,
583
+ * a critical warning is emitted. No validation is performed on the
584
+ * ‘detail’ string when specified in @detailed_signal, other than a
585
+ * non-empty check.
586
+ *
587
+ * Refer to the [signals documentation](signals.html) for more
588
+ * details.
574
589
  *
575
590
  * Returns: the handler ID, of type `gulong` (always greater than 0)
576
591
  */
@@ -759,6 +759,8 @@ gboolean g_type_is_a (GType type,
759
759
  /* Hoist exact GType comparisons into the caller */
760
760
  #define g_type_is_a(a,b) ((a) == (b) || (g_type_is_a) ((a), (b)))
761
761
 
762
+ GOBJECT_AVAILABLE_IN_2_84
763
+ gpointer g_type_class_get (GType type);
762
764
  GOBJECT_AVAILABLE_IN_ALL
763
765
  gpointer g_type_class_ref (GType type);
764
766
  GOBJECT_AVAILABLE_IN_ALL
@@ -775,6 +777,8 @@ gpointer g_type_interface_peek (gpointer instance_
775
777
  GOBJECT_AVAILABLE_IN_ALL
776
778
  gpointer g_type_interface_peek_parent (gpointer g_iface);
777
779
 
780
+ GOBJECT_AVAILABLE_IN_2_84
781
+ gpointer g_type_default_interface_get (GType g_type);
778
782
  GOBJECT_AVAILABLE_IN_ALL
779
783
  gpointer g_type_default_interface_ref (GType g_type);
780
784
  GOBJECT_AVAILABLE_IN_ALL
@@ -1416,10 +1420,12 @@ typedef gchar * (* GTypeValueLCopyFunc) (const GValue *value,
1416
1420
  * this value bit-by-bit. Each character in the format represents
1417
1421
  * an argument to be collected, and the characters themselves indicate
1418
1422
  * the type of the argument. Currently supported arguments are:
1419
- * - `'i'`: Integers, passed as `collect_values[].v_int`
1420
- * - `'l'`: Longs, passed as `collect_values[].v_long`
1421
- * - `'d'`: Doubles, passed as `collect_values[].v_double`
1422
- * - `'p'`: Pointers, passed as `collect_values[].v_pointer`
1423
+ *
1424
+ * - `'i'`: Integers, passed as `collect_values[].v_int`
1425
+ * - `'l'`: Longs, passed as `collect_values[].v_long`
1426
+ * - `'d'`: Doubles, passed as `collect_values[].v_double`
1427
+ * - `'p'`: Pointers, passed as `collect_values[].v_pointer`
1428
+ *
1423
1429
  * It should be noted that for variable argument list construction,
1424
1430
  * ANSI C promotes every type smaller than an integer to an int, and
1425
1431
  * floats to doubles. So for collection of short int or char, `'i'`
@@ -487,6 +487,13 @@ hb_buffer_set_not_found_glyph (hb_buffer_t *buffer,
487
487
  HB_EXTERN hb_codepoint_t
488
488
  hb_buffer_get_not_found_glyph (const hb_buffer_t *buffer);
489
489
 
490
+ HB_EXTERN void
491
+ hb_buffer_set_not_found_variation_selector_glyph (hb_buffer_t *buffer,
492
+ hb_codepoint_t not_found_variation_selector);
493
+
494
+ HB_EXTERN hb_codepoint_t
495
+ hb_buffer_get_not_found_variation_selector_glyph (const hb_buffer_t *buffer);
496
+
490
497
  HB_EXTERN void
491
498
  hb_buffer_set_random_state (hb_buffer_t *buffer,
492
499
  unsigned state);
@@ -504,6 +504,13 @@ hb_language_matches (hb_language_t language,
504
504
  * @HB_SCRIPT_MATH: `Zmth`, Since: 3.4.0
505
505
  * @HB_SCRIPT_KAWI: `Kawi`, Since: 5.2.0
506
506
  * @HB_SCRIPT_NAG_MUNDARI: `Nagm`, Since: 5.2.0
507
+ * @HB_SCRIPT_GARAY: `Gara`, Since: 10.0.0
508
+ * @HB_SCRIPT_GURUNG_KHEMA: `Gukh`, Since: 10.0.0
509
+ * @HB_SCRIPT_KIRAT_RAI: `Krai`, Since: 10.0.0
510
+ * @HB_SCRIPT_OL_ONAL: `Onao`, Since: 10.0.0
511
+ * @HB_SCRIPT_SUNUWAR: `Sunu`, Since: 10.0.0
512
+ * @HB_SCRIPT_TODHRI: `Todr`, Since: 10.0.0
513
+ * @HB_SCRIPT_TULU_TIGALARI: `Tutg`, Since: 10.0.0
507
514
  * @HB_SCRIPT_INVALID: No script set
508
515
  *
509
516
  * Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding
@@ -731,6 +738,17 @@ typedef enum
731
738
  HB_SCRIPT_KAWI = HB_TAG ('K','a','w','i'), /*15.0*/
732
739
  HB_SCRIPT_NAG_MUNDARI = HB_TAG ('N','a','g','m'), /*15.0*/
733
740
 
741
+ /*
742
+ * Since 10.0.0
743
+ */
744
+ HB_SCRIPT_GARAY = HB_TAG ('G','a','r','a'), /*16.0*/
745
+ HB_SCRIPT_GURUNG_KHEMA = HB_TAG ('G','u','k','h'), /*16.0*/
746
+ HB_SCRIPT_KIRAT_RAI = HB_TAG ('K','r','a','i'), /*16.0*/
747
+ HB_SCRIPT_OL_ONAL = HB_TAG ('O','n','a','o'), /*16.0*/
748
+ HB_SCRIPT_SUNUWAR = HB_TAG ('S','u','n','u'), /*16.0*/
749
+ HB_SCRIPT_TODHRI = HB_TAG ('T','o','d','r'), /*16.0*/
750
+ HB_SCRIPT_TULU_TIGALARI = HB_TAG ('T','u','t','g'), /*16.0*/
751
+
734
752
  /* No script set. */
735
753
  HB_SCRIPT_INVALID = HB_TAG_NONE,
736
754
 
@@ -70,7 +70,7 @@ typedef struct hb_draw_state_t {
70
70
  *
71
71
  * The default #hb_draw_state_t at the start of glyph drawing.
72
72
  */
73
- #define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, {0.}, {0.}, {0.}}
73
+ #define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, {0.}, {0.}, {0.}, {0.}, {0.}, {0.}, {0.}}
74
74
 
75
75
 
76
76
  /**
@@ -59,15 +59,28 @@ HB_EXTERN hb_face_t *
59
59
  hb_face_create (hb_blob_t *blob,
60
60
  unsigned int index);
61
61
 
62
+ HB_EXTERN hb_face_t *
63
+ hb_face_create_or_fail (hb_blob_t *blob,
64
+ unsigned int index);
65
+
66
+ HB_EXTERN hb_face_t *
67
+ hb_face_create_from_file_or_fail (const char *file_name,
68
+ unsigned int index);
69
+
62
70
  /**
63
71
  * hb_reference_table_func_t:
64
72
  * @face: an #hb_face_t to reference table for
65
73
  * @tag: the tag of the table to reference
66
74
  * @user_data: User data pointer passed by the caller
67
75
  *
68
- * Callback function for hb_face_create_for_tables().
76
+ * Callback function for hb_face_create_for_tables(). The @tag is the tag of the
77
+ * table to reference, and the special tag #HB_TAG_NONE is used to reference the
78
+ * blob of the face itself. If referencing the face blob is not possible, it is
79
+ * recommended to set hb_get_table_tags_func_t on the @face to allow
80
+ * hb_face_reference_blob() to create a face blob out of individual table blobs.
69
81
  *
70
- * Return value: (transfer full): A pointer to the @tag table within @face
82
+ * Return value: (transfer full): A pointer to the @tag table within @face or
83
+ * `NULL` if the table is not found or cannot be referenced.
71
84
  *
72
85
  * Since: 0.9.2
73
86
  */
@@ -135,6 +148,34 @@ hb_face_set_glyph_count (hb_face_t *face,
135
148
  HB_EXTERN unsigned int
136
149
  hb_face_get_glyph_count (const hb_face_t *face);
137
150
 
151
+
152
+ /**
153
+ * hb_get_table_tags_func_t:
154
+ * @face: A face object
155
+ * @start_offset: The index of first table tag to retrieve
156
+ * @table_count: (inout): Input = the maximum number of table tags to return;
157
+ * Output = the actual number of table tags returned (may be zero)
158
+ * @table_tags: (out) (array length=table_count): The array of table tags found
159
+ * @user_data: User data pointer passed by the caller
160
+ *
161
+ * Callback function for hb_face_get_table_tags().
162
+ *
163
+ * Return value: Total number of tables, or zero if it is not possible to list
164
+ *
165
+ * Since: 10.0.0
166
+ */
167
+ typedef unsigned int (*hb_get_table_tags_func_t) (const hb_face_t *face,
168
+ unsigned int start_offset,
169
+ unsigned int *table_count, /* IN/OUT */
170
+ hb_tag_t *table_tags /* OUT */,
171
+ void *user_data);
172
+
173
+ HB_EXTERN void
174
+ hb_face_set_get_table_tags_func (hb_face_t *face,
175
+ hb_get_table_tags_func_t func,
176
+ void *user_data,
177
+ hb_destroy_func_t destroy);
178
+
138
179
  HB_EXTERN unsigned int
139
180
  hb_face_get_table_tags (const hb_face_t *face,
140
181
  unsigned int start_offset,