[libsoup] Remove deprecated SoupXMLRPC API



commit c78c651dec828f31c21c63fc2d1ad3c6545a28bb
Author: Patrick Griffis <pgriffis igalia com>
Date:   Wed Feb 12 13:27:57 2020 -0800

    Remove deprecated SoupXMLRPC API

 libsoup/Soup-2.4.metadata      |  12 -
 libsoup/meson.build            |   2 -
 libsoup/soup-xmlrpc-old.c      | 738 -----------------------------------------
 libsoup/soup-xmlrpc-old.h      |  68 ----
 libsoup/soup-xmlrpc.h          |   1 -
 libsoup/soup.h                 |   1 -
 tests/meson.build              |   2 -
 tests/xmlrpc-old-server-test.c | 381 ---------------------
 tests/xmlrpc-old-test.c        | 502 ----------------------------
 9 files changed, 1707 deletions(-)
---
diff --git a/libsoup/Soup-2.4.metadata b/libsoup/Soup-2.4.metadata
index 1f107eda..578dc386 100644
--- a/libsoup/Soup-2.4.metadata
+++ b/libsoup/Soup-2.4.metadata
@@ -8,7 +8,6 @@ form_request_new_from_datalist.form_data_set type_arguments="string"
 xmlrpc_* parent="Soup.XMLRPC" name="xmlrpc_(.+)"
 XMLRPCFault errordomain parent="Soup.XMLRPC" name="Fault"
 XMLRPCError parent="Soup.XMLRPC" name="Error"
-xmlrpc_set_response.type skip
 HTTPVersion.http_* name="http_(.+)"
 
 // Backwards compatibility
@@ -50,24 +49,13 @@ URI
 // uri_host_*.* type="Soup.URI"
 ProxyURIResolverCallback.user_data skip
 xmlrpc_* skip=false
-// xmlrpc_build_method_call.params array array_length_idx=2
-xmlrpc_extract_method_response throws="Soup.XMLRPC.Fault"
-       .error skip
-       .type skip
-value_* skip=false
 
 // Not enough GIR information
 Buffer.data type="uint8[]" array_length_field="length"
 MessageBody.data type="uint8[]" array_length_field="length"
-xmlrpc_parse_method_response throws="Soup.XMLRPC.Fault"
 Date
        .new_from_time_t.when type="time_t"
        .to_time_t type="time_t"
-xmlrpc_extract_method_call sentinel="G_TYPE_INVALID"
-xmlrpc_extract_method_response sentinel="G_TYPE_INVALID"
-xmlrpc_request_new sentinel="G_TYPE_INVALID"
-xmlrpc_set_fault printf_format
-xmlrpc_set_response sentinel="G_TYPE_INVALID"
 xmlrpc_build_fault printf_format
 
 // Simplify memory management
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 87713875..6d82da9f 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -86,7 +86,6 @@ soup_sources = [
   'soup-websocket-extension-deflate.c',
   'soup-websocket-extension-manager.c',
   'soup-xmlrpc.c',
-  'soup-xmlrpc-old.c',
 ]
 
 soup_headers = [
@@ -175,7 +174,6 @@ soup_introspection_headers = [
   'soup-websocket-extension-deflate.h',
   'soup-websocket-extension-manager.h',
   'soup-xmlrpc.h',
-  'soup-xmlrpc-old.h',
 ]
 
 soup_installed_headers = soup_introspection_headers + [
diff --git a/libsoup/soup-xmlrpc.h b/libsoup/soup-xmlrpc.h
index a424fdef..5cc74b8e 100644
--- a/libsoup/soup-xmlrpc.h
+++ b/libsoup/soup-xmlrpc.h
@@ -7,7 +7,6 @@
 #define __SOUP_XMLRPC_H__ 1
 
 #include <libsoup/soup-types.h>
-#include <libsoup/soup-xmlrpc-old.h>
 
 G_BEGIN_DECLS
 
diff --git a/libsoup/soup.h b/libsoup/soup.h
index 48b75f0c..341384ce 100644
--- a/libsoup/soup.h
+++ b/libsoup/soup.h
@@ -62,7 +62,6 @@ extern "C" {
 #include <libsoup/soup-websocket-extension-deflate.h>
 #include <libsoup/soup-websocket-extension-manager.h>
 #include <libsoup/soup-xmlrpc.h>
-#include <libsoup/soup-xmlrpc-old.h>
 
 #include <libsoup/soup-autocleanups.h>
 
diff --git a/tests/meson.build b/tests/meson.build
index 5482aa86..54dfa6b1 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -134,8 +134,6 @@ endif
 
 if have_php_xmlrpc
   tests += [
-    ['xmlrpc-old-server', true, []],
-    ['xmlrpc-old', false, []],
     ['xmlrpc-server', true, []],
     ['xmlrpc', false, []]
   ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]