Commit Graph

125 Commits

Author SHA1 Message Date
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
8bc7363c66 Fix typo in documentation. Ditto.
2007-10-31  Priit Laes  <plaes@svn.gnome.org>
	
	* em-format-html-display.c: Fix typo in documentation.
	* em-message-browser.c: Ditto.

svn path=/trunk/; revision=34471
2007-10-31 16:46:10 +00:00
19993ca2f0 Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of function
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
2007-10-29 13:05:42 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
e7d6ad6d83 ** Move away from g_assert to g_return* calls
svn path=/trunk/; revision=34143
2007-08-31 05:24:51 +00:00
8683d22745 ** Fix for bug #256878 from Vincent Untz
svn path=/trunk/; revision=34110
2007-08-27 05:25:47 +00:00
c1a6b6f8d3 2007-07-26 mcrha Fix for bug #273386
svn path=/trunk/; revision=33846
2007-07-26 09:37:39 +00:00
553e4ff5af Take warning softly instead of a crash
svn path=/trunk/; revision=33799
2007-07-11 07:11:39 +00:00
13d4452306 Fix compilation warnings in mail folder (#437935).
svn path=/trunk/; revision=33628
2007-06-03 02:54:32 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
bb05f6e6d0 ** Fixes bug #423766
2007-04-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #423766

	* mail/em-format-html-display.c (attachments_save_all_clicked):
	Call em_utils_save_part() if there's only one attachment to save.

	* mail/em-utils.c (em_utils_save_part):
	Refactor to use gtk_dialog_run() instead of a "response" callback.

	* mail/em-utils.c (em_utils_save_parts):
	Refactor to use gtk_dialog_run() instead of a "response" callback.
	Use gtk_file_chooser_get_uri() to fetch the selected folder.


svn path=/trunk/; revision=33429
2007-04-18 11:09:52 +00:00
7dd3f720c7 Fix a typo.
2007-03-30  Matthew Barnes  <mbarnes@redhat.com>

	* em-format-html-display.c (icon_entry_changed_cb): Fix a typo.


svn path=/trunk/; revision=33347
2007-03-30 18:29:09 +00:00
72f0d0c000 Fix "incompatible pointer type" warnings (#360619).
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
2007-03-29 17:29:46 +00:00
cba3097cad ** Fixes bug #419524
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
2007-03-20 17:23:58 +00:00
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