Commit Graph

500 Commits

Author SHA1 Message Date
bfc8b8784d License changes from GPL to LGPL
svn path=/trunk/; revision=36465
2008-09-29 08:36:04 +00:00
97fd6bc629 ** Fix for bug #313225
2008-09-24  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #313225

	* mail/message-list.c: (struct states_pixmaps), (ml_tree_value_at),
	(message_list_create_extras): Show meeting icon in 'Attachment'
	column on messages with '$has_cal' user flag set.

	* plugins/itip-formatter/itip-formatter.c: (format_itip): Set the user flag '$has_cal'
	on the message when formatting a calendar attachment.


svn path=/trunk/; revision=36445
2008-09-24 11:56:11 +00:00
b52cf4cc09 Milan Crha <mcrha@redhat.com> ** Fix for bug #543135 (Write error message to the right stream, do not try to set information message to the message list when it's not visible).
svn path=/trunk/; revision=36240
2008-09-01 04:27:02 +00:00
e01e6e3c55 ** Fix for bug #519292
2008-08-12  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #519292

	* message-list.c: (read_boolean_with_default),
	(message_list_construct): Read 'thread_expand' and 'thread_latest'
	safely with TRUE as default if key doesn't exist.


svn path=/trunk/; revision=35968
2008-08-12 12:37:10 +00:00
28a98b7973 ** Fix for bug #519292
2008-08-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #519292

	* mail/message-list.c: (load_tree_expand_all): Drop function.
	* mail/message-list.c: (regen_list_done): Rather use desired expanded state
	value when creating the tree instead of the default model's value for
	this to have 'expand/collapse all' commands work better and quicker.

	* widgets/tablee-tree.h: (e_tree_load_all_expanded_state):
	* widgets/tablee-tree.c: (e_tree_load_all_expanded_state):
	* widgets/tablee-tree-table-adapter.h:
	(e_tree_table_adapter_load_all_expanded_state):
	* widgets/tablee-tree-table-adapter.c:
	(e_tree_table_adapter_load_all_expanded_state),
	(set_expanded_state_func), (set_collapsed_state_func):
	Drop functions in favor of new functions.
	* widgets/tablee-tree.h: (e_tree_force_expanded_state):
	* widgets/tablee-tree.c: (e_tree_force_expanded_state):
	* widgets/tablee-tree-table-adapter.h: (e_tree_table_adapter_force_expanded_state):
	* widgets/tablee-tree-table-adapter.c: (e_tree_table_adapter_force_expanded_state),
	(struct ETreeTableAdapterPriv), (create_gnode), (etta_init):
	Use either default value of the model to expanded state of new node or
	use the one which has been set (forced) by new functions.


svn path=/trunk/; revision=35954
2008-08-11 10:08:14 +00:00
c29e1c6570 ** Fix for bug #352695
2008-08-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #352695

	* widgets/table/e-tree-table-adapter.h:
	(e_tree_table_adapter_save_expanded_state_xml),
	(e_tree_table_adapter_load_expanded_state_xml):
	* widgets/table/e-tree-table-adapter.c:
	(e_tree_table_adapter_save_expanded_state_xml),
	(e_tree_table_adapter_save_expanded_state),
	(e_tree_table_adapter_load_expanded_state_xml),
	(e_tree_table_adapter_load_expanded_state):
	* widgets/table/e-tree.h: (e_tree_save_expanded_state_xml),
	(e_tree_load_expanded_state_xml):
	* widgets/table/e-tree.c: (e_tree_save_expanded_state_xml),
	(e_tree_load_expanded_state_xml):
	Be able to store expanded state also in memory, not only on the disk.

	* mail/message-list.c: (struct _MessageListPrivate), (save_tree_state),
	(load_tree_state), (on_model_row_changed), (message_list_init),
	(message_list_construct), (struct _regen_list_msg), (regen_list_done),
	(regen_list_free), (mail_regen_list): Be able to recognize whether
	there has been any change on any row in a list and save expanded
	state only in case there was any change. Also use in-memory storing
	of the expanded state in case we do not want to rewrite full view
	It's for searches only, and it's not stored between sessions.


