Commit Graph

113 Commits

Author SHA1 Message Date
c71ec9dab0 initialize gdkrgb. Push visual/colormap. (on_url_requested): in the case
2000-03-03  bertrand  <bertrand@helixcode.com>

	* tests/ui-tests/message-browser.c (main): initialize
	gdkrgb. Push visual/colormap.
	(on_url_requested): in the case where a camel url is requested,
	write the camel stream to gtkhtml.

	* tests/ui-tests/Makefile.am (filter_LDADD): add
	gnomeprint in the lib list.

Message browser shows inline images. Woohoo !

svn path=/trunk/; revision=2022
2000-03-03 19:43:49 +00:00
1fdf94dc20 add gnomeprint to be able to link with gtkhtml
svn path=/trunk/; revision=2020
2000-03-03 15:58:46 +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
2f6721bf5b Added test program.
2000-02-29  NotZed  <NotZed@HelixCode.com>

	* tests/ui-tests/Makefile.am (filter_LDADD): Added test program.

	* tests/ui-tests/filterdescription.xml, saveoptions.xml: Data
	files for test program.

	* tests/ui-tests/filter.c (main): Test program for filter ui.

svn path=/trunk/; revision=1992
2000-02-29 20:16:02 +00:00
bd67bc15f3 + * tests/ui-tests/message-browser.c (on_link_clicked): stop
+	sscanf() abuse.

svn path=/trunk/; revision=1898
2000-02-22 02:35:12 +00:00
52cbc69376 + * tests/Makefile.am: changed references to libibex.a to
+	libibex.la.

svn path=/trunk/; revision=1896
2000-02-22 01:28:46 +00:00
fb36c0aef9 + * libical/src/libical/.cvsignore: Added *.lo, *.la, and .libs.
+	* libical/src/libicalss/.cvsignore: same.
+
+	* tests/.cvsignore: Added test11.
+
+	* filter/.cvsignore: New file.
+
+	* libibex/.cvsignore: Added mkindex.

svn path=/trunk/; revision=1895
2000-02-22 00:49:31 +00:00
d28c85dd04 A lot of changes in the way the parsing works. I am too lazy
to find all the changes.
Important notice, I added uggly hacks to camel-formatter.c
and message-browser so that I could test b64 decoding.

Saving streams works. Have to implement qp now.

svn path=/trunk/; revision=1893
2000-02-22 00:10:22 +00:00
8ea1212d99 Add "authenticator" to CamelSession and update things to use it.
svn path=/trunk/; revision=1890
2000-02-21 19:56:49 +00:00
0eff8e4321 update for CamelSession changes
svn path=/trunk/; revision=1889
2000-02-21 18:39:21 +00:00
627cd68347 Changed dependencies on libibex.la to libibex.a. In test9_LDADD, placed
* tests/Makefile.am: Changed dependencies on libibex.la to
	libibex.a. In test9_LDADD, placed libcamelmbox.la before
	libibex.la, as the former requires the latter.

svn path=/trunk/; revision=1871
2000-02-20 22:45:12 +00:00
9260205286 When a link is clicked, indicate the link with a dialog.
* tests/ui-tests/message-browser.c (on_link_clicked): When a link
	is clicked, indicate the link with a dialog.

svn path=/trunk/; revision=1864
2000-02-20 02:27:15 +00:00
5f5fce0642 minor cleanup.
* tests/ui-tests/message-browser.c: minor cleanup.

	* tests/ui-tests/.cvsignore: added message-browser.

svn path=/trunk/; revision=1858
2000-02-19 20:16:42 +00:00
74a58886f6 Use a relative path to the mbox provider module.
2000-02-18  NotZed  <NotZed@HelixCode.com>

        * tests/test11.c (main): Use a relative path to the mbox provider
        module.

svn path=/trunk/; revision=1857
2000-02-19 04:14:46 +00:00
e9f6e62c8b Call camel_data_wrapper_set_input_stream, rather than
2000-02-18  Matt Loper  <matt@helixcode.com>

	* tests/ui-tests/message-browser.c (filename_to_camel_msg): Call
	camel_data_wrapper_set_input_stream, rather than
	camel_data_wrapper_construct_from_stream.  For the whole message,
	allow someone to see the header ("to", "from", etc.).  Clicking on
	tree items to see their elements, now works also.

svn path=/trunk/; revision=1845
2000-02-19 00:20:47 +00:00
3e317e1b17 Modification in the automake/libtool building process so that
camel and tests at least compile.
Current libtool doen't seem to support lib dependancy unless
the lib is installed.
Removed the dependancy on libex in mbox and added it to the
other Makefile.am that link with libcamel.

