vala r1780 - in trunk: . vapi vapi/packages/libsoup-2.2 vapi/packages/libsoup-2.4
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1780 - in trunk: . vapi vapi/packages/libsoup-2.2 vapi/packages/libsoup-2.4
- Date: Thu, 25 Sep 2008 09:32:29 +0000 (UTC)
Author: juergbi
Date: Thu Sep 25 09:32:29 2008
New Revision: 1780
URL: http://svn.gnome.org/viewvc/vala?rev=1780&view=rev
Log:
2008-09-25 JÃrg Billeter <j bitron ch>
* vapi/packages/libsoup-2.2:
* vapi/packages/libsoup-2.4:
Fix soup_uri_decode and soup_uri_encode bindings
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
Regenerated
Modified:
trunk/ChangeLog
trunk/vapi/libsoup-2.2.vapi
trunk/vapi/libsoup-2.4.vapi
trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata
trunk/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
Modified: trunk/vapi/libsoup-2.2.vapi
==============================================================================
--- trunk/vapi/libsoup-2.2.vapi (original)
+++ trunk/vapi/libsoup-2.2.vapi Thu Sep 25 09:32:29 2008
@@ -272,7 +272,7 @@
public weak Soup.Uri copy ();
public weak Soup.Uri copy_root ();
public static void decode (string part);
- public static weak string encode (string part, string escape_extra);
+ public static string encode (string part, string escape_extra);
public bool equal (Soup.Uri uri2);
public Uri (string uri_string);
public Uri.with_base (Soup.Uri @base, string uri_string);
@@ -474,12 +474,16 @@
}
[CCode (cheader_filename = "libsoup/soup.h")]
public class SessionAsync : Soup.Session, Soup.MessageFilter {
+ [CCode (type = "SoupSession*")]
public SessionAsync ();
+ [CCode (type = "SoupSession*")]
public SessionAsync.with_options (string optname1);
}
[CCode (cheader_filename = "libsoup/soup.h")]
public class SessionSync : Soup.Session, Soup.MessageFilter {
+ [CCode (type = "SoupSession*")]
public SessionSync ();
+ [CCode (type = "SoupSession*")]
public SessionSync.with_options (string optname1);
}
[CCode (cheader_filename = "libsoup/soup.h")]
Modified: trunk/vapi/libsoup-2.4.vapi
==============================================================================
--- trunk/vapi/libsoup-2.4.vapi (original)
+++ trunk/vapi/libsoup-2.4.vapi Thu Sep 25 09:32:29 2008
@@ -167,7 +167,7 @@
}
[Compact]
[CCode (copy_function = "soup_buffer_copy", cheader_filename = "libsoup/soup.h")]
- public class Buffer : GLib.Boxed {
+ public class Buffer {
public weak string data;
public ulong length;
public weak Soup.Buffer copy ();
@@ -178,11 +178,11 @@
}
[Compact]
[CCode (cheader_filename = "libsoup/soup.h")]
- public class ByteArray : GLib.Boxed {
+ public class ByteArray {
}
[Compact]
[CCode (cheader_filename = "libsoup/soup.h")]
- public class ClientContext : GLib.Boxed {
+ public class ClientContext {
public weak Soup.Address get_address ();
public weak Soup.AuthDomain get_auth_domain ();
public weak string get_auth_user ();
@@ -191,7 +191,7 @@
}
[Compact]
[CCode (copy_function = "soup_date_copy", cheader_filename = "libsoup/soup.h")]
- public class Date : GLib.Boxed {
+ public class Date {
public int year;
public int month;
public int day;
@@ -210,7 +210,7 @@
}
[Compact]
[CCode (cheader_filename = "libsoup/soup.h")]
- public class MessageBody : GLib.Boxed {
+ public class MessageBody {
public weak string data;
public int64 length;
public void append (Soup.MemoryUse use, void* data, ulong length);
@@ -223,7 +223,7 @@
}
[Compact]
[CCode (cheader_filename = "libsoup/soup.h")]
- public class MessageHeaders : GLib.Boxed {
+ public class MessageHeaders {
public void append (string name, string value);
public void clear ();
public void @foreach (Soup.MessageHeadersForeachFunc func);
@@ -240,7 +240,7 @@
}
[Compact]
[CCode (copy_function = "soup_uri_copy", cheader_filename = "libsoup/soup.h")]
- public class URI : GLib.Boxed {
+ public class URI {
public weak string scheme;
public weak string user;
public weak string password;
@@ -250,8 +250,8 @@
public weak string query;
public weak string fragment;
public weak Soup.URI copy ();
- public static weak string decode (string part);
- public static weak string encode (string part, string escape_extra);
+ public static string decode (string part);
+ public static string encode (string part, string escape_extra);
public bool equal (Soup.URI uri2);
public URI (string uri_string);
public URI.with_base (Soup.URI @base, string uri_string);
@@ -339,6 +339,7 @@
}
[CCode (cheader_filename = "libsoup/soup.h")]
public class AuthDomainBasic : Soup.AuthDomain {
+ [CCode (type = "SoupAuthDomain*")]
public AuthDomainBasic (string optname1);
public static void set_auth_callback (Soup.AuthDomain domain, Soup.AuthDomainBasicAuthCallback callback, GLib.DestroyNotify dnotify);
[NoAccessorMethod]
@@ -349,6 +350,7 @@
[CCode (cheader_filename = "libsoup/soup.h")]
public class AuthDomainDigest : Soup.AuthDomain {
public static weak string encode_password (string username, string realm, string password);
+ [CCode (type = "SoupAuthDomain*")]
public AuthDomainDigest (string optname1);
public static void set_auth_callback (Soup.AuthDomain domain, Soup.AuthDomainDigestAuthCallback callback, GLib.DestroyNotify dnotify);
[NoAccessorMethod]
@@ -483,12 +485,16 @@
}
[CCode (cheader_filename = "libsoup/soup.h")]
public class SessionAsync : Soup.Session {
+ [CCode (type = "SoupSession*")]
public SessionAsync ();
+ [CCode (type = "SoupSession*")]
public SessionAsync.with_options (string optname1);
}
[CCode (cheader_filename = "libsoup/soup.h")]
public class SessionSync : Soup.Session {
+ [CCode (type = "SoupSession*")]
public SessionSync ();
+ [CCode (type = "SoupSession*")]
public SessionSync.with_options (string optname1);
}
[CCode (cheader_filename = "libsoup/soup.h")]
Modified: trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata
==============================================================================
--- trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata (original)
+++ trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata Thu Sep 25 09:32:29 2008
@@ -29,6 +29,7 @@
SoupSoap hidden="1"
SoupSoapMessage hidden="1"
SoupSoapResponse hidden="1"
+soup_uri_encode transfer_ownership="1"
soup_xml_real_node hidden="1"
SoupXmlrpc hidden="1"
SoupXmlrpcMessage hidden="1"
Modified: trunk/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
==============================================================================
--- trunk/vapi/packages/libsoup-2.4/libsoup-2.4.metadata (original)
+++ trunk/vapi/packages/libsoup-2.4/libsoup-2.4.metadata Thu Sep 25 09:32:29 2008
@@ -16,6 +16,8 @@
SoupMessage::wrote_informational has_emitter="1"
soup_server_new ellipsis="1"
soup_session_queue_message.msg transfer_ownership="1"
+soup_uri_decode transfer_ownership="1"
+soup_uri_encode transfer_ownership="1"
# unsupported
GData name="pointer"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]