svn path=/trunk/; revision=35953
2008-08-11 09:48:17 +00:00
048d28f277 Don't use uninitialized exception. It leads to freeing uninitialized
2008-08-11  Srinivasa Ragavan  <sragavan@novell.com>

	* mail/message-list.c: Don't use uninitialized exception. It leads to
	freeing uninitialized memory.

svn path=/trunk/; revision=35951
2008-08-11 06:28:32 +00:00
dff4ba7055 Fix a performance issue, where we can just go by the presence than the
2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

	* mail/message-list.c: Fix a performance issue, where we can just go
	by the presence than the exact count.

svn path=/trunk/; revision=35907
2008-08-05 13:38:05 +00:00
e202e2f07f ** Fix for bug #545436
2008-07-31  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #545436

* mail/message-list.c: Check the info before accessing it.

svn path=/trunk/; revision=35870
2008-07-31 04:19:28 +00:00
6c12d74cb1 Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-07-09  Milan Crha  <mcrha@redhat.com>

       ** Fix for bug #228725

       * gui/widgets/e-minicard-view.h: (struct _EMinicardView):
       * gui/widgets/e-minicard-view.c: (set_empty_message),
       (stop_state_changed), (e_minicard_view_set_property),
       (e_minicard_view_dispose), (e_minicard_view_init):
       Show different message in a view when searching.


svn path=/trunk/; revision=35783
2008-07-20 19:23:41 +00:00
40085e0436 Pushing changes from the madagascar branch related to the on-disk
summary work.


svn path=/trunk/; revision=35747
2008-07-16 11:41:04 +00:00
7103db294c ** Fix for bug #207802 (Patch suggested by Veerapuram Varadhan.)
2008-07-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #207802 (Patch suggested by Veerapuram Varadhan.)

	* message-list.c: (struct search_child_struct), (search_child_cb),
	(is_tree_widget_children), (ml_tree_drag_motion): Do not allow drop
	messages to the same message list as is the source. Also do not
	allow drop over message list if it doesn't have set a folder.


svn path=/trunk/; revision=35732
2008-07-09 07:53:24 +00:00
8f23df2f04 ** Fix for bug #541365
2008-07-03  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #541365

	* message-list.c: (message_list_get_uids), (message_list_get_selected):
	Do not call 'camel_folder_sort_uids' when we do not have folder or uid.


svn path=/trunk/; revision=35719
2008-07-03 14:28:19 +00:00
69aedac702 Sort the uids so that moving/copying messages preserves mailbox ordering
2008-07-02  Jeffrey Stedfast  <fejj@novell.com>

	Sort the uids so that moving/copying messages preserves mailbox
	ordering rather than jumbled randomness.

	* message-list.c (message_list_get_uids): Sort the uids.
	(message_list_get_selected): Same.


