@revizly/sharp-libvips-dev 1.0.9 → 1.0.11
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.
- package/include/aom/aomcx.h +35 -7
- package/include/cairo/cairo-version.h +1 -1
- package/include/expat.h +3 -3
- package/include/expat_config.h +3 -3
- package/include/ffi.h +1 -1
- package/include/fontconfig/fontconfig.h +22 -2
- package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
- package/include/gio-unix-2.0/gio/gunixmounts.h +8 -1
- package/include/glib-2.0/gio/gdbusconnection.h +65 -5
- package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
- package/include/glib-2.0/gio/gioenums.h +14 -3
- package/include/glib-2.0/gio/gioenumtypes.h +3 -3
- package/include/glib-2.0/gio/giotypes.h +4 -4
- package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
- package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
- package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
- package/include/glib-2.0/gio/gproxy.h +1 -1
- package/include/glib-2.0/gio/gproxyresolver.h +1 -1
- package/include/glib-2.0/gio/gtlsbackend.h +1 -1
- package/include/glib-2.0/gio/gvfs.h +3 -3
- package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
- package/include/glib-2.0/glib/gerror.h +1 -1
- package/include/glib-2.0/glib/gmacros.h +1 -3
- package/include/glib-2.0/glib/gmain.h +1 -1
- package/include/glib-2.0/glib/goption.h +58 -36
- package/include/glib-2.0/glib/gqueue.h +1 -1
- package/include/glib-2.0/glib/gtestutils.h +65 -33
- package/include/glib-2.0/glib/gthread.h +2 -0
- package/include/glib-2.0/glib/gtypes.h +1 -1
- package/include/glib-2.0/glib/gunicode.h +4 -4
- package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
- package/include/glib-2.0/gobject/gparam.h +4 -2
- package/include/glib-2.0/gobject/gsignal.h +22 -7
- package/include/glib-2.0/gobject/gtype.h +10 -4
- package/include/harfbuzz/hb-face.h +7 -2
- package/include/harfbuzz/hb-ft.h +8 -1
- package/include/harfbuzz/hb-ot-shape.h +6 -0
- package/include/harfbuzz/hb-paint.h +1 -1
- package/include/harfbuzz/hb-shape.h +2 -0
- package/include/harfbuzz/hb-subset-serialize.h +83 -0
- package/include/harfbuzz/hb-subset.h +12 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/lcms2.h +7 -5
- package/include/lcms2_plugin.h +1 -1
- package/include/libexif/exif-byte-order.h +2 -0
- package/include/libexif/exif-content.h +2 -0
- package/include/libexif/exif-data-type.h +2 -0
- package/include/libexif/exif-data.h +3 -2
- package/include/libexif/exif-entry.h +2 -0
- package/include/libexif/exif-format.h +2 -0
- package/include/libexif/exif-ifd.h +2 -0
- package/include/libexif/exif-loader.h +2 -0
- package/include/libexif/exif-log.h +2 -0
- package/include/libexif/exif-mem.h +2 -0
- package/include/libexif/exif-mnote-data.h +2 -0
- package/include/libexif/exif-tag.h +2 -0
- package/include/libexif/exif-utils.h +2 -0
- package/include/libheif/heif.h +6 -0
- package/include/libheif/heif_cxx.h +18 -12
- package/include/libheif/heif_items.h +2 -2
- package/include/libheif/heif_version.h +2 -2
- package/include/libpng16/png.h +120 -12
- package/include/libpng16/pngconf.h +2 -3
- package/include/libpng16/pnglibconf.h +11 -2
- package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
- package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/pango-1.0/pango/pango-features.h +3 -3
- package/include/pango-1.0/pango/pango-font.h +32 -3
- package/include/pango-1.0/pango/pango-fontmap.h +4 -0
- package/include/pango-1.0/pango/pango-layout.h +10 -1
- package/include/pango-1.0/pango/pango-version-macros.h +52 -0
- package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
- package/include/pixman-1/pixman-version.h +2 -2
- package/include/png.h +120 -12
- package/include/pngconf.h +2 -3
- package/include/pnglibconf.h +11 -2
- package/include/vips/colour.h +2 -0
- package/include/vips/version.h +4 -4
- package/include/webp/encode.h +5 -4
- package/include/webp/sharpyuv/sharpyuv.h +14 -5
- package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
- package/include/webp/types.h +2 -2
- package/include/zlib.h +4 -4
- package/package.json +1 -1
- package/versions.json +19 -19
package/include/aom/aomcx.h
CHANGED
|
@@ -233,10 +233,16 @@ enum aome_enc_control_id {
|
|
|
233
233
|
* unsigned int parameter.
|
|
234
234
|
*
|
|
235
235
|
* This parameter controls the level at which rate-distortion optimization of
|
|
236
|
-
* transform coefficients
|
|
236
|
+
* transform coefficients favors sharpness in the block.
|
|
237
237
|
*
|
|
238
|
-
* Valid range: 0..7. The default is 0.
|
|
239
|
-
*
|
|
238
|
+
* Valid range: 0..7. The default is 0.
|
|
239
|
+
*
|
|
240
|
+
* Values 1-7 will avoid eob and skip block optimization and will change
|
|
241
|
+
* rdmult in favor of block sharpness.
|
|
242
|
+
*
|
|
243
|
+
* In all-intra mode: it also sets the `loop_filter_sharpness` syntax element
|
|
244
|
+
* in the bitstream. Larger values increasingly reduce how much the filtering
|
|
245
|
+
* can change the sample values on block edges to favor perceived sharpness.
|
|
240
246
|
*/
|
|
241
247
|
AOME_SET_SHARPNESS = AOME_SET_ENABLEAUTOALTREF + 2, // 16
|
|
242
248
|
|
|
@@ -666,6 +672,7 @@ enum aome_enc_control_id {
|
|
|
666
672
|
* - 0 = disable
|
|
667
673
|
* - 1 = enable for all frames (default)
|
|
668
674
|
* - 2 = disable for non-reference frames
|
|
675
|
+
* - 3 = enable adaptively based on frame qindex
|
|
669
676
|
*/
|
|
670
677
|
AV1E_SET_ENABLE_CDEF = 58,
|
|
671
678
|
|
|
@@ -725,8 +732,8 @@ enum aome_enc_control_id {
|
|
|
725
732
|
* control sets the minimum level of flatness from which the matrices
|
|
726
733
|
* are determined.
|
|
727
734
|
*
|
|
728
|
-
* By default, the encoder sets this minimum at
|
|
729
|
-
*
|
|
735
|
+
* By default, the encoder sets this minimum at level 5 (4 in all intra
|
|
736
|
+
* mode).
|
|
730
737
|
*/
|
|
731
738
|
AV1E_SET_QM_MIN = 64,
|
|
732
739
|
|
|
@@ -737,8 +744,8 @@ enum aome_enc_control_id {
|
|
|
737
744
|
* As quantisation levels increase, the matrices get flatter. This
|
|
738
745
|
* control sets the maximum level of flatness possible.
|
|
739
746
|
*
|
|
740
|
-
* By default, the encoder sets this maximum at
|
|
741
|
-
*
|
|
747
|
+
* By default, the encoder sets this maximum at level 9 (10 in all intra
|
|
748
|
+
* mode)
|
|
742
749
|
*/
|
|
743
750
|
AV1E_SET_QM_MAX = 65,
|
|
744
751
|
|
|
@@ -1127,6 +1134,8 @@ enum aome_enc_control_id {
|
|
|
1127
1134
|
* - 2 = use modulation for local test
|
|
1128
1135
|
* - 3 = use modulation for key frame perceptual quality optimization
|
|
1129
1136
|
* - 4 = use modulation for user rating based perceptual quality optimization
|
|
1137
|
+
* - 5 = use modulation for HDR video
|
|
1138
|
+
* - 6 = use modulation for all intra using Variance Boost
|
|
1130
1139
|
*/
|
|
1131
1140
|
AV1E_SET_DELTAQ_MODE = 107,
|
|
1132
1141
|
|
|
@@ -1659,6 +1668,18 @@ typedef enum {
|
|
|
1659
1668
|
*
|
|
1660
1669
|
* Changes the encoder to tune for certain types of input material.
|
|
1661
1670
|
*
|
|
1671
|
+
* \note
|
|
1672
|
+
* AOM_TUNE_IQ is restricted to all intra mode (AOM_USAGE_ALL_INTRA). Setting
|
|
1673
|
+
* the tuning option to AOM_TUNE_IQ causes the following options to be set
|
|
1674
|
+
* (expressed as command-line options):
|
|
1675
|
+
* * --enable-qm=1
|
|
1676
|
+
* * --qm-min=2
|
|
1677
|
+
* * --qm-max=10
|
|
1678
|
+
* * --sharpness=7
|
|
1679
|
+
* * --dist-metric=qm-psnr
|
|
1680
|
+
* * --enable-cdef=3
|
|
1681
|
+
* * --enable-chroma-deltaq=1
|
|
1682
|
+
* * --deltaq-mode=6
|
|
1662
1683
|
*/
|
|
1663
1684
|
typedef enum {
|
|
1664
1685
|
AOM_TUNE_PSNR = 0,
|
|
@@ -1670,6 +1691,13 @@ typedef enum {
|
|
|
1670
1691
|
AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
|
|
1671
1692
|
AOM_TUNE_BUTTERAUGLI = 8,
|
|
1672
1693
|
AOM_TUNE_VMAF_SALIENCY_MAP = 9,
|
|
1694
|
+
/*!\brief Allows detection of the presence of AOM_TUNE_IQ at compile time. */
|
|
1695
|
+
#define AOM_HAVE_TUNE_IQ 1
|
|
1696
|
+
/* Image quality (or intra quality). Increases image quality and consistency,
|
|
1697
|
+
* guided by the SSIMULACRA 2 metric and subjective quality checks. Shares
|
|
1698
|
+
* the rdmult code with AOM_TUNE_SSIM.
|
|
1699
|
+
*/
|
|
1700
|
+
AOM_TUNE_IQ = 10,
|
|
1673
1701
|
} aom_tune_metric;
|
|
1674
1702
|
|
|
1675
1703
|
/*!\brief Distortion metric to use for RD optimization.
|
package/include/expat.h
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
Copyright (c) 2000-2005 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
|
|
12
12
|
Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
|
|
13
13
|
Copyright (c) 2002-2016 Karl Waclawek <karl@waclawek.net>
|
|
14
|
-
Copyright (c) 2016-
|
|
14
|
+
Copyright (c) 2016-2025 Sebastian Pipping <sebastian@pipping.org>
|
|
15
15
|
Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
|
|
16
16
|
Copyright (c) 2016 Thomas Beutlich <tc@tbeu.de>
|
|
17
17
|
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
|
|
@@ -1067,8 +1067,8 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
|
|
|
1067
1067
|
See https://semver.org
|
|
1068
1068
|
*/
|
|
1069
1069
|
#define XML_MAJOR_VERSION 2
|
|
1070
|
-
#define XML_MINOR_VERSION
|
|
1071
|
-
#define XML_MICRO_VERSION
|
|
1070
|
+
#define XML_MINOR_VERSION 7
|
|
1071
|
+
#define XML_MICRO_VERSION 0
|
|
1072
1072
|
|
|
1073
1073
|
#ifdef __cplusplus
|
|
1074
1074
|
}
|
package/include/expat_config.h
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
#define PACKAGE_NAME "expat"
|
|
84
84
|
|
|
85
85
|
/* Define to the full name and version of this package. */
|
|
86
|
-
#define PACKAGE_STRING "expat 2.
|
|
86
|
+
#define PACKAGE_STRING "expat 2.7.0"
|
|
87
87
|
|
|
88
88
|
/* Define to the one symbol short name of this package. */
|
|
89
89
|
#define PACKAGE_TARNAME "expat"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
#define PACKAGE_URL ""
|
|
93
93
|
|
|
94
94
|
/* Define to the version of this package. */
|
|
95
|
-
#define PACKAGE_VERSION "2.
|
|
95
|
+
#define PACKAGE_VERSION "2.7.0"
|
|
96
96
|
|
|
97
97
|
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
|
98
98
|
required in a freestanding environment). This macro is provided for
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
#define STDC_HEADERS 1
|
|
101
101
|
|
|
102
102
|
/* Version number of package */
|
|
103
|
-
#define VERSION "2.
|
|
103
|
+
#define VERSION "2.7.0"
|
|
104
104
|
|
|
105
105
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
106
106
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
package/include/ffi.h
CHANGED
|
@@ -32,8 +32,10 @@
|
|
|
32
32
|
|
|
33
33
|
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
|
34
34
|
#define FC_ATTRIBUTE_SENTINEL(x) __attribute__((__sentinel__(0)))
|
|
35
|
+
#define FC_ATTRIBUTE_MAY_ALIAS __attribute__((may_alias))
|
|
35
36
|
#else
|
|
36
37
|
#define FC_ATTRIBUTE_SENTINEL(x)
|
|
38
|
+
#define FC_ATTRIBUTE_MAY_ALIAS
|
|
37
39
|
#endif
|
|
38
40
|
|
|
39
41
|
#ifndef FcPublic
|
|
@@ -52,7 +54,7 @@ typedef int FcBool;
|
|
|
52
54
|
*/
|
|
53
55
|
|
|
54
56
|
#define FC_MAJOR 2
|
|
55
|
-
#define FC_MINOR
|
|
57
|
+
#define FC_MINOR 16
|
|
56
58
|
#define FC_REVISION 0
|
|
57
59
|
|
|
58
60
|
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
|
|
@@ -253,7 +255,7 @@ typedef enum _FcValueBinding {
|
|
|
253
255
|
|
|
254
256
|
typedef struct _FcPattern FcPattern;
|
|
255
257
|
|
|
256
|
-
typedef struct _FcPatternIter {
|
|
258
|
+
typedef struct FC_ATTRIBUTE_MAY_ALIAS _FcPatternIter {
|
|
257
259
|
void *dummy1;
|
|
258
260
|
void *dummy2;
|
|
259
261
|
} FcPatternIter;
|
|
@@ -337,6 +339,9 @@ typedef struct _FcStrSet FcStrSet;
|
|
|
337
339
|
|
|
338
340
|
typedef struct _FcCache FcCache;
|
|
339
341
|
|
|
342
|
+
typedef void (* FcDestroyFunc) (void *data);
|
|
343
|
+
typedef FcBool (* FcFilterFontSetFunc) (const FcPattern *font, void *user_data);
|
|
344
|
+
|
|
340
345
|
_FCFUNCPROTOBEGIN
|
|
341
346
|
|
|
342
347
|
/* fcblanks.c */
|
|
@@ -453,6 +458,14 @@ FcPublic FcFontSet *
|
|
|
453
458
|
FcConfigGetFonts (FcConfig *config,
|
|
454
459
|
FcSetName set);
|
|
455
460
|
|
|
461
|
+
FcPublic FcBool
|
|
462
|
+
FcConfigAcceptFont (FcConfig *config,
|
|
463
|
+
const FcPattern *font);
|
|
464
|
+
|
|
465
|
+
FcPublic FcBool
|
|
466
|
+
FcConfigAcceptFilter (FcConfig *config,
|
|
467
|
+
const FcPattern *font);
|
|
468
|
+
|
|
456
469
|
FcPublic FcBool
|
|
457
470
|
FcConfigAppFontAddFile (FcConfig *config,
|
|
458
471
|
const FcChar8 *file);
|
|
@@ -482,6 +495,12 @@ FcPublic void
|
|
|
482
495
|
FcConfigSetSysRoot (FcConfig *config,
|
|
483
496
|
const FcChar8 *sysroot);
|
|
484
497
|
|
|
498
|
+
FcPublic FcConfig *
|
|
499
|
+
FcConfigSetFontSetFilter (FcConfig *config,
|
|
500
|
+
FcFilterFontSetFunc filter_func,
|
|
501
|
+
FcDestroyFunc destroy_data_func,
|
|
502
|
+
void *user_data);
|
|
503
|
+
|
|
485
504
|
FcPublic void
|
|
486
505
|
FcConfigFileInfoIterInit (FcConfig *config,
|
|
487
506
|
FcConfigFileInfoIter *iter);
|
|
@@ -1143,6 +1162,7 @@ FcConfigParseAndLoadFromMemory (FcConfig *config,
|
|
|
1143
1162
|
_FCFUNCPROTOEND
|
|
1144
1163
|
|
|
1145
1164
|
#undef FC_ATTRIBUTE_SENTINEL
|
|
1165
|
+
#undef FC_ATTRIBUTE_MAY_ALIAS
|
|
1146
1166
|
|
|
1147
1167
|
|
|
1148
1168
|
#ifndef _FCINT_H_
|
|
@@ -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]
|
|
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
|
|
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;
|
|
@@ -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
|
-
|
|
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
|
/**
|
|
@@ -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 "
|
|
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 "
|
|
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 "
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
@@ -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]
|
|
37
|
+
* See [Extending GIO](overview.html#extending-gio).
|
|
38
38
|
*
|
|
39
39
|
* Since: 2.70
|
|
40
40
|
*/
|
|
@@ -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]
|
|
43
|
+
* See [Extending GIO](overview.html#extending-gio).
|
|
44
44
|
*/
|
|
45
45
|
#define G_PROXY_RESOLVER_EXTENSION_POINT_NAME "gio-proxy-resolver"
|
|
46
46
|
|
|
@@ -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]
|
|
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]
|
|
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]
|
|
48
|
+
* See [Extending GIO](overview.html#extending-gio).
|
|
49
49
|
*/
|
|
50
50
|
#define G_VOLUME_MONITOR_EXTENSION_POINT_NAME "gio-volume-monitor"
|
|
51
51
|
|
|
@@ -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]
|
|
70
|
+
* See [Extended #GError Domains](error-reporting.html#extended-gerror-domains) for an example.
|
|
71
71
|
*
|
|
72
72
|
* Since: 2.68
|
|
73
73
|
*/
|
|
@@ -1239,11 +1239,9 @@
|
|
|
1239
1239
|
#if G_GNUC_CHECK_VERSION(2, 0) && defined(__OPTIMIZE__)
|
|
1240
1240
|
#define _G_BOOLEAN_EXPR_IMPL(uniq, expr) \
|
|
1241
1241
|
G_GNUC_EXTENSION ({ \
|
|
1242
|
-
int G_PASTE (_g_boolean_var_, uniq);
|
|
1242
|
+
int G_PASTE (_g_boolean_var_, uniq) = 0; \
|
|
1243
1243
|
if (expr) \
|
|
1244
1244
|
G_PASTE (_g_boolean_var_, uniq) = 1; \
|
|
1245
|
-
else \
|
|
1246
|
-
G_PASTE (_g_boolean_var_, uniq) = 0; \
|
|
1247
1245
|
G_PASTE (_g_boolean_var_, uniq); \
|
|
1248
1246
|
})
|
|
1249
1247
|
#define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
|