2002-07-15 Not Zed <NotZed@Ximian.com>
* filter-score.[ch]: cvs remove.
* filter-element.c: Remove reference to filter-score.h
* vfoldertypes.xml: Fix label vfolder rule as below, also add
score and size rules from filtertypes.xml.
* filtertypes.xml (score): Use (cast-int (user-tag "score")) to
get the value directly, rather than (get-score).
(label): Use (user-tag "label") to get the value directly, rather
than (get-label). The label is now a string too.
* filter-label.c (filter_label_get_type): Make filter-label
inherit from filter-option. Which makes more sense doesn't it
... surely.
(validate): Removed, optionlists are self-validating.
(xml_create): Initialise the list of options from our
configuration database. If it isn't working, ignore it and set it
up anyway.
(filter_label_init): Override the xml type.
(filter_label_count):
(filter_label_label):
(filter_label_index): Some helper functions for external
interfaces. All of the mail config/etc should use this.
* filter-option.c (free_option):
(xml_create):
(clone): Made the "value" type in glib memory rather than xml
memory space.
(filter_option_add): Utility function to add a new option to the
list.
(clone): Use above function to simplify code.
(xml_create): Same here.
(xml_encode): Allow subclasses to override the type.
svn path=/trunk/; revision=17472
2002-07-15 Not Zed <NotZed@Ximian.com>
* camel-filter-search.c (get_label): Removed.
(get_score): Removed. Labels & scores are stored in tags, we
already have a function to get tags.
(user_tag): Fail if we dont get valid arguments, it must be a
string type.
(system_flag): Same here.
svn path=/trunk/; revision=17471
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_msgid_generate): Try to get the FQDN
from the results of gethostname(). If that fails, then fall back
to the results gotten from gethostname() or if that fails just use
"localhost.localdomain". Addresses bug #17416.
(header_decode_param): Protect against a NULL value.
svn path=/trunk/; revision=17470
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_send_cb): Pass 'info' into
mail_append_mail(), seems I created the info but forgot to pass it
in.
(composer_send_queued_cb): If the message is successfully queued,
we destroy the composer, otherwise we unref it. Don't ever destroy
and then unref it.
svn path=/trunk/; revision=17468
2002-07-15 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (build_message): added save_html_object_data
parameter, use gtkhtml command to save object data when wanted
svn path=/trunk/; revision=17466
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of
the constant 'required' variable, just use the value when calling
set_best_encoding.
svn path=/trunk/; revision=17465
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-local-provider.c: Changed the mbox and
spool provider descriptions to try and be more clear. I'm not sure
I like the mention of Evolution in the mbox provider description,
but there was no other way to make it clear that it MOVED mail out
of the mbox folder into a folder managed by Evolution without
mentioning Evolution. *sigh* Anyways, to me "retrieve" means move,
but apparently this isn't clear to the weak minded.
svn path=/trunk/; revision=17464
2002-07-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes#8001
* importers/icalendar-importer.c (connect_to_shell): new function for
connecting the importers (both iCal and vCal) to the shell, needed for
some information retrieval about the folders we're importing to.
(ical_importer_new, vcal_importer_new): call connect_to_shell.
(importer_destroy_cb): unref the shell client object.
(get_uri_from_folder_path): retrieve the uri from the storage
registry.
(check_folder_type): removed.
* importers/Makefile.am: included libeshell to LIBS.
svn path=/trunk/; revision=17463
* evolution-signature-editor.xml: Add a Control-Return accel for
"FileSaveClose".
* evolution-contact-list-editor.xml: Add a Control-Return accel for
"ContactListEditorSaveClose".
* evolution-contact-editor.xml: Add a Control-Return accel for
"ContactEditorSaveClose".
svn path=/trunk/; revision=17462
2002-07-14 Rodrigo Moya <rodrigo@ximian.com>
* evolution-storage.c (impl_Storage_getFolderAtPath): no need to
convert the value returned by e_folder_tree_get_folder to a
GNOME_Evolution_Folder, since it already is, and duplicate it before
returning.
svn path=/trunk/; revision=17461
2002-07-15 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-folder.c (imap_rescan): >= is not appropriate
here because the sequences are 1-based; so seq = summary_len is valid.
Hopefully addresses 15646, because this caused the last message in a folder
to be reloaded, replacing its CamelMessageInfo, and the tree view was using
the old CamelMessageInfo.
svn path=/trunk/; revision=17460
2002-07-15 Peter Williams <peterw@ximian.com>
* mail-offline-handler.c (service_is_relevant): Account for the case
that when a disco store is "online" but actually offline and we're
going online, we should actually connect it.
* component-factory.c (mail_load_storages): Always set auto_connect
to FALSE, same reason as below.
* mail-session.c (mail_session_init): Initialize our session to not be online,
since the shell will tell us to go online if we need to.
svn path=/trunk/; revision=17459
2002-07-10 Peter Williams <peterw@ximian.com>
* configure.in (privlibdir): Define a versioned library directory that we can
use for things that are ABI-sensitive: camel providers, importers... Define
camel_providerder in terms of this, resulting in a new location for the
providers. Camel will have to be rebuilt for it to get the new
-D flag.
mail:
2002-07-10 Peter Williams <peterw@ximian.com>
* Makefile.am (importerdir): Define this in terms of the new
privlibdir, again resulting in a new directory name.
* importers/Makefile.am (importersdir): Here too.
svn path=/trunk/; revision=17457
2002-07-15 Not Zed <NotZed@Ximian.com>
* mail-vfolder.c (vfolder_editor_clicked): Set the vfolder_editor
variable to null before we close the dialogue, otherwise the close
destroys it and reverts the file.
svn path=/trunk/; revision=17453
2002-07-14 Chris Toshok <toshok@ximian.com>
* e-shell.c (folder_selection_dialog_folder_selected_cb): set
corba_folder.customIconName so we don't crash.
(impl_Shell_selectUserFolder): remove the default_type parameter
to fix a compiler warning.
svn path=/trunk/; revision=17451
2002-07-13 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c
(camel_folder_summary_info_new_from_message): Only assign a uid if
indexing is enabled. This stops us always assigning a uid in the
imap folder and disco folder?
* providers/imap/camel-imap-folder.c (imap_update_summary): Also
check the uid is set at all, another bit of a fix for #15667.
2002-07-09 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-folder.c (imap_update_summary): Check
for existing messages of the same uid before doing anything. If
it exists, do nothing (perhaps it should merge?). A dirty hack for
#15667.
svn path=/trunk/; revision=17450
2002-07-10 Not Zed <NotZed@Ximian.com>
** fixes for #10781
* mail-callbacks.c (filter_edit): Add back a cancel button. We
dont need to do anything special to 'undo' here, as the rules are
loaded every time they're used.
* mail-vfolder.c (vfolder_editor_clicked): If ok wans't clicked,
revert the ruleset.
(vfolder_editor_destroy): Fake a button of -1 if we get destroyed
with no click.
(context_rule_removed): Unref the folder after we delete it. If
we're the last ref to the folder, unrefing it means it no longer
exist,s which means no delte processing occurs ...
svn path=/trunk/; revision=17449
2002-07-10 Not Zed <NotZed@Ximian.com>
** fixes for #10781
* filter-int.c (xml_encode):
(xml_decode): Handle encoding/decoding with a type name, in a
manner compatible with the score/label elemtns.
(filter_int_new_type): New constructor to create a generic 'int'
type.
* filter-score.c: Removed. Now relies on using a filter-int with
appropriate settings.
* filter-label.[ch]: Now inherits from filter-int.
* rule-context.c (rule_context_revert): New method to revert a
filter context back to a user-file's definition.
(revert): implementation.
* filter-rule.h: Added new virtual method _eq and wrapper, and
fixed all subclasses to implement it.
* filter-element.h: Added new virtual method _eq and wrapper.
Fixed all subclasses to implement it.
svn path=/trunk/; revision=17448
2002-07-12 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-summary.c (free_summary_item): free the
full_name (as well as given_name. oops.)
(pas_backend_summary_new): new summaries are version 3.0 now.
(pas_backend_summary_load_item): all loaded summaries should be
3.0+, as we fail to load versions lower than that.
(pas_backend_summary_load_header): if the summary isn't version
3.0 fail out, as we need to rebuild the entire file to cache the
full_name fields.
(pas_backend_summary_save_item): save out the full_name.
(pas_backend_summary_add_card): put the item's full_name in the
card.
svn path=/trunk/; revision=17447
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Make the
ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although
there's still something wrong.
svn path=/trunk/; revision=17446
2002-07-12 Jeffrey Stedfast <fejj@ximian.com>
* camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
On error, do not unref the parts gotten using
camel_multipart_get_part() since that function does not ref the
parts. Also don't forget to reset the decrypted stream before
trying to parse it ;-)
svn path=/trunk/; revision=17445
* evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder):
dup the listener, for consistency with the other signals
svn path=/trunk/; revision=17444
2002-07-12 Peter Williams <peterw@ximian.com>
* pcs/cal.c: Sigh, fix for the wombat.idl -> Evolution-Wombat.idl
rename here too. At least grep indicates that's all that needs to
be fixed.
svn path=/trunk/; revision=17443
2002-07-12 Peter Williams <peterw@ximian.com>
* configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf
in e-passwords.c and e-categories-master-list-wombat.c, so
reflect that here. ** And the e-port code needs THREADS_LIBS. **
svn path=/trunk/; revision=17442
2002-07-12 Peter Williams <peterw@ximian.com>
* configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf
in e-passwords.c and e-categories-master-list-wombat.c, so
reflect that here.
svn path=/trunk/; revision=17440
2002-07-12 Peter Williams <peterw@ximian.com>
* Makefile.am (eshellinclude_HEADERS): Install some headers
that weren't getting installed.
svn path=/trunk/; revision=17439
2002-07-09 Peter Williams <peterw@ximian.com>
* Makefile.am: Reference the renamed Evolution-Wombat.idl
instead of wombat.idl.
wombat:
2002-07-08 Peter Williams <peterw@ximian.com>
* wombat.idl: Renamed to Evolution-Wombat.idl, since
we're installing it now and should play nice namespacily.
* Makefile.am: Rename wombat.idl and install it.
svn path=/trunk/; revision=17437
2002-07-12 Jeffrey Stedfast <fejj@ximian.com>
* camel-multipart.c (camel_multipart_class_init): Updated to not
use camel_type_get_global_classfuncs() since this is just a cast
macro now.
svn path=/trunk/; revision=17436
2002-07-11 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_data): Don't let any
parts have a binary encoding.
svn path=/trunk/; revision=17433
2002-07-11 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #27672
* camel-mime-filter-bestenc.c: Conditionally #include <config.h>
* camel-mime-filter-linewrap.c: Same here... although we could
probably just get rid of this filter? We don't seem to use it
anywhere since we try to QP/Base64 encode any text parts with long
lines. Besides, we couldn't use this filter for SMTP anyway since
we can't risk possibly linewrapping a binary mime part. I dunno,
maybe this could be useful in the composer though? *shrug*
* providers/smtp/camel-smtp-transport.c (smtp_data): Always call
camel_mime_message_set_best_encoding() even if the server allows
8BITMIME and even if we don't have any 8bit parts because we may
have parts with long lines (>998 octets) which also need to be
encoded.
* camel-mime-message.c (check_8bit): Don't forget to check for the
binary encoding here as well.
svn path=/trunk/; revision=17428
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon):
Allow a NULL icon [remove the precondition].
* e-shell-view.c (update_folder_title_bar): Only unref the
folder_icon if not NULL.
svn path=/trunk/; revision=17426
* e-summary-preferences.c (set_selected_folders): Actually pass
the evolution URI, not the path, in Folder.evolutionUri (since now
the shell StorageSetView implementation has been fixed to handle
this field properly).
* evolution-storage-set-view.c
(impl_StorageSetView__set_checkedFolders): Handle
Folder.evolutionUri as a URI, not as a path. Also use
e_free_string_list().
svn path=/trunk/; revision=17425
2002-07-11 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (parse_fetch_response): If we
are fetching HEADERs, don't cache the stream - instead just create
a mem-stream and return that. This reduces a significant amount of
overhead due to disk i/o.
svn path=/trunk/; revision=17424