Commit Graph

492 Commits

Author SHA1 Message Date
Federico Mena Quintero 1aef3474d9 Remove incorrect optimization. Events are read-only!
2000-09-07  Federico Mena Quintero  <federico@helixcode.com>

	* e-canvas.c (emit_event): Remove incorrect optimization.  Events
	are read-only!

svn path=/trunk/; revision=5228
2000-09-07 04:40:06 +00:00
Damon Chaplin 6403bd5b4d make sure we get the start_weekday since we need it for draw_days(). Fixes
2000-09-05  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.c (e_calendar_item_draw_month): make sure we get
	the start_weekday since we need it for draw_days(). Fixes a drawing
	bug.

2000-08-31  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.c (e_calendar_item_button_press):
	(e_calendar_item_button_release): grab/ungrab the pointer so we
	always get the button_release event.

svn path=/trunk/; revision=5216
2000-09-06 00:10:39 +00:00
Lauris Kaplinski 52bfd30b6c New font translation code for utf-8, but commented out at moment
svn path=/trunk/; revision=5194
2000-09-04 23:27:06 +00:00
Lauris Kaplinski e8ae4bc97a A bit more e_utf8 wrappers here and there
svn path=/trunk/; revision=5180
2000-09-02 02:51:32 +00:00
Lauris Kaplinski e60c558b25 Email should now display correctly in GtkHTML
svn path=/trunk/; revision=5154
2000-09-01 02:40:45 +00:00
Lauris Kaplinski 3a839acf2a #define gnome_font_lookup_default for gnome-print 0.20
svn path=/trunk/; revision=5133
2000-08-31 02:47:14 +00:00
Jody Goldberg d4a67b5d3b New base class for Cells. Convert everything to access the elements that
2000-08-30  Jody Goldberg <jgoldberg@home.com>

	* dependent.[ch] : New base class for Cells.
	  Convert everything to access the elements that are now
	  in the cell's base.
	s/Cell::sheet/Cell::Dependent::sheet/
	s/Cell::cell_flags/Cell::Dependent::flags/

	* Makefile.am : Because of XL we need to build plugins before src.
	  That will need changing.

	* src/func.c (function_marshal_arg) : Use expr_array_intersection.

	* src/expr.c (eval_expr_real) : Do implicit conversions from strings
	  to numbers if possible.
	  Access the first element of an array.  NOTE : This is WRONG
	  We need to implement array expression behavior some day.
	(expr_array_intersection) : New routine.

svn path=/trunk/; revision=5127
2000-08-31 00:57:24 +00:00
Lauris Kaplinski af8b4b2520 Made it compilable both with gnome-print 0.20 and 0.21+
svn path=/trunk/; revision=5126
2000-08-31 00:32:57 +00:00
Damon Chaplin c03e143c6c Updated.
2000-08-30  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.[hc]:
	* e-calendar.[hc]: Updated.

svn path=/trunk/; revision=5120
2000-08-30 20:46:55 +00:00
Dan Winship ccda437a9a make e-util depend on libunicode
* Makefile.am (libeutil_la_LIBADD): make e-util depend on
	libunicode

	* e-popup-menu.c (make_item): Use GtkMenuItem rather than
	GtkPixmapMenuItem for items with no pixmaps, so that if the whole
	menu is pixmapless, you don't get a column of blank pixmaps.

svn path=/trunk/; revision=5114
2000-08-30 15:28:36 +00:00
Lauris Kaplinski 81f994a359 More UTF-8 handling
svn path=/trunk/; revision=5032
2000-08-25 04:31:13 +00:00
Lauris Kaplinski 8d63772a7d Unicode in addressbook basically works, including simple searching
svn path=/trunk/; revision=4997
2000-08-24 03:25:53 +00:00
Lauris Kaplinski 88d79b0d1a Added missing e-unicode.h and e-unicode.c
svn path=/trunk/; revision=4977
2000-08-23 03:15:10 +00:00
Christopher James Lahey 3834c82359 Fixed some warnings.
2000-08-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-calendar-item.c, e-calendar.c: Fixed some warnings.

