Commit a250b463 authored by Evan Nemerson's avatar Evan Nemerson
Browse files

bindings: update GIR-based bindings.

parent d82ee6d9
......@@ -4792,7 +4792,7 @@ namespace Gdk {
public class Keymap : GLib.Object {
[CCode (has_construct_function = false)]
protected Keymap ();
public void add_virtual_modifiers (out Gdk.ModifierType state);
public void add_virtual_modifiers (ref Gdk.ModifierType state);
public bool get_caps_lock_state ();
public static unowned Gdk.Keymap get_default ();
public Pango.Direction get_direction ();
......@@ -4804,7 +4804,7 @@ namespace Gdk {
public bool get_num_lock_state ();
public bool have_bidi_layouts ();
public uint lookup_key (Gdk.KeymapKey key);
public bool map_virtual_modifiers (out Gdk.ModifierType state);
public bool map_virtual_modifiers (ref Gdk.ModifierType state);
public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, out uint keyval, out int effective_group, out int level, out Gdk.ModifierType consumed_modifiers);
public signal void direction_changed ();
public signal void keys_changed ();
......
......@@ -34,10 +34,14 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static string get_description (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static string get_generic_icon_name (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Icon get_icon (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static string? get_mime_type (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Icon get_symbolic_icon (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static string guess (string? filename, [CCode (array_length_cname = "data_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[]? data, out bool result_uncertain);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
public static string[] guess_for_tree (GLib.File root);
......@@ -177,6 +181,8 @@ namespace GLib {
public const string STANDARD_SIZE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER")]
public const string STANDARD_SORT_ORDER;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON")]
public const string STANDARD_SYMBOLIC_ICON;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET")]
public const string STANDARD_SYMLINK_TARGET;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_TARGET_URI")]
......@@ -467,9 +473,9 @@ namespace GLib {
protected DBusConnection ();
public uint add_filter (owned GLib.DBusMessageFilterFunction filter_function);
public async GLib.Variant call (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_sync (string bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_sync (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GLib.Variant call_with_unix_fd_list (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, GLib.Cancellable? cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
public GLib.Variant call_with_unix_fd_list_sync (string bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, out GLib.UnixFDList? out_fd_list = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_with_unix_fd_list_sync (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, out GLib.UnixFDList? out_fd_list = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool close_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool emit_signal (string? destination_bus_name, string object_path, string interface_name, string signal_name, GLib.Variant? parameters) throws GLib.Error;
......@@ -1015,6 +1021,7 @@ namespace GLib {
public unowned string get_name ();
public int64 get_size ();
public int32 get_sort_order ();
public unowned GLib.Icon get_symbolic_icon ();
public unowned string get_symlink_target ();
public bool has_attribute (string attribute);
public bool has_namespace (string name_space);
......@@ -1044,6 +1051,7 @@ namespace GLib {
public void set_name (string name);
public void set_size (int64 size);
public void set_sort_order (int32 sort_order);
public void set_symbolic_icon (GLib.Icon icon);
public void set_symlink_target (string symlink_target);
public void unset_attribute_mask ();
}
......@@ -1382,6 +1390,10 @@ namespace GLib {
[CCode (has_construct_function = false)]
public MenuItem (string? label, string? detailed_action);
[CCode (has_construct_function = false)]
public MenuItem.from_model (GLib.MenuModel model, int item_index);
public GLib.Variant get_attribute_value (string attribute, GLib.VariantType expected_value);
public GLib.MenuModel get_link (string link);
[CCode (has_construct_function = false)]
public MenuItem.section (string? label, GLib.MenuModel section);
public void set_action_and_target (string? action, string? format_string, ...);
public void set_action_and_target_value (string? action, GLib.Variant? target_value);
......@@ -1450,7 +1462,7 @@ namespace GLib {
[HasEmitter]
public virtual signal void reply (GLib.MountOperationResult result);
public virtual signal void show_processes (string message, GLib.Array<GLib.Pid> processes, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
public virtual signal void show_unmount_progress (string message, uint64 time_left, uint64 bytes_left);
public virtual signal void show_unmount_progress (string message, int64 time_left, int64 bytes_left);
}
[CCode (cheader_filename = "gio/gio.h")]
public abstract class NativeVolumeMonitor : GLib.VolumeMonitor {
......@@ -2355,6 +2367,7 @@ namespace GLib {
public abstract string get_name ();
public virtual unowned string get_sort_key ();
public abstract GLib.DriveStartStopType get_start_stop_type ();
public abstract GLib.Icon get_symbolic_icon ();
public abstract GLib.List<GLib.Volume> get_volumes ();
public abstract bool has_media ();
public abstract bool has_volumes ();
......@@ -2381,9 +2394,8 @@ namespace GLib {
public abstract async GLib.FileIOStream create_readwrite_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (vfunc_name = "delete_file")]
public abstract bool @delete (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool delete_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoWrapper]
public abstract async bool delete_file_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (vfunc_name = "delete_file_async")]
public abstract async bool delete_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.File dup ();
[Deprecated (since = "2.22")]
public abstract async bool eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
......@@ -2509,6 +2521,7 @@ namespace GLib {
public abstract string get_name ();
public abstract GLib.File get_root ();
public virtual unowned string get_sort_key ();
public abstract GLib.Icon get_symbolic_icon ();
public abstract string get_uuid ();
public abstract GLib.Volume get_volume ();
[CCode (array_length = false, array_null_terminated = true)]
......@@ -2644,6 +2657,7 @@ namespace GLib {
public abstract GLib.Mount get_mount ();
public abstract string get_name ();
public virtual unowned string get_sort_key ();
public abstract GLib.Icon get_symbolic_icon ();
public abstract string get_uuid ();
[CCode (vfunc_name = "mount_fn")]
public abstract async bool mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
......
......@@ -45,12 +45,14 @@ namespace GI {
public class CallableInfo : GI.BaseInfo {
[CCode (has_construct_function = false)]
protected CallableInfo ();
public static bool can_throw_gerror (GI.CallableInfo info);
public static GI.ArgInfo get_arg (GI.CallableInfo info, int n);
public static GI.Transfer get_caller_owns (GI.CallableInfo info);
public static int get_n_args (GI.CallableInfo info);
public static unowned string get_return_attribute (GI.CallableInfo info, string name);
public static GI.TypeInfo get_return_type (GI.CallableInfo info);
public static bool invoke (GI.CallableInfo info, void* function, GI.Argument in_args, int n_in_args, GI.Argument out_args, int n_out_args, GI.Argument return_value, bool is_method, bool @throws) throws GLib.Error;
public static bool is_method (GI.CallableInfo info);
public static bool iterate_return_attributes (GI.CallableInfo info, GI.AttributeIter iterator, out unowned string name, out unowned string value);
public static void load_arg (GI.CallableInfo info, int n, out unowned GI.ArgInfo arg);
public static void load_return_type (GI.CallableInfo info, out unowned GI.TypeInfo type);
......@@ -102,6 +104,7 @@ namespace GI {
[CCode (has_construct_function = false)]
protected InterfaceInfo ();
public static GI.FunctionInfo find_method (GI.InterfaceInfo info, string name);
public static GI.SignalInfo find_signal (GI.InterfaceInfo info, string name);
public static GI.VFuncInfo find_vfunc (GI.InterfaceInfo info, string name);
public static GI.ConstantInfo get_constant (GI.InterfaceInfo info, int n);
public static GI.StructInfo get_iface_struct (GI.InterfaceInfo info);
......
......@@ -961,7 +961,6 @@ namespace Gst {
public uint32 seqnum;
public uint64 timestamp;
public Gst.EventType type;
public void add_stream_config_header (Gst.Buffer buf);
[CCode (has_construct_function = false)]
public Event.buffer_size (Gst.Format format, int64 minsize, int64 maxsize, bool @async);
[CCode (has_construct_function = false)]
......@@ -977,7 +976,6 @@ namespace Gst {
public Event.flush_stop (bool reset_time);
[CCode (has_construct_function = false)]
public Event.gap (Gst.ClockTime timestamp, Gst.ClockTime duration);
public uint get_n_stream_config_headers ();
public uint32 get_seqnum ();
public unowned Gst.Structure get_structure ();
public bool has_name (string name);
......@@ -990,15 +988,12 @@ namespace Gst {
public void parse_flush_stop (out bool reset_time);
public void parse_gap (out Gst.ClockTime timestamp, out Gst.ClockTime duration);
public void parse_latency (out Gst.ClockTime latency);
public bool parse_nth_stream_config_header (uint index, out unowned Gst.Buffer buf);
public void parse_qos (out Gst.QOSType type, out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
public void parse_seek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out int64 start, out Gst.SeekType stop_type, out int64 stop);
public void parse_segment (out unowned Gst.Segment segment);
public void parse_segment_done (out Gst.Format format, out int64 position);
public void parse_sink_message (out Gst.Message msg);
public void parse_step (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
public void parse_stream_config (out Gst.StreamConfigFlags flags);
public bool parse_stream_config_setup_data (out unowned Gst.Buffer buf);
public void parse_stream_start (out string stream_id);
public void parse_tag (out unowned Gst.TagList taglist);
public void parse_toc (out Gst.Toc toc, out bool updated);
......@@ -1014,14 +1009,11 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Event.segment_done (Gst.Format format, int64 position);
public void set_seqnum (uint32 seqnum);
public void set_stream_config_setup_data (Gst.Buffer buf);
[CCode (has_construct_function = false)]
public Event.sink_message (string name, Gst.Message msg);
[CCode (has_construct_function = false)]
public Event.step (Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate);
[CCode (has_construct_function = false)]
public Event.stream_config (Gst.StreamConfigFlags flags);
[CCode (has_construct_function = false)]
public Event.stream_start (string stream_id);
[CCode (has_construct_function = false)]
public Event.tag (owned Gst.TagList taglist);
......@@ -1130,7 +1122,7 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Message.custom (Gst.MessageType type, Gst.Object src, owned Gst.Structure structure);
[CCode (has_construct_function = false)]
public Message.duration (Gst.Object src, Gst.Format format, int64 duration);
public Message.duration_changed (Gst.Object src);
[CCode (has_construct_function = false)]
public Message.element (Gst.Object src, owned Gst.Structure structure);
[CCode (has_construct_function = false)]
......@@ -1152,7 +1144,6 @@ namespace Gst {
public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
public void parse_clock_lost (out unowned Gst.Clock clock);
public void parse_clock_provide (out unowned Gst.Clock clock, out bool ready);
public void parse_duration (out Gst.Format format, out int64 duration);
public void parse_error (out GLib.Error gerror, out string debug);
public void parse_info (out GLib.Error gerror, out string debug);
public void parse_new_clock (out unowned Gst.Clock clock);
......@@ -1311,6 +1302,7 @@ namespace Gst {
[CCode (cname = "gst_pad_link_full")]
public Gst.PadLinkReturn link (Gst.Pad sinkpad, Gst.PadLinkCheck flags = Gst.PadLinkCheck.DEFAULT);
public void mark_reconfigure ();
public static unowned string mode_get_name (Gst.PadMode mode);
public bool needs_reconfigure ();
public bool pause_task ();
public bool peer_query (Gst.Query query);
......@@ -1520,6 +1512,7 @@ namespace Gst {
public uint get_n_scheduling_modes ();
public unowned Gst.Structure get_structure ();
public bool has_scheduling_mode (Gst.PadMode mode);
public bool has_scheduling_mode_with_flags (Gst.PadMode mode, Gst.SchedulingFlags flags);
[CCode (has_construct_function = false)]
public Query.latency ();
public void parse_accept_caps (out Gst.Caps caps);
......@@ -1579,7 +1572,6 @@ namespace Gst {
[CCode (has_construct_function = false)]
protected Registry ();
public bool add_feature (owned Gst.PluginFeature feature);
public void add_path (string path);
public bool add_plugin (owned Gst.Plugin plugin);
public bool check_feature_version (string feature_name, uint min_major, uint min_minor, uint min_micro);
public GLib.List<Gst.PluginFeature> feature_filter ([CCode (delegate_target_pos = 2.1)] Gst.PluginFeatureFilter filter, bool first);
......@@ -1591,7 +1583,6 @@ namespace Gst {
public GLib.List<Gst.PluginFeature> get_feature_list (GLib.Type type);
public GLib.List<Gst.PluginFeature> get_feature_list_by_plugin (string name);
public uint32 get_feature_list_cookie ();
public GLib.List<weak string> get_path_list ();
public GLib.List<Gst.Plugin> get_plugin_list ();
public Gst.Plugin lookup (string filename);
public Gst.PluginFeature lookup_feature (string name);
......@@ -1851,7 +1842,7 @@ namespace Gst {
public abstract GLib.Object get_child_by_name (string name);
public abstract uint get_children_count ();
public GLib.Value get_property (string name);
public static bool lookup (GLib.Object object, string name, out GLib.Object target, out unowned GLib.ParamSpec pspec);
public bool lookup (string name, out GLib.Object target, out unowned GLib.ParamSpec pspec);
public void set_property (string name, GLib.Value value);
[HasEmitter]
public virtual signal void child_added (GLib.Object child, string name);
......@@ -2231,7 +2222,6 @@ namespace Gst {
FLUSH_STOP,
STREAM_START,
CAPS,
STREAM_CONFIG,
SEGMENT,
TAG,
BUFFERSIZE,
......@@ -2360,7 +2350,7 @@ namespace Gst {
ELEMENT,
SEGMENT_START,
SEGMENT_DONE,
DURATION,
DURATION_CHANGED,
LATENCY,
ASYNC_START,
ASYNC_DONE,
......@@ -2627,11 +2617,6 @@ namespace Gst {
ASYNC,
NO_PREROLL
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STREAM_CONFIG_FLAG_", has_type_id = false)]
public enum StreamConfigFlags {
[CCode (cname = "GST_STREAM_CONFIG_FLAG_NONE")]
STREAM_CONFIG_FLAG_NONE
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STREAM_STATUS_TYPE_", has_type_id = false)]
public enum StreamStatusType {
CREATE,
......@@ -2996,8 +2981,6 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_VALUE_UNORDERED")]
public const int VALUE_UNORDERED;
[CCode (cheader_filename = "gst/gst.h")]
public static bool child_proxy_lookup (GLib.Object object, string name, out GLib.Object target, out unowned GLib.ParamSpec pspec);
[CCode (cheader_filename = "gst/gst.h")]
public static void deinit ();
[CCode (cheader_filename = "gst/gst.h")]
public static string error_get_message (GLib.Quark domain, int code);
......
......@@ -13,6 +13,10 @@ namespace Gst {
public bool get_emit_signals ();
public uint get_max_buffers ();
public bool is_eos ();
[NoWrapper]
public virtual Gst.FlowReturn new_preroll ();
[NoWrapper]
public virtual Gst.FlowReturn new_sample ();
public void set_caps (Gst.Caps caps);
public void set_drop (bool drop);
public void set_emit_signals (bool emit);
......@@ -23,8 +27,6 @@ namespace Gst {
[NoAccessorMethod]
public virtual bool eos { get; }
public uint max_buffers { get; set; }
public virtual signal void new_preroll ();
public virtual signal void new_sample ();
[HasEmitter]
public virtual signal Gst.Sample pull_preroll ();
[HasEmitter]
......
......@@ -109,18 +109,19 @@ namespace Gst {
public Gst.FlowReturn finish_frame (Gst.Buffer buf, int frames);
[NoWrapper]
public virtual void flush (bool hard);
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.Audio.Info get_audio_info ();
public int get_delay ();
public bool get_drainable ();
public int get_estimate_rate ();
public void get_latency (out Gst.ClockTime min, out Gst.ClockTime max);
public int get_max_errors ();
public int64 get_min_latency ();
public Gst.ClockTime get_min_latency ();
public bool get_needs_format ();
public void get_parse_state (bool sync, bool eos);
public bool get_plc ();
public int get_plc_aware ();
public int64 get_tolerance ();
public Gst.ClockTime get_tolerance ();
[NoWrapper]
public virtual Gst.FlowReturn handle_frame (Gst.Buffer buffer);
public void merge_tags (Gst.TagList tags, Gst.TagMergeMode mode);
......@@ -139,12 +140,12 @@ namespace Gst {
public virtual bool set_format (Gst.Caps caps);
public void set_latency (Gst.ClockTime min, Gst.ClockTime max);
public void set_max_errors (int num);
public void set_min_latency (int64 num);
public void set_min_latency (Gst.ClockTime num);
public void set_needs_format (bool enabled);
public bool set_output_format (Gst.Audio.Info info);
public void set_plc (bool enabled);
public void set_plc_aware (bool plc);
public void set_tolerance (int64 tolerance);
public void set_tolerance (Gst.ClockTime tolerance);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
[NoWrapper]
......@@ -175,6 +176,7 @@ namespace Gst {
public Gst.FlowReturn finish_frame (Gst.Buffer buffer, int samples);
[NoWrapper]
public virtual void flush ();
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.Audio.Info get_audio_info ();
public bool get_drainable ();
public int get_frame_max ();
......@@ -186,7 +188,7 @@ namespace Gst {
public int get_lookahead ();
public bool get_mark_granule ();
public bool get_perfect_timestamp ();
public int64 get_tolerance ();
public Gst.ClockTime get_tolerance ();
[NoWrapper]
public virtual Gst.Caps getcaps (Gst.Caps filter);
[NoWrapper]
......@@ -214,7 +216,7 @@ namespace Gst {
public void set_mark_granule (bool enabled);
public bool set_output_format (Gst.Caps caps);
public void set_perfect_timestamp (bool enabled);
public void set_tolerance (int64 tolerance);
public void set_tolerance (Gst.ClockTime tolerance);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
[NoWrapper]
......@@ -273,6 +275,7 @@ namespace Gst {
public size_t size;
public Gst.Audio.RingBufferSpec spec;
public int state;
public Gst.ClockTime timestamps;
public int waiting;
[CCode (has_construct_function = false)]
protected RingBuffer ();
......@@ -290,19 +293,22 @@ namespace Gst {
public bool device_is_open ();
public bool is_acquired ();
public bool is_active ();
public bool is_flushing ();
public void may_start (bool allowed);
public virtual bool open_device ();
public static bool parse_caps (Gst.Audio.RingBufferSpec spec, Gst.Caps caps);
public virtual bool pause ();
public bool prepare_read (int segment, uint8 readptr, int len);
public uint read (uint64 sample, uint8 data, uint len);
public uint read (uint64 sample, uint8 data, uint len, Gst.ClockTime timestamp);
public virtual bool release ();
[NoWrapper]
public virtual bool resume ();
public uint64 samples_done ();
public void set_callback (Gst.Audio.RingBufferCallback cb);
public void set_channel_positions (Gst.Audio.ChannelPosition position);
public void set_flushing (bool flushing);
public void set_sample (uint64 sample);
public void set_timestamp (int readseg, Gst.ClockTime timestamp);
public virtual bool start ();
public virtual bool stop ();
}
......@@ -340,7 +346,7 @@ namespace Gst {
[NoWrapper]
public virtual bool prepare (Gst.Audio.RingBufferSpec spec);
[NoWrapper]
public virtual uint read ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "guint", type = "gpointer")] uint8[] data);
public virtual uint read ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "guint", type = "gpointer")] uint8[] data, Gst.ClockTime timestamp);
[NoWrapper]
public virtual void reset ();
[NoWrapper]
......@@ -611,7 +617,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "GST_TAG_CDDA_TRACK_TAGS")]
public const string TAG_CDDA_TRACK_TAGS;
[CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_buffer_clip")]
public static Gst.Buffer audio_buffer_clip (Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf);
public static Gst.Buffer audio_buffer_clip (owned Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf);
[CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_buffer_reorder_channels")]
public static bool audio_buffer_reorder_channels (Gst.Buffer buffer, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
[CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_channel_positions_from_mask")]
......
......@@ -371,6 +371,7 @@ namespace Gst {
public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
public void set_min_frame_size (uint min_size);
public void set_passthrough (bool passthrough);
public void set_pts_interpolation (bool pts_interpolate);
[NoWrapper]
public virtual bool set_sink_caps (Gst.Caps caps);
public void set_syncable (bool syncable);
......@@ -486,7 +487,7 @@ namespace Gst {
public Gst.FlowReturn wait (Gst.ClockTime time, out Gst.ClockTimeDiff jitter);
public Gst.ClockReturn wait_clock (Gst.ClockTime time, out Gst.ClockTimeDiff jitter);
[NoWrapper]
public virtual Gst.FlowReturn wait_eos (Gst.Event event);
public virtual Gst.FlowReturn wait_event (Gst.Event event);
public Gst.FlowReturn wait_preroll ();
[NoAccessorMethod]
public bool @async { get; set; }
......@@ -533,7 +534,9 @@ namespace Gst {
public virtual Gst.FlowReturn fill (uint64 offset, uint size, Gst.Buffer buf);
[NoWrapper]
public virtual Gst.Caps fixate (Gst.Caps caps);
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public uint get_blocksize ();
public Gst.BufferPool get_buffer_pool ();
[NoWrapper]
public virtual Gst.Caps get_caps (Gst.Caps filter);
public bool get_do_timestamp ();
......@@ -598,6 +601,8 @@ namespace Gst {
public virtual bool filter_meta (Gst.Query query, GLib.Type api, Gst.Structure @params);
[NoWrapper]
public virtual Gst.Caps fixate_caps (Gst.PadDirection direction, Gst.Caps caps, Gst.Caps othercaps);
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.BufferPool get_buffer_pool ();
[NoWrapper]
public virtual bool get_unit_size (Gst.Caps caps, size_t size);
public bool is_in_place ();
......
......@@ -89,9 +89,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_vorbiscomment_buffer (Gst.TagList list, uint8 id_data, uint id_data_length, string vendor_string);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_xmp_buffer (Gst.TagList list, bool read_only);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_xmp_buffer_full (Gst.TagList list, bool read_only, string schemas);
public static Gst.Buffer to_xmp_buffer (Gst.TagList list, bool read_only, string schemas);
}
namespace MusicBrainz {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_MUSICBRAINZ_ALBUMARTISTID")]
......
......@@ -62,8 +62,11 @@ namespace Gst {
[NoWrapper]
public virtual Gst.FlowReturn finish ();
public Gst.FlowReturn finish_frame (owned Gst.Video.CodecFrame frame);
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.BufferPool get_buffer_pool ();
public int get_estimate_rate ();
public Gst.Video.CodecFrame get_frame (int frame_number);
public GLib.List<Gst.Video.CodecFrame> get_frames ();
public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
public Gst.ClockTimeDiff get_max_decode_time (Gst.Video.CodecFrame frame);
public int get_max_errors ();
......@@ -113,8 +116,10 @@ namespace Gst {
[NoWrapper]
public virtual Gst.FlowReturn finish ();
public Gst.FlowReturn finish_frame (owned Gst.Video.CodecFrame frame);
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public bool get_discont ();
public Gst.Video.CodecFrame get_frame (int frame_number);
public GLib.List<Gst.Video.CodecFrame> get_frames ();
public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
public Gst.Video.CodecFrame get_oldest_frame ();
public Gst.Video.CodecState get_output_state ();
......@@ -181,15 +186,19 @@ namespace Gst {
[Compact]
[GIR (name = "VideoOverlayRectangle")]
public class OverlayRectangle {
[CCode (has_construct_function = false)]
public OverlayRectangle.argb (Gst.Buffer pixels, int render_x, int render_y, uint render_width, uint render_height, Gst.Video.OverlayFormatFlags flags);
public Gst.Video.OverlayRectangle copy ();
public Gst.Video.OverlayFormatFlags get_flags ();
public float get_global_alpha ();
public unowned Gst.Buffer get_pixels_argb (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_ayuv (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_raw (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_argb (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_ayuv (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_raw (Gst.Video.OverlayFormatFlags flags);
public bool get_render_rectangle (out int render_x, out int render_y, out uint render_width, out uint render_height);
public uint get_seqnum ();
[CCode (has_construct_function = false)]
public OverlayRectangle.raw (Gst.Buffer pixels, int render_x, int render_y, uint render_width, uint render_height, Gst.Video.OverlayFormatFlags flags);
public void set_global_alpha (float global_alpha);
public void set_render_rectangle (int render_x, int render_y, uint render_width, uint render_height);
}
......@@ -387,6 +396,7 @@ namespace Gst {
public weak size_t[] offset;
[CCode (array_length = false, array_null_terminated = true)]
public weak int[] stride;
public void align (Gst.Video.Alignment align);
public bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
public bool from_caps (Gst.Caps caps);
public void init ();
......@@ -561,7 +571,9 @@ namespace Gst {
[CCode (cname = "GST_VIDEO_FORMAT_r210")]
R210,
I420_10BE,
I420_10LE
I420_10LE,
I422_10BE,
I422_10LE
}
[CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
[Flags]
......
......@@ -98,7 +98,7 @@ namespace GData {
public unowned string get_role ();
public void get_scope (out unowned string type, out unowned string value);
public void set_role (string role);
public void set_scope (string type, string value);
public void set_scope (string type, string? value);
public int64 edited { get; }
public string role { get; set; }
[NoAccessorMethod]
......
......@@ -293,8 +293,8 @@ namespace Soup {
public class CookieJar : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
public CookieJar ();
public void add_cookie (Soup.Cookie cookie);
public void add_cookie_with_first_party (Soup.URI first_party, Soup.Cookie cookie);
public void add_cookie (owned Soup.Cookie cookie);
public void add_cookie_with_first_party (Soup.URI first_party, owned Soup.Cookie cookie);
public GLib.SList<Soup.Cookie> all_cookies ();
public void delete_cookie (Soup.Cookie cookie);
public Soup.CookieJarAcceptPolicy get_accept_policy ();
......@@ -507,6 +507,16 @@ namespace Soup {
public bool get_part (int part, out unowned Soup.MessageHeaders headers, out unowned Soup.Buffer body);
public void to_message (Soup.MessageHeaders dest_headers, Soup.MessageBody dest_body);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_multipart_input_stream_get_type ()")]
public class MultipartInputStream : GLib.FilterInputStream, GLib.PollableInputStream {
[CCode (has_construct_function = false)]
public MultipartInputStream (Soup.Message msg, GLib.InputStream base_stream);
public unowned Soup.MessageHeaders get_headers ();
public GLib.InputStream next_part (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GLib.InputStream next_part_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
[NoAccessorMethod]
public Soup.Message message { owned get; construct; }
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_proxy_resolver_default_get_type ()")]
public class ProxyResolverDefault : GLib.Object, Soup.ProxyURIResolver, Soup.SessionFeature {
[CCode (has_construct_function = false)]
......@@ -799,7 +809,7 @@ namespace Soup {
}
[CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)]
public struct MessageHeadersIter {
public void init (Soup.MessageHeaders hdrs);
public static void init (out Soup.MessageHeadersIter iter, Soup.MessageHeaders hdrs);
public bool next (out unowned string name, out unowned string value);
}
[CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)]
......@@ -965,7 +975,8 @@ namespace Soup {
OVERWRITE_CHUNKS,
CONTENT_DECODED,
CERTIFICATE_TRUSTED,
NEW_CONNECTION
NEW_CONNECTION,
IDEMPOTENT
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_MESSAGE_HEADERS_", type_id = "soup_message_headers_type_get_type ()")]
public enum MessageHeadersType {
......@@ -1174,6 +1185,8 @@ namespace Soup {
public const int MISC_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MULTIPART_H")]
public const int MULTIPART_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MULTIPART_INPUT_STREAM_H")]
public const int MULTIPART_INPUT_STREAM_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_PASSWORD_MANAGER_H")]
public const int PASSWORD_MANAGER_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_PROXY_RESOLVER_DEFAULT_H")]
......
......@@ -532,7 +532,7 @@ namespace Mx {
public bool set_from_buffer ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize", type = "guchar*")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func) throws GLib.Error;
public bool set_from_buffer_at_size ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize", type = "guchar*")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func, int width, int height) throws GLib.Error;
public bool set_from_cogl_texture (Cogl.Handle texture);
public bool set_from_data ([CCode (array_length = false, type = "guchar*")] uint8[]? data, Cogl.PixelFormat pixel_format, int width, int height, int rowstride) throws GLib.Error;
public bool set_from_data ([CCode (array_length = false, type = "const guchar*")] uint8[]? data, Cogl.PixelFormat pixel_format, int width, int height, int rowstride) throws GLib.Error;
public bool set_from_file (string filename) throws GLib.Error;
public bool set_from_file_at_size (string filename, int width, int height) throws GLib.Error;
public void set_image_rotation (float rotation);
......
This diff is collapsed.
......@@ -783,7 +783,17 @@ namespace Pango {
VAI,
CARIAN,
LYCIAN,
LYDIAN;
LYDIAN,
BATAK,
BRAHMI,
MANDAIC,
CHAKMA,
MEROITIC_CURSIVE,
MEROITIC_HIEROGLYPHS,
MIAO,
SHARADA,
SORA_SOMPENG,
TAKRI;
public static Pango.Script for_unichar (unichar ch);
public static Pango.Language get_sample_language (Pango.Script script);
}
......
......@@ -36,6 +36,8 @@ namespace Vte {
public long get_char_width ();
public int get_child_exit_status ();
public long get_column_count ();
public unowned string get_current_directory_uri ();
public unowned string get_current_file_uri ();
public Vte.TerminalCursorBlinkMode get_cursor_blink_mode ();
public void get_cursor_position (out long column, out long row);
public Vte.TerminalCursorShape get_cursor_shape ();
......@@ -129,6 +131,8 @@ namespace Vte {
public bool background_transparent { get; set; }
[NoAccessorMethod]
public Vte.TerminalEraseBinding backspace_binding { get; set; }
public string current_directory_uri { get; }
public string current_file_uri { get; }
public Vte.TerminalCursorBlinkMode cursor_blink_mode { get; set; }
public Vte.TerminalCursorShape cursor_shape { get; set; }
[NoAccessorMethod]
......@@ -160,6 +164,8 @@ namespace Vte {
public virtual signal void contents_changed ();
[HasEmitter]
public virtual signal void copy_clipboard ();
public signal void current_directory_uri_changed ();
public signal void current_file_uri_changed ();
public virtual signal void cursor_moved ();
public virtual signal void decrease_font_size ();
public virtual signal void deiconify_window ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment