2005-01-24 Hans Petter Jansson <hpj@novell.com>
* e-msg-composer-hdrs.c (create_addressbook_entry): Set pointers to the
contact editor creation functions in the entries, so they can pop up
said editors.
2005-01-12 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (destroy): initialise composer before using it.
sigh.
2005-01-05 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (d): turn off debug, setup g private instance
data structure.
(setup_ui): activate the composer plugin menu.
(destroy): clean up the composer plugin menu.
(class_init, init): init private instance data & plugin menu.
2004-12-24 JP Rosevear <jpr@novell.com>
* e-msg-composer.c (setup_signatures_menu): kill warnings
(map_default_cb): the to entry widget is now just a gtk entry at
its core, so check for text that way
2004-12-23 Hans Petter Jansson <hpj@novell.com>
* Makefile.am (selectnamesdir)
(IDL_GENERATED)
(INCLUDES): Remove select-names from here.
* Composer.idl: Remove Evolution-Addressbook-SelectNames.idl include.
2004-12-22 Hans Petter Jansson <hpj@novell.com>
* e-msg-composer-hdrs.c (addressbook_dialog_response)
(setup_corba)
(setup_name_selector)
(address_button_clicked_cb)
(addressbook_entry_changed)
(create_addressbook_entry)
(destroy)
(e_msg_composer_hdrs_new)
(destinations_to_name_selector_entry)
(e_msg_composer_hdrs_set_to)
(e_msg_composer_hdrs_set_cc)
(e_msg_composer_hdrs_set_bcc)
(destination_list_to_destv)
(e_msg_composer_hdrs_get_to)
(e_msg_composer_hdrs_get_cc)
(e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector.
2004-12-17 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (emcab_popup):
* e-msg-composer.c (drag_data_received):
2004-12-08 Hans Petter Jansson <hpj@novell.com>
* e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from
evolution-data-server.
2004-12-07 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c: include camel-cipher-context.h so we build if
nss isn't available.
2004-11-26 JP Rosevear <jpr@novell.com>
* e-msg-composer.c (create_composer): get image from icon factory
directly
2004-11-15 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (handle_multipart_encrypted): remove the old
camel_multipart_encrypted api.
2004-10-28 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (drag_data_received): fix the popup id.
* e-msg-composer-attachment-bar.c (emcab_popup): added popup doco.
2004-10-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_key_pressed): Close on Esc.
(create_composer): Connect to the key-press-event signal.
2004-10-26 mengjie yu <meng-jie.yu@sun.com>
fix for bugzilla #44876
* e-msg-composer-hdrs.c (header_new_recipient, create_headers):
add access key for Reply_to, From, Subject, To, Cc, Bcc, Post_to
* e-msg-composer.c (setup_signatures_menu): Add accesss key for
Signature.
2004-10-19 JP Rosevear <jpr@novell.com>
* e-msg-composer.c, e-msg-composer-attachment-bar.c: convert to
org.gnome hook names
2004-10-08 Jeffrey Stedfast <fejj@novell.com>
* e-msg-composer.c (build_message): g_strdup() the gpg/smime keys
into the recipients list or else we end up free'ing them later
when we shouldn't. Fixes bug #66703
2004-10-06 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (drag_data_received):
* e-msg-composer-attachment-bar.c (emcab_popup): e-popup api changes.
2004-10-01 JP Rosevear <jpr@novell.com>
* e-msg-composer.c: uses GTKHTML_API_VERSION for the bonobo server
look up
2004-10-01 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (create_composer): enable ask drop action and
hook onto drag motion.
(drag_motion): implement.
(drop_action): do the work here now.
(drag_data_received): popup a menu if the action is ask.
(drop_popup_copy, drop_popup_move, drop_popup_cancel):
(drop_popup_free): Popup callbacks.
2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
* e-msg-composer.c: (autosave_manager_start),
(autosave_manager_stop), (create_composer): Use non-deprecated
functions.
2004-08-17 Michael Meeks <michael@ximian.com>
* e-msg-composer.c (handle_mailto): handle 'attachment' as
well, as per Mozilla's mangling, and the new desktop-launch spec.
[ this was approved months ago, but somehow never got committed ]
** See bug #65592
2004-09-08 Not Zed <NotZed@Ximian.com>
** See bug #64454.
* mail-composer-errors.xml: add accelerators to modified message
dialogue.
2004-08-13 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_show_sig_file): set paragraph
style to normal to avoid signature landing in PRE paragraph
2004-07-29 Carlos Garnacho Parro <carlosg@gnome.org>
* e-msg-composer-select-file.[ch]: Optionally use GtkFileChooser
if compiled against Gtk+ >= 2.4.0. (e_msg_composer_select_file):
added save_mode parameter
* e-msg-composer.c: use the modified e_msg_composer_select_file()
function
2004-07-28 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c: Fixes for api changes in mail/ for 61940.
2004-07-23 Radek Doulik <rodo@ximian.com>
* listener.c: removed unused static variable listener_vepv
* added len parameter to set_editor_text,
e_msg_composer_set_body_text, e_msg_composer_set_pending_body. it
allows us to send whole buffer (even if it contains \0 in the
middle) to gtkhtml editor.
2004-07-22 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (set_editor_text): removed body content +
signature html concatenating and call e_msg_composer_show_sig_file
instead
Fixes #59490
2004-07-20 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment.c: include config.h. See #61395.
2004-09-04 Not Zed <NotZed@Ximian.com>
* e-msg-composer-*.c: include gnome-i18n.h if required.
2004-08-30 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (emcab_popup): em-popup based
popup menu to replace the gnome one.
(popup_menu_event): use new func above.
(button_press_event): ", some cleanup.
2004-06-18 Not Zed <NotZed@Ximian.com>
** Fix for #60387.
* mail-composer-errors.xml: added an error for failing to retrieve
to-be-attached messages.
* e-msg-composer.c (message_rfc822_dnd): remove this, we only want
to treat it as a real rfc822 message, not a berkeley mailbox.
(drag_data_received): handle the rfc822 type here, and also the
new x-uid-list type.
(attach_message): helper set a description on attached messages.
2004-06-16 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (e_msg_composer_guess_mime_type): clean up the
code slightly.
* evolution-composer.c (impl_Composer_set_headers): Fix all the
strn?casecmp calls.
* e-msg-composer.c (from_changed_cb, drag_data_received)
(is_special_header, e_msg_composer_new_with_message)
(handle_mailto, e_msg_composer_new_from_url): as above.
* e-msg-composer-attachment.c (e_msg_composer_attachment_new): as
above.
* e-msg-composer.c (drag_data_received): handle comments in uri
lists.
2004-06-14 Jeffrey Stedfast <fejj@novell.com>
* e-msg-composer.c (create_composer): Don't connect to the
key_pressed_event.
(composer_key_pressed): Removed. We don't want to close the
compose on Escape. To do so would violate the HIG.
2004-06-07 Dan Winship <danw@novell.com>
* e-msg-composer.c (pixcache): s/stock_save_as/stock_save-as/
2004-06-04 Jeffrey Stedfast <fejj@novell.com>
* e-msg-composer.c (create_composer): Use e_error_run() instead of
the e_activation_error_dialog() stuff that no longer exists.
2004-06-03 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_show_sig_file): always insert
new paragraph for signature
Fixes #37601
2004-05-27 Jeffrey Stedfast <fejj@novell.com>
* mail-composer-errors.xml: s/${0}/{0}/g
2004-05-27 Rodney Dawes <dobey@novell.com>
* Makefile.am (EXTRA_DIST): Add $(error_i18n)
2004-05-25 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (pixcache[]): use e-icon-factory sizes.
* e-msg-composer-attachment-bar.c (update): if we have a cached
icon, use it, don't just ignore it! #58831.
2004-05-19 JP Rosevear <jpr@novell.com>
* Makefile.am: don't dist the error .h file
2004-05-18 Not Zed <NotZed@Ximian.com>
* mail-composer-errors.xml: set the default for exit-unsaved to
save, as in 1.4. #57995.
* e-msg-composer-hdrs.c (post_browser_clicked_cb): fix for folder
selector api change.
2004-05-12 Not Zed <NotZed@Ximian.com>
* mail-composer-errors.xml.h: add for translators.
* mail-composer-errors.xml: renamed from xml.in file.
* Makefile.am: Fix for i18n build stuff.
2004-05-11 Jeffrey Stedfast <fejj@novell.com>
* e-msg-composer.c (build_message): Use CAMEL_EXCEPTION_SYSTEM
instead of '1', also don't use camel_exception_setv() if we aren't
using the printf-style arguments. Just use camel_exception_set() -
safer anyway, since then we don't have to worry about translated
strings containing printf-style formatters that could break stuff.
2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr>
* e-msg-composer.c: Fixing parts of #53466.
2004-05-03 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c: header cleanups.
2004-04-28 Not Zed <NotZed@Ximian.com>
** Changed error messages to EError.
2004-04-27 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (update): duh, pass the string
not the content type to the warning message. And derrr, print it
for the actual error case, not the ok case. Fixes #57680.
2004-04-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_load_draft): Only unlink the original
autosave draft file if we are successful in saving a new copy,
otherwise don't unlink the file. Fixes bug #57540.
2004-04-23 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (update): fallback to stock
unknown if we can't ifnd the icon. #56717.
2004-04-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums
rather than specifying an absolute pixel size.
2004-04-19 Michael Terry <mike@mterry.name>
* e-msg-composer.c: Update the composer to use the icon theme via
the EIconFactory object in e-util
2004-04-15 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Same idea
here as with build_mesage(), don't convert th gconf charset
setting to the iconv name before setting it on the mime part.
* e-msg-composer.c (best_charset): Now returns a malloc'd string
bufefr containing the charset that has NOT been converted to the
iconv name. This is important in order to avoid using the iconv
charset name which may or may not necessarily be the IANA blessed
name.
(composer_get_default_charset_setting): Changed to always return
the actual value in the settings (eg. don't return the iconv
name).
(build_message): Updated for changes to best_charset(). Set the
actual charset name as the charset param and then get the
iconv_charset from that. Use iconv_charset everywhere else.
(get_file_content): Updated for changes to
get_default_charset_setting().
(setup_ui): Same.
2004-04-13 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (get_file_content): To be on the safe side
(even though the real bug behind bug #51924 can't happen here),
protect against adding a NULL charset filter tot he filtered
stream.
2004-04-13 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (drag_data_received): accept text/calendar
drops.
2004-04-09 Chris Toshok <toshok@ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv):
EABDestination -> EDestination.
(e_msg_composer_hdrs_to_message_internal): same.
(e_msg_composer_hdrs_set_to): same.
(e_msg_composer_hdrs_set_cc): same.
(e_msg_composer_hdrs_set_bcc): same.
(e_msg_composer_hdrs_get_to): same.
(e_msg_composer_hdrs_get_cc): same.
(e_msg_composer_hdrs_get_bcc): same.
(e_msg_composer_hdrs_get_recipients): same.
* e-msg-composer-hdrs.h: convert prototypes such that
EABDestination -> EDestination.
* e-msg-composer.h: convert prototypes such that EABDestination ->
EDestination.
* e-msg-composer.c (destination_list_to_vector_sized): new
function, ripped from EABDestination, as this code is the only
consumer.
(destination_list_to_vector): same.
(update_auto_recipients): EABDestination -> EDestination.
(e_msg_composer_new_with_message): same.
(add_recipients): same.
(handle_mailto): same.
(e_msg_composer_set_headers): same.
(e_msg_composer_get_recipients): same.
(e_msg_composer_get_to): same.
(e_msg_composer_get_cc): same.
(e_msg_composer_get_bcc): same.
* evolution-composer.c (corba_recipientlist_to_destv):
EABDestination -> EDestination.
(impl_Composer_set_headers): same.
2004-04-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (sig_select_item): Reversed the logic for
setting the signature menu to "None" (only set it to "None" if a
signature *isn't* set, doh!)
(prepare_signatures_menu): Removed. Combined with
setup_signature_menu().
2004-04-06 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (prepare_signatures_menu): added empty hbox so
that we have 12pxs between account setting and signature setting
(set_editor_text): added pad_signature parameter to tell if we
want to pad signature with <BR> (used when creating new mail, in
other cases we don't want to pad the signature)
Fixes #42866
2004-04-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (set_editor_text): Revert Radek's last change
to fix bug #56381.
2004-04-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (get_signature_html): Fixed some breakage I
introduced in the changes below.
2004-04-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c: Updated to use the new signature APIs.
(signature_added): _()ify the "Autogenerated" signature name.
2004-03-31 Not Zed <NotZed@Ximian.com>
* *.[ch]: Fixed missing headers now mail/* doesn't include gtk/*,
camel/*, and gnome/* for you.
2004-03-29 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (set_editor_text): do not add <br> between text
and signature
2004-03-22 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (disable_editor): do not set editor
insensitive, use editable-off command instead
Fixes #55049
2004-03-22 Not Zed <NotZed@Ximian.com>
* e-msg-composer-hdrs.c (post_browser_clicked_cb): exclude
non-viable folder targets for selection, related to #55089.
2004-03-18 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): delete event: if empty paragraph has
signature == 1 then set it to 0
Fixes #55735 (be sure to update gtkhtml as well)
2004-03-17 Bill Zhu <bill.zhu@sun.com>
* e-msg_composer-attachment-bar.c: If we select multi-attachments, the
"properities" menu item in popup icon context menu will be disabled.
Fixes bug #55299
2004-03-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (do_exit): If the subject is empty, use
_("Untitled Message") as the subject instead.
2004-03-05 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #55202
* e-msg-composer.c (add_recipients): No longer takes a decode
argument (handle_mailto is the only function that calls it, and
the decode value always has to be TRUE for mailto).
(handle_mailto): Updated.
2004-02-27 Bruce Tao <bruce.tao@sun.com>
* e-msg-composer-attachment-bar.c: add a key-press event handler,
with which a little modification to Paolo Borelli's patch.
<pborelli@katamail.com> When one attachment is deleted, the
icon right after the last deleted one will be focused.
2004-02-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (set_editor_text): Add a <br> tag between the
message text and the signature text (makes it nicer looking and
also fixes bug #53747.
2004-02-17 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_unrealize): renamed from unmap
2004-02-13 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (create_composer): get default composer size
from gconf, hook to unrealize event and save size to gconf
(e_msg_composer_unmap): new handler, saves composer window size
2004-02-06 Rodney Dawes <dobey@ximian.com>
* e-msg-composer-attachment-bar.c: add accel and icon for
the "remove" item in the popup menu.
Patch from Paolo Borelli <pborelli@katamail.com>
2004-02-03 Chris Toshok <toshok@ximian.com>
* e-msg-composer.c (e_msg_composer_guess_mime_type): use
FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file
contents before coming up with a mime type.
2004-02-03 Dan Winship <danw@ximian.com>
* Makefile.am (INCLUDES): add widgets/misc
2004-02-02 Not Zed <NotZed@Ximian.com>
* evolution-composer.c (impl_Composer_set_body): use
g_ascii_strcasecmp rather than strcasecmp.
** See bug #53506, again.
* e-msg-composer.c (set_editor_text): Add an argument to make
adding the signature optional. Also fix a memleak with the sig
content.
(e_msg_composer_new_with_type, e_msg_composer_flush_pending_body)
(handle_mailto, e_msg_composer_set_body_text)
(e_msg_composer_set_body): Fixed callers for above change
appropriately.
2004-01-29 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_type): reverted
radek's patch below, it was already fixed (#53176). Changed the
init order though, set_editor_signature only sets the current one,
it doen'st insert it.
** See bug #53506.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_post_to_list):
use a GString to build the result.
(e_msg_composer_hdrs_set_post_to_base): same here.
(e_msg_composer_hdrs_set_post_to_base): dont bother copying the
post_to string.
(e_msg_composer_hdrs_get_post_to): change the relative-url test to
":/" rather than "://", so that mbox url's work.
2004-01-27 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_type): set body text
after setting composer's signature, so that signature is shown
Fixes #53367
2004-01-28 Not Zed <NotZed@Ximian.com>
** See Bug #53176, probably fixes others too.
* e-msg-composer.c (set_editor_text): When we set the text, always
add the signature implictly. Means we don't have to set it
manually and break changing the file, or hit any races.
(e_msg_composer_set_body_text): dont call show_sig_file here.
2004-01-14 Not Zed <NotZed@Ximian.com>
** See Bug #20017.
* e-msg-composer.c (create_composer): set the composer to
unchanged after all setup, some setup (from_changed_cb) will mark
it changed.
(create_composer): remove a warning.
** See Bug #52794.
(e_msg_composer_get_message_draft): save sign/encrypt settings to
X-Evolution-Format header.
(e_msg_composer_new_with_message): restore sign/encrypt settings
from X-Evolution-Format header.
(e_msg_composer_set_pgp_sign, e_msg_composer_set_pgp_encrypt)
(e_msg_composer_set_smime_sign, e_msg_composer_set_smime_encrypt):
Set composer changed if it did.
2004-01-12 JP Rosevear <jpr@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_post_to): fix
compilation error
2004-01-12 Meilof Veeningen <meilof@wanadoo.nl>
* e-msg-composer.[ch]: added "View To", "View Post To" menu items,
made it possible to see both at the same time, new
e_msg_composer_new_with_type, only visibility info of headers if
in the visible mask.
* e-msg-composer.[ch]: replaced folder selection button by entry
with selection button next to it, enabled multiple folder selection,
made it possible to see both To and PostTo fields, disabled
setting the "X-Evolution-PostTo" header.
2004-01-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans):
s/unsaved files/unsaved messages/ as per bug #45407.
2004-01-08 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (set_editor_signature): add an assertion for no
account set. Discovered from bug #50786.
2004-01-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (create_composer): Remove the 6-pixel border
around the main window. That just looked ugly.
2004-01-07 JP Rosevear <jpr@ximian.com>
* Makefile.am: missed this - remove disable deprecated flag
2003-12-04 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_headers): Unifdef out the post-to
code and fix it to use the new folder selection button.
(e_msg_composer_hdrs_set_post_to): Same.
(e_msg_composer_hdrs_get_post_to): Same.
2003-12-03 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer-hdrs.c: Do not #include
<evolution-folder-selector-button.h>.
(e_msg_composer_hdrs_set_post_to): #if 0 out for now.
(e_msg_composer_hdrs_get_post_to): Likewise.
2003-12-02 ERDI Gergo <cactus@cactus.rulez.org>
* e-msg-composer.c: Implemented #127527: the attachment bar is
packed inside an EExpander
2003-12-01 Rodney Dawes <dobey@ximian.com>
* e-msg-composer-hdrs.h: Use BASE_VERSION for repo_ids and OAFIIDs
2003-11-11 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_set_autosaved): new method to
wrap autosaved flag setting
(e_msg_composer_unset_autosaved): ditto
(e_msg_composer_is_autosaved): new method, says if composer was
autosaved only
(autosave_save_draft): unset changed so that we don't autosave all
the time when anything else than gtkhtml control changed
2003-11-06 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (autosave_save_draft): call gtkhtml's saved
command to clean is-saved flag, set composer's autosaved flag
(do_exit): complain if last save was just autosave
(e_msg_composer_unset_changed): reset autosaved flag
(save): reset autosaved flag
* e-msg-composer.h: added autosaved flag, it tells whether last
save was autosave or regular save, when changed flag is reset the
autosaved one is reset too
2003-11-30 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer-hdrs.c (create_headers): #if 0 the "post to"
stuff for now (it requires the global_shell_client and the
evolution_folder_selector_button which we don't have anymore).
2003-11-26 Chris Toshok <toshok@ximian.com>
* e-msg-composer.c (build_message): switch from just checking
SMIME_SUPPORTED to checking both HAVE_NSS and SMIME_SUPPORTED.
2003-11-26 JP Rosevear <jpr@ximian.com>
* Makefile.am: turn on deprecated gtk widgets
2003-11-03 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (build_message): changed to use ciphercontext
directly to sign the message, no multipart-signed usage.
(build_message): do the same for multipart/encryption for gpg encrypting.
2003-11-03 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer-hdrs.h (SELECT_NAMES_OAFIID): Append "_2".
2003-10-31 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (build_message): fix for e-account smime info
changes. Also enforce having a signing certificate set in
preferences before doing any signing.
(from_changed_cb): handle smime sign/encrypt default for account
(create_composer): force a from-changed when we start, to properly
setup signing options.
2003-10-30 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c: Turn on SMIME_SUPPORTED.
(build_message): move some of the security code around, and fix
up smime code.
2003-10-08 Chris Toshok <toshok@ximian.com>
* evolution-composer.c (corba_recipientlist_to_destv): EDestination =>
EABDestination, and e_destination => eab_destination.
(impl_Composer_set_headers): same.
* e-msg-composer.c (update_auto_recipients): EDestination =>
EABDestination, and e_destination => eab_destination.
(e_msg_composer_new_with_message): same.
(add_recipients): same.
(handle_mailto): same.
(e_msg_composer_set_headers): same.
(e_msg_composer_get_recipients): same.
(e_msg_composer_get_to): same.
(e_msg_composer_get_cc): same.
(e_msg_composer_get_bcc): same.
* e-msg-composer.h: EDestination => EABDestination, and
e_destination => eab_destination.
* e-msg-composer-hdrs.c (set_recipients_from_destv): EDestination
=> EABDestination, and e_destination => eab_destination.
(e_msg_composer_hdrs_to_message_internal): same.
(e_msg_composer_hdrs_set_to): same.
(e_msg_composer_hdrs_set_cc): same.
(e_msg_composer_hdrs_set_bcc): same.
(e_msg_composer_hdrs_get_to): same.
(e_msg_composer_hdrs_get_cc): same.
(e_msg_composer_hdrs_get_bcc): same.
(e_msg_composer_hdrs_get_recipients): same.
* e-msg-composer-hdrs.h: EDestination => EABDestination, and
e_destination => eab_destination.
2003-09-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save): Don't blindly claim that the file
exists and then ask the user if he/she would like to overwrite
it. First check that the file even exists, if not - then we've got
a different error. Fixes bug #48759.
* e-msg-composer-select-file.c (e_msg_composer_select_file): Use
the proper selector title, otherwise it says "Attach files" when
we are trying to save a message.
2003-09-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (get_default_charset): Same as
below.
* e-msg-composer.c (composer_get_default_charset_setting): Handle
empty-string as the charset value gotten from gconf as this can
happen. Partial fix for bug #47638.
2003-09-13 Charles Zhang <charles.zhang@sun.com>
* e-msg-composer-attachment-bar.c (remove_attachment): Add some
assertion. Send Close response signal to the properties dialog
while removeing an attachment.
* e-msg-composer-attachment-bar.c (remove_selected): Fix a re-
remove-attachment bug. [#48466]
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c: updated for
CamelTransferEncoding namespace changes
* e-msg-composer.c: updated for CamelTransferEncoding namespace
changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c:
* e-msg-composer-attachment.c:
* e-msg-composer.c: Updated for namespace changes in Camel.
2003-09-17 Not Zed <NotZed@Ximian.com>
** Merge in mail-refactor-2-branch
2003-09-15 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer-hdrs.c (header_new_recipient): Make the entry
non-focusable again. The right fix for A11Y is to add
accelerators.
2003-09-11 Federico Mena Quintero <federico@ximian.com>
* e-msg-composer.h (EMsgComposer): Added an entry_uic field for a
BonoboUIComponent for the non-control entries (e.g. the Subject
line).
* e-msg-composer.c (create_composer): Set autoactivate to true on
the HTML control's BonoboControlFrame.
(setup_ui): Create the composer->entry_uic.
(destroy): Free the composer->entry_uic.
(entry_verbs): New array of verbs for the non-control entries.
Moved the Edit* verbs to here, as they should not be part of the
main set.
(composer_entry_focus_in_event_cb): Load
evolution-composer-entries.xml here for the non-control entries' UI.
(composer_entry_focus_out_event_cb): Remove the menu items.
2003-09-10 Not Zed <NotZed@Ximian.com>
* listener.c (impl_event): We want to use decode to stream for
attachment parts.
2003-09-08 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (autosave_load_draft): ugh, direct linking to
evolution-mail suckage. Should these callbacks just be handled
internally?
(handle_multipart_encrypted, handle_multipart_signed)
(handle_multipart_alternative, handle_multipart)
(e_msg_composer_new_with_message): Use new em_utils stuff for
message formatting.
2003-08-22 Antonio Xu <antonio.xu@sun.com>
* e-msg-composer-attachment.c (): Connect response signal to
attachment properties dialog, fix bug #47950.
2003-08-21 Antonio Xu <antonio.xu@sun.com>
* Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR define
* e-msg-composer.c (create_composer): use EVOLUTION_IMAGESDIR
and composer icon name to get the path of composer icon.
[#47781]
2003-08-19 Jeffrey Stedfast <fejj@ximian.com>
* Original patch from David Woodhouse, but modified a bit by me.
* e-msg-composer.c (handle_mailto): Fix insertion of arbitrary
headers from mailto: links. Ignore From: and Reply-To: headers.
2003-08-13 Lorenzo Gil Sanchez <lgs@sicem.biz>
* e-msg-composer-hdrs.c (account_removed_cb): fixed an insulting
error message. Fixes bug #47413.
2003-08-13 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (update): This needs to use
camel_data_wrapper_decode_to_stream() rather than
write_to_stream(). Also simplify a bit - no sense looping to load
the pixbuf data into the gdk-pixbuf loader 4K at a time when we
have the whole thing in a memory buffer already. Once done, unref
the stream instead of closing it so we don't leak.
(attach_to_multipart): Use decode_to_stream().
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Avoid constructing thwe data-wrapper from the stream twice for
message/rfc822 parts.
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): don't set
the rawtext bit anymore.
* e-msg-composer.c (build_message): Convert the plain part's
content stream from UTF-8 to whatever charset we want.
2003-07-31 Antonio Xu <antonio.xu@sun.com>
* e-msg-composer.c (drag_data_received): add the drop type of
mozilla browser link to make composer support to handle mozilla
DnD data. [#47131]
2003-07-28 Antonio Xu <antonio.xu@sun.com>
* e-msg-composer-attachment-bar.c (update): add
gdk_pixbuf_loader_close to close pix buffer loading. [#45908]
2003-07-25 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (GNOME_GTKHTML_EDITOR_CONTROL_ID): require the
new composer control version.
2003-07-17 Michel Daenzer <michel@daenzer.net>
* e-msg-composer.c (autosave_manager_query_load_orphans): Set
default answer of dialog to 'yes' to try and prevent autosaved
messages from getting lost accidentally.
2003-07-23 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Revert my
previous changes here too.
* e-msg-composer.c (build_message): Revert my previous changes.
2003-07-23 Dan Winship <danw@ximian.com>
* bad-icon.xpm: Remove this. It was only used by e-icon-list,
which is no longer there.
* composer-marshal.list: Likewise
* Makefile.am: Update
2003-07-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Init charset to NULL.
2003-07-21 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Make this work again.
2003-07-17 Maxx Cao <maxx.cao@sun.com>
** For bug #46013
* e-msg-composer-hdrs.c (header_new_recipient): To/cc/bcc buttons
made focusable.
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): don't set
the rawtext bit anymore.
* e-msg-composer.c (build_message): Convert the plain part's
content stream from UTF-8 to whatever charset we want.
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (popup_menu_event): Fix warnings
and other breakage introduced by Maxx.
2002-07-14 Maxx Cao <maxx.cao@sun.com>
** For bug #45826
* e-msg-composer-attachment-bar.c (class_init): connect the
"popup_menu" signal, so that S-F10 keybinding will work.
(popup_menu_event): funcion added to handle "popup_menu" (S-F10 key).
(popup_menu_placement_callback): function added to place the popup
menu to the center of attachment icon, in case it is activated by
keyboard.
2003-07-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Updated to
use camel_strcase_hash/equal.
2003-07-01 Dan Winship <danw@ximian.com>
* e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Gone.
(update): Use e_icon_for_mime_type instead.
* Makefile.am (INCLUDES): remove EVOLUTION_IMAGESDIR define
2003-06-25 Antonio Xu <antonio.xu@sun.com>
* e-msg-composer.c (handle_mailto): Change file url to absolute
path. Fixes bug #44065.
2003-07-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_load_draft): Connect to the
save-draft signal too. Fixes bug #45531.
2003-06-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Set the rawtext bits for the
'plain' and 'html' data wrappers to FALSE.
2003-06-19 Larry Ewing <lewing@ximian.com>
* listener.c (insert_paragraph_after): free the return value.
(impl_event): free the return value.
2003-06-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (best_encoding): Use e_iconv_open/close so that
we get charset aliasing for free. Fixes bug #44991.
2003-06-16 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #44139.
* e-msg-composer-hdrs.c (attach_couple): Set the vertical and
horizontal padding to 3 always.
(create_from_optionmenu): Change the hbox spacing to 6 pixels.
* e-msg-composer.c (create_composer): Set the border width around
the composer's vbox to HIG specification and make the box_spacing
6 pixels as well.
2003-06-10 Larry Ewing <lewing@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_and_string_free):
free the structure as well.
2003-06-09 Larry Ewing <lewing@ximian.com>
* listener.c (insert_paragraph_before): free the return values.
2003-05-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_get_default_charset_setting): Same as
the rest.
(setup_ui): We didn't even seem to be using the gconf client
here. Removed.
(e_msg_composer_load_config): Unref the gconf client after we're
finished.
(e_msg_composer_new): Same.
(e_msg_composer_new_post): Here too.
(e_msg_composer_set_view_from): And here.
(e_msg_composer_set_view_replyto): And here.
(e_msg_composer_set_view_cc): Here too.
(e_msg_composer_set_view_bcc): Again here.
* e-msg-composer-hdrs.c (create_from_optionmenu): Same as below.
(e_msg_composer_hdrs_set_from_account): Here too.
* e-msg-composer-attachment-bar.c (get_default_charset): Unref the
gconf client.