svn path=/trunk/; revision=35714
2008-07-03 03:17:25 +00:00
03787e53dd ** Fix for bug #540160
2008-06-26  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #540160

	* message-list.h: (struct _MessageList):
	* message-list.c: (message_list_init), (on_cursor_activated_cmd),
	(on_selection_changed_cmd): Remember whether we come from none/multi
	select to single select and properly update the preview.
	(Reverting patch for bug #337160 and doing that with other approach.)


svn path=/trunk/; revision=35684
2008-06-26 08:39:27 +00:00
94c501caf6 fixed copyright notices
svn path=/trunk/; revision=35663
2008-06-20 22:14:15 +00:00
b7155af74b ** Fix for bug #467892
2008-06-16  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #467892

	* message-list.h: (struct _MessageList), (message_list_ensure_message):
	* message-list.c: (message_list_init), (message_list_finalise),
	(message_list_ensure_message), (regen_list_exec), (regen_list_done):
	Be able to set a message uid to keep in a list after regeneration.
	* em-folder-view.c: (em_folder_view_open_selected):
	Inherit search criteria and ensure keeping the selected message
	in the view even it may not belong to the filter anymore.


svn path=/trunk/; revision=35640
2008-06-16 09:23:32 +00:00
00e55f86df ** Fix for bug #337160
2008-06-13  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #337160

	* message-list.c: (on_cursor_activated_cmd): Do not pretend the row
	with a cursor is selected when it isn't. Also take care of multiselect.
	* message-list.c: (on_selection_changed_cmd):
	Do not pretend the row with a cursor is selected when it isn't.


svn path=/trunk/; revision=35633
2008-06-13 06:32:36 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
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
2008-06-06 15:12:53 +00:00
b6442f0191 Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-06-02  Milan Crha  <mcrha@redhat.com>

       ** Fix for bug #535749

       * message-list.c: (regen_list_exec): Use better condition whether
       keep cursor_uid in the message list or not on regeneration.


svn path=/trunk/; revision=35574
2008-06-02 05:39:51 +00:00
4c2a34cddd Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-05-29  Milan Crha  <mcrha@redhat.com>

       ** Fix for bug #534312

       * em-composer-utils.c: (create_new_composer),
       (em_utils_compose_new_message), (struct forward_attached_data),
       (real_update_forwarded_flag), (update_forwarded_flags_cb),
       (composer_destroy_fad_cb), (setup_forward_attached_callbacks),
       (forward_attached), (forward_attached_cb), (em_utils_forward_attached),
       (forward_non_attached), (forward_quoted), (em_utils_forward_message):
       Set new CAMEL_MESSAGE_FORWARDED flag on forwarded messages.
       * message-list.c: (ml_value_to_string), (message_list_create_extras),
       (ml_tree_value_at), (create_composite_cell), (struct states_pixmaps):
       Draw mail-forward icon on forwarded messages.


svn path=/trunk/; revision=35567
2008-06-02 04:42:19 +00:00
f7550c81c7 ** Fix a bunch of compiler warnings.
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
2008-05-22 18:00:17 +00:00
9d472864a2 Use a bit more direct English when informing the user of no messages in
2008-05-19  Matthew Barnes  <mbarnes@redhat.com>

	* mail/message-list.c (regen_list_done):
	Use a bit more direct English when informing the user of no messages
	in the currently selected folder.


svn path=/trunk/; revision=35515
2008-05-19 18:25:44 +00:00
183729a6e0 ** Fix for bug #528288
2008-04-30  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #528288

	* widgets/misc/e-filter-bar.c: (get_property): Do not return any query
	with empty text from search bar.

	* widgets/table/e-tree.h: (e_tree_set_info_message):
	* widgets/table/e-tree.c: (struct ETreePriv), (et_dispose), (e_tree_init),
	(tree_size_allocate), (e_tree_set_info_message):
	Allow setting info message into the tree. It doesn't check
	whether the tree is empty or not, so take care of that.

	* mail/em-folder-browser.c: (emfb_init), (em_folder_browser_show_wide):
	Ensure minimum size for preview and message list.
	* mail/em-folder-browser.c: (get_view_query):
	Distinguish between no filter and custom filter.
	* mail/message-list.c: (regen_list_done):
	Set info message to tree when no message shown in a list.


svn path=/trunk/; revision=35459
2008-04-30 11:24:14 +00:00
05e8333292 ** Fix for bug #467892
2008-04-30  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #467892

	* em-folder-view.c: (em_folder_view_open_selected):
	Do not inherit search filters when opening messages in new window.
	* message-list.c: (regen_list_exec):
	If we are called from folder_changed even, then keep the actually
	selected message so it will not disappear when user reads it and
	it doesn't belong to actual filter anymore.


svn path=/trunk/; revision=35454
2008-04-30 09:52:56 +00:00
4ac1cad438 ** Fixes bug #525508, spotted by Thomas M.
2008-04-01  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525508, spotted by Thomas M.

	* message-list.c (ml_tree_value_at):
	Fix a leaking CamelURL in the COL_LOCATION case.


svn path=/trunk/; revision=35297
2008-04-01 11:37:42 +00:00
18fc206e96 ** Fixes bug #525510, patch from Thomas M.
2008-04-01  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525510, patch from Thomas M.

	* mail/message-list.c (ml_tree_value_at):
	Mark "On This Computer" for translation.


svn path=/trunk/; revision=35296
2008-04-01 11:21:00 +00:00
7ea7aa0b49 ** Fix for bug #519292
2008-03-27  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #519292

	* mail/message-list.h: (message_list_set_expand_all):
	* mail/message-list.c: (message_list_set_expand_all):
	Remove unused confusing function.
	* mail/message-list.c: (regen_list_done):
	Use numbers instead of gboolean value.

	* widgets/table/e-tree-table-adapter.c: (set_expanded_state_func),
	(set_collapsed_state_func): Use rather recurse function.


svn path=/trunk/; revision=35271
2008-03-27 11:45:36 +00:00
8ef7c0306e ** Fix for bug #488175
2008-03-27  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #488175

	* message-list.c: (ml_tree_value_at):
	Colorize follow-up messages same as with due-by flag.


svn path=/trunk/; revision=35261
2008-03-27 11:04:18 +00:00
a0bb856b78 ** Part of fix for bug #515744
2008-02-18  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #515744

	* addressbook/gui/component/addressbook-migrate.c: (get_source_name):
	* plugins/groupwise-features/send-options.c: (get_source):
	* plugins/groupwise-features/share-folder-common.c: (get_container_id):
	* plugins/groupwise-features/install-shared.c: (install_folder_response):
	* plugins/external-editor/external-editor.c: (convert_to_camel_internet_address),
	(org_gnome_external_editor):
	* plugins/itip-formatter/itip-formatter.c: (idle_open_cb):
	* mail/em-folder-view.c: (emfv_setup_view_instance):
	* mail/mail-component.c: (impl_finalize):
	* mail/message-list.c: (ml_tree_value_at):
	* composer/e-msg-composer.c: (drop_action):
	* e-util/e-config.c: (ep_finalise): Use proper member to free.
	* widgets/misc/e-cursors.c: (e_cursors_init):
	* widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month):
	* calendar/gui/dialogs/comp-editor.c: (drop_action):
	* calendar/gui/calendar-config.c:
	(calendar_config_get_hide_completed_tasks_sexp):
	* calendar/gui/comp-editor-factory.c: (edit_existing):
	* calendar/gui/e-day-view.c: (e_day_view_reshape_long_event),
	(e_day_view_on_top_canvas_drag_data_received):
	* calendar/gui/e-day-view-main-item.c:
	(e_day_view_main_item_draw_events_in_vbars),
	(e_day_view_main_item_draw_long_events_in_vbars):
	* calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
	* calendar/gui/e-cal-model.c: (redo_queries):
	* calendar/gui/e-calendar-table.c: (e_calendar_table_open_task):
	* calendar/gui/e-memo-table.c: (open_memo):
	* calendar/gui/print.c: (print_todo_details):
	* calendar/gui/migration.c: (get_source_name):
	Memory leak fix.
	* calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things.


