]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 11 Feb 2023 17:19:26 +0000 (18:19 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 11 Feb 2023 17:19:26 +0000 (18:19 +0100)
vapi/gobject-introspection-1.0.vapi
vapi/harfbuzz-gobject.vapi
vapi/libnotify.vapi
vapi/libpeas-1.0.vapi
vapi/libsoup-3.0.vapi
vapi/libwnck-3.0.vapi
vapi/metadata/HarfBuzz-0.0.metadata
vapi/metadata/Poppler-0.18.metadata
vapi/packagekit-glib2.vapi
vapi/pango.vapi
vapi/poppler-glib.vapi

index 306392f92f1387af9362b5e0ed41c3229a6e2336..c39a3b7f5259430594fa3e872ff5ce8ad09af58b 100644 (file)
@@ -224,7 +224,11 @@ namespace GI {
                public GI.FieldInfo find_field (string name);
                public GI.FunctionInfo find_method (string name);
                public size_t get_alignment ();
+               [Version (since = "1.76")]
+               public unowned string? get_copy_function ();
                public GI.FieldInfo get_field (int n);
+               [Version (since = "1.76")]
+               public unowned string? get_free_function ();
                public GI.FunctionInfo get_method (int n);
                public int get_n_fields ();
                public int get_n_methods ();
@@ -262,10 +266,14 @@ namespace GI {
        public class UnionInfo : GI.BaseInfo {
                public GI.FunctionInfo find_method (string name);
                public size_t get_alignment ();
+               [Version (since = "1.76")]
+               public unowned string? get_copy_function ();
                public GI.ConstantInfo get_discriminator (int n);
                public int get_discriminator_offset ();
                public GI.TypeInfo get_discriminator_type ();
                public GI.FieldInfo get_field (int n);
+               [Version (since = "1.76")]
+               public unowned string? get_free_function ();
                public GI.FunctionInfo get_method (int n);
                public int get_n_fields ();
                public int get_n_methods ();
index 35739596c041aeb1e50b2f5ed7727b60fe46453a..06216893467c4b106006ce4b00d3acdf6ba203bb 100644 (file)
@@ -150,27 +150,55 @@ namespace HarfBuzz {
                [Version (since = "0.9.2")]
                public void set_unicode_funcs (HarfBuzz.UnicodeFuncs unicode_funcs);
        }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_color_line_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "hb_gobject_color_line_get_type ()")]
+       [Compact]
+       [GIR (name = "color_line_t")]
+       public class ColorLine {
+               public void* data;
+               public weak HarfBuzz.ColorLineGetColorStopsFunc get_color_stops;
+               public void* get_color_stops_user_data;
+               public weak HarfBuzz.ColorLineGetExtendFunc get_extend;
+               public void* get_extend_user_data;
+               public void* reserved0;
+               public void* reserved1;
+               public void* reserved2;
+               public void* reserved3;
+               public void* reserved5;
+               public void* reserved6;
+               public void* reserved7;
+               public void* reserved8;
+       }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_color_stop_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "hb_gobject_color_stop_get_type ()")]
+       [Compact]
+       [GIR (name = "color_stop_t")]
+       public class ColorStop {
+               public HarfBuzz.Color color;
+               public HarfBuzz.Bool is_foreground;
+               public float offset;
+       }
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_draw_funcs_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "hb_gobject_draw_funcs_", type_id = "hb_gobject_draw_funcs_get_type ()")]
        [Compact]
        [GIR (name = "draw_funcs_t")]
        [Version (since = "4.0.0")]
        public class DrawFuncs {
                [CCode (cname = "hb_draw_close_path")]
-               public void close_path (void* draw_data, HarfBuzz.draw_state_t st);
+               public void close_path (void* draw_data, HarfBuzz.DrawState st);
                [CCode (cname = "hb_draw_funcs_create")]
                public static HarfBuzz.DrawFuncs create ();
                [CCode (cname = "hb_draw_cubic_to")]
-               public void cubic_to (void* draw_data, HarfBuzz.draw_state_t st, float control1_x, float control1_y, float control2_x, float control2_y, float to_x, float to_y);
+               public void cubic_to (void* draw_data, HarfBuzz.DrawState st, float control1_x, float control1_y, float control2_x, float control2_y, float to_x, float to_y);
+               [CCode (cname = "hb_draw_funcs_get_empty")]
+               public static HarfBuzz.DrawFuncs get_empty ();
                [CCode (cname = "hb_draw_funcs_is_immutable")]
                public HarfBuzz.Bool is_immutable ();
                [CCode (cname = "hb_draw_line_to")]
-               public void line_to (void* draw_data, HarfBuzz.draw_state_t st, float to_x, float to_y);
+               public void line_to (void* draw_data, HarfBuzz.DrawState st, float to_x, float to_y);
                [CCode (cname = "hb_draw_funcs_make_immutable")]
                public void make_immutable ();
                [CCode (cname = "hb_draw_move_to")]
-               public void move_to (void* draw_data, HarfBuzz.draw_state_t st, float to_x, float to_y);
+               public void move_to (void* draw_data, HarfBuzz.DrawState st, float to_x, float to_y);
                [CCode (cname = "hb_draw_quadratic_to")]
-               public void quadratic_to (void* draw_data, HarfBuzz.draw_state_t st, float control_x, float control_y, float to_x, float to_y);
+               public void quadratic_to (void* draw_data, HarfBuzz.DrawState st, float control_x, float control_y, float to_x, float to_y);
                [CCode (cname = "hb_draw_funcs_set_close_path_func")]
                public void set_close_path_func (owned HarfBuzz.DrawClosePathFunc func);
                [CCode (cname = "hb_draw_funcs_set_cubic_to_func")]
@@ -182,6 +210,17 @@ namespace HarfBuzz {
                [CCode (cname = "hb_draw_funcs_set_quadratic_to_func")]
                public void set_quadratic_to_func (owned HarfBuzz.DrawQuadraticToFunc func);
        }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_draw_state_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "hb_gobject_draw_state_get_type ()")]
+       [Compact]
+       [GIR (name = "draw_state_t")]
+       [Version (since = "4.0.0")]
+       public class DrawState {
+               public float current_x;
+               public float current_y;
+               public HarfBuzz.Bool path_open;
+               public float path_start_x;
+               public float path_start_y;
+       }
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_face_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "hb_gobject_face_get_type ()")]
        [Compact]
        [GIR (name = "face_t")]
