@revizly/sharp-libvips-dev 1.0.7 → 1.0.9

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 (147) 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 +64 -9
  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/freetype2/freetype/config/ftconfig.h +1 -1
  19. package/include/freetype2/freetype/config/ftheader.h +1 -1
  20. package/include/freetype2/freetype/config/ftoption.h +17 -1
  21. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  22. package/include/freetype2/freetype/config/integer-types.h +1 -1
  23. package/include/freetype2/freetype/config/mac-support.h +1 -1
  24. package/include/freetype2/freetype/config/public-macros.h +1 -1
  25. package/include/freetype2/freetype/freetype.h +35 -83
  26. package/include/freetype2/freetype/ftadvanc.h +1 -1
  27. package/include/freetype2/freetype/ftbbox.h +1 -1
  28. package/include/freetype2/freetype/ftbdf.h +1 -1
  29. package/include/freetype2/freetype/ftbitmap.h +1 -1
  30. package/include/freetype2/freetype/ftbzip2.h +1 -1
  31. package/include/freetype2/freetype/ftcache.h +1 -1
  32. package/include/freetype2/freetype/ftcid.h +1 -1
  33. package/include/freetype2/freetype/ftcolor.h +1 -1
  34. package/include/freetype2/freetype/ftdriver.h +75 -1
  35. package/include/freetype2/freetype/fterrdef.h +1 -1
  36. package/include/freetype2/freetype/fterrors.h +1 -1
  37. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  38. package/include/freetype2/freetype/ftgasp.h +1 -1
  39. package/include/freetype2/freetype/ftglyph.h +1 -1
  40. package/include/freetype2/freetype/ftgxval.h +1 -1
  41. package/include/freetype2/freetype/ftgzip.h +1 -1
  42. package/include/freetype2/freetype/ftimage.h +17 -12
  43. package/include/freetype2/freetype/ftincrem.h +1 -1
  44. package/include/freetype2/freetype/ftlcdfil.h +1 -1
  45. package/include/freetype2/freetype/ftlist.h +1 -1
  46. package/include/freetype2/freetype/ftlzw.h +1 -1
  47. package/include/freetype2/freetype/ftmac.h +1 -1
  48. package/include/freetype2/freetype/ftmm.h +31 -2
  49. package/include/freetype2/freetype/ftmodapi.h +1 -1
  50. package/include/freetype2/freetype/ftmoderr.h +1 -1
  51. package/include/freetype2/freetype/ftotval.h +1 -1
  52. package/include/freetype2/freetype/ftoutln.h +2 -2
  53. package/include/freetype2/freetype/ftparams.h +1 -1
  54. package/include/freetype2/freetype/ftpfr.h +1 -1
  55. package/include/freetype2/freetype/ftrender.h +1 -1
  56. package/include/freetype2/freetype/ftsizes.h +1 -1
  57. package/include/freetype2/freetype/ftsnames.h +1 -1
  58. package/include/freetype2/freetype/ftstroke.h +1 -1
  59. package/include/freetype2/freetype/ftsynth.h +1 -1
  60. package/include/freetype2/freetype/ftsystem.h +1 -1
  61. package/include/freetype2/freetype/fttrigon.h +1 -1
  62. package/include/freetype2/freetype/fttypes.h +1 -1
  63. package/include/freetype2/freetype/ftwinfnt.h +1 -1
  64. package/include/freetype2/freetype/otsvg.h +1 -1
  65. package/include/freetype2/freetype/t1tables.h +1 -59
  66. package/include/freetype2/freetype/ttnameid.h +1 -1
  67. package/include/freetype2/freetype/tttables.h +4 -3
  68. package/include/freetype2/freetype/tttags.h +1 -1
  69. package/include/freetype2/ft2build.h +1 -1
  70. package/include/fribidi/fribidi-config.h +2 -2
  71. package/include/fribidi/fribidi-unicode-version.h +3 -3
  72. package/include/gio-unix-2.0/gio/gunixmounts.h +97 -23
  73. package/include/glib-2.0/gio/gappinfo.h +40 -25
  74. package/include/glib-2.0/gio/gasyncresult.h +1 -1
  75. package/include/glib-2.0/gio/gfile.h +4 -0
  76. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  77. package/include/glib-2.0/gio/gioenums.h +2 -2
  78. package/include/glib-2.0/gio/gresource.h +6 -0
  79. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  80. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  81. package/include/glib-2.0/girepository/gitypes.h +1 -0
  82. package/include/glib-2.0/glib/garray.h +1 -1
  83. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  84. package/include/glib-2.0/glib/gmacros.h +8 -2
  85. package/include/glib-2.0/glib/gmain.h +223 -54
  86. package/include/glib-2.0/glib/gmem.h +3 -0
  87. package/include/glib-2.0/glib/gqsort.h +8 -1
  88. package/include/glib-2.0/glib/grefstring.h +4 -0
  89. package/include/glib-2.0/glib/gstdio.h +65 -0
  90. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  91. package/include/glib-2.0/glib/gstring.h +4 -0
  92. package/include/glib-2.0/glib/gunicode.h +17 -1
  93. package/include/glib-2.0/glib/gvariant.h +50 -13
  94. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  95. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  96. package/include/glib-2.0/glib-unix.h +21 -0
  97. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  98. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  99. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +3 -3
  100. package/include/glib-2.0/gobject/gtype.h +5 -5
  101. package/include/harfbuzz/hb-buffer.h +7 -0
  102. package/include/harfbuzz/hb-common.h +18 -0
  103. package/include/harfbuzz/hb-draw.h +1 -1
  104. package/include/harfbuzz/hb-face.h +36 -0
  105. package/include/harfbuzz/hb-ft.h +3 -0
  106. package/include/harfbuzz/hb-version.h +3 -3
  107. package/include/libheif/heif.h +485 -34
  108. package/include/libheif/heif_items.h +237 -0
  109. package/include/libheif/heif_properties.h +58 -2
  110. package/include/libheif/heif_regions.h +1 -1
  111. package/include/libheif/heif_version.h +2 -2
  112. package/include/libpng16/png.h +13 -13
  113. package/include/libpng16/pngconf.h +4 -4
  114. package/include/libpng16/pnglibconf.h +1 -1
  115. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  116. package/include/librsvg-2.0/librsvg/rsvg.h +32 -1
  117. package/include/libxml2/libxml/parser.h +1 -1
  118. package/include/libxml2/libxml/xmlexports.h +2 -2
  119. package/include/libxml2/libxml/xmlversion.h +13 -13
  120. package/include/pixman-1/pixman-version.h +3 -3
  121. package/include/png.h +13 -13
  122. package/include/pngconf.h +4 -4
  123. package/include/pnglibconf.h +1 -1
  124. package/include/tiffio.h +11 -11
  125. package/include/tiffvers.h +4 -4
  126. package/include/vips/VImage8.h +170 -60
  127. package/include/vips/arithmetic.h +9 -0
  128. package/include/vips/basic.h +8 -4
  129. package/include/vips/buf.h +0 -2
  130. package/include/vips/connection.h +0 -2
  131. package/include/vips/conversion.h +0 -3
  132. package/include/vips/create.h +11 -0
  133. package/include/vips/enumtypes.h +3 -3
  134. package/include/vips/foreign.h +4 -18
  135. package/include/vips/header.h +7 -0
  136. package/include/vips/image.h +7 -2
  137. package/include/vips/interpolate.h +2 -3
  138. package/include/vips/memory.h +19 -1
  139. package/include/vips/operation.h +2 -7
  140. package/include/vips/private.h +7 -0
  141. package/include/vips/util.h +7 -17
  142. package/include/vips/version.h +8 -8
  143. package/include/vips/vips.h +11 -5
  144. package/include/vips/vips8 +19 -12
  145. package/include/zlib.h +3 -3
  146. package/package.json +1 -1
  147. package/versions.json +16 -16
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType size objects management (specification).
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This is _not_ used to retrieve glyph names!
9
9
  *
