Replace deprecated deprecated vapi tag

This commit is contained in:
Jesse van den Kieboom 2016-06-05 11:39:38 +02:00
parent e3dc6142ca
commit 8d3120375c

View file

@ -732,7 +732,7 @@ namespace Soup {
public URI.with_base (Soup.URI @base, string uri_string);
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyResolverInterface", type_id = "soup_proxy_resolver_get_type ()")]
[Deprecated (replacement = "Soup.ProxyURIResolver")]
[Version ( deprecated = true, replacement = "Soup.ProxyURIResolver" )]
public interface ProxyResolver : Soup.SessionFeature, GLib.Object {
public abstract void get_proxy_async (Soup.Message msg, GLib.MainContext async_context, GLib.Cancellable? cancellable, Soup.ProxyResolverCallback callaback);
public abstract uint get_proxy_sync (Soup.Message msg, GLib.Cancellable? cancellable, out unowned Soup.Address addr);
@ -1259,34 +1259,34 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static void cookies_to_response (GLib.SList<Soup.Cookie> cookies, Soup.Message msg);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.decode", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.decode", deprecated_since = "vala-0.12" )]
public static GLib.HashTable<string,string> form_decode (string encoded_form);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.decode_multipart", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.decode_multipart", deprecated_since = "vala-0.12" )]
public static GLib.HashTable<string,string> form_decode_multipart (Soup.Message msg, string file_control_name, out string filename, out string content_type, out Soup.Buffer file);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.encode", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.encode", deprecated_since = "vala-0.12" )]
public static string form_encode (...);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.encode_datalist", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.encode_datalist", deprecated_since = "vala-0.12" )]
public static string form_encode_datalist (void* form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.encode_hash", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.encode_hash", deprecated_since = "vala-0.12" )]
public static string form_encode_hash (GLib.HashTable<string,string> form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (since = "vala-0.12")]
[Version ( deprecated = true, deprecated_since = "vala-0.12" )]
public static string form_encode_valist (string first_field, void* args);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.request_new", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.request_new", deprecated_since = "vala-0.12" )]
public static Soup.Message form_request_new (string method, string uri, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.request_new_from_datalist", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.request_new_from_datalist", deprecated_since = "vala-0.12" )]
public static Soup.Message form_request_new_from_datalist (string method, string uri, void* form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.request_new_from_hash", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.request_new_from_hash", deprecated_since = "vala-0.12" )]
public static Soup.Message form_request_new_from_hash (string method, string uri, GLib.HashTable<string,string> form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "Form.request_new_from_multipart", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "Form.request_new_from_multipart", deprecated_since = "vala-0.12" )]
public static Soup.Message form_request_new_from_multipart (string uri, Soup.Multipart multipart);
[CCode (cheader_filename = "libsoup/soup.h")]
public static bool header_contains (string header, string token);
@ -1315,7 +1315,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark http_error_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "SSLError.quark", since = "vala-0.14")]
[Version ( deprecated = true, replacement = "SSLError.quark", deprecated_since = "vala-0.14" )]
public static GLib.Quark ssl_error_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned string status_get_phrase (uint status_code);
@ -1356,41 +1356,41 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.HashTable<string,GLib.Value?> value_hash_new_with_vals (...);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.build_fault", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.build_fault", deprecated_since = "vala-0.12" )]
[PrintfFormat]
public static unowned string xmlrpc_build_fault (int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.build_method_call", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.build_method_call", deprecated_since = "vala-0.12" )]
public static unowned string xmlrpc_build_method_call (string method_name, GLib.Value[] @params);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.build_method_response", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.build_method_response", deprecated_since = "vala-0.12" )]
public static unowned string xmlrpc_build_method_response (GLib.Value value);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.error_quark", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.error_quark", deprecated_since = "vala-0.12" )]
public static GLib.Quark xmlrpc_error_quark ();
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
[Deprecated (replacement = "XMLRPC.extract_method_call", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.extract_method_call", deprecated_since = "vala-0.12" )]
public static bool xmlrpc_extract_method_call (string method_call, int length, out unowned string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
[Deprecated (replacement = "XMLRPC.extract_method_response", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.extract_method_response", deprecated_since = "vala-0.12" )]
public static bool xmlrpc_extract_method_response (string method_response, int length, ...) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.fault_quark", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.fault_quark", deprecated_since = "vala-0.12" )]
public static GLib.Quark xmlrpc_fault_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.parse_method_call", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.parse_method_call", deprecated_since = "vala-0.12" )]
public static bool xmlrpc_parse_method_call (string method_call, int length, out unowned string method_name, out unowned GLib.ValueArray @params);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.parse_method_response", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.parse_method_response", deprecated_since = "vala-0.12" )]
public static bool xmlrpc_parse_method_response (string method_response, int length, GLib.Value value) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
[Deprecated (replacement = "XMLRPC.request_new", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.request_new", deprecated_since = "vala-0.12" )]
public static unowned Soup.Message xmlrpc_request_new (string uri, string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
[Deprecated (replacement = "XMLRPC.set_fault", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.set_fault", deprecated_since = "vala-0.12" )]
[PrintfFormat]
public static void xmlrpc_set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
[Deprecated (replacement = "XMLRPC.set_response", since = "vala-0.12")]
[Version ( deprecated = true, replacement = "XMLRPC.set_response", deprecated_since = "vala-0.12" )]
public static void xmlrpc_set_response (Soup.Message msg, ...);
}