@img/sharp-libvips-dev 1.1.0-rc3 → 1.1.0-rc5

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 (119) hide show
  1. package/include/aom/aom_codec.h +18 -1
  2. package/include/aom/aom_encoder.h +2 -0
  3. package/include/aom/aom_image.h +3 -1
  4. package/include/aom/aomcx.h +52 -12
  5. package/include/archive.h +3 -3
  6. package/include/archive_entry.h +3 -2
  7. package/include/cairo/cairo-version.h +1 -1
  8. package/include/expat.h +6 -4
  9. package/include/expat_config.h +3 -3
  10. package/include/ffi.h +1 -1
  11. package/include/fontconfig/fcfreetype.h +5 -5
  12. package/include/fontconfig/fcprivate.h +86 -92
  13. package/include/fontconfig/fontconfig.h +337 -310
  14. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
  15. package/include/gio-unix-2.0/gio/gunixmounts.h +95 -23
  16. package/include/glib-2.0/gio/gdbusconnection.h +65 -5
  17. package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
  18. package/include/glib-2.0/gio/gfile.h +4 -0
  19. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  20. package/include/glib-2.0/gio/gioenums.h +14 -3
  21. package/include/glib-2.0/gio/gioenumtypes.h +3 -3
  22. package/include/glib-2.0/gio/giotypes.h +4 -4
  23. package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
  24. package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  25. package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
  26. package/include/glib-2.0/gio/gproxy.h +1 -1
  27. package/include/glib-2.0/gio/gproxyresolver.h +1 -1
  28. package/include/glib-2.0/gio/gresource.h +6 -0
  29. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  30. package/include/glib-2.0/gio/gvfs.h +3 -3
  31. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  32. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  33. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  34. package/include/glib-2.0/girepository/gitypes.h +1 -0
  35. package/include/glib-2.0/glib/garray.h +1 -1
  36. package/include/glib-2.0/glib/gerror.h +1 -1
  37. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  38. package/include/glib-2.0/glib/gmacros.h +3 -3
  39. package/include/glib-2.0/glib/gmain.h +79 -1
  40. package/include/glib-2.0/glib/gmem.h +3 -0
  41. package/include/glib-2.0/glib/goption.h +58 -36
  42. package/include/glib-2.0/glib/gqueue.h +1 -1
  43. package/include/glib-2.0/glib/grefstring.h +4 -0
  44. package/include/glib-2.0/glib/gstdio.h +65 -0
  45. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  46. package/include/glib-2.0/glib/gtestutils.h +65 -33
  47. package/include/glib-2.0/glib/gthread.h +2 -0
  48. package/include/glib-2.0/glib/gtypes.h +1 -1
  49. package/include/glib-2.0/glib/gunicode.h +21 -5
  50. package/include/glib-2.0/glib/gvariant.h +50 -13
  51. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  52. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  53. package/include/glib-2.0/glib-unix.h +21 -0
  54. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  55. package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
  56. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  57. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +1 -1
  58. package/include/glib-2.0/gobject/gparam.h +4 -2
  59. package/include/glib-2.0/gobject/gsignal.h +22 -7
  60. package/include/glib-2.0/gobject/gtype.h +10 -4
  61. package/include/harfbuzz/hb-buffer.h +62 -3
  62. package/include/harfbuzz/hb-common.h +11 -0
  63. package/include/harfbuzz/hb-draw.h +10 -2
  64. package/include/harfbuzz/hb-face.h +29 -2
  65. package/include/harfbuzz/hb-font.h +6 -0
  66. package/include/harfbuzz/hb-ft.h +15 -1
  67. package/include/harfbuzz/hb-ot-shape.h +6 -0
  68. package/include/harfbuzz/hb-paint.h +9 -1
  69. package/include/harfbuzz/hb-shape.h +2 -0
  70. package/include/harfbuzz/hb-subset-serialize.h +83 -0
  71. package/include/harfbuzz/hb-subset.h +12 -0
  72. package/include/harfbuzz/hb-version.h +3 -3
  73. package/include/lcms2.h +7 -5
  74. package/include/lcms2_plugin.h +1 -1
  75. package/include/libexif/exif-byte-order.h +2 -0
  76. package/include/libexif/exif-content.h +2 -0
  77. package/include/libexif/exif-data-type.h +2 -0
  78. package/include/libexif/exif-data.h +3 -2
  79. package/include/libexif/exif-entry.h +2 -0
  80. package/include/libexif/exif-format.h +2 -0
  81. package/include/libexif/exif-ifd.h +2 -0
  82. package/include/libexif/exif-loader.h +2 -0
  83. package/include/libexif/exif-log.h +2 -0
  84. package/include/libexif/exif-mem.h +2 -0
  85. package/include/libexif/exif-mnote-data.h +2 -0
  86. package/include/libexif/exif-tag.h +2 -0
  87. package/include/libexif/exif-utils.h +2 -0
  88. package/include/libheif/heif.h +12 -3
  89. package/include/libheif/heif_cxx.h +18 -12
  90. package/include/libheif/heif_items.h +2 -2
  91. package/include/libheif/heif_properties.h +4 -4
  92. package/include/libheif/heif_version.h +2 -2
  93. package/include/libpng16/png.h +120 -12
  94. package/include/libpng16/pngconf.h +2 -3
  95. package/include/libpng16/pnglibconf.h +11 -2
  96. package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
  97. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
  98. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  99. package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
  100. package/include/libxml2/libxml/xmlversion.h +4 -4
  101. package/include/pango-1.0/pango/pango-features.h +3 -3
  102. package/include/pango-1.0/pango/pango-font.h +32 -3
  103. package/include/pango-1.0/pango/pango-fontmap.h +4 -0
  104. package/include/pango-1.0/pango/pango-layout.h +10 -1
  105. package/include/pango-1.0/pango/pango-version-macros.h +52 -0
  106. package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
  107. package/include/pixman-1/pixman-version.h +3 -3
  108. package/include/png.h +120 -12
  109. package/include/pngconf.h +2 -3
  110. package/include/pnglibconf.h +11 -2
  111. package/include/vips/colour.h +2 -0
  112. package/include/vips/version.h +4 -4
  113. package/include/webp/encode.h +5 -4
  114. package/include/webp/sharpyuv/sharpyuv.h +14 -5
  115. package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
  116. package/include/webp/types.h +2 -2
  117. package/include/zlib.h +4 -4
  118. package/package.json +1 -1
  119. package/versions.json +20 -20