@@ -192,12 +231,13 @@ namespace HarfBuzz {
                public static HarfBuzz.Face builder_create ();
                [Version (since = "5.3.0")]
                public void builder_sort_tables ([CCode (array_length = false, array_null_terminated = true)] HarfBuzz.Tag[] tags);
+               public void collect_nominal_glyph_mapping (out unowned HarfBuzz.Map mapping, out unowned HarfBuzz.Set? unicodes);
                [Version (since = "1.9.0")]
-               public void collect_unicodes (HarfBuzz.Set @out);
+               public void collect_unicodes (out unowned HarfBuzz.Set @out);
                [Version (since = "1.9.0")]
-               public void collect_variation_selectors (HarfBuzz.Set @out);
+               public void collect_variation_selectors (out unowned HarfBuzz.Set @out);
                [Version (since = "1.9.0")]
-               public void collect_variation_unicodes (HarfBuzz.Codepoint variation_selector, HarfBuzz.Set @out);
+               public void collect_variation_unicodes (HarfBuzz.Codepoint variation_selector, out unowned HarfBuzz.Set @out);
                [Version (since = "1.7.7")]
                public static uint count (HarfBuzz.Blob blob);
                [Version (since = "0.9.2")]
@@ -257,6 +297,7 @@ namespace HarfBuzz {
                public static HarfBuzz.Font create (HarfBuzz.Face face);
                [Version (since = "0.9.2")]
                public HarfBuzz.Font create_sub_font ();
+               public void draw_glyph (HarfBuzz.Codepoint glyph, HarfBuzz.DrawFuncs dfuncs, void* draw_data);
                [Version (since = "0.9.2")]
                public static HarfBuzz.Font get_empty ();
                [Version (since = "1.1.3")]
@@ -327,6 +368,7 @@ namespace HarfBuzz {
                public float get_var_coords_design (out uint length);
                [Version (since = "1.4.2")]
                public int get_var_coords_normalized (out uint length);
+               public uint get_var_named_instance ();
                [Version (since = "1.2.3")]
                public HarfBuzz.Bool get_variation_glyph (HarfBuzz.Codepoint unicode, HarfBuzz.Codepoint variation_selector, out HarfBuzz.Codepoint glyph);
                [Version (since = "0.9.2")]
@@ -337,6 +379,7 @@ namespace HarfBuzz {
                public HarfBuzz.Bool is_immutable ();
                [Version (since = "0.9.2")]
                public void make_immutable ();
+               public void paint_glyph (HarfBuzz.Codepoint glyph, HarfBuzz.PaintFuncs pfuncs, void* paint_data, uint palette_index, HarfBuzz.Color foreground);
                [Version (since = "1.4.3")]
                public void set_face (HarfBuzz.Face face);
                [Version (since = "0.9.2")]
@@ -376,6 +419,7 @@ namespace HarfBuzz {
                public HarfBuzz.Bool is_immutable ();
                [Version (since = "0.9.2")]
                public void make_immutable ();
+               public void set_draw_glyph_func (owned HarfBuzz.FontDrawGlyphFunc func);
                [Version (since = "1.1.2")]
                public void set_font_h_extents_func (owned HarfBuzz.FontGetFontHExtentsFunc func);
                [Version (since = "1.1.2")]
@@ -398,7 +442,7 @@ namespace HarfBuzz {
                public void set_glyph_h_origin_func (owned HarfBuzz.FontGetGlyphHOriginFunc func);
                [Version (since = "0.9.2")]
                public void set_glyph_name_func (owned HarfBuzz.FontGetGlyphNameFunc func);
-               [Version (since = "4.0.0")]
+               [Version (deprecated = true, since = "4.0.0")]
                public void set_glyph_shape_func (owned HarfBuzz.font_get_glyph_shape_func_t func);
                [Version (since = "0.9.2")]
                public void set_glyph_v_advance_func (owned HarfBuzz.FontGetGlyphVAdvanceFunc func);
@@ -412,6 +456,7 @@ namespace HarfBuzz {
                public void set_nominal_glyph_func (owned HarfBuzz.FontGetNominalGlyphFunc func);
                [Version (since = "2.0.0")]
                public void set_nominal_glyphs_func (owned HarfBuzz.FontGetNominalGlyphsFunc func);
+               public void set_paint_glyph_func (owned HarfBuzz.FontPaintGlyphFunc func);
                [Version (since = "1.2.3")]
                public void set_variation_glyph_func (owned HarfBuzz.FontGetVariantGlyphFunc func);
        }
@@ -475,8 +520,12 @@ namespace HarfBuzz {
                public HarfBuzz.Bool is_empty ();
                [Version (since = "4.3.0")]
                public HarfBuzz.Bool is_equal (HarfBuzz.Map other);
+               public void keys (HarfBuzz.Set keys);
+               public HarfBuzz.Bool next (ref int idx, out HarfBuzz.Codepoint key, out HarfBuzz.Codepoint value);
                [Version (since = "1.7.7")]
                public void @set (HarfBuzz.Codepoint key, HarfBuzz.Codepoint value);
+               public void update (HarfBuzz.Map other);
+               public void values (HarfBuzz.Set values);
        }
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_ot_math_glyph_part_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "hb_gobject_ot_math_glyph_part_", type_id = "hb_gobject_ot_math_glyph_part_get_type ()")]
        [Compact]
@@ -497,6 +546,58 @@ namespace HarfBuzz {
                public HarfBuzz.Position advance;
                public HarfBuzz.Codepoint glyph;
        }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_ot_var_axis_info_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "hb_gobject_ot_var_axis_info_", type_id = "hb_gobject_ot_var_axis_info_get_type ()")]
+       [Compact]
+       [GIR (name = "ot_var_axis_info_t")]
+       [Version (since = "2.2.0")]
+       public class OtVarAxisInfo {
+               public uint axis_index;
+               public float default_value;
+               public HarfBuzz.OtVarAxisFlags flags;
+               public float max_value;
+               public float min_value;
+               public HarfBuzz.OtNameId name_id;
+               public HarfBuzz.Tag tag;
+       }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_funcs_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "hb_gobject_paint_funcs_", type_id = "hb_gobject_paint_funcs_get_type ()")]
+       [Compact]
+       [GIR (name = "paint_funcs_t")]
+       public class PaintFuncs {
+               [CCode (cname = "hb_paint_funcs_create")]
+               public static HarfBuzz.PaintFuncs create ();
+               [CCode (cname = "hb_paint_funcs_get_empty")]
+               public static HarfBuzz.PaintFuncs get_empty ();
+               [CCode (cname = "hb_paint_funcs_is_immutable")]
+               public HarfBuzz.Bool is_immutable ();
+               [CCode (cname = "hb_paint_funcs_make_immutable")]
+               public void make_immutable ();
+               [CCode (cname = "hb_paint_funcs_set_color_func")]
+               public void set_color_func (owned HarfBuzz.PaintColorFunc func);
+               [CCode (cname = "hb_paint_funcs_set_custom_palette_color_func")]
+               public void set_custom_palette_color_func (owned HarfBuzz.PaintCustomPaletteColorFunc func);
+               [CCode (cname = "hb_paint_funcs_set_image_func")]
+               public void set_image_func (owned HarfBuzz.PaintImageFunc func);
+               [CCode (cname = "hb_paint_funcs_set_linear_gradient_func")]
+               public void set_linear_gradient_func (owned HarfBuzz.PaintLinearGradientFunc func);
+               [CCode (cname = "hb_paint_funcs_set_pop_clip_func")]
+               public void set_pop_clip_func (owned HarfBuzz.PaintPopClipFunc func);
+               [CCode (cname = "hb_paint_funcs_set_pop_group_func")]
+               public void set_pop_group_func (owned HarfBuzz.PaintPopGroupFunc func);
+               [CCode (cname = "hb_paint_funcs_set_pop_transform_func")]
+               public void set_pop_transform_func (owned HarfBuzz.PaintPopTransformFunc func);
+               [CCode (cname = "hb_paint_funcs_set_push_clip_glyph_func")]
+               public void set_push_clip_glyph_func (owned HarfBuzz.PaintPushClipGlyphFunc func);
+               [CCode (cname = "hb_paint_funcs_set_push_clip_rectangle_func")]
+               public void set_push_clip_rectangle_func (owned HarfBuzz.PaintPushRectangleFunc func);
+               [CCode (cname = "hb_paint_funcs_set_push_group_func")]
+               public void set_push_group_func (owned HarfBuzz.PaintPushGroupFunc func);
+               [CCode (cname = "hb_paint_funcs_set_push_transform_func")]
+               public void set_push_transform_func (owned HarfBuzz.PaintPushTransformFunc func);
+               [CCode (cname = "hb_paint_funcs_set_radial_gradient_func")]
+               public void set_radial_gradient_func (owned HarfBuzz.PaintRadialGradientFunc func);
+               [CCode (cname = "hb_paint_funcs_set_sweep_gradient_func")]
+               public void set_sweep_gradient_func (owned HarfBuzz.PaintSweepGradientFunc func);
+       }
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_segment_properties_t", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "hb_gobject_segment_properties_get_type ()")]
        [Compact]
        [GIR (name = "segment_properties_t")]
