Commit Graph

747 Commits

Author SHA1 Message Date
c1d59fcb62 detects netscape ".sdb" folders as well as simple non-suffixed folders (as
2000-01-03  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/mbox/camel-mbox-folder.c (_list_subfolders):
	detects netscape ".sdb" folders as well as simple
	non-suffixed folders (as the ones used in pine).


	* camel/string-utils.c (string_prefix):
	finished implementation.
	(string_prefix): added a boolean flag to indicate if the
	suffix has been found. When the suffix does not match,
	return NULL.

svn path=/trunk/; revision=1531
2000-01-03 22:40:54 +00:00
01c8e48720 sync. Does not compile
svn path=/trunk/; revision=1530
2000-01-03 10:08:55 +00:00
23185a2546 Backup sync.
svn path=/trunk/; revision=1520
1999-12-27 09:25:21 +00:00
023367b648 Work in progress. Missing files
svn path=/trunk/; revision=1511
1999-12-21 23:18:14 +00:00
fe17c00980 part of the mbox provider.
1999-12-22  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/mbox/camel-mbox-store.h:
	* camel/providers/mbox/camel-mbox-store.c:
	* camel/providers/mbox/camel-mbox-folder.h:
	* camel/providers/mbox/camel-mbox-folder.c:
	part of the mbox provider.

svn path=/trunk/; revision=1510
1999-12-21 23:17:03 +00:00
46a1a3ad94 include camel-log.h to avoid unresolved symbols.
1999-12-19  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-utils.c: include camel-log.h
	to avoid unresolved symbols.

svn path=/trunk/; revision=1504
1999-12-19 19:42:05 +00:00
5eed01a18d documented.
1999-12-18  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (camel_folder_get_summary):
	documented.

	added the providers/mbox directory. Now that camel-folder
	has been cleaned up a bit, the main evolution provider
	work can start. The MH provider was only a proof of
	concept, and should not be used for the moment.

svn path=/trunk/; revision=1503
1999-12-18 15:27:14 +00:00
83f5a95caa updated to take the change on append into account.
1999-12-18  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-pt-proxy.c (_append_message):
	updated to take the change on append into account.

	* camel/camel-folder.h:
	updated class def concerning append.
	* camel/camel-folder.c
	(camel_folder_append_message): documented.
	(camel_folder_append_message): don't return the
	message number. Use specific methods instead.
	(_append_message): idem.

svn path=/trunk/; revision=1502
1999-12-18 14:59:36 +00:00
3027e9e45d use exception mechanism. (camel_folder_delete): idem. (_delete_messages):
1999-12-18  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_delete): use
	exception mechanism.
	(camel_folder_delete): idem.
	(_delete_messages): idem.
	(camel_folder_delete_messages): idem.
	(_get_parent_folder): idem.
	(camel_folder_get_parent_folder): idem.
	(_get_parent_store): idem.
	(_get_mode): idem.
	(camel_folder_get_parent_store): idem.
	(camel_folder_get_mode): idem.
	(_list_subfolders): idem.
	(camel_folder_list_subfolders): idem.
	(_expunge): idem.
	(camel_folder_expunge): idem.
	(_has_message_number_capability): idem.
	(camel_folder_has_message_number_capability): idem.
	(_get_message_by_number): idem.
	(camel_folder_get_message_by_number): idem.
	(camel_folder_get_message_count): idem.
	(_list_permanent_flags): idem.
	(camel_folder_list_permanent_flags): idem.
	(_copy_message_to): idem.
	(camel_folder_copy_message_to): idem.
	(camel_folder_has_summary_capability): idem.
	(camel_folder_get_summary): idem.
	(camel_folder_has_uid_capability): idem.
	(camel_folder_get_message_uid): idem.
	(_get_message_uid_by_number): idem.
	(camel_folder_get_message_uid_by_number): idem.
	(camel_folder_get_message_by_uid): idem.
	(camel_folder_get_uid_list): idem.