@@ -117,7 +117,7 @@ gchar * g_desktop_app_info_get_action_name (GDeskto
117
117
  * G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME:
118
118
  *
119
119
  * Extension point for default handler to URI association. See
120
- * [Extending GIO][extending-gio].
120
+ * [Extending GIO](overview.html#extending-gio).
121
121
  *
122
122
  * Deprecated: 2.28: The #GDesktopAppInfoLookup interface is deprecated and
123
123
  * unused by GIO.
@@ -55,7 +55,14 @@ GType g_unix_mount_point_get_type (void) G_GNUC_CONST;
55
55
  /**
56
56
  * GUnixMountMonitor:
57
57
  *
58
- * Watches #GUnixMounts for changes.
58
+ * Watches for changes to the set of mount entries and mount points in the
59
+ * system.
60
+ *
61
+ * Connect to the [signal@GioUnix.MountMonitor::mounts-changed] signal to be
62
+ * notified of changes to the [struct@GioUnix.MountEntry] list.
63
+ *
64
+ * Connect to the [signal@GioUnix.MountMonitor::mountpoints-changed] signal to
65
+ * be notified of changes to the [struct@GioUnix.MountPoint] list.
59
66
  **/
60
67
  typedef struct _GUnixMountMonitor GUnixMountMonitor;
61
68
  typedef struct _GUnixMountMonitorClass GUnixMountMonitorClass;
@@ -67,43 +74,89 @@ typedef struct _GUnixMountMonitorClass GUnixMountMonitorClass;
67
74
  #define G_IS_UNIX_MOUNT_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_MOUNT_MONITOR))
68
75
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountMonitor, g_object_unref)
69
76
 
70
- GIO_AVAILABLE_IN_ALL
77
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_free)
71
78
  void g_unix_mount_free (GUnixMountEntry *mount_entry);
72
- GIO_AVAILABLE_IN_2_54
79
+ GIO_AVAILABLE_IN_2_84
80
+ void g_unix_mount_entry_free (GUnixMountEntry *mount_entry);
81
+
82
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_copy)
73
83
  GUnixMountEntry *g_unix_mount_copy (GUnixMountEntry *mount_entry);
84
+ GIO_AVAILABLE_IN_2_84
85
+ GUnixMountEntry *g_unix_mount_entry_copy (GUnixMountEntry *mount_entry);
86
+
74
87
  GIO_AVAILABLE_IN_ALL
75
88
  void g_unix_mount_point_free (GUnixMountPoint *mount_point);
76
89
  GIO_AVAILABLE_IN_2_54
77
90
  GUnixMountPoint *g_unix_mount_point_copy (GUnixMountPoint *mount_point);
78
- GIO_AVAILABLE_IN_ALL
91
+
92
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_compare)
79
93
  gint g_unix_mount_compare (GUnixMountEntry *mount1,
80
- GUnixMountEntry *mount2);
81
- GIO_AVAILABLE_IN_ALL
94
+ GUnixMountEntry *mount2);
95
+ GIO_AVAILABLE_IN_2_84
96
+ gint g_unix_mount_entry_compare (GUnixMountEntry *mount1,
97
+ GUnixMountEntry *mount2);
98
+
99
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_mount_path)
82
100
  const char * g_unix_mount_get_mount_path (GUnixMountEntry *mount_entry);
83
- GIO_AVAILABLE_IN_ALL
101
+ GIO_AVAILABLE_IN_2_84
102
+ const char * g_unix_mount_entry_get_mount_path (GUnixMountEntry *mount_entry);
103
+
104
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_device_path)
84
105
  const char * g_unix_mount_get_device_path (GUnixMountEntry *mount_entry);
85
- GIO_AVAILABLE_IN_2_60
106
+ GIO_AVAILABLE_IN_2_84
107
+ const char * g_unix_mount_entry_get_device_path (GUnixMountEntry *mount_entry);
108
+
109
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_root_path)
86
110
  const char * g_unix_mount_get_root_path (GUnixMountEntry *mount_entry);
