aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-08 05:15:11 +0800
committerDan Winship <danw@src.gnome.org>2000-07-08 05:15:11 +0800
commit2d33aa8a7781502e3d5297409dda389553cc8953 (patch)
tree384a890ee77d9647bbbda9acaad62bab744b7022 /mail/ChangeLog
parent4d9bc165b29cad56edb7eea031375002117ea15b (diff)
downloadgsoc2013-evolution-2d33aa8a7781502e3d5297409dda389553cc8953.tar
gsoc2013-evolution-2d33aa8a7781502e3d5297409dda389553cc8953.tar.gz
gsoc2013-evolution-2d33aa8a7781502e3d5297409dda389553cc8953.tar.bz2
gsoc2013-evolution-2d33aa8a7781502e3d5297409dda389553cc8953.tar.lz
gsoc2013-evolution-2d33aa8a7781502e3d5297409dda389553cc8953.tar.xz
gsoc2013-evolution-2d33aa8a7781502e3d5297409dda389553cc8953.tar.zst
gsoc2013-evolution-2d33aa8a7781502e3d5297409dda389553cc8953.zip
Lots of changes. Store uids as node data on the tree nodes and use those
* message-list.c: Lots of changes. Store uids as node data on the tree nodes and use those rather than rows where possible. (The concept of "row" is just getting too complicated.) Get rid of the summary_table, because given a uid we can call camel_folder_get_message_info, which makes more sense than keeping a separate uid->row hash table ourselves. (get_message_info): update (get_message_row): removed (ml_col_cound, ml_row_count, ml_value_at, ml_set_value_at, ml_cell_is_editable, ml_duplicate_value, ml_free_value, ml_initialize_value, ml_value_is_empty, ml_value_to_string): Removed. We always use the tree model now. (message_list_init): Remove the non-tree code. (build_tree): store uids in the tree rather than row numbers, and build the message_list->uid_rowmap to map from uids to rows when needed. (message_list_regenerate): Renamed from _set_search, since it's used to redraw in non-search cases too. (message_changed): Use the uid_rowmap to get a model row number. * message-thread.c (thread_messages): Change the interface on this to work with the new MessageList. * folder-browser.c (search_set, folder_browser_clear_search): s/message_list_set_search/message_list_regenerate/ svn path=/trunk/; revision=3960
Diffstat (limited to 'mail/ChangeLog')
-rw-r--r--mail/ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 441d3f617a..d45f11c222 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,32 @@
+2000-07-07 Dan Winship <danw@helixcode.com>
+
+ * message-list.c: Lots of changes. Store uids as node data on the
+ tree nodes and use those rather than rows where possible. (The
+ concept of "row" is just getting too complicated.) Get rid of the
+ summary_table, because given a uid we can call
+ camel_folder_get_message_info, which makes more sense than keeping
+ a separate uid->row hash table ourselves.
+
+ (get_message_info): update
+ (get_message_row): removed
+ (ml_col_cound, ml_row_count, ml_value_at, ml_set_value_at,
+ ml_cell_is_editable, ml_duplicate_value, ml_free_value,
+ ml_initialize_value, ml_value_is_empty, ml_value_to_string):
+ Removed. We always use the tree model now.
+ (message_list_init): Remove the non-tree code.
+ (build_tree): store uids in the tree rather than row numbers,
+ and build the message_list->uid_rowmap to map from uids to rows
+ when needed.
+ (message_list_regenerate): Renamed from _set_search, since it's
+ used to redraw in non-search cases too.
+ (message_changed): Use the uid_rowmap to get a model row number.
+
+ * message-thread.c (thread_messages): Change the interface on this
+ to work with the new MessageList.
+
+ * folder-browser.c (search_set, folder_browser_clear_search):
+ s/message_list_set_search/message_list_regenerate/
+
2000-07-07 Christopher James Lahey <clahey@helixcode.com>
* message-list.c (get_message_info): Handle a row number of -1