platform/upstream/evolution-data-server.git
24 years agoDon't add a Mime-Version header to a message that already has one.
Dan Winship [Tue, 25 Jul 2000 17:59:07 +0000 (17:59 +0000)]
Don't add a Mime-Version header to a message that already has one.

* camel-mime-message.c (write_to_stream): Don't add a Mime-Version
header to a message that already has one.

* camel-internet-address.c (internet_encode): Don't put <>s around
addresses with no name part.

24 years agoIMAP expunge crash prevention... still not right...
Peter Williams [Tue, 25 Jul 2000 16:02:20 +0000 (16:02 +0000)]
IMAP expunge crash prevention... still not right...

24 years agoOptimized to try and get the new message headers without reloading the
Jeffrey Stedfast [Tue, 25 Jul 2000 05:32:55 +0000 (05:32 +0000)]
Optimized to try and get the new message headers without reloading the

2000-07-25  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
Optimized to try and get the new message headers without reloading
the entire summary from scratch.
(imap_get_summary_internal): Will now sync() before attempting to reload
the summary so that flags are set in the reloaded summary as well.

24 years agoUpdated to give special attention to the root folder.
Jeffrey Stedfast [Tue, 25 Jul 2000 03:45:55 +0000 (03:45 +0000)]
Updated to give special attention to the root folder.

2000-07-24  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-store.c (get_folder): Updated to give special
attention to the root folder.

* providers/imap/camel-imap-folder.c (imap_get_subfolder_names_internal):
Updated to handle the root folder
(imap_get_message_count_internal): return 0 if folder can't hold messages
(camel_imap_folder_new): Change so that root folder gets special attention
and always gets can_hold_messages set to FALSE

24 years agoRemove exceptions from a number of methods that work on what ought to be
Dan Winship [Tue, 25 Jul 2000 02:42:11 +0000 (02:42 +0000)]
Remove exceptions from a number of methods that work on what ought to be

* camel-folder.c: Remove exceptions from a number of methods that
work on what ought to be static data: get_parent_folder,
get_parent_store, get_message_count, get_unread_message_count,
get_permanent_flags, get_message_flags, set_message_flags,
get_message_user_flag, set_message_user_flag, get_uids,
get_summary, get_subfolder_names. Turn camel_folder_delete_message
into a macro. (Mostly a pull-up from the camel-async branch.)

* providers/{imap,mbox,nntp,pop3,vee}: Update for CamelFolder
changes

24 years agoUpdated to port easily to the new Camel API (imap_init): Don't SELECT
Jeffrey Stedfast [Tue, 25 Jul 2000 02:02:14 +0000 (02:02 +0000)]
Updated to port easily to the new Camel API (imap_init): Don't SELECT

2000-07-24  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_message_info): Updated
to port easily to the new Camel API
(imap_init): Don't SELECT INBOX, we don't need to do that

24 years agoInitialize the summary and subfolder listing. (imap_summary_free): Now
Jeffrey Stedfast [Mon, 24 Jul 2000 23:10:21 +0000 (23:10 +0000)]
Initialize the summary and subfolder listing. (imap_summary_free): Now

2000-07-24  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (camel_imap_folder_new):
Initialize the summary and subfolder listing.
(imap_summary_free): Now takes a GPtrArray arg rather than a
CamelImapFolder as it increases it's usefullness for free()'ing
temporary summaries.
(imap_get_message_count_internal): A new convenience function for
getting the actual message count on a server to be used by
imap_get_summary_internal)
(imap_get_message_count): Since the Camel API is on the move again,
the future version of this function will not be able to make a
call to the store, it must only access previously fetched data (thus
the creation of the _internal function)
(imap_get_subfolder_names_internal): Again, because the future version
of imap_get_subfolder_names will not take an exception, we must rename
this function which will be called by camel_imap_folder_new()
(imap_get_subfolder_names): We now return the previously collected
subfolder listing that the _internal function fetched previously
(imap_get_summary_internal): Again, same idea as the previous _internal
functions...
(imap_get_summary): Again... now returns a previously aquired summary

* providers/imap/camel-imap-store.c (imap_noop): This will hopefully
prevent the imap store from disconnecting.
(imap_connect): Modified to add a gtk timeout event that will call
imap_noop() every 10 minutes (we may want to change this time value)
(imap_disconnect): Modified to remove the NOOP timeout event from the
store.
(camel_imap_command_extended): Commented out the code that would try
and detect if the store was disconnected and then reconnect if it was
needed.

24 years agoRemove camel_folder_get_message_uid, which was not used, and not
Dan Winship [Mon, 24 Jul 2000 15:16:09 +0000 (15:16 +0000)]
Remove camel_folder_get_message_uid, which was not used, and not

* camel-folder.[ch]: Remove camel_folder_get_message_uid, which
was not used, and not implemented by any provider.

* providers/nntp/camel-nntp-folder.c: Remove get_message_uid
non-implementation.

24 years agoBye bye bye.
Dan Winship [Mon, 24 Jul 2000 15:13:07 +0000 (15:13 +0000)]
Bye bye bye.

* camel-folder-pt-proxy.[ch], camel-arg-collector.c,
camel-marshal-utils.[ch]: Bye bye bye.

* Makefile.am: remove reference to camel-arg-collector.c

24 years agoMade it a little more forgiving. Also set current_folder to NULL as there
Jeffrey Stedfast [Mon, 24 Jul 2000 01:37:43 +0000 (01:37 +0000)]
Made it a little more forgiving. Also set current_folder to NULL as there

2000-07-23  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-store.c (imap_disconnect): Made it a
little more forgiving. Also set current_folder to NULL as there is
no selected folder after a disconnect.
(stream_is_alive): Detects whether or not a socket is "alive"
(camel_imap_command_extended): Use stream_is_alive() to aid in the
detection of a disconnected state.