svn path=/trunk/; revision=4723
2000-08-11 03:46:37 +00:00
Christopher James Lahey 733a8c4ccd Fix the bug where it truncates the last item
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c: Fix the bug where it truncates the last item

svn path=/trunk/; revision=4648
2000-08-09 07:24:36 +00:00
Christopher James Lahey 3c36db8abb Ooops.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c: Ooops.

svn path=/trunk/; revision=4630
2000-08-09 05:20:05 +00:00
Christopher James Lahey e367caf042 Added a hide_mask argument to the two popup menu functions.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to
	the two popup menu functions.

svn path=/trunk/; revision=4625
2000-08-09 05:10:40 +00:00
Christopher James Lahey 5b1da3b439 Added e_container_change_tab_order.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* e-gui-utils.c, e-gui-utils.c: Added
	e_container_change_tab_order.

svn path=/trunk/; revision=4580
2000-08-07 20:20:37 +00:00
Matthew Loper 1da0c533d3 Fix silly error of not chaining destructor for canvas.
svn path=/trunk/; revision=4390
2000-07-27 16:25:43 +00:00
Matthew Loper 490437a884 A few fixes to the ECanvas selection item a miniature cleanup of the event handler.
svn path=/trunk/; revision=4364
2000-07-26 21:00:52 +00:00
Damon Chaplin 516b594aa9 new widget and canvas item to replace GtkCalendar. Not quite finished yet.
2000-07-25  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.h:
	* e-calendar.[hc]: new widget and canvas item to replace GtkCalendar.
	Not quite finished yet.

svn path=/trunk/; revision=4322
2000-07-25 19:45:47 +00:00
Ettore Perazzoli 3eed7c0e0e Fix the function to set the ETitleBar's text so that it correctly uses
the EClippedLabel function instead of the GtkLabel one.

svn path=/trunk/; revision=4256
2000-07-21 10:03:23 +00:00
Christopher James Lahey e10afbe355 Tried rearranging the casts to try for a more correct computation.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-scroll-frame.c: Tried rearranging the casts to try for a more
	correct computation.

svn path=/trunk/; revision=4107
2000-07-12 04:34:19 +00:00
Christopher James Lahey 4cd310350f Removed some debugging printfs.
2000-07-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas-vbox.c: Removed some debugging printfs.

	* e-canvas.c (e_canvas_unrealize): Call parent unrealize method.