10
- * Copyright (C) 1996-2023 by
10
+ * Copyright (C) 1996-2024 by
11
11
  * David Turner, Robert Wilhelm, and Werner Lemberg.
12
12
  *
13
13
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType path stroker (specification).
6
6
  *
7
- * Copyright (C) 2002-2023 by
7
+ * Copyright (C) 2002-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * FreeType synthesizing code for emboldening and slanting
6
6
  * (specification).
7
7
  *
8
- * Copyright (C) 2000-2023 by
8
+ * Copyright (C) 2000-2024 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType low-level system interface definition (specification).
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType trigonometric functions (specification).
6
6
  *
7
- * Copyright (C) 2001-2023 by
7
+ * Copyright (C) 2001-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType simple types definitions (specification only).
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for accessing Windows fnt-specific data.
6
6
  *
7
- * Copyright (C) 2003-2023 by
7
+ * Copyright (C) 2003-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Interface for OT-SVG support related things (specification).
6
6
  *
7
- * Copyright (C) 2022-2023 by
7
+ * Copyright (C) 2022-2024 by
8
8
  * David Turner, Robert Wilhelm, Werner Lemberg, and Moazin Khatti.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * Basic Type 1/Type 2 tables definitions and interface (specification
6
6
  * only).
7
7
  *
