Commit Graph

123 Commits

Author SHA1 Message Date
2110ea101f imported md5 coding routine from rpm. Compiles.
1999-09-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.c: imported md5 coding
	routine from rpm. Compiles.

svn path=/trunk/; revision=1182
1999-09-05 22:46:58 +00:00
116b88eb5d Basic UID framework.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (camel_folder_has_uid_capability):
	(camel_folder_get_message_uid):
	(camel_folder_get_message_uid_by_number):
	(camel_folder_get_message_by_uid):
	(camel_folder_get_uid_list):
	Basic UID framework.

svn path=/trunk/; revision=1181
1999-09-05 20:08:23 +00:00
1ee21a1820 New revision. Some fixes.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* devel-docs/misc/ref_and_id_proposition.txt:
	New revision. Some fixes.

	* camel/camel-folder.h (struct _CamelFolder): added
	uid_capability field.

* started to work on UIDs

svn path=/trunk/; revision=1180
1999-09-05 17:48:59 +00:00
e716a2ed8b re-enabled old CPU/Mem consumming method. Use ful for pop3 for instance.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (show_folder_messages):
	re-enabled old CPU/Mem consumming
	method. Use ful for pop3 for instance.

svn path=/trunk/; revision=1179
1999-09-05 16:25:18 +00:00
4e4eb45bf6 use folder summary instead of opening all messages.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (show_folder_messages):
	use folder summary instead of opening all messages.

	* camel/providers/MH/camel-mh-folder.c (_create_summary):
	basic and highly non-efficient summary implementation.
	Should be seen as a proof of concept only.
	subfolder summary still has to be implemented.

	* camel/providers/maildir/camel-maildir-folder.c (_init_with_store):
	hasn't summary for the moment.
	* camel/providers/maildir/camel-maildir-folder.c
	cosmetic changes.

svn path=/trunk/; revision=1178
1999-09-05 16:15:12 +00:00
0fe7101224 started summary implementation. (_open): correct use of open.
1999-09-04  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_create_summary):
	started summary implementation.
	(_open): correct use of open.

	* camel/camel-folder.c (camel_folder_get_summary):
	get folder associated summary object.

svn path=/trunk/; revision=1177
1999-09-04 19:33:31 +00:00
eb1b108970 added summary files build
1999-09-04  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/Makefile.am:
	added summary files build

	* camel/camel-folder-summary.[ch]:
	basic summary framework

svn path=/trunk/; revision=1176
1999-09-04 14:48:01 +00:00
4ba4bf0362 sgml doc has camel-recipient now.
1999-09-03  bertrand  <Bertrand.Guiheneuf@aful.org>

	* devel-docs/camel/Makefile.am:
	sgml doc has camel-recipient now.

	* camel/camel-recipient.c (camel_recipient_foreach_recipient_type):
	added in-line documentation.

svn path=/trunk/; revision=1174
1999-09-03 18:34:42 +00:00
6d8e4afc9e Added (experimental) maildir provider written by Jukka Zitting
1999-09-02  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/maildir: Added (experimental) maildir
	provider written by Jukka Zitting <hukka@greywolves.org>

	* camel/providers/Makefile.am (SUBDIRS): build maildir
	provider.

	* camel/camel-provider.c (camel_provider_get_for_protocol):
	bug fix. patch from  Jukka Zitting <hukka@greywolves.org>

svn path=/trunk/; revision=1168
1999-09-02 16:06:55 +00:00
5c7fc6df11 changed decl to fit CRLFunc. (_write_recipients_to_stream): calls
1999-09-02  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-message.c (_write_one_recipient_to_stream):
	changed decl to fit CRLFunc.
	(_write_recipients_to_stream):
	calls camel_recipient_foreach_recipient_type now.

	* camel/camel-recipient.c (camel_recipient_foreach_recipient_type):
	new convinience function. Iterate over all recipient types.

	* camel/gmime-utils.c (gmime_write_header_table_to_stream):
	s/write_header_table_to_stream/gmime_write_header_table_to_stream/
	(gmime_write_header_with_glist_to_stream):
	s/write_header_with_glist_to_stream/gmime_write_header_with_glist_to_stream/

svn path=/trunk/; revision=1167
1999-09-02 11:19:40 +00:00
4ed3431575 now use CamelRecipientTable
1999-09-01  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-message.c (_finalize):
	(_add_recipient):
	(_remove_recipient):
	(_get_recipients): now use CamelRecipientTable

	* camel/gmime-content-field.c:
	(gmime_content_field_unref): test if object
	to free is non void.

