aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Add a handler for "model_pre_change" and properly stop editing.Christopher James Lahey2000-08-031-0/+14
| | | | | | | | | | | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h: Add a handler for "model_pre_change" and properly stop editing. * e-table-model.c, e-table-model.h: Added a "model_pre_change" signal that gets sent before any row numbers are changed. * e-table-sorted-variable.c, e-table-subset-variable.c: Emit "model_pre_change" signals as appropriate. * e-table-subset.c, e-table-subset.h: Proxy "model_pre_changed" signals. svn path=/trunk/; revision=4472
* Changed the API for the append_row function. Now accepts a model to copyChristopher James Lahey2000-08-021-0/+12
| | | | | | | | | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * e-table-model.c, e-table-model.h: Changed the API for the append_row function. Now accepts a model to copy data from instead of returning a row number and leaving it up to ETableOne to copy the data in. * e-table-one.c, e-table-one.h: Adapted to use new append_row API. * e-table-simple.c, e-table-simple.h, e-table-subset.c: Adapted to supply new append_row API. svn path=/trunk/; revision=4468
* Added an argument to set a column so that you can't sort by that column.Christopher James Lahey2000-08-011-0/+7
| | | | | | | | | | | 2000-07-31 Christopher James Lahey <clahey@helixcode.com> * e-table-col.c, e-table-col.h: Added an argument to set a column so that you can't sort by that column. * e-table-header-item.c: Obey the sortable column of ETableCol. svn path=/trunk/; revision=4439
* Made enter key destroy and recreate the ETableItem.Christopher James Lahey2000-07-301-0/+8
| | | | | | | | | | | | 2000-07-29 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Made enter key destroy and recreate the ETableItem. * e-table-item.c: Grab focus when person clicks even if cursor isn't changing. svn path=/trunk/; revision=4416
* Remove the idle handler before destroying the data it operates on.Dan Winship2000-07-291-0/+5
| | | | | | | * e-table-header.c (eth_destroy): Remove the idle handler before destroying the data it operates on. svn path=/trunk/; revision=4407
* Fixed up the table behavior so that it's not always in an edit mode.Christopher James Lahey2000-07-281-0/+5
| | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fixed up the table behavior so that it's not always in an edit mode. svn path=/trunk/; revision=4392
* Added a comment.Christopher James Lahey2000-07-271-0/+4
| | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added a comment. svn path=/trunk/; revision=4387
* Fixed shift click selections.Christopher James Lahey2000-07-271-1/+6
| | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Fixed shift click selections. svn path=/trunk/; revision=4386
* Allocate correctly in the insert method.Christopher James Lahey2000-07-271-0/+7
| | | | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Allocate correctly in the insert method. * e-table-click-to-add.c: Removed the line that was causing this to do bad things. svn path=/trunk/; revision=4385
* Grab focus properly.Christopher James Lahey2000-07-271-0/+7
| | | | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_cursor_change): Grab focus properly. * e-table-item.c, e-table-click-to-add.c: Fixed ETableClickToAdd to handle carriage return. This still doesn't quite work right. svn path=/trunk/; revision=4384
* Clear the selection model when activating.Christopher James Lahey2000-07-271-0/+11
| | | | | | | | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Clear the selection model when activating. * e-table-item.c: Fixed a bunch of model column vs. view column issues. * e-table-selection-model.c: Set the cursor to -1, -1 and emi a "cursor_changed" signal. svn path=/trunk/; revision=4380
* Fixed a reference.Christopher James Lahey2000-07-271-0/+10
| | | | | | | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Fixed a reference. * e-table-selection-model.c, e-table-selection-model.h: Added a clear function. * e-table.c, e-table.h: Made going from click to add to the main table and back work better. svn path=/trunk/; revision=4373
* Added an ETableSelectionModel so this won't crash.Christopher James Lahey2000-07-271-0/+5
| | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c, e-table-click-to-add.h: Added an ETableSelectionModel so this won't crash. svn path=/trunk/; revision=4372
* Fixed the model/view row confusion.Christopher James Lahey2000-07-271-0/+7
| | | | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fixed the model/view row confusion. * e-table-selection-model.c: Changed one expression to use a #define properly. svn path=/trunk/; revision=4371
* Added "table_selection_model" argument. Removed foreach function andChristopher James Lahey2000-07-271-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h: Added "table_selection_model" argument. Removed foreach function and selection notification. * e-table-group.c, e-table-group.h: Removed foreach function and selection notification. * e-table-header.c: Fixed header width calculation to include the last column. * e-table-item.c, e-table-item.h: Fixed this to use the new selection model. * e-table-scrolled.c, e-table-scrolled.h: Removed selection notification. * e-table-selection-model.c, e-table-selection-model.h: Finished notification signals and fixed a bunch of bit manipulations. Implemented do_something method. * e-table.c, e-table.h: Create an ETableSelectionModel and use it properly. svn path=/trunk/; revision=4363
* Made foreach call the callback in top to bottom order.Christopher James Lahey2000-07-261-0/+5
| | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Made foreach call the callback in top to bottom order. svn path=/trunk/; revision=4335
* Replaced get_selection_list with foreach.Christopher James Lahey2000-07-261-0/+7
| | | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c, e-table-selection-model.h: Replaced get_selection_list with foreach. * e-table.h: Add a ETableSelectionModel. svn path=/trunk/; revision=4334
* Added e-table-selection-model.c and e-table-selection-model.h.Christopher James Lahey2000-07-261-1/+11
| | | | | | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-selection-model.c and e-table-selection-model.h. * e-table-selection-model.c: Added the get_selection_list and is_row_selected functions. Removed some unused code. * e-table-selection-model.h: Removed some unused code. svn path=/trunk/; revision=4331
* Added comments to the bit field code.Christopher James Lahey2000-07-261-0/+10
| | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added comments to the bit field code. * e-table-selection-model.h: Made the selection data guint32s. svn path=/trunk/; revision=4329
* Fixed up the bit manipulation a bit here.Christopher James Lahey2000-07-261-0/+5
| | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Fixed up the bit manipulation a bit here. svn path=/trunk/; revision=4327
* New files for doing a selection model. Not finished yet and thus not inChristopher James Lahey2000-07-261-0/+9
| | | | | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c, e-table-selection-model.h: New files for doing a selection model. Not finished yet and thus not in Makefile.am. * e-table.c, e-table.h: Renamed the new dnd signals so that they won't conflict with the widget signals. svn path=/trunk/; revision=4326
* Implemented some of the drag & drop code. Drops all report as being on rowChristopher James Lahey2000-07-251-0/+6
| | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Implemented some of the drag & drop code. Drops all report as being on row 0, col 0. Also, automatic drags don't set the row and column being dragged from. svn path=/trunk/; revision=4312
* added a color_column where the color can be specified as a string, e.g.Damon Chaplin2000-07-231-0/+12
| | | | | | | | | | | | | | | | 2000-07-23 Damon Chaplin <damon@helixcode.com> * e-cell-text.c: added a color_column where the color can be specified as a string, e.g. "red" or "rgb:F/0/0". * e-cell-text.c (ect_leave_edit): don't call unbuild_current_cell() since the CellEdit struct has been freed in ect_stop_editing() and so has the text. * e-cell-text.c (unbuild_current_cell): set cell->text to NULL to make sure we don't try to free it again. svn path=/trunk/; revision=4279
* Added some unused declarations for drag and drop work.Christopher James Lahey2000-07-221-0/+5
| | | | | | | | | 2000-07-21 Christopher James Lahey <clahey@helixcode.com> * e-table.h: Added some unused declarations for drag and drop work. svn path=/trunk/; revision=4267
* g_free things we g_malloc.Michael Meeks2000-07-151-0/+4
| | | | | | | | 2000-07-14 Michael Meeks <michael@helixcode.com> * e-table-subset.c (etss_destroy): g_free things we g_malloc. svn path=/trunk/; revision=4167
* Changed the background color of the header.Christopher James Lahey2000-07-141-0/+5
| | | | | | | | | 2000-07-13 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed the background color of the header. svn path=/trunk/; revision=4152
* Made scroll wheel work properly in header.Christopher James Lahey2000-07-131-0/+5
| | | | | | | | | 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made scroll wheel work properly in header. svn path=/trunk/; revision=4128
* Make sure the ETable is constructed properly, by setting theEttore Perazzoli2000-07-111-0/+12
| | | | | | arguments in the parent EScrollFrame class. svn path=/trunk/; revision=4063
* Fix a typbraino in the ETableScrolled header file.Ettore Perazzoli2000-07-111-0/+4
| | | | svn path=/trunk/; revision=4043
* Add e-table-scrolled.c and e-table-scrolled.h.Christopher James Lahey2000-07-101-0/+13
| | | | | | | | | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Add e-table-scrolled.c and e-table-scrolled.h. * e-table-item.c: Make sure that find_cell returns FALSE if the item doesn't have any cells. * e-table-scrolled.c, e-table-scrolled.h: Added a widget to contain an ETable and provide scrollbars (for ease of use.) * e-table.c, e-table.h: Make this support the scrollable interface and not contain its own scrollbars. svn path=/trunk/; revision=4031
* Put back e_cell_event sometimes when we're not editing.Christopher James Lahey2000-07-101-0/+5
| | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_event): Put back e_cell_event sometimes when we're not editing. svn path=/trunk/; revision=4019
* Set the dnd_code to something non-null for the ETableHeaderItem.Christopher James Lahey2000-07-091-0/+5
| | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Set the dnd_code to something non-null for the ETableHeaderItem. svn path=/trunk/; revision=4013
* Set header canvas scroll region correctly.Christopher James Lahey2000-07-091-0/+4
| | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Set header canvas scroll region correctly. svn path=/trunk/; revision=4010
* Don't draw drop markers when the layout won't be changed by the drop.Anders Carlsson2000-07-091-0/+5
| | | | svn path=/trunk/; revision=4005
* Get rid of an unused variable.Ettore Perazzoli2000-07-091-0/+5
| | | | svn path=/trunk/; revision=3997
* When inserting a root node, only call e_table_model_row_inserted ifDan Winship2000-07-091-0/+8
| | | | | | | | | | * e-tree-model.c (e_tree_model_node_insert): When inserting a root node, only call e_table_model_row_inserted if root_visible. (e_tree_model_node_remove): Call e_table_model_row_deleted before removing the row from the row_array, because the chain of signal handlers will sometimes need that info. svn path=/trunk/; revision=3994
* Don't call e_cell_event if we're not editing.Christopher James Lahey2000-07-091-0/+5
| | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_event): Don't call e_cell_event if we're not editing. svn path=/trunk/; revision=3991
* Commented out some unnecessary and buggy code.Christopher James Lahey2000-07-091-0/+5
| | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_table_model_changed): Commented out some unnecessary and buggy code. svn path=/trunk/; revision=3988
* Make this work recursively.Dan Winship2000-07-071-0/+5
| | | | | | | * e-tree-model.c (e_tree_model_node_remove): Make this work recursively. svn path=/trunk/; revision=3935
* fix the conditions under which we draw a horizontal line.Chris Toshok2000-07-071-0/+5
| | | | | | | | | 2000-07-06 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_draw): fix the conditions under which we draw a horizontal line. svn path=/trunk/; revision=3929
* Send GDK_BUTTON_RELEASE events to the ecell associated with the cell (ifChristopher James Lahey2000-07-061-0/+5
| | | | | | | | | 2000-07-06 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Send GDK_BUTTON_RELEASE events to the ecell associated with the cell (if it's the cursor.) svn path=/trunk/; revision=3909
* Added a reflow_compare callback and did removal if you do shift-click on aChristopher James Lahey2000-07-041-0/+5
| | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Added a reflow_compare callback and did removal if you do shift-click on a selected row that's not the cursor. svn path=/trunk/; revision=3873
* From mail:Christopher James Lahey2000-06-301-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * message-list.c, mail-ops.c: Changed the name of e_table_select_row to e_table_set_cursor_row. From widgets/e-table: 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Made this appear a bit better. * e-table-defines.h: Cleaned this up a bit, added ETableForeachFunc. * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Changed e_table_select_row to e_table_set_cursor_row. Changed e_table_get_selected_view_row to e_table_get_cursor_row. Added e_table_selected_row_foreach. * e-table-header-item.c: Fixed some warnings. * e-table-sorted-variable.c: Removed some unneeded debugging print statments. * e-tree-example-1.c: Changed e_table_get_selected_view_row to e_table_get_cursor_row. svn path=/trunk/; revision=3799
* Added an unsort command.Christopher James Lahey2000-06-281-0/+6
| | | | | | | | | | 2000-06-27 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Added an unsort command. * e-table-item.c: leave_edit when you loose the cursor. svn path=/trunk/; revision=3766
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-271-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* draw pixmaps with he right background and selection colors.Larry Ewing2000-06-241-0/+5
| | | | | | | | | 2000-06-23 Larry Ewing <lewing@helixcode.com> * e-cell-toggle.c (etog_draw): draw pixmaps with he right background and selection colors. svn path=/trunk/; revision=3709
* add icon_at virtual function - it was stupid to make the insert call takeChris Toshok2000-06-231-0/+16
| | | | | | | | | | | | | | | | | | | | 2000-06-23 Chris Toshok <toshok@helixcode.com> * e-tree-model.h, e-tree-model.c: add icon_at virtual function - it was stupid to make the insert call take 2 pixbufs. the model should give this information. * e-cell-tree.c: get rid of the opened/closed pixbuf stuff. call e_tree_model_icon_of_node. * e-tree-example-1.c: add my_icon_at. * e-tree-simple.c (simple_icon_at): new function (e_tree_simple_new): add icon_at parameter. * e-tree-simple.h: add SimpleIconAtFn. svn path=/trunk/; revision=3707
* use the expanded/unexpanded pixbufs as node pixbufs for the first level ofChris Toshok2000-06-231-0/+16
| | | | | | | | | | | | | | | | | | | | 2000-06-23 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (create_tree): use the expanded/unexpanded pixbufs as node pixbufs for the first level of children, to test the drawing. * e-tree-model.c (e_tree_model_node_get_closed_pixbuf): new function. (e_tree_model_node_get_opened_pixbuf): same. (e_tree_model_node_insert): add opened/closed pixbuf argument. (e_tree_model_node_insert_before): same. * e-tree-model.h: add prototypes for opened/closed pixbuf accessors, and add them to the e_tree_model_node_insert_* calls. * e-cell-tree.c (ect_draw): add opened/closed pixbuf drawing per node. svn path=/trunk/; revision=3706
* Make the table not move around as you resize.Christopher James Lahey2000-06-231-0/+4
| | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Make the table not move around as you resize. svn path=/trunk/; revision=3696
* Killed a warning.Christopher James Lahey2000-06-231-0/+4
| | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Killed a warning. svn path=/trunk/; revision=3691
* Remove use of the "x" and "y" arguments to EText.Christopher James Lahey2000-06-231-0/+10
| | | | | | | | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Remove use of the "x" and "y" arguments to EText. * e-table-item.c: Properly ref the source_model field. * test-check.c, test-cols.c, test-table.c: Remove use of the "x" and "y" arguments to ETableHeaderItem. svn path=/trunk/; revision=3690
* Made the Close button work.Christopher James Lahey2000-06-221-0/+7
| | | | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-dialog.c: Made the Close button work. * e-table-field-chooser.glade, e-table-field-chooser.glade.h: Added a text description of this dialog. svn path=/trunk/; revision=3685
* Changed this to move the cell to the nearest edge instead of to the leftChristopher James Lahey2000-06-221-0/+8
| | | | | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed this to move the cell to the nearest edge instead of to the left of the column it's over. * e-table-header.c: Made target_index equal to eti->col_count be a valid parameter to e_table_header_move. svn path=/trunk/; revision=3683
* Made moving columns to the right work properly.Christopher James Lahey2000-06-221-0/+5
| | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * e-table-header.c: Made moving columns to the right work properly. svn path=/trunk/; revision=3681
* Fix a minor warning.Christopher James Lahey2000-06-211-0/+7
| | | | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-group-leaf.c: Fix a minor warning. * e-table-item.c: Add to the selection if shift is held down. Show cursor when changing sort (or if table changes majorly.) svn path=/trunk/; revision=3667
* Fix HEADER_PADDING.Christopher James Lahey2000-06-211-0/+4
| | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-defines.h: Fix HEADER_PADDING. svn path=/trunk/; revision=3662
* Fix cursor column information.Christopher James Lahey2000-06-211-0/+4
| | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fix cursor column information. svn path=/trunk/; revision=3661
* Removed the unfocus method since that's handled by the canvas itself now.Christopher James Lahey2000-06-211-0/+14
| | | | | | | | | | | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Removed the unfocus method since that's handled by the canvas itself now. * e-table-item.c, e-table-item.h: Finished adapting ETableItem to use the canvas selection/cursor system. Selection and cursor now use row numbers associated with the source model instead of the sorted model (if the model they are given is an ETableSubset.) This has no effect on the interface, except that unfocus was removed and e_table_item_focus was renamed to e_table_item_set_cursor. svn path=/trunk/; revision=3660
* Started adapting ETableItem to use the canvas selection/cursor system.Christopher James Lahey2000-06-211-0/+5
| | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h: Started adapting ETableItem to use the canvas selection/cursor system. svn path=/trunk/; revision=3656
* call e_table_model_row_inserted instead of e_table_model_changed.Chris Toshok2000-06-201-0/+5
| | | | | | | | | 2000-06-17 Chris Toshok <toshok@helixcode.com> * e-tree-model.c (e_tree_model_node_insert): call e_table_model_row_inserted instead of e_table_model_changed. svn path=/trunk/; revision=3637
* Made cells with strikeout on have a line from the left margin to the rightChristopher James Lahey2000-06-171-0/+5
| | | | | | | | | 2000-06-17 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made cells with strikeout on have a line from the left margin to the right margin, instead of just over the text. svn path=/trunk/; revision=3609
* Moved the reflow signal handling into an idle handler to fix a bug whenChristopher James Lahey2000-06-161-0/+5
| | | | | | | | | 2000-06-16 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Moved the reflow signal handling into an idle handler to fix a bug when resizing twice in succession. svn path=/trunk/; revision=3588
* print the icon for the tree control.Chris Toshok2000-06-161-0/+4
| | | | | | | | 2000-06-15 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_print): print the icon for the tree control. svn path=/trunk/; revision=3579
* new function, to generate postscript so i can test tree printing.Chris Toshok2000-06-141-0/+15
| | | | | | | | | | | | | | | | | | | 2000-06-14 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (print_tree): new function, to generate postscript so i can test tree printing. (create_tree): add print button. * e-cell-tree.c (ect_print_height): implement function (in a broken way for the time being, heh). (ect_print): implement function to draw tree controls and offset the subcell's printing. icons aren't printed yet, just lines. (ect_draw): remove old unnecessary comments. only draw the horizontal line in specific instances (well, add a test so a lone root node doesn't get the horizontal line.) (e_cell_tree_class_init): add print/print_height methods. svn path=/trunk/; revision=3565
* Request the value of e_table_is_cell_editable of the model_col instead ofChristopher James Lahey2000-06-141-0/+7
| | | | | | | | | | | 2000-06-14 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Request the value of e_table_is_cell_editable of the model_col instead of the view_col. * e-table-item.h: Slight style fixup. svn path=/trunk/; revision=3564
* Clip the contained text.Christopher James Lahey2000-06-131-0/+11
| | | | | | | | | | | | | | | 2000-06-13 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Clip the contained text. * e-table-group-container.c: Did a first pass at grouped printing. This works, but there's no fancy boxes or headers around the groups. * e-table-item.c: Added will_fit function and added quantize function to _height. svn path=/trunk/; revision=3552
* Removed the freeze/thaw stuff for the model. As Chris wisely pointed out,Federico Mena Quintero2000-06-131-0/+45
| | | | | | | | | | | | | | | | | | | | | | 2000-06-12 Federico Mena Quintero <federico@helixcode.com> * e-table-model.[ch]: Removed the freeze/thaw stuff for the model. As Chris wisely pointed out, having freeze/thaw on the model makes its state inconsistent from the perspective of the views. * e-table-sorted-variable.c: Do not check for a frozen model. * e-table-subset.c: Likewise. * e-table-subset-variable.c: Likewise. * e-table-example-1.c: Removed the ETableModel thaw handler. * e-table-example-2.c: Likewise. * e-table-simple.c: Likewise. * e-table-size-test.c: Likewise. * test-check.c: Likewise. * test-cols.c: Likewise. * test-table.c: Likewise. svn path=/trunk/; revision=3543
* supply the pixbufs here.Chris Toshok2000-06-111-0/+11
| | | | | | | | | | | | | | | 2000-06-10 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (create_tree): supply the pixbufs here. * e-cell-tree.h: change pixbuf names to open_pixbuf/closed_pixbuf. * e-cell-tree.c (e_cell_tree_construct): take open/closed pixbuf parameters, and don't #include the .xpm files directly here. (e_cell_tree_new): same. (ect_draw): use the pixbufs from the ECellTree. svn path=/trunk/; revision=3522
* offset events before passing them to our subcell view.Chris Toshok2000-06-111-0/+5
| | | | | | | | | 2000-06-10 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_event): offset events before passing them to our subcell view. svn path=/trunk/; revision=3520
* change things so we focus the cell and select the row, and also dispatchChris Toshok2000-06-111-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-10 Chris Toshok <toshok@helixcode.com> * e-table-item.c (eti_event): change things so we focus the cell and select the row, and also dispatch the event to that row/cell. This fixes the problem with the tree where you had to click twice to activate the tree controls. * Makefile.am (libetable_a_SOURCES): remove e-tree-gnode.* and add e-tree-simple.* (icons): add tree-expanded.xpm and tree-unexpanded.xpm * e-cell-tree.c (ect_enter_edit): defer to subcell's view. (ect_leave_edit): defer to subcell's view. (visible_depth_of_node): visual depth, taking into account that the root node of the model might not be displayed. (offset_of_node): return the offset used to shift the subcell over. (ect_draw): don't draw vertical lines if we're the leftmode node (a visual root node). also, don't shift x2 by the subcell offset, so we get ellipses like we're supposed to. (ect_event): remove GDK_BUTTON_RELEASE from the list of events that we care about. * e-tree-example-1.c: lots of changes, a more dynamic UI so we can test tree model api stuff. * e-tree-gnode.c, e-tree-gnode.c: removed files, since their guts have been rolled into e-tree-model.c * e-tree-model.c, e-tree-model.h: substantially changed. too much to really describe here. this should really be considered the first revision of these files :) * e-tree-simple.c, e-tree-simple.h: analogous to e-table-simple, a subclass that allows the use of function pointers. svn path=/trunk/; revision=3519
* Small syntactic changes.Christopher James Lahey2000-06-111-0/+6
| | | | | | | | | | 2000-06-11 Christopher James Lahey <clahey@helixcode.com> * e-table-model.c: Small syntactic changes. * e-table.c: Moved the table header into the scrolled view. svn path=/trunk/; revision=3517
* Make ETable use EScrollFrame instead of GtkScrolledWindow.Ettore Perazzoli2000-06-111-0/+13
| | | | svn path=/trunk/; revision=3515
* Added $(GNOME_PRINT_LIBS) to all of the LDADDs.Christopher James Lahey2000-06-111-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(GNOME_PRINT_LIBS) to all of the LDADDs. * e-cell-text.c: Added printing of text cells. * e-cell.c, e-cell.h: Added print and print_height methods. * e-table-field-chooser.glade: Added a minimum size. * e-table-group-container.c: Fixed a rectangle sizing bug. * e-table-group-leaf.c: Implemented get_printable. * e-table-group.c, e-table-group.h: Added a get_printable method to return an EPrintable. * e-table-item.c, e-table-item.h: Added a get_printable function to return an EPrintable. * e-table.c, e-table.h: Added a get_printable function to return an EPrintable. svn path=/trunk/; revision=3511
* New files. A tree model using a GNode structure to store it's info.Chris Toshok2000-06-091-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-08 Chris Toshok <toshok@helixcode.com> * e-tree-gnode.c, e-tree-gnode.h: New files. A tree model using a GNode structure to store it's info. * e-tree-model.c, e-tree-model.h: New files. A proxy model sitting between a table model and the real tree model (of which ETreeGNode is an example). * e-cell-tree.c, e-cell-tree.h: New files. A cell renderer capable of wrapping up a subcell and drawing the tree controls for expanding/collapsing trees. * tree-expanded.xpm, tree-unexpanded.xpm: New files. the standard + and - icons. * e-tree-example-1.c: New file, giving a (pretty poor :) example of using ETreeGNode. * Makefile.am: at the tree stuff to the build, and build tree-example-1. * .cvsignore: ignore tree-example-1. svn path=/trunk/; revision=3483
* The field chooser works now.Christopher James Lahey2000-06-081-0/+16
| | | | | | | | | | | | | | | | | | | | 2000-06-08 Christopher James Lahey <clahey@helixcode.com> * The field chooser works now. * e-table-field-chooser-dialog.c: Make the dialog resizable. * e-table-field-chooser-item.c: Requested a reflow on realization. Made the correct column get dragged. * e-table-field-chooser.c: Set the height correctly. * e-table-field-chooser.glade: Replace the GnomeCanvas with an ECanvas. * e-table-header-item.c: Receive drags from the new dialog. svn path=/trunk/; revision=3476
* More work on the Field Chooser. Not quite done yet.Christopher James Lahey2000-06-081-0/+8
| | | | | | | | | | | | 2000-06-08 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h, e-table-field-chooser-item.c, e-table-field-chooser.c, e-table-field-chooser.glade, e-table-field-chooser.h, e-table-header-item.c, e-table.c: More work on the Field Chooser. Not quite done yet. svn path=/trunk/; revision=3475
* Added e-table-field-chooser*.Christopher James Lahey2000-06-081-0/+15
| | | | | | | | | | | | | | | | | | | 2000-06-07 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-field-chooser*. * e-table-defines.h: Moved some things to here. * e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h, e-table-field-chooser-item.c, e-table-field-chooser-item.h, e-table-field-chooser.c, e-table-field-chooser.glade, e-table-field-chooser.glade.h, e-table-field-chooser.h: New dialog to drag extra fields from. (Not yet finished.) * e-table-header-item.c, e-table-header-item.h: Changed to accommodate e-table-field-chooser. svn path=/trunk/; revision=3473
* Added a right click signal.Christopher James Lahey2000-06-061-0/+8
| | | | | | | | | | | | 2000-06-06 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added a right click signal. * e-table-sorted-variable.c: Fixed a buffer overrun. svn path=/trunk/; revision=3437
* Fixed the multiple copies of rows in ETable bug.Christopher James Lahey2000-06-021-0/+5
| | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Fixed the multiple copies of rows in ETable bug. svn path=/trunk/; revision=3386
* two more pastosDan Winship2000-06-021-0/+5
| | | | | | | * e-table-group.c (e_table_group_key_press): * e-table.c (group_key_press): two more pastos svn path=/trunk/; revision=3370
* Copy and paste error.Christopher James Lahey2000-06-021-0/+6
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Copy and paste error. * e-table-item.c: Mixed up parity on eti->editing. svn path=/trunk/; revision=3368
* Added a "key_press" signal.Christopher James Lahey2000-06-021-0/+6
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added a "key_press" signal. svn path=/trunk/; revision=3366
* Remove an offending *.Dan Winship2000-06-021-0/+4
| | | | | | * e-cell-text.h: Remove an offending *. svn path=/trunk/; revision=3359
* Made the sort when inserting a signal row be syncronous.Christopher James Lahey2000-06-021-0/+5
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Made the sort when inserting a signal row be syncronous. svn path=/trunk/; revision=3358
* Added "text_filter" argument that takes a const void * and returns anChristopher James Lahey2000-06-021-1/+6
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Added "text_filter" argument that takes a const void * and returns an allocated char *. svn path=/trunk/; revision=3356
* Copy and paste error.Christopher James Lahey2000-06-021-0/+4
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Copy and paste error. svn path=/trunk/; revision=3353
* Added e_table_get_selected_view_row.Christopher James Lahey2000-06-021-0/+6
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table.c, e-table.h: Added e_table_get_selected_view_row. svn path=/trunk/; revision=3351
* Added bold column's to ECellText.Christopher James Lahey2000-05-311-0/+4
| | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Added bold column's to ECellText. svn path=/trunk/; revision=3291
* Make sure that the cursor is always shown when the selection changes.Christopher James Lahey2000-05-311-0/+5
| | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Make sure that the cursor is always shown when the selection changes. svn path=/trunk/; revision=3290
* Fixed a bunch of selection bugs. Removed "spreadsheet" argument (for now.)Christopher James Lahey2000-05-301-0/+10
| | | | | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * 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-item.c, e-table-item.h, e-table.c, e-table.h, test-check.c, test-cols.c, test-table.c: Fixed a bunch of selection bugs. Removed "spreadsheet" argument (for now.) Added "cursor_mode" argument. Added "cursor_change" signal. Temporarily removed "selection_mode" argument. svn path=/trunk/; revision=3277
* Fixed setting of arguments.Christopher James Lahey2000-05-291-0/+4
| | | | | | | | 2000-05-28 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Fixed setting of arguments. svn path=/trunk/; revision=3256
* Added double click handling.Christopher James Lahey2000-05-281-0/+6
| | | | | | | | | | 2000-05-28 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added double click handling. svn path=/trunk/; revision=3238
* Added "strikeout_column" argument.Christopher James Lahey2000-05-271-0/+4
| | | | | | | | 2000-05-26 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Added "strikeout_column" argument. svn path=/trunk/; revision=3224
* Made "drawgrid", "drawfocus", "spreadsheet", and "length_threshold"Christopher James Lahey2000-05-271-0/+10
| | | | | | | | | | | | | | 2000-05-26 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table.c, e-table.h: Made "drawgrid", "drawfocus", "spreadsheet", and "length_threshold" arguments set from the ETable effect all the end ETableItems. * e-table-header.c: Made column resize a bit less bumpy. svn path=/trunk/; revision=3223
* Account for extra pixel at right end of ETable.Christopher James Lahey2000-05-261-0/+9
| | | | | | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-table-header.c: Account for extra pixel at right end of ETable. * e-table-item.c: Make grid less intrusive. * e-table.c: Make scrollbars disappear when appropriate. svn path=/trunk/; revision=3206
* Made dragging columns work.Christopher James Lahey2000-05-261-0/+4
| | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made dragging columns work. svn path=/trunk/; revision=3205
* Fixed the remove column callback.Christopher James Lahey2000-05-241-0/+4
| | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Fixed the remove column callback. svn path=/trunk/; revision=3187
* Added right click menus to the table header items.Christopher James Lahey2000-05-241-0/+7
| | | | | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Added right click menus to the table header items. * e-table-sort-info.c: Fixed a small bug. svn path=/trunk/; revision=3184
* Make scrollbar arrow buttons work.Christopher James Lahey2000-05-231-0/+4
| | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Make scrollbar arrow buttons work. svn path=/trunk/; revision=3176
* Added initialize_value and value_is_empty callbacks.Christopher James Lahey2000-05-201-0/+10
| | | | | | | | | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * e-table-example-1.c, e-table-example-2.c, e-table-simple.c, e-table-simple.h, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added initialize_value and value_is_empty callbacks. * e-table-model.c, e-table-model.h: Added initialize_value and value_is_callback virtual functions to the ETableModel class. * e-table-subset.c: Perpetuate the initialize_value and value_is_empty methods. svn path=/trunk/; revision=3138
* From a patch by Iain Holmes <ih@csd.abdn.ac.uk>Christopher James Lahey2000-05-191-0/+8
| | | | | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> From a patch by Iain Holmes <ih@csd.abdn.ac.uk> * e-table-config.c, e-table.c: Fixed getting text content from a node in the case of a non string based content field in the xml library. svn path=/trunk/; revision=3133
* Fixed a memory leak.Christopher James Lahey2000-05-161-0/+4
| | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fixed a memory leak. svn path=/trunk/; revision=3089
* Changed sorting to be at priority level 30.Christopher James Lahey2000-05-161-0/+9
| | | | | | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Changed sorting to be at priority level 30. * e-table.c: Changed rebuild of the table to be at priority level 20. This gives it an advantage over pretty much everything, including e-table-sorted-variable sorting and canvas redraw. svn path=/trunk/; revision=3082
* Removed a memory leak here.Christopher James Lahey2000-05-161-0/+9
| | | | | | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Removed a memory leak here. * e-table-group-leaf.c: Added a ref/sink pair. * e-table-group.c, e-table-header-item.c: Removed some unused code. svn path=/trunk/; revision=3079
* Fixed a FIXME comment.Christopher James Lahey2000-05-161-0/+14
| | | | | | | | | | | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Fixed a FIXME comment. * e-table-header.c, e-table-header.h: Added code to put off size calculation to the idle loop. Added code to not resize columns with 0 expansion. Removed the set_width function; it's been replaced with a Gtk+ arg. * Makefile.am: Added e-table-defines.h to the Makefile.am. * e-table-defines.h: A new file containing some #defines for use in ETable. svn path=/trunk/; revision=3077
* From widgets/e-table/ChangeLogChristopher James Lahey2000-05-141-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * Implemented the feature where the ETable columns automatically fill the given space. * e-cell-text.c, e-cell-text.h: Moved #include e-text-event-processor.h from the .h to the .c. * e-table-col.c, e-table-col.h: Added an expansion variable, and made it so that width isn't set by the programmer but instead by the e-table-header. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Fixed to handle new ETable column resizing. * 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-item.c, e-table-item.h: Fixed these to do a proper canvas reflow/update loop. Changed them to take a minimum width and return a width and a height. * e-table-header-item.c, e-table-header-item.h: Made this so that it depends on e-table-header.c for deciding the actual size of columns during resize (it was making incorrect decisions on its own.) * e-table-header.c, e-table-header.h: Changed this to make sure that the sum of the widths of the columns was always as close as possible to the width of the window. This is done by taking a full width and having each of the columns have an "expansion" field. This field is what makes each column have approximately the same portion of its part of the screen that it used to. * e-table.c: Changed this to set the width on the ETableHeader as well as set the proper minimum width on the ETableGroup and get the width and height it reports. From addressbook/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added libeutil for e-card's support for categories. * backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added a function to get the length. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories support (accessible either as "categories" or "category_list".) * contact-editor/Makefile.am: Added e-table and all of the categories files. * contact-editor/categories.glade, contact-editor/categories-strings.h, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h: * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Rearranged this dialog. * contact-editor/e-contact-editor.c: Rearranged dialog a bit. Added opening of categories dialog. * gui/component/Makefile.am: Rearranged libraries so that libetable would be available for the contact editor categories dialog. * gui/component/addressbook.c: Fix for new ETable resizing. Make contact editor dialog resizable. * gui/minicard/Makefile.am: Added libetable contact editor categories dialog. * gui/minicard/e-minicard.c: Make contact editor dialog resizable. From mail/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Updated to work with new ETable resizing. svn path=/trunk/; revision=3027
* *** empty log message ***Miguel de Icaza2000-05-121-0/+8
| | | | svn path=/trunk/; revision=3001
* Removed dist-hook section.Christopher James Lahey2000-05-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed etssv_remove.Christopher James Lahey2000-05-101-0/+4
| | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c: Fixed etssv_remove. svn path=/trunk/; revision=2951
* Make multi-line texts display properly. Fixed some mem leaks.Christopher James Lahey2000-05-081-0/+5
| | | | | | | | | 2000-05-08 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Make multi-line texts display properly. Fixed some mem leaks. svn path=/trunk/; revision=2911
* free cell.starting_text here to avoid a memory leak.Chris Toshok2000-05-081-0/+5
| | | | | | | * e-cell-text.c (ect_draw): free cell.starting_text here to avoid a memory leak. svn path=/trunk/; revision=2898
* Add a horizontal scrollbar.Christopher James Lahey2000-05-081-0/+4
| | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Add a horizontal scrollbar. svn path=/trunk/; revision=2892
* Handle row_inserted and row_deleted signals properly.Christopher James Lahey2000-05-081-0/+11
| | | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h, e-table.c, e-table.h: Handle row_inserted and row_deleted signals properly. * e-table-model.c, e-table-model.h: Created the row_inserted and row_deleted signals. * e-table-sorted-variable.c, e-table-subset-variable.c: Emit the row_inserted and row_deleted signals as appropriate. svn path=/trunk/; revision=2879
* only to set_value_at if the value is indeed different. (ect_stop_editing):Chris Toshok2000-05-071-0/+8
| | | | | | | | | | * e-cell-text.c (ect_accept_edits): only to set_value_at if the value is indeed different. (ect_stop_editing): free edit->cell.starting_text (build_current_cell): initialize edit->cell.starting_text as a copy of the initial text. svn path=/trunk/; revision=2858
* Killed some warnings.Christopher James Lahey2000-05-071-0/+4
| | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table.c: Killed some warnings. svn path=/trunk/; revision=2836
* use rows here instead of E_TABLE_SUBSET(etsv)->n_map, since the table canChris Toshok2000-05-051-0/+7
| | | | | | | | | * e-table-sorted-variable.c (etsv_sort): use rows here instead of E_TABLE_SUBSET(etsv)->n_map, since the table can be populated by the gtk_main_iteration above. otherwise the vals_closure may not be fully populated. svn path=/trunk/; revision=2809
* Add an e_table_group_add_all function and implement it in the differentChristopher James Lahey2000-05-051-0/+17
| | | | | | | | | | | | | | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Add an e_table_group_add_all function and implement it in the different ETableGroup classes. * e-table-sort-info.c: Make set_nth not call changed twice if it needs to allocate more space. * e-table-sorted-variable.c, e-table-subset-variable.c, e-table-subset-variable.h: Add and implement an e_table_subset_variable_add_all command. * e-table.c: Use e_table_group_add_all as appropriate. Fix ETable grouping xml to work if there is a text element at the bottom of the grouping tree. svn path=/trunk/; revision=2806
* Sped up e_cell_text's get_height function.Christopher James Lahey2000-05-051-0/+4
| | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Sped up e_cell_text's get_height function. svn path=/trunk/; revision=2803
* Added a height_cache idle loop so that the height_cache will be validatedChristopher James Lahey2000-05-041-0/+5
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h: Added a height_cache idle loop so that the height_cache will be validated in the idle loop. svn path=/trunk/; revision=2794
* Load all the data to be sorted by before actually doing the sort.Christopher James Lahey2000-05-041-0/+5
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Load all the data to be sorted by before actually doing the sort. svn path=/trunk/; revision=2793
* Fix author information.Christopher James Lahey2000-05-041-0/+11
| | | | | | | | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Fix author information. * e-table-group-leaf.c: Set a length threshold of 200. * e-table-item.c: Height cache is now actually a map. Made "length_threshold" argument work. If over the length threshold, use the height cache to get a better estimate so that once the height cache is full, height estimate is perfect. svn path=/trunk/; revision=2791
* Add back in main loop calls during sorting.Christopher James Lahey2000-05-041-0/+5
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c (qsort_callback): Add back in main loop calls during sorting. svn path=/trunk/; revision=2788
* Replace insert sort completely with a qsort.Christopher James Lahey2000-05-041-1/+6
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Replace insert sort completely with a qsort. svn path=/trunk/; revision=2786
* Changed the insert sort to be binary instead of linear.Christopher James Lahey2000-05-041-0/+5
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Changed the insert sort to be binary instead of linear. svn path=/trunk/; revision=2784
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* Made this more reentrant.Christopher James Lahey2000-05-011-0/+16
| | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made this more reentrant. * e-table-sorted-variable.c, e-table-sorted-variable.h: Does a proper resort when the sorting info changes. * e-table.c, e-table.h: Made it so that ETable doesn't destroy and recreate the entire table when sorting info changes. svn path=/trunk/; revision=2704
* Added a missing include.Christopher James Lahey2000-04-261-0/+4
| | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Added a missing include. svn path=/trunk/; revision=2637
* Add argument handling here.Miguel de Icaza2000-04-261-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-table.c (e_table_class_init): Add argument handling here. * e-table-group-leaf.c (e_table_group_apply_to_leafs): New method. Enables us to walk all the children of an ETableGroup. * e-table.c (et_get_arg, et_set_arg): Implement ::get and ::set methods. (e_table_construct_from_spec_file): Now we return the etable. (e_table_construct): ditto. (et_real_construct): Now we return the ETable. Returns NULL on construct failure. (e_table_new): ditto. (e_table_new_from_spec_file): ditto. * (et_build_grouping_spec): Removed vestige code that still contained references to the etable->specification XML code. Dumped all the ifdefed out code. * e-table.h: Removed ETable->specification finally. svn path=/trunk/; revision=2632
* Fixed a warning.Christopher James Lahey2000-04-251-0/+6
| | | | | | | | | | 2000-04-25 Christopher James Lahey <clahey@helixcode.com> * e-table-size-test.c: Fixed a warning. * e-table-item.c: Removed the unnecessary gnome_canvas_update_bbox. svn path=/trunk/; revision=2598
* Made the tooltip show up in the correct place and configuration when usingChristopher James Lahey2000-04-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Calculate the width of the table from the width of all the columns, andIain Holmes2000-04-241-0/+6
| | | | | | | | | | 2000-04-23 Iain Holmes <ih@csd.abdn.ac.uk> * e-table-item.c (eti_bounds): Calculate the width of the table from the width of all the columns, and update the eti->width field as appropiate. (eti_update): Update the bbox. svn path=/trunk/; revision=2572
* add table-size-testChris Toshok2000-04-171-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (noinst_PROGRAMS): add table-size-test * .cvsignore: add table-size-test. * e-cell-text.c (ect_ecent): use e_table_model_is_cell_editable instead of E_CELL_EDITABLE. * e-cell-toggle.c (etog_event): same. * e-cell.c (e_cell_init): don't call e_cell_set_editable. that info comes from the model. (e_cell_set_editable): removed function. * e-cell.h: remove the E_CELL_EDITABLE flag. that should be retrieved from the model. also, remove the prototype for e_cell_set_editable. * e-table-size-test.c: new file, for a stress test of sorts, of a large, uneditable e-table. svn path=/trunk/; revision=2468
* Propagate mouse wheel events upwards.Anders Carlsson2000-04-171-0/+8
| | | | | | | | | | | | 2000-04-16 Anders Carlsson <andersca@gnu.org> * e-table-item.c (eti_event): Propagate mouse wheel events upwards. * e-table.c (et_real_construct): Use a GtkScrolledWindow here instead of a GtkScrollbar, since it makes mouse wheel scrolling much easier. svn path=/trunk/; revision=2463
* + * addressbook/gui/component/addressbook.cMatthew Loper2000-04-161-0/+7
| | | | | | | | | | | | | | | | + (search_entry_activated): New function. Gets called when the quick + search entry is called on to perform a search. + (make_quick_search_widget): New function; returns a "quick search" + widget. + (control_activate): During the construction of the toolbar, a + "quick search" widget is included. + + * e-table.c (et_xml_to_header): sanity-check our parameters. + (et_grouping_xml_to_sort_info): same. + (et_real_construct): Bail if we couldn't get the children we + wanted. svn path=/trunk/; revision=2455
* Added a row height cache.Christopher James Lahey2000-04-151-0/+4
| | | | | | | | 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
* Make `e_table_construct()' work by passing the correct size argumentEttore Perazzoli2000-04-151-0/+5
| | | | | | to `xmlParseMemory()'. svn path=/trunk/; revision=2442
* Switch the parent object to be a GtkTable. (et_real_construct): applyMiguel de Icaza2000-04-151-0/+7
| | | | | | | | | | | 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
* Remove test for source. We will fix this later.Miguel de Icaza2000-04-131-1/+4
| | | | | | | | | 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
* Reset resize_guide here.Miguel de Icaza2000-04-121-0/+4
| | | | | | | | 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
* Add group indent width here. (is_pointer_on_division): Use the groupMiguel de Icaza2000-04-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 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
* Drop frozen count support from here. (ethi_start_drag): ditto.Miguel de Icaza2000-04-111-0/+8
| | | | | | | | | | | | 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
* + * addressbook/gui/component/addressbook.c (addressbook_factory):Matthew Loper2000-04-091-0/+6
| | | | | | | | | | | | | | | + 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
* Separated some functions into an xml bit and a generic bit.Christopher James Lahey2000-04-091-0/+5
| | | | | | | | | 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
* Got rid of some warnings.Christopher James Lahey2000-04-061-0/+11
| | | | | | | | | | | | | | | 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
* Load the icons from the installation path, not form the GNOME-libsMiguel de Icaza2000-04-061-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed some referencing and lifetime issues.Christopher James Lahey2000-04-051-0/+6
| | | | | | | | | | | | | | | | | 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
* Add so I can go to the chillout hack roomMiguel de Icaza2000-03-311-0/+5
| | | | svn path=/trunk/; revision=2264
* + * wombat/Makefile.am: new file.Matthew Loper2000-03-291-0/+5
| | | | | | | | | | | + * 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
* Fix nasty rendering bugs,Michael Meeks2000-03-281-0/+8
| | | | | | | Implement bbox calcs for e-tabel-item Clean style lots svn path=/trunk/; revision=2194
* Removed extra code that computed bogus width. This was the actual sourceMatias Mutchinick2000-03-271-0/+6
| | | | | | | | | | 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
* Remove warning from here.Miguel de Icaza2000-03-271-0/+12
| | | | | | | | | | | | | | | | 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
* Added some assertions.Matthew Loper2000-03-231-0/+5
| | | | | | | * e-table-text-model.c (e_table_text_model_destroy): Added some assertions. svn path=/trunk/; revision=2146
* Make rectangles resize properly when receiving the "model_changed" signal.Christopher James Lahey2000-03-221-0/+5
| | | | | | | | | 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
* i2000-03-20 Christopher James Lahey <clahey@helixcode.com>Chris Lahey2000-03-211-0/+11
| | | | | | | | | | | | | * 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
* Fixed a crashing bug when you close an ETable.Christopher James Lahey2000-03-201-0/+5
| | | | | | | | | 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
* Fixed a crashing bug when you cancel an edit.Christopher James Lahey2000-03-141-0/+4
| | | | | | | | 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
* Rearranged SUBDIRS for dependencies.Christopher James Lahey2000-03-121-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Changed the destroy function to disconnect from signals before unrefingChristopher James Lahey2000-03-081-0/+15
| | | | | | | | | | | | | | | | | | | 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
* Made rows get unselected when switching from one group to the next.Christopher James Lahey2000-03-061-0/+5
| | | | | | | | | 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
* Use the style's font if lucidasans-10 is not found.Christopher James Lahey2000-03-061-0/+5
| | | | | | | | | 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
* Made it so that columns would be properly indented.Christopher James Lahey2000-03-061-0/+5
| | | | | | | | | 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
* Have identical values get sorted by their actual row.Christopher James Lahey2000-03-061-0/+5
| | | | | | | | | 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
* Draw selected row.Christopher James Lahey2000-03-061-0/+4
| | | | | | | | 2000-03-06 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Draw selected row. svn path=/trunk/; revision=2070
* Add a "row_selection" signal.Christopher James Lahey2000-03-061-0/+11
| | | | | | | | | | | | | | | 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
* Added support for the sorting info. The Etable creates a sort_info object,Christopher James Lahey2000-03-061-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added saving of frozen_columns count. Added a vertical scrollbar toChristopher James Lahey2000-03-051-0/+5
| | | | | | | | | 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
* Push the proper visual and colormap for ETable to work.Christopher James Lahey2000-03-051-0/+4
| | | | | | | | 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
* Touched this up a bit.Christopher James Lahey2000-03-051-0/+7
| | | | | | | | | | | 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
* Fixed a crash error.Christopher James Lahey2000-03-051-0/+4
| | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Fixed a crash error. svn path=/trunk/; revision=2040
* Fixed a compile warning.Christopher James Lahey2000-03-051-0/+6
| | | | | | | | | | 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
* Added a bunch of stuff to the TODO list. Put +s before a few of the itemsChristopher James Lahey2000-03-041-0/+11
| | | | | | | | | | | | | | | 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
* Removed some unused code.Christopher James Lahey2000-03-041-0/+9
| | | | | | | | | | | | | 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
* Various building fixes. At least, now it builds for me.Ettore Perazzoli2000-03-021-0/+4
| | | | svn path=/trunk/; revision=2007
* Test frozen columnsChristopher James Lahey2000-03-011-0/+15
| | | | | | | | | | | | | | | | | | | 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
* Fixed references to libutil.a -> libeutil.laMichael Zucci2000-02-291-0/+4
| | | | svn path=/trunk/; revision=1983
* Fixed a couple of crash bugs.Christopher James Lahey2000-02-281-0/+5
| | | | | | | | | 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
* Made the E table item redraw properly.Christopher James Lahey2000-02-251-0/+8
| | | | | | | | | | | | 2000-02-25 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Made the E table item redraw properly. * e-table-group-container.c: Added handling to distinguish between n items and 1 item. Got rid of a crash due to an abandoned timeout callback. svn path=/trunk/; revision=1933
* Made carriage return stop editting instead of inserting a carriage return.Christopher James Lahey2000-02-251-0/+5
| | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made carriage return stop editting instead of inserting a carriage return. svn path=/trunk/; revision=1932
* Added e_xml_get_integer_prop_by_name.Christopher James Lahey2000-02-251-3/+4
| | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added e_xml_get_integer_prop_by_name. * e-util/Makefile.am: Added e-util.c. * e-util/e-util.h: Added e-util.c functions. * e-util/e-util.c: New file for compare functions from mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed to match new e_table_simple interface. svn path=/trunk/; revision=1931
* Added duplicate_value and add_value. Use the new compare functions. MadeChristopher James Lahey2000-02-251-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * test-table.c: Added duplicate_value and add_value. Use the new compare functions. Made it so we only create one model to better test model view stuff. Changed the test to not have as many extra, useless, columns. * test-cols.c, test-check.c: Added duplicate_value and add_value. Use the new compare functions. * e-table.c, e-table.h: Use all the new features of e-table-groups (sorting and grouping). Handle on the fly reorganization of groups in an idle loop. Compare functions now are to return -1 if the first item is greater, 0 if they are equal, or 1 if the second item is greater. * e-table-subset.c, e-table-subset.h: Made e-table-subset disconnect properly from its signals when it dies. * e-table-subset-variable.c, e-table-subset-variable.h: Virtualized the add and remove commands so that e_table_sorted_variable could override the add command to do sorting. * e-table-sorted.c: Fixed this to inherit properly from ETableSubset. * e-table-simple.h, e-table-simple.c: Added handling of duplicate_value and free_value; * e-table-model.c, e-table-model.h: Added duplicate_value and free_value for memory allocation of table elements outside the table. * e-table-item.c: Fixed a crashing bug. * e-table-group.c: Added sorting. Fixed destruction to delete the right things. * e-table-group-leaf.c, e-table-group-leaf.h: Pass column and sort order information into the e_table_sorted_variable. Properly destroy things when deleted. * e-table-group-container.c, e-table-group-container.h: Properly handle the list of subgroups. Handle proper sorting and grouping of subgroups. * e-table-sorted-variable.c, e-table-sorted-variable.h: Files to do a sorted model that stays sorted as you add and remove rows. * Makefile.am: Added e-table-sorted-variable.c and e-table-sorted-variable.h. svn path=/trunk/; revision=1930
* Made keyboard focus navigation work across groups.Christopher James Lahey2000-02-241-0/+14
| | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Made keyboard focus navigation work across groups. * e-table-header.c: Made e_table_header_col_diff not crash if you give it a column less than 0 (it truncates negative column values to 0.) * e-table-group.c, e-table-group.h: Added e_table_group_get_header to get the ETableHeader for this ETableGroup. * e-table-group-container.c: Made shift tab work. svn path=/trunk/; revision=1917
* Made changing focus work.Christopher James Lahey2000-02-241-0/+4
| | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Made changing focus work. svn path=/trunk/; revision=1916
* This were moved to widgets/e-text/ a while ago but never removed. TheyChristopher James Lahey2000-02-241-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.c, widgets/e-text.h, e-text-event-processor.c, e-text-event-processor.h, e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h: This were moved to widgets/e-text/ a while ago but never removed. They have now been removed. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed some warnings from this file. Made tooltips disappear when you're finished with them. * widgets/e-minicard/test-reflow.c, widgets/e-minicard/test-minicard.c, widgets/e-minicard/test-minicard-label.c: Commented out unused about_callback functions. * widgets/e-minicard/e-reflow.c: Made e-reflow pass an EFocus to its e-minicard children. * widgets/e-minicard/e-minicard.c: Made e-minicard take and return an EFocus for its "has_focus" argument. This makes shift-tab work properly. * widgets/e-minicard/e-minicard-label.c: Made e-minicard-label take and return an EFocus for its "has_focus" argument. Made the font that e-minicard-label uses only be allocated once. * e-util/e-canvas-utils.h: Fixed the comment at the top and added #ifndef __E_CANVAS_UTILS__. * e-util/Makefile.am: Added e-xml-utils.c and e-xml-utils.h. * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some xml utilities. * e-util/e-util.h: Added type EFocus which describes which direction the focus will be coming from. in mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed this to not use the "x" and "y" arguments to e-table-item. in widgets/e-table: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c, e-table-subset-variable.h: A new model which is a subset, but you can add and remove rows. * test-table.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. Properly parse headers. Adapted to the changes to e_table, including creating example xml spec data. * test-cols.c, test-check.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. * e-table.c, e-table.h: Reworked e-table to use the ETable grouping system. The only difference for the interface is that instead of passing in a column_spec and a grouping_spec, you pass in a single string that is an xml format that includes both pieces of information. * e-table-subset.h: Added rules for emacs to do correct indentation. * e-table-subset.c: Implemented freezing. No signals are emitted while frozen and "model_changed" is emitted when thawed. * e-table-sorted.h: ETableSortedClass has ETableSubset as its parent object instead of ETableSubsetClass. Fixed this. * e-table-simple.c, e-table-simple.h: Implemented the thaw method. Use of simple now requires an extra argument (the thaw method.) * e-table-model.h, e-table-model.c: Added e_table_model_freeze and e_table_model_thaw. * e-table-item.h, e-table-item.c: Reworked this a bit to make it provide some things the new group system needed and to make inter-item keyboard focus work. Changed the external interface only in the list of arguments it recognizes and signals it emits. Instead of "x" and "y", you have to use e_canvas_item_move_absolute and instead of emitting a "height_changed" signal, it emits a "resize" signal. There's new "has_focus", "width", and "height" arguments and a function to get the currently focused column. * e-table-header-item.c: Got rid of some warnings here. Changed the * e-table-group-leaf.h, e-table-group-leaf.c, e-table-group-container.h, e-table-group-container.c: New types to make e_table_group work properly. * e-table-group.h, e-table-group.c: Completely reworked e-table grouping. e-table-group now uses a hierarchical structure. * e-cell.h: Added e_cell_print. This doesn't work yet. * e-cell.c: Made e_cell_realize exist. (It was improperly named e_cell_view_realize in the .c.) * e-cell-text.c: Made the blinking cursor disappear properly. * check-filled.xpm, check-empty.xpm: Made these const char *[] instead of char *[] to avoid compiler warnings. * Makefile.am: Added e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-subset-variable.c, e-table-subset-variable.h. svn path=/trunk/; revision=1915
* Include <string.h>Miguel de Icaza2000-02-191-0/+2
| | | | | | | | 2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * e-table-header.c: Include <string.h> svn path=/trunk/; revision=1842
* Add EXTRA_GNOME_CFLAGS to INCLUDES>Miguel de Icaza2000-02-191-0/+4
| | | | | | | | 2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * Makefile.am (INCLUDES): Add EXTRA_GNOME_CFLAGS to INCLUDES> svn path=/trunk/; revision=1841
* Check the ethi is actually the one being dragged. Prevents crashes whenIain Holmes2000-02-131-0/+9
| | | | | | | | | | | | | 2000-02-12 Iain Holmes <ih@csd.abdn.ac.uk> * e-table-header-item.c (ethi_drag_motion): Check the ethi is actually the one being dragged. Prevents crashes when trying to drag headeritems and there are multiple headeritems on the same canvas. (ethi_drag_end): Same. (ethi_drag_drop): Same. (ethi_drag_leave): Same. svn path=/trunk/; revision=1745
* Added test of sort arrows.Christopher James Lahey2000-02-121-0/+9
| | | | | | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * test-check.c: Added test of sort arrows. * e-table-col.h, e-table-col.c: Added sort arrows for column headers (It doesn't actually sort. It just displays the arrows.) * e-table-header-item.c: Added display of arrows. svn path=/trunk/; revision=1743
* Test column header image.Christopher James Lahey2000-02-121-0/+10
| | | | | | | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * clip.png: Test column header image. * test-check.c: Test pixbuf column headers. * e-table-col.h, e-table-col.c: Added pixbufs for column headers. * e-table-header-item.c (draw_button): Draw pixbuf column headers properly. svn path=/trunk/; revision=1739
* Add an editable argument to e_cell_text_new.Christopher James Lahey2000-02-121-0/+8
| | | | | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.h, e-cell-text.c: Add an editable argument to e_cell_text_new. * test-table.c, test-cols.c, test-check.c: Set the editable argument to e_cell_text_new. svn path=/trunk/; revision=1738
* Added reordering of columns.Christopher James Lahey2000-02-121-0/+8
| | | | | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.h, e-table-header-item.c: Added reordering of columns. * e-table-header.c: Fixed a couple of bugs in the move column and remove column functions. svn path=/trunk/; revision=1736
* Made space around text look right. Added a blinking cursor.Christopher James Lahey2000-02-121-0/+5
| | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made space around text look right. Added a blinking cursor. svn path=/trunk/; revision=1735
* Add nice assertion.Miguel de Icaza2000-02-111-0/+5
| | | | | | | | | 2000-02-11 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_header_structure_changed): Add nice assertion. svn path=/trunk/; revision=1733
* Handle button releases properly.Christopher James Lahey2000-02-101-0/+6
| | | | | | | | | | 2000-02-10 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Handle button releases properly. * e-table-header-item.c (ethi_start_drag): Added a drag icon. svn path=/trunk/; revision=1724
* Tweaked e-cell-text. Added a white background and tweaked the borders.Christopher James Lahey2000-02-101-0/+5
| | | | | | | | | 2000-02-09 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Tweaked e-cell-text. Added a white background and tweaked the borders. svn path=/trunk/; revision=1721
* Changes where e-text is included from.Christopher James Lahey2000-02-091-0/+4
| | | | | | | | 2000-02-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Changes where e-text is included from. svn path=/trunk/; revision=1708
* Fixed some motion event bugs. (incorrect x and y.)Christopher James Lahey2000-02-081-0/+11
| | | | | | | | | | | | | | | 2000-02-07 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_event): Fixed some motion event bugs. (incorrect x and y.) * Makefile.am: Added includes for dependencies in evolution/widgets/libevolutionwidgets.a * e-cell-text.h, e-cell-text.c: Completely revamped using code from e-text.c and e-text.h. svn path=/trunk/; revision=1692
* Setup the scroll region of the table canvas on size allocation.Miguel de Icaza2000-02-071-0/+7
| | | | | | | | | | | 2000-02-07 Miguel de Icaza <miguel@gnu.org> * e-table.c (e_table_setup_table): Setup the scroll region of the table canvas on size allocation. (e_table_canvas_realize): Do not set the scrollregion here. (e_table_canvas_init): Move root initialization here. svn path=/trunk/; revision=1683
* Add data field back in.Miguel de Icaza2000-01-291-0/+4
| | | | | | | | 2000-01-30 Miguel de Icaza <miguel@gnu.org> * e-table-simple.c (e_table_simple_new): Add data field back in. svn path=/trunk/; revision=1653
* Ok, the restructuring of ETableItem to compute its size without hacks isMiguel de Icaza1999-12-311-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ok, the restructuring of ETableItem to compute its size without hacks is in now. I am feeling better now. 1999-12-30 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_attach_cell_views): New routine, creates the cell views. (eti_detach_cell_views): Detaches the cell_views from the ETableItem. (eti_realize_cell_views, eti_unrealize_cell_views): Simplified to just do realize/unrealize notification. (eti_add_table_model): Only attach the cells when we have both the table model and the header model. * e-cell.h (ECellClass): Added two new methods: new_view and kill_view which drive the view process (instead of putting that on realize/unrealize). * e-cell.c: Adapt the code to use the new scheme for view instantiation. * e-cell-text.c, e-cell-toggle.c: Adapted to the new class changes. svn path=/trunk/; revision=1523
* Sync, does not work, dont try it, just backing up -miguelArturo Espinosa1999-12-281-0/+14
| | | | svn path=/trunk/; revision=1521
* added widgets/meeting-time-sel/MakefileDamon Chaplin1999-12-201-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-19 Damon Chaplin <damon@karuna.freeserve.co.uk> * configure.in (AC_OUTPUT): added widgets/meeting-time-sel/Makefile In widgets directory: 1999-12-19 Damon Chaplin <damon@karuna.freeserve.co.uk> * Makefile.am (SUBDIRS): created SUBDIRS with meeting-time-sel. * meeting-time-sel/Makefile.am: * meeting-time-sel/.cvsignore: * meeting-time-sel/e-meeting-time-sel.h: * meeting-time-sel/e-meeting-time-sel.c: * meeting-time-sel/e-meeting-time-sel-item.h: * meeting-time-sel/e-meeting-time-sel-item.c: * meeting-time-sel/e-meeting-time-sel-list-item.h: * meeting-time-sel/e-meeting-time-sel-list-item.c: * meeting-time-sel/e-meeting-time-sel-mail.xpm: * meeting-time-sel/e-meeting-time-sel-no-mail.xpm: * meeting-time-sel/test-meeting-time-sel.c: new files implementing the meeting time selector. svn path=/trunk/; revision=1505
* Fix before tripArturo Espinosa1999-12-131-0/+11
| | | | svn path=/trunk/; revision=1485
* Works with GnomeCanvasGroups -miguelArturo Espinosa1999-12-131-0/+5
| | | | svn path=/trunk/; revision=1484
* More work. We now have the basics for nesting working, now we need all theArturo Espinosa1999-12-121-0/+33
| | | | | | | | | | | | | | More work. We now have the basics for nesting working, now we need all the interactions done properly. I want to use a new GnomeCanvasItem for the nesting parent as well. DnD will have to be done with our own protocol to provide all the feedback we want to provide. Miguel svn path=/trunk/; revision=1481
* fix this routine.Miguel de Icaza1999-12-101-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-09 Miguel de Icaza <miguel@gnu.org> * e-table-header.c (e_table_header_col_diff): fix this routine. 1999-12-04 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_event): Started drag and drop support. * e-table-item.c (eti_table_model_changed): The columns are controled by the Header, not by the TableModel. * e-table-header-item.c (ethi_draw): Fixed redraw logic to support arbitrary header positioning. * e-cell.h: Revamped e-cell interface. We now provide the model column and the view column to all methods (so that the methods can talk to the view and to the model at the same time). * e-table-item.c: Update to new API * e-cell-test.c: Update to new API 1999-12-03 Miguel de Icaza <miguel@gnu.org> * e-cell.c (e_cell_class_init): Provide emtpy methods for enter_edit, and leave_edit. * e-table-item.c: Killed draw cell. (eti_draw): Perform column mapping here. (e_table_item_leave_edit): ditto. (e_table_item_enter_edit): ditto. (eti_event): ditto. svn path=/trunk/; revision=1478
* fixed api.Miguel de Icaza1999-12-031-0/+15
| | | | | | | | | | | | | | | | | | | | | 1999-12-02 Miguel de Icaza <miguel@gnu.org> * e-table-header.c (e_table_header_index): fixed api. 1999-12-01 Miguel de Icaza <miguel@gnu.org> * test-cols.c (multi_cols_test): Update to simplified API. * test-check.c (check_test): ditto * test-table.c (table_browser_test): ditto * e-table-simple.c (e_table_simple_class_init): Kill column_name method. * e-table-model.h: Kill column_name method. * e-table-col.c (e_table_col_new): Instead of using a column name, use a column index. svn path=/trunk/; revision=1459
* Keep track of the originally allocated piece of code.Miguel de Icaza1999-12-021-0/+3
| | | | | | | | | 1999-12-01 Miguel de Icaza <miguel@gnu.org> * e-cell-text.c (ect_draw): Keep track of the originally allocated piece of code. svn path=/trunk/; revision=1451
* Removed change cursor from here.Miguel de Icaza1999-12-021-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-01 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_unrealize): Removed change cursor from here. * e-cell-text.c (ect_draw): Memory leak fix. * table-test.c (main): Enhance the demo to load sample.table automatically, to get memprof working. * e-table-header.c (eth_do_remove): Take an argument: do -remove. * e-table-header.c (e_table_header_add_column): Sink ETableCol to own the object. * e-table-col.h: Made ETableCol a GtkObject to make reference counting the lifecycle method for these objects. * e-table-col.c (e_table_col_destroy): New API call. * e-table-subset.c (e_table_subset_get_toplevel): New API call. svn path=/trunk/; revision=1450
* This one derives from e-cell-toggle.Miguel de Icaza1999-12-011-0/+13
| | | | | | | | | | | | | | | | | 1999-11-30 Miguel de Icaza <miguel@gnu.org> * e-cell-checkbox.c (e_cell_checkbox_new): This one derives from e-cell-toggle. * check-emtpy.xpm, check-filled.xpm: new files. * e-cell-toggle.c (etog_draw): Paint in white. If we have transparency enabled, do the nice alpha computation. * test-table.c, test-cols.c: new files; They implement the split tests. svn path=/trunk/; revision=1447
* New cell-toggle stuff compiles -miguelArturo Espinosa1999-11-301-0/+5
| | | | svn path=/trunk/; revision=1446
* New file. Implement a multi-state image toggle cell object.Miguel de Icaza1999-11-301-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-11-29 Miguel de Icaza <miguel@gnu.org> * e-cell-toggle.c, e-cell-toggle.h: New file. Implement a multi-state image toggle cell object. * e-cell-text.c (ect_leave_edit): Handle the case of us calling leave edit manually. (ect_stop_editing): Leave manually editing here. (ect_draw): Add one pixel to the border for left and right; Handle off-screen cursor (must be improved). (ect_edit_select_all): New function. (ect_event): Select all text on editing start * e-table-item.c (eti_event): Map mouse events and dispatch them. (eti_event): Add spreadsheet mode for editing; Enter editing only with visual characters; Leave editing mode when a different row has been selected. (eti_get_height): Fix the computation for this; Fix logic for the length_threshold. (eti_draw): Add borders on all sides of the box; Only draw focus if the cell is not being edited. svn path=/trunk/; revision=1445
* Small cosmetic fixArturo Espinosa1999-11-291-0/+3
| | | | svn path=/trunk/; revision=1443
* New methods; They implement editing.Miguel de Icaza1999-11-291-0/+13
| | | | | | | | | | | | | | | | | 1999-11-28 Miguel de Icaza <miguel@gnu.org> * e-cell-text.c (ect_enter_edit, ect_leave_edit): New methods; They implement editing. * e-cell.h: new methods: enter_edit, leave_edit * e-table-model.h (set_value_at): make val argument const. * e-table-simple.c (simple_set_value_at): Make value argument const; * e-table-item.c (eti_set_arg): Add new mode: draw_focus; svn path=/trunk/; revision=1442
* beginning of the keyboard navigation.Miguel de Icaza1999-11-281-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 1999-11-27 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_event): beginning of the keyboard navigation. * e-table-model.c (e_table_model_row_changed): new function. (e_table_model_cell_changed): new function. (e_table_model_class_init): New signals. * e-table-item.c (eti_request_region_redraw): x2, y2 offsets were wrong. (eti_select): Repaint selected region. (eti_request_region_redraw): Fix range. (eti_draw): Correct offset computation here. (e_table_item_class_init): New method: row_selection, handles the selection. Now it implement GTK_SELECTION_SINGLE and GTK_SELECTION_MULTIPLE. Focusing and selection should be correct now. svn path=/trunk/; revision=1441
* Compute height using the ecell methods here. (eti_get_height): new methodMiguel de Icaza1999-11-271-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-11-26 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_realize): Compute height using the ecell methods here. (eti_get_height): new method to compute dimensions. * e-cursors.c: use a different cursor. * e-table-model.h: kill height and row_height methods. * e-cell.c (ec_height): New method. * e-cell-text.c (ect_realize): Load the font from the canvas. (ect_draw): New color setup. Center in the row. (ect_height): Implement new method. 1999-11-26 Michael Meeks <mmeeks@gnu.org> * ROADMAP.e-table: small spelling/typo fixes. 1999-11-25 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_event): Work on mouse-button event svn path=/trunk/; revision=1439
* minor typo fixes.Michael Meeks1999-11-261-0/+4
| | | | svn path=/trunk/; revision=1437
* New routine: Realizes the cell views (eti_unrealize_cell_views): NewMiguel de Icaza1999-11-251-0/+9
| | | | | | | | | | | | | | 1999-11-25 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_realize_cell_views): New routine: Realizes the cell views (eti_unrealize_cell_views): New routine: unrealizes the cell views. * e-table-item.h: Move cell_views array here. * table-test.c (value_at): Fix return value. svn path=/trunk/; revision=1436
* Realize cells.Miguel de Icaza1999-11-251-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 1999-11-25 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_realize): Realize cells. * e-table-item.c (eti_header_dim_changed): redraw before and after. * e-table-header-item.c (ethi_event): Add continuous resizing. 1999-11-24 Miguel de Icaza <miguel@gnu.org> * e-table-subset.h, e-table-subset.c: New files, used to implement subset tables. * e-table-sorted.h, e-table-sorted.c: Now they derive from e-table-subset. * e-cell.c, e-cell.h: realize method now return per view instance data. svn path=/trunk/; revision=1434
* WOOOOHOOOOOoO! It took me quite a while to figure this one out. Fixed.Miguel de Icaza1999-11-211-0/+3
| | | | | | | | | 1999-11-20 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_draw): WOOOOHOOOOOoO! It took me quite a while to figure this one out. Fixed. svn path=/trunk/; revision=1426
* Compute width, keep track of it. (ethi_add_table_header): Monitor changesMiguel de Icaza1999-11-211-0/+16
| | | | | | | | | | | | | | | | | | | | 1999-11-20 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_set_arg): Compute width, keep track of it. (ethi_add_table_header): Monitor changes to the Header model; Queue updates. (ethi_draw): Fix the redraw logic here. * table-test.c (main): Change the sample code, so we can better debug this. * e-table-item.c (eti_header_structure_changed): Keep track of width; (eti_header_dim_changed): ditto. (eti_draw): Many redraw fixes. svn path=/trunk/; revision=1425
* more stuff -migArturo Espinosa1999-11-201-0/+3
| | | | svn path=/trunk/; revision=1424
* Finish implementing e-table-sorted -migArturo Espinosa1999-11-191-0/+4
| | | | svn path=/trunk/; revision=1421
* New E-table-item.[ch] -migArturo Espinosa1999-11-191-0/+11
| | | | svn path=/trunk/; revision=1419
* More work:Ettore Perazzoli1999-11-171-0/+19
| | | | | | | - Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395
* s/\.a/.la/Elliot Lee1999-11-171-0/+3
| | | | | | s/\.a/.la/ svn path=/trunk/; revision=1389
* Add resizing capabilities.Miguel de Icaza1999-11-161-0/+17
| | | | | | | | | | | | | | | | | | | | | 1999-11-14 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (is_pointer_on_division): Add resizing capabilities. * e-table-sorted.c: Finish implementation. 1999-11-13 Miguel de Icaza <miguel@gnu.org> * e-table-sorted.c: Implement e-table-sorted object. 1999-11-12 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c: Make the thing configurable. * e-table-header-item.h: Add font field, location, height. svn path=/trunk/; revision=1388
* Added tooltips to the header area.Ettore Perazzoli1999-11-131-0/+11
| | | | svn path=/trunk/; revision=1385
* More table workArturo Espinosa1999-11-121-0/+14
| | | | svn path=/trunk/; revision=1383
* Some message composer improvements.Ettore Perazzoli1999-11-121-0/+46
| | | | svn path=/trunk/; revision=1382
* Added cut/copy/paste support to the address editing dialog.Ettore Perazzoli1999-11-091-0/+68
| | | | svn path=/trunk/; revision=1371
* Some initial work on the dialog for entering addresses from the address book.Ettore Perazzoli1999-11-071-0/+27
| | | | svn path=/trunk/; revision=1370
* Here is my initial Evolution work: message composition widget and someEttore Perazzoli1999-11-061-0/+23
| | | | | | installation fixes for Camel. svn path=/trunk/; revision=1369
* Added my widgets stuff -miguelArturo Espinosa1999-11-021-0/+9
svn path=/trunk/; revision=1364