svn path=/trunk/; revision=4102
2000-07-12 01:16:42 +00:00
Ettore Perazzoli cc36af075b Warning cleanup: `#if 0' an unused function and add a missing public
function prototype.

svn path=/trunk/; revision=4060
2000-07-10 22:53:41 +00:00
Anders Carlsson af3c0ca939 Several contacts list bugfixes.
svn path=/trunk/; revision=4008
2000-07-09 11:54:25 +00:00
Dan Winship 1b6c15836e comment out true but confused warning about non-scrollable widgets until
* e-scroll-frame.c (e_scroll_frame_add): comment out true but
	confused warning about non-scrollable widgets until Chris and/or
	Federico fix this correctly.
	(e_scroll_frame_size_allocate): If the available space for the
	child is less than the width/height of the frame, give the child
	an allocation of 0 rather than some small negative number cast to
	unsigned.

svn path=/trunk/; revision=3977
2000-07-08 19:18:11 +00:00
Dan Winship 97539df002 Set G_LOG_DOMAIN=__FILE__ rather than "e-title-bar" in all three widgets.
* Makefile.am (INCLUDES): Set G_LOG_DOMAIN=__FILE__ rather than
	"e-title-bar" in all three widgets.

svn path=/trunk/; revision=3897
2000-07-05 20:51:27 +00:00
Christopher James Lahey 40e24cdab6 New list class with iterators.
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* e-iterator.c, e-iterator.h, e-list-iterator.c,
	e-list-iterator.h, e-list.c, e-list.h: New list class with
	iterators.

	* e-canvas.c: Made it so that you don't get the same selection in
	the selection list more than once.

svn path=/trunk/; revision=3871
2000-07-03 22:25:47 +00:00
Ettore Perazzoli fbc6a557a6 Added an extra @allowed_types parameter to the shell's folder
selection dialog, and update the code that uses it accordingly.

svn path=/trunk/; revision=3854
2000-07-02 04:46:36 +00:00
Jody Goldberg 72c913ff20 Add simple deadkey support.
2000-06-29  Jody Goldberg <jgoldberg@home.com>

	* e-canvas.c (e_canvas_init) : Init the InputContext members
	(e_canvas_class_init) : Add a handler for unrealize.
	(e_canvas_focus_in) : enable the input context.
	(e_canvas_focus_out) : enable the input context.
	(e_canvas_realize) : Create an input context.
	(e_canvas_unrealize) : New function to release the input context.

svn path=/trunk/; revision=3817
2000-06-29 22:56:51 +00:00
Christopher James Lahey e4de45da5f Calculate height including if clip_height is set to -1.
2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Calculate height including if
	clip_height is set to -1.

From addressbook/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor-categories.c,
	addressbook/gui/component/e-cardlist-model.c: Added
	value_to_string handlers.

	* demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and
	"y" arguments.

	* addressbook/gui/component/addressbook.c: Activated Click To Add
	and set the click to add message.

	* addressbook/gui/component/e-addressbook-model.c: Added
	value_to_string and append_row handlers.

	* addressbook/gui/component/e-select-names.c: Added a column.

From calendar/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* gui/calendar-model.c: Added an #ifdefed value_to_string handler
	assignment.

From camel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* providers/mbox/camel-mbox-summary.c: Added debugging
	information.

From composer/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-msg-composer-select-file.h for make
	distcheck.

From e-util/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h.

	* e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like
	a vbox using the reflow system.

From mail/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Added a value_to_string handler.

From shell/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* glade/Makefile.am: Added EXTRA_DIST for make distcheck.

From widgets/e-table/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-click-to-add.c,
	e-table-click-to-add.h, e-table-one.c, and e-table-one.h.

	* e-table-click-to-add.c, e-table-click-to-add.h: A new canvas
	item that represents a single row that sometimes exists.  It's for
	adding new rows to your table.

	* e-table-example-1.c, e-table-example-2.c, e-table-size-test.c,
	test-check.c, test-cols.c, test-table.c: Added value_to_string handlers.

	* e-table-group-container.c: Use value_to_string to make grouping
	not crash for non string columns.  Made some changes to work
	properly in an ECanvasVbox.

	* e-table-group-leaf.c, e-table-item.c: Made some changes to work
	properly in an ECanvasVbox.

	* e-table-model.c, e-table-model.h: Added append_row and
	value_to_string methods.

	* e-table-one.c, e-table-one.h: Given a source ETableModel, this
	provides a single row model that uses the initialize_value,
	duplicate_value, free_value, and value_is_empty methods of the
	original source to implement set_value and value_at (and proxies
	most of the other methods.)  This is used for ETableClickToAdd.

	* e-table-simple.c, e-table-simple.h: Added append_row and
	value_to_string handlers.  append_row uses a GtkArg instead of a
	parameter to e_table_simple_new.

	* e-table-subset.c: Added append_row and value_to_string handlers.

	* e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd
	and an ETableItem instead of an ETableItem directly.  Only show
	the ETableClickToAdd if the top level of the xml SPEC has the
	attribute click-to-add set to some non-zero integer.
	(click-to-add="1").  Add a "click_to_add_message" argument.

	* e-tree-model.c: Add a commented out value_to_string handler.

From widgets/meeting-time-sel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added the include path to top_srcdir.

svn path=/trunk/; revision=3744
2000-06-27 00:51:06 +00:00
Christopher James Lahey 26f8433aa0 Added a variable to keep track of the cursor. Set the cursor when
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Added a variable to keep track of the
	cursor.  Set the cursor when selection_add is called.  Properly
	unset the cursor at the right times.

svn path=/trunk/; revision=3663
2000-06-21 03:45:32 +00:00
Christopher James Lahey 798b2b01e6 Grab the focus when setting the cursor.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Grab the focus when setting the cursor.

svn path=/trunk/; revision=3659
2000-06-21 03:04:43 +00:00
Christopher James Lahey 6d460ba3fe Built a system for doing selections and/or a cursor in canvas.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Built a system for doing selections
	and/or a cursor in canvas.

svn path=/trunk/; revision=3655
2000-06-21 00:11:50 +00:00
Christopher James Lahey c9bdd525e4 Changed the needed e_marshal functions.
2000-06-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Changed the needed e_marshal functions.

	* e-printable.c, e-printable.h: Added a quantize parameter to
	e_printable_height.  Also, added a e_printable_will_fit function.

svn path=/trunk/; revision=3551
2000-06-13 14:37:28 +00:00
Anders Carlsson 6c12613258 Control does horizontal scrolling...
svn path=/trunk/; revision=3539
2000-06-12 23:33:27 +00:00
Anders Carlsson c6b6c24c8c Add support for mouse wheel scrolling in EScrollFrame.
2000-06-11  Anders Carlsson  <andersca@gnu.org>

	* e-scroll-frame.c (e_scroll_frame_button_press): Add support
	for mouse wheel scrolling in EScrollFrame.

svn path=/trunk/; revision=3526
2000-06-11 19:32:45 +00:00
Christopher James Lahey 5dc1015e96 Added e-printable.c and e-printable.h.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-printable.c and e-printable.h.

	* e-printable.c, e-printable.h: This new class is a printing
	context.  Other classes return an EPrintable which represents a
	context for printing that object.

	* e-util.c, e-util.h: Added
	e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL and
	e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE.

svn path=/trunk/; revision=3510
2000-06-10 21:13:07 +00:00
Ettore Perazzoli 033939c723 Fix pixmap/bitmap leak in ETitleBar.
svn path=/trunk/; revision=3499
2000-06-10 00:49:59 +00:00
Christopher James Lahey f6d3bfae53 Free the finish data.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/misc/e-clipped-label.c: Free the finish data.

svn path=/trunk/; revision=3384
2000-06-02 08:00:17 +00:00
Federico Mena Quintero 2f59d46595 Imported GtkScrollFrame from EOG and renamed it to EScrollFrame.
2000-05-31  Federico Mena Quintero  <federico@helixcode.com>

	* widgets/misc/e-scroll-frame.[ch]: Imported GtkScrollFrame from
	EOG and renamed it to EScrollFrame.

	* widgets/misc/Makefile.am (libemiscwidgets_a_SOURCES): Added
	e-scroll-frame.[ch].

svn path=/trunk/; revision=3326
2000-06-01 04:44:48 +00:00
Christopher James Lahey e169895ef5 Added e_canvas_item_show_area which makes sure that a particular area of a
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas-utils.c, e-canvas-utils.h: Added
	e_canvas_item_show_area which makes sure that a particular area of
	a given item is in the scroll area.

svn path=/trunk/; revision=3289
2000-05-30 19:32:36 +00:00
Christopher James Lahey cea90a9fdf Made double clicking create a new card. Set the empty message.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard-view.c: Made double clicking create a
	new card.  Set the empty message.

	* gui/minicard/e-minicard.c: Made sorting be case insensitive.

	* gui/minicard/e-reflow-sorted.c, e-reflow.c, e-reflow.h: Added a
	message for when the reflow is empty.

	* printing/e-contact-print.c, printing/medbook.ecps: Made the
	default printout be full page.  Made sorting case insensitive.

svn path=/trunk/; revision=3281
2000-05-30 15:27:32 +00:00
Christopher James Lahey f62df6f7d7 Added e_container_foreach_leaf.
2000-05-19  Christopher James Lahey  <clahey@helixcode.com>

	* e-gui-utils.c, e-gui-utils.h: Added e_container_foreach_leaf.

svn path=/trunk/; revision=3130
2000-05-19 04:13:37 +00:00
Christopher James Lahey 4c08e67f41 Add imagesdir support.
2000-05-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Add imagesdir support.

	* e-gui-utils.c, e-gui-utils.h: Added e_create_image_widget for
	glade use.

svn path=/trunk/; revision=3120
2000-05-18 22:23:46 +00:00
Ettore Perazzoli 062b4e53c4 New ETitleBar' widget. Also, moved the EClippedLabel' widget out of
the `EShortcutBar' directory.