8
- * Copyright (C) 1996-2023 by
8
+ * Copyright (C) 1996-2024 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -269,64 +269,6 @@ FT_BEGIN_HEADER
269
269
  /* */
270
270
 
271
271
 
272
- /* maximum number of Multiple Masters designs, as defined in the spec */
273
- #define T1_MAX_MM_DESIGNS 16
274
-
275
- /* maximum number of Multiple Masters axes, as defined in the spec */
276
- #define T1_MAX_MM_AXIS 4
277
-
278
- /* maximum number of elements in a design map */
279
- #define T1_MAX_MM_MAP_POINTS 20
280
-
281
-
282
- /* this structure is used to store the BlendDesignMap entry for an axis */
283
- typedef struct PS_DesignMap_
284
- {
285
- FT_Byte num_points;
286
- FT_Long* design_points;
287
- FT_Fixed* blend_points;
288
-
289
- } PS_DesignMapRec, *PS_DesignMap;
290
-
291
- /* backward compatible definition */
292
- typedef PS_DesignMapRec T1_DesignMap;
293
-
294
-
295
- typedef struct PS_BlendRec_
296
- {
297
- FT_UInt num_designs;
298
- FT_UInt num_axis;
299
-
300
- FT_String* axis_names[T1_MAX_MM_AXIS];
301
- FT_Fixed* design_pos[T1_MAX_MM_DESIGNS];
302
- PS_DesignMapRec design_map[T1_MAX_MM_AXIS];
303
-
304
- FT_Fixed* weight_vector;
305
- FT_Fixed* default_weight_vector;
306
-
307
- PS_FontInfo font_infos[T1_MAX_MM_DESIGNS + 1];
308
- PS_Private privates [T1_MAX_MM_DESIGNS + 1];
309
-
310
- FT_ULong blend_bitflags;
311
-
312
- FT_BBox* bboxes [T1_MAX_MM_DESIGNS + 1];
313
-
314
- /* since 2.3.0 */
315
-
316
- /* undocumented, optional: the default design instance; */
317
- /* corresponds to default_weight_vector -- */
318
- /* num_default_design_vector == 0 means it is not present */
319
- /* in the font and associated metrics files */
320
- FT_UInt default_design_vector[T1_MAX_MM_DESIGNS];
321
- FT_UInt num_default_design_vector;
322
-
323
- } PS_BlendRec, *PS_Blend;
324
-
325
-
326
- /* backward compatible definition */
327
- typedef PS_BlendRec T1_Blend;
328
-
329
-
330
272
  /**************************************************************************
331
273
  *
332
274
  * @struct:
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * TrueType name ID definitions (specification only).
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * Basic SFNT/TrueType tables definitions and interface
6
6
  * (specification only).
7
7
  *
8
- * Copyright (C) 1996-2023 by
8
+ * Copyright (C) 1996-2024 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -838,8 +838,9 @@ FT_BEGIN_HEADER
838
838
  * The target charmap.
839
839
  *
840
840
  * @return:
841
- * The format of `charmap`. If `charmap` doesn't belong to an SFNT face,
842
- * return -1.
841
+ * The format of `charmap`. If `charmap` doesn't belong to an SFNT face
842
+ * (including the synthetic Unicode charmap sometimes created by
843
+ * FreeType), return -1.
843
844
  */
844
845
  FT_EXPORT( FT_Long )
845
846
  FT_Get_CMap_Format( FT_CharMap charmap );
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Tags for TrueType and OpenType tables (specification only).
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType 2 build and setup macros.
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -7,10 +7,10 @@
7
7
  #define FRIBIDI_NAME "GNU FriBidi"
8
8
  #define FRIBIDI_BUGREPORT "https://github.com/fribidi/fribidi/issues/new"
9
9
 
