aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* Instead of calling message_list_select_uid() here, instead connect to theJeffrey Stedfast2001-05-234-9/+47
| | | | | | | | | | | | | | | | | | | | 2001-05-22 Jeffrey Stedfast <fejj@ximian.com> * message-browser.c (message_browser_folder_loaded): Instead of calling message_list_select_uid() here, instead connect to the "message_list_loaded" signal since the message-list is not built yet at this point. (message_browser_message_list_built): Call message_list_select_uid() here instead. * message-list.c: Lets have a new signal, MESSAGE_LIST_BUILT, that gets emitted when the message-list has finished being built by one of the built_*() functions. (message_list_class_init): Setup the signal stuff. (regen_list_regened): Emit the signal here (should this perhaps be moved into each of the build_*() functions instead?). svn path=/trunk/; revision=9925
* Mark a string for translation.Kjartan Maraas2001-05-222-2/+6
| | | | | | | | 2001-05-21 Kjartan Maraas <kmaraas@gnome.org> * mail-local.c: Mark a string for translation. svn path=/trunk/; revision=9908
* Return the serialized EDestinations (rather than just a string w/ e-mailJon Trowbridge2001-05-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-18 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Return the serialized EDestinations (rather than just a string w/ e-mail addresses) through the bonobo component's property bag. * gui/component/select-names/e-select-names-model.c (e_select_names_model_export_destinationv): Added. A convenience routine for serializing the model's EDestinations into a string. * gui/component/select-names/e-select-names-popup.c (add_html_mail): Added. Puts in a check menu item for whether or not the recipient wants HTML mail. (popup_menu_card): Add menu item for HTML mail. Enable edit contact info item. (popup_menu_nocard): Add menu item for HTML mail. Enable edit contact info item. * backend/ebook/e-book-util.c (e_book_use_local_address_book): Added. Fetches the local addressbook and caches it on the first call. This is meant to be an easy and efficient way to get at the local addressbook with the minimum of code. (e_book_query_address_locally): Added. Convenience code that does an e-mail only e_book_name_and_email_query against the local address book. * backend/ebook/e-destination.c (e_destination_set_html_mail_pref): Added. Allows the intended recipient's HTML mail preference to be manipulated. (e_destination_get_email_verbose): Added. Cleaned up to use e_destination_get_name. (e_destination_get_html_mail_pref): Added. Read the recipient's HTML mail preference. If the destination is linked to a card, the preference is taken from the card (unless it has been explicitly overridden by a called to e_destination_set_html_mail_pref). (e_destination_get_address_textv): Added. Form a unified address string from a NULL-terminated vector of EDestinations. (e_destination_export): Added. Serialize an EDestination to a string. (e_destination_import): Added. Unserialize a string to build an EDestination. (e_destination_exportv): Added. Serialize a NULL-terminated vector of EDestinations to a string. (e_destination_importv): Added. Unserialize a string to build a NULL-terminated vector of EDestinations. * gui/component/select-names/e-select-names-completion.c: Implemented local versions of g_strcasecmp and g_strncasecmp (which should really be in glib, I think...) for utf8, and used them to make this code utf8-safe. 2001-05-18 Jon Trowbridge <trow@ximian.com> * Makefile.am (evolution_mail_LDADD): Added libebook.la (which is now required by the composer.) 2001-05-18 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Properly unserialize the string returned by the "text" property of the bonobo control, convert it into EDestinations, and use them to get the e-mail addresses of our recipients. 22001-05-18 Jon Trowbridge <trow@ximian.com> * Makefile.am (SUBDIRS): Changed build order. Now addressbook gets built before mail. svn path=/trunk/; revision=9878
* mark Outbox messages as read.Dan Winship2001-05-182-1/+10
| | | | | | | * mail-callbacks.c (composer_postpone_cb): mark Outbox messages as read. svn path=/trunk/; revision=9873
* New convenience function for all signature verification functions to useJeffrey Stedfast2001-05-182-63/+63
| | | | | | | | | | | | | 2001-05-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_write_authenticity): New convenience function for all signature verification functions to use to display whether or not the signed part was authentic. (try_inline_pgp_sig): Use mail_write_authentic(). (handle_multipart_signed): Add code to handle S/MIME multipart/signed parts and also use mail_write_authenticity(). svn path=/trunk/; revision=9872
* add new icons from jimmacDan Winship2001-05-182-0/+11
| | | | | | * mail-config.glade: add new icons from jimmac svn path=/trunk/; revision=9870
* add E_TEXT_TO_HTML_ESCAPE_8BIT to the flagsDan Winship2001-05-172-1/+6
| | | | | | | * mail-format.c (mail_format_raw_message): add E_TEXT_TO_HTML_ESCAPE_8BIT to the flags svn path=/trunk/; revision=9860
* Functions to determine if a folderbrowser is one of the drafts, sent, orDan Winship2001-05-178-150/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * folder-browser.c (folder_browser_is_drafts, folder_browser_is_sent, folder_browser_is_outbox): Functions to determine if a folderbrowser is one of the drafts, sent, or outbox folders. (got_folder): Pass TRUE for the "outgoing" flag to message_list_set_folder if this is a Sent, Drafts, or Outbox folder. * message-list.c (message_list_set_folder): Take a flag saying whether or not the folder is an "outgoing" folder. (message_list_setup_etree): Ditto. Use that rather than a hardcoded list of foldernames for deciding whether to swap From and To in the default layout. * mail-config.c (mail_config_folder_to_cachename): Make IMAP folders have unique cachenames rather than only one per store, so that IMAP Sent and Drafts folders don't get forced into having the same layout as the INBOX. * mail-callbacks.c: (is_sent_folder, is_drafts_folder): Gone. Replaced with simpler folder_browser_is_* routines. (edit_msg, resend_msg, open_msg): Use folder_browser_is_* routines. * mail-local.c (reconfigure_clicked): Update call to message_list_set_folder. svn path=/trunk/; revision=9857
* Removed (this now exists in camel/camel-smime.c).Jeffrey Stedfast2001-05-173-100/+162
| | | | | | | | | | | | | | | | | | | 2001-05-16 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_is_smime_v3_signed): Removed (this now exists in camel/camel-smime.c). (mail_crypto_is_pkcs7_mime): Same. (mail_crypto_smime_part_sign): new (mail_crypto_smime_part_verify): new (mail_crypto_smime_part_encrypt): new (mail_crypto_smime_part_decrypt): new (mail_crypto_pgp_mime_part_sign): Added code to set an exception if the context fails to be created. (mail_crypto_pgp_mime_part_verify): And here... (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): And here too. svn path=/trunk/; revision=9856
* Deal with full-header mode in addition to source modeDan Winship2001-05-173-36/+100
| | | | | | | | | | | | | | | | * mail-display.c (mail_display_redisplay): Deal with full-header mode in addition to source mode * mail-format.c (write_field_row_begin): Add WRITE_NOCOLUMNS flag to write the header in a single table cell rather than two. Output the second columns's "<td>" when not in NOCOLUMNS mode. Don't include the ":" in the passed-in header name. (write_date, write_address): Update for write_field_row_begin changes. (write_text_field): Genericified and updated from write_subject. (write_headers): Deal with both normal and full-header mode. svn path=/trunk/; revision=9850
* Load http images if the user has force-loaded images too.Dan Winship2001-05-1610-46/+113
| | | | | | | | | | | | | | | | | | | | | | | * mail-display.c (on_url_requested): Load http images if the user has force-loaded images too. (mail_display_redisplay): Update for normal/headers/source changes. (mail_display_load_images): New. Force HTTP image loading for the current message. * mail-config.c (mail_config_get_message_display_style, mail_config_set_message_display_style): Updated and renamed from mail_config_{get,set}_view_source * mail-callbacks.c (load_images): New. * folder-browser.c (folder_browser_set_message_display_style): Renamed and updated from folder_browser_toggle_view_source. * folder-browser-factory.c (verbs): Add ViewLoadImages. (control_activate): Update for normal/headers/source change to radio group. svn path=/trunk/; revision=9820
* Update for changes in evolution-mail.xml (many commands were renamed toDan Winship2001-05-162-85/+73
| | | | | | | | | | * folder-browser-factory.c (verbs): Update for changes in evolution-mail.xml (many commands were renamed to better match the current menu layout). (pixcache): Refer to commands via their paths in /commands/ rather than hardcoding their menu paths. svn path=/trunk/; revision=9816
* Put frame around dialog vbox, put mail subject in that frame's label.Jon Trowbridge2001-05-153-52/+74
| | | | | | | | | | | 2001-05-14 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Put frame around dialog vbox, put mail subject in that frame's label. (Patch by Duncan.) (mail_search_set_subject): Break out subject-setting code. Truncate long subjects with ellipses. svn path=/trunk/; revision=9813
* set the dialog's window_icon to jimmac's new find_message.xpm.Duncan Mak2001-05-152-1/+9
| | | | | | | | | 2001-05-14 Duncan Mak <duncan@ximian.com> * mail-search.c (mail_search_construct): set the dialog's window_icon to jimmac's new find_message.xpm. svn path=/trunk/; revision=9808
* Fix the importer linklineIain Holmes2001-05-152-0/+6
| | | | svn path=/trunk/; revision=9801
* Remove this... it's not used any more.Dan Winship2001-05-156-308/+5
| | | | | | | | | * mail-mlist-magic.c: Remove this... it's not used any more. * folder-browser.c: * message-browser.c: Remove references to mail-mlist-magic.h svn path=/trunk/; revision=9800
* Split "Other" page into three pages, Display, Composer, and PGP. Add HTMLDan Winship2001-05-1514-138/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-config.glade: Split "Other" page into three pages, Display, Composer, and PGP. Add HTML image stuff on the Display page and default forward style on the Composer page. * mail-config.c (mail_config_get_default_forward_style, mail_config_set_default_forward_style): User-specified default style for forwarding messages. (config_read, mail_config_write_on_exit): Deal with forward style. * mail-accounts.c: Handle HTML image display options and default forward style. * mail-callbacks.c (forward): New. Forward in the user-selected default style. (forward_inline, forward_quoted): Simplify these some. Remove the fallback to forward attached when forwarding multiple messages: it should just forward the multiple messages inline or quoted in those cases. (Which it doesn't yet, but that's a bug.) * folder-browser.c (context_menu): Remove "Forward inline" and make "Forward" call forward() rather than forward_attached(). * folder-browser-factory.c: Update command/menu/toolbar/pixmap gunk for the "MessageForwardAttached" vs "MessageForward" split. * mail-session.c (mail_session_get_type): * mail-format.c (format_mime_part): * mail-account-gui.c (setup_service): Fix warnings. svn path=/trunk/; revision=9792
* Use secondary searches here, so that we control the interference betweenJon Trowbridge2001-05-145-73/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-14 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use secondary searches here, so that we control the interference between the two bits of searching UI. 2001-05-13 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Destroy the MailSearch dialog if the underlying MailDisplay is destroyed. I don't like the way that label in the dialog with the message subject in it looks, so I've #ifdef-ed it out for now. Center the Matches label --- it makes the dialog look more balanced, I think. (dialog_clicked_cb): Changed to reflect adjusted ESearchingTokenizer API, using primary searches. (toggled_case_cb): Use the primary search API. * e-searching-tokenizer.c: Make searching routines utf8-friendly. Rationalize how the match begin/end markup is handled; allow for begin/end markup that varies by search. Add concept of primary and secondary matching, to disentangle possible interactions between search-bar searches and search-dialog searches. svn path=/trunk/; revision=9789
* Get rid of this - we don't need it.Jeffrey Stedfast2001-05-144-7/+8
| | | | | | | | | | | | 2001-05-13 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_storage_shutdown): Get rid of this - we don't need it. * component-factory.c (owner_unset_cb): Don't unref the LocalStore - we don't own a ref on it!! svn path=/trunk/; revision=9787
* Updates the subject on refresh and sets subject to "Untitled Message" ifDuncan Mak2001-05-143-26/+63
| | | | | | | | | | | | | 2001-05-13 Duncan Mak <duncan@ximian.com> * mail-search.c (begin_cb): Updates the subject on refresh and sets subject to "Untitled Message" if subject is NULL. (mail_search_construct): Moved msg_subject to its own GtkLabel, sets subject to "Untitled Message" if subject is NULL. Give focus to entry by default. Made <enter> in entry run dialog_clicked_cb by setting gnome_dialog_editable_enters. svn path=/trunk/; revision=9786
* my computer crashed while commiting this first time.Gediminas Paulauskas2001-05-123-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2001-05-12 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser-factory.c: load pixmaps for MessageCopy and MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu> for a patch. 2001-05-12 Gediminas Paulauskas <menesis@delfi.lt> * evolution-mail.xml: add pixmaps for MessageCopy and MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu> for a patch. 2001-05-12 Gediminas Paulauskas <menesis@delfi.lt> * po/POTFILES.in: update with new/moved files. also: Removed duplicated DATADIR in mail/Makefile.am fixed warning in e-search-bar.c in my recent code there svn path=/trunk/; revision=9783
* callback to use GNOME-VFS to load http data. (on_url_requested): HandleDan Winship2001-05-126-157/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-display.c (load_http): callback to use GNOME-VFS to load http data. (on_url_requested): Handle http: URLs that refer to either MIME parts or web data. (mail_display_redisplay_when_loaded): Moved out of mail_content_loaded and made more generic. * mail-format.c (add_url): Handle two different kinds of URLs (URLs that point to CamelMimeParts and URLs that point to GByteArrays). (mail_content_loaded): Use mail_display_redisplay_when_loaded. (format_mime_part): Renamed from "call_handler_function". Also, record Content-Location if the part has one. (This is not yet 100% correct: it doesn't deal with relative URLs correctly.) (handle_text_html): Use Content-Location URL rather than Content-ID, when available (will help deal with relative URLs once GtkHTML supports that better). (etc): Update for changes. * mail-config.c (mail_config_get_http_mode, mail_config_set_http_mode): get/set HTTP image downloading mode. (config_read, mail_config_write_on_exit): save/load that data. svn path=/trunk/; revision=9773
* add protoJP Rosevear2001-05-126-4/+39
| | | | | | | | | | | | | | | | | | | | | | | 2001-05-11 JP Rosevear <jpr@ximian.com> * mail-importer.h: add proto * mail-importer.c (mail_importer_uninit): release and unref the local storage * mail-local.c (mail_local_store_finalize): use bonobo_object_release_unref rather than doing Bonobo_Unknow_unref and a corba release (register_folder_registered): "sink" the local_store ref to prevent circular ref (mail_local_storage_shutdown): unref the local store * mail-local.h: new proto * component-factory.c (owner_unset_cb): uninit the importer and shutdown the local storage svn path=/trunk/; revision=9768
* Set a title on the window "Reconfigure %s" where %s is the folder name.Jeffrey Stedfast2001-05-124-46/+88
| | | | | | | | | | | | | 2001-05-11 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_reconfigure_folder): Set a title on the window "Reconfigure %s" where %s is the folder name. Also, don't allow more than one of these type windows to be opened per folder. * mail-tools.c (mail_tool_get_folder_name): Fix Danw's kludge to actually work :-) svn path=/trunk/; revision=9767
* sanitize LD_ADDS and CFLAGS so the libtool lines are shorter (fixesMartha Burke2001-05-122-3/+6
| | | | | | | | | 2001-05-11 Martha Burke <martha@ximian.com> * gui/Makefile.am: sanitize LD_ADDS and CFLAGS so the libtool lines are shorter (fixes problem on solaries due to sed) svn path=/trunk/; revision=9765
* Don't allow multiple copies of this to be run at a time.Jeffrey Stedfast2001-05-123-23/+87
| | | | | | | | | | | | | | | | 2001-05-11 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_edit): Don't allow multiple copies of this to be run at a time. * mail-callbacks.c (providers_config): Don't allow multiple copies of this to be run at a time. (manage_subscriptions): Same, but this was a tad more kludgy since we don't gnome_dialog_run_and_close() this one. I had to make the widget a semi-global variable. yuck :\ (filter_edit): Same. svn path=/trunk/; revision=9762
* Remove a snippet of debugging code I left in by mistake.Jon Trowbridge2001-05-122-8/+5
| | | | | | | | | 2001-05-11 Jon Trowbridge <trow@ximian.com> * e-searching-tokenizer.c (e_searching_tokenizer_new): Remove a snippet of debugging code I left in by mistake. svn path=/trunk/; revision=9761
* If the cursor_uid is NULL, then we can't forward anything so just return.Jeffrey Stedfast2001-05-122-0/+12
| | | | | | | | | | 2001-05-11 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_inlined): If the cursor_uid is NULL, then we can't forward anything so just return. (forward_quoted): Same. svn path=/trunk/; revision=9759
* I'm an idiot.Jon Trowbridge2001-05-111-1/+0
| | | | svn path=/trunk/; revision=9755
* Use the ESearchingTokenizer to highlight search matches for folder-levelJon Trowbridge2001-05-119-9/+1082
| | | | | | | | | | | | | | | | | | | | | 2001-05-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use the ESearchingTokenizer to highlight search matches for folder-level searches. Still mildly broken, but it works for the simple cases. * mail-display.c (mail_display_new): Use our ESearchingTokenizer for the mail display GtkHTML widget. * mail-search.c (dialog_clicked_cb): Use the ESearchingTokenizer to highlight search matches. (mail_search_construct): Add a match count to the search dialog. * e-searching-tokenizer.c (e_searching_tokenizer_set_search_string): Added. A custom HTML tokenizer that does highlighting of search strings. svn path=/trunk/; revision=9754
* No, we don't want to include bonobo-running-context.h... justJon Trowbridge2001-05-112-1/+6
| | | | | | | | | 2001-05-10 Jon Trowbridge <trow@ximian.com> * mail-config.c: No, we don't want to include bonobo-running-context.h... just bonobo-context.h. svn path=/trunk/; revision=9753
* Fix some compiler warnings by including the correct bonobo headers and byJeffrey Stedfast2001-05-113-23/+51
| | | | | | | | | | | 2001-05-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c: Fix some compiler warnings by including the correct bonobo headers and by using the correct bonobo types. (config_read): Some fixes so that we can never have an empty string as a URL. svn path=/trunk/; revision=9750
* Don't advance to the next undeleted message after "Delete"...Dan Winship2001-05-114-14/+37
| | | | | | | | | | | | | | | | | | | * folder-browser.c (on_key_press): Don't advance to the next undeleted message after "Delete"... * mail-callbacks.c (delete_msg): ...instead, do it here, whether the user used Delete, Alt+D, or the toolbar. (But only if they only deleted a single message.) * message-list.c (message_list_select): Don't clear the display on failure. (build_tree): Clear the display when the currently-selected message stops existing and we don't have an obvious message to select instead of it. (Eg, when deleting the last message with "hide deleted messages" set, or expunging while a deleted message is selected.) svn path=/trunk/; revision=9744
* New file, started by Ettore, finished by me, to implement theDan Winship2001-05-109-4/+453
| | | | | | | | | | | | | | | | | | * mail-offline-handler.c: New file, started by Ettore, finished by me, to implement the GNOME_Evolution_Offline interface. * Makefile.am (evolution_mail_SOURCES): Add mail-offline-handler.[ch] * mail-ops.c (mail_store_set_offline): Set a store online or offline. * mail-send-recv.c (auto_timeout): Don't run auto-check-for-mail while the session is offline. * component-factory.c (component_fn): Set up offline handler. svn path=/trunk/; revision=9739
* Made a const char * here.Christopher James Lahey2001-05-102-1/+7
| | | | | | | | | 2001-05-09 Christopher James Lahey <clahey@ximian.com> * importers/evolution-mbox-importer.c (load_file_fn): Made a const char * here. svn path=/trunk/; revision=9729
* Moved all references for the Mail.h and Bonobo stuff into the .c fileIain Holmes2001-05-093-18/+18
| | | | svn path=/trunk/; revision=9723
* Importer changesIain Holmes2001-05-0916-1421/+297
| | | | svn path=/trunk/; revision=9722
* Convert the Subject header to HTML and also make sure that the Subject,Jeffrey Stedfast2001-05-092-8/+22
| | | | | | | | | | | 2001-05-08 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_forward_message): Convert the Subject header to HTML and also make sure that the Subject, To, and From header values are non-NULL before feeding them into e_text_to_html(). svn path=/trunk/; revision=9718
* Free the UIDs if the user decides to not go through with editing all theJeffrey Stedfast2001-05-092-5/+40
| | | | | | | | | | | | | | | | | | 2001-05-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (edit_msg_internal): Free the UIDs if the user decides to not go through with editing all the messages he selected. (resend_msg): If the user attempts to resend more than 10 messages, make sure he really means it. (do_resend_messages): Richard Zach feels that "Resend" should open the message(s) in a composer since he might want to edit at least the recipients (maybe he needs to resend because the message bounced the first time) and Ettore wants pretty much the same thing. This makes "Resend" basically the same as "Edit" but for previously sent messages, whereas "Edit" is only for Drafts. svn path=/trunk/; revision=9717
* Removed EVOLUTION_VERSION from the rest of makefiles. use VERSION instead. SoGediminas Paulauskas2001-05-081-1/+0
| | | | | | | | you must include <config.h>, heh. and a stil-not-working "fix" for galview menus. svn path=/trunk/; revision=9707
* Fix for #2253 (search names not translated), mail-search i18n fixes.Gediminas Paulauskas2001-05-084-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * searches.xml: replace title> with _title>. Part of fix to #2253. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * mail-search.c: convert search entry to utf8. * mail-local.c: d() debugging message. * mail-send-recv.c: replace " ..." with "..." * Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * POTFILES.in: add mail/mail-search.c 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * misc/e-search-bar.c (add_dropdown), (set_option): first try to translate, then if not suceeded -- convert from utf8. This handles cases when menuitem needs to be translated (it is passed as N_()), or is utf8 search title. However you cannot have a search like "Folders" -- it is translated. Part of fix for #2253. * misc/e-filter-bar.c: d() debugging strings. Use E_FILTERBAR_ADVANCED macro instead of own "Advanced ..." for consistency. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * filter-rule.c (xml_decode): allow "_title" in user rules. translate them and encode to utf8. (get_rule_part_widget): do not call gettext on part->title. It is always translated already. svn path=/trunk/; revision=9706
* s/HAVE_NSS/HAVE_SSL for the SSL checkbox stuff.Jeffrey Stedfast2001-05-082-2/+7
| | | | | | | | | 2001-05-07 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c: s/HAVE_NSS/HAVE_SSL for the SSL checkbox stuff. svn path=/trunk/; revision=9696
* Connect to key_press_event on the GtkHTML widget. (etree_key): Only handleDan Winship2001-05-083-34/+63
| | | | | | | | | | | | | | * folder-browser.c (my_folder_browser_init): Connect to key_press_event on the GtkHTML widget. (etree_key): Only handle space/backspace here, pass the rest off to on_key_press. (on_key_press): Handle Delete/N/P/Menu in either MessageList or MailDisplay. * message-list.c (message_list_select): Grab focus if we don't have it. svn path=/trunk/; revision=9694
* #include <camel/camel-file-utils.h>Dan Winship2001-05-045-8/+25
| | | | | | | | | | | | | | * message-list.c: #include <camel/camel-file-utils.h> * mail-ops.c (get_folderinfo_get): * subscribe-dialog.c (build_tree): Update for camel_store_get_folder_info prototype change. * mail-format.c (handle_text_plain_flowed): Improve more on the fix from the other day: the first level of indentation adds blank lines, but further levels don't... svn path=/trunk/; revision=9660
* Mockups of the inline send and receiving mail dialog; including one using ↵Anna Dirks2001-05-011-0/+534
| | | | | | icons, and one (designed for better scalability) using clists. svn path=/trunk/; revision=9633
* only remove event handlers if we set them up originally, to avoidDan Winship2001-04-301-4/+11
| | | | | | warnings from camel svn path=/trunk/; revision=9631
* Unhook event handlers before syncing the folder, since the folder browserDan Winship2001-04-302-1/+15
| | | | | | | | | * folder-browser.c (folder_browser_destroy): Unhook event handlers before syncing the folder, since the folder browser will have been destroyed by the time the sync thread completes and calls the signal handlers. svn path=/trunk/; revision=9630
* Mojo this a bit so that "\n\n>" gets translated to "<br><blockquote>"Dan Winship2001-04-302-8/+23
| | | | | | | | | | * mail-format.c (handle_text_plain_flowed): Mojo this a bit so that "\n\n>" gets translated to "<br><blockquote>" rather than "<br><br><blockquote>", since the transition to blockquote mode creates a blank line itself. Makes Mozilla-generated flowed replies look better. svn path=/trunk/; revision=9627
* Renamed from session.c and made to be a subclass of CamelSession.Dan Winship2001-04-285-226/+254
| | | | | | | | | | | * mail-session.c: Renamed from session.c and made to be a subclass of CamelSession. * mail-mt.c (mail_user_message): Renamed from mail_get_accept and made more general-purpose, to implement the new camel_session_alert_user. svn path=/trunk/; revision=9618
* No need to camel_shutdown() anymore...Jeffrey Stedfast2001-04-272-2/+2
| | | | | | | | 2001-04-26 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): No need to camel_shutdown() anymore... svn path=/trunk/; revision=9610
* helps to spell right ;-)Jeffrey Stedfast2001-04-271-1/+1
| | | | svn path=/trunk/; revision=9608
* Don't filter on Seen status. (previous_msg): Same. (next_unread_msg): NewJeffrey Stedfast2001-04-273-2/+30
| | | | | | | | | | | | 2001-04-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (next_msg): Don't filter on Seen status. (previous_msg): Same. (next_unread_msg): New function that does what the old callback next_msg callback did (only better named). (previous_unread_msg): Same. svn path=/trunk/; revision=9605
* Updated to use camel-file-util routines. (hide_save_1): Same.Jeffrey Stedfast2001-04-272-17/+31
| | | | | | | | | | | 2001-04-26 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (hide_load_state): Updated to use camel-file-util routines. (hide_save_1): Same. (hide_save_state): And here too. svn path=/trunk/; revision=9601
* Remove UNICODE_CFLAGSDan Winship2001-04-262-2/+2
| | | | | | * Makefile.am (INCLUDES): Remove UNICODE_CFLAGS svn path=/trunk/; revision=9582
* Use <font color=...> to mark citations rather than italicizing them, whichDan Winship2001-04-262-4/+17
| | | | | | | | | * mail-format.c (handle_text_plain_flowed): Use <font color=...> to mark citations rather than italicizing them, which has never looked very nice. Now this is more consistent with the non-flowed case. svn path=/trunk/; revision=9581
* Added "MessageSearch" verb.Jon Trowbridge2001-04-267-2/+339
| | | | | | | | | | | | | | | | | | 2001-04-26 Jon Trowbridge <trow@ximian.com> * folder-browser-factory.c: Added "MessageSearch" verb. * mail-callbacks.c (search_msg): Added search callback. (are_you_sure): Added some casts to fix compiler warnings. * mail-search.c: Added. A simple search-in-message widget, that uses GtkHTML's searching capabilities. 2001-04-26 Jon Trowbridge <trow@ximian.com> * evolution-mail.xml: Added "Search Message" to "View" menu. svn path=/trunk/; revision=9575
* New foot-shooting-prevention helper function. (edit_msg_internal,Dan Winship2001-04-252-0/+36
| | | | | | | | | | | * mail-callbacks.c (are_you_sure): New foot-shooting-prevention helper function. (edit_msg_internal, view_msg): If the user has more than 10 messages selected, ask before opening them all in separate windows, to protect against misclicks/typos after "select all" (which we've had at least two reports of now). svn path=/trunk/; revision=9559
* signature changingRadek Doulik2001-04-255-32/+36
| | | | | | | | | | | | | | * signature changing 2001-04-25 Radek Doulik <rodo@ximian.com> * mail-tools.c (mail_tool_quote_message): set object data directly in HTML source * mail-callbacks.c (mail_generate_reply): remove \n from citation (mail_generate_reply): don't use e_msg_composer_mark_text_orig svn path=/trunk/; revision=9558
* Added a new signal, "message_loaded" that gets emitted when the messageJeffrey Stedfast2001-04-254-13/+59
| | | | | | | | | | | | | | | | | | | | | | | | 2001-04-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c: Added a new signal, "message_loaded" that gets emitted when the message has been loaded and set on the mail_display. (folder_browser_class_init): Define the "message_loaded" signal stuff. (done_message_selected): Emit the "message_loaded" signal here. * message-browser.c (message_browser_next_msg): Do our own message-list manipulation. We want the next message, not the next unread message. (message_browser_prev_msg): Same here but for previous. (message_browser_new): Connect to the folder browser's "message_loaded" signal. (message_browser_folder_loaded): Don't connect to the message-list's "message_selected" signal. (message_browser_message_loaded): Nw callback which replaces the old message_browser_message_selected callback's functionality. svn path=/trunk/; revision=9551
* Add accelerators to the context menu. (on_right_click): UseDan Winship2001-04-253-28/+73
| | | | | | | | | | | * folder-browser.c: Add accelerators to the context menu. (on_right_click): Use e_tree_get_cell_geometry and a GtkMenuPositionFunc when responding to a Menu-key press so we can line the menu up with the selected row rather than the cursor. * message-browser.c: include <gal/util/e-util.h> for E_MAKE_TYPE. svn path=/trunk/; revision=9547
* Removed attempts to use Radek's evil <DATA> hacks, which were just causingJon Trowbridge2001-04-243-37/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-23 Jon Trowbridge <trow@ximian.com> * e-html-utils.c (e_text_to_html_full): Removed attempts to use Radek's evil <DATA> hacks, which were just causing me (and GtkHTML) grief. 2001-04-23 Jon Trowbridge <trow@ximian.com> * gui/component/e-address-popup.c: Lots of code has been simplified here. (e_address_popup_factory_new_control): Rather than directly pop our control up in a window (via the e_address_popup_popup function, which is now gone), just return the widget and let the caller do the popping. This works better, since it means we don't have to work around the vagaries of bonobo focus & event handling. (e_address_popup_set_name): Refresh when both name & email have been set, rather than checking a stupid counter. (e_address_popup_set_email): Ditto. 2001-04-23 Jon Trowbridge <trow@ximian.com> * mail-display.c (html_button_press_event): Check for mailto: links, and pop up our mail address menu when we find one. (make_popup_window): The main piece of code (ignoring a zillion little callbacks) to pop up our windows with reasonable semantics for having them close automatically. (mail_text_write): Enable converting addresses to mailto links in message bodies. * mail-format.c (write_address): Simplify code, removing Radek's <DATA> hacks. Write out addresses as mailto: links. svn path=/trunk/; revision=9534
* Use the message-browser widget rather than the mail-view window.Jeffrey Stedfast2001-04-2411-267/+425
| | | | | | | | | | | | | | | | | | | 2001-04-23 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_view_message): Use the message-browser widget rather than the mail-view window. * mail-view.c: Removed. * folder-browser.c: Added a folder_loaded signal. * message-browser.[c,h]: New window to solve all our message browsing needs. This replaces mail-view.c. * message-list.c (message_list_select_uid): New function needed by the new message-browser window. svn path=/trunk/; revision=9525
* Append a "/" to the result of g_get_home_dir so gets the default dir itDan Winship2001-04-242-2/+9
| | | | | | | * mail-callbacks.c (save_msg): Append a "/" to the result of g_get_home_dir so gets the default dir it was supposed to. svn path=/trunk/; revision=9511
* ugh, don't bother checking if the header values are non-NULL - it doesn't ↵Jeffrey Stedfast2001-04-232-14/+3
| | | | | | hurt to set a NULL header. svn path=/trunk/; revision=9500
* Only set the X-Evolution-* header if that value is non-NULL.Jeffrey Stedfast2001-04-233-12/+33
| | | | | | | | | | | | | 2001-04-22 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Only set the X-Evolution-* header if that value is non-NULL. * mail-ops.c (mail_send_message): Lets do proper refcounting on the sent-folder. Also, g_strdup() the sent_folder_uri since we later free it. If we don't, then we get lovely corrupt memory. svn path=/trunk/; revision=9498
* Make sure we have a context before we try and use it.Jeffrey Stedfast2001-04-232-2/+10
| | | | | | | | | 2001-04-22 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Make sure we have a context before we try and use it. svn path=/trunk/; revision=9496
* use system = EVOLUTION_DATADIR "/file" instead of g_strdup_printf. RenameGediminas Paulauskas2001-04-228-34/+41
| | | | | | | | | | | | | | | | | 2001-04-22 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser.c, mail-autofilter.c, mail-callbacks.c, mail-ops.c, mail-summary.c, mail-vfolder.c: use system = EVOLUTION_DATADIR "/file" instead of g_strdup_printf. Rename userrules to user (and system) to be consistent. * mail-send-recv.c: set window icon to send-receive.xpm 2001-04-21 Gediminas Paulauskas <menesis@delfi.lt> * mail-summary.c: translate "Mail summary". svn path=/trunk/; revision=9490
* Convert the result of g_get_real_name() from the locale charset to UTF8.Dan Winship2001-04-212-1/+7
| | | | | | | | * mail-config-druid.c (make_default_account): Convert the result of g_get_real_name() from the locale charset to UTF8. Noted by Petter Sundlöf (NOT "Petter Sundl_" :) svn path=/trunk/; revision=9481
* Use a CamelPgpType. (mail_config_get_pgp_type): Return a CamelPgpType.Jeffrey Stedfast2001-04-213-6/+90
| | | | | | | | | | 2001-04-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_pgp_type): Use a CamelPgpType. (mail_config_get_pgp_type): Return a CamelPgpType. (auto_detect_pgp_variables): auto-detect the user's pgp settings. svn path=/trunk/; revision=9479
* Fix a dumb thinko in my 04-11 patch.Dan Winship2001-04-212-1/+6
| | | | | | | * mail-format.c (handle_text_plain): Fix a dumb thinko in my 04-11 patch. svn path=/trunk/; revision=9477
* Convert subject from utf8 before passing it on.Dan Winship2001-04-202-5/+18
| | | | | | | * mail-ops.c: (send_mail_desc): Convert subject from utf8 before passing it on. svn path=/trunk/; revision=9474
* #if 0'd out my not-working selection codeGediminas Paulauskas2001-04-202-0/+11
| | | | | | | | 2001-04-20 Gediminas Paulauskas <menesis@delfi.lt> * mail-display.c: #if 0'd out my not-working selection code svn path=/trunk/; revision=9464
* Make this more raw: don't do URLs and citations.Dan Winship2001-04-192-3/+12
| | | | | | | * mail-format.c (mail_format_raw_message): Make this more raw: don't do URLs and citations. svn path=/trunk/; revision=9457
* Don't need to dup the string: the relevant gnome-dialog routine alreadyDan Winship2001-04-193-1/+17
| | | | | | | | | | * session.c (request_callback): Don't need to dup the string: the relevant gnome-dialog routine already does. * message-list.c (message_list_destroy): Free the uid_nodemap. (hide_save_state): Free the filename when we're done. svn path=/trunk/; revision=9452
* Implemented. (resend_msg): Use is_sent_folder().Jeffrey Stedfast2001-04-192-2/+66
| | | | | | | | | 2001-04-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (is_sent_folder): Implemented. (resend_msg): Use is_sent_folder(). svn path=/trunk/; revision=9449
* more memory leaksDan Winship2001-04-182-2/+7
| | | | svn path=/trunk/; revision=9431
* Pull up fix from the branch:Ettore Perazzoli2001-04-182-1/+6
| | | | | | | Add a `$(EXTRA_GNOME_CFLAGS)' to the importers' Makefile.am as they are using GAL. svn path=/trunk/; revision=9410
* Mark the messages as seen, not unseen. (is_drafts_folder): New function toJeffrey Stedfast2001-04-163-14/+88
| | | | | | | | | | | | | | | | | | | 2001-04-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_all_as_seen): Mark the messages as seen, not unseen. (is_drafts_folder): New function to attempt to determine if a folder is a drafts folder. (open_msg): Use is_drafts_folder(). (edit_msg): And here. (edit_msg_internal): New function that doesn't do the drafts checking and is only to be used internally. This should save us from having to doubly-check a folder to see if it's a drafts folder when doing an Open on the message. (open_msg): Call edit_msg_internal once we've established that the folder is a drafts folder. svn path=/trunk/; revision=9336
* Mark the messages as seen, not unseen.Jeffrey Stedfast2001-04-162-1/+6
| | | | | | | | | 2001-04-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_all_as_seen): Mark the messages as seen, not unseen. svn path=/trunk/; revision=9330
* Only use non-NULL contexts. (mail_crypto_pgp_mime_part_encrypt): Same.Jeffrey Stedfast2001-04-156-38/+72
| | | | | | | | | | | | | | | | | | 2001-04-14 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_verify): Only use non-NULL contexts. (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): And here too. * mail-format.c (try_inline_pgp_sig): Make sure to not use the context if it is NULL. (decode_pgp): Same. * folder-browser-factory.c: Added stuff for filtering/vfoldering on mailinglists. svn path=/trunk/; revision=9315
* Do this everywhere, also fixup CLEANFILESMichael Meeks2001-04-141-0/+3
| | | | | | | | | | Do this everywhere, also fixup CLEANFILES 2001-04-14 Michael Meeks <michael@ximian.com> * Makefile.am (dist-hook): remove built sources from dist. svn path=/trunk/; revision=9309
* Remove some redundant LIBS variables... purify complained that the commandDan Winship2001-04-147-18/+43
| | | | | | | | | | | | | | | | | | | | * Makefile.am (evolution_mail_LDADD): Remove some redundant LIBS variables... purify complained that the command line was too long. :-} * mail-account-gui.c: Plug leaks. * mail-display.c (on_url_requested): close the html stream on error too. * mail-ops.c (fetch_mail_fetch): Move a line around that probably doesn't affect anything, but it's correct. * session.c (auth_callback): Plug leak. * mail-send-recv.c (receive_status): Initialize "now". svn path=/trunk/; revision=9303
* Only activate the message if the cursor has moved.Christopher James Lahey2001-04-132-4/+18
| | | | | | | | | 2001-04-13 Christopher James Lahey <clahey@ximian.com> * message-list.c (on_cursor_activated_cmd): Only activate the message if the cursor has moved. svn path=/trunk/; revision=9298
* Updated this function to be a correct full ordering.Christopher James Lahey2001-04-133-72/+130
| | | | | | | | | | | | | | | | | | | 2001-04-12 Christopher James Lahey <clahey@ximian.com> * message-list.c (e_mail_address_new): Updated this function to be a correct full ordering. (ml_has_get_node_by_id, ml_get_node_by_id): Implemented these functions. (find_next_undeleted): Changed this to find next sorted undeleted message. Also, changed it so that if the current message is not deleted, it returns NULL. (build_tree, build_flat): Changed these to only set the cursor if the cursor is changed. * subscribe-dialog.c: Changed this to pass NULL, NULL for has_get_node_by_id and get_node_by_id. svn path=/trunk/; revision=9290
* If the service is NULL, just use the item as the key.Jeffrey Stedfast2001-04-132-3/+9
| | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * session.c (auth_callback): If the service is NULL, just use the item as the key. svn path=/trunk/; revision=9288
* Use the CamelCipherHash enum. (mail_crypto_pgp_mime_part_verify): Use aJeffrey Stedfast2001-04-134-18/+28
| | | | | | | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Use the CamelCipherHash enum. (mail_crypto_pgp_mime_part_verify): Use a CamelCipherValidity. * mail-format.c (try_inline_pgp_sig): Updated to use CamelCipherValidity instead of CamelPgpValidity. (handle_multipart_signed): Same. svn path=/trunk/; revision=9284
* Don't printf NULLDan Winship2001-04-132-2/+5
| | | | | | | * folder-browser.c (do_message_selected, on_message_selected): Don't printf NULL svn path=/trunk/; revision=9278
* Don't leak memory.Dan Winship2001-04-132-1/+10
| | | | | | * mail-format.c (mail_part_is_inline): Don't leak memory. svn path=/trunk/; revision=9273
* removed openpgp-utilsJeffrey Stedfast2001-04-132-1370/+0
| | | | svn path=/trunk/; revision=9270
* Updated for changes to PGP code.Jeffrey Stedfast2001-04-137-479/+131
| | | | | | | | | | | | | | | | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (pgp_path_changed): Updated for changes to PGP code. * component-factory.c (owner_set_cb): Don't init openpgp anymore because we don't need it. * mail-crypto.c: Simply wrap the camel-pgp-mime functions (also renamed the functions to be prefixed with mail_crypto). * mail-format.c (handle_multipart_signed): Update to use camel_pgp_mime_is_rfc2015_signed() and other camel-pgp-mime functions. (handle_multipart_encrypted): Same but for rfc2015_encrypted. (decode_pgp): Updated to use camel-pgp-context (try_inline_pgp): Updated to use camel-pgp-context's. (try_inline_pgp_sig): Same. svn path=/trunk/; revision=9269
* Only look for special pseudo-multipart-isms (binhex, uucode, old pgp, etc)Dan Winship2001-04-122-1/+17
| | | | | | | | | | | | * mail-format.c (handle_text_plain): Only look for special pseudo-multipart-isms (binhex, uucode, old pgp, etc) if the MIME type is really text/plain. Otherwise, since there's no handler for applciation/mac-binhex40, it gets sent to mail-identify.c, which thinks it's text/plain because it starts with English words, and so it gets sent back to the text/plain handler, which finds an embedded binhex part... svn path=/trunk/; revision=9260
* mark messages as seen when opening then in a separate window.Dan Winship2001-04-122-0/+6
| | | | | | | * mail-callbacks.c (do_view_message): mark messages as seen when opening then in a separate window. svn path=/trunk/; revision=9256
* Don't g_free the recipient array members here because we free them in theJeffrey Stedfast2001-04-122-8/+10
| | | | | | | | | 2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_encrypt): Don't g_free the recipient array members here because we free them in the caller. svn path=/trunk/; revision=9252
* Huh, somehow I forgot to apply the from filter when verifying signedJeffrey Stedfast2001-04-122-1/+10
| | | | | | | | | | 2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_verify): Huh, somehow I forgot to apply the from filter when verifying signed parts. Oh well, probably not all that common. Fixed now though. svn path=/trunk/; revision=9248
* Use the homedir as the default filename.Jeffrey Stedfast2001-04-123-6/+3
| | | | | | | | | 2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (save_msg): Use the homedir as the default filename. svn path=/trunk/; revision=9244
* Change to the user's home dir before opening the filesel.Jeffrey Stedfast2001-04-123-1/+10
| | | | | | | | | | | 2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (save_cb): Change to the user's home dir before opening the filesel. * mail-callbacks.c (save_msg): Same. svn path=/trunk/; revision=9241
* Save the expanded state using the ETree built in expanded state code.Christopher James Lahey2001-04-112-109/+32
| | | | | | | | | 2001-04-11 Christopher James Lahey <clahey@ximian.com> * message-list.c (save_tree_state, message_list_setup_etree): Save the expanded state using the ETree built in expanded state code. svn path=/trunk/; revision=9229
* Merge from evolution-0-10 to evolution-0-10-merge-0 into head.Not Zed2001-04-059-32/+258
| | | | | | | | 2001-04-05 Not Zed <NotZed@Ximian.com> * Merge from evolution-0-10 to evolution-0-10-merge-0 into head. svn path=/trunk/; revision=9193
* Add prototype for service_changed(). Remove #includeKjartan Maraas2001-04-053-1/+7
| | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * mail-account-gui.c: Add prototype for service_changed(). * message-list.h: Remove #include <gal/e-table/e-tree-simple.h> since it doesn't get installed. svn path=/trunk/; revision=9183
* it seems it did not get into last commitGediminas Paulauskas2001-04-041-6/+28
| | | | svn path=/trunk/; revision=9163
* set content type to utf8. fix warning. just call on_link_clicked().Gediminas Paulauskas2001-04-043-2/+14
| | | | | | | | | | | | | | | | | | | | | | | 2001-04-04 Gediminas Paulauskas <menesis@delfi.lt> * mail-config-druid.c (create_html): set content type to utf8. * mail-config.c (mail_config_check_service): fix warning. * mail-display.c (link_open_in_browser): just call on_link_clicked(). (link_menu): Open link works. (link_copy_location): claim selection. (on_selection_get): new function, selection handler. (mail_display_new): connect to selection_get. FIXME: does not work. 2001-04-04 Gediminas Paulauskas <menesis@delfi.lt> * importer/importer.c (create_html): copied newer and fixed function from mail/mail-config-druid.c. (html_new, put_html): removed. (show_import_wizard): use create_html instead of html_new/put_html pair. * importer/importer.glade: a try to set logo. removed source generation options. svn path=/trunk/; revision=9161
* Executive summary and Trash now have nice icons both in tree/folder title andGediminas Paulauskas2001-04-042-1/+5
| | | | | | | | | | | | shortcut bar. Converted and replaced icons for trash and summary: exec-16-summary.xpm => evolution-today-mini.png delete_mesage.xpm => evolution-trash-mini.png, Copied evolution-trash.png icons from mc (needs tweaking to match other evolution icons though) svn path=/trunk/; revision=9154
* Add --no-tty argument to gpg.Jeffrey Stedfast2001-04-043-1/+14
| | | | | | | | 2001-04-03 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_encrypt): Add --no-tty argument to gpg. svn path=/trunk/; revision=9141
* Sync the folder on activate.Dan Winship2001-04-042-0/+6
| | | | | | | * folder-browser-factory.c (control_activate): Sync the folder on activate. svn path=/trunk/; revision=9140
* don't check the global variable, check the onje passed in. this really ↵Jeffrey Stedfast2001-04-041-1/+1
| | | | | | doesn't matter the way the code works, but it's stll incorrect svn path=/trunk/; revision=9138
* Use the same URL-transforming rules we use when hashing the password soDan Winship2001-04-042-2/+16
| | | | | | | | * session.c (mail_session_remember_password): Use the same URL-transforming rules we use when hashing the password so this actually works. svn path=/trunk/; revision=9137
* Check for KMail files.Iain Holmes2001-04-032-0/+71
| | | | svn path=/trunk/; revision=9103
* Add a "provider_type" arg to MailAccountGuiService.Dan Winship2001-04-033-2/+20
| | | | | | | | | | | | | | | * mail-account-gui.c: Add a "provider_type" arg to MailAccountGuiService. (transport_needs_auth_toggled): Call service_changed if enabling the auth pane so the status of the "Check supported types" button will be correct. (service_check_supported): Use gsvc->provider_type, not CAMEL_PROVIDER_STORE. (mail_account_gui_new): Pass the transport as the user_data to the "changed" signal on transport.hostname, not the store. (mail_account_gui_setup): Set up provider_type fields svn path=/trunk/; revision=9101
* Blessed by Ettore.Gediminas Paulauskas2001-04-024-98/+49
| | | | | | | | | | | | | | Guided by Jacub Stener's mail, where he explaned which icons were renamed or added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash and Executive summary folder type icons. Fixed art/Makefile.am for these changes. Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made all components and dialogs use cache and not load pixmaps every time. Accidentally got a couple of includes fix in, but they won't break anything. svn path=/trunk/; revision=9092
* Register for cancellation. (mail_config_check_service): Pop up a modalDan Winship2001-03-312-3/+39
| | | | | | | | * mail-config.c (check_service_check): Register for cancellation. (mail_config_check_service): Pop up a modal dialog with a message and a "Cancel" button for the duration of the check. svn path=/trunk/; revision=9058
* Fix a crash when the evolution-importer-client tries to pass NULL for the ↵Iain Holmes2001-03-313-2/+9
| | | | | | folderpath. svn path=/trunk/; revision=9055
* Add support for converting e-mail addresses to links. (is_email_address):Jon Trowbridge2001-03-313-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-30 Jon Trowbridge <trow@ximian.com> * e-html-utils.c (e_text_to_html_full): Add support for converting e-mail addresses to links. (is_email_address): Added. Identifies e-mail addresses. (email_address_extract): Added. Extracts a copy of the e-mail address from the text. * e-html-utils.h (E_TEXT_TO_HTML_CONVERT_ADDRESSES): Added. * e-url.c (e_url_shroud): Added. Copy a url, replacing any plaintext passwords with a single *. (e_url_equal): Compare two urls, taking into account that they may or may not be shrouded. 2001-03-30 Jon Trowbridge <trow@ximian.com> * camel-mime-message.c (camel_mime_message_set_source): Shrould our source URL before putting it into X-Evolution-Source. 2001-03-30 Jon Trowbridge <trow@ximian.com> * mail-display.c (mail_text_write): Add (commented-out) E_TEXT_TO_HTML_CONVERT_ADDRESSES. * mail-config.c (mail_config_get_account_by_source_url): Call e_url_equal to compare URLs. svn path=/trunk/; revision=9050
* If the EvolutionShellComponent emits a "debug" signal, turn onDan Winship2001-03-312-0/+15
| | | | | | | * component-factory.c (debug_cb): If the EvolutionShellComponent emits a "debug" signal, turn on camel_verbose_debug. svn path=/trunk/; revision=9047
* reset last_activeRadek Doulik2001-03-312-0/+5
| | | | | | | | 2001-03-30 Radek Doulik <rodo@ximian.com> * mail-display.c (mail_display_redisplay): reset last_active svn path=/trunk/; revision=9045
* Added #include <libgnome/gnome-paper.h>Jon Trowbridge2001-03-305-11/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Jon Trowbridge <trow@ximian.com> * printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h> * printing/e-contact-print-envelope.c: Added #include <time.h> and #include <libgnome/gnome-paper.h> * gui/component/select-names/e-select-names-completion.c (match_email): Better handle matching of "nameless" contacts. * backend/ebook/e-destination.c (e_destination_get_string): Better handle the case of a "nameless" contact. 2001-03-29 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Save the source URL using camel_mime_message_set_source. * camel-mime-message.c (camel_mime_message_set_source): Renamed camel_mime_message_set_identity to this. Sets the X-Evolution-Source header. (camel_mime_message_get_source): Returns the X-Evolution-Source header. 2001-03-29 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c: Added #include <time.h> to get things to compile. * mail-callbacks.c (mail_generate_reply): Look at the X-Evolution-Source header, and try to find a corresponding account. If this works, send the mail from this account. If not, use the default account. * mail-ops.c (send_queue_send): Strip out the X-Evolution-Source header before sending. * mail-config.c (mail_config_get_account_by_source_url): Added. Look up accounts by source URL. svn path=/trunk/; revision=9032
* if called with a multipart that's really a 0-part, spew an error andDan Winship2001-03-302-0/+13
| | | | | | | | * mail-format.c (call_handler_function): if called with a multipart that's really a 0-part, spew an error and display as source. svn path=/trunk/; revision=9031
* #include <camel/camel-vtrash-folder.h>Dan Winship2001-03-303-0/+7
| | | | | | | | | * message-list.c: #include <camel/camel-vtrash-folder.h> * mail-callbacks.c: #include <libgnome/gnome-paper.h> for the gnome-print stuff. svn path=/trunk/; revision=9030
* Ignore "funky" button clicks (like scroll wheel scrolls)Dan Winship2001-03-302-0/+11
| | | | | | | * mail-display.c (pixmap_press): Ignore "funky" button clicks (like scroll wheel scrolls) svn path=/trunk/; revision=9029
* Cleaned up #includes. Remove unneccesary includes of <gnome.h>,Kjartan Maraas2001-03-3052-192/+360
| | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Cleaned up #includes. Remove unneccesary includes of <gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more fine grained headers where needed. Also marked a bunch of strings for translations and added some missing prototypes. svn path=/trunk/; revision=9025
* Fix this so the "Receiving Options" page gets filled in again.Dan Winship2001-03-302-1/+4
| | | | | | | * mail-account-editor.c (switch_page): Fix this so the "Receiving Options" page gets filled in again. svn path=/trunk/; revision=9022
* Doh! This was storing "struct _folder_info"s in the cache and then tryingDan Winship2001-03-302-4/+9
| | | | | | | | | * mail-send-recv.c (receive_get_folder): Doh! This was storing "struct _folder_info"s in the cache and then trying to read them back as CamelFolders. Fixicate. Fixes the "crash with 2 POP accounts" bug. svn path=/trunk/; revision=9021
* Update call to camel_url_to_string. (Don't include the params in theDan Winship2001-03-306-6/+20
| | | | | | | | | | | | | | | | * 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
* Create a vtrash folder, not a vee folder.Not Zed2001-03-295-16/+88
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Move the gtk_toggle_button_set_active outside the if.Jeffrey Stedfast2001-03-292-6/+20
| | | | | | | | | 2001-03-28 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (setup_service): Move the gtk_toggle_button_set_active outside the if. svn path=/trunk/; revision=8996
* Set up the sent/drafts folder buttons. (folder_picker_clicked): Pop up theDan Winship2001-03-298-80/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Lets do some NULL checking here. First, make sure the gsrc isn't NULL andJeffrey Stedfast2001-03-283-9/+14
| | | | | | | | | | | | | 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
* set the initial druid button state after doing the mail_account_gui_setup,Dan Winship2001-03-282-2/+6
| | | | | | | | * 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
* (save_service): Don't look at authtype if the widget isDan Winship2001-03-282-1/+4
| | | | | | insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.) svn path=/trunk/; revision=8979
* Fill in signature and organization too. (mail_account_gui_save): PreserveDan Winship2001-03-272-0/+16
| | | | | | | | * 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
* Use gnome-dialog-close instead of object_unref, for some reason it doesn'tNot Zed2001-03-272-1/+8
| | | | | | | | | | | 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
* Probably the very last new config dialog ever. (Ha ha). From Anna, basedDan Winship2001-03-2713-4973/+3122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Kludge, copied+modified from mail_config_folder_to_cachename to deal withDan Winship2001-03-271-2/+22
| | | | | | | | | | | * 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
* Update this to reflect the CamelProvider structure changeDan Winship2001-03-271-1/+1
| | | | | | | * mail-local.c (local_provider): Update this to reflect the CamelProvider structure change svn path=/trunk/; revision=8969
* Add "vtrash" as an allowed mail folder type.Jeffrey Stedfast2001-03-272-1/+4
| | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (transfer_msg): Add "vtrash" as an allowed mail folder type. svn path=/trunk/; revision=8965
* Updated to reflect changes made to the move/copy API in camel-folder.cJeffrey Stedfast2001-03-272-1/+2
| | | | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (transfer_messages_transfer): Updated to reflect changes made to the move/copy API in camel-folder.c (add_vtrash_info): Use /Trash as the path instead of Trash. * mail-local.c (reconfigure_folder_reconfigure): Updated this too. svn path=/trunk/; revision=8963
* oops, don't use uids->pdata[i], just use uidsJeffrey Stedfast2001-03-271-2/+1
| | | | svn path=/trunk/; revision=8962
* Updated to reflect changes made to the move/copy API in camel-folder.cJeffrey Stedfast2001-03-273-25/+21
| | | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (transfer_messages_transfer): Updated to reflect changes made to the move/copy API in camel-folder.c * mail-local.c (reconfigure_folder_reconfigure): Updated this too. svn path=/trunk/; revision=8961
* Fixed vfolder_new api.Not Zed2001-03-272-2/+5
| | | | | | | | 2001-03-20 Not Zed <NotZed@Ximian.com> * mail-local.c (init_trash): Fixed vfolder_new api. svn path=/trunk/; revision=8958
* Make the thumbnail cache global rather than per-MailDisplay, sinceDan Winship2001-03-271-1/+0
| | | | | | | | | | * mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache global rather than per-MailDisplay, since content-ids ought to be globally unique. Also, don't leak content-id strings when the pixbuf generation fails, and remove pixbufs from the cache after 5 minutes. svn path=/trunk/; revision=8948
* remove a debugging printf that got awayDan Winship2001-03-271-1/+0
| | | | svn path=/trunk/; revision=8947
* undo a boolean boobooDan Winship2001-03-271-1/+2
| | | | svn path=/trunk/; revision=8946
* Make fake content-id URLs be guaranteed unique: the old way (with %p onDan Winship2001-03-263-22/+44
| | | | | | | | | | | | | | | * mail-format.c (get_cid): Make fake content-id URLs be guaranteed unique: the old way (with %p on the CamelMimePart *) would generate duplicates if memory was freed and re-allocated the right way. * mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache global rather than per-MailDisplay, since content-ids ought to be globally unique. Also, don't leak content-id strings when the pixbuf generation fails, and remove pixbufs from the cache after 5 minutes. svn path=/trunk/; revision=8944
* Simplify a bit using camel_session_get_provider.Dan Winship2001-03-263-35/+41
| | | | | | | | | | * component-factory.c (mail_load_storages): Simplify a bit using camel_session_get_provider. * mail-callbacks.c (empty_trash): Ditto, and fix up use of CamelException. svn path=/trunk/; revision=8942
* clear name and email data after each addressRadek Doulik2001-03-262-8/+13
| | | | | | | | | 2001-03-26 Radek Doulik <rodo@ximian.com> * mail-format.c (write_address): clear name and email data after each address svn path=/trunk/; revision=8936
* Fix a bug in this that probably would have been noticed sooner if ETreeDan Winship2001-03-262-1/+7
| | | | | | | | * component-factory.c (unref_standard_folders): Fix a bug in this that probably would have been noticed sooner if ETree hadn't always made the mailer crash before you got here. :-) svn path=/trunk/; revision=8930
* Allow the authtype to be NULL. (transport_auth_init): If the providerJeffrey Stedfast2001-03-252-2/+31
| | | | | | | | | | | | | 2001-03-25 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (transport_auth_type_changed): Allow the authtype to be NULL. (transport_auth_init): If the provider allows authtypes but doesn't *need* one, create a "None" menu item that the user can choose. This should fix the bug people have been seeing recently since dan removed the no_authtype authmech from the smtp provider. svn path=/trunk/; revision=8926
* Default to iso-8859-1 as the user's charset here if it is undefined. ThisJeffrey Stedfast2001-03-252-1/+7
| | | | | | | | | | 2001-03-24 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Default to iso-8859-1 as the user's charset here if it is undefined. This is a better choice than us-ascii. svn path=/trunk/; revision=8921
* Added. Call me old-fashioned, but I just prefer to have a real API ratherJon Trowbridge2001-03-235-51/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-23 Jon Trowbridge <trow@ximian.com> * gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card): Added. Call me old-fashioned, but I just prefer to have a real API rather than doing everything via gtk_object_get/set-type calls. (e_minicard_widget_set_arg): Changed to call e_minicard_widget_set_card. * backend/ebook/e-book-util.c: Small changes to get rid of compiler warnings. (Casting out const, removed unused variables, etc.) Removed some debugging messages. * gui/component/addressbook-factory.c (main): Added call to e_address_popup_factory_init. * gui/component/e-address-popup.c: Added. A popup gadget that is invoked (as a bonobo control) when an address is left-clicked in the mailer. The addressbook is queries, and the address is either displayed as a minicard (if it already exists) or in a "generic format". A button is provided for editting/adding the contact. Some of the semantics of this widget are a bit... non-standard, because of bonobo issues. I can't really seem to replicate popup-menu behavior because of how bonobo propogates events, etc. so I've tried to produce something that I think is non-annoying. YMMV. 2001-03-23 Jon Trowbridge <trow@ximian.com> * mail-display.c (handle_embedded_address_object): #ifdef away some code I don't quite want to delete yet. (html_button_press_event): Remove some of Radek's placeholder code, replace it with code to create my AddressPopup bonobo control. * mail-format.c: Remove some obsolete code that if #ifdef-ed out a while ago. * mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity header when sending. 2001-03-23 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Don't call camel_mime_message_set_identity. (The call is commented out, left over from some earlier experimentation that I want to be able to remember later...) * camel-mime-message.c (camel_mime_message_set_identity): Added. A function to set the X-Evolution-Identity header. svn path=/trunk/; revision=8916
* Turned on BROKEN_ETREE.Christopher James Lahey2001-03-232-1/+5
| | | | | | | | 2001-03-23 Christopher James Lahey <clahey@ximian.com> * message-list.c: Turned on BROKEN_ETREE. svn path=/trunk/; revision=8914
* Fix some warnings, Allow the importers to import into any folder. UpdateIain Holmes2001-03-235-6/+36
| | | | | | | | | | Fix some warnings, Allow the importers to import into any folder. Update all importers for this change. Don't emit the create_folder callback if the folder to be created already exists. This should fix the libibex crash when importing. svn path=/trunk/; revision=8912
* New callback to handle a double-click event in the account clist.Jeffrey Stedfast2001-03-233-19/+32
| | | | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_double_click): New callback to handle a double-click event in the account clist. (construct): Setup the double-click event for the account list. svn path=/trunk/; revision=8908
* (update_active): move to absolute coordinatesRadek Doulik2001-03-232-6/+12
| | | | | | (html_button_press_event): ditto svn path=/trunk/; revision=8907
* (html_enter_notify_event): take care of enter eventRadek Doulik2001-03-232-13/+37
| | | | | | | (update_active): helper function, extracted from html_motion_notify_event svn path=/trunk/; revision=8902
* (html_motion_notify_event): new handler, highlights addresses byRadek Doulik2001-03-233-0/+53
| | | | | | underline svn path=/trunk/; revision=8900
* added simple debug g_printRadek Doulik2001-03-231-0/+1
| | | | svn path=/trunk/; revision=8897
* connect to button_press_event and iframe_created events of GtkHTML widgetRadek Doulik2001-03-233-9/+145
| | | | | | | | | | | | | | | | | | | | 2001-03-22 Radek Doulik <rodo@ximian.com> * mail-display.c (mail_display_new): connect to button_press_event and iframe_created events of GtkHTML widget (html_button_press_event): new signal handler, runs popup on address fields and on links, later we should add popups for images and maybe some more? any ideas? (html_iframe_created): new signal handler, takes care of connecting to button_press_event of all iframes : plus bunch of empty methods for popup menu items - to be implemented * mail-format.c (write_address): revert back to raw HTML text, store name and email to Text objects, workaround gtkhtml tables bug (to be fixed soon ;-) svn path=/trunk/; revision=8896
* Don't fail at setting up all the toolbar icons if just one of theEttore Perazzoli2001-03-222-6/+8
| | | | | | icons cannot be loaded. svn path=/trunk/; revision=8880
* Fix a bug in (illegal) 0-part messagesDan Winship2001-03-221-0/+3
| | | | | | | | | * mail-format.c (handle_multipart_related): Fix a bug in (illegal) 0-part messages (the actual fix accidentally got into my last commit) svn path=/trunk/; revision=8874
* Use the new URL part macrosDan Winship2001-03-225-26/+39
| | | | | | | | | | | | * mail-config-druid.c (incoming_check, incoming_type_changed, transport_check, transport_type_changed): * mail-account-editor.c (transport_type_changed, source_check): Use the new URL part macros * mail-config.c (check_service_check): Use provider authtype list if not connecting. svn path=/trunk/; revision=8873
* Added new icons.Miguel de Icaza2001-03-212-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-20 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c: Added new icons. 2001-03-18 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c: Remove duplicated verb. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * gui/component/addressbook.c (update_pixmaps): Added artwork from Jakub. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * evolution-addressbook.xml: Added artwork from Jakub. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * art/Makefile.am (images_DATA): Added all the new icons to the distribution. svn path=/trunk/; revision=8859
* Step the parser so it imports more than one message.Iain Holmes2001-03-212-0/+25
| | | | svn path=/trunk/; revision=8854
* extra dist the oaf filesJP Rosevear2001-03-212-0/+6
| | | | | | | | 2001-03-20 JP Rosevear <jpr@ximian.com> * importers/Makefile.am: extra dist the oaf files svn path=/trunk/; revision=8853
* set color in html citationRadek Doulik2001-03-218-15/+184
| | | | | | | | | | | | | | | | 2001-03-20 Radek Doulik <rodo@ximian.com> * mail-tools.c (mail_tool_quote_message): set color in html citation * mail-config.c: added citation highlighting configuration * mail-tools.c (mail_tool_quote_message): use citation highlighting * mail-display.c (mail_text_write): use citation highlighting svn path=/trunk/; revision=8848
* Made this check if the control mask is set.Christopher James Lahey2001-03-202-1/+6
| | | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * folder-browser.c (etree_key): Made this check if the control mask is set. svn path=/trunk/; revision=8844
* Remove the node before freeing the data it points to.Christopher James Lahey2001-03-202-5/+10
| | | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * message-list.c (remove_node_diff, build_flat_diff): Remove the node before freeing the data it points to. svn path=/trunk/; revision=8841
* Bumped gal requirement to 0.5.99.8.Christopher James Lahey2001-03-208-258/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped gal requirement to 0.5.99.8. From addressbook/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged branch: 2001-03-14 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard-view.c: Call e_selection_model_simple_insert_rows and e_selection_model_simple_delete_rows instead of e_selection_model_simple_insert_row and e_selection_model_simple_delete_row. End of branch From mail/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-18 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added has_save_id and get_save_id methods. * subscribe-dialog.c: Added arguments for e_tree_memory_callbacks_new of get_save_id and has_save_id to NULL. 2001-03-16 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added a call to e_tree_memory_set_expanded_default to TRUE. Removed all calls to set_expanded on nodes while the tree is frozen since this fails miserably now. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * message-list.c (message_list_get_layout): Turned off draw-grid. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * folder-browser-factory.c, folder-browser.c, message-list.c, message-list.h, subscribe-dialog.c, subscribe-dialog.h, mail-callbacks.c: Converted these all to use ETree instead of ETable. End of branch From shell/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_save_id): Made "root" detection deal properly with removed nodes. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-shell-view.c (e_shell_view_save_settings): Added some unused code to implement saving of the expanded state. * e-storage-set-view.c: Added has_save_id and get_save_id methods. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (ETREE_SPEC): Set draw-grid here to false. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c, e-storage-set-view.h: Chaned this to use ETree instead of ETable. End of branch svn path=/trunk/; revision=8839
* Changes to the netscape importer for streamlining it and not creating silly ↵Iain Holmes2001-03-201-41/+40
| | | | | | folders svn path=/trunk/; revision=8834
* Elm and Pine importersIain Holmes2001-03-206-2/+867
| | | | | | | Pine compiles and is tested Elm is not compiled yet, as I have not tested it. svn path=/trunk/; revision=8833
* Removed gnome.h and ctype.h (send_queue_send): Don't remove theJeffrey Stedfast2001-03-202-19/+26
| | | | | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c: Removed gnome.h and ctype.h (send_queue_send): Don't remove the X-Evolution header here. (mail_send_message): Remove it here instead (so we only have to remove it in one place - no matter if you send a single message or send_queue. svn path=/trunk/; revision=8832
* Write the date header.Jeffrey Stedfast2001-03-202-2/+23
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Write the date header. svn path=/trunk/; revision=8829
* Call unref_standard_folders() here instead.Jeffrey Stedfast2001-03-202-2/+5
| | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_unset_cb): Call unref_standard_folders() here instead. svn path=/trunk/; revision=8827
* pulled from the 0.9 release.Jeffrey Stedfast2001-03-191-1/+1
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * NEWS: pulled from the 0.9 release. svn path=/trunk/; revision=8819
* Add Resend Message menu item.Jeffrey Stedfast2001-03-195-1/+58
| | | | | | | | | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Add Resend Message menu item. * folder-browser.c (on_right_click): Add resend to the right-click menu. * mail-callbacks.c (composer_sent_cb): Unref the message. (composer_postpone_cb): Unref the message here too. (resend_msg): New callback to allow resending of messages in the Sent folder. svn path=/trunk/; revision=8816
* Unref the message.Jeffrey Stedfast2001-03-192-0/+6
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_sent_cb): Unref the message. svn path=/trunk/; revision=8815
* unref the standard folders. (owner_set_cb): Use g_atexit() to callJeffrey Stedfast2001-03-193-0/+23
| | | | | | | | | | | | | 2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (unref_standard_folders): unref the standard folders. (owner_set_cb): Use g_atexit() to call unref_standard_folders() when evolution-mail exits. This should solve the problem where these folders are not synced when evolution-mail closes (because they still had refs on them on close). svn path=/trunk/; revision=8814
* Added ShowWeekView, ShowMonthView, ShowDay, ShowWorkWeek to the View menu.Miguel de Icaza2001-03-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Miguel de Icaza <miguel@ximian.com> * evolution-calendar.xml: Added ShowWeekView, ShowMonthView, ShowDay, ShowWorkWeek to the View menu. * evolution.xml, evolution-mail.xml: Provide "Actions" in the toplevel evolution. Fill in Actions/Component in Evolution-mail (no visual changes, just internal changes). * evolution-calendar.xml: Added Actions menu. Added New Verb EditNewEvent. 2001-03-17 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_new_event, e_day_view_on_new_appointment): Simplifed this function to use the shared code. * gui/e-week-view.c (e_week_view_on_new_event, e_week_view_on_new_appointment): ditto. * gui/gnome-cal.c (gnome_calendar_new_appointment_for): New function used to launch editor components with a time range. A bunch of functions use this code now instead of duplicating code all over the place svn path=/trunk/; revision=8794
* Move the proxy event outside the lock (otherwise we always deadlock).Not Zed2001-03-177-610/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msg_free): Move the proxy event outside the lock (otherwise we always deadlock). * mail-local.c (reconfigure_clicked): Clear the message list during update inside the folder thingy. This is a hell mess, need to move the gui stuff to mail-callbacks and make this reconfigure thing a more generic func. * message-list.c (ml_value_to_string): Cleanup the logic to use lookup tables. (sort_uid_to_rows): Removed due to rewrite below. (build_flat_diff): Changes for node/summary/etc changes. Also do changed nodes too. (clear_tree): Free the info reference for nodes in our hashtable. (build_subtree): Ref the info reference in our hash/tree node. (on_click): Dont free message info, since we just got our ref to it. (remove_node_diff): Free messageinfo off node. (build_flat): Ref messageinfo. (message_list_set_folder): Allow a NULL folder to be set - i.e. clear the view. (message_list_set_folder): Emit a no message sleeted signal. (build_tree): Change cursor keeping stuff to work with new info. Turned off BROKEN_ETREE - well maybe it'll work. Check for duplicate messages displayed, etc. 2001-03-16 Not Zed <NotZed@Ximian.com> * message-list.h: Added uid_nodemap; mapping of uid's to e-tree nodes. * message-list.c (build_flat): Changed to take a summary argument, and to store node in node map, etc, and store info's in e-tree. (build_subtree): Changed to store node in node map, and to store info's in tree directly. (ml_tree_value_at): Changed to get info directly from tree node, removed allocated return value logic. (ml_tree_value_at): Removed all "fake node" handling, no fake nodes should ever exist. (id_is_uid, id_is_subject, id_uid, id_subject): Removed macro's no longer used. (new_id_from_uid, new_id_from_subject): Removed no longer used. (get_message_uid): (get_message_info): Treat tree node data as messageinfo. (message_list_select): Dont free the messageinfo, as its part of our data, not retrieved from folder. (message_list_drag_data_get): ditto. (subtree_unread): Treat tree node data as messageinfo. (subtree_size): ditto. (subtree_earliest): ditto. (clear_tree): Reset uid_nodemap on clear. (save_node_state): tree nodes == messageinfo's. (add_node_diff): ditto. (remove_node_diff): ditto. (main_folder_changed): use uid_nodemap to lookup changed nodes. (main_message_changed): ditto. svn path=/trunk/; revision=8775
* New function to prepare the mime part and any subparts for pgp signing.Jeffrey Stedfast2001-03-172-6/+79
| | | | | | | | | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_sign_prepare_part): New function to prepare the mime part and any subparts for pgp signing. (pgp_mime_part_sign_restore_part): New convenience function to undo the prepare_part. (pgp_mime_part_sign): Don't assume the part passed in is a leaf part, we could very easily get a multipart (and in fact were which is why people have been having unexpected results when signing messages with attachments) and set the encoding as if it were a leaf part. Use our 2 new convenience functions to set the encoding(s) instead. svn path=/trunk/; revision=8766
* Fix memory leak.Miguel de Icaza2001-03-162-4/+13
| | | | | | | | | 2001-03-15 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c (folder_browser_setup_view_menus): Fix memory leak. svn path=/trunk/; revision=8752
* ackJeffrey Stedfast2001-03-161-1/+1
| | | | svn path=/trunk/; revision=8742
* We don't care about SSL, yea baby... (apply_changes): Don't care aboutJeffrey Stedfast2001-03-166-77/+39
| | | | | | | | | | | | | | | | | | | | 2001-03-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (apply_changes): We don't care about SSL, yea baby... (apply_changes): Don't care about SSL, no baby... (construct): Yea, I said we don't care 'bout SSL, baby (construct): That's exactly what I said, uh huh... (transport_auth_type_changed): Set the sensitivity of the user/passwd entries. (transport_type_changed): If the hostname hasn't been set yet, just use "localhost" as it doesn't really matter, since all we need is a valid URL object. * mail-config.c: We no longer need `use_ssl' for sources and transports. svn path=/trunk/; revision=8741
* Remove a stray camel_object_ref that was causing messages to never beDan Winship2001-03-152-1/+7
| | | | | | | | | * mail-display.c (mail_display_redisplay): Remove a stray camel_object_ref that was causing messages to never be finalized if they got redisplayed (because of attachments, delayed-loading IMAP parts, etc) svn path=/trunk/; revision=8737
* Added edit item to search-bar menu.Not Zed2001-03-154-3/+19
| | | | | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * folder-browser.c: Added edit item to search-bar menu. * mail-callbacks.c (filter_edit): Changed for filter_editor_new() api addition/change. * mail-vfolder.c (vfolder_edit): Use vfolder_editor_new intead. svn path=/trunk/; revision=8731
* Removed .oafinfo files -- they are obsolete. Moved pixmaps fromGediminas Paulauskas2001-03-151-157/+0
| | | | | | | | | | | | 2001-03-15 Gediminas Paulauskas <menesis@delfi.lt> Removed .oafinfo files -- they are obsolete. Moved pixmaps from calendar/gui/ to art/ Moved evolution.png to art/ Moved evolution.desktop.in to data/ Generate doc/devel/executive-summary/Makefile svn path=/trunk/; revision=8727
* Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminateJeffrey Stedfast2001-03-153-1/+5
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate the list of buttons and show the label. * mail-mt.c (do_get_accept): Same. svn path=/trunk/; revision=8721
* Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminateJeffrey Stedfast2001-03-153-2/+8
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate the list of buttons. * mail-mt.c (do_get_accept): Same. svn path=/trunk/; revision=8719
* Tell camel to init NSS.Jeffrey Stedfast2001-03-152-1/+5
| | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. svn path=/trunk/; revision=8717
* builddir != srcdir fixes. Yay!Ettore Perazzoli2001-03-142-0/+7
| | | | svn path=/trunk/; revision=8706
* Call gtk_html_end() on the stream so things happen. Fixes a problem withDan Winship2001-03-143-0/+22
| | | | | | | | | | * mail-display.c (on_url_requested): Call gtk_html_end() on the stream so things happen. Fixes a problem with some inline images (just very small ones maybe?) * importers/.cvsignore: create svn path=/trunk/; revision=8691
* Call camel_init with the evolution directory passed in. Also, abort ifJeffrey Stedfast2001-03-143-10/+24
| | | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Call camel_init with the evolution directory passed in. Also, abort if camel cannot be initialized. * main.c (main): Shutdown camel. svn path=/trunk/; revision=8689
* impl. (update_pixmaps): accelerate with cache.Michael Meeks2001-03-132-33/+61
| | | | | | | | | 2001-03-04 Michael Meeks <michael@ximian.com> * folder-browser-factory.c (free_pixmaps): impl. (update_pixmaps): accelerate with cache. svn path=/trunk/; revision=8663
* All my changes to get the folder creation working, and the magic NetscapeIain Holmes2001-03-1314-361/+1260
| | | | | | importer. svn path=/trunk/; revision=8661
* Make the transport save whether or not it's supposed to use SSL as well.Jeffrey Stedfast2001-03-132-0/+19
| | | | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write): Make the transport save whether or not it's supposed to use SSL as well. (config_read): Read in whether or not we should remember the transport password (for those that support SASL). (mail_config_write): Save whether or not to save transport passwords (needed for SASL enabled transports). svn path=/trunk/; revision=8649
* Instead of always creating a new vTrash folder, if the store already has aJeffrey Stedfast2001-03-132-10/+28
| | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): Instead of always creating a new vTrash folder, if the store already has a Trash folder, replace it with the vTrash. Also, name the folder "Trash" instead of "vTrash" and i18nify the name. svn path=/trunk/; revision=8644
* Added protection.Jeffrey Stedfast2001-03-125-51/+154
| | | | | | | | | | | | | | | 2001-03-11 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.h: Added protection. * folder-browser-factory.c: Add ActionsEmptyTrash. By the way - should we rename the bonobo verbs now that our menu structure has changed? * mail-callbacks.c (empty_trash): New callback to empty ALL of the trash folders. svn path=/trunk/; revision=8633
* Remove our X-Evolution header before we send. Also don't send messagesJeffrey Stedfast2001-03-123-14/+19
| | | | | | | | | | 2001-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (send_queue_send): Remove our X-Evolution header before we send. Also don't send messages that are marked for deletion. svn path=/trunk/; revision=8630
* Remove our X-Evolution header before we send.Jeffrey Stedfast2001-03-112-35/+44
| | | | | | | | | 2001-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (send_queue_send): Remove our X-Evolution header before we send. svn path=/trunk/; revision=8625
* New async function that will be used for SSL certs later.Jeffrey Stedfast2001-03-105-21/+163
| | | | | | | | | | | | | 2001-03-09 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (mail_get_accept): New async function that will be used for SSL certs later. * session.c (auth_callback): Changed to return a gpointer value. (mail_session_accept_dialog): New function to handle the new _ACCEPT authenticator mode. svn path=/trunk/; revision=8622
* Set the Forward->Quoted callback. Also set the forward->AttachmentJeffrey Stedfast2001-03-097-38/+167
| | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Set the Forward->Quoted callback. Also set the forward->Attachment callback. * mail-view.c (view_forward_msg): Specify FORWARD_ATTACHED. * mail-callbacks.c (forward_attached): Don't call forward_messages() anymore...never really needed to. Just handle it directly. (forward_inlined): Specify FORWARD_INLINE as the flag argument. (forward_quoted): New function sorta like forward_inlined except this forwards the message quoted. * mail-tools.c (mail_tool_forward_message): New function to prepare a message to be forwarded. svn path=/trunk/; revision=8611
* Switched to use e_contact_quick_add_free_form. Removed debugging code,Jon Trowbridge2001-03-093-12/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-popup.c (quick_add_cb): Switched to use e_contact_quick_add_free_form. Removed debugging code, hopefully without introducing any bugs in the process. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Fix bug with commas inside of name/address combos. As long as the comma is inside of quotes, it will be treated as part of the name rather than as a break between addresses. * gui/component/select-names/e-select-names-completion.c (match_nickname): Use e_card_name_to_string for nickname match strings. (match_email): Use e_card_name_to_string for email match strings. (e_select_names_completion_begin): Strip quotes out of query text, so we don't produce malformed sexps. Added William Blake quote easter egg. * contact-editor/e-contact-quick-add.c: Further attempts to fix... mostly unsuccessful. (e_contact_quick_add_free_form): Added. Takes a single string and tries to parse out (using some simple, loose rules) the name and e-mail -- then calls e_contact_quick_add. An attempt to get the computer to automatically Do The Right Thing. * backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm anal. * gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server info for EAddressWidget. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server info for EAddressWidget. * gui/component/addressbook-factory.c (main): Add call to e_address_widget_factory_init. * gui/component/e-address-widget.h: * gui/component/e-address-widget.c: Added. A little widget (and a Bonobo control, BTW) for displaying addresses, with a left-click menu. Used to display addresses in the mail viewer (as embedded GtkHTML objects, replacing the text previously used). Still quite incomplete. 2001-03-08 Jon Trowbridge <trow@ximian.com> * mail-format.c (write_field_row_begin): Added. Table row HTML broken out into its own function. (write_subject): Added. Emits the proper HTML for the subject line. (write_field_to_stream): #ifdef-ed out of existence. (write_address): Take a CamelInternetAddress and spit out an <object> tag with the appropriate <param>s. * mail-display.c (on_object_requested): Check for an "address" object. If found, call... (handle_embedded_address_object): ...this function, which creates an AddressWidget bonobo control and passes in the necessary info. I never really realized just quite how much GtkHTML kicks ass until I figured out how to make this work. svn path=/trunk/; revision=8607
* Removed from cvsJeffrey Stedfast2001-03-095-218/+6
| | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * mail-vtrash.[c,h]: Removed from cvs * Makefile.am: Removed mail-vtrash.[c,h] * main.c: Don't #include "mail-vtrash" anymore. * component-factory.c: Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge around the vtrash type. (owner_set_cb): Don't create the vTrash folder here anymore... * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8604
* Add "vtrash" as a folder type we support. (create_view): Kludgy-kludgeJeffrey Stedfast2001-03-092-3/+7
| | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge around the vtrash type. (owner_set_cb): Don't create the vTrash folder here anymore... svn path=/trunk/; revision=8603
* Call open_msg here so that it does the Right Thing (tm).Jeffrey Stedfast2001-03-093-5/+10
| | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8600
* Override the default init_trash() with the our custom one (sinceJeffrey Stedfast2001-03-092-15/+70
| | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_store_class_init): Override the default init_trash() with the our custom one (since MailLocalStore doesn't let the CamelStore keep a hash of opened folders and instead keepts track of them itself). (init_trash): custom implementation of the init_trash method for MailLocalStores (get_folder): i18nize. (register_folder_registered): Don't add the folder to the vtrash here. svn path=/trunk/; revision=8596
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-082-1/+7
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* Add an action-part widget. (filter_rule_from_mlist): Same here. ThisJeffrey Stedfast2001-03-082-4/+16
| | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-autofilter.c (filter_rule_from_message): Add an action-part widget. (filter_rule_from_mlist): Same here. This should get rid of the problem where people go to create a rule based on a message and forget to fill-in the action part. svn path=/trunk/; revision=8586
* New function to decide if a mime part is an S/MIME v3 signed part.Jeffrey Stedfast2001-03-073-21/+107
| | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_is_smime_v3_signed): New function to decide if a mime part is an S/MIME v3 signed part. (mail_crypto_is_pkcs7_mime): New function to decide if a mime part is an application/pkcs7-mime part (or an application/octet-stream part with application/pkcs7-mime data). svn path=/trunk/; revision=8578
* Move the signal emittion to after the set_menu call so that it actuallyJeffrey Stedfast2001-03-074-1399/+1332
| | | | | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (source_auth_init): Move the signal emittion to after the set_menu call so that it actually works. (transport_type_changed): Updated to manipulate the user/passwd fields for the transport. (construct): Updated to init the user/passwd fields for the transport. (transport_auth_init): Renamed. Also fill in the user/passwd fields if available. svn path=/trunk/; revision=8577
* uh, emacs said it didn't save thisJeffrey Stedfast2001-03-071-1/+1
| | | | svn path=/trunk/; revision=8576
* Disable the NNTP code if NNTP is not enabled. This prevents some runtimeJeffrey Stedfast2001-03-072-1/+6
| | | | | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Disable the NNTP code if NNTP is not enabled. This prevents some runtime warnings... * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8575
* Updated to have a transport auth page.Jeffrey Stedfast2001-03-074-92/+554
| | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8574
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-076-86/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* If the folderinfo has no URL (ie, can't contain messages), don't add it asDan Winship2001-03-072-4/+7
| | | | | | | * mail-ops.c (get_folderinfo_got): If the folderinfo has no URL (ie, can't contain messages), don't add it as a vtrash source. svn path=/trunk/; revision=8569
* Don't access the `active` data member of a GtkToggleButton directly - badJeffrey Stedfast2001-03-066-157/+37
| | | | | | | | | | | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Don't access the `active` data member of a GtkToggleButton directly - bad programming, shame on me. * mail-account-editor.c: Same here. * mail-accounts.c: And here too. * mail-callbacks.c (empty_subject_destroyed): And finally here. * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8560
* Correcty set the mime type for the multipart. Hmmm, still doesn't wrapJeffrey Stedfast2001-03-062-8/+19
| | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8559
* Remove very old camel lock stuff.Not Zed2001-03-036-12/+121
| | | | | | | | | | | | | | | | | | | | | 2001-03-03 Not Zed <NotZed@Ximian.com> * mail-tools.c: Remove very old camel lock stuff. * mail-local.c (register_folder_registered): Add the local folder as a potential vfolder source. * folder-browser.c (got_folder): When we have a new folder, register it as a potential vfolder source. * mail-vfolder.c: Added the source rule to the vfolder_info. (vfolder_refresh): Store the rule in the vfolder info, etc. (vfolder_register_source): Function to register a newly opened folder with us. (vfolder_uri_to_folder): Save the folder in the vfolder_info too. (source_finalise): Handle clenaup when the folder dies. svn path=/trunk/; revision=8534
* Check the container is not NIL before trying to set thje prop.Not Zed2001-03-022-0/+7
| | | | | | | | | 2001-03-02 Not Zed <NotZed@Ximian.com> * mail-mt.c (set_stop): Check the container is not NIL before trying to set thje prop. svn path=/trunk/; revision=8449
* Fixes for changes to search bar. (search_save): Removed. (search_full):Not Zed2001-03-018-290/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_search_menu_activated): Fixes for changes to search bar. (search_save): Removed. (search_full): Removed. (search_full_clicked): Removed. (folder_browser_search_option_items[]): Removed. (folder_browser_search_query_changed): Changed for search bar changes. (folder_browser_clear_search): Removed. * mail-vfolder.c (vfolder_clone_rule): New function to clone a filter/search rule into a matching vfolder rule. * mail-send-recv.c (mail_receive_uri): Setup a timeout for status updates. (build_dialogue): Setup timeout id for status updates. (operation_status_timeout): New function to set the status via a timeout. (receive_done): Remove the timeout handler if we need to. (operation_status): (receive_status): Just update the info, and let the timeout handler update the gui. (do_free_status): (do_show_status): Removed gui thread status message processing. 2001-02-28 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_config_search): New function to configure the FilterRule for the search mechanism. 2001-02-27 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_gui_init): Setup the search bar as a filterbar. (got_folder): Set the whole search bar sensitive or not based on the search capability of the folder. * folder-browser.h: Changed to use efilterbar instead of esearchbar. svn path=/trunk/; revision=8438
* Return TRUE if the user configured his/her settings, else return FALSE.Jeffrey Stedfast2001-02-282-11/+21
| | | | | | | | | | | | 2001-02-27 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (configure_mail): Return TRUE if the user configured his/her settings, else return FALSE. (check_send_configuration): If configure_mail() returns TRUE, then continue otherwise quit. (send_receive_mail): Same. svn path=/trunk/; revision=8407
* Set a "References" header no matter what if we are able to get aJeffrey Stedfast2001-02-272-10/+16
| | | | | | | | | | | | | | | | | | 2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Set a "References" header no matter what if we are able to get a Message-Id. Fixes bug #1583. * mail-accounts.c (mail_delete): Confirm that the user REALLY wants to delete this account. (news_delete): Same. * mail-ops.c (mail_send_message): Changed the product string - will change it to use User-Agent once I get the RFC/DRUMS draft or whatever. Until then I'll stick with User-Agent. svn path=/trunk/; revision=8399
* Confirm thatt he user REALLY wants to delete this account. (news_delete):Jeffrey Stedfast2001-02-272-4/+42
| | | | | | | | | | 2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_delete): Confirm thatt he user REALLY wants to delete this account. (news_delete): Same. svn path=/trunk/; revision=8398
* Changed the product string - will change it to use User-Agent once I getJeffrey Stedfast2001-02-272-2/+8
| | | | | | | | | | 2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Changed the product string - will change it to use User-Agent once I get the RFC/DRUMS draft or whatever. Until then I'll stick with User-Agent. svn path=/trunk/; revision=8395
* Mark deleted messages as "seen" as well so they don't count towards theDan Winship2001-02-273-2/+9
| | | | | | | | | * mail-callbacks.c (delete_msg): Mark deleted messages as "seen" as well so they don't count towards the unread count. * mail-view.c (view_delete_msg): ditto svn path=/trunk/; revision=8392
* Re-add the mail_vtrash_create() hack back in for LocalStores since there'sJeffrey Stedfast2001-02-274-6/+50
| | | | | | | | | | | | | | 2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Re-add the mail_vtrash_create() hack back in for LocalStores since there's no better way to register a vTrash folder on the Local Storage yet. * mail-local.c (register_folder_registered): Add folders to the vTrash folder here since the LocalStore does not let the parent CamelStore class keep it's own hash of the folders. svn path=/trunk/; revision=8391
* New function to force the removal of a given password.Jeffrey Stedfast2001-02-264-39/+82
| | | | | | | | | | | | | | | 2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_forget_password): New function to force the removal of a given password. * openpgp-utils.c (openpgp_decrypt): On failure, forget the passphrase. (openpgp_encrypt): Here too. (cleaned this up a bit too) (openpgp_clearsign): And here. (openpgp_sign): Again... svn path=/trunk/; revision=8390
* Abort if the message is NULL (which is valid if an error occured).Jeffrey Stedfast2001-02-262-0/+10
| | | | | | | | | | 2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_postpone_cb): Abort if the message is NULL (which is valid if an error occured). (composer_send_cb): Same. svn path=/trunk/; revision=8389
* Toss the mail_tool_camel_lock* stuff. Same. Here too.Jeffrey Stedfast2001-02-256-118/+14
| | | | | | | | | | | | | | | | 2001-02-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c: Toss the mail_tool_camel_lock* stuff. * mail-ops.c: Same. * mail-summary.c: Here too. * mail-tools.c (mail_tool_uri_to_folder_noex): Blown away! (mail_tool_filter_get_folder_func): *kapoosh* (mail_tool_camel_lock_up): Same. (mail_tool_camel_lock_down): Same. (mail_tool_set_uid_flags): Don't need this rubbish anymore either. svn path=/trunk/; revision=8384
* This is a text file containing C source code that will eventually be an ↵Iain Holmes2001-02-251-0/+277
| | | | | | | | intelligent netscape importer. Work in Progress. Nothing to see here. svn path=/trunk/; revision=8383
* No longer need to construct the vTrash here. (owner_set_cb): Don't makeJeffrey Stedfast2001-02-253-7/+46
| | | | | | | | | | | | | | 2001-02-24 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): No longer need to construct the vTrash here. (owner_set_cb): Don't make the vTrash for the local store here. * mail-ops.c (add_vtrash_info): New function to add a vTrash folder info to a pre-constructed CamelFolderInfo for use in the get_folder_info async function. svn path=/trunk/; revision=8381
* No longer need to do a vtrash_cleanup() (it also doesn't exist anymore).Jeffrey Stedfast2001-02-247-211/+59
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-23 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): No longer need to do a vtrash_cleanup() (it also doesn't exist anymore). * component-factory.c (mail_load_storages): Updated to use the new vtrash code. (owner_set_cb): Same. * mail-tools.c (mail_tool_uri_to_folder): Update to handle the "vtrash:" url prefix so that we can extract the REAL uri and know to get the trash folder. * mail-vtrash.c (mail_vtrash_add): Add the vTrash folder to the EvolutionStorage. (mail_vtrash_create): Get the store based on the uri (async) and then call mail_trash_add. (vtrash_cleanup): Removed. (vtrash_uri_to_folder): Removed. (vtrash_create): Replaced by mail_vtrash_create() svn path=/trunk/; revision=8367
* New stuff for the importer to create a new folderIain Holmes2001-02-235-6/+55
| | | | svn path=/trunk/; revision=8365
* Come up with a unique store uri for each vtrash (using %p and theJeffrey Stedfast2001-02-232-11/+15
| | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * mail-vtrash.c (create_trash_vfolder): Come up with a unique store uri for each vtrash (using %p and the CamelStore we're gonna place it on). (get_trash_get): Pass in the store so we can use it for %p. svn path=/trunk/; revision=8363
* vfolder/filter on mailing list. Doesn't acutally work right yet.Michael Zucci2001-02-237-57/+114
| | | | | | | | | | | | | | | | | | | | * mail-vfolder.c (vfolder_gui_add_from_mlist): Rule to add mlist vfolder. * mail-autofilter.c (filter_gui_add_for_mailing_list): Removed. (rule_from_mlist): Build a generic match rule from an mlist. (vfolder_rule_from_mlist): Setup the vfolder rule for an mlist. (filter_rule_from_mlist): Setup a filter rule fro an mlist. (filter_gui_add_from_mlist): GUI thingy to do the work. * folder-browser.c (on_right_click): Added vfolder on mailing list to filter menu. (on_right_click): Use header_raw_check_mailign_list instead of mlist magic to get the mailing list name. (filter_mlist): Changed to use new add_from_mlist() call. (vfolder_mlist): New function for vfolder from mlist. svn path=/trunk/; revision=8358
* Only allow downloading if the source is enabled at this time.Not Zed2001-02-233-7/+24
| | | | | | | | | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (build_dialogue): Only allow downloading if the source is enabled at this time. (mail_autoreceive_setup): Check for enabled sources before setting up autodownload. * mail-vtrash.c (get_trash_free): Free store if we have it. (get_trash_got): Move vtrash add into here, so we execute in the right thread. svn path=/trunk/; revision=8354
* Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try toJeffrey Stedfast2001-02-234-2/+93
| | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try to auto-detect which PGP type the binary file is based on the basename (yuck). svn path=/trunk/; revision=8353
* Make op cancellable/report internals. (get_folder_get):Not Zed2001-02-237-31/+267
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * mail-ops.c (create_folder_get): Make op cancellable/report internals. (get_folder_get): (sync_folder_sync): (get_folderinfo_get): Make op cancellable/report internals. * mail-vtrash.c (get_trash_get): Setup the operation registration, and create a pseudo "start/stop" operation. * component-factory.c (owner_set_cb): Make trash creation async. * mail-local.c (register_folder_desc): A description of what we're doing. * mail-mt.c (mail_msg_new): Set status callback to operation_new. (mail_operation_status): Operation status function, proxy messages to main thread, and attempt to present a meaningful ui experience for operations. svn path=/trunk/; revision=8351
* Fixed memory corruption bug.Jeffrey Stedfast2001-02-2311-41/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Fixed memory corruption bug. * mail-format.c (try_inline_pgp_sig): Check to make sure the validity isn't NULL. (handle_multipart_signed): Check for NULL validities. 2001-02-21 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_uri_to_folder): Protect against NULL uri's. * mail-vtrash.c: Do mutex locking on the global hash table - this should clear up some segfaults ;-) * mail-config-druid.c (druid_finish): Set the 'enabled' member of the source to TRUE if the URL exists else set to FALSE. (incoming_type_changed): If the provider chosen is "None" then gray-out the auto-check widgets and the check-settings, otherwise sensitize them. * mail-account-editor.c (construct): Added a few more settings. (apply_changes): Save the new settings. * mail-config.c (service_copy): Updated. (config_read): Read in whether or not the account is enabled. (mail_config_write): Save if the account is enabled or not. svn path=/trunk/; revision=8349
* Updated to reflect changes to the filter-driver code.Jeffrey Stedfast2001-02-232-1/+7
| | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Updated to reflect changes to the filter-driver code. svn path=/trunk/; revision=8347
* Removed, no longer link with libcamelvee. (evolution_mail_LDADD): Ditto.Not Zed2001-02-224-7/+10
| | | | | | | | | | | | | | 2001-02-22 Not Zed <NotZed@Ximian.com> * Makefile.am (CAMEL_OBJS_EXTRA): Removed, no longer link with libcamelvee. (evolution_mail_LDADD): Ditto. * mail-vtrash.c: Moved camel-vee-store header ot camel levle. * mail-tools.c: Moved camel-vee-folder header to camel. svn path=/trunk/; revision=8341
* started hack for progress reporting, which is currently to the console.Not Zed2001-02-224-1/+104
| | | | | | | | | | | | | | | | 2001-02-22 Not Zed <NotZed@Ximian.com> * mail-local.c (local_storage_new_folder_cb): started hack for progress reporting, which is currently to the console. * mail-mt.c (set_stop): Set the stop button sensitivity. (mail_msg_received): enable/disable stop button while we're processing stuff in another thread. * message-list.c (ml_tree_value_at): If our uid entry vanishes before w'ere ready, then make a fake. svn path=/trunk/; revision=8338
* Changed to use PgpValidity.Jeffrey Stedfast2001-02-226-32/+176
| | | | | | | | | | | | | | | | | 2001-02-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_verify): Changed to use PgpValidity. * openpgp-utils.c (openpgp_verify): Return a PgpValidity and set the description as UTF-8 for later use in mail-format.c when writing to GtkHTML. * mail-format.c (try_inline_pgp_sig): Updated to use the new PgpValidity code. (handle_multipart_signed): Updated. svn path=/trunk/; revision=8320
* Fix for api changes to append_mail.Not Zed2001-02-2114-1825/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-21 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (composer_postpone_cb): Fix for api changes to append_mail. * Makefile.am (evolution_mail_SOURCES): Removed mail-threads.[ch]. * mail-threads.[ch]: Removed. * subscribe-dialog.c (subscribe_do_get_store): Chagned to use new thread stuff. This is really getting boring. (subscribe_do_subscribe_folder): Changed to use new thread stuff. Last one at last, phew. * session.c (register_callback): Changed to use new thread stuff. YUCK. I dropped some functionality, now the timeout callback return is ignored, so basically it keeps running till finished. * mail-ops.c (mail_operation_run): Removed, no longer used/needed. (mail_do_append_mail): Changed to use new thread stuff. (mail_do_transfer_messages): ditto. * mail-local.c (local_storage_new_folder_cb): Use new thread stuff, also only run synchronous for this operation. (mail_local_reconfigure_folder): (reconfigure_clicked): Changed to use new mail thread stuff. * mail-config.c (mail_config_check_service): Changed to use new thread stuff. svn path=/trunk/; revision=8314
* Pass NULL, not "/" for @top.Dan Winship2001-02-213-8/+17
| | | | | | | | | | * mail-vtrash.c (get_trash_get): Pass NULL, not "/" for @top. * mail-callbacks.c (create_folders): Make this work with CamelStores where the separator character isn't /. folder_created and folder_deleted are still broken. svn path=/trunk/; revision=8306
* Include the camel-vee-store.h header from the uninstalled copy.Not Zed2001-02-202-1/+6
| | | | | | | | | 2001-02-20 Not Zed <NotZed@Ximian.com> * mail-vtrash.c: Include the camel-vee-store.h header from the uninstalled copy. svn path=/trunk/; revision=8301
* Create vTrash folders for all remote stores as well.Jeffrey Stedfast2001-02-202-0/+8
| | | | | | | | | 2001-02-19 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): Create vTrash folders for all remote stores as well. svn path=/trunk/; revision=8300
* Add the auto-update flag to the folder open flags.Not Zed2001-02-202-1/+7
| | | | | | | | | 2001-02-20 Not Zed <NotZed@Ximian.com> * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag to the folder open flags. svn path=/trunk/; revision=8297
* New handy dandy function to ref and return the vfolder storage (willJeffrey Stedfast2001-02-2012-332/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-19 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (mail_vfolder_get_vfolder_storage): New handy dandy function to ref and return the vfolder storage (will probably be disavowed once I figure out how to get the vTrash folder to show up in the EvolutionLocalStorage). * main.c (main): Call vtrash_cleanup(). * mail-vtrash.c: New file. (vtrash_uri_to_folder): vtrash: URI handler (vtrash_create): Replacement async vtrash function for the old one in mail-ops.c (vtrash_cleanup): Cleanup code - unrefs the cached vtrash folders and free's the hashtable. * Makefile.am: Added mail-vtrash.[c,h]. * mail-tools.c (mail_tool_uri_to_folder): If we have a vtrash: URI, call the vtrash URI handler function rather than continuing on. Yes, I know this is a hack and it needs to be fixed. * mail-ops.c (mail_do_setup_trash): Removed. (mail_trash_get): Removed. * component-factory.c (owner_set_cb): Create the vTrash folder for the LocalStore here. * mail-local.c (get_folder_info): Implement. svn path=/trunk/; revision=8288
* Unref the driver here, in the subthread, so we dont block the gui while itNot Zed2001-02-202-5/+13
| | | | | | | | | | | 2001-02-20 Not Zed <NotZed@Ximian.com> * mail-ops.c (fetch_mail_fetch): Unref the driver here, in the subthread, so we dont block the gui while it sync's all the folders. (fetch_mail_fetched): Rewmoved above code from here. svn path=/trunk/; revision=8278
* Dont do the thaw/freeze set here. (update_folders): "Not Zed2001-02-203-31/+59
| | | | | | | | | | | | | | 2001-02-16 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_status): Dont do the thaw/freeze set here. (update_folders): " * mail-vfolder.c (vfolder_refresh): Setup the virtual 'unmatched' folder by default. (vfolder_uri_to_folder): HAndle UNMATCHED folder specially, it has no explicit sources. svn path=/trunk/; revision=8277
* Not sure it makes any difference, but lets ref the folder while the hashJeffrey Stedfast2001-02-172-6/+14
| | | | | | | | | | 2001-02-16 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (receive_get_folder): Not sure it makes any difference, but lets ref the folder while the hash table is locked rather than after we unlock it. svn path=/trunk/; revision=8260