Commit Graph

213 Commits

Author SHA1 Message Date
9d8f1fa7d5 Add our own ChangeLog
svn path=/trunk/; revision=2451
2000-04-15 05:32:41 +00:00
b8681b4d25 Added a row height cache.
2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c, e-table-item.h: Added a row height cache.

svn path=/trunk/; revision=2443
2000-04-15 00:10:19 +00:00
a7c2eba660 Make `e_table_construct()' work by passing the correct size argument
to `xmlParseMemory()'.

svn path=/trunk/; revision=2442
2000-04-14 22:52:16 +00:00
d870ec752c Switch the parent object to be a GtkTable. (et_real_construct): apply
2000-04-14  Miguel de Icaza  <miguel@gnu.org>

	* e-table.c, e-table.h: Switch the parent object to be a GtkTable.
	(et_real_construct): apply massaging and some loving action to
	make the thing behave as a GtkTable.
	(e_table_init): More love.

svn path=/trunk/; revision=2431
2000-04-14 19:46:55 +00:00
fcc1befdb1 Remove test for source. We will fix this later.
2000-04-12  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_drag_motion): Remove test for
	source.  We will fix this later.

svn path=/trunk/; revision=2413
2000-04-13 01:28:13 +00:00
969fb39532 Reset resize_guide here.
2000-04-12  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_end_resize): Reset resize_guide here.

svn path=/trunk/; revision=2405
2000-04-12 05:27:59 +00:00
215ecb48eb you need the latest gdk-pixbuf to build evolution now.
you need the latest gdk-pixbuf to build evolution now.

2000-04-11  Larry Ewing  <lewing@helixcode.com>

	* widgets/e-table/e-cell-toggle.c (etog_draw): update for new
	gdk-pixbuf.  Added a disabled chuck of code to do alpha blending
	on pixmaps.

	* widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): update for
	new gdk-pixbuf.

svn path=/trunk/; revision=2397
2000-04-11 21:48:49 +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
33d700d2ea Add files
svn path=/trunk/; revision=2391
2000-04-11 14:40:59 +00:00
889cb0a633 Add group indent width here. (is_pointer_on_division): Use the group
2000-04-11  Miguel de Icaza  <miguel@helixcode.com>

	* e-table-header-item.c (ethi_add_destroy_marker): Add group
	indent width here.
	(is_pointer_on_division): Use the group indent here, so the
	resize pointer is shown at the correct time.
	(TOLERANCE): Bump it up to 3
	(draw_button): Do not paint an arrow if there is an icon present,
	and not enough space to paint.

2000-04-10  Miguel de Icaza  <miguel@helixcode.com>

	* e-table-header-item.c (make_shapped_window_from_xpm): New
	routine, creates a shapped mask window from an xpm buffer.
	(ethi_add_drop_marker): New version, uses shaped windows instead
	of canvas items to signal the drop location.
	(ethi_maybe_start_drag): Disable dragging if there is only one
	column left.

svn path=/trunk/; revision=2390
2000-04-11 14:27:13 +00:00
5485ba72d9 Changed some incorrect gtk_object_refs and gtk_object_unrefs into
2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/backend/ebook/e-book-view.c,
	addressbook/backend/ebook/e-book.c: Changed some incorrect
	gtk_object_refs and gtk_object_unrefs into bonobo_object_refs and
	bonobo_object_unrefs.

	* addressbook/backend/pas/pas-card-cursor.c: Changed a
	gtk_object_destroy to a gtk_object_unref.

	* addressbook/gui/minicard/e-minicard-view.c,
	addressbook/gui/minicard/e-minicard-view.h: Set a list pointer to
	NULL after freeing its contents.  Added
	e_minicard_view_remove_selection function.

	* addressbook/gui/minicard/e-reflow.c: Set a list pointer to NULL
	after freeing its contents.

svn path=/trunk/; revision=2386
2000-04-11 00:21:08 +00:00
901f107f26 Drop frozen count support from here. (ethi_start_drag): ditto.
2000-04-10  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_drag_motion): Drop frozen count
	support from here.
	(ethi_start_drag): ditto.

	* e-table-header.h: Kill frozen_count.

svn path=/trunk/; revision=2385
2000-04-11 00:07:41 +00:00
a5fef3a82e Added proper keyboard focus handling.
2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Added proper keyboard focus handling.

svn path=/trunk/; revision=2377
2000-04-10 19:33:35 +00:00
01bf08bdbc + * addressbook/gui/component/addressbook.c (addressbook_factory):
+	Added gtk_widget_push/pop_colormap/visual, which I assume is
+	necessary for canvas use.
+
+	* folder-browser.c (folder_browser_new): set folder_browser->uri
+	to NULL, so that we know when to free it.
+
+	* e-table-col.c (e_table_col_new_with_pixbuf): ref etc->ecell,
+	like in e_table_col_new, since that same ECell is unref'd in
+	etc_destroy().
+

