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
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
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
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
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
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>
* widgets/e-text/e-text.h: Removed some arguments from the .h that
will never be implemented.
svn path=/trunk/; revision=1737
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
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-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-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
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
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
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
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
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
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
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
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
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
* 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
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
* 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
* 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
* 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
* 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
* 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
* 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
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