10
- #define FRIBIDI_VERSION "1.0.15"
10
+ #define FRIBIDI_VERSION "1.0.16"
11
11
  #define FRIBIDI_MAJOR_VERSION 1
12
12
  #define FRIBIDI_MINOR_VERSION 0
13
- #define FRIBIDI_MICRO_VERSION 15
13
+ #define FRIBIDI_MICRO_VERSION 16
14
14
  #define FRIBIDI_INTERFACE_VERSION 4
15
15
  #define FRIBIDI_INTERFACE_VERSION_STRING "4"
16
16
 
@@ -2,9 +2,9 @@
2
2
  * generated by gen-unicode-version (fribidi unknown)
3
3
  * from the file ReadMe.txt */
4
4
 
5
- #define FRIBIDI_UNICODE_VERSION "15.1.0"
6
- #define FRIBIDI_UNICODE_MAJOR_VERSION 15
7
- #define FRIBIDI_UNICODE_MINOR_VERSION 1
5
+ #define FRIBIDI_UNICODE_VERSION "16.0.0"
6
+ #define FRIBIDI_UNICODE_MAJOR_VERSION 16
7
+ #define FRIBIDI_UNICODE_MINOR_VERSION 0
8
8
  #define FRIBIDI_UNICODE_MICRO_VERSION 0
9
9
 
10
10
  /* End of generated fribidi-unicode-version.h */
@@ -24,13 +24,14 @@
24
24
  #define __G_UNIX_MOUNTS_H__
25
25
 
26
26
  #include <gio/gio.h>
27
+ #include <stdint.h>
27
28
 
28
29
  G_BEGIN_DECLS
29
30
 
30
31
  /**
31
32
  * GUnixMountEntry:
32
33
  *
33
- * Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>).
34
+ * Defines a Unix mount entry (e.g. `/media/cdrom`).
34
35
  * This corresponds roughly to a mtab entry.
35
36
  **/
36
37
  typedef struct _GUnixMountEntry GUnixMountEntry;
@@ -42,7 +43,7 @@ GType g_unix_mount_entry_get_type (void) G_GNUC_CONST;
42
43
  /**
43
44
  * GUnixMountPoint:
44
45
  *
45
- * Defines a Unix mount point (e.g. <filename>/dev</filename>).
46
+ * Defines a Unix mount point (e.g. `/dev`).
46
47
  * This corresponds roughly to a fstab entry.
47
48
  **/
48
49
  typedef struct _GUnixMountPoint GUnixMountPoint;
@@ -66,43 +67,89 @@ typedef struct _GUnixMountMonitorClass GUnixMountMonitorClass;
66
67
  #define G_IS_UNIX_MOUNT_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_MOUNT_MONITOR))
67
68
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountMonitor, g_object_unref)
68
69
 
69
- GIO_AVAILABLE_IN_ALL
70
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_free)
70
71
  void g_unix_mount_free (GUnixMountEntry *mount_entry);
71
- GIO_AVAILABLE_IN_2_54
72
+ GIO_AVAILABLE_IN_2_84
73
+ void g_unix_mount_entry_free (GUnixMountEntry *mount_entry);
74
+
75
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_copy)
72
76
  GUnixMountEntry *g_unix_mount_copy (GUnixMountEntry *mount_entry);
77
+ GIO_AVAILABLE_IN_2_84
78
+ GUnixMountEntry *g_unix_mount_entry_copy (GUnixMountEntry *mount_entry);
79
+
73
80
  GIO_AVAILABLE_IN_ALL
74
81
  void g_unix_mount_point_free (GUnixMountPoint *mount_point);
75
82
  GIO_AVAILABLE_IN_2_54
76
83
  GUnixMountPoint *g_unix_mount_point_copy (GUnixMountPoint *mount_point);
77
- GIO_AVAILABLE_IN_ALL
84
+
85
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_compare)
78
86
  gint g_unix_mount_compare (GUnixMountEntry *mount1,
79
- GUnixMountEntry *mount2);
80
- GIO_AVAILABLE_IN_ALL
87
+ GUnixMountEntry *mount2);
88
+ GIO_AVAILABLE_IN_2_84
89
+ gint g_unix_mount_entry_compare (GUnixMountEntry *mount1,
90
+ GUnixMountEntry *mount2);
91
+
92
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_mount_path)
81
93
  const char * g_unix_mount_get_mount_path (GUnixMountEntry *mount_entry);