87
- GIO_AVAILABLE_IN_ALL
111
+ GIO_AVAILABLE_IN_2_84
112
+ const char * g_unix_mount_entry_get_root_path (GUnixMountEntry *mount_entry);
113
+
114
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_fs_type)
88
115
  const char * g_unix_mount_get_fs_type (GUnixMountEntry *mount_entry);
89
- GIO_AVAILABLE_IN_2_58
116
+ GIO_AVAILABLE_IN_2_84
117
+ const char * g_unix_mount_entry_get_fs_type (GUnixMountEntry *mount_entry);
118
+
119
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_options)
90
120
  const char * g_unix_mount_get_options (GUnixMountEntry *mount_entry);
91
- GIO_AVAILABLE_IN_ALL
121
+ GIO_AVAILABLE_IN_2_84
122
+ const char * g_unix_mount_entry_get_options (GUnixMountEntry *mount_entry);
123
+
124
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_is_readonly)
92
125
  gboolean g_unix_mount_is_readonly (GUnixMountEntry *mount_entry);
93
- GIO_AVAILABLE_IN_ALL
126
+ GIO_AVAILABLE_IN_2_84
127
+ gboolean g_unix_mount_entry_is_readonly (GUnixMountEntry *mount_entry);
128
+
129
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_is_system_internal)
94
130
  gboolean g_unix_mount_is_system_internal (GUnixMountEntry *mount_entry);
95
- GIO_AVAILABLE_IN_ALL
131
+ GIO_AVAILABLE_IN_2_84
132
+ gboolean g_unix_mount_entry_is_system_internal(GUnixMountEntry *mount_entry);
133
+
134
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_can_eject)
96
135
  gboolean g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry);
97
- GIO_AVAILABLE_IN_ALL
136
+ GIO_AVAILABLE_IN_2_84
137
+ gboolean g_unix_mount_entry_guess_can_eject (GUnixMountEntry *mount_entry);
138
+
139
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_should_display)
98
140
  gboolean g_unix_mount_guess_should_display (GUnixMountEntry *mount_entry);
99
- GIO_AVAILABLE_IN_ALL
141
+ GIO_AVAILABLE_IN_2_84
142
+ gboolean g_unix_mount_entry_guess_should_display(GUnixMountEntry *mount_entry);
143
+
144
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_name)
100
145
  char * g_unix_mount_guess_name (GUnixMountEntry *mount_entry);
101
- GIO_AVAILABLE_IN_ALL
146
+ GIO_AVAILABLE_IN_2_84
147
+ char * g_unix_mount_entry_guess_name (GUnixMountEntry *mount_entry);
148
+
149
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_icon)
102
150
  GIcon * g_unix_mount_guess_icon (GUnixMountEntry *mount_entry);
103
- GIO_AVAILABLE_IN_ALL
151
+ GIO_AVAILABLE_IN_2_84
152
+ GIcon * g_unix_mount_entry_guess_icon (GUnixMountEntry *mount_entry);
153
+
154
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_symbolic_icon)
104
155
  GIcon * g_unix_mount_guess_symbolic_icon (GUnixMountEntry *mount_entry);
156
+ GIO_AVAILABLE_IN_2_84
157
+ GIcon * g_unix_mount_entry_guess_symbolic_icon(GUnixMountEntry *mount_entry);
105
158
 
106
- G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountEntry, g_unix_mount_free)
159
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountEntry, g_unix_mount_entry_free)
107
160
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountPoint, g_unix_mount_point_free)
108
161
 
109
162
  GIO_AVAILABLE_IN_ALL
@@ -142,20 +195,39 @@ GUnixMountPoint **g_unix_mount_points_get_from_file (const char *table_p
142
195
  GIO_AVAILABLE_IN_2_66
143
196
  GUnixMountPoint *g_unix_mount_point_at (const char *mount_path,
144
197
  guint64 *time_read);
145
- GIO_AVAILABLE_IN_ALL
198
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entries_get)
146
199
  GList * g_unix_mounts_get (guint64 *time_read);
147
- GIO_AVAILABLE_IN_2_82
200
+ GIO_AVAILABLE_IN_2_84
201
+ GList * g_unix_mount_entries_get (guint64 *time_read);
202
+
203
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entries_get_from_file)
148
204
  GUnixMountEntry **g_unix_mounts_get_from_file (const char *table_path,
149
205
  uint64_t *time_read_out,
150
206
  size_t *n_entries_out);
151
- GIO_AVAILABLE_IN_ALL
207
+ GIO_AVAILABLE_IN_2_84
208
+ GUnixMountEntry **g_unix_mount_entries_get_from_file(const char *table_path,
209
+ uint64_t *time_read_out,
210
+ size_t *n_entries_out);
211
+
212
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_at)
152
213
  GUnixMountEntry *g_unix_mount_at (const char *mount_path,
153
214
  guint64 *time_read);
154
- GIO_AVAILABLE_IN_2_52
215
+ GIO_AVAILABLE_IN_2_84
216
+ GUnixMountEntry *g_unix_mount_entry_at (const char *mount_path,
217
+ guint64 *time_read);
218
+
219
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_for)
155
220
  GUnixMountEntry *g_unix_mount_for (const char *file_path,
156
221
  guint64 *time_read);
