Commit Graph

161 Commits

Author SHA1 Message Date
27cf0a5283 ** Fixes bug #360240
2007-03-16  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #360240

	* addressbook/gui/widgets/e-addressbook-view.c
	(e_contact_print_button):
	* addressbook/printing/e-contact-print.c (complete_sequence),
	(e_contact_build_style), (e_contact_print_response),
	(e_contact_print_contact_list_dialog_new):
	* shell/e-shell-importer.c (importer_file_page_new):
	* plugins/startup-wizard/startup-wizard.c
	(startup_wizard_timezone_page):
	* mail/em-vfolder-rule.c (select_source_with_changed), (get_widget):
	* mail/em-format-quote.c (emfq_format_source):
	* mail/mail-ops.c (save_messages_save):
	* mail/em-format.c (emf_init):
	* mail/em-format-html-display (em_format_html_get_search_dialog),
	(em_format_html_display_seearch_with), (ehhd_resize),
	(efhd_attachment_optional), (efhd_format_optional):
	* mail/em-folder-view.c (emfv_init):
	* mail/message-list.c (ml_tree_value_at):
	* composer/e-msg-composer-hdrs (header_new_recipient):
	* composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action):
	* widgets/table/e-cell-text.c (ect_free_color):
	* widgets/misc/e-calendar-item.c (e_calendar_item_unrealize):
	* widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget):
	Remove unused variables.


svn path=/trunk/; revision=33315
2007-03-16 21:13:06 +00:00
fcd71ac61c Fixes bug #353921
svn path=/trunk/; revision=33180
2007-02-07 18:15:06 +00:00
d81bdb9794 Disconnect handlers on image destroy. Fixes bug #340165.
2006-12-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* mail/em-format-html-display.c: (efhd_image_unallocate),
	(efhd_attachment_image):

	Disconnect handlers on image destroy. Fixes bug
	#340165.

	Fixes changelog issue and build issue

svn path=/trunk/; revision=33086
2006-12-21 09:14:52 +00:00
c004b304e9 Disconnect handlers on image destroy. Fixes bug #340165.
2006-12-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* mail/em-format-html-display.c: (efhd_image_unallocate),
	(efhd_attachment_image):

	Disconnect handlers on image destroy. Fixes bug
	#340165.

svn path=/trunk/; revision=33084
2006-12-21 00:53:20 +00:00
0a7017c1a6 Fix for bug #337439 DoS attach with large emails
2006-11-26  Srinivasa Ragavan  <sragavan@novell.com>

	* Fix for bug #337439 DoS attach with large emails

svn path=/trunk/; revision=33024
2006-11-26 18:30:29 +00:00
2ad76a0ed4 ** Fix for bug #333864 and bug #351374
** Fix for bug #333864 and bug #351374

svn path=/trunk/; revision=32884
2006-10-16 12:37:02 +00:00
ddb6f95098 Do not mark empty strings for translation. Fixes #357422.
2006-09-30  Harish Krishnaswamy  <kharish@novell.com>

	* em-format-html-display.c: (em_format_html_get_search_dialog):
	Do not mark empty strings for translation. Fixes #357422.

svn path=/trunk/; revision=32834
2006-09-30 06:33:42 +00:00
f69f47ed22 Fixes #351332
2006-09-18  Matthew Barnes  <mbarnes@redhat.com>

	Fixes #351332

	* em-folder-view.c:
	* em-format-html-display.c:
	Fix implicit function declarations.

svn path=/trunk/; revision=32791
2006-09-18 17:24:46 +00:00
c09e79bbf4 ** Fixes bug #347238
svn path=/trunk/; revision=32636
2006-08-23 07:59:00 +00:00
7814007d3b Fix for bug #348565
svn path=/trunk/; revision=32507
2006-08-09 09:03:30 +00:00
a00b972e5a Committed Johnny's string changes for search
svn path=/trunk/; revision=32474
2006-08-05 06:38:47 +00:00
90aeb22682 Add missing headers. Add function prototypes.Fixes #347689.
2006-07-22 Yuri Pankov <yuri.pankov@gmail.com>

	* em-format-html-display.c: Add missing headers.
	* mail-vfolder.h: Add function prototypes.Fixes #347689.

