aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
Commit message (Collapse)AuthorAgeFilesLines
* When saving a draft, attach information about the From: identity viaJon Trowbridge2001-06-091-2/+15
| | | | | | | | | | | | | 2001-06-08 Jon Trowbridge <trow@ximian.com> * e-msg-composer.c (save_draft): When saving a draft, attach information about the From: identity via X-Evolution-Account. This lets us select the correct identity when we edit it later. (e_msg_composer_new_with_message): If the message we are editting is tagged with an account (via X-Evolution-Account), make sure that the composer chooses that account's identity by default. svn path=/trunk/; revision=10161
* Don't use the default charset if the message is US-ASCII.Dan Winship2001-06-091-0/+3
| | | | | | | * e-msg-composer.c (best_charset): Don't use the default charset if the message is US-ASCII. svn path=/trunk/; revision=10157
* just set sig_file field, but don't actualy insert signature, it will beRadek Doulik2001-06-071-2/+1
| | | | | | | | | | | 2001-06-07 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): just set sig_file field, but don't actualy insert signature, it will be done by format menu item callback (e_msg_composer_set_body_text): don't set signature here svn path=/trunk/; revision=10142
* If user is trying to sign his/her message, try first to use the key thatJeffrey Stedfast2001-06-031-29/+78
| | | | | | | | | | | | 2001-06-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): If user is trying to sign his/her message, try first to use the key that they might have provided in their account settings. If that was never set, default to their email address. Also respect their config option to encrypt-to-self. svn path=/trunk/; revision=10103
* Oops. Fix a few compile problems.Jeffrey Stedfast2001-06-011-2/+4
| | | | | | | | 2001-05-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Oops. Fix a few compile problems. svn path=/trunk/; revision=10076
* Fixed up the S/MIME signing/encrypting code to work with the new API.Jeffrey Stedfast2001-06-011-80/+90
| | | | | | | | | 2001-05-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Fixed up the S/MIME signing/encrypting code to work with the new API. svn path=/trunk/; revision=10069
* Add a missing iconv_closeDan Winship2001-05-311-0/+1
| | | | | | * e-msg-composer.c (best_encoding): Add a missing iconv_close svn path=/trunk/; revision=10060
* Use the config-specified default character set (which in turn defaults toDan Winship2001-05-311-308/+261
| | | | | | | | | | | | | | | | | * e-msg-composer.c (build_message): Use the config-specified default character set (which in turn defaults to the locale character set) as the default for encoding non-US-ASCII messages, assuming it works. Fall back to camel_charset_best() if it fails. Also, pick the Content-Transfer-Encoding based on how the data looks in the destination charset, not in UTF8. While I was here, I also refactored a bunch and tried to reduce redundant code. There are still too many places that set the transfer-encoding on the plaintext part though... Also, I think some more cleanliness could happen if the sign/encrypt interfaces returned CamelMultiparts instead of CamelMimeParts. svn path=/trunk/; revision=10058
* (menu_edit_delete_all_cb): be more careful about text color andRadek Doulik2001-05-251-0/+7
| | | | | | style svn path=/trunk/; revision=9965
* Populate the extra_hdr_* arrays with any non-special-case headers.Jeffrey Stedfast2001-05-251-0/+56
| | | | | | | | | | | 2001-05-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Populate the extra_hdr_* arrays with any non-special-case headers. (is_special_header): New convenience function to determine if a header is a "special" header or not. svn path=/trunk/; revision=9963
* new callback (menu_edit_delete_all_cb): set orig to 0 tooRadek Doulik2001-05-241-0/+1
| | | | | | | | | 2001-05-24 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (menu_edit_delete_all_cb): new callback (menu_edit_delete_all_cb): set orig to 0 too svn path=/trunk/; revision=9961
* new callbackRadek Doulik2001-05-241-0/+24
| | | | | | | | 2001-05-24 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (menu_edit_delete_all_cb): new callback svn path=/trunk/; revision=9959
* set orig to 0Radek Doulik2001-05-231-0/+1
| | | | | | | | 2001-05-23 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_sig_file): set orig to 0 svn path=/trunk/; revision=9943
* Draft messages should be marked read.Dan Winship2001-05-181-1/+1
| | | | | | | * e-msg-composer.c (save_draft): Draft messages should be marked read. svn path=/trunk/; revision=9871
* Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt.Jeffrey Stedfast2001-05-171-5/+217
| | | | | | | | | | | | | | | | 2001-05-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt. (e_msg_composer_get_smime_encrypt): new (e_msg_composer_set_smime_encrypt): new (e_msg_composer_get_smime_sign): new (e_msg_composer_set_smime_sign): new (menu_security_smime_sign_cb): new (menu_security_smime_encrypt_cb): new (setup_ui): Setup the UI for S/MIME stuff. svn path=/trunk/; revision=9858
* If we are creating a message with only a single part (ie no attachmentsJeffrey Stedfast2001-05-111-5/+14
| | | | | | | | | | | | 2001-05-10 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): If we are creating a message with only a single part (ie no attachments and we will not be signing/encrypting the part) then `part = CAMEL_MIME_PART(message)` otherwise create a new MIME part and set it's content-object as the message's content-object at a later date. svn path=/trunk/; revision=9749
* Don't wrap content-id with brackets here as it is now done internally inJeffrey Stedfast2001-05-101-5/+3
| | | | | | | | | 2001-05-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_inlined_image): Don't wrap content-id with brackets here as it is now done internally in camel. svn path=/trunk/; revision=9736
* signature editing fixesRadek Doulik2001-05-041-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * signature editing fixes 2001-05-03 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): put signature in 100% width table (delete_old_signature): look only for first flow with signature == 1 (e_msg_composer_new): don't insert <BR> (e_msg_composer_new_with_sig_file): ditto (delete_old_signature): don't delete whole signature paragraph, but just it's content (delete_old_signature): if signature isn't found, insert new empty paragraph to end of document for new signature (e_msg_composer_set_sig_file): delete signature always (e_msg_composer_set_sig_file): don't place signature to the end of document, but place it where previous one was (if there wasn't then new one is appended to the document) 2001-05-02 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): do automagic indenting only when in_signature_insert is FALSE * e-msg-composer.c (e_msg_composer_set_sig_file): do indent-zero before signature inserting (e_msg_composer_set_sig_file): use in_signature_insert flag 2001-05-01 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): set signature to 0 in newly created empty paragraphs (clear_signature): new helper function svn path=/trunk/; revision=9658
* block/unblock redrawRadek Doulik2001-04-261-0/+6
| | | | | | | | | 2001-04-25 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): block/unblock redraw svn path=/trunk/; revision=9564
* signature changingRadek Doulik2001-04-251-55/+102
| | | | | | | | | | | | | | | | | | | | | | | | | * signature changing 2001-04-25 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): reflect object data type change * e-msg-composer.c (get_sig_file_content): renamed from get_signature (get_signature_html): new helper function, uses get_sig_file_content (set_editor_text): removed signature parameters (from_changed_cb): new signal handler, sets signature by identity change (delete_old_signature): new function, deletes old signature from the document (e_msg_composer_set_sig_file): new method, set's signature filename (e_msg_composer_mark_text_orig): removed (obsolete) * e-msg-composer-hdrs.c: added signal FROM_CHANGED svn path=/trunk/; revision=9557
* Set window_icon of the Composer window to be compose-message.pngDuncan Mak2001-04-221-1/+2
| | | | svn path=/trunk/; revision=9489
* Use the mail-crypto pgp-mime wrappers. (build_message):Jeffrey Stedfast2001-04-131-10/+10
| | | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the mail-crypto pgp-mime wrappers. (build_message): s/CAMEL_PGP_HASH_TYPE_SHA1/CAMEL_CIPHER_HASH_SHA1 svn path=/trunk/; revision=9285
* Use the mail-crypto pgp-mime wrappers.Jeffrey Stedfast2001-04-131-3/+3
| | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the mail-crypto pgp-mime wrappers. svn path=/trunk/; revision=9268
* Change into the user's home dir before opening the filesel.Jeffrey Stedfast2001-04-121-2/+2
| | | | | | | | | 2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Change into the user's home dir before opening the filesel. svn path=/trunk/; revision=9242
* Replace #include <gtk/gtk.h> Replace #include <gnome.h> Remove #includeKjartan Maraas2001-03-301-8/+17
| | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-icon-list.c: Replace #include <gtk/gtk.h> * e-msg-composer-attachment-bar.c: Replace #include <gnome.h> * e-msg-composer-attachment-bar.h: Remove #include <gnome.h> * e-msg-composer-attachment.c: Remove #include <gnome.h> * e-msg-composer-attachment.h: Same here. * e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h> * e-msg-composer-hdrs.h: Replace #include <gnome.h> * e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h> * e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h> * e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h> * evolution-composer.c: Replace #include <bonobo.h> * listener.c: Same here. svn path=/trunk/; revision=9023
* Use the drafts folder specified by the account, if possible. Also, fix theDan Winship2001-03-291-4/+54
| | | | | | | | * e-msg-composer.c (save_draft): Use the drafts folder specified by the account, if possible. Also, fix the setting of "send_html" after saving the draft in case the user plans to keep editting... svn path=/trunk/; revision=8992
* set the FormatHTML property on the editor to let it know the mode.Larry Ewing2001-03-281-0/+5
| | | | | | | | | | | 2001-03-27 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. (e_msg_composer_construct): set the FormatHTML property at construct time. svn path=/trunk/; revision=8982
* set the FormatHTML property on the editor to let it know the mode.Larry Ewing2001-03-271-0/+4
| | | | | | | | | 2001-03-27 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. svn path=/trunk/; revision=8974
* Added view_replyto member.Jeffrey Stedfast2001-03-131-18/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.h: Added view_replyto member. * e-msg-composer.c (e_msg_composer_get_visible_flags): Find out if we want to view the Reply-To header. (e_msg_composer_set_view_replyto): A new function to set the state of the replyto header. (menu_view_replyto_cb): Callback for setting the ReplyTo state. (set_config): Make static. (setup_ui): Setup the ReplyTo bonobo stuff. (load_from_property_bag): More defaults for the ReplyTo, yay. (load_from_gnome_config): Again... (e_msg_composer_get_view_bcc): Implemented. (e_msg_composer_get_view_cc): Implemented. (e_msg_composer_get_view_from): Implemented. (e_msg_composer_get_view_replyto): Implemented. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to_entry): New function, yay. (e_msg_composer_hdrs_get_reply_to): Another new function. (e_msg_composer_hdrs_set_reply_to): Yet another new function... (create_headers): Create the reply-to header. (attach_headers): Attach the reply_to. (headers_set_visibility): Set the reply_to visibility. (e_msg_composer_hdrs_to_message): Set the message's reply-to here based on the user-set reply-to header. svn path=/trunk/; revision=8657
* New function. Used to store integer values into the configuration engine.Miguel de Icaza2001-03-081-59/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-06 Miguel de Icaza <miguel@ximian.com> * e-msg-composer.c (set_config): New function. Used to store integer values into the configuration engine. Handles the case of Bonobo-conf being installed, or falls back to gnome_config. * e-msg-composer-hdrs.c (add_header): Renamed to be header_new_recipient(). Now we take care of the other cases in create_headers, which is a lot nicer now. (create_optionmenu): Removed extra "name" argument which was not being used anyways (the only arg passed was From:). (init): Removed all the redundant NULL initialization by using nice g_new0 (create_headers): New function, much cleaner. Use of Pair structure everywhere instead of individual widgets to keep track of which ones are visible and which ones are not. * e-msg-composer.c (setup_ui): Handle ViewFrom and ViewBCC commands. (menu_view_bcc_cb, menu_view_from_cb): New functions that implement the features described. (menu_format_html_cb): Removed unrequired test, as e_msg_composer_set_send_html already optimizes the case of the state being the same. (menu_security_pgp_encrypt_cb): Remove redundant code. (menu_security_pgp_sign_cb): ditto. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-message-composer.xml: Reorder menus to be File, Edit, View, Insert, Format (instead of File, Edit, Format, View, Insert). Add View/From Field and View/From BCC Add Insert/File. Add File/Send menu item. Change the look to follow the "mailer" look (thiner display). svn path=/trunk/; revision=8590
* Use mail_append_mail to save to drafts instead of custom thread handler.Not Zed2001-02-211-76/+33
| | | | | | | | | | 2001-02-21 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (menu_file_save_draft_cb): (exit_dialog_cb): Use mail_append_mail to save to drafts instead of custom thread handler. svn path=/trunk/; revision=8313
* Handle exceptions a little nicer and pop up a nice GnomeDialog with theJeffrey Stedfast2001-02-201-8/+23
| | | | | | | | | | | | 2001-02-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Handle exceptions a little nicer and pop up a nice GnomeDialog with the error message - also, don't return a CamelMimeMessage if it fails to sign/decrypt because we want to let the user decide what to do based on the error message he/she gets. svn path=/trunk/; revision=8296
* If @account_name is NULL, pick the default account rather than giving aDan Winship2001-02-161-1/+2
| | | | | | | | | | | | * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): If @account_name is NULL, pick the default account rather than giving a g_warning. * e-msg-composer.c (e_msg_composer_set_headers): Note in the doc comment that @from can be NULL if you want the default account (since there is code that expects this). svn path=/trunk/; revision=8243
* Updated. We might want to change the corba interface for this to allowJeffrey Stedfast2001-02-111-3/+8
| | | | | | | | | | | | | | | 2001-02-10 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (impl_Composer_set_headers): Updated. We might want to change the corba interface for this to allow setting the from-address as well. * e-msg-composer.c (e_msg_composer_new_with_message): Updated. (e_msg_composer_set_headers): Now takes a 'From' argument so that we can try to pre-determine the account the user will want to send from. svn path=/trunk/; revision=8165
* (Moving the flag for has_changed from the Hdrs to the Composer itself.Jason Leach2001-01-261-2/+53
| | | | | | | | | | | | | | | | | | | | | | 2001-01-25 Jason Leach <jasonleach@usa.net> (Moving the flag for has_changed from the Hdrs to the Composer itself. Providing public methods to set/unset a composer as changed. Adding attachments now flags the composer as changed) * e-msg-composer.c (e_msg_composer_unset_changed): New function. (e_msg_composer_set_changed): New function. * e-msg-composer.c (hdrs_changed_cb): Callback to the new signal, uses the new composer_set_changed. (attachment_bar_changed_cb): Add a call to the new _set_changed. * e-msg-composer-hdrs.c (class_init): New signal "hdrs_changed" to tell the parent composer that any of the headers have changed. (addressbook_entry_changed): emit the new signal here. (entry_changed): And here. svn path=/trunk/; revision=7818
* New callback. (menu_security_pgp_sign_cb): Another new callback.Jeffrey Stedfast2001-01-251-8/+72
| | | | | | | | | | | | | | | 2001-01-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (menu_security_pgp_encrypt_cb): New callback. (menu_security_pgp_sign_cb): Another new callback. (setup_ui): Added initialization for the PGP sign and encrypt bonobo menu items. (e_msg_composer_set_pgp_encrypt): Change the Bonobo UI name to SecurityPGPEncrypt. (e_msg_composer_set_pgp_sign): Change the Bonobo UI name to SecurityPGPSign. svn path=/trunk/; revision=7793
* Fixed some memory leaks dealing with content-type temp strings. AlsoJeffrey Stedfast2001-01-221-17/+84
| | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Fixed some memory leaks dealing with content-type temp strings. Also implemented code to sign and/or encrypt the message if the user has specified that it should. svn path=/trunk/; revision=7688
* Updated to reflect changes to e_msg_composer_hdrs_get_from().Jeffrey Stedfast2001-01-181-2/+2
| | | | | | | | | | | | | | | | | 2001-01-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Updated to reflect changes to e_msg_composer_hdrs_get_from(). * e-msg-composer-hdrs.c (set_recipients): Don't do anymore utf8 conversions, the widget already does this (or should unless there is brokenness). (e_msg_composer_hdrs_get_from): Return a CamelInternetAddress like we should. (e_msg_composer_hdrs_to_message): Update to reflect changes made the the above function. svn path=/trunk/; revision=7614
* (Bug #1192: Set the Composer window title to something useful)Jason Leach2001-01-181-1/+20
| | | | | | | | | | | | | | | | | | | 2001-01-17 Jason Leach <jasonleach@usa.net> (Bug #1192: Set the Composer window title to something useful) * e-msg-composer.c (e_msg_composer_construct): Connect up the new signal here. (subject_changed_cb): Set the composer window title to the subject as it's changed, or if it goes blank make it the default "Compose a message". * e-msg-composer-hdrs.c (class_init): Create a new signal "subject_changed". (entry_changed): Emit the signal here when the subject entry is changed. svn path=/trunk/; revision=7610
* Use the to/cc/bcc addresses insted of just the to.JP Rosevear2001-01-181-2/+2
| | | | | | | | | 2001-01-17 JP Rosevear <jpr@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Use the to/cc/bcc addresses insted of just the to. svn path=/trunk/; revision=7581
* publicate mark_orig_text (set_editor_text): don't call mark_orig_text, letRadek Doulik2001-01-171-4/+2
| | | | | | | | | | 2001-01-16 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (e_msg_composer_mark_text_orig): publicate mark_orig_text (set_editor_text): don't call mark_orig_text, let it for reply svn path=/trunk/; revision=7543
* Call set_from_account which means we no longer have to do all the crapJeffrey Stedfast2001-01-131-8/+28
| | | | | | | | | | | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (build_message): Call set_from_account which means we no longer have to do all the crap involved in formatting strings into an internet-address. (e_msg_composer_get_preferred_account): New access function. * e-msg-composer-hdrs.c (add_header): case COMBOBOX has changed to OPTIOMENU. (create_optionmenu): Update to use an optionmenu of accounts. (from_changed): New callback for the From optionmenu. (setup_headers): s/COMBOBOX/OPTIONMENU (init): Set the account and from_options to NULL. (e_msg_composer_hdrs_get_from): Updated. (destroy): free the from_options. (e_msg_composer_hdrs_set_from_address): Renamed from set_from because it no longer takes a string arg but rather an account arg. svn path=/trunk/; revision=7458
* Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOXMiguel de Icaza2001-01-121-50/+0
| | | | | | | | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * e-msg-composer-hdrs.c (add_header): Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOX and the HEADER_ADDRBOOK are a ComboBox and a remote Bonobo control respectively. * evolution-composer.c (get_object): Move getObject functionality here from e-msg-composer.c svn path=/trunk/; revision=7441
* Add an ItemContainer Bonobo interface to allow client applications toMiguel de Icaza2001-01-121-1/+51
| | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * evolution-composer.c (evolution_composer_construct): Add an ItemContainer Bonobo interface to allow client applications to locate the Message Composer component. svn path=/trunk/; revision=7416
* New callback to save draft. Fixes bug #1045.Jeffrey Stedfast2001-01-111-0/+14
| | | | | | | | | 2001-01-11 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (menu_file_save_draft_cb): New callback to save draft. Fixes bug #1045. svn path=/trunk/; revision=7379
* Removed more UNSAFE stuff. Maybe we should kill this macro, and haveMiguel de Icaza2001-01-101-10/+10
| | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * e-msg-composer.c: Removed more UNSAFE stuff. Maybe we should kill this macro, and have people that want these broken things define their own macros. svn path=/trunk/; revision=7359
* If the headers have changed, then continue with the prompt else justJeffrey Stedfast2001-01-041-16/+20
| | | | | | | | | | | | | 2001-01-03 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (do_exit): If the headers have changed, then continue with the prompt else just destroy the window. * e-msg-composer-hdrs.c (init): Initialize has_changed to FALSE. (entry_changed): New callback to set the value of has_changed. (add_header): Attach the "changed" signal. svn path=/trunk/; revision=7234
* Use CamelContentType instead of GMimeContentField.Dan Winship2000-12-291-8/+8
| | | | | | | | | | | | | * e-msg-composer.c (handle_multipart_alternative, handle_multipart, e_msg_composer_new_with_message): Use CamelContentType instead of GMimeContentField. * e-msg-composer-attachment.c (e_msg_composer_attachment_edit): * e-msg-composer-attachment-bar.c (update, attach_to_multipart): Use CamelContentType, and use the header_content_type_* functions rather than operating on the structure by hand. svn path=/trunk/; revision=7188
* New function to get whether or not to encrypt the message.Jeffrey Stedfast2000-12-161-3/+98
| | | | | | | | | | | | | | 2000-12-15 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_get_pgp_encrypt): New function to get whether or not to encrypt the message. (e_msg_composer_set_pgp_encrypt): New function to set encryption. (e_msg_composer_get_pgp_sign): New function to get whether or not to sign the message. (e_msg_composer_set_pgp_sign): New function to set pgp_sign. (init): Initialize pgp_sign and pgp_encrypt to FALSE. svn path=/trunk/; revision=7058
* Don't convert the utf-8 string to a gtkstring because the widget expectsJeffrey Stedfast2000-12-131-1/+2
| | | | | | | | | | 2000-12-12 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (set_entry): Don't convert the utf-8 string to a gtkstring because the widget expects to get a utf-8 string. svn path=/trunk/; revision=6960
* added warnings (prepare_engine): updated toRadek Doulik2000-12-081-9/+12
| | | | | | | | | | | | 2000-12-07 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): added warnings (prepare_engine): updated to IDL:GNOME/GtkHTML/Editor/Engine:1.0 * Makefile.am: renamed HTMLEditor* to Editor*, added Editor-common.c: $(HTML_EDITOR_GENERATED) rule svn path=/trunk/; revision=6838
* Use camel to construct the list of recipients rather than justJeffrey Stedfast2000-12-061-0/+27
| | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (add_recipients): Use camel to construct the list of recipients rather than just strchr(recips, ',') which is very prone to errors. svn path=/trunk/; revision=6802
* return NULL if we can't create a view.Michael Meeks2000-12-051-2/+2
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* update namespaceRadek Doulik2000-11-161-1/+1
| | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): update namespace svn path=/trunk/; revision=6583
* updates for HTMLEditor API changesRadek Doulik2000-11-161-8/+10
| | | | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * updates for HTMLEditor API changes * e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h> svn path=/trunk/; revision=6582
* e_msg_composer_guess_mime_type renamed and movedRadek Doulik2000-11-151-3/+26
| | | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * e-msg-composer.h: e_msg_composer_guess_mime_type renamed and moved mime_guess_type_from_file_name from camel as it uses VFS svn path=/trunk/; revision=6579
* updated to HTMLEditor API changesRadek Doulik2000-11-141-1/+1
| | | | | | | | | | 2000-11-14 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c: updated to HTMLEditor API changes * listener.c: updated to HTMLEditor API changes svn path=/trunk/; revision=6567
* set the HTML charset to utf-8 for all the html message parts.Larry Ewing2000-11-111-10/+19
| | | | | | | | | | | 2000-11-10 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): set the HTML charset to utf-8 for all the html message parts. (build_message): make sure we set the proper encoding on the html part now that it may contain utf-8 characters svn path=/trunk/; revision=6534
* (get_signature): added in_html arg, it tells if we should use HTMLRadek Doulik2000-11-091-22/+37
| | | | | | | | | signature (set_editor_text): try to use HTML signature (e_msg_composer_new_with_sig_file): added send_html arg to be able to use HTML signature svn path=/trunk/; revision=6510
* new function (destroy): use e_msg_composer_clear_inlined_table, destroyRadek Doulik2000-11-081-13/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-08 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (e_msg_composer_clear_inlined_table): new function (destroy): use e_msg_composer_clear_inlined_table, destroy inlined_images hash table * listener.c (resolve_image_url): don't add inlined images to attachement bar * e-msg-composer.c (add_inlined_images): new function, adds inlined images to multipart (add_inlined_image): helper function, adds one image to multipart (build_message): store HTML messages with inlined images to multipart/related * e-msg-composer-attachment-bar.c (add_from_file): removed content_id arg (e_msg_composer_attachment_bar_attach): likewise * e-msg-composer-attachment.c (e_msg_composer_attachment_new): removed content_id arg svn path=/trunk/; revision=6507
* set the content type on the plain part of outgoing messages.Larry Ewing2000-11-071-6/+36
| | | | | | | | | | | | 2000-11-06 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): set the content type on the plain part of outgoing messages. (best_content): a helper function to get the best content type for the attachment. This should probably use the helper functions in the future. svn path=/trunk/; revision=6423
* use inline images hash tableRadek Doulik2000-11-041-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-04 Radek Doulik <rodo@helixcode.com> * listener.c (resolve_image_url): use inline images hash table * e-msg-composer.c (init): create inlined images hash table (destroy): destroy it (clear_inline_images): helper function, used from g_hash_table_foreach_remove to destroy one inline image record * e-msg-composer.h: added hash table with inlined images url -> cid info 2000-11-03 Radek Doulik <rodo@helixcode.com> * listener.c (impl_event): updated for API changed implemented image_url event (resolve_image_url): new helper function, attaches image to mail and returns new (resolved) url pointing to mime component * e-msg-composer-attachment.c (e_msg_composer_attachment_new): added conponent_id parameter * e-msg-composer-attachment-bar.c (e_msg_composer_attachment_bar_attach): added parameter content_id (add_from_file): likewise svn path=/trunk/; revision=6390
* The big api rename ...Michael Meeks2000-11-021-6/+6
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Don't create the To, Cc, and Bcc lists based only on the address, use bothJeffrey Stedfast2000-11-021-9/+27
| | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Don't create the To, Cc, and Bcc lists based only on the address, use both the name and address and camel_address_encode() them. svn path=/trunk/; revision=6326
* better reply editing, uses new HTMLEditor::Engine,Listener interfacesRadek Doulik2000-11-011-9/+70
| | | | | | | | | | | | | | | | | | | | | | | | you need fresh CVS gtkhtml to try that 2000-10-31 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): new function, tries prepare editor engine (mark_orig_text): marks original text in editor (set_editor_text): call mark_orig_text (create_composer): call prepare_engine * Makefile.am (IDL_GENERATED): added HTMLEditor generated files to IDL_GENERATED ($(IDL_GENERATED)): generate also files from HTMLEditor.idl (libcomposer_la_SOURCES): added listener.[ch] * e-msg-composer.h: added editor_engine and editor_listener to EMsgComposer * listener.[ch]: new files, implementation of HTMLEditor::Listener svn path=/trunk/; revision=6292
* Fixed my not-quite-right logic so that we don't accidently set the bodyJeffrey Stedfast2000-10-281-25/+82
| | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Fixed my not-quite-right logic so that we don't accidently set the body contents using a plain text attachment instead of the actual body of the message :-) svn path=/trunk/; revision=6236
* Populate the composer with any attachments.Jeffrey Stedfast2000-10-261-122/+182
| | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Populate the composer with any attachments. svn path=/trunk/; revision=6197
* lots of i18n fixesDan Winship2000-10-241-4/+4
| | | | svn path=/trunk/; revision=6143
* Old cruft. Remove.Dan Winship2000-10-241-1/+0
| | | | | | | | | | | | | | * e-msg-composer-address-dialog.*, e-msg-composer-address-entry.*: Old cruft. Remove. * Makefile.am: Update for removed files. * e-msg-composer-hdrs.c: Remove e-msg-composer-address-entry.h include. * e-msg-composer.c: Remove e-msg-composer-address-dialog.h include svn path=/trunk/; revision=6130
* kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct):Michael Meeks2000-10-191-202/+81
| | | | | | | | | | | | | | | | | 2000-10-19 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (create_menubar_file, create_menubar_edit), (create_menubar_format, create_menubar_view, create_menubar): kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct): hook in. (menu_format_html_cb): update. (menu_view_attachments_activate_cb): ditto. (destroy): upd. (e_msg_composer_construct): upd. (e_msg_composer_set_send_html): upd. svn path=/trunk/; revision=6018
* If the body text was NULL, then don't bother turning it into HTMLJeffrey Stedfast2000-10-181-10/+11
| | | | | | | | | | 2000-10-17 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): If the body text was NULL, then don't bother turning it into HTML (besides, it causes a nasty segfault). svn path=/trunk/; revision=5971
* stop using format_text, gtkhtml handles this now. (format_text): functionLarry Ewing2000-10-131-84/+12
| | | | | | | | | | 2000-10-13 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): stop using format_text, gtkhtml handles this now. (format_text): function removed. svn path=/trunk/; revision=5896
* check to make sure we get a valid response from when calling get_text andLarry Ewing2000-10-111-2/+14
| | | | | | | | | | 2000-10-10 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): check to make sure we get a valid response from when calling get_text and get_html otherwise bail out of the build. svn path=/trunk/; revision=5823
* If the body of the message has 8-bit chars, set theJeffrey Stedfast2000-10-031-16/+27
| | | | | | | | | | 2000-10-02 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (build_message): If the body of the message has 8-bit chars, set the Content-Transfer-Encoding type to the best encoding. svn path=/trunk/; revision=5662
* The big eye-candy commit.Iain Holmes2000-10-011-1/+46
| | | | | | Make thumbnails out of image attachments. svn path=/trunk/; revision=5648
* Check to see if the body has 8bit chars, if so - set theJeffrey Stedfast2000-09-291-1/+20
| | | | | | | | | | 2000-09-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (build_message): Check to see if the body has 8bit chars, if so - set the Content-Transfer-Encoding to 8bit. Addresses Bugzilla bug #652. svn path=/trunk/; revision=5623
* fix typo in tooltip. fix accelerator for "Save as" to be different fromDan Winship2000-09-261-1/+1
| | | | | | | | | * e-msg-composer-hdrs.c (setup_headers): fix typo in tooltip. * e-msg-composer.c (create_menubar_file): fix accelerator for "Save as" to be different from "Save". (Both problems pointed out by menthos@menthos.com.) svn path=/trunk/; revision=5570
* Updated to handle FIFO streams.Jeffrey Stedfast2000-09-251-31/+18
| | | | | | | | | 2000-09-24 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (get_signature): Updated to handle FIFO streams. svn path=/trunk/; revision=5563
* Don't g_error out if the html-editor-control fails. (create_composer): NewDan Winship2000-09-191-60/+55
| | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_construct): Don't g_error out if the html-editor-control fails. (create_composer): New internal function to create and construct a msg_composer and pop up an error message if it fails. (e_msg_composer_new, e_msg_composer_new_with_sig_file, e_msg_composer_new_with_message, e_msg_composer_new_from_url): Use create_composer, return if it fails, change return type to EMsgComposer *. svn path=/trunk/; revision=5501
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-7/+9
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Fix the accelerator for the "Format" menu so that it doesn't conflictEttore Perazzoli2000-09-061-1/+1
| | | | | | with that of the "File" menu. svn path=/trunk/; revision=5195
* Applied Jesse's patch that sets the composer's sig_fileJeffrey Stedfast2000-09-041-25/+27
| | | | | | | | | 2000-09-04 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): Applied Jesse's patch that sets the composer's sig_file svn path=/trunk/; revision=5190
* This needs to return a const char * and not a char *, because we're notJeffrey Stedfast2000-09-021-50/+66
| | | | | | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_get_sig_file): This needs to return a const char * and not a char *, because we're not actually allocating memory here. (create_menubar_file): Changed "Send" to "Send Now" and added "Send Later" (menu_file_send_later_cb): New callback that emits the POSTPONE signal (equivalent to "Send Later" svn path=/trunk/; revision=5177
* This needs to return a const char * and not a char *, because we're notJeffrey Stedfast2000-09-021-1/+1
| | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_get_sig_file): This needs to return a const char * and not a char *, because we're not actually allocating memory here. svn path=/trunk/; revision=5173
* Always request to import the HTML version if at all possible so that weJeffrey Stedfast2000-08-291-4/+2
| | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Always request to import the HTML version if at all possible so that we maintain formatting and other nifty stuff :-) svn path=/trunk/; revision=5085
* Set the "From" address in the CamelMimeMessage. Also updated to useJeffrey Stedfast2000-08-291-16/+32
| | | | | | | | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Set the "From" address in the CamelMimeMessage. Also updated to use get_subject to both make our lives easier and prepare for using UTF8 (e_msg_composer_hdrs_get_subject): Updated to behave similarly to get_from and return allocated memory (it will have to return allocated memory once it's converted to use UTF8 anyways) * e-msg-composer.c (setup_save_draft): Always set composer->send_html = TRUE so that formatting is preserved. svn path=/trunk/; revision=5084
* kill using_oaf assertion.Michael Meeks2000-08-121-1/+1
| | | | | | | | | | | | 2000-08-12 Michael Meeks <michael@helixcode.com> * main.c (main): kill using_oaf assertion. 2000-08-12 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): get_text not get_txt. svn path=/trunk/; revision=4770
* Check nrow, not srow.JP Rosevear2000-08-121-3/+1
| | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (news_edit_clicked): Check nrow, not srow. svn path=/trunk/; revision=4738
* Remove unneeded e-setup.h includeDan Winship2000-08-111-1/+0
| | | | | | * e-msg-composer.c: Remove unneeded e-setup.h include svn path=/trunk/; revision=4709
* Made asyncJeffrey Stedfast2000-08-111-57/+82
| | | | | | | | 2000-08-10 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (exit_dialog_cb): Made async svn path=/trunk/; revision=4698
* Workaround Zucchi's new append_messagePeter Williams2000-08-111-4/+35
| | | | svn path=/trunk/; revision=4693
* Merge with camel-async.Peter Williams2000-08-111-8/+8
| | | | svn path=/trunk/; revision=4687
* Fixed some warnings.Christopher James Lahey2000-08-101-2/+2
| | | | | | | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-msg-composer-address-dialog.c: Fixed some warnings. * e-msg-composer-hdrs.c: Switched the composer to use an EEntry for the subject field. * e-msg-composer.c: Changed the non scaling objects in this vbox to be FALSE, FALSE instead of FALSE, TRUE. svn path=/trunk/; revision=4675
* Modified to allow dropdown entry-boxes as well (for headers like From:)Jeffrey Stedfast2000-08-101-9/+9
| | | | | | | | | | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (add_header): Modified to allow dropdown entry-boxes as well (for headers like From:) (setup_headers): Modified to use the correct enum type. (create_dropdown_entry): New convenience function to add a drop-down combo box and fill it in with identities (init): Set from_entry to NULL (e_msg_composer_hdrs_get_from): New convenience function to get the text in the From widget in the composer (e_msg_composer_hdrs_set_from): New convenience function to set the From header in the composer svn path=/trunk/; revision=4673
* s/strncasecmp/g_strncasecmp - this will help later with building onJeffrey Stedfast2000-08-081-6/+6
| | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help later with building on different platforms :-) svn path=/trunk/; revision=4573
* Added code to set the body text based on the CamelMimeMessage.Jeffrey Stedfast2000-08-071-23/+32
| | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Added code to set the body text based on the CamelMimeMessage. (set_editor_text): Use lowercase html tags... svn path=/trunk/; revision=4565
* Prompt the user to save their composition in Drafts. (set_editor_text):Jeffrey Stedfast2000-08-071-12/+137
| | | | | | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (do_exit): Prompt the user to save their composition in Drafts. (set_editor_text): Uhm, use "-- \n" not "--\n" because the space is called for in the standard (e_msg_composer_new_with_message): New convenience function that takes a CamelMimeMessage as an argument. This will be useful when we code the ability to resume the editing of a message draft (like in the Drafts folder). svn path=/trunk/; revision=4562
* Constify paramJP Rosevear2000-08-021-3/+3
| | | | | | | | | | | | 2000-08-01 JP Rosevear <jpr@helixcode.com> * e-msg-composer.h: Constify param * e-msg-composer.c (get_signature): Constify param (set_editor_text): ditto (e_msg_composer_new_with_sig_file): ditto svn path=/trunk/; revision=4458
* Typo fixPeter Williams2000-08-011-1/+1
| | | | svn path=/trunk/; revision=4447
* New function to create composer with sig file set.JP Rosevear2000-07-291-10/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-28 JP Rosevear <jpr@arcavia.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): New function to create composer with sig file set. (e_msg_composer_get_sig_file): New function to get sig file (e_msg_composer_set_sig_file): New function to set sig file 2000-07-29 JP Rosevear <jpr@arcavia.com> * mail-format.c (mail_generate_reply): Use new mail config stuff * component-factory.c (create_imap_storage): Use new mail config stuff (create_news_storage): ditto * evolution-mail.schemas: Gconf schema for evolution mail * mail-config-druid.glade: Gladification of config druid * mail-config.h: New header with config structs. * mail-config.c: Rewrite of GUI configuration tools to use new config structs. Stores multiple identities and sources now. Still only uses the first one found. (mail_config_fetch): Returns MailConfig struct to caller for configuration queries. (mail_config): Renamed function to show mail config dialog. (mail_config_druid): Renamed function to show mail config druid. * mail-ops.c (create_msg_composer): Use e_msg_composer_new_with_sig_file and new config stuff (check_configured): Use new config stuff (fetch_mail): ditto (composer_send_cb): ditto svn path=/trunk/; revision=4413
* add textual exception printout. (set_editor_text): close pre tags & checkMichael Meeks2000-07-261-3/+8
| | | | | | | | | | | | | | | | | | | | 2000-07-25 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): add textual exception printout. (set_editor_text): close pre tags & check for pre-existing sig separator. 2000-07-25 Michael Meeks <michael@helixcode.com> * mail-config.c (create_identity_page): set default signature to ~/.signature 2000-07-25 Michael Meeks <michael@helixcode.com> * backend/ebook/load-pine-addressbook.c (book_open_cb): check we opened ok. svn path=/trunk/; revision=4330
* Update the insert text file command. Still waiting on GtkHtml.Peter Williams2000-07-251-41/+39
| | | | svn path=/trunk/; revision=4315
* Remove GOAD support. (create_editor): Try to give a more helpful errorDan Winship2000-07-251-5/+1
| | | | | | | | * e-msg-composer.c: Remove GOAD support. (create_editor): Try to give a more helpful error message when failing to load the editor control. svn path=/trunk/; revision=4300
* Add a "Send HTML mail" toggle in the message composer.Ettore Perazzoli2000-07-231-73/+143
| | | | svn path=/trunk/; revision=4284
* Change the message composer to use BonoboUIHandler directly instead ofEttore Perazzoli2000-07-231-178/+165
| | | | | | translated GnomeUIInfo. svn path=/trunk/; revision=4282
* Fix bug #345: Command to show/hide attachments in the composerPeter Williams2000-07-131-4/+183
| | | | svn path=/trunk/; revision=4117
* Make the wm close button in the message composer work the same asEttore Perazzoli2000-07-111-14/+40
| | | | | | "File/Close". svn path=/trunk/; revision=4040
* Don't load "" into the editor, because it will cause the editor componentDan Winship2000-07-101-1/+4
| | | | | | | * e-msg-composer.c (set_editor_text): Don't load "" into the editor, because it will cause the editor component to g_warning. svn path=/trunk/; revision=4026
* Create an empty "Edit" menu for the editor control to insert itself into.Dan Winship2000-07-091-0/+5
| | | | | | | * e-msg-composer.c (create_menubar): Create an empty "Edit" menu for the editor control to insert itself into. svn path=/trunk/; revision=3985
* Added code for initializing the values of the fields in the messageEttore Perazzoli2000-07-081-0/+2
| | | | | | composer. Unfortunately the ESelectNames crashes when you do this... svn path=/trunk/; revision=3975
* changed "Exit" to "Close" in the File menuJeffrey Stedfast2000-07-011-10/+6
| | | | svn path=/trunk/; revision=3838
* Changed "Exit" to "Close" in the File menu. This is a little moreJeffrey Stedfast2000-06-301-9/+3
| | | | | | | | | | 2000-06-29 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c: Changed "Exit" to "Close" in the File menu. This is a little more intuitive as it does not suggest exiting the application, just says "close this window" svn path=/trunk/; revision=3814
* Implement "Save"/"Save As...".Ettore Perazzoli2000-06-271-10/+72
| | | | svn path=/trunk/; revision=3739
* I18N the message composer's title bar. Don't install header files.Ettore Perazzoli2000-06-171-30/+95
| | | | | | | | | Initial implementation of the "Open" and "Save as" commands (not really tested/finished, I am just syncing the tree before leaving). Put the cursor on the "To:" field when the message composer is shown. Set the correct shadow type in the scroll frame. svn path=/trunk/; revision=3603
* Don't line-wrap lines that start with ">".Dan Winship2000-06-141-2/+3
| | | | | | | * e-msg-composer.c (format_text): Don't line-wrap lines that start with ">". svn path=/trunk/; revision=3569
* implemented a temp hack for the imap fetch by uid codeJeffrey Stedfast2000-06-131-18/+8
| | | | | | (works something like the POP code, should be fixed to work like we originally planned) svn path=/trunk/; revision=3540
* If a paragraph starts with TABs, indent the whole paragraph to that tabDan Winship2000-06-131-12/+28
| | | | | | | * e-msg-composer.c (format_text): If a paragraph starts with TABs, indent the whole paragraph to that tab level. svn path=/trunk/; revision=3534
* Make the message composer use a EScrollFrame for the attachment barEttore Perazzoli2000-06-131-16/+16
| | | | | | and make the quit message I18N aware. svn path=/trunk/; revision=3533
* Don't break on non-breaking spaces, don't keep non-breaking spaces thatDan Winship2000-06-131-5/+19
| | | | | | | | | * e-msg-composer.c (format_text): Don't break on non-breaking spaces, don't keep non-breaking spaces that fall after a line wrap, and translate non-breaking spaces to regular ones after wrapping. svn path=/trunk/; revision=3530
* New convenience function.Dan Winship2000-06-061-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_attach): New convenience function. * e-msg-composer-attachment.c: Store a CamelMimePart rather than filename/description/mime_type info. Also record whether we were told or guessed the MIME type. (e_msg_composer_attachment_new_from_mime_part): New constructor. (e_msg_composer_attachment_edit): Remove the "browse" button. (If the user wants to change the actual file that the attachment is based on, he should delete the attachment and create a new one...) Remove the "Apply" button, because it's not all that useful. Make the MIME type only track the filename if it was guessed rather than being provided. * e-msg-composer-attachment.glade: Remove "browse" and "apply" buttons. Make filename editable. * e-msg-composer-attachment-bar.c (sort): Removed. Send the attachments in the order the user attached them in. (text_changed): Removed, since we weren't enabling the relevant GnomeIconList functionality that would have used this. (update): Don't print the size if it's 0. (attach_to_multipart, etc): adjust for EMsgComposerAttachment changes. (attach_to_multipart): Use 7bit encoding for message/ subparts. (e_msg_composer_attachment_bar_attach_mime_part): New convenience function. svn path=/trunk/; revision=3430
* Added the ability to save plain text mail.Christopher James Lahey2000-06-031-25/+75
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-msg-composer.c: Added the ability to save plain text mail. svn path=/trunk/; revision=3397
* add a "format" argument so we can fetch different kinds of text.Dan Winship2000-05-301-27/+78
| | | | | | | | | | * e-msg-composer.c (get_editor_text): add a "format" argument so we can fetch different kinds of text. (format_text): New function to do line wrapping on plain text. (build_message): Build multipart/alternative messages rather than HTML-only ones. Yay. We don't suck (as much) any more! svn path=/trunk/; revision=3267
* #include <errno.h>Dan Winship2000-05-291-0/+1
| | | | | | * e-msg-composer.c: #include <errno.h> svn path=/trunk/; revision=3251
* routine to read the user's signature file. (set_editor_text): If the userDan Winship2000-05-261-1/+68
| | | | | | | | | | | * e-msg-composer.c (get_signature): routine to read the user's signature file. (set_editor_text): If the user has configured a signature, append it to the set text. (e_msg_composer_new): Call set_editor_text with "" to load the signature (if any). svn path=/trunk/; revision=3220
* Update for CamelMultipart changes.Dan Winship2000-05-261-0/+3
| | | | | | * e-msg-composer.c (build_message): Update for CamelMultipart changes. svn path=/trunk/; revision=3218
* Update for PersistStream changesDan Winship2000-05-261-2/+2
| | | | | | | * e-msg-composer.c (get_editor_text, set_editor_text): Update for PersistStream changes svn path=/trunk/; revision=3215
* Use camel_data_wrapper_new instead of camel_simple_data_wrapper_new.Not Zed2000-05-261-1/+1
| | | | | | | | | 2000-05-25 Not Zed <NotZed@HelixCode.com> * e-msg-composer.c (build_message): Use camel_data_wrapper_new instead of camel_simple_data_wrapper_new. svn path=/trunk/; revision=3209
* Use camel_simple_data_wrapper_new rather than camel_data_wrapper_new.Dan Winship2000-05-181-1/+1
| | | | | | | * e-msg-composer.c (build_message): Use camel_simple_data_wrapper_new rather than camel_data_wrapper_new. svn path=/trunk/; revision=3114
* NUL-terminate the data extracted from the BonoboStream.Dan Winship2000-05-131-1/+5
| | | | | | | * e-msg-composer.c (get_editor_text): NUL-terminate the data extracted from the BonoboStream. svn path=/trunk/; revision=3005
* make it really work with oaf. I need to recompile everyhting now.. shitMathieu Lacage2000-05-081-1/+1
| | | | svn path=/trunk/; revision=2914
* uhMathieu Lacage2000-05-081-1/+1
| | | | svn path=/trunk/; revision=2913
* make the composer work with oafMathieu Lacage2000-05-081-3/+9
| | | | svn path=/trunk/; revision=2912
* unref content, etc. after attaching it to message.Dan Winship2000-05-081-0/+4
| | | | | | | | | | * e-msg-composer.c (build_message): unref content, etc. after attaching it to message. * e-msg-composer-attachment-bar.c (attach_to_multipart): unref part after attaching it. svn path=/trunk/; revision=2884
* New routine, to process mailto URLs.Dan Winship2000-04-281-0/+125
| | | | | | | * e-msg-composer.c (e_msg_composer_new_from_url): New routine, to process mailto URLs. svn path=/trunk/; revision=2663
* Oops. Fix previous commit so we don't get a mime part nested directlyDan Winship2000-04-271-5/+15
| | | | | | inside a mime part svn path=/trunk/; revision=2651
* Only generate a multipart message if there are attachments. OtherwiseDan Winship2000-04-271-9/+11
| | | | | | | | * e-msg-composer.c (build_message): Only generate a multipart message if there are attachments. Otherwise generate a single part. svn path=/trunk/; revision=2648
* Remove. We weren't using the fields that made this different fromDan Winship2000-04-271-5/+4
| | | | | | | | | | | | | * camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
* Update for camel_mime_part_set_content.Dan Winship2000-04-271-4/+2
| | | | svn path=/trunk/; revision=2644
* add a s/SIMPLE_// that notzed missed remove a now-unused variableDan Winship2000-04-261-1/+0
| | | | | | | | * e-msg-composer-attachment-bar.c (attach_to_multipart): add a s/SIMPLE_// that notzed missed * e-msg-composer.c (build_message): remove a now-unused variable svn path=/trunk/; revision=2630
* Use camel_mime_part_set_text() to set the text rather than messing withNotZed2000-04-261-6/+3
| | | | | | | | | | | | | 2000-04-26 NotZed <NotZed@HelixCode.com> * e-msg-composer.c (build_message): Use camel_mime_part_set_text() to set the text rather than messing with data wrappers. * e-msg-composer-attachment-bar.c (attach_to_multipart): Change for new camel-stream interfaces. (attach_to_multipart): Also set base64 encoding by default. svn path=/trunk/; revision=2623
* fix menu problem in composer windowRadek Doulik2000-04-261-7/+4
| | | | | | | | | | | | * fix menu problem in composer window 2000-04-25 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (create_editor): use uih here (e_msg_composer_construct): create menubar/toolbar before creating editor control svn path=/trunk/; revision=2604
* new function to make the composer record additional headers it shouldDan Winship2000-04-231-1/+45
| | | | | | | | | * e-msg-composer.c (e_msg_composer_add_header): new function to make the composer record additional headers it should output. (In-Reply-To), etc. (build_message): output them svn path=/trunk/; revision=2552
* Connect "Exit" menu item finally.Dan Winship2000-04-221-1/+21
| | | | | | * e-msg-composer.c (exit_cb): Connect "Exit" menu item finally. svn path=/trunk/; revision=2549
* new functionsDan Winship2000-04-221-0/+43
| | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_set_headers): (e_msg_composer_set_body_text): new functions * e-msg-composer-hdrs.c: const poisoning (e_msg_composer_hdrs_set_subject): (e_msg_composer_hdrs_get_subject): new functions * e-msg-composer-address-entry.c: const poisoning svn path=/trunk/; revision=2548
* new functions to get and set the contents of the HTML editor viaDan Winship2000-04-211-4/+77
| | | | | | | | | * e-msg-composer.c (get_editor_text, set_editor_text): new functions to get and set the contents of the HTML editor via Bonobo::PersistStream. (build_message): use get_editor_text. This works again. svn path=/trunk/; revision=2527
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-181-1/+1
| | | | | | | | | | | | * camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479
* Get the menubar to work.Bertrand Guiheneuf2000-03-171-2/+2
| | | | svn path=/trunk/; revision=2118
* Further work.Ettore Perazzoli2000-03-081-9/+15
| | | | svn path=/trunk/; revision=2088
* Bonobization of the message composer, part 1.Ettore Perazzoli2000-03-021-19/+120
| | | | svn path=/trunk/; revision=2012
* Don't use libglade for menus and toolbars in the message composerEttore Perazzoli2000-03-021-86/+2
| | | | | | anymore. This is the first step; next step is to use BonoboUIHandler. svn path=/trunk/; revision=2010
* More work:Ettore Perazzoli1999-11-171-0/+564
- Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395