157
- GIO_AVAILABLE_IN_ALL
222
+ GIO_AVAILABLE_IN_2_84
223
+ GUnixMountEntry *g_unix_mount_entry_for (const char *file_path,
224
+ guint64 *time_read);
225
+
226
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entries_changed_since)
158
227
  gboolean g_unix_mounts_changed_since (guint64 time);
228
+ GIO_AVAILABLE_IN_2_84
229
+ gboolean g_unix_mount_entries_changed_since (guint64 time);
230
+
159
231
  GIO_AVAILABLE_IN_ALL
160
232
  gboolean g_unix_mount_points_changed_since (guint64 time);
161
233
 
@@ -265,9 +265,11 @@ GVariant *g_dbus_connection_call_with_unix_fd_list_sync (GDBusConnection
265
265
  /**
266
266
  * GDBusInterfaceMethodCallFunc:
267
267
  * @connection: A #GDBusConnection.
268
- * @sender: The unique bus name of the remote caller.
268
+ * @sender: (nullable): The unique bus name of the remote caller, or `NULL` if
269
+ * not specified by the caller, e.g. on peer-to-peer connections.
269
270
  * @object_path: The object path that the method was invoked on.
270
- * @interface_name: The D-Bus interface name the method was invoked on.
271
+ * @interface_name: (nullable): The D-Bus interface name the method was invoked on,
272
+ * or `NULL` if not specified by the sender.
271
273
  * @method_name: The name of the method that was invoked.
272
274
  * @parameters: A #GVariant tuple with parameters.
273
275
  * @invocation: (transfer full): A #GDBusMethodInvocation object that must be used to return a value or error.
@@ -275,6 +277,13 @@ GVariant *g_dbus_connection_call_with_unix_fd_list_sync (GDBusConnection
275
277
  *
276
278
  * The type of the @method_call function in #GDBusInterfaceVTable.
277
279
  *
280
+ * @interface_name may be `NULL` if not specified by the sender, although it’s
281
+ * encouraged for the sender to set it. If unset, and the object has only one
282
+ * method (across all interfaces) matching @method_name, that method is invoked.
283
+ * Otherwise, behaviour is implementation defined. See the
284
+ * [D-Bus specification](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-types-method).
285
+ * It is recommended to return [error@Gio.DBusError.UNKNOWN_METHOD].
286
+ *
278
287
  * Since: 2.26
279
288
  */
280
289
  typedef void (*GDBusInterfaceMethodCallFunc) (GDBusConnection *connection,
@@ -289,7 +298,8 @@ typedef void (*GDBusInterfaceMethodCallFunc) (GDBusConnection *connection,
289
298
  /**
290
299
  * GDBusInterfaceGetPropertyFunc:
291
300
  * @connection: A #GDBusConnection.
292
- * @sender: The unique bus name of the remote caller.
301
+ * @sender: (nullable): The unique bus name of the remote caller or %NULL if
302
+ * not specified by the caller, e.g. on peer-to-peer connections.
293
303
  * @object_path: The object path that the method was invoked on.
294
304
  * @interface_name: The D-Bus interface name for the property.
295
305
  * @property_name: The name of the property to get the value of.
@@ -315,7 +325,8 @@ typedef GVariant *(*GDBusInterfaceGetPropertyFunc) (GDBusConnection *conne
315
325
  /**
316
326
  * GDBusInterfaceSetPropertyFunc:
317
327
  * @connection: A #GDBusConnection.
318
- * @sender: The unique bus name of the remote caller.
328
+ * @sender: (nullable): The unique bus name of the remote caller or %NULL if
329
+ * not specified by the caller, e.g. on peer-to-peer connections.
319
330
  * @object_path: The object path that the method was invoked on.
320
331
  * @interface_name: The D-Bus interface name for the property.
321
332
  * @property_name: The name of the property to get the value of.
@@ -410,7 +421,7 @@ guint g_dbus_connection_register_object (GDBusConnection
410
421
  gpointer user_data,
411
422
  GDestroyNotify user_data_free_func,
412
423
  GError **error);
413
- GIO_AVAILABLE_IN_2_46
424
+ GIO_DEPRECATED_IN_2_84_FOR(g_dbus_connection_register_object_with_closures2)
414
425
  guint g_dbus_connection_register_object_with_closures (GDBusConnection *connection,
415
426
  const gchar *object_path,
416
427
  GDBusInterfaceInfo *interface_info,
@@ -418,6 +429,14 @@ guint g_dbus_connection_register_object_with_closures (GDBusConnectio
418
429
  GClosure *get_property_closure,
419
430
  GClosure *set_property_closure,
420
431
  GError **error);
432
+ GIO_AVAILABLE_IN_2_84
433
+ guint g_dbus_connection_register_object_with_closures2 (GDBusConnection *connection,
434
+ const gchar *object_path,
435
+ GDBusInterfaceInfo *interface_info,
436
+ GClosure *method_call_closure,
437
+ GClosure *get_property_closure,
438
+ GClosure *set_property_closure,
439
+ GError **error);
421
440
  GIO_AVAILABLE_IN_ALL
422
441
  gboolean g_dbus_connection_unregister_object (GDBusConnection *connection,
423
442
  guint registration_id);
@@ -592,6 +611,47 @@ GIO_AVAILABLE_IN_ALL
592
611
  void g_dbus_connection_signal_unsubscribe (GDBusConnection *connection,
593
612
  guint subscription_id);
594
613
 
614
+ /**
615
+ * g_clear_dbus_signal_subscription: (skip)
616
+ * @subscription_id_pointer: (not optional) (inout): A pointer to either a
617
+ * subscription ID obtained from [method@Gio.DBusConnection.signal_subscribe],
618
+ * or zero.
619
+ * @connection: The connection from which the subscription ID was obtained.
620
+ * This pointer may be `NULL` or invalid, if the subscription ID is zero.
621
+ *
622
+ * If @subscription_id_pointer points to a nonzero subscription ID,
623
+ * unsubscribe from that D-Bus signal subscription as if via
624
+ * [method@Gio.DBusConnection.signal_unsubscribe].
625
+ *
626
+ * Also set the value pointed to by @subscription_id_pointer to zero,
627
+ * which signifies it’s no longer a valid subscription ID.
628
+ *
629
+ * This convenience function for C code helps to ensure that each signal
630
+ * subscription is unsubscribed exactly once, similar to
631
+ * [func@GObject.clear_object] and [func@GObject.clear_signal_handler].
632
+ *
633
+ * Since: 2.84
634
+ */
635
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_84
636
+ static inline void g_clear_dbus_signal_subscription (guint *subscription_id_pointer,
637
+ GDBusConnection *connection);
638
+
639
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_84
640
+ static inline void
641
+ g_clear_dbus_signal_subscription (guint *subscription_id_pointer,
642
+ GDBusConnection *connection)
643
+ {
644
+ guint subscription_id;
645
+
646
+ /* Suppress "Not available before" warning */
647
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
648
+ subscription_id = g_steal_handle_id (subscription_id_pointer);
649
+ G_GNUC_END_IGNORE_DEPRECATIONS
650
+
651
+ if (subscription_id > 0)
652
+ g_dbus_connection_signal_unsubscribe (connection, subscription_id);
653
+ }
654
+
595
655
  /* ---------------------------------------------------------------------------------------------------- */
596
656
 
597
657
  /**
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
35
35
  * G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME:
36
36
  *
37
37
  * Extension point for debug control functionality.
38
- * See [Extending GIO][extending-gio].
38
+ * See [Extending GIO](overview.html#extending-gio).
39
39
  *
40
40
  * Since: 2.72
41
41
  */
@@ -148,6 +148,7 @@ typedef struct _GFileIface GFileIface;
148
148
  * @measure_disk_usage: Recursively measures the disk usage of @file. Since 2.38
149
149
  * @measure_disk_usage_async: Asynchronously recursively measures the disk usage of @file. Since 2.38
150
150
  * @measure_disk_usage_finish: Finishes an asynchronous recursive measurement of the disk usage of @file. Since 2.38
151
+ * @query_exists: Queries whether a file exists. Since 2.84
151
152
  *
152
153
  * An interface for writing VFS file handles.
153
154
  **/
@@ -598,6 +599,9 @@ struct _GFileIface
598
599
  guint64 *num_dirs,
599
600
  guint64 *num_files,
600
601
  GError **error);
602
+
603
+ gboolean (* query_exists) (GFile *file,
604
+ GCancellable *cancellable);
601
605
  };
602
606
 
603
607
  GIO_AVAILABLE_IN_ALL
@@ -1018,3 +1018,37 @@
1018
1018
  #define GIO_AVAILABLE_ENUMERATOR_IN_2_82
1019
1019
  #define GIO_AVAILABLE_TYPE_IN_2_82
1020
1020
  #endif
1021
+
1022
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_84
1023
+ #define GIO_DEPRECATED_IN_2_84 GIO_DEPRECATED
1024
+ #define GIO_DEPRECATED_IN_2_84_FOR(f) GIO_DEPRECATED_FOR (f)
1025
+ #define GIO_DEPRECATED_MACRO_IN_2_84 GLIB_DEPRECATED_MACRO
1026
+ #define GIO_DEPRECATED_MACRO_IN_2_84_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1027
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_84 GLIB_DEPRECATED_ENUMERATOR
1028
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1029
+ #define GIO_DEPRECATED_TYPE_IN_2_84 GLIB_DEPRECATED_TYPE
1030
+ #define GIO_DEPRECATED_TYPE_IN_2_84_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1031
+ #else
1032
+ #define GIO_DEPRECATED_IN_2_84 _GIO_EXTERN
1033
+ #define GIO_DEPRECATED_IN_2_84_FOR(f) _GIO_EXTERN
1034
+ #define GIO_DEPRECATED_MACRO_IN_2_84
1035
+ #define GIO_DEPRECATED_MACRO_IN_2_84_FOR(f)
1036
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_84
1037
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f)
1038
+ #define GIO_DEPRECATED_TYPE_IN_2_84
1039
+ #define GIO_DEPRECATED_TYPE_IN_2_84_FOR(f)
1040
+ #endif
1041
+
1042
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_84
1043
+ #define GIO_AVAILABLE_IN_2_84 GIO_UNAVAILABLE (2, 84)
1044
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_84 GLIB_UNAVAILABLE_STATIC_INLINE (2, 84)
1045
+ #define GIO_AVAILABLE_MACRO_IN_2_84 GLIB_UNAVAILABLE_MACRO (2, 84)
1046
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_84 GLIB_UNAVAILABLE_ENUMERATOR (2, 84)
1047
+ #define GIO_AVAILABLE_TYPE_IN_2_84 GLIB_UNAVAILABLE_TYPE (2, 84)
1048
+ #else
1049
+ #define GIO_AVAILABLE_IN_2_84 _GIO_EXTERN
1050
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_84
1051
+ #define GIO_AVAILABLE_MACRO_IN_2_84
1052
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_84
1053
+ #define GIO_AVAILABLE_TYPE_IN_2_84
1054
+ #endif
@@ -1496,9 +1496,6 @@ typedef enum
1496
1496
 
