2008-04-13 Jürg Billeter <j@bitron.ch>
+ * vapigen/valagidlparser.vala: support takes_ownership metadata
+ attribute for method parameters
+
+ * vapi/packages/gnome-keyring-1/: AttributeList fixes,
+ patch by Ross Burton, fixes bug 527522
+
+ * vapi/gnome-keyring-1.vapi: regenerated
+
+2008-04-13 Jürg Billeter <j@bitron.ch>
+
* vala/valadatatype.vala: don't use `weak' for value types used as
type arguments
KEYRING_ALREADY_EXISTS,
NO_MATCH
}
+ [CCode (copy_function = "gnome_keyring_attribute_list_copy", cheader_filename = "gnome-keyring.h")]
+ public class AttributeList {
+ [NoArrayLength]
+ public GnomeKeyring.Attribute[] data;
+ public uint len;
+ public GnomeKeyring.Attribute index (int i);
+ public AttributeList ();
+ public void append_string (string name, string value);
+ public void append_uint32 (string name, uint value);
+ public weak GnomeKeyring.AttributeList copy ();
+ }
[CCode (copy_function = "gnome_keyring_access_control_copy", cheader_filename = "gnome-keyring.h")]
public class AccessControl {
public weak GnomeKeyring.AccessControl copy ();
public ApplicationRef ();
}
[CCode (cheader_filename = "gnome-keyring.h")]
- public class Attribute {
- public weak string name;
- public GnomeKeyring.AttributeType type;
- public pointer value;
- }
- [CCode (copy_function = "gnome_keyring_attribute_list_copy", cheader_filename = "gnome-keyring.h")]
- public class AttributeList {
- public void append_string (string name, string value);
- public void append_uint32 (string name, uint value);
- public weak GnomeKeyring.AttributeList copy ();
- }
- [CCode (cheader_filename = "gnome-keyring.h")]
public class Found {
public weak string keyring;
public uint item_id;
public pointer reserved3;
}
[CCode (cheader_filename = "gnome-keyring.h")]
+ public struct Attribute {
+ public weak string name;
+ public GnomeKeyring.AttributeType type;
+ public pointer value;
+ }
+ [CCode (cheader_filename = "gnome-keyring.h")]
public delegate void OperationDoneCallback (GnomeKeyring.Result result);
[CCode (cheader_filename = "gnome-keyring.h")]
public delegate void OperationGetAttributesCallback (GnomeKeyring.Result result, GnomeKeyring.AttributeList attributes);
[CCode (cheader_filename = "gnome-keyring.h")]
public static pointer list_item_ids (string keyring, GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data);
[CCode (cheader_filename = "gnome-keyring.h")]
- public static GnomeKeyring.Result list_item_ids_sync (string keyring, GLib.List<uint> ids);
+ public static GnomeKeyring.Result list_item_ids_sync (string keyring, out GLib.List<uint> ids);
[CCode (cheader_filename = "gnome-keyring.h")]
public static pointer list_keyring_names (GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data);
[CCode (cheader_filename = "gnome-keyring.h")]
+GnomeKeyring cheader_filename="gnome-keyring.h"
+
#Simple password api
gnome_keyring_store_password ellipsis="1"
gnome_keyring_store_password.data hidden="1"
gnome_keyring_create.data hidden="1"
gnome_keyring_@delete.data hidden="1"
gnome_keyring_list_item_ids.data hidden="1"
-gnome_keyring_list_item_ids_sync.ids type_arguments="uint"
+gnome_keyring_list_item_ids_sync.ids type_arguments="uint" is_out="1" takes_ownership="1"
gnome_keyring_list_keyring_names.data hidden="1"
#find item api
gnome_keyring_find_network_password.data hidden="1"
#item api
+GnomeKeyringAttribute is_value_type="1"
gnome_keyring_item_create.data hidden="1"
gnome_keyring_item_delete.data hidden="1"
gnome_keyring_item_get_acl.data hidden="1"