1. 13 Feb, 2000 2 commits
    • Jody Goldberg's avatar
      Major rationalization of pts vs pixels and the use of margins. · b6d04cff
      Jody Goldberg authored
      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
      	(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.
    • Gregory McLean's avatar
      Added documentation and examples. · 8484b94b
      Gregory McLean authored
      2000-02-12  Gregory McLean <gregm@gnu.org>
              * src/functions/fn-financial.c: Added documentation and examples.
  2. 12 Feb, 2000 3 commits
    • Jukka-Pekka Iivonen's avatar
      New file added. Documentation of the AutoSave tool. · 9aef8642
      Jukka-Pekka Iivonen authored
      2000-02-12  Jukka-Pekka Iivonen  <iivonen@iki.fi>
              * doc/C/autosave.sgml: New file added.  Documentation of the
              AutoSave tool.
    • Jody Goldberg's avatar
      Add missing check in. · 89d40cf3
      Jody Goldberg authored
    • Jody Goldberg's avatar
      Adjust to new signature for color_combo_new. Select index 0 rather than 1 · 97698b86
      Jody Goldberg authored
      2000-02-11  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :
      	  Adjust to new signature for color_combo_new.
      	  Select index 0 rather than 1 (some one has spent too much time in
      	  fortran).  Reorder the initializations to match deployment (I'm
      	  being pedantic).
      	* src/widgets/widget-color-combo.c (color_table_setup) : Change the
      	  no_color flag to a possibly NULL string to provide finer control.
      	(color_combo_construct) : Ditto.
      	(color_combo_new_with_vals) : Ditto.
      	(color_combo_new) : Ditto.
      2000-02-11  Dean Scott <drscott12@hotmail.com>
      	* src/widgets/widget-color-combo.c (default_colors) : Reorder to match
      	  XL2000 more closely and provide names.
      	(color_combo_new) : Correct the layout to display all colours.
  3. 11 Feb, 2000 11 commits
  4. 10 Feb, 2000 4 commits
    • Michael Meeks's avatar
      bump gb version & fixup gb plugin, 'it should now work'TM · 92c05fcd
      Michael Meeks authored
      fixup several include problems
      fix corba-sheet for new sizing scheme.
    • Jody Goldberg's avatar
      Remove inclusion of cell.h. Adjust includes to loosen things a bit more. · f6b62c13
      Jody Goldberg authored
      2000-02-10  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.h : Remove inclusion of cell.h.  Adjust includes to loosen
      	  things a bit more.
      	* src/colrow.h : Remove margin_a_pt margin_b_pt.  Margins are NOT
      	  scaled by resolution or zoom.
      	  Rename units -> size_pts and store as float rather than double.
      	  Rename pixels-> size_pixels
      	  hard_size -> use gboolean rather than a 1 element bitfield
      	* src/style.h : Move the typedefs from here.
      	* src/gnumeric.h : to here.
      	*.[ch] : Catch up with the renames and include changes.
    • Miguel de Icaza's avatar
      Pile of work on the graphics component. Works, displays in more modes, · 4dfac701
      Miguel de Icaza authored
      Pile of work on the graphics component.  Works, displays in more modes,
      actually the graph is now managed by the layout, need to add more decorative
      components to the graphic now.
    • Jody Goldberg's avatar
      Some improvements to the default sizes of things to resizing. · 676c70fb
      Jody Goldberg authored
      We will need to tweak this to get things to match properly.
      2000-02-09  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (change_displayed_zoom_cb) : Add a '%' at the end of
      	  the zoom specification.
      	(workbook_create_standard_toobar) : Adjust the list of zoom labels.
      	* src/style.c (font_init) : Add comment explaining that the default
      	  fonts are not scaled by resolution, and that we depend on that.
      	* src/sheet.c (sheet_init_default_styles) : Set the default sizes
      	  based on the size of the default font not on pixels.
      	* src/sheet-view.c (new_canvas_bar) : Don't set the size or scroll
      	  region here.
      	(sheet_view_construct) : Call sheet_view_set_zoom_factor with a factor
      	  of 1 to set sizes and scroll regions.
      	(sheet_view_set_zoom_factor) : Do not hard code the sizes of the free
      	  dimensions.  Set them based on the font used for the headers.
  5. 09 Feb, 2000 2 commits
  6. 07 Feb, 2000 6 commits
  7. 06 Feb, 2000 1 commit
    • ERDI Gergo's avatar
      Added myself to the contributors list · b3e9a312
      ERDI Gergo authored
      2000-02-01  ERDI Gergo  <cactus@cactus.rulez.org>
      	* src/about.c (dialog_about): Added myself to the contributors list
      	* src/widgets/gtk-combo-box.c (gtk_combo_box_popup_hide):
      	explicitly cast function pointers to avoid a warning
      	* src/solver-lp.c (simplex_step_three): Default value for `min' to
      	eliminate a warning
      	* src/dialogs/dialog-advanced-filter.c: Included ranges.h
      	(removing an `implicit declaration' warning)
      	* src/commands.c: Included `dialogs.h'
      	* src/workbook.c (workbook_standard_toolbar_orient): Hide the zoom
      	combo box on vertical toolbars
      	* src/widgets/gtk-combo-text.[ch]: New widget: easy-to-use combo box
      2000-01-28  ERDI Gergo  <cactus@cactus.rulez.org>
      	* src/workbook.c (workbook_create_standard_toobar): Added a zoom
      	button to the toolbar as requested
  8. 04 Feb, 2000 5 commits
    • JP Rosevear's avatar
      Fix typo · 045c02d4
      JP Rosevear authored
      2000-02-05  JP Rosevear  <jpr@arcavia.com>
      	* src/commands.h : Fix typo
    • JP Rosevear's avatar
      Start sorting excel attributes into application, workbook and sheet · 3ec9f5a9
      JP Rosevear authored
      2000-02-05  JP Rosevear  <jpr@arcavia.com>
      	* doc/pref-attributes.txt : Start sorting excel attributes into
      	application, workbook and sheet categories.
    • Jody Goldberg's avatar
      - Fix some of the problems with the resolution scaling. · 3e12961e
      Jody Goldberg authored
      - Implement an initial version of paste_cut undo.
      2000-02-05  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.[ch] (sheet_row_info_set_{height, width}) : Make static.
      	* src/cell.c (cell_calc_dimensions) : The size is already scaled.
      	* src/item-bar.c (item_bar_event) : Only scale by the zoom.
      	  The item-grid canvas is zoomed by the zoom factor, not by the
      	  resolution adjustment.
      	(item_bar_start_resize) : Ditto.
      	* src/selection.c (sheet_selection_paste) : Use cmd_paste_cut.
      	* src/commands.c (cmd_paste_cut) : Implement.
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      	* src/widgets/widget-font-selector.c (font_selector_set_points) : new
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_font_page) : Use it.
    • Jody Goldberg's avatar
      Add some config variables to the application to allow for axis dependent · d6fe542a
      Jody Goldberg authored
      zooming based on the screen display resolution (eg 110 dpi).  No GUI currently
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      	* src/widgets/widget-font-selector.c (font_selector_set_points) : new
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_font_page) : Use it.
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c (sheet_col_set_internal_width) : Scale by the axis
      	  resolution adjment.
      	(sheet_row_set_internal_height) : Ditto.
      	(colrow_set_units) : Ditto.
      	(sheet_compute_col_row_new_size) : Ditto.
      	* src/item-bar.c (item_bar_fonts_init) : Scale by resolution.
      	(item_bar_start_resize) : Ditto.
      	(item_bar_event) : Ditto.
      	* src/cell.c (cell_calc_dimensions) : Adjust interface to take the
      	  cell. Scale the height test by the vertical resolution adjustment.
      	* src/cell-draw.c (sheet_view_get_style_font) : rename from
      	  sheet_get_style_font in preparation for view split.  Scale
      	  the font by the average of the resolutions.
    • Arturo Espinosa's avatar
      Small compile fixup · 1bca03e0
      Arturo Espinosa authored
  9. 03 Feb, 2000 3 commits
  10. 02 Feb, 2000 3 commits