svn path=/trunk/; revision=35044
2008-02-18 11:10:10 +00:00
3d85ee9572 ** Fix for bug #411576
2008-02-10  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #411576

	* evolution-mail.schemas.in: Add a key to decide if same fonts gotto
	be used in message list in vertical view column.
	* message-list.c: (create_composite_cell):



svn path=/trunk/; revision=34987
2008-02-11 02:38:12 +00:00
89791fb364 Patch from Milan Crha <mcrha@redhat.com> ** Fix for bug #504062 (Don't use collate keys for comparing addresses as they are not hashed)
svn path=/trunk/; revision=34911
2008-01-28 06:24:53 +00:00
e2e3ab5bfb Change of heart; decided we like the old "emblem-important" icon better
2008-01-16  Matthew Barnes  <mbarnes@redhat.com>

	* em-folder-browser.c:
	* message-list.c:
	Change of heart; decided we like the old "emblem-important" 
	icon better than "mail-mark-important" for the message list
	and "Show" combo box.


svn path=/trunk/; revision=34842
2008-01-17 03:16:01 +00:00
dd7bad0741 ** Fix for bug #211353
2008-01-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* po/POTFILES.in: Added new file e-util/e-util-labels.c

	* mail/filtertypes.xml:
	* mail/vfoldertypes.xml:
	* mail/em-folder-view.c:
	* mail/em-folder-browser.c:
	* mail/em-mailer-prefs.h:
	* mail/em-mailer-prefs.c:
	* mail/mail-config.h:
	* mail/mail-config.c:
	* mail/mail-config.glade:
	* mail/message-list.c:
	Label tags are now generated based on label name when creating, except
	of first 5 labels. New menu option "New Label" in popup menu over
	message list and editing of labels has been changed in Preferences.
	Also renaming tab in Preferences for "Labels", not "Colors", and the
	tab label too.
	mail-config-label... functions was moved to e-util/e-util-labels.c/.h.
	* mail/message-list.etspec: Normalized columns has been moved by one
	when label column has been added.

	* filter/filter-option.h:
	* filter/filter-option.c: (filter_option_get_current),
	(filter_option_remove_all): New functions to be able to refill options
	even after initialization of the filter element.
	* filter/filter-label.c: Added support to notify changes on labels in runtime
	and use actual labels.

	* e-util/Makefile.am:
	* e-util/e-util-labels.h:
	* e-util/e-util-labels.c: New files to work with labels.


