aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Have identical values get sorted by their actual row.Christopher James Lahey2000-03-063-0/+11
| | | | | | | | | 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-063-4/+28
| | | | | | | | 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-0615-2/+189
| | | | | | | | | | | | | | | 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-0623-25/+992
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-054-3/+28
| | | | | | | | | 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-053-0/+16
| | | | | | | | 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-056-14/+35
| | | | | | | | | | | 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-053-0/+6
| | | | | | | | 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-055-38/+44
| | | | | | | | | | 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-048-28/+323
| | | | | | | | | | | | | | | 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-049-16/+23
| | | | | | | | | | | | | 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-022-2/+6
| | | | svn path=/trunk/; revision=2007
* Don't show the tooltip if the text is being editted or isn't clipped.Iain Holmes2000-03-013-6/+49
| | | | | | | | | | | 2000-02-29 Iain Holmes <ih@csd.abdn.ac.uk> * widgets/e-text/e-text.c: Don't show the tooltip if the text is being editted or isn't clipped. Remove the tooltip when editting starts. * widgets/e-text/Makefile.am: Build the test program svn path=/trunk/; revision=1994
* Test frozen columnsChristopher James Lahey2000-03-0116-3/+1176
| | | | | | | | | | | | | | | | | | | 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-294-5/+9
| | | | svn path=/trunk/; revision=1983
* Fixed a couple of crash bugs.Christopher James Lahey2000-02-285-6/+11
| | | | | | | | | 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
* Compilation error.Chris Lahey2000-02-282-18/+16
| | | | | | | | 2000-02-28 Chris Lahey <clahey@umich.edu> * widgets/e-text/e-text.c: Compilation error. svn path=/trunk/; revision=1973
* Updated these to use the canvas ::update system properly.Chris Lahey2000-02-284-128/+144
| | | | | | | | | 2000-02-28 Chris Lahey <clahey@umich.edu> * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Updated these to use the canvas ::update system properly. svn path=/trunk/; revision=1972
* Made the E table item redraw properly.Christopher James Lahey2000-02-255-12/+38
| | | | | | | | | | | | 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-253-16/+29
| | | | | | | | | 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-2546-190/+1354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2411-8/+54
| | | | | | | | | | | | | | | | | | 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-243-10/+14
| | | | | | | | 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-2478-4371/+4169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* added libetext.a and libeutil.a to test_shortcut_bar_LDADD, and got rid ofDamon Chaplin2000-02-2116-163/+289
| | | | | | | | | | | | | | | | | | | | | | | | 2000-02-20 Damon Chaplin <damon@helixcode.com> * widgets/shortcut-bar/Makefile.am: added libetext.a and libeutil.a to test_shortcut_bar_LDADD, and got rid of e-icon-bar-text-item.[hc]. I'll delete these soon. * widgets/shortcut-bar/e-icon-bar.c: changed to be a subclass of ECanvas and to use EText instead of EIconBarTextItem. Also set "width_set" & "height_set" of the GnomeCanvasPixbuf items so they work in the "Small Icon" view. * widgets/shortcut-bar/e-vscrolled-bar.c: use map/unmap instead of show/hide for the up & down buttons to avoid queueing resizes. Otherwise the scrolling starts off a bit jerky. * widgets/shortcut-bar/test-shortcut-bar.c: output a message when the main label is resized, just for info. * widgets/shortcut-bar/*.[hc]: updated my email address. svn path=/trunk/; revision=1867
* Show the text of the item, in a tooltip style. (e_text_event): Add aIain Holmes2000-02-216-2/+314
| | | | | | | | | | | | | 2000-02-20 Iain Holmes <ih@csd.abdn.ac.uk> * widgets/e-text/e-text.[ch] (_do_tooltip): Show the text of the item, in a tooltip style. (e_text_event): Add a timeout on the Enter and remove it on the Leave events. * e-text-test.c: New file to test e-text items. svn path=/trunk/; revision=1866
* + * widgets/e-minicard/.cvsignore: Added minicard-label-test,Matthew Loper2000-02-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | + minicard-test, and reflow-test. + + * shell/.cvsignore: added files autogenerated from Evolution.idl. + + * libversit/.cvsignore: Added .libs, vcc.c, vcc.lo, vobject.lo, + vcaltmp.lo, libversit.la + + * libical/src/test/.cvsignore: New file. + + * libical/src/libical/.cvsignore: New file. + + * libical/src/libicalss/.cvsignore: New file. + + * libical/.cvsignore: New file, with config.log in it. + + * calendar/.cvsignore: Added tlacuache and tl-test. + + * libibex/.cvsignore: added lookup. + + * mail/.cvsignore: added test-mail. svn path=/trunk/; revision=1859
* Include <string.h>Miguel de Icaza2000-02-193-0/+4
| | | | | | | | 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-192-0/+5
| | | | | | | | 2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * Makefile.am (INCLUDES): Add EXTRA_GNOME_CFLAGS to INCLUDES> svn path=/trunk/; revision=1841
* make <alloca.h> inclusion conditional on HAVE_ALLOCA_HDan Winship2000-02-172-0/+4
| | | | svn path=/trunk/; revision=1820
* fix library ordering on link lineDan Winship2000-02-172-3/+3
| | | | svn path=/trunk/; revision=1817
* Add the unicode libraries as well.Miguel de Icaza2000-02-162-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 Miguel de Icaza <miguel@gnu.org> * camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add the unicode libraries as well. * camel/camel-provider.c (camel_provider_register_as_module): Add error reporting here. Desire to use Solaris increases. Hair loss in the last two hours: 5,400. * camel/providers/mbox/camel-mbox-provider.c (camel_mbox_get_provider): Renamed function. * camel/camel.h: All include files use camel/ now here. * camel/providers/mbox/Makefile.am: Drop all the dynamism from Camel, and make this a standard library. * configure.in: set the UNICODE_LIBS variable here. 2000-02-14 Miguel de Icaza <miguel@gnu.org> * folder-browser.c (folder_browser_load_folder): New routine, loads a camel folder. (folder_browser_set_uri): redo. * session.c: new file. Implements SessionStores to keep track of a Session/Store tuple. svn path=/trunk/; revision=1783
* Major rationalization of pts vs pixels and the use of margins.Jody Goldberg2000-02-132-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some redraw speedups and the addition of XL2000 style alpha bended selections. 2000-02-13 Jody Goldberg <jgoldberg@home.com> * ./src/sheet-view.c (sheet_view_redraw_cell_region) : redraw the bounding grid lines too. * src/item-cursor.c (item_cursor_get_pixel_coords) : Clip the cursor region to the visible range. The layout still needs cleaning to match the 'correct' way of implementing canvas-items, but this heuristic saves us lots of iterations through the accumulator for the size of the entire sheet. 2000-02-12 Jody Goldberg <jgoldberg@home.com> * src/gnumeric-sheet.c : Use visible flag and adjust to naming and margin changes. * src/item-bar.c (colrow_tip_setlabel) : Use the format provided by XL2000. Things are correct for rows, colwidth are quoted in pts rather than char widths. (get_col_from_pos) : Use visible flag. (item_bar_start_resize) : Function renaming. (is_pointer_on_division) : Ditto. (item_bar_draw) : Changes to margins. * src/item-edit.c : Function renaming. * src/item-cursor.c : Ditto. decrease spacing for auto handle. * src/item-grid.c (item_grid_draw) : Remove inversion process for the selection. Instead have the cells draw their background differently. Use the visible flag. (item_grid_paint_empty_cell) : Ditto. (item_grid_paint_cell) : Ditto. * src/mstyle.c (mstyle_new_default) : The default vert alignment is BOTTOM. * src/pattern.c (gnumeric_background_set_gc) : Draw the background of a selected cell differently. * src/print-cell.c (DIM) : margins are already included. (print_cell_text) : Adjust argument order to more closely match cell_draw. Add support for vertical alignment of 1 line cells. Invert control of single vs multiple lines. (print_cell) : Adjust to changes in the arguments. (print_cell_range) : Use the visible flag. Draw line at the boundary rather than pretending there were additional rows/cols. * src/print.c (compute_groups) : size_pts INCLUDES margins. Use 'visible' flag. (print_page) : Adjust to function renaming. (print_range_used_units) : Ditto. * src/selection.c : Include sheet-view directly for now. (cb_set_row_height) : Adjust to function renaming. * src/sheet-view.c (sheet_view_redraw_cell_region) : Adjust to function renaming. (sheet_view_redraw_headers) : Ditto. (sheet_view_set_zoom_factor) : Ditto. (sheet_view_col_size_changed) : Ditto. (sheet_view_row_size_changed) : Ditto. (sheet_view_comment_get_points) : Ditto. * src/sheet.[ch] : Rationalize function names, and add glossary. Make the use of margins and sizes (in points and pixels) consistant. (sheet_col_get_external_width : Delete. (sheet_row_get_external_height : Delete. (sheet_col_get_distance : Rename sheet_col_get_distance_pixels. (sheet_row_get_distance : Rename sheet_row_get_distance_pixels. (sheet_row_get_unit_distance : Rename sheet_row_get_distance_pts. (sheet_col_get_unit_distance : Rename sheet_col_get_distance_pts. (sheet_col_set_width : Rename sheet_col_set_size_pixels. (sheet_col_set_width_units : Rename sheet_col_set_size_pts. (sheet_row_set_height : Rename sheet_row_set_size_pixels. (sheet_row_set_height_units) : Rename sheet_row_set_size_pts. (sheet_get_default_external_col_width) : Rename sheet_col_get_default_size_pts. (sheet_get_default_external_row_height): Rename sheet_row_get_default_size_pts. (sheet_col_set_internal_width) : sheet_col_set_internal_size_pts. (sheet_row_set_internal_height): sheet_row_set_internal_size_pts. (sheet_{row,col}_set_default_size_pts) : New functions. (sheet_init_default_styles) : Tune to match XL defaults. * src/sort.c : Use g_strcasecmp, and include <stdlib.h> * src/style.c (style_color_new) : Init the selection colour as a 50% alpha blend with lavender. * src/style.h : Change default font to be Helvetica 9 because it will scale better when the standard 96 dpi resolution is assumed. Add a selected_color to StyleColor. * src/value-sheet.c : Include <gnome.h> to get the internationalization support. * src/workbook-cmd-format.c (workbook_cmd_format_column_auto_fit) : sheet_col_set_width -> sheet_col_set_size_pixels. (workbook_cmd_format_column_width) : sheet_col_set_width_units -> sheet_col_set_size_pts. (workbook_cmd_format_row_auto_fit) : sheet_row_set_height -> sheet_row_set_size_pixels (workbook_cmd_format_row_height) : sheet_row_set_height_units -> sheet_row_set_size_pts. * src/xml-io.c (xml_read_rows_info) : Rename sheet_row_set_height_units -> sheet_row_set_size_pts. (xml_read_cols_info) : Rename sheet_col_set_height_units -> sheet_col_set_size_pts. (xml_read_colrow_info) : Remove hack with negative pixels. Use 'visible' flag instead. (xml_write_colrow_info) : Ditto. svn path=/trunk/; revision=1764
* Check the ethi is actually the one being dragged. Prevents crashes whenIain Holmes2000-02-133-0/+37
| | | | | | | | | | | | | 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-129-42/+163
| | | | | | | | | | | | | 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
* Made a click on a text widget set the cursor properly.Christopher James Lahey2000-02-122-6/+36
| | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c (e_text_event): Made a click on a text widget set the cursor properly. svn path=/trunk/; revision=1740
* Test column header image.Christopher James Lahey2000-02-1211-48/+190
| | | | | | | | | | | | | | 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-1211-18/+32
| | | | | | | | | | | | 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
* Removed some arguments from the .h that will never be implemented.Christopher James Lahey2000-02-122-8/+0
| | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.h: Removed some arguments from the .h that will never be implemented. svn path=/trunk/; revision=1737
* Added reordering of columns.Christopher James Lahey2000-02-127-50/+148
| | | | | | | | | | | | 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-123-122/+93
| | | | | | | | | 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-115-4/+19
| | | | | | | | | 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
* chutBertrand Guiheneuf2000-02-113-0/+18
| | | | svn path=/trunk/; revision=1730
* Handle button releases properly.Christopher James Lahey2000-02-105-6/+108
| | | | | | | | | | 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-103-12/+81
| | | | | | | | | 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-092-2/+6
| | | | | | | | 2000-02-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Changes where e-text is included from. svn path=/trunk/; revision=1708
* Add new Makefiles to Makefile list.Christopher James Lahey2000-02-093-53/+61
| | | | | | | | | | | | | | | | | | 2000-02-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Add new Makefiles to Makefile list. * e-util/Makefile.am: Add canvas utilities to libeutil. * widgets/e-text/Makefile.am: Build libetext. * widgets/e-minicard/Makefile.am: Build libeminicard and test programs. * widgets/Makefile.am: Remove all e-text and e-minicard code and add them to the SUBDIRS list. svn path=/trunk/; revision=1706
* More fixing actionMiguel de Icaza2000-02-099-2385/+0
| | | | svn path=/trunk/; revision=1705
* More cleanup actionMiguel de Icaza2000-02-094-432/+0
| | | | svn path=/trunk/; revision=1704
* Remove e-cursorsMiguel de Icaza2000-02-094-166/+1
| | | | svn path=/trunk/; revision=1702
* Fixed some motion event bugs. (incorrect x and y.)Christopher James Lahey2000-02-088-149/+2902
| | | | | | | | | | | | | | | 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
* Added line wrap and a max number of lines (max number of lines is onlyChristopher James Lahey2000-02-086-396/+813
| | | | | | | | | | 2000-02-07 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.h, widgets/e-text.c: Added line wrap and a max number of lines (max number of lines is only obeyed if text is not being edited). svn path=/trunk/; revision=1691
* Sync for Chris to useMiguel de Icaza2000-02-084-24/+36
| | | | svn path=/trunk/; revision=1689
* finished.Damon Chaplin2000-02-072-12/+11
| | | | | | | | | | | 2000-02-07 Damon Chaplin <damon@helixcode.com> * widgets/shortcut-bar/e-group-bar.c (e_group_bar_draw): finished. * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_item_released): check that an item was pressed. svn path=/trunk/; revision=1684
* Setup the scroll region of the table canvas on size allocation.Miguel de Icaza2000-02-079-34/+67
| | | | | | | | | | | 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-293-0/+6
| | | | | | | | 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
* Handle the grab and ungrab command instead of doing focus by hand. ThisChristopher James Lahey2000-01-2815-811/+1088
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.c (e_text_command): Handle the grab and ungrab command instead of doing focus by hand. This fixes a problem related to the scroll wheel. (e_text_command): Reset the blink timer in many more command situations so that the cursor blinks less when you're interacting with it. * widgets/e-text-event-processor-emacs-like.c: Send the grab focus command when starting a selection and the ungrab focus command when ending it. * widgets/e-text-event-processor-types.h: Added grab command type so that the event processor can tell the widget to grab the focus. * widgets/e-reflow.c: Redefined all sizes using #defines so that they can be tweaked later. Added scroll wheel handling and set up adjustment increments so that the scroll bars will work correctly. * widgets/e-minicard.h: Added minicard focus type enum. This doesn't mean anything yet, but it will later be used to say which direction the focus is coming from (below for shift-tab, above for tab.) svn path=/trunk/; revision=1650
* Use e_canvas_item_grab_focus so that it will work with old versions ofChristopher James Lahey2000-01-278-6/+156
| | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/e-minicard-label.c, widgets/e-minicard.c: Use e_canvas_item_grab_focus so that it will work with old versions of gnome-canvas. * widgets/e-canvas.c, widgets/e-canvas.h: Finished working around focus bugs. svn path=/trunk/; revision=1649
* Set the minimum_width.Christopher James Lahey2000-01-2710-16/+128
| | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/test-reflow.c: Set the minimum_width. * widgets/e-reflow.h, widgets/e-reflow.c: Added one more column line so that the right edge of the reflow will have a line. Also added a minimum_width so that even if the reflow is thinner than the window, when you resize it larger all the lines are drawn. svn path=/trunk/; revision=1648
* Added an arrow cursor for the draggable columns. Made the clickable columnChristopher James Lahey2000-01-2616-156/+853
| | | | | | | | | | | | | | | | 2000-01-27 Christopher James Lahey <clahey@helixcode.com> * widgets/e-reflow.h, widgets/e-reflow.c: Added an arrow cursor for the draggable columns. Made the clickable column area larger. * widgets/e-text.h, widgets/e-text.c: Added an I beam cursor for the text item when it is editable. * widgets/e-minicard-label.c: Forward enter and leave notifications to the contained editable text item. svn path=/trunk/; revision=1647
* don't set the x_set and y_set arguments as don't exist in gdk-pixbufbertrand2000-01-261-2/+0
| | | | | | | | | | | 2000-01-26 bertrand <bertrand@helixcode.com> * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_recalc_item_positions): don't set the x_set and y_set arguments as don't exist in gdk-pixbuf anymore. svn path=/trunk/; revision=1640
* Handle shift-tab properly now.Christopher James Lahey2000-01-2615-44/+652
| | | | | | | | | | | | | | | | | | | | | | | 2000-01-25 Christopher James Lahey <clahey@helixcode.com> * widgets/e-reflow.c, widgets/e-minicard.c: Handle shift-tab properly now. * widgets/e-minicard-label.c: Reindented some areas. * widgets/test-reflow.c: Use e-canvas. Set the back pixmap to NULL for the canvas so that scrolling won't flash grey. * widgets/e-canvas.c, widgets/e-canvas.h: These subclass GnomeCanvas to work around a few bugs so that evolution will work well with old versions of gnome-libs. * widgets/Makefile.am: Added e-canvas.c and e-canvas.h. * addressbook/contact-editor/contact-editor.glade: Not much change. Mostly internal reorganization by glade itself. svn path=/trunk/; revision=1638
* Changed some line spacing.Chris Lahey2000-01-2115-45/+739
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * widgets/e-text-event-processor-types.h: Changed some line spacing. * widgets/test-reflow.c: Connected to the resize signal of the reflow. * widgets/e-minicard.c: Made width argument set function only update if width is different. * widgets/e-reflow.h, widgets/e-reflow.c: Added draggable column dividers. * addressbook/contact-editor/test-editor.c: Open two dialogs for more interesting testing. * addressbook/contact-editor/e-contact-editor.h, addressbook/contact-editor/e-contact-editor.c: Modified to use glade. Added menus to change which phone/address/email entries to view. Added images to the dialog. * addressbook/contact-editor/e-contact-editor-strings.h, addressbook/contact-editor/contact-editor.glade: Glade files for the contact editor dialog. * addressbook/contact-editor/Makefile.am: Added images and added glade stuff. * addressbook/contact-editor/arrow.png, addressbook/contact-editor/briefcase.png, addressbook/contact-editor/netfreebusy.png, addressbook/contact-editor/netmeeting.png: Image files for the contact editor dialog. svn path=/trunk/; revision=1599
* Finishing previous commit.Chris Lahey2000-01-179-236/+192
| | | | svn path=/trunk/; revision=1582
* Use e_bar_set_item_data.Miguel de Icaza2000-01-161-1/+1
| | | | | | | | | | | | | | | | 2000-01-10 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-shortcut-bar.c (e_shortcut_bar_add_item): Use e_bar_set_item_data. Drop item_url; Require image argument; Require user data argument. 2000-01-09 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_init): Turn on anti-aliasing. svn path=/trunk/; revision=1573
* Added selection and clipboard support. Added up and down arrow keys. FixedChris Lahey2000-01-1416-53/+968
| | | | | | | | | | | | | | | | * widgets/e-text-event-processor-types.h, widgets/e-text-event-processor-emacs-like.c, widgets/e-text.c, widgets/e-text.h: Added selection and clipboard support. Added up and down arrow keys. Fixed choice of font colors for the selection to be based on the current style. * widgets/e-minicard.c: Caused a click to grab the focus. Changed the fake information added. * widgets/e-minicard-label.c: Forward mouse events to the field EText item. svn path=/trunk/; revision=1568
* e_canvas_item_move_absolute is just a helper function not supplied by theChris Lahey2000-01-1429-112/+3033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * widgets/e-canvas-utils.c, widgets/e-canvas-utils.h: e_canvas_item_move_absolute is just a helper function not supplied by the gnome_canvas.[ch] I put it here so that multiple items can use it. * widgets/e-reflow.c, widgets/e-reflow.h: This item contains a number of other items and places them into multiple columns. The items contained must support a number of arguments and signals to allow the reflow to interact with them. * widgets/test-reflow.c: This is a test program for e-reflow. * widgets/e-text.c, widgets/e-text.h: Added properly drawn selected text. Added some preliminary code for X selection handling and cut & paste. * widgets/e-minicard.c, widgets/e-minicard.h: Added ARG_HAS_FOCUS handling. Made label display random for more interesting tests of multiple cards. Tweaked sizing information for better display. * widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added ARG_HAS_FOCUS handling. * widgets/Makefile.am: Added the reflow test and reflow files. svn path=/trunk/; revision=1566
* Added a resize signal for when the card changes height. Made it so thatChris Lahey2000-01-1215-248/+733
| | | | | | | | | | | | | | | | * widgets/e-minicard.c, widgets/e-minicard.h: Added a resize signal for when the card changes height. Made it so that when you press tab inside of a field, it goes to the next field. * widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added a resize signal for when the label changes height. * widgets/e-text.c, widgets/e-text.h: Added a resize signal for multiple lines. Added scrolling based on cursor position. * widgets/Makefile.am: Removed an extraneous build target. svn path=/trunk/; revision=1562
* Blocked the tab key from getting inserted into the buffer since theChris Lahey2000-01-129-18/+381
| | | | | | | | | | | * widgets/e-text-event-processor-emacs-like.c: Blocked the tab key from getting inserted into the buffer since the renderer doesn't know what a tab is. * widgets/e-text.c, widgets/e-text.h: Fixed a memory leak. Added a blinking cursor and scrolling for the text item. svn path=/trunk/; revision=1554
* Removed some code which got in the way of testing properly.Chris Lahey2000-01-1126-102/+3487
| | | | | | | | | | | | | | | | | | | | | | | * widgets/test-minicard.c: Removed some code which got in the way of testing properly. * widgets/e-minicard-label.c (e_minicard_label_realize): Made the field text item editable. * widgets/Makefile.am: Added e-text-event-process*.[ch]. * widgets/e-text.c, widgets/e-text.h: Changed these to support editing. * widgets/e-text-event-processor.c, widgets/e-text-event-processor.h, widgets/e-text-event-processor-types.h, widgets/e-text-event-processor-emacs-like.c, widgets/e-text-event-processor-emacs-like.h: These are a new pair of classes which handle all events from the text item and convert them into commands. svn path=/trunk/; revision=1553
* Added minicard and text stuff.Chris Lahey2000-01-1020-1/+6873
| | | | | | | | | | | | | | | | | | | * widgets/Makefile.am: Added minicard and text stuff. * widgets/e-minicard.c, widgets/e-minicard.h, widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added canvas items for the minicard view in the contact manager. * widgets/test-minicard.c, widgets/test-minicard-label.c: Tests for the minicard items. * widgets/e-text.h, widgets/e-text.c: New canvas item. Based on GnomeCanvasText. Adds ellipsis capabilities. Used in e-minicard*.[ch]. * widgets/.cvsignore: Added minicard-test and minicard-label-test. svn path=/trunk/; revision=1552
* *** empty log message ***Arturo Espinosa2000-01-105-35/+40
| | | | svn path=/trunk/; revision=1550
* More missing filesArturo Espinosa2000-01-072-0/+70
| | | | svn path=/trunk/; revision=1541
* More hacksArturo Espinosa2000-01-072-0/+8
| | | | svn path=/trunk/; revision=1540
* Work with builddir != srcdirElliot Lee2000-01-071-1/+2
| | | | | | | * composer/Makefile.am, widgets/e-table/Makefile.am: Work with builddir != srcdir svn path=/trunk/; revision=1538
* Compilation touchups -miguelArturo Espinosa2000-01-0632-29/+32
| | | | svn path=/trunk/; revision=1537
* Lots of reorganization to get the Evolution shell to begin its life. ItArturo Espinosa2000-01-0691-7866/+8007
| | | | | | | | | Lots of reorganization to get the Evolution shell to begin its life. It also includes a new evolution widget from Damon. Miguel. svn path=/trunk/; revision=1536
* Ok, the restructuring of ETableItem to compute its size without hacks isMiguel de Icaza1999-12-3126-216/+564
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2832-549/+1486
| | | | svn path=/trunk/; revision=1521
* added widgets/meeting-time-sel/MakefileDamon Chaplin1999-12-2015-0/+5513
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Ettore's drop shadow on cursor,Michael Meeks1999-12-181-1/+1
| | | | | | | HTML bug fix from Jarl, Sort dialog cleans. svn path=/trunk/; revision=1500
* Fix before tripArturo Espinosa1999-12-1331-402/+620
| | | | svn path=/trunk/; revision=1485
* Works with GnomeCanvasGroups -miguelArturo Espinosa1999-12-1316-85/+229
| | | | svn path=/trunk/; revision=1484
* Missing fileArturo Espinosa1999-12-133-0/+12
| | | | svn path=/trunk/; revision=1482
* More work. We now have the basics for nesting working, now we need all theArturo Espinosa1999-12-1265-212/+2196
| | | | | | | | | | | | | | 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
* Add missing filesArturo Espinosa1999-12-119-0/+162
| | | | svn path=/trunk/; revision=1480
* fix this routine.Miguel de Icaza1999-12-1052-473/+1599
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0338-252/+93
| | | | | | | | | | | | | | | | | | | | | 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
* Fix it correctly -miguelArturo Espinosa1999-12-023-15/+6
| | | | svn path=/trunk/; revision=1452
* Keep track of the originally allocated piece of code.Miguel de Icaza1999-12-025-15/+27
| | | | | | | | | 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-0235-87/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* New images, the previous ones sucked. Thanks to Mark for his helpArturo Espinosa1999-12-016-93/+90
| | | | svn path=/trunk/; revision=1449
* Add missing filesArturo Espinosa1999-12-0115-0/+1872
| | | | svn path=/trunk/; revision=1448
* This one derives from e-cell-toggle.Miguel de Icaza1999-12-0125-1152/+284
| | | | | | | | | | | | | | | | | 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-3019-42/+179
| | | | svn path=/trunk/; revision=1446
* New file. Implement a multi-state image toggle cell object.Miguel de Icaza1999-11-3026-168/+1993
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-298-21/+114
| | | | svn path=/trunk/; revision=1443
* New methods; They implement editing.Miguel de Icaza1999-11-2932-294/+1301
| | | | | | | | | | | | | | | | | 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-2841-441/+1435
| | | | | | | | | | | | | | | | | | | | | | | | 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
* More work.Arturo Espinosa1999-11-2711-72/+386
| | | | | | | | | | More work. I got a few offsets wrong; Event handling is broken, but I am happier Mmiguel. svn path=/trunk/; revision=1440
* Compute height using the ecell methods here. (eti_get_height): new methodMiguel de Icaza1999-11-2738-236/+645
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-264-8/+16
| | | | svn path=/trunk/; revision=1437
* New routine: Realizes the cell views (eti_unrealize_cell_views): NewMiguel de Icaza1999-11-252-0/+18
| | | | | | | | | | | | | | 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
* It draws the data. WEEEEEEEEE! MiguelArturo Espinosa1999-11-2527-162/+249
| | | | svn path=/trunk/; revision=1435
* Realize cells.Miguel de Icaza1999-11-2563-695/+1713
| | | | | | | | | | | | | | | | | | | | | | | 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
* Updated ROADMAPArturo Espinosa1999-11-232-0/+76
| | | | svn path=/trunk/; revision=1431
* More stuffArturo Espinosa1999-11-2217-0/+476
| | | | svn path=/trunk/; revision=1428
* WOOOOHOOOOOoO! It took me quite a while to figure this one out. Fixed.Miguel de Icaza1999-11-215-3/+9
| | | | | | | | | 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-2117-96/+395
| | | | | | | | | | | | | | | | | | | | 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-205-6/+111
| | | | svn path=/trunk/; revision=1424
* .cvsignoreArturo Espinosa1999-11-193-0/+3
| | | | svn path=/trunk/; revision=1423
* New files -migArturo Espinosa1999-11-196-0/+297
| | | | svn path=/trunk/; revision=1422
* Finish implementing e-table-sorted -migArturo Espinosa1999-11-197-0/+212
| | | | svn path=/trunk/; revision=1421
* More work -migArturo Espinosa1999-11-1918-33/+300
| | | | svn path=/trunk/; revision=1420
* New E-table-item.[ch] -migArturo Espinosa1999-11-1945-38/+1126
| | | | svn path=/trunk/; revision=1419
* Add anotherArturo Espinosa1999-11-181-0/+24
| | | | svn path=/trunk/; revision=1399
* missing filesArturo Espinosa1999-11-182-0/+161
| | | | svn path=/trunk/; revision=1398
* More work:Ettore Perazzoli1999-11-1719-4845/+38
| | | | | | | - 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-174-2/+8
| | | | | | s/\.a/.la/ svn path=/trunk/; revision=1389
* Add resizing capabilities.Miguel de Icaza1999-11-1631-122/+1391
| | | | | | | | | | | | | | | | | | | | | 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-133-6/+78
| | | | svn path=/trunk/; revision=1385
* More table workArturo Espinosa1999-11-1246-192/+1445
| | | | svn path=/trunk/; revision=1383
* Some message composer improvements.Ettore Perazzoli1999-11-1211-181/+402
| | | | svn path=/trunk/; revision=1382
* StuffArturo Espinosa1999-11-1035-239/+2161
| | | | svn path=/trunk/; revision=1378
* Added cut/copy/paste support to the address editing dialog.Ettore Perazzoli1999-11-0910-37/+709
| | | | svn path=/trunk/; revision=1371
* Some initial work on the dialog for entering addresses from the address book.Ettore Perazzoli1999-11-0712-5/+1089
| | | | svn path=/trunk/; revision=1370
* Here is my initial Evolution work: message composition widget and someEttore Perazzoli1999-11-0619-14/+3188
| | | | | | installation fixes for Camel. svn path=/trunk/; revision=1369
* Renamed the move modes to MODE_MOVE and MOVE_MODE_DRAGGING.Federico Mena Quintero1999-11-034-50/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-11-02 Federico Mena Quintero <federico@redhat.com> * src/print-preview.c (PreviewMode): Renamed the move modes to MODE_MOVE and MOVE_MODE_DRAGGING. (preview_canvas_button_press): Split the event handling code between several functions. Rationale: we will want drag-zoom and we need different modes for this, and the code in a single function would get unwieldy. In addition, grab the pointer and use GDK_POINTER_MOTION_HINT_MASK for better behavior. (PrintPreview): Added fields for drag anchor and drag offset. (drag_to): New function to drag/scroll. (create_preview_canvas): Connect to the different event handlers. (do_zoom): We do not need to re-render the page; just set the zoom factor. Also, use exponential zooming for better behavior. * src/cursors.h: Moved the cursor #defines to an enum. This way we can check for a max value in cursor_get(). Moved the cursor array to the .c file and made it private. * src/cursors.c (cursors_init): Added sanity check so that all cursors are defined. (cursor_get): New function to get a cursor based on its type. (cursors): Added hand cursors. * src/pixmaps/cursor_hand_{open,closed}.xpm: Added hand cursors. svn path=/trunk/; revision=1365
* Added my widgets stuff -miguelArturo Espinosa1999-11-0234-0/+2984
| | | | svn path=/trunk/; revision=1364
* - Move some math functions from utils to mathfuncs.Jody Goldberg1999-10-081-1/+1
| | | | | | | | | | - Beautify the scrollbar tooltips a bit and move some of their utility routines into gnumeric-utility. - Add width/height tooltips on col/row resize. - Fix bug that would loose the end of resize event when the cursor had not moved. svn path=/trunk/; revision=1321
* Fiddled with object creation,Michael Meeks1999-09-222-0/+10
| | | | | | | | Added a load of new cursors for object moving / sizing, Fixed sheet object sizing, Add sheet object popup menus. svn path=/trunk/; revision=1249
* Cosmetic widget update when loading lots of files,Michael Meeks1999-09-112-20/+22
| | | | | | | Fixed serious bug in sheet tab editing, New sizing algo. svn path=/trunk/; revision=1221
* Commit missing filesArturo Espinosa1999-09-072-0/+74
| | | | svn path=/trunk/; revision=1188
* Add an event handler for the preview canvas. (zoom_state): new routine,Miguel de Icaza1999-09-062-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 1999-09-05 Miguel de Icaza <miguel@gnu.org> * src/print-preview.c (preview_canvas_event): Add an event handler for the preview canvas. (zoom_state): new routine, controls the toolbar widget display. * src/cursors.c: Add new zoom in and zoom out cursors. * src/dialogs/dialog-printer-setup.c (unit_editor_new): One line warning fix. * src/sheet.c (sheet_col_size_fit): Returns the size required to render every cell completely. * src/item-bar.c (item_bar_event): Delay column/row resizing action until the division is actually being dragged. We need this to catch double-clicks for auto-sizing cells. (GDK_2BUTTON_PRESS): 1999-09-04 Jody Goldberg <jgoldberg@home.com> svn path=/trunk/; revision=1183
* Added margin display preview.Miguel de Icaza1999-09-032-0/+2
| | | | | | | | | | | | | | | | | | | | 1999-09-03 Miguel de Icaza <miguel@gnu.org> * src/dialogs/dialog-printer-setup.c (draw_margins): Added margin display preview. * src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out and move are now toggle buttons. * src/workbook.c (italic_cmd, bold_cmd): Simplified the code some. * src/dialogs/dialog-printer-setup.c (do_setup_page_info): Force the icon display here. (preview_page_create): Invert test. (PAGE_X, PAGE_Y): They are now the same values. (do_setup_page): Show the images here. svn path=/trunk/; revision=1173
* - Disable insert/delete row/column that would split an array-formulaJody Goldberg1999-07-111-1/+1
| | | | | | | | | | | - Enable cut/copy/paste for array formulas. - Fix multi-line cell drawing & whitespace issues. - Change the default column width & grid colour to more closely match XL - Add the edit popup menu in the row/col headers - Short circuit the insert/delete dialogs to directly insert/delete when an entire row/column is selected. svn path=/trunk/; revision=1023
* Reworked the insert/delete column/row code again. Beat on it, please!Morten Welinder1999-05-221-1/+4
| | | | svn path=/trunk/; revision=937
* Wide use of const in gnumeric now, thanks to Morten WelinderArturo Espinosa1999-04-242-2/+2
| | | | svn path=/trunk/; revision=873
* Use 0.0########## instead. Looks saner.Miguel de Icaza1999-01-112-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/format.c (format_value): Use 0.0########## instead. Looks saner. 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/workbook.c (change_auto_expr_menu): Use the event->button field to get the popup menu to behave correctly. (workbook_setup_auto_calc): Put the information display inside a GtkFrame. * src/item-bar.c (set_cursor): This routine can be invoked before we are realized. * src/workbook.c (sheet_label_button_press): We need to do the page flipping ourselves, as the GtkNotebook wont take events if they are not for a window it knows about. * src/widget-editable-label.c (el_button_press_event): Forward events to parent. * src/parser.y: New non-terminal "cellref". Make this non-terminal include CELLREF and SHEETREF!CELLREF constructions. * src/expr.c: Changed the whole module according to the dropping of VALUE_CELLREF. * src/expr.h: VALUE_CELLREF did not make much sense. Better add to the ExprTree union a CellRef field specifically for OPER_VAR nodes. svn path=/trunk/; revision=591
* Made all of the header inclussion conditionals consistentArturo Espinosa1998-10-013-9/+9
| | | | svn path=/trunk/; revision=416
* New routine to paint a little red triangle if the cell hsa notes.Miguel de Icaza1998-09-302-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-09-29 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/cell.c (cell_draw_comment): New routine to paint a little red triangle if the cell hsa notes. * src/cell.c (cell_destroy): Destroy the comment. (str_trim_spaces): New routine. Trims the spaces on a string. (cell_draw): Trim the leading and trailing spaces on every string of a multi-line text. * src/color.c (color_init): Allocate a red for tagging the spreadhseet notes. * src/dialog-cell-format.c (format_list_fill): Apply the traslation when adding the format. * doc/tranlating.sgml: New document that describes how to internationalize and localize Gnumeric properly. * src/workbook.c (recalc_cmd): Provide a way to force a recomputation. (insert_current_time_cmd): New function. insert the current time. (insert_current_date_cmd): New function. insert the current date. (insert_at_cursor): New utility function. * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Handle control-home svn path=/trunk/; revision=414
* New:Miguel de Icaza1998-09-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New: - Bold button works properly (ie, it detects what sort of stuff you have and presses/unpresses accordingly). - GNumeric now has operation modes: sheet and object. Using delete/backspace/edit-cut will let you kill objects. - Lots of the bug fixes reported by Adrian/Federico. Here is the detailed changelog: 1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/xml-io.c: Destroy the extra style. * src/main.c (main): No need to init colors as they are auto-inited. * src/style.c (font_compute_hints): At font creation time store a couple of the font attributes for quick retrieval. * src/sheet-view.c (sheet_view_construct): Do not allow this button to have the focus either. * src/item-bar.c (item_bar_draw): If the whole sheet is selected, draw all of the columns in pressed presenstation * src/sheet.c (sheet_is_all_selected): Return wheter all the sheet is selected. * src/utils.c (cell_name): Fixed cell name computation. (parse_cell_name): Fixed parsing of the cell name. svn path=/trunk/; revision=396
* When decoding a tree, include the argument separator. Also, loop properlyMiguel de Icaza1998-09-211-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-09-21 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/expr.c (do_expr_decode_tree): When decoding a tree, include the argument separator. Also, loop properly trough the arguments being decoded. (function_call_with_values, function_def_call_with_values): New functions: these ones are for the plugins so that a plugin can invoke other functions in Gnumeric. * src/fn-date.c (gnumeric_now): The serial number returned by NOW() should be relative to 1900/1/1, not year zero. 1998-09-20 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/expr.c (eval_expr): Fix the way we computed expressions. * src/eval.c (cell_eval): Maintain a CELL_ERROR flag to know if the value is NULL due to an error or to the cell not being evaluated. * src/expr.c (funcion_call_with_values): Add a routine to allow plugins to call other functions defined in Gnumeric. * src/style.c: Handle the pattern property of the styles. * src/style.h: Pattern style is now just a 4 bit quantity, instead of a RefCounted structure. * src/plugin.c: Include gnumeric-util.h svn path=/trunk/; revision=390
* Autofill lists work:Arturo Espinosa1998-09-162-4/+18
| | | | | | | | | | | | | | Autofill lists work: Integers, Floats, Formulas and constant strings works. Todo: Lists of known strings and strings with numbers embedded Miguel. svn path=/trunk/; revision=379
* Got cursors working.Arturo Espinosa1998-09-153-2/+60
| | | | | | | | | | | | | Got cursors working. Use the cursors properly on the spreadhseet (gives good feedback on what is going to happen). More work on autofill. miguel. svn path=/trunk/; revision=377
* Color attributes in formats work (ie, you can get colored cells now);Arturo Espinosa1998-09-142-0/+16
| | | | | | | | | | | | | | | Color attributes in formats work (ie, you can get colored cells now); My first -futile attempts- at getting various different cursors working on the spreadsheet (we need a cross and various other cursors for a better emulation of Excel). The beginning of autofill, but I really need to see Excel live before implementing this. Miguel. svn path=/trunk/; revision=376
* Color implemtnationArturo Espinosa1998-09-122-0/+81
svn path=/trunk/; revision=373