@img/sharp-libvips-dev 1.1.0-rc5 → 1.2.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cplusplus/vips-operators.cpp +39 -0
- package/include/archive.h +53 -2
- package/include/archive_entry.h +56 -25
- package/include/ffi.h +20 -2
- package/include/fontconfig/fontconfig.h +1 -1
- package/include/glib-2.0/gio/gdbusnameowning.h +12 -10
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gsettings.h +35 -31
- package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
- package/include/glib-2.0/girepository/gi-visibility.h +34 -0
- package/include/glib-2.0/girepository/gitypes.h +6 -0
- package/include/glib-2.0/glib/gbitlock.h +11 -0
- package/include/glib-2.0/glib/gdate.h +6 -0
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/gmain.h +13 -10
- package/include/glib-2.0/glib/gmessages.h +4 -1
- package/include/glib-2.0/glib/gstring.h +2 -0
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gsignal.h +33 -8
- package/include/harfbuzz/hb-common.h +1 -431
- package/include/harfbuzz/hb-deprecated.h +80 -2
- package/include/harfbuzz/hb-draw.h +2 -10
- package/include/harfbuzz/hb-face.h +1 -1
- package/include/harfbuzz/hb-font.h +55 -36
- package/include/harfbuzz/hb-paint.h +5 -3
- package/include/harfbuzz/hb-script-list.h +484 -0
- package/include/harfbuzz/hb-subset.h +22 -2
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/libheif/heif.h +2 -0
- package/include/libheif/heif_version.h +2 -2
- package/include/libpng16/png.h +10 -10
- package/include/libpng16/pngconf.h +20 -27
- package/include/libpng16/pnglibconf.h +1 -1
- package/include/libxml2/libxml/HTMLparser.h +33 -30
- package/include/libxml2/libxml/HTMLtree.h +1 -0
- package/include/libxml2/libxml/SAX.h +2 -186
- package/include/libxml2/libxml/SAX2.h +2 -3
- package/include/libxml2/libxml/catalog.h +1 -0
- package/include/libxml2/libxml/debugXML.h +0 -138
- package/include/libxml2/libxml/encoding.h +124 -61
- package/include/libxml2/libxml/entities.h +0 -19
- package/include/libxml2/libxml/globals.h +0 -16
- package/include/libxml2/libxml/nanoftp.h +3 -173
- package/include/libxml2/libxml/parser.h +474 -231
- package/include/libxml2/libxml/parserInternals.h +21 -101
- package/include/libxml2/libxml/relaxng.h +7 -2
- package/include/libxml2/libxml/threads.h +0 -6
- package/include/libxml2/libxml/tree.h +29 -85
- package/include/libxml2/libxml/valid.h +20 -12
- package/include/libxml2/libxml/xinclude.h +5 -0
- package/include/libxml2/libxml/xlink.h +4 -0
- package/include/libxml2/libxml/xmlIO.h +15 -34
- package/include/libxml2/libxml/xmlautomata.h +19 -2
- package/include/libxml2/libxml/xmlerror.h +17 -18
- package/include/libxml2/libxml/xmlexports.h +6 -56
- package/include/libxml2/libxml/xmlmemory.h +19 -19
- package/include/libxml2/libxml/xmlmodule.h +4 -0
- package/include/libxml2/libxml/xmlreader.h +11 -3
- package/include/libxml2/libxml/xmlregexp.h +7 -106
- package/include/libxml2/libxml/xmlsave.h +11 -2
- package/include/libxml2/libxml/xmlschemas.h +10 -5
- package/include/libxml2/libxml/xmlunicode.h +3 -354
- package/include/libxml2/libxml/xmlversion.h +18 -33
- package/include/libxml2/libxml/xpath.h +5 -15
- package/include/libxml2/libxml/xpathInternals.h +9 -3
- package/include/libxml2/libxml/xpointer.h +1 -91
- package/include/pixman-1/pixman-version.h +2 -2
- package/include/pixman-1/pixman.h +200 -0
- package/include/png.h +10 -10
- package/include/pngconf.h +20 -27
- package/include/pnglibconf.h +1 -1
- package/include/vips/VImage8.h +62 -14
- package/include/vips/arithmetic.h +34 -34
- package/include/vips/basic.h +16 -0
- package/include/vips/buf.h +0 -5
- package/include/vips/colour.h +6 -7
- package/include/vips/connection.h +25 -37
- package/include/vips/enumtypes.h +11 -2
- package/include/vips/foreign.h +73 -43
- package/include/vips/format.h +7 -5
- package/include/vips/gate.h +0 -11
- package/include/vips/header.h +11 -11
- package/include/vips/image.h +8 -3
- package/include/vips/interpolate.h +0 -2
- package/include/vips/memory.h +4 -0
- package/include/vips/mosaicing.h +4 -0
- package/include/vips/object.h +14 -18
- package/include/vips/operation.h +0 -2
- package/include/vips/private.h +50 -2
- package/include/vips/region.h +1 -3
- package/include/vips/resample.h +2 -0
- package/include/vips/semaphore.h +8 -3
- package/include/vips/thread.h +1 -24
- package/include/vips/threadpool.h +0 -6
- package/include/vips/type.h +13 -9
- package/include/vips/util.h +17 -98
- package/include/vips/vector.h +0 -4
- package/include/vips/version.h +8 -8
- package/include/vips/vips.h +1 -0
- package/package.json +1 -1
- package/versions.json +11 -11
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
- package/include/glib-2.0/glib/gwin32.h +0 -142
- package/include/harfbuzz/hb-subset-repacker.h +0 -81
- package/include/hwy/ops/tuple-inl.h +0 -125
- package/include/orc-0.4/orc/orc-stdint.h +0 -1
- package/include/orc-0.4/orc/orc.h +0 -16
- package/include/orc-0.4/orc/orcarm.h +0 -879
- package/include/orc-0.4/orc/orcbytecode.h +0 -35
- package/include/orc-0.4/orc/orcbytecodes.h +0 -255
- package/include/orc-0.4/orc/orccode.h +0 -53
- package/include/orc-0.4/orc/orccompiler.h +0 -176
- package/include/orc-0.4/orc/orcconstant.h +0 -39
- package/include/orc-0.4/orc/orccpu.h +0 -21
- package/include/orc-0.4/orc/orccpuinsn.h +0 -40
- package/include/orc-0.4/orc/orcdebug.h +0 -158
- package/include/orc-0.4/orc/orcemulateopcodes.h +0 -203
- package/include/orc-0.4/orc/orcexecutor.h +0 -135
- package/include/orc-0.4/orc/orcfunctions.h +0 -93
- package/include/orc-0.4/orc/orcinstruction.h +0 -39
- package/include/orc-0.4/orc/orcinternal.h +0 -46
- package/include/orc-0.4/orc/orclimits.h +0 -94
- package/include/orc-0.4/orc/orcmips.h +0 -229
- package/include/orc-0.4/orc/orcmmx.h +0 -79
- package/include/orc-0.4/orc/orcneon.h +0 -43
- package/include/orc-0.4/orc/orconce.h +0 -166
- package/include/orc-0.4/orc/orcopcode.h +0 -63
- package/include/orc-0.4/orc/orcparse.h +0 -27
- package/include/orc-0.4/orc/orcpowerpc.h +0 -209
- package/include/orc-0.4/orc/orcprogram.h +0 -192
- package/include/orc-0.4/orc/orcrule.h +0 -52
- package/include/orc-0.4/orc/orcsse.h +0 -55
- package/include/orc-0.4/orc/orctarget.h +0 -115
- package/include/orc-0.4/orc/orcutils.h +0 -238
- package/include/orc-0.4/orc/orcvariable.h +0 -81
- package/include/orc-0.4/orc/orcx86.h +0 -199
- package/include/orc-0.4/orc/orcx86insn.h +0 -672
|
@@ -2316,6 +2316,19 @@ VImage::matrixload_source(VSource source, VOption *options)
|
|
|
2316
2316
|
return out;
|
|
2317
2317
|
}
|
|
2318
2318
|
|
|
2319
|
+
VImage
|
|
2320
|
+
VImage::matrixmultiply(VImage right, VOption *options) const
|
|
2321
|
+
{
|
|
2322
|
+
VImage out;
|
|
2323
|
+
|
|
2324
|
+
call("matrixmultiply", (options ? options : VImage::option())
|
|
2325
|
+
->set("left", *this)
|
|
2326
|
+
->set("out", &out)
|
|
2327
|
+
->set("right", right));
|
|
2328
|
+
|
|
2329
|
+
return out;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2319
2332
|
void
|
|
2320
2333
|
VImage::matrixprint(VOption *options) const
|
|
2321
2334
|
{
|
|
@@ -2717,6 +2730,18 @@ VImage::ppmload(const char *filename, VOption *options)
|
|
|
2717
2730
|
return out;
|
|
2718
2731
|
}
|
|
2719
2732
|
|
|
2733
|
+
VImage
|
|
2734
|
+
VImage::ppmload_buffer(VipsBlob *buffer, VOption *options)
|
|
2735
|
+
{
|
|
2736
|
+
VImage out;
|
|
2737
|
+
|
|
2738
|
+
call("ppmload_buffer", (options ? options : VImage::option())
|
|
2739
|
+
->set("out", &out)
|
|
2740
|
+
->set("buffer", buffer));
|
|
2741
|
+
|
|
2742
|
+
return out;
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2720
2745
|
VImage
|
|
2721
2746
|
VImage::ppmload_source(VSource source, VOption *options)
|
|
2722
2747
|
{
|
|
@@ -3061,6 +3086,20 @@ VImage::remainder_const(std::vector<double> c, VOption *options) const
|
|
|
3061
3086
|
return out;
|
|
3062
3087
|
}
|
|
3063
3088
|
|
|
3089
|
+
VImage
|
|
3090
|
+
VImage::remosaic(const char *old_str, const char *new_str, VOption *options) const
|
|
3091
|
+
{
|
|
3092
|
+
VImage out;
|
|
3093
|
+
|
|
3094
|
+
call("remosaic", (options ? options : VImage::option())
|
|
3095
|
+
->set("in", *this)
|
|
3096
|
+
->set("out", &out)
|
|
3097
|
+
->set("old_str", old_str)
|
|
3098
|
+
->set("new_str", new_str));
|
|
3099
|
+
|
|
3100
|
+
return out;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3064
3103
|
VImage
|
|
3065
3104
|
VImage::replicate(int across, int down, VOption *options) const
|
|
3066
3105
|
{
|
package/include/archive.h
CHANGED
|
@@ -34,12 +34,15 @@
|
|
|
34
34
|
* assert that ARCHIVE_VERSION_NUMBER >= 2012108.
|
|
35
35
|
*/
|
|
36
36
|
/* Note: Compiler will complain if this does not match archive_entry.h! */
|
|
37
|
-
#define ARCHIVE_VERSION_NUMBER
|
|
37
|
+
#define ARCHIVE_VERSION_NUMBER 3008001
|
|
38
38
|
|
|
39
39
|
#include <sys/stat.h>
|
|
40
40
|
#include <stddef.h> /* for wchar_t */
|
|
41
41
|
#include <stdio.h> /* For FILE * */
|
|
42
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
43
|
+
/* time_t is slated to be removed from public includes in 4.0 */
|
|
42
44
|
#include <time.h> /* For time_t */
|
|
45
|
+
#endif
|
|
43
46
|
|
|
44
47
|
/*
|
|
45
48
|
* Note: archive.h is for use outside of libarchive; the configuration
|
|
@@ -63,12 +66,15 @@
|
|
|
63
66
|
#define __LA_INT64_T_DEFINED
|
|
64
67
|
# if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__WATCOMC__)
|
|
65
68
|
typedef __int64 la_int64_t;
|
|
69
|
+
typedef unsigned __int64 la_uint64_t;
|
|
66
70
|
# else
|
|
67
71
|
# include <unistd.h> /* ssize_t */
|
|
68
72
|
# if defined(_SCO_DS) || defined(__osf__)
|
|
69
73
|
typedef long long la_int64_t;
|
|
74
|
+
typedef unsigned long long la_uint64_t;
|
|
70
75
|
# else
|
|
71
76
|
typedef int64_t la_int64_t;
|
|
77
|
+
typedef uint64_t la_uint64_t;
|
|
72
78
|
# endif
|
|
73
79
|
# endif
|
|
74
80
|
#endif
|
|
@@ -94,6 +100,22 @@ typedef ssize_t la_ssize_t;
|
|
|
94
100
|
# endif
|
|
95
101
|
#endif
|
|
96
102
|
|
|
103
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
104
|
+
/* Use the platform types for time_t */
|
|
105
|
+
#define __LA_TIME_T time_t
|
|
106
|
+
#else
|
|
107
|
+
/* Use 64-bits integer types for time_t */
|
|
108
|
+
#define __LA_TIME_T la_int64_t
|
|
109
|
+
#endif
|
|
110
|
+
|
|
111
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
112
|
+
/* Use the platform types for dev_t */
|
|
113
|
+
#define __LA_DEV_T dev_t
|
|
114
|
+
#else
|
|
115
|
+
/* Use 64-bits integer types for dev_t */
|
|
116
|
+
#define __LA_DEV_T la_int64_t
|
|
117
|
+
#endif
|
|
118
|
+
|
|
97
119
|
/* Large file support for Android */
|
|
98
120
|
#if defined(__LIBARCHIVE_BUILD) && defined(__ANDROID__)
|
|
99
121
|
#include "android_lf.h"
|
|
@@ -155,7 +177,7 @@ __LA_DECL int archive_version_number(void);
|
|
|
155
177
|
/*
|
|
156
178
|
* Textual name/version of the library, useful for version displays.
|
|
157
179
|
*/
|
|
158
|
-
#define ARCHIVE_VERSION_ONLY_STRING "3.
|
|
180
|
+
#define ARCHIVE_VERSION_ONLY_STRING "3.8.1"
|
|
159
181
|
#define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
|
|
160
182
|
__LA_DECL const char * archive_version_string(void);
|
|
161
183
|
|
|
@@ -178,6 +200,23 @@ __LA_DECL const char * archive_liblzma_version(void);
|
|
|
178
200
|
__LA_DECL const char * archive_bzlib_version(void);
|
|
179
201
|
__LA_DECL const char * archive_liblz4_version(void);
|
|
180
202
|
__LA_DECL const char * archive_libzstd_version(void);
|
|
203
|
+
__LA_DECL const char * archive_liblzo2_version(void);
|
|
204
|
+
__LA_DECL const char * archive_libexpat_version(void);
|
|
205
|
+
__LA_DECL const char * archive_libbsdxml_version(void);
|
|
206
|
+
__LA_DECL const char * archive_libxml2_version(void);
|
|
207
|
+
__LA_DECL const char * archive_mbedtls_version(void);
|
|
208
|
+
__LA_DECL const char * archive_nettle_version(void);
|
|
209
|
+
__LA_DECL const char * archive_openssl_version(void);
|
|
210
|
+
__LA_DECL const char * archive_libmd_version(void);
|
|
211
|
+
__LA_DECL const char * archive_commoncrypto_version(void);
|
|
212
|
+
__LA_DECL const char * archive_cng_version(void);
|
|
213
|
+
__LA_DECL const char * archive_wincrypt_version(void);
|
|
214
|
+
__LA_DECL const char * archive_librichacl_version(void);
|
|
215
|
+
__LA_DECL const char * archive_libacl_version(void);
|
|
216
|
+
__LA_DECL const char * archive_libattr_version(void);
|
|
217
|
+
__LA_DECL const char * archive_libiconv_version(void);
|
|
218
|
+
__LA_DECL const char * archive_libpcre_version(void);
|
|
219
|
+
__LA_DECL const char * archive_libpcre2_version(void);
|
|
181
220
|
|
|
182
221
|
/* Declare our basic types. */
|
|
183
222
|
struct archive;
|
|
@@ -449,6 +488,8 @@ __LA_DECL int archive_read_support_format_by_code(struct archive *, int);
|
|
|
449
488
|
__LA_DECL int archive_read_support_format_cab(struct archive *);
|
|
450
489
|
__LA_DECL int archive_read_support_format_cpio(struct archive *);
|
|
451
490
|
__LA_DECL int archive_read_support_format_empty(struct archive *);
|
|
491
|
+
/* archive_read_support_format_gnutar() is an alias for historical reasons
|
|
492
|
+
* of archive_read_support_format_tar(). */
|
|
452
493
|
__LA_DECL int archive_read_support_format_gnutar(struct archive *);
|
|
453
494
|
__LA_DECL int archive_read_support_format_iso9660(struct archive *);
|
|
454
495
|
__LA_DECL int archive_read_support_format_lha(struct archive *);
|
|
@@ -828,6 +869,10 @@ __LA_DECL int archive_write_set_format_filter_by_ext(struct archive *a, const ch
|
|
|
828
869
|
__LA_DECL int archive_write_set_format_filter_by_ext_def(struct archive *a, const char *filename, const char * def_ext);
|
|
829
870
|
__LA_DECL int archive_write_zip_set_compression_deflate(struct archive *);
|
|
830
871
|
__LA_DECL int archive_write_zip_set_compression_store(struct archive *);
|
|
872
|
+
__LA_DECL int archive_write_zip_set_compression_lzma(struct archive *);
|
|
873
|
+
__LA_DECL int archive_write_zip_set_compression_xz(struct archive *);
|
|
874
|
+
__LA_DECL int archive_write_zip_set_compression_bzip2(struct archive *);
|
|
875
|
+
__LA_DECL int archive_write_zip_set_compression_zstd(struct archive *);
|
|
831
876
|
/* Deprecated; use archive_write_open2 instead */
|
|
832
877
|
__LA_DECL int archive_write_open(struct archive *, void *,
|
|
833
878
|
archive_open_callback *, archive_write_callback *,
|
|
@@ -1083,6 +1128,10 @@ __LA_DECL int archive_compression(struct archive *)
|
|
|
1083
1128
|
__LA_DEPRECATED;
|
|
1084
1129
|
#endif
|
|
1085
1130
|
|
|
1131
|
+
/* Parses a date string relative to the current time.
|
|
1132
|
+
* NOTE: This is not intended for general date parsing, and the resulting timestamp should only be used for libarchive. */
|
|
1133
|
+
__LA_DECL time_t archive_parse_date(time_t now, const char *datestr);
|
|
1134
|
+
|
|
1086
1135
|
__LA_DECL int archive_errno(struct archive *);
|
|
1087
1136
|
__LA_DECL const char *archive_error_string(struct archive *);
|
|
1088
1137
|
__LA_DECL const char *archive_format_name(struct archive *);
|
|
@@ -1201,8 +1250,10 @@ __LA_DECL int archive_match_include_gname_w(struct archive *,
|
|
|
1201
1250
|
const wchar_t *);
|
|
1202
1251
|
|
|
1203
1252
|
/* Utility functions */
|
|
1253
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
1204
1254
|
/* Convenience function to sort a NULL terminated list of strings */
|
|
1205
1255
|
__LA_DECL int archive_utility_string_sort(char **);
|
|
1256
|
+
#endif
|
|
1206
1257
|
|
|
1207
1258
|
#ifdef __cplusplus
|
|
1208
1259
|
}
|
package/include/archive_entry.h
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
#define ARCHIVE_ENTRY_H_INCLUDED
|
|
29
29
|
|
|
30
30
|
/* Note: Compiler will complain if this does not match archive.h! */
|
|
31
|
-
#define ARCHIVE_VERSION_NUMBER
|
|
31
|
+
#define ARCHIVE_VERSION_NUMBER 3008001
|
|
32
32
|
|
|
33
33
|
/*
|
|
34
34
|
* Note: archive_entry.h is for use outside of libarchive; the
|
|
@@ -40,8 +40,11 @@
|
|
|
40
40
|
|
|
41
41
|
#include <sys/types.h>
|
|
42
42
|
#include <stddef.h> /* for wchar_t */
|
|
43
|
-
#include <stdint.h>
|
|
43
|
+
#include <stdint.h> /* for C99 int64_t, etc. */
|
|
44
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
45
|
+
/* time_t is slated to be removed from public includes in 4.0 */
|
|
44
46
|
#include <time.h>
|
|
47
|
+
#endif
|
|
45
48
|
|
|
46
49
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
47
50
|
#include <windows.h>
|
|
@@ -55,12 +58,15 @@
|
|
|
55
58
|
#define __LA_INT64_T_DEFINED
|
|
56
59
|
# if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__WATCOMC__)
|
|
57
60
|
typedef __int64 la_int64_t;
|
|
61
|
+
typedef unsigned __int64 la_uint64_t;
|
|
58
62
|
# else
|
|
59
63
|
#include <unistd.h>
|
|
60
64
|
# if defined(_SCO_DS) || defined(__osf__)
|
|
61
65
|
typedef long long la_int64_t;
|
|
66
|
+
typedef unsigned long long la_uint64_t;
|
|
62
67
|
# else
|
|
63
68
|
typedef int64_t la_int64_t;
|
|
69
|
+
typedef uint64_t la_uint64_t;
|
|
64
70
|
# endif
|
|
65
71
|
# endif
|
|
66
72
|
#endif
|
|
@@ -96,6 +102,30 @@ typedef ssize_t la_ssize_t;
|
|
|
96
102
|
# define __LA_MODE_T mode_t
|
|
97
103
|
#endif
|
|
98
104
|
|
|
105
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
106
|
+
/* Use the platform types for time_t */
|
|
107
|
+
#define __LA_TIME_T time_t
|
|
108
|
+
#else
|
|
109
|
+
/* Use 64-bits integer types for time_t */
|
|
110
|
+
#define __LA_TIME_T la_int64_t
|
|
111
|
+
#endif
|
|
112
|
+
|
|
113
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
114
|
+
/* Use the platform types for dev_t */
|
|
115
|
+
#define __LA_DEV_T dev_t
|
|
116
|
+
#else
|
|
117
|
+
/* Use 64-bits integer types for dev_t */
|
|
118
|
+
#define __LA_DEV_T la_int64_t
|
|
119
|
+
#endif
|
|
120
|
+
|
|
121
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
122
|
+
/* Libarchive 3.x used signed int64 for inode numbers */
|
|
123
|
+
#define __LA_INO_T la_int64_t
|
|
124
|
+
#else
|
|
125
|
+
/* Switch to unsigned for libarchive 4.0 */
|
|
126
|
+
#define __LA_INO_T la_uint64_t
|
|
127
|
+
#endif
|
|
128
|
+
|
|
99
129
|
/* Large file support for Android */
|
|
100
130
|
#if defined(__LIBARCHIVE_BUILD) && defined(__ANDROID__)
|
|
101
131
|
#include "android_lf.h"
|
|
@@ -236,19 +266,19 @@ __LA_DECL struct archive_entry *archive_entry_new2(struct archive *);
|
|
|
236
266
|
* also return NULL when implicit character set conversions fail.
|
|
237
267
|
* This is usually what you want.
|
|
238
268
|
*/
|
|
239
|
-
__LA_DECL
|
|
269
|
+
__LA_DECL __LA_TIME_T archive_entry_atime(struct archive_entry *);
|
|
240
270
|
__LA_DECL long archive_entry_atime_nsec(struct archive_entry *);
|
|
241
271
|
__LA_DECL int archive_entry_atime_is_set(struct archive_entry *);
|
|
242
|
-
__LA_DECL
|
|
272
|
+
__LA_DECL __LA_TIME_T archive_entry_birthtime(struct archive_entry *);
|
|
243
273
|
__LA_DECL long archive_entry_birthtime_nsec(struct archive_entry *);
|
|
244
274
|
__LA_DECL int archive_entry_birthtime_is_set(struct archive_entry *);
|
|
245
|
-
__LA_DECL
|
|
275
|
+
__LA_DECL __LA_TIME_T archive_entry_ctime(struct archive_entry *);
|
|
246
276
|
__LA_DECL long archive_entry_ctime_nsec(struct archive_entry *);
|
|
247
277
|
__LA_DECL int archive_entry_ctime_is_set(struct archive_entry *);
|
|
248
|
-
__LA_DECL
|
|
278
|
+
__LA_DECL __LA_DEV_T archive_entry_dev(struct archive_entry *);
|
|
249
279
|
__LA_DECL int archive_entry_dev_is_set(struct archive_entry *);
|
|
250
|
-
__LA_DECL
|
|
251
|
-
__LA_DECL
|
|
280
|
+
__LA_DECL __LA_DEV_T archive_entry_devmajor(struct archive_entry *);
|
|
281
|
+
__LA_DECL __LA_DEV_T archive_entry_devminor(struct archive_entry *);
|
|
252
282
|
__LA_DECL __LA_MODE_T archive_entry_filetype(struct archive_entry *);
|
|
253
283
|
__LA_DECL int archive_entry_filetype_is_set(struct archive_entry *);
|
|
254
284
|
__LA_DECL void archive_entry_fflags(struct archive_entry *,
|
|
@@ -265,8 +295,8 @@ __LA_DECL const char *archive_entry_hardlink(struct archive_entry *);
|
|
|
265
295
|
__LA_DECL const char *archive_entry_hardlink_utf8(struct archive_entry *);
|
|
266
296
|
__LA_DECL const wchar_t *archive_entry_hardlink_w(struct archive_entry *);
|
|
267
297
|
__LA_DECL int archive_entry_hardlink_is_set(struct archive_entry *);
|
|
268
|
-
__LA_DECL
|
|
269
|
-
__LA_DECL
|
|
298
|
+
__LA_DECL __LA_INO_T archive_entry_ino(struct archive_entry *);
|
|
299
|
+
__LA_DECL __LA_INO_T archive_entry_ino64(struct archive_entry *);
|
|
270
300
|
__LA_DECL int archive_entry_ino_is_set(struct archive_entry *);
|
|
271
301
|
__LA_DECL __LA_MODE_T archive_entry_mode(struct archive_entry *);
|
|
272
302
|
__LA_DECL time_t archive_entry_mtime(struct archive_entry *);
|
|
@@ -279,9 +309,9 @@ __LA_DECL const wchar_t *archive_entry_pathname_w(struct archive_entry *);
|
|
|
279
309
|
__LA_DECL __LA_MODE_T archive_entry_perm(struct archive_entry *);
|
|
280
310
|
__LA_DECL int archive_entry_perm_is_set(struct archive_entry *);
|
|
281
311
|
__LA_DECL int archive_entry_rdev_is_set(struct archive_entry *);
|
|
282
|
-
__LA_DECL
|
|
283
|
-
__LA_DECL
|
|
284
|
-
__LA_DECL
|
|
312
|
+
__LA_DECL __LA_DEV_T archive_entry_rdev(struct archive_entry *);
|
|
313
|
+
__LA_DECL __LA_DEV_T archive_entry_rdevmajor(struct archive_entry *);
|
|
314
|
+
__LA_DECL __LA_DEV_T archive_entry_rdevminor(struct archive_entry *);
|
|
285
315
|
__LA_DECL const char *archive_entry_sourcepath(struct archive_entry *);
|
|
286
316
|
__LA_DECL const wchar_t *archive_entry_sourcepath_w(struct archive_entry *);
|
|
287
317
|
__LA_DECL la_int64_t archive_entry_size(struct archive_entry *);
|
|
@@ -310,18 +340,18 @@ __LA_DECL int archive_entry_is_encrypted(struct archive_entry *);
|
|
|
310
340
|
* always copied.
|
|
311
341
|
*/
|
|
312
342
|
|
|
313
|
-
__LA_DECL void archive_entry_set_atime(struct archive_entry *,
|
|
343
|
+
__LA_DECL void archive_entry_set_atime(struct archive_entry *, __LA_TIME_T, long);
|
|
314
344
|
__LA_DECL void archive_entry_unset_atime(struct archive_entry *);
|
|
315
345
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
316
346
|
__LA_DECL void archive_entry_copy_bhfi(struct archive_entry *, BY_HANDLE_FILE_INFORMATION *);
|
|
317
347
|
#endif
|
|
318
|
-
__LA_DECL void archive_entry_set_birthtime(struct archive_entry *,
|
|
348
|
+
__LA_DECL void archive_entry_set_birthtime(struct archive_entry *, __LA_TIME_T, long);
|
|
319
349
|
__LA_DECL void archive_entry_unset_birthtime(struct archive_entry *);
|
|
320
|
-
__LA_DECL void archive_entry_set_ctime(struct archive_entry *,
|
|
350
|
+
__LA_DECL void archive_entry_set_ctime(struct archive_entry *, __LA_TIME_T, long);
|
|
321
351
|
__LA_DECL void archive_entry_unset_ctime(struct archive_entry *);
|
|
322
|
-
__LA_DECL void archive_entry_set_dev(struct archive_entry *,
|
|
323
|
-
__LA_DECL void archive_entry_set_devmajor(struct archive_entry *,
|
|
324
|
-
__LA_DECL void archive_entry_set_devminor(struct archive_entry *,
|
|
352
|
+
__LA_DECL void archive_entry_set_dev(struct archive_entry *, __LA_DEV_T);
|
|
353
|
+
__LA_DECL void archive_entry_set_devmajor(struct archive_entry *, __LA_DEV_T);
|
|
354
|
+
__LA_DECL void archive_entry_set_devminor(struct archive_entry *, __LA_DEV_T);
|
|
325
355
|
__LA_DECL void archive_entry_set_filetype(struct archive_entry *, unsigned int);
|
|
326
356
|
__LA_DECL void archive_entry_set_fflags(struct archive_entry *,
|
|
327
357
|
unsigned long /* set */, unsigned long /* clear */);
|
|
@@ -344,15 +374,15 @@ __LA_DECL void archive_entry_set_hardlink_utf8(struct archive_entry *, const cha
|
|
|
344
374
|
__LA_DECL void archive_entry_copy_hardlink(struct archive_entry *, const char *);
|
|
345
375
|
__LA_DECL void archive_entry_copy_hardlink_w(struct archive_entry *, const wchar_t *);
|
|
346
376
|
__LA_DECL int archive_entry_update_hardlink_utf8(struct archive_entry *, const char *);
|
|
347
|
-
__LA_DECL void archive_entry_set_ino(struct archive_entry *,
|
|
348
|
-
__LA_DECL void archive_entry_set_ino64(struct archive_entry *,
|
|
377
|
+
__LA_DECL void archive_entry_set_ino(struct archive_entry *, __LA_INO_T);
|
|
378
|
+
__LA_DECL void archive_entry_set_ino64(struct archive_entry *, __LA_INO_T);
|
|
349
379
|
__LA_DECL void archive_entry_set_link(struct archive_entry *, const char *);
|
|
350
380
|
__LA_DECL void archive_entry_set_link_utf8(struct archive_entry *, const char *);
|
|
351
381
|
__LA_DECL void archive_entry_copy_link(struct archive_entry *, const char *);
|
|
352
382
|
__LA_DECL void archive_entry_copy_link_w(struct archive_entry *, const wchar_t *);
|
|
353
383
|
__LA_DECL int archive_entry_update_link_utf8(struct archive_entry *, const char *);
|
|
354
384
|
__LA_DECL void archive_entry_set_mode(struct archive_entry *, __LA_MODE_T);
|
|
355
|
-
__LA_DECL void archive_entry_set_mtime(struct archive_entry *,
|
|
385
|
+
__LA_DECL void archive_entry_set_mtime(struct archive_entry *, __LA_TIME_T, long);
|
|
356
386
|
__LA_DECL void archive_entry_unset_mtime(struct archive_entry *);
|
|
357
387
|
__LA_DECL void archive_entry_set_nlink(struct archive_entry *, unsigned int);
|
|
358
388
|
__LA_DECL void archive_entry_set_pathname(struct archive_entry *, const char *);
|
|
@@ -361,9 +391,9 @@ __LA_DECL void archive_entry_copy_pathname(struct archive_entry *, const char *)
|
|
|
361
391
|
__LA_DECL void archive_entry_copy_pathname_w(struct archive_entry *, const wchar_t *);
|
|
362
392
|
__LA_DECL int archive_entry_update_pathname_utf8(struct archive_entry *, const char *);
|
|
363
393
|
__LA_DECL void archive_entry_set_perm(struct archive_entry *, __LA_MODE_T);
|
|
364
|
-
__LA_DECL void archive_entry_set_rdev(struct archive_entry *,
|
|
365
|
-
__LA_DECL void archive_entry_set_rdevmajor(struct archive_entry *,
|
|
366
|
-
__LA_DECL void archive_entry_set_rdevminor(struct archive_entry *,
|
|
394
|
+
__LA_DECL void archive_entry_set_rdev(struct archive_entry *, __LA_DEV_T);
|
|
395
|
+
__LA_DECL void archive_entry_set_rdevmajor(struct archive_entry *, __LA_DEV_T);
|
|
396
|
+
__LA_DECL void archive_entry_set_rdevminor(struct archive_entry *, __LA_DEV_T);
|
|
367
397
|
__LA_DECL void archive_entry_set_size(struct archive_entry *, la_int64_t);
|
|
368
398
|
__LA_DECL void archive_entry_unset_size(struct archive_entry *);
|
|
369
399
|
__LA_DECL void archive_entry_copy_sourcepath(struct archive_entry *, const char *);
|
|
@@ -419,6 +449,7 @@ __LA_DECL void archive_entry_copy_mac_metadata(struct archive_entry *, const voi
|
|
|
419
449
|
#define ARCHIVE_ENTRY_DIGEST_SHA512 0x00000006
|
|
420
450
|
|
|
421
451
|
__LA_DECL const unsigned char * archive_entry_digest(struct archive_entry *, int /* type */);
|
|
452
|
+
__LA_DECL int archive_entry_set_digest(struct archive_entry *, int, const unsigned char *);
|
|
422
453
|
|
|
423
454
|
/*
|
|
424
455
|
* ACL routines. This used to simply store and return text-format ACL
|
package/include/ffi.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* -----------------------------------------------------------------*-C-*-
|
|
2
|
-
libffi 3.
|
|
3
|
-
- Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024 Anthony Green
|
|
2
|
+
libffi 3.5.1
|
|
3
|
+
- Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024, 2025 Anthony Green
|
|
4
4
|
- Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person
|
|
@@ -314,6 +314,24 @@ void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) __a
|
|
|
314
314
|
FFI_API
|
|
315
315
|
size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated));
|
|
316
316
|
|
|
317
|
+
/* ---- Version API ------------------------------------------------------ */
|
|
318
|
+
|
|
319
|
+
#define FFI_VERSION_STRING "3.5.1"
|
|
320
|
+
#define FFI_VERSION_NUMBER 30501
|
|
321
|
+
|
|
322
|
+
#ifndef LIBFFI_ASM
|
|
323
|
+
/* Return a version string. */
|
|
324
|
+
FFI_API const char *ffi_get_version (void);
|
|
325
|
+
|
|
326
|
+
/* Return the version as an unsigned long value: (x * 10000 + y * 100 + z) */
|
|
327
|
+
FFI_API unsigned long ffi_get_version_number (void);
|
|
328
|
+
#endif
|
|
329
|
+
|
|
330
|
+
/* ---- Internals API ---------------------------------------------------- */
|
|
331
|
+
|
|
332
|
+
FFI_API unsigned int ffi_get_default_abi (void);
|
|
333
|
+
FFI_API size_t ffi_get_closure_size (void);
|
|
334
|
+
|
|
317
335
|
/* ---- Definitions for closures ----------------------------------------- */
|
|
318
336
|
|
|
319
337
|
#if FFI_CLOSURES
|
|
@@ -33,9 +33,9 @@ G_BEGIN_DECLS
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* GBusAcquiredCallback:
|
|
36
|
-
* @connection:
|
|
37
|
-
* @name:
|
|
38
|
-
* @user_data:
|
|
36
|
+
* @connection: the connection to a message bus
|
|
37
|
+
* @name: the name that is requested to be owned
|
|
38
|
+
* @user_data: user data passed to [func@Gio.bus_own_name]
|
|
39
39
|
*
|
|
40
40
|
* Invoked when a connection to a message bus has been obtained.
|
|
41
41
|
*
|
|
@@ -47,9 +47,10 @@ typedef void (*GBusAcquiredCallback) (GDBusConnection *connection,
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* GBusNameAcquiredCallback:
|
|
50
|
-
* @connection:
|
|
51
|
-
* @name:
|
|
52
|
-
* @user_data:
|
|
50
|
+
* @connection: the connection on which to acquired the name
|
|
51
|
+
* @name: the name being owned
|
|
52
|
+
* @user_data: user data passed to [func@Gio.bus_own_name] or
|
|
53
|
+
* [func@Gio.bus_own_name_on_connection]
|
|
53
54
|
*
|
|
54
55
|
* Invoked when the name is acquired.
|
|
55
56
|
*
|
|
@@ -61,10 +62,11 @@ typedef void (*GBusNameAcquiredCallback) (GDBusConnection *connection,
|
|
|
61
62
|
|
|
62
63
|
/**
|
|
63
64
|
* GBusNameLostCallback:
|
|
64
|
-
* @connection:
|
|
65
|
-
*
|
|
66
|
-
* @name:
|
|
67
|
-
* @user_data:
|
|
65
|
+
* @connection: the connect on which to acquire the name or `NULL` if
|
|
66
|
+
* the connection was disconnected
|
|
67
|
+
* @name: the name being owned
|
|
68
|
+
* @user_data: user data passed to [func@Gio.bus_own_name] or
|
|
69
|
+
* [func@Gio.bus_own_name_on_connection]
|
|
68
70
|
*
|
|
69
71
|
* Invoked when the name is lost or @connection has been closed.
|
|
70
72
|
*
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GIO_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GIO_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GIO_DEPRECATED_IN_2_86 GIO_DEPRECATED
|
|
1058
|
+
#define GIO_DEPRECATED_IN_2_86_FOR(f) GIO_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GIO_DEPRECATED_IN_2_86 _GIO_EXTERN
|
|
1067
|
+
#define GIO_DEPRECATED_IN_2_86_FOR(f) _GIO_EXTERN
|
|
1068
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GIO_AVAILABLE_IN_2_86 GIO_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GIO_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GIO_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GIO_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GIO_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GIO_AVAILABLE_IN_2_86 _GIO_EXTERN
|
|
1084
|
+
#define GIO_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GIO_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GIO_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GIO_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -224,15 +224,15 @@ void g_settings_sync (void);
|
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* GSettingsBindSetMapping:
|
|
227
|
-
* @value:
|
|
228
|
-
* @expected_type:
|
|
227
|
+
* @value: the property value to map
|
|
228
|
+
* @expected_type: expected type of the result
|
|
229
229
|
* @user_data: user data that was specified when the binding was created
|
|
230
230
|
*
|
|
231
231
|
* The type for the function that is used to convert an object property
|
|
232
|
-
* value to a
|
|
232
|
+
* value to a [struct@GLib.Variant] for storing it in [class@Gio.Settings].
|
|
233
233
|
*
|
|
234
|
-
* Returns: a new
|
|
235
|
-
*
|
|
234
|
+
* Returns: (nullable): a new [struct@GLib.Variant] holding the data from @value,
|
|
235
|
+
* or `NULL` in case of an error
|
|
236
236
|
*/
|
|
237
237
|
typedef GVariant * (*GSettingsBindSetMapping) (const GValue *value,
|
|
238
238
|
const GVariantType *expected_type,
|
|
@@ -241,14 +241,15 @@ typedef GVariant * (*GSettingsBindSetMapping) (const G
|
|
|
241
241
|
/**
|
|
242
242
|
* GSettingsBindGetMapping:
|
|
243
243
|
* @value: return location for the property value
|
|
244
|
-
* @variant: the
|
|
244
|
+
* @variant: variant to map to the property value
|
|
245
245
|
* @user_data: user data that was specified when the binding was created
|
|
246
246
|
*
|
|
247
|
-
* The type for the function that is used to convert from
|
|
248
|
-
* an object property.
|
|
249
|
-
* of the appropriate type.
|
|
247
|
+
* The type for the function that is used to convert from [class@Gio.Settings]
|
|
248
|
+
* to an object property.
|
|
250
249
|
*
|
|
251
|
-
*
|
|
250
|
+
* The @value is already initialized to hold values of the appropriate type.
|
|
251
|
+
*
|
|
252
|
+
* Returns: true if the conversion succeeded, false in case of an error
|
|
252
253
|
*/
|
|
253
254
|
typedef gboolean (*GSettingsBindGetMapping) (GValue *value,
|
|
254
255
|
GVariant *variant,
|
|
@@ -256,23 +257,23 @@ typedef gboolean (*GSettingsBindGetMapping) (GValue
|
|
|
256
257
|
|
|
257
258
|
/**
|
|
258
259
|
* GSettingsGetMapping:
|
|
259
|
-
* @value:
|
|
260
|
+
* @value: (nullable): variant to map to the application value
|
|
260
261
|
* @result: (out): the result of the mapping
|
|
261
262
|
* @user_data: (closure): the user data that was passed to
|
|
262
|
-
*
|
|
263
|
+
* [method@Gio.Settings.get_mapped]
|
|
263
264
|
*
|
|
264
265
|
* The type of the function that is used to convert from a value stored
|
|
265
|
-
* in a
|
|
266
|
+
* in a [class@Gio.Settings] to a value that is useful to the application.
|
|
266
267
|
*
|
|
267
268
|
* If the value is successfully mapped, the result should be stored at
|
|
268
|
-
* @result and
|
|
269
|
-
* is not in the right format) then
|
|
269
|
+
* @result and true returned. If mapping fails (for example, if @value
|
|
270
|
+
* is not in the right format) then false should be returned.
|
|
270
271
|
*
|
|
271
|
-
* If @value is
|
|
272
|
-
* given a
|
|
272
|
+
* If @value is `NULL` then it means that the mapping function is being
|
|
273
|
+
* given a ‘last chance’ to successfully return a valid value. True
|
|
273
274
|
* must be returned in this case.
|
|
274
275
|
*
|
|
275
|
-
* Returns:
|
|
276
|
+
* Returns: true if the conversion succeeded, false in case of an error
|
|
276
277
|
**/
|
|
277
278
|
typedef gboolean (*GSettingsGetMapping) (GVariant *value,
|
|
278
279
|
gpointer *result,
|
|
@@ -281,20 +282,23 @@ typedef gboolean (*GSettingsGetMapping) (GVarian
|
|
|
281
282
|
/**
|
|
282
283
|
* GSettingsBindFlags:
|
|
283
284
|
* @G_SETTINGS_BIND_DEFAULT: Equivalent to `G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`
|
|
284
|
-
* @G_SETTINGS_BIND_GET: Update the
|
|
285
|
-
*
|
|
286
|
-
* @G_SETTINGS_BIND_SET: Update the setting when the
|
|
287
|
-
*
|
|
288
|
-
* @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a
|
|
289
|
-
* @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
285
|
+
* @G_SETTINGS_BIND_GET: Update the [class@GObject.Object] property when the setting changes.
|
|
286
|
+
* It is an error to use this flag if the property is not writable.
|
|
287
|
+
* @G_SETTINGS_BIND_SET: Update the setting when the [class@GObject.Object] property changes.
|
|
288
|
+
* It is an error to use this flag if the property is not readable.
|
|
289
|
+
* @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a ‘sensitivity’ property to the writability of the setting
|
|
290
|
+
* @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to [flags@Gio.SettingsBindFlags.GET],
|
|
291
|
+
* set the [class@GObject.Object] property
|
|
292
|
+
* value initially from the setting, but do not listen for changes of the setting
|
|
293
|
+
* @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to [method@Gio.Settings.bind],
|
|
294
|
+
* uses a pair of mapping functions that invert
|
|
295
|
+
* the boolean value when mapping between the setting and the property. The setting and property must both
|
|
296
|
+
* be booleans. You cannot pass this flag to [method@Gio.Settings.bind_with_mapping].
|
|
297
|
+
*
|
|
298
|
+
* Flags used when creating a binding.
|
|
294
299
|
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
* directions.
|
|
300
|
+
* These flags determine in which direction the binding works. The default is to
|
|
301
|
+
* synchronize in both directions.
|
|
298
302
|
*/
|
|
299
303
|
typedef enum
|
|
300
304
|
{
|
|
@@ -59,6 +59,12 @@ GIO_AVAILABLE_IN_ALL
|
|
|
59
59
|
void g_zlib_compressor_set_file_info (GZlibCompressor *compressor,
|
|
60
60
|
GFileInfo *file_info);
|
|
61
61
|
|
|
62
|
+
GIO_AVAILABLE_IN_2_86
|
|
63
|
+
int g_zlib_compressor_get_os (GZlibCompressor *compressor);
|
|
64
|
+
GIO_AVAILABLE_IN_2_86
|
|
65
|
+
void g_zlib_compressor_set_os (GZlibCompressor *compressor,
|
|
66
|
+
int os);
|
|
67
|
+
|
|
62
68
|
G_END_DECLS
|
|
63
69
|
|
|
64
70
|
#endif /* __G_ZLIB_COMPRESSOR_H__ */
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GI_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GI_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GI_DEPRECATED_IN_2_86 GI_DEPRECATED
|
|
1058
|
+
#define GI_DEPRECATED_IN_2_86_FOR(f) GI_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GI_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GI_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GI_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GI_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GI_DEPRECATED_IN_2_86 _GI_EXTERN
|
|
1067
|
+
#define GI_DEPRECATED_IN_2_86_FOR(f) _GI_EXTERN
|
|
1068
|
+
#define GI_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GI_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GI_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GI_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GI_AVAILABLE_IN_2_86 GI_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GI_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GI_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GI_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GI_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GI_AVAILABLE_IN_2_86 _GI_EXTERN
|
|
1084
|
+
#define GI_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GI_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GI_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GI_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|