| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2001-10-28 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c: Removed erroneous comment about needing to handle
selection better.
svn path=/trunk/; revision=14272
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-cell-checkbox.c, e-cell-checkbox.h, e-cell-combo.c,
e-cell-combo.h, e-cell-date.c, e-cell-date.h, e-cell-number.c,
e-cell-number.h, e-cell-pixbuf.c, e-cell-pixbuf.h, e-cell-popup.c,
e-cell-popup.h, e-cell-size.c, e-cell-size.h,
e-cell-spin-button.c, e-cell-spin-button.h, e-cell-string.c,
e-cell-text.c, e-cell-text.h, e-cell-toggle.c, e-cell-toggle.h,
e-cell-tree.c, e-cell-tree.h, e-cell.c, e-cell.h,
e-table-click-to-add.c, e-table-click-to-add.h, e-table-col-dnd.h,
e-table-col.c, e-table-col.h, e-table-column-specification.c,
e-table-column-specification.h, e-table-column.c,
e-table-config-field.c, e-table-config-field.h, e-table-config.c,
e-table-config.h, e-table-defines.h, e-table-example-1.c,
e-table-example-2.c, e-table-extras.c, e-table-extras.h,
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.h,
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-header-utils.c, e-table-header-utils.h, e-table-header.c,
e-table-header.h, e-table-item.c, e-table-item.h,
e-table-memory-callbacks.c, e-table-memory-callbacks.h,
e-table-memory.c, e-table-memory.h, e-table-model.c,
e-table-model.h, e-table-one.c, e-table-one.h, e-table-scrolled.c,
e-table-scrolled.h, e-table-selection-model.c,
e-table-selection-model.h, e-table-simple.c, e-table-simple.h,
e-table-size-test.c, e-table-sort-info.c, e-table-sort-info.h,
e-table-sorted-variable.c, e-table-sorted-variable.h,
e-table-sorted.c, e-table-sorted.h, e-table-sorter.c,
e-table-sorter.h, e-table-sorting-utils.c,
e-table-sorting-utils.h, e-table-specification.c,
e-table-specification.h, e-table-state.c, e-table-state.h,
e-table-subset-variable.c, e-table-subset-variable.h,
e-table-subset.c, e-table-subset.h, e-table-tooltip.h,
e-table-tree.h, e-table-utils.c, e-table-utils.h,
e-table-without.c, e-table-without.h, e-table.c, e-table.h,
e-tree-memory-callbacks.c, e-tree-memory-callbacks.h,
e-tree-memory.c, e-tree-memory.h, e-tree-model.c, e-tree-model.h,
e-tree-scrolled.c, e-tree-scrolled.h, e-tree-selection-model.c,
e-tree-selection-model.h, e-tree-simple.c, e-tree-simple.h,
e-tree-sorted-variable.c, e-tree-sorted-variable.h,
e-tree-sorted.c, e-tree-sorted.h, e-tree-table-adapter.c,
e-tree-table-adapter.h, e-tree.c, e-tree.h, table-test.c,
table-test.h, test-check.c, test-cols.c, test-table.c: Changed the
license announcement at the top of these files.
* e-cell-string.c: Removed unused file.
svn path=/trunk/; revision=14154
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Christopher James Lahey <clahey@ximian.com>
* e-cell-combo.c: Added #include "gal/widgets/e-unicode.h".
* e-cell-text.c: Added lots of deactivated debugging printfs here.
(ect_event): Fixed the flags check here. Set edit->actions to 0
before calling e_text_event_processor_handle_event.
* e-table-item.c, e-table-item.h: Use eti_grab and eti_ungrab all
over the place. Added lots and lots of deactivated debugging
printfs here.
(eti_grab, eti_ungrab): New functions to encapsulate grabbing and
ungrabbing the cursor and to allow for recursive grabs
(refcounting style.)
* e-table.c: Added deactivated debugging printfs here.
(et_canvas_root_event): Attach to the event handler on the root
canvas item instead of the canvas itself when making the ETable
leave editing state. Fixes Ximian bug #9737.
svn path=/trunk/; revision=14072
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Damon Chaplin <damon@ximian.com>
* e-cell-text.[hc]: added set_value() class method, which sets the
model value based on the text. In ECellText itself it assumes the model
value is a char* and passes the text directly. Subclasses may parse
the text into some other datatype.
Also made the calls the e_cell_text_get_text(), e_cell_text_free_text()
and e_cell_text_set_value() public, since we need them in ECellCombo.
* e-cell-combo.c (e_cell_combo_select_matching_item):
(e_cell_combo_update_cell): use e_cell_text_get_text()/free_text()/
set_value() so it can handle subclasses of ECellText as the child.
svn path=/trunk/; revision=13901
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-10 Christopher James Lahey <clahey@ximian.com>
* e-cell-popup.c (ecp_get_bg_color), e-cell-tree.c
(ect_get_bg_color): Implement these functions as pass through to
the child cell.
* e-cell-text.c, e-cell-text.h (ect_get_bg_color): Implemented
this using a bg_color_column which can be set through the argument
of the same string.
* e-cell.c, e-cell.h (e_cell_get_bg_color): Added this function to
allow background color to change by cell.
* e-table-item.c (eti_get_cell_background_color): Call
e_cell_get_bg_color to allow background color to change by cell.
svn path=/trunk/; revision=13566
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Christopher James Lahey <clahey@ximian.com>
* e-cell-text, e-cell-pixbuf: Adapted height method to deal with a
row of -1.
* e-table-group-container.c, e-table-group-container.h,
e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c,
e-table-item.h, e-table.c, e-table.h, e-tree.c: Added
"uniform_row_height" argument.
svn path=/trunk/; revision=13440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-25 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-text.c (e_text_set_arg): Properly ref the font we
pass in as an ARG_FONT_E.
(_do_tooltip): Removed some crack. We no longer have to manually
ref the font. The ref-counting now happens inside the set_arg
function, as it should.
(e_text_destroy): Set text->font to NULL after unrefing it.
2001-07-25 Jon Trowbridge <trow@ximian.com>
* e-cell-text.c (ect_unrealize): Set text_view->font to NULL
after we unref it.
svn path=/trunk/; revision=11393
|
|
|
|
|
|
|
|
|
| |
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c (ect_cancel_edit): Call e_table_item_leave_edit
here.
svn path=/trunk/; revision=10805
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-14 Jon Trowbridge <trow@ximian.com>
* e-cell-text.c (_get_position_from_xy): Try to deal with bad
utf8.
(_get_position): Try to deal with bad utf8.
(number_of_lines): Try to deal with bad utf8.
(split_into_lines): Try to deal with bad utf8.
svn path=/trunk/; revision=9791
|
|
|
|
|
|
|
|
| |
* Makefile.am (INCLUDES): remove UNICODE_CFLAGS
* e-cell-text.c: Remove <unicode.h> include, use gunicode functions
svn path=/trunk/; revision=9513
|
|
|
|
|
|
|
|
|
| |
2001-04-16 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (tooltip_event): Propagate the event after
sending it to the base EText.
svn path=/trunk/; revision=9379
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-15 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c (ect_show_tooltip): Set the background color to
the specified tooltip->background. Set the foreground color to
the specified tooltip->foreground.
* e-table-item.c (eti_get_cell_background_color,
eti_get_cell_foreground_color): Added these functions.
(eti_draw, _do_tooltip): Use these new functions.
* e-table-tooltip.h: Added foreground and background colors to
this structure.
* e-tree.c, e-tree.h (e_tree_get_tooltip): Added this function.
svn path=/trunk/; revision=9338
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-15 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c: Added /* #defines */ at the top. Fixed
ALTERNATE_COLORS to be an #ifdef instead of an #if.
* e-cell-text.c (ect_show_tooltip): Set "strikeout" argument on
created tooltip.
svn path=/trunk/; revision=9328
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-15 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c (tooltip_event): Use e_canvas_hide_tooltip and
e_canvas_popup_tooltip.
* e-table-item.c: Cleaned this up. Removed some #if 0 and
replaced others with #ifdefs.
* e-table-tooltip.h: Removed some unnecessary fields.
svn path=/trunk/; revision=9326
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-15 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c (ect_show_tooltip): Set "bold" argument on created
tooltip. Adjusted position of displayed tooltip.
* e-cell-tree.c (offset_of_node): Changed it so that this function
handles knowing whether on not to indent non expandable first
level nodes. This makes things more consistent.
* e-table-item.c (eti_realize): Cleaned up the ETableItem code to
properly hide tooltips when going off the screen.
* e-table-tooltip.h: Added a visibility_count field to ETableTooltip.
svn path=/trunk/; revision=9320
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* e-cell-date.c: Fix headers.
* e-cell-number.c: Ditto.
* e-cell-pixbuf.[ch]: Ditto.
* e-cell-size.c: Ditto.
* e-cell-text.c: Ditto.
* e-cell-tree.c: Ditto.
* e-table-click-to-add.[ch]: Ditto.
* e-table-column-specification.h: Ditto.
* e-table-config-field.c: Ditto.
* e-table-config.[ch]: Ditto.
* e-table-example-2.c: Ditto.
* e-table-field-chooser-dialog.[ch]: Ditto.
* e-table-field-chooser-item.c: Ditto.
* e-table-field-chooser.h: Ditto.
* e-table-group-container.c: Ditto.
* e-table-item.c: Ditto
* e-table-memory.c: Ditto.
* e-table-selection-model.c: Ditto.
* e-table-sorter.c: Ditto.
* e-table-subset-variable.c: Ditto.
* e-table.c: Ditto.
* e-tree-memory.c: Ditto.
* e-tree-model.c: Ditto.
* e-tree-selection-model.[ch]: Ditto.
* e-tree-sorted-variable.c: Ditto.
* e-tree-sorted.c: Ditto.
* e-tree-table-adapter.c: Ditto.
* e-tree.[ch]: Same here.
svn path=/trunk/; revision=9164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-02 Federico Mena Quintero <federico@ximian.com>
* e-cell-popup.c (ecp_unrealize): Typo fix; call
e_cell_unrealize(), not e_cell_realize().
* e-cell-text.c (ect_event): Removed fallback "else", from "if
(edit_display)"since our planned return value is already zero and
we do need to unbuild_current_cell() instead of returning
immediately.
* e-table-state.c (etst_destroy): Free the expansions field.
* e-table.c (e_table_set_state_object): Do not ref the header
since we just created it!
svn path=/trunk/; revision=9123
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-23 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c: Made this not create the new font until realize
instead of at new_view time.
* e-table-item.c: Don't request heights or do other things that
you aren't allowed to do before realization unless you're
realized.
svn path=/trunk/; revision=8915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-04 Damon Chaplin <damon@ximian.com>
* e-cell-text.c: added "editable" Arg, to stop the user from editing
the text. The user can still select the text, though. The "editable"
Arg is useful for ECellCombo where we want the user to select an item
in the popup but not edit the field itself.
* e-cell-combo.c: updated to select the matcing item before it pops up
the list.
svn path=/trunk/; revision=8544
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-19 Christopher James Lahey <clahey@ximian.com>
* configure.in: Changed the version number to 0.5.99.1.
* gal/Makefile.am (libgal_la_LIBADD): Change the directories for
e-table-text-model.lo, e-text-event-processor.lo, and
e-text-event-processor-emacs-like.lo. Reordered the e-text
directory to be after the e-table directory in build order.
* gal/e-text/Makefile.am: Removed
e-text-event-processor-emacs-like.c,
e-text-event-processor-emacs-like.h,
e-text-event-processor-types.h, e-text-event-processor.c, and
e-text-event-processor.h. Added e-table-text-model.c and
e-table-text-model.h.
* gal/e-text/e-table-text-model.c: Changed the signature of these
mehtods to match the changed signature in ETextModel.
* gal/e-text/e-text-event-processor-emacs-like.c,
gal/e-text/e-text-event-processor-emacs-like.h,
gal/e-text/e-text-event-processor-types.h,
gal/e-text/e-text-event-processor.c,
gal/e-text/e-text-event-processor.h: Moved these to gal/util/.
* gal/e-text/e-text.c, gal/e-text/e-text.h: Changed the includes
to match the moved files.
* gal/util/Makefile.am: Added e-text-event-processor-emacs-like.c,
e-text-event-processor-emacs-like.h,
e-text-event-processor-types.h, e-text-event-processor.c, and
e-text-event-processor.h.
* gal/util/e-text-event-processor-emacs-like.h,
gal/util/e-text-event-processor.h: Changed the includes to match
the moved files.
2001-02-19 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Removed e-table-text-model.c and
e-table-text-model.h.
* e-table-text-model.c, e-table-text-model.h: Moved these to
gal/e-text/.
* e-cell-text.c: Changed the include line for
e-text-event-processor.h and e-text-event-processor-emacs-like.h.
svn path=/trunk/; revision=8298
|
|
|
|
| |
svn path=/trunk/; revision=7667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-15 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Added e-cell-date.c, e-cell-date.h, e-cell-size.c,
and e-cell-size.h.
* e-cell-date.c, e-cell-date.h: New cell to implement displaying a
date.
* e-cell-size.c, e-cell-size.h: New cell to implement displaying a
file size.
* e-cell-text.c, e-cell-text.h: Got rid of the filter arguments.
Replaced them with the ability to subclass ECellText and override
the get_text method. Added free_text to override if your get_text
implementation returns allocated memory.
* e-table-extras.c (ete_init): Added "size" and "date" cells to
the default ETableExtras.
svn path=/trunk/; revision=7523
|
|
|
|
| |
svn path=/trunk/; revision=7521
|
|
|
|
| |
svn path=/trunk/; revision=7520
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.h, e-cell-text.h: Changed the filter function back
to being args to be more consistent with the rest of the object.
svn path=/trunk/; revision=7465
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Miguel de Icaza <miguel@ximian.com>
* e-cell-text.c (key_begins_editing): New function. Tells whether
a key should begin editing.
(ect_event, GDK_KEY_PRESS/RELEASE): check whether we should start
editing.
svn path=/trunk/; revision=7445
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Miguel de Icaza <miguel@ximian.com>
* e-cell-text.c (e_cell_text_set_filter): Implement new function
API. Remove Gtk arguments for this.
(ect_height): Pass all the extra information Dan requested.
(ect_print): Pass all the extra information Dan requested.
(build_current_cell): ditto.
svn path=/trunk/; revision=7444
|
|
|
|
|
|
|
|
|
| |
2000-12-27 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c (ect_draw, ect_event): Removed a bunch of unused
code.
svn path=/trunk/; revision=7179
|
|
|
|
| |
svn path=/trunk/; revision=7170
|
|
|
|
|
|
|
|
|
|
| |
2000-12-14 Chris Toshok <toshok@helixcode.com>
* e-cell-text.c (ect_show_tooltip): call set_style and use the
appropriate style for the text to determine if the tooltip should
be shown.
svn path=/trunk/; revision=7016
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c (ect_show_tooltip): Changed the background color
of the tooltips to light gray.
* e-table-item.c (eti_event): Changed the tooltip timeout to 100
milliseconds.
svn path=/trunk/; revision=6988
|
|
|
|
|
|
|
|
|
| |
2000-12-11 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c (ect_draw): Made selected rows ignore their color
specification.
svn path=/trunk/; revision=6935
|
|
|
|
|
|
|
|
|
|
| |
2000-12-09 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c (_blink_scroll_timeout): Split the lines in this
cell before testing whether we're to the right of the right edge
of the text data (since that test uses the split lines.)
svn path=/trunk/; revision=6892
|
|
|
|
|
|
|
|
|
| |
2000-12-09 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c (_blink_scroll_timeout): cell should be edit cast
to a CurrentCell, not data cast to a CurrentCell. Fixed this.
svn path=/trunk/; revision=6890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-09 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Added the actions parameter to ect_event. Added
an actions field to CellEdit. Handle CellEdit properly in the
ect_event function to do grabbing and ungrabbing when
appropriate. Set the actions field in CellEdit when appropriate
in e_cell_text_view_command.
* e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h: Added a
ECellActions enum, a ECellActions actions parameter to
e_cell_event and added the actions parameter to all the handlers
of the event method including having ECellTree pass it on to its
child cell.
* e-table-header-item.c: Use the NULL cursor instead of the
E_CURSORS_ARROW cursor.
* e-table-item.c, e-table-item.h: Added grabbed_row and
grabbed_col fields to ETableItem (-1 on either means ungrabbed.)
Pay attention to them in the find_cell function. Handle the
actions parameter of e_cell_event and grab or ungrab the pointer
to a given cell if requested. This is done using the new function
eti_e_cell_event (which is internal to e-table-item.c,) instead of
the old e_cell_event function call. Fake an ungrabbed table when
calling find_cell from within the compute_location method.
svn path=/trunk/; revision=6889
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-06 Chris Toshok <toshok@helixcode.com>
* e-table-item.c (_do_tooltip): pass along the column's width to
e_cell_show_tooltip.
* e-cell-text.c (ect_show_tooltip): add col_width argument, and
set cell.width = col_width - 8 (to mimic what happens in
build_current_cell, but with a possibly altered width).
* e-cell.c (e_cell_show_tooltip): add col_width argument, and pass
along to virtual function.
(ec_show_tooltip): add col_width argument.
* e-cell.h: change prototype of e_cell_show_tooltip to include a
width parameter.
* e-cell-tree.c (ect_show_tooltip): send the width - the subcell's
offset to e_cell_show_tooltip.
svn path=/trunk/; revision=6831
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-06 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c, e-cell-toggle.c, e-cell-tree.c: Adapted these to
accept the new flags parameter to e_cell_event.
* e-cell.c, e-cell.h: Added a flags parameter to e_cell_event.
* e-table-item.c: Send all e_cell_event calls a E_CELL_EDITABLE
flag. Add a new e_cell_event to the button press event that
happens before selecting the appropriate row and which does not
have the E_CELL_EDITABLE flag set.
svn path=/trunk/; revision=6823
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-25 Miguel de Icaza <miguel@helixcode.com>
* e-cell.c: Documented.
2000-11-24 Miguel de Icaza <miguel@helixcode.com>
* e-cell-toggle.c (etog_queue_redraw): Documented.
* e-cell-text.c: Removed list of unused arguments. Add docs.
* e-cell-checkbox.c (e_cell_checkbox_new): Add docs.
* e-table-simple.c (e_table_simple_new): Add docs.
svn path=/trunk/; revision=6665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-18 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Make text a different color if !(flags &
E_CELL_FOCUSED).
* e-cell.h: Added E_CELL_FOCUSED to flags.
* e-table-item.c: Changed the background color of selected cells
if the widget is focused. Send E_CELL_FOCUSED to flags if the
widget is focused.
* e-table.c: Repaint the window if focus changes.
svn path=/trunk/; revision=6010
|
|
|
|
|
|
|
| |
Added font_e argument to e-text
Fixed the header-item drawing the pixmap incorrectly
svn path=/trunk/; revision=5894
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c:
Changed these to use the default cells.
From gal/e-table/ChangeLog:
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c, e-cell-text.h, e-cell-tree.c, e-cell-tree.h: Got
rid of the model parameter to e_cell_text_new and e_cell_tree_new
as they aren't used.
* e-table-extras.c: Added default "integer" compare and default
"tree-string", "string", and "checkbox" cells.
* e-table.c: Made this use the draw-grid, cursor-mode, and
_click-to-add-message fields from the xml.
svn path=/trunk/; revision=5841
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-27 Iain Holmes <iain@helixcode.com>
* e-cell-text.c: Fudge the location of a click in the tooltip, so
that it selects the current cell.
Pass keyboard events to the e-table.
* e-table-item.c: Don't show the tooltip if the cell is being editted.
Also don't destroy the tooltip until the button release event (other
wise the e-table-item starts a select)
2000-09-25 Iain Holmes <iain@helixcode.com>
* e-table-header-item.c (draw_button): Calculate the vertical
offset correctly to centre text.
2000-09-25 Iain Holmes <iain@helixcode.com>
* e-table-header-item.c (ethi_popup_best_fit): Fill this out
to call the "request_width" signal and set the new size.
svn path=/trunk/; revision=5599
|
|
|
|
| |
svn path=/trunk/; revision=5513
|
|
|
|
| |
svn path=/trunk/; revision=5482
|
|
|
|
| |
svn path=/trunk/; revision=5477
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-16 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Added some missing #includes.
* e-cell-tree.c: Removed an unused variable.
* e-table-item.c: Added some missing casts.
svn path=/trunk/; revision=5470
|
|
|
|
| |
svn path=/trunk/; revision=5469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-15 Iain Holmes <iain@helixcode.com>
* e-cell-tree.c (ect_show_tooltip): If the cursor is inside
the subcell, call the show_tooltip on it.
* e-table-header-item.c (draw_button): Draw the arrow first,
then take it's size into account when calculating how to draw
the text. Use ellipsis if the text it too long.
2000-09-15 Iain Holmes <iain@helixcode.com>
* e-table-header-item.c (draw_button): Fix a crash by passing
the canvas widget to gtk_paint_box. Reported by Radek.
2000-09-14 Iain Holmes <iain@helixcode.com>
* e-table-header-item.c (set_cursor): The column isn't resizable
if it is the last, or if all other columns after it are not
resizable.
* e-cell-text.c (ect_max_width): Correctly calculate the width
of the line of text. Unbuild the current cell and unref the lines
as well.
(build_current_cell): Initialize cell->style to 0;
2000-09-14 Iain Holmes <iain@helixcode.com>
* e-table-item.c: Start timers for the tooltip to appear, on motion
events.
* e-cell.[ch]: Add a new show_tooltip method.
* e-cell-text.c (ect_show_tooltip): Show the tooltip.
svn path=/trunk/; revision=5466
|
|
|
|
| |
svn path=/trunk/; revision=5441
|
|
|
|
|
|
|
|
|
|
|
| |
Fix some crashes
Make double clicking on the header dividers automatically size the header
to it's best fit.
When dragging onto the header check the dragged item is a header object.
Check the column is resizeable before setting the cursor to <->
Use the font and themes to draw the table and items.
svn path=/trunk/; revision=5438
|
|
|
|
|
|
|
|
| |
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Made bold text calculate widths properly.
svn path=/trunk/; revision=5331
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-24 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-cell.c,
e-cell.h, e-table-col.c, e-table-col.h, e-table-item.c: Added
infrastructure for setting the justification of columns. Still
need to change the cells to support it and need to add user
interface to change the justification.
svn path=/trunk/; revision=5010
|
|
|
|
|
|
| |
come...
svn path=/trunk/; revision=4972
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-22 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-table-item.c:
Moved drawing of the cell backgrounds from ECell into ETableItem.
* e-tree-model.c: Include stdlib.c.
svn path=/trunk/; revision=4915
|
|
|
|
| |
svn path=/trunk/; revision=4913
|
|
|
|
| |
svn path=/trunk/; revision=4885
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-19 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Made background colors alternate.
* e-table-click-to-add.c: Made tabbing off the right edge of the
click to add commit the new values.
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group.c, e-table-group.h, e-table-sorted-variable.c,
e-table-subset-variable.c, e-table-subset-variable.h: Added a
decrement method. Made the add and remove methods not
automatically increment and decrement.
* e-table-item.c: Fixed some view vs model issues for both rows
and columns.
* e-table-model.c: Added debugging code. Removed automatic
signalling of changes by the ETableModel set_value_at function
(the model should send these signals itself.)
* e-table.c: Added increment and decrement calls when a row is
removed or added from the source model.
svn path=/trunk/; revision=4881
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=3354
|
|
|
|
|
|
|
|
| |
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c: Copy and paste error.
svn path=/trunk/; revision=3353
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* e-cell-text.c (ect_draw): free cell.starting_text here to avoid
a memory leak.
svn path=/trunk/; revision=2898
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
2000-04-27 Christopher James Lahey <clahey@helixcode.com>
* arrow-down.xpm, arrow-up.xpm, e-cell-text.c, e-cell-toggle.c,
e-table-col.c, e-table-config.c, e-table-header-item.c: Fixed some
warnings.
svn path=/trunk/; revision=2659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-11 Miguel de Icaza <miguel@helixcode.com>
* e-table-header-item.c (ethi_add_destroy_marker): Add group
indent width here.
(is_pointer_on_division): Use the group indent here, so the
resize pointer is shown at the correct time.
(TOLERANCE): Bump it up to 3
(draw_button): Do not paint an arrow if there is an icon present,
and not enough space to paint.
2000-04-10 Miguel de Icaza <miguel@helixcode.com>
* e-table-header-item.c (make_shapped_window_from_xpm): New
routine, creates a shapped mask window from an xpm buffer.
(ethi_add_drop_marker): New version, uses shaped windows instead
of canvas items to signal the drop location.
(ethi_maybe_start_drag): Disable dragging if there is only one
column left.
svn path=/trunk/; revision=2390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-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
|
|
|
|
| |
svn path=/trunk/; revision=2252
|
|
|
|
| |
svn path=/trunk/; revision=2161
|
|
|
|
|
|
|
|
| |
2000-03-13 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Fixed a crashing bug when you cancel an edit.
svn path=/trunk/; revision=2113
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-12 Christopher James Lahey <clahey@helixcode.com>
* widgets/Makefile.am: Rearranged SUBDIRS for dependencies.
* widgets/e-text/e-text-model.c, widgets/e-text-model.h: New
object which stores a piece of text data. All methods are
virtual.
* widgets/e-text/e-text.c, widgets/e-text/e-text.h: Modified this
to use an ETextModel for its data.
* widgets/e-text/Makefile.am: Added e-text-model.c and e-text-model.h.
* widgets/e-minicard/test-minicard-label.c: Made this work again.
* widgets/e-minicard/e-minicard.c,
widgets/e-minicard/e-minicard.h: Made this use an ETableModel to
get its data.
* widgets/e-minicard/e-minicard-label.c,
widgets/e-minicard/e-minicard-label.h: Added the ability to set
the text model used for the contained text widget.
* widgets/e-minicard/Makefile.am: Added e-table since e-minicard
is now dependent on an e-table-model for its data.
* e-util/e-canvas.c, e-util/e-canvas.h: Fixed some bugs here to
speed up reflow and to make it fail less often.
* addressbook/demo, addressbook/demo/.cvsignore,
addressbook/demo/Makefile.am, addressbook/demo/demo.c,
addressbook/demo/spec: A new program to test ETable and EMinicard
integration.
* configure.in: Added addressbook/demo/Makefile.
* addressbook/Makefile.am: Added the demo/ subdirectory.
in widgets/e-table/:
2000-03-12 Christopher James Lahey <clahey@helixcode.com>
* e-table.c: Made this use an ECanvas. Fixed a bug where
e_table_new_from_spec_file was calling e_table_construct instead
of e_table_construct_from_spec_file.
* e-table-item.c, e-table-header-item.c, e-table-column-item.c:
Switched these to use GTK_TYPE_OBJECT and GTK_VALUE_OBJECT instead
of GTK_TYPE_POINTER and GTK_TYPE_OBJECT.
* e-cell-text.c: Got rid of a crashing bug.
* e-table-text-model.c, e-table-text-model.h: A new object which
is an e-text-model which uses an e-table-model for its data.
* Makefile.am: Added e-table-text-model.c and
e-table-text-model.h.
* .cvsignore: Added table-example-1 and table-example-2.
svn path=/trunk/; revision=2101
|
|
|
|
|
|
|
|
| |
2000-03-06 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Draw selected row.
svn path=/trunk/; revision=2070
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=1537
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
| |
svn path=/trunk/; revision=1521
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=1452
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=1435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
svn path=/trunk/; revision=1428
|