Commit Graph

76 Commits

Author SHA1 Message Date
cbb72fbf86 Changed the color from yellow to light gray.
2000-12-13  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-text.c (_do_tooltip): Changed the color from yellow
	to light gray.

	* gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Made it so
	that e-canvas-vbox doesn't eat all the keyboard events.  This
	means widget navigation keys work properly.

svn path=/trunk/; revision=6989
2000-12-14 01:59:35 +00:00
e68b48fb6e Work to get a Gtk-Doc infrastructure in place for Gal.
Work to get a Gtk-Doc infrastructure in place for Gal.

Miguel.

svn path=/trunk/; revision=6883
2000-12-09 02:18:00 +00:00
dfdfa72ec5 Added an "allow_newlines" argument.
2000-10-27  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-entry.c,
	gal/e-text/e-text-event-processor-emacs-like.c,
	gal/e-text/e-text-event-processor-emacs-like.h,
	gal/e-text/e-text-event-processor.c,
	gal/e-text/e-text-event-processor.h, gal/e-text/e-text.c: Added an
	"allow_newlines" argument.

svn path=/trunk/; revision=6226
2000-10-27 14:48:20 +00:00
79d19f353c remove timeouts on destroy so they don't try to write to freed data
svn path=/trunk/; revision=6032
2000-10-19 16:41:07 +00:00
4a7322cfec Made the number keys on the number pad work in ETexts and ECellTexts.
2000-10-19  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-text-event-processor-emacs-like.c: Made the number
	keys on the number pad work in ETexts and ECellTexts.

svn path=/trunk/; revision=6027
2000-10-19 04:49:47 +00:00
948024d112 Made EEntry accept focus properly.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-entry.c: Made EEntry accept focus properly.

svn path=/trunk/; revision=6015
2000-10-19 02:31:18 +00:00
a053aa88b9 Fixed gdk-font refcounting
Added font_e argument to e-text
Fixed the header-item drawing the pixmap incorrectly

svn path=/trunk/; revision=5894
2000-10-13 00:11:27 +00:00
5e56396c7a set cursors to NULL after destroying them, to avoid any possibility of
2000-10-07  Damon Chaplin  <damon@helixcode.com>

	* gal/e-text/e-text.c (e_text_unrealize): set cursors to NULL after
	destroying them, to avoid any possibility of BadCursor.
	(e_text_event): just return if the EText item is destroyed.

svn path=/trunk/; revision=5780
2000-10-07 20:38:10 +00:00
2a20e41b57 Fixed operation of the keypad keys in EText and ECellText.
2000-09-22  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-text-event-processor-emacs-like.c: Fixed operation
	of the keypad keys in EText and ECellText.

svn path=/trunk/; revision=5548
2000-09-22 13:10:42 +00:00
a3de274f7c Moved files, fixed header files and paths - Federico
svn path=/trunk/; revision=5513
2000-09-19 22:57:58 +00:00
8c99725b91 Fixed e-table #includes so that it would compile.
svn path=/trunk/; revision=5482
2000-09-17 20:29:14 +00:00
1c6bdb1bbd Changed #include lines to get e-text to compile.
svn path=/trunk/; revision=5481
2000-09-17 20:16:37 +00:00
1768e0e4fd Some UTF-8 fixes and experimental 16-bit unicode font support
svn path=/trunk/; revision=5279
2000-09-08 22:32:24 +00:00
e8ae4bc97a A bit more e_utf8 wrappers here and there
svn path=/trunk/; revision=5180
2000-09-02 02:51:32 +00:00
20925d94eb Added some g_return_if_fails and g_return_val_if_fails.
2000-08-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-col.c, e-table-config.c, e-table-header.c,
	e-table-text-model.c: Added some g_return_if_fails and
	g_return_val_if_fails.

svn path=/trunk/; revision=5056
2000-08-26 09:15:32 +00:00
8d63772a7d Unicode in addressbook basically works, including simple searching
svn path=/trunk/; revision=4997
2000-08-24 03:25:53 +00:00
b906c345f9 UTF-8 in contact editor + some fixes for dealing with illegal strings
svn path=/trunk/; revision=4976
2000-08-23 02:56:59 +00:00
1e5ae349da Handle iso-8859-1 keys nicely in e-text and e-table. Other encodings to
come...

