Commit Graph

25 Commits

Author SHA1 Message Date
3ab48c957c update for camelstream changes
svn path=/trunk/; revision=2926
2000-05-08 22:33:39 +00:00
02ed4a60f3 Fix for removal of camelmimebodypart, and changes to recipient stuff.
2000-04-27  NotZed  <NotZed@HelixCode.com>

        * tests/test10.c: Fix for removal of camelmimebodypart, and changes
        to recipient stuff.

        * tests/test1.c: Fix for removal of camelmimebodypart, and changes
        to recipient stuff.

svn path=/trunk/; revision=2672
2000-04-28 03:07:30 +00:00
10660e5e84 Fix the changes to the tests
- open for write should use O_CREAT|O_TRUNC as well
 - open for read should use mode 0

svn path=/trunk/; revision=2649
2000-04-26 22:07:04 +00:00
75a19475c9 Update for the camel changes.
* tests: Update for the camel changes.

	* Makefile.am (SUBDIRS): Remove tests. They aren't terribly
	useful/interesting any more for the most part, and they frequently
	don't compile.

svn path=/trunk/; revision=2636
2000-04-26 15:06:19 +00:00
0c1a38160f Fixed for method movements.
2000-04-24  NotZed  <NotZed@HelixCode.com>

	* tests/test13.c (main): Fixed for method movements.

	* tests/test3.c (main): Removed from build, data-wrapper-repository removed.

	* tests/test2.c (main): Changed to use construct_from_stream.

	* tests/test1.c (main): Chagned to use construct_from_stream.

svn path=/trunk/; revision=2578
2000-04-24 09:10:40 +00:00
f229f08168 New tests/fixed tests.
svn path=/trunk/; revision=2559
2000-04-23 10:09:07 +00:00
fe97fa2fbb kill camel-log
svn path=/trunk/; revision=2487
2000-04-18 19:05:15 +00:00
96b306af32 Remove the "session" field from CamelMimeMessage. Nothing uses it, about
* camel-mime-message.[ch]: Remove the "session" field from
	CamelMimeMessage. Nothing uses it, about half of the existing
	calls to camel_mime_message_new_with_session pass NULL, and
	there's no obvious reason for it to be there.

	* others: Use camel_mime_message_new instead of
	camel_mime_message_new_with_session

svn path=/trunk/; revision=2479
2000-04-17 20:23:30 +00:00
2392d67981 don't forget to set the state to 0 after 3. (my_read_encode): don't forget
2000-03-02  bertrand  <bertrand@helixcode.com>

	* camel-stream-b64.c (my_read_encode): don't forget to
	set the state to 0 after 3.
	(my_read_encode): don't forget to encode, even in state 3.

	* camel-simple-data-wrapper.c: static functions are prefixed
	with my_ instead of _
	* camel-multipart.c: static functions are prefixed
	with my_ instead of _
	(my_write_to_stream): commented.
	(my_write_to_stream): warning in case the boudary is set
	but is a zero length string.

	* camel-mime-part.c (camel_mime_part_encoding_from_string):
	remove debug trace.

	* camel-mime-part.c: Replaced all static functions
	with name begining with _ by the same name begining
	with "my_" to prevent the possible conflicts
	with system symbols Dan warned us about.

Mime mail generation works now, at least with b64 encoding.
QP needs to be done now.

svn path=/trunk/; revision=2016
2000-03-03 02:54:25 +00:00
15e6a36cef implemented. A lot of fixes too. Works now.
2000-01-22  bertrand  <bertrand@helixcode.com>

	* camel/providers/mbox/camel-mbox-folder.c (_append_message):
	implemented. A lot of fixes too. Works now.

svn path=/trunk/; revision=1608
2000-01-22 19:52:46 +00:00
9663037f6c More work:
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.

svn path=/trunk/; revision=1395
1999-11-17 15:35:43 +00:00
ca7044930f Added streaming capability to CamelDataWrapper. This makes it possible, for
example, to build multipart messages out of files that are on disk without
loading them in memory.

svn path=/trunk/; revision=1394
1999-11-17 14:39:25 +00:00
d938232d3c Address update
svn path=/trunk/; revision=1147
1999-08-29 22:13:34 +00:00
68a9dad22b text parameter declared const
1999-08-28  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c (camel_mime_part_set_text):
	text parameter declared const

	* camel/camel-mime-part-utils.c (camel_mime_part_store_stream_in_buffer):
	actually test correctly nb_bytes_read_chunk is >0

	* camel/gstring-util.c:
	* camel/gmime-content-field.c:
	* camel/providers/MH/camel-mh-folder.c:
	* camel/camel-stream-fs.c:
	include string.h

	* camel/camel-stream-mem.c (_write): return
	the numver of written bytes.

	* camel/camel-stream-buffered-fs.c (_eos):
	return sthg

	* camel/camel-stream.c (default_camel_seek):
	return something.

* Started to work on new recipient code.
* fixed various leaks.

svn path=/trunk/; revision=1146
1999-08-29 15:57:47 +00:00
a76dccf18b now descend from CamelMedium.
1999-08-25  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c: now descend from CamelMedium.

	* tests/test1.c (main): all headers must be strdup'ed
	(main): unref created objects

svn path=/trunk/; revision=1143
1999-08-25 20:42:59 +00:00
cac0ba57e6 merge a lot of work. Rough ChangeLog will follow
svn path=/trunk/; revision=1052
1999-08-01 13:38:28 +00:00
19a118096f Commit of all Netherlands changes.
All mime stuff uses streams now, and it still works.

Bertrand

svn path=/trunk/; revision=981
1999-06-18 20:32:18 +00:00
d32ba2a70a sync
svn path=/trunk/; revision=959
1999-05-30 14:02:36 +00:00
1d01c8dad1 remove leading and trailing spaces in recipient addresses.
* camel/camel-mime-message.c (_set_recipient_list_from_string):
	remove leading and trailing spaces in recipient addresses.

	* camel/gmime-utils.c (_store_header_pair_from_gstring):
	remove leading and trailing spaces from header values.

	* camel/gstring-util.c (g_string_trim): new
	func: remove leading or trailng chars from
	a specified char set.
	(g_string_split): allow trimming of substrings.

	* tests/test1.c (main): remove gtk_main call

svn path=/trunk/; revision=958
1999-05-30 11:40:05 +00:00
72c4a8deda new func. Parses message header zone and returns a Glist of all header
1999-05-26  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/gmime-utils.c (get_header_lines_from_file):
	new func. Parses message header zone and returns
	a Glist of all header lines.

	* tests/test2.c: tests message parsing

	* camel/gmime-utils.c (write_header_table_to_file):
	new func to write a table of headers.

svn path=/trunk/; revision=948
1999-05-26 21:51:53 +00:00
bdf895136e recipient list printing
* camel/camel-mime-message.c (_write_to_file):
	recipient list printing

	* tests/test1.c (main): more tests.

svn path=/trunk/; revision=936
1999-05-20 21:24:54 +00:00
1cf9ad8336 sync
svn path=/trunk/; revision=935
1999-05-20 16:37:03 +00:00
429847f57b test if content exists before calling its write_to method.
1999-05-19  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c (_write_to_file): test if content
	exists before calling its write_to method.

	* camel/camel-mime-message.c (_write_to_file): bugs fix.

First test of mime_message framework.

svn path=/trunk/; revision=934
1999-05-19 20:24:23 +00:00
f53eb88c56 sync
svn path=/trunk/; revision=933
1999-05-19 19:07:52 +00:00
058a84bf36 missing files 2
svn path=/trunk/; revision=932
1999-05-19 16:09:31 +00:00