[libsoupmm] Regenrate all .defs, Increment version to 2.28.0
- From: Siavash Safi <siavashs src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libsoupmm] Regenrate all .defs, Increment version to 2.28.0
- Date: Fri, 30 Oct 2009 13:02:57 +0000 (UTC)
commit ba2616ab1de55659cc9758119cd305b498a92d88
Author: Siavash Safi <siavash siavashs org>
Date: Fri Oct 30 16:28:18 2009 +0330
Regenrate all .defs, Increment version to 2.28.0
* configure.ac: Increment version to 2.28.0, Require libsoup 2.28
* libsoup/src/libsoup_enums.defs:
* libsoup/src/libsoup_methods.defs:
* libsoup/src/libsoup_signals.defs: Regenerated
configure.ac | 4 +-
libsoup/src/libsoup_enums.defs | 20 +++---
libsoup/src/libsoup_methods.defs | 138 ++++++++++++++++++++++++++++++++++++++
libsoup/src/libsoup_signals.defs | 20 ++++++
4 files changed, 170 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6cff6f1..3c20d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@
## You should have received a copy of the GNU Lesser General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
-AC_INIT([libsoupmm], [2.26.0], [gtkmm-list gnome org], [libsoupmm], [http://www.gtkmm.org])
+AC_INIT([libsoupmm], [2.28.0], [gtkmm-list gnome org], [libsoupmm], [http://www.gtkmm.org])
AC_PREREQ([2.59])
AC_CONFIG_SRCDIR([libsoup/libsoupmm.h])
@@ -39,7 +39,7 @@ AC_DISABLE_STATIC
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
-AC_SUBST([LIBSOUPMM_MODULES], ['libsoup-2.4 >= 2.26 glibmm-2.4 >= 2.16 giomm-2.4 >= 2.16'])
+AC_SUBST([LIBSOUPMM_MODULES], ['libsoup-2.4 >= 2.28 glibmm-2.4 >= 2.16 giomm-2.4 >= 2.16'])
PKG_CHECK_MODULES([LIBSOUPMM], [$LIBSOUPMM_MODULES])
MM_PKG_CONFIG_SUBST([GTHREAD_CFLAGS], [--cflags-only-other gthread-2.0])
diff --git a/libsoup/src/libsoup_enums.defs b/libsoup/src/libsoup_enums.defs
index c87c75d..6a6f734 100644
--- a/libsoup/src/libsoup_enums.defs
+++ b/libsoup/src/libsoup_enums.defs
@@ -1,4 +1,4 @@
-;; From /usr/include/libsoup-2.4/libsoup/soup-address.h
+;; From soup-address.h
(define-enum-extended AddressFamily
(in-module "Soup")
@@ -10,7 +10,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-date.h
+;; From soup-date.h
(define-enum-extended DateFormat
(in-module "Soup")
@@ -26,7 +26,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-logger.h
+;; From soup-logger.h
(define-enum-extended LoggerLogLevel
(in-module "Soup")
@@ -39,7 +39,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-message-body.h
+;; From soup-message-body.h
(define-enum-extended MemoryUse
(in-module "Soup")
@@ -52,7 +52,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-message-headers.h
+;; From soup-message-headers.h
(define-enum-extended MessageHeadersType
(in-module "Soup")
@@ -86,7 +86,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-message.h
+;; From soup-message.h
(define-enum-extended HTTPVersion
(in-module "Soup")
@@ -104,7 +104,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-misc.h
+;; From soup-misc.h
(define-enum-extended SSLError
(in-module "Soup")
@@ -116,7 +116,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-socket.h
+;; From soup-socket.h
(define-enum-extended SocketIOStatus
(in-module "Soup")
@@ -129,7 +129,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-status.h
+;; From soup-status.h
(define-enum-extended KnownStatusCode
(in-module "Soup")
@@ -199,7 +199,7 @@
)
)
-;; From /usr/include/libsoup-2.4/libsoup/soup-xmlrpc.h
+;; From soup-xmlrpc.h
(define-enum-extended XMLRPCError
(in-module "Soup")
diff --git a/libsoup/src/libsoup_methods.defs b/libsoup/src/libsoup_methods.defs
index bd856ad..4e96f63 100644
--- a/libsoup/src/libsoup_methods.defs
+++ b/libsoup/src/libsoup_methods.defs
@@ -35,6 +35,13 @@
(gtype-id "SOUP_TYPE_AUTH_DOMAIN_DIGEST")
)
+(define-object ContentSniffer
+ (in-module "Soup")
+ (parent "GObject")
+ (c-name "SoupContentSniffer")
+ (gtype-id "SOUP_TYPE_CONTENT_SNIFFER")
+)
+
(define-object CookieJar
(in-module "Soup")
(parent "GObject")
@@ -673,6 +680,31 @@
(return-type "char*")
)
+(define-method get_saved_users
+ (of-object "SoupAuth")
+ (c-name "soup_auth_get_saved_users")
+ (return-type "GSList*")
+)
+
+(define-method get_saved_password
+ (of-object "SoupAuth")
+ (c-name "soup_auth_get_saved_password")
+ (return-type "const-char*")
+ (parameters
+ '("const-char*" "user")
+ )
+)
+
+(define-method save_password
+ (of-object "SoupAuth")
+ (c-name "soup_auth_save_password")
+ (return-type "none")
+ (parameters
+ '("const-char*" "username")
+ '("const-char*" "password")
+ )
+)
+
(define-method authenticate
(of-object "SoupAuth")
(c-name "soup_auth_authenticate")
@@ -716,6 +748,42 @@
)
)
+(define-method has_saved_password
+ (of-object "SoupAuth")
+ (c-name "soup_auth_has_saved_password")
+ (return-type "none")
+ (parameters
+ '("const-char*" "username")
+ '("const-char*" "password")
+ )
+)
+
+
+
+;; From soup-content-sniffer.h
+
+(define-function soup_content_sniffer_get_type
+ (c-name "soup_content_sniffer_get_type")
+ (return-type "GType")
+)
+
+(define-function soup_content_sniffer_new
+ (c-name "soup_content_sniffer_new")
+ (is-constructor-of "SoupContentSniffer")
+ (return-type "SoupContentSniffer*")
+)
+
+(define-method sniff
+ (of-object "SoupContentSniffer")
+ (c-name "soup_content_sniffer_sniff")
+ (return-type "char*")
+ (parameters
+ '("SoupMessage*" "msg")
+ '("SoupBuffer*" "buffer")
+ '("GHashTable**" "params")
+ )
+)
+
;; From soup-cookie-jar-text.h
@@ -2026,6 +2094,15 @@
)
)
+(define-method disable_feature
+ (of-object "SoupMessage")
+ (c-name "soup_message_disable_feature")
+ (return-type "none")
+ (parameters
+ '("GType" "feature_type")
+ )
+)
+
(define-method wrote_informational
(of-object "SoupMessage")
(c-name "soup_message_wrote_informational")
@@ -2086,6 +2163,16 @@
(return-type "none")
)
+(define-method content_sniffed
+ (of-object "SoupMessage")
+ (c-name "soup_message_content_sniffed")
+ (return-type "none")
+ (parameters
+ '("const-char*" "content_type")
+ '("GHashTable*" "params")
+ )
+)
+
(define-method restarted
(of-object "SoupMessage")
(c-name "soup_message_restarted")
@@ -2265,6 +2352,41 @@
+;; From soup-password-manager.h
+
+(define-function soup_password_manager_get_type
+ (c-name "soup_password_manager_get_type")
+ (return-type "GType")
+)
+
+(define-method get_passwords_async
+ (of-object "SoupPasswordManager")
+ (c-name "soup_password_manager_get_passwords_async")
+ (return-type "none")
+ (parameters
+ '("SoupMessage*" "msg")
+ '("SoupAuth*" "auth")
+ '("gboolean" "retrying")
+ '("GMainContext*" "async_context")
+ '("GCancellable*" "cancellable")
+ '("SoupPasswordManagerCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method get_passwords_sync
+ (of-object "SoupPasswordManager")
+ (c-name "soup_password_manager_get_passwords_sync")
+ (return-type "none")
+ (parameters
+ '("SoupMessage*" "msg")
+ '("SoupAuth*" "auth")
+ '("GCancellable*" "cancellable")
+ )
+)
+
+
+
;; From soup-portability.h
@@ -2693,6 +2815,16 @@
)
)
+(define-method get_feature_for_message
+ (of-object "SoupSession")
+ (c-name "soup_session_get_feature_for_message")
+ (return-type "SoupSessionFeature*")
+ (parameters
+ '("GType" "feature_type")
+ '("SoupMessage*" "msg")
+ )
+)
+
;; From soup-socket.h
@@ -2732,6 +2864,12 @@
)
)
+(define-method get_fd
+ (of-object "SoupSocket")
+ (c-name "soup_socket_get_fd")
+ (return-type "int")
+)
+
(define-method listen
(of-object "SoupSocket")
(c-name "soup_socket_listen")
diff --git a/libsoup/src/libsoup_signals.defs b/libsoup/src/libsoup_signals.defs
index a0d056c..b1c9a9b 100644
--- a/libsoup/src/libsoup_signals.defs
+++ b/libsoup/src/libsoup_signals.defs
@@ -47,6 +47,16 @@
;; From SoupAuth
+(define-signal save-password
+ (of-object "SoupAuth")
+ (return-type "void")
+ (when "first")
+ (parameters
+ '("const-gchar*" "p0")
+ '("const-gchar*" "p1")
+ )
+)
+
(define-property scheme-name
(of-object "SoupAuth")
(prop-type "GParamString")
@@ -195,6 +205,16 @@
(when "first")
)
+(define-signal content-sniffed
+ (of-object "SoupMessage")
+ (return-type "void")
+ (when "first")
+ (parameters
+ '("const-gchar*" "p0")
+ '("GHashTable*" "p1")
+ )
+)
+
(define-signal restarted
(of-object "SoupMessage")
(return-type "void")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]