24 years agoClear CamelExceptions when appropriate (eg when folder is marked as
Jeffrey Stedfast [Sat, 22 Jul 2000 19:12:55 +0000 (19:12 +0000)]
Clear CamelExceptions when appropriate (eg when folder is marked as

2000-07-22  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-store.c (get_folder): Clear CamelExceptions when
appropriate (eg when folder is marked as \NoSelect). Still needs some
cleanup and perhaps Dan will have a better way of doing this as this seems
like a messy way of handling this.

* providers/imap/camel-imap-folder.c (imap_get_uids): Took out some debug
statements as they are no longer needed.

24 years agoUpdated to not strip out subfolders that are marked as \NoSelect because
Jeffrey Stedfast [Sat, 22 Jul 2000 01:38:41 +0000 (01:38 +0000)]
Updated to not strip out subfolders that are marked as \NoSelect because

2000-07-21  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_subfolder_names): Updated to
not strip out subfolders that are marked as \NoSelect because this will be
correctly handled in store->get_folder from now on.

* providers/imap/camel-imap-store.c (folder_is_selectable): New convenience
function for use in get_folder().
(parse_list_response): Now takes a char **flags argument which is needed by
folder_is_selectable().
(imap_connect): Updated to reflect changes to parse_list_response().

24 years agoUpdated with some of the same fixes I've made to camel-imap-folder.c like
Jeffrey Stedfast [Fri, 21 Jul 2000 19:48:43 +0000 (19:48 +0000)]
Updated with some of the same fixes I've made to camel-imap-folder.c like

2000-07-21  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-stream.c (stream_read): Updated with some of the
same fixes I've made to camel-imap-folder.c like recalculating message part
lengths.

24 years agoRewrote the code to check for "* %d RECENT". Still needs to be modified,
Jeffrey Stedfast [Fri, 21 Jul 2000 19:30:20 +0000 (19:30 +0000)]
Rewrote the code to check for "* %d RECENT". Still needs to be modified,

2000-07-21  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-store.c (camel_imap_command_extended): Rewrote
the code to check for "* %d RECENT". Still needs to be modified, but should
no longer cause an infinite loop by detecting mis-detecting RECENT messages.

24 years agoOops. Fix UID parser to allow 0 and 9 to be in the range of valid UID
Jeffrey Stedfast [Thu, 20 Jul 2000 04:29:54 +0000 (04:29 +0000)]
Oops. Fix UID parser to allow 0 and 9 to be in the range of valid UID

2000-07-20  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary):
(imap_get_message_info): Oops. Fix UID parser to allow 0 and 9 to be in
the range of valid UID chars.

24 years agoGeneral cleanup working towards getting Actions->Expunge working
Jeffrey Stedfast [Wed, 19 Jul 2000 21:43:44 +0000 (21:43 +0000)]
General cleanup working towards getting Actions->Expunge working

2000-07-19  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c: General cleanup working towards
getting Actions->Expunge working correctly.

* providers/imap/camel-imap-store.c (cammel_imap_command_extended): Added
code to look for "* %d RECENT" and to emit the folder_changed signal if
there are any recent messages. Note: this is a hack and needs to be rewritten
badly.

24 years agoIf the folder's message count is not the same as the number of summaries,
Jeffrey Stedfast [Wed, 19 Jul 2000 18:15:37 +0000 (18:15 +0000)]
If the folder's message count is not the same as the number of summaries,

2000-07-19  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary): If the folder's
message count is not the same as the number of summaries, free the old
summary and create a new summary.

24 years agoAdded in imap_[g,s]et_message_user_flag() methods (imap_get_message_info):
Jeffrey Stedfast [Tue, 18 Jul 2000 20:56:46 +0000 (20:56 +0000)]
Added in imap_[g,s]et_message_user_flag() methods (imap_get_message_info):

2000-07-18  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (camel_imap_folder_class_init): Added
in imap_[g,s]et_message_user_flag() methods
(imap_get_message_info): Rewrote to use the more efficient way of
downloading summary information and also added a UID comparison so that
if the UID requested doesn't match the UID received, it returns NULL.
FIXME: When the mailer gets NULL when it requested message info, it
seems that it displays a row for that message and when you try and select
the blank row, it segfaults.

* providers/imap/camel-imap-store.c (get_folder): Oops, this should not be
checking against "/", it should be checking against dir_sep.

* providers/imap/camel-imap-folder.c (imap_parse_subfolder_line): Updated
to trim out the leading namespace.
(imap_get_subfolder_names): Let the subfolder parser trim the namespace
off the folder name.

24 years agoAdded in imap_[g,s]et_message_user_flag() methods
Jeffrey Stedfast [Tue, 18 Jul 2000 19:36:12 +0000 (19:36 +0000)]
Added in imap_[g,s]et_message_user_flag() methods

2000-07-18  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (camel_imap_folder_class_init): Added
in imap_[g,s]et_message_user_flag() methods

* providers/imap/camel-imap-store.c (get_folder): Oops, this should not be
checking against "/", it should be checking against dir_sep.

* providers/imap/camel-imap-folder.c (imap_parse_subfolder_line): Updated
to trim out the leading namespace.
(imap_get_subfolder_names): Let the subfolder parser trim the namespace
off the folder name.

24 years agoSend a "LOGOUT" command.
Jeffrey Stedfast [Tue, 18 Jul 2000 00:02:59 +0000 (00:02 +0000)]
Send a "LOGOUT" command.

2000-07-17  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-store.c (imap_disconnect): Send a "LOGOUT"
command.

* providers/imap/camel-imap-folder.c (imap_get_message): Hacks to get
IMAP code to work with CommunigatePro and MS Exchange (and any other
servers that send back a UID at the end of each FETCH inside of the main
body of the message part).
(imap_sync): Un-#if 0 the code that sets the flags on the IMAP server
for messages that have changed. Oops, don't mask with DELETED to find out
if the message has been answered ;-)
(imap_expunge): sync before expunging.

