Commit Graph

1327 Commits

Author SHA1 Message Date
57d95cb3b7 updated to new version from Ximian Setup Tools. Fixes bug #7641.
2001-11-28  Damon Chaplin  <damon@ximian.com>

	* e-map.c: updated to new version from Ximian Setup Tools.
	Fixes bug #7641.

2001-11-27  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
	return the last valid date entered, even if the field is currently
	empty. Fixes bug #15749.

svn path=/trunk/; revision=14817
2001-11-28 22:11:07 +00:00
f6bbfa3d44 Bumped version number to 0.18.1.
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

	* configure.in (GAL_CURRENT): Bumped version number to 0.18.1.

	* gal/widgets/e-selection-model-array.c
	(e_selection_model_array_delete_rows): Make sure the cursor row is
	selected after deleting here.

svn path=/trunk/; revision=14711
2001-11-14 22:26:46 +00:00
aa256bd41d Ungrab and set maybe_in_grab to FALSE before sending the double click
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_event): Ungrab and set maybe_in_grab to
	FALSE before sending the double click signal.

svn path=/trunk/; revision=14708
2001-11-14 22:15:13 +00:00
df3bc07361 From a patch by Yukihiro Nakai <ynakai@redhat.com>.
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

From a patch by Yukihiro Nakai <ynakai@redhat.com>.

	* gal/widgets/e-canvas.c (e_canvas_realize): Handle
	GDK_IM_PREEDIT_POSITION here.

svn path=/trunk/; revision=14703
2001-11-14 20:56:53 +00:00
6c92a88fc7 Handle the case where page up or page down goes off the end of the table
2001-11-10  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (group_key_press), e-tree.c (item_key_press): Handle
	the case where page up or page down goes off the end of the table
	or tree.

svn path=/trunk/; revision=14702
2001-11-14 20:47:31 +00:00
388862bcc0 Don't select all if the source model doesn't have a root node (it used to
2001-11-07  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_select_all): Don't select all if
	the source model doesn't have a root node (it used to crash.)
	Fixes Ximian bug #14542.

svn path=/trunk/; revision=14661
2001-11-10 20:39:41 +00:00
207ba3e3c5 Make a printout here be conditionally compiled (and compiled out by
2001-11-08  Christopher James Lahey  <clahey@ximian.com>

	* e-table-sorter.c (ets_sort_info_changed): Make a printout here
	be conditionally compiled (and compiled out by default.)

svn path=/trunk/; revision=14660
2001-11-10 20:37:38 +00:00
e50647bb50 Fixed stupid bug (U_ macro should always take one argument).
* gal/util/e-unicode-i18n.h:
Fixed stupid bug (U_ macro should always take one argument).

* gal/e-table/e-table-group-container.c (compute_text): s/_/U_

svn path=/trunk/; revision=14632
2001-11-08 22:11:45 +00:00
335e0c6bf6 Only popup entries that have focus. Fixes the lingering completion popup
2001-11-08  Jon Trowbridge  <trow@ximian.com>

        * gal/e-text/e-entry.c (full_cb): Only popup entries that have
        focus.  Fixes the lingering completion popup bug.

svn path=/trunk/; revision=14626
2001-11-08 17:28:52 +00:00
9ab4c3e6cd set both the date and the time of day in one call, creating only a single
2001-11-05  JP Rosevear  <jpr@ximian.com>

	* e-dateedit.c (e_date_edit_set_date_and_time_of_day): set both
	the date and the time of day in one call, creating only a single
	changed signal

	* e-dateedit.h: add proto

svn path=/trunk/; revision=14602
2001-11-06 00:05:54 +00:00
c81e771e3b Based on a patch by Damon Chaplin <damon@ximian.com>
2001-11-05  Christopher James Lahey  <clahey@ximian.com>

Based on a patch by Damon Chaplin <damon@ximian.com>

	* e-cell-date-edit.c: Connect to the button_press signal on the
	popup and do the grab correctly so that this dialog behaves
	properly when the user clicks it away.  Also, changed all
	instances of setting of popup_shown field of ECellPopup to call
	e_cell_popup_set_shown.  Fixes Ximian bug #14016.

svn path=/trunk/; revision=14594
2001-11-05 20:12:44 +00:00
514e14b2c6 New functions here.
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-popup.c, e-cell-popup.h (e_cell_popup_set_shown,
	e_cell_popup_queue_cell_redraw): New functions here.

	* e-cell-combo.c: Use e_cell_popup_set_shown to set the
	popup_shown variable so that ECellPopup can properly request a
	redraw.

svn path=/trunk/; revision=14592
2001-11-05 19:52:33 +00:00
76d416305f We should only pre_change here if frozen = 0, otherwise we'll leak
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-memory.c (e_tree_memory_freeze): We should only
	pre_change here if frozen = 0, otherwise we'll leak pre_changes.
	Helps fix Ximian bug #14422.

	* e-tree-sorted.c (ets_proxy_node_data_changed,
	ets_proxy_node_col_changed): Send a no_change signal here if given
	a NULL path.  Helps fix Ximian bug #14422.

svn path=/trunk/; revision=14591
2001-11-05 19:50:35 +00:00
bd49633a89 Bumped the version number to 0.17.99.0. Bumped the soname to 18.
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.17.99.0.  Bumped
	the soname to 18.

	* gal/widgets/e-categories.c (e_categories_destroy): Got rid of a
	GtkWarning here that was due to Gtk+ casting a NULL pointer.
	Fixes Ximian bug #14327.

From gal/e-table/ChangeLog:

2001-11-02  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-popup.c, e-cell-popup.h (e_cell_popup_do_popup): Make
	ECellPopup not display multiple arrows while the popup is up and
	the table is in grouped mode.  Fixes Ximian bug #14207.

svn path=/trunk/; revision=14580
2001-11-03 09:02:54 +00:00
f00d0b9514 Fixed the signature of this function.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_node_deleted): Fixed the
	signature of this function.

