* session.c (auth_callback): Update call to camel_url_to_string.
(Don't include the params in the password hash table key.)
* mail-config.c (mail_config_folder_to_cachename): Call
camel_url_to_string with HIDE_PASSWORD and HIDE_PARAMS so that
changing URL params doesn't change the cachename.
* mail-ops.c (add_vtrash_info):
* mail-local.c (reconfigure_folder_reconfigure):
* mail-account-gui.c (save_service): Update calls to
camel_url_to_string.
svn path=/trunk/; revision=9015
* camel-url.c (camel_url_to_string): change "gboolean show_passwd"
to "guint32 flags".
* tests/misc/url.c (main): Update calls to camel_url_to_string
* providers/imap/camel-imap-store.c (construct): Call
camel_url_to_string with flags to hide password, authtype, and
params to create the base_url.
(etc): Update for the fact that the base_url no longer has the "/"
at the end.
* camel-service.c (construct): Update calls to camel_url_to_string
(pass CAMEL_URL_HIDE_PASSWORD)
svn path=/trunk/; revision=9014
2001-03-29 Federico Mena Quintero <federico@ximian.com>
Engine for live queries to calendars. A query object watches a
CalBackend in the PCS and is otherwise completely separate from
it; backends need to do nothing to support live queries. Right
now we have the following functions:
(get-vtype)
Returns a string indicating the type of component
(VEVENT, VTODO, VJOURNAL, VFREEBUSY, VTIMEZONE,
UNKNOWN).
(occur-in-time-range? START END)
START - int, time_t start of the time range
END - int, time_t end of the time range
Returns a boolean indicating whether the component
has any occurrences in the specified time range.
* idl/evolution-calendar.idl (Cal::getQuery): New method that
initiates a live query.
(Query): New interface for a handle to a live query.
(QueryListener): New interface for a listener to changes in a live
query.
* pcs/query.[ch]: New files with the live query engine.
* pcs/cal-backend.h (CalBackendClass): Added notification signals
so that the query system can catch them.
(CalBackendClass): New virtual method ::get_load_state().
* pcs/cal-backend.c (cal_backend_opened):
(cal_backend_obj_updated):
(cal_backend_obj_updated): New functions to emit the notification
signals; to be used only by backend implementations.
(cal_backend_get_load_state): New function.
* pcs/cal-backend-file.c (notify_update): Call
cal_backend_obj_updated().
(notify_remove): Call call_backend_obj_removed().
(open_cal): Free the icalcomp if it is not of the correct type.
(cal_backend_file_get_load_state): Implemented new method.
* pcs/cal-backend-db.c (cal_backend_db_update_object): Call
cal_backend_obj_updated().
(cal_backend_db_remove_object): Call cal_backend_obj_removed().
(cal_backend_db_get_load_state): Implemented new method.
* pcs/cal.c (Cal_get_query): Implementation of the ::getQuery()
method.
svn path=/trunk/; revision=9013
2001-03-29 Not Zed <NotZed@Ximian.com>
* evolution-mail.xml: Move the 'hide deleted' to the option list
under the view menu.
svn path=/trunk/; revision=9010
2001-03-29 Not Zed <NotZed@Ximian.com>
* mail-local.c (init_trash): Create a vtrash folder, not a vee folder.
* folder-browser-factory.c (control_activate): Hook in the hide
deleted thingy.
Removed MessageHideDeleted menu stuff.
* message-list.c (message_list_set_hidedeleted): New function, to
set if we should hide deleted messages automatically/always.
(regen_list_regen): If we have hide deleted messages turned on,
then hide them.
(main_message_changed): Promote to a folder_changed event with a
change list, folder_changed has the optimisations to handle this
appropriately.
(main_folder_changed): IF we get changes events for
deleted/undeleted stuff, change to added/removed events, rebuild
if necessary.
(message_list_set_folder): Setup the default hidedeleted state to
be to hide everything unless it is in a vtrash folder.
svn path=/trunk/; revision=9009
2001-03-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-context.[c,h]: New class for PGP encrypting,
decrypting, signing and verifying. Next I'll be moving the
contents of mail/mail-crypto into Camel. These files will
basically replace mail/openpgp-utils.[c,h].
svn path=/trunk/; revision=9008
2001-03-29 Not Zed <NotZed@Ximian.com>
* camel-folder-search.c (search_body_contains): Optimise the match
"" case, just match everything in the folder (if we have it).
svn path=/trunk/; revision=9007
2001-03-29 Not Zed <NotZed@Ximian.com>
* camel-vtrash-folder.c (vtrash_move_messages_to): Access the
folder directly from the message info.
(vtrash_move_messages_to): I think we also need to call the real
move_messages_to, and not try and bypass the lock, since we dont
have the lock for that folder.
* camel-vee-folder.h: Move CamelVeeMessageInfo to public, so
subclasses can get to it.
* camel-vee-folder.c (camel_vee_folder_add_folder): Dont let you
add a vfolder to itself.
(folder_changed):
(vee_folder_remove_folder):
(vee_folder_build_folder): Copy changes before triggering changed
events, so we can do them outside of locks.
(camel_vee_folder_get_message_folder): Removed function.
(camel_vee_folder_hash_folder): Made public (renamed from
hash_folder), simply for subclasses (probably not needed).
svn path=/trunk/; revision=9004
2001-03-28 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c (build_menus): Don't print the xml tree
here.
svn path=/trunk/; revision=9003
2001-03-28 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (storage_sort_callback,
folder_sort_callback): Use strcasecmp instead of strcmp.
svn path=/trunk/; revision=9002
2001-03-28 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of
getting the NAME and then the ORG. That way if we expand
NAME_OR_ORG, this will use it.
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table, SPEC): Use the correct column
in the SPEC.
svn path=/trunk/; revision=9000
* README: add a bit mentioning that if configure claims you don't
have something installed when you think you do, that it's probably
because you installed it in the wrong prefix, or because you need
a -devel package.
* configure.in: Add a new macro EVO_CHECK_LIB that checks for a
gnome-config-based library of a given version or later, correctly,
and if doesn't find it, suggests that you consult the README. Fix
the various library checks to use this. Meanwhile, remove a bunch
of old cruft and reorganize a little.
* acconfig.h: Remove cruft
svn path=/trunk/; revision=8997
* e-msg-composer.c (save_draft): Use the drafts folder specified
by the account, if possible. Also, fix the setting of "send_html"
after saving the draft in case the user plans to keep editting...
svn path=/trunk/; revision=8992
* mail-account-gui.c (mail_account_gui_new): Set up the
sent/drafts folder buttons.
(folder_picker_clicked): Pop up the folder selector when sent or
drafts is clicked.
(mail_account_gui_save): Save the sent/drafts folders.
* mail-config.c (account_copy): copy sent/drafts info
(config_read): read sent/drafts info
(mail_config_write): write sent/drafts info
* mail-callbacks.c (composer_send_cb, composer_postpone_cb):
split out some common code here (and fix inconsistencies). Always
set headers on the message giving the account name, transport,
and sent folder to use.
* mail-ops.c (mail_send_message): If the message has an
X-Evolution-Account header, use the transport/sent folder info for
that account (assuming it still exists). Otherwise, if it has
X-Evolution-Transport and/or X-Evolution-Fcc, use those. If not,
use the default transport and sent folder.
FIXME: Falls back silently to the default sent folder if it can't
open the account-specific one...
(send_queue_send): remove the X-Evolution-Transport, etc
processing here, as it gets done by mail_send_message now.
FIXME: We only sync the default sent folder.
* component-factory.c (owner_set_cb): While setting up the
standard folders, also record their URIs.
svn path=/trunk/; revision=8991
2001-03-28 Jon Trowbridge <trow@gnu.org>
* e-shell-view-menu.c: In a fit of egomania, added myself to the
authors array.
svn path=/trunk/; revision=8989
2001-03-27 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c, e-tree-selection-model.h: New class
implementing a tree model. Not finished yet or in use, but I
wanted to get it checked in.
svn path=/trunk/; revision=8987
2001-03-27 Jeffrey Stedfast <fejj@ximian.com>
* camel-service.c (get_path): Add the port (if user defined) to
the path to fix bug #1996.
Danw: I'm iffy on the "fix" so I'd like you to comment.
svn path=/trunk/; revision=8986
2001-03-27 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-folder.c (pop3_sync): If we aren't
going to even check the resp/free buffer that gets returned from
camel_pop3_command, don't even bother using it. Send in NULL
instead.
(pop3_get_message): Check to make sure that the `result' string is
non-NULL. It's possible that some POP servers may return with
"+OK\r\n<message>..." rather than the expected
"+OK ### octets\r\n<message>..."
svn path=/trunk/; revision=8985
2001-03-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (switch_page): Lets do some NULL checking
here. First, make sure the gsrc isn't NULL and also make sure that
account->source isn't NULL either.
* mail-account-gui.c (mail_account_gui_setup): If there isn't a
source_proto, make sure we select "None" as the source type.
svn path=/trunk/; revision=8984
001-03-27 Anna Marie Dirks <anna@ximian.com>
* gui/e-itip-control.c: fixed button placement to comply
with gnome standards.
svn path=/trunk/; revision=8983
2001-03-27 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (e_msg_composer_set_send_html): set the
FormatHTML property on the editor to let it know the mode.
(e_msg_composer_construct): set the FormatHTML property at
construct time.
svn path=/trunk/; revision=8982
2001-03-27 Anna Marie Dirks <anna@ximian.com>
* gui/e-itip-control.glade: fixed spacing and label alignment to
comply with gnome standards. Also removed shadows from extraneous
scrolled windows to avoid bevelitous. There are many more changes
that need to happen to this viewer, but they all require a hacker
to do some c-coding, so I will avoid committing them until after the
.10 release.
svn path=/trunk/; revision=8981
* mail-config-druid.c (construct): set the initial druid button
state after doing the mail_account_gui_setup, since that may
invoke signal handlers that will change it.
svn path=/trunk/; revision=8980
2001-03-27 Dietmar Maurer <dietmar@ximian.com>
* wombat-moniker.c (wombat_moniker_resolve): we can now resolve to
storages and streams.
svn path=/trunk/; revision=8978
* mail-account-gui.c (mail_account_gui_new): Fill in signature and
organization too.
(mail_account_gui_save): Preserve the "enabled" flag on the source.
svn path=/trunk/; revision=8977
2001-03-27 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (receive_done): Use gnome-dialog-close instead
of object_unref, for some reason it doesn't like being unref'd
with a refcount of 1, _who knows_. Gets rid of that refcount
warning on get mail.
svn path=/trunk/; revision=8976
2001-03-27 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (camel_folder_summary_finalize): Unref
the html filter when done.
(summary_build_content_info): Disable using the html parser to
help index html mails until it gets sorted out.
svn path=/trunk/; revision=8975
2001-03-27 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (e_msg_composer_set_send_html): set the
FormatHTML property on the editor to let it know the mode.
svn path=/trunk/; revision=8974
2001-03-27 Not Zed <NotZed@Ximian.com>
* camel-vee-folder.c (folder_changed): Fix a cut n paste bug, we
want uid_removed not uid_changed deref, fixes bug #1999.
svn path=/trunk/; revision=8973
* camel-sasl.c (camel_sasl_authtype_list): add an argument to say
whether or not you want "PLAIN" in the list (so you don't end up
with "Password" twice in the config dialog).
* providers/imap/camel-imap-provider.c (camel_provider_module_init):
* providers/imap/camel-imap-store.c (query_auth_types): We don't
want PLAIN.
* providers/smtp/camel-smtp-provider.c (camel_provider_module_init):
* providers/smtp/camel-smtp-transport.c (query_auth_types): But we
do.
svn path=/trunk/; revision=8972
* mail-config.glade: Probably the very last new config dialog
ever. (Ha ha). From Anna, based on a story by me.
* mail-account-gui.c: New code for the new mail-config.glade. This
abstracts out all of the common code between the account editor
and the druid. It also handles the spiffy new provider-specific
config stuff.
FIXME: The code to check if a service is ok or not is no longer
there... waiting until the online/offline stuff from the shell
appears.
* mail-account-editor.c, mail-config-druid.c: These are much
smaller now, since most of the interesting bits moved to
mail-account-gui.c
* mail-accounts.c: Add an enabled/disabled column/button to
replace the checkbox that used to be in the editor, because it
really makes more sense to have it out here. This looks ugly.
Probably ought to ETable it...
(load_accounts): Fill in the enabled column.
(mail_select, mail_unselect): toggle the sensitivity and name of
the Enable/Disable button appropriately
(mail_able): Handle the enable/disable button.
* mail-config.c: Remove reply-to from MailConfigIdentity since it
didn't belong there (and wasn't being saved anyway).
(mail_config_check_service): Simplify this a bit. This really
needs to pop up a dialog with a "connecting..." message and a
cancel button.
svn path=/trunk/; revision=8971
* mail-ops.c (uid_cachename_hack): Kludge, copied+modified from
mail_config_folder_to_cachename to deal with the different
behavior of the URL code now. Will go away when the keep-on-server
code moves.
(get_folderinfo_get): Only pass "subscribed_only" to
camel_store_get_folder_info if the store supports subscriptions...
svn path=/trunk/; revision=8970