Commit Graph

180 Commits

Author SHA1 Message Date
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
a726033ce0 Updated to fix a few bugs.
2000-03-21  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/shortcut-bar/e-icon-bar.c: Updated to fix a few bugs.

svn path=/trunk/; revision=2128
2000-03-21 06:02:13 +00:00
f60b9107e9 Added the ability to access the text event processor.
2000-03-20  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added the
        ability to access the text event processor.

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

        * addressbook/demo/addressbook-widget.c: Made the addressbook
        component look in the users home directory for the addressbook.xml
        file.

svn path=/trunk/; revision=2125
2000-03-21 02:53:55 +00:00
5fe5e0f743 i2000-03-20 Christopher James Lahey <clahey@helixcode.com>
* e-table-group-container.c, e-table-group-container.h,
        e-table-group-leaf.c: Updated these to use the new ECanvas reflow
        infrastructure.

        * e-table-item.c, e-table-item.h: Updated these to use the new
        ECanvas reflow infrastructure.  Fixed the bounding box.

        * e-table.c, e-table.h: Made the header have no extra space around it.

svn path=/trunk/; revision=2124
2000-03-21 02:50:04 +00:00
575993a082 Fixed a crashing bug when you close an ETable.
2000-03-19  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-header.c: Fixed a crashing bug when you close an
        ETable.

svn path=/trunk/; revision=2120
2000-03-20 00:36:30 +00:00
67bf862108 Fix for srcdir != builddir.
* calendar/cal-client/Makefile.am,
calendar/cal-util/Makefile.am, calendar/gui/Makefile.am,
calendar/pcs/Makefile.am, mail/Makefile.am,
widgets/e-text/Makefile.am: Fix for srcdir != builddir.

svn path=/trunk/; revision=2119
2000-03-17 21:12:14 +00:00
2e19c1630a Fixed a crashing bug when you cancel an edit.
2000-03-13  Christopher James Lahey  <clahey@helixcode.com>

        * e-cell-text.c: Fixed a crashing bug when you cancel an edit.

svn path=/trunk/; revision=2113
2000-03-13 16:57:15 +00:00
1a038d63a0 Added e-text-test.
2000-03-12  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-text/.cvsignore: Added e-text-test.

        * addressbook/demo/e-test-model.c,
        addressbook/demo/e-test-model.h: A model storing data in an array
        of Address objects.

        * addressbook/demo/demo.c: Changed to use
        addressbook/demo/e-test-model.c and
        addressbook/demo/e-test-model.h.

        * addressbook/demo/Makefile.am: Added e-test-model.c and
        e-test-model.h.

svn path=/trunk/; revision=2104
2000-03-12 15:32:47 +00:00
1f7ba945b1 Rearranged SUBDIRS for dependencies.
2000-03-12  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/Makefile.am: Rearranged SUBDIRS for dependencies.

        * widgets/e-text/e-text-model.c, widgets/e-text-model.h: New
        object which stores a piece of text data.  All methods are
        virtual.

        * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Modified this
        to use an ETextModel for its data.

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

        * widgets/e-minicard/test-minicard-label.c: Made this work again.

        * widgets/e-minicard/e-minicard.c,
        widgets/e-minicard/e-minicard.h: Made this use an ETableModel to
        get its data.

        * widgets/e-minicard/e-minicard-label.c,
        widgets/e-minicard/e-minicard-label.h: Added the ability to set
        the text model used for the contained text widget.

        * widgets/e-minicard/Makefile.am: Added e-table since e-minicard
        is now dependent on an e-table-model for its data.

        * e-util/e-canvas.c, e-util/e-canvas.h: Fixed some bugs here to
        speed up reflow and to make it fail less often.

        * addressbook/demo, addressbook/demo/.cvsignore,
        addressbook/demo/Makefile.am, addressbook/demo/demo.c,
        addressbook/demo/spec: A new program to test ETable and EMinicard
        integration.

        * configure.in: Added addressbook/demo/Makefile.

        * addressbook/Makefile.am: Added the demo/ subdirectory.

in widgets/e-table/:

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

        * e-table.c: Made this use an ECanvas.  Fixed a bug where
        e_table_new_from_spec_file was calling e_table_construct instead
        of e_table_construct_from_spec_file.

        * e-table-item.c, e-table-header-item.c, e-table-column-item.c:
        Switched these to use GTK_TYPE_OBJECT and GTK_VALUE_OBJECT instead
        of GTK_TYPE_POINTER and GTK_TYPE_OBJECT.

        * e-cell-text.c: Got rid of a crashing bug.

        * e-table-text-model.c, e-table-text-model.h: A new object which
        is an e-text-model which uses an e-table-model for its data.

        * Makefile.am: Added e-table-text-model.c and
        e-table-text-model.h.

        * .cvsignore: Added table-example-1 and table-example-2.