svn path=/trunk/; revision=32381
2006-07-22 10:45:53 +00:00
eac2a4b30a Modified the mnemonics for avoiding the conflict with search.
svn path=/trunk/; revision=32362
2006-07-20 13:35:44 +00:00
f9fe8b978a ** Patch by Not Zed <NotZed@Ximian.com> ** See bug #262003
2006-07-11  Johnny Jacob  <jjohnny@novell.com>

	** Patch by Not Zed  <NotZed@Ximian.com>
	** See bug #262003

	* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): put
	the potentially long descriptions into a textbuffer so it's
	scrollable.

svn path=/trunk/; revision=32287
2006-07-11 16:36:50 +00:00
379f1a49cd Changing one mnemonic to avoid a mnemonic conflict with an upcoming patch
2006-07-07  Andre Klapper  <a9016009@gmx.de>

	* em-format-html-display.c: Changing one mnemonic to avoid a
	mnemonic conflict with an upcoming patch by Jony.

svn path=/trunk/; revision=32254
2006-07-07 14:47:11 +00:00
4a7715bfdf Added mnemonic to string. Fixes bug #346645.
2006-07-05  Andre Klapper  <a9016009@gmx.de>

	* em-format-html-display.c: Added mnemonic to string.
	Fixes bug #346645.

svn path=/trunk/; revision=32234
2006-07-05 12:59:56 +00:00
a1d6678af2 Enhanced search functionality. patch submitted by Johnny Jacob Reviewed
2006-06-30  Harish Krishnaswamy  <kharish@novell.com>

Enhanced search functionality. patch submitted by Johnny Jacob
Reviewed and committed by Harish.

svn path=/trunk/; revision=32207
2006-06-30 09:46:32 +00:00
253a05d03c Added support for collapsible headers for To/Cc/Bcc
svn path=/trunk/; revision=32020
2006-05-25 04:59:47 +00:00
940383d676 Added code to create image attachment's icon in non-gui thread.
svn path=/trunk/; revision=31859
2006-04-21 19:43:24 +00:00
2d3d387023 Make the verify/decrypt gpg diagnostic text selectable in the security
2006-02-27  Jeffrey Stedfast  <fejj@novell.com>

	* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
	Make the verify/decrypt gpg diagnostic text selectable in the
	security dialog that comes up when you click the button in a
	message. Fixes bug #268414.

svn path=/trunk/; revision=31596
2006-02-27 17:54:47 +00:00
dc8e4af46d a11y changes for bug #330723
svn path=/trunk/; revision=31477
2006-02-10 22:28:38 +00:00
f6e0e26a6f s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bit
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
2006-02-08 11:51:32 +00:00
450d94b769 Committed Rajeev's patch and my patch for mnemonics.
svn path=/trunk/; revision=31425
2006-02-06 11:10:44 +00:00
269524c33f Committed Rajeev's patch.
svn path=/trunk/; revision=31333
2006-01-27 20:12:00 +00:00
206a74fe78 *** empty log message ***
svn path=/trunk/; revision=31301
2006-01-25 05:05:29 +00:00
7eb6adbed9 Committing ChangeLog em-account-prefs.c em-format-html-display.c em-message-browser.c
svn path=/trunk/; revision=31272
2006-01-23 08:18:09 +00:00
3f92713d77 Changed event to scroll_event in rajeev's patch.
2006-01-16  Srinivasa Ragavan  <sragavan@novell.com>


	* em-format-html-display.c: (em_format_html_display_new): Changed
	event to scroll_event in rajeev's patch.

svn path=/trunk/; revision=31196
2006-01-16 07:02:24 +00:00
8520abf54c ** Fixes bug #246257
2006-01-12  Rohini S  <srohini@novell.com>

	** Fixes bug #246257

	* mail-dialogs.glade: Interchange of label and checkbox
	positions in Find message dialog
	* em-format-html-display.c: (efhd_update_matches),
	(em_format_html_display_search):
	Hide Matches Label on dialog open and Show Matches Label when
	required. Fixes bug 246257.

svn path=/trunk/; revision=31193
2006-01-16 06:41:29 +00:00
e0cbc1924b ** Fixes bug #239929 (Committing Rajeev's patch)
2006-01-16  Srinivasa Ragavan  <sragavan@novell.com>

	** Fixes bug #239929 (Committing Rajeev's patch)

	* em-format-html-display.c: (efhd_scroll_event),
	(em_format_html_display_new):Adds handler to zoom-in/out on control
	scroll.

