aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog9
-rw-r--r--camel/camel-mime-part.c3
-rw-r--r--camel/camel-stream-b64.c6
-rw-r--r--camel/gmime-utils.c5
4 files changed, 19 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 7a1e304924..e8657d6d3b 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,12 @@
+2000-02-29 bertrand <bertrand@helixcode.com>
+
+ * gmime-utils.c (_store_header_pair_from_string):
+ revert strange changes.
+
+ * camel-stream-b64.c (my_read_decode): set eos to true when we
+ have read the whole input stream.
+ (my_reset): set eos to FALSE.
+
2000-02-28 NotZed <NotZed@HelixCode.com>
* camel-mime-part.c (_parse_header_pair): Dont free this either.
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index b02bbe8713..f9fb82cdc3 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -630,7 +630,7 @@ _get_content_object (CamelMedium *medium)
break;
}
-
+ printf ("*************************** encoding : %d\n", mime_part->encoding);
camel_mime_part_construct_content_from_stream (mime_part, decoded_stream);
} else {
@@ -923,6 +923,7 @@ camel_mime_part_encoding_to_string (CamelMimePartEncodingType encoding)
CamelMimePartEncodingType
camel_mime_part_encoding_from_string (const gchar *string)
{
+ printf ("*************** encoding string : _%s_\n", string);
if (strcmp (string, "7bit") == 0)
return CAMEL_MIME_PART_ENCODING_7BIT;
else if (strcmp (string, "8bit") == 0)
diff --git a/camel/camel-stream-b64.c b/camel/camel-stream-b64.c
index 40427caca2..53c708fd14 100644
--- a/camel/camel-stream-b64.c
+++ b/camel/camel-stream-b64.c
@@ -228,7 +228,6 @@ my_read (CamelStream *stream,
g_assert (stream);
-
if (stream_b64->mode == CAMEL_STREAM_B64_DECODER)
return my_read_decode (stream, buffer, n);
else
@@ -303,6 +302,9 @@ my_read_decode (CamelStream *stream,
}
+ if ((nb_read_in_input == 0) && (camel_stream_eos (input_stream)))
+ stream_b64->eos = TRUE;
+
return j;
}
@@ -542,6 +544,8 @@ my_reset (CamelStream *stream)
stream_b64->status.decode_status.keep = 0;
stream_b64->status.decode_status.state = 0;
+ stream_b64->eos = FALSE;
+
camel_stream_reset (stream_b64->input_stream);
}
diff --git a/camel/gmime-utils.c b/camel/gmime-utils.c
index d903eb8a71..01d35772ed 100644
--- a/camel/gmime-utils.c
+++ b/camel/gmime-utils.c
@@ -130,13 +130,14 @@ _store_header_pair_from_string (GArray *header_array, gchar *header_line)
if (header_line) {
+#if 0
char *p = strchr(header_line, ':');
if (p) {
header.name = g_strndup(header_line, p-header_line);
header.value = g_strdup(p+1);
g_array_append_val (header_array, header);
}
-#if 0
+#endif
dich_result = string_dichotomy ( header_line, ':',
&header_name, &header_value,
STRING_DICHOTOMY_NONE);
@@ -159,7 +160,7 @@ _store_header_pair_from_string (GArray *header_array, gchar *header_line)
header.value = header_value;
g_array_append_val (header_array, header);
}
-#endif
+
}
CAMEL_LOG_FULL_DEBUG ( "_store_header_pair_from_string:: Leaving\n");
'>2006-11-012-9/+6 * Disable the cjk patch, same with freetype2, it doesn't build.mezz2006-10-171-5/+5 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-5/+5 * Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-142-6/+10 * Chase the new site.thierry2006-09-253-10/+9 * The author's page disapeared: host the distfile untill it will come back.thierry2006-09-031-2/+3 * NO_CDROM and NO_PACKAGE are not appropriate; use RESTRICTED insteadkris2006-09-031-2/+1 * NO_PACKAGE is not appropriate; use RESTRICTED instead. Mark BROKEN sincekris2006-09-031-1/+2 * - Use ../etc/fonts/conf.d mechanism for font configpav2006-08-296-36/+32 * Add junicode, a unicode font for medievalists (Latin, IPA and Runic).ehaupt2006-08-285-0/+63 * Commit my own version of DESTDIR-introduction recovery and modify themi2006-08-252-3/+6 * - Unbreakmiwi2006-08-211-5/+3 * - Update to 2.9ahze2006-08-212-4/+4 * - Update maintainer addressesmiwi2006-08-201-1/+1 * BROKEN: Does not buildkris2006-08-181-0/+2 * Fix after DESTDIR support was added.erwin2006-08-091-4/+3 * - Upgrade to 1.16;thierry2006-08-044-75/+16 * Update to 0.40erwin2006-08-013-60/+63 * - Update to 3.0.9itetcu2006-07-1910-33/+285 * - Unbreakmiwi2006-07-192-3/+5 * Note to self: first coffee, then commit.erwin2006-07-181-0/+0 * Readd the empty fonts.alias.cyberbit which is here in preparation forerwin2006-07-181-0/+0 * Remove fonts.alias stuffs.maho2006-07-184-9/+1 * - Update to 2.8ahze2006-07-172-4/+4 * Mark as broken: fails to deinstall cleanly.linimon2006-07-171-0/+2 * Remove zero-sized files.erwin2006-07-111-0/+0 * 1. Upgrade linux infrostructure ports from FC3 to FC4.bsam2006-07-109-45/+48 * - Update to 4.20garga2006-07-074-353/+359 * Add manu-gothic, an old german blackletter handwriting (suetterlin) font.miwi2006-06-295-0/+55 * - Update to 2.7ahze2006-06-202-4/+4 * - Update PORTVERSION to correct 0.38.1aaron2006-06-191-2/+2 * Use the correct mtree when you change the prefix, for example:mezz2006-06-122-0/+12 * Update MASTER_SITESmiwi2006-06-081-1/+2 * Remove MAN3PREFIX and assign over to perl.erwin2006-06-061-2/+1 * Remove expired leaf ports:vd2006-06-057-1301/+0 * Correct it, don't use USE_X_PREFIX that cause the circle dependency loop.mezz2006-06-011-1/+1 * - Add header in these *-reference ports.mezz2006-06-012-5/+11 * Add BUILD_DEPENDS to make pinityhat happy.delphij2006-05-311-0/+3 * Update to 0.7.0 (the version goes backward since the old versiondelphij2006-05-294-26/+40 * devel/pkgconfig -> devel/pkg-configmezz2006-05-281-1/+1 * Replace mastersite diedache2006-05-212-5/+5 * Chase DISTFILES and make fetchable again.thierry2006-05-212-6/+6 * - Update to 2.6ahze2006-05-192-4/+4 * - Add pkg-descrahze2006-05-181-0/+3 * portlint:mezz2006-05-161-4/+4 * Don't run fc-cache, we're using the fonts of the X server and the nativenetchild2006-05-136-36/+12 * Remove USE_REINPLACE from categories starting with Xedwin2006-05-135-5/+0 * Move the fontconfig programming reference to the fontconfig-reference port.jylefort2006-05-124-277/+162 * - Remove CVS tags and blank lines from distinfo file in unmaintained portssem2006-05-081-1/+0 * Mark as deprecated (+expiry), it is not needed.netchild2006-05-021-0/+3 * - Make sure that /usr/X11R6/lib/X11/fonts is only listed once in fonts.conf.jylefort2006-05-021-4/+5 * - convert to use bsd.linux-rpm.mk (get rid of include of linux-gtk/Makefile) [1]netchild2006-05-0217-124/+1324 * - update to 1.19leeym2006-04-282-5/+5 * Assume maintainership from ports@.olgeni2006-04-201-1/+1 * - Update to 2.5ahze2006-04-172-4/+4 * Reset petef due to no response to email. We hope to see him back sometime.linimon2006-04-151-1/+1 * - Update to 2.4.1ahze2006-04-102-4/+4 * - Upgrade to 20060126;thierry2006-03-285-17/+29 * Fix the build when docbook-utils is installed.marcus2006-03-271-0/+1 * Fix file permissions.olgeni2006-03-271-0/+3 * An x11 font designed to be small yet easily read.pav2006-03-276-0/+65 * Fix MASTER_SITES.olgeni2006-03-271-1/+1 * Assume maintainership from ports@.olgeni2006-03-271-1/+1 * Use NO_BUILD.olgeni2006-03-271-0/+1 * Add fc-cache handling.olgeni2006-03-272-0/+6 * - Update to 2.4ahze2006-03-203-5/+6 * - Fix MASTER_SITESgarga2006-03-161-1/+1 * Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.ade2006-03-071-1/+1 * Post libtool-conversion fixupsade2006-02-261-1/+1 * Conversion to a single libtool environment.ade2006-02-236-22/+12 * Update to 0.11, where buffer overrun is fixed.yoichi2006-02-234-9/+9 * - Add more MASTER_SITESgarga2006-02-232-14/+17 * - Update to 2.3-1ahze2006-02-212-5/+6 * Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-211-2/+1 * Update to 0.38.1erwin2006-02-192-4/+5 * Update firefly patch sites.marcus2006-02-151-1/+3 * Reset maintainership to ports@ after ~4 months without any response to anynetchild2006-02-121-1/+1 * FarsiWeb.ir has released the first standard set of Unicode Persian fonts everpav2006-02-085-0/+57 * Since fontconfig by default generates font cache files in directories wherelesi2006-02-072-0/+7 * Take care of font cache files on installation and uninstallation of port:lesi2006-02-0710-0/+53 * Don't install empty fonts.dir in fonts/local.lesi2006-02-072-2/+1 * Since fontconfig by default generates font cache files in directories wherelesi2006-02-062-0/+7 * Take care of font cache files on installation and uninstallation of port:lesi2006-02-0612-2/+46 * Remove USE_REINPLACE to pacify portlint.marcus2006-02-031-1/+0 * Since we look in X11BASE for fonts, make sure we explicitly clean upmarcus2006-02-032-2/+4 * Chase shlib bump of libexpat.kuriyama2006-01-311-1/+2 * SHA256ify (manually checked)edwin2006-01-242-4/+6 * SHA256ifyedwin2006-01-2431-0/+32 * - Update to 2.2ahze2006-01-232-4/+4 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-2218-27/+27 * Fixups after removal of separate mtree file for X_WINDOW_SYSTEM=XOrg case.lesi2006-01-222-7/+1 * Upgrade to X.Org 6.9.0 release.lesi2006-01-2217-65/+66 * [maintainer] change maintainer mail addressedwin2006-01-111-1/+1 * - Switch distfiles to zippav2006-01-082-28/+31 * Hash with SHA-256.trevor2006-01-081-0/+1 * Make rc script require ldconfig so font server starts properly on systemslesi2006-01-062-2/+3 * i[NEW PORT] x11-fonts/freefont-ttf: GPL'd UCS fonts in serif, sans, and monoedwin2005-12-218-0/+537 * - Update to 2.1ahze2005-12-194-41/+97 * - Add WITH_CJK patchespav2005-12-184-6/+18 * Drop maintainership for ports which I sadly no longer havebms2005-12-131-1/+1 * This is a collection of greek TTF fonts licensed under GPL.pav2005-12-116-0/+102 * [maintainer] x11-fonts/gentium -- upgrade to 1.0.2edwin2005-12-0512-174/+136 * Update to 0.37erwin2005-12-022-4/+4 * Remove dead mastersites per distfile survey.linimon2005-11-301-4/+0 * Add SHA256maho2005-11-281-0/+8 * Remove dead mastersites.linimon2005-11-271-1/+1 * e-mail from fenner@maho2005-11-271-3/+1 * - Add SHA256pav2005-11-271-0/+1 * - Add SHA256pav2005-11-261-1/+1 * - Add SHA256pav2005-11-2612-0/+13 * New port: x11-fonts/proggy_fonts a monospaced programming fontedwin2005-11-245-0/+87 * - Add SHA256 checksumspav2005-11-242-0/+2 * - Fix plist (a directory is now owned by a dependency). [1]netchild2005-11-201-4/+3 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-152-2/+2 * - fix the package (tried to use a nonexistent plist) [1]netchild2005-11-156-9/+18 * - Update to 2.0ahze2005-11-142-4/+4 * HAVE_MSWINDOWS_LICENSE -> WITH_MSWINDOWS_LICENSE for now.mezz2005-11-131-3/+3 * Add Tahoma TTF fonts, it's off by default with HAVE_MSWINDOWS_LICENSE knob tomezz2005-11-137-24/+132 * If port belongs to X11 distribution different than ${X_WINDOW_SYSTEM} one,lesi2005-11-1228-14/+59 * Fix package (missing empty directory) by introducing a static plist.netchild2005-11-126-24/+60 * - Remove CJK patch; it does not compile anymorepav2005-11-102-9/+1 * - Add SHA256ahze2005-11-091-0/+1 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-1/+1 * Presenting GNOME 2.12 for FreeBSD. The release is chock full of bug fixesmarcus2005-11-056-153/+180 * Don't depend on acroread-5, because it is forbidden.thierry2005-11-023-15/+3 * Fix a ftp link in the MASTER_SITES:mezz2005-10-211-1/+1 * Update and improvement on the fonts.dir, bump the PORTREVISION.mezz2005-10-182-626/+840 * - Update to 1.15ahze2005-10-172-3/+3 * Update to 2.2.3.netchild2005-10-096-18/+18 * Fix a dependency bug that crept in with rev. 1.7, even when using themarius2005-09-293-9/+6 * search.cpan.org redirect reduction canonicalization project, pass 1:fenner2005-09-221-1/+1 * - Update to 1.14ahze2005-09-212-3/+3 * - Fix build with GNOME 2.12 [1]jylefort2005-09-141-17/+16 * reset maintainer to ports@FreeBSD.org since original maintainer doesn'toliver2005-09-071-1/+1 * Really use libneXtawvs2005-08-301-1/+3 * Move setup instructions to PKGMESSAGE.olgeni2005-08-293-10/+11 * - Update to 1.13ahze2005-08-282-3/+4 * - Remove ttmkfdir dependency and do not use it, using static method bymezz2005-08-283-122/+667 * - Update CJK patch to fix bug which caused Firefox to crash on startuppav2005-07-162-5/+6 * - Readd WITH_CJK knob with an updated patchpav2005-07-152-0/+8 * - Remove WITH_CJK knob and patch, it was merged into 2.1.7pav2005-07-142-8/+0 * - Restore distinfo for WITH_CJK knobpav2005-07-141-0/+2 * Update to 2.1.7.marcus2005-07-144-71/+5 * Change the software's Makefile to run `mkfontdir' in the destinationmi2005-07-122-1/+18 * Update to 0.35erwin2005-07-063-65/+57 * - Update to 1.11ahze2005-06-222-3/+3 * Mega-patch to cleanup the ports infrastructure regarding our linux bits:netchild2005-06-185-8/+10 * Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).lesi2005-06-158-24/+13 * Upgrade to XFree86 4.5.0.lesi2005-06-1518-33/+46 * - Update to 1.10ahze2005-05-232-3/+3 * Add mgopen.jylefort2005-05-206-0/+98 * - MASTER_SITE is dead, mirror distfilepav2005-05-201-1/+3 * Add wqy.jylefort2005-05-144-0/+64 * - Change maintainer's mail address.vanilla2005-05-033-5/+5 * Add tolkien-ttf, a collection of the best JRR Tolkien TrueType fontslawrance2005-04-226-0/+92 * - Update to 1.9ahze2005-04-192-3/+3 * Change my MAINTAINER email address to jylefort@FreeBSD.orgjylefort2005-04-132-2/+2 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * Update from 1.14 to 1.15 -- the older distfile is no longer available.mi2005-04-112-3/+3 * - Update to 3.0.1pav2005-04-103-7/+13 * Remove XAWVER from neXtaw LIB_DEPENDS re. neXtaw will be depended upon justlesi2005-04-101-1/+1 * fix packaging on 4oliver2005-04-081-1/+1 * Update x11-fonts/mkbold-mkitalic to 0.09.danfe2005-04-063-5/+4 * Fix a crash that can occur when using TrueType fonts. This should havemarcus2005-03-28