svn path=/trunk/; revision=2350
2000-04-09 06:47:20 +00:00
742e8fab22 Separated some functions into an xml bit and a generic bit.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Separated some functions into an xml bit and a
	generic bit.

svn path=/trunk/; revision=2346
2000-04-09 01:37:37 +00:00
a09c52cdf9 CVS move mistake. Fixed the correct changes in the correct places.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/gui/minicard/.cvsignore,
	addressbook/gui/minicard/Makefile.am,
	addressbook/gui/minicard/e-minicard-view.c,
	addressbook/gui/minicard/e-minicard-view.h,
	addressbook/gui/minicard/e-minicard.c,
	addressbook/gui/minicard/e-minicard.h,
	addressbook/gui/minicard/e-reflow-sorted.c,
	addressbook/gui/minicard/e-reflow-sorted.h,
	addressbook/gui/minicard/e-reflow.c,
	addressbook/gui/minicard/e-reflow.h,
	addressbook/gui/minicard/test-minicard-view.c,
	addressbook/gui/minicard/test-reflow.c,
	widgets/e-minicard/.cvsignore, widgets/e-minicard/Makefile.am,
	widgets/e-minicard/e-minicard-label.c,
	widgets/e-minicard/e-minicard-label.h,
	widgets/e-minicard/e-minicard-view.c,
	widgets/e-minicard/e-minicard-view.h,
	widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard.h,
	widgets/e-minicard/e-reflow-sorted.c,
	widgets/e-minicard/e-reflow-sorted.h,
	widgets/e-minicard/e-reflow.c, widgets/e-minicard/e-reflow.h,
	widgets/e-minicard/test-minicard-label.c,
	widgets/e-minicard/test-minicard-view.c,
	widgets/e-minicard/test-minicard.c,
	widgets/e-minicard/test-reflow.c: CVS move mistake.  Fixed the
	correct changes in the correct places.

svn path=/trunk/; revision=2344
2000-04-08 22:18:26 +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
fe016cce58 Got rid of some warnings.
2000-04-06  Christopher James Lahey  <clahey@helixcode.com>

	* test-cols.c, test-table.c: Got rid of some warnings.

	* e-table-group-container.c, e-table-group-container.h,
	e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c,
	e-table-group.h, e-table-header-item.c, e-table-header-item.h,
	e-table-sort-info.c, e-table-sort-info.h,
	e-table-sorted-variable.c, e-table-sorted-variable.h, e-table.c,
	e-table.h: Changed ETableSortInfo to not use xml internally.

svn path=/trunk/; revision=2305
2000-04-06 08:00:35 +00:00
ed50119936 More flushing action
svn path=/trunk/; revision=2304
2000-04-06 06:49:24 +00:00
e755dcdaac Update TODO, add Chris to the author list
svn path=/trunk/; revision=2303
2000-04-06 06:47:12 +00:00
bbc6d63ef0 Load the icons from the installation path, not form the GNOME-libs
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* shell/e-shortcut.c (shell_icon_cb): Load the icons from the
	installation path, not form the GNOME-libs installation prefix.
	(shell_icon_cb): Memory leak fix.

	* shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES
	installation directory here.

	* art/Makefile.am (images_DATA): Renamed from pixmaps to images.

2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* message-list.c: Stick pixmaps here.

	* mail-display.c (embeddable_destroy_cb): Replaced C++ comments
	with C comments.

	* message-list.c (load_internal_images): New function, loads images.
	(message_list_init_renderers): Load images, fix previous attempt
	at loading images.

	* Makefile.am (dist-hook): Added distribution of pixmaps.

	* pixmaps: New directory, used to hold the XPMs we ship with.

	* pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's
	envelopes incorporated.
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-text.c: Killed ARG_EDITABLE.
	(ect_event): Updated to new editable setup.
	(e_cell_text_new): Kill editable argument.

	* e-cell-toggle.c (etog_event): Handle editability here

	* e-cell-text.h: Removed editable bit field from here, it is now
	taken care at the e-cell level.

	* e-cell.c (e_cell_set_editable): New function.
	(e_cell_init): Set editable to TRUE by default.

	* test-check.c (check_test): update to new api

	* test-table.c (table_browser_test): ditto.
	(do_e_table_demo): ditto.

	* test-cols.c (multi_cols_test): ditto