svn path=/trunk/; revision=1501
1999-12-18 14:38:43 +00:00
0c6cc80cdf use exception mechanism. (camel_folder_set_name): idem.
1999-12-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_set_name):
	use exception mechanism.
	(camel_folder_set_name): idem.
	(camel_folder_set_full_name): idem.
	(_get_name): idem.
	(camel_folder_get_name): idem.
	(_get_full_name): idem.
	(camel_folder_get_full_name): idem.
	(_can_hold_folders): idem.
	(_can_hold_messages): idem.
	(_exists): idem.
	(camel_folder_exists): idem.
	(_is_open): idem.
	(_get_subfolder): idem.
	(camel_folder_get_subfolder): idem.

	* camel/camel-exception.c (camel_exception_clear):
	New function. Clear an exception.
	(camel_exception_get_id):
	New function.
	(camel_exception_get_description):
	New function.

	* camel/camel-folder.c (_set_name):
	Use the exception system. When the folder
	has no parent, don't set its full name
	field.

svn path=/trunk/; revision=1499
1999-12-17 19:19:59 +00:00
d376deb02b changed the return value. Now returns the list of expunged messages
1999-12-16  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (camel_folder_expunge):
	(_expunge):
	* camel/camel-folder-pt-proxy.c (_expunge):
	changed the return value. Now returns the list
	of expunged messages

	* camel/camel-folder.c (_init_with_store):
	cleaned up. Use the exception system now.
	(_open): ditto.
	(camel_folder_open): ditto.
	(camel_folder_open_async): ditto.
	(_close):  ditto.
	(camel_folder_close):  ditto.
	(camel_folder_close_async): ditto.

	* camel/camel-exception.c (camel_exception_set):
	When no exception is given, do nothing, just
	return.
	(camel_exception_set): documented.
	(camel_exception_new): idem.
	(camel_exception_free): idem.
	(camel_exception_xfer): idem.


	* camel/camel-folder.c:
	* camel/camel-folder.h: more clean-ups.
	Removed message list related code.
	This was braindead design.

svn path=/trunk/; revision=1494
1999-12-16 18:05:41 +00:00
6bd8382bd6 implemented. The routines in this file will be called by providers to
1999-12-16  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-utils.c (camel_aml_expunge_messages):
	implemented. The routines in this file will be
	called by providers to handle the list of
	message already standing in memory.

1999-12-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-utils.c:
	* camel/camel-folder-utils.h:
	New files, misc utilities for the
	folder providers. Includes active message
	list utilities.


	* camel/camel-folder.c (_has_message_number_capability):
	(camel_folder_has_message_number_capability):
	Added this to know if a folder provides
	number-based message access.

	* camel/camel-folder.c (_get_message_count):
	added warning when called directly.
	(_append_message): ditto
	(_open_async):  ditto
	(_close_async):  ditto
	(_delete_messages): ditto
	(_expunge):  ditto
	(_get_message_by_number):  ditto
	(_get_message_uid):  ditto
	(_get_message_uid_by_number):  ditto
	(_get_message_by_uid):  ditto
	(_get_uid_list):  ditto

svn path=/trunk/; revision=1492
1999-12-15 23:48:23 +00:00
78c9c2b070 update (_get_message_by_number): Update to reflect changes in CamelFolder
1999-12-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-pt-proxy.c (_open_async):
	(_open):
	(_close_async):
	(_close):
	(camel_folder_pt_proxy_class_init):
	update
	(_get_message_by_number):
	Update to reflect changes in CamelFolder

svn path=/trunk/; revision=1491
1999-12-15 13:01:34 +00:00
14a6a4c746 clean-ups.
1999-12-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.[ch]:
	 clean-ups.