svn path=/trunk/; revision=34788
2008-01-10 11:19:37 +00:00
00d89fdac2 Patch from Michael Monreal <michael.monreal@gmx.net>: Fix for bug #492188 (Use the new Tangoized icons instead of the deprecated ones from gnome-icon-theme)
M    addressbook/gui/component/addressbook-view.c
M    addressbook/ChangeLog
AM   data/icons/hicolor_actions_16x16_mail-move.png
AM   data/icons/hicolor_actions_16x16_mail-copy.png
AM   data/icons/hicolor_actions_16x16_folder-move.png
M    data/icons/Makefile.am
AM   data/icons/hicolor_actions_16x16_folder-copy.png
M    mail/em-folder-browser.c
M    mail/ChangeLog
M    mail/em-folder-tree.c
M    mail/em-folder-view.c
M    mail/message-list.c
M    composer/ChangeLog
M    composer/e-msg-composer.c
M    ChangeLog
M    calendar/gui/dialogs/comp-editor.c
M    calendar/ChangeLog

svn path=/trunk/; revision=34769
2008-01-06 18:02:18 +00:00
538be0680e ** Fixes bug #362638
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
2007-12-20 17:58:09 +00:00
2093e31002 ** Fix for bug #211353
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* message-list.etspec:
	* message-list.h:
	* message-list.c: Added new column to show labels.
	* filtertypes.xml:
	* vfoldertypes.xml:
	Code for label filters/search folders has been changed.
	* mail-config.glade:
	* em-folder-view.c: (emfv_set_label), (emfv_unset_label),
	(emfv_popup_label_clear), (emfv_popup_label_set),
	(emfv_popup_labels_get_state_for_tag), (emfv_popup):
	Labels popup submenu is now shown with checkboxes so one can set
	more than one label to the message and unset only one label from
	message. There has been added new function, because of this.
	* mail-config.h:
	* mail-config.c: New "interface" functions to work with labels.
	* em-mailer-prefs.h:
	* em-mailer-prefs.c: Editing labels in tree.
	* em-folder-browser.c:
	Labels in show menu reflect changes in preferences.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* filter-label.c: Use global label's setup, not its own copy.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-popup.h:
	* e-popup.c: (ep_build_tree):
	Toggles can be in inconsistent state now, and can also contain
	an image, which is a pointer to GtkImage widget.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-search-bar.c: (e_search_bar_get_viewitem_id):
	Return -1 if no viewmenu is setup yet.


svn path=/trunk/; revision=34715
2007-12-17 05:40:53 +00:00
042ba3ee7e ** Fix for bug #216485 Edit->Select thread menu fix and improvement.
2007-11-26 Nicholas Miell <nmiell@gmail.com>

	** Fix for bug #216485
	Edit->Select thread menu fix and improvement.

	* mail/em-folder-browser.c: (emfb_edit_select_subthread): new function,
	(emfb_enable_map, emfb_verbs) hook it up
	* mail/message-list.c: (select_thread): new function based on
	thread_select_foreach, (thread_select_foreach): remove the logic
	now in select_thread, (message_list_select_thread): use
	select_thread, (subthread_select_foreach): new function,
	(message_list_select_subthread): new function
	* mail/message-list.h: (message_list_select_subthread): add prototype

	* ui/evolution-mail-list.xml
	Add Select Message Subthread