82
- GIO_AVAILABLE_IN_ALL
94
+ GIO_AVAILABLE_IN_2_84
95
+ const char * g_unix_mount_entry_get_mount_path (GUnixMountEntry *mount_entry);
96
+
97
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_device_path)
83
98
  const char * g_unix_mount_get_device_path (GUnixMountEntry *mount_entry);
84
- GIO_AVAILABLE_IN_2_60
99
+ GIO_AVAILABLE_IN_2_84
100
+ const char * g_unix_mount_entry_get_device_path (GUnixMountEntry *mount_entry);
101
+
102
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_root_path)
85
103
  const char * g_unix_mount_get_root_path (GUnixMountEntry *mount_entry);
86
- GIO_AVAILABLE_IN_ALL
104
+ GIO_AVAILABLE_IN_2_84
105
+ const char * g_unix_mount_entry_get_root_path (GUnixMountEntry *mount_entry);
106
+
107
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_fs_type)
87
108
  const char * g_unix_mount_get_fs_type (GUnixMountEntry *mount_entry);
88
- GIO_AVAILABLE_IN_2_58
109
+ GIO_AVAILABLE_IN_2_84
110
+ const char * g_unix_mount_entry_get_fs_type (GUnixMountEntry *mount_entry);
111
+
112
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_get_options)
89
113
  const char * g_unix_mount_get_options (GUnixMountEntry *mount_entry);
90
- GIO_AVAILABLE_IN_ALL
114
+ GIO_AVAILABLE_IN_2_84
115
+ const char * g_unix_mount_entry_get_options (GUnixMountEntry *mount_entry);
116
+
117
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_is_readonly)
91
118
  gboolean g_unix_mount_is_readonly (GUnixMountEntry *mount_entry);
92
- GIO_AVAILABLE_IN_ALL
119
+ GIO_AVAILABLE_IN_2_84
120
+ gboolean g_unix_mount_entry_is_readonly (GUnixMountEntry *mount_entry);
121
+
122
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_is_system_internal)
93
123
  gboolean g_unix_mount_is_system_internal (GUnixMountEntry *mount_entry);
94
- GIO_AVAILABLE_IN_ALL
124
+ GIO_AVAILABLE_IN_2_84
125
+ gboolean g_unix_mount_entry_is_system_internal(GUnixMountEntry *mount_entry);
126
+
127
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_can_eject)
95
128
  gboolean g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry);
96
- GIO_AVAILABLE_IN_ALL
129
+ GIO_AVAILABLE_IN_2_84
130
+ gboolean g_unix_mount_entry_guess_can_eject (GUnixMountEntry *mount_entry);
131
+
132
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_should_display)
97
133
  gboolean g_unix_mount_guess_should_display (GUnixMountEntry *mount_entry);
98
- GIO_AVAILABLE_IN_ALL
134
+ GIO_AVAILABLE_IN_2_84
135
+ gboolean g_unix_mount_entry_guess_should_display(GUnixMountEntry *mount_entry);
136
+
137
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_name)
99
138
  char * g_unix_mount_guess_name (GUnixMountEntry *mount_entry);
100
- GIO_AVAILABLE_IN_ALL
139
+ GIO_AVAILABLE_IN_2_84
140
+ char * g_unix_mount_entry_guess_name (GUnixMountEntry *mount_entry);
141
+
142
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_icon)
101
143
  GIcon * g_unix_mount_guess_icon (GUnixMountEntry *mount_entry);
102
- GIO_AVAILABLE_IN_ALL
144
+ GIO_AVAILABLE_IN_2_84
145
+ GIcon * g_unix_mount_entry_guess_icon (GUnixMountEntry *mount_entry);
146
+
147
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_guess_symbolic_icon)
103
148
  GIcon * g_unix_mount_guess_symbolic_icon (GUnixMountEntry *mount_entry);
149
+ GIO_AVAILABLE_IN_2_84
150
+ GIcon * g_unix_mount_entry_guess_symbolic_icon(GUnixMountEntry *mount_entry);
104
151
 
105
- G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountEntry, g_unix_mount_free)
152
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountEntry, g_unix_mount_entry_free)
106
153
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountPoint, g_unix_mount_point_free)
107
154
 
108
155
  GIO_AVAILABLE_IN_ALL