@@ -553,6 +654,7 @@ namespace HarfBuzz {
                public HarfBuzz.Bool is_empty ();
                [Version (since = "0.9.7")]
                public HarfBuzz.Bool is_equal (HarfBuzz.Set other);
+               public HarfBuzz.Bool is_inverted ();
                [Version (since = "1.8.1")]
                public HarfBuzz.Bool is_subset (HarfBuzz.Set larger_set);
                [Version (since = "0.9.2")]
@@ -727,18 +829,6 @@ namespace HarfBuzz {
                public float default_value;
                public float max_value;
        }
-       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_ot_var_axis_info_t", has_type_id = false)]
-       [GIR (name = "ot_var_axis_info_t")]
-       [Version (since = "2.2.0")]
-       public struct OtVarAxisInfo {
-               public uint axis_index;
-               public HarfBuzz.Tag tag;
-               public HarfBuzz.OtNameId name_id;
-               public HarfBuzz.OtVarAxisFlags flags;
-               public float min_value;
-               public float default_value;
-               public float max_value;
-       }
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_position_t")]
        [GIR (name = "position_t")]
        [SimpleType]
@@ -772,15 +862,6 @@ namespace HarfBuzz {
                public HarfBuzz.AatLayoutFeatureSelector disable;
        }
        [CCode (cheader_filename = "hb-gobject.h", has_type_id = false)]
-       [Version (since = "4.0.0")]
-       public struct draw_state_t {
-               public HarfBuzz.Bool path_open;
-               public float path_start_x;
-               public float path_start_y;
-               public float current_x;
-               public float current_y;
-       }
-       [CCode (cheader_filename = "hb-gobject.h", has_type_id = false)]
        [Version (since = "3.4.0")]
        public struct ot_math_kern_entry_t {
                public HarfBuzz.Position max_correction_height;
@@ -1371,6 +1452,36 @@ namespace HarfBuzz {
                UNDERLINE_SIZE,
                UNDERLINE_OFFSET
        }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_ot_name_id_predefined_t", cprefix = "HB_OT_NAME_ID_", type_id = "hb_gobject_ot_name_id_predefined_get_type ()")]
+       [GIR (name = "ot_name_id_predefined_t")]
+       public enum OtNameIdPredefined {
+               COPYRIGHT,
+               FONT_FAMILY,
+               FONT_SUBFAMILY,
+               UNIQUE_ID,
+               FULL_NAME,
+               VERSION_STRING,
+               POSTSCRIPT_NAME,
+               TRADEMARK,
+               MANUFACTURER,
+               DESIGNER,
+               DESCRIPTION,
+               VENDOR_URL,
+               DESIGNER_URL,
+               LICENSE,
+               LICENSE_URL,
+               TYPOGRAPHIC_FAMILY,
+               TYPOGRAPHIC_SUBFAMILY,
+               MAC_FULL_NAME,
+               SAMPLE_TEXT,
+               CID_FINDFONT_NAME,
+               WWS_FAMILY,
+               WWS_SUBFAMILY,
+               LIGHT_BACKGROUND,
+               DARK_BACKGROUND,
+               VARIATIONS_PS_PREFIX,
+               INVALID
+       }
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_ot_var_axis_flags_t", cprefix = "HB_OT_VAR_AXIS_FLAG_", type_id = "hb_gobject_ot_var_axis_flags_get_type ()")]
        [Flags]
        [GIR (name = "ot_var_axis_flags_t")]
@@ -1378,6 +1489,45 @@ namespace HarfBuzz {
        public enum OtVarAxisFlags {
                HIDDEN
        }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_composite_mode_t", cprefix = "HB_PAINT_COMPOSITE_MODE_", type_id = "hb_gobject_paint_composite_mode_get_type ()")]
+       [GIR (name = "paint_composite_mode_t")]
+       public enum PaintCompositeMode {
+               CLEAR,
+               SRC,
+               DEST,
+               SRC_OVER,
+               DEST_OVER,
+               SRC_IN,
+               DEST_IN,
+               SRC_OUT,
+               DEST_OUT,
+               SRC_ATOP,
+               DEST_ATOP,
+               XOR,
+               PLUS,
+               SCREEN,
+               OVERLAY,
+               DARKEN,
+               LIGHTEN,
+               COLOR_DODGE,
+               COLOR_BURN,
+               HARD_LIGHT,
+               SOFT_LIGHT,
+               DIFFERENCE,
+               EXCLUSION,
+               MULTIPLY,
+               HSL_HUE,
+               HSL_SATURATION,
+               HSL_COLOR,
+               HSL_LUMINOSITY
+       }
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_extend_t", cprefix = "HB_PAINT_EXTEND_", type_id = "hb_gobject_paint_extend_get_type ()")]
+       [GIR (name = "paint_extend_t")]
+       public enum PaintExtend {
+               PAD,
+               REPEAT,
+               REFLECT
+       }
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_script_t", cprefix = "HB_SCRIPT_", type_id = "hb_gobject_script_get_type ()")]
        [GIR (name = "script_t")]
        public enum Script {
@@ -1664,23 +1814,29 @@ namespace HarfBuzz {
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_buffer_message_func_t", instance_pos = 3.9)]
        [Version (since = "1.1.3")]
        public delegate HarfBuzz.Bool BufferMessageFunc (HarfBuzz.Buffer buffer, HarfBuzz.Font font, string message);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_color_line_get_color_stops_func_t", instance_pos = 4.9)]
+       public delegate uint ColorLineGetColorStopsFunc (HarfBuzz.ColorLine color_line, void* color_line_data, uint start, [CCode (array_length_cname = "count", array_length_pos = 3.5, array_length_type = "guint")] out unowned HarfBuzz.ColorStop[] color_stops);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_color_line_get_extend_func_t", instance_pos = 2.9)]
+       public delegate HarfBuzz.PaintExtend ColorLineGetExtendFunc (HarfBuzz.ColorLine color_line, void* color_line_data);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_destroy_func_t", instance_pos = 0.9)]
        public delegate void DestroyFunc ();
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_draw_close_path_func_t", instance_pos = 3.9)]
        [Version (since = "4.0.0")]
-       public delegate void DrawClosePathFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.draw_state_t st);
+       public delegate void DrawClosePathFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.DrawState st);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_draw_cubic_to_func_t", instance_pos = 9.9)]
        [Version (since = "4.0.0")]
-       public delegate void DrawCubicToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.draw_state_t st, float control1_x, float control1_y, float control2_x, float control2_y, float to_x, float to_y);
+       public delegate void DrawCubicToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.DrawState st, float control1_x, float control1_y, float control2_x, float control2_y, float to_x, float to_y);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_draw_line_to_func_t", instance_pos = 5.9)]
        [Version (since = "4.0.0")]
-       public delegate void DrawLineToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.draw_state_t st, float to_x, float to_y);
+       public delegate void DrawLineToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.DrawState st, float to_x, float to_y);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_draw_move_to_func_t", instance_pos = 5.9)]
        [Version (since = "4.0.0")]
-       public delegate void DrawMoveToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.draw_state_t st, float to_x, float to_y);
+       public delegate void DrawMoveToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.DrawState st, float to_x, float to_y);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_draw_quadratic_to_func_t", instance_pos = 7.9)]
        [Version (since = "4.0.0")]
-       public delegate void DrawQuadraticToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.draw_state_t st, float control_x, float control_y, float to_x, float to_y);
+       public delegate void DrawQuadraticToFunc (HarfBuzz.DrawFuncs dfuncs, void* draw_data, HarfBuzz.DrawState st, float control_x, float control_y, float to_x, float to_y);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_font_draw_glyph_func_t", instance_pos = 5.9)]
+       public delegate void FontDrawGlyphFunc (HarfBuzz.Font font, void* font_data, HarfBuzz.Codepoint glyph, HarfBuzz.DrawFuncs draw_funcs, void* draw_data);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_font_get_font_extents_func_t", instance_pos = 3.9)]
        public delegate HarfBuzz.Bool FontGetFontExtentsFunc (HarfBuzz.Font font, void* font_data, out HarfBuzz.FontExtents extents);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_font_get_font_extents_func_t", instance_pos = 3.9)]