svn path=/trunk/; revision=34585
2007-11-26 11:28:54 +00:00
1c88010c53 ** Fix for bug #335931
2007-11-23  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #335931

	* message-list.c: (struct _regen_list_msg): New member last_row.
	* message-list.c: (regen_list_regen): Store last_row for later use.
	* message-list.c: (regen_list_regened): Restore row based on last_row
	when no uid was selected before.
	* message-list.c: (mail_regen_list): Init new last_row member.
	* em-folder-view.c: (emfv_select_next_message): New helper function
	to select messages in list.
	* em-folder-view.c: (emfv_popup_mark_junk), (emfv_popup_mark_nojunk),
	(emfv_popup_delete): Using new helper function, so get same behavior.

	* message-list.h: (struct _MessageList):
	* message-list.c: (on_cursor_activated_cmd): Removed cursor_row member.


svn path=/trunk/; revision=34567
2007-11-23 09:06:00 +00:00
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
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
ed04919095 ** Fix for bug #489027
2007-10-26  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #489027

	* evolution-mail.schemas.in: New hidden option 'thread_latest' to fall
	back to thread sorting like before 2007-05-17 (see below).
	* message-list.c: (struct _MessageListPrivate),
	(message_list_construct): New property 'thread_latest'.
	* message-list.c: (ml_tree_sort_value_at): Sort based on this property.


svn path=/trunk/; revision=34426
2007-10-26 07:24:57 +00:00
b32649a94c ** Fixes bug #437579
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
2007-10-10 04:54:36 +00:00
09d4af6fff ** Fixes bug #469657
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
2007-10-02 11:54:42 +00:00
54d4e5e5f8 ** Fixes bug #477045
2007-09-27  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #477045

	* addressbook/gui/component/addressbook-component.c:
	* addressbook/gui/component/addressbook-view.c:
	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/widgets/e-addressbook-view.c:
	* addressbook/gui/widgets/eab-contact-display.c:
	* calendar/gui/calendar-commands.c:
	* calendar/gui/calendar-component.c:
	* calendar/gui/dialogs/cal-attachment-select-file.c:
	* calendar/gui/dialogs/comp-editor.c:
	* calendar/gui/dialogs/event-editor.c:
	* calendar/gui/dialogs/task-editor.c:
	* calendar/gui/e-cal-popup.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-calendar-view.c:
	* calendar/gui/e-day-view.c:
	* calendar/gui/e-memo-table.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/memos-component.c:
	* calendar/gui/memos-control.c:
	* calendar/gui/tasks-component.c:
	* calendar/gui/tasks-control.c:
	* composer/e-msg-composer-select-file.c:
	* composer/e-msg-composer.c:
	* mail/em-folder-tree.c:
	* mail/em-folder-view.c:
	* mail/em-popup.c:
	* mail/mail-component.c:
	* mail/mail-mt.c:
	* mail/mail-send-recv.c:
	* mail/message-list.c:
	* plugins/exchange-folder-permission.c:
	* plugins/exchange-folder.c:
	* plugins/groupwise-features/share-folder-common.c:
	* shell/e-shell-window-commands.c:
	* ui/evolution-addressbook.xml:
	* ui/evolution-calendar.xml:
	* ui/evolution-composer-entries.xml:
	* ui/evolution-editor.xml:
	* ui/evolution-event-editor.xml:
	* ui/evolution-mail-list.xml:
	* ui/evolution-mail-message.xml:
	* ui/evolution-memos.xml:
	* ui/evolution-message-composer.xml:
	* ui/evolution-subscribe.xml:
	* ui/evolution-task-editor.xml:
	* ui/evolution-tasks.xml:
	* ui/evolution.xml:
	Use standard icon names where applicable.


svn path=/trunk/; revision=34322
2007-09-27 17:48:23 +00:00
94344e1efa ** Fixes bug #476040
2007-09-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #476040

	* calendar/gui/e-day-view.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/dialogs/comp-editor.c:
	* composer/e-msg-composer.c:
	* composer/e-msg-composer-attachment-bar.c:
	* mail/em-folder-browser.c:
	* mail/message-list.c:
	* widgets/misc/e-attachment-bar.c:
	Use "mail-attachment" icon instead of "stock_attach".
	Use "mail-attachment" icon for unknown attachment types.


svn path=/trunk/; revision=34240
2007-09-12 16:10:25 +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
9d8d0e8a3e ** Fix for bug #464312
svn path=/trunk/; revision=33965
2007-08-07 10:53:12 +00:00
478f23e3d0 ** Fix for bug #419690
svn path=/trunk/; revision=33964
2007-08-07 09:35:42 +00:00