Commit Graph

568 Commits

Author SHA1 Message Date
f351369e51 Merged in camel-incremental-branch.
2000-11-02  Not Zed  <NotZed@HelixCode.com>

        * Merged in camel-incremental-branch.

svn path=/trunk/; revision=6336
2000-11-02 03:35:04 +00:00
24e7b7d5fc Remove old subbed folders from hash table after freeing them.
* providers/imap/camel-imap-store.c (get_folder_info): Remove old
        subbed folders from hash table after freeing them.

svn path=/trunk/; revision=6335
2000-11-02 02:52:21 +00:00
1e41fefdba Deal correctly with namespace == ""
* providers/imap/camel-imap-folder.c (imap_get_full_name): Deal
	correctly with namespace == ""

svn path=/trunk/; revision=6322
2000-11-01 21:34:06 +00:00
a4985006cd calendar: made all gui show localized
camel: updated charset info from newest libunicode
po: updated Lithuanian translation

svn path=/trunk/; revision=6308
2000-11-01 04:11:29 +00:00
517db3b21f Add a new argument, clean, that says whether or not to try to disconnect
* camel-service.c (service_disconnect): Add a new argument, clean,
	that says whether or not to try to disconnect cleanly.

	* camel-remote-store.c (remote_send_string, remote_send_stream,
	remote_recv_line): disconnect uncleanly on failure to prevent
	infinite loops when providers would normally send commands from
	disconnect(). Remove some unneeded CamelException goo.

	* providers/smtp/camel-smtp-transport.c (smtp_disconnect):
	* providers/pop3/camel-pop3-store.c (pop3_disconnect):
	* providers/nntp/camel-nntp-store.c (nntp_store_disconnect):
	* providers/imap/camel-imap-store.c (imap_disconnect): Don't send
	QUIT/LOGOUT if !clean.