Still are some bugs in camel-recipient.c

svn path=/trunk/; revision=1152
1999-09-01 14:36:17 +00:00
f5be7984b2 When using g_free (obj) don't test if obj != NULL g_free () already do
1999-09-01  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_finalize):
	(_set_name):
	* camel/camel-mime-message.c (_finalize):
	* camel/camel-mime-part.c (_finalize):
	(_set_description):
	(_set_disposition):
	* camel/camel-service.c (_finalize):
	* camel/camel-stream-fs.c (_finalize):
	* camel/gmime-content-field.c:
	(gmime_content_field_construct_from_string):
	* camel/url-util.c (g_url_free):

	When using g_free (obj) don't test if obj != NULL
	g_free () already do that. Thanks to elerium for
	the feedback.

19

svn path=/trunk/; revision=1151
1999-09-01 11:53:18 +00:00
122f27a2aa new func. More work on new independant recipient code.
1999-08-30  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-recipient.c (camel_recipient_get):
	(camel_recipient_remove):
	(camel_recipient_add):
	new func. More work on new independant recipient code.

1999-08-29  bertrand  <Bertrand.Guiheneuf@aful.org>

	* MAINTAINERS: updated my e-mail address.

svn path=/trunk/; revision=1148
1999-08-30 06:29:37 +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
e826255bf1 contruct the content from the buffer before calling CamelMedium
1999-08-26  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c (_get_content_object):
	contruct the content from the buffer before calling
	CamelMedium implementation.
	(_construct_from_stream): Do not construct the content
	by default, just store the content bytes in
	a temporary buffer. Content will be constructed only
	at caller request (when calling CamelMedium::get_content_object)
	Providers with better access to the messages (mbox/MH ...)
	will have to provider lighter implementation, that is
	shall not read content at all unless the caller asks
	for it (again with get_content).

	* camel/camel-mime-part-utils.c: new file, groups
	mime-part related utils. Meant to be used by providers
	subclassing MimeMessage.
	(camel_mime_part_construct_headers_from_stream):
	(camel_mime_part_construct_content_from_stream):
	no more useless temporary hash table.

	* camel/camel-mime-part.c (_construct_from_stream): calls
	mime-part-utils functions now.

	* camel/gmime-utils.c (_store_header_pair_from_string):
	do not use hash table to store header, use an array instead.

svn path=/trunk/; revision=1145
1999-08-26 15:29:40 +00:00
2a912b3301 new file, groups mime-part related utils. Meant to be used by providers
1999-08-26  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part-utils.c: new file, groups
	mime-part related utils. Meant to be used by providers
	subclassing MimeMessage.
	(camel_mime_part_construct_headers_from_stream):
	(camel_mime_part_construct_content_from_stream):
	no more useless temporary hash table.

	* camel/camel-mime-part.c (_construct_from_stream): calls
	mime-part-utils functions now.

	* camel/gmime-utils.c (_store_header_pair_from_string):
	do not use hash table to store header, use an array instead.


* MimePart cleanup. Not complete yet. Content must not be
parsed when constructing but only when content object is requested.
Default implementation will keep content in a stream.

svn path=/trunk/; revision=1144
1999-08-26 09:44:33 +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
686273e70d these methods are in CamelMedium now.
1999-08-25  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-medium.c (_set_content_object):
	(_get_content_object): these methods are
	in CamelMedium now.

Going to revamp MimePart soon so that it inherits from CamelMedium.