svn path=/trunk/; revision=1838
2000-02-17 23:31:16 +00:00
b39cda14b7 revamped so that it uses the output stream of the data wrapper
2000-02-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-formatter.c (handle_text_plain):
	revamped so that it uses the output stream
	of the data wrapper
	(handle_text_html): ditto.


	* camel/camel-simple-data-wrapper.h:
	* camel/camel-simple-data-wrapper.c (camel_simple_data_wrapper_new):
	use (void) instead of ().
	(_get_output_stream): simple implementation.

A lot of small fixes so that the new parser scheme
works properly. Simple implementation of the stream
though.

Changed vette-formatter files so that they work with the
new scheme.

The new parser is now in a usable state. Still needs some work but the
infrastructure is here. /me is happy.

svn path=/trunk/; revision=1822
2000-02-17 15:19:04 +00:00
f369e9ef06 include camel.h for camel_init
svn path=/trunk/; revision=1818
2000-02-17 04:23:13 +00:00
f926f10e86 this routine replaces the _read_part routine and does not store the part
2000-02-15  bertrand  <bertrand@helixcode.com>

	* camel/camel-multipart.c (_localize_part):
	this routine replaces the _read_part routine
	and does not store the part in a buffer.
	(_set_input_stream): use the set_input_stream
	instead of the construct_from_stream.
	each bodypart is given an input stream.

	* camel/camel-mime-part-utils.c:
	include the data-wrapper-repository header.
	(camel_mime_part_construct_content_from_stream):
	use the set_input_stream instead of the
	construct_from_stream method.

	* camel/camel-seekable-substream.c (_set_bounds):
	cur position is set to 0 not to inf_bound.

Sync

svn path=/trunk/; revision=1790
2000-02-16 10:44:35 +00:00
d53eea370b Add the unicode libraries as well.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add
	the unicode libraries as well.

	* camel/camel-provider.c (camel_provider_register_as_module): Add
	error reporting here.  Desire to use Solaris increases.  Hair loss
	in the last two hours: 5,400.

	* camel/providers/mbox/camel-mbox-provider.c
	(camel_mbox_get_provider): Renamed function.

	* camel/camel.h: All include files use camel/ now here.

	* camel/providers/mbox/Makefile.am: Drop all the dynamism from
	Camel, and make this a standard library.

	* configure.in: set the UNICODE_LIBS variable here.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* folder-browser.c (folder_browser_load_folder): New routine,
	loads a camel folder.
	(folder_browser_set_uri): redo.

	* session.c: new file.  Implements SessionStores to keep track of
	a Session/Store tuple.

svn path=/trunk/; revision=1783
2000-02-15 17:28:34 +00:00
a020ef5168 include gmime-base64.h various compilation and runtime fixes.
2000-02-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c: include gmime-base64.h
	various compilation and runtime fixes.
	(_set_input_stream): store the input substream
	for the content object.

	* camel/camel-data-wrapper.h: declare the
	set/get function on input/output stream.

	* camel/camel-mime-part.c (_get_content_object):
	don't use a temporary mem stream.

	* camel/camel-seekable-substream.c (_seek):
	(_eos):
	(_read): the substream can be unlimited in length

	* camel/camel-data-wrapper.c (camel_data_wrapper_class_init):
	set the get/set_input/output_stream methods.

	* camel/camel-multipart.c (_construct_from_stream):
	camel_stream_seek -> camel_seekable_stream_seek

work on the new parser scheme.
temporary sync to laptop.

svn path=/trunk/; revision=1781
2000-02-15 14:17:01 +00:00
64c513f9fe Add libunicode to CFLAGS/LIBS.
2000-02-14  NotZed  <notzed@zedzone.helixcode.com>

        * configure.in (EXTRA_GNOME_CFLAGS): Add libunicode to CFLAGS/LIBS.

2000-02-13  NotZed  <notzed@zedzone.helixcode.com>

        * configure.in: Added check for libunicode.

        * Makefile.am (SUBDIRS): Added libibex.

        * tests/test11.c (main): New test, tests search api.

svn path=/trunk/; revision=1774
2000-02-14 05:44:48 +00:00
ddcfc699c7 + * tests/ui-tests/test-multipart-mixed.msg: New rfc822 file, which
+	crashes message-browser.
+
+	* tests/ui-tests/message-browser.c (get_gtk_html_window): Takes a
+	CamelMimeMessage as a param, rather than a filename.
+	(main): Puts our windows in an hpane rather than a vbox. Also
+	opens a file dlg box if a filename wasn't given as a first param.