svn path=/trunk/; revision=2101
2000-03-12 07:59:42 +00:00
679fa9316e Changed the order in libeutil and libetext linking so that there
is no unresolved symbols

svn path=/trunk/; revision=2099
2000-03-11 03:25:48 +00:00
0a908b7fe4 Designed a new system for doing hierarchical displays in the canvas. Adds
2000-03-10  Christopher James Lahey  <clahey@helixcode.com>

        * e-util/e-canvas.c, e-util/e-canvas.h: Designed a new system for
        doing hierarchical displays in the canvas.  Adds an extra idle
        loop to the canvas system.

        * widgets/e-minicard/e-minicard.c,
        widgets/e-minicard/e-minicard-label.c,
        widgets/e-minicard/e-minicard-label.h,
        widgets/e-minicard/e-reflow.c, widgets/e-minicard/test-reflow.c,
        widgets/e-text/e-text.c, widgets/e-text/e-text.h: Adapted to use
        the new e-canvas reflow system.

svn path=/trunk/; revision=2096
2000-03-11 00:32:15 +00:00
c11cf5e774 Changed the destroy function to disconnect from signals before unrefing
2000-03-08  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Changed the destroy function to disconnect from
        signals before unrefing the objects the sinnals are on.  Changed
        the destroy function to match the objects and signal ids properly
        in its disconnect section.

        * e-table-item.c, e-table-item.h: Changed this to do follow the
        canvas rules better.

        * e-table-header-item.c, e-table-header-item.h: Made
        ETableHeaderItem connect to the "sort_info_changed" on its
        ETableSortInfo instead of just manually redrawing itself.  Fixed
        the update function a bit to follow the canvas rules a bit better.

svn path=/trunk/; revision=2087
2000-03-08 08:31:12 +00:00
6f357b4c2d Added a "break_characters" argument. It lets you define a set of
2000-03-07  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added a
        "break_characters" argument.  It lets you define a set of
        characters which should cause optional linebreaks to occur.  Made
        setting the "clip_height" argument to -1 mean no height clipping.
        Moved calling the "resize" signal into an idle handler to avoid
        reentering the canvas update loop.  Made EText recalc bounds if
        the affine has changed.  Fixed up tooltip_count (this counts the
        number of ENTER and LEAVE events.)

        * widgets/e-text/e-text-test.c: Got rid of a few warnings.

        * widgets/e-minicard/e-minicard-label.h: Reindent a few lines.

        * widgets/e-minicard/e-minicard.c,
        widgets/e-minicard/e-minicard-label.c: Switch from using "x" and
        "y" to set the children's position to using
        e_canvas_item_move_absolute.

svn path=/trunk/; revision=2079
2000-03-08 01:41:47 +00:00
201f2eb86e Made rows get unselected when switching from one group to the next.
2000-03-06  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-item.c: Made rows get unselected when switching from one
        group to the next.

svn path=/trunk/; revision=2075
2000-03-06 10:45:06 +00:00
ffad0d32ce Use the style's font if lucidasans-10 is not found.
2000-03-06  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-group-container.c: Use the style's font if lucidasans-10
        is not found.

svn path=/trunk/; revision=2073
2000-03-06 08:34:34 +00:00
d08ab36bfb Made it so that columns would be properly indented.
2000-03-06  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-header-item.c, e-table-header-item.h: Made it so that
        columns would be properly indented.

svn path=/trunk/; revision=2072
2000-03-06 08:13:30 +00:00
7df026ac0e Have identical values get sorted by their actual row.
2000-03-06  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-sorted-variable.c: Have identical values get sorted by
        their actual row.

svn path=/trunk/; revision=2071
2000-03-06 07:41:11 +00:00
fd7b20eeab Draw selected row.
2000-03-06  Christopher James Lahey  <clahey@helixcode.com>

        * e-cell-text.c: Draw selected row.

svn path=/trunk/; revision=2070
2000-03-06 07:36:38 +00:00
df08e926e4 Add a "row_selection" signal.
2000-03-06  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c, e-table.h: Add a "row_selection" signal.

        * test-table.c: Test the new "row_selection" signal.

        * e-table-group-container.c, e-table-group-leaf.c: Implement the
        "row_selection" property properly.

        * e-table-group.c, e-table-group.h: Add a "row_selection" signal.

