gmime r1291 - trunk/mono
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1291 - trunk/mono
- Date: Wed, 28 May 2008 00:51:25 +0000 (UTC)
Author: fejj
Date: Wed May 28 00:51:25 2008
New Revision: 1291
URL: http://svn.gnome.org/viewvc/gmime?rev=1291&view=rev
Log:
removed some nodes that are no longer needed
Modified:
trunk/mono/GMime.metadata
trunk/mono/Makefile.am
trunk/mono/gmime-api.raw
Modified: trunk/mono/GMime.metadata
==============================================================================
--- trunk/mono/GMime.metadata (original)
+++ trunk/mono/GMime.metadata Wed May 28 00:51:25 2008
@@ -37,8 +37,6 @@
<remove-node path="/api/namespace/class[ name='Utils']/method[ name='8BitHeaderDecode']"/>
<remove-node path="/api/namespace/class[ name='Utils']/method[ name='8BitHeaderEncode']"/>
<remove-node path="/api/namespace/class[ name='Utils']/method[ name='8BitHeaderEncodePhrase']"/>
- <remove-node path="/api/namespace/struct[ name='CipherValidity']"/>
- <remove-node path="/api/namespace/class[ name='Cipher']"/>
<!-- Remove some utility parser functions: decode_word, decode_lwsp, etc -->
<remove-node path="/api/namespace/class[ name='Decode']"/>
@@ -46,14 +44,11 @@
<!-- Remove the g_mime_strcase_hash/equal functions - they don't need to be public -->
<remove-node path="/api/namespace/class[ name='Strcase']"/>
- <!-- Rename some GMimeDisposition methods -->
- <attr path="/api/namespace/struct[ cname='GMimeDisposition']" name="name">ContentDisposition</attr>
- <attr path="/api/namespace/struct[ cname='GMimeDisposition']/method[ name='Get']" name="name">GetDisposition</attr>
- <attr path="/api/namespace/struct[ cname='GMimeDisposition']/method[ name='Set']" name="name">SetDisposition</attr>
-
<!-- Clean up some unnecessary helper methods from GMimeObject -->
<remove-node path="/api/namespace/object[ cname='GMimeObject']/method[ cname='g_mime_object_get_content_type_parameter']"/>
<remove-node path="/api/namespace/object[ cname='GMimeObject']/method[ cname='g_mime_object_set_content_type_parameter']"/>
+ <remove-node path="/api/namespace/object[ cname='GMimeObject']/method[ cname='g_mime_object_get_content_disposition_parameter']"/>
+ <remove-node path="/api/namespace/object[ cname='GMimeObject']/method[ cname='g_mime_object_set_content_disposition_parameter']"/>
<!-- Remove duplicate functionality from GMimeMessage -->
<remove-node path="/api/namespace/object[ cname='GMimeMessage']/method[ cname='g_mime_message_add_header']"/>
@@ -63,21 +58,6 @@
<remove-node path="/api/namespace/object[ cname='GMimeMessage']/method[ cname='g_mime_message_get_date']"/>
<remove-node path="/api/namespace/object[ cname='GMimeMessage']/method[ cname='g_mime_message_set_date']"/>
- <!-- Change some GMimePart APIs -->
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_get_content_disposition']"/>
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_set_content_disposition']"/>
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_get_content_disposition_parameter']"/>
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_set_content_disposition_parameter']"/>
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_add_content_disposition_parameter']"/>
- <attr path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_get_content_disposition_object']" name="name">GetContentDisposition</attr>
- <attr path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_set_content_disposition_object']" name="name">SetContentDisposition</attr>
-
- <!-- Remove deprecated GMimePart APIs -->
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_set_content_byte_array']"/>
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_set_content']"/>
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_set_pre_encoded_content']"/>
- <remove-node path="/api/namespace/object[ cname='GMimePart']/method[ cname='g_mime_part_get_content']"/>
-
<!-- Rename some GMimeDataWrapper methods -->
<attr path="/api/namespace/object[ cname='GMimeDataWrapper']/method[ name='GetStream']" name="name">GetGMimeStream</attr>
<attr path="/api/namespace/object[ cname='GMimeDataWrapper']/method[ name='SetStream']" name="name">SetGMimeStream</attr>
@@ -91,12 +71,9 @@
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inbuf']" name="type">const-guint8*</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inbuf']" name="array">true</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inlen']" name="name">n_inbuf</attr>
- <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='n_inbuf']" name="type">guint32</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outbuf']" name="type">guint8**</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outbuf']" name="array">true</attr>
- <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outlen']" name="type">guint32</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outlen']" name="pass_as">out</attr>
- <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outprespace']" name="type">guint32</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outprespace']" name="pass_as">out</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/method[ name='Backup']/*/parameter[ name='data']" name="name">buf</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/method[ name='Backup']/*/parameter[ name='buf']" name="type">const-guint8*</attr>
@@ -106,7 +83,7 @@
<!-- Fix up some other method names -->
<attr path="/api/namespace/object[ cname='GMimeMultipart']/method[ name='Foreach']" name="name">ForeachPart</attr>
<attr path="/api/namespace/object[ cname='GMimeStream']/method[ name='Length']" name="name">GetLength</attr>
- <attr path="/api/namespace/class[ name='Global']/method[ name='UserCharsets']" name="name">GetUserCharsets</attr>
+<attr path="/api/namespace/class[ name='Global']/method[ name='UserCharsets']" name="name">GetUserCharsets</attr>
<attr path="/api/namespace/class[ name='Locale']/method[ name='Charset']" name="name">GetCharset</attr>
<attr path="/api/namespace/class[ name='Locale']/method[ name='Language']" name="name">GetLanguage</attr>
@@ -130,7 +107,6 @@
<attr path="/api/namespace/class[ name='Utils']/*/*/parameter[ name='inbuf']" name="type">const-guint8*</attr>
<attr path="/api/namespace/class[ name='Utils']/*/*/parameter[ name='inbuf']" name="array">true</attr>
<attr path="/api/namespace/class[ name='Utils']/*/*/parameter[ name='inlen']" name="name">n_inbuf</attr>
- <attr path="/api/namespace/class[ name='Utils']/*/*/parameter[ name='n_inbuf']" name="type">guint32</attr>
<attr path="/api/namespace/class[ name='Utils']/*/*/parameter[ name='uubuf']" name="type">guint8*</attr>
<attr path="/api/namespace/class[ name='Utils']/*/*/parameter[ name='uubuf']" name="array">true</attr>
<attr path="/api/namespace/class[ name='Utils']/*/*/parameter[ name='outbuf']" name="type">guint8*</attr>
@@ -143,7 +119,6 @@
<remove-node path="/api/namespace/class[ name='Utils']/method[ cname='g_mime_utils_text_is_8bit']"/>
<attr path="/api/namespace/class[ name='Utils']/method[ cname='g_mime_utils_best_encoding']/*/parameter[ name='text']" name="type">const-guint8*</attr>
<attr path="/api/namespace/class[ name='Utils']/method[ cname='g_mime_utils_best_encoding']/*/parameter[ name='text']" name="array">true</attr>
- <attr path="/api/namespace/class[ name='Utils']/method[ cname='g_mime_utils_best_encoding']/*/parameter[ name='len']" name="type">guint32</attr>
<attr path="/api/namespace/class[ name='Utils']/method[ cname='g_mime_utils_best_encoding']/*/parameter[ name='len']" name="name">n_text</attr>
<!-- Hide some problematic and nonsensical elements -->
Modified: trunk/mono/Makefile.am
==============================================================================
--- trunk/mono/Makefile.am (original)
+++ trunk/mono/Makefile.am Wed May 28 00:51:25 2008
@@ -90,4 +90,4 @@
fi
parse:
- gapi-parser $(SOURCES_XML)
+ $(GAPI_PARSER) $(SOURCES_XML)
Modified: trunk/mono/gmime-api.raw
==============================================================================
--- trunk/mono/gmime-api.raw (original)
+++ trunk/mono/gmime-api.raw Wed May 28 00:51:25 2008
@@ -1324,9 +1324,6 @@
<method name="GetContentObject" cname="g_mime_part_get_content_object">
<return-type type="GMimeDataWrapper*" />
</method>
- <method name="GetContentType" cname="g_mime_part_get_content_type">
- <return-type type="const-GMimeContentType*" />
- </method>
<method name="GetEncoding" cname="g_mime_part_get_encoding">
<return-type type="GMimePartEncodingType" />
</method>
@@ -1380,12 +1377,6 @@
<parameter type="GMimeDataWrapper*" name="content" />
</parameters>
</method>
- <method name="SetContentType" cname="g_mime_part_set_content_type">
- <return-type type="void" />
- <parameters>
- <parameter type="GMimeContentType*" name="mime_type" />
- </parameters>
- </method>
<method name="SetEncoding" cname="g_mime_part_set_encoding">
<return-type type="void" />
<parameters>
@@ -1906,39 +1897,6 @@
</parameters>
</method>
</struct>
- <struct name="CipherValidity" cname="GMimeCipherValidity" opaque="true">
- <field name="Status" cname="status" type="GMimeSignatureStatus" access="public" writeable="true" />
- <field name="Signers" cname="signers" type="GMimeSigner*" access="public" writeable="true" />
- <field name="Details" cname="details" type="char*" access="public" writeable="true" />
- <method name="Clear" cname="g_mime_cipher_validity_clear" deprecated="1">
- <return-type type="void" />
- </method>
- <method name="Free" cname="g_mime_cipher_validity_free" deprecated="1">
- <return-type type="void" />
- </method>
- <method name="GetDescription" cname="g_mime_cipher_validity_get_description" deprecated="1">
- <return-type type="const-char*" />
- </method>
- <method name="GetValid" cname="g_mime_cipher_validity_get_valid" deprecated="1">
- <return-type type="gboolean" />
- </method>
- <method name="Init" cname="g_mime_cipher_validity_init" deprecated="1">
- <return-type type="void" />
- </method>
- <constructor cname="g_mime_cipher_validity_new" deprecated="1" />
- <method name="SetDescription" cname="g_mime_cipher_validity_set_description" deprecated="1">
- <return-type type="void" />
- <parameters>
- <parameter type="const-char*" name="description" />
- </parameters>
- </method>
- <method name="SetValid" cname="g_mime_cipher_validity_set_valid" deprecated="1">
- <return-type type="void" />
- <parameters>
- <parameter type="gboolean" name="valid" />
- </parameters>
- </method>
- </struct>
<struct name="ContentDisposition" cname="GMimeContentDisposition" opaque="true">
<field name="Disposition" cname="disposition" type="char*" access="public" writeable="true" />
<field name="Params" cname="params" type="GMimeParam*" access="public" writeable="true" />
@@ -2360,81 +2318,6 @@
</parameters>
</method>
</class>
- <class name="Cipher" cname="GMimeCipher_">
- <method name="Decrypt" cname="g_mime_cipher_decrypt" deprecated="1" shared="true">
- <return-type type="int" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="GMimeStream*" name="istream" />
- <parameter type="GMimeStream*" name="ostream" />
- <parameter type="GError**" name="err" />
- </parameters>
- </method>
- <method name="Encrypt" cname="g_mime_cipher_encrypt" deprecated="1" shared="true">
- <return-type type="int" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="gboolean" name="sign" />
- <parameter type="const-char*" name="userid" />
- <parameter type="GPtrArray*" name="recipients" />
- <parameter type="GMimeStream*" name="istream" />
- <parameter type="GMimeStream*" name="ostream" />
- <parameter type="GError**" name="err" />
- </parameters>
- </method>
- <method name="ExportKeys" cname="g_mime_cipher_export_keys" deprecated="1" shared="true">
- <return-type type="int" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="GPtrArray*" name="keys" />
- <parameter type="GMimeStream*" name="ostream" />
- <parameter type="GError**" name="err" />
- </parameters>
- </method>
- <method name="HashId" cname="g_mime_cipher_hash_id" deprecated="1" shared="true">
- <return-type type="GMimeCipherHash" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="const-char*" name="hash" />
- </parameters>
- </method>
- <method name="HashName" cname="g_mime_cipher_hash_name" deprecated="1" shared="true">
- <return-type type="const-char*" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="GMimeCipherHash" name="hash" />
- </parameters>
- </method>
- <method name="ImportKeys" cname="g_mime_cipher_import_keys" deprecated="1" shared="true">
- <return-type type="int" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="GMimeStream*" name="istream" />
- <parameter type="GError**" name="err" />
- </parameters>
- </method>
- <method name="Sign" cname="g_mime_cipher_sign" deprecated="1" shared="true">
- <return-type type="int" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="const-char*" name="userid" />
- <parameter type="GMimeCipherHash" name="hash" />
- <parameter type="GMimeStream*" name="istream" />
- <parameter type="GMimeStream*" name="ostream" />
- <parameter type="GError**" name="err" />
- </parameters>
- </method>
- <method name="Verify" cname="g_mime_cipher_verify" deprecated="1" shared="true">
- <return-type type="GMimeSignatureValidity*" />
- <parameters>
- <parameter type="GMimeCipherContext*" name="ctx" />
- <parameter type="GMimeCipherHash" name="hash" />
- <parameter type="GMimeStream*" name="istream" />
- <parameter type="GMimeStream*" name="sigstream" />
- <parameter type="GError**" name="err" />
- </parameters>
- </method>
- </class>
<class name="Decode" cname="GMimeDecode_">
<method name="Domain" cname="g_mime_decode_domain" shared="true">
<return-type type="char*" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]