24 years agoHacks to get IMAP code to work with CommunigatePro and MS Exchange (and
Jeffrey Stedfast [Mon, 17 Jul 2000 22:19:19 +0000 (22:19 +0000)]
Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and

2000-07-17  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_message): Hacks to get
IMAP code to work with CommunigatePro and MS Exchange (and any other
servers that send back a UID at the end of each FETCH inside of the main
body of the message part).
(imap_sync): Un-#if 0 the code that sets the flags on the IMAP server
for messages that have changed. Oops, don't mask with DELETED to find out
if the message has been answered ;-)

24 years agooops, s/status/s in imap_sync()
Jeffrey Stedfast [Mon, 17 Jul 2000 21:55:04 +0000 (21:55 +0000)]
oops, s/status/s in imap_sync()

24 years agoHacks to get IMAP code to work with CommunigatePro and MS Exchange (and
Jeffrey Stedfast [Mon, 17 Jul 2000 21:50:11 +0000 (21:50 +0000)]
Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and

2000-07-17  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_message): Hacks to get
IMAP code to work with CommunigatePro and MS Exchange (and any other
servers that send back a UID at the end of each FETCH inside of the main
body of the message part).
(imap_sync): Un-#if 0 the code that sets the flags on the IMAP server
for messages that have changed

24 years agoHacks to get IMAP code to work with CommunigatePro and MS Exchange (and
Jeffrey Stedfast [Mon, 17 Jul 2000 21:42:49 +0000 (21:42 +0000)]
Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and

2000-07-17  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_message): Hacks to get
IMAP code to work with CommunigatePro and MS Exchange (and any other
servers that send back a UID at the end of each FETCH inside of the main
body of the message part).

24 years agominor fixes that came up when building with gcc -ansi -pedantic
Jeffrey Stedfast [Mon, 17 Jul 2000 03:27:30 +0000 (03:27 +0000)]
minor fixes that came up when building with gcc -ansi -pedantic

24 years agoAll SELECT calls now pass a NULL folder argument to
Jeffrey Stedfast [Mon, 17 Jul 2000 02:41:50 +0000 (02:41 +0000)]
All SELECT calls now pass a NULL folder argument to

2000-07-16  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c: All SELECT calls now pass
a NULL folder argument to camel_imap_command_extended() since it's
not needed. Also s/camel_imap_command/camel_imap_command_extended as
I will probably be doing away with camel_imap_command() or at least
only using it for LOGIN and similar commands where the server won't
notify us of any recent messages.

24 years agoAll SELECT calls now pass a NULL folder argument to
Jeffrey Stedfast [Mon, 17 Jul 2000 02:16:02 +0000 (02:16 +0000)]
All SELECT calls now pass a NULL folder argument to

2000-07-16  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-store.c: All SELECT calls now pass
a NULL folder argument to camel_imap_command_extended() since it's
not needed.
(imap_connect): Moved service_class->connect() to the point right
after a connection is established with the server rather than
waiting until the end of the function.
(camel_imap_command): Updated the documentation comment
(camel_imap_command_extended): Before sending a command, first
check to make sure we are connected; if we aren't, then reconnect.
Don't strncmp() command with "SELECT" as it's redundant.

* providers/imap/camel-imap-folder.c: All SELECT calls now pass
a NULL folder argument to camel_imap_command_extended() since it's
not needed.

24 years agoOne last fix to get rid of hard-coded "/" directory separators
Jeffrey Stedfast [Sat, 15 Jul 2000 04:30:16 +0000 (04:30 +0000)]
One last fix to get rid of hard-coded "/" directory separators

2000-07-15  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (camel_imap_folder_new):
One last fix to get rid of hard-coded "/" directory separators

24 years agoOops, minor fix to make any dir_sep work.
Jeffrey Stedfast [Fri, 14 Jul 2000 23:38:09 +0000 (23:38 +0000)]
Oops, minor fix to make any dir_sep work.

24 years agoNew convenience function to unquote a string if it's encapsulated by "'s
Jeffrey Stedfast [Fri, 14 Jul 2000 23:32:04 +0000 (23:32 +0000)]
New convenience function to unquote a string if it's encapsulated by "'s

2000-07-14  Jeffrey Stedfast  <fejj@helixcode.com>

* string-utils.c (string_unquote): New convenience function
to unquote a string if it's encapsulated by "'s

* providers/imap/camel-imap-folder.c:
* providers/imap/camel-imap-store.c: Made the necessary changes
to stop using hard coded directory separators.

24 years agoIf the summary is for a smaller mbox, and rebuilding from the last-known
Dan Winship [Fri, 14 Jul 2000 00:41:01 +0000 (00:41 +0000)]
If the summary is for a smaller mbox, and rebuilding from the last-known

* providers/mbox/camel-mbox-summary.c (camel_mbox_summary_load):
If the summary is for a smaller mbox, and rebuilding from the
last-known end position fails, try rebuilding from the beginning.
Deals with the case where the user edits the mbox and makes it
bigger, without adding new messages.

24 years agoIf a SELECT fails, set imap_store->current_folder to NULL so a SELECT is
Jeffrey Stedfast [Thu, 13 Jul 2000 22:17:19 +0000 (22:17 +0000)]
If a SELECT fails, set imap_store->current_folder to NULL so a SELECT is

2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c:
* providers/imap/camel-imap-store.c: If a SELECT fails, set
imap_store->current_folder to NULL so a SELECT is forced before
any message/folder operations are requested. Also, because some
users don't use a namespace, make sure that if the url->path is
"/" we don't use it when creating the folder_path.
(camel_imap_command[_extended]): Since we allow the passing of
a NULL folder which we can use to bypass a forced SELECT, no need
to check for the individual commands that don't require a folder
to be selected.

24 years agofile make-temp.sh was initially added on branch camel-async.
Peter Williams [Thu, 13 Jul 2000 21:40:04 +0000 (21:40 +0000)]
file make-temp.sh was initially added on branch camel-async.

24 years agofile temp-test.c was initially added on branch camel-async.
Peter Williams [Thu, 13 Jul 2000 21:40:04 +0000 (21:40 +0000)]
file temp-test.c was initially added on branch camel-async.

