@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
|
@@ -366,6 +366,7 @@ typedef enum {
|
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
368
|
* GIFieldInfoFlags:
|
|
369
|
+
* @GI_FIELD_INFO_FLAGS_NONE: no flags set (since: 2.86)
|
|
369
370
|
* @GI_FIELD_IS_READABLE: field is readable.
|
|
370
371
|
* @GI_FIELD_IS_WRITABLE: field is writable.
|
|
371
372
|
*
|
|
@@ -376,12 +377,14 @@ typedef enum {
|
|
|
376
377
|
|
|
377
378
|
typedef enum
|
|
378
379
|
{
|
|
380
|
+
GI_FIELD_INFO_FLAGS_NONE GI_AVAILABLE_ENUMERATOR_IN_2_86 = 0,
|
|
379
381
|
GI_FIELD_IS_READABLE = 1 << 0,
|
|
380
382
|
GI_FIELD_IS_WRITABLE = 1 << 1
|
|
381
383
|
} GIFieldInfoFlags;
|
|
382
384
|
|
|
383
385
|
/**
|
|
384
386
|
* GIVFuncInfoFlags:
|
|
387
|
+
* @GI_VFUNC_INFO_FLAGS_NONE: no flags set (since: 2.86)
|
|
385
388
|
* @GI_VFUNC_MUST_CHAIN_UP: chains up to the parent type
|
|
386
389
|
* @GI_VFUNC_MUST_OVERRIDE: overrides
|
|
387
390
|
* @GI_VFUNC_MUST_NOT_OVERRIDE: does not override
|
|
@@ -392,6 +395,7 @@ typedef enum
|
|
|
392
395
|
*/
|
|
393
396
|
typedef enum
|
|
394
397
|
{
|
|
398
|
+
GI_VFUNC_INFO_FLAGS_NONE GI_AVAILABLE_ENUMERATOR_IN_2_86 = 0,
|
|
395
399
|
GI_VFUNC_MUST_CHAIN_UP = 1 << 0,
|
|
396
400
|
GI_VFUNC_MUST_OVERRIDE = 1 << 1,
|
|
397
401
|
GI_VFUNC_MUST_NOT_OVERRIDE = 1 << 2,
|
|
@@ -399,6 +403,7 @@ typedef enum
|
|
|
399
403
|
|
|
400
404
|
/**
|
|
401
405
|
* GIFunctionInfoFlags:
|
|
406
|
+
* @GI_FUNCTION_INFO_FLAGS_NONE: no flags set (since: 2.86)
|
|
402
407
|
* @GI_FUNCTION_IS_METHOD: is a method.
|
|
403
408
|
* @GI_FUNCTION_IS_CONSTRUCTOR: is a constructor.
|
|
404
409
|
* @GI_FUNCTION_IS_GETTER: is a getter of a [class@GIRepository.PropertyInfo].
|
|
@@ -411,6 +416,7 @@ typedef enum
|
|
|
411
416
|
*/
|
|
412
417
|
typedef enum
|
|
413
418
|
{
|
|
419
|
+
GI_FUNCTION_INFO_FLAGS_NONE GI_AVAILABLE_ENUMERATOR_IN_2_86 = 0,
|
|
414
420
|
GI_FUNCTION_IS_METHOD = 1 << 0,
|
|
415
421
|
GI_FUNCTION_IS_CONSTRUCTOR = 1 << 1,
|
|
416
422
|
GI_FUNCTION_IS_GETTER = 1 << 2,
|
|
@@ -34,6 +34,11 @@ G_BEGIN_DECLS
|
|
|
34
34
|
GLIB_AVAILABLE_IN_ALL
|
|
35
35
|
void g_bit_lock (volatile gint *address,
|
|
36
36
|
gint lock_bit);
|
|
37
|
+
GLIB_AVAILABLE_IN_2_86
|
|
38
|
+
void g_bit_lock_and_get (gint *address,
|
|
39
|
+
guint lock_bit,
|
|
40
|
+
gint *out_val);
|
|
41
|
+
|
|
37
42
|
GLIB_AVAILABLE_IN_ALL
|
|
38
43
|
gboolean g_bit_trylock (volatile gint *address,
|
|
39
44
|
gint lock_bit);
|
|
@@ -41,6 +46,12 @@ GLIB_AVAILABLE_IN_ALL
|
|
|
41
46
|
void g_bit_unlock (volatile gint *address,
|
|
42
47
|
gint lock_bit);
|
|
43
48
|
|
|
49
|
+
GLIB_AVAILABLE_IN_2_86
|
|
50
|
+
void g_bit_unlock_and_set (gint *address,
|
|
51
|
+
guint lock_bit,
|
|
52
|
+
gint new_val,
|
|
53
|
+
gint preserve_mask);
|
|
54
|
+
|
|
44
55
|
GLIB_AVAILABLE_IN_ALL
|
|
45
56
|
void g_pointer_bit_lock (volatile void *address,
|
|
46
57
|
gint lock_bit);
|
|
@@ -167,6 +167,9 @@ GLIB_AVAILABLE_IN_ALL
|
|
|
167
167
|
guint g_date_get_monday_week_of_year (const GDate *date);
|
|
168
168
|
GLIB_AVAILABLE_IN_ALL
|
|
169
169
|
guint g_date_get_sunday_week_of_year (const GDate *date);
|
|
170
|
+
GLIB_AVAILABLE_IN_2_86
|
|
171
|
+
guint g_date_get_week_of_year (const GDate *date,
|
|
172
|
+
GDateWeekday first_day_of_week);
|
|
170
173
|
GLIB_AVAILABLE_IN_ALL
|
|
171
174
|
guint g_date_get_iso8601_week_of_year (const GDate *date);
|
|
172
175
|
|
|
@@ -250,6 +253,9 @@ GLIB_AVAILABLE_IN_ALL
|
|
|
250
253
|
guint8 g_date_get_monday_weeks_in_year (GDateYear year) G_GNUC_CONST;
|
|
251
254
|
GLIB_AVAILABLE_IN_ALL
|
|
252
255
|
guint8 g_date_get_sunday_weeks_in_year (GDateYear year) G_GNUC_CONST;
|
|
256
|
+
GLIB_AVAILABLE_IN_2_86
|
|
257
|
+
guint8 g_date_get_weeks_in_year (GDateYear year,
|
|
258
|
+
GDateWeekday first_day_of_week) G_GNUC_CONST;
|
|
253
259
|
|
|
254
260
|
/* Returns the number of days between the two dates. If date2 comes
|
|
255
261
|
before date1, a negative value is return. */
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GLIB_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GLIB_DEPRECATED_IN_2_86 GLIB_DEPRECATED
|
|
1058
|
+
#define GLIB_DEPRECATED_IN_2_86_FOR(f) GLIB_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GLIB_DEPRECATED_IN_2_86 _GLIB_EXTERN
|
|
1067
|
+
#define GLIB_DEPRECATED_IN_2_86_FOR(f) _GLIB_EXTERN
|
|
1068
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GLIB_AVAILABLE_IN_2_86 GLIB_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GLIB_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GLIB_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GLIB_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GLIB_AVAILABLE_IN_2_86 _GLIB_EXTERN
|
|
1084
|
+
#define GLIB_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GLIB_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GLIB_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -100,8 +100,8 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
|
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* GSourceFuncs:
|
|
103
|
-
* @prepare: Called before all the file descriptors are polled. If
|
|
104
|
-
* source can determine that it is ready here (without waiting for the
|
|
103
|
+
* @prepare: (nullable): Called before all the file descriptors are polled. If
|
|
104
|
+
* the source can determine that it is ready here (without waiting for the
|
|
105
105
|
* results of the poll() call) it should return %TRUE. It can also return
|
|
106
106
|
* a @timeout_ value which should be the maximum timeout (in milliseconds)
|
|
107
107
|
* which should be passed to the poll() call. The actual timeout used will
|
|
@@ -111,9 +111,9 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
|
|
|
111
111
|
* %FALSE with a timeout of -1. If @prepare returns a
|
|
112
112
|
* timeout and the source also has a ready time set, then the
|
|
113
113
|
* lower of the two will be used.
|
|
114
|
-
* @check: Called after all the file descriptors are polled. The
|
|
115
|
-
* should return %TRUE if it is ready to be dispatched. Note that
|
|
116
|
-
* time may have passed since the previous prepare function was called,
|
|
114
|
+
* @check: (nullable): Called after all the file descriptors are polled. The
|
|
115
|
+
* source should return %TRUE if it is ready to be dispatched. Note that
|
|
116
|
+
* some time may have passed since the previous prepare function was called,
|
|
117
117
|
* so the source should be checked again here. Since 2.36 this may
|
|
118
118
|
* be %NULL, in which case the effect is as if the function always returns
|
|
119
119
|
* %FALSE.
|
|
@@ -127,11 +127,12 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
|
|
|
127
127
|
* The return value of the @dispatch function should be
|
|
128
128
|
* [const@GLib.SOURCE_REMOVE] if the source should be removed or
|
|
129
129
|
* [const@GLib.SOURCE_CONTINUE] to keep it.
|
|
130
|
-
* @finalize: Called when the source is finalized. At this point,
|
|
131
|
-
* will have been destroyed, had its callback cleared, and have
|
|
132
|
-
* from its [struct@GLib.MainContext], but it will still have
|
|
133
|
-
* reference count, so methods can be called on it from within
|
|
134
|
-
* function.
|
|
130
|
+
* @finalize: (nullable): Called when the source is finalized. At this point,
|
|
131
|
+
* the source will have been destroyed, had its callback cleared, and have
|
|
132
|
+
* been removed from its [struct@GLib.MainContext], but it will still have
|
|
133
|
+
* its final reference count, so methods can be called on it from within
|
|
134
|
+
* this function. This may be %NULL, in which case the effect is as if the
|
|
135
|
+
* function does nothing and returns.
|
|
135
136
|
*
|
|
136
137
|
* The `GSourceFuncs` struct contains a table of
|
|
137
138
|
* functions used to handle event sources in a generic manner.
|
|
@@ -726,6 +727,8 @@ guint g_source_get_id (GSource *source);
|
|
|
726
727
|
|
|
727
728
|
GLIB_AVAILABLE_IN_ALL
|
|
728
729
|
GMainContext *g_source_get_context (GSource *source);
|
|
730
|
+
GLIB_AVAILABLE_IN_2_86
|
|
731
|
+
GMainContext *g_source_dup_context (GSource *source);
|
|
729
732
|
|
|
730
733
|
GLIB_AVAILABLE_IN_ALL
|
|
731
734
|
void g_source_set_callback (GSource *source,
|
|
@@ -117,6 +117,9 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
|
|
|
117
117
|
GLIB_AVAILABLE_IN_ALL
|
|
118
118
|
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
|
119
119
|
|
|
120
|
+
GLIB_AVAILABLE_IN_2_86
|
|
121
|
+
GLogLevelFlags g_log_get_always_fatal (void);
|
|
122
|
+
|
|
120
123
|
/* Structured logging mechanism. */
|
|
121
124
|
|
|
122
125
|
/**
|
|
@@ -587,7 +590,7 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
|
|
|
587
590
|
*
|
|
588
591
|
* To debug failure of a g_return_if_fail() check, run the code under a debugger
|
|
589
592
|
* with `G_DEBUG=fatal-criticals` or `G_DEBUG=fatal-warnings` defined in the
|
|
590
|
-
* environment (see [Running GLib Applications](
|
|
593
|
+
* environment (see [Running GLib Applications](running.html)):
|
|
591
594
|
*
|
|
592
595
|
* |[
|
|
593
596
|
* G_DEBUG=fatal-warnings gdb ./my-program
|
|
@@ -58,6 +58,8 @@ GString* g_string_new_len (const gchar *init,
|
|
|
58
58
|
gssize len);
|
|
59
59
|
GLIB_AVAILABLE_IN_ALL
|
|
60
60
|
GString* g_string_sized_new (gsize dfl_size);
|
|
61
|
+
GLIB_AVAILABLE_IN_2_86
|
|
62
|
+
GString *g_string_copy (GString *string);
|
|
61
63
|
GLIB_AVAILABLE_IN_ALL
|
|
62
64
|
gchar* (g_string_free) (GString *string,
|
|
63
65
|
gboolean free_segment);
|
|
@@ -413,6 +413,15 @@
|
|
|
413
413
|
* Since: 2.84
|
|
414
414
|
*/
|
|
415
415
|
#define GLIB_VERSION_2_84 (G_ENCODE_VERSION (2, 84))
|
|
416
|
+
/**
|
|
417
|
+
* GLIB_VERSION_2_86:
|
|
418
|
+
*
|
|
419
|
+
* A macro that evaluates to the 2.86 version of GLib, in a format
|
|
420
|
+
* that can be used by the C pre-processor.
|
|
421
|
+
*
|
|
422
|
+
* Since: 2.86
|
|
423
|
+
*/
|
|
424
|
+
#define GLIB_VERSION_2_86 (G_ENCODE_VERSION (2, 86))
|
|
416
425
|
|
|
417
426
|
/**
|
|
418
427
|
* GLIB_VERSION_CUR_STABLE:
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GMODULE_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GMODULE_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GMODULE_DEPRECATED_IN_2_86 GMODULE_DEPRECATED
|
|
1058
|
+
#define GMODULE_DEPRECATED_IN_2_86_FOR(f) GMODULE_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GMODULE_DEPRECATED_IN_2_86 _GMODULE_EXTERN
|
|
1067
|
+
#define GMODULE_DEPRECATED_IN_2_86_FOR(f) _GMODULE_EXTERN
|
|
1068
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GMODULE_AVAILABLE_IN_2_86 GMODULE_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GMODULE_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GMODULE_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GMODULE_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GMODULE_AVAILABLE_IN_2_86 _GMODULE_EXTERN
|
|
1084
|
+
#define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GMODULE_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GMODULE_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GMODULE_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GOBJECT_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GOBJECT_DEPRECATED_IN_2_86 GOBJECT_DEPRECATED
|
|
1058
|
+
#define GOBJECT_DEPRECATED_IN_2_86_FOR(f) GOBJECT_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GOBJECT_DEPRECATED_IN_2_86 _GOBJECT_EXTERN
|
|
1067
|
+
#define GOBJECT_DEPRECATED_IN_2_86_FOR(f) _GOBJECT_EXTERN
|
|
1068
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GOBJECT_AVAILABLE_IN_2_86 GOBJECT_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GOBJECT_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GOBJECT_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GOBJECT_AVAILABLE_IN_2_86 _GOBJECT_EXTERN
|
|
1084
|
+
#define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GOBJECT_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GOBJECT_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -124,14 +124,6 @@ typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
|
|
|
124
124
|
* of as object methods which can be called generically by
|
|
125
125
|
* third-party code.
|
|
126
126
|
* @G_SIGNAL_NO_HOOKS: No emissions hooks are supported for this signal.
|
|
127
|
-
* @G_SIGNAL_MUST_COLLECT: Varargs signal emission will always collect the
|
|
128
|
-
* arguments, even if there are no signal handlers connected. Since 2.30.
|
|
129
|
-
* @G_SIGNAL_DEPRECATED: The signal is deprecated and will be removed
|
|
130
|
-
* in a future version. A warning will be generated if it is connected while
|
|
131
|
-
* running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.
|
|
132
|
-
* @G_SIGNAL_ACCUMULATOR_FIRST_RUN: Only used in #GSignalAccumulator accumulator
|
|
133
|
-
* functions for the #GSignalInvocationHint::run_type field to mark the first
|
|
134
|
-
* call to the accumulator function for a signal emission. Since 2.68.
|
|
135
127
|
*
|
|
136
128
|
* The signal flags are used to specify a signal's behaviour.
|
|
137
129
|
*/
|
|
@@ -149,6 +141,39 @@ typedef enum
|
|
|
149
141
|
/* normal signal flags until 1 << 16 */
|
|
150
142
|
G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17,
|
|
151
143
|
} GSignalFlags;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* G_SIGNAL_MUST_COLLECT:
|
|
147
|
+
*
|
|
148
|
+
* Varargs signal emission will always collect the arguments, even if there
|
|
149
|
+
* are no signal handlers connected.
|
|
150
|
+
*
|
|
151
|
+
* Since: 2.30
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* G_SIGNAL_DEPRECATED:
|
|
156
|
+
*
|
|
157
|
+
* The signal is deprecated and will be removed in a future version.
|
|
158
|
+
*
|
|
159
|
+
* A warning will be generated if it is connected while running with
|
|
160
|
+
* `G_ENABLE_DIAGNOSTIC=1`.
|
|
161
|
+
*
|
|
162
|
+
* Since: 2.32
|
|
163
|
+
*/
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* G_SIGNAL_ACCUMULATOR_FIRST_RUN:
|
|
167
|
+
*
|
|
168
|
+
* The signal accumulator was invoked for the first time.
|
|
169
|
+
*
|
|
170
|
+
* This flag is only used in [callback@GObject.SignalAccumulator][accumulator functions]
|
|
171
|
+
* for the `run_type` field of the [struct@GObject.SignalInvocationHint], to
|
|
172
|
+
* mark the first call to the accumulator function for a signal emission.
|
|
173
|
+
*
|
|
174
|
+
* Since: 2.68
|
|
175
|
+
*/
|
|
176
|
+
|
|
152
177
|
/**
|
|
153
178
|
* G_SIGNAL_FLAGS_MASK:
|
|
154
179
|
*
|