svn path=/trunk/; revision=14560
2001-11-01 00:35:40 +00:00
71a63f1498 Bumped the version number to 0.16.99.0 and GAL_CURRENT to 17.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.16.99.0 and
	GAL_CURRENT to 17.

From gal/e-table/ChangeLog:

2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_unfreeze): Check for unfreezing past 0 here
	and give a warning.
	(eti_add_table_model): Call eti_freeze here since
	eti_table_model_changed will call unfreeze.

	* e-tree-memory.c (e_tree_memory_node_remove): Send deleted signal
	after freeing the child.

	* e-tree-model.c, e-tree-model.h: Added node_deleted signal.
	removed/deleted signals will always come in pairs in that order
	with a single pre_change for both of them.

	* e-tree-selection-model.c (etsm_node_deleted): Clear the tree on
	deleted here instead of on removed.

	* e-tree-sorted.c (ets_proxy_node_deleted): Chain deleted here.
	Chains to NULL node which is fine for now.

svn path=/trunk/; revision=14557
2001-10-31 23:42:08 +00:00
1
d4d172e933 Snotty code so we only disconnect to rules we no longer have, etc.
2001-10-31    <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): Snotty code so we only disconnect
        to rules we no longer have, etc.

svn path=/trunk/; revision=14553
2001-10-31 23:08:29 +00:00
9450e20fe2 Ref and connect to rule changed here, also clear out previous ref's.
2001-11-01  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): Ref and connect to rule changed
        here, also clear out previous ref's.
        (generate_menu): No longer connect to rules, or reset rule array.
        (set_option): Dont reset option rules array.
        (context_rule_removed): Disconnect changed event on rule.
        (clear_rules): Fujnction to clear rules from an array.
        (destroy): Disconnect from context signals, and clear rules arrays.

        * e-filter-bar.h: Remove hash table for change id's.

svn path=/trunk/; revision=14550
2001-10-31 22:27:16 +00:00
a3dfed7a8e Bumped the version number here to 0.16.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.16.

From gal/menus/ChangeLog:

2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* gal-define-views-model.c: Made this match pre_changes with
	changes.

svn path=/trunk/; revision=14524
2001-10-31 10:34:54 +00:00
23587bebe8 Added frozen_count variable to know not to show the cursor while a change
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c, e-table-item.h: Added frozen_count variable to
	know not to show the cursor while a change is going on.

	* e-table-model.c, e-table-model.h, e-tree-model.c,
	e-tree-model.h: Added a model_no_change signal to pair with a
	pre_change if there's no change.

	* e-table-selection-model.h: Removed an unused frozen field here.

	* e-table-sorted.c, e-table-subset.c, e-table-subset.h,
	e-table-without.c, e-tree-memory.c, e-tree-sorted.c,
	e-tree-table-adapter.c: Made sure pre_changes were all matched by
	some change.  Proxy no_change signal where appropriate.

	* e-tree-selection-model.c: Keep track of the frozen_count
	variable to know whether a change is going on.

svn path=/trunk/; revision=14523
2001-10-31 10:33:51 +00:00
9590a301d5 emit signal when time set to none/empty.
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_set_time_of_day): emit signal when time
	set to none/empty.