svn path=/trunk/; revision=1141
1999-08-25 15:44:35 +00:00
6881fd1bf7 new class. Will handle all sort of information media (Mime mail messages,
1999-08-24  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-medium.c (camel_medium_class_init):
	new class. Will handle all sort of information media
	(Mime mail messages, Lotus Notes  mail messages,
	postit notes, faxes, who knows .... :)
	CamelMimePart will inherit from it.

	* camel/camel-mime-part.c (_set_disposition):
	(_set_description):
	description and disposition parameters are now const.


	* camel/gmime-content-field.c (gmime_content_field_free): added
	assertion code.

	* camel/providers/MH/camel-mh-folder.c (_get_message):
	uses buffered stream.

	* camel/camel-stream-buffered-fs.c:
	new stream to accelerate file ops.

Thanks to jwz, I've decided to add a level of abstraction to Camel.
In the future, it should be able to handle other mail systems, but
also non-mail information vehicles.

Enough for today. Roller time!

svn path=/trunk/; revision=1140
1999-08-24 21:01:10 +00:00
6043cbbc55 name parameter is const. This fixes a bug in destroy ()
1999-08-20  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-stream-fs.c (camel_stream_fs_new_with_name):
	name parameter is const. This fixes a bug in destroy ()

svn path=/trunk/; revision=1135
1999-08-20 18:37:36 +00:00
95697142ed More work on RFC 2047 encoder.
svn path=/trunk/; revision=1134
1999-08-19 17:33:49 +00:00
08752e1b53 return the number of bytes read. How can this have ever worked ?
1999-08-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-stream.c (camel_stream_read):
	return the number of bytes read.
	How can this have ever worked ?
	(camel_stream_flush): don't return anything.

	* camel/gmime-utils.c (get_header_table_from_stream):
	mem leak fixed.

+ various other mem leaks.

svn path=/trunk/; revision=1120
1999-08-17 17:44:00 +00:00
8efa5bea54 Now has a popup menu on mailbox tree to allow easier tests. Implemented
1999-08-16  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c:
	Now has a popup menu on mailbox tree to allow
	easier tests. Implemented the copy stuff.
	Works well for the MH provider :)))

	* camel/providers/MH/camel-mh-folder.c (_copy_message_to):
	Test MH provider fast copy implemented.

svn path=/trunk/; revision=1119
1999-08-16 15:08:16 +00:00
f5aadb31ca new method.
1999-08-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c	(_copy_message_to): new method.

svn path=/trunk/; revision=1118
1999-08-15 21:08:34 +00:00
fb5218e353 moved the active list readjustment code here. Much saner, providers won't
1999-08-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (camel_folder_expunge):
	moved the active list readjustment code here.
	Much saner, providers won't have to worry about
	that.

	* camel/providers/MH/camel-mh-folder.c (_expunge):
	no more active list readjustment stuff.

	* camel/camel-folder.h: the expunge virtual no more
	returns a list of expunged messages. Now providers
	only have to set the expunge flag on the expunged
	messages.

	* camel/camel-folder.c (camel_folder_get_message):
	moved the caching code here. Finally, I don't want
	providers to crash the libs with a bad message cache
	implementation.
	(_close): do not call the CamelFolder virtual expunge
	method directly, use camel_folder_expunge() instead.
	(camel_folder_expunge): added the want_list param.
	The client can decide if it wants the expunged message
	list or not. If yes, it'll have to unref the messages
	itself.

svn path=/trunk/; revision=1117
1999-08-15 20:40:11 +00:00
e579dc553c Implemented deletion/expunge mechanism.
1999-08-14  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (delete_selected_messages):
	(expunge_selected_folders):
	Implemented deletion/expunge mechanism.

	* camel/camel-folder.c (_get_message):
	Added some debug info.

	* camel/providers/MH/camel-mh-folder.c (_expunge):
	implemented and tested.

	* camel/camel-mime-message.c (_set_flag):
	changed the old braindead implementation.
	boolean are inserted in the flag hash
	table casted as gpointers.


	* camel/camel-mime-message.c: indentation fix

svn path=/trunk/; revision=1114
1999-08-14 18:50:46 +00:00
920be6e190 default implementation to be called first by providers methods. It looks
1999-08-13  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_get_message): default implementation
	to be called first by providers methods. It looks in the
	folder message list (in memory) to see if the message has
	not already been retrieved, and in this case, returns
	the same CamelMimeMessage object

Caching messages in folder kworks. Providers will have to
do their job correctly.
Enough for today.

svn path=/trunk/; revision=1113
1999-08-13 18:28:56 +00:00
ec22bcd920 New field (message_list) which will hold a reference on each message
1999-08-13  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.h (struct _CamelFolder):
	New field (message_list) which will hold a
	reference on each message obtained by the folder,
	which is necessary in order for the caching procedure
	to work (Getting the same message from a folder twice
	will return the same CamelMimeMessage object).

	* camel/camel-folder.c (camel_folder_get_message):
	When the store retreives a message put it in its
	message list.
	(_finalize): free message list.

	* ChangeLog: fix typo (parmanent)

svn path=/trunk/; revision=1112
1999-08-13 17:41:18 +00:00
c232c3eeaa new method, returns the list of permanent flags supported by the folder.
1999-08-13  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_get_parmanent_flag_list):
	(camel_folder_get_parmanent_flag_list):
	new method, returns the list of permanent
	flags supported by the folder.

	* camel/camel-mime-message.c (_get_flag_list):
	(camel_mime_message_get_flag_list): new method,
	return the list of flag name used by this message.