24 years agoUpdated to use CAMEL_IMAP_OK, CAMEL_IMAP_NO, CAMEL_IMAP_BAD, and
Jeffrey Stedfast [Thu, 13 Jul 2000 20:24:09 +0000 (20:24 +0000)]
Updated to use CAMEL_IMAP_OK, CAMEL_IMAP_NO, CAMEL_IMAP_BAD, and

2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c:
* providers/imap/camel-imap-store.c: Updated to use CAMEL_IMAP_OK,
CAMEL_IMAP_NO, CAMEL_IMAP_BAD, and CAMEL_IMAP_FAIL rather than the
ones copied from the POP3 provider.

24 years agoOops. If the number of messages in the folder is 0, don't fetch summaries
Jeffrey Stedfast [Thu, 13 Jul 2000 20:08:29 +0000 (20:08 +0000)]
Oops. If the number of messages in the folder is 0, don't fetch summaries

2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary): Oops.
If the number of messages in the folder is 0, don't fetch
summaries 1 thru 0, just return an empty summary.
(imap_copy_message_to): Fixed to use message UID and also send
the source folder as an arg to camel_imap_command rather than NULL.
(imap_move_message_to): Same.
(imap_init): If SELECT is successful, we need to set the current
folder to the one selected, this was causing problems with move/copy

24 years agoOops. If the number of messages in the folder is 0, don't fetch summaries
Jeffrey Stedfast [Thu, 13 Jul 2000 19:07:14 +0000 (19:07 +0000)]
Oops. If the number of messages in the folder is 0, don't fetch summaries

2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary): Oops.
If the number of messages in the folder is 0, don't fetch
summaries 1 thru 0, just return an empty summary.

24 years agodefine a set of CAMEL_SERVICE_URL_ALLOW_* flags parallel to the _NEED_*
Dan Winship [Thu, 13 Jul 2000 17:17:56 +0000 (17:17 +0000)]
define a set of CAMEL_SERVICE_URL_ALLOW_* flags parallel to the _NEED_*

* camel-service.h: define a set of CAMEL_SERVICE_URL_ALLOW_* flags
parallel to the _NEED_* flags, and make the _NEED_* flags imply
the _ALLOW_* ones.

* providers/imap/camel-imap-store.c (camel_imap_store_init): imap
urls ALLOW_PATH

24 years agoNew and improved approach to fetching an entire folder summary that should
Jeffrey Stedfast [Thu, 13 Jul 2000 08:56:52 +0000 (08:56 +0000)]
New and improved approach to fetching an entire folder summary that should

2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary): New
and improved approach to fetching an entire folder summary
that should be much much faster than the old way as it gets
the entire folder summary in 1 shot rather than requesting
message by message. As with the last update, this version
also only fetches the minimum number of header fields.
(imap_get_summary): Oops, forgot to free the temp
GPtrArray *headers

24 years agoNew and improved approach to fetching an entire folder summary that should
Jeffrey Stedfast [Thu, 13 Jul 2000 08:28:24 +0000 (08:28 +0000)]
New and improved approach to fetching an entire folder summary that should

2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary): New
and improved approach to fetching an entire folder summary
that should be much much faster than the old way as it gets
the entire folder summary in 1 shot rather than requesting
message by message. As with the last update, this version
also only fetches the minimum number of header fields.

24 years agoDon't fetch the entire RFC822 header, just fetch the fields we want.
Jeffrey Stedfast [Thu, 13 Jul 2000 05:50:20 +0000 (05:50 +0000)]
Don't fetch the entire RFC822 header, just fetch the fields we want.

2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary): Don't
fetch the entire RFC822 header, just fetch the fields we want.
(imap_get_message_info): Same.

24 years ago Remove some text cruft i was using for testing.
Michael Zucci [Thu, 13 Jul 2000 04:03:38 +0000 (04:03 +0000)]
Remove some text cruft i was using for testing.

24 years agoReset filter on setup. (reset): When resetting qp encoding, set the state
Not Zed [Thu, 13 Jul 2000 04:02:13 +0000 (04:02 +0000)]
Reset filter on setup. (reset): When resetting qp encoding, set the state

2000-07-13  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-filter-basic.c (camel_mime_filter_basic_new_type):
        Reset filter on setup.
        (reset): When resetting qp encoding, set the state to -1, instead
        of 0.

        * camel-mime-utils.c (quoted_encode_step): Actually count the
        characters output sofar (it never counted any).  Bunch of other
        fixes.
        (quoted_encode_close): Also flush out final character, if ther's
        one.

24 years agoOops, missed a source file.
Jeffrey Stedfast [Thu, 13 Jul 2000 02:14:50 +0000 (02:14 +0000)]
Oops, missed a source file.
Added #include <e-util/e-util.h> and renamed strstrcase to e_strstrcase in providers/imap/camel-imap-folder.c

24 years agoChris forgot to add #include <e-util/e-util.h> to the source files
Jeffrey Stedfast [Thu, 13 Jul 2000 02:11:57 +0000 (02:11 +0000)]
Chris forgot to add #include <e-util/e-util.h> to the source files

2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

Chris forgot to add #include <e-util/e-util.h> to the source files

* providers/imap/camel-imap-store.c (imap_connect): Fixed Peter's
fix, we don't want to send a string to a %d.

24 years agoUndid clahey's e_strstrcase because e_strstrcase DOES NOT EXIST in
Jeffrey Stedfast [Thu, 13 Jul 2000 01:35:25 +0000 (01:35 +0000)]
Undid clahey's e_strstrcase because e_strstrcase DOES NOT EXIST in

2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

Undid clahey's e_strstrcase because e_strstrcase DOES NOT EXIST
in e-utils/e-utils.c nor anywhere else in Evolution - besides,
Camel should remain independant of Evolution.

* providers/imap/camel-imap-store.c (imap_connect): Fixed Peter's
fix, we don't want to send a string to a %d.

24 years agoFrom addressbook/ChangeLog:
Christopher James Lahey [Wed, 12 Jul 2000 22:59:24 +0000 (22:59 +0000)]
From addressbook/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

