summaryrefslogtreecommitdiff
path: root/mono
diff options
context:
space:
mode:
Diffstat (limited to 'mono')
-rw-r--r--mono/GMime.metadata33
-rw-r--r--mono/Makefile.in58
-rw-r--r--mono/gmime-api.raw34
3 files changed, 112 insertions, 13 deletions
diff --git a/mono/GMime.metadata b/mono/GMime.metadata
index 3002c45..ef8446f 100644
--- a/mono/GMime.metadata
+++ b/mono/GMime.metadata
@@ -20,11 +20,20 @@
<remove-node path="/api/namespace/callback[@name='HeaderForeachFunc']"/>
<!-- Charset -->
+ <remove-node path="/api/namespace/struct[@cname='GMimeCharset']/field[@cname='mask']"/>
+ <remove-node path="/api/namespace/struct[@cname='GMimeCharset']/field[@cname='level']"/>
<!-- Common -->
<!-- Remove the g_mime_strcase_hash/equal functions - they don't need to be public -->
<!--<remove-node path="/api/namespace/class[@name='Strcase']"/>-->
+ <!-- Encoding -->
+ <remove-node path="/api/namespace/struct[@cname='GMimeEncoding']/field[@cname='encoding']"/>
+ <remove-node path="/api/namespace/struct[@cname='GMimeEncoding']/field[@cname='encode']"/>
+ <remove-node path="/api/namespace/struct[@cname='GMimeEncoding']/field[@cname='uubuf']"/>
+ <remove-node path="/api/namespace/struct[@cname='GMimeEncoding']/field[@cname='state']"/>
+ <remove-node path="/api/namespace/struct[@cname='GMimeEncoding']/field[@cname='save']"/>
+
<!-- Events -->
<!-- Remove the g_mime_event* functions - they don't need to be public -->
<remove-node path="/api/namespace/struct[@name='Event']"/>
@@ -102,6 +111,7 @@
<remove-node path="/api/namespace/object[@cname='GMimeSignatureList']/method[@name='SetSignature']"/>
<!-- CryptoContext -->
+ <remove-node path="/api/namespace/object[@cname='GMimeCryptoContext']/method[@name='SetRequestPassword']"/>
<!-- DataWrapper -->
<attr path="/api/namespace/object[@cname='GMimeDataWrapper']/method[@name='GetStream']" name="name">GetGMimeStream</attr>
@@ -181,13 +191,17 @@
<attr path="/api/namespace/object[@cname='GMimeFilterBest']/method[@cname='g_mime_filter_best_encoding']" name="name">GetBestEncoding</attr>
<!-- GpgContext -->
+ <attr path="/api/namespace/object[@name='GpgContext']/constructor[@cname='g_mime_gpg_context_new']/*/parameter[@name='request_passwd']" name="scope">call</attr>
+
+ <!-- Pkcs7Context -->
+ <attr path="/api/namespace/object[@name='Pkcs7Context']/constructor[@cname='g_mime_pkcs7_context_new']/*/parameter[@name='request_passwd']" name="scope">call</attr>
<!-- Header -->
<remove-node path="/api/namespace/struct[@cname='GMimeHeader']"/>
<!-- HeaderList -->
<!-- We're going to implement the IEnumerable interface -->
- <add-node path="/api/namespace/object[@cname='GMimeHeaderList']">
+ <add-node path="/api/namespace/struct[@cname='GMimeHeaderList']">
<implements>
<interface name="IEnumerable"/>
</implements>
@@ -198,6 +212,7 @@
<remove-node path="/api/namespace/struct[@cname='GMimeHeaderList']/method[@name='Get']"/>
<remove-node path="/api/namespace/struct[@cname='GMimeHeaderList']/method[@name='Set']"/>
<remove-node path="/api/namespace/struct[@cname='GMimeHeaderList']/method[@name='GetIter']"/>
+ <attr path="/api/namespace/struct[@cname='GMimeHeaderList']/method[@name='RegisterWriter']/*/parameter[@name='writer']" name="scope">call</attr>
<!-- HeaderIter -->
<!-- This should really be made to be internal, but I don't know how to do that... -->
@@ -212,8 +227,16 @@
<remove-node path="/api/namespace/struct[@cname='GMimeHeaderIter']/field[@cname='cursor']"/>
<!-- iconv -->
-
+ <remove-node path="/api/namespace/class[@name='Iconv']/method[@cname='g_mime_iconv_init']"/>
+ <remove-node path="/api/namespace/class[@name='Iconv']/method[@cname='g_mime_iconv_shutdown']"/>
+ <remove-node path="/api/namespace/class[@name='Iconv']/method[@cname='g_mime_iconv_open']"/>
+ <remove-node path="/api/namespace/class[@name='Iconv']/method[@cname='g_mime_iconv_close']"/>
+ <remove-node path="/api/namespace/class[@name='Iconv']/method[@cname='g_mime_iconv_strdup']"/>
+ <remove-node path="/api/namespace/class[@name='Iconv']/method[@cname='g_mime_iconv_strndup']"/>
+
<!-- iconv-utils -->
+ <attr path="/api/namespace/class[@name='Iconv']/method[@name='LocaleToUtf8Length']" name="name">LocaleToUtf8</attr>
+ <attr path="/api/namespace/class[@name='Iconv']/method[@name='Utf8ToLocaleLength']" name="name">Utf8ToLocale</attr>
<!-- InternetAddress -->
<attr path="/api/namespace/object[@cname='InternetAddress']" name="abstract">1</attr>
@@ -316,6 +339,7 @@
<remove-node path="/api/namespace/struct[@cname='GMimeParam']/field[@cname='next']"/>
<!-- Parser -->
+ <attr path="/api/namespace/object[@cname='GMimeParser']/method[@name='SetHeaderRegex']/*/parameter[@name='header_cb']" name="scope">call</attr>
<attr path="/api/namespace/object[@cname='GMimeParser']/method[@name='ConstructPart']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GMimeParser']/method[@name='ConstructMessage']/return-type" name="owned">true</attr>
@@ -346,16 +370,21 @@
<attr path="/api/namespace/object[@cname='GMimeStream']/method[@name='Write']/*/parameter[@name='buf']" name="type">const-guint8*</attr>
<attr path="/api/namespace/object[@cname='GMimeStream']/method[@name='Write']/*/parameter[@name='buf']" name="array">true</attr>
<attr path="/api/namespace/object[@cname='GMimeStream']/method[@name='WriteString']" name="name">Write</attr>
+ <remove-node path="/api/namespace/object[@cname='GMimeStream']/method[@name='Printf']"/>
<!-- StreamFile -->
<attr path="/api/namespace/object[@cname='GMimeStreamFile']" name="hidden">true</attr>
+ <!-- StreamGIO -->
+ <remove-node path="/api/namespace/object[@cname='GMimeStreamGIO']"/>
+
<!-- StreamMem -->
<attr path="/api/namespace/object[@cname='GMimeStreamMem']/constructor[@cname='g_mime_stream_mem_new_with_byte_array']" name="hidden">true</attr>
<!-- Utils -->
<remove-node path="/api/namespace/class[@name='Utils']/method[@cname='g_mime_utils_decode_8bit']"/>
<remove-node path="/api/namespace/class[@name='Utils']/method[@cname='g_mime_utils_text_is_8bit']"/>
+ <remove-node path="/api/namespace/class[@name='Utils']/method[@cname='g_mime_utils_header_printf']"/>
<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="name">n_text</attr>
diff --git a/mono/Makefile.in b/mono/Makefile.in
index 4329e20..bda57ed 100644
--- a/mono/Makefile.in
+++ b/mono/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -16,6 +16,23 @@
@SET_MAKE@
VPATH = @srcdir@
+am__make_dryrun = \
+ { \
+ am__dry=no; \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+ *) \
+ for am__flg in $$MAKEFLAGS; do \
+ case $$am__flg in \
+ *=*|--*) ;; \
+ *n*) am__dry=yes; break;; \
+ esac; \
+ done;; \
+ esac; \
+ test $$am__dry = yes; \
+ }
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@@ -40,7 +57,11 @@ DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/gmime-sharp.dll.config.in \
$(srcdir)/gmime-sharp.pc.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/m4/vapigen.m4 $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
@@ -49,8 +70,19 @@ CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = AssemblyInfo.cs gmime-sharp.dll.config \
gmime-sharp.pc
CONFIG_CLEAN_VPATH_FILES =
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
SOURCES =
DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -84,6 +116,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
API_VERSION = @API_VERSION@
AR = @AR@
AUTOCONF = @AUTOCONF@
@@ -151,6 +184,14 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBICONV = @LIBICONV@
@@ -198,6 +239,9 @@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TAR = @TAR@
+VAPIGEN = @VAPIGEN@
+VAPIGEN_MAKEFILE = @VAPIGEN_MAKEFILE@
+VAPIGEN_VAPIDIR = @VAPIGEN_VAPIDIR@
VERSION = @VERSION@
WINDRES = @WINDRES@
abs_builddir = @abs_builddir@
@@ -375,8 +419,11 @@ clean-libtool:
-rm -rf .libs _libs
install-gapiDATA: $(gapi_DATA)
@$(NORMAL_INSTALL)
- test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)"
@list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(gapidir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(gapidir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
@@ -393,8 +440,11 @@ uninstall-gapiDATA:
dir='$(DESTDIR)$(gapidir)'; $(am__uninstall_files_from_dir)
install-pkgconfigDATA: $(pkgconfig_DATA)
@$(NORMAL_INSTALL)
- test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
diff --git a/mono/gmime-api.raw b/mono/gmime-api.raw
index a906d8b..12a5ff5 100644
--- a/mono/gmime-api.raw
+++ b/mono/gmime-api.raw
@@ -2058,6 +2058,12 @@
<parameter type="FILE*" name="fp" />
</parameters>
</constructor>
+ <constructor cname="g_mime_stream_file_new_for_path">
+ <parameters>
+ <parameter type="const-char*" name="path" />
+ <parameter type="const-char*" name="mode" />
+ </parameters>
+ </constructor>
<constructor cname="g_mime_stream_file_new_with_bounds">
<parameters>
<parameter type="FILE*" name="fp" />
@@ -2111,6 +2117,13 @@
<parameter type="int" name="fd" />
</parameters>
</constructor>
+ <constructor cname="g_mime_stream_fs_new_for_path">
+ <parameters>
+ <parameter type="const-char*" name="path" />
+ <parameter type="int" name="flags" />
+ <parameter type="int" name="mode" />
+ </parameters>
+ </constructor>
<constructor cname="g_mime_stream_fs_new_with_bounds">
<parameters>
<parameter type="int" name="fd" />
@@ -2544,7 +2557,9 @@
</parameters>
</method>
</object>
- <struct name="Charset" cname="GMimeCharset" opaque="true">
+ <struct name="Charset" cname="GMimeCharset">
+ <field name="Mask" cname="mask" type="unsigned int" />
+ <field name="Level" cname="level" type="unsigned int" />
<method name="Best" cname="g_mime_charset_best" shared="true">
<return-type type="const-char*" />
<parameters>
@@ -2613,7 +2628,12 @@
</parameters>
</method>
</struct>
- <struct name="Encoding" cname="GMimeEncoding" opaque="true">
+ <struct name="Encoding" cname="GMimeEncoding">
+ <field name="Encoding" cname="encoding" type="GMimeContentEncoding" />
+ <field name="Uubuf" cname="uubuf" array_len="60" type="unsigned char" />
+ <field name="Encode" cname="encode" type="gboolean" />
+ <field name="Save" cname="save" type="guint32" />
+ <field name="State" cname="state" type="int" />
<method name="Base64DecodeStep" cname="g_mime_encoding_base64_decode_step" shared="true">
<return-type type="size_t" />
<parameters>
@@ -3190,7 +3210,7 @@
<method name="HeaderFold" cname="g_mime_utils_header_fold" shared="true">
<return-type type="char*" />
<parameters>
- <parameter type="const-char*" name="str" />
+ <parameter type="const-char*" name="header" />
</parameters>
</method>
<method name="HeaderFormatDate" cname="g_mime_utils_header_format_date" shared="true">
@@ -3203,8 +3223,8 @@
<method name="HeaderPrintf" cname="g_mime_utils_header_printf" shared="true">
<return-type type="char*" />
<parameters>
- <parameter type="const-char*" name="format" />
- <parameter ellipsis="true" />
+ <parameter type="const-char*" name="format" printf_format="true" />
+ <parameter ellipsis="true" printf_format_args="true" />
</parameters>
</method>
<method name="QuoteString" cname="g_mime_utils_quote_string" shared="true">
@@ -3216,7 +3236,7 @@
<method name="StructuredHeaderFold" cname="g_mime_utils_structured_header_fold" shared="true">
<return-type type="char*" />
<parameters>
- <parameter type="const-char*" name="str" />
+ <parameter type="const-char*" name="header" />
</parameters>
</method>
<method name="TextIs8bit" cname="g_mime_utils_text_is_8bit" shared="true">
@@ -3235,7 +3255,7 @@
<method name="UnstructuredHeaderFold" cname="g_mime_utils_unstructured_header_fold" shared="true">
<return-type type="char*" />
<parameters>
- <parameter type="const-char*" name="str" />
+ <parameter type="const-char*" name="header" />
</parameters>
</method>
</class>