svn path=/trunk/; revision=4972
2000-08-23 00:22:18 +00:00
823e4b48ee Use byte, not character based UTF-8 syntax in e-text
svn path=/trunk/; revision=4963
2000-08-22 14:12:36 +00:00
447ecfb3e8 Fixed a warning.
2000-08-20  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Fixed a warning.

svn path=/trunk/; revision=4889
2000-08-20 10:13:47 +00:00
c63ea33628 Moved e-text to UTF-8
svn path=/trunk/; revision=4886
2000-08-20 03:02:05 +00:00
773c53414b Added a test for the EEntry widget.
2000-08-10  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/.cvsignore, widgets/e-text/Makefile.am,
	widgets/e-text/e-entry-test.c: Added a test for the EEntry widget.

svn path=/trunk/; revision=4725
2000-08-11 03:51:17 +00:00
4715c96fb6 Made clicking choose the right character even if show_borders is on.
2000-08-02  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made clicking choose the right
	character even if show_borders is on.

svn path=/trunk/; revision=4492
2000-08-02 22:49:04 +00:00
931953de1f Made focus in not change your selection position.
2000-07-21  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made focus in not change your selection
	position.

svn path=/trunk/; revision=4268
2000-07-21 21:06:11 +00:00
14f210e058 Don't draw quite as large a "flat_box". If draw_borders is TRUE, cause the
2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Don't draw quite as large a "flat_box".
	If draw_borders is TRUE, cause the cursor to change even if not
	editing.

svn path=/trunk/; revision=4017
2000-07-09 14:43:39 +00:00
80206f6b32 Removed some border padding and set the "draw_borders" argument of the
2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-entry.c: Removed some border padding and set
	the "draw_borders" argument of the contained GtkText.

	* widgets/e-text/e-text.c, widget/e-text/e-text.h: Added a
	"draw_borders" argument which, if set, makes the EText look more
	like a GtkEntry.

svn path=/trunk/; revision=4011
2000-07-09 12:38:16 +00:00
bc9f58d42a Return "" instead of NULL.
2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text-model.c (e_text_model_real_get_text):
	Return "" instead of NULL.

svn path=/trunk/; revision=4003
2000-07-09 07:17:15 +00:00
053cdfdbc3 Set "anchor" and "fill_clip_rectangle" arguments.
2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-entry.c: Set "anchor" and "fill_clip_rectangle"
	arguments.

	* widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added
	"fill_clip_rectangle" argument which describes whether to accept
	clicks throughout the clipping rectangle.

svn path=/trunk/; revision=3956
2000-07-07 18:39:43 +00:00
a25600d9b5 Fixed some typos.
2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-entry.c: Fixed some typos.

svn path=/trunk/; revision=3949
2000-07-07 16:14:45 +00:00
6f709e4fd7 Added e-entry.c and e-entry.h.
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/Makefile.am: Added e-entry.c and e-entry.h.

	* widgets/e-text/e-entry.c, widgets/e-text/e-entry.h: New files to
	be a widget containing a text item.

	* widgets/e-text/e-text.c: Fixed some spacing.

svn path=/trunk/; revision=3874
2000-07-03 22:35:47 +00:00
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
06f77b4aab Fixed some vertical scroll bugs.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Fixed some vertical scroll bugs.

svn path=/trunk/; revision=3673
2000-06-21 07:18:28 +00:00
3eed16a6cd Fix a bug with intial vertical scroll.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Fix a bug with intial vertical scroll.

svn path=/trunk/; revision=3672
2000-06-21 06:19:58 +00:00
dad705c65c Removed the usage of "x" and "y" arguments to EText.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c,
	widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and
	"y" arguments to EText.

	* widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the
	"x" and "y" arguments to EText.   Added vertical scrolling.

svn path=/trunk/; revision=3670
2000-06-21 05:37:37 +00:00
2b8fb337a5 Made EText use the font from the canvas's style if one isn't set.
2000-06-17  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made EText use the font from the
	canvas's style if one isn't set.

svn path=/trunk/; revision=3607
2000-06-17 12:35:12 +00:00
a588f367b2 Remove the tooltip callback when destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Remove the tooltip callback when
	destroyed.