svn path=/trunk/; revision=2069
2000-03-06 06:08:56 +00:00
3de981ec78 Added support for the sorting info. The Etable creates a sort_info object,
2000-03-05  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c, e-table.h: Added support for the sorting info.  The
        Etable creates a sort_info object, and then connects to the
        signals to rearrange the rows when the sort_info changes.  It also
        passes the info object to the ETableHeaderItem.

        * e-table-model.c: Fixed a typo where ETableModel was written as
        ETableModle.

        * e-table-header.c, e-table-header.h: Added some code for sorting
        here, but it's not used.  I don't think we want this code, but I
        wanted to check it in at least once so that it's not lost.

        * e-table-header-item.c, e-table-header-item.h: Added a
        "sort_info" argument to ETableHeaderItem.  Added display of
        current sort settings.  Added support for clicking to change the
        sort settings.

        * e-table-col.h: E_TABLE_COL_ARROW_NONE is marked as being = 0
        since this is required in other places.  (I think C defines this
        as being the case, but it's good to have the = 0 there so that
        it's obvious that it has to be first.)

        * TODO: Mark sorting as done.

        * e-table-sort-info.c, e-table-sort-info.h: New files for
        containing the xml grouping/sorting information and for sending
        signals on that information.

        * Makefile.am: Added e-table-sort-info.c and e-table-sort-info.h.

svn path=/trunk/; revision=2060
2000-03-05 23:15:14 +00:00
b42df6ac70 Added saving of frozen_columns count. Added a vertical scrollbar to
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Added saving of frozen_columns count.  Added a
        vertical scrollbar to ETable.

svn path=/trunk/; revision=2052
2000-03-05 00:31:32 +00:00
b509fbeba6 Push the proper visual and colormap for ETable to work.
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Push the proper visual and colormap for ETable to work.

svn path=/trunk/; revision=2049
2000-03-04 23:10:17 +00:00
77b51962b5 Touched this up a bit.
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * TODO: Touched this up a bit.

        * e-table-group.c, e-table-group-leaf.c: Check for NULL before
        calling gtk_object_unref or gtk_object_destroy.

svn path=/trunk/; revision=2045
2000-03-04 21:22:23 +00:00
08419b64ea Fixed a crash error.
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Fixed a crash error.

svn path=/trunk/; revision=2040
2000-03-04 17:46:05 +00:00
23c59b7ee0 Fixed a compile warning.
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-item.c: Fixed a compile warning.

        * e-table.c: Fixed a crash error.

svn path=/trunk/; revision=2039
2000-03-04 17:30:23 +00:00
626f63df0b Added a bunch of stuff to the TODO list. Put +s before a few of the items
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * TODO: Added a bunch of stuff to the TODO list.  Put +s before a
        few of the items that are finished.

        * test-table.c: Add a button to save the spec file.

        * e-table.c, e-table.h: Add loading configurations from files as
        well as the ability to get the current configuration out of the
        widget.

svn path=/trunk/; revision=2025
2000-03-03 20:05:57 +00:00
bc0d854e93 Removed some unused code.
2000-03-03  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Removed some unused code.

        * e-table-header-item.c, e-table-header-item.h: Removed the unused
        normal_cursor variable and object.

        * e-table-col.c: Maintain a reference count in the contained ECell.

svn path=/trunk/; revision=2024
2000-03-03 20:05:56 +00:00
799d7f54fd Various building fixes. At least, now it builds for me.
svn path=/trunk/; revision=2007
2000-03-02 00:09:45 +00:00
2fa1ed2506 Don't show the tooltip if the text is being editted or isn't clipped.
2000-02-29  Iain Holmes  <ih@csd.abdn.ac.uk>

	* widgets/e-text/e-text.c: Don't show the tooltip if the text is being
	editted or isn't clipped. Remove the tooltip when editting starts.

	* widgets/e-text/Makefile.am: Build the test program

svn path=/trunk/; revision=1994
2000-02-29 21:43:45 +00:00
832150b0dd Test frozen columns
2000-02-29  Christopher James Lahey  <clahey@helixcode.com>

	* test-table.c: Test frozen columns

	* e-table.c: Make frozen columns available through the xml file.

	* e-table-header.c, e-table-header.h, e-table-header-item.c: Added
	frozen columns API to let you specify some number of leading
	columns as undraggable.

	* Makefile.am: Add e-table-example-1.c and e-table-example-2.c.

	* e-table-example-1.c, e-table-example-2.c: New files.  A couple
	of examples of ETable use.

svn path=/trunk/; revision=1993
2000-02-29 21:07:06 +00:00
ce16b05aed Fixed references to libutil.a -> libeutil.la
svn path=/trunk/; revision=1983
2000-02-28 18:54:40 +00:00
e047685e4a Fixed a couple of crash bugs.
2000-02-28  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-header-item.c, e-table-header.c: Fixed a couple of crash
        bugs.

svn path=/trunk/; revision=1975
2000-02-28 14:33:11 +00:00
ef7adb93eb Compilation error.
2000-02-28  Chris Lahey  <clahey@umich.edu>

        * widgets/e-text/e-text.c: Compilation error.

svn path=/trunk/; revision=1973
2000-02-28 09:10:37 +00:00
486e3906ec Updated these to use the canvas ::update system properly.
2000-02-28  Chris Lahey  <clahey@umich.edu>

        * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Updated these
        to use the canvas ::update system properly.

svn path=/trunk/; revision=1972
2000-02-28 09:03:20 +00:00