svn path=/trunk/; revision=1771
2000-02-14 04:23:14 +00:00
204e08f870 + * tests/ui-tests/message-browser.c (handle_tree_item): Expand tree
+	items.
+	(mime_message_to_html): New function; translates a
+	CamelMimeMessage into two strings (one for the header, and one for
+	the body).
+	(get_gtk_html_window): New function; fills out a window with
+	html. The html is taken from a processed rfc822 file, via a
+	CamelFormatter.
+
+	* camel/camel-formatter.c: Added assertions.
+	(handle_text_html): Don't call text_to_html on something that's
+	already html.
+	(multipart_foreach): function deleted.
+
+	* mail/html-stream.c (html_stream_new): Second param of
+       gtk_html_begin should be "", not NULL.
+	(html_stream_new): gtk_html_parse() is deprecated, so the call was
+	removed.

svn path=/trunk/; revision=1766
2000-02-14 00:27:01 +00:00
7dbc45ac3e HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream.
* mail/html-stream.h: HTMLStreamClass's parent changed to
	CamelStreamClass, not CamelStream.

	* tests/ui-tests/message-browser.c: Added preliminary support for
	the viewing of messages via gtkhtml. Lots of commenting.

svn path=/trunk/; revision=1765
2000-02-13 21:49:15 +00:00
595ac86206 misc autoconf/automake fixes.
svn path=/trunk/; revision=1729
2000-02-11 04:19:03 +00:00
154a208127 remove test program build.
svn path=/trunk/; revision=1728
2000-02-11 03:21:51 +00:00
784c1184a8 don't build thread related tests if evolution has been compiled with no
2000-02-10  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/Makefile.am (THREAD_RELATED_TESTS): don't
	build thread related tests if evolution has been
	compiled with no thread support.

	* configure.in (have_pthread): allow user to enable/disable
	thread support at configure time
	(EXTRA_GNOME_CFLAGS):
	(EXTRA_GNOME_LIBS): thread support is directly
	included in this variable if enabled. No more
	EXTRA_GNOME_CFLAGS_THREADS
	Other special support should be added in
	EXTRA_GNOME_LIBS and EXTRA_GNOME_CFLAGS
	instead of redefining a new variable
	each time we want to add a new lib.
	(bonobo, ....)

	* camel/camel.c (camel_init): only try to initialize threads if
	we enabled threads support.

	* tests/ui-tests/Makefile.am (message_browser_LDADD): use
	EXTRA_GNOME_LIBS

	* configure.in (have_pthread): remove HAVE_PTHREADS
	variable. Define ENABLE_THREADS instead.

	* camel/Makefile.am: use ENABLE_THREADS not HAVE_PTHREADS
	to test if we build thread relateed code.

	* tests/Makefile.am: use EXTRA_GNOME_LIBS,
	not EXTRA_GNOME_LIBS_THREADS


I need to be able to disable thread support to use Insure.

svn path=/trunk/; revision=1725
2000-02-11 00:43:23 +00:00
504b7541a2 New test file; run message-browser on it, and it will crash.
* tests/ui-tests/test-multipart-alt.msg: New test file; run
	message-browser on it, and it will crash.

svn path=/trunk/; revision=1719
2000-02-10 01:39:26 +00:00
5319c1eb5b show the containers and the containees (get_message_tree_ctrl): call
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/message-browser.c (handle_tree_item):
	show the containers and the containees
	(get_message_tree_ctrl): call handle_tree_item
	on the message itself

svn path=/trunk/; revision=1714
2000-02-09 21:52:48 +00:00
61dc2c8700 show the item.
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/message-browser.c (handle_tree_item):
	show the item.

svn path=/trunk/; revision=1713
2000-02-09 21:16:29 +00:00
2088dd3401 set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE ---
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-message.c (camel_mime_message_init):
	set the mime type to "mime/message".
	--- THIS IS NOT THE CONTENT TYPE ---

	* camel/camel-mime-body-part.c (camel_mime_body_part_init):
	set the mime type to "body-part".
	--- THIS IS NOT THE CONTENT TYPE ---

	* camel/camel-data-wrapper.c (camel_data_wrapper_set_mime_type):
	mime_type is const.
	(_set_input_stream): really set the input stream
	(_set_output_stream): really set the output stream
	various other typo fixes.

	* tests/ui-tests/message-browser.c: various typo
	fixes in the ctree construction.