svn path=/trunk/; revision=1490
1999-12-15 11:11:35 +00:00
331335d12c Fix copyright informations once again
svn path=/trunk/; revision=1489
1999-12-14 22:40:38 +00:00
54e2b5022a Make set_* methods in CamelMimeMessage use const strings.
svn path=/trunk/; revision=1477
1999-12-09 02:35:42 +00:00
b92f33ed11 more small typo fixes.
svn path=/trunk/; revision=1438
1999-11-26 13:05:15 +00:00
5f7a40affc Make `make distcheck' work.
svn path=/trunk/; revision=1397
1999-11-17 15:51:01 +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
b681ec2b9a Here is my initial Evolution work: message composition widget and some
installation fixes for Camel.

svn path=/trunk/; revision=1369
1999-11-05 23:06:09 +00:00
8fe1aa5f41 Copyright change
svn path=/trunk/; revision=1348
1999-10-23 15:19:51 +00:00
741b645885 lap sync
svn path=/trunk/; revision=1332
1999-10-18 23:00:20 +00:00
b2d3159593 missing files
svn path=/trunk/; revision=1329
1999-10-13 21:18:21 +00:00
bf9f54f961 A lot of changes. The thread proxy mechanism
is now functional. The signal proxy needs to be tested
though. The thread proxy folder is being implemented.
A rough summary :

1999-10-13  bertrand <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (camel_folder_close): the
	folder->close method is now asynchronous.

	* camel/camel-folder-pt-proxy.c (_folder_open_cb):
	(_open):
	(_folder_open_cb):
	(_open):
	open/close method implemented in the thread proxy
	folder. More to come.

	* camel/camel-exception.c (camel_exception_xfer):
	new utility func.

	* camel/camel-marshal-utils.c: some new marshallers

	* camel/camel-folder-pt-proxy.c: Some explanations
	on the thread proxy system.

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

	* camel/camel-marshal-utils.c:
	camel/camel-marshal-utils.h:
	Handles operation marshalling.

	* camel/camel-thread-proxy.c:
	camel/camel-thread-proxy.h:
	new files. Generic proxy system.

	* camel/camel-folder-pt-proxy.c
	moved all proxy related code in dedicated files.

	(camel_folder_pt_proxy_init):
	removed proxy initialisation code
	(_finalize):
	removed proxy finalization code


	* camel/camel-exception.c
	(camel_exception_new):
	(camel_exception_set):
	(camel_exception_free):
	New funcs.

svn path=/trunk/; revision=1328
1999-10-13 21:16:55 +00:00
fa7670918a missing file
svn path=/trunk/; revision=1323
1999-10-08 19:22:50 +00:00
f1d9513767 weekly commit
svn path=/trunk/; revision=1322
1999-10-08 19:21:51 +00:00
10ec882bf1 redesign of the proxy/marshaling code. Uses GtkArg now. sync commit.
* redesign of the proxy/marshaling code. Uses GtkArg now.
* sync commit. Evolution does not build at all now.

svn path=/trunk/; revision=1260
1999-09-27 18:05:43 +00:00
6ed1a40852 Added corba-like exception system to CamelFolder. The exception system is
* Added corba-like exception system to CamelFolder.
The exception system is not finished but I wanted
the async and event implementation to get this right
from the beginning.

svn path=/trunk/; revision=1256
1999-09-23 19:26:54 +00:00
6d24357f78 sync
svn path=/trunk/; revision=1255
1999-09-23 15:15:40 +00:00
b079a98d54 Build fix
svn path=/trunk/; revision=1254
1999-09-23 11:26:06 +00:00
10da3f1841 more work.
* camel/camel-folder-pt-proxy.c:
	more work.

svn path=/trunk/; revision=1248
1999-09-21 21:21:36 +00:00
a8ccf54013 Check pthreads.
1999-09-21  bertrand  <Bertrand.Guiheneuf@aful.org>

	* configure.in:
	Check pthreads.

	* camel/Makefile.am:
	camel-folder-pt-proxy.c is only compiled
	when pthreads are available.

svn path=/trunk/; revision=1247
1999-09-21 20:40:27 +00:00
9da28b3161 camel_folder_get_full_name did not work. Fixed.
svn path=/trunk/; revision=1246
1999-09-21 13:16:56 +00:00
97f8a7e38f Preliminary subfolder support for maildirs.
svn path=/trunk/; revision=1245
1999-09-21 13:15:33 +00:00
87f84c22a8 Signal proxying implemenatation. (_signal_marshaller_server_side):
1999-09-21  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-pt-proxy.c:
	Signal proxying implemenatation.
	(_signal_marshaller_server_side):
	(_signal_marshaller_client_side):
	(_init_signals_proxy):
	Code not is tested and has to be best
	explained as it uses threads conditions and
	gtk signal system.
	(_thread_notification_catch): notify pending signals
	as well as thread availability.

svn path=/trunk/; revision=1244
1999-09-20 23:15:47 +00:00
bb18195c26 completed
1999-09-20  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-pt-proxy.c (_op_exec_or_plan_for_exec):
	completed

	Binch of new funcs:
	(_maybe_run_next_op):
	Called by the watch notification when
	a threaded op is completed
	(_thread_notification_catch):
	notification watch call back
	(_init_notify_system):
	set up the notification channel
	(notify_availability):
	called by threads before completion.

svn path=/trunk/; revision=1242
1999-09-20 12:40:39 +00:00
b2c5bf685a synczZzZ
svn path=/trunk/; revision=1238
1999-09-18 00:03:48 +00:00
445b09502f new func. Try to exec an operation in a thread or queue it if a thread is
1999-09-18  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-pt-proxy.c (_op_exec_or_plan_for_exec):
	new func. Try to exec an operation in a thread
	or queue it if a thread is already busy.

	* camel/camel-op-queue.c (camel_op_queue_set_service_availability):
	(camel_op_queue_get_service_availability):
	new funcs.

	* camel/camel-op-queue.c (camel_op_new):
	(camel_op_free):
	new funcs. Uses glib mem chunks.

svn path=/trunk/; revision=1237
1999-09-17 23:40:06 +00:00
acd6bafa58 added notify io_channel. new func. run the next operation.
1999-09-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder-pt-proxy.c (_init_with_store):
	added notify io_channel.
	* (camel_op_queue_run_next_op): new func.
	run the next operation.

svn path=/trunk/; revision=1236
1999-09-17 20:34:22 +00:00
63039bb99e New object. Operation queue. Meant to be used in non-blocking proxy
1999-09-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-op-queue.h:
	* camel/camel-op-queue.c:
	New object. Operation queue. Meant to be used in
	non-blocking proxy objects.

svn path=/trunk/; revision=1231
1999-09-16 22:26:03 +00:00
fc9712db28 First proxy (pthread based) implementation starts.
* First proxy (pthread based) implementation starts.

1999-09-14  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/Makefile.am (libcamel_la_SOURCES):
	added camel-folder-pt-proxy.[ch] to the build
	process.

	* camel/camel-folder-pt-proxy.c (_init_with_store):
	started implementation of the pthread-based
	folder proxy.

svn path=/trunk/; revision=1223
1999-09-13 22:38:45 +00:00
bb40dc75ee forgotten files
svn path=/trunk/; revision=1220
1999-09-08 19:03:51 +00:00
68ceb01f60 Summary files are here and work !!!
1999-09-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/mh-summary.c
	(mh_load_summary):
	(mh_save_summary):
	(mh_create_summary):
	implemented summary (files) for MH folders.

	* camel/providers/MH/camel-mh-folder.c
	(_get_message_by_uid): implemented.
	(camel_mh_folder_class_init):
	(_get_message_uid): implemented

svn path=/trunk/; revision=1219
1999-09-08 18:59:27 +00:00
4a3be14666 impemented.
1999-09-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c
	(_get_message_by_uid): impemented.

	* camel/camel-folder.c:
	(camel_folder_get_message_uid_by_number):
	const'ified uid.
	(camel_folder_get_message_by_uid): idem
	removed stupid camel_folder_get_message_uid_by_number
	method.

svn path=/trunk/; revision=1215
1999-09-08 12:20:30 +00:00
0c1cbcdb39 Documented UIDs.
1999-09-08  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):
	Documented UID methods.

svn path=/trunk/; revision=1193
1999-09-08 10:11:54 +00:00
ed7fc1eaa2 More work on UID list in Mh provider.
1999-09-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (close_all):
	close all open folders and stores. (necessary
	for UID list saving ).

	* camel/providers/MH/mh-uid.c (mh_generate_uid_list):
	fix: store UID list in CamelMHFolder object.

	* camel/providers/MH/camel-mh-folder.c (_open):
	read or create UID list.
	(_close): save UID list.

svn path=/trunk/; revision=1192
1999-09-07 23:08:03 +00:00
dba244cf65 oops
svn path=/trunk/; revision=1191
1999-09-07 15:46:49 +00:00
598dc5e556 correct parameter decl (const)
1999-09-07  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.c (md5_get_digest_from_file):
	correct parameter decl (const)

	* camel/md5-utils.h: typo.

	* camel/providers/MH/mh-uid.c
	More work on UID stuff for MH.
	(mh_save_uid_list):
	(mh_load_uid_list):
	(mh_generate_uid_list):
	new funcs. Manage on-disk uid list.

	* camel/providers/MH/mh-utils.c (mh_is_a_message_file):
	Util routines live here now.

svn path=/trunk/; revision=1190
1999-09-07 15:45:57 +00:00
9043c1aa7a camel/md5-utils.c Documented all funcs.
1999-09-07  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.c
	Documented all funcs.

	(md5_get_digest_from_stream):
	correct typo.
	(md5_get_digest_from_file):
	same typo corrected.

svn path=/trunk/; revision=1189
1999-09-06 23:27:12 +00:00