1497
1497
  /**
1498
1498
  * GApplicationFlags:
1499
- * @G_APPLICATION_FLAGS_NONE: Default. Deprecated in 2.74, use
1500
- * %G_APPLICATION_DEFAULT_FLAGS instead
1501
- * @G_APPLICATION_DEFAULT_FLAGS: Default flags. Since: 2.74
1502
1499
  * @G_APPLICATION_IS_SERVICE: Run as a service. In this mode, registration
1503
1500
  * fails if the service is already running, and the application
1504
1501
  * will initially wait up to 10 seconds for an initial activation
@@ -1540,6 +1537,20 @@ typedef enum
1540
1537
  *
1541
1538
  * Since: 2.28
1542
1539
  **/
1540
+ /**
1541
+ * G_APPLICATION_FLAGS_NONE:
1542
+ *
1543
+ * Default flags.
1544
+ *
1545
+ * Deprecated: 2.74: Use [flags@Gio.ApplicationFlags.DEFAULT_FLAGS].
1546
+ **/
1547
+ /**
1548
+ * G_APPLICATION_DEFAULT_FLAGS:
1549
+ *
1550
+ * Default flags.
1551
+ *
1552
+ * Since: 2.74
1553
+ **/
1543
1554
  typedef enum /*< prefix=G_APPLICATION >*/