* backend/pas/pas-backend-file.c: Do case insensitive compares.

* addressbook/gui/component/addressbook.c: Make quick search
search both name and company name.

From camel/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

* camel-folder-search.c, providers/imap/camel-imap-store.c:
Changed from strstrcase to e_strstrcase.

* string-utils.c, string-utils.h: Removed strstrcase (in favor of
e_strstrcase in e-util/e-util.c.)

From e-util/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

* e-util.c, e-util.h: Added e_strstrcase function.

24 years agoget the article num out of our uid and mark it read in the newsrc.
Chris Toshok [Wed, 12 Jul 2000 21:24:26 +0000 (21:24 +0000)]
get the article num out of our uid and mark it read in the newsrc.

2000-07-12  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/camel-nntp-folder.c
(nntp_folder_set_message_flags): get the article num out of our
uid and mark it read in the newsrc.
(nntp_folder_get_message): get the message id out of the uid to
fetch the article.

* providers/nntp/camel-nntp-utils.c (get_XOVER_headers): the uid
is now <article-num>,<messageid>
(get_HEAD_headers): same.

* camel-mime-parser.c (folder_scan_step): go to HSCAN_MESSAGE
state when ct->subtype is "news" as well as "rfc822".  this makes
attachments of type "message/news" display properly.

24 years agoUseful default implementations for free_{uids,subfolder_names,summary}.
Dan Winship [Wed, 12 Jul 2000 20:37:00 +0000 (20:37 +0000)]
Useful default implementations for free_{uids,subfolder_names,summary}.

* camel-folder.c (camel_folder_free_deep,
camel_folder_free_shallow, camel_folder_free_nop): Useful default
implementations for free_{uids,subfolder_names,summary}.
(free_subfolder_names, free_uids): Make these g_warning-ing
default implementations.

