| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-06 Jeffrey Stedfast <fejj@ximian.com>
* message-tag-followup.c (get_week_start_day): Use mail-config's
gconf client.
(target_date_new): Same.
* message-list.c (message_list_set_folder): Use mail-config's
gconf client.
(mail_regen_list): Same.
* mail-tools.c (mail_tool_quote_message): Use mail-config's gconf
client.
(mail_tool_forward_message): Same.
* mail-session.c (main_get_filter_driver): Use mail-config's gconf
client.
* mail-preferences.c (mail_preferences_init): Use mail-config's
gconf client.
(mail_preferences_finalise): Don't unref the gconf client.
* mail-format.c (write_headers): Use mail-config's gconf client.
(mail_format_data_wrapper_write_to_stream): Same.
(handle_text_plain): And here.
* mail-display.c (save_data_cb): Use mail-config's gconf client.
(save_part): Same.
(on_url_requested): Here too.
(mail_text_write): And here.
(mail_display_init): And here.
(mail_display_destroy): Here too.
(mail_display_new): Again here.
* mail-composer-prefs.c (sig_add_cb): Use mail-config's gconf
client.
(mail_composer_prefs_construct): Same.
* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Use
mail-config's gconf client.
(ask_confirm_for_empty_subject): Same.
(ask_confirm_for_only_bcc): Here too.
(composer_get_message): And here.
(create_msg_composer): Again here.
(mail_generate_reply): Same.
(forward): And here.
(transfer_msg_done): "
(delete_msg): "
(confirm_expunge): "
* component-factory.c (owner_unset_cb): Use mail-config's gconf
client.
* folder-browser-ui.c (folder_browser_ui_add_message): Use the
mailer's gconf client.
(folder_browser_ui_add_list): Same.
(folder_browser_ui_add_global): Here too.
* folder-browser.c (save_cursor_pos): Use the mailer's gconf
client.
(folder_browser_set_message_preview): Same.
(folder_browser_toggle_preview): Here too.
(folder_browser_toggle_threads): And here.
(folder_browser_toggle_hide_deleted): Here as well.
(folder_browser_set_message_display_style): And here.
(fb_resize_cb): Here.
(paned_realised): And here.
(done_message_selected): And everywhere...
* mail-account-gui.c (sig_add_new_signature): Use the mailer gconf
client.
* mail-config.c (mail_config_get_gconf_client): New function to
return the global GConfClient used by the mailer.
(mail_config_write_on_exit): On exit, free our objects and such.
(mail_config_signature_run_script): Use config->gconf.
2003-06-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (invert_selection): Get rid of the if-focused
code, that will always prevent the etree from getting the
selection inverted because the menu item will always have focus at
this time. Fix for bug #43972.
it takes more than good relations to some of the major spirits in this
branch of the multiverse to write apps that don't leak gconf-client
refs, good coding is important, too.
that... or a 100-megaton-kill-o-zap bomb
svn path=/trunk/; revision=21410
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-importer.c: Updated copyright years.
* mail-callbacks.c (ask_confirm_for_empty_subject): Fixed the
logic a bit - if the gconf key *isn't* set, we want to return
TRUE.
* mail-search.c (mail_search_finalise): We need to weak_unref()
the mail-display here. Fixes bug #43392.
svn path=/trunk/; revision=21299
|
|
|
|
|
|
|
|
|
| |
2003-05-20 Larry Ewing <lewing@ximian.com>
* mail-display.c: filter notification events to keep the redisplay
count down.
svn path=/trunk/; revision=21290
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-20 Larry Ewing <lewing@ximian.com>
* mail-composer-prefs.c: remove references to gtkhtml property
manager. Connect to missing settings.
* mail-preferences.c: remove references to gtkhtml property
manager. Connect to missing settings.
* mail-config.glade: remove keybinding setting.
* mail-display.c (mail_display_destroy): remove notification.
(display_notify): set animate and redisplay. We have to redisplay
because the citation color may have changed.
* evolution-mail.schemas: add composer and display gconf entries.
svn path=/trunk/; revision=21288
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-20 Not Zed <notzed@lostzed.mmc.com.au>
** See bug #43234
* mail-display.c (mail_display_set_message): if we've been
destroyed, noop.
svn path=/trunk/; revision=21247
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-14 JP Rosevear <jpr@ximian.com>
* mail-local.h: add proto
* mail-local.c (storage_listener_startup): don't listen for
destruction, because we have a ref and it'll never happen
(mail_local_storage_shutdown): release and unref the local storage
* mail-display.c (retrieve_shell_view_interface_from_control):
return a new copy every time
(set_status_message): release and unref the shell view
* folder-browser.c (folder_browser_destroy): guard for multiple
destroys
* folder-browser-factory.c (control_activate): release and unref
the shell view
(control_destroy_cb): just remove the control from the list
(folder_browser_factory_new_control): don't weak ref the folder
browser
* component-factory.c (owner_unset_cb): shutdown local storage
svn path=/trunk/; revision=21181
|
|
|
|
|
|
|
|
|
|
| |
2003-05-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Make sure that we haven't
been destroyed before we start writing to the html engine. Fixes
bug #42333.
svn path=/trunk/; revision=21132
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-24 Radek Doulik <rodo@ximian.com>
* mail-display.c (html_button_press_event): as below
(update_active): as below
* folder-browser.c (html_button_press_event): update for changed
coordinates in gtk-2
svn path=/trunk/; revision=20959
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (save_part): Don't allow the 'prefix' argument to
make_safe_filename() be NULL. If we don't yet have a save_dir in
gconf, use $HOME, etc. Fixes bug #40608.
svn path=/trunk/; revision=20621
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Not Zed <NotZed@Ximian.com>
* mail-display.c (mail_display_redisplay): if we're called and the
idle handler is set, remove it, so we dont go and redisplay it
again. Fixes #40522.
svn path=/trunk/; revision=20609
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-26 Not Zed <NotZed@Ximian.com>
* mail-display.c (popup_window_destroy_cb): Undo jeff's patch
below for #40275, the destroy timeout is already removed in
popup_info_free. Unref the widget 'w' when we're done with it.
(popup_info_free): Move everything in here to popup_window_destroy
and remove, since nothing else uses it.
(make_popup_window): Ref the widget so it doesn't go away before
we're finished with it. Really fixes bug #40275/40188.
svn path=/trunk/; revision=20512
|
|
|
|
|
|
|
|
|
| |
2003-03-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (popup_window_destroy_cb): Remove the
timeout. Should fix bug #40275.
svn path=/trunk/; revision=20511
|
|
|
|
|
|
|
|
|
| |
2003-03-21 Larry Ewing <lewing@ximian.com>
* mail-display.c (pixbuf_gen_idle): remember to disconnect the
destroy handler if whenever the loader is shut down.
svn path=/trunk/; revision=20449
|
|
|
|
|
|
|
|
|
| |
2003-03-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (pixbuf_gen_idle): If we fail to load the pixbuf,
don't use it (stops some g_warnings).
svn path=/trunk/; revision=20319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (do_external_viewer): Lookup the handler for the
type. If we don't have a registered handler or if the registered
handler is not meant to be handled via a bonobo component, don't
use a bonobo component.
* mail-format.c (mail_lookup_handler): If we register a new
handler that is to be handled by a bonobo component, set
handler->is_bonobo to TRUE.
svn path=/trunk/; revision=20311
|
|
|
|
| |
svn path=/trunk/; revision=20279
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-12 Jeffrey Stedfast <fejj@ximian.com>
Security vulnerability fixes.
* mail-display.c (do_external_viewer): Make sure that we don't
launch a bonobo control to view a mime-type that we handle
internally, otherwise maliciously formed HTML mail using <object>
tags could potentially launch a bonobo vontrol to view the mime
part bypassing any checks that Evolution might do on the data
normally.
svn path=/trunk/; revision=20269
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_url_requested): If the part url is a text
part, use mail_format_data_wrapper_write_to_stream(). This should
fix bug #39204.
* mail-format.c (mail_format_data_wrapper_write_to_stream): Make public.
svn path=/trunk/; revision=20219
|
|
|
|
|
|
|
|
|
|
| |
2003-02-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_destroy): Set
mail_display->destroyed = TRUE. This is a workaround for the
GTK_OBJECT_DESTROYED() macro that we used to use before.
svn path=/trunk/; revision=19883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-10 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (build_tree): Use g_signal_emit() rather than
gtk_signal_emit().
(build_flat): Same here.
* mail-signature-editor.c: #include <string.h>
* mail-vfolder.c: #include <string.h>
* mail-session.c: #include <string.h>
* mail-search.c: #include <string.h>
* mail-mt.c: #include <string.h>
* mail-ops.c (save_part_save): Use strcasecmp() instead of
g_strcasecmp().
* mail-local.c: #include <string.h>
(reconfigure_folder_reconfigured): Use a GtkDialog instead of
gnome_error_dialog().
* mail-format.c (find_preferred_alternative): Use g_ascii_strdown
since g_strdown is deprecated.
(fake_mime_part_from_data): Removed, no longer used it seems.
(destroy_part): Also removed.
* mail-display.c (make_popup_window): Replace call to
gtk_window_set_polociy() with gtk_window_set_resizable() instead.
(popup_size_allocate_cb): Use gtk_window_set_position() with
GTK_WIN_POS_MOUSE instead of calculating the position to put it
in.
svn path=/trunk/; revision=19878
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-10 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_url): look in the http cache for images
when saving
(image_save_as): remove random warning.
(do_external_viewer): remove unused variable.
(do_attachment_header): use g_ascii_strdown
svn path=/trunk/; revision=19864
|
|
|
|
|
|
|
|
|
| |
2003-02-07 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_data_cb): don't use random memory as a
gconf client.
svn path=/trunk/; revision=19848
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-03 Jeffrey Stedfast <fejj@ximian.com>
* mail-identify.c (mail_identify_mime_part): Just use
gnome_vfs_get_mime_type_from_name() so we can forget all the crap
I implemented before.
2003-02-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_link_clicked): Pass in the *address* of the
GError to gnome_url_show(), otherwise bad things happen :-)
svn path=/trunk/; revision=19711
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-identify.c (mail_identify_mime_part): Fixed a #warning by
converting a local path into a file: uri before feeding it to
gnome-vfs.
* message-list.c (message_list_set_folder): Removed a FIXME that
I've decided is no longer needed.
2003-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_add_account): Emit the account-added
event.
(mail_config_remove_account): Emit the account-removed event.
* mail-account-gui.c (mail_account_gui_save): Emit the changed
event on the account-list for the changed account.
svn path=/trunk/; revision=19655
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-07 leon.zhang <leon.zhang@sun.com>
* component-factory.c (user_create_new_item_cb): transfer the
current acount info, which will be regarded as the sender of
new composer, to send_to_url().
* mail-callbacks.h (send_to_url): Add a new parameter for parent
folder uri.
* mail-callbacks.c (send_to_url): Create composer base on source
account info from parent folder physical uri.
(post_to_url): create composer based on current account from
parent folder physical uri.
* mail-display.c (on_link_clicked): Apply new format of function:
send_to_url.
Fixes bug #35123 #35289
2003-01-24 Not Zed <NotZed@Ximian.com>
* mail-local.c (non_equal): We do actually need to check they are
file url's, otherwise, all url's match.
svn path=/trunk/; revision=19611
|
|
|
|
|
|
|
| |
that it actually does something. Also pass news and nntp urls to
gnome_url_show so that they can be handled properly.
svn path=/trunk/; revision=19515
|
|
|
|
|
|
|
|
|
| |
2003-01-18 Larry Ewing <lewing@ximian.com>
* mail-display.c (html_button_press_event): make the event
handlers return FALSE so that gtkhtml can process the events.
svn path=/trunk/; revision=19514
|
|
|
|
|
|
|
|
|
|
| |
2003-01-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (pixmap_press): Change the user_data argument to
be of type gpointer instead of EScrollFrame, since, well, it's not
an EScrollFrame anymore.
svn path=/trunk/; revision=19461
|
|
|
|
| |
svn path=/trunk/; revision=19440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-07 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (save_cursor_pos): Use gconf to get the paned
size.
(folder_browser_set_message_preview): Same.
(folder_browser_toggle_hide_deleted): Use gconf to set the
hide-deleted state.
(folder_browser_set_message_display_style): Same but for the
message_display_style.
(fb_resize_cb): Save the paned_size via gconf.
(paned_size_changed): Callback for when the paned_size gets
changed. Change the folder-browser's paned size to the new
setting.
(folder_browser_gui_init): Listen to changes to the paned_size and
also get the initial size from gconf.
* message-list.c (message_list_set_folder): Use gconf.
(regen_list_regen): Use gconf.
* message-browser.c (transfer_msg_done): Use gconf to get the
hide_deleted setting.
* mail-account-gui.c (sig_add_new_signature): Use gconf.
* folder-browser-ui.c (folder_browser_ui_add_list): Use gconf.
* folder-browser.c (save_cursor_pos): Use gconf.
(folder_browser_set_message_preview): Same.
(folder_browser_toggle_hide_deleted): Here too.
(folder_browser_set_message_display_style): And here.
(folder_browser_gui_init): Here too.
(done_message_selected): And here.
* mail-config.c (mail_config_get_thread_subject): Removed.
(mail_config_set_thread_subject): Removed.
(mail_config_get_empty_trash_on_exit): Removed.
(mail_config_set_empty_trash_on_exit): Removed.
(mail_config_get_last_filesel_dir): Removed.
(mail_config_set_last_filesel_dir): Removed.
(mail_config_get_hide_deleted): Removed.
(mail_config_set_hide_deleted): Removed.
(mail_config_get_paned_size): Removed.
(mail_config_set_paned_size): Removed.
(mail_config_get_send_html): Removed.
(mail_config_set_send_html): Removed.
(mail_config_get_confirm_unwanted_html): Removed.
(mail_config_set_confirm_unwanted_html): Removed.
(mail_config_get_citation_highlight): Removed.
(mail_config_set_citation_highlight): Removed.
(mail_config_get_citation_color): Removed.
(mail_config_set_citation_color): Removed.
(mail_config_get_do_seen_timeout): Removed.
(mail_config_set_do_seen_timeout): Removed.
(mail_config_get_mark_as_seen_timeout): Removed.
(mail_config_set_mark_as_seen_timeout): Removed.
(mail_config_get_prompt_empty_subject): Removed.
(mail_config_set_prompt_empty_subject): Removed.
(mail_config_get_prompt_only_bcc): Removed.
(mail_config_set_prompt_only_bcc): Removed.
(mail_config_get_confirm_expunge): Removed.
(mail_config_set_confirm_expunge): Removed.
(mail_config_get_confirm_goto_next_folder): Removed.
(mail_config_set_confirm_goto_next_folder): Removed.
(mail_config_get_goto_next_folder): Removed.
(mail_config_set_goto_next_folder): Removed.
(mail_config_get_http_mode): Removed.
(mail_config_set_http_mode): Removed.
(mail_config_get_default_forward_style): Removed.
(mail_config_set_default_forward_style): Removed.
(mail_config_get_default_reply_style): Removed.
(mail_config_set_default_reply_style): Removed.
(mail_config_get_message_display_style): Removed.
(mail_config_set_message_display_style): Removed.
(mail_config_get_default_charset): Removed.
(mail_config_set_default_charset): Removed.
(mail_config_get_x_mailer_display_style): Removed.
(mail_config_set_x_mailer_display_style): Removed.
* subscribe-dialog.c (populate_store_list): Use the list of
accounts. We can't get the list of sources anymore.
(populate_store_foreach): Updated.
* mail-callbacks.c (guess_me_from_accounts): Use account->enabled.
(mail_generate_reply): Same.
(empty_trash): Here too.
* mail-accounts.c (account_delete_clicked): Use account->enabled
rather than source->enabled.
(account_able_clicked): Same.
(account_cursor_change): Here too.
(mail_accounts_load): And here.
* component-factory.c (owner_unset_cb): Use gconf empty-on-exit
settings.
(mail_load_storages): Use account->enabled rather than
account->source->enabled. The struct changed.
* mail-composer-prefs.c (sig_add): Get the send_html pref from gconf.
* message-tag-followup.c (target_date_new): Use gconf.
* mail-config.c (mail_config_get_week_start_day): Removed.
* mail-tools.c (mail_tool_quote_message): Use gconf here too, but
we don't need to parse the colour - just use it as a raw string.
(mail_tool_forward_message): Use gconf.
* mail-format.c (mail_format_data_wrapper_write_to_stream): Use gconf.
(write_headers): Use gconf.
(handle_text_plain): Same.
* mail-display.c (mail_text_write): Updated to use gconf and parse
GdkColour strings.
(on_url_requested): Updated to use gconf.
* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Use gconf
rather than the old mail-config APIs which will be removed.
(ask_confirm_for_empty_subject): Same.
(ask_confirm_for_only_bcc): Here too.
(composer_get_message): And here.
(create_msg_composer): Same.
(transfer_msg_done): Again here.
(delete_msg): Here too.
(confirm_expunge): And finally here.
* mail-config.c (mail_config_write): Use gconf.
(mail_config_get_sources): Removed.
* mail-account-gui.c (mail_account_gui_save): No need to save
enabled-state anymore for a source.
* mail-config-druid.c (wizard_finish_cb): Instead of setting
account->source->enabled to TRUE, just set account->enabled to
TRUE. The structures changed a bit.
* mail-send-recv.c (mail_send_receive): Get the list of accounts
instead of sources, and pass them along to build_dialogue. I'm
trying to get rid of the mail_config_get_sources() api.
(mail_autoreceive_setup): Here too.
* mail-config.c (mail_config_get_filter_log): Removed.
(mail_config_set_filter_log): Removed.
(mail_config_get_filter_log_path): Removed.
(mail_config_set_filter_log_path): Removed.
(mail_config_get_new_mail_notify): Removed.
(mail_config_set_new_mail_notify): Removed.
(mail_config_get_new_mail_notify_sound_file): Removed.
(mail_config_set_new_mail_notify_sound_file): Removed.
* mail-session.c (main_get_filter_driver): Updated to use the
gconf settings.
svn path=/trunk/; revision=19271
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-03 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c: Fixed some build issues.
* mail-search.c: Same.
* mail-callbacks.c (save_draft_done): Use
g_signal_handlers_disconnect_by_func().
(manage_subscriptions): Use a weak_ref instead of connecting to
the destroy event.
svn path=/trunk/; revision=19224
|
|
|
|
| |
svn path=/trunk/; revision=19209
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_error_printf): Use camel_text_to_html()
instead of e_text_to_html().
(mail_text_write): Write the content directly to gtkhtml through
an html stream filter.
* mail-format.c (attachment_header): Use camel_text_to_html()
instead of e_text_to_html().
(write_text_header): Same.
(write_address): Here too.
(mail_get_message_rfc822): And here.
(mail_get_message_body): And finally here.
svn path=/trunk/; revision=19133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_text_plain): Re-implemented to use
streams. Also no need to check for html since
camel-mime-part-utils.c now does this for us and will re-tag the
mime-type as text/html thus the UI can be completely ignorant of
this process.
(handle_text_plain_flowed): Removed.
(write_one_text_plain_chunk): Removed.
(try_uudecoding): Removed.
(try_inline_binhex): Removed.
(handle_text_enriched): Re-implemented to use streams too.
2002-12-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (write_text_header): Change the order of the args
to be consistant with other write functions.
(write_date): Same.
(write_field_row_begin): Here too.
(write_headers): Here too.
(write_one_text_plain_chunk): Don't strdup just to pass it to
mail_text_write() so that it can dup it yet again into html text
and dup it yet a 3rd time into a GByteArray. Instead just write it
to gtkhtml.
(handle_*): Fixed arguments to take a MailDisplayStream instead of
a GtkHTML widget and a GtkHMLStream.
* mail-display.c (mail_display_render): Create a MailDisplayStream
to pass to mail_format_mime_message() and
mail_format_raw_message().
* mail-display-stream.[c,h]: New stream to replace
mail-stream-gtkhtml.c
* mail-stream-gtkhtml.[c,h]: Removed.
svn path=/trunk/; revision=19126
|
|
|
|
| |
svn path=/trunk/; revision=19121
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c: Get rid of unneeded CamelObject casts.
(user_message_response): Don't unref the dialog object after we've
destroyed it.
* mail-display.c (write_data_to_file): Don't unref the dialog
object after we've destroyed it.
* mail-callbacks.c: Same here.
* component-factory.c: Here too.
* message-tag-editor.c: Added MESSAGE_TAG_EDITOR_GET_CLASS macros.
svn path=/trunk/; revision=19112
|
|
|
|
| |
svn path=/trunk/; revision=19110
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_format_data_wrapper_write_to_stream): New
function to handle a lot of the filtering/etc that was done in
mail_format_get_data_wrapper_text(). This is the first step toward
getting rid of e-text-to-html crap and using my tohtml stream
filter instead.
(mail_format_get_data_wrapper_text): Use the new function.
(mail_format_raw_message): Use camel streams to write the content
to gtkhtml rather than using get_data_wrapper_text() and then
converting that to html and then writing it to the gtkhtml stream.
svn path=/trunk/; revision=19098
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-27 Not Zed <NotZed@Ximian.com>
* message-tag-followup.c (construct): gnome_pixmap -> gtkimage.
(construct): gtk_clist -> gtk_tree_view, setup columns. They dont
size well :-/
(message_tag_followup_append_message): Append using model, remove
clist stuff.
(construct): Show date edit (glade bugs?)
* folder-browser.c (folder_browser_class_init): gtk_marshal -> g_cclosure_marshal
(setup_popup_icons): gnome_pixmap -> gtk_image.
(on_right_click): gtk_pixmap -> gtk_image.
* mail-accounts.c (account_delete_clicked): removed #if 0'd out code.
* mail-send-recv.c (receive_done): remove FIXME and extra unref.
* mail-session.c (request_password): Removed #if 0'd out stuff.
* mail-vfolder.c (new_rule_clicked): proper cast for g_object_get_data.
* mail-local.c (reconfigure_response): cast for g_object_get_data.
* mail-account-editor.c (construct): GNOME_DIALOG -> GTK_DIALOG.
* *.[ch]: re-ran fix.sh for e_notice change
* mail-callbacks.c (save_msg_ok): g_object_get_data +
gtk_object_remove_no_notify -> g_object_steal_data.
(find_socket): gtk_container_children ->
gtk_container_get_children
(edit_msg): gnome_*_dialog -> gtk_message_dialog.
(resent_msg): "
(search_msg): "
(confirm_goto_next_folder): gtkmessagedialogised (even if not
used).
(confirm_expunge): gtkmessagedialogised
(filter_edit): "
(do_mail_print): e_notice -> gtk_message_dialog.
(are_you_sure): removed e_gnome_ok_cancel_dialog crap, replaced
with a gtk dialog.
(are_you_sure): gtkmessagedialogised.
(edit_msg_internal): Dont free uids array, are_you_sure() free's
it.
(resend_msg): Same.
(check_send_configuration): Use e_notice for stuff. Sigh, here we
go again ...!
(e_question): A utility function to ask a question, potentially
with 'dont ask again' as well.
(configure_mail): use e_question to save code. Here we go again,
again ...
(ask_confirm_for_unwanted_html_mail): "
(ask_confirm_for_only_bcc): "
(ask_confirm_for_only_bcc): "
(composer_get_message): Use e_notice.
(composer_save_draft_cb): Use e_question
(edit_msg): use e_notice, & change to an ERROR.
(resend_msg): same.
(save_msg_ok): Properly initialise ret to OK, and use e_question,
and use access() to determine existance/write access rather than
stat, display an error if we can't write to a file that exists,
and print the filename in all dialogues.
(confirm_goto_next_folder): Use e_question.
(confirm_expunge): use e_question.
(filter_edit): Use e_notice.
(do_mail_print): use e_notice.
svn path=/trunk/; revision=18974
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-26 Not Zed <NotZed@Ximian.com>
* mail-account-editor.c (mail_account_editor_new):
gtk_widget_set_parent_window -> gtk_window_set_transient_for.
* mail-callbacks.c (composer_send_queued_cb): dont unref composer.
* message-browser.c (message_browser_destroy): moved back from
finalise.
2002-11-25 Not Zed <NotZed@Ximian.com>
* message-list.c (message_list_dispose): move saving tree state
here.
(message_list_finalise): And take it from here.
* mail-display.c (mail_display_destroy): @#$@# gtk. changed this
around a bit.
(mail_display_init): Fix prototype, its a gobject.
(mail_display_init): ref/sink the invisible gtkobject.
svn path=/trunk/; revision=18919
|
|
|
|
|
|
|
|
|
| |
2002-11-15 Harry Lu <harry.lu@sun.com>
* mail-display.c (write_data_to_file): Show file name when prompt
to user for overwrite.
svn path=/trunk/; revision=18886
|
|
|
|
|
|
|
|
|
| |
2002-11-21 Harry Lu <harry.lu@sun.com>
* mail-display.c (do_attachment_header): Enable dragging of all
attachments. For bug #34327.
svn path=/trunk/; revision=18882
|
|
|
|
| |
svn path=/trunk/; revision=18877
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-19 Not Zed <NotZed@Ximian.com>
* importers/evolution-mbox-importer.c (mail_importer_module_init):
fix warning message, outlook->mbox.
* importers/Makefile.am: fix serverdir to point to
$libdir/bonobo/servers.
* mail-callbacks.c (addrbook_sender): add type to
bonobo_widget_set_property.
* mail-vfolder.c (vfolder_editor_response): dont unref after destroy.
* mail-session.c (pass_response): dont unref aftrer destroy.
* mail-local.c (reconfigure_response): dont unref after destroy.
* mail-display.c (launch_cb): dont unref after destroy.
(launch_cb): "
(drag_data_get_cb): "
(html_button_press_event): add type to bonobo_widget::set_property
* mail-config.c (mail_config_check_service): dont unref after
destroy.
* component-factory.c (send_receive_cb): dont unref after destroy.
(request_quit): "
* mail-signature-editor.c (mail_signature_editor): Use version 3.0
of gtkhtml editor interfaces.
(do_exit): dont unref after destroy.
(format_html_cb): Add type to bonobo_widget::set_property.
svn path=/trunk/; revision=18837
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (account_edit_clicked): Use g_object_weak_ref
rather than connecting to destroy.
(account_add_clicked): Same.
* mail-callbacks.c (addrbook_sender): Make this use
g_object_weak_notify also.
(subscribe_dialog_destroy): Add NULL guards here since I think we
really do want to connect to the "destroy" signal in the function
that connects us to that signal.
* mail-config-factory.c (config_control_factory_cb): Same.
* mail-display.c (save_part): Here too.
(make_popup_window): And here.
* mail-send-recv.c (build_dialogue): Same here.
* mail-summary.c (create_summary_view): Use g_object_weak_notify
instead of connecting to the destroy signal.
svn path=/trunk/; revision=18764
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* component-factory.c (owner_set_cb): Want a (GWeakNotify) cast
here, not (GWeakNotify *).
* subscribe-dialog.c (fete_init): g_object_set() instead of
gtk_object_set().
(populate_store_list): Likewise.
(menu_item_selected): g_object_get_data() instead of
gtk_object_get_data().
* message-list.c (message_list_create_extras): g_object_set()
instead of gtk_object_set().
* message-browser.c (message_browser_message_list_built):
g_object_get_data() instead of gtk_object_get_data().
* mail-vfolder.c (edit_rule_response): g_object_get_data() instead
of gtk_object_get_data().
* mail-summary.c (generate_folder_summaries): g_object_unref() the
context instead of gtk_object_destroy().
* mail-local.c (reconfigure_response): g_object_get_data() instead
of gtk_object_get_data().
* mail-display.c (pixbuf_gen_idle): g_object_unref() the GdkPixbuf
loader instead of gtk_object_destroy().
(pixbuf_gen_idle): Likewise.
(embeddable_destroy_cb): Likewise.
* mail-config-druid.c (mail_config_druid_destroy): No need to
gtk_object_destroy() the GladeXML object.
(construct): g_object_set() instead of gtk_object_set().
* folder-browser.c (folder_browser_gui_init): g_object_get_data()
instead of gtk_object_get_data().
svn path=/trunk/; revision=18752
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-13 Not Zed <NotZed@Ximian.com>
* Makefile.am: Commented out stuff that doesn't build yet. Also
fixed idl build rule. importers still not built.
* main.c (main): bonobactivationise. remove push visual/colormap.
(main): no longer activate activation, let bonobo_init do it.
* mail-signature-editor.c (menu_help): Change help api.
* mail-session.c (user_message_destroy_noreply): removed. Not
used?
* mail-local.c (load_metainfo): xml root->children.
* mail-format.c (g_string_append_len): Removed, it exists now.
2002-11-12 Not Zed <NotZed@Ximian.com>
* subscribe-dialog.c: gnome2ised, use gtkdialog.
(subscribe_get_global_extras): use a weak ref rather than destroy signal.
* message-tag-followup.c: gnome2ised.
* message-tag-editor.c: gnome2ised & converted to gtkdialog.
* message-list.c: gnome2ised.
(message_list_finalise): From destroy method. maybe should be
destroy still.
* message-browser.c: port to gnome2
(message_browser_finalise): renamed from destroy method.
* mail-stream-gtkhtml.c: removed redundant
camel_class_get_global_classfuncs() call.
* mail-signature-editor.c: gtkdialogised, & bonobo api changes.
* mail-search-dialogue.c: gtkdialogised.
* mail-folder-cache.c: cleaned up camel ref/hook casts.
* mail-composer-prefs.c (mail_composer_prefs_get_type): convert to
gtype.
* mail-font-prefs.c (mail_font_prefs_destroy): from finalise.
* mail-config.c: s/bonobo_config/e_config_listener/
Added /apps/Evolution prefix to the evolution keys.
Changed to use e_config_listener, etc.
(mail_config_init): remove bonobo_config stuff.
(mail_config_check_service): gtk dialogise.
(check_response): from check_cancelled.
* mail-config-druid.c (mail_config_druid_destroy): renamed from
_finalize, turned into destroy handler.
(construct): set type to toplevel, GTK_WINDOW_DIALOG no longer exists.
* mail-config-factory.c (mail_config_register_factory): bonobo api
changes.
* mail-crypto.c (mail_crypto_get_pgp_cipher_context): cleaned up
unref casts.
* mail-display.c (write_data_to_file): gnome->gtkdialog.
(on_link_clicked): use ascii_str*cmp on url.
(save_part): g_path stuff.
(launch_cb): gtk dialog.
(pixmap_press): de-oafify.
(pixbuf_for_mime_type): gnome-vfs api changes.
(do_attachment_header): Change the pixmap to a gtkimage.
(do_signature): "
(pixbuf_gen_idle): "
(do_attachment_header): ascii_str*cmp
(do_attachment_header): gnome pixmap->gtkimage.
(mail_display_destroy): protect against gtk mentalness.
(html_button_press_event): ascii_str*cmp
(drag_data_get_cb): added comment for translators of filename.
* mail-format.c (component_supports): de-oafise.
(is_anonymous): ascii_strncmp
(attachment_header): remove utf8<>locale stuff, and gnomevfs api
changes.
(format_mime_part): fix g_strdown call.
(write_field_row_begin): kill utf8->gtk stuff.
(write_address): "
(default_header_index): ascii_strcasecmp
(handle_text_plain): "
(handle_text_enriched): "
(handle_multipart_encrypted): remove utf/gtk stuff.
(handle_message_external_body): ascii_str*cmp
* mail-identify.c (mail_identify_mime_part):
(identify_by_magic): gnome vfs api changes.
* mail-importer.c: Converted.
* mail-local.c (load_metainfo): xml childs -> children.
(mls_get_folder): g_strerror.
(mls_delete_folder): g_strerror.
(reconfigure_got_folder): Gnome->GtkDialog
(reconfigure_response): from reconfigure_clicked.
* mail-mt.c (mail_msg_check_error): gnome -> gtk dialog
(error_response): renmae from error_gone. destroy widget on any
response.
* mail-offline-handler.c (impl_finalise): renamed from
impl_destroy since thats what it should be anyway.
* mail-ops.c: removed utf8 widget conversion & camel_object_un/ref
casts.
* mail-preferences.c (mail_preferences_get_type): glib2'ised.
* mail-search.c (mail_search_finalise): renmaed from destroy &
properly chain.
(mail_search_get_type): glib2 & make gtkdialog parent.
(entry_run_search): run search when entry activated. not sure if
gtkdialog has anohter way to do this on an arbitrary widget.
* mail-send-recv.c (dialogue_response): renamed from clicked. Use
gtkdialog.
* mail-session.c (request_password_deleted): removed, redundant.
(pass_response): rename from pass_got, changed for gtkdialog.
(user_message_destroy): Removed, redundant.
(user_message_response): Renamed from user_message_clicked.
2002-11-11 Not Zed <NotZed@Ximian.com>
* mail-stream-gtkhtml.c (mail_stream_gtkhtml_class_init): dont use
get_global_classfuncs, just get the type
* mail-tools.c: converted gnome2 api's.
* mail-vfolder.c (vfolder_editor_response): clicked->response.
(vfolder_editor_destroy): Removed.
(vfolder_edit): gtk dialog api
(edit_rule_response): clicked->response.
(vfolder_edit_rule): gnomedialog->gtkdialog.
(vfolder_gui_add_rule): "
(new_rule_clicked): clicked->response
svn path=/trunk/; revision=18723
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-27 Larry Ewing <lewing@ximian.com>
* mail-display.c (fetch_next): don't queue the action until we've
added ourselves to the active list, because the fetch_done
callback can fire immediately and we'll end up queueing something
that has already been destroyed.
svn path=/trunk/; revision=18452
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (write_data_to_file): Use the mode 0666 when
creating a new file and let the user's umask handle permissions.
* folder-browser.c (message_list_drag_data_get): When using open()
with the O_CREAT flag, we need to pass a mode argument. Also use
O_EXCL.
svn path=/trunk/; revision=18430
|
|
|
|
|
|
|
|
| |
2002-10-01 Larry Ewing <lewing@ximian.com>
(drag_data_get_cb): silence warning.
svn path=/trunk/; revision=18289
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-01 Larry Ewing <lewing@ximian.com>
* mail-display.c (drag_data_get_cb): add support for dragging the
content type directly.
(do_attachment_header): add the target for the mime type to the
drag source.
svn path=/trunk/; revision=18288
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (mail_display_render): Add a margin around the
"flag for followup" table so it lines up with everything else.
Also, don't add "at your earliest convenience" after the flag if
there's no date set, since that doesn't make any sense for half of
the flags. ("For Your Information at your earliest convenience").
svn path=/trunk/; revision=18226
|
|
|
|
| |
svn path=/trunk/; revision=18103
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Use e_strftime_fix_am_pm
here which fixes locale issues as well as working around systems
that don't support %P (afaik).
* mail-ops.c (prep_offline_do): Cache important messages too.
svn path=/trunk/; revision=18095
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (pixbuf_for_mime_type): check the new gnome-vfs
icon_filename key. If that fails, fall back to checking
icon-filename. Also don't leak the fm_icon string and rearranged
some code.
svn path=/trunk/; revision=18044
|
|
|
|
| |
svn path=/trunk/; revision=17938
|
|
|
|
| |
svn path=/trunk/; revision=17937
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-30 Radek Doulik <rodo@ximian.com>
* mail-format.c (mail_format_raw_message): as below
(handle_text_plain_flowed): as below
* mail-display.c (mail_text_write): put text in iframe, so it has
margins and should not be placed in table which changes wrapping
behavior
svn path=/trunk/; revision=17933
|
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (make_safe_filename): Fix some broken logic here,
`p = strrchr (path, '/') + 1` will *never* be NULL!! If the
strrchr returns NULL, then that expression will evaluate to 0x1!!
svn path=/trunk/; revision=17901
|
|
|
|
|
|
|
| |
* mail-display.c (on_url_requested): Replace no-longer-existent
e_book_query_address_locally with e_book_query_address_default.
svn path=/trunk/; revision=17765
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Updated to use the new
Follow-Up tags. Instead of storing a string containing the
follow-up tag value, we now have to store the CamelMessageInfo.
(mail_display_destroy): Unref the folder and the message-info.
* folder-browser.c (followup_tag_complete): No longer needed.
(on_right_clicked): Use the individual follow-up tags to decide
whether or not to enable something.
* message-list.c (ml_tree_value_at): Update to use the new
Follow-Up tags.
* mail-callbacks.c (flag_for_followup): Update to use the new
MessageTagEditor API.
(tag_editor_ok): Update this too.
(flag_followup_completed): Updated this too.
(flag_followup_clear): Set all the follow-up tag values to "".
svn path=/trunk/; revision=17691
|
|
|
|
|
|
|
|
|
|
| |
2002-08-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (setup_mime_tables): Don't setup a handler for
multipart/digest.
(handle_multipart_digest): Removed.
svn path=/trunk/; revision=17667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-31 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Removed folder-browser-window from the build.
* folder-browser-window.[c,h]: Removed.
* mail-callbacks.c (view_digest): Removed.
* mail-display.c (mail_display_digest_clicked): Removed.
(on_link_clicked): Don't handle digest: urls anymore.
svn path=/trunk/; revision=17666
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-31 Not Zed <NotZed@Ximian.com>
* mail-display.c: Added global cameldatacache for managing remote
image cache.
(fetch_remote): Lookup data in cache first, use that if available,
or setup a new cache item.
(fetch_data): Write any retrieved data to cache as well as html
stream.
(fetch_free): Unref cache stream.
(fetch_done):
(fetch_cancel): If failed/cancelled, remove cache items so they
dont foul the result. Probably need a header in cache items to
guarantee this, but this is ok for now.
(mail_display_class_init): Setup cache structure. Also ensure
globals are initialised at-most once.
svn path=/trunk/; revision=17652
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-29 Not Zed <NotZed@Ximian.com>
* mail-display.c (mail_display_init): setup private data.
(mail_display_destroy): cancel any outstanding fetches, and free
private data.
(mail_display_set_message): Cancel any outstanding fetches.
(fetch_cancelled):
(fetch_next):
(fetch_remote):
(fetch_data):
(fetch_free):
(fetch_cancel):
(fetch_done): Implement, used to use soup to download remote
images.
(load_http): Removed.
(on_url_requested): When requesting a http* url, use the
fetch_remote call above.
* mail-display.h (struct _MailDisplay): Added priv(ate) member.
svn path=/trunk/; revision=17640
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (link_open_in_browser): Mae sure that the
html->pointer_url is non-NULL. Should fix bug #28159 (this seems
to be the only questionable way for a NULL url to be passed into
on_link_clicked).
svn path=/trunk/; revision=17581
|
|
|
|
|
|
|
|
|
|
| |
2002-07-24 Not Zed <NotZed@Ximian.com>
* mail-display.c (drag_data_delete_cb): use uri_list before we set
"uri-list" to NULL, which will automagically free it for us, so
dont free it either. Found with vagrind.
svn path=/trunk/; revision=17549
|
|
|
|
|
|
|
|
|
| |
2002-07-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (pixmap_press): Rename "Save to disk..." to "Save
Attachment..."
svn path=/trunk/; revision=17422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_set_message): If we unref'd a
current_message, clear the datalist. Don't bother connecting to
the message's finalise signal because something else may own a ref
to the original message when we replace it with a new one.
(mail_display_destroy): Only clear the datalist if we have a
current_message, otherwise it's safe to assume that it is already
cleared.
svn path=/trunk/; revision=17413
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (redirect): Don't ever use the mail-display's
current_message, this can cause problems.
* mail-ops.c (get_message_free): Unref the gotten message. All of
the callers seemed to think that they didn't have to unref the
message.
* mail-display.c (mail_display_set_message): Now refs the message.
(mail_display_destroy): Unref the current_message if we still have
ownership of it.
svn path=/trunk/; revision=17387
|
|
|
|
|
|
|
|
|
| |
2002-06-28 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (mail_load_storages): Don't skip over
disabled accounts - put them in the folder tree too.
svn path=/trunk/; revision=17329
|
|
|
|
|
|
|
|
| |
2002-06-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_url_requested): Also handle https urls.
svn path=/trunk/; revision=17280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Jeffrey Stedfast <fejj@ximian.com>
The following changes take a great leap toward fixing bug #1042.
* mail-display.c (mail_display_push_content_location): New
function to push a Content-Location value onto the MailDisplay.
(mail_display_get_content_location): Gets the current
Content-Location CamelURL value.
(mail_display_pop_content_location): Pop the Content-Location off
the stack.
* mail-format.c (get_location): Do URL merging if the
Content-Location isn't a full URL. If the Content-Location doesn't
exist, pretend the URL is actually the Content-Location URL of our
parent multipart (assuming it exists). If that doesn't exist, then
yes - return NULL.
(handle_multipart_related): Push the Content-Location header value
of the multipart/related so that we can do URL merging in
get_location() as we process each of the subparts. When we're
done, pop it back off the stack.
svn path=/trunk/; revision=17113
|
|
|
|
|
|
|
|
|
| |
2002-05-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Fixed the "Overdue:"
string to not contain any HTML tags.
svn path=/trunk/; revision=16950
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_add_account): Don't add any shortcuts
here.
(mail_config_remove_account): And don't remove them here. This
code has never worked properly.
* mail-ops.c (save_part_save): Use the exception enum names rather
than '1' since it makes the code clearer.
svn path=/trunk/; revision=16756
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-29 Jeffrey Stedfast <fejj@ximian.com>
* message-tag-followup.c (message_tag_followup_append_message):
Convert UTF-8 to gtkstrings since we are using a clist and not an
E-widget that takes UTF-8.
* mail-display.c (mail_display_add_url): If the data-urls is NULL,
add a data-urls hash to the datalist. This finishes up bug #90.
svn path=/trunk/; revision=16640
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-29 Larry Ewing <lewing@ximian.com>
* importers/evolution-mbox-importer.c (process_item_fn): add const
to silence warning.
* mail-display.c: add gtkhtml.h include so to pick up the
object_relative prototype.
svn path=/trunk/; revision=16625
|
|
|
|
|
|
|
|
|
| |
2002-04-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Plug-in Anna's html for
the flag-for-followup stuff. Finishes up bug #90.
svn path=/trunk/; revision=16563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (stream_write_or_redisplay_when_loaded): Ref the
html object here, this is an async handler so it's possible for
our caller (or someone else) to unref the html object before we
finish.
(load_content_free): Unref the async handler's ref of the html
object here.
(mail_display_new): Ref the html widget here so that we can be
sure that so long as the mail-display is "alive", so is the html
object. See bug #22328 for details. Basically, the message-browser
is being closed before the message gets loaded and so the html
object was being destroyed but the mail-display was still alive.
(mail_display_destroy): Unref the html object when the
mail-display is destroyed.
svn path=/trunk/; revision=16544
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required gal version number to 0.19.99.11.
From addressbook/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories): Changed this to use
ECategoriesMasterListOptionMenu.
* gui/component/select-names/e-select-names.c
(section_right_click_cb),
gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-view.c: Updated these to match the new
EPopupMenu.
From calendar/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
gui/dialogs/meeting-page.c: Updated these to match the new
EPopupMenu.
From mail/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, mail-display.c: Updated these to match the new
EPopupMenu.
From shell/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-activity-handler.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-03 Jeffrey Stedfast <fejj@ximian.com>
* message-tag-followup.c (construct): Set the window title/icon
here instead.
* message-tag-editor.c (message_tag_editor_init): Don't set the
title or window icon here, this is a generic class.
* mail-format.c (handle_multipart_signed): Replace
get_url_for_icon with the new mail_display_get_url_for_icon
function.
(handle_multipart_digest): Here too.
(get_cid): Use mail_display_add_url instead.
(get_location): Same.
(handle_text_enriched): Here too.
(handle_multipart_signed): And here.
* message-tag-followup.c (message_tag_followup_i18n_name): Use the
U_() macro, not the _() macro as it is what we really want.
* mail-ops.c (mail_send_message): Don't cast the message into a
CamelMedium before sending anymore.
* mail-callbacks.c (expunge_folder): Set the followup argument to
NULL here.
(done_message_selected): Get the followup value here and pass it
to the mail-display here.
(do_mail_fetch_and_print): Again with the NULL followup here.
* folder-browser.c (folder_browser_set_message_preview): Update to
pass in NULL as the followup since we are setting the message to
NULL here.
(done_message_selected): Get and set the appropriate followup
value here.
(do_message_selected): Update to pass in NULL as the followup
since we are setting the message to NULL here.
* mail-display.c (mail_display_set_message): Now takes a followup
tag value.
(mail_display_init): Set md->followup to NULL.
(mail_display_destroy): Free md->followup.
(mail_display_add_url): New: replaces the static add_url function
originally in mail-format.c
(mail_display_get_url_for_icon): New: replaces get_url_for_icon
which was originally in mail-format.c
svn path=/trunk/; revision=16334
|
|
|
|
|
|
|
|
| |
* mail-display.c (do_attachment_header): unset GTK_CAN_FOCUS on
the button so that it can't grab focus when you click it.
(do_signature): Likewise on the signature button. #3904
svn path=/trunk/; revision=16261
|
|
|
|
|
|
|
|
|
| |
2002-03-19 Larry Ewing <lewing@ximian.com>
* mail-display.c: add missing NULL closure data to popup menu
initialization.
svn path=/trunk/; revision=16212
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (colour_msg): New callback to set a colour on a
message.
* folder-browser.c (on_right_click): Setup our popup icons and
stuff. Also add a submenu for Labels.
* mail-display.c (pixmap_press): Sync up with the new EPopupMenu
API. Note: This code can probably now be fixed to use per-item
closures - yay!
* mail-accounts.c (construct): Connect to the label GtkEntry's and
GnomeColorPickers and also to the Restore Defaults button.
* mail-config.c (mail_config_get_label_name): New function to get
a label's name.
(mail_config_set_label_name): New function to set the label name.
(mail_config_get_label_color): New function to get the label
color.
(mail_config_set_label_color): New function to set the label
color.
(config_read): Read in the config options for the labels and their
colors.
(mail_config_write_on_exit): Save the label options.
svn path=/trunk/; revision=16186
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Larry Ewing <lewing@ximian.com>
* mail-display.c: expand the relative urls of the object at the
point so that relative images can be saved correctly.
* folder-browser.c: add a closing quote in a comment.
svn path=/trunk/; revision=16181
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_link_clicked): Handle digest: urls.
* mail-format.c (setup_mime_tables): Add a handler for multipart/digest.
(handle_multipart_digest): Handle multipart/digest parts.
svn path=/trunk/; revision=16133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* component-factory.c (add_storage): Update for storage changes:
explicitly create a root folder.
* mail-display.c (mail_display_render): Fix the "don't scroll back
to the top of the HTML widget when opening an attachment" hack
again by moving it here from mail_display_redisplay(). (It has to
happen after the gtk_html_begin.)
(mail_display_redisplay): Pass reset_scroll arg to
mail_display_render.
* mail-callbacks.c (do_mail_print): Pass reset_scroll (TRUE) to
mail_display_render.
svn path=/trunk/; revision=15967
|
|
|
|
|
|
|
|
|
|
| |
2002-03-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (load_http): Added more debugging code to help
figure out why a certain image isn't loading - looks like
gnome-vfs is getting a premature EOF?
svn path=/trunk/; revision=15910
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-26 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_text_html): Get the Content-Base if the
header exists and use gtk_html_set_base to set this base url.
* mail-display.c (on_link_clicked): No longer need to calculate
the full url. This is now handled by GtkHTML.
(on_set_base): Removed.
(on_url_requested): No longer need to calculate the full url.
(mail_display_initialize_gtkhtml): Don't connect to the set_base
signal anymore. We don't care.
* mail-display.h: No longer need base_url (it was broken anyway).
svn path=/trunk/; revision=15850
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-26 Not Zed <NotZed@Ximian.com>
* mail-display.c (on_url_requested): If a related part is
requested, remove it from the related undisplayed list.
* mail-format.c (handle_multipart_related): Check if related parts
are displayed, if not, remove them. For #2741.
svn path=/trunk/; revision=15837
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (do_attachment_header): Don't display a
down-arrow if the attachment is undisplayable. Fixes bug #6919.
(launch_cb): Some programs are buggy when it comes to parsing
file: uris, so make sure we do file://%s. Fixes bug #20456.
svn path=/trunk/; revision=15747
|
|
|
|
|
|
|
|
|
| |
2002-02-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (do_attachment_header): Don't display a
down-arrow if the attachment is undisplayable. Fixes bug #6919.
svn path=/trunk/; revision=15746
|
|
|
|
|
|
|
|
|
|
| |
2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): Default the from-account
to the source account. If that fails, then guess the from-account
based on the recipients. Fixes bug #20479.
svn path=/trunk/; revision=15728
|
|
|
|
|
|
| |
witht he same drag.
svn path=/trunk/; revision=15722
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (drag_data_get_cb): Implement.
(drag_data_delete_cb): Implement.
(do_attachment_header): Setup Drag & Drop. This implements
bugzilla bug #1066.
svn path=/trunk/; revision=15721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (save_data_cb): Save the pathname.
(save_part): Use the new mail_config cruft to get the last used
save pathname.
* mail-config.c (config_read): Read in last_filesel_dir string.
(mail_config_write_on_exit): Save the last_filesel_dir setting.
(mail_config_get_last_filesel_dir): New
(mail_config_set_last_filesel_dir): New
svn path=/trunk/; revision=15474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_set_base): New callback to handle the
set_base signal.
(on_url_requested): If the base_url is set, prepend it to the data
url (we don't want to do this for cid urls or part urls tho).
(mail_display_init): Initialize md->base_url to NULL.
(mail_display_destroy): Free the base_url.
(mail_display_initialize_gtkhtml): Connect to the set_base signal.
(on_link_clicked): If the base_url is set, prepend it to the url
string passed to us from gtkhtml.
svn path=/trunk/; revision=15329
|
|
|
|
|
|
|
|
|
| |
2002-01-03 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Add an Organization
header.
svn path=/trunk/; revision=15242
|
|
|
|
|
|
|
|
|
|
| |
2001-12-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (try_inline_pgp):
(try_inline_pgp_sig): Start reiplementing The Right Way and not
danw's fucking half-assed kludge that doesn't work.
svn path=/trunk/; revision=15076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-11 Jon Trowbridge <trow@ximian.com>
* mail-identify.c (mail_identify_mime_part): Fixed for
mail_content_loaded's new signature.
* mail-format.c (attachment_header): Don't convert URLs, etc. if
we are printing.
(write_address): Don't convert addresses to mailto: links if we
are printing.
(write_one_text_plain_chunk): Add a printing flag, that we pass
along to mail_text_write.
(handle_text_plain): Pass our printing flag to
write_one_text_plain_chunk.
(mail_get_message_rfc822): Don't unneccesarily convert URLs.
(mail_content_loaded): Add a GtkHTML parameter.
* mail-display.c (mail_display_initialize_gtkhtml): Added. Breaks
all of the signal hookups out of mail_display_new.
(mail_display_new): Call mail_display_initialize_gtkhtml.
(mail_text_write): Don't convert URLs, etc., if we are printing.
Lots of other changes to pass around GtkHTML/GtkHTMLStream objects.
* mail-callbacks.c (do_mail_print): Call
mail_display_initialize_gtkhtml on our GtkHTML object.
* folder-browser.c (update_status_bar): Make the status bar more
useful when you have a large number of hidden messages.
svn path=/trunk/; revision=14997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-11 Jon Trowbridge <trow@ximian.com>
* message-list.etspec: Add ETable magic for our new "Needs Reply"
column. (The next few entries are for bug #90)
* message-list.h: Add COL_NEED_REPLY.
* message-list.c: Move mail_need_reply_xpm to the end of
states_pixmaps.
(ml_duplicate_value): Handle COL_NEED_REPLY.
(ml_free_value): Handle COL_NEED_REPLY.
(ml_initialize_value): Handle COL_NEED_REPLY.
(ml_value_is_empty): Handle COL_NEED_REPLY. Added
needs_reply_map[] array.
(ml_value_to_string): Handle COL_NEED_REPLY.
(ml_tree_value_at): Fix magic numbers, undoing my changes from the
otehr day. Add handler for COL_NEED_REPLY.
(message_list_create_extras): Attach icons for COL_NEED_REPLY.
(on_click): Undo my previous changes to display need-reply status
in COL_MESSAGE_STATUS. Add handing for COL_NEED_REPLY.
* mail.h: Change mail_format_mime_message, mail_format_raw_message
and the MailMimeHandlerFn typedef to take GtkHTML and
GtkHTMLStream args, as per our changes in mail-format.c.
* mail-format.c: Giant refactoring. Remove the assumption
throughout that we will always want to render into the GtkHTML
object contained in the MailDisplay. Instead, always pass in the
GtkHTML and GtkHTMLStream that we want to write to. Also, ignore
theme work-arounds if the printing flag is set. (This and what
follows fixes bug #82)
* mail-display.h: Remove GtkHTMLStream *stream from MailDisplay.
We don't need it anymore.
* mail-display.c (mail_display_render): Added. Breaks the code
that renders the message into the GtkHTML object out of
mail_display_redisplay.
(mail_display_redisplay): Call mail_display_render.
(mail_display_init): Remove reference to ->stream.
(mail_display_new): Remove reference to ->stream.
* mail-callbacks.c (do_mail_print): Create a new GtkHTML to render
our printed version into (via the new function
mail_display_render. Set the MailDisplay's printing flag to TRUE
before we render, and set it back to FALSE afterwards.
(do_mail_fetch_and_print): If the preview pane isn't open when we
try to print, fetch the message before printing.
(print_msg): Call do_mail_fetch_and_print.
(print_preview_msg): Call do_mail_fetch_and_print.
* folder-browser-ui.c: Remove "PrintMessage" and
"PrintPreviewMessage" from message_pane_enables... these now work
when the preview pane is closed. Disable printing if multiple
messages are selected.
svn path=/trunk/; revision=14981
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (on_object_requested): Don't just assume all of
the GtkHTMLEmbedded's fields are filled in, since HTML messages
may have <object>s in them that we're not expecting.
* mail-send-recv.c (mail_send_receive): Add a "current_folder"
arg.
(build_dialogue): Remember the current_folder
(free_send_data): If current_folder is set, refresh it so it's
guaranteed to be synced with the folder tree. Fixes #14770.
* mail-callbacks.c (send_receive_mail): Pass current_folder to
mail_send_receive().
svn path=/trunk/; revision=14950
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (stream_write_or_redisplay_when_loaded): Check
that the mail-display hasn't been destroyed.
(mail_display_redisplay): Same here.
2001-12-07 Dan Winship <danw@ximian.com>
* mail-send-recv.c (receive_update_got_store): If updating a store
that we don't have an associated storage for, just request a
folder tree and then free it. (For the Connector)
* mail-callbacks.h: Add missing part of Jeff's 12-03 patch so this
actually compiles.
svn path=/trunk/; revision=14938
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-25 Not Zed <NotZed@Ximian.com>
* mail-config.c (config_read): Enable news accounts that exist
always, since no gui for it.
2001-11-20 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (message_list_select): 'n' shouldn't wrap if 'p'
doesn't.
* mail-format.c (format_mime_part): Make sure the mime-type is
non-NULL before passing it off to mail_lookup_handler().
2001-11-20 Not Zed <NotZed@Ximian.com>
* folder-browser-ui.c: Disable search if no message
loaded/viewed. Also for #14348.
* folder-browser.c: Disable "Add sender to addressbook" if we dont
have a message loaded (it wont work). For #14348.
2001-11-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (load_content_loaded): Make sure the mail-display
object is still "alive" before accessing any of it's data.
svn path=/trunk/; revision=14796
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.h (mail_html_write): Renamed from
mail_html_write_string.
* mail-display.c (mail_text_write): Don't bother with varargs
since nothing used them, we were only passing strings anyway...
(mail_error_printf): Renamed from mail_error_write, this makes
more sense.
(mail_html_write): Removed.
* mail-format.c: Updated to use gtk_html_stream_printf directly
and s/mail_html_write_string/mail_html_write.
(mail_lookup_handler): Don't use %.*s here either...
(handle_text_enriched): Same.
(write_one_text_plain_chunk): And finally here (also update for
new mail_text_write api).
(handle_multipart_signed): Update for new mail_text_write api.
(format_mime_part): Update for new mail_error_text/printf name
change.
(handle_multipart_encrypted): Same.
* mail-tools.c (mail_tool_generate_forward_subject): Same as
mail_generate_reply.
* mail-callbacks.c (mail_generate_reply): Don't use %.*s in any
*printf* functions.
svn path=/trunk/; revision=14590
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (handle_multipart_signed): Write out the url
before callind add_url since add_url may free it. Fixes #13839.
Remove debug printf.
* mail-display.c (on_object_requested): Remove debug printf.
svn path=/trunk/; revision=14564
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (handle_multipart_signed): add some debug spew re
13839.
* mail-display.c (on_object_requested): here too
svn path=/trunk/; revision=14404
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* folder-browser.c (etree_key): Work around something that we
think is a GtkHTML bug, where sometimes the adjustments have
slightly bogus values and scrolling ends up working backwards.
(Ximian 4939)
* mail-display.c (do_signature, do_attachment_header): Set the
icon to be 24x24 here so that (assuming it's not a thumbnail), no
resizes will have to be queued later. (There's still a bug with
the text to the left of the button being drawn twice for some
reason though.)
* mail-callbacks.c (delete_msg): Fix a bug here that makes
deleting multiple messages cause a gratuitous message body fetch.
(Ximian 12355)
svn path=/trunk/; revision=14172
|
|
|
|
|
|
|
|
|
| |
2001-10-23 <NotZed@Ximian.com>
* mail-display.c (mail_display_destroy): Remove the idle_id when
we're destroyed so the idle func doesn't run on an invalid object.
svn path=/trunk/; revision=13966
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.h (mail_html_write_string): New fun macro.
* mail-format.c (write_one_text_plain_chunk): Use gtk_html_write
instead of mail_html_write so we avoid strdup'ing the text.
(handle_text_plain_flowed): Use the mail_html_write_string macro.
(handle_message_rfc822): Here too.
(mail_format_raw_message): We can do it here also...
(attachment_header): We can do it a little bit here...
(write_address): A microscopic bit here...
(write_hr): same.
svn path=/trunk/; revision=13925
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-stream-gtkhtml.c (mail_stream_gtkhtml_new): New class that
wraps writing to a GtkHTML stream so that we don't have to write
to an intermediate GByteArray.
* mail-display.c (on_url_requested): Use the new Camel->GtkHTML
stream - this means we don't have to chew up nearly as much
memory...yay!
svn path=/trunk/; revision=13911
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (handle_application_pgp): Remove this unused
hack.
(mail_format_mime_message): Initialize a fourth hash table, used
to keep track of fake MIME parts.
(mail_part_set_default_displayed_inline): New routine to set the
default disposition of a part (doesn't change it if the user has
already overridden it).
(format_mime_part): Wrap a blockquote around the error text (moved
here from mail_error_write since it doesn't apply in other cases).
(write_hr): Write a <hr> with appropriate padding between MIME
parts.
(write_one_text_plain_chunk): Write some plain text with
appropriate margins.
(handle_text_plain): Use write_one_text_plain_chunk. Update for
inline specials handler API change.
(fake_mime_part_from_data): Use the "fake_parts" hash to avoid
recreating the same fake parts again if the message is
redisplayed. Lets you toggle the shown/hiddenness of uudecode
parts, and do the new pgp verification thing for inline pgp
signatures.
(try_inline_pgp): Don't do any actual PGP handling here: Just
rewrite as a multipart/encrypted.
(try_inline_pgp_sig): Likewise, just do a multipart/signed (with
the x-inline-pgp-hack parameter set).
(try_uudecoding, try_inline_binhex): Update for API changes.
(handle_multipart_signed): Exciting and new. Use <object> to
create a button which the user must click to do the
verification. Change the formatting of the gpg output text a bit.
* mail-display.c (on_link_clicked): Remove x-evolution-decode-pgp
hack, which is no longer used.
(pixbuf_gen_idle): Add a hack for the PGP verification button.
(do_attachment_header, do_external_viewer): Split out of
on_object_requeested for clarity.
(do_signature): New routine to do the PGP verification button.
(on_object_requested): Now just dispatches to
do_attachment_header, do_external_viewer, or do_signature.
(mail_error_write): Don't do <blockquote> here. Fixed the problem
that was trying to fix elsewhere.
svn path=/trunk/; revision=13888
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_url_requested): Use
mail_format_get_data_wrapper_text for text parts so we get free
charset conversion.
* mail-format.c (mail_format_get_data_wrapper_text): Renamed from
get_data_wrapper_text and now returns a GByteArray.
(handle_text_plain): Updated to use the new get_data_wrapper_text.
(handle_application_pgp): Same. Wow...also fixed a mem leak and
made a bit more efficient by doing so.
(handle_text_enriched): Here too. Also use string->len instead of
strlen (string->str).
(mail_format_raw_message): Same.
svn path=/trunk/; revision=13862
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 <NotZed@Ximian.com>
* mail-vfolder.c (mail_vfolder_shutdown): Clear variables once
done, for debugging.
(mail_vfolder_add_uri, mail_vfolder_delete_uri): Dont do anything
if we're shutdown (context == NULL).
* component-factory.c (idle_quit): Move mail_vfolder_shutdown
here, it should be one of the last things shutdown.
* mail-format.c (handle_text_plain): Dont use (if (!p++), and then
check p!= later, since its now 1, oops. Fixes #13106, thought it
was a start of uuencoded stuff!
* folder-browser.c (on_right_click): Escape _'s before adding them
to menu from mailing list name, also remove some dead code that
someone forgot to remove when refactoring. #11307.
(folder_browser_is_drafts): Use the store's uri_cmp function to
compare to the drafts uri's.
(folder_browser_is_sent): Same. Slight cleanup for #11351.
svn path=/trunk/; revision=13856
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* mail-display.c (mail_display_new): Don't leak our
ESearchingTokenizer.
svn path=/trunk/; revision=13837
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Larry Ewing <lewing@ximian.com>
* mail-display.c (mail_error_write): don't write strings longer
than they actually are.
svn path=/trunk/; revision=13693
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_error_write): Convert URLS so we can get
clickable links.
svn path=/trunk/; revision=13628
|
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Jon Trowbridge <trow@ximian.com>
* mail-display.c (html_button_press_event): Store our listener id.
(popup_info_free): Disconnect our listener when we free the popup.
(Bug #11040)
svn path=/trunk/; revision=13619
|
|
|
|
|
|
|
|
|
| |
2001-10-10 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_url): copy the data. We can't ref the byte
array and we can't free it so we have to copy it.
svn path=/trunk/; revision=13546
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_part): ref the part.
(save_destroy_cb): new function to unref the part when we have
closed the dialog.
(save_url): fake a mime part so that we can save data urls without
extra effort. This is less sucky than it seems since it handles
filenames and ref counting with minimal fuss.
svn path=/trunk/; revision=13544
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-ui.c (folder_browser_ui_add_message): Create a
chaqrset picker submenu in the View menu.
* mail-format.c (mail_format_raw_message): Pass the mail-display
to get_data_wrapper_text.
(get_data_wrapper_text): Use the user's override charset if one is
provided, otherwise user the user's default charset.
(handle_text_plain): Pass along the mail-display to
get_data_wrapper_text.
(handle_application_pgp): Same.
(handle_text_enriched): Here too.
(mail_get_message_body): Pass NULL as the mail-display to
get_data_wrapper_text since we don't have access to a
mail-display.
* mail-display.c (mail_display_set_charset): New function to set a
charset on the maildisplay. Once set, the message is redisplayed
using the new charset.
(mail_display_destroy): Free the charset.
* folder-browser.c (folder_browser_charset_changed): New callback
for when a user overrides the message charset.
svn path=/trunk/; revision=13530
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-01 Jon Trowbridge <trow@ximian.com>
* mail-display.c (on_url_requested): Make sure we aren't dealing
with a pathological message w/o a From: header.
(ebook_callback): Properly check that the address we queried
matches the address on the current message. (Bug #10038)
svn path=/trunk/; revision=13295
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* mail-display.c (html_button_press_event): Decode our URL before
extracting the address to pop up contact info.
* mail-format.c (write_address): When writing out a mailto: link,
make sure we construct a valid URL w/ correct encoding. Make sure
our address is properly quoted, if necessary.
svn path=/trunk/; revision=13160
|
|
|
|
| |
svn path=/trunk/; revision=13112
|
|
|
|
| |
svn path=/trunk/; revision=13016
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (invisible_selection_get_callback): Do nothing if
the selection is NULL? Maybe this is the cause of bug #6817.
svn path=/trunk/; revision=12910
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (pixbuf_gen_idle): Don;t destroy the pixbuf
loader, unref it instead.
* mail-config.c (mail_config_folder_to_cachename): Use
camel_folder_get_uri().
svn path=/trunk/; revision=12863
|
|
|
|
|
|
|
| |
* mail-display.c (mail_display_destroy): Unref the invisible,
don't just destroy it.
svn path=/trunk/; revision=12704
|
|
|
|
|
|
|
|
| |
* mail-display.c (launch_cb): the "command" of a
GnomeVFSMimeApplication can include arguments as well. Deal with
that. Fixes support for CodeWeavers' CrossOver Plugin.
svn path=/trunk/; revision=12643
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
go to Dan, Larry and me ;)
(fixes ximian #6680)
2001-09-06 Radek Doulik <rodo@ximian.com>
* everywhere updated for new mail_content_loaded definition
(prototype)
2001-09-05 Radek Doulik <rodo@ximian.com>
* mail-display.c (mail_display_redisplay): increase
redisplay_counter
(try_part_urls): new helper function
(try_data_urls): ditto
(load_content_loaded): if it has stream handle available and if
it's still valid, it writes to this stream instead of
redisplaying, uses try_part_urls and try_data_urls
* mail-display.h: added redisplay_counter to MailDisplay, I use
it in load_content_loaded to be sure that there wasn't any
redisplay and that remembered handle is still valid
* mail-display.c (on_url_requested): don't end stream with error
if part is not loaded yet
(on_url_requested): don't end stream in cases when we are going to
load image using http
(stream_write_or_redisplay_when_loaded): new helper function,
which is extracted from mail_display_redisplay_when_loaded. it's
extended to handle gtkhtml stream writting
(mail_display_redisplay_when_loaded): use
stream_write_or_redisplay_when_loaded
(mail_display_stream_write_when_loaded): new function, uses
stream_write_or_redisplay_when_loaded
struct _load_content_msg: added handle, url and redisplay_counter
fields
* mail-format.c (mail_content_loaded): added redisplay, url and
handle parameter for case when we are loading image content and
want it write to stream instead of redisplaying
svn path=/trunk/; revision=12633
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-27 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c (mail_generate_reply): Check if we are trying
to reply to a message with no From: field, and try to do something
graceful in that case. (Bug #7028)
* mail-display.c (ebook_callback): Add paranoid checks for the
case of a message with a From: field. (Also maybe bug #7028)
svn path=/trunk/; revision=12490
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (launch_cb): Use the new e_mkdtemp function.
* folder-browser.c (message_list_drag_data_get): Use the new
e_mkdtemp function.
svn path=/trunk/; revision=12462
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-22 jacob berkman <jacob@ximian.com>
* gui/component/e-address-popup.c (emit_event): emit an event from
our event source
(contact_editor_cb): emit a destroy event so our control frame can
be destroyed.
(edit_contact_info_cb): emit a hide event so our control frame can
be hidden
(e_address_popup_cardify):
(add_contacts_cb): emit the destroy event
(e_address_popup_factory_new_control): don't unref our object at
widget destroy time as that was really really broken
(e_address_popup_factory_new_control): create an event source and
aggregate ourself with it
* gui/contact-editor/e-contact-editor.c (enable_writable_fields):
display a nicer warning when we can't find a widget for a given
field
(e_contact_editor_raise): only raise if there is a window
* gui/contact-editor/contact-editor.glade: name some widgets that
got unnamed, and set the first entry as defaultable
* gui/contact-editor/e-contact-editor.c: envelope printing is
disabled in 1.0 2001-08-22 jacob berkman <jacob@ximian.com>
* mail-display.c: rework how the e-card-popup thing has its life
managed. we now hide the window on the Hide event and destroy it
on the Destroy event emitted from its event source
svn path=/trunk/; revision=12402
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Damon Chaplin <damon@ximian.com>
* mail-display.c (pixmap_press): stop signal emission so the GtkButton
class method doesn't mess up the popup menu. Hopefully fixes bug #1828.
svn path=/trunk/; revision=12192
|
|
|
|
|
|
|
|
|
|
| |
2001-08-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (save_part): Remember the filename is in utf8, so
use the e_utf8 functions to set the filename in the file selection
dialog.
svn path=/trunk/; revision=12076
|
|
|
|
|
|
|
|
|
|
| |
2001-07-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (save_part_save): Pass the O_TRUNC flag to open so
that we don't leave trailing garbage at the end of the file if the
new file content is shorter than the old file content.
svn path=/trunk/; revision=11373
|
|
|
|
|
|
|
|
|
| |
2001-07-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (filter_folder_filter): Don't expunge the source
folder if we have a cache.
svn path=/trunk/; revision=11264
|
|
|
|
|
|
|
|
|
| |
2001-07-19 Jason Leach <jleach@ximian.com>
* mail-display.c: Fix #4605: "Save Image as" should be "Save Image
as...".
svn path=/trunk/; revision=11248
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-19 Jason Leach <jleach@ximian.com>
* mail-display.c (mail_display_new): Set the vertical scrolling
policy for the mail display to AUTOMATIC, only get a scrollbar if
the e-mail is longer than one frame.
* folder-browser.c (my_folder_browser_init): We were setting the
policy twice (and to two different things). Removed this one.
* message-list.c (message_list_init): Set the policy for the
message list scroll frame to be horizontal=NEVER,
vertical=AUTOMATIC (scrollbar only if you have >1 page of
messages).
svn path=/trunk/; revision=11239
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_part_toggle_displayed): Cleaned up a bit.
(handle_multipart_encrypted): Replace the encrypted part with the
decrypted part.
svn path=/trunk/; revision=11166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-16 Peter Williams <peterw@ximian.com>
* mail-display.c (mail_display_redisplay): Use our own display_style
member instead of the global setting.
(mail_display_init): Initialize display_style.
* mail-display.h: Include "mail-config.h" and add a display_style member.
* mail-format.c (write_headers): Look at the MailDisplay's display_style
instead of using the full_headers data.
* folder-browser.c (folder_browser_set_message_display_style): Set
the MailDisplay's display style as well as the global display
style.
(my_folder_browser_init): Don't save preference changes by default. (This
is only observered wrt. the message display style but should apply to other
items.)
* folder-browser-factory.c (folder_browser_factory_new_control): Set this
FB to save the preferences set in it.
* folder-browser-ui.c (folder_browser_ui_add_message): Read our display's
state instead of the global setting.
svn path=/trunk/; revision=11131
|
|
|
|
|
|
|
|
|
| |
2001-07-11 JP Rosevear <jpr@ximian.com>
* mail-display.c (get_embedded_for_component): no longer need to
set a my address property
svn path=/trunk/; revision=11019
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Federico Mena Quintero <federico@ximian.com>
* mail-display.c (link_copy_location): Set the CLIPBOARD
selection as well as the primary selection so that Edit/Paste will
work in other programs (e.g. Netscape).
(mail_display_new): Add the target for the CLIPBOARD selection.
svn path=/trunk/; revision=10977
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Peter Williams <peterw@ximian.com>
* mail-format.c (attachment_header): Took the logic of whether or not
to make the attachment header out of the actual function.
(mail_part_is_displayed_inline): Return if the part is being displayed
inline (regardless of whether it is actually inline).
(mail_part_toggle_displayed): Toggle whether it's displayed inline or not.
(get_inline_flags): Determine whether the part is displayed inline and whether
it is actually inline.
(mail_format_mime_message): Initialize the attachment_status hash table.
* mail-display.c (inline_cb): Instead of modifying the CamelMimePart,
use mail_part_toggle_displayed
(button_press): As above.
(pixmap_press): Use mail_part_is_displayed_inline instead of
mail_part_is_inline. Get the MailDisplay from the popup to do this.
* mail.h: Add prototypes.
svn path=/trunk/; revision=10960
|
|
|
|
|
|
|
| |
* mail-display.c (save_part): g_strdup the result of
g_get_home_dir since this variable will get free'd later.
svn path=/trunk/; revision=10918
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (mail_lookup_handler): Use
gnome_vfs_mime_get_short_list_applications rather than
gnome_vfs_mime_get_default_application.
* mail-display.c (pixmap_press): Construct the EPopupMenu array on
the fly, based on the number of applications available to open the
MIME type.
(launch_cb): Figure out which menu item was clicked, and invoke
the appropriate application. Ugh, messy, because of the EPopupMenu
interface. Probably should get rewritten some day. Also, make this
handle apps with expects_uris set too.
svn path=/trunk/; revision=10916
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-03 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (message_list_drag_data_get): Use mkdtemp if we
have it, else use mktemp but make the code safer than it was
previously.
* mail-display.c (launch_cb): Free the template string if the
tempdir failed to be created.
svn path=/trunk/; revision=10753
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Sam Creasey <sammy@oh.verio.com>
* mail-account-editor-news.c: Added an MailAccountEditorNews, for
NNTP configuratuion. Based on MailAccountEditor, but stripped.
* Makefile.am: added mail-account-editor-news.c and
mail-account-editor-news.h to SOURCES if ENABLE_NNTP is defined.
* mail-accounts.c (load_news): Moved this function, and fixed some
slight brokenness.
(news_edit): Added functional code using MailAccountEditorNews
(news_add): Added functional code using news_edit after
allocation.
* mail-config.glade: news_editor_window widget added. Used by
MailAccountEditorNews.
* mail-display.c (save_data_cb): Store the pathname used when
saving messages so that the next save box will default to the
previous path.
* message-browser.c (message_browser_new): add signal handler for
size_allocate on the message browser. Thus new windows are size
as they were last allocated.
(message_browser_size_allocate_cb): handler to store allocations.
* message-list.c (message_list_setup_etree): connect to the
info_changed signals for the state of the message_list->tree.
Save the folder state to disk, so that when additional
message_lists are created, they are consistant. e.g. the next
buttons do the same thing in the browser, and in the message
viewer after changing sorting options.
* subscribe-dialog.c (build_tree): freeze sc->folder model while
building the tree. Not doing so takes a very long time over 40000
newsgroups.
svn path=/trunk/; revision=10719
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Check for gtkhtml 0.9.99.1.
2001-07-02 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_part): move the saving logic out of save_cb
so that we can reuse it for the image saving code.
(save_cb): call save_part.
(save_url): new function to resolve an save an html url.
(image_save_as): save function for images and. Add it to the
link_menu, and add MASK_URL and MASK_SRC to the structure so that
we cans show the proper menus.
(html_button_press_event): call get_src as well to find external
urls references. Add popup masking.
svn path=/trunk/; revision=10707
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-30 Jon Trowbridge <trow@ximian.com>
* mail-display.c (make_popup_window): Changed to return the
created window.
(find_socket): Added. Copied from e-shell-view.c. The fact
that I'm copying this bit of code all over isn't cool.
(html_button_press_event): Properly destroy the popup window when
the widget inside the control is destroyed.
* mail-callbacks.c (addrbook_sender): Added. Implements
the "Add sender to addressbook" right-click. (Bug #3645)
(find_socket): Added. Copied from e-shell-view.c.
* folder-browser.c: Added "Add sender to addressbook" to
context_menu[].
* mail-display.c: (handle_embedded_address_object): Removed.
(on_object_requested): Removed handling for embedded address
objects. (Which was obsolete crap.)
svn path=/trunk/; revision=10643
|
|
|
|
|
|
|
|
|
| |
2001-06-29 Larry Ewing <lewing@ximian.com>
* mail-display.c (html_button_press_event): remove redundant
logic.
svn path=/trunk/; revision=10620
|
|
|
|
|
|
| |
with the other menus.
svn path=/trunk/; revision=10573
|
|
|
|
|
|
| |
MessageDisplay widget.
svn path=/trunk/; revision=10572
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
| |
2001-06-21 Jon Trowbridge <trow@ximian.com>
* mail-display.c (html_button_press_event): Remove empty "name"
property setting from the popup control.
svn path=/trunk/; revision=10373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c: #include "folder-browser-factory.h"
* component-factory.c (mail_remove_storage): New function to
remove an EvolutionStorage.
* mail-accounts.c (mail_delete): Remove the storage from the
folder-tree.
(news_delete): Same.
svn path=/trunk/; revision=10304
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (mail_format_mime_message): We can't output
"<html>" and "</html>" here because it gets called recursively to
display message/rfc822 subparts.
* mail-display.c (mail_display_redisplay): Move rodo's html header
changes from mail_format_mime_message to here.
svn path=/trunk/; revision=10252
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-05 Jason Leach <jleach@ximian.com>
(Fix bug #314: Display URLs in statusbar on mouseover)
* mail-display.c (html_on_url): New function, callback for
GtkHTML's "on_url" signal.
svn path=/trunk/; revision=10117
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (on_url_requested): If http mode is
HTTP_SOMETIMES, use e_book_query_address_locally to check the From
address and load images if it's found.
* mail-config.c (config_read): Default http_mode to
MAIL_CONFIG_HTTP_SOMETIMES. Fix typo to make default forward style
actually work.
svn path=/trunk/; revision=9936
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (mail_display_redisplay): Deal with full-header
mode in addition to source mode
* mail-format.c (write_field_row_begin): Add WRITE_NOCOLUMNS flag
to write the header in a single table cell rather than two. Output
the second columns's "<td>" when not in NOCOLUMNS mode. Don't
include the ":" in the passed-in header name.
(write_date, write_address): Update for write_field_row_begin
changes.
(write_text_field): Genericified and updated from write_subject.
(write_headers): Deal with both normal and full-header mode.
svn path=/trunk/; revision=9850
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (on_url_requested): Load http images if the user
has force-loaded images too.
(mail_display_redisplay): Update for normal/headers/source changes.
(mail_display_load_images): New. Force HTTP image loading for the
current message.
* mail-config.c (mail_config_get_message_display_style,
mail_config_set_message_display_style): Updated and renamed from
mail_config_{get,set}_view_source
* mail-callbacks.c (load_images): New.
* folder-browser.c (folder_browser_set_message_display_style):
Renamed and updated from folder_browser_toggle_view_source.
* folder-browser-factory.c (verbs): Add ViewLoadImages.
(control_activate): Update for normal/headers/source change to
radio group.
svn path=/trunk/; revision=9820
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (load_http): callback to use GNOME-VFS to load
http data.
(on_url_requested): Handle http: URLs that refer to either MIME
parts or web data.
(mail_display_redisplay_when_loaded): Moved out of
mail_content_loaded and made more generic.
* mail-format.c (add_url): Handle two different kinds of URLs
(URLs that point to CamelMimeParts and URLs that point to
GByteArrays).
(mail_content_loaded): Use mail_display_redisplay_when_loaded.
(format_mime_part): Renamed from "call_handler_function". Also,
record Content-Location if the part has one. (This is not yet 100%
correct: it doesn't deal with relative URLs correctly.)
(handle_text_html): Use Content-Location URL rather than
Content-ID, when available (will help deal with relative URLs once
GtkHTML supports that better).
(etc): Update for changes.
* mail-config.c (mail_config_get_http_mode,
mail_config_set_http_mode): get/set HTTP image downloading mode.
(config_read, mail_config_write_on_exit): save/load that data.
svn path=/trunk/; revision=9773
|
|
|
|
| |
svn path=/trunk/; revision=9755
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-10 Jon Trowbridge <trow@ximian.com>
* folder-browser.c (folder_browser_config_search): Use the
ESearchingTokenizer to highlight search matches for folder-level
searches. Still mildly broken, but it works for the simple cases.
* mail-display.c (mail_display_new): Use our ESearchingTokenizer
for the mail display GtkHTML widget.
* mail-search.c (dialog_clicked_cb): Use the ESearchingTokenizer to
highlight search matches.
(mail_search_construct): Add a match count to the search dialog.
* e-searching-tokenizer.c
(e_searching_tokenizer_set_search_string): Added. A custom HTML
tokenizer that does highlighting of search strings.
svn path=/trunk/; revision=9754
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* signature changing
2001-04-25 Radek Doulik <rodo@ximian.com>
* mail-tools.c (mail_tool_quote_message): set object data directly
in HTML source
* mail-callbacks.c (mail_generate_reply): remove \n from citation
(mail_generate_reply): don't use e_msg_composer_mark_text_orig
svn path=/trunk/; revision=9558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-23 Jon Trowbridge <trow@ximian.com>
* e-html-utils.c (e_text_to_html_full): Removed attempts to use
Radek's evil <DATA> hacks, which were just causing me
(and GtkHTML) grief.
2001-04-23 Jon Trowbridge <trow@ximian.com>
* gui/component/e-address-popup.c: Lots of code has been
simplified here.
(e_address_popup_factory_new_control): Rather than directly pop
our control up in a window (via the e_address_popup_popup
function, which is now gone), just return the widget and let the
caller do the popping. This works better, since it means we don't
have to work around the vagaries of bonobo focus & event handling.
(e_address_popup_set_name): Refresh when both name & email have
been set, rather than checking a stupid counter.
(e_address_popup_set_email): Ditto.
2001-04-23 Jon Trowbridge <trow@ximian.com>
* mail-display.c (html_button_press_event): Check for mailto:
links, and pop up our mail address menu when we find one.
(make_popup_window): The main piece of code (ignoring a zillion
little callbacks) to pop up our windows with reasonable semantics
for having them close automatically.
(mail_text_write): Enable converting addresses to mailto links
in message bodies.
* mail-format.c (write_address): Simplify code, removing Radek's
<DATA> hacks. Write out addresses as mailto: links.
svn path=/trunk/; revision=9534
|
|
|
|
|
|
|
|
| |
2001-04-20 Gediminas Paulauskas <menesis@delfi.lt>
* mail-display.c: #if 0'd out my not-working selection code
svn path=/trunk/; revision=9464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (evolution_mail_LDADD): Remove some redundant LIBS
variables... purify complained that the command line was too
long. :-}
* mail-account-gui.c: Plug leaks.
* mail-display.c (on_url_requested): close the html stream on
error too.
* mail-ops.c (fetch_mail_fetch): Move a line around that probably
doesn't affect anything, but it's correct.
* session.c (auth_callback): Plug leak.
* mail-send-recv.c (receive_status): Initialize "now".
svn path=/trunk/; revision=9303
|
|
|
|
|
|
|
|
|
| |
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (save_msg): Use the homedir as the default
filename.
svn path=/trunk/; revision=9244
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (save_cb): Change to the user's home dir before
opening the filesel.
* mail-callbacks.c (save_msg): Same.
svn path=/trunk/; revision=9241
|
|
|
|
| |
svn path=/trunk/; revision=9163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-30 Jon Trowbridge <trow@ximian.com>
* e-html-utils.c (e_text_to_html_full): Add support for converting
e-mail addresses to links.
(is_email_address): Added. Identifies e-mail addresses.
(email_address_extract): Added. Extracts a copy of the e-mail
address from the text.
* e-html-utils.h (E_TEXT_TO_HTML_CONVERT_ADDRESSES): Added.
* e-url.c (e_url_shroud): Added. Copy a url, replacing
any plaintext passwords with a single *.
(e_url_equal): Compare two urls, taking into account that
they may or may not be shrouded.
2001-03-30 Jon Trowbridge <trow@ximian.com>
* camel-mime-message.c (camel_mime_message_set_source): Shrould
our source URL before putting it into X-Evolution-Source.
2001-03-30 Jon Trowbridge <trow@ximian.com>
* mail-display.c (mail_text_write): Add (commented-out)
E_TEXT_TO_HTML_CONVERT_ADDRESSES.
* mail-config.c (mail_config_get_account_by_source_url):
Call e_url_equal to compare URLs.
svn path=/trunk/; revision=9050
|
|
|
|
|
|
|
|
| |
2001-03-30 Radek Doulik <rodo@ximian.com>
* mail-display.c (mail_display_redisplay): reset last_active
svn path=/trunk/; revision=9045
|
|
|
|
|
|
|
| |
* mail-display.c (pixmap_press): Ignore "funky" button clicks
(like scroll wheel scrolls)
svn path=/trunk/; revision=9029
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Cleaned up #includes. Remove unneccesary includes of
<gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more
fine grained headers where needed. Also marked a bunch of
strings for translations and added some missing prototypes.
svn path=/trunk/; revision=9025
|
|
|
|
| |
svn path=/trunk/; revision=8947
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (get_cid): Make fake content-id URLs be guaranteed
unique: the old way (with %p on the CamelMimePart *) would
generate duplicates if memory was freed and re-allocated the right
way.
* mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache
global rather than per-MailDisplay, since content-ids ought to be
globally unique. Also, don't leak content-id strings when the
pixbuf generation fails, and remove pixbufs from the cache after 5
minutes.
svn path=/trunk/; revision=8944
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-23 Jon Trowbridge <trow@ximian.com>
* gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card):
Added. Call me old-fashioned, but I just prefer to have a real
API rather than doing everything via gtk_object_get/set-type
calls.
(e_minicard_widget_set_arg): Changed to call
e_minicard_widget_set_card.
* backend/ebook/e-book-util.c: Small changes to get rid of
compiler warnings. (Casting out const, removed unused variables,
etc.) Removed some debugging messages.
* gui/component/addressbook-factory.c (main): Added call
to e_address_popup_factory_init.
* gui/component/e-address-popup.c: Added. A popup gadget that is
invoked (as a bonobo control) when an address is left-clicked in
the mailer. The addressbook is queries, and the address is either
displayed as a minicard (if it already exists) or in a "generic
format". A button is provided for editting/adding the contact.
Some of the semantics of this widget are a bit... non-standard,
because of bonobo issues. I can't really seem to replicate
popup-menu behavior because of how bonobo propogates events, etc.
so I've tried to produce something that I think is non-annoying.
YMMV.
2001-03-23 Jon Trowbridge <trow@ximian.com>
* mail-display.c (handle_embedded_address_object): #ifdef away
some code I don't quite want to delete yet.
(html_button_press_event): Remove some of Radek's placeholder
code, replace it with code to create my AddressPopup bonobo
control.
* mail-format.c: Remove some obsolete code that if #ifdef-ed out
a while ago.
* mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity
header when sending.
2001-03-23 Jon Trowbridge <trow@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_message):
Don't call camel_mime_message_set_identity. (The call is
commented out, left over from some earlier experimentation that I
want to be able to remember later...)
* camel-mime-message.c (camel_mime_message_set_identity): Added.
A function to set the X-Evolution-Identity header.
svn path=/trunk/; revision=8916
|
|
|
|
|
|
| |
(html_button_press_event): ditto
svn path=/trunk/; revision=8907
|
|
|
|
|
|
|
| |
(update_active): helper function, extracted from
html_motion_notify_event
svn path=/trunk/; revision=8902
|
|
|
|
|
|
| |
underline
svn path=/trunk/; revision=8900
|
|
|
|
| |
svn path=/trunk/; revision=8897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-22 Radek Doulik <rodo@ximian.com>
* mail-display.c (mail_display_new): connect to button_press_event
and iframe_created events of GtkHTML widget
(html_button_press_event): new signal handler, runs popup on
address fields and on links, later we should add popups for images
and maybe some more? any ideas?
(html_iframe_created): new signal handler, takes care of
connecting to button_press_event of all iframes
: plus bunch of empty methods for popup menu items - to be
implemented
* mail-format.c (write_address): revert back to raw HTML text,
store name and email to Text objects, workaround gtkhtml tables
bug (to be fixed soon ;-)
svn path=/trunk/; revision=8896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-20 Radek Doulik <rodo@ximian.com>
* mail-tools.c (mail_tool_quote_message): set color in html
citation
* mail-config.c: added citation highlighting configuration
* mail-tools.c (mail_tool_quote_message): use citation
highlighting
* mail-display.c (mail_text_write): use citation highlighting
svn path=/trunk/; revision=8848
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (mail_display_redisplay): Remove a stray
camel_object_ref that was causing messages to never be finalized
if they got redisplayed (because of attachments, delayed-loading
IMAP parts, etc)
svn path=/trunk/; revision=8737
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (on_url_requested): Call gtk_html_end() on the
stream so things happen. Fixes a problem with some inline images
(just very small ones maybe?)
* importers/.cvsignore: create
svn path=/trunk/; revision=8691
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-08 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(quick_add_cb): Switched to use e_contact_quick_add_free_form.
Removed debugging code, hopefully without introducing any bugs
in the process.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Fix bug with commas
inside of name/address combos. As long as the comma is inside of
quotes, it will be treated as part of the name rather than as a
break between addresses.
* gui/component/select-names/e-select-names-completion.c
(match_nickname): Use e_card_name_to_string for nickname match
strings.
(match_email): Use e_card_name_to_string for email match strings.
(e_select_names_completion_begin): Strip quotes out of query text,
so we don't produce malformed sexps.
Added William Blake quote easter egg.
* contact-editor/e-contact-quick-add.c: Further attempts to fix...
mostly unsuccessful.
(e_contact_quick_add_free_form): Added. Takes a single string
and tries to parse out (using some simple, loose rules) the
name and e-mail -- then calls e_contact_quick_add. An attempt to
get the computer to automatically Do The Right Thing.
* backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm
anal.
* gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server
info for EAddressWidget.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server
info for EAddressWidget.
* gui/component/addressbook-factory.c (main): Add call to
e_address_widget_factory_init.
* gui/component/e-address-widget.h:
* gui/component/e-address-widget.c: Added. A little widget (and a
Bonobo control, BTW) for displaying addresses, with a left-click
menu. Used to display addresses in the mail viewer (as embedded
GtkHTML objects, replacing the text previously used). Still quite
incomplete.
2001-03-08 Jon Trowbridge <trow@ximian.com>
* mail-format.c (write_field_row_begin): Added. Table row HTML
broken out into its own function.
(write_subject): Added. Emits the proper HTML for the subject
line.
(write_field_to_stream): #ifdef-ed out of existence.
(write_address): Take a CamelInternetAddress and spit out an
<object> tag with the appropriate <param>s.
* mail-display.c (on_object_requested): Check for an "address"
object. If found, call...
(handle_embedded_address_object): ...this function, which creates
an AddressWidget bonobo control and passes in the necessary info.
I never really realized just quite how much GtkHTML kicks ass
until I figured out how to make this work.
svn path=/trunk/; revision=8607
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_object_requested): Cast the CamelMedium to a
CamelMimePart before performing actions on it as if it were a
CamelMimePart.
* mail-config-druid.c (druid_finish): Save the auto-check settings.
(construct): Initialize auto-check widgets.
(mail_config_druid_get_auto_check): New function
(mail_config_druid_get_auto_check_minutes): New functions
* mail-config.c (config_read): Read in whether or not to check
every x minutes.
(mail_config_write): Save auto-check config data and SSL.
svn path=/trunk/; revision=8126
|
|
|
|
|
|
| |
Fix a minor memory leak in message-list.c
svn path=/trunk/; revision=8039
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-28 Not Zed <NotZed@Ximian.com>
* mail-display.c (write_data_to_file): Changed to use
mail_save_part to save the data in another thread.
(save_data_cb): Hide the fileselector once we have a button press,
and are saving stuff.
* mail-ops.c (mail_save_part): New function to save a part content
asynchronously.
svn path=/trunk/; revision=7867
|
|
|
|
|
|
| |
control when embedding something in the mail display.
svn path=/trunk/; revision=7845
|
|
|
|
| |
svn path=/trunk/; revision=7831
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (mail_content_loaded): Check if a message part's
content is available, and if it's not, queue a thread that will
load it and then queue an idle-handler redisplay of the message.
(call_handler_function): Call mail_content_loaded() on the part
and don't try to display it if it's currently offline.
(get_data_wrapper_text): Simplify a bit
* mail-display.c (mail_display_queue_redisplay): rename and make
non-static.
(mail_display_redisplay): Use a "new and improved" way of
preserving the GtkHTML scroll location. ("new and improved" is
code for "gross and hackish", but there should be a real interface
for this eventually.)
(on_url_requested): Use mail_content_loaded() and don't write out
offline cid: URLs
* mail-identify.c (mail_identify_mime_part): Use
mail_content_loaded and don't try to identify the data if it's
offline.
svn path=/trunk/; revision=7813
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (pixmap_press): Update for e_popup_menu_run
change.
* folder-browser.c (etable_key): On GDK_Menu (the menu key on
105-key keyboards), pop up the right-click menu.
(on_right_click): update for e_popup_menu_run change.
svn path=/trunk/; revision=7662
|
|
|
|
|
|
|
| |
* mail-display.c (on_object_requested): Don't do thumbnails for
offline images
svn path=/trunk/; revision=7558
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-11 Miguel de Icaza <miguel@gnu.org>
* mail-display.c (on_object_requested): Unref the property bag
when we are done with it.
(get_embedded_for_component): Moved the code to request the
embeddable/control to a separate function.
svn path=/trunk/; revision=7436
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_object_requested): Update to reflect past
changes to the mail-config API.
svn path=/trunk/; revision=7434
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Jason Leach <jasonleach@usa.net>
* mail-display.c (pixmap_press): Bugfix for #1077: scrollwheel
doesn't work while hovering over an attachment icon.
svn path=/trunk/; revision=7354
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com>
* Makefile.am:
* component-factory.c:
* folder-browser-factory.c:
* folder-browser.c:
* mail-accounts.[c,h]:
* mail-account-editor.[c,h]:
* mail-callbacks.c:
* mail-config.[c,h]:
* mail-config-druid.[c,h]:
* mail-config-druid.glade:
* mail-display.c:
* mail-format.c:
* mail-tools.c: Brand spankin' new config druid, editor,
and manager.
svn path=/trunk/; revision=7313
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com>
* Makefile.am:
* component-factory.c:
* folder-browser-factory.c:
* folder-browser.c:
* mail-callbacks.c:
* mail-config.[c,h]:
* mail-display.c:
* mail-format.c:
* mail-tools.c: Reverted mail-config changes temporarily until
I get it working correctly.
svn path=/trunk/; revision=7305
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-tools.c (mail_tool_quote_message): Updated to reflect
changes to the mail-config API.
* mail-display.c (redisplay): Updated to reflect changes to the
mail-config API.
* mail-callbacks.c (providers_config): Use the new account dialog.
* mail-config-druid.c (druid_finish): Load the new storage into
the shell.
(mail_config_druid_new): Take a shell argument.
* mail-format.c (mail_generate_reply): Updated to reflect changes
to the mail-config API.
* mail-config-druid.c: Fixed this to build.
* mail-callbacks.c (check_send_configuration): Updated to reflect
changes to the mail-config API.
(create_msg_composer): Same.
(forward_get_composer): Same.
(send_queued_mail): Same.
(composer_send_cb): Same.
* mail-account-editor.c: Updated to build cleanly. *
mail-config-druid.c: Same. * mail-accounts.c: Same.
* folder-browser-factory.c (control_activate): Updated for API
changes in mail-config.
* folder-browser.c (done_message_selected): Updated for API
changed in mail-config.
(folder_browser_gui_init): Same.
(got_folder): Same.
* component-factory.c (owner_set_cb): After using the sources
list, free it as it is no longer a const GSList as with the older
mail-config code.
* mail-config.c: Totally rewritten.
svn path=/trunk/; revision=7298
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-03 Radek Doulik <rodo@helixcode.com>
* mail-format.c (write_headers): add font color setting for table,
changed border behavior
* mail-display.c (redisplay): don't set body bg and text color
svn path=/trunk/; revision=7231
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (mail_part_is_inline):
(find_preferred_alternative):
* mail-display.c (launch_cb): Use header_content_type_simple, not
header_content_type_format.
svn path=/trunk/; revision=7214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (mail_part_is_inline, mail_get_message_body): Use
CamelContentType, and use header_content_type_is instead of doing
it by hand.
(handle_text_plain):
(handle_multipart_related):
(find_preferred_alternative):
(handle_message_external_body): Use CamelContentType and
header_content_type_* functions instead of GMimeContentField.
* mail-display.c (write_data_to_file, launch_cb): Use
CamelContentType and header_content_type_* functions instead of
GMimeContentField.
svn path=/trunk/; revision=7189
|
|
|
|
|
|
|
|
| |
Still does the same swap thumbnails around problem it had last time.
As the code is totally different, I'm guessing it's a bug in GtkHTML.
But its probably not.
svn path=/trunk/; revision=7183
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (pixbuf_for_mime_type): Deal with the possibility
that we have an icon-filename listed for a MIME type, but the icon
file doesn't actually exist. Also, if gnome-unknown.png can't be
found, fall back. Might fix a crash people have been reporting...
svn path=/trunk/; revision=7118
|
|
|
|
|
|
|
|
|
|
| |
2000-12-15 Not Zed <NotZed@HelixCode.com>
* mail-display.c (write_data_to_file): Dont blindly convert all
parts to utf8, e.g. image/jpg. We only convert text/* parts, and
only then if required.
svn path=/trunk/; revision=7035
|
|
|
|
|
|
|
|
|
|
| |
2000-12-14 Larry Ewing <lewing@helixcode.com>
* mail-display.c (mail_display_new): call
gtk_html_set_default_content_type to make gkthtml default to utf-8
when parsing. This requires gtkhtml >= the released 0.8.
svn path=/trunk/; revision=7022
|
|
|
|
|
|
|
|
| |
* mail-display.c (on_object_requested): Make the iTip hack spew a
g_warning and not crash if you have no identity configured. To be
revisited.
svn path=/trunk/; revision=6845
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-06 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config.c (mail_config_folder_to_cachename): Use
e_filename_make_safe (which used to be e_str_make_safe).
* mail-display.c (make_safe_filename): And here.
* message-list.c (message_list_drag_data_get): Here too.
svn path=/trunk/; revision=6827
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-05 Jeffrey Stedfast <fejj@helixcode.com>
* mail-display.c (write_data_to_file): Use a charset filter to
make sure the data is written out in the charset it was meant to
be in instead of UTF-8.
* mail-format.c (mail_format_raw_message): Don't use the raw
message body as the format argument, use "%s" instead. If the raw
message contains %'s then it will segfault otherwise.
svn path=/trunk/; revision=6803
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-30 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (cleanup_fetch_mail): Don't display a dialog, instead
inform the user that there was no new mail by setting a status
message.
* message-list.c (message_list_drag_data_get): Use the new
e_str_make_safe function.
* mail-display.c (make_safe_filename): And here.
* mail-config.c (mail_config_folder_to_cachename): Here too.
svn path=/trunk/; revision=6745
|
|
|
|
|
|
|
|
| |
2000-11-27 Jeffrey Stedfast <fejj@helixcode.com>
* mail-display.c: Removed some unecessary debugging printf's
svn path=/trunk/; revision=6682
|
|
|
|
|
|
|
|
| |
Big patch.
Evolution-services rewrite, services updated for new system, Fixes to
Executive Summary and other things. See some changelogs
svn path=/trunk/; revision=6644
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-21 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config.c (mail_config_view_source): New function to return
if user wants to view message source.
(mail_config_set_view_source): New function to set whether the
view wants to view source.
* mail-ops.c (mail_do_view_message_sources): Removed. We're not
gonna view-source this way anymore.
* folder-browser-factory.c: Removed the ViewSource bonobo verb
from the Message menu.
(control_activate): Added ViewSource.
* folder-browser.c (on_right_click): Removed Message menu item to
view message source.
(folder_browser_toggle_view_source): New callback to set whether
or not the MailDisplay shows the raw message or the pretty-ified
message.
* mail-callbacks.c: Removed view_source.
* mail-display.c (redisplay): If toggle_raw is set then display
the raw message else display the pretty formatted message.
(mail_display_redisplay): New function to force the redisplay of a
message.
* mail-format.c (mail_format_raw_message): New function to
write the raw message data.
svn path=/trunk/; revision=6639
|
|
|
|
|
|
|
|
| |
2000-11-21 Radek Doulik <rodo@helixcode.com>
* mail-display.c: #include <gtkhtml/gtkhtml-embedded.h>
svn path=/trunk/; revision=6627
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this script + some grunt approximates the work:
s/Evolution_MessageList/GNOME_Evolution_MessageList/g;
s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g;
s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g;
s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g;
s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g;
s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g;
s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g;
s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g;
s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g;
s/Evolution_ShellView/GNOME_Evolution_ShellView/g;
s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g;
s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g;
s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g;
s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g;
s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g;
s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g;
s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g;
s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g;
s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g;
s/Evolution_Shell/GNOME_Evolution_Shell/g;
s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g;
s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g;
s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g;
s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g;
s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g;
s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g;
s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g;
s/Evolution_Storage/GNOME_Evolution_Storage/g;
s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g;
s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g;
s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g;
s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g;
s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g;
s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g;
s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g;
s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g;
s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g;
s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g;
s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g;
s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g;
s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g;
s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g;
s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g;
s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g;
s/Evolution_Session/GNOME_Evolution_Session/g;
s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g;
s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g;
s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g;
s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g;
s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g;
s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g;
s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g;
s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g;
s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g;
s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g;
s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g;
s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g;
s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g;
s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g;
s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g;
s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g;
s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g;
s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g;
s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g;
s/Evolution_Composer/GNOME_Evolution_Composer/g;
s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g;
s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g;
s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g;
s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g;
s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g;
s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g;
s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g;
s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g;
s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g;
s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g;
s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g;
s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g;
s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g;
s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g;
s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g;
s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g;
s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g;
s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g;
s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g;
s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g;
s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g;
s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g;
s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g;
s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g;
s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g;
s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g;
s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g;
s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g;
s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g;
s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g;
s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g;
s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g;
s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g;
s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g;
s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g;
s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g;
s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g;
s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g;
s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g;
s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g;
s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g;
s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g;
s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g;
s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g;
s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g;
s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g;
s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g;
s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g;
s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g;
s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g;
s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g;
s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g;
s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g;
s/GNOME_GNOME/GNOME/g;
s/GNOME_GNOME/GNOME/g;
s/GNOME_GNOME/GNOME/g;
svn path=/trunk/; revision=6535
|
|
|
|
|
|
| |
to the iTip control.
svn path=/trunk/; revision=6488
|
|
|
|
|
|
|
|
| |
* mail-display.c: (pixmap_press): modified some of the EPopupMenu
structures to account for differences in the popup menu API (as
informed by Jeff.)
svn path=/trunk/; revision=6486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-07 Not Zed <NotZed@HelixCode.com>
* mail-display.c (on_object_requested): God, I sure wish people
would listen when i'm saying i'm changing and API. I mean
I even mailed everyone and everything. Can't see any changelog
either.
2000-11-06 Not Zed <NotZed@HelixCode.com>
* mail-autofilter.c (rule_from_message): Updates for api changes.
* mail-tools.c (mail_tool_generate_forward_subject): Fixed for api
changes. Sigh, whoever wrote the multithread code of the mailer,
had little idea. You can't just lock for getting a const value,
until you are finished with it, cause the owner still owns it.
Fixed this too. Yuck, what a horrid forwarding format, can we
change this, or make it configurable? The mail headers show who
forwarded it, we dont need to duplicate it in that UGLY subject.
* mail-format.c (write_field_to_stream): Removed some jeffness.
dont g_strdup stuff we dont need to, and remove the
value_is_encoded thing since we can get the unencoded address
now.
(write_address): New function to write an address field.
(write_headers): Uses write_address to write addresses, cleaner,
fixed the god-awful unreadable indenting too.
(handle_text_plain): Use a 'smarter' printf format, so we dont
need to allocate and copy substrings unecessarily (esp since
they're about to be allocated any copied another few times
anyway *sigh*).
(write_field_to_stream): Commented out the isprint check, which
afaik serves no purpose.
(list_add_addresses): New function to build a list of
display-ready addresses. Although I think the composer then uses
these as internet-ready addresses. It should probably take a list
of CamelAddress's if thats what it wants.
(mail_generate_reply): Cleaned up the address list creation stuff
a heap, and fixes for camel api changes. Also fixed a small
memory leak as a side effect (fulladdr wasn't freed if it was the
same as the sender).
* mail-display.c (on_object_requested): Changed for interface
changes to the from address. I think passing the encoded
(internet version) of the address is right here.
svn path=/trunk/; revision=6475
|
|
|
|
|
|
|
| |
* mail-display.c: used Camel to parse the full address before passing
the email address to my iTip control.
svn path=/trunk/; revision=6462
|
|
|
|
|
|
| |
controls, support which helps only the iTip control, currently.
svn path=/trunk/; revision=6318
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (pixbuf_gen_idle): Lots of fixes and
simplifications. Should get rid of the "missing icon" problem.
There is still a problem with some images failing to get
thumbnails, even though they display correctly.
(pixbuf_for_mime_type): New function to try really hard to get the
right icon for a MIME type, including looking in mc and nautilus's
pixmap directories.
(on_object_requested): Always use pixbuf_gen_idle, even for
non-image types, to prevent code duplication.
svn path=/trunk/; revision=6317
|
|
|
|
|
|
|
| |
* mail-display.c (write_data_to_file): Don't destroy a dialog
after run_and_close'ing it.
svn path=/trunk/; revision=6203
|
|
|
|
| |
svn path=/trunk/; revision=6143
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-23 Christopher James Lahey <clahey@helixcode.com>
* folder-browser.c: Made the top of the folder browser a little
prettier.
* mail-display.c, mail-vfolder.c: Made more dialogs resizable.
svn path=/trunk/; revision=6126
|
|
|
|
|
|
| |
message view (patch pulled up from the evolution-0-6-branch).
svn path=/trunk/; revision=6112
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-18 Iain Holmes <iain@helixcode.com>
* mail-config-gui.c (mail_config): Make all the CLists have passive
titles.
(identity_dialog): Make the default button the "OK" button, and set
the dialog to close on pressing return on the entryboxes.
svn path=/trunk/; revision=5996
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-18 Not Zed <NotZed@HelixCode.com>
* folder-browser.c (folder_browser_gui_init): No, we REALLY dont
want to perform an immediate search as the keys are pressed.
* mail-display.c (on_object_requested): Kill a minor warning with
a cast.
* mail-config.c: Include mising ctype.h to kill a warning.
* message-thread.c (main): Fixed the test case for api changes.
* message-list.c (message_list_drag_data_get): Set some flags to
get_folder(). I dont even think this will work because
mail_tool_get_folder doesn't handle file url's.
* mail-vfolder.c (vfolder_uri_to_folder): Pass appropriate flags.
* mail-ops.c (do_setup_folder): Pass appropriate flags. Hmm,
whats the difference between setup and create. *shrug*
(do_create_folder): Pass appropriate flags to get_folder. Needs a
way to specify the index flag.
* mail-tools.c (mail_tool_get_folder_from_urlname): Changed create
to flags argument.
(mail_tool_get_local_inbox_url): Add an index argument.
(mail_tool_get_local_inbox): honour index flag.
(mail_tool_get_inbox): Changed for api change.
(mail_tool_uri_to_folder): Fixed calls to store_get_folder();
* mail-local.c (load_metainfo): Added an indexed field to the metainfo.
(save_metainfo): And save it too.
(do_reconfigure_folder): Honour index flag when creating the new
folder. Do not open the old folder with an index at all.
(mail_local_map_uri): Add an index argument - tells if the mbox is
indexed.
(mail_tool_local_uri_to_folder): Create & pass flags properly.
(#include gnome.h): Dont include all of gnome, just what we use,
and explicity include xml-memory, so we get xmlFree().
svn path=/trunk/; revision=5979
|
|
|
|
| |
svn path=/trunk/; revision=5738
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-02 Iain Holmes <iain@helixcode.com>
* mail-display.[ch]: Add a cache for the pixbufs, hashed on CID,
so that we only have to make a thumbnail once.
2000-10-01 Iain Holmes <iain@helixcode.com>
* mail-display.c: Generate the thumbnails on an idle function so that
the user interface isn't locked. Checks in case the widget it will
use to display the image isn't destroyed.
svn path=/trunk/; revision=5653
|
|
|
|
|
|
| |
Added attachment image thumbnailing to mail-display.c
svn path=/trunk/; revision=5649
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* mail-display.c: Fixed some warnings.
svn path=/trunk/; revision=5327
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c, mail-format.c: Another big rewrite of this
stuff. Now all (well, most) attachments get a small icon with a
description and a (non-obvious) right-click pop-up menu with
options to save, open in an external program, or show/hide inline.
TODO: antialias the icon, add more options to the pop-up for
certain MIME types, add an icon to the headers, fix PGP to work
like everything else, fix message/external-body to work again,
add some icon caching action, etc, etc.
svn path=/trunk/; revision=5326
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (make_safe_filename):
* mail-format.c (handle_mystery):
* mail-identify.c (mail_identify_mime_part):
camel_mime_part_get_filename now deals with both
Content-Disposition and Content-Type.
svn path=/trunk/; revision=5215
|
|
|
|
| |
svn path=/trunk/; revision=5074
|
|
|
|
|
|
| |
the recursive-store-loading. Load stores when they're added to the config page.
svn path=/trunk/; revision=5005
|
|
|
|
| |
svn path=/trunk/; revision=4862
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c, mail-format.c: Redo this again. Get rid of
struct mail_format_data and move most of that info into
MailDisplay itself, and pass the MailDisplay around. Add a GData**
to MailDisplay, and put the urls hash table into that. Also add
the ability to redisplay the currently-displayed message (with the
same GData**), and add a "show_pgp" datum to it that controls
whether or not to decrypt PGP messages, and redo the PGP stuff
(again) to take that into account. Now you don't get the annoying
PGP password dialog box without any warning.
svn path=/trunk/; revision=4757
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* session.c (session_init): Don't call e_setup_base_dir. It was
wrong and it doesn't exist any more.
* component-factory.c (owner_set_cb): Update for changed
prototype, and record the evolution_homedir. Move call to
mail_config_init here from session.c so it happens after
evolution_dir is initialized.
* mail.h: define "extern char *evolution_dir;" (formerly in
e-util/e-setup.h)
* component-factory.c, mail-callbacks.c, mail-config-gui.c,
mail-config.c, mail-display.c, mail-format.c, mail-ops.c,
mail-tools.c, session.c: Remove "e-util/e-setup.h" include.
svn path=/trunk/; revision=4712
|
|
|
|
| |
svn path=/trunk/; revision=4687
|
|
|
|
|
|
|
| |
* mail-display.c (on_object_requested): Support controls as well
as embeddables.
svn path=/trunk/; revision=4663
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* mail-display.c, mail-format.c, mail-ops.c: Fixed some warnings.
* message-list.c: Fix the call to e_popup_menu_run to match the
new signature.
svn path=/trunk/; revision=4634
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-display.c:
* component-factory.c: s/strncasecmp/g_strncasecmp
* mail-format.c (write_headers): Get rid of kludge around subject
beginning with spaces.
(mail_generate_reply): Get rid of kludge around subject beginning
with spaces and also use g_strncasecmp instead of strncasecmp for
portability
* mail-ops.c (forward_msg): Get rid of kludges around subject
beginning with spaces.
svn path=/trunk/; revision=4575
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-crypto.c: New code to spawn off GPG/PGP to do stuff.
Currently only deals with decryption. From Nathan Thompson-Amato
<ndt@jps.net>, with bunches of changes from me.
* session.c (mail_request_dialog): Expose the password dialog to
the rest of the app (for use by the GPG/PGP code).
* mail-format.c (handle_text_plain): Handle special inline data
types. (Currently uuencoding, BinHex, and PGP encryption.) This is
not the best way to deal with it, but it works for now.
(try_inline_pgp): Convert an inline PGP-encrypted message into a
multipart/encrypted part.
(try_inline_binhex): Convert an inline BinHex attachment into an
application/mac-binhex40 part (which we currently don't deal
with...)
(try_uudecoding): Convert a uuencoded attachment to an
application/octet-stream part.
(handle_multipart_encrypted): Deal with RFC2015 MIME-encoded PGP
encrypted messages. (From ndt.)
* mail-display.c (mail_text_write, mail_error_write): New utility
functions.
* Makefile.am (evolution_mail_SOURCES): add mail-crypto.c
svn path=/trunk/; revision=4466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (lookup_handler): Update for OAF and for external
apps as well as components.
(handle_via_external): Handler to set up for data that can be
displayed by an external application.
* mail-display.c (on_link_clicked, etc): Refactor the save_data()
code and add launch_external() as a handler for
x-evolution-external URLs.
(embeddable_destroy_cb): Remove this, since it seems like it's all
wrong.
(on_object_requested): Update for OAF, and fix some bugs.
svn path=/trunk/; revision=4343
|
|
|
|
| |
svn path=/trunk/; revision=4108
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-identify.c (mail_identify_mime_part): Use the gnomevfs
sniff buffer interface to try to identify the MIME type when
everything else fails.
* mail-display.c (on_object_requested):
* mail-format.c (lookup_handler, handle_undisplayable,
handle_audio): s/gnome_mime/gnome_vfs_mime/
* Makefile.am: Add gnomevfs stuff
svn path=/trunk/; revision=3893
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (select_msg): call mail_display_set_message with
NULL if the message we tried to select doesn't exist (probably
meaning we tried to selecte the first message and the folder is
empty.)
* mail-display.c (mail_display_set_message): deal with NULL as an
input (meaning "undisplay previous message and display nothing").
svn path=/trunk/; revision=3879
|