svn path=/trunk/; revision=3053
2000-05-16 03:39:44 +00:00
Christopher James Lahey 4a2777a279 Removed dist-hook section.
2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Removed dist-hook section.

	* configure.in: Set the version number.  Added a check for gnome
	window icons.  Removed a bunch of unused Makefiles.

	* tools/Makefile.am: Created a proper EXTRA_DIST section.

	* widgets/e-text/Makefile.am: Added
	e-text-event-processor-types.h.

From addressbook/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h,
	e-card-types.h.

	* backend/pas/Makefile.am: Added pas-backend-ldap.h.

	* contact-editor/Makefile.am: Added a proper EXTRA_DIST section.
	Removed some old defines.

	* ename/Makefile.am: Added e-name-western-tables.h.

	* gui/component/Makefile.am: Added e-ldap-server-dialog.h.  Added
	a proper EXTRA_DIST section.

	* gui/minicard/e-reflow.c: Added a missed cast.

	* printing/Makefile.am: Added a proper EXTRA_DIST section.

From calendar/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* gui/Makefile.am: Added main.h.  Combined the two EXTRA_DIST
	sections.

From camel/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and
	camel-thread-proxy.h.

From default_user/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am, local/Calendar/Makefile.am,
	local/Contacts/Makefile.am, local/Directories/Makefile.am,
	local/Directories/subfolders/Bigfoot/Makefile.am,
	local/Directories/subfolders/Netcenter/Makefile.am,
	local/Drafts/Makefile.am, local/Inbox/Makefile.am,
	local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a
	proper EXTRA_DIST section.

