vala r920 - in trunk: . vapi vapi/packages/libsoup-2.2 vapigen



Author: juergbi
Date: Tue Jan 29 07:33:47 2008
New Revision: 920
URL: http://svn.gnome.org/viewvc/vala?rev=920&view=rev

Log:
2008-01-29  Juerg Billeter  <j bitron ch>

	* vapigen/valagidlparser.vala: support transfer_ownership attribute
	  for function parameters

	* vapi/packages/libsoup-2.2/: fix soup_session_queue_message binding

	* vapi/libsoup-2.2.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/libsoup-2.2.vapi
   trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata
   trunk/vapigen/valagidlparser.vala

Modified: trunk/vapi/libsoup-2.2.vapi
==============================================================================
--- trunk/vapi/libsoup-2.2.vapi	(original)
+++ trunk/vapi/libsoup-2.2.vapi	Tue Jan 29 07:33:47 2008
@@ -445,7 +445,7 @@
 		public virtual void cancel_message (Soup.Message msg);
 		public weak GLib.MainContext get_async_context ();
 		public weak Soup.Connection get_connection (Soup.Message msg, bool try_pruning, bool is_new);
-		public virtual void queue_message (Soup.Message msg, Soup.MessageCallbackFn callback, pointer user_data);
+		public virtual void queue_message (Soup.Message# msg, Soup.MessageCallbackFn callback, pointer user_data);
 		public void remove_filter (Soup.MessageFilter filter);
 		public virtual void requeue_message (Soup.Message msg);
 		public virtual uint send_message (Soup.Message msg);

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	Tue Jan 29 07:33:47 2008
@@ -19,6 +19,7 @@
 soup_mktime_utc hidden="1"
 soup_server_new ellipsis="1"
 SoupServerAuthContext.realm hidden="1"
+soup_session_queue_message.msg transfer_ownership="1"
 SoupSoap hidden="1"
 SoupSoapMessage hidden="1"
 SoupSoapResponse hidden="1"

Modified: trunk/vapigen/valagidlparser.vala
==============================================================================
--- trunk/vapigen/valagidlparser.vala	(original)
+++ trunk/vapigen/valagidlparser.vala	Tue Jan 29 07:33:47 2008
@@ -1262,6 +1262,10 @@
 						if (eval (nv[1]) == "1") {
 							param_type.nullable = true;
 						}
+					} else if (nv[0] == "transfer_ownership") {
+						if (eval (nv[1]) == "1") {
+							param_type.transfers_ownership = true;
+						}
 					}
 				}
 			}



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