aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
Commit message (Collapse)AuthorAgeFilesLines
* Format signature/encryption information nicer.Milan Crha2009-02-111-3/+6
| | | | | | | | | | 2009-02-10 Milan Crha <mcrha@redhat.com> * em-format-html-display.c: (efhd_format_secure): Format signature/encryption information nicer. svn path=/trunk/; revision=37241
* Show attachment bar at all times. Seems like the contents are missing atSrinivasa Ragavan2009-01-301-2/+3
| | | | | | | | | | 2009-01-29 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c: (efhd_update_bar), (efhd_message_update_bar): Show attachment bar at all times. Seems like the contents are missing at times. svn path=/trunk/; revision=37176
* ** Fix for bug #565376Milan Crha2009-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | 2009-01-08 Milan Crha <mcrha@redhat.com> ** Fix for bug #565376 * vfoldertypes.xml: * searchtypes.xml: Merge some search types together. * em-vfolder-context.c: (vfolder_new_element): More elements. * em-filter-folder-element.h: (struct _EMFilterFolderElement): * em-filter-folder-element.c: (xml_encode), (xml_decode), (folder_selected), (get_widget), (format_sexp): Support storing folder uri in a camel's way. * em-format-html-display.c: (efhd_use_component): Compiler warning fix. svn path=/trunk/; revision=37015
* Fix a impllicit warningSrinivasa Ragavan2008-12-151-0/+1
| | | | | | | | 2008-12-15 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c: Fix a impllicit warning svn path=/trunk/; revision=36891
* Restore the code for BONOBO components need by the vcard inline viewer.Srinivasa Ragavan2008-12-151-2/+186
| | | | | | | | | | | | | 2008-12-15 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c: (efhd_bonobo_unknown), (efhd_find_handler), (efhd_bonobo_object), (efhd_check_server_prop), (efhd_use_component), (efhd_format_attachment): Restore the code for BONOBO components need by the vcard inline viewer. svn path=/trunk/; revision=36885
* Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-191-14/+14
| | | | svn path=/trunk/; revision=36381
* ** Fix for bug #493298Milan Crha2008-09-091-1/+7
| | | | | | | | | | | | 2008-09-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #493298 * em-format-html-display.c: (efhd_image): Do not try to access widget of the pury when the operation has been cancelled. svn path=/trunk/; revision=36289
* Milan Crha <mcrha@redhat.com> ** Fix for bug #543135 (Write error message ↵Suman Manjunath2008-09-011-1/+6
| | | | | | to the right stream, do not try to set information message to the message list when it's not visible). svn path=/trunk/; revision=36240
* ** Fixes bug #546892Matthew Barnes2008-08-121-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* ** Fix for bug #546668Paul Bolle2008-08-071-2/+0
| | | | | | | | | | | | 2008-08-06 Paul Bolle <pebolle@tiscali.nl> ** Fix for bug #546668 * mail/em-format-html.c: Drop a (pointless) define used only once. * mail/em-format-html-display.c: Drop one unused define. svn path=/trunk/; revision=35920
* Use CamelDList instead of EDList.Matthew Barnes2008-08-071-4/+4
| | | | | | | | | | | 2008-08-07 Matthew Barnes <mbarnes@redhat.com> * em-format.c (emf_format_secure): * em-format-html-display.c (efhd_xpkcs7mime_add_cert_table): Use CamelDList instead of EDList. svn path=/trunk/; revision=35919
* fixed copyright noticesJeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35663
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-23/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Committing on behalf of Jacob Brown <jeblinux@gmail.com>Jacob Brown2008-06-021-1/+1
| | | | | | | | 2008-06-02 Jacob Brown <jeblinux@gmail.com> ** Fix for bug #529464 svn path=/trunk/; revision=35575
* ** Fixes bug #534360Matthew Barnes2008-05-231-2/+2
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* ** Fix for bug #531519Sankar P2008-05-091-1/+1
| | | | | | | | | | | | | | | 2008-05-09 Sankar P <psankar@novell.com> ** Fix for bug #531519 * em-format-html-display.c: (efhd_message_update_bar): Evolution crashes on print-preview. ** Committed on behalf of Srinivasa Ragavan <sragavan@novell.com> svn path=/trunk/; revision=35486
* Patch from Shuai Liu <shuai.liu@sun.com>Shuai Liu2008-04-301-2/+2
| | | | | | | | | | | | | | 2008-04-30 Shuai Liu <shuai.liu@sun.com> ** Fix for bug #530672 Evolution crashes when viewing pgp-signed message * em-format-html-display.c: Modify the array of smime_sign_colour from 4 to 5 to ensure the input by data-server is right svn path=/trunk/; revision=35447
* ** Fix for bug #511337Milan Crha2008-04-291-2/+28
| | | | | | | | | | | | | | | | | | | 2008-04-29 Milan Crha <mcrha@redhat.com> ** Fix for bug #511337 * em-format-html.h: (EMFormatHTMLState), (struct _EMFormatHTML): * em-format-html.c: (efh_init), (efh_format_done), (efh_format_timeout): Track state of the object to recognize whether rendering new content or doing nothing. * em-format-html-display.c: (efhd_can_process_attachment), (efhd_attachment_show), (efhd_attachment_popup), (efhd_attachment_image), (efhd_attachment_button): Do nothing when EMFormatHTML object's state is RENDERING, the puri object instance is not valid anyway. svn path=/trunk/; revision=35437
* ** Fix for bug #529247Johan Euphrosine2008-04-281-16/+11
| | | | | | | | | | | | | | | | | | | | | | 2008-04-28 Johan Euphrosine <proppy@aminche.com> ** Fix for bug #529247 * em-format-html.h (struct _EMFormatHTML): Add header_colour. * em-format-html-display.c (efhd_gtkhtml_realise): Use bg style properties for body_colour, fg for header_colour, darken for frame_colour, bg for content_colour. * em-format-html.c (efh_init), (efh_format_exec), (efh_init), (efh_text_plain), (efh_text_enriched), (efh_text_html), (efh_message_deliverystatus): Use header_colour for text color of the message header, body_colour for background color of the message header, text_colour for text color of the message content, base_colour for background color of the message content. svn path=/trunk/; revision=35429
* Compiler warning fix.Milan Crha2008-04-231-1/+2
| | | | | | | | | | 2008-04-23 Milan Crha <mcrha@redhat.com> * em-format-html-display.c: (efhd_update_bar): Compiler warning fix. svn path=/trunk/; revision=35412
* ** Fix for bug #334444Srinivasa Ragavan2008-04-211-1/+31
| | | | | | | | | | | | | | | | | | | | | | | 2008-04-20 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #334444 * em-format-html-display.c: (efhd_attachment_button), (efhd_update_bar), (efhd_message_update_bar), (efhd_message_add_bar): * em-format-html.c: (efh_format_exec): 2008-04-20 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #334444 * e-attachment-bar.c: (e_attachment_bar_add_attachment_silent), (e_attachment_bar_refresh): * e-attachment-bar.h: svn path=/trunk/; revision=35393
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-181-185/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-17 Milan Crha <mcrha@redhat.com> ** Fix for bug #526741 (gnome-vfs to gio/gvfs port) * configure.in: Drop dependency on gnome-vfs, depend on gio instead. * addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs. * calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async), (async_read): Read data with gio, not with gnome-vfs. * calendar/gui/e-meeting-store.c: (async_close): Function removed. * calendar/gui/migration.c: * calendar/gui/e-memos.c: * calendar/gui/alarm-notify/notify-main.c: * calendar/gui/e-tasks.c: * calendar/gui/main.c: * calendar/gui/e-meeting-list-view.c: Do not include gnome-vfs. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type): Function removed, use e-util function instead. * calendar/gui/e-cal-popup.c: (temp_save_part): Reflect changes in CamelStreamVFS. * calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free), (ecalp_standard_menu_factory): Use gio to fill popup and launch app. * calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb): * calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb): New helper function to manage file:// urls for GtkHTML component. * calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init): * calendar/gui/e-cal-component-memo-preview.c: (e_cal_comp_preview_url_requested_cb): Use above helper function. * calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb): * calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed. * composer/e-msg-composer.h: (e_msg_composer_guess_mime_type): * composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri), (e_msg_composer_add_inline_image_from_file): Use shared e_util_guess_mime_type instead of its own. * e-util/e-gui-utils.c: Do not include gnome-vfs. * e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path): * e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local): Use gio instead of gnome-vfs. * e-util/e-util.h: * e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri), (e_util_uri_to_filename), (e_util_read_file): New helper functions. * mail/Makefile.am: * mail/em-vfs-stream.h: * mail/em-vfs-stream.c: Removed from project, not used anywhere. * mail/em-menu.c: * mail/em-config.c: Do not include gnome-vfs. * mail/mail-ops.c: (save_messages_exec), (save_part_exec): Changes related to Data Server change of CamelStreamVFS. * mail/em-format.c: (em_format_describe_part): * mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler), (efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop), (efhd_format_attachment): Drop use of deprecated gnome-vfs functions. * mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type. * mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free), (emp_standard_menu_factory): Use gio to fill popup and launch app. * plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs. * plugins/ipod-sync/ical-format.c: (do_save_calendar_ical): * plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook): Write to gio GOutputStream instead of gnome-vfs handle. * plugins/ipod-sync/format-handler.h: (open_for_writing): * plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function. * plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical): * plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical): Use gio GOutputStream instead of gnome-vfs handle. * plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI. * plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI. * plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb), (struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question), (mount_first), (publish): Use gio instead of gnome-vfs for opening (remote) files. * plugins/save-calendar/ical-format.c: (do_save_calendar_ical): * plugins/save-calendar/csv-format.c: (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf): Use gio GOutpuStream instead of gnome-vfs handle. * plugins/save-calendar/format-handler.h: (open_for_writing): * plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function. * shell/e-shell-window-commands.c: (command_quick_reference): Use gio instead of gnome-vfs. * widgets/misc/e-attachment.h: (struct _EAttachment): * widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type), (e_attachment_new), (struct DownloadInfo), (download_info_free), (data_ready_cb), (download_to_local_path), (e_attachment_new_remote_file): Use gio instead of gnome-vfs to download remote files. * widgets/misc/e-image-chooser.c: (image_drag_data_received_cb): Use new util function to read file. * widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs. svn path=/trunk/; revision=35378
* ** Fix for bug #350308Milan Crha2008-04-031-22/+8
| | | | | | | | | | | | 2008-04-03 Milan Crha <mcrha@redhat.com> ** Fix for bug #350308 * em-format-html-display.c: (efhd_gtkhtml_realise): Make colors only darker, not lighter. Use black in case someone has too dark theme. svn path=/trunk/; revision=35316
* ** Partial fix for bug #395939Milan Crha2008-01-241-2/+2
| | | | | | | | | | | | | | 2008-01-24 Milan Crha <mcrha@redhat.com> ** Partial fix for bug #395939 * em-format.c: (emf_inlinepgp_signed): * em-format-html-display.c: (efhd_format_optional): * em-folder-view.c: (emfv_destroy): Memory leak fix. svn path=/trunk/; revision=34881
* ** Fix for bug #488213Milan Crha2008-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2008-01-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #488213 * e-util/e-icon-factory.h: (e_icon_factory_pixbuf_scale): * e-util/e-icon-factory.c: (e_icon_factory_pixbuf_scale): New global function for pixbuf scaling which speeds up scaling when HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H. * addressbook/gui/contact-editor/e-contact-editor.c: (extract_simple_field): * mail/em-icon-stream.c: (emis_fit): * mail/em-format-html-display.c: (efhd_attachment_button): * e-util/e-icon-factory.c: (load_icon): * widgets/misc/e-spinner.c: (scale_to_size): * widgets/misc/e-image-chooser.c: (set_image_from_data): * widgets/misc/e-attachment-bar.c: (e_attachment_bar_create_attachment_cache), (update): Use global function e_icon_factory_pixbuf_scale for scaling pixbufs. svn path=/trunk/; revision=34800
* ** Fix for bug #507067Milan Crha2008-01-101-10/+28
| | | | | | | | | | | | | | | | | 2008-01-10 Milan Crha <mcrha@redhat.com> ** Fix for bug #507067 * em-format-html-display.c: (efhd_get_uri_puri): Leak fix and enhanced behavior to return more than one URI separated by new line character ('\n'), if possible. * em-folder-view.c: (emfv_uri_popup_free): Free item itself too, because since now we use new allocated items, not the static one. * em-folder-view.c: (emfv_free_em_popup), (emfv_append_menu), (emfv_format_popup_event): Merge menus for more URIs and for part too. svn path=/trunk/; revision=34790
* ** Fix for bug #317823Milan Crha2008-01-021-18/+46
| | | | | | | | | | | | | | | | | 2008-01-02 Milan Crha <mcrha@redhat.com> ** Fix for bug #317823 * em-format-html-display.c: (efhd_get_uri_puri): New helper function to dig up uri or puri from the GtkHtml. If the object is an image, then pass it as puri or uri, depends on the source of the image. * em-format-html-display.c: (efhd_html_button_press_event), (em_format_html_display_popup_menu): Using new helper function. Note: New API functions in gtkhtml are required. svn path=/trunk/; revision=34750
* ** Fix for bug #502318Milan Crha2007-12-111-14/+22
| | | | | | | | | | | | | | | | | 2007-12-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #502318 * em-format-html-display.c: (struct _EMFormatHTMLDisplayPrivate), (efhd_search_destroy), (em_format_html_get_search_dialog), (em_format_html_display_search), (em_format_html_display_search_with), (em_format_html_display_search_close), (efhd_complete): Track search dialog activity rather based on flag than on widget existence, because the pointer to that widget it still there (non-NULL) even after destroy of that widget. svn path=/trunk/; revision=34689
* Patch from David Turner <cillian64@googlemail.com>: Fix for bug #446029 ↵Suman Manjunath2007-12-041-1/+1
| | | | | | (mnemonic conflict in 'Find in Message' feature) svn path=/trunk/; revision=34647
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-88/+88
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Fix typo in documentation. Ditto.Priit Laes2007-11-011-1/+1
| | | | | | | | | 2007-10-31 Priit Laes <plaes@svn.gnome.org> * em-format-html-display.c: Fix typo in documentation. * em-message-browser.c: Ditto. svn path=/trunk/; revision=34471
* Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of functionKjartan Maraas2007-10-291-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-searching-tokenizer.c: (build_trie), (searcher_new), (output_token), (output_match), (merge_subpending), (searcher_next_token): * em-account-editor.c: (em_account_editor_new), (emae_load_text), (emae_check_license), (emae_auto_detect), (smime_sign_key_select), (smime_encrypt_key_select), (emae_service_url_path_changed), (emae_ssl_changed), (emae_service_provider_changed), (emae_refresh_providers), (emae_refresh_authtype), (emae_setup_service), (emae_identity_page): * em-composer-utils.c: (em_utils_send_receipt), (generate_account_hash), (em_utils_camel_address_to_destination), (reply_get_composer): * em-config.c: (em_config_new): * em-event.c: (em_event_peek): * em-filter-rule.c: (get_widget): * em-folder-browser.c: (generate_viewoption_menu), (em_folder_browser_show_preview), (get_view_query), (vfolder_setup_do), (emfb_search_search_activated), (emfb_list_key_press), (emfb_list_built): * em-folder-view.c: (em_folder_view_new), (emfv_setup_view_instance), (emfv_popup_forward), (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (emfv_enable_menus): * em-format-hook.c: * em-format-html-display.c: (efhd_attachment_optional): * em-format-html.c: (em_format_html_new), (em_format_html_add_pobject), (em_format_html_find_pobject), (em_format_html_find_pobject_func), (efh_text_enriched), (efh_multipart_related), (efh_format_address), (efh_format_header): * em-icon-stream.h: * em-inline-filter.c: (emif_add_part), (emif_scan): * em-junk-hook.c: (emjh_construct_group): * em-mailer-prefs.c: (junk_plugin_setup): * em-menu.c: (em_menu_new), (em_menu_target_new_select): * em-message-browser.c: (em_message_browser_new): * em-popup.c: (em_popup_new), (em_popup_target_new_select): * em-sync-stream.c: * em-utils.c: (em_utils_save_part_to_file), (tag_editor_response), (em_utils_read_messages_from_stream), (em_utils_get_proxy_uri), (em_utils_in_addressbook): * em-vfolder-rule.c: (validate): * importers/elm-importer.c: * importers/mail-importer.c: (import_mbox_import), (import_folders_rec): * importers/pine-importer.c: * mail-component.c: (setline_done): * mail-folder-cache.c: (flush_updates): * mail-mt.c: (mail_msg_new), (checkmem), (mail_msg_check_error), (mail_msg_cancel), (mail_msg_wait), (mail_msg_init), (do_op_status): * mail-send-recv.c: (receive_status), (receive_done), (refresh_folders_get): * mail-vfolder.c: (mail_vfolder_get_sources_local), (mail_vfolder_get_sources_remote), (context_rule_added), (store_folder_renamed): * message-list.c: (e_mail_address_new), (e_mail_address_compare), (get_normalised_string), (ml_search_forward), (ml_search_backward), (ml_search_path), (message_list_select_uid), (thread_select_foreach), (message_list_copy), (ml_duplicate_value), (ml_free_value), (ml_initialize_value), (ml_value_is_empty), (ml_value_to_string), (subtree_latest), (sanitize_recipients), (ml_tree_value_at), (ml_tree_sort_value_at), (message_list_init_images), (filter_date), (build_tree), (build_flat_diff), (regen_list_regen): Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of function declarations - Remove unused bits - use unsigned ints for 1-bit bitfields - invalid pointer type - mark a global var static - mixing code and declarations svn path=/trunk/; revision=34449
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Move away from g_assert to g_return* calls Srinivasa Ragavan2007-08-311-2/+4
| | | | svn path=/trunk/; revision=34143
* ** Fix for bug #256878 from Vincent UntzSrinivasa Ragavan2007-08-271-2/+4
| | | | svn path=/trunk/; revision=34110
* 2007-07-26 mcrha Fix for bug #273386Milan Crha2007-07-261-2/+2
| | | | svn path=/trunk/; revision=33846
* Take warning softly instead of a crashSrinivasa Ragavan2007-07-111-2/+5
| | | | svn path=/trunk/; revision=33799
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-22/+25
| | | | svn path=/trunk/; revision=33628
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-2/+2
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #423766Matthew Barnes2007-04-181-3/+18
| | | | | | | | | | | | | | | | | | | 2007-04-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #423766 * mail/em-format-html-display.c (attachments_save_all_clicked): Call em_utils_save_part() if there's only one attachment to save. * mail/em-utils.c (em_utils_save_part): Refactor to use gtk_dialog_run() instead of a "response" callback. * mail/em-utils.c (em_utils_save_parts): Refactor to use gtk_dialog_run() instead of a "response" callback. Use gtk_file_chooser_get_uri() to fetch the selected folder. svn path=/trunk/; revision=33429
* Fix a typo.Matthew Barnes2007-03-311-1/+1
| | | | | | | | | 2007-03-30 Matthew Barnes <mbarnes@redhat.com> * em-format-html-display.c (icon_entry_changed_cb): Fix a typo. svn path=/trunk/; revision=33347
* Fix "incompatible pointer type" warnings (#360619).Matthew Barnes2007-03-301-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* ** Fixes bug #360240Matthew Barnes2007-03-171-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-16 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #360240 * addressbook/gui/widgets/e-addressbook-view.c (e_contact_print_button): * addressbook/printing/e-contact-print.c (complete_sequence), (e_contact_build_style), (e_contact_print_response), (e_contact_print_contact_list_dialog_new): * shell/e-shell-importer.c (importer_file_page_new): * plugins/startup-wizard/startup-wizard.c (startup_wizard_timezone_page): * mail/em-vfolder-rule.c (select_source_with_changed), (get_widget): * mail/em-format-quote.c (emfq_format_source): * mail/mail-ops.c (save_messages_save): * mail/em-format.c (emf_init): * mail/em-format-html-display (em_format_html_get_search_dialog), (em_format_html_display_seearch_with), (ehhd_resize), (efhd_attachment_optional), (efhd_format_optional): * mail/em-folder-view.c (emfv_init): * mail/message-list.c (ml_tree_value_at): * composer/e-msg-composer-hdrs (header_new_recipient): * composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action): * widgets/table/e-cell-text.c (ect_free_color): * widgets/misc/e-calendar-item.c (e_calendar_item_unrealize): * widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget): Remove unused variables. svn path=/trunk/; revision=33315
* Fixes bug #353921Srinivasa Ragavan2007-02-081-2/+3
| | | | svn path=/trunk/; revision=33180
* Disconnect handlers on image destroy. Fixes bug #340165.Nickolay V. Shmyrev2006-12-211-1/+1
| | | | | | | | | | | | | | 2006-12-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * mail/em-format-html-display.c: (efhd_image_unallocate), (efhd_attachment_image): Disconnect handlers on image destroy. Fixes bug #340165. Fixes changelog issue and build issue svn path=/trunk/; revision=33086
* Disconnect handlers on image destroy. Fixes bug #340165.Nickolay V. Shmyrev2006-12-211-0/+7
| | | | | | | | | | | | 2006-12-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * mail/em-format-html-display.c: (efhd_image_unallocate), (efhd_attachment_image): Disconnect handlers on image destroy. Fixes bug #340165. svn path=/trunk/; revision=33084
* Fix for bug #337439 DoS attach with large emailsSrinivasa Ragavan2006-11-271-2/+165
| | | | | | | | 2006-11-26 Srinivasa Ragavan <sragavan@novell.com> * Fix for bug #337439 DoS attach with large emails svn path=/trunk/; revision=33024
* ** Fix for bug #333864 and bug #351374Srinivasa Ragavan2006-10-161-2/+21
| | | | | | ** Fix for bug #333864 and bug #351374 svn path=/trunk/; revision=32884
* Do not mark empty strings for translation. Fixes #357422.Harish Krishnaswamy2006-09-301-1/+1
| | | | | | | | | 2006-09-30 Harish Krishnaswamy <kharish@novell.com> * em-format-html-display.c: (em_format_html_get_search_dialog): Do not mark empty strings for translation. Fixes #357422. svn path=/trunk/; revision=32834
* Fixes #351332Matthew Barnes2006-09-191-0/+1
| | | | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> Fixes #351332 * em-folder-view.c: * em-format-html-display.c: Fix implicit function declarations. svn path=/trunk/; revision=32791
* ** Fixes bug #347238Srinivasa Ragavan2006-08-231-1/+1
| | | | svn path=/trunk/; revision=32636
* Fix for bug #348565Srinivasa Ragavan2006-08-091-5/+8
| | | | svn path=/trunk/; revision=32507
* Committed Johnny's string changes for searchSrinivasa Ragavan2006-08-051-3/+4
| | | | svn path=/trunk/; revision=32474
* Add missing headers. Add function prototypes.Fixes #347689.Yuri Pankov2006-07-221-0/+1
| | | | | | | | | 2006-07-22 Yuri Pankov <yuri.pankov@gmail.com> * em-format-html-display.c: Add missing headers. * mail-vfolder.h: Add function prototypes.Fixes #347689. svn path=/trunk/; revision=32381
* Modified the mnemonics for avoiding the conflict with search.Srinivasa Ragavan2006-07-201-1/+1
| | | | svn path=/trunk/; revision=32362
* ** Patch by Not Zed <NotZed@Ximian.com> ** See bug #262003Johnny Jacob2006-07-121-8/+37
| | | | | | | | | | | | | 2006-07-11 Johnny Jacob <jjohnny@novell.com> ** Patch by Not Zed <NotZed@Ximian.com> ** See bug #262003 * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): put the potentially long descriptions into a textbuffer so it's scrollable. svn path=/trunk/; revision=32287
* Changing one mnemonic to avoid a mnemonic conflict with an upcoming patchAndre Klapper2006-07-071-1/+1
| | | | | | | | | 2006-07-07 Andre Klapper <a9016009@gmx.de> * em-format-html-display.c: Changing one mnemonic to avoid a mnemonic conflict with an upcoming patch by Jony. svn path=/trunk/; revision=32254
* Added mnemonic to string. Fixes bug #346645.Andre Klapper2006-07-051-1/+1
| | | | | | | | | 2006-07-05 Andre Klapper <a9016009@gmx.de> * em-format-html-display.c: Added mnemonic to string. Fixes bug #346645. svn path=/trunk/; revision=32234
* Enhanced search functionality. patch submitted by Johnny Jacob ReviewedHarish Krishnaswamy2006-06-301-57/+199
| | | | | | | | | 2006-06-30 Harish Krishnaswamy <kharish@novell.com> Enhanced search functionality. patch submitted by Johnny Jacob Reviewed and committed by Harish. svn path=/trunk/; revision=32207
* Added support for collapsible headers for To/Cc/BccSrinivasa Ragavan2006-05-251-1/+24
| | | | svn path=/trunk/; revision=32020
* Added code to create image attachment's icon in non-gui thread.Srinivasa Ragavan2006-04-221-1/+6
| | | | svn path=/trunk/; revision=31859
* Make the verify/decrypt gpg diagnostic text selectable in the securityJeffrey Stedfast2006-02-281-0/+2
| | | | | | | | | | | 2006-02-27 Jeffrey Stedfast <fejj@novell.com> * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): Make the verify/decrypt gpg diagnostic text selectable in the security dialog that comes up when you click the button in a message. Fixes bug #268414. svn path=/trunk/; revision=31596
* a11y changes for bug #330723Karsten Bräckelmann2006-02-111-2/+2
| | | | svn path=/trunk/; revision=31477
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-09 Kjartan Maraas <kmaraas@gnome.org> * em-account-editor.h: s/int/guint/g for 1-bit bitfield. * em-composer-utils.c: (em_utils_redirect_message): Remove cruft * em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield and rename a variable with a name clash. * em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to avoid name clashes. * em-folder-view.c: guint for 1-bit bitfields. * em-folder-view.h: Same as above. * em-format-html-print.h: Again. * em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments * em-format.c: (emf_multipart_alternative): Add comment about using var that is passed in rather than a local variable. * em-inline-filter.c: (emif_scan): Remove unused var. Mark code static. * em-mailer-prefs.h: guint for 1-bit bitfields. * em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var * em-subscribe-editor.c: guint for 1-bit bitfield * em-utils.c: remove unused function * em-vfolder-rule.c: mark array static * importers/mail-importer.c: (decode_status): Remove unused code. Use guint for 1-bit bitfield. * mail-autofilter.c: (rule_from_message): rename a variable * mail-component.c: guint for 1-bit bitfield * mail-folder-cache.c: (update_1folder): remove unused code * mail-mt.c: mark some structs static * message-list.c: (message_list_select_uid), (ml_value_to_string), (ml_tree_value_at), (find_next_undeleted), (build_tree), (build_flat): Remove unused code and fix some format specifiers. svn path=/trunk/; revision=31448
* Committed Rajeev's patch and my patch for mnemonics.Srinivasa Ragavan2006-02-061-1/+1
| | | | svn path=/trunk/; revision=31425
* Committed Rajeev's patch.Srinivasa Ragavan2006-01-281-0/+43
| | | | svn path=/trunk/; revision=31333
* *** empty log message ***Parthasarathi Susarla2006-01-251-1/+0
| | | | svn path=/trunk/; revision=31301
* Committing ChangeLog em-account-prefs.c em-format-html-display.c ↵Srinivasa Ragavan2006-01-231-5/+24
| | | | | | em-message-browser.c svn path=/trunk/; revision=31272
* Changed event to scroll_event in rajeev's patch.Srinivasa Ragavan2006-01-161-1/+1
| | | | | | | | | | 2006-01-16 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c: (em_format_html_display_new): Changed event to scroll_event in rajeev's patch. svn path=/trunk/; revision=31196
* ** Fixes bug #246257Rohini S2006-01-161-0/+3
| | | | | | | | | | | | | | | 2006-01-12 Rohini S <srohini@novell.com> ** Fixes bug #246257 * mail-dialogs.glade: Interchange of label and checkbox positions in Find message dialog * em-format-html-display.c: (efhd_update_matches), (em_format_html_display_search): Hide Matches Label on dialog open and Show Matches Label when required. Fixes bug 246257. svn path=/trunk/; revision=31193
* ** Fixes bug #239929 (Committing Rajeev's patch)Srinivasa Ragavan2006-01-161-0/+20
| | | | | | | | | | | | 2006-01-16 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #239929 (Committing Rajeev's patch) * em-format-html-display.c: (efhd_scroll_event), (em_format_html_display_new):Adds handler to zoom-in/out on control scroll. svn path=/trunk/; revision=31186
* String Fixes (Bug #325122)Harish Krishnaswamy2006-01-011-3/+3
| | | | | | | | 2006-01-01 Harish Krishnaswamy <kharish@novell.com> * String Fixes (Bug #325122) svn path=/trunk/; revision=31006
* ** See bug 324319 Add the accessible name of arrow button, and theBoby Wang2005-12-201-0/+1
| | | | | | | | | | | 2005-12-20 Boby Wang <Boby.Wang@sun.com> ** See bug 324319 * em-format-html-display.c: (efhd_add_bar): Add the accessible name of arrow button, and the attachment bar can be opened by gok. svn path=/trunk/; revision=30895
* em-folder-browser.c em-folder-view.c em-format-html.cTor Lillqvist2005-12-181-8/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * em-folder-browser.c * em-folder-view.c * em-format-html.c * em-format-html-display.c * em-mailer-prefs.c * em-message-browser.c * em-migrate.c * em-subscribe-editor.c * em-sync-stream.c * em-utils.c * em-vfolder-editor.c * em-vfolder-rule.c * mail-autofilter.c * mail-component.c * mail-config.c * mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of glade, xml, etspec and png files at run-time. Use g_filename_{to,from}_uri(). * em-folder-browser.c (emfb_init) * em-folder-view.c (emfv_finalise) * em-message-browser.c (emmb_init): As EMFolderView::ui_files now always is a list of filenames constructed with g_build_filename(), use g_free() on each list entry before calling g_slist_free() on the list. * em-folder-tree-model.c (em_folder_tree_model_load_state): Use e_xml_parse_file(). * em-migrate.c: Bypass all the code for upgrading from 1.x on Win32. (emm_setup_initial): Use GDir instead of dirent. * em-sync-stream.c * mail-folder-cache.c: Use pthread_equal() to compare pthread_t values. * em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32. svn path=/trunk/; revision=30854
* Fixed mark junk, keybinding to focus search widget.Srinivasa Ragavan2005-10-181-0/+6
| | | | | | | | 2005-10-18 Srinivasa Ragavan <sragavan@novell.com> * Fixed mark junk, keybinding to focus search widget. svn path=/trunk/; revision=30520
* Define localtime_r() for Win32 using localtime() (which is thread-safe inTor Lillqvist2005-09-281-0/+10
| | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * em-format-html-display.c: Define localtime_r() for Win32 using localtime() (which is thread-safe in Microsoft's C library). svn path=/trunk/; revision=30398
* ** See bug #314440.Not Zed2005-08-261-7/+6
| | | | | | | | | | | | | | | | 2005-08-25 Not Zed <NotZed@Ximian.com> ** See bug #314440. * em-format-html.c (efh_url_requested): check the content object's mime type, not the container, when seeing if the data should be written. (efh_write_text_html): add some debug. * em-format-html-display.c (efhd_html_button_press_event): fix debug. svn path=/trunk/; revision=30253
* Dont call update. Just set the width on the bar.Srinivasa Ragavan2005-08-241-4/+2
| | | | | | | | | 2005-08-24 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c (efhd_bar_resize): Dont call update. Just set the width on the bar. svn path=/trunk/; revision=30235
* cast warning away.Not Zed2005-08-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): cast warning away. * mail-folder-cache.c: include missing header for e_filename_make_safe. * em-junk-hook.h: Fix some header includes, fix the include guard to use the right name. (EMJunk): Ugh, this is an object, properly derive from it! How did this work? * em-junk-hook.c (em_junk_check_junk): fix bool conversion. * em-format-html-display.c (efhd_bar_popup_position): another wraning, why this crap isn't in the attachment bar like i said it should be, i'll never know. (efhd_xpkcs7mime_viewcert_foad): only define if used. * em-account-editor.c (emae_defaults_page): attempt to fix parentheses (emae_security_page): fix conditional compilation warnings. svn path=/trunk/; revision=30214
* put the s/mime message back, awaiting string approval for a changeNot Zed2005-08-191-32/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-19 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_encrypted): put the s/mime message back, awaiting string approval for a change otherwise. 2005-08-18 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_message_add_bar): dont add attachment bar if it is disabled. (efhd_attachment_button): dont add attachments if there is no bar. * em-format.c (emf_inlinepgp_signed, emf_inlinepgp_encrypted): fix the error messages for consistency. We dont need to check content-type, since we only get called with the right one. (emf_multipart_encrypted): fix up wrong s/mime error. * em-format-html.c (efh_inlinepgp_signed) (efh_inlinepgp_encrypted): moved to em-format.c; otherwise this will break replying, etc. ** See #271894. * em-format.c (emf_multipart_encrypted): use the content object's content-type to check types. svn path=/trunk/; revision=30161
* Fix a warning. (efhd_bar_resize): Fix the bar size to match other widgets.Srinivasa Ragavan2005-08-171-6/+21
| | | | | | | | | | | | 2005-08-17 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c (efhd_bar_save_selected): Fix a warning. (efhd_bar_resize): Fix the bar size to match other widgets. (efhd_bar_scroll_event): Fix scroll issue over bar. bug #312224. (efhd_add_bar): Add a frame around the attachment bar. bug #312033 svn path=/trunk/; revision=30147
* Fix for bug #312545Srinivasa Ragavan2005-08-161-4/+3
| | | | | | | | | 2005-08-16 Srinivasa Ragavan <sragavan@novell.com> * mail/em-format-html-display.c: * widgets/misc/e-attachment*.c: Fix for bug #312545 svn path=/trunk/; revision=30126
* Fix to hide the attachment bar when no attachments and to resize when theSrinivasa Ragavan2005-08-111-24/+43
| | | | | | | | | | 2005-08-11 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c (efhd_attachment_bar_refresh) (efhd_bar_resize) (efhd_add_bar): Fix to hide the attachment bar when no attachments and to resize when the window is resized. svn path=/trunk/; revision=30083
* Fixes the bug #312410.Srinivasa Ragavan2005-08-051-11/+9
| | | | | | | | | 2005-08-05 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c (efhd_init) (efhd_complete) (efhd_message_add_bar): Fixes the bug #312410. svn path=/trunk/; revision=29996
* Added code to create a attachment bar.Srinivasa Ragavan2005-07-251-1/+325
| | | | | | | | | | | | | | | | | | | | | 2005-07-25 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c: (efhd_init) (efhd_finalise) () (efhd_attachment_image) (efhd_attachment_button) (efhd_format_attachment) Added code to create a attachment bar. * em-format-html.c: (efh_format_message) Added code to add bar at the beginning of the message. * em-popup.[ch]: (em_popup_target_new_attachments) (emp_part_popup_set_background) (emp_standard_menu_factory) Added code to handle the popup menu inside the attachment bar. * em-utils.[ch]: (em_utils_edit_filters) (emu_get_save_filesel) (em_utils_save_part) (em_utils_save_messages) Added code to handle save selected and save all options of the attachment bar. svn path=/trunk/; revision=29866
* use the cache, since we set it up. (efhd_image): added a (private!) formatNot Zed2005-07-061-7/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-05 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_image): use the cache, since we set it up. (efhd_image): added a (private!) format handler for all the image types so we intercept them and handle them directly. (efhd_image_fit, efhd_image_unfit): replace the resize callback with two much simpler ones. * em-icon-stream.c (em_icon_stream_get_image): added 'fit to' arguments. Changed dramatically to get approximate fit-to image, update cache, etc. (em_icon_stream_is_resized): added 'fit to' arguments. changed to manipulate the cache properly. (emis_fit): helper to fit an image to a size. (em_icon_stream_new): added 'fit to' arguments rather than poking structures. * em-format-html-display.c (efhd_attachment_image): fixed a memory leak, various style issues. Removed all scaling code. (efhd_attachment_popup): show menu's appropriately. add back the hide/show menu always. (efhd_image_popup): fix formatting. ** Applied patch from Srini for scaling images to fit by default. svn path=/trunk/; revision=29640
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* fix rodney's name choices. fix multiple-inclusion. fix forward references.Not Zed2005-05-191-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-19 Not Zed <NotZed@Ximian.com> * em-folder-utils.h: fix rodney's name choices. fix multiple-inclusion. fix forward references. fix all callers. add many fixme's for the busted api's. * em-format-quote.c (emfq_format_clone): use pseudo mime type to find message formatter. * em-format-html-display.c (efhd_format_message): remove, it didn't do anything. * em-format-html.c (efh_format_message): make this a handler callback. * em-format.c (emf_message_rfc822): make this use the pseudo mime-type x-evolution/message/rfc822 instead of the hardcoded format_message callback. * em-format-html-display.c (efhd_message_prefix): make this use a pseudo-mime-type handler rather than hard-coded, so it can be overridden by a plugin. svn path=/trunk/; revision=29382
* removed include of htmlengine.h which wasn't neededRadek Doulik2005-05-171-37/+14
| | | | | | | | | | | | | | | 2005-05-17 Radek Doulik <rodo@novell.com> * em-format-html.c: removed include of htmlengine.h which wasn't needed * em-format-html-display.c: use top level gtkhtml API instead of lower level one * em-folder-view.c (emfv_popup_selectall): use gtk_html_select_all instead of calling html engine directly svn path=/trunk/; revision=29378
* use gtk_html_command to ask if selection is active tto avoid usingRadek Doulik2005-05-051-1/+0
| | | | | | | | | | | | | 2005-05-05 Radek Doulik <rodo@site> * em-folder-view.c (em_folder_view_get_popup_target): use gtk_html_command to ask if selection is active tto avoid using selection API directly (emfv_popup_copy_text): use gtkhtml API instead of engine API (emfv_message_reply): use new gtk_html_get_selection_html function to avoid using low level gtkhtml APIs svn path=/trunk/; revision=29272
* removed include of htmlinterval.h as it's not neededRadek Doulik2005-05-031-1/+0
| | | | | | | | | 2005-05-03 Radek Doulik <rodo@site> * em-format-html-display.c: removed include of htmlinterval.h as it's not needed svn path=/trunk/; revision=29260
* include atkutil.h (message_list_construct): cast warning.Not Zed2005-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-01 Not Zed <NotZed@Ximian.com> * message-list.c: include atkutil.h (message_list_construct): cast warning. * mail-session.c (mail_session_set_interactive): remove unused variable since we can no longer terminate password requests. * mail-autofilter.c (em_vfolder_rule_from_address): properly define in header. * em-utils.c (emu_get_save_filesel): only define filename in the !gtkfilechooser case. * em-mailer-prefs.c (restore_labels_clicked): cast for warning. (em_mailer_prefs_construct): same. * em-format-html.c (efh_format_header): remove unused variable. * em-account-editor.c (emae_widget_druid_glade): remove unused variable. * importers/mail-importer.h: forward-delcare struct _MailComponent. * *c: remove/disable various debug. svn path=/trunk/; revision=28934
* Fix for 72275. try to bring up menu for preivew html object.Harry Lu2005-02-081-0/+35
| | | | | | | | | | | | | | 2005-02-07 Harry Lu <harry.lu@sun.com> Fix for 72275. * em-folder-view.c: (emfv_popup_menu): try to bring up menu for preivew html object. (emfv_format_popup_event): handle event == NULL case. * em-format-html-display.c: (em_format_html_display_popup_menu): New function to popup context menu. * em-format-html-display.h: add new function declaration. svn path=/trunk/; revision=28744
* ** See bug #60664.Not Zed2005-01-211-1/+8
| | | | | | | | | | | 2005-01-21 Not Zed <NotZed@Ximian.com> ** See bug #60664. * em-format-html-display.c (efhd_init, efhd_gtkhtml_style_set): if the style changes, re-calculate the page colours, and redraw. svn path=/trunk/; revision=28478
* moved to after emae_authtype_changed to fix warning.Not Zed2004-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_needs_auth): moved to after emae_authtype_changed to fix warning. 2004-12-17 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_popup): * message-list.c (ml_tree_drag_data_received): * em-folder-view.c (emfv_popup, emfv_format_popup_event): * em-folder-tree.c (tree_drag_data_received): api changes. (emft_popup): * em-popup.c (emp_standard_menu_factory) (emp_standard_menu_factory): api changes. svn path=/trunk/; revision=28180
* Moved various things from e-util to libedataserver.Not Zed2004-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * *.c: Moved various things from e-util to libedataserver. * GNOME_Evolution_Mail.server.in.in: remove the startup wizard stuff. * mail-config-druid.[ch]: * mail-account-editor.[ch]: * mail-account-gui.[ch]: removed & deleted. * mail-session.c (mail_session_init): and here too. * em-migrate.c (em_migrate_1_4): init camel-provider library too. (e_path_to_physical): copy from e-util/e-path.c. * Makefile.am (libevolution_mail_la_LIBADD): link to new libcamel provider too. svn path=/trunk/; revision=28047
* add mnemonic for buttons. add atk name for the popup button. add accessMengjie Yu2004-12-011-0/+6
| | | | | | | | | | | | | | | 2004-12-01 Mengjie Yu <meng-jie.yu@sun.com> * em-account-editor.c: (emae_option_toggle), (emae_receive_options_item):add mnemonic for buttons. * em-format-html-display.c: (efhd_attachment_button):add atk name for the popup button. * mail-account-gui.c: (mail_account_gui_build_extra_conf):add access key for checkbox. * message-list.c: (message_list_construct):add a atk name for the message list. svn path=/trunk/; revision=28029
* get image widget directly from icon factoryJP Rosevear2004-11-261-5/+1
| | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * em-format-html-display.c (efhd_xpkcs7mime_button): get image widget directly from icon factory * mail-send-recv.c (build_dialog): ditto svn path=/trunk/; revision=27998
* added hook docs, and cleaned up some of the hook point names.Not Zed2004-10-281-1/+9
| | | | | | | | | | | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): * em-message-browser.c (em_message_browser_new): * em-mailer-prefs.c (em_mailer_prefs_construct): * em-format-html-display.c (efhd_attachment_popup): * em-folder-view.c (emfv_popup, emfv_list_done_message_selected) (emfv_format_popup_event): * em-folder-tree.c (emft_popup): * em-folder-properties.c (emfp_dialog_got_folder): * em-folder-browser.c (em_folder_browser_new): * em-composer-utils.c (em_utils_reply_to_message): * em-composer-prefs.c (em_composer_prefs_construct): * em-account-editor.c (em_account_editor_construct): added hook docs, and cleaned up some of the hook point names. svn path=/trunk/; revision=27749
* convert to org.gnome hook namesJP Rosevear2004-10-201-1/+1
| | | | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * em-account-editor.c, em-composer-prefs.c, em-config.c, em-event.c, em-folder-browser.c, em-folder-properties.c, em-folder-tree.c, em-folder-view.c, em-format-hook.c, em-format-html-display.c, em-mailer-prefs.c, em-menu.c, em-message-browser.c, em-popup.c, message-list.c: convert to org.gnome hook names svn path=/trunk/; revision=27635
* use builtin handlers (and plugins) always overriding bonobo ones.Not Zed2004-10-121-11/+9
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_find_handler): use builtin handlers (and plugins) always overriding bonobo ones. svn path=/trunk/; revision=27549
* put back in the attachment attaching code. Doesn't work for s/mime andNot Zed2004-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-09-28 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (forward_non_attached): put back in the attachment attaching code. Doesn't work for s/mime and pgp, but why bother arguing about it. 2004-10-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_get_folder_info__desc): fix busted cast. * *.c: e-popup api changes. 2004-10-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_button_press): remove some debug that made it in accidentally. svn path=/trunk/; revision=27487
* ** See bug #65058.Not Zed2004-09-221-1/+1
| | | | | | | | | | | | 2004-09-03 Not Zed <NotZed@Ximian.com> ** See bug #65058. * em-format-html.c (efh_image): use the content-id rather than the uri for tracking our image reference. Makes more sense anyway, its guaranteed unique. svn path=/trunk/; revision=27328
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-20/+27
| | | | svn path=/trunk/; revision=27300
* Fix for bug #62812Jeffrey Stedfast2004-08-231-1/+3
| | | | | | | | | | | | 2004-08-13 Jeffrey Stedfast <fejj@novell.com> Fix for bug #62812 * em-format-html-display.c (em_format_html_display_search): Set the search_dialog to be transient for the parent window and make sure to destroy the search_dialog when the parent gets destroyed. svn path=/trunk/; revision=26995
* minor typo, uppercase 'the' corrected.Karsten Bräckelmann2004-08-071-2/+8
| | | | | | | | | 2004-06-08 Karsten Bräckelmann <guenther@rudersport.de> * em-format-html-display.c (smime_encrypt_table[4]): minor typo, uppercase 'the' corrected. svn path=/trunk/; revision=26841
* only call expunge if the folder is set. (emfb_enable_map[]): only enableNot Zed2004-07-101-33/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-09 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_folder_expunge): only call expunge if the folder is set. (emfb_enable_map[]): only enable expunge menu item if we have a valid folder set. ** See bug #60900. * em-format-html.c: convert the text_inline_parts hash to be keyed off the partid. (efh_free_inline_parts): -> efh_free_cache and fix to do it. * em-format.c (emf_free_cache): make the inline table cache other info too based on partid, this frees the structure. (emf_clone_inlines): copy all of the cache data. (em_format_is_inline): use the new data structure to determine state. (em_format_set_inline): same for setting. (emf_multipart_signed): cache/lookup the cached part. (emf_insert_cache): helper to add a cache entry. (emf_multipart_encrypted): cache decrypted part. (emf_application_xpkcs7mime): same. 2004-07-08 Not Zed <NotZed@Ximian.com> ** See bug #60900 (related only). * em-format-html-display.c (efhd_attachment_show): let set_inline do the redraw itself if required. kill some dead code. * em-format.c (em_format_set_inline): trigger a redraw here like the other em_format_set methods, if the state changed. * em-format.c (emf_format_clone): free inline table keys & setup string hash table. * em-format-quote.c (emfq_format_attachment): * em-format-html-display.c (efhd_format_attachment): * em-format-html.c (efh_format_attachment): is_inline api changes. * em-format-html-display.c (efhd_attachment_show): set_inline api changes. * em-format.c (em_format_is_inline): make this use the partid rather than the part address as a key, which may change. (emf_init): make the inline talbe a string hashtable. (emf_finalise): free inline keys. (emf_clone_inlines): copy the key string. svn path=/trunk/; revision=26614
* ** See #54030.Not Zed2004-06-231-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-23 Not Zed <NotZed@Ximian.com> ** See #54030. * e-searching-tokenizer.c (e_searching_tokenizer_match_count): only return a count if we're using the primary search string. * em-format-html-display.c (efhd_search_response): set the primary search string to NULL instead of resetting it. (efhd_update_search): dont noop if we have a null search text, just set an empty search. * e-searching-tokenizer.c (e_searching_tokenizer_reset): remove this, revert jeff's fixes for 54030. this is incomplete and so doesn't work either (search text stays remembered and secondary search text lost too). ** See #60523. * em-folder-view.c (emfv_finalise): unhook the folder changed before destroying the async thing, and move it all to destroy event anyway. (emfv_destroy): as above. svn path=/trunk/; revision=26472
* use mail dialogs.glade.Not Zed2004-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> * em-vfolder-rule.c (get_widget): use mail dialogs.glade. * mail-dialogs.glade: move the vfolder-source window here from mail-config.glade. * Makefile.am (glade_DATA): fix the glade list. * mail-license.glade, subscribe-dialog.glade, mail-security.glade, * mail-search.glade: Merged into mail-dialogs.glade. Should be easier to manage. * message-tag-followup.c (construct): use mail dialogs glade file. * mail-account-gui.c (display_license): use mail dialogs glade file. * em-subscribe-editor.c (em_subscribe_editor_new): use new glade file. * em-format-html-display.c (em_format_html_display_search): use merged glade file. (efhd_xpkcs7mime_validity_clicked): same. * mail-dialogs.glade: merge various glade files into here. svn path=/trunk/; revision=26409
* make this match the efhd stuff.Not Zed2004-05-191-4/+6
| | | | | | | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_secure): make this match the efhd stuff. * em-format-html-display.c: removed stock_signature-nokey since it doesn't exist in gnome-icon-theme. (efhd_xpkcs7mime_button): if there is no signing, but encryption, use its icon. if there's no encryption too, use a broken icon (?). svn path=/trunk/; revision=25973
* Same. Also changed the "Valid signature, cannot verify sender" string toJeffrey Stedfast2004-05-151-4/+8
| | | | | | | | | | | | | | 2004-05-14 Jeffrey Stedfast <fejj@novell.com> * em-format-html.c (efh_format_secure): Same. Also changed the "Valid signature, cannot verify sender" string to "Valid signature but cannot verify sender" as I think it reads nicer. * em-format-html-display.c (efhd_format_secure): Since signature status is a tri-state, use 3 different colours too (yellow for valid sig but unknown sender). svn path=/trunk/; revision=25906
* re-enabled the reply to selection stuff. I worked out how to make it work;Not Zed2004-05-131-10/+9
| | | | | | | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_message_reply): re-enabled the reply to selection stuff. I worked out how to make it work; I think. * em-format-html-display.c (efhd_html_button_press_event): if we aren't on a clickable object, do a null popup event instead. * em-folder-view.c (emfv_format_popup_event): do the full popup if we aren't on anything (not on a uri or part). See #8414. svn path=/trunk/; revision=25894
* Same.Jeffrey Stedfast2004-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Same. * message-list.c (message_list_init_images): Same. * mail-send-recv.c (build_dialog): Same. * mail-mt.c (do_op_status): Same. * mail-config-druid.c (evolution_mail_config_wizard_new): Same. * em-popup.c (em_popup_create_menu): Same. * em-format-html-display.c (efhd_format_prefix): Same. * em-format-html.c (efh_format_secure): Same as below. * em-folder-tree.c (render_pixbuf): Don't use absolute icon sizes, use the e-icon-factory enums. svn path=/trunk/; revision=25527
* Removed variables that got re-added with the icon-theme patch somehow.Jeffrey Stedfast2004-04-201-1/+1
| | | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * em-composer-prefs.h: Removed variables that got re-added with the icon-theme patch somehow. * em-account-prefs.c: Don't bother keeping global references to the enable_pixbuf anymore, since it's unnecessary. svn path=/trunk/; revision=25523
* mail-component.cMichael Terry2004-04-191-28/+29
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Mail.server.in.in: * em-account-prefs.[ch]: * em-composer-prefs.[ch]: * em-folder-browser.c: * em-folder-tree.c: * em-folder-view.c: * em-format-html-display.c: * em-format-html.[ch]: * em-popup.c: * mail-component.c * mail-config-druid.c: * mail-config.glade: * mail-mt.c: * mail-send-recv.c: * message-list.c: * message-tag-followup.c: * message-tags.glade: Update the mailer to use icon themes through the EIconFactory object in e-util svn path=/trunk/; revision=25517
* remove debug comment.Not Zed2004-04-141-3/+3
| | | | | | | | | | | | | | | | | | 2004-04-14 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): remove debug comment. ** See #56641. * em-format-html-display.c (efhd_format_secure): fix a small memleak. (efhd_bonobo_unknown, efhd_format_attachment): close the <object> tag properly, and <br> it as well to make sure its separated. * em-sync-stream.c: add some runtime and compile time stream logging stuff. svn path=/trunk/; revision=25457
* if we have no sign status, use signed-nokey, rather than no icon.Not Zed2004-04-051-3/+25
| | | | | | | | | | | | | | | | | | 2004-04-05 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_button): if we have no sign status, use signed-nokey, rather than no icon. (efhd_xpkcs7mime_viewcert_clicked): show the certificate viewer since certificate_viewer_show doesn't show it. (efhd_xpkcs7mime_viewcert_foad): foad foad foad. The api changed and we need to foad it ourselves. ** See bug #52822. * em-format-html-display.c (efhd_xpkcs7mime_add_cert_table): if we can't find the cert, then desensitise the cert button. svn path=/trunk/; revision=25313
* Cleaned up header inclusions and added plenty of forward declarations.Not Zed2004-03-311-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * *.[ch]: Cleaned up header inclusions and added plenty of forward declarations. Sped up complete re-compilation by upto 20%. ** See bug #55950. * em-utils.c (em_utils_in_addressbook): utility for checking if an email address is in the addressbook. I can't tell if it works 'cause it crashes eds. * em-format-html.c (emfh_gethttp): handle addressbook checking. 2004-03-30 Not Zed <NotZed@Ximian.com> * mail-config.h: clean up the headers and use some forward decl's instead. * em-format-html.c (em_format_html_set_load_http): change state to an int 'style' instead. * em-folder-view.c (emfv_setting_notify): set the format load http option to the config value directly. ** See bug #56147. * message-list.c (clear_info): set the node data to NULL when we unref its data. (ml_get_save_id): use a different test for the root node, and return NULL if we don't have any data on the node (because we're cleaing it). ** See bug #54962. * em-folder-tree.c (emft_popup_new_folder_response): put back the old hack to open the vfolder editor if you try to create a folder under vfolders. ** See bug #55940. * mail-autofilter.c (mail_filter_rename_uri): map the uri to an email uri before passing to filter code. (mail_filter_delete_uri): same here. svn path=/trunk/; revision=25261
* use EM_FORMAT_HTML_VPADRadek Doulik2004-03-231-2/+2
| | | | | | | | | | | | | | | 2004-03-23 Radek Doulik <rodo@ximian.com> * em-format-html-display.c (efhd_format_attachment): use EM_FORMAT_HTML_VPAD * em-format-html.h (EM_FORMAT_HTML_VPAD): added new define for vertical padding * em-format-html.c (efh_format_message): change padding table so that it works OK with fixed gtkhtml svn path=/trunk/; revision=25156
* dont add the show/hide menu items if we can't ever show it inline.Not Zed2004-03-231-6/+12
| | | | | | | | | | | 2004-03-23 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_popup): dont add the show/hide menu items if we can't ever show it inline. (efhd_attachment_button): disable the ">" button if we can't view the content inline. See #52086. svn path=/trunk/; revision=25155
* Removed an unused variable left over from an old attempted fix.Jeffrey Stedfast2004-03-111-1/+0
| | | | | | | | | | | | | 2004-03-10 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): Removed an unused variable left over from an old attempted fix. * em-folder-selector.c (emfs_response): Select the same folder in the create-folder dialog as is selected in the parent selector dialog. Fixes the rest of bug #53862. svn path=/trunk/; revision=25014
* Don't set our parent window as the efhd, ehfd isn't even a widget.Jeffrey Stedfast2004-03-061-1/+1
| | | | | | | | | | | | | | | | | 2004-03-05 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (em_format_html_display_search): Don't set our parent window as the efhd, ehfd isn't even a widget. Fixes bug #54030 * em-format-html-display.c (efhd_search_response): Reset the searching tokeniser on Cancel. * e-searching-tokenizer.c (e_searching_tokenizer_reset): New function to reset a search tokeniser. svn path=/trunk/; revision=24977
* Create the arrows in these widgets as GTK_SHADOW_NONE, since the defaultRodney Dawes2004-02-271-1/+1
| | | | | | | | | | | | 2004-02-26 Rodney Dawes <dobey@ximian.com> * em-format-html-display.c (efhd_attachment_button): Create the arrows in these widgets as GTK_SHADOW_NONE, since the default arrow type in GTK+ 2.x is flat triangle arrows, and shadow types are generally ignored for arrows anyway, and so we don't look ugly with themes that handle shadow types on arrows correctly svn path=/trunk/; revision=24901
* Fix for bug #54352Jeffrey Stedfast2004-02-271-1/+1
| | | | | | | | | | | | | | | | | 2004-02-26 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #54352 * em-message-browser.c (emmb_class_init): Set update_message_style to FALSE. * em-folder-view.c (emfv_setting_notify): Only update message display style if our subclass wants us to. (emfv_class_init): Set update_message_style to TRUE. (emfv_view_mode): Don't save the gconf key unless our class allows us to. svn path=/trunk/; revision=24894
* get rid of a duplicate #includeJeffrey Stedfast2004-02-261-1/+0
| | | | svn path=/trunk/; revision=24875
* Protect against using NULL pixbufs. Gets rid of a lot of console warningJeffrey Stedfast2004-02-261-6/+9
| | | | | | | | | | 2004-02-25 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_attachment_button): Protect against using NULL pixbufs. Gets rid of a lot of console warning spewage on my system. svn path=/trunk/; revision=24873
* Revert change from yesterday. (efhd_xpkcs7mime_button): Use the icon fromJeffrey Stedfast2004-02-191-23/+3
| | | | | | | | | | 2004-02-18 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): Revert change from yesterday. (efhd_xpkcs7mime_button): Use the icon from the table. svn path=/trunk/; revision=24778
* Display an alternate description based on the trust value if we have aJeffrey Stedfast2004-02-181-3/+21
| | | | | | | | | | 2004-02-17 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): Display an alternate description based on the trust value if we have a trust to work with. svn path=/trunk/; revision=24764
* ** See bug #53258.Not Zed2004-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-06 Not Zed <NotZed@Ximian.com> ** See bug #53258. * em-format-html-display.c (efhd_find_handler): force any bonobo handler types to always be inline, even attachments. * em-format.c (em_format_is_inline): use handler flags for special cases, removing all hard-coded types. * em-format.h (EMFormatHandler): add a flags field, so far a flag to set default inline viewing of the content. 2004-02-06 Not Zed <NotZed@Ximian.com> * em-folder-properties.c: include string.h to kill warning. ** See bug #53627. * em-folder-view.c (emfv_popup_mark_junk): changed to work like delete does, jumping to the next message if required, and marking things immediately, then queuing up the junk marking job if required. * mail-ops.c (mail_mark_junk): ugh, this stuff totally can't go accessing messagelist from another thread!!!! Changed so this code only does the junk reporting, not setting flags. UGH! It should be doing this implictly on the folder when you set the flags, or at least when you sync the folder!!! Changed ot use the queued thread. * message-list.c (find_next_undeleted): changed to find next-unhidden, i.e. junk as well as deleted, if we're in hide-deleted mode. (build_tree): always call find_next_undeleted if we have a cursor. (build_flat): same. svn path=/trunk/; revision=24644
* ** See bug #53558 (plus other fixes/cleanups)Not Zed2004-01-301-101/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53558 (plus other fixes/cleanups) * em-format.c (emf_format_secure): default implementation, handle output of inner part, but dont output any sign/encrypt info. (emf_multipart_signed, emf_multipart_encrypted): replaced with implementations from em-format-html.c, which now call em_format_format_secure to output guts. (emf_class_init): hook-up virtual method format_secure. * em-format.[ch]: add a virtual method for outputing secured parts. Moved all validity stuff from em-format-html.[ch] to here. * mail-component.c (impl_createControls): set the session interactive too. * em-format-html-display.c: make smime stuff dependent on HAVE_NSS. (efhd_multipart_signed, efhd_application_xpkcs7mime): removed, now handled by root class. (efhd_output_secure): renamed to efhd_format_secure, and use EMFormat::format_secure to kick off. (efhd_class_init): setup format_secure virtual method. * em-format-html.c (efh_multipart_encrypted): We need to handle this here so we can properly keep track of the ciphervalidity stuff. Also do it directly using the context, not multipartencrypted part. (efh_multipart_signed): with unsupported signature format, format as multipart/mixed, not as an attachment. (efh_multipart_signed): make the smime stuff optional. (efh_multipart_signed, efh_multipart_encrypted): Moved to em-format.c. (efh_application_xpkcs7mime): moved to em-format.c (efh_output_secure): renamed to efh_format_secure, linked into virtual method. call parent class to do the validation foo then output the info if needed. (efh_format_message): fixed access to validity stuff to parent object. (efh_class_init): hook up format_secure virtual method. (*): removed some now-unused headers. svn path=/trunk/; revision=24531
* Fixes a bug i can't find right nowNot Zed2004-01-291-2/+8
| | | | | | | | | | | | | | | | | | 2004-01-29 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_button): check the snooped type for the icon/etc. (efhd_format_attachment): save the snooped type in the attach_puri. * em-format-html.c (efh_text_plain): If we had a snooped type, use that as the base type, rather than octet-stream, which will cause an attachment in attachment loop. * em-format.c (em_format_part_as): save the current snooped mime type in a stack if we had any. svn path=/trunk/; revision=24515
* ** See bug #53159.Not Zed2004-01-211-9/+10
| | | | | | | | | | | | | | | | | | | | | | 2004-01-21 Not Zed <NotZed@Ximian.com> ** See bug #53159. * em-format.c (emf_message_rfc822): removed incorrect comment, this is not a fallback. * em-format-html.c (efh_text_plain): check the content-type of the containee object, not the holder. ** See bug #52979. * em-format-html.c: take out text/x-patch and put in text/* for a text/plain fallback handler instead. * em-format-html-display.c (efhd_find_handler): allow the bonobo handlers to override the builtin ones. svn path=/trunk/; revision=24341
* pass in an exception to useJP Rosevear2004-01-171-1/+1
| | | | | | | | | 2004-01-16 JP Rosevear <jpr@ximian.com> * em-format-html-display.c (efhd_bonobo_object): pass in an exception to use svn path=/trunk/; revision=24286
* Startup files/folders.Not Zed2004-01-161-8/+7
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-16 Not Zed <NotZed@Ximian.com> * default/C/Inbox: * default/C/Makefile.am: * default/Makefile.am: Startup files/folders. * em-migrate.c (emm_setup_initial): initial implementation of startup setup. (cp): Fix the test, we want exists AND size>0, not exists OR size>0. (cp): Fix the open, we can't use O_EXCL with empty, but present files. Another hack fix for #52880. ** See bug #52896. * em-format-html-display.c (efhd_html_button_press_event): do this based on get_object_at rather than get_point_at, so we get the offset properly. svn path=/trunk/; revision=24261
* ** See bugs #51609 and #43515.Not Zed2004-01-151-0/+70
| | | | | | | | | | | | | | | | | | 2004-01-15 Not Zed <NotZed@Ximian.com> ** See bugs #51609 and #43515. * em-format-html-display.c (efhd_format_prefix): output flag for followup details above the message. (efhd_write_image): added to output icon data. * em-format-html.c (efh_format_do): call format_prefix before outputting the message in normal display mode. * em-format.c (emf_format_prefix): method called to format data before the first message output. Default impl == noop. svn path=/trunk/; revision=24230
* ** See bug 51660.Not Zed2004-01-141-18/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-14 Not Zed <NotZed@Ximian.com> ** See bug 51660. * em-format-html-quote.c (efhq_multipart_related): setup part_id appropriately. * em-format-html-display.c (efhd_output_secure): use part_id in classid, and add .signed to part_id for subpart. (efhd_bonobo_unknown): use part_id in classid. (efhd_format_attachment): use part_id in classid's. * em-format-html.c (efh_multipart_related) (emfh_multipart_related_check): setup part_id for each subpart. (efh_output_secure): as above, and use the part_id for the classid. (em_format_html_add_pobject): use part_id for a generated classid. (efh_text_plain): setup pseudo-parts into part_id. * em-format.c (emf_format_clone): setup the part_id base, folder + uid. (emf_finalise): free the part_id gstring. (emf_init): allocate the part_id gstring. (em_format_add_puri): build the cid from the part_id rather than an arbitrary number, so it is more persistent. Also save the part_id in the puri for multipart/related use. (emf_multipart_mixed, emf_multipart_alternative) (emf_multipart_appledouble, emf_multipart_encrypted) (emf_multipart_related, emf_multipart_signed): Set the part_id for each subpart. (emf_clear_puri_node): free part_id. 2004-01-13 Not Zed <NotZed@Ximian.com> ** See bug 51660. * em-format-html-print.c (em_format_html_print_print): dont take message, get the message from the source formatter. * em-format.c (emf_format_clone): Added folder and uid parameters, changed camelmedium to a mimemessage. * em-format-html-display.c (efhd_attachment_button): check the icon image cache and if the image is there use it. * em-icon-stream.c (em_icon_stream_get_image): api to lookup finished images in cache. (em_icon_stream_new): add a cache key arg. (emis_sync_close): store the image in the cache once its completed. svn path=/trunk/; revision=24210
* Emit a hover-url signal when the user mouses over a URL, ...ERDI Gergo2004-01-071-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 ERDI Gergo <cactus@cactus.rulez.org> * em-folder-view.c (emfv_on_url_cb): Emit a hover-url signal when the user mouses over a URL, ... (emfv_hover_url_impl): ... and use BonoboUI to change the status bar message... (em_folder_view_set_statusbar): ... unless we are asked not to, ... * mail-component.c (impl_createControls): ... like in the case of the mail component, ... (view_hover_url_cb): ... that uses the ActivityHandler to do the same Add these together, and #127536 is neatly solved. 2004-01-05 ERDI Gergo <cactus@cactus.rulez.org> * e-task-bar.c (init): Create a separate label to the left of the progress messages... (e_task_bar_message): ...and allow components to set it... * e-activity-handler.c (e_activity_handler_message): ...through this new ActivityHandler method svn path=/trunk/; revision=24086
* ** See bug #50996.Not Zed2004-01-051-1/+44
| | | | | | | | | | | | | | | 2004-01-05 Not Zed <NotZed@Ximian.com> ** See bug #50996. * em-format-html-display.c (efhd_find_handler): implement override for unknown types, try bonobo handlers. (efhd_bonobo_unknown): formathandler for bonobo objects. * em-format.c (em_format_find_handler): make virtual, rename to emf_find_handler. svn path=/trunk/; revision=24043
* s/it's/its/ in mail warning.David Woodhouse2004-01-051-1/+1
| | | | svn path=/trunk/; revision=24036
* #ifdef out certain code pieces if s/mime isn't supportedJP Rosevear2003-12-171-0/+9
| | | | | | | | | 2003-12-16 JP Rosevear <jpr@ximian.com> * em-format-html-display.c: #ifdef out certain code pieces if s/mime isn't supported svn path=/trunk/; revision=23950
* ** See bug #52108.Not Zed2003-12-121-0/+2
| | | | | | | | | | | | | | | | 2003-12-12 Not Zed <NotZed@Ximian.com> ** See bug #52108. * em-format.c (em_format_is_attachment): also recognise application/pkcs7-mime for mailers who like to make up their own standards. * em-format-html.c (type_builtin_table[]): * em-format-html-display.c (type_builtin_table[]): make recognise application/pkcs7-mime too. svn path=/trunk/; revision=23931
* treat application/pkcs7-signature as application/x-pkcs-signature. StupudNot Zed2003-12-101-1/+2
| | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_multipart_signed): * em-format-html.c (efh_multipart_signed): * em-format.c (emf_multipart_signed): treat application/pkcs7-signature as application/x-pkcs-signature. Stupud non-rfc-compliant mailers from apple. Bug #51750. svn path=/trunk/; revision=23907
* use a POSITIVE value for the response value, gtk uses -ative ones. BugNot Zed2003-12-101-0/+78
| | | | | | | | | | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-selector.h: use a POSITIVE value for the response value, gtk uses -ative ones. Bug #51752. * Makefile.am (INCLUDES): added smime/lib and smime/gui to includes. * em-folder-tree.c (emft_popup_rename_folder): removed unused 'why', why not? * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): setup a table of buttons to view any certs we have. * em-folder-browser.c (emfb_activate): separeate view_menu unreffing from view_instance. fixes a runtime warning. svn path=/trunk/; revision=23905
* Added empty_trash prompt key.Not Zed2003-12-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * evolution-mail.schemas: Added empty_trash prompt key. * em-utils.c (em_utils_prompt_user): changed to take the gconf 'prompt again' key directly. Fixed callers. (em_utils_expunge_folder): prompt the user with an expunge specific message. (em_utils_empty_trash): have an empty-trash specific message for prompting confirm. (emu_confirm_expunge): removed, no longer needed. Bug #38613. (em_utils_expunge_folder): remove most line feeds, let the label wrap them. (em_utils_empty_trash): ditto. * em-subscribe-editor.c (sub_folder_subscribed): update the ui selection state after we're done. maybe we should listen on the model but this is easier. Bug #50861. * em-message-browser.c (emmb_activate): hook up our own verb list. (emmb_message_verbs[], emmb_close): implement the close verb. Bug #51558. * em-format-html-display.c (efhd_attachment_popup): duh, actually add the menu list we create. Bug #49902. * em-format.c (d): turn off debug, committed by accident. svn path=/trunk/; revision=23562
* added some padding to the security details frames.Not Zed2003-12-011-2/+6
| | | | | | | | | | | | 2003-12-01 Not Zed <NotZed@Ximian.com> * mail-security.glade: added some padding to the security details frames. * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): some cosmetic layout changes. svn path=/trunk/; revision=23513
* set session on print formatter for signatures to work.Not Zed2003-11-251-113/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-25 Not Zed <NotZed@Ximian.com> * em-folder-view.c (em_folder_view_print): set session on print formatter for signatures to work. * em-message-browser.c (emmb_destroy): kill warning. * em-format-html.c (efh_output_secure): same as efhd_output_secure, output the security bar, but for printing/plain html. (efh_application_xpkcs7mime): use output_secure. (em_format_html_multipart_signed_sign): removed, output_secure does what this did. * em-format-html-display.c (smime_sign_table, smime_encrypt_table): Added a short description for the mail display. (efhd_xpkcs7mime_button): only good/bad signature at this point, if only encrypted, then display 'bad' icon. (efhd_output_secure): output the security bar/button and handle multi-level enveloping properly. (efhd_application_xpkcs7mime): just call output_secure to do the security bar. (efhd_multipart_signed): same. (efhd_signature_button): removed, no longer used. (efhd_signature_check): removed, no longer used. svn path=/trunk/; revision=23483
* use new colors (efh_text_html): dittoRadek Doulik2003-11-241-0/+25
| | | | | | | | | | | | | | | | 2003-11-24 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_text_plain): use new colors (efh_text_html): ditto * em-format-html-display.c (efhd_gtkhtml_realise): set new colors according to style * em-format-html.c (efh_init): init new colors * em-format-html.h: added frame and content colors svn path=/trunk/; revision=23477
* do not use horizonal rule, attachment content is now inside simple frameRadek Doulik2003-11-241-2/+5
| | | | | | | | | | | | | | | | | | | | 2003-11-24 Radek Doulik <rodo@ximian.com> * em-format.c (emf_multipart_mixed): do not use horizonal rule, attachment content is now inside simple frame * em-format-html.c (efh_text_plain): add 6 points around text plain content and frame it (efh_text_html): frame text/html (efh_format_do): fix body tag, set bgcolor (em_format_html_format_headers): do not put headers into own table, content body is framed now instead (efh_format_message): update for headers/body changes * em-format-html-display.c (efhd_format_attachment): put additional vertical space around attachment button svn path=/trunk/; revision=23474
* Same.Jeffrey Stedfast2003-11-201-3/+3
| | | | | | | | | | | | | 2003-11-19 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (em_utils_selection_set_urilist): Same. * em-format-html-display.c (efhd_drag_data_get): Same as below. * em-folder-tree.c (drag_text_uri_list): Terminate each url of a text/uri-list with a \r\n. svn path=/trunk/; revision=23451
* use malloc0 for the pobject memory.Not Zed2003-11-131-2/+0
| | | | | | | | | 2003-11-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_add_pobject): use malloc0 for the pobject memory. svn path=/trunk/; revision=23313
* implement the key selector popup using e-cert-selector.Not Zed2003-11-131-3/+194
| | | | | | | | | | | | | | | | | | | | | | 2003-11-12 Not Zed <NotZed@Ximian.com> * mail-account-gui.c (smime_sign_key_select) (smime_encrypt_key_select, smime_encrypt_key_selected) (smime_sign_key_selected): implement the key selector popup using e-cert-selector. 2003-11-11 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_application_xpkcs7mime): output icons of the status. (em_format_html_add_pobject): Changed to take a size specificier, return the pobject, and re-ordered args to be more consistent with puri stuff. (em_format_html_remove_pobject): handle the free callback if set. * em-format.c (emf_application_xpkcs7mime): moved this to em-format-html since it needs to do icon stuff. svn path=/trunk/; revision=23312
* updated for camel namespace changesJeffrey Stedfast2003-09-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: updated for camel namespace changes * em-folder-view.c: updated for camel namespace changes * em-format-html-display.c: updated for camel namespace changes * em-format-html-quote.c: updated for camel namespace changes * em-format.c: updated for camel namespace changes * em-popup.c: updated for camel namespace changes * em-utils.c: updated for camel namespace changes * mail-autofilter.c: updated for camel namespace changes * mail-ops.c: updated for camel namespace changes * mail-session.c: updated for camel namespace changes * message-list.c: updated for camel namespace changes * message-tag-followup.c: updated for camel namespace changes * importers/evolution-mbox-importer.c: updated for camel namespace changes 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c (emp_standard_menu_factory): Don't forget to initialise/increment 'i' when using it as an object id in the for-loop. * em-format.c (em_format_format_text): Initialise charset to NULL or it may be used uninitialised. Also include gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description(). svn path=/trunk/; revision=22610
* cvs removed.Not Zed2003-09-181-0/+1159
2003-09-17 Not Zed <NotZed@Ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h mail-display.c, mail-display.h, mail-display-stream.c mail-display-stream.h, mail-format.c, mail-format.h mail-identify.c, mail-search.c, mail-search.h message-browser.c, message-browser.h, subscribe-dialog.c subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs removed. * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for ages. * em-*.c: killed a bunch of printfs. * em-format-html-display.c (efhd_html_button_press_event): update for html object api chagnes. ** Merge in mail-refactor-2 branch. svn path=/trunk/; revision=22602