svn path=/trunk/; revision=14502
2001-10-30 23:28:27 +00:00
02ffaef8e1 Leave edit if commit is called.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_commit_click_to_add): Leave edit if commit is
	called.

svn path=/trunk/; revision=14487
2001-10-30 22:09:46 +00:00
41884992f8 Request the right regions here. The range given is inclusive, not
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_show_cursor, eti_check_cursor_bounds):
	Request the right regions here.  The range given is inclusive, not
	inclusive/exclusive.

svn path=/trunk/; revision=14479
2001-10-30 20:57:11 +00:00
6922ceef9e Remove point handler and just let GnomeCanvasGroup handle it.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table-click-to-add.c (etcta_class_init): Remove point handler
	and just let GnomeCanvasGroup handle it.

	* e-table.c (e_table_commit_click_to_add): Don't commit the
	click_to_add if there's no click_to_add to commit.

svn path=/trunk/; revision=14476
2001-10-30 20:12:57 +00:00
377b222ae3 Bumped the version number here to 0.15.99.10.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.15.99.10.

From gal/e-table/ChangeLog:

2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_commit_click_to_add): Added this new function
	to allow the user to specify a commit.

svn path=/trunk/; revision=14473
2001-10-30 19:08:10 +00:00
0
08c273a628 Hook to rule changed events. (destroy): Free change id table/unconnect to
2001-10-30    <NotZed@Ximian.com>

	* e-filter-bar.c (generate_menu): Hook to rule changed events.
	(destroy): Free change id table/unconnect to signals.
	(init): Setup change id table.
	(e_filter_bar_new): Hook onto rule removed signal.
	(context_rule_removed): If rule removed, disconnect from signal handler.
	(rule_changed): For changed rules, also rebuild menu.  Fixed #12233.

svn path=/trunk/; revision=14459
2001-10-30 13:47:39 +00:00
6d9d0b02aa try to parse just a date first, and if that works we assume it is a DATE
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_set_popup_values): try to parse
	just a date first, and if that works we assume it is a DATE value,
	so we clear the time field in the popup.
	(e_cell_date_edit_on_ok_clicked): if the time field is empty, use a
	DATE value.
	Also removed some debug messages.

svn path=/trunk/; revision=14455
2001-10-30 12:50:25 +00:00
0
5677e9e40b Set the item to the option_base on it, so the current item is set. Fix for
2001-10-30    <NotZed@Ximian.com>

        * e-filter-bar.c (set_option): Set the item to the option_base on
        it, so the current item is set.  Fix for #7081.

svn path=/trunk/; revision=14451
2001-10-30 12:05:12 +00:00
6bf38a0ba9 Fix this to check from initial instead of initial + 1.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (check_last_access): Fix this to check from
	initial instead of initial + 1.

svn path=/trunk/; revision=14445
2001-10-30 09:23:37 +00:00
a8f6693657 Added column_width argument.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c: Added column_width argument.

svn path=/trunk/; revision=14444
2001-10-30 08:49:06 +00:00
114411716d Calc height here if we need it to check the y position of the cursor.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c (e_text_reflow): Calc height here if we need
	it to check the y position of the cursor.

svn path=/trunk/; revision=14443
2001-10-30 08:22:21 +00:00
4b3f1e83ea Adapt to the new ECellPopup signature.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Adapt to
	the new ECellPopup signature.

svn path=/trunk/; revision=14441
2001-10-30 07:31:34 +00:00
84dc532fd9 Bumped the version number here to 0.15.99.9.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.15.99.9.

From gal/e-table/ChangeLog:

2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-combo.c: Adapt to the changed popup signature.

	* e-cell-popup.c, e-cell-popup.h: Changed the behavior here to
	draw the button whenever we have the cursor.  Changed the popup
	virtual method to pass in the row and column popping up.

	* e-cell.h: Added an E_CELL_CURSOR flag.

	* e-table-item.c: Pass in the E_CELL_CURSOR flag to event and draw
	calls as appropriate.

svn path=/trunk/; revision=14439
2001-10-30 07:25:22 +00:00
cf4dbf9ee3 ref the ECalendarItem and check if it gets destroyed, to try to avoid a
2001-10-29  Damon Chaplin  <damon@ximian.com>

	* e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): ref
	the ECalendarItem and check if it gets destroyed, to try to avoid a
	free memory write.

	* e-dateedit.c (e_date_edit_set_time_of_day): allow setting the time
	to empty by passing hour as -1.