@@ -134,19 +181,46 @@ GIcon * g_unix_mount_point_guess_symbolic_icon (GUnixMountPoint *mount
134
181
 
135
182
  GIO_AVAILABLE_IN_ALL
136
183
  GList * g_unix_mount_points_get (guint64 *time_read);
184
+ GIO_AVAILABLE_IN_2_82
185
+ GUnixMountPoint **g_unix_mount_points_get_from_file (const char *table_path,
186
+ uint64_t *time_read_out,
187
+ size_t *n_points_out);
137
188
  GIO_AVAILABLE_IN_2_66
138
189
  GUnixMountPoint *g_unix_mount_point_at (const char *mount_path,
139
190
  guint64 *time_read);
140
- GIO_AVAILABLE_IN_ALL
191
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entries_get)
141
192
  GList * g_unix_mounts_get (guint64 *time_read);
142
- GIO_AVAILABLE_IN_ALL
193
+ GIO_AVAILABLE_IN_2_84
194
+ GList * g_unix_mount_entries_get (guint64 *time_read);
195
+
196
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entries_get_from_file)
197
+ GUnixMountEntry **g_unix_mounts_get_from_file (const char *table_path,
198
+ uint64_t *time_read_out,
199
+ size_t *n_entries_out);
200
+ GIO_AVAILABLE_IN_2_84
201
+ GUnixMountEntry **g_unix_mount_entries_get_from_file(const char *table_path,
202
+ uint64_t *time_read_out,
203
+ size_t *n_entries_out);
204
+
205
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_at)
143
206
  GUnixMountEntry *g_unix_mount_at (const char *mount_path,
144
207
  guint64 *time_read);
145
- GIO_AVAILABLE_IN_2_52
208
+ GIO_AVAILABLE_IN_2_84
209
+ GUnixMountEntry *g_unix_mount_entry_at (const char *mount_path,
210
+ guint64 *time_read);
211
+
212
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_for)
146
213
  GUnixMountEntry *g_unix_mount_for (const char *file_path,
147
214
  guint64 *time_read);
148
- GIO_AVAILABLE_IN_ALL
215
+ GIO_AVAILABLE_IN_2_84
216
+ GUnixMountEntry *g_unix_mount_entry_for (const char *file_path,
217
+ guint64 *time_read);
218
+
219
+ GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entries_changed_since)
149
220
  gboolean g_unix_mounts_changed_since (guint64 time);
221
+ GIO_AVAILABLE_IN_2_84
222
+ gboolean g_unix_mount_entries_changed_since (guint64 time);
223
+
150
224
  GIO_AVAILABLE_IN_ALL
151
225
  gboolean g_unix_mount_points_changed_since (guint64 time);
152
226
 
