gmime r1295 - in trunk: . docs/reference gmime mono
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1295 - in trunk: . docs/reference gmime mono
- Date: Wed, 28 May 2008 03:06:15 +0000 (UTC)
Author: fejj
Date: Wed May 28 03:06:15 2008
New Revision: 1295
URL: http://svn.gnome.org/viewvc/gmime?rev=1295&view=rev
Log:
(g_mime_utils_8bit_header_decode): Removed.
(g_mime_utils_8bit_header_encode): Removed.
(g_mime_utils_8bit_header_encode_phrase): Removed.
Modified:
trunk/ChangeLog
trunk/docs/reference/gmime-sections.txt
trunk/gmime/gmime-utils.c
trunk/gmime/gmime-utils.h
trunk/mono/GMime.metadata
trunk/mono/gmime-api.raw
Modified: trunk/docs/reference/gmime-sections.txt
==============================================================================
--- trunk/docs/reference/gmime-sections.txt (original)
+++ trunk/docs/reference/gmime-sections.txt Wed May 28 03:06:15 2008
@@ -880,9 +880,6 @@
g_mime_utils_header_encode_text
g_mime_utils_header_decode_phrase
g_mime_utils_header_encode_phrase
-g_mime_utils_8bit_header_decode
-g_mime_utils_8bit_header_encode
-g_mime_utils_8bit_header_encode_phrase
g_mime_utils_structured_header_fold
g_mime_utils_unstructured_header_fold
GMIME_BASE64_ENCODE_LEN
Modified: trunk/gmime/gmime-utils.c
==============================================================================
--- trunk/gmime/gmime-utils.c (original)
+++ trunk/gmime/gmime-utils.c Wed May 28 03:06:15 2008
@@ -2501,63 +2501,6 @@
/**
- * g_mime_utils_8bit_header_decode:
- * @text: text to decode
- *
- * Decodes an rfc2047 encoded header.
- *
- * WARNING: This function is deprecated. Use
- * g_mime_utils_header_decode_text() instead.
- *
- * Returns the decoded header (which will be in UTF-8 if at all
- * possible).
- **/
-char *
-g_mime_utils_8bit_header_decode (const unsigned char *text)
-{
- return g_mime_utils_header_decode_text ((const char *) text);
-}
-
-
-/**
- * g_mime_utils_8bit_header_encode:
- * @text: text to encode
- *
- * Encodes a 'text' header according to the rules in rfc2047.
- *
- * WARNING: This function is deprecated. Use
- * g_mime_utils_header_encode_text() instead.
- *
- * Returns the encoded header. Useful for encoding
- * headers like "Subject".
- **/
-char *
-g_mime_utils_8bit_header_encode (const unsigned char *text)
-{
- return g_mime_utils_header_encode_text ((const char *) text);
-}
-
-
-/**
- * g_mime_utils_8bit_header_encode_phrase:
- * @text: text to encode
- *
- * Encodes a 'phrase' header according to the rules in rfc2047.
- *
- * WARNING: This function is deprecated. Use
- * g_mime_utils_header_encode_phrase() instead.
- *
- * Returns the encoded 'phrase'. Useful for encoding internet
- * addresses.
- **/
-char *
-g_mime_utils_8bit_header_encode_phrase (const unsigned char *text)
-{
- return g_mime_utils_header_encode_phrase ((const char *) text);
-}
-
-
-/**
* g_mime_utils_base64_encode_close:
* @inbuf: input buffer
* @inlen: input buffer length
Modified: trunk/gmime/gmime-utils.h
==============================================================================
--- trunk/gmime/gmime-utils.h (original)
+++ trunk/gmime/gmime-utils.h Wed May 28 03:06:15 2008
@@ -172,12 +172,6 @@
char *g_mime_utils_header_decode_phrase (const char *phrase);
char *g_mime_utils_header_encode_phrase (const char *phrase);
-#ifndef GMIME_DISABLE_DEPRECATED
-char *g_mime_utils_8bit_header_decode (const unsigned char *text);
-char *g_mime_utils_8bit_header_encode (const unsigned char *text);
-char *g_mime_utils_8bit_header_encode_phrase (const unsigned char *text);
-#endif
-
/* do incremental base64 (de/en)coding */
size_t g_mime_utils_base64_decode_step (const unsigned char *inbuf, size_t inlen, unsigned char *outbuf, int *state, guint32 *save);
size_t g_mime_utils_base64_encode_step (const unsigned char *inbuf, size_t inlen, unsigned char *outbuf, int *state, guint32 *save);
Modified: trunk/mono/GMime.metadata
==============================================================================
--- trunk/mono/GMime.metadata (original)
+++ trunk/mono/GMime.metadata Wed May 28 03:06:15 2008
@@ -33,11 +33,6 @@
<attr path="/api/namespace/enum/member[ cname='GMIME_STREAM_SEEK_CUR']" name="value">1</attr>
<attr path="/api/namespace/enum/member[ cname='GMIME_STREAM_SEEK_END']" name="value">2</attr>
- <!-- Remove some deprecated APIs -->
- <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 some utility parser functions: decode_word, decode_lwsp, etc -->
<remove-node path="/api/namespace/class[ name='Decode']"/>
Modified: trunk/mono/gmime-api.raw
==============================================================================
--- trunk/mono/gmime-api.raw (original)
+++ trunk/mono/gmime-api.raw Wed May 28 03:06:15 2008
@@ -2441,24 +2441,6 @@
</method>
</class>
<class name="Utils" cname="GMimeUtils_">
- <method name="8BitHeaderDecode" cname="g_mime_utils_8bit_header_decode" deprecated="1" shared="true">
- <return-type type="char*" />
- <parameters>
- <parameter type="const-unsigned-char*" name="text" />
- </parameters>
- </method>
- <method name="8BitHeaderEncode" cname="g_mime_utils_8bit_header_encode" deprecated="1" shared="true">
- <return-type type="char*" />
- <parameters>
- <parameter type="const-unsigned-char*" name="text" />
- </parameters>
- </method>
- <method name="8BitHeaderEncodePhrase" cname="g_mime_utils_8bit_header_encode_phrase" deprecated="1" shared="true">
- <return-type type="char*" />
- <parameters>
- <parameter type="const-unsigned-char*" name="text" />
- </parameters>
- </method>
<method name="Base64DecodeStep" cname="g_mime_utils_base64_decode_step" shared="true">
<return-type type="size_t" />
<parameters>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]