platform/upstream/evolution-data-server.git
23 years agoRemove default_ports.
Dan Winship [Mon, 2 Oct 2000 20:14:57 +0000 (20:14 +0000)]
Remove default_ports.

* camel-provider.h: Remove default_ports.

* camel-remote-store.c (remote_connect): Get default_port from
CamelRemoteStore rather than CamelProvider.

* providers/{imap,nntp,pop3}/camel-*-store.c: Initialize
CamelRemoteStore::default_port

* providers/*/camel-*-provider.c: Remove default_ports.

23 years agoRemove camel_folder_{get,free}_subfolder_info, as we want to be able to
Dan Winship [Mon, 2 Oct 2000 19:08:20 +0000 (19:08 +0000)]
Remove camel_folder_{get,free}_subfolder_info, as we want to be able to

* camel-folder.[ch]: Remove
camel_folder_{get,free}_subfolder_info, as we want to be able to
scan the whole subfolder tree without having to open any folders,
so this needs to be in CamelStore. Remove can_hold_folders and
can_hold_messages flags; things that don't hold messages are no
longer considered CamelFolders.

* camel-folder-summary.[ch]: Remove CamelFolderInfo stuff.

* camel-store.[ch]: Add camel_store_{get,free}_folder_info, as
well as camel_store_free_folder_info_full and ..._nop for default
implementations, and camel_folder_info_free and
camel_folder_info_build as convenience functions. Turn
CamelFolderInfo into a tree structure and also add an "url"
member.

* providers/*/camel-*-folder.c: Remove subfolder_info and can_hold
stuff.
* providers/*/camel-*-store.c: Add folder_info stuff.

* providers/imap/camel-imap-folder.c (imap_summary_free): Free the
summary elements with camel_message_info_free, not
camel_folder_info_free. Oops.

* providers/imap/camel-imap-utils.c: const poison

23 years agoMore updating... still not usable, or even compilable
Dan Winship [Mon, 2 Oct 2000 18:23:40 +0000 (18:23 +0000)]
More updating... still not usable, or even compilable

23 years ago another mem leak fix
Jeffrey Stedfast [Fri, 29 Sep 2000 04:08:11 +0000 (04:08 +0000)]
 another mem leak fix

23 years agoFixed some memory leaks. (camel_smtp_transport_init): Initialize
Jeffrey Stedfast [Fri, 29 Sep 2000 02:53:47 +0000 (02:53 +0000)]
Fixed some memory leaks. (camel_smtp_transport_init): Initialize

2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/smtp/camel-smtp-transport.c: Fixed some memory leaks.
(camel_smtp_transport_init): Initialize supports_8bit to FALSE.
(smtp_helo): If server supports 8bit, set supports_8bit to TRUE.

* camel-transport.h (struct _CamelTransport): Added variable
gboolean supports_8bit (we'll need this eventually? - see bugzilla
bug #53)

* providers/smtp/camel-smtp-transport.c
(smtp_get_email_addr_from_text): Ugh, no wonder people were
getting illegal seek warnings *sigh*. I guess I can only blame
myself for this one though :-(

23 years agoDon't send the recipient data through smtp_get_email_addr_from_text - this
Jeffrey Stedfast [Fri, 29 Sep 2000 01:56:39 +0000 (01:56 +0000)]
Don't send the recipient data through smtp_get_email_addr_from_text - this

2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/smtp/camel-smtp-transport.c (_send_to): Don't send the
recipient data through smtp_get_email_addr_from_text - this is a
complete waste. In fact, we don't want to have to use that
function ever.

* camel-internet-address.c, camel-address.c: Added some gtk-doc comments.

23 years agoMake sure to add the space char after an encoded word when the encoding is
Jeffrey Stedfast [Thu, 28 Sep 2000 23:57:54 +0000 (23:57 +0000)]
Make sure to add the space char after an encoded word when the encoding is

2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

* camel-mime-utils.c (header_encode_string): Make sure to add the
space char after an encoded word when the encoding is iso-8859-1.

23 years agoWhen getting a literal string response, don't include the \r\n after the
Jeffrey Stedfast [Thu, 28 Sep 2000 20:20:56 +0000 (20:20 +0000)]
When getting a literal string response, don't include the \r\n after the

2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-folder.c (imap_get_message): When
getting a literal string response, don't include the \r\n after
the closing } (as in: "... {798}\r\n...")

* providers/imap/camel-imap-stream.c (stream_read): Same.

23 years agoNew function to fold headers.
Not Zed [Thu, 28 Sep 2000 11:31:29 +0000 (11:31 +0000)]
New function to fold headers.

2000-09-28  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-utils.c (header_fold): New function to fold headers.

2000-09-27  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-parser.c (folder_scan_header): If we had an empty
        header, then it must be end of the headers too.
        (folder_scan_init): No we dont need to init the outbuf with a nul
        terminator.

        * camel-folder-summary.c (camel_folder_summary_set_uid): New
        function to reset the uid to a higher value.

        * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_sync):
        "something failed (yo!)" what sort of crap is this?  Fixed all the
        indenting again, what wanker keeps running stuff through indent?
        (message_info_new): Check the uid we loaded off the disk, if it
        existed already, assign a new one.  If it didn't then make sure
        the nextuid is higher.

        * camel-charset-map.c: New file, used to build a large unicode
        decoding mapping table, and use it to determine what is the
        lowest charset a given word can be encoded with.  Uses tables from
        libunicode's source.

        * camel-internet-address.c (internet_encode): Use
        header_phrase_encode to properly encode the fullname, as required.
        refixed indenting.  Who keeps doing that?
        (camel_internet_address_find_address): Changed fatal return/warnings
        into assertions.

        * camel-mime-utils.c (header_raw_append_parse): Check : explicitly
        (removed from is_fieldname() macro).
        (camel_mime_special_table): Changed to short, so we can represent
        more bit types.
        (quoted_encode): Take a mask of the safe chars for this encoding.
        (header_address_decode): Removed a #warning that makes no sense
        anymore.
        (header_decode_date): Fixed the 'broken date' parser code, if it
        ever decoded it it just threw away the result.
        (header_encode_string): Use better charset matching for encoding
        strings as well.

2000-08-31  Not Zed  <NotZed@HelixCode.com>

        * providers/mh/camel-mh-summary.c (camel_mh_summary_sync): Save
        the index if we do a sync.
        (camel_mh_summary_check): Save the index here too.  Probably.

23 years agoReturn untagged data in a GPtrArray rather than a string, since it saves
Dan Winship [Wed, 27 Sep 2000 23:55:26 +0000 (23:55 +0000)]
Return untagged data in a GPtrArray rather than a string, since it saves

* providers/imap/camel-imap-store.c (camel_imap_command_extended):
Return untagged data in a GPtrArray rather than a string, since it
saves processing time and is much easier to deal with for several
commands. Update for camel_imap_folder_changed change.
(camel_imap_fetch_command): Update for camel_imap_folder_changed
change.
(imap_connect, imap_folder_exists): Update for
camel_imap_command_extended change.

* providers/imap/camel-imap-folder.c
(imap_get_message_count_internal,
imap_get_subfolder_info_internal, imap_search_by_expression):
Update for camel_imap_command_extended change.

(imap_get_summary_internal, imap_get_message_info_internal): Use
camel_imap_fetch_command here now to get around the
camel_imap_command_extended change.

(camel_imap_folder_changed): turn expunged into a GArray of ints
rather than a GPtrArray of strings representing ints.

23 years agoQuote the folder name as it may contain spaces.
Jeffrey Stedfast [Tue, 26 Sep 2000 17:25:22 +0000 (17:25 +0000)]
Quote the folder name as it may contain spaces.

2000-09-26  Jeffrey Stedfast  <fejj@helixcode.com>

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

* providers/imap/camel-imap-utils.c (imap_parse_list_response): Do
proper unquoting for folder names.
(func_get_current_date): Implemented.

* providers/imap/camel-imap-store.c
(imap_folder_exists): Quote the folder name as it may have spaces.
(imap_create): Same.
(check_current_folder): Same.

23 years agoAgain...wrap the folder names in quotes
Jeffrey Stedfast [Fri, 22 Sep 2000 22:35:10 +0000 (22:35 +0000)]
Again...wrap the folder names in quotes

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

* providers/imap/camel-imap-folder.c
(imap_get_message_count_internal): Again...wrap the folder names
in quotes

* providers/imap/camel-imap-store.c (imap_folder_exists): Wrap the
mailbox name in the LIST command in quotes just in case the folder
has spaces in the name.
(imap_create): Again, wrap folder name in quotes.
(check_current_folder): Same...

* providers/imap/camel-imap-utils.c (imap_parse_list_response):
Update to unquote mailbox if it's quoted (allows us to get folders
with spaces in the name).

23 years agoThe root folder's name is "", not the namespace. (camel_imap_folder_new):
Dan Winship [Fri, 22 Sep 2000 18:44:07 +0000 (18:44 +0000)]
The root folder's name is "", not the namespace. (camel_imap_folder_new):

        * providers/imap/camel-imap-folder.c
        (imap_get_subfolder_info_internal): The root folder's name is "",
        not the namespace.
        (camel_imap_folder_new): constify folder_name.

        * providers/imap/camel-imap-store.c (get_folder): Create the
        folder with folder_name, not folder_path.
        (camel_imap_command_preliminary): Don't free cmdid here.

23 years agoNew function to convert Camel flags to an IMAP flag_list.
Dan Winship [Thu, 21 Sep 2000 21:05:56 +0000 (21:05 +0000)]
New function to convert Camel flags to an IMAP flag_list.

* providers/imap/camel-imap-utils.c (imap_create_flag_list): New
function to convert Camel flags to an IMAP flag_list.
(imap_parse_flag_list): Contrariwise.

* providers/imap/camel-imap-store.c (camel_imap_command_*): Make
the @ret arg actually optional, as (mostly) documented.
(various): Don't pass "&result" to camel_imap_command_* if we're
just going to immediately free it. Don't record status if we're
not going to look at it.

* providers/imap/camel-imap-folder.c: Likewise.
(imap_summary_free): Use camel_folder_info_free.
(imap_sync): Use imap_create_flag_list. Clear
CAMEL_MESSAGE_FOLDER_FLAGGED after syncing so we don't keep
re-syncing.
(imap_append_message): Use imap_create_flag_list. Don't leak the
memstream if the append fails.
(imap_move_message_to): Use camel_folder_delete_message rather
than doing it by hand.
(imap_get_summary_internal, imap_get_message_info_internal): Use
imap_parse_flag_list and header_raw_clear.
(camel_imap_folder_changed): Use camel_message_info_free.

23 years agoINBOX is case-insensitive. (get_root_folder_name): Make the root folder ""
Dan Winship [Thu, 21 Sep 2000 19:40:20 +0000 (19:40 +0000)]
INBOX is case-insensitive. (get_root_folder_name): Make the root folder ""

* providers/imap/camel-imap-store.c (get_folder_name): INBOX is
case-insensitive.
(get_root_folder_name): Make the root folder "" rather than "/".
(get_folder): Update for root folder name change.
(camel_imap_store_get_toplevel_dir): Removed. (Unused, unneeded.)
(camel_imap_store_folder_path): New function to turn a Camel
folder name into the corresponding namespaced IMAP path.
(imap_folder_exists): Make this take a store and a path rather
than a folder.
(imap_create): Likewise
(get_folder): Update for camel_imap_store_folder_path and other
changes.
(check_current_folder): Likewise.

* providers/imap/camel-imap-folder.c: Change a bunch of CamelStore
variables to CamelImapStore (and add a few more) to prevent excess
gratuitous casting. Use camel_imap_store_folder_path where
appropriate.
(camel_imap_folder_new): Update for root folder name change.

23 years agoack, remove the ~ and object files
Jeffrey Stedfast [Tue, 19 Sep 2000 21:50:35 +0000 (21:50 +0000)]
ack, remove the ~ and object files

23 years agoUse the linewrap filter to achieve full RFC0821 compliance.
Jeffrey Stedfast [Tue, 19 Sep 2000 21:49:15 +0000 (21:49 +0000)]
Use the linewrap filter to achieve full RFC0821 compliance.

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

* providers/smtp/camel-smtp-transport.c (smtp_data): Use the
linewrap filter to achieve full RFC0821 compliance.

* camel-mime-filter-linewrap.[c,h]: New mime-filter to word-wrap.

23 years agoWhen encoding the internet address, quote the name as the name may have
Jeffrey Stedfast [Tue, 19 Sep 2000 19:11:15 +0000 (19:11 +0000)]
When encoding the internet address, quote the name as the name may have

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

* camel-internet-address.c (internet_encode): When encoding the
internet address, quote the name as the name may have commas or
any other token which may later confuse our address parser.

23 years agoFix the case where INBOX isn't returned in the folder listing.
Dan Winship [Tue, 19 Sep 2000 18:56:26 +0000 (18:56 +0000)]
Fix the case where INBOX isn't returned in the folder listing.

* providers/imap/camel-imap-folder.c
(imap_get_subfolder_info_internal): Fix the case where INBOX
isn't returned in the folder listing.

23 years agoRemoved (camel_folder_init, camel_folder_construct): New object init
Dan Winship [Tue, 19 Sep 2000 17:27:09 +0000 (17:27 +0000)]
Removed (camel_folder_init, camel_folder_construct): New object init

* camel-folder.c: (init): Removed
(camel_folder_init, camel_folder_construct): New object init
function and public object constructor to replace the old init
method in a more Gtk-like fashion.

(get_parent_folder, camel_folder_get_parent_folder): Removed. No
CamelFolder subclass was ever setting the parent_folder member, no
code has ever needed to look at it, and fixing it would actually
be pretty hard.

(get_subfolder_info, camel_folder_get_subfolder_info): Renamed
from ..._names. Deals in CamelFolderInfo now.
(free_subfolder_info, camel_folder_free_subfolder_info): Likewise.

(get_subfolder, camel_folder_get_subfolder): Removed.
CamelFolderInfo contains the subfolder's full name, so this is
unnecessary now, and removing it lets us get rid of the
CamelFolder separator member, which is needed for the default
implementation of this function, but not otherwise needed for most
providers.

Also, lots of code style fixes.

* providers/*: Update CamelFolder subclasses for changes, although
none of them fill in the message counts in the CamelFolderInfo
yet.

23 years agoAdded check for gnome-app-lib. Removed directories that have been moved to
Christopher James Lahey [Mon, 18 Sep 2000 03:42:58 +0000 (03:42 +0000)]
Added check for gnome-app-lib. Removed directories that have been moved to

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* configure.in: Added check for gnome-app-lib.  Removed
directories that have been moved to gal.

From addressbook/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* backend/ebook/Makefile.am, contact-editor/Makefile.am,
ename/Makefile.am, gui/component/Makefile.am,
gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* backend/ebook/e-card.c, backend/pas/pas-backend-file.c,
contact-editor/e-contact-editor-address.c,
contact-editor/e-contact-editor-categories.c,
contact-editor/e-contact-editor-categories.h,
contact-editor/e-contact-editor-fullname.c,
contact-editor/e-contact-editor.c,
contact-editor/e-contact-save-as.c, ename/e-address-western.c,
ename/test-ename-western-gtk.c,
gui/component/addressbook-factory.c, gui/component/addressbook.c,
gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c,
gui/component/select-names/e-select-names-bonobo.c,
gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-table-model.c,
gui/component/select-names/e-select-names-table-model.h,
gui/component/select-names/e-select-names-text-model.h,
gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h,
gui/search/e-addressbook-search-dialog.c,
gui/widgets/e-addressbook-model.h,
gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c,
gui/widgets/e-minicard-view-widget.c,
gui/widgets/e-minicard-view-widget.h,
gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h,
gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c,
gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c,
printing/e-contact-print.c: Fixed the #include lines to deal
properly with gal.

From calendar/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c,
gui/e-week-view-event-item.c, gui/e-week-view.c,
gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c,
gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines
to deal properly with gal.

* gui/check-filled.xpm: New file since we can't include it from
e-table anymore.

From camel/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* camel-folder-search.c, camel-folder-search.h,
camel-remote-store.c, providers/imap/camel-imap-folder.c,
providers/imap/camel-imap-store.c: Fixed the #include lines to
deal properly with gal.

From composer/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c,
e-msg-composer-attachment.c, e-msg-composer-hdrs.c,
e-msg-composer.c: Fixed the #include lines to deal properly with
gal.

From e-util/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Removed all the files moved to gal.

* e-dialog-widgets.c: Fixed the #include lines to deal properly
with gal.

* e-gui-utils.c, e-gui-utils.h: Removed all of the functionality
that was moved to gal.

* e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c,
e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h,
e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c,
e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h,
e-xml-utils.c, e-xml-utils.h: Moved to gal.

From filter/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* filter-editor.c, filter-filter.c, filter-folder.c,
filter-input.c, filter-message-search.c, filter-option.c,
filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c:
Fixed the #include lines to deal properly with gal.

From mail/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* component-factory.c, folder-browser-factory.c, folder-browser.c,
mail-callbacks.c, mail-config-gui.c, mail-display.c,
mail-display.h, main.c, message-list.c, message-list.h: Fixed the
#include lines to deal properly with gal.

From po/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* POTFILES.in: Removed files that have been moved to gal.

From shell/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* e-component-registry.c, e-corba-storage-registry.c,
e-corba-storage.c, e-folder-type-registry.c, e-folder.c,
e-local-folder.c, e-local-storage.c,
e-shell-folder-creation-dialog.c,
e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c,
e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c,
e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c,
e-storage.c, evolution-local-storage.c, evolution-session.c,
evolution-shell-client.c, evolution-shell-component-client.c,
evolution-shell-component.c, evolution-shell-view.c,
evolution-storage-listener.c, evolution-storage.c, main.c: Fixed
the #include lines to deal properly with gal.

From widgets/meeting-time-sel/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* e-meeting-time-sel-list-item.c, e-meeting-time-sel.c,
e-meeting-time-sel.h: Fixed the #include lines to deal properly
with gal.

If you've read this far, you deserve a prize.  The first email in my
mailbox with the subject "What a commit message!" (and your physical
mailing address somewhere in the message) will receive a free Helix
Code T-shirt mailed to anywhere within the continental United States.
I cannot be held responsible for problems with email systems anywhere.
This is supposed to be for fun, so please don't make a fuss if
something goes wrong and your mail doesn't reach me.  Find my email
elsewhere in this message, and if it's been more than a few days,
you're probably too late.

From widgets/misc/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c:
Fixed the #include lines to deal properly with gal.

* e-scroll-frame.c, e-scroll-frame.h: Moved to gal.

From widgets/shortcut-bar/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

* e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c,
e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines
to deal properly with gal.

From widgets/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

* Makefile.am: Removed directories that have been moved to gal.

* e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c,
e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h,
e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal.

* e-reflow/.cvsignore, e-reflow/Makefile.am,
e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h,
e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal.

* e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE,
e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO,
e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm,
e-table/check-empty.xpm, e-table/check-filled.xpm,
e-table/clip.png, e-table/e-cell-checkbox.c,
e-table/e-cell-checkbox.h, e-table/e-cell-string.c,
e-table/e-cell-text.c, e-table/e-cell-text.h,
e-table/e-cell-toggle.c, e-table/e-cell-toggle.h,
e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c,
e-table/e-cell.h, e-table/e-table-click-to-add.c,
e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h,
e-table/e-table-col.c, e-table/e-table-col.h,
e-table/e-table-column-model.h, e-table/e-table-column.c,
e-table/e-table-config.c, e-table/e-table-config.glade,
e-table/e-table-config.glade.h, e-table/e-table-config.h,
e-table/e-table-defines.h, e-table/e-table-example-1.c,
e-table/e-table-example-2.c,
e-table/e-table-field-chooser-dialog.c,
e-table/e-table-field-chooser-dialog.h,
e-table/e-table-field-chooser-item.c,
e-table/e-table-field-chooser-item.h,
e-table/e-table-field-chooser.c,
e-table/e-table-field-chooser.glade,
e-table/e-table-field-chooser.glade.h,
e-table/e-table-field-chooser.h,
e-table/e-table-group-container.c,
e-table/e-table-group-container.h, e-table/e-table-group-leaf.c,
e-table/e-table-group-leaf.h, e-table/e-table-group.c,
e-table/e-table-group.glade, e-table/e-table-group.glade.h,
e-table/e-table-group.h, e-table/e-table-header-item.c,
e-table/e-table-header-item.h, e-table/e-table-header.c,
e-table/e-table-header.h, e-table/e-table-item.c,
e-table/e-table-item.h, e-table/e-table-model.c,
e-table/e-table-model.h, e-table/e-table-one.c,
e-table/e-table-one.h, e-table/e-table-scrolled.c,
e-table/e-table-scrolled.h, e-table/e-table-selection-model.c,
e-table/e-table-selection-model.h, e-table/e-table-simple.c,
e-table/e-table-simple.h, e-table/e-table-size-test.c,
e-table/e-table-sort-info.c, e-table/e-table-sort-info.h,
e-table/e-table-sorted-variable.c,
e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c,
e-table/e-table-sorted.h, e-table/e-table-sorter.c,
e-table/e-table-sorter.h, e-table/e-table-subset-variable.c,
e-table/e-table-subset-variable.h, e-table/e-table-subset.c,
e-table/e-table-subset.h, e-table/e-table-text-model.c,
e-table/e-table-text-model.h, e-table/e-table-tooltip.h,
e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h,
e-table/e-tree-example-1.c, e-table/e-tree-example-2.c,
e-table/e-tree-model.c, e-table/e-tree-model.h,
e-table/e-tree-simple.c, e-table/e-tree-simple.h,
e-table/image1.png, e-table/image2.png, e-table/image3.png,
e-table/remove-col.xpm, e-table/sample.table,
e-table/table-test.c, e-table/table-test.h, e-table/test-check.c,
e-table/test-cols.c, e-table/test-table.c: Moved to gal.

* e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c,
e-text/e-entry.c, e-text/e-entry.h,
e-text/e-text-event-processor-emacs-like.c,
e-text/e-text-event-processor-emacs-like.h,
e-text/e-text-event-processor-types.h,
e-text/e-text-event-processor.c, e-text/e-text-event-processor.h,
e-text/e-text-model.c, e-text/e-text-model.h,
e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to
gal.

i.e.,

...

changed evolution to work with gal.

23 years agoupdate CamelFolderInfo New function to free the contents of a
Dan Winship [Sun, 17 Sep 2000 17:13:57 +0000 (17:13 +0000)]
update CamelFolderInfo New function to free the contents of a

* camel-folder-summary.h: update CamelFolderInfo
* camel-folder-summary.c (camel_folder_info_free): New function to
free the contents of a CamelFolderInfo

23 years agoSet camel_verbose_debug to TRUE if CAMEL_VERBOSE_DEBUG is set in the
Dan Winship [Fri, 15 Sep 2000 18:26:36 +0000 (18:26 +0000)]
Set camel_verbose_debug to TRUE if CAMEL_VERBOSE_DEBUG is set in the

* camel.c (camel_init): Set camel_verbose_debug to TRUE if
CAMEL_VERBOSE_DEBUG is set in the environment.

* camel-remote-store.c (remote_send_line, remote_recv_line): only
log if camel_verbose_debug is TRUE.

23 years agoDon't use dir_sep as top-level directory, use "/".
Jeffrey Stedfast [Thu, 14 Sep 2000 23:06:03 +0000 (23:06 +0000)]
Don't use dir_sep as top-level directory, use "/".

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

* providers/imap/camel-imap-store.c (get_folder): Don't use
dir_sep as top-level directory, use "/".

* providers/imap/camel-imap-folder.c (imap_expunge): Get rid of
unused variable.

23 years agoDon't look at the response of the command. camel_imap_command_extended()
Dan Winship [Thu, 14 Sep 2000 17:51:34 +0000 (17:51 +0000)]
Don't look at the response of the command. camel_imap_command_extended()

* providers/imap/camel-imap-folder.c (imap_expunge): Don't look at
the response of the command. camel_imap_command_extended()
processes EXPUNGE responses itself, so if we do it here too we
remove twice as many summary items as we should.

23 years agoRewrote to take a third argument (gboolean *selectable) so that we can
Jeffrey Stedfast [Wed, 13 Sep 2000 22:13:09 +0000 (22:13 +0000)]
Rewrote to take a third argument (gboolean *selectable) so that we can

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

* providers/imap/camel-imap-store.c (imap_folder_exists): Rewrote
to take a third argument (gboolean *selectable) so that we can
find out if the folder is selectable or not as we look to see if
it exists. Also, don't use EXAMINE because that will not work on
non-selectable folders, so use LIST instead.
(get_folder): Check to see if the folder exists even vefore
calling imap_create as this will save time. If the folder does
exist, find out if it's selectable. Moved the call to refresh_info
here.

* providers/imap/camel-imap-folder.c (imap_get_uids): Check for a
NULL summary.
(camel_imap_folder_new): Don't call refresh_info here - call it in
get_folder() because we don't know if this folder even exists on
the server yet! And even if it does, we don't know if it can hold
messages or not yet.

23 years agoMake sure *datalength is > 0 before calling camel_mime_filter_filter
Jeffrey Stedfast [Wed, 13 Sep 2000 01:42:12 +0000 (01:42 +0000)]
Make sure *datalength is > 0 before calling camel_mime_filter_filter

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

* camel-mime-parser.c (folder_scan_step): Make sure *datalength is
> 0 before calling camel_mime_filter_filter otherwise we will get
a segfault if the filter calls iconv().

23 years agofixes to make this beast distcheck
Peter Teichman [Tue, 12 Sep 2000 19:09:28 +0000 (19:09 +0000)]
fixes to make this beast distcheck

23 years agoFixed a warning.
Christopher James Lahey [Fri, 8 Sep 2000 16:46:55 +0000 (16:46 +0000)]
Fixed a warning.

2000-09-08  Christopher James Lahey  <clahey@helixcode.com>

* providers/nntp/camel-nntp-auth.c,
providers/nntp/camel-nntp-auth.h: Fixed a warning.

23 years agoMake this not leak.
Dan Winship [Thu, 7 Sep 2000 21:00:56 +0000 (21:00 +0000)]
Make this not leak.

* camel-session.c (camel_session_get_storage_path): Make this not
leak.

23 years agoMake this take a path to a directory that Camel can use for its own
Dan Winship [Thu, 7 Sep 2000 19:59:53 +0000 (19:59 +0000)]
Make this take a path to a directory that Camel can use for its own

* camel-session.c (camel_session_new): Make this take a path to a
directory that Camel can use for its own nefarious purposes.
(camel_session_get_storage_path): New function to return a path
that a service can use for its own nefarious sub-purposes.

* camel-service.c (camel_service_get_path): New method (and
useful default implementation) to get a (relative) pathname
corresponding to the service.

23 years ago*** empty log message ***
Dan Winship [Thu, 7 Sep 2000 16:22:30 +0000 (16:22 +0000)]
*** empty log message ***

23 years agoMake KPOP work again.
Dan Winship [Thu, 7 Sep 2000 16:21:41 +0000 (16:21 +0000)]
Make KPOP work again.

* providers/pop3/camel-pop3-store.c (connect_to_server): Make KPOP
work again.

23 years agooops, spelling mistake
Jeffrey Stedfast [Thu, 7 Sep 2000 03:48:39 +0000 (03:48 +0000)]
oops, spelling mistake

23 years agoImplemented (someone added these to camel-mime-message.h but never
Jeffrey Stedfast [Thu, 7 Sep 2000 03:47:45 +0000 (03:47 +0000)]
Implemented (someone added these to camel-mime-message.h but never

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

* camel-mime-message.c (camel_mime_message_get_received_date):
Implemented (someone added these to camel-mime-message.h but never
implemented them!!) - though it may not be right.
(camel_mime_message_get_sent_date): Same.

23 years agoIf a MIME part has no Content-Disposition, but does have a "name" on the
Dan Winship [Tue, 5 Sep 2000 23:00:22 +0000 (23:00 +0000)]
If a MIME part has no Content-Disposition, but does have a "name" on the

* camel-mime-part.c (camel_mime_part_get_filename): If a MIME part
has no Content-Disposition, but does have a "name" on the
Content-Type, return that as the filename.
(process_header): strstrip the Content-Description

23 years agocare about response code. (get_HEAD_headers): same.
Chris Toshok [Tue, 5 Sep 2000 22:32:49 +0000 (22:32 +0000)]
care about response code. (get_HEAD_headers): same.

2000-09-05  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/camel-nntp-utils.c (get_OVER_headers): care about
response code.
(get_HEAD_headers): same.
(camel_nntp_get_headers): same.

* providers/nntp/camel-nntp-store.h: get rid of
CAMEL_NNTP_OK/ERR/FAIL.

* providers/nntp/camel-nntp-store.c
(camel_nntp_store_get_extensions): take CamelException arg and
pass along to camel_nntp_command.
(camel_nntp_store_get_overview_fmt): same.
(nntp_store_connect): convert to using constants in
camel-nntp-resp-codes.h
(nntp_store_get_folder): make use of camel_nntp_folder_new.
(camel_nntp_command_send_recv): new function to deal with auth
challenge.
(camel_nntp_command): split out most of this function into
camel_nntp_command_send_recv.  also, return the actual response
code instead of CAMEL_NNTP_OK/ERR/FAIL.

* providers/nntp/camel-nntp-resp-codes.h: new file.

* providers/nntp/camel-nntp-folder.h: prototype for
camel_nntp_folder_new.

* providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): new
convenience function.
(nntp_folder_get_message): care more about the actual response
code.

* providers/nntp/Makefile.am (libcamelnntp_la_SOURCES): add
camel-nntp-auth.c.
(libcamelnntpinclude_HEADERS): add camel-nntp-auth.h.

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

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

23 years agoUpdate for CamelObject and some other changes
Dan Winship [Tue, 5 Sep 2000 21:18:00 +0000 (21:18 +0000)]
Update for CamelObject and some other changes

23 years agoCache provider, for caching a remote store locally. This is not done yet.
Dan Winship [Tue, 5 Sep 2000 20:33:05 +0000 (20:33 +0000)]
Cache provider, for caching a remote store locally. This is not done yet.

23 years agoCleanup of lots of exception handling ; bugfixes
Peter Williams [Tue, 5 Sep 2000 20:08:09 +0000 (20:08 +0000)]
Cleanup of lots of exception handling ; bugfixes

23 years agoA bit more e_utf8 wrappers here and there
Lauris Kaplinski [Sat, 2 Sep 2000 02:51:28 +0000 (02:51 +0000)]
A bit more e_utf8 wrappers here and there

23 years agoRemoved some unused functions.
Christopher James Lahey [Fri, 1 Sep 2000 21:58:28 +0000 (21:58 +0000)]
Removed some unused functions.

2000-09-01  Christopher James Lahey  <clahey@helixcode.com>

* providers/imap/camel-imap-utils.c: Removed some unused
functions.

23 years agoremove get_folder_name. (nntp_store_get_folder_name): remove.
Chris Toshok [Fri, 1 Sep 2000 05:18:39 +0000 (05:18 +0000)]
remove get_folder_name. (nntp_store_get_folder_name): remove.

2000-08-31  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/camel-nntp-store.c (camel_nntp_store_class_init):
remove get_folder_name.
(nntp_store_get_folder_name): remove.

23 years agoEmail should now display correctly in GtkHTML
Lauris Kaplinski [Fri, 1 Sep 2000 02:40:44 +0000 (02:40 +0000)]
Email should now display correctly in GtkHTML

23 years agouse camel_remote_store_recv_line.
Chris Toshok [Fri, 1 Sep 2000 01:58:56 +0000 (01:58 +0000)]
use camel_remote_store_recv_line.

2000-08-31  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/camel-nntp-utils.c (get_OVER_headers): use
camel_remote_store_recv_line.

* providers/nntp/camel-nntp-folder.c (nntp_folder_get_message):
use camel_remote_store_recv_line to build message.  also, free our
buffer so we don't leak like mad.

* providers/nntp/camel-nntp-store.c:
(camel_nntp_store_get_additional_data) remove.
(camel_nntp_store_get_extensions): use
camel_remote_store_recv_line.
(camel_nntp_store_get_overview_fmt): same.  also, don't rely on
_get_additional_data anymore since it's easier to parse without.
(camel_nntp_command): use camel_remote_store_send_string and
camel_remote_store_recv_line.

* providers/nntp/camel-nntp-store.h: CamelRemoteStore is the
parent class now.  remove istream/ostream since CamelRemoteStore
takes care of that for us.  also remove the prototype for
camel_nntp_store_get_additional_data.

* providers/nntp/camel-nntp-newsrc.c (camel_nntp_newsrc_write):
make sure to clear dirty bit.
(camel_nntp_newsrc_read_for_server): don't worry about continually
trying to open the file - if it fails we just return an
unpopulated .newsrc file.

23 years agomake this a bit more robust. try to create an empty .newsrc file for the
Chris Toshok [Fri, 1 Sep 2000 00:57:20 +0000 (00:57 +0000)]
make this a bit more robust. try to create an empty .newsrc file for the

2000-08-31  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/camel-nntp-newsrc.c
(camel_nntp_newsrc_read_for_server): make this a bit more robust.
try to create an empty .newsrc file for the server if we can't
open it for reading.  also, don't allocate everything until we've
opened the file.

* providers/nntp/camel-nntp-utils.c (get_OVER_headers): make use
of our overview field indices.
(camel_nntp_get_headers): only call get_OVER_headers if the
extension is present.  warn if it's not - since get_HEAD_headers
needs work before it works.

* providers/nntp/camel-nntp-store.c
(camel_nntp_store_get_extensions): new function - query the server
for it's extensions.
(camel_nntp_store_get_overview_fmt): new function - query the
server for the overview format and build our table of the indices
we care about.  support the "full" suffix on fields.
(nntp_store_connect): call camel_nntp_store_get_extensions and
camel_nntp_store_get_overview_fmt.

* providers/nntp/camel-nntp-store.h: add codes for extensions
found on news.mozilla.org.  only one that we care about is OVER.
also, add CamelNNTPOverField and an enum of the overview fields
that we care about.

23 years agoReimplemented. It should now work correctly for most possible VFolder
Jeffrey Stedfast [Thu, 31 Aug 2000 21:08:14 +0000 (21:08 +0000)]
Reimplemented. It should now work correctly for most possible VFolder

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

* providers/imap/camel-imap-utils.c (imap_translate_sexp):
Reimplemented. It should now work correctly for most possible
VFolder rules.

23 years agoDon't save any exceptions caused by camel_imap_folder_changed
Jeffrey Stedfast [Thu, 31 Aug 2000 04:19:23 +0000 (04:19 +0000)]
Don't save any exceptions caused by camel_imap_folder_changed

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

* providers/imap/camel-imap-store.c (camel_imap_command_extended):
Don't save any exceptions caused by camel_imap_folder_changed
(camel_imap_fetch_command): Same.

* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
Using a new way of calculating the first recent message that seems
more accurate. Also added code to make sure we don't accidently
add a duplicate summary.

23 years ago (write_to_stream): Rearrange the logic so it always does charset
Michael Zucci [Thu, 31 Aug 2000 03:08:51 +0000 (03:08 +0000)]
    (write_to_stream): Rearrange the logic so it always does charset
        conversion, and not just if we have a qp/base64 block.

23 years ago (write_to_stream): Fix some warnings/use the right constructor,
Michael Zucci [Thu, 31 Aug 2000 02:27:35 +0000 (02:27 +0000)]
(write_to_stream): Fix some warnings/use the right constructor,
oops.

23 years agoUse the proper type checking function to check for text types.
Not Zed [Thu, 31 Aug 2000 02:24:49 +0000 (02:24 +0000)]
Use the proper type checking function to check for text types.

2000-08-31  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-part.c (write_to_stream): Use the proper type
        checking function to check for text types.
        (write_to_stream): If we have a charset on a text type that
        isn't us-ascii or utf-8, then we need to reencode it, so add a
        filter to do that too.

23 years ago (append_latin1): Do an additional mask for account for c's
Michael Zucci [Thu, 31 Aug 2000 01:49:21 +0000 (01:49 +0000)]
(append_latin1): Do an additional mask for account for c's
undefined behaviour for sign extension whilst shifting right.

23 years agoNew function - even though its broken, we'll assume mailers send latin1
Not Zed [Thu, 31 Aug 2000 01:46:44 +0000 (01:46 +0000)]
New function - even though its broken, we'll assume mailers send latin1

2000-08-31  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-utils.c (append_latin1): New function - even though
        its broken, we'll assume mailers send latin1 headers instead of
        us-ascii.  We just have to encode high chars into utf-8.
        (header_decode_text): Call append_latin1 for appending unencoded
        text segments.

23 years agoRewrote to ignore strings that look like server responses until it is sure
Jeffrey Stedfast [Wed, 30 Aug 2000 22:25:15 +0000 (22:25 +0000)]
Rewrote to ignore strings that look like server responses until it is sure

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

* providers/imap/camel-imap-store.c (camel_imap_fetch_command):
Rewrote to ignore strings that look like server responses until it
is sure that it has finished reading the literal string response.

23 years agoDon't wrap printed strings in quotes, makes things messy
Jeffrey Stedfast [Wed, 30 Aug 2000 21:01:59 +0000 (21:01 +0000)]
Don't wrap printed strings in quotes, makes things messy

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

* camel-remote-store.c (remote_send_string): Don't wrap printed
strings in quotes, makes things messy

* providers/imap/camel-imap-folder.c (imap_get_message): Updated
to use the camel_imap_fetch_command

* providers/imap/camel-imap-stream.c (stream_read): Updated to use
camel_imap_fetch_command

* providers/imap/camel-imap-store.c (camel_imap_command_extended):
No longer handles FETCH requests so no longer needs to be
concerned with checking to make sure that server responses are
valid (they have to be).
(camel_imap_fetch_command): New convenience function that handles
all FETCH requests

23 years agoMake CamelServices connect only when told to (old behavior). Make CamelRemoteStore...
Peter Williams [Wed, 30 Aug 2000 17:09:41 +0000 (17:09 +0000)]
Make CamelServices connect only when told to (old behavior). Make CamelRemoteStore do its stuff in service::connect, not ::post_connect.

23 years agoGeneral cleanup / moving stuff around to make things easier to follow.
Jeffrey Stedfast [Wed, 30 Aug 2000 16:24:36 +0000 (16:24 +0000)]
General cleanup / moving stuff around to make things easier to follow.

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

* providers/imap/camel-imap-store.c: General cleanup / moving
stuff around to make things easier to follow.

23 years agoPrevent exceptions from being overwritten
Jeffrey Stedfast [Wed, 30 Aug 2000 04:03:07 +0000 (04:03 +0000)]
Prevent exceptions from being overwritten

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

* camel-remote-store.c: Prevent exceptions from being overwritten

* providers/imap/camel-imap-folder.c (imap_expunge): Beautified
(imap_get_subfolder_names_internal): Removed old code as the
replacement code has now been tested and proven to work

23 years agoRemoved old code that will never be needed again
Jeffrey Stedfast [Tue, 29 Aug 2000 23:15:02 +0000 (23:15 +0000)]
Removed old code that will never be needed again

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

* providers/imap/camel-imap-utils.c: Removed old code that will
never be needed again

* providers/imap/camel-imap-store.c: Removed old code for
try_connect - will never need this code
(slurp_response): Update to make sure we aren't falsely detecting
EXPUNGE flags

23 years agoCamelRemoteStore: a new generic store for stores that connect to servers. Prepare...
Peter Williams [Tue, 29 Aug 2000 21:28:46 +0000 (21:28 +0000)]
CamelRemoteStore: a new generic store for stores that connect to servers. Prepare for the ability to cancel operations (much better exception handling). Clean up IMAP like nobody's business

23 years agoUpdated to check for EXPUNGE notifications
Jeffrey Stedfast [Tue, 29 Aug 2000 17:04:54 +0000 (17:04 +0000)]
Updated to check for EXPUNGE notifications

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

* providers/imap/camel-imap-store.c (camel_imap_command_extended):
Updated to check for EXPUNGE notifications

* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
Updated to account for messages which have been expunged (now
takes a new arg, a GPtrArray of message id's that have been
expunged)
(imap_expunge): Updated (we may want to just use the code in
folder_changed now instead of doing our own summary
expunging...but that can be fixed later)
(imap_append_message): Updated.
(imap_copy_message_to): Updated.
(imap_move_message_to): Updated.

23 years agoFixed the hack around quoted string responses - should now handle them
Jeffrey Stedfast [Mon, 28 Aug 2000 23:47:21 +0000 (23:47 +0000)]
Fixed the hack around quoted string responses - should now handle them

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

* providers/imap/camel-imap-folder.c (imap_get_message): Fixed the
hack around quoted string responses - should now handle them
according to the specifications in the RFC

* providers/imap/camel-imap-stream.c (stream_read): Updated to
match the code currently used in camel-imap-folder.c

23 years agoFree()ing memory allocated through alloca() is Not A Good Thing.
Ettore Perazzoli [Mon, 28 Aug 2000 15:11:44 +0000 (15:11 +0000)]
Free()ing memory allocated through alloca() is Not A Good Thing.

23 years agoUse `g_free()' instead of `free()' in the `header_decode_text()'
Ettore Perazzoli [Sun, 27 Aug 2000 00:59:45 +0000 (00:59 +0000)]
Use `g_free()' instead of `free()' in the `header_decode_text()'
helper function.

23 years agoAdd support for specifying on which port to connect to a server; fix a potential...
Peter Williams [Fri, 25 Aug 2000 21:09:53 +0000 (21:09 +0000)]
Add support for specifying on which port to connect to a server; fix a potential infinite loop in unicode.

23 years agoIf the url path is "/" and the folder path is "/", just LIST "" "*" (this
Jeffrey Stedfast [Fri, 25 Aug 2000 17:29:43 +0000 (17:29 +0000)]
If the url path is "/" and the folder path is "/", just LIST "" "*" (this

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

* providers/imap/camel-imap-folder.c
(imap_get_subfolder_names_internal): If the url path is "/" and
the folder path is "/", just LIST "" "*" (this should fix some
cyrus imapd problems). Also, INBOX is case insensitive so use
g_strcasecmp

23 years agoIf the url path is "/" and the folder path is "/", just LIST "" "*" (this
Jeffrey Stedfast [Fri, 25 Aug 2000 17:17:08 +0000 (17:17 +0000)]
If the url path is "/" and the folder path is "/", just LIST "" "*" (this

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

* providers/imap/camel-imap-folder.c
(imap_get_subfolder_names_internal): If the url path is "/" and
the folder path is "/", just LIST "" "*" (this should fix some
cyrus imapd problems)

23 years agoMore UTF-8 handling
Lauris Kaplinski [Fri, 25 Aug 2000 04:31:07 +0000 (04:31 +0000)]
More UTF-8 handling

23 years agoRemove this duplicate file to fix build
JP Rosevear [Fri, 25 Aug 2000 01:43:27 +0000 (01:43 +0000)]
Remove this duplicate file to fix build

2000-08-24  JP Rosevear  <jpr@helixcode.com>

* src/libical/icalvcal.h: Remove this duplicate file to fix build

23 years agoAnd here too.
Not Zed [Thu, 24 Aug 2000 01:21:32 +0000 (01:21 +0000)]
And here too.

2000-08-17  Not Zed  <NotZed@HelixCode.com>

        * providers/mh/camel-mh-folder.c (mh_finalize): And here too.

        * providers/mbox/camel-mbox-folder.c (mbox_finalize): Close index
        on exit.

23 years agoput commas between addresses.
Dan Winship [Wed, 23 Aug 2000 19:58:51 +0000 (19:58 +0000)]
put commas between addresses.

* camel-mime-utils.c (header_address_list_format_append): put
commas between addresses.

23 years agouse BODY.PEEK, not BODY, so we don't set the message \Seen.
Dan Winship [Tue, 22 Aug 2000 23:43:31 +0000 (23:43 +0000)]
use BODY.PEEK, not BODY, so we don't set the message \Seen.

* providers/imap/camel-imap-folder.c
(imap_protocol_get_summary_specifier): use BODY.PEEK, not BODY, so
we don't set the message \Seen.

23 years agoFixed a small warning.
Christopher James Lahey [Tue, 22 Aug 2000 23:38:51 +0000 (23:38 +0000)]
Fixed a small warning.

2000-08-22  Christopher James Lahey  <clahey@helixcode.com>

* providers/pop3/camel-pop3-store.c: Fixed a small warning.

23 years agoChangeLog updates.
Peter Williams [Tue, 22 Aug 2000 20:22:05 +0000 (20:22 +0000)]
ChangeLog updates.

23 years agoAutomatically connect services when given a valid URL (should hopefully disconnect...
Peter Williams [Tue, 22 Aug 2000 20:09:10 +0000 (20:09 +0000)]
Automatically connect services when given a valid URL (should hopefully disconnect, too); remove the old movemail folder correctly.

23 years agoMake sure newsrc is not null (nntp_folder_get_subfolder_names): ditto
JP Rosevear [Mon, 21 Aug 2000 20:47:09 +0000 (20:47 +0000)]
Make sure newsrc is not null (nntp_folder_get_subfolder_names): ditto

2000-08-21  JP Rosevear  <jpr@helixcode.com>

* providers/nntp/camel-nntp-folder.c
(nntp_folder_get_subfolder_names):
Make sure newsrc is not null
(nntp_folder_get_subfolder_names): ditto

* providers/nntp/camel-nntp-newsrc.c
(camel_nntp_newsrc_get_subscribed_group_names): Programming check
for newsrc == NULL
(camel_nntp_newsrc_get_all_group_names): ditto
(camel_nntp_newsrc_write_to_file): ditto
(camel_nntp_newsrc_write): ditto

23 years agoMake sure respbuffer is not null before manipulating it. If it is null,
JP Rosevear [Mon, 21 Aug 2000 19:56:14 +0000 (19:56 +0000)]
Make sure respbuffer is not null before manipulating it. If it is null,

2000-08-21  JP Rosevear  <jpr@helixcode.com>

* providers/nntp/camel-nntp-store.c (camel_nntp_command):
Make sure respbuffer is not null before manipulating it.
If it is null, return CAMEL_NNTP_FAIL and a decent error
message.

23 years agoFix output for when the name is empty
Peter Williams [Fri, 18 Aug 2000 17:28:36 +0000 (17:28 +0000)]
Fix output for when the name is empty

23 years agoWhole buncha leak fixes thanks to Purify
Matthew Loper [Thu, 17 Aug 2000 14:19:00 +0000 (14:19 +0000)]
Whole buncha leak fixes thanks to Purify

23 years agoMore leak fixes
Peter Williams [Wed, 16 Aug 2000 19:24:30 +0000 (19:24 +0000)]
More leak fixes

23 years agoChangeLog for previous camel-object commit.
Peter Williams [Wed, 16 Aug 2000 18:35:03 +0000 (18:35 +0000)]
ChangeLog for previous camel-object commit.

23 years agoPlug mem leaks.
Peter Williams [Wed, 16 Aug 2000 18:33:19 +0000 (18:33 +0000)]
Plug mem leaks.

23 years agoAdd support for copying messages
Peter Williams [Tue, 15 Aug 2000 19:10:44 +0000 (19:10 +0000)]
Add support for copying messages

23 years agoInfrastructure for date-based queries
Peter Williams [Mon, 14 Aug 2000 19:07:06 +0000 (19:07 +0000)]
Infrastructure for date-based queries

23 years agoAdd camel-nntp-utils.h
Dan Winship [Sun, 13 Aug 2000 21:40:24 +0000 (21:40 +0000)]
Add camel-nntp-utils.h

* providers/nntp/Makefile.am (libcamelnntpinclude_HEADERS): Add
camel-nntp-utils.h

23 years agodo a strcasecmp rather than just a strcmp when checking if a folder is
Dan Winship [Sun, 13 Aug 2000 16:09:25 +0000 (16:09 +0000)]
do a strcasecmp rather than just a strcmp when checking if a folder is

* providers/imap/camel-imap-folder.c
(imap_get_subfolder_names_internal): do a strcasecmp rather than
just a strcmp when checking if a folder is "INBOX", since it is
a case-insensitive name.

23 years ago (imap_get_subfolder_names_internal): Add "INBOX" to the list as
Dan Winship [Sun, 13 Aug 2000 03:25:47 +0000 (03:25 +0000)]
(imap_get_subfolder_names_internal): Add "INBOX" to the list as
g_malloc'ed memory, not a static string.

23 years agoDon't assume the FETCH results will come back in the order they were
Dan Winship [Sun, 13 Aug 2000 03:06:34 +0000 (03:06 +0000)]
Don't assume the FETCH results will come back in the order they were

* providers/imap/camel-imap-folder.c (imap_get_summary_internal):
Don't assume the FETCH results will come back in the order they
were requested.

23 years agoNow takes a char * parameter rather than a stream
Jeffrey Stedfast [Sat, 12 Aug 2000 22:56:55 +0000 (22:56 +0000)]
Now takes a char * parameter rather than a stream

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

* providers/imap/camel-imap-store.c
(camel_imap_command_continuation): Now takes a char * parameter
rather than a stream
(camel_imap_command_continuation_with_stream): Same function as
above but takes a stream parameter instead

* providers/imap/camel-imap-folder.c (imap_append_message): Use
camel_imap_command_continuation_with_stream

23 years agoNew function to do one round of attempted authentication. (pop3_connect):
Dan Winship [Sat, 12 Aug 2000 22:10:22 +0000 (22:10 +0000)]
New function to do one round of attempted authentication. (pop3_connect):

* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): New
function to do one round of attempted authentication.
(pop3_connect): Move a bunch of code out into
pop3_try_authenticate and fix some bugs in the edge cases.

23 years agoNo longer calls try_connect() to get authtypes
Jeffrey Stedfast [Sat, 12 Aug 2000 21:58:01 +0000 (21:58 +0000)]
No longer calls try_connect() to get authtypes

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

* providers/imap/camel-imap-store.c (query_auth_types): No longer
calls try_connect() to get authtypes

23 years agoChanged param order a bit and fixed some logic
Jeffrey Stedfast [Sat, 12 Aug 2000 03:42:42 +0000 (03:42 +0000)]
Changed param order a bit and fixed some logic

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

* providers/imap/camel-imap-store.c
(camel_imap_command_continuation): Changed param order a bit and
fixed some logic

* providers/imap/camel-imap-folder.c (imap_append_message): Use
the new multi-transactional convenience functions

23 years agoNew convenience function for multi-transactional commands (opening
Jeffrey Stedfast [Sat, 12 Aug 2000 01:36:31 +0000 (01:36 +0000)]
New convenience function for multi-transactional commands (opening

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

* providers/imap/camel-imap-store.c
(camel_imap_command_preliminary): New convenience function for
multi-transactional commands (opening request)
(camel_imap_command_continuation): New convenience function for
multi-transactional commands (followup data)

23 years agoFixed a warning.
Christopher James Lahey [Sat, 12 Aug 2000 01:25:17 +0000 (01:25 +0000)]
Fixed a warning.

2000-08-11  Christopher James Lahey  <clahey@helixcode.com>

* providers/mh/camel-mh-folder.c: Fixed a warning.

23 years agoremove get_name and get_full_name assignments, since the camel-folder.c
Chris Toshok [Fri, 11 Aug 2000 21:32:55 +0000 (21:32 +0000)]
remove get_name and get_full_name assignments, since the camel-folder.c

2000-08-11  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/camel-nntp-folder.c
(camel_nntp_folder_class_init): remove get_name and get_full_name
assignments, since the camel-folder.c implementation does what we
need.

23 years agouse g_get_home_dir, since evolution_dir isn't available in the providers.
Chris Toshok [Fri, 11 Aug 2000 21:14:33 +0000 (21:14 +0000)]
use g_get_home_dir, since evolution_dir isn't available in the providers.

2000-08-11  Chris Toshok  <toshok@helixcode.com>

* providers/nntp/camel-nntp-store.c
(camel_nntp_store_get_toplevel_dir): use g_get_home_dir, since
evolution_dir isn't available in the providers.

23 years agoFix the camel-folder's thaw handler. Implement event forwarding into the main thread.
Peter Williams [Fri, 11 Aug 2000 17:35:13 +0000 (17:35 +0000)]
Fix the camel-folder's thaw handler. Implement event forwarding into the main thread.

23 years agoImplement. (mh_get_message_user_tag): Implement.
Not Zed [Fri, 11 Aug 2000 07:43:50 +0000 (07:43 +0000)]
Implement. (mh_get_message_user_tag): Implement.

2000-08-11  Not Zed  <NotZed@HelixCode.com>

* providers/mh/camel-mh-folder.c (mh_set_message_user_tag):
Implement.
(mh_get_message_user_tag): Implement.

* providers/mbox/camel-mbox-folder.c (mbox_get_message_user_tag):
(mbox_set_message_user_tag): Implement.

* camel-folder.c
(camel_folder_set_message_user_tag): Routine to set message tags.
(camel_folder_get_message_user_tag): And accessor.

23 years agoYay so lets fix an already fixed fix, again. (copy_message_to): and here
Not Zed [Fri, 11 Aug 2000 04:24:13 +0000 (04:24 +0000)]
Yay so lets fix an already fixed fix, again. (copy_message_to): and here

2000-08-11  Not Zed  <NotZed@HelixCode.com>

* camel-folder.c (move_message_to): Yay so lets fix an already fixed fix, again.
(copy_message_to): and here too ... update for api change to append().
And removed another warning.

23 years agoFixed some warnings.
Christopher James Lahey [Fri, 11 Aug 2000 02:57:11 +0000 (02:57 +0000)]
Fixed some warnings.

2000-08-10  Christopher James Lahey  <clahey@helixcode.com>

* camel-folder-search.c, camel-folder-summary.c, camel-medium.c,
camel-mime-filter-charset.c, camel-mime-filter.c,
camel-mime-filter.h, camel-mime-message.c, camel-mime-parser.c,
camel-mime-part-utils.c, camel-mime-part.c, camel-mime-utils.c,
camel-movemail.c, camel-multipart.c, camel-object.c,
camel-stream-mem.c, providers/mbox/camel-mbox-folder.c,
providers/mbox/camel-mbox-summary.c,
providers/mh/camel-mh-folder.c,
providers/smtp/camel-smtp-transport.c: Fixed some warnings.