svn path=/trunk/; revision=1111
1999-08-13 15:30:45 +00:00
0472611db8 those two func go here now.
1999-08-13  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/hash-table-utils.c (g_strcase_equal):
	(g_strcase_hash): those two func go here now.

	* camel/hash_table_utils.c (hash_table_generic_free):
	free a (gpointer, gpointer) hash table pair.

	* camel/camel-mime-message.c (camel_mime_message_init): use
	case insensitive hash table functions.
	(_set_flag):
	(camel_mime_message_set_flag):
	(_get_flag):
	(camel_mime_message_get_flag):
	Use const for flag name, they are now
	duplicated.

svn path=/trunk/; revision=1110
1999-08-13 14:30:07 +00:00
1c721c4abb remove stupid debug code. (add_mail_store): use camel_session_get_store
1999-08-12  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (show_folder_messages):
	remove stupid debug code.
	(add_mail_store): use camel_session_get_store instead
	of creating MH store directly.
	(main): load MH provider.

	* camel/camel-provider.c (camel_provider_register_as_module):
	register new provider.
	(camel_provider_get_for_protocol):
	Now, implementation is correct.

	* camel/camel-store.c (_finalize):
	* camel/camel-store.h (struct _CamelStore):
	further disabled url_name field use.
	URL will be generated dynamically.

Ben dam don dieu, vla t'y pas que ya tout le bourier qui marche !
(Autoload store/protocol from URL works)

svn path=/trunk/; revision=1108
1999-08-12 21:01:07 +00:00
96b7f9a5fd compilation and runtime fixes.
1999-08-12  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-session.c (camel_session_get_store_for_protocol):
	compilation and runtime fixes.

	* camel/providers/MH/camel-mh-store.c (_init):
	synced with CamelStore.

	* camel/camel-store.c (_init):
	in CamelStore::init, url_name is now const.
	disabled url_name copy.

Last check in did not even compile...

svn path=/trunk/; revision=1107
1999-08-12 11:00:04 +00:00
f888058fc6 new function: returns a store for an URL.
1999-08-12  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-session.c (camel_session_get_store):
	new function: returns a store for an URL.
	(camel_session_get_store_for_protocol):
	new functionc: returns a store for a given
	store protocol (as IMAP/POP/MH ...)
	* camel/string-utils.c (g_strcase_equal):
	(g_strcase_hash): case insensitive hash table
	funcs.

	* camel/camel-session.c (camel_session_init): hash table
	keys are case insensitive.

	* camel/camel-provider.c (camel_provider_get_for_protocol):
	new function, returns the last registered
	provider for a protocol.

svn path=/trunk/; revision=1106
1999-08-12 10:24:01 +00:00
a478ee7e9d new file. MH provider registration stuff.
1999-08-12  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-provider.c:
	new file. MH provider registration stuff.

	* camel/camel-provider.c (camel_provider_register_as_module):
	load a provider from a shared object (plugin).
	(camel_provider_register): register a provider
	"by hand". Used for statically defined providers.

	* tests/test7.c: new test.
	tests providers loading framework.

Providers modules loading Works !!! :))))

svn path=/trunk/; revision=1105
1999-08-11 22:34:09 +00:00
33ffe9aadc Message creation still consumes a lot of
memory (maybe 2000k) and I really don't
understand why. As soon as I get gtk working
on SunOS, purify should hopefully give me the answer.

1999-08-11  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-service.c (_finalize):
	* camel/camel-stream-fs.c (_finalize):
	(_destroy): close file descriptor.
	* camel/camel-stream-mem.c (_finalize):
	* camel/camel-store.c (_finalize):
	* camel/camel-folder.c (_finalize):

svn path=/trunk/; revision=1104
1999-08-11 10:59:17 +00:00
9d041c9464 implemented destructors.
1999-08-11  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-multipart.c (_finalize):
	* camel/camel-simple-data-wrapper.c (_finalize):
	* camel/camel-mime-part.c (_finalize):
	implemented destructors.

	* camel/gmime-content-field.c (gmime_content_field_ref):
	(gmime_content_field_unref):
	New reference mechanism for GMimeContentField objects.

	* camel/camel-data-wrapper.c (_finalize):
	Started implementing destructors.

	* camel/camel-mime-part.c (_construct_from_stream):
	* camel/gmime-content-field.c (gmime_content_field_write_to_stream):
	* camel/camel-multipart.c (_construct_from_stream):
	removed forgotten anarchic traces.


Go away memory leaks!