@@ -1728,6 +1884,34 @@ namespace HarfBuzz {
        public delegate uint FontGetNominalGlyphsFunc (HarfBuzz.Font font, void* font_data, uint count, HarfBuzz.Codepoint first_unicode, uint unicode_stride, out HarfBuzz.Codepoint first_glyph, uint glyph_stride);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_font_get_variation_glyph_func_t", instance_pos = 5.9)]
        public delegate HarfBuzz.Bool FontGetVariantGlyphFunc (HarfBuzz.Font font, void* font_data, HarfBuzz.Codepoint unicode, HarfBuzz.Codepoint variation_selector, out HarfBuzz.Codepoint glyph);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_font_paint_glyph_func_t", instance_pos = 7.9)]
+       public delegate void FontPaintGlyphFunc (HarfBuzz.Font font, void* font_data, HarfBuzz.Codepoint glyph, HarfBuzz.PaintFuncs paint_funcs, void* paint_data, uint palette_index, HarfBuzz.Color foreground);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_color_func_t", instance_pos = 4.9)]
+       public delegate void PaintColorFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.Bool is_foreground, HarfBuzz.Color color);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_custom_palette_color_func_t", instance_pos = 4.9)]
+       public delegate HarfBuzz.Bool PaintCustomPaletteColorFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, uint color_index, out HarfBuzz.Color color);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_image_func_t", instance_pos = 8.9)]
+       public delegate HarfBuzz.Bool PaintImageFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.Blob image, uint width, uint height, HarfBuzz.Tag format, float slant, HarfBuzz.GlyphExtents? extents);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_linear_gradient_func_t", instance_pos = 9.9)]
+       public delegate void PaintLinearGradientFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.ColorLine color_line, float x0, float y0, float x1, float y1, float x2, float y2);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_pop_clip_func_t", instance_pos = 2.9)]
+       public delegate void PaintPopClipFunc (HarfBuzz.PaintFuncs funcs, void* paint_data);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_pop_group_func_t", instance_pos = 3.9)]
+       public delegate void PaintPopGroupFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.PaintCompositeMode mode);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_pop_transform_func_t", instance_pos = 2.9)]
+       public delegate void PaintPopTransformFunc (HarfBuzz.PaintFuncs funcs, void* paint_data);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_push_clip_glyph_func_t", instance_pos = 4.9)]
+       public delegate void PaintPushClipGlyphFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.Codepoint glyph, HarfBuzz.Font font);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_push_group_func_t", instance_pos = 2.9)]
+       public delegate void PaintPushGroupFunc (HarfBuzz.PaintFuncs funcs, void* paint_data);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_push_clip_rectangle_func_t", instance_pos = 6.9)]
+       public delegate void PaintPushRectangleFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, float xmin, float ymin, float xmax, float ymax);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_push_transform_func_t", instance_pos = 8.9)]
+       public delegate void PaintPushTransformFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, float xx, float yx, float xy, float yy, float dx, float dy);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_radial_gradient_func_t", instance_pos = 9.9)]
+       public delegate void PaintRadialGradientFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.ColorLine color_line, float x0, float y0, float r0, float x1, float y1, float r1);
+       [CCode (cheader_filename = "hb-gobject.h", cname = "hb_paint_sweep_gradient_func_t", instance_pos = 7.9)]
+       public delegate void PaintSweepGradientFunc (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.ColorLine color_line, float x0, float y0, float start_angle, float end_angle);
        [CCode (cheader_filename = "hb-gobject.h", cname = "hb_reference_table_func_t", instance_pos = 2.9)]
        [Version (since = "0.9.2")]
        public delegate HarfBuzz.Blob ReferenceTableFunc (HarfBuzz.Face face, HarfBuzz.Tag tag);
@@ -1750,7 +1934,7 @@ namespace HarfBuzz {
        [Version (deprecated = true, deprecated_since = "2.0.0")]
        public delegate uint UnicodedeComposeCompatibilityFunc (HarfBuzz.UnicodeFuncs ufuncs, HarfBuzz.Codepoint u, HarfBuzz.Codepoint decomposed);
        [CCode (cheader_filename = "hb-gobject.h", instance_pos = 5.9)]
-       [Version (since = "4.0.0")]
+       [Version (deprecated = true, since = "4.0.0")]
        public delegate void font_get_glyph_shape_func_t (HarfBuzz.Font font, void* font_data, HarfBuzz.Codepoint glyph, HarfBuzz.DrawFuncs draw_funcs, void* draw_data);
        [CCode (cheader_filename = "hb-gobject.h", cname = "HB_AAT_LAYOUT_NO_SELECTOR_INDEX")]
        public const int AAT_LAYOUT_NO_SELECTOR_INDEX;
@@ -1760,6 +1944,8 @@ namespace HarfBuzz {
        [CCode (cheader_filename = "hb-gobject.h", cname = "HB_FEATURE_GLOBAL_START")]
        [Version (since = "2.0.0")]
        public const int FEATURE_GLOBAL_START;
+       [CCode (cheader_filename = "hb-gobject.h", cname = "HB_FONT_NO_VAR_NAMED_INSTANCE")]
+       public const int FONT_NO_VAR_NAMED_INSTANCE;
        [CCode (cheader_filename = "hb-gobject.h", cname = "HB_MAP_VALUE_INVALID")]
        [Version (since = "1.7.7")]
        public const HarfBuzz.Codepoint MAP_VALUE_INVALID;
@@ -1810,6 +1996,10 @@ namespace HarfBuzz {
        [Version (since = "2.3.0")]
        public static HarfBuzz.Bool aat_layout_has_tracking (HarfBuzz.Face face);
        [CCode (cheader_filename = "hb-gobject.h")]
+       public static uint color_line_get_color_stops (HarfBuzz.ColorLine color_line, uint start, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "guint")] out unowned HarfBuzz.ColorStop[] color_stops);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static HarfBuzz.PaintExtend color_line_get_extend (HarfBuzz.ColorLine color_line);
+       [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "0.9.2")]
        public static HarfBuzz.Face ft_face_create ([CCode (destroy_notify_pos = 1.1)] FT.Face ft_face);
        [CCode (cheader_filename = "hb-gobject.h")]
@@ -1858,6 +2048,8 @@ namespace HarfBuzz {
        [Version (since = "2.1.0")]
        public static uint ot_color_glyph_get_layers (HarfBuzz.Face face, HarfBuzz.Codepoint glyph, uint start_offset, [CCode (array_length_cname = "layer_count", array_length_pos = 3.5, array_length_type = "guint")] out unowned HarfBuzz.OtColorLayer[]? layers);
        [CCode (cheader_filename = "hb-gobject.h")]
+       public static HarfBuzz.Bool ot_color_glyph_has_paint (HarfBuzz.Face face, HarfBuzz.Codepoint glyph);
+       [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "2.1.0")]
        public static HarfBuzz.Blob ot_color_glyph_reference_png (HarfBuzz.Font font, HarfBuzz.Codepoint glyph);
        [CCode (cheader_filename = "hb-gobject.h")]
@@ -1867,6 +2059,8 @@ namespace HarfBuzz {
        [Version (since = "2.1.0")]
        public static HarfBuzz.Bool ot_color_has_layers (HarfBuzz.Face face);
        [CCode (cheader_filename = "hb-gobject.h")]
+       public static HarfBuzz.Bool ot_color_has_paint (HarfBuzz.Face face);
+       [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "2.1.0")]
        public static HarfBuzz.Bool ot_color_has_palettes (HarfBuzz.Face face);
        [CCode (cheader_filename = "hb-gobject.h")]
@@ -1968,6 +2162,8 @@ namespace HarfBuzz {
        [Version (since = "2.0.0")]
        public static HarfBuzz.Bool ot_layout_script_select_language (HarfBuzz.Face face, HarfBuzz.Tag table_tag, uint script_index, uint language_count, HarfBuzz.Tag language_tags, out uint language_index);
        [CCode (cheader_filename = "hb-gobject.h")]
+       public static HarfBuzz.Bool ot_layout_script_select_language2 (HarfBuzz.Face face, HarfBuzz.Tag table_tag, uint script_index, uint language_count, HarfBuzz.Tag language_tags, out uint language_index, out HarfBuzz.Tag chosen_language);
+       [CCode (cheader_filename = "hb-gobject.h")]
        public static HarfBuzz.Bool ot_layout_table_choose_script (HarfBuzz.Face face, HarfBuzz.Tag table_tag, HarfBuzz.Tag script_tags, out uint script_index, out HarfBuzz.Tag chosen_script);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "1.4.0")]