From filter/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* filter-arg.h: Changed tree.h to gnome-xml/tree.h.

	* Makefile.am: Added filter-arg-types.h, filter-arg.h,
	filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h.

From libical/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Reorder Makefiles so that it will build.

From mail/ChangeLog:

2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Removed folder-browser-factory.h since it doesn't
	exist.  Added mail-display.h, mail-types.h, pixmaps.h.

From widgets/e-table/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-col-dnd.h and table-test.h.

From wombat/ChangeLog:

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added an include for the pcs directory.

svn path=/trunk/; revision=2966
2000-05-10 14:47:09 +00:00
Christopher James Lahey 6692c3b3d4 Rearranged order of things getting destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/e-addressbook-model.c: Rearranged order of things
	getting destroyed.

	* gui/minicard/e-minicard-view.c: Rearranged order of things
	getting destroyed.  Don't set attributes of non-null or destroyed
	items.  Destroy parent object when destroyed.  Maintain ref_count
	of items in list.

	* gui/minicard/e-minicard.c: Don't set attributes of non-null
	items.

	* gui/minicard/e-reflow-sorted.c: Maintain ref_count of items in
	list.

	* gui/minicard/e-reflow.c: Maintain ref_count of items in list.
	Destroy parent object when destroyed.

svn path=/trunk/; revision=2935
2000-05-09 07:09:28 +00:00
Christopher James Lahey 3f6ddb02e8 Remove reflow idle when being destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Remove reflow idle when being destroyed.

svn path=/trunk/; revision=2934
2000-05-09 06:45:50 +00:00