svn path=/trunk/; revision=2952
2000-05-09 17:18:31 +00:00
0dabeb5908 Added an activate signal.
2000-05-08  Christopher James Lahey  <clahey@helixcode.com>

	* widget/e-text/e-text.c, widgets/e-text/e-text.h: Added an
	activate signal.

svn path=/trunk/; revision=2890
2000-05-08 00:18:20 +00:00
d8c0b9eff5 Added a "changed" signal that gets sent whenever the text changes.
2000-05-06  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added a
	"changed" signal that gets sent whenever the text changes.

svn path=/trunk/; revision=2837
2000-05-06 21:28:21 +00:00
1b8139c995 ignore the .pure directory
* addressbook/backend/ebook/.cvsignore,
        addressbook/contact-editor/.cvsignore,
        addressbook/gui/component/.cvsignore,
        addressbook/gui/minicard/.cvsignore,
        addressbook/printing/.cvsignore,
        calendar/cal-client/.cvsignore,
        calendar/gui/.cvsignore,
        calendar/pcs/.cvsignore,
        filter/.cvsignore,
        mail/.cvsignore,
        shell/.cvsignore,
        tests/.cvsignore,
        widgets/e-table/.cvsignore,
        widgets/e-text/.cvsignore,
        widgets/meeting-time-sel/.cvsignore,
        widgets/shortcut-bar/.cvsignore,
        wombat/.cvsignore: ignore the .pure directory

svn path=/trunk/; revision=2812
2000-05-05 11:46:46 +00:00
0ad8dad44a + * widgets/e-text/e-text.c (e_text_destroy): Kill text->timer and
+	text->timeout on destroy.
+
+	* e-shell-view.c (bonobo_widget_is_dead): Helper function to see
+	whether a bonobo widget is a zombie (ie the remote bonobo control
+	died).
+	(e_shell_view_set_view): Try to respawn dead bonobo widgets.

svn path=/trunk/; revision=2638
2000-04-26 19:28:22 +00:00
ef9238e9cc Made the tooltip show up in the correct place and configuration when using
2000-04-24  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made the tooltip show up in the correct
	place and configuration when using the "max_lines", "anchor"
	(untested), or "justification" arguments.

From a patch by Iain Holmes <ih@csd.abdn.ac.uk>

	* widgets/e-text/e-text-event-processor-emacs-like.c,
	widget/e-text/e-text-event-processor-types.h,
	widgets/e-text/e-text.c, widgets/e-text/e-text.h: Changed C-w and
	C-y to control the X clipboard.  Added double and triple click
	events.

From widgets/e-table/:

2000-04-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Fixed some warnings.

svn path=/trunk/; revision=2581
2000-04-24 13:36:11 +00:00
879dbf98d7 Moved some logic a bit. Minor changes.
2000-04-11  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Moved some logic a bit.  Minor changes.

svn path=/trunk/; revision=2396
2000-04-11 19:44:35 +00:00
ee070bdf74 e-text.c: Recalc bounds when changing the width/clip_width
forward clicks on the tooltip to the pareent item
tooltip obeys parents line_wrap and max_lines
e_text_point returns 0 when pointer is on the item