svn path=/trunk/; revision=1103
1999-08-10 23:22:44 +00:00
7d7f542330 Quick and (very) dirty hack to test Camel more easily.
1999-08-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c:
	* tests/ui-tests/store_listing.glade:
	Quick and (very) dirty hack to test Camel more
	easily.

	* camel/camel-folder.c (camel_folder_append_message):
	new method.

svn path=/trunk/; revision=1102
1999-08-10 17:31:48 +00:00
6cb08f0bc1 some test files
svn path=/trunk/; revision=1101
1999-08-10 11:53:46 +00:00
317000107d new file. Document message UID and vfolder implementation.
1999-08-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* devel-docs/misc/ref_and_id_proposition.txt:
	new file. Document message UID and vfolder
	implementation.

svn path=/trunk/; revision=1100
1999-08-09 20:30:53 +00:00
5ee8f0795e more advanced RFC2047 encoder started.
1999-08-08  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* camel/gmime-rfc2047.c: more advanced RFC2047 encoder started.

svn path=/trunk/; revision=1098
1999-08-08 22:38:40 +00:00
4c3eb87749 fix. In MH, message number is not related to message position in folder.
1999-08-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_get_message):
	fix. In MH, message number is not related to
	message position in folder.

svn path=/trunk/; revision=1097
1999-08-08 20:02:02 +00:00
e5d44122b8 util func. (_get_message_count): implemented.
1999-08-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_is_a_message_file):
	util func.
	(_get_message_count): implemented.

svn path=/trunk/; revision=1096
1999-08-08 19:10:05 +00:00
db89b1a62f updated some autogen doc stuff. Still don't understand warnings :(
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* devel-docs/camel/:
	updated some autogen doc stuff.
	Still don't understand warnings :(

	* camel/camel-data-wrapper.c:
	* camel/providers/MH/camel-mh-store.c:
	* camel/url-util.c:
	* camel/gmime-content-field.c:
	* camel/camel-store.c:
	various inline doc corrections.

	* camel/camel-folder.c (get_message_count):
	new method. Returns the number of message
	in the folder.

svn path=/trunk/; revision=1092
1999-08-06 17:28:26 +00:00
85067acb32 encoder test.
1999-08-06  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* tests/test6.c: encoder test.

	* camel/gmime-rfc2047.c: Fixed decoder bug : sequence
	?= is not always the terminator for an encoded-string.

svn path=/trunk/; revision=1091
1999-08-06 15:47:45 +00:00
f3e57fa18f stat was not testing the good file. Fixed.
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_list_subfolders):
	stat was not testing the good file. Fixed.

svn path=/trunk/; revision=1090
1999-08-06 15:12:47 +00:00
9addfb95be added real test for MH folder provider. All tested things seem to work OK
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/test4.c (main): added real test for MH folder
	provider. All tested things seem to work OK :)

svn path=/trunk/; revision=1089
1999-08-06 14:41:10 +00:00
2bbd6e4180 test for RFC2047 decoder.
1998-08-06  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* tests/test5.c: test for RFC2047 decoder.

	* camel/gmime-rfc2047.c: Improved RFC2047 decoder.

svn path=/trunk/; revision=1088
1999-08-06 14:25:09 +00:00
cf2f1c428f add debug information (_list_subfolders): test if first char in folder
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_exists): add debug information
	(_list_subfolders): test if first char in folder name is not '.'
	before adding it to the folder list.

	* camel/camel-store.c (_init):
	disable session check temporarily
	(_get_separator):
	(_get_folder): new static func.
	Fixed several oddities in class definition.

	* camel/providers/MH/camel-mh-store.c (camel_mh_store_get_type):
	parent type is CAMEL_STORE_TYPE not CAMEL_FOLDER_TYPE

	* camel/camel-store.c:
	prent class is CamelServiceClass not GtkObjectClass

	* camel/url-util.c :
	cosmetic changes + use of const when possible.
	(find_host):
	fix a bug: when there is no host and no port don't skip the '/'
	all static find_* func are now named _func_*
	(g_url_free): destructor func.
	cache field has been disabled. Constructing the url string
	won't be too slow and will occur rarely enough that we
	do not need to add complexity to this code.

	* camel/providers/MH/camel-mh-store.c:
	parent class is CamelStorClass not GtkObjectClass

svn path=/trunk/; revision=1087
1999-08-06 14:17:27 +00:00
7e8e444982 test mh provider.
1999-08-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/test4.c:
	test mh provider.

	* camel/providers/MH/camel-mh-folder.c (_get_message):
	implemented

svn path=/trunk/; revision=1083
1999-08-05 21:25:53 +00:00