aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-7/+1
|
* Replace alloca() with g_alloca().Matthew Barnes2009-12-281-1/+1
|
* Bug #553057 - Show signer's information in a message window/previewMatthew W. S. Bell2009-12-171-2/+59
|
* BUG 600217:Crashes in emfh_multipart_related_checkBharath Acharya2009-11-131-0/+6
| | | | Check for the link
* Add zooming and drag-and-drop to the plugin.Matthew Barnes2009-11-101-4/+0
| | | | A bunch of crusty old code in em-format-html-display.c falls out.
* Prototype an inline image plugin.Matthew Barnes2009-11-101-0/+4
| | | | Uses GtkImageView to display the image.
* Bug #597582 - Original Date: header should be given precedenceDavid Woodhouse2009-11-051-15/+68
|
* Prefer GQueue (or GNode) over EDList.Matthew Barnes2009-10-271-67/+113
|
* Bug #468736 - Prevent recursion in em-formatMilan Crha2009-10-161-1/+7
|
* Bug 593614 - efh_format_secure() recurses foreverMatthew Barnes2009-09-011-1/+1
|
* Bug #205137 - Configurable date formats in componentsMilan Crha2009-08-121-19/+15
|
* More whitespace cleanup.Matthew Barnes2009-07-191-1/+1
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-1/+0
|
* Stop abusing forward declarations.Matthew Barnes2009-06-191-1/+1
|
* More code cleanup.Matthew Barnes2009-06-021-3/+3
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-78/+78
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-65/+63
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * Remove trailing whitespace, again.Matthew Barnes2009-05-271-35/+35
| |
| * Fix compiler warnings in mail.Matthew Barnes2009-05-261-28/+28
| |
| * Eliminate redundant E_ICON_SIZE_* enumeration.Matthew Barnes2009-05-241-1/+1
| |
| * ** Fix for bug #569700Milan Crha2009-02-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #569700 * em-format-html.c: (emfh_gethttp): Stop reading from a network when operation was canceled. svn path=/trunk/; revision=37246
| * ** Fix for bug #333716Milan Crha2009-02-111-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #333716 * em-format-html.c: (emfh_gethttp): Do not store incomplete or broken files in a cache. svn path=/trunk/; revision=37244
| * ** Part of fix for bug #555888Milan Crha2009-02-091-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-09 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #555888 * mail-config.glade: * em-network-prefs.h: (struct _EMNetworkPrefs): * em-network-prefs.c: (emnp_parse_ignore_hosts), (emnp_load_sys_settings), (notify_proxy_type_changed), (em_network_prefs_construct): Do not overwrite user settings with system proxy settings. Register signals at the end, when all widgets are read. Hide socks settings, it is not used at the moment. * em-utils.h: (em_utils_get_proxy_uri): * em-utils.c: (em_utils_get_proxy_uri), (emu_proxy_setup): * em-format-html.c: (emfh_gethttp): Use proxy configurable within Evolution. svn path=/trunk/; revision=37236
| * ** Fix for bug #569986Srinivasa Ragavan2009-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-03 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #569986 * mail/em-format-html-print.c: Handle printers while doing attachment bar rendering. * mail/em-format-html.c: * mail/em-format.c: * mail/em-format.h: svn path=/trunk/; revision=37218
| * Do not display the default headers when all the headers are disabled inBharath Acharya2008-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | 2008-11-13 Bharath Acharya <abharath@novell.com> * em-folder-view.c: (emfv_setting_notify): * em-format-html.c: (efh_format_headers): Do not display the default headers when all the headers are disabled in Mail preferences. svn path=/trunk/; revision=36780
| * ** Fix for BNC bug #437226 Proper message is missing in mail sent byBharath Acharya2008-11-071-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | 2008-11-07 Bharath Acharya <abharath@novell.com> ** Fix for BNC bug #437226 Proper message is missing in mail sent by delegatee * em-format-html.c (efh_format_headers): Regression caused by r35319. Check for the condition only after the while loop. svn path=/trunk/; revision=36750
| * ** Fixes bug #558726 (patch by Frederic van Starbmann)Matthew Barnes2008-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-31 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #558726 (patch by Frederic van Starbmann) * mail/em-format-html.c (emfh_multipart_related_check): * plugins/mail-to-task/mail-to-task.c (do_mail_to_task): * plugins/plugin-manager/plugin-manager.c (eppm_enable_toggled): Fix several potential format string crashes. svn path=/trunk/; revision=36709
| * Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-191-14/+14
| | | | | | | | svn path=/trunk/; revision=36381
| * ** Fix for bug #539536Sankarasivasubramanian Pasupathilingam2008-09-151-3/+5
| | | | | | | | | | | | | | | | | | * em-format.c: (struct default_headers): * em-format-html.c: (efh_format_headers): * em-format-html.c: (default_headers): Add "Face" header to default headers and allow it to be hidden. svn path=/trunk/; revision=36331
| * Patch from Moritz Mertinkat <moritz@mertinkat.net> (Added meaningful user ↵Suman Manjunath2008-08-131-0/+1
| | | | | | | | | | | | agent for HTTP requests used to load remote images). svn path=/trunk/; revision=35974
| * ** Fix for bug #546668Paul Bolle2008-08-071-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Patch from Paul Bolle <pebolle@tiscali.nl>: Fixes bug #537088 (Message ↵Suman Manjunath2008-08-041-2/+2
| | | | | | | | | | | | headers aren't displayed for some e-mails). svn path=/trunk/; revision=35896
| * Committing on behalf of Milan Crha <mcrha@redhat.com>Milan Crha2008-07-211-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #269152 * em-format-quote.c: (emfq_format_header): * em-format-html.c: (efh_format_headers): Use X-MimeOLE as Mailer header when there's nothing better available. svn path=/trunk/; revision=35781
* | Eliminate redundant E_ICON_SIZE_* enumeration.Matthew Barnes2009-05-251-1/+1
| |
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-241-4/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37470
* | Split the interactive parts of the message display out of EMFormatHTMLDisplayMatthew Barnes2009-03-011-361/+388
| | | | | | | | | | | | | | | | | | | | | | to a new GtkHTML subclass named EMailDisplay, and have EMFormatHTML create an instance of that. EMailDisplay will handle link clicking, mousing over URIs, popup menus, and interactive search. This makes EMFormatHTMLDisplay and EMailReader more lightweight. Clean up more of the EMFormat stack. svn path=/branches/kill-bonobo/; revision=37346
* | Clean up the EMFormat stack. Add some GObject properties to bind to.Matthew Barnes2009-02-191-145/+650
| | | | | | | | | | | | Add some handy color conversion functions to e-util. svn path=/branches/kill-bonobo/; revision=37290
* | Merge revisions 37200:3266 from trunk.Matthew Barnes2009-02-151-13/+18
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37270
* | Tweak the EShell API.Matthew Barnes2009-01-081-1/+0
| | | | | | | | | | | | | | Disable File -> Close Window when there's only one window. Replace EMMessageBrowser with EMailBrowser. svn path=/branches/kill-bonobo/; revision=37009
* | Merge revisions 36737:36810 from trunk.Matthew Barnes2008-11-241-13/+14
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36811
* | Merge revisions 36685:36729 from trunk.Matthew Barnes2008-11-081-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36763
* | Get the mail folder tree compiling, though I'm not yet sure why it's notMatthew Barnes2008-10-171-4/+0
| | | | | | | | | | | | showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-17/+19
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Merge revisions 35951:35992 from trunk.Matthew Barnes2008-08-151-0/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35994
* | Merge revisions 35747:35930 from trunk.Matthew Barnes2008-08-081-8/+22
|/ | | | svn path=/branches/kill-bonobo/; revision=35931
* Patch from Paul Bolle <pebolle@tiscali.nl>: Fix for bug #538741 (Strip ↵Suman Manjunath2008-06-221-1/+1
| | | | | | preceding tabs from Date headers too) svn path=/trunk/; revision=35671
* fixed copyright noticesJeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35663
* ** Fix for bug #423395Milan Crha2008-06-191-4/+7
| | | | | | | | | | | | | | | | 2008-06-18 Milan Crha <mcrha@redhat.com> ** Fix for bug #423395 * configure.in: Requires newer GtkHTML, 3.23.5. * mail/em-format-html.c: (efh_init), (efh_text_plain), (efh_text_enriched), (efh_text_html), (efh_message_deliverystatus): Put the anchor where the message body begins and let GtkHTML know the anchor name to place the cursor there in caret mode on the first focus. svn path=/trunk/; revision=35650
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-1/+2
| | | | | | | | | | 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
* ** Fix a bunch of compiler warnings.Matthew Barnes2008-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fix a bunch of compiler warnings. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_focus_out_event): Remove this function. Looks like it hasn't been used in years. * mail/em-format-html.c (efh_message_external): Fix a typo in checking for an empty 'mode' string. * mail/message-list.c (subtree_size): Remove this function. Looks like it hasn't been used in years. * plugins/email-custom-header/email-custom-header.c (action_email_custom_header_cb): Remove unused 'editor' variable. * plugins/save-calendar/csv-format.c (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c (do_save_calendar_rdf): Remove pointless address check of a local variable. svn path=/trunk/; revision=35527
* ** Fixes part of bug #424744Matthew Barnes2008-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2008-05-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #424744 * configure.in: Bump eds_minimum_version to 2.23.2 for camel-iconv.h. * composer/e-composer-private.c: * composer/e-composer-private.h: * composer/e-msg-composer.c: * mail/em-composer-prefs.c: * mail/em-format-html.c: * mail/em-format-quote.c: * mail/em-mailer-prefs.c: * widgets/misc/e-attachment-bar.c: * widgets/misc/e-unicode.c: Use camel-iconv.c instead of e-iconv.h (now deprecated). svn path=/trunk/; revision=35474
* ** Fixes bug #531426Matthew Barnes2008-05-061-1/+1
| | | | | | | | | | | | | 2008-05-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #531426 * mail/em-format-html.c (efh_format_headers): Display face header images at 48x48 instead of 64x64. Patch from Roland Clobus. svn path=/trunk/; revision=35469
* ** Fix for bug #511337Milan Crha2008-04-291-0/+4
| | | | | | | | | | | | | | | | | | | 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-10/+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
* Fix the Mailer header displaySrinivasa Ragavan2008-04-281-1/+1
| | | | | | | | 2008-04-28 Srinivasa Ragavan <sragavan@novell.com> * mail/em-format-html.c: Fix the Mailer header display svn path=/trunk/; revision=35423
* ** Fix for bug #529375Milan Crha2008-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-04-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #529375 * evolution-mail.schemas.in: * mail-config.glade: * em-utils.h: (em_utils_in_addressbook): * em-utils.c: (em_utils_in_addressbook): * em-format-html.c: (emfh_gethttp): * mail-session.c: (lookup_addressbook): * mail-config.h: (mail_config_get_lookup_book_local_only): * mail-config.c: (struct MailConfig), (mail_config_init), (mail_config_get_lookup_book_local_only): * em-mailer-prefs.h: (struct _EMMailerPrefs): * em-mailer-prefs.c: (junk_book_lookup_button_toggled), (em_mailer_prefs_construct): Add new option /apps/evolution/mail/junk/lookup_addressbook_local_only to determine whether check for address in a local address book only. svn path=/trunk/; revision=35410
* ** Fix for bug #334444Srinivasa Ragavan2008-04-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | 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 a corner case that I missed in my last commit.Matthew Barnes2008-04-061-1/+1
| | | | | | | | | | 2008-04-05 Matthew Barnes <mbarnes@redhat.com> * mail/em-composer-prefs.c: Fix a corner case that I missed in my last commit. svn path=/trunk/; revision=35324
* Same as below.Jeffrey Stedfast2008-04-051-1/+1
| | | | | | | | | 2008-04-04 Jeffrey Stedfast <fejj@novell.com> * em-format-quote.c (emfq_format_header): Same as below. svn path=/trunk/; revision=35320
* Need to unfold some headers. Also simplified figuring out the label.Jeffrey Stedfast2008-04-051-81/+105
| | | | | | | | | | | 2008-04-04 Jeffrey Stedfast <fejj@novell.com> * em-format-html.c (efh_format_header): Need to unfold some headers. Also simplified figuring out the label. (efh_format_headers): Cleaned up some code. svn path=/trunk/; revision=35319
* Fix an implicit function declaration.Milan Crha2008-03-131-0/+1
| | | | | | | | | | 2008-03-13 Milan Crha <mcrha@redhat.com> * em-folder-tree.c: * em-format-html.c: Fix an implicit function declaration. svn path=/trunk/; revision=35186
* ** Fixes breakage caused by bug #513951Matthew Barnes2008-03-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-12 Matthew Barnes <mbarnes@redhat.com> ** Fixes breakage caused by bug #513951 * mail-autofilter.c (filter_gui_add_from_message), (mail_filter_rename_uri), (mail_filter_delete_uri): * mail-tools.c (mail_tool_get_local_movemail_path): * mail-vfolder.c (mail_vfolder_delete_uri), (mail_vfolder_rename_uri), (store_folder_deleted), (store_folder_renamed), (vfolder_load_storage), (vfolder_revert), (em_vfolder_editor_response), (edit_rule_response), (new_rule_clicked): * em-folder-browser.c (emfb_search_search_activated): * em-folder-tree.c (em_folder_tree_new): * mail-ops.c (uid_cachename_hack), (empty_trash_exec): * em-folder-view.c (emfv_setup_view_instance): * em-utils.c (em_filter_editor_response), (em_utils_edit_filters): * importers/mail-importer.c (import_folders_rec): * mail-folder-cache.c (rename_folders): * em-format-html.c (em_format_html_get_type): * mail-session.c (main_get_filter_driver): * mail-config.c (gconf_mime_types_changed), (uri_to_evname), (mail_config_folder_to_cachename), (get_new_signature_filename): Adapt to new meaning of mail_component_peek_base_directory(). * mail-component.c (mail_component_init): Add back initialization of priv->base_directory. Accidentally removed it somehow in last commit. svn path=/trunk/; revision=35179
* ** Fix for bug #515659Paul Bolle2008-02-161-0/+6
| | | | | | | | | | | | | 2008-02-15 Paul Bolle <pebolle@tiscali.nl> ** Fix for bug #515659 * em-format-html.c: (em_format_html_set_mark_citations): Keep mark_citations and the CAMEL_MIME_FILTER_TOHTML_MARK_CITATION flag (part of text_html_flags) in sync. svn path=/trunk/; revision=35018
* Decode the right thingy. Fixes a regression in decoding of face headerSankar P2008-01-101-1/+1
| | | | | | | | | | | | | 2008-01-10 Sankar P <psankar@novell.com> * em-format-html.c: (efh_format_headers): Decode the right thingy. Fixes a regression in decoding of face header introduced while migration of camel_* functions to g_* functions. svn path=/trunk/; revision=34786
* Fix bug #309432 : RTL headersDjihed Afifi2008-01-091-10/+28
| | | | svn path=/trunk/; revision=34780
* ** Fixes bug #362638Matthew Barnes2007-12-211-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #362638 * calendar/gui/alarm-notify/alarm-notify.c: * calendar/gui/alarm-notify/alarm-notify.h: * calendar/gui/alarm-notify/alarm-queue.c: Rewrite message passing to use GThreadPool instead of EThread. * mail/mail-mt.h: Overhaul the message passing API: - Define a MailMsg type as the base message struct. - Define types for the various callback functions. - Add a priority value to each message (not yet used). - Add a reference count to each message. - Define a MailMsgInfo type for the virtual function table. - Record the size of message sub-types in MailMsgInfo. - New/changed functions: mail_msg_new() - Easier to use. mail_msg_ref() - Increase reference count. mail_msg_unref() - Decrease reference count. mail_msg_main_loop_push() } mail_msg_unordered_push() } Submit MailMsgs to various mail_msg_fast_ordered_push() } message-processing threads. mail_msg_slow_ordered_push() } * mail/mail-mt.c (mail_msg_new): Use GSlice for memory allocation. * mail/mail-mt.c (mail_msg_ref), (mail_msg_unref): New functions increment/decrement a MailMsg's reference count. * mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove): Convert the 'cancel_hook_list' from an EDList to a GHookList and modify the API accordingly. * mail/mail-mt.c: Use GThreadPools instead of EThreads. Use GAsyncQueues instead of EMsgPorts. * mail/em-composer-utils.c: * mail/em-folder-browser.c: * mail/em-folder-properties.c: * mail/em-folder-tree.c: * mail/em-folder-utils.c: * mail/em-folder-view.c: * mail/em-format-html-print.c: * mail/em-format-html.c: * mail/em-subscribe-editor.c: * mail/em-sync-stream.c: * mail/importers/elm-importer.c: * mail/importers/mail-importer.c: * mail/importers/pine-importer.c: * mail/mail-component.c: * mail/mail-folder-cache.c: * mail/mail-mt.c: * mail/mail-ops.c: * mail/mail-ops.h: * mail/mail-send-recv.c: * mail/mail-session.c: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/folder-unsubscribe/folder-unsubscribe.c: * plugins/groupwise-features/share-folder-common.c: * plugins/exchange-operations/exchange-folder.c: * plugins/mark-all-read/mark-all-read.c: * plugins/mailing-list-actions/mailing-list-actions.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-attachments/save-attachments.c: Use the new MailMsg API for messages. svn path=/trunk/; revision=34730
* ** Fix for bug #493783Milan Crha2007-11-201-4/+5
| | | | | | | | | | | | 2007-11-20 Milan Crha <mcrha@redhat.com> ** Fix for bug #493783 * em-format-html.c: (efh_format_timeout): Do not erase old content when re-formatting same mail, so keep scroll position. svn path=/trunk/; revision=34554
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-89/+89
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of functionKjartan Maraas2007-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fixes bug #437579Matthew Barnes2007-10-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* ** Fixes bug #469657Matthew Barnes2007-10-021-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #469657 * addressbook/importers/evolution-ldif-importer.c: * calendar/gui/comp-editor-factory.c: * composer/e-msg-composer.c: * e-util/e-config-listener.c: * mail/em-composer-prefs.c: * mail/em-folder-tree-model.c: * mail/em-format.c: * mail/em-format-html.c: * mail/em-migrate.c: * mail/em-subscribe-editor.c: * mail/mail-component.c: * mail/mail-send-recv.c: * mail/message-list.c: * mail/importers/elm-importer.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/mono/mono-plugin.c: * shell/e-shell-settings-dialog.c: * tools/killev.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-selection-model.c: Use destroy functions in GHashTables to simplify memory management. svn path=/trunk/; revision=34344
* Display Face header value if contacts doesn't have any image associatedSankar P2007-10-011-3/+5
| | | | | | | | | | | | | | 2007-10-01 Sankar P <psankar@novell.com> * em-format-html.c: (efh_format_headers): Display Face header value if contacts doesn't have any image associated with them. Fixes bug mentioned in #481235 and not the enhnacement request. svn path=/trunk/; revision=34333
* ** Fixes part of bug #474000Matthew Barnes2007-09-281-11/+9
| | | | | | | | | | | | | | | | | 2007-09-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #474000 * addressbook/importers/evolution-ldif-importer.c: Remove redundant Base64 codec implementation. Use GLib's. * mail/em-format-html.c (efh_format_headers): * mail/em-migrate.c (upgrade_passwords_1_2): * plugins/face/face.c: Use GLib's Base64 API instead of Camel's. svn path=/trunk/; revision=34325
* 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/+5
| | | | svn path=/trunk/; revision=34143
* Fix a typo build breakSrinivasa Ragavan2007-08-271-1/+1
| | | | svn path=/trunk/; revision=34115
* ** Fix for bug #256878 from Vincent UntzSrinivasa Ragavan2007-08-271-3/+4
| | | | svn path=/trunk/; revision=34110
* 2007-08-24 mcrha Fix for bug #385414 by makuchaku (Mayank)Milan Crha2007-08-241-1/+1
| | | | svn path=/trunk/; revision=34094
* 2007-08-16 mcrha Part of fix for bug #350539Milan Crha2007-08-161-0/+11
| | | | svn path=/trunk/; revision=34017
* Do not show "on-behalf-of" band for all messages, instead check forVeerapuram Varadhan2007-08-011-2/+5
| | | | | | | * Do not show "on-behalf-of" band for all messages, instead check for * X-Evolution-Mail-From-Delegate header. svn path=/trunk/; revision=33916
* Marked a string for translation.Chenthill Palanisamy2007-07-301-1/+1
| | | | | | | Marked a string for translation. svn path=/trunk/; revision=33905
* Display a information string if a from and sender are different.Chenthill Palanisamy2007-07-301-1/+58
| | | | svn path=/trunk/; revision=33903
* 2007-07-30 Part of fix for bug #360461 - Avoid markup in translatable messagesMilan Crha2007-07-301-2/+6
| | | | svn path=/trunk/; revision=33894
* ** Fix for bug #459030Srinivasa Ragavan2007-07-291-9/+9
| | | | svn path=/trunk/; revision=33881
* 2007-07-26 mcrha Fix for bug #273386Milan Crha2007-07-261-3/+8
| | | | svn path=/trunk/; revision=33846
* Decodes Face header and displays the image.Sankar P2007-07-171-2/+28
| | | | | | | | | 2007-07-17 Sankar P <psankar@novell.com> * em-format-html.c: (efh_format_headers): Decodes Face header and displays the image. svn path=/trunk/; revision=33814
* ** Fix for bug #312370 from B S SrinidhiSrinivasa Ragavan2007-07-071-3/+17
| | | | svn path=/trunk/; revision=33764
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-7/+7
| | | | svn path=/trunk/; revision=33628
* ** Adds support for Contact Image in the preview paneSrinivasa Ragavan2007-06-021-1/+30
| | | | svn path=/trunk/; revision=33613
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-2/+1
| | | | svn path=/trunk/; revision=33432
* Fix "incompatible pointer type" warnings (#360619).Matthew Barnes2007-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #350253Matthew Barnes2007-02-131-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-12 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #350253 * Add new evolution icons: art/16x16/evolution.png art/22x22/evolution.png art/24x24/evolution.png art/32x32/evolution.png art/scalable/evolution.svg * Remove obsolete icons: art/about-box.png art/bcg.png art/evolution.png art/monkey-16.png * art/Makefile.am: Ship our own named icons. * mail/em-format-html-print.h: Rename show_rupert field to show_icon. * mail/em-format-html-print.c (efh_format_headers): Lookup the evolution icon by name. svn path=/trunk/; revision=33211
* Fix for bug #337439 DoS attach with large emailsSrinivasa Ragavan2006-11-271-4/+4
| | | | | | | | 2006-11-26 Srinivasa Ragavan <sragavan@novell.com> * Fix for bug #337439 DoS attach with large emails svn path=/trunk/; revision=33024
* UUEncoded calendars will be displayed as calendars, not as plain text.Nick Sukharev2006-09-301-1/+1
| | | | | | | | | | 2006-09-29 Nick Sukharev <nick@galaktika.ru> * mail/em-format-html.c: UUEncoded calendars will be displayed as calendars, not as plain text. Fixes bug #352767. (committed by Andre Klapper) svn path=/trunk/; revision=32832
* ** Fix for bug #341932 Patch from Roozbeh PournaderSrinivasa Ragavan2006-09-291-1/+1
| | | | svn path=/trunk/; revision=32830
* Fix for a crash during displaying camel address group.Srinivasa Ragavan2006-08-281-1/+1
| | | | | | | | | 2006-08-28 Srinivasa Ragavan <sragavan@novell.com> * em-format-html.c: (efh_format_address): Fix for a crash during displaying camel address group. svn path=/trunk/; revision=32690
* Plug a leak.Kjartan Maraas2006-08-171-0/+1
| | | | | | | | 2006-08-17 Kjartan Maraas <kmaraas@gnome.org> * em-format-html.c: (efh_url_requested): Plug a leak. svn path=/trunk/; revision=32556
* Fix build on Win32, where EVOLUTION_ICONSDIR is a function call.Tor Lillqvist2006-06-131-6/+6
| | | | | | | | | 2006-06-13 Tor Lillqvist <tml@novell.com> * em-format-html.c (efh_format_address): Fix build on Win32, where EVOLUTION_ICONSDIR is a function call. svn path=/trunk/; revision=32124
* Fix for a plus/minor header.Srinivasa Ragavan2006-06-071-1/+1
| | | | svn path=/trunk/; revision=32085
* Added support for collapsible headers for To/Cc/BccSrinivasa Ragavan2006-05-251-9/+85
| | | | svn path=/trunk/; revision=32020
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use e_util_mkdir_hier() instead of e_mkdir_hier().Simon Zheng2006-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * em-composer-utils.c: * em-folder-tree-model.c: (em_folder_tree_model_save_state): * em-format-html.c: * em-migrate.c: (cp_r), (em_migrate_folder), (em_migrate_pop_uid_caches_1_4), (em_migrate_folder_expand_state_1_4), (em_migrate_folder_view_settings_1_4), (em_migrate_imap_cmeta_1_4), (em_migrate_1_4), (emm_setup_initial), (em_migrate): * em-popup.c: * em-utils.c: (em_utils_save_part_to_file): * mail-component.c: (mail_component_init): * mail-config.c: * mail-folder-cache.c: * mail-mt.c: * mail-ops.c: * mail-tools.c: (mail_tool_get_local_movemail_path): Use e_util_mkdir_hier() instead of e_mkdir_hier(). Use e_util_strstrcase() instead of e_strstrcasea(). use e_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_filename_make_safe() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_utf8_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31118
* em-folder-browser.c em-folder-view.c em-format-html.cTor Lillqvist2005-12-181-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** See bug #314440.Not Zed2005-08-261-1/+16
| | | | | | | | | | | | | | | | 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
* put the s/mime message back, awaiting string approval for a changeNot Zed2005-08-191-114/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added code to create a attachment bar.Srinivasa Ragavan2005-07-251-0/+6
| | | | | | | | | | | | | | | | | | | | | 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
* implement extraction of inline signed/encrypted pgp parts and package themMatt Brown2005-07-011-5/+120
| | | | | | | | | | | | 2005-06-24 Matt Brown <matt@mattb.net.nz> * em-inline-filter.c: implement extraction of inline signed/encrypted pgp parts and package them into x-inlinepgp-signed/x-inline-pgp-encrypted parts. * em-format-html.c: Formatters to verify/decrypt and then display the parts generated by the inline filter. svn path=/trunk/; revision=29603
* ** See bug #307398Not Zed2005-06-251-4/+19
| | | | | | | | | | | | | | | | | | | 2005-06-25 Not Zed <NotZed@Ximian.com> ** See bug #307398 * mail-session.c (alert_user): copy the prompt string, in 'no cancel' mode we run asynchronously. (free_user_message): & free it. 2005-06-24 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_url_requested): dont pass data gtkhtml definitely can't handle, to gtkhtml. This is no security patch, but stops gtkhtml wasting time tying to render malicious mails or other rubbish. svn path=/trunk/; revision=29582
* fix rodney's name choices. fix multiple-inclusion. fix forward references.Not Zed2005-05-191-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+0
| | | | | | | | | | | | | | | 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
* Don't show multiple "Mailer" headers even if multipleJeffrey Stedfast2005-03-181-1/+4
| | | | | | | | | | 2005-03-16 Jeffrey Stedfast <fejj@novell.com> * em-format-html.c (efh_format_headers): Don't show multiple "Mailer" headers even if multiple x-mailer/user-agent/whatever headers exist. Fixes bug #70394. svn path=/trunk/; revision=29052
* include atkutil.h (message_list_construct): cast warning.Not Zed2005-03-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Don't use the pre-UTF-8 converted subject header string from theJeffrey Stedfast2005-02-251-1/+1
| | | | | | | | | | | 2005-02-23 Jeffrey Stedfast <fejj@novell.com> * em-format-html.c (efh_format_header): Don't use the pre-UTF-8 converted subject header string from the CamelMimeMessage object, decode it ourselves using the the user's override charset. Fixes bug #62109. svn path=/trunk/; revision=28881
* ** See bug #67083Not Zed2005-01-311-2/+2
| | | | | | | | | | 2005-01-31 Not Zed <NotZed@Ximian.com> ** See bug #67083 * em-format-html.c (efh_format_text_header): no-wrap the header line. svn path=/trunk/; revision=28623
* kill old 'load http 0 now=0' debug.Not Zed2005-01-181-1/+0
| | | | | | | | | | | | | | 2005-01-18 Not Zed <NotZed@Ximian.com> * em-format-html.c (emfh_gethttp): kill old 'load http 0 now=0' debug. ** See bug #70563. * em-utils.c (emu_set_proxy, emu_proxy_setup) (em_utils_get_proxy_uri): make sure the init code is called from main thread (gconf usage), and add locking for data consistency. svn path=/trunk/; revision=28424
* Moved various things from e-util to libedataserver.Not Zed2004-12-031-4/+4
| | | | | | | | | | | | | | | | | | | | | 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
* ** See bug #69339.Not Zed2004-12-011-30/+42
| | | | | | | | | | | | | | | | | | | 2004-11-22 Not Zed <NotZed@Ximian.com> ** See bug #69339. * em-format-html.c (efh_format_do): after closing the base output stream, re-loop if more jobs were queued. 2004-11-19 Not Zed <NotZed@Ximian.com> ** See bug #69339. * em-format-html.c (efh_format_do): close the stream/html after we're finished, since the multipart/related stuff may write more content for orphaned attachments. svn path=/trunk/; revision=28024
* revert jeff's last change - we do actually want to know when we couldn'tNot Zed2004-11-031-38/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-03 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_list_done_message_selected): revert jeff's last change - we do actually want to know when we couldn't load a message. the crash he was fixing was fixed elsewhere. also fix the unref ordering stuff. * em-format-html.c (efh_format_timeout): removed the fixme i added. 2004-11-01 Not Zed <NotZed@Ximian.com> ** See bug #67496. * em-format-html.c (efh_text_html): use the base on the emformat to calculate our absolute iframe uri. (efh_multipart_related): same as emf_multipart_related. * em-format.c (emf_multipart_related): remove content-location handling, now done in format_part_as. (em_format_part_as): track content-base (& absolute content-location) of all parts here. svn path=/trunk/; revision=27807
* use shorthand border: propertyRadek Doulik2004-11-021-4/+4
| | | | svn path=/trunk/; revision=27796
* replace 3 nested html tables used to create this gray border around partsRadek Doulik2004-11-021-25/+8
| | | | | | | | | | 2004-11-02 Radek Doulik <rodo@ximian.com> * em-format-html.c: replace 3 nested html tables used to create this gray border around parts content with div block with border style svn path=/trunk/; revision=27792
* ** See bug #65058 (again again).Not Zed2004-09-241-5/+28
| | | | | | | | | | | | | | 2004-09-23 Not Zed <NotZed@Ximian.com> ** See bug #65058 (again again). * em-format-html.c (efh_text_html): calculate our location uri ourselves (content id). * em-format.c (em_format_add_puri): if we have no content-location key, don't fallback to any container's location. svn path=/trunk/; revision=27356
* ** See bug #65058.Not Zed2004-09-221-5/+3
| | | | | | | | | | | | 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-3/+1
| | | | svn path=/trunk/; revision=27300
* Partial fix for bug #62771Jeffrey Stedfast2004-08-131-1/+1
| | | | | | | | | | | | | 2004-08-10 Jeffrey Stedfast <fejj@novell.com> Partial fix for bug #62771 * em-format-quote.c (emfq_format_header): Same. * em-format-html.c (efh_format_header): Decode the X-Mailer/User-Agent headers. svn path=/trunk/; revision=26889
* only call expunge if the folder is set. (emfb_enable_map[]): only enableNot Zed2004-07-101-12/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for bug #61199.Jeffrey Stedfast2004-07-091-5/+8
| | | | | | | | | | | | | 2004-07-07 Jeffrey Stedfast <fejj@novell.com> Fix for bug #61199. * em-format-html.c (efh_format_address): Same. * em-format-quote.c (emfq_format_address): Make sure 'real' isn't NULL before using. svn path=/trunk/; revision=26606
* remove some debug.Not Zed2004-05-241-1/+3
| | | | | | | | | | | 2004-05-24 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_enable_menus): remove some debug. * em-format-html.c (efh_format_header): output commas between newsgroups, and also append_printf. svn path=/trunk/; revision=26060
* if we end up with an application/octet-stream part, pre-snoop it so we setNot Zed2004-05-191-27/+3
| | | | | | | | | | | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_add_part): if we end up with an application/octet-stream part, pre-snoop it so we set the right mime type to start with. Fixes #58554. * em-format.c (emf_snoop_part): removed, now in em-utils. * em-utils.c (em_utils_snoop_type): rah rah, snoop a mime part's type. * em-format-html.c (efh_text_plain): Revert jeff's fix for #56290. Ugh, we already have all the citation info in local data. Removed the need for gconf too. svn path=/trunk/; revision=25974
* make this match the efhd stuff.Not Zed2004-05-191-6/+11
| | | | | | | | | | | | | | | 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
* Added header "X-Newsreader" for handle Outlook Express as Mailer.Cantona Su2004-05-191-1/+2
| | | | | | | | | 2004-05-18 Cantona Su <paradisetux@hotmail.com> * em-format-html.c: Added header "X-Newsreader" for handle Outlook Express as Mailer. svn path=/trunk/; revision=25965
* ** Quick fix for #57434Not Zed2004-05-181-1/+2
| | | | | | | | | | | | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> ** Quick fix for #57434 * em-format.c (emf_format_clone): fix the FIXME about cloning headers shown. * em-format-html.c (efh_format_headers): only show rupert if we're showing rupert. * em-format-html-print.c (efhp_init): default show_rupert to off. * em-format-html.c (efh_init): default show_rupert to on. * em-format-html.h: added show_rupert bit. svn path=/trunk/; revision=25953
* Same. Also changed the "Valid signature, cannot verify sender" string toJeffrey Stedfast2004-05-151-5/+9
| | | | | | | | | | | | | | 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
* ** See bug #57720.Not Zed2004-05-051-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-05 Not Zed <NotZed@Ximian.com> ** See bug #57720. * em-folder-browser.c (emfb_create_view_menus): removed some stuff done in create_view_instance in the superclass. * em-folder-view.c (emfv_create_view_instance): moved here from em-folder-browser, setup the view instance for the folder. (emfv_set_folder): if the folder is set, create the view instance. * em-folder-browser.c: moved the galview instance and menu pointers to EMFolderView, since they're basically meta-data on the messagelist @ to fix issues. * em-folder-view.c (em_folder_view_open_selected): copy over the threaded list value when the message browser is brought up. ** some clean up * evolution-mail.schemas.in.in: removed xmailer_mask stuff. * em-migrate.c (mail_display_map[]): Removed xmailer_mask stuff. * em-folder-view.c (emfv_setting_notify): removed xmailer_mask stuff. * em-format-html.c (em_format_html_set_xmailer_mask): removed. This isn't used anymore. ** Fixes the double-draw on separate mail view. * message-list.c (on_cursor_activated_cmd): noop if the cursor and uid match for all cases (clearing uid). (on_selection_changed_cmd): noop if the cursor and new selection hasn't changed & fix a memleak. svn path=/trunk/; revision=25806
* set gtk_html_begin's flags to avoid scroll to top of the message andRadek Doulik2004-04-261-3/+3
| | | | | | | | | | | | | | | | 2004-04-26 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_format_timeout): set gtk_html_begin's flags to avoid scroll to top of the message and reloading+flickering of images * em-html-stream.c: added GtkHTMLBeginFlags flags field (em_html_stream_set_flags): new helper function to set new flags field (emhs_sync_write): use gtk_html_begin_full with new flags field (em_html_stream_new): zero flags field svn path=/trunk/; revision=25616
* fix the check to see if we've already loaded the images. #57450.Not Zed2004-04-231-1/+1
| | | | | | | | | 2004-04-23 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_load_http): fix the check to see if we've already loaded the images. #57450. svn path=/trunk/; revision=25594
* Same.Jeffrey Stedfast2004-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | 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-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* reset load_http_now once we've done, should fix #56338 finally.Not Zed2004-04-131-0/+1
| | | | | | | | | | 2004-04-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_done): reset load_http_now once we've done, should fix #56338 finally. svn path=/trunk/; revision=25430
* use %% for %%.Not Zed2004-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2004-04-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_headers): use %% for %%. * em-folder-view.c (emfv_init, emfv_finalise, emfv_activate): revert dans' creatable items handler patch, moved to mail-component instead (which deals with the actual menu's). * mail-component.c (impl_createControls): setup a user creatable items handler on the view widget. (view_control_activate_cb): activate the user creatable items handler on the view widget. * em-folder-view.c (emfv_init): add a comment about jeff's last fix. * em-utils.c (forward_non_attached): Set attachments from forwardee before we set the body, otherwise images wont resolve properly. Related to #56566. svn path=/trunk/; revision=25428
* add width=16 height=16 to rupert's image so that it doesn't flicker/moveRadek Doulik2004-04-101-1/+1
| | | | | | | | | 2004-04-09 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_format_headers): add width=16 height=16 to rupert's image so that it doesn't flicker/move svn path=/trunk/; revision=25385
* add the monkey button if we're from evolution. See #52977. (emfh_gethttp):Not Zed2004-04-081-7/+25
| | | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_headers): add the monkey button if we're from evolution. See #52977. (emfh_gethttp): cast away a warning. svn path=/trunk/; revision=25372
* ** See bug #56338.Not Zed2004-04-021-6/+6
| | | | | | | | | | | | | 2004-04-02 Not Zed <NotZed@Ximian.com> ** See bug #56338. * em-format-html.c (emfh_gethttp): fix the fugly "load http if" that doesn't work to be a fugly "load http if" that does work. (efh_format_timeout): dont set load_http_now here, its only an override now. svn path=/trunk/; revision=25296
* Only do citation colouring if the user has specified to do so and use theJeffrey Stedfast2004-04-011-3/+27
| | | | | | | | | | 2004-03-31 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_text_plain): Only do citation colouring if the user has specified to do so and use the user's specified colour when appropriate. Fixes bug #56290. svn path=/trunk/; revision=25269
* Cleaned up header inclusions and added plenty of forward declarations.Not Zed2004-03-311-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 sizeof() to decide how big buffer is so that in the future, if weJeffrey Stedfast2004-03-241-1/+1
| | | | | | | | | | 2004-03-23 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (emfh_gethttp): Use sizeof() to decide how big buffer is so that in the future, if we change the length of bufefr, things will Just Work (tm). svn path=/trunk/; revision=25166
* use EM_FORMAT_HTML_VPADRadek Doulik2004-03-231-1/+1
| | | | | | | | | | | | | | | 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
* Add Newsgroups to the default header list.Not Zed2004-03-221-23/+43
| | | | | | | | | | | | | 2004-03-22 Not Zed <NotZed@Ximian.com> * em-format.c: * em-mailer-prefs.c: Add Newsgroups to the default header list. * em-format-html.c (efh_format_header): handle the newsgroups header, output news: url's. For bug #??? i can't recall, i closed it already! svn path=/trunk/; revision=25141
* format as plain text too.Not Zed2004-03-171-0/+31
| | | | | | | | | | | | | | 2004-03-17 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_message_deliverystatus): format as plain text too. * em-format.c (emf_message_deliverystatus): format delivery status messages as plain text, rather than as messages. since they wont be CamelMimeMessages. Maybe they should be silently hidden. svn path=/trunk/; revision=25098
* Fixed a bug where txt wasn't being properly initialised in all cases forJeffrey Stedfast2004-03-121-8/+24
| | | | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_header): Fixed a bug where txt wasn't being properly initialised in all cases for Date headers. Also fixed the x-evolution-mailer code to simply use the ehader->value that was passed in. (efh_format_headers): Fixed to handle the special X-Evolution-Mailer header. svn path=/trunk/; revision=25028
* pass the raw header in instead of name and value. (efh_format_headers): ifNot Zed2004-03-111-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_header): pass the raw header in instead of name and value. (efh_format_headers): if we have specific headers to show, iterate over all headers and print out all matching ones, so duplicate headers are properly displayed. Related to #55298. * em-folder-selector.c (em_folder_selector_construct): dont set this to be modal. otherwise you can't click on error popups. duh. 2004-03-08 Not Zed <NotZed@Ximian.com> * em-folder-selection-button.c (em_folder_selection_button_clicked): don't let the user select virtual/vtrash folders or non-selectable folders. * mail-component.c (impl_createControls): disable selection of non-select rows. * em-folder-selector.c (em_folder_selector_create_new): exclude folders with noinferiors set. * em-folder-tree.c (folder_tree_new): add folder tree arg, hook onto the selection funciton for the tree selection. (emft_select_func): selection override function. allow certain things to be excluded. (em_folder_tree_set_excluded): api to set what is excluded from the selectability. (emft_tree_row_activated): call emft_select_func check to see if this row is excluded before emitting an activated signal. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): save folder info->flags in the tree store. * mail-folder-cache.c (create_folders): use tail recursion. (get_folders): tail recurse. * (*): Fixed for api changes in camel. svn path=/trunk/; revision=25020
* Fix for bug #55298.Jeffrey Stedfast2004-03-111-14/+9
| | | | | | | | | | | | | | | 2004-03-10 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55298. * em-format-html.c (efh_format_header): Now takes a default txt argument (header value). For address/date headers, if this isn't set, default back to the old behaviour of looking it up. (efh_format_headers): If we are iterating thru the camel raw headers, always pas the header value as the txt argument, otherwise always pass NULL. svn path=/trunk/; revision=25015
* 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
* Make private (only EMFormatHTMLQuote used it and that class is no longerJeffrey Stedfast2004-02-071-20/+18
| | | | | | | | | | | | | 2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_headers): Make private (only EMFormatHTMLQuote used it and that class is no longer in use). (efh_format_message): Updated for above change. * em-format-quote.c (emfq_format_message): Always write a \n after the credits line. svn path=/trunk/; revision=24661
* ** See bug #53258.Not Zed2004-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-109/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+11
| | | | | | | | | | | | | | | | | | 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-7/+8
| | | | | | | | | | | | | | | | | | | | | | 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
* properly decode the mailto url rather than treating it as a simple string.Not Zed2004-01-191-3/+12
| | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_on_url_cb): properly decode the mailto url rather than treating it as a simple string. * em-format-html.c (efh_format_address): if we have a name part, add it to the mailto part. As per rfc2368. So it isn't lost for clicking/etc. svn path=/trunk/; revision=24298
* Dump a struct _camel_header_address to an html string.Jeffrey Stedfast2004-01-171-4/+51
| | | | | | | | | | | | 2004-01-16 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_address): Dump a struct _camel_header_address to an html string. (efh_format_header): Use efh_format_address() and set the EM_FORMAT_HTML_HEADER_HTML bit on the flags so we don't re-convert our html string into html. svn path=/trunk/; revision=24280
* ** See bug #52891.Not Zed2004-01-151-2/+4
| | | | | | | | | | | 2004-01-15 Not Zed <NotZed@Ximian.com> ** See bug #52891. * em-format-html.c (em_format_html_get_type): protect against http cache not being able to be created. svn path=/trunk/; revision=24236
* ** See bugs #51609 and #43515.Not Zed2004-01-151-2/+4
| | | | | | | | | | | | | | | | | | 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-25/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** See bug 52737.Not Zed2004-01-121-1/+1
| | | | | | | | | | | 2004-01-12 Not Zed <NotZed@Ximian.com> ** See bug 52737. * em-format-html.c (efh_text_plain): treat text/* as inline content from the made-up multipart. svn path=/trunk/; revision=24159
* keep the windows charset filter around until we're done since if we set itNot Zed2004-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-09 Not Zed <NotZed@Ximian.com> * em-format.c (em_format_format_text): keep the windows charset filter around until we're done since if we set it up we reference its memory. Causes warnings and breaks message display. ** See bug #52637. * em-inline-filter.c (em_inline_filter_new): added a content-type paramter for the base content type. (em_inline_filter_finalize): free base content type. (emif_types[]): Added 'plain' parameter, indicates type needs plain parameters set on content type. (emif_add_part): inherit the full base type if it is set, for plain parts. * em-format-html.c (efh_text_plain): pass the part's content-type to the inline filter. svn path=/trunk/; revision=24121
* Removed. (efh_format_header): Handle address formatting a littleJeffrey Stedfast2004-01-081-90/+111
| | | | | | | | | | | 2004-01-07 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_address): Removed. (efh_format_header): Handle address formatting a little differently to address dwmw's complaints. Also now handles other headers such as Resent-* and Sender as well. svn path=/trunk/; revision=24090
* ** See bug #52108.Not Zed2003-12-121-0/+1
| | | | | | | | | | | | | | | | 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
* display x-evolution-mailer pseudo header irrespective of xmailer_mask.Grahame Bowland2003-12-111-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-11 Grahame Bowland <grahame@angrygoats.net> * em-format-html.c (efh_format_header): display x-evolution-mailer pseudo header irrespective of xmailer_mask. This is now handled by a header configuration dialog. * mail-config.glade: add tab to mail configuration dialog to allow custom headers to be specified for display. * em-mailer-prefs.h: modify struct _EMMailerPrefs to add widgets for custom header tab. Add defines for custom header flags. Add struct EMMailerCustomHeader to describe custom headers, and add function em_mailer_custom_headers_from_xml to allow XML from gconf key to be parsed into this structure. * em-folder-view.c (emfv_setting_notify): catch changes to custom header gconf key and update mail view to correspond * em-mailer-prefs.c (em_mailer_prefs_apply): save custom headers to gconf (header_list_enabled_toggled): toggle clicked toggle column (add_header): add header to custom header list if valid (remove_header): remove selected custom header (is_valid_header): return true if passed header is valid, otherwise false (entry_header_changed): call add_header_update_sensitivity (em_mailer_prefs_construct): initialise header selection tab. Load gconf data for header selection dialog. (em_mailer_custom_header_to_xml): load a header structure from XML document structure (em_mailer_custom_header_from_xml): load a header structure from a string containing valid XML. if any failure, the header.name is set to NULL. (header_list_row_selected): call remove_header_update_sensitivity (remove_header_update_sensitivity): set the sensitivity of the remove button to FALSE if the list is empty or nothing is selected. Otherwise, set it to TRUE. (add_header_update_sensitivity): set the sensitivity of the the add button to FALSE if the entry box is empty, contains a duplicate header, or contains an invalid header. Otherwise, set it to TRUE. * evolution-mail.schemas.in.in: add mail/display/headers svn path=/trunk/; revision=23924
* (efh_text_enriched): add table around the enriched part so itLarry Ewing2003-12-111-2/+10
| | | | | | matches html and text modes. svn path=/trunk/; revision=23922
* add text/x-patch as a plain type.Larry Ewing2003-12-111-0/+1
| | | | | | | | 2003-12-10 Larry Ewing <lewing@ximian.com> * em-format-html.c: add text/x-patch as a plain type. svn path=/trunk/; revision=23918
* 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
* set session on print formatter for signatures to work.Not Zed2003-11-251-141/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-7/+11
| | | | | | | | | | | | | | | | 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-21/+28
| | | | | | | | | | | | | | | | | | | | 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
* use malloc0 for the pobject memory.Not Zed2003-11-131-1/+1
| | | | | | | | | 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-7/+109
| | | | | | | | | | | | | | | | | | | | | | 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
* changed for cipher context api changes. ditto.Not Zed2003-11-101-6/+2
| | | | | | | | | | | | | | | | | | | | 2003-11-10 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_multipart_signed_sign): changed for cipher context api changes. * em-format.c (emf_multipart_signed): ditto. 2003-11-07 Not Zed <NotZed@Ximian.com> * mail-config.glade: added security_information_dialog (probably temporarily in this file). * em-format.c (em_format_is_attachment): also treat pkcs7-mime as non-attachment. (emf_application_xpkcs7mime): no longer need to worry about scanning the part. svn path=/trunk/; revision=23243
* show application/x-pkcs7-mime inline always by default.Not Zed2003-10-301-9/+23
| | | | | | | | | | | | | | | | | | | | | | 2003-10-30 Not Zed <NotZed@Ximian.com> * em-format.c (em_format_is_inline): show application/x-pkcs7-mime inline always by default. 2003-10-30 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_signed): handle application/x-pkcs7-signature. 2003-10-29 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_multipart_signed_sign): handle application/x-pkcs7-signature. * em-format.c (emf_application_xpkcs7mime): Handle application/x-pkcs7-mime. svn path=/trunk/; revision=23129
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-3/+5
| | | | svn path=/trunk/; revision=22964
* zero out last_part if we're clearing. Uh, this fixes, but shouldn't, partNot Zed2003-10-021-0/+1
| | | | | | | | | | | | | | | | | | 2003-10-02 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_timeout): zero out last_part if we're clearing. Uh, this fixes, but shouldn't, part of #49034. The problem is the 'last part' logic is based on the address, which can quite easily be repeated for different messages. * em-folder-view.c (emfv_list_message_selected): reverted jeff's patch for #48618, use a much simpler method. * em-message-browser.c (emmb_destroy): hook onto destroy handler, we need to destroy the messagelist ourselves, since we dont attach it to any parent window. svn path=/trunk/; revision=22785
* turn off blocking writes. (efh_format_timeout): don't do a htmlbegin onNot Zed2003-10-021-14/+10
| | | | | | | | | | | | | | | | | 2003-10-01 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_init): turn off blocking writes. (efh_format_timeout): don't do a htmlbegin on the page yet, it'll be handled by em-html-stream when it has data, to reduce flicker. (efh_format_do): close the main gtkhtml stream as soon as we're done writing the body. any sub-jobs should be using frames etc. (efh_text_plain): dont write a table around the text, try to reduce flickering. layout may be out now though. * em-html-stream.c (emhs_sync_write): if we have no html_stream yet, begin a new one. svn path=/trunk/; revision=22784
* remove gconf stuff. (em_format_html_set_xmailer_mask): new method to setNot Zed2003-09-301-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-30 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_init): remove gconf stuff. (em_format_html_set_xmailer_mask): new method to set the xmailer mask. * em-folder-view.c (emfv_display_keys[]): Added charset key to monitor/retrieve, and xmailer_mask. (emfv_setting_notify): Monitor charset setting, pass onto the formatter, as well as xmailer_mask. * mail-preferences.c (mail_preferences_construct): use the new charset key. (mail_preferences_apply): use the new charset key. * evolution-mail.schemas: Moved the mail/format/charset to mail/display/charset. 1. it makes more sense, and 2. it makes notification update easier in em-folder-view.c * em-format.c (emf_init): remove the gconf charset stuff, for bug #48791, and also actually fixes the fixme that jeff thought he fixed. (em_format_format_text): use default charset as fallback. (em_format_set_default_charset): New method to set the default charset. (gconf_charset_changed): removed. svn path=/trunk/; revision=22768
* use gtkhtml's blockingRadek Doulik2003-09-191-0/+1
| | | | | | | | 2003-09-18 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_init): use gtkhtml's blocking svn path=/trunk/; revision=22622
* updated for camel namespace changesJeffrey Stedfast2003-09-191-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+1542
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