svn path=/trunk/; revision=6303
2000-10-31 23:44:46 +00:00
dd50048ab4 New file with code for IMAP authentication mechanisms. (Currently just
* providers/imap/camel-imap-auth.c: New file with code for IMAP
	authentication mechanisms. (Currently just krb4, and without
	integrity/privacy protection).

	* providers/imap/Makefile.am: Add camel-imap-auth.[ch] and krb4
	CFLAGS/LDFLAGS

	* providers/imap/camel-imap-store.c (connect_to_server): Split out
	from imap_connect. Just does the basic connect and CAPABILITY
	check. Redo the CAPABILITY code more robustly.
	(query_auth_types_connected): Do this right rather than punting to
	query_auth_types_generic. Check for KERBEROS_V4 if compiled with
	krb4 support.
	(query_auth_types_generic): Mention KERBEROS_V4 if compiled with
	krb4 support.
	(imap_connect): Use connect_to_server().

svn path=/trunk/; revision=6272
2000-10-30 17:00:06 +00:00
d4656431e9 Improved IMAP namespace handling: leave the namespace in the
folder names rather than constantly prepending it and stripping it
	off. Also some subscription fixes.

	* camel-store.c (camel_folder_info_build): Fix for the case where
	@top isn't in @folders.

	* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Add
	a "short_name" argument rather than figuring it out ourselves.
	(imap_get_full_name): Implementation of CamelFolder::get_full_name
	that strips off namespace so the user doesn't have to see it.
	(imap_append_message, imap_copy_message_to, imap_move_message_to):
	Use folder->full_name rather than calling
	camel_imap_store_get_folder_path.

	* providers/imap/camel-imap-utils.c (imap_parse_list_response):
	Update this: make @flags a bitmask and @sep a char rather than a
	string. Make all of the out arguments optional. Handle literals in
	the server response.

	* providers/imap/camel-imap-store.c (imap_connect): Do a better
	job of getting the correct dir_sep for the namespace we're using.
	Construct a base_url here that will be used by get_folder_info.
	(camel_imap_store_folder_path): Removed
	(imap_folder_exists): Add an argument to return the short name of
	the folder (parsed out of the LIST response). Update for
	imap_parse_list_response change.
	(get_folder): Update for the various other changes.
	(get_folder_info): Update for the various other changes. Be more
	consistent about the returned layout: put everything underneath
	the "namespace" directory, including INBOX, even if it doesn't
	belong there. Don't destroy the list of subscribed folders until
	we've actually gotten the new list.
	(folder_subscribed, subscribe_folder, unsubscribe_folder): Use
	folder_name directly rather than camel_imap_store_folder_Path.

	* providers/imap/camel-imap-command.c (camel_imap_command): Update
	for folder name changes.

svn path=/trunk/; revision=6256
2000-10-30 03:24:15 +00:00
65f9e9cd94 Remove md5-utils.h include since it's not part of Camel any more.
* camel.h: Remove md5-utils.h include since it's not part of Camel
	any more.

	* camel-charset-map.c: Kill some warnings.

	* providers/nntp/camel-nntp-grouplist.c
	(camel_nntp_get_grouplist_from_file, camel_nntp_grouplist_save):
	Clean up warnings about time_t casts.

	* providers/smtp/camel-smtp-transport.c: Remove unused md5-utils.h
	include.

	* providers/pop3/camel-pop3-store.c: Undefine the "_" macro
	defined by krb4's des.h when compiling with krb support.
	Fix md5-utils.h include.

svn path=/trunk/; revision=6253
2000-10-29 20:06:29 +00:00
201718d553 Remove previous comment about Outlook brokenness, since it turns out the
brokenness was actually somewhere else. (Still in Outlook, just not in
the part of Outlook I was told it was.)

svn path=/trunk/; revision=6241
2000-10-27 22:05:45 +00:00
aa1f585298 Work around Outlook brokenness in iMIP parsing by only quoting
* camel-mime-utils.c (header_param_list_format_append): Work
	around Outlook brokenness in iMIP parsing by only quoting
	Content-type parameters when the quoting is mandatory.

svn path=/trunk/; revision=6237
2000-10-27 20:19:48 +00:00
7
4edb2c4651 build md5-utils
2000-10-27    <jpr@helixcode.com>

	* Makefile.am: build md5-utils

	* md5-utils.c: Make part of util, get rid of camel stream util
	function include string.h

	* md5-utils.h: ditto

2000-10-27    <jpr@helixcode.com>

	* providers/pop3/Makefile.am: Tidy up build

	* providers/smtp/Makefile.am: ditto

	* Makefile.am:  Move md5-utils.[hc] to e-util because the
	addressbook is going to use md5 hashes for pilot syncing.
	Maybe the calendar conduits as well because this is a good idea
	Chris had.

svn path=/trunk/; revision=6234
2000-10-27 18:28:20 +00:00
34639f458f Add newline to kill warnings.
2000-10-26  Kjartan Maraas  <kmaraas@gnome.org>

	* camel-exceptions-list.def: Add newline to kill warnings.

svn path=/trunk/; revision=6183
2000-10-25 22:38:15 +00:00
76d0cad905 Fix folder listing code infinite loop.
* providers/imap/camel-imap-store.c (get_folder_info): Fix folder
	listing code infinite loop.

svn path=/trunk/; revision=6178
2000-10-25 21:36:09 +00:00
82185d7faa Add a "parent" field to CamelFolderInfo.
* camel-store.h: Add a "parent" field to CamelFolderInfo.

	* camel-store.c (camel_folder_info_build): Deal with "parent"
	(camel_store_folder_subscribed, camel_store_subscribe_folder,
	camel_store_unsubscribe_folder): Add g_return_if_fails checking
	that the folder supports subscriptions.

	* providers/imap/camel-imap-store.c (folder_subscribed,
	subscribe_folder, unsubscribe_folder): Remove "+ 1"s since the
	mail subscribe UI won't prepend / to the folder names now.
	(get_folder_info): Clear the "parent" field of the folderinfos
	when removing an empty top level.

	* providers/nntp/camel-nntp-store.c (nntp_store_folder_subscribed,
	nntp_store_subscribe_folder, nntp_store_unsubscribe_folder):
	Remove "+ 1"s since the mail subscribe UI won't prepend / to the
	folder names now.

svn path=/trunk/; revision=6167
2000-10-25 15:27:17 +00:00
b227836e30 add subscribed_folders.
2000-10-24  Chris Toshok  <toshok@helixcode.com>

	* providers/imap/camel-imap-store.h: add subscribed_folders.

	* providers/imap/camel-imap-store.c (camel_imap_store_class_init):
	fill in vtable entries for subscription functions.
	(camel_imap_store_finalize): new function, so we can free up our
	subscribed_folders hashtable.
	(camel_imap_store_init): set CAMEL_STORE_SUBSCRIPTIONS in the
	CamelStore flags, and create our subscribed_folders hashtable.
	(camel_imap_store_get_type): camel_imap_store_finalize is our
	finalize function.
	(get_folder_info): if we're looking at subscribed_only, clear out
	the subscribed_folders hashtable, use LSUB instead of LIST, and
	insert folder paths (prepended by their namespace if there is one)
	into subscribed_folders.  INBOX subscription support needs work,
	since we always show it, regardless of it's subscribed state.
	(folder_subscribed): new function.  just look up the folder_path
	in the hashtable.
	(subscribe_folder): new function.  use the imap SUBSCRIBE command,
	and if successful add it to the hashtable.
	(unsubscribe_folder): new function.  use the imap UNSUBSCRIBE
	command, and if successful remove it from the hashtable.

svn path=/trunk/; revision=6157
2000-10-25 02:13:17 +00:00
5795833aca Fill in the message_count and unread_message_count flags (if !fast).
* providers/imap/camel-imap-store.c (get_folder_info): Fill in the
	message_count and unread_message_count flags (if !fast).

svn path=/trunk/; revision=6151
2000-10-24 18:49:30 +00:00
360675f54b lots of i18n fixes
svn path=/trunk/; revision=6143
2000-10-24 05:23:27 +00:00
50a68e6b6b add camel-nntp-types.h.
2000-10-23  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/Makefile.am (libcamelnntpinclude_HEADERS): add
	camel-nntp-types.h.

svn path=/trunk/; revision=6133
2000-10-23 22:08:37 +00:00
f842b74c9a Fix a "how could this have been working before" memory overrun bug found
* providers/imap/camel-imap-command.c (imap_read_untagged): Fix a
        "how could this have been working before" memory overrun bug
        found by Vlad.

svn path=/trunk/; revision=6129
2000-10-23 20:28:32 +00:00
3da02acd53 These should have gone away a long time ago.
* camel-op-queue.[ch], camel-thread-proxy.[ch]: These should have
	gone away a long time ago.

svn path=/trunk/; revision=6115
2000-10-23 18:04:22 +00:00
325335e9af re-enable the nntp provider.
2000-10-20  Chris Toshok  <toshok@helixcode.com>

	* providers/Makefile.am (SUBDIRS): re-enable the nntp provider.

svn path=/trunk/; revision=6090
2000-10-20 21:57:50 +00:00
eb51e7b6bb add function to build a tree from the nntp group names (using '.' as a
2000-10-20  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/camel-nntp-store.c (build_folder_info): add
	function to build a tree from the nntp group names (using '.' as a
	heirarchy separator.)  #ifdefed INFO_AS_TREE only.
	(build_folder_info_from_grouplist): if INFO_AS_TREE is selected,
	call build_folder_info instead of appending a new CamelFolderInfo
	to our list.
	(ensure_news_dir_exists): use e_mkdir_hier instead of failing if a
	parent directory (~/evolution/news generally) isn't there.

svn path=/trunk/; revision=6089
2000-10-20 21:46:14 +00:00
ad83addd3b #include <sys/types.h> before <regex.h>
2000-10-19  Chris Toshok  <toshok@helixcode.com>

	* camel-folder-search.c: #include <sys/types.h> before <regex.h>

svn path=/trunk/; revision=6072
2000-10-20 05:19:04 +00:00
30a4e35370 Fix a bug with "INBOX" (or anything else with NIL hierarchy separator) as
* providers/imap/camel-imap-utils.c (imap_parse_list_response):
	Fix a bug with "INBOX" (or anything else with NIL hierarchy
	separator) as the namespace.

svn path=/trunk/; revision=6065
2000-10-20 01:06:50 +00:00
bbc7b8866a Emit message_changed and folder_changed as appropriate.
* providers/imap/camel-imap-folder.c (imap_refresh_info): Emit
	message_changed and folder_changed as appropriate.

svn path=/trunk/; revision=6064
2000-10-20 00:49:11 +00:00
24e77716ce Update comment here so refresh_info isn't just for reconnects any more.
* camel-folder.c (camel_folder_refresh_info): Update comment here
	so refresh_info isn't just for reconnects any more. Make the
	default implementation a no-op rather than an error.

	* providers/nntp/camel-nntp-folder.c: Move refresh_info impl into
	camel_nntp_folder_new, since it would have leaked memory and not
	done anything useful if it was called later.

	* providers/mbox/camel-mbox-folder.c: Remove no-longer-necessary
	refresh_info impl.

	* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
	Update imap_folder->exists, but don't actually load the new
	messages. This is a temporary workaround to deal with the IMAP
	provider stealing the message list focus at annoying times.
	(imap_copy_message_to, imap_move_message_to): Emit a
	folder_changed by hand, for now.

svn path=/trunk/; revision=6046
2000-10-19 20:30:43 +00:00
329fe7df32 Build fixes from Jacob, same as the other branch.
svn path=/trunk/; revision=6035
2000-10-19 17:47:39 +00:00
9253012880 The correct fix this time - the description should be encoded here and not
2000-10-18  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-mime-part.c (camel_mime_part_set_description): The correct
	fix this time - the description should be encoded here and not in
	the camel-medium layer.

svn path=/trunk/; revision=6008
2000-10-19 00:16:00 +00:00
4af109915a Initialize the outbuf to be empty before calling unicode_iconv on it.
This fixes a problem with duplicate message bodies on my machine.

svn path=/trunk/; revision=5998
2000-10-18 18:36:10 +00:00
229f78b929 No, we must not encode the headers here. These interfaces ARE raw
2000-10-18  Not Zed  <NotZed@HelixCode.com>

	* camel-mime-part.c (add_header): No, we must not encode the
	headers here.  These interfaces ARE raw interfaces as they are
	defined in camel_medium.  Also removed a bogus/meaningless FIXME.
	(set_header): Likewise here, we must not.
	(process_header): Removed another bogus comment.

	* camel-object.c (shared_is_of_type): Comment out the spitting of
	a big warning when we're trying to determine types from code.

	* providers/mbox/camel-mbox-summary.c
	(message_info_new_from_parser): Only call ibex funcitons if we
	have an index.

	* providers/mh/camel-mh-summary.c (camel_mh_summary_add): Only
	call ibex functions if we have an index.
	(remove_summary): Likewise.
	(camel_mh_summary_check): Likewise.

	* providers/nntp/camel-nntp-store.c (nntp_store_get_folder):
	get_folder -> flags argument.

	* providers/vee/camel-vee-store.c (vee_get_folder): create->flags.

	* providers/pop3/camel-pop3-store.c (get_folder): Changed create
	-> flags.

	* providers/imap/camel-imap-store.c (get_folder): Added flags
	argument.

	* providers/mh/camel-mh-folder.c (camel_mh_folder_new): Added
	flags argument, and fixed code appropriately.

	* providers/mh/camel-mh-store.c (get_folder): Added flags argument.

	* camel-folder-search.c (message_body_contains): Perform a regex
	match on the contents of messages.  This wont quite work yet as
	message contents are encoded when written to a stream.
	(build_match_regex): Converts a number of strings into a regex
	matching pattern, escaping special chars.
	(match_message): match a single message from a folder, by uid.
	Slow.
	(search_body_contains): Changed to support matching where no index
	is supplied.  Matches are performed by retrieving message
	contents, etc.
	() WTF?  camel should not be including any widget headers.

	* providers/mbox/camel-mbox-folder.c (camel_mbox_folder_new):
	Added flags argument.
	(mbox_refresh_info): Changed into a NOP, the refresh info code
	moved into the new function.
	(camel_mbox_folder_new): If we have an index requested, build one,
	otherwise, remove an old one, or just dont do anything.

	* providers/mbox/camel-mbox-store.c (get_folder): Changed create
	to flags, changed code to suit.

	* camel-store.c (camel_store_get_folder): Changed create to flags.
	(get_folder_internal): And here.
	(get_folder): And here too.

	* camel-store.h (camel_store_get_folder): Change the create
	argument to be a flags argument.

svn path=/trunk/; revision=5978
2000-10-18 06:11:54 +00:00
345f04ccae (camel_imap_folder_new): Move the summary creation to after the
folder selection again, since it depends on the uidvalidity
	having been set.

svn path=/trunk/; revision=5976
2000-10-18 03:41:29 +00:00
0ae667a794 Remove cached info at the end of the summary when the folder shrinks
* providers/imap/camel-imap-folder.c (imap_refresh_info): Remove
	cached info at the end of the summary when the folder shrinks
	between sessions. Also remove an untrue comment.

	* providers/imap/camel-imap-store.c (get_folder): Fix up
	summary_file to not include the namespace twice.

svn path=/trunk/; revision=5974
2000-10-18 03:03:48 +00:00
5543f7d810 Encode the header value. (add_header): Same.
2000-10-17  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-mime-part.c (set_header): Encode the header value.
	(add_header): Same.

svn path=/trunk/; revision=5970
2000-10-18 01:06:55 +00:00
a8cd947d9b Added some malloc check debugging stuff.
2000-10-17  Not Zed  <NotZed@HelixCode.com>

	* camel-mime-filter.c: Added some malloc check debugging stuff.

	* camel-mime-parser.c
	(struct _header_scan_state): Removed top_part, top_start, and
	pending.  I can't even remember why they were there, and they're
	not used anymore.

	* camel-mime-filter-basic.c (filter): Forgot to up the space here
	too.

2000-10-14  Not Zed  <NotZed@HelixCode.com>

	* camel-mime-filter-basic.c (complete): Ok, so we hit a fixme, 3x
	just wasn't enough for some sequences.

svn path=/trunk/; revision=5962
2000-10-17 09:45:38 +00:00
97be61b478 Don't imap_next_word(respbuf + 2), instead use imap_next_word(respbuf) or
2000-10-16  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-command.c
	(imap_read_response): Don't imap_next_word(respbuf + 2), instead
	use imap_next_word(respbuf) or else we'll skip over the second
	token.

svn path=/trunk/; revision=5961
2000-10-17 03:42:12 +00:00
2003a69501 Don't free 'resp' as it doesn't point to the beginning of the allocated
2000-10-16  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-command.c
	(camel_imap_response_extract): Don't free 'resp' as it doesn't
	point to the beginning of the allocated data, instead free
	response->untagged->pdata[i]. Also, if '*resp' is equal to a space
	character, then set resp = imap_next_word (resp) rather than
	expecting resp++ to work (there's a list broken IMAP daemons that
	like to put extra spaces between tokens).
	(imap_read_response): Don't expect 'respbuf+2' to be where the
	untagged number response to start (see above fix for an
	explanation).

svn path=/trunk/; revision=5960
2000-10-17 02:38:18 +00:00
5da3981c90 when using the construct (flags & CAMEL_SERVICE_URL_NEED_*) make sure to
2000-10-16  Chris Toshok  <toshok@helixcode.com>

	* camel-service.c (get_path): when using the construct (flags &
	CAMEL_SERVICE_URL_NEED_*) make sure to do ((flags &
	CAMEL_SERVICE_URL_NEED_*) == CAMEL_SERVICE_URL_NEED_*)
	(check_url): same.

svn path=/trunk/; revision=5951
2000-10-16 23:09:35 +00:00
ff8aed099f Only send the LOGOUT command if the store is connected. (imap_connect):
2000-10-16  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c (imap_disconnect): Only send
	the LOGOUT command if the store is connected.
	(imap_connect): Set the 'connected' state to TRUE when we
	successfully connect.
	(get_folder_info): if (!topfi), 'topfi' was allocated but then
	'fi' was set. I think Dan meant to set topfi since fi is an
	uninitialized value at this point.

	* providers/imap/camel-imap-command.c (imap_read_response): Check
	for the untagged BYE response and set the 'connected' state to
	FALSE if we receive the BYE response. Return NULL if we get a BYE
	response.

svn path=/trunk/; revision=5944
2000-10-16 21:00:59 +00:00
f8e95fb816 Deal with the possibility of not getting a LIST response back for the top
* providers/imap/camel-imap-store.c (get_folder_info): Deal with
	the possibility of not getting a LIST response back for the top
	level.

svn path=/trunk/; revision=5941
2000-10-16 18:10:42 +00:00
e81e64f8dd Simple subclass of CamelFolderSummary that also keeps a UIDVALIDITY value
* providers/imap/camel-imap-summary.c: Simple subclass of
	CamelFolderSummary that also keeps a UIDVALIDITY value (and
	doesn't, for the moment, build content info).

	* providers/imap/camel-imap-folder.c:
	(various): Use a CamelImapSummary to store/fetch summary info.
	(camel_imap_folder_new): Take a path to a file to use for the
	summary. Set the folder's permanent_flags correctly according to
	the server response. Read in the summary (checking the
	UIDVALIDITY) and update it if it's out of date.
	(imap_refresh_info): Just fetch UIDs and flags. If the UIDs all
	match, update the flags as needed and be done with it. Otherwise,
	delete messages that have been expunged from the server and fetch
	full summary info for any new messages.
	(imap_sync): Save the summary to disk.
	(imap_update_summary): Renamed from imap_get_summary_internal. Can
	now be told to get summary for only a subset of messages. Use
	camel-mime-utils functions rather than rolling our own header
	parsing.
	(imap_get_message_info_internal): Merged into imap_update_summary.
	(imap_set_message_flags): Don't marked the message FOLDER_FLAGGED
	if we're not actually changing the value of any of the flags.
	(camel_imap_folder_changed): Deal with EXISTS rather than RECENT.

	* providers/imap/camel-imap-store.c (imap_connect): Call
	camel_session_get_storage_path and save the value.
	(get_folder): Create a local directory to store summary
	information and pass a summary file name to camel_imap_folder_new.
	Don't call camel_folder_refresh_info from here any more since
	camel_imap_folder_new does it again.

	* providers/imap/camel-imap-command.c (camel_imap_command): Add a
	special case to this to make it possible to get the repsonses from
	a SELECT and still have store->current_folder be updated
	correctly.
	(imap_read_response): parse EXISTS rather than RECENT

	* camel-session.c (camel_session_get_storage_path): Use
	e_mkdir_hier.

	* camel-folder-summary.c (camel_folder_summary_remove_index): New
	function.

	* camel-mime-utils.c (header_raw_append_parse): fix this.
	(camel-mime-parser.c doesn't use this code because of the MEMPOOL
	optimization, so nothing was ever actually calling it before.)

svn path=/trunk/; revision=5891
2000-10-12 20:55:11 +00:00
6c337e9ea0 Removed temp_message_buffer, and content_input_stream fields which seem to
2000-10-11  Not Zed  <NotZed@HelixCode.com>

	* camel-mime-part.h (struct _CamelMimePart): Removed
	temp_message_buffer, and content_input_stream fields which seem to
	have come from nowhere, and are unused.

	* camel-mime-utils.c: Added a note about touching this file.
	Nobody is to touch it without asking me first.  That goes for you
	too Jeff.
	(header_decode_text): In what way is this broken?

2000-10-10  Not Zed  <NotZed@HelixCode.com>

	* providers/imap/camel-imap-folder.c (imap_get_summary_internal):
	Fix camel_summary_* function rename
	(imap_get_message_info_internal): Likewise.

	* camel-mime-parser.c (camel_mime_parser_finalise): Fixed a spelling mistake.

	* camel-folder-summary.c (camel_summary_format_address): Uh, why
	do we encode and then decode here ... sigh.  This is not the way
	to fix this.
	(camel_folder_summary_format_address): Renamed to a proper name,
	this was only supposed to be a private function.
	(camel_folder_summary_format_string): Likewise.  Oh i see why it
	was made public, code reuse by cut & paste.  Joy.

svn path=/trunk/; revision=5881
2000-10-12 13:38:51 +00:00
73f34050a1 remove the leading '/'. (nntp_store_subscribe_folder): same.
2000-10-11  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/camel-nntp-store.c (nntp_store_unsubscribe_folder): remove the leading '/'.
	(nntp_store_subscribe_folder): same.
	(nntp_store_folder_subscribed): same.

svn path=/trunk/; revision=5868
2000-10-11 23:00:53 +00:00
fc74307dec Quote the mailbox name as it may contain spaces. (imap_copy_message_to):
2000-10-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_move_message_to): Quote
	the mailbox name as it may contain spaces.
	(imap_copy_message_to): Same.

svn path=/trunk/; revision=5853
2000-10-11 17:42:03 +00:00
4f8ffe430f fill in message_count and unread_message_count properly.
2000-10-10  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/camel-nntp-store.c
	(build_folder_info_from_grouplist): fill in message_count and
	unread_message_count properly.

	* providers/nntp/camel-nntp-newsrc.h: reformat.

	* providers/nntp/camel-nntp-grouplist.c
	(camel_nntp_get_grouplist_from_file): remove spew.

	* providers/nntp/camel-nntp-newsrc.c
	(camel_nntp_newsrc_group_get_num_articles_read): new function.
	(camel_nntp_newsrc_group_get_highest_article_read): robustification.

svn path=/trunk/; revision=5832
2000-10-11 04:37:33 +00:00
ce0396bfad Un-rasterize my changelog entry
No, I am not artifically inflating my commit numbers.

svn path=/trunk/; revision=5824
2000-10-10 22:31:26 +00:00
6d9a23e479 Check before deferencing the sep pointer.
2000-10-10  Joe Shaw  <joe@helixcode.com>

	* providers/imap/camel-imap-store.c
	(parse_list_response_as_folder_info): Check before deferencing the
	sep pointer.

svn path=/trunk/; revision=5822
2000-10-10 21:31:49 +00:00
8a246228a9 teach camel about "its" vs. "it's"
2000-10-10  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* camel-*.c: teach camel about "its" vs. "it's"

svn path=/trunk/; revision=5819
2000-10-10 16:57:29 +00:00
66cce2a4b4 write out the newsrc. (nntp_store_get_name): if @brief, just return host.
2000-10-09  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/camel-nntp-store.c (finalize): write out the
	newsrc.
	(nntp_store_get_name): if @brief, just return host.

	* providers/nntp/camel-nntp-newsrc.c: robustification and bug
	fixes.

svn path=/trunk/; revision=5808
2000-10-10 00:50:46 +00:00
8681790bb9 Decode the resulting string.
2000-10-06  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-folder-summary.c (camel_summary_format_address): Decode
	the resulting string.

svn path=/trunk/; revision=5773
2000-10-06 21:38:36 +00:00
19436bc6fc new file.
2000-10-06  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/camel-nntp-grouplist.c: new file.

	* providers/nntp/camel-nntp-grouplist.h: new file.

	* providers/nntp/camel-nntp-types.h: new file.

svn path=/trunk/; revision=5767
2000-10-06 19:31:07 +00:00