2001-09-19 JP Rosevear <jpr@ximian.com>
* Makefile.am: the meeting-time-sel dir is dead, relevant pieces
moved to calendar/gui
svn path=/trunk/; revision=12967
2001-09-17 Larry Ewing <lewing@ximian.com>
* gal/e-text/e-text.c (e_text_supply_selection): remove redundant
NULL checks since g_free handles NULLs.
(e_text_destroy): free the selection. It does appear to be a
guarantee that we get a selection-clear event before we are
destroyed.
svn path=/trunk/; revision=12934
2001-09-16 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.11.99.4.
* gal/e-text/e-completion-view.c (e_completion_view_construct),
tests/test-table-1.c (create_table): Changed the parameters to
e_table_simple_new here to adjust to changes in the interface.
* gal/widgets/e-categories-master-list-array.c (ecmla_default):
Fixed a memory leak here.
* gal/widgets/e-categories.c (e_categories_get_save_id): Added
get_save_id here so that selection would be maintained across
changes.
From gal/e-table/ChangeLog:
2001-09-16 Christopher James Lahey <clahey@ximian.com>
* e-table-model.c, e-table-model.h (e_table_model_class_init):
Rearranged order of has_save_id and get_save_id to be more
consistent with ETree.
* e-table-selection-model.c, e-table-selection-model.h: Turned on
the code to maintain selection and cursor across changes if the
model supports get_save_id.
* e-table-simple.c, e-table-simple.h: Changed this interface to
take all of the ETableModel functions in the _new function.
* e-table-subset.c (etss_has_save_id, etss_get_save_id): Added
these to properly proxy the save_id functionality.
* e-tree-memory-callbacks.c, e-tree-memory-callbacks.h,
e-tree-model.c, e-tree-model.h, e-tree-sorted.c: Made the save_id
parameter to get_node_by_id be const char * instead of char *.
* e-tree-table-adapter.c (etta_class_init): Rearranged some
assignments here to be more consistent.
svn path=/trunk/; revision=12869
2001-09-16 Chris Toshok <toshok@ximian.com>
* e-dateedit.h: add prototype for e_date_edit_set_editable.
* e-dateedit.c (e_date_edit_set_editable): new function, analogous
to gtk_entry_set_editable: let's the user select but not edit (or
in this case, bring up the calendar view.)
svn path=/trunk/; revision=12867
2001-09-15 Jon Trowbridge <trow@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_reflow): Check that
unsorted >= 0 before using it as an array index. (Bug #9115)
svn path=/trunk/; revision=12852
2001-09-13 Jeffrey Stedfast <fejj@ximian.com>
* e-search-bar.c (set_dropdown): Don't unref the old dropdown, we
don't "own" it.
svn path=/trunk/; revision=12805
2001-09-13 Christopher James Lahey <clahey@ximian.com>
* e-cell-toggle.c (etog_event): Changed this to change state on
button down, even if we aren't editing.
svn path=/trunk/; revision=12803
* gal/e-text/e-completion-view.c (e_completion_view_construct):
Unref the model after creating the ETable, since the table will
hold a ref on it until we destroy it when we're destroyed.
* gal/e-text/e-entry.c (e_entry_destroy): Unref the popup window
rather than destroying it.
svn path=/trunk/; revision=12798
2001-09-13 Larry Ewing <lewing@ximian.com>
* e-search-bar.c (set_dropdown): unref the old dropdown_menu if
there is one.
svn path=/trunk/; revision=12796
2001-09-12 Jeffrey Stedfast <fejj@ximian.com>
* e-filter-bar.c (menubar_activated): No longer need the context
in order to clone a FilterRule.
(option_changed): Same.
svn path=/trunk/; revision=12791
2001-09-10 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (e_tree_setup_table): Changed which widget to connect
signals to to watch for drag & drop. Fixes Ximian bugs #7450 &
#8732.
svn path=/trunk/; revision=12744
2001-09-09 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-text.c (e_text_text_model_changed): If our text shrinks,
make sure that the selection doesn't spill off over the end of the
reduced buffer. (Related to bug #8535)
svn path=/trunk/; revision=12717
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Re-remove
evil utf8_to_gtk debug printf that Chris seems to have
accidentally re-added.
svn path=/trunk/; revision=12703
2001-09-07 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h (eti_event): Don't do_something
on button_release if we did something on button_press. Fixes
Ximian bug #3742.
svn path=/trunk/; revision=12680
2001-09-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.11.99.3 for
ETableWithout.
* gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h
(e_selection_model_maybe_do_something): Return a value based on
whether we did something.
svn path=/trunk/; revision=12679
2001-09-07 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Added e-table-config-no-group.glade.
* e-table-config-no-group.glade, e-table-config.c,
e-table-config.glade: Removed the fields bit of ETableConfig.
svn path=/trunk/; revision=12678
2001-09-07 Christopher James Lahey <clahey@ximian.com>
* e-table-without.c, e-table-without.h (e_table_without_show_all):
Added this function.
svn path=/trunk/; revision=12677
2001-09-06 Anna Marie Dirks <anna@ximian.com>
* e-filter-bar.c: added a default size for the saved search
dialog of 600 x 300 such that it opens at a usable size.
this fixes bug #7083.
svn path=/trunk/; revision=12661
001-09-05 Anna Marie Dirks <anna@ximian.com>
* e-search-bar.c (add_activate_button): added a wee bit of
padding around the find now label in response to bug #7049.
svn path=/trunk/; revision=12627
* menus/gal-view-menus.c (build_menus):
Encode the label using bonobo_ui_util_encode_str and set "label"
attribute, not "_label".
I have no idea what the previous code was trying to do but it was
definitely wrong.
svn path=/trunk/; revision=12601
2001-09-02 Christopher James Lahey <clahey@ximian.com>
* e-cell-date.c (ecd_get_text): Strip spaces at the beginning or
end as well as changing " " to " ". Fixes Ximian bug #7683.
svn path=/trunk/; revision=12560
2001-09-01 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.11.99.2 for new
e_utf8 functions.
* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
(e_utf8_is_ascii): Added this function. Reformatted.
svn path=/trunk/; revision=12557
2001-09-01 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.111.99.1 for new
e_utf8 functions.
* gal/unicode/gunicollate.c (g_utf8_collate, g_utf8_collate_key):
Changed this from e_utf8_from_locale_string to
e_utf8_to_locale_string.
* gal/widgets/e-font.c, gal/widgets/e-font.h
(e_iconv_from_charset, e_iconv_to_charset): Added these functions
to the exported interface (renamed them as well from
e_iconv_from_encoding and e_iconv_to_encoding.)
* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
(e_utf8_from_iconv_string, e_utf8_from_iconv_string_sized,
e_utf8_to_iconv_string, e_utf8_to_iconv_string_sized,
e_utf8_from_charset_string, e_utf8_from_charset_string_sized,
e_utf8_to_charset_string, e_utf8_to_charset_string_sized): Added
these functions.
(e_utf8_from_locale_string, e_utf8_to_locale_string): Changed
these to use the new e_utf8_from_iconv_string and
e_utf8_to_iconv_string.
svn path=/trunk/; revision=12554
2001-09-01 Christopher James Lahey <clahey@ximian.com>
* e-cell-float.c (ecf_get_text, ecf_free_text): Rename these
functions from ecn_get_text and ecn_free_text.
* e-cell-tree.c (ect_height): Make sure the height is a multiple
of two here.
* e-table-header-item.c, e-table-header-item.h: Added a "tree"
argument so that the sorting can be set by right clicking on the
header item.
* e-table-item.c (eti_table_model_rows_deleted): Added some
assertions here.
* e-tree-selection-model.c (etsm_find_node_unless_equals): Fixed
indentation.
* e-tree-table-adapter.c (etta_proxy_node_changed): Rewrote this
to be more readable.
(e_tree_table_adapter_node_set_expanded): Added an assertion.
* e-tree.c, e-tree.h (e_tree_get_spec): Added this function.
(e_tree_setup_header): Set the tree argument on the
ETableHeaderItem here.
svn path=/trunk/; revision=12553
2001-08-31 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_table_model_rows_deleted): Fix this memmove.
We've already subtracted the count from eti->rows.
svn path=/trunk/; revision=12550
Tue Aug 28 18:29:28 2001 George Lebl <jirka@5z.com>
Patch to fix few 64bit issues
* gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag)
gal/widgets/e-categories.c (e_categories_value_at)
(e_categories_value_to_string):
Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers
and ints to fix 64bit issues connected with that.
* gal/e-table/e-table-sorting-utils.c
(e_table_sorting_utils_tree_check_position)
gal/util/e-sorter-array.c (e_sorter_array_append):
Use size_t for size not ints to fix crashes
* gal/e-text/e-completion-match.c, gal/e-text/e-completion.c:
Include <string.h>
svn path=/trunk/; revision=12507
2001-08-27 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_table_model_rows_deleted): Fixed this
memmove to subtract the count as well as the row for the number of
rows to move.
svn path=/trunk/; revision=12482
* e-table-group-container.c (compute_text):
Convert UTF-8 strings to locale's encoding before putting them in
canvas item.
svn path=/trunk/; revision=12472
2001-08-24 Christopher James Lahey <clahey@ximian.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group-leaf.h, e-table-group.c, e-table-group.h: Added
start_drag signals.
* e-table-item.c, e-table-item.h (eti_event): Send the start_drag
signal. Fixes Ximian bug #807.
* e-table.c, e-table.h, e-tree.c, e-tree.h: Added start_drag
signal. Made default handler start drag & drop if we're set to
automatically handle dnd. Ripped out the code to handle watching
events for dnd since start_drag does this now.
svn path=/trunk/; revision=12437
2001-08-21 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-canvas.c (e_canvas_button): cut and paste fixed
version of gnome_canvas_button here.
(pick_current_item): needed by e_canvas_button, also from
gnome-canvas.c.
(gnome_canvas_item_invoke_point): same.
(e_canvas_class_init): hook button_press_event and
button_release_event to e_canvas_button.
svn path=/trunk/; revision=12376
2001-08-20 Jon Trowbridge <trow@ximian.com>
* e-table-without.c (check_with_key): We need to
free_gotten_key_func key2, not key!
(e_table_without_show): Renamed, used to be
e_table_without_remove. Double-negative function names
are confusing!
(e_table_without_hide_adopt): Renamed, used to be
e_table_without_add_adopt.
(e_table_without_hide): Renamed, used to be e_table_without_add.
2001-08-20 Jon Trowbridge <trow@ximian.com>
* configure.in: Increment version number to 0.10.99.5 for changes
to ETableWithout api.
svn path=/trunk/; revision=12332
2001-08-20 Christopher James Lahey <clahey@ximian.com>
* e-table-without.c: Made this object handle NULLs for all the
handler functions.
svn path=/trunk/; revision=12316
2001-08-20 Christopher James Lahey <clahey@ximian.com>
* e-table-without.c (etw_proxy_model_rows_inserted,
etw_proxy_model_changed): Changed the used parity of the return
value of check here.
svn path=/trunk/; revision=12313
2001-08-18 Federico Mena Quintero <federico@ximian.com>
* e-table-without.c (etw_destroy): Chain to the destroy handler in
the parent class. Hey, I'm getting used to this :)
svn path=/trunk/; revision=12199
2001-08-17 Christopher James Lahey <clahey@ximian.com>
* e-table-without.c (etw_destroy): Destroy the hash table and all
objects in it, as well as the priv structure.
svn path=/trunk/; revision=12147
2001-08-16 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.10.99.4. Fixed some
comments.
* gal/Makefile.am (libgal_la_LIBADD): Added
e-table/e-table-without.lo.
From gal/e-table/ChangeLog:
2001-08-16 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Added e-table-without.c and e-table-without.h.
* e-table-without.c, e-table-without.h: Got this to compile.
Finished the first version of it.
svn path=/trunk/; revision=12144