svn path=/trunk/; revision=14394
2001-10-30 01:37:52 +00:00
b14590968a Added. Makes our popup window a transient of the toplevel.
2001-10-29  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-entry.c (e_entry_make_completion_window_transient):
	Added.  Makes our popup window a transient of the toplevel.
	(e_entry_enable_completion_full): Try to make our popup a
	transient.
	(e_entry_realize): Also try to make our popup a transient here, in
	case the entry wasn't packed before we enabled completion.  This
	is all an attempt to fix bug #13791.

svn path=/trunk/; revision=14390
2001-10-30 01:05:17 +00:00
0027f30446 destroy our completion_view_popup... we've been leaking them all of this
2001-10-29  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-entry.c (e_entry_destroy): destroy our
	completion_view_popup... we've been leaking them all of this time.
	This should fix the mysterious bug #13900.

svn path=/trunk/; revision=14381
2001-10-29 23:37:08 +00:00
bb52386b7d Ignore buttons 4 and 5 here. Fixes Ximian bug #13853.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (et_canvas_root_event), e-tree.c
	(et_canvas_root_event): Ignore buttons 4 and 5 here.  Fixes Ximian
	bug #13853.

svn path=/trunk/; revision=14376
2001-10-29 23:06:57 +00:00
e170420969 Hide the Help button here since there's nothing connected to it.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c (setup_gui): Hide the Help button here since
	there's nothing connected to it.

	* e-tree-sorted.c (ets_sort_idle): Don't nest ets_sort_idle calls.
	Fixes Ximian bug #13929.

svn path=/trunk/; revision=14368
2001-10-29 22:21:57 +00:00
75cd5e1f3d Silently drop match strings that contain invalid utf-8... not a good thing
2001-10-29  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-completion-match.c (e_completion_match_set_text):
	Silently drop match strings that contain invalid utf-8... not a
	good thing to do, but better than any of the currently available
	alternatives.

svn path=/trunk/; revision=14364
2001-10-29 21:27:25 +00:00
aa1899af14 Don't go outside the table looking for matches when doing the last_access
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table-subset.c (etss_get_view_row), e-tree-sorted.c
	(check_last_access), e-tree-table-adapter.c (find_row_num): Don't
	go outside the table looking for matches when doing the
	last_access search.

svn path=/trunk/; revision=14359
2001-10-29 20:36:24 +00:00
e3e57f4def Set text->revert = NULL here. (e_text_cancel_editing): Only revert if
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c (e_text_stop_editing): Set text->revert =
	NULL here.
	(e_text_cancel_editing): Only revert if text->revert is non-null.

svn path=/trunk/; revision=14334
2001-10-29 12:24:38 +00:00
f2feef8356 Bumped version number here to 0.15.99.7.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number here to 0.15.99.7.

	* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_stop_editing):
	Exported this function.
	(e_text_cancel_editing): New function.  Allows you to revert
	edits.

svn path=/trunk/; revision=14332
2001-10-29 11:52:22 +00:00
be929d9041 Fix crash here.
2001-10-28  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (table_canvas_focus_event_cb): Fix crash here.

svn path=/trunk/; revision=14279
2001-10-28 05:34:31 +00:00
34ee553276 Check item->type != NULL here. Fixes Ximian bug #4668.
2001-10-28  Christopher James Lahey  <clahey@ximian.com>

	* gal-view-collection.c (load_single_file): Check item->type !=
	NULL here.  Fixes Ximian bug #4668.

svn path=/trunk/; revision=14278
2001-10-28 05:30:29 +00:00
c54af29c07 Removed erroneous comment about needing to handle selection better.
2001-10-28  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c: Removed erroneous comment about needing to handle
	selection better.

svn path=/trunk/; revision=14272
2001-10-28 04:46:38 +00:00
9b39843403 Commented out connecting to the scroll adjustments here since it's not
2001-10-27  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c (connect_set_adjustment): Commented out
	connecting to the scroll adjustments here since it's not necessary
	for how we use e-reflow.  Fixes Ximian bug #13306.

svn path=/trunk/; revision=14271
2001-10-28 04:14:33 +00:00
be7e0fd349 More fixing of the license texts.
svn path=/trunk/; revision=14241
2001-10-27 23:36:16 +00:00
0d56746e85 Bumped the version number to 0.15.99.6 for emulate_label_resize.
2001-10-27  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.15.99.6 for
	emulate_label_resize.

	* gal/e-text/e-entry.c: Added "emulate_label_resize" argument to
	make EEntry act like a label for width resizing purposes.

svn path=/trunk/; revision=14227
2001-10-27 21:01:42 +00:00
08fb7329cb Fixing the license text.
svn path=/trunk/; revision=14212
2001-10-27 16:59:46 +00:00
02dcd0aadf Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14190
2001-10-27 00:25:49 +00:00