aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-22 16:13:34 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-22 16:13:34 +0800
commit6b21505b40126e00636603c705b771e5c857beef (patch)
tree10fe4552acfa8cb61a1a1972a723eaefff30b110 /camel
parent4cd6866203afabc052140bbd5a6823483b017534 (diff)
downloadgsoc2013-evolution-6b21505b40126e00636603c705b771e5c857beef.tar.gz
gsoc2013-evolution-6b21505b40126e00636603c705b771e5c857beef.tar.zst
gsoc2013-evolution-6b21505b40126e00636603c705b771e5c857beef.zip
added a reset method. Thanks message-browser to find so much bugs :)
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org> * camel-stream-b64.c (reset__static): added a reset method. Thanks message-browser to find so much bugs :) * providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd Unicode libs. * shell/Makefile.am (evolution_LDADD): add libetext.a. Fixes. svn path=/trunk/; revision=1900
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog9
-rw-r--r--camel/camel-stream-b64.c25
-rw-r--r--camel/providers/mbox/Makefile.am2
3 files changed, 33 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index fe9cac7d0e..96d6de92d9 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,12 @@
+2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
+
+ * camel-stream-b64.c (reset__static): added a
+ reset method. Thanks message-browser to find
+ so much bugs :)
+
+ * providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd
+ Unicode libs.
+
2000-02-21 bertrand <Bertrand.Guiheneuf@aful.org>
* camel-formatter.c (lookup_unique_id):
diff --git a/camel/camel-stream-b64.c b/camel/camel-stream-b64.c
index f43e89d982..f2155a2c95 100644
--- a/camel/camel-stream-b64.c
+++ b/camel/camel-stream-b64.c
@@ -80,6 +80,8 @@ static gint read__static (CamelStream *strea
gchar *buffer,
gint n);
+static void reset__static (CamelStream *stream);
+
static gint read_decode__static (CamelStream *stream,
gchar *buffer,
gint n);
@@ -98,8 +100,9 @@ camel_stream_b64_class_init (CamelStreamB64Class *camel_stream_b64_class)
/* virtual method overload */
- camel_stream_class->read = read__static;
- camel_stream_class->eos = eos__static;
+ camel_stream_class->read = read__static;
+ camel_stream_class->eos = eos__static;
+ camel_stream_class->reset = reset__static;
/* signal definition */
@@ -303,3 +306,21 @@ eos__static (CamelStream *stream)
return (stream_b64->eos || camel_stream_eos (stream_b64->input_stream));
}
+
+
+
+
+
+static void
+reset__static (CamelStream *stream)
+{
+ CamelStreamB64 *stream_b64 = CAMEL_STREAM_B64 (stream);
+
+ g_assert (stream);
+ g_assert (stream_b64->input_stream);
+
+ stream_b64->decode_status.keep = 0;
+ stream_b64->decode_status.state = 0;
+
+ camel_stream_reset (stream_b64->input_stream);
+}
diff --git a/camel/providers/mbox/Makefile.am b/camel/providers/mbox/Makefile.am
index d999f4a21e..f3d80606ae 100644
--- a/camel/providers/mbox/Makefile.am
+++ b/camel/providers/mbox/Makefile.am
@@ -35,6 +35,6 @@ libcamelmboxinclude_HEADERS = \
libcamelmbox_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
-libcamelmbox_la_LIBADD = $(top_builddir)/filter/libfilter.la $(top_builddir)/libibex/libibex.la
+libcamelmbox_la_LIBADD = $(top_builddir)/filter/libfilter.la $(top_builddir)/libibex/libibex.la $(UNICODE_LIBS)
EXTRA_DIST =
-261-3/+1 * bump PORTREVISION after security/openssl update [1];bf2012-04-191-3/+10 * update security/tor to 0.2.2.35 and security/tor-devel to 0.2.3.10-alphabf2011-12-171-1/+1 * update and sort MASTER_SITESbf2011-12-091-3/+17 * update tor to 0.2.2.34, and tor-devel to 0.2.3.6-alphabf2011-10-281-2/+1 * use a more common form of openssl handlingbf2011-10-041-3/+4 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+1 * add an option to use GNU make for those who wishbf2011-09-241-2/+8 * add a few mirrors and mark MAKE_JOBS_UNSAFE [1]bf2011-09-201-0/+5 * update to 0.2.2.33bf2011-09-171-3/+2 * fix linking in the WITH_TCMALLOC case withoutbf2011-09-101-1/+2 * - Chase devel/google-perftools shlib bumppawel2011-09-071-0/+2 * update to 0.2.2.32bf2011-08-311-12/+18 * remove a problematic mirror, based upon repeatedbf2011-08-051-1/+0 * reposition LICENSE* and add recent mirror changesbf2011-07-241-5/+12 * Avoid redirects on the primary master sitebf2011-07-211-1/+1 * - update tor-devel to 0.2.3.1-alphabf2011-05-081-6/+6 * - update to 0.2.1.30 (also submittedbf2011-03-021-10/+9 * - Chase devel/google-perftools shlib bumpmiwi2011-02-271-0/+1 * - Remove an unnecessary addition to CPPFLAGSbf2011-01-291-3/+0 * - Update to 0.2.1.29bf2011-01-201-3/+2 * - update MASTER_SITES on the basis of distilator results and:bf2011-01-021-5/+22 * - Update to 0.2.1.28miwi2010-12-211-2/+1 * --Add LICENSE informationbf2010-08-301-10/+7 * Update libevent to 1.4.14bmm2010-07-251-0/+1 * - Update to 0.2.1.26miwi2010-05-251-1/+1 * - Update to 0.2.1.25miwi2010-03-211-1/+1 * - Update to 0.2.1.24miwi2010-03-101-1/+1 * - Update to 0.2.1.22miwi2010-01-221-2/+4 * - Update to 0.2.1.21miwi2009-12-261-1/+1 * - Update to 0.2.1.20miwi2009-11-041-1/+1 * - Update to 0.2.1.19miwi2009-07-291-1/+1 * - Update to 0.2.1.18miwi2009-07-271-7/+14 * - Update to 0.2.0.35miwi2009-07-081-1/+1 * - Update to 0.2.0.34miwi2009-02-131-2/+1 * - Update to 0.2.0.33miwi2009-01-301-2/+2 * - Remove --User param from initialization since rc(8) uses su(1) when a vargarga2008-11-281-1/+1 * - Fix rc script (remove --Group flag)miwi2008-11-261-0/+1 * - Update to 0.2.0.32miwi2008-11-231-1/+1 * - Update to 0.2.0.31miwi2008-09-051-2/+1 * - Chase libevent shlib bumpmiwi2008-08-211-1/+2 * - Update to 0.2.0.30miwi2008-08-201-21/+37 * - Take maintainershipmiwi2008-08-201-1/+1 * Reset nivo+kw+ports.bfa274@is-root.com due to lack of time to worklinimon2008-08-201-1/+1 * - Update libevent dependency and bump PORTREVISIONmnag2008-08-201-2/+2 * - Fix Log dirmiwi2008-03-211-0/+1 * - Update to 0.1.2.19rafan2008-03-161-3/+2 * - Bump PORTREVISION since devel/libevent are updated.mnag2008-01-031-2/+2 * - Change libevent lib and bump PORTREVISION since devel/libevent are updated.mnag2007-09-221-1/+2 * Update to 0.1.2.17arved2007-09-031-1/+1 * - Update to 0.1.2.16rafan2007-08-111-1/+1 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-1/+0 * - Update to 0.1.2.14miwi2007-06-051-12/+56 * - Bump PORTREVISION and change LIB_DEPENDS to reflect libevent update.mnag2007-04-071-1/+2 * - Use pre-su-install to allow make install as normal userrafan2007-02-121-1/+1 * - Update to 0.1.1.26miwi2006-12-161-2/+1 * - Bump PORT_REVISION and change LIB_DEPENDS to reflect update in devel/libeventmnag2006-12-051-1/+2 * Update to version 0.1.1.25.laszlof2006-11-081-1/+1 * - Update to 0.1.1.24clsung2006-09-301-1/+1 * Update to 0.1.1.23arved2006-08-061-1/+1 * - Update tor to 1.1.20 (former development branch)johans2006-08-031-9/+17 * - update dependencies for libevent-1.2leeym2006-06-301-1/+1 * - Update to 0.1.0.17pav2006-03-16