@@ -2055,6 +2251,7 @@ namespace HarfBuzz {
        [Version (since = "0.9.7")]
        public static void ot_shape_plan_collect_lookups (HarfBuzz.ShapePlan shape_plan, HarfBuzz.Tag table_tag, out unowned HarfBuzz.Set lookup_indexes);
        [CCode (cheader_filename = "hb-gobject.h")]
+       [Version (deprecated = true, deprecated_since = "2.0.0", since = "0.6.0")]
        public static HarfBuzz.Tag ot_tag_from_language (HarfBuzz.Language language);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "0.9.2")]
@@ -2062,7 +2259,8 @@ namespace HarfBuzz {
        [CCode (cheader_filename = "hb-gobject.h")]
        public static HarfBuzz.Script ot_tag_to_script (HarfBuzz.Tag tag);
        [CCode (cheader_filename = "hb-gobject.h")]
-       public static void ot_tags_from_script (HarfBuzz.Script script, HarfBuzz.Tag script_tag_1, HarfBuzz.Tag script_tag_2);
+       [Version (deprecated = true, deprecated_since = "2.0.0", since = "0.6.0")]
+       public static void ot_tags_from_script (HarfBuzz.Script script, out HarfBuzz.Tag script_tag_1, out HarfBuzz.Tag script_tag_2);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "2.0.0")]
        public static void ot_tags_from_script_and_language (HarfBuzz.Script script, HarfBuzz.Language language, ref uint script_count, out HarfBuzz.Tag script_tags, ref uint language_count, out HarfBuzz.Tag language_tags);
@@ -2074,7 +2272,7 @@ namespace HarfBuzz {
        public static HarfBuzz.Bool ot_var_find_axis (HarfBuzz.Face face, HarfBuzz.Tag axis_tag, uint axis_index, out HarfBuzz.OtVarAxis axis_info);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "2.2.0")]
-       public static HarfBuzz.Bool ot_var_find_axis_info (HarfBuzz.Face face, HarfBuzz.Tag axis_tag, out HarfBuzz.OtVarAxisInfo axis_info);
+       public static HarfBuzz.Bool ot_var_find_axis_info (HarfBuzz.Face face, HarfBuzz.Tag axis_tag, out unowned HarfBuzz.OtVarAxisInfo axis_info);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (deprecated = true, deprecated_since = "2.2.0", since = "1.4.2")]
        public static uint ot_var_get_axes (HarfBuzz.Face face, uint start_offset, [CCode (array_length_cname = "axes_count", array_length_pos = 2.5, array_length_type = "guint")] out unowned HarfBuzz.OtVarAxis[] axes_array);