svn path=/trunk/; revision=2394
2000-04-11 18:28:59 +00:00
58e7df4e03 pixmap_DATA isn't defined so don't use it as a variable.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable.

	* addressbook/gui/component/,
	addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am,
	addressbook/gui/component/addressbook-factory.c,
	addressbook/gui/component/addressbook.c,
	addressbook/gui/component/addressbook.gnorba,
	addressbook/gui/component/addressbook.h: New directory to proivde
	the component for contact management.  Simply uses an e-minicard-view.

	* addressbook/gui/minicard/e-minicard-view.c,
	addressbook/gui/minicard/e-minicard-view.h: New subclass of
	e-reflow-sorted that takes an EBook and uses it to compute the
	card data to display.

	* addressbook/gui/minicard/e-minicard.c,
	addressbook/gui/minicard/e-minicard.h: This now backends to a
	ECard instead of a ETableModel.

	* addressbook/gui/minicard/e-reflow.c,
	addressbook/gui/minicard/e-reflow.h: This now has a virtualized
	add method.

	* addressbook/gui/minicard/e-reflow-sorted.c,
	addressbook/gui/minicard/e-reflow-sorted.h: New subclass of
	e-reflow that allows the data to be sorted on the fly.

	* addressbook/gui/minicard/test-minicard-view.c: New test to test
	the new minicard view.

	* addressbook/gui/minicard/test-reflow.c: Uses the new ECard
	backend of the e-minicard.

	* addressbook/gui/minicard/.cvsignore,
	addressbook/gui/minicard/Makefile.am: Added new test.  Fixed
	dependencies.  Added new files.

	* addressbook/gui/, addressbook/gui/Makefile.am,
	addressbook/gui/.cvsignore: New directory for addressbook gui
	bits.  Added subdirectories.  Created an initial .cvsignore.

	* addressbook/Makefile.am (SUBDIRS): Removed demo and added gui.

	* addressbook/backend/pas/pas-backend-file.c: Added code to do
	notification on bookviews when changes in the backend are made.

	* addressbook/backend/pas/pas-book-view.c,
	addressbook/backend/pas/pas-book-view.h: Added helper functions to
	notify the view about the addition or modification of a single
	card.  Fixed a mistaken extra free.

	* addressbook/backend/ebook/e-card-list-iterator.h: Fixed
	incorrect parent class.

	* addressbook/backend/ebook/test-client.c: Made this accept an
	optional parameter that specifies the vcard to add.

	* configure.in: Replaced widgets/e-minicard/Makefile and
	addressbook/demo/Makefile with addressbook/gui/minicard/Makefile
	and addressbook/gui/component/Makefile respectively.

	* widgets/Makefile.am: Removed e-minicard since it's being moved
	to addressbook/gui/minicard.

	* widgets/e-text/e-text.c: Fixed the border width around tooltips
	and made the main tooltip area yellow.

From camel/ChangeLog:

2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* providers/smtp/.cvsignore: Added a .cvsignore file.

From calendar/ChangeLog:

2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/Makefile.am: Removed linking with libetable and libeminicard
	since they weren't being used.

svn path=/trunk/; revision=2343
2000-04-08 22:10:47 +00:00
7806215bdc Made text tooltips appear in place. Iain figured out that to get them to
2000-04-07  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made text tooltips appear in place.
	Iain figured out that to get them to not appear, we hide the
	tooltip when the mouse leaves the tooltip window, not the canvas
	item (this works because the tooltip window always covers the
	canvas item completely.)

svn path=/trunk/; revision=2328
2000-04-07 19:12:56 +00:00
9ca0010b6d Got rid of some runtime errors. Changed to "fixed" font so that it will
2000-04-04  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text-test.c: Got rid of some runtime errors.
	Changed to "fixed" font so that it will work on everyone's
	machine.  Added a white background rectangle.  Made resizing the
	window resize the contained text item.  Changed to using affines
	(e_canvas_item_move_absolute) instead of "x" and "y" attributes.
	Set the text in the entries so that they match the original values
	of the displayed text object.

svn path=/trunk/; revision=2292
2000-04-05 01:36:51 +00:00
0d327d6fc3 Fixed some referencing and lifetime issues.
2000-04-04  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-minicard/e-minicard.c: Fixed some referencing and
	lifetime issues.

From widgets/e-table:

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

	* e-table-text-model.c: Make this assert a bit more readable.

	* e-table-item.c: Fix update loop behavior.

svn path=/trunk/; revision=2291
2000-04-05 01:21:28 +00:00
ab9a56f51b Removed an unnecessary get_bounds call.
2000-04-04  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Removed an unnecessary get_bounds call.

	(From a patch by Iain Holmes <ih@csd.abdn.ac.uk>)

	* widgets/e-text/e-text.c: Made tooltips look more like the
	underlying text.  Made tooltips show up more consistently.

svn path=/trunk/; revision=2290
2000-04-05 01:08:22 +00:00
a02608b078 Fix indentation
svn path=/trunk/; revision=2252
2000-03-30 01:35:18 +00:00
c741f30353 + * wombat/Makefile.am: new file.
+	* wombat/wombat.gnorba: Cleaned up.
+
+	* wombat/wombat.c (setup_pcs): filled in the rest.
+
+	* e-table-text-model.c (e_table_text_model_destroy): made
+	assertion more accurate.

svn path=/trunk/; revision=2244
2000-03-29 04:47:57 +00:00