1544
1555
  {
1545
1556
  G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS),
@@ -30,7 +30,7 @@
30
30
 
31
31
  G_BEGIN_DECLS
32
32
 
33
- /* enumerations from "../gio/gioenums.h" */
33
+ /* enumerations from "gioenums.h" */
34
34
  GIO_AVAILABLE_IN_ALL GType g_app_info_create_flags_get_type (void) G_GNUC_CONST;
35
35
  #define G_TYPE_APP_INFO_CREATE_FLAGS (g_app_info_create_flags_get_type ())
36
36
  GIO_AVAILABLE_IN_ALL GType g_converter_flags_get_type (void) G_GNUC_CONST;
@@ -192,11 +192,11 @@ GIO_AVAILABLE_IN_ALL GType g_pollable_return_get_type (void) G_GNUC_CONST;
192
192
  GIO_AVAILABLE_IN_ALL GType g_memory_monitor_warning_level_get_type (void) G_GNUC_CONST;
193
193
  #define G_TYPE_MEMORY_MONITOR_WARNING_LEVEL (g_memory_monitor_warning_level_get_type ())
194
194
 
195
- /* enumerations from "../gio/gresolver.h" */
195
+ /* enumerations from "gresolver.h" */
196
196
  GIO_AVAILABLE_IN_ALL GType g_resolver_name_lookup_flags_get_type (void) G_GNUC_CONST;
197
197
  #define G_TYPE_RESOLVER_NAME_LOOKUP_FLAGS (g_resolver_name_lookup_flags_get_type ())
198
198
 
199
- /* enumerations from "../gio/gsettings.h" */
199
+ /* enumerations from "gsettings.h" */
200
200
  GIO_AVAILABLE_IN_ALL GType g_settings_bind_flags_get_type (void) G_GNUC_CONST;
201
201
  #define G_TYPE_SETTINGS_BIND_FLAGS (g_settings_bind_flags_get_type ())
202
202
  G_END_DECLS
@@ -177,8 +177,8 @@ typedef struct _GVolumeMonitor GVolumeMonitor;
177
177
  * Type definition for a function that will be called back when an asynchronous
178
178
  * operation within GIO has been completed. #GAsyncReadyCallback
179
179
  * callbacks from #GTask are guaranteed to be invoked in a later
180
- * iteration of the
181
- * [thread-default main context][g-main-context-push-thread-default]
180
+ * iteration of the thread-default main context
181
+ * (see [method@GLib.MainContext.push_thread_default])
182
182
  * where the #GTask was created. All other users of
183
183
  * #GAsyncReadyCallback must likewise call it asynchronously in a
184
184
  * later iteration of the main context.
@@ -532,8 +532,8 @@ typedef struct _GDBusObjectManagerServer GDBusObjectManagerServer;
532
532
  * use for an interface proxy (if @interface_name is not %NULL) or
533
533
  * object proxy (if @interface_name is %NULL).
534
534
  *