@@ -49,32 +49,47 @@ typedef struct _GAppLaunchContextPrivate GAppLaunchContextPrivate;
49
49
  /**
50
50
  * GAppInfoIface:
51
51
  * @g_iface: The parent interface.
52
- * @dup: Copies a #GAppInfo.
53
- * @equal: Checks two #GAppInfos for equality.
54
- * @get_id: Gets a string identifier for a #GAppInfo.
55
- * @get_name: Gets the name of the application for a #GAppInfo.
56
- * @get_description: Gets a short description for the application described by the #GAppInfo.
57
- * @get_executable: Gets the executable name for the #GAppInfo.
58
- * @get_icon: Gets the #GIcon for the #GAppInfo.
59
- * @launch: Launches an application specified by the #GAppInfo.
60
- * @supports_uris: Indicates whether the application specified supports launching URIs.
61
- * @supports_files: Indicates whether the application specified accepts filename arguments.
52
+ * @dup: Copies a [iface@Gio.AppInfo].
53
+ * @equal: Checks two [iface@Gio.AppInfo]s for equality.
54
+ * @get_id: Gets a string identifier for a [iface@Gio.AppInfo].
55
+ * @get_name: Gets the name of the application for a [iface@Gio.AppInfo].
56
+ * @get_description: Gets a short description for the application described by
57
+ * the [iface@Gio.AppInfo].
58
+ * @get_executable: Gets the executable name for the [iface@Gio.AppInfo].
59
+ * @get_icon: Gets the [iface@Gio.Icon] for the [iface@Gio.AppInfo].
60
+ * @launch: Launches an application specified by the [iface@Gio.AppInfo].
61
+ * @supports_uris: Indicates whether the application specified supports
62
+ * launching URIs.
63
+ * @supports_files: Indicates whether the application specified accepts
64
+ * filename arguments.
62
65
  * @launch_uris: Launches an application with a list of URIs.
63
- * @should_show: Returns whether an application should be shown (e.g. when getting a list of installed applications).
64
- * [FreeDesktop.Org Startup Notification Specification](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt).
65
- * @set_as_default_for_type: Sets an application as default for a given content type.
66
- * @set_as_default_for_extension: Sets an application as default for a given file extension.
67
- * @add_supports_type: Adds to the #GAppInfo information about supported file types.
68
- * @can_remove_supports_type: Checks for support for removing supported file types from a #GAppInfo.
69
- * @remove_supports_type: Removes a supported application type from a #GAppInfo.
70
- * @can_delete: Checks if a #GAppInfo can be deleted. Since 2.20
71
- * @do_delete: Deletes a #GAppInfo. Since 2.20
72
- * @get_commandline: Gets the commandline for the #GAppInfo. Since 2.20
73
- * @get_display_name: Gets the display name for the #GAppInfo. Since 2.24
74
- * @set_as_last_used_for_type: Sets the application as the last used. See g_app_info_set_as_last_used_for_type().
75
- * @get_supported_types: Retrieves the list of content types that @app_info claims to support.
76
- * @launch_uris_async: Asynchronously launches an application with a list of URIs. (Since: 2.60)
77
- * @launch_uris_finish: Finishes an operation started with @launch_uris_async. (Since: 2.60)
66
+ * @should_show: Returns whether an application should be shown (e.g. when
67
+ * getting a list of installed applications).
68
+ * [FreeDesktop.Org Startup Notification Specification](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt).
69
+ * @set_as_default_for_type: Sets an application as default for a given content
70
+ * type.
71
+ * @set_as_default_for_extension: Sets an application as default for a given
72
+ * file extension.
73
+ * @add_supports_type: Adds to the [iface@Gio.AppInfo] information about
74
+ * supported file types.
75
+ * @can_remove_supports_type: Checks for support for removing supported file
76
+ * types from a [iface@Gio.AppInfo].
77
+ * @remove_supports_type: Removes a supported application type from a
78
+ * [iface@Gio.AppInfo].
79
+ * @can_delete: Checks if a [iface@Gio.AppInfo] can be deleted. (Since 2.20)
80
+ * @do_delete: Deletes a [iface@Gio.AppInfo]. (Since 2.20)
81
+ * @get_commandline: Gets the commandline for the [iface@Gio.AppInfo].
82
+ * (Since 2.20)
83
+ * @get_display_name: Gets the display name for the [iface@Gio.AppInfo].
84
+ * (Since 2.24)
85
+ * @set_as_last_used_for_type: Sets the application as the last used. See
86
+ * [method@Gio.AppInfo.set_as_last_used_for_type].
87
+ * @get_supported_types: Retrieves the list of content types that @app_info
88
+ * claims to support.
89
+ * @launch_uris_async: Asynchronously launches an application with a list of
90
+ * URIs. (Since: 2.60)
91
+ * @launch_uris_finish: Finishes an operation started with @launch_uris_async.
92
+ * (Since: 2.60)
78
93
 
79
94
  * Application Information interface, for operating system portability.
80
95
  */
@@ -46,7 +46,7 @@ typedef struct _GAsyncResultIface GAsyncResultIface;
46
46
  * @get_source_object: Gets the source object that issued the asynchronous operation.
47
47
  * @is_tagged: Checks if a result is tagged with a particular source.
48
48
  *
49
- * Interface definition for #GAsyncResult.
49
+ * Interface definition for [iface@Gio.AsyncResult].
50
50
  **/
51
51
  struct _GAsyncResultIface
52
52
  {
@@ -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
@@ -290,8 +290,8 @@ typedef enum /*< flags >*/ {
290
290
  * assemble/disassemble a virtual drive from several physical
291
291
  * drives.
292
292
  * @G_DRIVE_START_STOP_TYPE_PASSWORD: The start/stop methods will
293
- * unlock/lock the disk (for example using the ATA <quote>SECURITY
294
- * UNLOCK DEVICE</quote> command)
293
+ * unlock/lock the disk (for example using the ATA `SECURITY UNLOCK
294
+ * DEVICE` command)
295
295
  *
296
296
  * Enumeration describing how a drive can be started/stopped.
297
297
  *
@@ -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);
@@ -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