* providers/*/camel-*-folder.c: Use the new functions where
appropriate, remove duplicated code.

24 years agoSolaris fixes: make sure not to pass NULL to printf's %s
Matthew Loper [Wed, 12 Jul 2000 19:46:08 +0000 (19:46 +0000)]
Solaris fixes: make sure not to pass NULL to printf's %s

24 years agoUse mbox_set_message_flags () instead of setting the flags by hand. This
Jeffrey Stedfast [Wed, 12 Jul 2000 19:28:50 +0000 (19:28 +0000)]
Use mbox_set_message_flags () instead of setting the flags by hand. This

2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/mbox/camel-mbox-folder.c (mbox_delete_message): Use
mbox_set_message_flags () instead of setting the flags by hand. This
fixes the problem of the "message_changed" signal not being emitted
at the correct time.

* providers/imap/camel-imap-folder.c: "folder_changed" signals should
pass a third argument (which is ignored).

* camel-folder.c: Undo gtk signal emits done in set_flags and
expunge.
(move_message_to):
(copy_message_to): Create info as a const CamelMessageInfo

24 years agodon't add test-newsrc to the build since it needs libcamel (which isn't
Chris Toshok [Wed, 12 Jul 2000 18:14:31 +0000 (18:14 +0000)]
don't add test-newsrc to the build since it needs libcamel (which isn't

2000-07-12  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/Makefile.am: don't add test-newsrc to the build
since it needs libcamel (which isn't built at the time test-newsrc
needs linking.)

* providers/nntp/camel-nntp-utils.c (get_HEAD_headers): fill in
MessageInfo->message_id.
(get_XOVER_headers): same.

* providers/nntp/camel-nntp-folder.c (nntp_folder_init): move
summary loading here.
(nntp_folder_sync): summary/newsrc changes should be stored here.
put a comment to that effect.
(nntp_folder_set_message_flags): don't save the newsrc here.
(nntp_folder_get_uids): use g_ptr_array_index instead of the
cast/addition.
(nntp_folder_get_summary): no need to check if we should generate
the summary here.  already done.
(nntp_folder_get_message_info): implement.

* providers/nntp/camel-nntp-store.c
(camel_nntp_store_get_toplevel_dir): use evolution_dir instead of
computing it ourselves.
(nntp_store_disconnect): call camel_nntp_newsrc_write.
(ensure_news_dir_exists): new function to create the news/<news
server> subdir.
(camel_nntp_store_class_init): hook up connect/disconnect and
finalize.
(nntp_store_connect): if ensure_news_dir_exists fails throw an
exception.

24 years agoFix bug #378: last displayed message is still shown in an empty folder
Peter Williams [Wed, 12 Jul 2000 16:02:02 +0000 (16:02 +0000)]
Fix bug #378: last displayed message is still shown in an empty folder

24 years agoFix bug #394: Refiling messages does not update the view
Peter Williams [Wed, 12 Jul 2000 15:45:59 +0000 (15:45 +0000)]
Fix bug #394: Refiling messages does not update the view

24 years agoUse size_t and ssize_t for read/write methods
Jeffrey Stedfast [Wed, 12 Jul 2000 04:30:18 +0000 (04:30 +0000)]
Use size_t and ssize_t for read/write methods

2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-stream.c: Use size_t and ssize_t for read/write methods

24 years agoUpdated to emit the message_changed signal. (imap_delete_message): Updated
Jeffrey Stedfast [Wed, 12 Jul 2000 04:13:21 +0000 (04:13 +0000)]
Updated to emit the message_changed signal. (imap_delete_message): Updated

2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_set_message_flags):
Updated to emit the message_changed signal.
(imap_delete_message): Updated to use imap_set_message_flags ().
(imap_move_message_to): Updated to use imap_set_message_flags ()
and to emit the folder_changed signal on the destination folder.
(imap_copy_message_to): Updated to emit the folder_changed signal
on the destination folder.
(imap_append_message): Updated to emit the folder_changed signal
on the destination folder.

24 years agofix %08x to %04x
Jeffrey Stedfast [Wed, 12 Jul 2000 00:36:07 +0000 (00:36 +0000)]
fix %08x to %04x

24 years agoNow takes a flags argument to specify the flags to be set on the message
Jeffrey Stedfast [Wed, 12 Jul 2000 00:00:11 +0000 (00:00 +0000)]
Now takes a flags argument to specify the flags to be set on the message

2000-07-11  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-folder.c (camel_folder_append_message): Now takes a
flags argument to specify the flags to be set on the message
since we might not necessarily want the flags to be wiped clean.
(move_message_to):
(copy_message_to): Updated to send a flags argument to
append_message (); currently sends the original message's flags.

* providers/mbox/camel-mbox-folder.c (mbox_append_message):
* providers/imap/camel-imap-folder.c (imap_append_message):
Updated.

24 years agoThis shouldn't return NULL, it should return g_ptr_array_new () so the
Jeffrey Stedfast [Tue, 11 Jul 2000 20:19:28 +0000 (20:19 +0000)]
This shouldn't return NULL, it should return g_ptr_array_new () so the

2000-07-11  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_search_by_expression):
This shouldn't return NULL, it should return g_ptr_array_new ()
so the mailer gets what it expects.

24 years agofile camel-async-handle.c was initially added on branch camel-async.
Peter Williams [Tue, 11 Jul 2000 20:19:25 +0000 (20:19 +0000)]
file camel-async-handle.c was initially added on branch camel-async.

24 years agofile camel-async-handle.h was initially added on branch camel-async.
Peter Williams [Tue, 11 Jul 2000 20:19:25 +0000 (20:19 +0000)]
file camel-async-handle.h was initially added on branch camel-async.

24 years agoOops, an unsigned integer can never be < 0
Jeffrey Stedfast [Tue, 11 Jul 2000 00:02:17 +0000 (00:02 +0000)]
Oops, an unsigned integer can never be < 0

2000-07-10  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-folder-summary.c (camel_folder_summary_decode_string):
Oops, an unsigned integer can never be < 0

24 years agoInitialize a variable to make this not crash again. And fix a bug so it
Dan Winship [Mon, 10 Jul 2000 21:49:47 +0000 (21:49 +0000)]
Initialize a variable to make this not crash again. And fix a bug so it

* providers/vee/camel-vee-folder.c (vee_search_by_expression):
Initialize a variable to make this not crash again. And fix a bug
so it actually does something.

24 years agoCleaned up a bunch of compile warnings
Jeffrey Stedfast [Mon, 10 Jul 2000 21:44:49 +0000 (21:44 +0000)]
Cleaned up a bunch of compile warnings

2000-07-10  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-folder-summary.c: Cleaned up a bunch of compile warnings

24 years agokill more debugging messages
Dan Winship [Mon, 10 Jul 2000 20:50:22 +0000 (20:50 +0000)]
kill more debugging messages

* providers/vee: kill more debugging messages

24 years agoImplemented.
Jeffrey Stedfast [Mon, 10 Jul 2000 07:30:59 +0000 (07:30 +0000)]
Implemented.

2000-07-10  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/mbox/camel-mbox-folder.c (mbox_get_unread_message_count):
* providers/vee/camel-vee-folder.c (vee_get_unread_message_count):
* providers/imap/camel-imap-folder.c (imap_get_unread_message_count):
Implemented.

* camel-folder.c (camel_folder_get_unread_message_count): New
convenience function to allow the mailer to query the number
of unread messages in a folder (for displaying message stats
in a folder tree?).

24 years agoNew function to copy a header_references structure.
Dan Winship [Sun, 9 Jul 2000 22:40:49 +0000 (22:40 +0000)]
New function to copy a header_references structure.

* camel-mime-utils.c (header_references_dup): New function to copy
a header_references structure.

* camel-folder-summary.c (camel_message_info_dup_to): New function
to (deep) copy the data from one CamelMessageInfo into another.
(camel_message_info_free): And free the data.

* providers/vee/camel-vee-folder.c (vee_sync): Implement. (empty).
(vee_search_by_expression): belatedly update for
camel_folder_search change.
(vee_folder_build): belatedly update for camel_folder_search
change. Use camel_message_info_dup_to and camel_message_info_free
(in particular, so that we get message_id and references info so
vfolders can be threaded).
(vee_folder_build_folder): Ditto.

24 years agoUpdate to reflect past changes in the Camel API. Use gtk macro casts
Jeffrey Stedfast [Sun, 9 Jul 2000 00:22:54 +0000 (00:22 +0000)]
Update to reflect past changes in the Camel API. Use gtk macro casts

2000-07-08  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/nntp/camel-nntp-folder.c:
* providers/nntp/camel-nntp-utils.c:
* providers/nntp/camel-nntp-store.c: Update to reflect past changes
in the Camel API. Use gtk macro casts wherever possible and use glib's
memory functions instead of standard c's (since they are not
compatable)

* providers/smtp/camel-smtp-transport.c:
* providers/imap/camel-imap-store.c: Wrap debug print statements
in a macro

* providers/imap/camel-imap-stream.c (stream_read): Make sure
that we get up to and including the last \n of the mime part.

* providers/imap/camel-imap-folder.c (imap_get_message): Make sure
that we get up to and including the last \n of the mime part.
Wrap debug print statements in a macro.

24 years agoupdated ChangeLog
Jeffrey Stedfast [Sat, 8 Jul 2000 05:26:16 +0000 (05:26 +0000)]
updated ChangeLog

24 years agoDon't cache the exact server response, only cache the important data (aka
Jeffrey Stedfast [Fri, 7 Jul 2000 22:09:57 +0000 (22:09 +0000)]
Don't cache the exact server response, only cache the important data (aka

2000-07-07  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-stream.c (stream_read): Don't cache
the exact server response, only cache the important data (aka
the mime part).

24 years agoWork around In-Reply-To's with unquoted punctuation. So many broken
Dan Winship [Fri, 7 Jul 2000 21:46:03 +0000 (21:46 +0000)]
Work around In-Reply-To's with unquoted punctuation. So many broken

* camel-mime-utils.c (header_references_decode): Work around
In-Reply-To's with unquoted punctuation. So many broken mailers.

24 years agoMake this return a GPtrArray rather than a GList.
Dan Winship [Fri, 7 Jul 2000 21:13:41 +0000 (21:13 +0000)]
Make this return a GPtrArray rather than a GList.

* camel-folder.c (camel_folder_search_by_expression): Make this
return a GPtrArray rather than a GList.

* camel-folder-search.c (camel_folder_search_execute_expression):
* providers/imap/camel-imap-folder.c (imap_search_by_expression):
* providers/mbox/camel-mbox-folder.c (mbox_search_by_expression):
* providers/nntp/camel-nntp-folder.c (nntp_search_by_expression):
Update to return a GPtrArray rather than a GList.

24 years agoFixed the parser to actually work
Jeffrey Stedfast [Fri, 7 Jul 2000 17:53:31 +0000 (17:53 +0000)]
Fixed the parser to actually work

2000-07-07  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/smtp/camel-smtp-transport.c (esmtp_get_authtypes):
Fixed the parser to actually work

24 years agoMake this deal with the full RFC822 References/In-Reply-To format rather
Dan Winship [Thu, 6 Jul 2000 21:28:23 +0000 (21:28 +0000)]
Make this deal with the full RFC822 References/In-Reply-To format rather

* camel-mime-utils.c (header_references_decode): Make this deal
with the full RFC822 References/In-Reply-To format rather than
just the more-nicely-behaved RFC1036 version. (Needed to parse
In-Reply-To headers with extra junk in them.)

24 years agoParse for more header information to allow message threading in IMAP.
Jeffrey Stedfast [Thu, 6 Jul 2000 20:52:41 +0000 (20:52 +0000)]
Parse for more header information to allow message threading in IMAP.

2000-07-06  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_summary): Parse for
more header information to allow message threading in IMAP.
(imap_get_message_info): Same.

* camel-folder-summary.c: Renamed summary_format_* to
camel_summary_format_* and moved them into public scope.

24 years agoOops. Don't pass port # as a string in the error code (if it fails to
Jeffrey Stedfast [Thu, 6 Jul 2000 05:11:11 +0000 (05:11 +0000)]
Oops. Don't pass port # as a string in the error code (if it fails to

2000-07-06  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/smtp/camel-smtp-transport.c (smtp_connect): Oops. Don't
pass port # as a string in the error code (if it fails to connect).

24 years agoChanged over to camel_imap_command_extended as that was the source of the
Jeffrey Stedfast [Thu, 6 Jul 2000 04:56:49 +0000 (04:56 +0000)]
Changed over to camel_imap_command_extended as that was the source of the

2000-07-06  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_append_message): Changed
over to camel_imap_command_extended as that was the source of the
problems - apparently appending replies with more than just 1 line.

24 years agomake header matching case-insensitive
Dan Winship [Thu, 6 Jul 2000 02:15:30 +0000 (02:15 +0000)]
make header matching case-insensitive

* camel-folder-search.c (search_header_contains): make header
matching case-insensitive

24 years agoremove some non-error case debugging messages.
Dan Winship [Thu, 6 Jul 2000 01:52:51 +0000 (01:52 +0000)]
remove some non-error case debugging messages.

* remove some non-error case debugging messages.

24 years agoSuppress debugging messages from the mbox provider.
Ettore Perazzoli [Wed, 5 Jul 2000 22:35:33 +0000 (22:35 +0000)]
Suppress debugging messages from the mbox provider.

24 years agoadded #include <glib.h> to camel-mime-utils.h
Jeffrey Stedfast [Wed, 5 Jul 2000 21:45:44 +0000 (21:45 +0000)]
added #include <glib.h> to camel-mime-utils.h

24 years agoAdded prototype for uudecode_step
Jeffrey Stedfast [Wed, 5 Jul 2000 21:24:53 +0000 (21:24 +0000)]
Added prototype for uudecode_step

2000-07-05  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-mime-utils.h: Added prototype for uudecode_step

* camel-mime-utils.c (uudecode_step): Cleaned up some junk that
should have been cleaned up when debugging printf's were taken out.

24 years agoFix the "clashing UIDs are not updated on disk" problem by syncing
Ettore Perazzoli [Wed, 5 Jul 2000 19:42:32 +0000 (19:42 +0000)]
Fix the "clashing UIDs are not updated on disk" problem by syncing
back to disk even if the saved UID does not match the in-memory UID
and added some debugging messages.

Also, make sure the UID we use for Ibex stuff is the new one when
changing UIDs to solve a clashing problem.

24 years agoAdd "Cc" to summary and bump summary version number.
Dan Winship [Wed, 5 Jul 2000 17:59:48 +0000 (17:59 +0000)]
Add "Cc" to summary and bump summary version number.

* camel-folder-summary.c: Add "Cc" to summary and bump summary
version number.

* camel-folder-search.c (search_header_contains): make "Cc" a
searchable header.

24 years agoCentralize creation of new UIDs for the summary.
Ettore Perazzoli [Tue, 4 Jul 2000 03:40:58 +0000 (03:40 +0000)]
Centralize creation of new UIDs for the summary.

24 years agoGet rid of unused function `camel_folder_summary_set_uid()'.
Ettore Perazzoli [Tue, 4 Jul 2000 02:37:00 +0000 (02:37 +0000)]
Get rid of unused function `camel_folder_summary_set_uid()'.

24 years agoParse In-Reply-To with header_references_decode, not header_msgid_decode.
Dan Winship [Mon, 3 Jul 2000 15:13:07 +0000 (15:13 +0000)]
Parse In-Reply-To with header_references_decode, not header_msgid_decode.

* camel-folder-summary.c (message_info_new): Parse In-Reply-To
with header_references_decode, not header_msgid_decode.

* camel-mime-message.c (camel_mime_message_class_init): message
headers are case-insensitive.

24 years agoFix a bug in error-setting code. (pop3_connect): Don't re-prompt for
Dan Winship [Mon, 3 Jul 2000 14:36:40 +0000 (14:36 +0000)]
Fix a bug in error-setting code. (pop3_connect): Don't re-prompt for

* providers/pop3/camel-pop3-store.c (camel_pop3_command): Fix a
bug in error-setting code.
(pop3_connect): Don't re-prompt for password in the KPOP case.
(pop3_get_response): New function, split out from
camel_pop3_command.
(connect_to_server): Use pop3_get_response to parse the greeting
message, and error out appropriately if it's -ERR.

24 years agoadd this, which was missing from ChangeLog in the previous commit:
Dan Winship [Mon, 3 Jul 2000 01:21:38 +0000 (01:21 +0000)]
add this, which was missing from ChangeLog in the previous commit:

(append_message): emit "folder_changed" on a successful append.

24 years agoNew functions to freeze and thaw a folder (to prevent message/folder
Dan Winship [Mon, 3 Jul 2000 01:17:49 +0000 (01:17 +0000)]
New functions to freeze and thaw a folder (to prevent message/folder

        * camel-folder.c (camel_folder_freeze, camel_folder_thaw): New
        functions to freeze and thaw a folder (to prevent message/folder
        changed signals in the middle of a long series of operations).
        (camel_folder_class_init): Change signals to GTK_RUN_FIRST.
        (message_changed, folder_changed): Add default implementations
        that stop the emission and record info for later if the folder is
        frozen.

        * providers/mbox/camel-mbox-folder.c (mbox_sync): leftover fixes
        from the close->sync change: don't destroy the ibex, summary, and
        search when syncing.

24 years agoA rather complex uudecoder written in the spirit of Zucchi-ness, is it up
Jeffrey Stedfast [Sun, 2 Jul 2000 05:17:40 +0000 (05:17 +0000)]
A rather complex uudecoder written in the spirit of Zucchi-ness, is it up

2000-07-02  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-mime-utils.c (uudecode_step): A rather complex uudecoder
written in the spirit of Zucchi-ness, is it up to par? Only the
Z-man can tell us :-)

24 years agoNew method, to return an end-user-friendly name corresponding to a
Dan Winship [Sat, 1 Jul 2000 23:07:18 +0000 (23:07 +0000)]
New method, to return an end-user-friendly name corresponding to a

* camel-service.c (camel_service_get_name): New method, to return
an end-user-friendly name corresponding to a service. (eg, "POP
service for danw on trna.helixcode.com").

* providers/imap/camel-imap-store.c,
providers/mbox/camel-mbox-store.c,
providers/nntp/camel-nntp-store.c,
providers/pop3/camel-pop3-store.c,
providers/sendmail/camel-sendmail-transport.c,
providers/smtp/camel-smtp-transport.c: Implement.

24 years agoremove unneeded libcamelimap_la_LDADD.
Dan Winship [Sat, 1 Jul 2000 22:50:12 +0000 (22:50 +0000)]
remove unneeded libcamelimap_la_LDADD.

* providers/imap/Makefile.am: remove unneeded
libcamelimap_la_LDADD.

24 years agofix the CAPA-parsing code to not get into an infinite loop.
Dan Winship [Sat, 1 Jul 2000 22:10:22 +0000 (22:10 +0000)]
fix the CAPA-parsing code to not get into an infinite loop.

* providers/pop3/camel-pop3-store.c (connect_to_server): fix the
CAPA-parsing code to not get into an infinite loop.

24 years agoFixed the bug that would sometimes leave part of the server response
Jeffrey Stedfast [Sat, 1 Jul 2000 20:07:13 +0000 (20:07 +0000)]
Fixed the bug that would sometimes leave part of the server response

2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_message): Fixed
the bug that would sometimes leave part of the server response
tacked on to the end of the message.

24 years agoRenamed _by_uid methods. Since we no longer have get-by-number methods, no
Jeffrey Stedfast [Sat, 1 Jul 2000 04:48:28 +0000 (04:48 +0000)]
Renamed _by_uid methods. Since we no longer have get-by-number methods, no

2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-folder.c: Renamed _by_uid methods. Since we no longer
have get-by-number methods, no need to have the _by_uid
extensions.
(get_message_by_uid): Renamed to get_message
(delete_message_by_uid): Renamed to delete_message
(summary_get_by_uid): Renamed to get_message_info

* providers/mbox/camel-mbox-folder.c:
* providers/pop3/camel-pop3-folder.c:
* providers/imap/camel-imap-folder.c:
* providers/vee/camel-vee-folder.c: Updated to reflect
camel-folder changes.

24 years agoNew function, to copy a message from one folder to another. The default
Jeffrey Stedfast [Sat, 1 Jul 2000 01:35:19 +0000 (01:35 +0000)]
New function, to copy a message from one folder to another. The default

2000-06-30  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-folder.c (camel_folder_copy_message_to): New function, to
copy a message from one folder to another. The default
implementation just uses append_message, but providers can
implement more efficient versions for use when both folders are on
the same store.

* broken-date-parser.[c,h]: Utilities for parsing broken
date strings.

* providers/imap/camel-imap-folder.c (imap_move_message_to):
(imap_copy_message_to): Implemented.

* camel-mime-utils.c (header_decode_date): Wrote some code to try
and un-mangle broken date formats and then parse that new string
instead.

24 years agoUtilities for parsing broken date strings.
Jeffrey Stedfast [Sat, 1 Jul 2000 00:11:01 +0000 (00:11 +0000)]
Utilities for parsing broken date strings.

2000-06-30  Jeffrey Stedfast  <fejj@helixcode.com>

* broken-date-parser.[c,h]: Utilities for parsing broken
date strings.

* providers/imap/camel-imap-folder.c: fixed some mem leaks

24 years agoproviders/imap/camel-imap-folder.c: added move_message_to()
Jeffrey Stedfast [Fri, 30 Jun 2000 23:44:14 +0000 (23:44 +0000)]
providers/imap/camel-imap-folder.c: added move_message_to()

24 years agooops, forgot I had blocked that code from running :)
Jeffrey Stedfast [Fri, 30 Jun 2000 22:48:21 +0000 (22:48 +0000)]
oops, forgot I had blocked that code from running :)