svn path=/trunk/; revision=1712
2000-02-09 21:09:31 +00:00
3bd58106ef various typo fixes in the ctree construction.
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/message-browser.c: various typo
	fixes in the ctree construction.

	* camel/string-utils.c (string_trim): fix braindead
	trailing trim bug.

	* camel/gmime-content-field.c (gmime_content_field_construct_from_string):
	strip the leading and trailing quotes when constructing the
	content field. This should be done in a more generic
	RFC822 approach, but this fixes a bug that prevent
	matt from analysing some multipart messages.

	* camel/camel-data-wrapper.h: reorganize the
	deprecated and new methods.

	* camel/providers/mbox/camel-mbox-folder.c
	(_check_get_or_maybe_generate_summary_file):
	Use "From " as the message separating string.

	* camel/providers/mbox/camel-mbox-folder.c (_append_message):
	set the mode when creating the mbox file.

	* camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev):
	ditto
	* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
	ditto

svn path=/trunk/; revision=1711
2000-02-09 20:35:35 +00:00
4c87a79aa4 Minor cleanup.
* tests/ui-tests/message-browser.c (print_usage_and_quit): Minor
	cleanup.

svn path=/trunk/; revision=1710
2000-02-09 18:38:42 +00:00
a56ab52138 New file; shows a message in tree format, where multipart's have multiple
* tests/ui-tests/message-browser.c: New file; shows a message in
	tree format, where multipart's have multiple leaves.

	* camel/camel-formatter.c: Changed references from
	'multipart/alternate' to 'multipart/alternative'.

svn path=/trunk/; revision=1700
2000-02-09 08:36:29 +00:00
66dc424c9c + * tests/test-formatter.c (convert_to_html_and_print): Use the
+	buffer length of the stream to create strings which are then
+	printed, rather than printing the stream (which might not have a
+	trailing \0) directly.
+
+	* camel/camel-formatter.c (str_tolower): New function; makes a
+	string lowercase.

svn path=/trunk/; revision=1698
2000-02-09 00:48:28 +00:00
c9f1db9bd0 + * tests/test-formatter.c (convert_to_html_and_print): Fixed call
+	to 'camel_formatter_mime_message_to_html' to contain correct
+	params.

svn path=/trunk/; revision=1697
2000-02-08 23:26:31 +00:00
1779bc3817 + * tests/test-formatter.c (print_usage_and_quit): New function,
+       which gives usage information.
+
+       * camel/camel-formatter.c: made the 'stream' a member of the
+       CamelFormatter class, so that streams don't have to be explicitly
+       sent as a param where a CamelFormatter is also sent..
+       (handle_text_plain): Use 'encode_entities' to change '<' to
+       '&gt;', etc.

svn path=/trunk/; revision=1687
2000-02-07 22:42:41 +00:00
d5c007ca4f Chut.
svn path=/trunk/; revision=1665
2000-02-03 09:10:00 +00:00
0715f576a8 + * tests/test-formatter.c: New file; intended to test the
+	CamelFormatter class.
+
+	* camel/camel-formatter.c: Lots of cleanup, commenting, some new
+	functions, and a really basic skeleton for getting bonobo objects
+	into the html.
+	(encode_entities): New function, stolen from Daniel Velliard.

svn path=/trunk/; revision=1660
2000-02-02 05:27:27 +00:00
23523ee0ed cvs shutup
svn path=/trunk/; revision=1639
2000-01-26 00:53:51 +00:00
7dded29a63 converted all gint64 variables into guint32.
2000-01-24  bertrand  <bertrand@helixcode.com>

	* camel/camel-stream-fs.[ch]: converted all
	gint64 variables into guint32.


	* camel/camel-stream-fs.c (_read): fix stupid bug.
	(_write): ditto.

	* camel/camel-exception.c (camel_exception_new): don't
	forget to clean the exception when creating it.

svn path=/trunk/; revision=1621
2000-01-24 22:29:49 +00:00
98e15c6b5c add recipient_list to the recipients, not recipients_list. I don't know
2000-01-24  bertrand  <bertrand@helixcode.com>

	* camel/camel-recipient.c (camel_recipient_table_add_list):
	add recipient_list to the recipients, not recipients_list.
	I don't know what that variable was doing here.

2000-01-23  bertrand  <bertrand@helixcode.com>

	* camel/camel-store.c (camel_store_get_session):
	added a public get_session method.

	* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
	(camel_mbox_load_summary): load/save message sizes in the summary file

	* camel/providers/mbox/camel-mbox-summary.h:
	added a size field to the message information
	structure.

	* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
	copy message size to the mbox summary information too.

	* camel/camel-stream-fs.c (_seek): updated to
	work with bounded fs streams.
	(_write): ditto.
	(_read): ditto.

	* camel/camel-stream-fs.h (struct ):
	added the cur_pos, inf_bound and sup_bound
	members to allow for bounded fs stream.

	* camel/camel-stream-fs.c (_set_bounds): new func.
	(_init_with_fd_and_bounds): idem.
	(_init_with_name_and_bounds): idem.
	New functions to allow the usage of bounded fs streams.

	The bounded fs stream allow, for example, to make a stream
	from a message stored in an mbox file.