svn path=/trunk/; revision=31186
2006-01-15 18:46:56 +00:00
7ddd1c1379 String Fixes (Bug #325122)
2006-01-01   Harish Krishnaswamy <kharish@novell.com>

* String Fixes (Bug #325122)

svn path=/trunk/; revision=31006
2006-01-01 13:56:31 +00:00
99a74fa689 ** See bug 324319 Add the accessible name of arrow button, and the
2005-12-20  Boby Wang <Boby.Wang@sun.com>

	** See bug 324319
	* em-format-html-display.c: (efhd_add_bar):
	Add the accessible name of arrow button, and the attachment
	bar can be opened by gok.

svn path=/trunk/; revision=30895
2005-12-20 09:10:55 +00:00
448d624c00 em-folder-browser.c em-folder-view.c em-format-html.c
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
2005-12-18 08:24:26 +00:00
ce7790405d Fixed mark junk, keybinding to focus search widget.
2005-10-18  Srinivasa Ragavan <sragavan@novell.com>

	* Fixed mark junk, keybinding to focus search widget.

svn path=/trunk/; revision=30520
2005-10-18 08:31:39 +00:00
7670176dd2 Define localtime_r() for Win32 using localtime() (which is thread-safe in
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* em-format-html-display.c: Define localtime_r() for Win32 using
	localtime() (which is thread-safe in Microsoft's C library).

svn path=/trunk/; revision=30398
2005-09-28 10:39:48 +00:00
9185fb32b3 ** See bug #314440.
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
2005-08-26 01:52:55 +00:00
f890ddee38 Dont call update. Just set the width on the bar.
2005-08-24  Srinivasa Ragavan <sragavan@novell.com>

	* em-format-html-display.c (efhd_bar_resize): Dont call update.
	Just set the width on the bar.

svn path=/trunk/; revision=30235
2005-08-24 04:22:55 +00:00
8c8922a308 cast warning away.
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * mail-tools.c (mail_tool_uri_to_folder): cast warning away.

        * mail-folder-cache.c: include missing header for
        e_filename_make_safe.

        * em-junk-hook.h: Fix some header includes, fix the include guard
        to use the right name.
        (EMJunk): Ugh, this is an object, properly derive from it!  How
        did this work?

        * em-junk-hook.c (em_junk_check_junk): fix bool conversion.

        * em-format-html-display.c (efhd_bar_popup_position): another
        wraning, why this crap isn't in the attachment bar like i said it
        should be, i'll never know.
        (efhd_xpkcs7mime_viewcert_foad): only define if used.

        * em-account-editor.c (emae_defaults_page): attempt to fix parentheses
        (emae_security_page): fix conditional compilation warnings.

svn path=/trunk/; revision=30214
2005-08-24 03:05:26 +00:00
64c94ae9ce put the s/mime message back, awaiting string approval for a change
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
2005-08-19 05:38:22 +00:00
c5940bddfc Fix a warning. (efhd_bar_resize): Fix the bar size to match other widgets.
2005-08-17  Srinivasa Ragavan <sragavan@novell.com>

	* em-format-html-display.c
	(efhd_bar_save_selected): Fix a warning.
	(efhd_bar_resize): Fix the bar size to match other widgets.
	(efhd_bar_scroll_event): Fix scroll issue over bar. bug #312224.
	(efhd_add_bar): Add a frame around the attachment bar. bug #312033

svn path=/trunk/; revision=30147
2005-08-17 13:25:50 +00:00
eb491088f8 Fix for bug #312545
2005-08-16  Srinivasa Ragavan <sragavan@novell.com>

	* mail/em-format-html-display.c:
	* widgets/misc/e-attachment*.c: Fix for bug #312545

svn path=/trunk/; revision=30126
2005-08-16 03:47:55 +00:00
559341b0a2 Fix to hide the attachment bar when no attachments and to resize when the
2005-08-11  Srinivasa Ragavan <sragavan@novell.com>

	* em-format-html-display.c (efhd_attachment_bar_refresh) (efhd_bar_resize)
	(efhd_add_bar): Fix to hide the attachment bar when no attachments and to
	resize when the window is resized.

svn path=/trunk/; revision=30083
2005-08-11 04:24:51 +00:00
6d0d9bb37a Fixes the bug #312410.
2005-08-05 Srinivasa Ragavan <sragavan@novell.com>

	* em-format-html-display.c (efhd_init) (efhd_complete) (efhd_message_add_bar):
	Fixes the bug #312410.

svn path=/trunk/; revision=29996
2005-08-05 05:59:50 +00:00
7cfdd131b5 Added code to create a attachment bar.
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
2005-07-25 04:23:41 +00:00
e7faa99582 use the cache, since we set it up. (efhd_image): added a (private!) format
2005-07-05  Not Zed  <NotZed@Ximian.com>

        * em-format-html-display.c (efhd_attachment_image): use the cache,
        since we set it up.
        (efhd_image): added a (private!) format handler for all the image
        types so we intercept them and handle them directly.
        (efhd_image_fit, efhd_image_unfit): replace the resize callback
        with two much simpler ones.

        * em-icon-stream.c (em_icon_stream_get_image): added 'fit to'
        arguments.  Changed dramatically to get approximate fit-to image,
        update cache, etc.
        (em_icon_stream_is_resized): added 'fit to' arguments.  changed to
        manipulate the cache properly.
        (emis_fit): helper to fit an image to a size.
        (em_icon_stream_new): added 'fit to' arguments rather than poking
        structures.

        * em-format-html-display.c (efhd_attachment_image): fixed a memory
        leak, various style issues.  Removed all scaling code.
        (efhd_attachment_popup): show menu's appropriately.  add back the
        hide/show menu always.
        (efhd_image_popup): fix formatting.

        ** Applied patch from Srini for scaling images to fit by default.

svn path=/trunk/; revision=29640
2005-07-06 03:56:48 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
2005-06-17  Kaushal Kumar  <kakumar@novell.com>

        * Retired GAL from Head. The relevant files have moved inside
        evolution. Thanks to JP Rosevear for performing the cvs surgery. The
        files have been moved in the following order.

        evolution/e-util <- gal/gal/util
        evolution/a11y <-  gal/gal/a11y
        evolution/a11y/e-table <- gal/gal/a11y/e-table
        evolution/a11y/e-text <- gal/gal/a11y/e-text
        evolution/widgets/table <- gal/gal/e-table
        evolution/widgets/text <- gal/gal/e-text
        evolution/widgets/misc <- gal/gal/widgets
        evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
        evolution/widgets/menus <- gal/gal/menus

        Following is the summary of changes done to fix the build:-
        - New files added to cvs repository,
                - a11y/e-table/Makefile.am
                - a11y/e-text/Makefile.am
                - widgets/table/Makefile.am
                - widgets/text/Makefile.am
                - widgets/misc/pixmaps/Makefile.am
                - iconv-detect.h
                - iconv-detect.c
        - Updated configure.in.
        - Updated all the relevant Makefile.am files.
        - Updated the include paths to replace all gal references.
        - Updated the marshal list to suit gal files requirements.

svn path=/trunk/; revision=29522
2005-06-17 15:20:35 +00:00
16eefad885 fix rodney's name choices. fix multiple-inclusion. fix forward references.
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
2005-05-19 06:06:35 +00:00
2a8848295e removed include of htmlengine.h which wasn't needed
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
2005-05-17 14:18:07 +00:00
424085a248 use gtk_html_command to ask if selection is active tto avoid using
2005-05-05  Radek Doulik  <rodo@site>

	    * em-folder-view.c (em_folder_view_get_popup_target): use
	    gtk_html_command to ask if selection is active tto avoid using
	    selection API directly
	    (emfv_popup_copy_text): use gtkhtml API instead of engine API
	    (emfv_message_reply): use new gtk_html_get_selection_html function
	    to avoid using low level gtkhtml APIs

svn path=/trunk/; revision=29272
2005-05-05 11:22:34 +00:00
3da049b17c removed include of htmlinterval.h as it's not needed
2005-05-03  Radek Doulik  <rodo@site>

	    * em-format-html-display.c: removed include of htmlinterval.h as
	    it's not needed

svn path=/trunk/; revision=29260
2005-05-03 10:38:36 +00:00
9c26fef2d4 include atkutil.h (message_list_construct): cast warning.
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
2005-03-02 05:23:46 +00:00