2005-12-06 Li Yuan
* e-tree.c: (table_canvas_focus_event_cb):
Fixes bug #322776.
When focus come into e-tree, it is possible that the focused_item
is not NULL and there is no focused item in e-tree. So test
e_selection_model_cursor_row also.
2005-10-14 Kaushal Kumar
* table/e-table-group-container.c
(e_table_group_container_print_page): Use gnome_font_find_closest
instead of gnome_font_find since Helvetica is not always present.
Fixes bug #246803.
Patch by: Mubeen Jukaku.
2005-10-04 Devashish Sharma
* e-table-extras.c (ete_init): Added compare type "stringcase" to
ETableExtras to comapre hash table for case insensitive strings. The
corresponding function g_str_case_compare has been added to e-util.c.
See #207110.
2005-09-29 Tor Lillqvist
* e-table.c (e_table_load_specification)
* e-table-specification.c (e_table_specification_load_from_file)
* e-tree-table-adapter.c (open_file): Use
g_win32_locale_filename_from_utf8() from GLib 2.8 instead of
gnome_win32_locale_filename_from_utf8() which was temporarily in
libgnome.
2005-09-28 Tor Lillqvist
* e-table-specification.c (e_table_specification_load_from_node):
Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing
to literal ASCII strings, just casefolding ASCII is enough. Also
better for portability.
2005-08-24 Li Yuan
Fixes #314352.
* e-table-item.c: (eti_event):
if accessibility is enabled, we enable horizontal cusor
movement for line selection.
2005-08-23 Not Zed
* e-table-config.c (setup_fields): fix some missing casts.
2005-08-10 Not Zed
** See bug #313063.
* e-tree.c (e_tree_class_init): fix the set_scroll_adjustments
signal to take object, not pointer arguments. Since glib's
anality doesn't accept an object pointer as a pointer. go figure.
2005-07-25 Srinivasa Ragavan
* e-table-config.glade: Added code to use stock icons instead of
-> and <-
2005-06-23 Kaushal Kumar
* Makefile.am: Set libetableincludedir to table to match
source directory name and fix evolution-exchange build
without GAL.
2005-06-01 Kaushal Kumar
* e-table-item.c (eti_dispose): Don't hide the tooltip if we don't
have a canvas anymore.
Patch by: Not Zed
2005-05-20 Li Yuan
* e-table-header-item.c:
* e-table-header-item.h:
export ethi_change_sort_state, so we can call it in a11y part.
* e-tree.c: (e_tree_get_header_item):
* e-tree.h:
return the header item of e-tree.
Fix for #302154.
2005-03-14 Theppitak Karoonboonyanan
* e-cell-text.c (e_cell_text_retrieve_surrounding_cb)
(e_cell_text_delete_surrounding_cb): selecion fixes for im's.
2005-02-25 Li Yuan
Fix for #73009.
* e-table-config-no-group.glade:
* e-table-config.glade:
2005-01-27 Harry Lu
Some code clean work.
* e-table-click-to-add.c: (etcta_class_init): move a11y registry
call to a11y code.
* e-table.c: (e_table_class_init): ditto.
* e-tree.c: (e_tree_class_init): ditto.
2005-01-27 Li Yuan
* e-cell-combo.c: (e_cell_combo_init), (e_cell_combo_do_popup),
(e_cell_combo_list_button_press), (e_cell_combo_button_press),
(e_cell_combo_button_release), (e_cell_combo_key_press):
add an a11y name for the popup list.
make shortcut key ALT+Arrow work.
Fixes #70261
* e-cell-text.c: (e_cell_text_class_init), (_delete_selection),
(_insert):
add "text_inserted" and "text_deleted" signals to notify the
text has been changed.
(e_cell_text_get_text_by_view):
new helper function to get the text being editted.
* e-cell-text.h:
add signal declaration.
* e-cell-toggle.c: (etog_draw):
add range check for negative values.
* e-cell-vbox.c: (e_cell_vbox_class_init):
* e-cell-vbox.h:
make ECellVboxView public since it will be used in a11y part.
* e-table-click-to-add.c: (etcta_style_set),
(create_rect_and_text), (etcta_realize), (etcta_class_init),
(e_table_click_to_add_commit):
add "style_set" signal to click_to_add and implement
the style_set function.
(etcta_init):
add a11y name to click to add.
* e-table-click-to-add.h:
add "style_set" signal to click_to_add and implement
the style_set function.
* e-table-config.c: (config_button_up), (config_button_down):
check whether the columns are empty.
* e-table-group-container.c:
* e-table-group-container.h:
make ETableGroupContainerChildNode public since it
will be used in a11y part.
* e-table-item.c: (eti_init):
init eti->cols.
(eti_event):
at GDK_KEY_PRESS event and GDK_Down key pressed, we check
view_col value before we pass it to eti_e_cell_event.
(eti_class_init):
call the new initialize function
* e-table.c: (table_canvas_focus_event_cb):
if canvas has a focused item but the etable does not
have a cursor row, just focus the first item after check
whether the click_to_add should get the focus.
2005-01-26 JP Rosevear
Fixes #38195
* e-cell-combo.c (e_cell_combo_set_popdown_strings): don't convert
to the locale for gtk widgets now
2004-12-21 JP Rosevear
Fixes #29309
* e-table-header-item.h: add field chooser dialog data member
* e-table-header-item.c: remove weak pointer ref
(ethi_popup_field_chooser): if we already have a dialog, just
present it, otherwise create a new one and listen for its
destruction
2004-11-24 Li Yuan
* e-table.c: (e_table_get_cell_geometry):
check whether header_canvas and table_canvas is NULL.
2004-11-04 Li Yuan
* gal/e-table/e-table.c: (table_canvas_focus_event_cb):
if canvas has a focused item but the etable does not have a cursor row,
just focus the first item.
2004-10-19 JP Rosevear
* e-table.c (table_canvas_focus_event_cb): return FALSE so we
don't kill the focus event chain
2004-08-09 Not Zed
* e-cell-combo.c (e_cell_combo_get_popup_pos): include scrollbar
offset in vertical calculation. don't ask me i just work here.
see #61932.
2004-08-02 Radek Doulik
* e-table-config.c (e_table_config_construct): do not set
position, it's already done in .glade, call set_transient_for
always (passing NULL is valid as well)
* e-table-config.glade: * e-table-config-no-group.glade: center
window on parent, don't let it resize and most importan make it
dialog window so that set_transient_for works against define views
dialog
Fixes #61936
2004-07-07 Radek Doulik
* e-table-sorted-variable.c (etsv_add): added
e_table_model_pre_change because we call
e_table_model_row_inserted later. It fixes freeze/unfreeze for
ETableItem assert warning which I run into when fixing #56271
2004-06-22 Rodney Dawes
* e-table-config.c (do_fields_config_dialog, e_table_config_new):
Fix some spacing and border width properties on the dialog's widgets
to make the dialog compliant with the HIG
2004-06-22 Christopher James Lahey
* e-table-model.[ch]: Added e_table_model_freeze and e_table_model_thaw
* e-table-config.c (setup_fields): Use e_table_model_freeze and
e_table_model_thaw
Fixes #54785
2004-06-11 Radek Doulik
* e-table-config.c (e_table_config_construct): set dialog window
position, glade doesn't do that for us anymore as the window is
first hidden, extended and later shown
* e-table-config-no-group.glade: as below
* e-table-config.glade: set visibility to false, it will keep the
dialog hidden until we call gtk_widget_show and thus no resizing
is visible while we are extending the dialog content
Fixes #57825
2004-06-10 Radek Doulik
* e-cell-text.c (layout_with_preedit): removed unused variable
* e-tree.c (e_tree_get_item): added cast
added #include
* e-table-one.c (one_finalize): removed unused variable
* e-table-item.c: added #include
"gal/a11y/e-table/gal-a11y-e-table-item.h" for
gal_a11y_e_table_item_factory_get_type prototype
* e-table-header-utils.c (e_table_header_draw_button): removed
unused variable
* e-table-config.c (get_source_model_col_index): removed unused
variable
* e-table-click-to-add.c (finish_editing): added cast
(etcta_event): ditto
* e-cell-toggle.c: added #include
"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
gal_a11y_e_cell_registry_add_cell_type prototype
* e-cell-text.c (layout_with_preedit): removed unused variable
(build_layout): ditto
(ect_event): ditto
(e_cell_text_commit_cb): ditto
* e-cell-popup.c: added #include
"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
gal_a11y_e_cell_registry_add_cell_type prototype
2004-06-10 Not Zed
* e-tree-selection-model.c (e_tree_selection_model_select_paths):
add new api for setting the whole selection in one go. See
#59546.
2004-06-09 Radek Doulik
* e-table-field-chooser.c (ensure_nonzero_step_increments): new
helper function to set step_increments
(allocate_callback): call ensure_nonzero_step_increments
(resize): ditto
(ensure_nonzero_step_increments): set step increments always to 16
Fixes #48275
2004-05-10 Bruce Tao
Fixes #51626
* e-table-click-to-add.c: (etcta_event):
Add an entry for focus_in event, do the same thing as button_press event.
* e-table-item.c: (eti_event):
Mask the Ctrl+Tab processing routine.
* e-table.c: (table_canvas_focus_event_cb), (canvas_vbox_event),
(click_to_add_event), (e_table_setup_table):
Enable you to navigate between click_to_add and the existing tasks by
pressing Ctrl+Tab. However, if there is no existing task, you can still jump
out of click_to_add by this way.
2004-05-04 Jeffrey Stedfast
* e-tree.c (e_tree_find_next): Don't necessarily set row to 0 if
the root node has the cursor (otherwise message_list_select()
first unread will actually select the second unread if the first
unread is the first in the list). Fixes a bug that's been pissing
me off for years.
2004-05-04 Not Zed
* e-table-item.c (eti_event): revert last patch.
(eti_attach_cell_views): add some code to reset drags and other
things as if the model changed, so we don't keep trying to run
things we shouldn't be on the view which might be changing. This
may break other things but should fix 57222 and related.
2004-05-04 Not Zed
* e-table-item.c (eti_event): if motion column is beyond our known
columns, just ignore it and don't generate a LEAVE_NOTIFY. uh,
seems to work, and fixes #57222.
2004-04-30 Jeffrey Stedfast
* e-cell-text.c (e_cell_text_class_init): Changed the int param
specs to take a min value of -1 and also defautl to -1 (-1 means
off and they should all default to the same value that they
default to in the init() function). Needed to fix bug #57304.
2004-03-10 Hao Sheng
Fixes #55198
* e-table-config.glade : Make the access key Alt+O work
2004-02-26 Not Zed
* e-table-item.c (eti_table_model_pre_change): reset
motion_row/motion_col if the model changes. See bug #54757.
2004-02-12 Rodney Dawes
* e-cell-popup.c (ecp_draw):
* e-cell-spin-button.c (ecsb_draw):
* e-table-header-utils.c (e_table_header_draw_button): Change the
shadow type for the arrows here, so that themes that do handle the
use of shadow types with arrows, draw things correctly, instead of
following what the old default gtk+ did in 1.x
2004-01-27 Radek Doulik
* e-cell-text.c (ect_print): print strikeout/underline
Fixes #32240
2003-11-19 Bolian Yin
Fixes #51139
* e-table-item.c : change the place of emitting
"selection_model_removed" signal.
2003-11-17 Mike Kestner
* e-table-config.c : use new gal_combo_* namespace.
2003-11-11 Bolian Yin
Fixes # 50480
* e-table-item: add two signals: "selection_model_removed" and
"selection_model_added"
2003-10-13 Charles Zhang
* e-table-config.c (e_table_config_new): disable apply button
when initial dialog.
* e-table-header-item.c (apply_changes): disable apply button
after applying changes.
2003-10-23 Hans Petter Jansson
* e-table-item.c (eti_get_cell_background_color): Allocate
colors using gdk_colormap_alloc_color().
2003-09-28 Charles Zhang
* e-table-config.c (do_sort_and_group_config_dialog): process
GTK_RESPONSE_DELETE_EVENT signal correctly.
* e-table-config.c (do_fields_config_dialog): the same as above
[#48815]
2003-09-11 Mike Kestner
* e-table-config.c (get_source_model_col_index): new method to
get the source model column for a specified available_model idx.
(create_global_store): save the source model index in a new col.
(config_button_add): use the new index lookup function [48153].
2003-09-11 Mike Kestner
* e-table-sort-info.c (e_table_sort_info_load_from_node):
move scnt and gcnt initialization outside the for loop [43156].
2003-08-25 Harry Lu
** For bug #47874.
* e-table-specification.c (e_table_specification_load_from_file):
check whether file exists before call xmlParseFile().
* e-table-state.c (e_table_state_load_from_file): ditto.
* e-tree-table-adapter.c (open_file): ditto.
2003-08-19 Mike Kestner
* e-cell-tree.c (draw_expander): add an expander_style param
(ect_draw): pass expander_style to draw_expander
(animate_expander): new timeout handler for expander animation
(ect_event): on !retro clicks, draw a "semi" expander and start
an animation handler to finish the animation.
2003-08-15 Mike Kestner
* e-cell-tree.c (draw_retro_expander): extracted from ect_draw
(draw_expander): new gtktreeview-like expander drawing
(ect_draw): draw lines and expanders based on retro_look style prop
(adjust_event_position): extracted method from ect_event
(event_in_expander): new checks for motion/clicks in expander
(ect_event): handle prelight for new expanders
* e-table-item.c (eti_init): init new motion col/row
(eti_event): synthesize leave_notify events for cells and propogate
existing motion events to the cells.
* e-tree.c (e_tree_class_init): add retro_look and expander_size
style props.
2003-08-12 Larry Ewing
* e-cell-toggle.c (check_cache): actually chose the right color to
composite over when caching the pixmap.
2003-08-08 Stanislav Brabec
* Makefile.am: Removed trailing backslash on last line.
2003-07-28 Mike Kestner
* e-table-config (setup_fields): map model_column to available
model row by ignoring disabled columns.
2003-06-30 Dan Winship
* e-tree.c (e_tree_init): Initialize some missing fields. Fixes
"no handler with id" warnings at evo shutdown
(ETreePriv): remove unused table_rows_{inserted,deleted}_id
(et_disconnect_from_etta): remove refs to them
* e-table.c (e_table_drag_source_unset): free site->target_list if
it's set.
2003-06-22 Hans Petter Jansson
* e-cell-text.c (get_font_for_size): Implement.
(ect_print): Use same font heuristics as evo calendar, pick a font
that fits. Correct baseline calculation.
2003-06-19 Larry Ewing
* e-table-specification.c (e_table_specification_load_from_node):
remove extra ref, the count starts at one.
* e-table-utils.c (e_table_spec_to_full_header): add_column adds a
reference, so drop the intial reference.
* e-table.c (et_real_construct):remove extra ref, count starts at
one.
2003-06-13 Mike Kestner
* e-tree.c (et_search_search): don't do the CURSOR_FIRST
checks if cursor is NULL [43523]
2003-06-13 Mike Kestner
* e-table-item.c (eti_get_cell_background_color): update to
an alt row color more consistent with gtktreeview. [44610]
2003-06-12 Mike Kestner
* e-cell-text.c (generate_layout): guard against NULL strings
* e-table-config.c (create_global_store): don't add disabled
column titles to the store. [44258]
* e-tree-table-adapter.c (e_t_t_a_node_set_expanded): don't
warn if we're trying to collapse a node that's not visible.
* e-tree.c (et_connect_to_etta): don't connect to row_inserted
and row_deleted. [43893]
2003-05-28 Mike Kestner
* e-cell-date.c (ecd_get_text): use e_utf8_strftime_fix_am_pm
and remove locale to utf8 conversion at end. [43485]
2003-05-20 Ettore Perazzoli
* e-tree.c (tree_canvas_size_allocate): to really fix 42952
use e_table_item_get_cell_geometry. Also a couple valgrind
and g_warning fixes related to this change from Mike.
2003-05-19 Mike Kestner
* e-cell-text.c (build_layout): don't call any line breaking
or justification code if the width <= 0 since it's pointless
and apparently pango likes to crash when you do. [43199]
2003-05-16 Mike Kestner
* e-cell-text.c (invisible_finalize): kill
(ect_stop_editing): destroy the invisible, not weak_unref
(e_cell_text_view_get_invisible): don't weak_ref the invisible
since we own its ref.
2003-05-16 Mike Kestner
* e-table-item.c (eti_event): fix a couple timer checks
* e-tree-table-adapter.c (update_node): Traverse POST order
so that the parent nodes are at the head of the prepended list.
Don't restore expanded state to nodes that aren't in the tree
any longer. Hopefully fixes #42856.
2003-05-15 Ettore Perazzoli
* e-tree.c (tree_canvas_size_allocate): Call
tree_canvas_reflow_idle() before deciding whether to move the
adjustment, not afterwards. [#42952]
2003-05-14 Mike Kestner
* e-tree-c (context_connect): use weak refs not datasets.
(e_tree_dispose): weak_unref the context.
Hopefully fixes 42617.
2003-05-13 Mike Kestner
* e-table-item.c (eti_event): gross hack to work around a
post dispose event emission by gtk2.0/canvas2.0 [#42622]
2003-05-09 Mike Kestner
* e-tree.c (find_next_in_range): add null check for paths
(find_prev_in_range): add null check for paths
2003-05-09 Mike Kestner
* e-table-item.c (eti_cursor_change): don't return on col == -1.
* e-tree.c (tree_canvas_size_allocate): update the adjustment
to center the cursor.
(hover_timeout): remove unused variable to fix warning
2003-05-06 Mike Kestner
* e-tree-table-adapter.c (insert_node): add missing model_changed
(etta_proxy_node_inserted): add missing model_changed
(etta_proxy_node_removed): add missing model_changed
2003-05-05 Jeremy Katz
* e-table-config.c (setup_fields): Use correct macro for int->pointer
2003-05-01 Mike Kestner
* e-cell-combo.c (e_cell_combo_selection_changed): new
(e_cell_combo_init): connect to selection_changed on popup_list
(e_cell_combo_do_popup): block selection_changed while popping up
[bug #40996]
2003-05-01 JP Rosevear
* e-table.c (et_real_construct): remove gratuitous ref
2003-04-29 Mike Kestner
* e-cell-text.c (build_layout): don't use unicode ellipsis so
that we don't break on broken font setups.
2003-04-29 Mike Kestner
* e-cell-text.c (generate_layout): don't set width on the layout
during edit
2003-04-28 Mike Kestner
* e-cell-text.c (build_layout): don't do wrapping during edit
2003-04-21 Mike Kestner
* e-cell-text.c (build_layout): use unicode ellipsis char for
breaking lines. Use g_utf8_find_prev_char and check for failure
so that we don't tight loop for small cells that can't display
any chars.
2003-04-21 Mike Kestner
* e-cell-tree.c (ect_draw): use e_tree_table_adapter_node_get_next
to determine how to draw sibling lines.
(ect_print): ditto
* e-tree-table-adapter.c (e_t_t_a_node_get_next): new
2003-04-19 Chris Toshok
[ fixes evolution bug #40464 ]
* e-table.c (e_table_class_init): use G_SIGNAL_TYPE_STATIC_SCOPE
for the GtkSelectionData args of table_drag_data_get and
table_drag_data_received.
2003-04-18 Mike Kestner
* e-cell-text.c (build_layout): if the layout splits into more
than one line, shorten it to a single line with elipses.
(generate_layout): don't ref NULL layouts
(ect_enter_edit): use g_new0 for the CellEdit
(get_position_from_xy): use generate_layout since edit->layout
isn't necessarily set here.
2003-04-17 JP Rosevear
* e-table-subset.c : add guarding for row indexing (Bug# 41497)
2003-04-16 Mike Kestner
* e-cell-text.c (build_layout): set width and alignment of layout.
(generate_layout): set width on existing layout and pass new width
param to build_layout.
(ect_draw): pass width to generate_layout
(ect_height): pass width to generate_layout
(ect_enter_edit): pass width to generate_layout
(ect_max_width): pass width to generate_layout
(ect_max_width_by_row): pass width to generate_layout
(ect_show_tooltip): pass width to generate_layout
(e_cell_text_view_command): pass width to generate_layout (Bug #37894)
2003-04-15 Hans Petter Jansson
* e-table-header-utils.c (e_table_draw_elided_string): Don't unref
the layout that was passed in.
(e_table_header_draw_button): Always unref the layout when we're
done with it.
* e-tree-table-adapter.c (e_tree_table_adapter_load_expanded_state):
Free the id when we're done with it.
2003-04-11 JP Rosevear
* e-table-one.c (one_dispose): free data here since we don't have
source in finalize
2003-04-08 Mike Kestner
* e-table-config-no-group.glade : add response ids to buttons
2003-04-08 Mike Kestner
* e-cell-text.c : break e-font dependency
2003-04-08 Mike Kestner
* e-table-config.glade : swap button order
* e-table-config-no-group.glade : swap button order
2003-04-08 Mike Kestner
* e-cell-popup.c : remove debugging g_print calls
* e-table-group-container.c : fix length_threshold prop range
* e-table-group-leaf.c : fix length_threshold prop range
* e-table-item.c : fix length_threshold prop range
2003-04-04 Mike Kestner
* e-tree-table-adapter.c (etta_sort_info_changed): guard against
root == NULL. Bug #39491.
2003-04-02 Ettore Perazzoli
* e-tree.c (e_tree_class_init): Add a G_SIGNAL_TYPE_STATIC_SCOPE
for the GTK_TYPE_SELECTION_DATA arg.
2003-04-02 Mike Kestner
* e-tree-table-adapter.c (update_node): restore expanded
state of node and all children. Fixes Ximian bug #40393.
(check_expanded): new traverser function
2003-03-31 Mike Kestner
* e-tree-table-adapter.c (kill_gnode): if killing the root
node, set it to NULL in the priv data. Bug #39441.
2003-03-24 Mike Kestner
* e-table-sort-info.c (e_table_sort_info_load_from_node):
properly parse nodes that include whitespace. bug #39896
2003-03-24 Mike Kestner
* e-tree-table-adapter.c (update_node): don't call delete_node
on the root node since generate_tree already does that. Thanks
to Antonio Xu for identifying the cause of
the bug and providing a candidate patch. Bug #38320.
2003-03-23 Chris Toshok
* e-table.c (do_drag_motion): fix UMR.
2003-03-18 Chris Toshok
* e-cell-text.h: add underline_column field.
* e-cell-date.c: add underline_column to the comment.
* e-cell-size.c: add underline_column to the comment.
* e-cell-text.c (build_layout): handle underline column.
(ect_show_tooltip): same.
(ect_set_property): same.
(ect_get_property): same.
(e_cell_text_class_init): same.
(e_cell_text_init): same.
(e_cell_text_new): add underline_column to the comment.
2003-03-18 Chris Toshok
* e-table-item.h (ETableItem): add cursor_idle_id.
* e-table-item.c (eti_idle_maybe_show_cursor): save off the
cursor_idle_id.
(eti_idle_show_cursor_cb): reset the cursor_idle_id to 0.
(eti_dispose): remove the cursor_idle_id. Fixes a crash in the
evolution select-names dialog.
2003-03-18 Mike Kestner
* e-table-header-item.c (ethi_draw): mimic Gtk's sort arrows
(ethi_start_drag): mimic Gtk's sort arrows
2003-03-18 Mike Kestner
* e-tree-selection-model.c (select_single_path): null start_path
(etsm_invert_selection): null start_path
(etsm_toggle_single_row): null start_path
(etsm_real_move_selection_end): start at start_path, not cursor
(etsm_set_selection_end): set start_path
(e_tree_selection_model_init): null start_path
2003-03-14 Mike Kestner
* e-tree-table-adapter.c (update_node): save and restore expanded
state so parents don't collapse when children are added to them.
(e_tree_table_adapter_node_is_expanded): guard against null nodes.
2003-03-05 Mike Kestner
* e-tree-model.c : fix a couple ==TRUE uses pointed out by
Morten Welinder .
2003-03-04 Dmitry Mastrukov
* e-cell-date.c (ecd_get_text): i18n fix
* e-table.c (et_real_construct): i18n fix
* e-table-config.c (create_global_store): i18n fix
* e-table-utils.c (et_col_spec_to_col): i18n fix
2003-03-04 Mike Kestner
* e-tree-selection-model.c : some cursor fixes
2003-03-04 Mike Kestner
* e-tree-selection-model.c : rewrite to store selected paths in a
hashtable instead of a tree.
* e-tree-table-adapter.c : lose the hacky orig_position api since
etsm doesn't need it anymore.
2003-02-26 Rodney Dawes
* e-tree.c (et_canvas_style_set): Add style_set to update list properly
(et_canvas_realize): Remove this as it's no longer needed with support
for the style_set implementation
2003-02-28 Mike Kestner
* e-table.c (et_drag_motion): remove alloc-based transform
(et_drag_data_received): ditto
(et_drag_drop): ditto
(do_drag_motion): ditto
2003-02-28 Mike Kestner
* e-tree.c (et_drag_motion): remove alloc-based transform
(et_drag_data_received): ditto
(et_drag_drop): ditto
(et_hover_timeout): ditto
(do_drag_motion): ditto
2003-02-20 Mike Kestner
* e-table-item.c (eti_table_model_rows_deleted): fix overzealous
g_asserts to avoid crashes when eti->rows is already updated.
2003-02-20 Mike Kestner
* e-tree-selection-model.c (etsm_orig_position): kill
(etsm_find_node_unless_equals): use new etta_orig_position
(update_parents): use new etta_orig_position
(etsm_recurse_is_path_selected): use new etta_orig_position
* e-tree-table-adapter.c (e_tree_table_adapter_orig_position): new
(resort_node): populate orig_pos, fix sorting_map bound bug
(create_gnode): initialize orig_pos
(delete_node): call resort_node so orig_pos gets updated
(insert_node): always call resort_node let it decide whether to sort
2003-02-18 Mike Kestner
* e-tree-table-adapter.c (move_map_elements): set remap_needed
2003-02-17 Chris Toshok
* e-cell-text.c (build_layout): make sure the row >= 0 before
calling value_at to calc "strikeout".
2003-02-17 Chris Toshok
* e-tree-table-adapter.c (etta_proxy_node_data_changed): return
after the e_table_model_no_change call.
(etta_proxy_node_col_changed): same.
2003-02-13 Mike Kestner
* e-tree-table-adapter.c (*_load_expanded_state): guard for
null paths if save_id lookup fails.
2003-02-13 Mike Kestner
* e-table-header-item.c (ethi_drag_motion): don't transform
based on allocation position. Position isn't absolute now.
2003-02-13 Mike Kestner
* e-table-header-utils.c (e_table_header_draw_button): kill
a double unref on the pango_layout.
2003-02-12 Hans Petter Jansson
* e-table-click-to-add.c (etcta_realize): Request a reflow on
realization, so size and placement will be correct initially.
2003-02-12 Mike Kestner
* e-tree.c (e_tree_find_next): handle reverse searches
(find_prev_in_range): reverse search impl
(et_real_construct): kill warnings
2003-02-12 Mike Kestner
* e-tree-table-adapter.c (insert_node): work around broken models
that insert children before parents. bad models.
(e_tree_table_adapter_load_expanded_state): don't update_node
(e_tree_table_adapter_node_set_expanded): recursively expand
parent if the node is not visible yet.
(e_tree_table_adapter_set_sort_info): don't resort empty trees
2003-02-10 Mike Kestner
* e-tree.c (e_tree_find_next): rewrite to use etta
(find_next_in_range): helper func to search a range of rows
(find_next_callback): kill
2003-02-06 Mike Kestner
* e-tree-table-adapter.c (resort_node): index bound bug
(insert_children): prepend/reverse for now
(generate_tree): resize old map to zero before filling it again
(insert_node): fix assumption that root parent node has an index
2003-02-06 Not Zed
* e-tree-table-adapter.c (delete_node): use the parent path to
find the parent node rather than the row, which is not valid for
the root node, which still needs its visible child count updated.
2003-02-05 Dan Winship
* e-table-config.c (config_class_init): Replace deprecated
glade_gnome_init() call with glade_init().
* e-table-field-chooser.c (e_table_field_chooser_class_init):
Likewise.
2003-02-03 Mike Kestner
* e-tree-selection-model.c : remove e-tree-sorted usage
* e-tree-table-adapter.* : rewrite to perform sorting
* e-tree.c : remove e-tree-sorted usage
2003-01-27 Jody Goldberg
* Release 1.99.1
2003-01-23 Larry Ewing
* e-table-click-to-add.c (e_table_click_to_add_commit): destroy
canvas items to removing them, simply unrefing them is not
sufficient.
2003-01-22 Ettore Perazzoli
* e-tree-table-adapter.c
(e_tree_table_adapter_load_expanded_state): Call
e_table_model_pre_changed() only once so we dont' get the table in
a frozen state after returning from here.
2003-01-15 Jeffrey Stedfast
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): Same here.
* e-table-state.c (e_table_state_save_to_file): Same as below.
* e-table-specification.c (e_table_specification_save_to_file):
Back to using e_xml_save_file(). Not sure we can really trust
xmlSaveFile (sure as hell couldn't in the libxml-1.x days),
besides, e_xml_save_file protects against corruption due to not
enough disk space.
2003-01-15 Not Zed
* e-cell-tree.c (ect_draw): If we set a clip rectangle, clear it
after we've finished.
2002-01-10 Mike Kestner
* e-table-item.c (eti_table_model_rows_deleted): revert broken fix
2002-12-18 Chris Toshok
* e-table-group-container.c (etgc_dispose): free the children
before we free and dispose of our ecol, since
e_table_group_container_child_node_free depends on it. Fixes a
crash.
2002-12-18 Chris Toshok
* e-table-header-item.c (ethi_popup_customize_view): pass NULL for
parent_window for e_table_config_new.
* e-table-config.glade, e-table-config-no-group.glade: switch from
GnomePropertyBox to GtkDialog, remove the extra notebook widget
from the heirarchy, and set all the subdialogs modal.
* e-table-config.h: add parent_window arg to
e_table_config_{new,construct}.
* e-table-config.c (config_dialog_changed): new function, not
really needed yet since the apply/ok buttons are never
insensitive.
(config_get_property): handle the "state" read-only property.
(config_class_init): put back in the "state" property that was
deleted during the merge from the gal-2 branch (it looks like).
(do_sort_and_group_config_dialog): set the sort/group dialog
transient for the e-table-config dialog, and
gnome_property_box_changed -> config_dialog_changed.
(do_fields_config_dialog): same, but with the fields dialog.
(dialog_response): response handler for the e-table-config dialog.
(setup_gui): remote the hide button/notebook code, since neither
of those widgets exist anymore in this dialog, and remove the
"apply" signal and connect to "response", since we're a GtkDialog
dialog instead of a GnomePropertyBox.
(e_table_config_construct): take a parent_window arg, and
set_transient_for if it's non-NULL.
(e_table_config_new): take parent_window arg and pass to
construct.
2002-12-16 Chris Toshok
* e-cell-text.c (_get_tep): edit->tep isn't a GtkObject anymore.
2002-12-16 Chris Toshok
* e-table-header-utils.c (e_table_draw_elided_string): pass in the
pango layout so we don't have to create another one here. Also,
elide the string properly (same method that e-clipped-label uses)
and simplify the extent operations.
(e_table_header_compute_height): just use
pango_layout_get_pixel_size here.
(e_table_header_draw_button): make sure the clip rectangle is
NULL'ed on our gc, since random gtk calls seem to install one,
which sucks. Also, simplify the pango layout stuff a little.
2002-12-16 Chris Toshok
* e-table.c (et_real_construct): remove obvious double g_strdup.
* e-table-header-item.c (ethi_header_context_menu): ref/sink the
popup.
* e-table-field-chooser.c (e_table_field_chooser_init): use
gtk_widget_show_all so our custom widget gets displayed.
2002-12-13 Mike Kestner
* e-table-item.c (eti_table_model_rows_deleted): valgrindage
2002-12-05 Jeffrey Stedfast
* e-table-extras.c (ete_init): Add a "collate" sort callback that
uses the new g_collate_compare().
2002-12-03 Hans Petter Jansson
* e-table.c (e_table_get_state_object): Don't leak old sort info.
2002-12-03 Not Zed
* e-tree-memory.c (etmm_dispose): make this a dispose rather than
finalise. Crashes on finalise otherwise.
2002-11-26 Ettore Perazzoli
* e-table-memory-store.c (etms_finalize): Call
e_table_memory_store_clear().
(e_table_memory_store_clear): Free the values.
(e_table_memory_store_remove): Likewise.
2002-11-18 Chris Toshok
* e-table-config.c (connect_button): take GCallback, not
GtkSignalFunc.
(configure_sort_dialog): show the custom widget.
(configure_group_dialog): same.
(configure_fields_dialog): same, also pass G_CALLBACK (func),
instead of GTK_SIGNAL_FUNC (func), to connect_button.
(setup_gui): pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC
(func), to connect_button.
* Makefile.am (glade_DATA): remove e-table-group.glade, since we
don't use it anyplace.
2002-11-16 Chris Toshok
* e-table.c (set_scroll_adjustments): check for
table->table_canvas == NULL.
* e-table-item.c (eti_dispose): guard eti->tooltip.
2002-11-16 Chris Toshok
* e-cell-checkbox.[ch]: GObject port work.
* e-cell-combo.[ch]: same.
* e-cell-date.[ch]: same.
* e-cell-float.[ch]: same.
* e-cell-number.[ch]: same.
* e-cell-pixbuf.[ch]: same.
* e-cell-popup.[ch]: same.
* e-cell-progress.[ch]: same.
* e-cell-size.[ch]: same.
* e-cell-spin-button.[ch]: same.
* e-cell-text.[ch]: same.
* e-cell-toggle.[ch]: same.
* e-cell-tree.[ch]: same.
* e-cell-vbox.[ch]: same.
* e-cell.[ch]: same.
* e-table-col.c: same.
* e-table-column.c: same.
* e-table-config-field.[ch]: same.
* e-table-config.c: same.
* e-table-config.glade: same.
* e-table-field-chooser-dialog.[ch]: same.
* e-table-field-chooser-item.[ch]: same.
* e-table-field-chooser.[ch]: same.
* e-table-group-container.[ch]: same.
* e-table-group-leaf.[ch]: same.
* e-table-group.[ch]: same.
* e-table-header-item.[ch]: same.
* e-table-header-utils.[ch]: same.
* e-table-header.c: same.
* e-table-item.[ch]: same.
* e-table-scrolled.[ch]: same.
* e-table-utils.c: same.
* e-table.[ch]: same.
* e-tree-memory-callbacks.h: same.
* e-tree-scrolled.[ch]: same.
* e-tree-sorted-variable.c: same.
* e-tree.[ch]: same.
* test-check.c: same.
* test-cols.c: same.
* test-table.c: same.
2002-11-14 Chris Toshok
* e-table-header-item.c (ethi_popup_customize_view): fix typo.
2002-11-14 Chris Toshok
* e-table-header-item.c (ethi_popup_customize_view): ETableConfig
derives from GObject (fix warnings).
* e-table.c: deal with ESorter deriving from GObject.
* e-table-sorter.[ch]: this derives from GObject now.
2002-11-14 Chris Toshok
* e-table-item.c: deal with ESelectionModel no longer deriving
from GtkObject.
* e-table.c: same.
* e-tree.c: same.
* e-table-config.c (do_fields_config_dialog): use GtkDialog's
reponse instead of GnomeDialog's button.
* e-table-click-to-add.[ch]: GObjectify this.
* e-table-selection-model.[ch]: this derives from GObject now.
* e-tree-selection-model.[ch]: same.
2002-11-14 Chris Toshok
* e-table-without.[ch]: this subclasses from GObject now, not
GtkObject. don't use GtkObject (especially casts to it) inside
the code.
* e-table-config-no-group.glade: libglade-convert.
* e-table-config.glade: same.
* e-table-field-chooser.glade: same.
* e-table-group.glade: same.
2002-11-13 Chris Toshok
* e-table.c (e_table_class_init): register the signals with
g_signal_new.
2002-11-08 Chris Toshok
* e-table-memory-store.h: correct the GET_CLASS macro.
* e-table-one.h: same.
* e-table-sorted.h: same.
* e-table-subset.h: same.
* e-tree-sorted-variable.h: same.
* e-tree-table-adapter.h: same.
2002-11-05 Mike Kestner
* e-table-sorted-variable.[ch] : GObjectify
* e-tree-sorted-variable.[ch] : GObjectify
2002-11-05 Mike Kestner
* e-cell-text.c : remove ref/unref G_OBJECT masks
* e-table-extras.c : ditto
* e-table-header-item.c : ditto
* e-table-item.c : ditto
* e-table-memory-store.c : ditto
* e-table-one.c : ditto
* e-tree-sorted.c : ditto
* e-tree-table-adapter.c : ditto
* e-tree.c : ditto
2002-11-05 Mike Kestner
* e-table-col.[ch] : GObjectify
* e-table-column-specification.[ch] : GObjectify
* e-table-config.[ch] : GObjectify
* e-table-group-leaf.c : use GObject api for models
* e-table-group.c : use GObject api for models
* e-table-header-item.c : use GObject api for models
* e-table-header.c : use GObject api for models
* e-table-selection-model.c : use GObject api for models
* e-table-sort-info.[ch] : GObjectify
* e-table-sorted.[ch] : GObjectify
* e-table-sorter.c : use GObject api for models
* e-table-specification.c : use GObject api for models
* e-table-state.[ch] : GObjectify
* e-table-subset-variable.[ch] : GObjectify
* e-table-subset.[ch] : GObjectify
* e-table.c : use GObject api for models
2002-11-05 Mike Kestner
* e-table-item.c : use GObject api for models
* e-table-memory-callbacks.[ch] : GObjectify
* e-table-memory-store.[ch] : GObjectify
* e-table-memory.[ch] : GObjectify
* e-table-model.[ch] : GObjectify
* e-table-one.[ch] : GObjectify
* e-table-simple.[ch] : GObjectify
* e-tree-memory.[ch] : GObjectify
* e-tree-model.[ch] : GObjectify
* e-tree-selection-model.c : use GObject api for models
* e-tree-simple.[ch] : GObjectify
* e-tree-sorted.[ch] : GObjectify
* e-tree-table-adapter.[ch] : GObjectify
* e-tree.c : use GObject api for models
2002-11-04 Mike Kestner
* e-table-group.c : use GObject api for ETableHeader
* e-table-header-item.c : use GObject api on ETableHeader
* e-table-header.[ch] : GObjectify
* e-table-item.c : use GObject api on ETableHeader
* e-table-search.[ch] : GObjectify
* e-table-sorted.c : use GObject api for ETableHeader
* e-table-sorter.c : use GObject api for ETableHeader
* e-table-specification.[ch] : GObjectify
* e-table-utils.c : use GObject api for ETableHeader
* e-tree-sorted.c : use GObject api for ETableHeader
* e-tree.c : use GObject api on Header, Spec, and Search
2002-11-01 Mike Kestner
* e-table-extras : gobjectify
* e-tree.c (et_real_construct): ETableExtra is now a GObject
(e_tree_class_init): remove duplicated signals
2002-10-26 Jody Goldberg
* Release 2.0.0.7
2002-10-24 Mike Kestner
* e-tree.c (e_tree_set_state_object): call e_tree_state_change
2002-10-24 Chris Toshok
* e-table-memory-store.h: add prototypes for the _change*
functions.
* e-table-memory-store.c (e_table_memory_store_change_array): new
function, mostly c&p from _insert_array.
(e_table_memory_store_change): new function, mostly c&p from
_insert.
(e_table_memory_store_change_adopt_array): new function, mostly
c&p from _insert_adopt_array.
(e_table_memory_store_change_adopt): new function, mostly c&p from
_insert_adopt.
2002-10-18 JP Rosevear
* e-table-item.c (eti_cursor_activated): don't emit a signal if we
couldn't find the view row
2002-10-02 Mike Kestner
* e-table-search.c (e_table_search_destroy): call drop_timeout
2002-09-27 Mike Kestner
* e-table-item.c (eti_get_cell_foreground_color): use the fg color
array in style, not text color. Change requested by Chris Lahey.
2002-09-24 Mike Kestner
* e-tree.c (e_tree_set_search_column): New api to set the search
column on a tree without having to set a sort column.
2002-09-18 Mike Kestner
* e-tree-model.c (e_tree_model_is_expandable): guard against NULL
nodes.
2002-09-18 Dan Winship
* e-table.c (et_real_construct): Set the selection model's
selection_mode after setting the table model, or things will break
in the GTK_SELECTION_SINGLE case if the table doesn't start out
empty.
2002-09-17 Mike Kestner
* gal/e-table/e-table-item.c (eti_event): exit editing on dblclick.
ungrab based on grabbed_count. unset grabbed_col and grabbed_row
on ungrab.
2002-09-13 Jody Goldberg
* Release 2.0.0.6
2002-09-10 Mike Kestner
* gal/e-table/e-table-item.c (eti_event): allow keypress handling
for cursor_col==-1 as long as cursor_row isn't -1 also so that e-tree
searching works without click focusing an item.
2002-08-29 Morten Welinder
* e-table.c (et_destroy): Protect against double destroy.
* e-cell-text.c (generate_layout): Handle row==-1 brutally.
(build_layout): Handle row==-1 and constify.
* e-table-search.c (e_table_search_class_init): Use INT, not ENUM
signal argument.
2002-08-06 Jody Goldberg
* Release 2.0.0.5
2002-08-06 Jeffrey Stedfast
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): And finally here.
* e-table-state.c (e_table_state_save_to_file): Same here.
* e-table-specification.c (e_table_specification_save_to_file): No
need to save to a temp file first here either since
e_xml_save_file now does that for us.
* e-table.c (e_table_save_specification): No need to handle
writing to a temp file first anymore, since I've updated
e_xml_save_file() to handle that for us.
2002-08-06 Jeffrey Stedfast
* e-cell-progress.c: #include for memset
* e-table.c (e_table_save_specification): Updated to use
e_xml_save_file() instead of xmlSaveFile(). Also fixed to save to
a tmp file first.
* e-table-specification.c (e_table_specification_save_to_file):
Same as above.
* e-table-state.c (e_table_state_save_to_file): Same here.
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): And here too.
2002-07-23 Ettore Perazzoli
* e-tree.c (item_key_press): In the case of '-' and '=', check
that no non-Shift modifier is pressed.
2002-07-19 Christopher James Lahey
* e-tree-table-adapter.c (find_next_node, find_first_child_node):
Made these able to find the potential row for a new node which
will be the last row.
(find_row_num): Made this handle find_next_node and
find_first_child_node returning n_map.
2002-06-18 JP Rosevear
Patch by clahey.
* e-table.c (et_get_arg): get the use_click_to_add value
(et_set_arg): set the use_click_to_add_value, and either display
the item or destroy it
(e_table_class_init): add the use_click_to_add arg
2002-06-18 Christopher James Lahey
* e-cell-text.c: Major change. Ported this to pango.
2002-06-14 Christopher James Lahey
* e-table.c, e-table.h: Removed the drag_get_data_row and
drag_get_data_col fields since they're not used any longer.
(e_table_construct): If specification loading fails, return a NULL
ETable instead of just ignoring it.
(e_table_drag_highlight): Only destroy table->drop_highlight if it
exists.
* e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact
with the popup button if a cell isn't editable (based on a patch
by JPR.)
* e-table-col.c, e-table-col.h: Added the compare_col field to
this structure. Added a GtkArg to set it.
* e-table-column-specification.c, e-table-column-specification.h:
Added the compare_col field here. Made it load properly from xml.
* e-table-sorting-utils.c: Sort based on the compare_col in the
ETableCol instead of the col_idx.
* e-table-utils.c (et_col_spec_to_col): Set the compare_col field
in the ETableCol properly.
2002-06-05 Christopher James Lahey
* e-table-field-chooser-item.c: Added debugging printfs.
* e-table-header-item.c: Added debugging printfs.
(ethi_drag_motion): Don't subtract widget->allocation.* here. It
seems that this value is affected by whether the table is using a
click to add field. Not sure why.
* e-table-item.c (eti_realize): Check for NULL selection here.
2002-06-05 Christopher James Lahey
* e-tree-model.c (d): Added debugging printfs.
* e-tree-sorted.c (ets_proxy_node_changed,
ets_proxy_node_data_changed, ets_proxy_node_col_changed,
ets_proxy_node_inserted): Added a bunch of e_tree_model_no_change
signals where appropriate.
* e-tree-table-adapter.c (etta_proxy_node_changed): Added an
e_table_model_no_change signal where appropriate.
2002-06-05 Christopher James Lahey
* e-table-item.c (eti_realize): Made it so that on realize we grab
focus if we have the cursor, since otherwise, we'll change our
selection on focus in.
2002-06-04 Christopher James Lahey
* e-table-header.c, e-table-header.h
(e_table_header_prioritized_column_selected): Added this function.
* e-table-utils.c, e-table-utils.h
(e_table_util_calculate_current_search_col): Added this function.
* e-table.c, e-table.h, e-tree.c: Added a "always_search"
argument. If this is off, then searches only occur if there's
sort. If it's on, sort takes precendence in doing searches,
followed by the highest priority column shown.
2002-06-04 Christopher James Lahey
* e-cell-text.c: Use g_getenv instead of getenv.
* e-table-item.c (eti_event): Reenable tooltips if the
GAL_DO_TOOLTIPS environment variable is set.
2002-06-03 Christopher James Lahey
* e-cell-text.c (ect_style_set): Get the font from the style again
when the style changes.
(init): Checks for the environment variable GAL_ELLIPSIS and uses
that instead of ... if it is set.
* e-table-click-to-add.c (finish_editing): e_table_item_leave_edit
before committing.
(etcta_event): Added a missing break; here.
* e-table-item.c (eti_style_set): On style set, free the height
cache, request a reflow and a redraw, and call
eti_idle_maybe_show_cursor.
(e_table_item_compute_location): Don't call eti_get_height here,
just use the cached value.
* e-tree.c, e-tree.h (e_tree_get_table_adapter): Added this simple
accessor function.
2002-05-29 Jody Goldberg
* Release 2.0.0.4
2002-05-24 Christopher James Lahey
* e-tree-table-adapter.c
(e_tree_table_adapter_node_would_be_expanded,
e_tree_table_adapter_node_is_expanded): Added would_be_expanded
refactoring code out of is_expanded.
(find_first_child_node_maybe_deleted): Use the new function.
2002-05-21 Christopher James Lahey
* e-tree-sorted.c (ets_proxy_node_request_collapse): Check for
path being NULL.
* e-tree-table-adapter.c
(e_tree_table_adapter_load_expanded_state): Rebuild the tree after
loading the state.
2002-05-13 Christopher James Lahey
* e-tree-table-adapter.c: Changed a lot of direct uses in this
file of node->is_expanded to call the function
e_tree_table_adapter_node_is_expanded instead.
(e_tree_table_adapter_node_is_expanded): Improved this function to
know if the root node is visible and always return it as being
expanded if it's not. It also doesn't bother creating nodes if
they don't exist yet, and instead figures out whether they would
be expanded if they were to be created and returns that value
instead.
2002-05-10 Christopher James Lahey
* e-table-search.c: Include string.h here.
2002-05-09 Dan Winship
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): Bump file version to 2.
(This will make older versions of gal ignore the file, fixing the
problem where going from evo HEAD to evo 1.0.x makes the folder
tree disappear.) Store the default expanded state in the file now
to prevent this from happening again in the future.
(e_tree_table_adapter_load_expanded_state): Deal with version 2.
If the model's default expansion state doesn't match the saved
state, ignore the save file.
2002-05-09 Christopher James Lahey
* e-table-item.c, e-table-item.h: Switched from
gnome_canvas_item_grab to e_canvas_item_grab.
2002-05-02 Christopher James Lahey
* e-tree-selection-model.c
(etsm_selected_count_recurse): Moved the check for
any_children_selected_down so that a selected node with no
selected children will still get counted.
(etsm_select_all): When setting all_children_selected and
any_children_selected to TRUE, don't bother creating arrays for
them since that's unnecessary.
2002-05-02 Christopher James Lahey
* e-table-click-to-add.c (finish_editing): Add horizontal dividers
here too.
* e-table-config.c (create_global_store): Translate column headers
here.
* e-table-header-item.c (ethi_header_context_menu): Use
e_popup_menu_create_with_domain here.
* e-table-header-utils.c (e_table_header_draw_button): Translate
from utf8 here before drawing.
* e-table-memory-store.c, e-table-memory-store.h
(e_table_memory_store_insert_adopt_array): Changed the name of
this function from e_table_memory_store_insert_adopt.
(e_table_memory_store_insert_adopt): Added this function which
takes a ... list.
* e-table-utils.c (et_col_spec_to_col): Translate column titles to
utf8 here.
2002-05-02 Christopher James Lahey
* e-table-click-to-add.c: Added horizontal dividers to this item
when in table mode.
* e-table.c, e-tree.c: Made the background be an
e-canvas-background instead of a
* e-tree.c, e-tree.h: Added a white_space_event for feature parity
with ETable.
2002-05-01 Christopher James Lahey
* e-table-config.c, e-table-config.h, e-table-specification.c,
e-table-specification.h, e-table-utils.c, e-table-utils.h,
e-table.c, e-table.h: Made these pay attention to the
gettext-domain in the etspec.
* e-table-config.c: Set the gettext-domain in the etspec here.
2002-04-29 Christopher James Lahey
* e-table-item.c (eti_cursor_change): Redraw a row that is no
longer the cursor even if this item isn't getting the new cursor.
2002-04-29 Christopher James Lahey
* e-tree.c, e-tree.h (e_tree_path_foreach): Added this function
which recurses over all nodes, regardless of selection.
2002-04-26 Christopher James Lahey
* e-table-field-chooser-item.c (etfci_maybe_start_drag): Take an
int instead of a double. From a patch by jody@ximian.com.
2002-04-26 Christopher James Lahey
* e-table-state.c (etst_destroy): Only unref etst->sort_info once.
2002-04-26 Christopher James Lahey
* e-table-model.c (e_table_model_value_at), e-tree-model.c
(e_tree_model_value_at): Documented the life cycle requirements of
the return value of these functions.
2002-04-26 Christopher James Lahey
* e-table-memory-store.c (e_table_memory_store_adopt_value_at,
etms_set_value_at): Added calls to e_table_model_pre_change here
so that the ETableItem doesn't unfreeze more times than it
freezes.
2002-04-25 Christopher James Lahey
* e-tree-selection-model.c (etsm_selected_count_recurse,
etsm_foreach_recurse): Made these handle the case where
all_children_selected_array has a bit set, but the children of
that node aren't filled in.
2002-04-25 Christopher James Lahey
* e-cell-checkbox.c, e-cell-combo.c, e-cell-date.c,
e-cell-float.c, e-cell-number.c, e-cell-pixbuf.c, e-cell-popup.c,
e-cell-size.c, e-cell-spin-button.c, e-cell-text.c,
e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h,
e-table-click-to-add.c, e-table-col.c,
e-table-column-specification.c, e-table-config-field.c,
e-table-config.c, e-table-extras.c,
e-table-field-chooser-dialog.c, e-table-field-chooser-item.c,
e-table-field-chooser.c, e-table-group-container.c,
e-table-group-leaf.c, e-table-group.c, e-table-header-item.c,
e-table-header.c, e-table-item.c, e-table-memory-callbacks.c,
e-table-model.c, e-table-scrolled.c, e-table-selection-model.c,
e-table-sort-info.c, e-table-sorted-variable.c, e-table-sorted.c,
e-table-sorter.c, e-table-specification.c, e-table-state.c,
e-table-subset-variable.c, e-table-subset.c, e-table-without.c,
e-table.c, e-table.h, e-tree-scrolled.c, e-tree-selection-model.c,
e-tree-sorted-variable.c, e-tree-sorted.c, e-tree-table-adapter.c,
e-tree.c: Ansification patch from danw.
2002-04-24 JP Rosevear
* e-cell-pixbuf.c (pixbuf_print): implement printing
(pixbuf_print_height): implement print height
(e_cell_pixbuf_class_init): set printing virtual methods
* e-cell-toggle.c (etog_print): remove clipping, default clipping
is done by the table, scale based on toggle height
* e-table-item.c (e_table_item_calculate_print_widths): make the
scale 1:1
2002-04-24 Christopher James Lahey
* e-table-config.c (create_global_store): Changed this to match
the new e_table_memory_store_insert function prototype.
2002-04-22 Christopher James Lahey
* e-table-memory-store.c, e-table-memory-store.h: Renamed the
insert functions in this class to make a bit more sense.
2002-04-19 Jeffrey Stedfast
* e-table-state.c (etst_destroy): Unref the sort_info.
* e-cell-toggle.c (etog_kill_view): After unreffing all the
pixmaps, free the toggle_view->pixmap_cache.
* e-table-search.c (e_table_search_destroy): Free the
priv->search_string and priv itself. More memory leak fixage.
* e-tree.c (e_tree_drag_source_unset): Unref site->taget_list so
we don't leak memory.
2002-04-19 JP Rosevear
* e-cell-toggle.c (etog_print): print the cell in the allotted
area
(etog_print_height): return the print height
2002-04-17 Christopher James Lahey
* e-table-header-item.c: Updated this to match the new EPopupMenu.
2002-04-11 Christopher James Lahey
* e-table-header-item.c (ethi_header_context_menu): Fixed a memory
leak here by using the "selection-done" signal.
* e-table.c, e-table.h (white_item_event): Added the
"white_space_event" signal.
2002-03-26 Chris Toshok
* Makefile.am: remove comment about adding .lo's to the parent
directory's Makefile.am.
2002-03-25 Christopher James Lahey
* e-table-memory-store.c (e_table_memory_store_insert,
e_table_memory_store_insert_adopt, e_table_memory_store_remove):
Call the parent function after doing all the internal work so that
when the changed signal goes out, our work is already done.
2002-03-20 Christopher James Lahey
* e-table-header-item.c: Adjust this to handle the new EPopupMenu
API.
2002-03-15 Christopher James Lahey
* e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set.
* e-cell.c, e-cell.h (e_cell_style_set): Added this virtual
method.
* e-table-item.c, e-table-item.h: Call e_cell_style_set in out
style_set signal.
2002-03-15 Christopher James Lahey
* e-cell-toggle.c: Add a GdkPixmap * cache of rendered toggle
images. This should considerably speed up over the wire
performance of ECellToggle.
2002-03-15 Christopher James Lahey
* e-table-header.c, e-table-header.h (e_table_header_min_width):
New function that returns the total minimum width of all the
columns.
* e-table.c, e-table.h (set_header_width): Call
e_table_header_min_width here instead of total_width.
(et_size_request): Override the size_request method instead of
doing set_usize.
2002-03-14 Ettore Perazzoli
* e-tree.c (item_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.
* e-table.c (group_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.
2002-03-14 Christopher James Lahey
* e-cell-text.c: Implemented capitalization keybindings.
* e-tree.c (item_key_press): Added parentheses to the default case
here.
2002-03-14 Christopher James Lahey
* e-table-search.c, e-table-search.h (e_table_search_backspace):
Made this return a boolean that returns whether the ETableSearch
used the backspace at all.
* e-table.c (group_key_press), e-tree.c (item_key_press): Used the
new return value from e_table_search_backspace.
2002-03-13 Christopher James Lahey
* e-cell-pixbuf.c, e-cell-pixbuf.h (pixbuf_draw): Added
selected_column, focused_column, and unselected_column.
2002-03-13 Christopher James Lahey
* e-table-search.c, e-table-search.h (e_table_search_backspace):
Added this function.
* e-table.c, e-tree.c: Call the new function on backspace.
2002-03-13 Christopher James Lahey
* e-table-extras.c (e_string_search): Check for a NULL haystack
here.
* e-table-search.c, e-table-search.h: Added a parameter to the
search signal here to pass in flags. Specifically, added the
E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag. Improved the search
behavior here.
* e-table.c, e-tree.c: Handle the new signature for the search
signal here.
2002-03-13 Christopher James Lahey
* e-tree.c: Added ETableSearch support.
2002-03-12 Christopher James Lahey
* e-table-memory-store.c, e-table-memory-store.h: Added support
for E_TABLE_MEMORY_STORE_OBJECT which represents a column storing
a GtkObject.
2002-03-12 Christopher James Lahey
* e-cell-vbox.c (ecv_draw): Give the correct height to the
subcells instead of overlapping them.
* e-table-header.c, e-table-header.h (e_table_header_move,
eth_calc_widths): Emit the dimension_changed signal with the width
of the header.
* e-table-memory-store.c (duplicate_value, etms_free_value):
Handle NULL pixbufs here.
* e-table.c, e-table.h: Connect to the dimension_changed signal
and call set_header_width. Did a bit of refactoring here.
2002-03-12 Christopher James Lahey
* Makefile.am (libetable_la_SOURCES): Added e-table-search.c.
(libetableinclude_HEADERS): Added e-table-search.h.
* e-cell.h: Added ETableSearchFun here.
* e-table-column-specification.c, e-table-column-specification.h:
Added search here.
* e-table-col.h: Added search here.
* e-table-extras.c, e-table-extras.h (e_table_extras_add_search):
Added ETableSearchFuncs here.
* e-table-memory-store.c (e_table_memory_store_insert,
e_table_memory_store_insert_adopt): Handle row == -1 here.
* e-table-search.c, e-table-search.h: New class to reusably handle
the semantics of searching for a string.
* e-table-simple.c, e-table-simple.h: Added a bunch of simple
functions here for if your table is all strings. Should be
reusable.
* e-table-utils.c (et_col_spec_to_col): Added support for searches
here.
* e-table.c, e-table.h: Added an ETableSearch here.
2002-03-11 Christopher James Lahey
* e-tree-sorted.c (ets_proxy_node_request_collapse): Proxy
request_collapse signals.
2002-03-11 Christopher James Lahey
* Makefile.am (libetable_la_SOURCES): Added e-cell-vbox.c.
(libetableinclude_HEADERS): Added e-cell-vbox.h.
* e-cell-vbox.c, e-cell-vbox.h: New ECell to take multiple other
ECells and use them all in a vertical series.
2002-03-11 Christopher James Lahey
* e-table-memory-store.c (e_table_memory_store_insert_list): Added
this function to take a ... list of column data. The expected
number of parameters in the ... is the number of columns in the
table.
2002-03-11 Christopher James Lahey
* e-table-memory-store.c, e-table-memory-store.h
(E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type.
* e-table-specification.c, e-table-specification.h: Added
horizontal-resize attribute.
* e-table.c, e-table.h: Handle horizontal_resize.
2002-03-08 Christopher James Lahey
* e-tree-memory.c (etmm_node_request_collapse): Handle a collapse
request by marking all descendents of that node as needing their
children recomputed.
* e-tree-model.c, e-tree-model.h
(e_tree_model_node_request_collapse): Added this signal to request
that the view of your tree collapse this node.
* e-tree-selection-model.c (etsm_selected_count): Pass the root of
the sorted model here instead of the root of the base model.
* e-tree-table-adapter.c (etta_proxy_node_request_collapse):
Handle a collapse request by collapsing the node in the tree.
2002-03-08 Christopher James Lahey
* e-tree-memory.c, e-tree-memory.h (check_children): Added a
fill_in_children signal.
2002-03-05 Dan Winship
* e-table-item.c: Re-disable tooltips since they're (still)
fantastically obnoxious with focus-follows-mouse. (OKed by Ettore).
2002-03-04 Damon Chaplin
* e-cell.c (e_cell_print): only call the cell's print method if it has
one. Avoids crashing for unimplemented print methods.
2002-02-21 Christopher James Lahey
* Makefile.am (libetable_la_SOURCES): Added
e-table-memory-store.c.
(libetableinclude_HEADERS): Added e-table-memory-store.h.
* e-table-config-no-group.glade, e-table-config.glade: Updated
these.
* e-table-config.c, e-table-config.h: Updated this to have a
working field list editor.
* e-table-memory-store.c, e-table-memory-store.h: New ETableModel
that is a complete store of all the data in your table. No
callbacks at all.
* e-table-subset-variable.c, e-table-subset-variable.h
(e_table_subset_variable_clear): Added this simple function
* e-table-subset.c (etss_get_save_id): Made this return the row
number g_strdup_printfed if the source model doesn't support save
ids.
2002-02-20 Christopher James Lahey
* e-table-sorter.c, e-table-sorter.h: Connect to the
model_rows_inserted, model_rows_deleted, and group_info_changed
here.
2002-02-19 Christopher James Lahey
* e-tree-selection-model.c (e_tree_selection_model_init):
Initialize frozen_count to 0.
2002-02-13 Christopher James Lahey
* e-table-item.c (eti_event): Make the defalut for tooltips be on.
2002-02-12 Christopher James Lahey
* e-table-item.c (eti_unrealize): Cancel tooltip timeouts here.
2002-02-08 Christopher James Lahey
* e-table.c (et_unrealize), e-tree.c (et_unrealize): Call
scroll_off and in e-tree.c hover_off.
2002-02-07 Christopher James Lahey
* e-cell-text.c: Added empty case for E_TEP_CAPS. Needs to be
filled in for M-l, M-c, and M-u to work in ETable.
* e-table-header.c, e-table-header.h (expansion_change): New
signal that gets emitted whenever the expansions change. Used in
state_changed for ETable and ETree.
* e-table.c, e-table.h, e-tree.c, e-tree.h (state_change): New
signal that gets emitted whenever the ETableState that would be
generated here changes.
2002-01-31 Christopher James Lahey
* e-tree-model.c (e_tree_model_node_find): Made this function much
more readable. Got rid of all the gotos. Fixed a case where
going backwards during a root search checked the root node first.
(e_tree_model_node_real_traverse): Made backwards traversals be
postorder, as they should be, instead of preorder.
* e-tree.c (find_next_callback): Use an extra callback function
here to go from sorted path to model path.
2002-01-31 Christopher James Lahey
* e-tree.c, e-tree.h (e_tree_find_next): Make this function take a
bitfield of parameters instead of two bools.
2002-01-31 Christopher James Lahey
* e-tree-selection-model.c, e-tree-selection-model.h
(e_tree_selection_model_get_cursor): Added this simple accessor
function.
* e-tree.c, e-tree.h (e_tree_find_next): Searches from the cursor
given the search parameters and moves the cursor if it ever
matches.
2002-01-31 Christopher James Lahey
* e-tree-model.c, e-tree-model.h (e_tree_model_node_find): New
function to do a search through a tree in one direction or the
other.
2002-01-21 Christopher James Lahey
* e-cell-text.c: Implement max_width_by_row.
* e-cell-tree.c: Use max_width_by_row in max_width function.
* e-cell.c, e-cell.h (e_cell_max_width_by_row): Added this new
method to ECell.
2002-01-16 Krisztian Pifko
* e-cell-progress.c, e-cell-progress.h: new file, implements the
ECellProgress object.
* Makefile.am (libetable_la_SOURCES, libetableinclude_HEADERS):
added e-cell-progress.c and e-cell-progress.h.
2002-01-16 Christopher James Lahey
* e-cell-checkbox.h, e-cell-date.h, e-cell-float.h,
e-cell-number.h, e-cell-size.h, e-cell-text.h, e-cell-toggle.h,
e-cell-tree.h, e-cell.h, e-table-click-to-add.h,
e-table-col-dnd.h, e-table-config-field.h, e-table-extras.h,
e-table-field-chooser-item.h, e-table-group-container.h,
e-table-group-leaf.h, e-table-group.h, e-table-header-item.h,
e-table-item.h, e-table-scrolled.h, e-table-sorter.h,
e-table-tooltip.h, e-table-tree.h, e-table-utils.h, e-table.h,
e-tree-scrolled.h, e-tree-sorted-variable.h, e-tree.h: Added
#include .
2002-01-15 Christopher James Lahey
* e-cell.c, e-cell.h (e_cell_save_state, e_cell_load_state,
e_cell_free_state): New functions for saving selection state and
such.
* e-cell-text.c (ect_save_state): Implemented the new state
functions.
* e-table-item.c, e-table-item.h: Use the new cell state functions
when focusing in or out. Fixes Ximian bug #14968.
2002-01-09 Christopher James Lahey
* e-table-header-item.c, e-table-header-item.h (scroll_timeout):
Made the header item here handle horizontal scrolling when adding
a column. Fixes Ximian bug #7078.
2002-01-09 Christopher James Lahey
* e-table.c, e-table.h (scroll_timeout), e-tree.c
(scroll_timeout): Made these handle horizontal scrolling during
drags.
2002-01-09 Christopher James Lahey
* e-tree.c (collapse_drag): Collapse nodes that were opened during
a drag, unless the drop site is a child node. Fixes Ximian bug
#4965.
2001-12-17 Christopher James Lahey