535
- * This function is called in the
536
- * [thread-default main loop][g-main-context-push-thread-default]
535
+ * This function is called in the thread-default main context
536
+ * (see [method@GLib.MainContext.push_thread_default])
537
537
  * that @manager was constructed in.
538
538
  *
539
539
  * Returns: A #GType to use for the remote object. The returned type
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
33
33
  * G_MEMORY_MONITOR_EXTENSION_POINT_NAME:
34
34
  *
35
35
  * Extension point for memory usage monitoring functionality.
36
- * See [Extending GIO][extending-gio].
36
+ * See [Extending GIO](overview.html#extending-gio).
37
37
  *
38
38
  * Since: 2.64
39
39
  */
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
33
33
  * G_NETWORK_MONITOR_EXTENSION_POINT_NAME:
34
34
  *
35
35
  * Extension point for network status monitoring functionality.
36
- * See [Extending GIO][extending-gio].
36
+ * See [Extending GIO](overview.html#extending-gio).
37
37
  *
38
38
  * Since: 2.30
39
39
  */
@@ -34,7 +34,7 @@ G_BEGIN_DECLS
34
34
  * G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME:
35
35
  *
36
36
  * Extension point for power profile usage monitoring functionality.
37
- * See [Extending GIO][extending-gio].
37
+ * See [Extending GIO](overview.html#extending-gio).
38
38
  *
39
39
  * Since: 2.70
40
40
  */
@@ -42,7 +42,7 @@ G_BEGIN_DECLS
42
42
  * G_PROXY_EXTENSION_POINT_NAME:
43
43
  *
44
44
  * Extension point for proxy functionality.
45
- * See [Extending GIO][extending-gio].
45
+ * See [Extending GIO](overview.html#extending-gio).
46
46
  *
47
47
  * Since: 2.26
48
48
  */
@@ -40,7 +40,7 @@ G_BEGIN_DECLS
40
40
  * G_PROXY_RESOLVER_EXTENSION_POINT_NAME:
41
41
  *
42
42
  * Extension point for proxy resolving functionality.
43
- * See [Extending GIO][extending-gio].
43
+ * See [Extending GIO](overview.html#extending-gio).
44
44
  */
45
45
  #define G_PROXY_RESOLVER_EXTENSION_POINT_NAME "gio-proxy-resolver"
46
46
 
@@ -119,6 +119,12 @@ gboolean g_resources_get_info (const char *path,
119
119
  guint32 *flags,
120
120
  GError **error);
121
121
 
122
+ GIO_AVAILABLE_IN_2_84
123
+ gboolean g_resource_has_children (GResource *resource,
124
+ const char *path);
125
+ GIO_AVAILABLE_IN_2_84
126
+ gboolean g_resources_has_children (const char *path);
127
+
122
128
 
123
129
  GIO_AVAILABLE_IN_2_32
124
130
  void g_static_resource_init (GStaticResource *static_resource);
@@ -34,7 +34,7 @@ G_BEGIN_DECLS
34
34
  * G_TLS_BACKEND_EXTENSION_POINT_NAME:
35
35
  *
36
36
  * Extension point for TLS functionality via #GTlsBackend.
37
- * See [Extending GIO][extending-gio].
37
+ * See [Extending GIO](overview.html#extending-gio).
38
38
  */
39
39
  #define G_TLS_BACKEND_EXTENSION_POINT_NAME "gio-tls-backend"
40
40
 
@@ -43,7 +43,7 @@ G_BEGIN_DECLS
43
43
  * @vfs: a #GVfs
44
44
  * @identifier: the identifier to look up a #GFile for. This can either
45
45
  * be a URI or a parse name as returned by g_file_get_parse_name()
46
- * @user_data: user data passed to the function
46
+ * @user_data: (nullable): user data passed to the function, or %NULL
47
47
  *
48
48
  * This function type is used by g_vfs_register_uri_scheme() to make it
49
49
  * possible for a client to associate a URI scheme to a different #GFile
@@ -52,7 +52,7 @@ G_BEGIN_DECLS
52
52
  * The client should return a reference to the new file that has been
53
53
  * created for @uri, or %NULL to continue with the default implementation.
54
54
  *
55
- * Returns: (transfer full): a #GFile for @identifier.
55
+ * Returns: (nullable) (transfer full): a #GFile for @identifier.
56
56
  *
57
57
  * Since: 2.50
58
58
  */
@@ -64,7 +64,7 @@ typedef GFile * (* GVfsFileLookupFunc) (GVfs *vfs,
64
64
  * G_VFS_EXTENSION_POINT_NAME:
65
65
  *
66
66
  * Extension point for #GVfs functionality.
67
- * See [Extending GIO][extending-gio].
67
+ * See [Extending GIO](overview.html#extending-gio).
68
68
  */
69
69
  #define G_VFS_EXTENSION_POINT_NAME "gio-vfs"
70
70
 
@@ -45,7 +45,7 @@ G_BEGIN_DECLS
45
45
  * G_VOLUME_MONITOR_EXTENSION_POINT_NAME:
46
46
  *
47
47
  * Extension point for volume monitor functionality.
48
- * See [Extending GIO][extending-gio].
48
+ * See [Extending GIO](overview.html#extending-gio).
49
49
  */
50
50
  #define G_VOLUME_MONITOR_EXTENSION_POINT_NAME "gio-volume-monitor"
51
51
 
@@ -1018,3 +1018,37 @@
1018
1018
  #define GI_AVAILABLE_ENUMERATOR_IN_2_82
1019
1019
  #define GI_AVAILABLE_TYPE_IN_2_82
1020
1020
  #endif
1021
+
1022
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_84
1023
+ #define GI_DEPRECATED_IN_2_84 GI_DEPRECATED
1024
+ #define GI_DEPRECATED_IN_2_84_FOR(f) GI_DEPRECATED_FOR (f)
1025
+ #define GI_DEPRECATED_MACRO_IN_2_84 GLIB_DEPRECATED_MACRO
1026
+ #define GI_DEPRECATED_MACRO_IN_2_84_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1027
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_84 GLIB_DEPRECATED_ENUMERATOR
1028
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1029
+ #define GI_DEPRECATED_TYPE_IN_2_84 GLIB_DEPRECATED_TYPE
1030
+ #define GI_DEPRECATED_TYPE_IN_2_84_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1031
+ #else
1032
+ #define GI_DEPRECATED_IN_2_84 _GI_EXTERN
1033
+ #define GI_DEPRECATED_IN_2_84_FOR(f) _GI_EXTERN
1034
+ #define GI_DEPRECATED_MACRO_IN_2_84
1035
+ #define GI_DEPRECATED_MACRO_IN_2_84_FOR(f)
1036
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_84
1037
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f)
1038
+ #define GI_DEPRECATED_TYPE_IN_2_84
1039
+ #define GI_DEPRECATED_TYPE_IN_2_84_FOR(f)
1040
+ #endif
1041
+
1042
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_84
1043
+ #define GI_AVAILABLE_IN_2_84 GI_UNAVAILABLE (2, 84)
1044
+ #define GI_AVAILABLE_STATIC_INLINE_IN_2_84 GLIB_UNAVAILABLE_STATIC_INLINE (2, 84)
1045
+ #define GI_AVAILABLE_MACRO_IN_2_84 GLIB_UNAVAILABLE_MACRO (2, 84)
1046
+ #define GI_AVAILABLE_ENUMERATOR_IN_2_84 GLIB_UNAVAILABLE_ENUMERATOR (2, 84)
1047
+ #define GI_AVAILABLE_TYPE_IN_2_84 GLIB_UNAVAILABLE_TYPE (2, 84)
1048
+ #else
1049
+ #define GI_AVAILABLE_IN_2_84 _GI_EXTERN
1050
+ #define GI_AVAILABLE_STATIC_INLINE_IN_2_84
1051
+ #define GI_AVAILABLE_MACRO_IN_2_84
1052
+ #define GI_AVAILABLE_ENUMERATOR_IN_2_84
1053
+ #define GI_AVAILABLE_TYPE_IN_2_84
1054
+ #endif
@@ -116,4 +116,16 @@ gboolean gi_callable_info_invoke (GICallableInfo *info
116
116
  GI_AVAILABLE_IN_ALL
117
117
  GITransfer gi_callable_info_get_instance_ownership_transfer (GICallableInfo *info);
118
118
 
119
+ GI_AVAILABLE_IN_2_84
120
+ GICallableInfo *gi_callable_info_get_async_function (GICallableInfo *info);
121
+
122
+ GI_AVAILABLE_IN_2_84
123
+ GICallableInfo *gi_callable_info_get_sync_function (GICallableInfo *info);
124
+
125
+ GI_AVAILABLE_IN_2_84
126
+ GICallableInfo *gi_callable_info_get_finish_function (GICallableInfo *info);
127
+
128
+ GI_AVAILABLE_IN_2_84
129
+ gboolean gi_callable_info_is_async (GICallableInfo *info);
130
+
119
131
  G_END_DECLS
@@ -416,6 +416,7 @@ typedef enum
416
416
  GI_FUNCTION_IS_GETTER = 1 << 2,
417
417
  GI_FUNCTION_IS_SETTER = 1 << 3,
418
418
  GI_FUNCTION_WRAPS_VFUNC = 1 << 4,
419
+ GI_FUNCTION_IS_ASYNC = 1 << 5,
419
420
  } GIFunctionInfoFlags;
420
421
 
421
422
  G_END_DECLS
@@ -187,7 +187,7 @@ GPtrArray* g_ptr_array_new_from_null_terminated_array (gpointer *data,
187
187
  GDestroyNotify element_free_func);
188
188
  GLIB_AVAILABLE_IN_ALL
189
189
  gpointer* g_ptr_array_free (GPtrArray *array,
190
- gboolean free_seg);
190
+ gboolean free_segment);
191
191
  GLIB_AVAILABLE_IN_ALL
192
192
  GPtrArray* g_ptr_array_ref (GPtrArray *array);
193
193
  GLIB_AVAILABLE_IN_ALL
@@ -67,7 +67,7 @@ struct _GError
67
67
  * respectively, but they should receive the private data type instead
68
68
  * of #GError.
69
69
  *
70
- * See [Extended #GError Domains][gerror-extended-domains] for an example.
70
+ * See [Extended #GError Domains](error-reporting.html#extended-gerror-domains) for an example.
71
71
  *
72
72
  * Since: 2.68
73
73
  */