@@ -2106,6 +2304,32 @@ namespace HarfBuzz {
        [Version (since = "1.4.2")]
        public static void ot_var_normalize_variations (HarfBuzz.Face face, HarfBuzz.Variation variations, uint variations_length, [CCode (array_length_cname = "coords_length", array_length_pos = 4.1, array_length_type = "guint")] out int[] coords);
        [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_color (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.Bool is_foreground, HarfBuzz.Color color);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static HarfBuzz.Bool paint_custom_palette_color (HarfBuzz.PaintFuncs funcs, void* paint_data, uint color_index, out HarfBuzz.Color color);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_image (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.Blob image, uint width, uint height, HarfBuzz.Tag format, float slant, HarfBuzz.GlyphExtents? extents);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_linear_gradient (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.ColorLine color_line, float x0, float y0, float x1, float y1, float x2, float y2);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_pop_clip (HarfBuzz.PaintFuncs funcs, void* paint_data);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_pop_group (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.PaintCompositeMode mode);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_pop_transform (HarfBuzz.PaintFuncs funcs, void* paint_data);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_push_clip_glyph (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.Codepoint glyph, HarfBuzz.Font font);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_push_clip_rectangle (HarfBuzz.PaintFuncs funcs, void* paint_data, float xmin, float ymin, float xmax, float ymax);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_push_group (HarfBuzz.PaintFuncs funcs, void* paint_data);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_push_transform (HarfBuzz.PaintFuncs funcs, void* paint_data, float xx, float yx, float xy, float yy, float dx, float dy);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_radial_gradient (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.ColorLine color_line, float x0, float y0, float r0, float x1, float y1, float r1);
+       [CCode (cheader_filename = "hb-gobject.h")]
+       public static void paint_sweep_gradient (HarfBuzz.PaintFuncs funcs, void* paint_data, HarfBuzz.ColorLine color_line, float x0, float y0, float start_angle, float end_angle);
+       [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "0.9.2")]
        public static void shape (HarfBuzz.Font font, HarfBuzz.Buffer buffer, [CCode (array_length_cname = "num_features", array_length_pos = 3.1, array_length_type = "guint")] HarfBuzz.Feature[]? features);
        [CCode (cheader_filename = "hb-gobject.h")]
index 122fbf949780679829c266555770e6a2dc11b854..8fc34ef8dab06051b28ba5d2f85c43a9c935af28 100644 (file)
@@ -11,10 +11,10 @@ namespace Notify {
                public void clear_hints ();
                public bool close () throws GLib.Error;
                [Version (since = "0.7.10")]
-               public unowned string get_activation_token ();
+               public unowned string? get_activation_token ();
                public int get_closed_reason ();
                [Version (since = "0.7.3")]
-               public void set_app_name (string app_name);
+               public void set_app_name (string? app_name);
                public void set_category (string category);
                [Version (since = "0.6")]
                public void set_hint (string key, GLib.Variant? value);
@@ -30,14 +30,16 @@ namespace Notify {
                public void set_hint_string (string key, string value);
                [Version (deprecated = true, deprecated_since = "0.6.")]
                public void set_hint_uint32 (string key, uint value);
-               [Version (deprecated = true)]
+               [Version (deprecated = true, deprecated_since = "0.5.")]
                public void set_icon_from_pixbuf (Gdk.Pixbuf icon);
+               [Version (since = "0.5")]
                public void set_image_from_pixbuf (Gdk.Pixbuf pixbuf);
                public void set_timeout (int timeout);
                public void set_urgency (Notify.Urgency urgency);
                public bool show () throws GLib.Error;
                public bool update (string summary, string? body, string? icon);
                [NoAccessorMethod]
+               [Version (since = "0.7.3")]
                public string app_name { owned get; set; }
                [NoAccessorMethod]
                public string body { owned get; set construct; }
index cbdbefe111def1561768c9b6f5d196a27c8beed9..0f6c5da1f346a717aa712ed036436dcdf7e962ea 100644 (file)
@@ -54,7 +54,7 @@ namespace Peas {
                public Peas.PluginInfo plugin_info { get; construct; }
        }
        [CCode (cheader_filename = "libpeas/peas.h", type_id = "peas_extension_set_get_type ()")]
-       public class ExtensionSet : GLib.Object {
+       public class ExtensionSet : GLib.Object, GLib.ListModel {
                [CCode (has_construct_function = false)]
                public ExtensionSet (Peas.Engine? engine, GLib.Type exten_type, ...);
                [NoWrapper]
index ab5f79174c48d6bd2115c0aa169eaedb0a5816b5..e6620b24c24072735644a4e62b1bc1cf7343c4d3 100644 (file)
@@ -289,6 +289,8 @@ namespace Soup {
                public uint64 get_connection_id ();
                public unowned GLib.Uri get_first_party ();
                public Soup.MessageFlags get_flags ();
+               [Version (since = "3.4")]
+               public bool get_force_http1 ();
                public Soup.HTTPVersion get_http_version ();
                public bool get_is_options_ping ();
                public bool get_is_top_level_navigation ();
@@ -314,6 +316,8 @@ namespace Soup {
                public void remove_flags (Soup.MessageFlags flags);
                public void set_first_party (GLib.Uri first_party);
                public void set_flags (Soup.MessageFlags flags);
+               [Version (since = "3.4")]
+               public void set_force_http1 (bool value);
                public void set_is_options_ping (bool is_options_ping);
                public void set_is_top_level_navigation (bool is_top_level_navigation);
                public void set_method (string method);
@@ -348,6 +352,8 @@ namespace Soup {
                public signal void content_sniffed (string type, GLib.HashTable<string,string> @params);
                public signal void finished ();
                public signal void got_body ();
+               [Version (since = "3.4")]
+               public signal void got_body_data (uint chunk_size);
                public signal void got_headers ();
                public signal void got_informational ();
                public signal void hsts_enforced ();
@@ -444,7 +450,7 @@ namespace Soup {
        public class Multipart {
                [CCode (has_construct_function = false)]
                public Multipart (string mime_type);
-               public void append_form_file (string control_name, string filename, string content_type, GLib.Bytes body);
+               public void append_form_file (string control_name, string? filename, string? content_type, GLib.Bytes body);
                public void append_form_string (string control_name, string data);
                public void append_part (Soup.MessageHeaders headers, GLib.Bytes body);
                public void free ();
@@ -584,6 +590,10 @@ namespace Soup {
                public GLib.InputStream send (Soup.Message msg, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public GLib.Bytes send_and_read (Soup.Message msg, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async GLib.Bytes send_and_read_async (Soup.Message msg, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
+               [Version (since = "3.4")]
+               public ssize_t send_and_splice (Soup.Message msg, GLib.OutputStream out_stream, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               [Version (since = "3.4")]
+               public async ssize_t send_and_splice_async (Soup.Message msg, GLib.OutputStream out_stream, GLib.OutputStreamSpliceFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
                public async GLib.InputStream send_async (Soup.Message msg, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
                public void set_accept_language (string accept_language);
                public void set_accept_language_auto (bool accept_language_auto);
index 4f94b80e0cdaac205a526a188ee3ab15bb369dab..32ebf0b8e962a0f0b751c976292758326dc1ac00 100644 (file)
@@ -188,6 +188,8 @@ namespace Wnck {
                public bool get_scroll_enabled ();
                [Version (deprecated = true, deprecated_since = "3.42")]
                public int get_size_hint_list (int n_elements);
+               [Version (since = "43.1")]
+               public bool get_tooltips_enabled ();
                [Version (since = "2.12")]
                public void set_button_relief (Gtk.ReliefStyle relief);
                public void set_grouping (Wnck.TasklistGroupingType grouping);
@@ -200,10 +202,13 @@ namespace Wnck {
                [Version (since = "3.24.0")]
                public void set_scroll_enabled (bool scroll_enabled);
                public void set_switch_workspace_on_unminimize (bool switch_workspace_on_unminimize);
+               [Version (since = "43.1")]
+               public void set_tooltips_enabled (bool tooltips_enabled);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public Tasklist.with_handle (Wnck.Handle handle);
                [NoAccessorMethod]
                public Wnck.Handle handle { owned get; construct; }
+               public bool tooltips_enabled { get; set; }
                public signal void task_enter_notify ([CCode (type = "gpointer")] GLib.List<weak Wnck.Window> windows);
                public signal void task_leave_notify ([CCode (type = "gpointer")] GLib.List<weak Wnck.Window> windows);
        }
index dec0bbac2dbf8903a4e1d1aa6078f80616ee192a..e2a506445bf56b3c2da5a9c7754668947de198ef 100644 (file)
@@ -6,7 +6,10 @@ LANGUAGE_INVALID skip
 // classes
 buffer_t name="Buffer" lower_case_cprefix="hb_buffer_"
 blob_t name="Blob" lower_case_cprefix="hb_blob_"
+color_line_t name="ColorLine" lower_case_cprefix="hb_color_line_"
+color_stop_t name="ColorStop" lower_case_cprefix="hb_color_stop_"
 draw_funcs_t name="DrawFuncs"
+draw_state_t name="DrawState" lower_case_cprefix="hb_draw_state_"
 face_t name="Face" lower_case_cprefix="hb_face_"
 feature_t name="Feature" lower_case_cprefix="hb_feature_"
 font_funcs_t name="FontFuncs" lower_case_cprefix="hb_font_funcs_"
@@ -17,6 +20,7 @@ language_t name="Language"
 map_t name="Map" lower_case_cprefix="hb_map_"
 ot_math_glyph_part_t name="OtMathGlypthPart"
 ot_math_glyph_variant_t name="OtMathGlypthVariant"
+paint_funcs_t name="PaintFuncs"
 segment_properties_t name="SegmentProperties" lower_case_cprefix="hb_segment_properties_"
 set_t name="Set" lower_case_cprefix="hb_set_"
 shape_plan_t name="ShapePlan" lower_case_cprefix="hb_shape_plan_"
@@ -43,11 +47,14 @@ variation_t name="Variation"
 // delegates
 buffer_message_func_t name="BufferMessageFunc"
 destroy_func_t name="DestroyFunc"
+color_line_get_color_stops_func_t name="ColorLineGetColorStopsFunc"
+color_line_get_extend_func_t name="ColorLineGetExtendFunc"
 draw_close_path_func_t name="DrawClosePathFunc"
 draw_cubic_to_func_t name="DrawCubicToFunc"
 draw_line_to_func_t name="DrawLineToFunc"
 draw_move_to_func_t name="DrawMoveToFunc"
 draw_quadratic_to_func_t name="DrawQuadraticToFunc"
+font_draw_glyph_func_t name="FontDrawGlyphFunc"
 font_get_font_extents_func_t name="FontGetFontExtentsFunc"
 font_get_font_h_extents_func_t name="FontGetFontHExtentsFunc"
 font_get_font_v_extents_func_t name="FontGetFontVExtentsFunc"
@@ -71,7 +78,21 @@ font_get_glyph_v_origin_func_t name="FontGetGlyphVOriginFunc"
 font_get_nominal_glyph_func_t name="FontGetNominalGlyphFunc"
 font_get_nominal_glyphs_func_t name="FontGetNominalGlyphsFunc"
 font_get_variation_glyph_func_t name="FontGetVariantGlyphFunc"
+font_paint_glyph_func_t name="FontPaintGlyphFunc"
 reference_table_func_t name="ReferenceTableFunc"
+paint_color_func_t name="PaintColorFunc"
+paint_custom_palette_color_func_t name="PaintCustomPaletteColorFunc"
+paint_image_func_t name="PaintImageFunc"
+paint_linear_gradient_func_t name="PaintLinearGradientFunc"
+paint_pop_clip_func_t name="PaintPopClipFunc"
+paint_pop_group_func_t name="PaintPopGroupFunc"
+paint_pop_transform_func_t name="PaintPopTransformFunc"
+paint_push_clip_glyph_func_t name="PaintPushClipGlyphFunc"
+paint_push_clip_rectangle_func_t name="PaintPushRectangleFunc"
+paint_push_group_func_t name="PaintPushGroupFunc"
+paint_push_transform_func_t name="PaintPushTransformFunc"
+paint_radial_gradient_func_t name="PaintRadialGradientFunc"
+paint_sweep_gradient_func_t name="PaintSweepGradientFunc"
 unicode_combining_class_func_t name="UnicodeCombiningClassFunc"
 unicode_compose_func_t name="UnicodeComposeFunc"
 unicode_decompose_compatibility_func_t name="UnicodedeComposeCompatibilityFunc"
@@ -101,7 +122,10 @@ ot_math_glyph_part_flags_t name="OtMathGlyphPartFlags"
 ot_math_kern_t name="OtMathKern"
 ot_meta_tag_t name="OtMetaTag"
 ot_metrics_tag_t name="OtMetricsTag"
+ot_name_id_predefined_t name="OtNameIdPredefined"
 ot_var_axis_flags_t name="OtVarAxisFlags"
+paint_composite_mode_t name="PaintCompositeMode"
+paint_extend_t name="PaintExtend"
 script_t name="Script"
 unicode_combining_class_t name="UnicodeCombiningClass"
 unicode_general_category_t name="UnicodeGeneralCategory"
@@ -120,6 +144,7 @@ feature_*#function name="feature_(.+)" parent="HarfBuzz.Feature"
 font_*#function name="font_(.+)" parent="HarfBuzz.Font"
 font_funcs_*#function name="font_funcs_(.+)" parent="HarfBuzz.FontFuncs"
 map_*#function name="map_(.+)" parent="HarfBuzz.Map"
+paint_funcs_*#function name="paint_funcs_(.+)" parent="HarfBuzz.PaintFuncs"
 set_*#function name="set_(.+)" parent="HarfBuzz.Set"
 segment_properties_*#function name="segment_properties_(.+)" parent="HarfBuzz.SegmentProperties"
 shape_plan_*#function name="shape_plan_(.+)" parent="HarfBuzz.ShapePlan"
index 99f3d0de26d8ba21ca2a293fa358471703e1a0e2..4b247c2baafbb948dcf7e93c0066e3968e109368 100644 (file)
@@ -1,6 +1,8 @@
 * skip=false
 *.* skip=false
 
+AnnotStamp
+  .set_custom_image.image type="Cairo.Surface"
 Page
   .get_bounding_box.rect out
   .get_image type="Cairo.Surface"
index 630c486c4177cc1a9a6e07d6a7f2250ac53643cd..15f3de58df77e876b910fb213e478d028554000f 100644 (file)
@@ -738,6 +738,8 @@ namespace Pk {
                public uint get_remaining_time ();
                [Version (since = "1.0.12")]
                public Pk.Role get_role ();
+               [Version (since = "1.2.6")]
+               public string get_sender ();
                [Version (since = "1.0.12")]
                public uint get_speed ();
                [Version (since = "1.0.12")]
@@ -768,6 +770,8 @@ namespace Pk {
                public bool set_remaining_time (uint remaining_time);
                [Version (since = "0.5.2")]
                public bool set_role (Pk.Role role);
+               [Version (since = "1.2.6")]
+               public bool set_sender (string bus_name);
                [Version (since = "0.5.2")]
                public bool set_speed (uint speed);
                [Version (since = "0.5.2")]
@@ -798,6 +802,8 @@ namespace Pk {
                public uint remaining_time { get; set; }
                [Version (since = "0.5.2")]
                public uint role { get; set; }
+               [Version (since = "1.2.6")]
+               public string sender { owned get; set; }
                [Version (since = "0.5.2")]
                public uint speed { get; set; }
                [Version (since = "0.5.2")]
@@ -1654,7 +1660,8 @@ namespace Pk {
                PACKAGE,
                ITEM_PROGRESS,
                TRANSACTION_FLAGS,
-               INVALID
+               INVALID,
+               SENDER
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkRestartEnum", cprefix = "PK_RESTART_ENUM_", type_id = "pk_restart_enum_get_type ()")]
        [GIR (name = "RestartEnum")]
index 13ae5ac7da65c876ecbde0233d298710a451a620..2c4c2b3da9c7e5fd8d4c6941987678049a223318 100644 (file)
@@ -462,8 +462,9 @@ namespace Pango {
                public static unowned Pango.Language? from_string (string? language);
                [Version (since = "1.16")]
                public static unowned Pango.Language get_default ();
+               [CCode (array_length = false, array_null_terminated = true)]
                [Version (since = "1.48")]
-               public static unowned Pango.Language? get_preferred ();
+               public static unowned Pango.Language[]? get_preferred ();
                public unowned string get_sample_string ();
                [CCode (array_length_pos = 0.1)]
                [Version (since = "1.22")]
@@ -1423,9 +1424,9 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        [Version (replacement = "Language.get_default", since = "1.16")]
        public static unowned Pango.Language language_get_default ();
-       [CCode (cheader_filename = "pango/pango.h")]
+       [CCode (array_length = false, array_null_terminated = true, cheader_filename = "pango/pango.h")]
        [Version (replacement = "Language.get_preferred", since = "1.48")]
-       public static unowned Pango.Language? language_get_preferred ();
+       public static unowned Pango.Language[]? language_get_preferred ();
        [CCode (cheader_filename = "pango/pango.h")]
        [Version (replacement = "LayoutDeserializeError.quark")]
        public static GLib.Quark layout_deserialize_error_quark ();
index 25201ac1c749d7d5f2ad3e482270dc96ddace157..440282f56b1e373b208d36bbd140fbdf20ead0e4 100644 (file)
@@ -174,6 +174,18 @@ namespace Poppler {
                [Version (since = "0.26")]
                public void set_interior_color (Poppler.Color? poppler_color);
        }
+       [CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_stamp_get_type ()")]
+       public class AnnotStamp : Poppler.Annot {
+               [CCode (has_construct_function = false, type = "PopplerAnnot*")]
+               [Version (since = "22.07.0")]
+               public AnnotStamp (Poppler.Document doc, Poppler.Rectangle rect);
+               [Version (since = "22.07.0")]
+               public Poppler.AnnotStampIcon get_icon ();
+               [Version (since = "22.07.0")]
+               public bool set_custom_image ([CCode (type = "cairo_surface_t*")] Cairo.Surface image) throws GLib.Error;
+               [Version (since = "22.07.0")]
+               public void set_icon (Poppler.AnnotStampIcon icon);
+       }
        [CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_text_get_type ()")]
        public class AnnotText : Poppler.AnnotMarkup {
                [CCode (has_construct_function = false, type = "PopplerAnnot*")]
@@ -232,6 +244,8 @@ namespace Poppler {
                public size_t get_size ();
                public bool save (string filename) throws GLib.Error;
                public bool save_to_callback (Poppler.AttachmentSaveFunc save_func) throws GLib.Error;
+               [Version (since = "21.12.0")]
+               public bool save_to_fd (int fd) throws GLib.Error;
        }
        [CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_color_get_type ()")]
        [Compact]
@@ -272,8 +286,12 @@ namespace Poppler {
                [Version (since = "0.82")]
                public Document.from_bytes (GLib.Bytes bytes, string? password) throws GLib.Error;
                [CCode (has_construct_function = false)]
+               [Version (deprecated = true, deprecated_since = "0.82")]
                public Document.from_data ([CCode (array_length_cname = "length", array_length_pos = 1.5)] uint8[] data, string? password) throws GLib.Error;
                [CCode (has_construct_function = false)]
+               [Version (since = "21.12.0")]
+               public Document.from_fd (int fd, string? password) throws GLib.Error;
+               [CCode (has_construct_function = false)]
                public Document.from_file (string uri, string? password) throws GLib.Error;
                [CCode (has_construct_function = false)]
                [Version (since = "0.22")]
@@ -304,6 +322,8 @@ namespace Poppler {
                [Version (since = "0.18")]
                public uint get_n_attachments ();
                public int get_n_pages ();
+               [Version (since = "21.12.0")]
+               public int get_n_signatures ();
                public Poppler.Page get_page (int index);
                public Poppler.Page get_page_by_label (string label);
                [Version (since = "0.16")]
@@ -335,6 +355,8 @@ namespace Poppler {
                public Poppler.PrintScaling get_print_scaling ();
                [Version (since = "0.16")]
                public string get_producer ();
+               [Version (since = "22.02.0")]
+               public GLib.List<Poppler.FormField> get_signature_fields ();
                [Version (since = "0.16")]
                public string get_subject ();
                [Version (since = "0.16")]
@@ -345,9 +367,11 @@ namespace Poppler {
                [Version (since = "0.16")]
                public bool is_linearized ();
                [Version (since = "0.90")]
-               public void reset_form (GLib.List<string> fields, bool exclude_fields);
+               public void reset_form (GLib.List<string>? fields, bool exclude_fields);
                public bool save (string uri) throws GLib.Error;
                public bool save_a_copy (string uri) throws GLib.Error;
+               [Version (since = "21.12.0")]
+               public bool save_to_fd (int fd, bool include_changes) throws GLib.Error;
                [Version (since = "0.46")]
                public void set_author (string author);
                [Version (since = "0.46")]
@@ -474,6 +498,10 @@ namespace Poppler {
                [Version (since = "0.16")]
                public string get_partial_name ();
                public bool is_read_only ();
+               [Version (since = "21.12.0")]
+               public async Poppler.SignatureInfo signature_validate_async (Poppler.SignatureValidationFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
+               [Version (since = "21.12.0")]
+               public Poppler.SignatureInfo signature_validate_sync (Poppler.SignatureValidationFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public bool text_do_scroll ();
                public bool text_do_spell_check ();
                public int text_get_max_len ();
@@ -564,16 +592,24 @@ namespace Poppler {
        public class Media : GLib.Object {
                [CCode (has_construct_function = false)]
                protected Media ();
+               [Version (since = "20.04.0")]
+               public bool get_auto_play ();
                [Version (since = "0.14")]
                public unowned string get_filename ();
                [Version (since = "0.14")]
                public unowned string get_mime_type ();
+               [Version (since = "20.04.0")]
+               public float get_repeat_count ();
+               [Version (since = "20.04.0")]
+               public bool get_show_controls ();
                [Version (since = "0.14")]
                public bool is_embedded ();
                [Version (since = "0.14")]
                public bool save (string filename) throws GLib.Error;
                [Version (since = "0.14")]
                public bool save_to_callback (Poppler.MediaSaveFunc save_func) throws GLib.Error;
+               [Version (since = "21.12.0")]
+               public bool save_to_fd (int fd) throws GLib.Error;
        }
        [CCode (cheader_filename = "poppler.h", type_id = "poppler_movie_get_type ()")]
        public class Movie : GLib.Object {
@@ -606,6 +642,9 @@ namespace Poppler {
        public class PSFile : GLib.Object {
                [CCode (has_construct_function = false)]
                public PSFile (Poppler.Document document, string filename, int first_page, int n_pages);
+               [CCode (has_construct_function = false)]
+               [Version (since = "21.12.0")]
+               public PSFile.fd (Poppler.Document document, int fd, int first_page, int n_pages);
                public void free ();
                public void set_duplex (bool duplex);
                public void set_paper_size (double width, double height);
@@ -714,6 +753,17 @@ namespace Poppler {
                [Version (since = "0.26")]
                public void free ();
        }
+       [CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_signature_info_get_type ()")]
+       [Compact]
+       [Version (since = "21.12.0")]
+       public class SignatureInfo {
+               public Poppler.SignatureInfo copy ();
+               public void free ();
+               public Poppler.CertificateStatus get_certificate_status ();
+               public unowned GLib.DateTime get_local_signing_time ();
+               public Poppler.SignatureStatus get_signature_status ();
+               public unowned string get_signer_name ();
+       }
        [CCode (cheader_filename = "poppler.h", type_id = "poppler_structure_element_get_type ()")]
        public class StructureElement : GLib.Object {
                [CCode (has_construct_function = false)]
@@ -904,6 +954,7 @@ namespace Poppler {
                public Poppler.Dest dest;
        }
        [CCode (cheader_filename = "poppler.h", has_type_id = false)]
+       [Version (since = "0.18")]
        public struct ActionJavascript {
                public Poppler.ActionType type;
                public string title;
@@ -922,6 +973,7 @@ namespace Poppler {
                public weak GLib.List<Poppler.ActionLayer?> layers;
        }
        [CCode (cheader_filename = "poppler.h", has_type_id = false)]
+       [Version (since = "0.14")]
        public struct ActionMovie {
                public Poppler.ActionType type;
                public string title;
@@ -935,12 +987,14 @@ namespace Poppler {
                public string named_dest;
        }
        [CCode (cheader_filename = "poppler.h", has_type_id = false)]
+       [Version (since = "0.14")]
        public struct ActionOCGState {
                public Poppler.ActionType type;
                public string title;
                public GLib.List<Poppler.ActionLayer?> state_list;
        }
        [CCode (cheader_filename = "poppler.h", has_type_id = false)]
+       [Version (since = "0.14")]
        public struct ActionRendition {
                public Poppler.ActionType type;
                public string title;
@@ -948,6 +1002,7 @@ namespace Poppler {
                public Poppler.Media media;
        }
        [CCode (cheader_filename = "poppler.h", has_type_id = false)]
+       [Version (since = "0.90")]
        public struct ActionResetForm {
                public Poppler.ActionType type;
                public string title;
@@ -975,6 +1030,10 @@ namespace Poppler {
                [CCode (has_construct_function = false, type = "PopplerRectangle*")]
                public Rectangle ();
                public Poppler.Rectangle? copy ();
+               [Version (since = "21.05.0")]
+               public bool find_get_ignored_hyphen ();
+               [Version (since = "21.05.0")]
+               public bool find_get_match_continued ();
                public void free ();
        }
        [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ACTION_LAYER_", type_id = "poppler_action_layer_action_get_type ()")]
@@ -1046,6 +1105,24 @@ namespace Poppler {
                R,
                GROUP
        }
+       [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_STAMP_ICON_", type_id = "poppler_annot_stamp_icon_get_type ()")]
+       public enum AnnotStampIcon {
+               UNKNOWN,
+               APPROVED,
+               AS_IS,
+               CONFIDENTIAL,
+               FINAL,
+               EXPERIMENTAL,
+               EXPIRED,
+               NOT_APPROVED,
+               NOT_FOR_PUBLIC_RELEASE,
+               SOLD,
+               DEPARTMENTAL,
+               FOR_COMMENT,
+               FOR_PUBLIC_RELEASE,
+               TOP_SECRET,
+               NONE
+       }
        [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_TEXT_STATE_", type_id = "poppler_annot_text_state_get_type ()")]
        public enum AnnotTextState {
                MARKED,
@@ -1092,6 +1169,17 @@ namespace Poppler {
                SPLASH,
                CAIRO
        }
+       [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_CERTIFICATE_", type_id = "poppler_certificate_status_get_type ()")]
+       [Version (since = "21.12.0")]
+       public enum CertificateStatus {
+               TRUSTED,
+               UNTRUSTED_ISSUER,
+               UNKNOWN_ISSUER,
+               REVOKED,
+               EXPIRED,
+               GENERIC_ERROR,
+               NOT_VERIFIED
+       }
        [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_DEST_", type_id = "poppler_dest_type_get_type ()")]
        public enum DestType {
                UNKNOWN,
@@ -1113,7 +1201,8 @@ namespace Poppler {
                CASE_SENSITIVE,
                BACKWARDS,
                WHOLE_WORDS_ONLY,
-               IGNORE_DIACRITICS
+               IGNORE_DIACRITICS,
+               MULTILINE
        }
        [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FONT_TYPE_", type_id = "poppler_font_type_get_type ()")]
        public enum FontType {
@@ -1298,6 +1387,25 @@ namespace Poppler {
                WORD,
                LINE
        }
+       [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_SIGNATURE_", type_id = "poppler_signature_status_get_type ()")]
+       [Version (since = "21.12.0")]
+       public enum SignatureStatus {
+               VALID,
+               INVALID,
+               DIGEST_MISMATCH,
+               DECODING_ERROR,
+               GENERIC_ERROR,
+               NOT_FOUND,
+               NOT_VERIFIED
+       }
+       [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_SIGNATURE_VALIDATION_FLAG_", type_id = "poppler_signature_validation_flags_get_type ()")]
+       [Flags]
+       [Version (since = "21.12.0")]
+       public enum SignatureValidationFlags {
+               VALIDATE_CERTIFICATE,
+               WITHOUT_OCSP_REVOCATION_CHECK,
+               USE_AIA_CERTIFICATE_FETCH
+       }
        [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_STRUCTURE_BLOCK_ALIGN_", type_id = "poppler_structure_block_align_get_type ()")]
        public enum StructureBlockAlign {
                BEFORE,