svn path=/trunk/; revision=1620
2000-01-24 15:07:18 +00:00
fbcdf47552 use the real summary file path instead of a stupid hardcoded one. Fixes
2000-01-22  bertrand  <bertrand@helixcode.com>

	* camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file):
	use the real summary file path instead of a
	stupid hardcoded one. Fixes yet another bug.

	* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
	don't forget to copy the date too. Fix a very annoying bug.

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

svn path=/trunk/; revision=1609
2000-01-23 01:45:49 +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
84423c930e test the mbox provider.
2000-01-21  bertrand  <bertrand@helixcode.com>

	* tests/test10.c:
	test the mbox provider.

	* camel/camel-folder.c (_set_name):
	if camel_folder_get_mode returns an
	exception, return it instead of
	overriding it with a new one.
	(camel_folder_is_open): make the is_open
	method public.
	(_set_name): use the is_open instead of
	get_mode.
	(_set_name): set the fullname even in the case
	where the folder has no parent.
	(_set_name): use %c, not %d to add the
	separator char into the full path.

svn path=/trunk/; revision=1606
2000-01-22 02:58:12 +00:00
e8a2fed920 add exception handling everywhere in the store related functions
2000-01-21  bertrand  <bertrand@helixcode.com>

	* camel/camel-store.c: add exception handling everywhere in
	the store related functions arguments.
	* camel/providers/mbox/camel-mbox-folder.c: idem
	* camel/providers/mbox/camel-mbox-folder.h: idem
	* camel/providers/mbox/camel-mbox-store.h: idem

	* camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES):
	added camel-mbox-provider.c to the mbox provider
	sources.

svn path=/trunk/; revision=1605
2000-01-22 01:35:11 +00:00
8fbfb0ae48 added camel-mbox-provider.c to the mbox provider sources.
2000-01-21  bertrand  <bertrand@helixcode.com>

	* camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES):
	added camel-mbox-provider.c to the mbox provider
	sources.

	* camel/providers/mbox/camel-mbox-provider.c:
	provider registration code.

	* camel/providers/mbox/camel-mbox-folder.c (_get_message_count): implemented
	(_append_message): implemented

	* camel/providers/mbox/camel-mbox-parser.c (initialize_buffer):
	use \0 to mark the end of the buffer.
	(read_next_buffer_chunk): ditto.
	(read_header): test the presence of a \0 instead of
	reading the eof field
	(read_message_begining): idem.
	(camel_mbox_parse_file): idem.
	Remove the eof field from the parser
	structure.
	(read_next_buffer_chunk): removed some nasty bugs
	again.

svn path=/trunk/; revision=1604
2000-01-21 22:46:46 +00:00
de8e7223ea implemented.
2000-01-19  bertrand  <bertrand@helixcode.com>

	* camel/providers/mbox/camel-mbox-folder.c (_get_message_count):
	implemented.

	* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
	(camel_mbox_load_summary): save/load the next uid.

	* camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file):
	Compute the next available uid.
	* camel/providers/mbox/camel-mbox-folder.c (_create):
	(_check_get_or_maybe_generate_summary_file):
	Set and use the next_uid field properly.
	* camel/providers/mbox/camel-mbox-summary.h: added
	an extra field to store the next available uid.

	* camel/providers/mbox/camel-mbox-folder.c
	(_check_get_or_maybe_generate_summary_file):
	routine called when the folder is opened.
	Reads or creates the summary file.
	(_create): initialize the internal summary
	structure.
	(_close): save the summary file on closing.
	(_init_with_store): initialize mbox specific
	folder members.

svn path=/trunk/; revision=1597
2000-01-20 03:02:13 +00:00
d44875ac5f tests for summary and parsing process of mbox files.
2000-01-18  bertrand  <bertrand@helixcode.com>

	* tests/test9.c:
	tests for summary and parsing process of mbox files.

	* camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): do
	not use case insensitive comp to detect message separators. Kill
	some nasty bugs in netscape file parsing,

	* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
	don't use g_array_append but write directly inside the
	array data instead. Better performance and bug fix.

	* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_load_summary):
	fix the name and bugs.

	* camel/camel-folder-summary.h: update the class
	method definition to match the public defs.

svn path=/trunk/; revision=1592
2000-01-19 04:33:14 +00:00