2004-06-17 Rodney Dawes <dobey@novell.com>
* camel-mime-filter-tohtml.c: Add support for the webcal, callto, and
h323 URIs when we get them in mails
svn path=/trunk/; revision=26401
2004-06-17 Jeffrey Stedfast <fejj@novell.com>
* camel-mime-filter-tohtml.c: Don't foolishly unmunge From_
lines. First off, we don't even know if our input stream came from
an mbox file and secondly, the ">From " may have been intentional
by the author. We Just Don't Know (tm).
svn path=/trunk/; revision=26398
2004-06-15 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Make sure we have elements in the array, if not then we're done
(return a NULL fi).
svn path=/trunk/; revision=26394
2004-06-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap4/camel-imap4-folder.c (imap4_get_uid_set): Fixed
to work properly. It was getting ranges wrong before sometimes
which was making me lose mail! Ugh.
svn path=/trunk/; revision=26393
2004-06-17 Jeffrey Stedfast <fejj@ximian.com>
Thanks to Christian Kellner for pointing out these bugs (and
submitting the original patch for service_setv)
* camel-service.c (service_setv): Don't use (tag &
CAMEL_ARG_IGNORE) to determine if we should ignore this
tag. CAMEL_ARG_IGNORE is not a bit flag.
* providers/imap/camel-imap-store.c (imap_setv): Don't use (tag &
CAMEL_ARG_IGNORE) to determine if we should ignore this
tag. CAMEL_ARG_IGNORE is not a bit flag.
svn path=/trunk/; revision=26392
2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/itip-utils.c (itip_publish_comp) : check for
host being non-NULL in soup uri. host can be null
for uri's of the form file:/foo or http:/foo etc
svn path=/trunk/; revision=26390
2004-06-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (imap_setv): Only ignore if
(tag & CAMEL_ARG_TAG) == CAMEL_ARG_IGNORE, not if (tag &
CAMEL_ARG_IGNORE) is true.
svn path=/trunk/; revision=26387
2004-06-17 Rodrigo Moya <rodrigo@novell.com>
Fixes#60309
* gui/meeting-page.c (sensitize_widgets): moved up in the file, to
be declared before any use.
svn path=/trunk/; revision=26385
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
** Moved all of the mail specific filtering stuff from filter/* to
here. Renamed appropriately into em* space, etc.
* em-filter-folder-element.c (emff_copy_value): implement for folders.
* em-vfolder-rule.c (get_widget): read the vfolder glade from
mail-config.glade.
* mail-config.glade: moved the vfolder source selector here.
* em-search-context.c: new mail search specific rule context.
* mail-component.c (setup_search_context): use the new
em_search_context.
* vfolder-rule.c (validate): change error to mail context.
* filter-folder.c (validate): change error to mail context.
* Makefile.am (em-filter-i18n.h): added rule for i18n of mail
filter type stuff.
(libevolution_mail_la_SOURCES): added in the filter and vfolder
rule stuff specific to mail.
** See #59885.
* em-format-html-quote.[ch]: remove and remove from build, not
used.
* Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and
evolutionsmime.
* mail-component-factory.c (factory): there is no mail_config
anymore.
svn path=/trunk/; revision=26380
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
** Moved all of the mailer specific filter stuff into mail/*.
* filter-element.c (copy_value): implement for base types.
* filter-element.c (filter_element_copy_value): do this as a
virtual method.
* filter.glade: moved the vfolder stuff to mail/
* libfilter-i18n.h: removed, moved to mailer.
* filter-errors.xml: moved the vfolder/filtering errors to the
mail error file.
* Makefile.am (EXTRA_DIST): moved *types.xml to mail.
(INCLUDES): removed a bunch of mail dependencies.
* filter-*.[ch], vfolder-*.[ch]: Moved all mail related filter and
vfolder stuff to mail directory.
* score-*.[ch]: Removed all of it.
* vfolder-context.c (vfolder_new_element): and for vfolders.
* filter-context.c (filter_new_element): implement for filter
element types.
* rule-context.c (rc_new_element): replacement for old
filter_element_new_type_name. only has the basics.
* filter-part.c (filter_part_xml_create): take a rule context
as an argument & and look up the element name off the context.
* rule-context.c (rule_context_new_element): new virtual method to
get an element for a given name.
* filter-element.c (filter_element_new_type_name): removed.
svn path=/trunk/; revision=26379
2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-view.etspec : update
the model column numbers as new fields like E_CONTACT_EMAIL_4
are added to EContact
Fixes#59621
svn path=/trunk/; revision=26375
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
* em-format-html-quote.[ch]: remove and remove from build, not
used.
* Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and
evolution-smime.
* mail-component-factory.c (factory): there is no mail_config
anymore.
2004-06-16 Not Zed <NotZed@Ximian.com>
* em-utils.c (em_utils_selection_get_urilist): handle comments in
the urilist. Can't remember the rfc for it.
svn path=/trunk/; revision=26374
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
* lib/e-cert-db.c (e_cert_db_import_pkcs12_file): move the #if
notyet stuff inside the function so the symbol is defined, since
we call it eslewhere. i dunno if it actually works yet.
svn path=/trunk/; revision=26373
2004-06-16 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap4/camel-imap4-folder.c (imap4_refresh_info): Only
force a re-update of all FLAGS if this folder wasn't in the
SELECTED state. Otherwise, simply send a NOOP.
svn path=/trunk/; revision=26372
2004-06-16 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap4/camel-imap4-summary.c: Added a 'first' member to
the imap_fetch_all_t struct so we can use that as a base offset in
our GPtrArray, allowing us to limit resource consumption which
could otherwise get quite large. Also added a ChangeInfo member
that was needed for changes to untagged_fetch_all().
(imap4_fetch_all_add): Use fetch->first as a base offset and
change int i to guint32 i. Also updated to sue the fetch->changes.
(imap4_fetch_all_update): Same.
(untagged_fetch_all): Same - this is where it is really valuable,
since we can avoid adding elements to the GPtrArray that we won't
even use. Also needed to change code a big in case index <
fetch->first (which could happen if a server notified us of a
FLAGS change for a message we didn't request info about).
(imap4_fetch_all_free): Free the ChangeInfo.
(imap4_summary_fetch_all): Init fetch->changes and fetch->first.
(imap4_summary_fetch_flags): Same.
(camel_imap4_summary_flush_updates): Only request envelope info if
first <= summary->exists. Avoids needless queries.
(info_uid_sort): #if 0'd
(camel_imap4_summary_flush_updates): No need to sort the summary -
this should never have been needed. I can't remember why I did
this...
svn path=/trunk/; revision=26371
2004-06-16 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap4/camel-imap4-summary.c: Added a 'first' member to
the imap_fetch_all_t struct so we can use that as a base offset in
our GPtrArray, allowing us to limit resource consumption which
could otherwise get quite large. Also added a ChangeInfo member
that was needed for changes to untagged_fetch_all().
(imap4_fetch_all_add): Use fetch->first as a base offset and change
int i to guint32 i. Also updated to sue the fetch->changes.
(imap4_fetch_all_update): Same.
(untagged_fetch_all): Same - this is where it is really valuable,
since we can avoid adding elements to the GPtrArray that we won't
even use. Also needed to change code a big in case index <
fetch->first (which could happen if a server notified us of a
FLAGS change for a message we didn't request info about).
(imap4_fetch_all_free): Free the ChangeInfo.
(imap4_summary_fetch_all): Init fetch->changes and fetch->first.
(imap4_summary_fetch_flags): Same.
svn path=/trunk/; revision=26370
2004-06-16 Rodney Dawes <dobey@novell.com>
* em-folder-properties.c: Include gtk[hv]box.h so we can use them
(emfp_dialog_got_folder): Fix the border widths and spacings for
the internal widgets and the dialog's vbox and action area to be
compliant with the HIG
Fix the general layout of the dialog to be HIG-compliant as well
Use ngettext for the row labels for number of messages
Add a cancel button, since we are not instant-apply
Align the message counts to the right
Part of this patch is from Christian Neumair <chris@gnome-de.org>
* mail-component.c (view_changed_cb): Fix a typo for the sent folder
send is not a pluralization of sent
svn path=/trunk/; revision=26369
2004-06-16 Rodrigo Moya <rodrigo@novell.com>
* gui/e-itip-control.c: use e-util's HTML conversion function,
instead of camel's.
(write_html): use e_text_to_html_full().
svn path=/trunk/; revision=26368
2004-06-16 Not Zed <NotZed@Ximian.com>
** See #56479.
* em-utils.c (em_utils_in_addressbook): use the main thread to
setup the addressbook list.
(em_utils_in_addressbook): only check against the "completion"
sources, not all of them.
2004-06-15 Not Zed <NotZed@Ximian.com>
* em-folder-browser.c (emfb_mail_stop): call mail_cancel_all to
implement the stop button.
* em-utils.c (emu_addr_sources_refresh): don't unref the group
list, otherwise the sources become broken now (?).
(em_utils_in_addressbook): add some locking. add cancellation.
this is almost certainly going to cause issues.
* mail-mt.c (mail_cancel_hook_add, mail_cancel_hook_remove)
(mail_cancel_all): new functions to implement a global mailer stop
button.
svn path=/trunk/; revision=26363
2004-06-16 Not Zed <NotZed@Ximian.com>
* gui/component/autocompletion-config.c
(autocompletion_config_control_new): set the source selector to be
able to toggle the current selection. Fix for #55614.
svn path=/trunk/; revision=26362
2004-06-16 Not Zed <NotZed@Ximian.com>
* e-source-selector.c (cell_toggled_callback): fix a path leak and
maek the code more structured.
(e_source_selector_set_toggle_selection): set the mode on whether
you can toggle the currnet selection or not.
(cell_toggled_callback): implement set_toggle_selection behaviour.
svn path=/trunk/; revision=26361
2004-06-16 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (full_name_clicked) :
compare old and new full names and if it is different set the new
the name using gtk_entry_set_text instead of set_entry_text
as this function blocks siganls hence preventing ok button being
enabled
svn path=/trunk/; revision=26359
2004-06-15 Jeffrey Stedfast <fejj@novell.com>
* em-folder-tree.c (emft_popup_copy_folder_selected): frombase is
simply the select_path, since selected_path is now just the
full_name rather than the path. Fixes bug #60075.
svn path=/trunk/; revision=26357
2004-06-15 Jeffrey Stedfast <fejj@novell.com>
* em-composer-utils.c (attribution_format): New function to format
an attribution string (won't crash if translators were sloppy with
their strftime/printf-style formatters). Also nice/extendable for
future feature enhancements such as user-customisable attribution
strings.
(composer_set_body): Use above function rather than using
e_strftime/etc ourselves.
svn path=/trunk/; revision=26356
2004-06-15 JP Rosevear <jpr@novell.com>
Fixes#59401
* gui/e-week-view.c (e_week_view_on_text_item_event): if we are
editing the event, don't ignore the right click, stop editing the
event and continue on
svn path=/trunk/; revision=26353
2004-06-15 JP Rosevear <jpr@novell.com>
Fixes#57393
* gui/e-week-view.c (e_week_view_set_compress_weekend): redraw the
titles as well since the spacing is different
svn path=/trunk/; revision=26351
2004-06-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): Use
camel_multipart_signed_get_content_stream() rather than getting
the first part and canonicalising it ourselves. Fixes bug #60159.
svn path=/trunk/; revision=26350
2004-06-15 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-view.c (emfv_init): Changed the second
gtk_selection_add_target() to use GDK_SELECTION_CLIPBOARD rather
than GDK_SELECTION_PRIMARY again. This should fix bug #60022.
svn path=/trunk/; revision=26349