svn path=/trunk/; revision=2302
2000-04-06 06:46:20 +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
cd8753df96 Love, part 3
svn path=/trunk/; revision=2273
2000-03-31 22:42:04 +00:00
1c3d76dfbd Love realization
svn path=/trunk/; revision=2272
2000-03-31 22:28:38 +00:00
df75a67ff6 More love
svn path=/trunk/; revision=2271
2000-03-31 22:06:02 +00:00
fb80c3b9a1 added support for a callback function to set the icons.
2000-03-31  Damon Chaplin  <damon@helixcode.com>

	* widgets/shortcut-bar/e-shortcut-bar.[hc]: added support for a
	callback function to set the icons.

	* widgets/shortcut-bar/test-shortcut-bar.c: updated to use the
	callback function.

svn path=/trunk/; revision=2268
2000-03-31 15:45:24 +00:00
bf794358e2 More work
svn path=/trunk/; revision=2266
2000-03-31 04:49:36 +00:00
8078ec7c1f Add so I can go to the chillout hack room
svn path=/trunk/; revision=2264
2000-03-30 22:50:40 +00:00
0a26a651fc install new shortcut bar pixmaps.
* configure.in:
	* Makefile.am:
	* art/Makefile.am: install new shortcut bar pixmaps.

	* widgets/shortcut-bar/e-shortcut-bar.c: Sort of use the new
	pixmaps. This code needs to be restructured, but Damon is
	rumored to already be doing it.

svn path=/trunk/; revision=2261
2000-03-30 20:48:24 +00:00
1e87b7cd20 Fix the comment at the top of the file: it was describing
EShortcutBar, not EGroupBar. (EGroupBar description taken from
e-group-bar.h).

svn path=/trunk/; revision=2259
2000-03-30 18:23:03 +00:00
90d2ce7c45 Add new files
svn path=/trunk/; revision=2258
2000-03-30 18:02:09 +00:00
bd040ea142 One liner
svn path=/trunk/; revision=2253
2000-03-30 01:42:04 +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
7a72e3adc7 avoid a crash if icons aren't found
svn path=/trunk/; revision=2212
2000-03-28 14:14:56 +00:00
ea9b13f015 New function, used to flatten the images we get and composite them with
2000-03-27  Miguel de Icaza  <miguel@gnu.org>

	* widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): New function,
	used to flatten the images we get and composite them with the
	background.
	(e_icon_bar_add_item): One happy tigert comming.

svn path=/trunk/; revision=2209
2000-03-28 05:27:29 +00:00
228a741d69 minor style clean + kill duff file in POTFILES.
svn path=/trunk/; revision=2198
2000-03-27 22:12:58 +00:00
22fbcb44c5 Prune redundant files.
svn path=/trunk/; revision=2197
2000-03-27 21:46:00 +00:00
e3219d0bb2 Fix nasty rendering bugs,
Implement bbox calcs for e-tabel-item
Clean style lots

svn path=/trunk/; revision=2194
2000-03-27 21:28:57 +00:00
2589a36ea0 ChangeLog shuffling.
ChangeLog shuffling.

Miguel.

svn path=/trunk/; revision=2174
2000-03-27 02:58:23 +00:00
480f22c138 Removed extra code that computed bogus width. This was the actual source
2000-03-26  Matias Mutchinick <matias@seul.org>

	* e-cell-toggle.c (etog_draw): Removed extra code that computed
	bogus width.  This was the actual source of the problem with the
	miss-rendering feature.

svn path=/trunk/; revision=2173
2000-03-27 02:53:47 +00:00
09c05cbc76 Remove warning from here.
2000-03-26  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_realize): Remove warning from here.

	* test-table.c (table_browser_test): Use ECanvas, not GnomeCanvas,
	to support reflow.
	* test-cols.c (multi_cols_test): ditto
	* e-table.c (e_table_setup_header): ditto

	* e-table-header-item.c (ethi_font_load): Replace font.
	(ethi_realize): ditto.

svn path=/trunk/; revision=2172
2000-03-27 02:45:04 +00:00
faf22c27ab Fix from evolution-list
svn path=/trunk/; revision=2161
2000-03-25 16:20:06 +00:00
175fcc0ed5 Added some assertions.
* e-table-text-model.c (e_table_text_model_destroy): Added some
	assertions.

svn path=/trunk/; revision=2146
2000-03-22 17:22:08 +00:00
254a2031dd Changed gnome_canvas_item_grab_focus to e_canvas_item_grab_focus.
2000-03-21  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-text/e-text.c: Changed gnome_canvas_item_grab_focus to
        e_canvas_item_grab_focus.

svn path=/trunk/; revision=2138
2000-03-21 23:58:40 +00:00
df898c5de4 Make rectangles resize properly when receiving the "model_changed" signal.
2000-03-21  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Make rectangles resize properly when receiving the
        "model_changed" signal.

svn path=/trunk/; revision=2135
2000-03-21 23:30:07 +00:00