1. 14 Feb, 2000 7 commits
    • Jody Goldberg's avatar
      Adjsut XL import of row height to include margins. Heights · 58f4dd19
      Jody Goldberg authored
      should match exactly now.
      
      2000-02-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_value) : Empty formats produce empty cells.
      
      	* src/workbook.c (workbook_menu_tools) : Move the plugins menu item to
      	  the Tools menu.
      58f4dd19
    • Jukka-Pekka Iivonen's avatar
      Implemented Glade dialogs for Correlation, Covariance, and F-Test tools. · a67a3eee
      Jukka-Pekka Iivonen authored
      2000-02-14  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/analysis-tools.glade, src/analysis-tools.c,
       	src/dialogs/dialog-analysis-tools.c: Implemented Glade dialogs for
       	Correlation, Covariance, and F-Test tools.
      a67a3eee
    • Jody Goldberg's avatar
      A few more pts vs pixels cleanups and fixes. · fbf52c42
      Jody Goldberg authored
      2000-02-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : Handle rename from
      	  sheet_{col,row}_size_fit -> sheet_{col,row}_size_fit_pixels
      	* src/selection.c (cb_set_row_height) : Ditto.
      	* src/workbook-cmd-format.c
      	(workbook_cmd_format_{column,row}_auto_fit) : Ditto.
      
      	* src/cell.c (cell_calc_dimensions) : Use sheet_row_set_size_pixels
      	  rather than sheet_row_set_internal_size_pts.
      
      	* src/sheet.c (sheet_{col,row}_set_size_{pixels,pts}) :
      	  Use sheet_row_fetch to avoid manually adding rows/col.
      	  Syncronize implementations and move the 'set_internal' code
      	  here.
      	(sheet_{col,row}_set_internal_size_pts) : Delete.
      	(sheet_{col,row}_size_fit) : Rename sheet_{col,row}_size_fit_pixels
      	(colrow_compute_pts_from_pixels) : Typo.
      fbf52c42
    • Miguel de Icaza's avatar
      Fix handling of return value from gnumeric_dialog_run. Fix memory leaks. · eb497b78
      Miguel de Icaza authored
      2000-02-14  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/dialogs/dialog-solver.c (constr_add_click): Fix handling
      	of return value from gnumeric_dialog_run.  Fix memory leaks.
      
      	* src/dialogs/dialog-goto-cell.c (dialog_goto_cell): Fix handling
      	of return value from gnumeric_dialog_run
      
      	* src/dialogs/dialog-function-wizard.c (dialog_function_wizard):
      
      	* src/dialogs/dialog-analysis-tools.c (dialog_correlation_tool):
      	Fix handling of return value from gnumeric_dialog_run
      	(dialog_sampling_tool): ditto.
      	(dialog_descriptive_stat_tool): ditto.
      	(dialog_ttest_eq_tool): ditto.
      	(dialog_regression_tool): ditto
      	(dialog_average_tool): ditto.
      	(dialog_ranking_tool): ditto.
      	(dialog_anova_single_factor_tool): ditto.
      
      	* src/dialogs/dialog-solver.c (dialog_solver): The argument is
      	*NOT* a GtkObject, but some other data structure.
      
      	* src/dialogs/dialog-analysis-tools.c (dialog_data_analysis):
      	Correct handling.
      	(dialog_covariance_tool): Handle correctly.
      
      	* src/dialogs/dialog-advanced-filter.c (dialog_advanced_filter):
      	Proper error handling.
      eb497b78
    • Jody Goldberg's avatar
      Add a border toolbar item. · aa076567
      Jody Goldberg authored
      and a pixmap-combo widget.
      aa076567
    • Miguel de Icaza's avatar
      Acknowledge the GNOME user settings for the combo box button. Same for the · 14ed62ab
      Miguel de Icaza authored
      2000-02-13  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/widgets/widget-color-combo.c (color_combo_construct):
      	Acknowledge the GNOME user settings for the combo box button.
      	Same for the button we create.
      
      	* src/workbook.c (workbook_create_standard_toobar): ditto.
      14ed62ab
    • Jody Goldberg's avatar
      Fix missed +1. · 30cc829f
      Jody Goldberg authored
      
      2000-02-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_col_get_distance_pts) : Fix missed +1.
      
      	* src/cell-draw.c (cell_draw) : syncronize with print_cell_text.
      	* src/print-cell.c (print_cell_text) : Ditto.
      30cc829f
  2. 13 Feb, 2000 5 commits
    • Jody Goldberg's avatar
      By popular demand grid lines now show through. · 67018e4a
      Jody Goldberg authored
      2000-02-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_paint_empty_cell) : paint the selection
      	  rectangle EXCLUDING the grid lines when selected.
      
      	* src/cell-draw.c (cell_draw) : Ditto.
      
      	* src/pattern.c (gnumeric_background_set_gc) : return FALSE if there
      	  is no pattern even if the cell is selected.
      67018e4a
    • Jody Goldberg's avatar
      Fix some boneheaded glitches in the drawing code. · bccff14e
      Jody Goldberg authored
      NOTE to self : Always set a clipping region before using a graphics
      context if you set a clipping region later.  This will avoid conflict when
      using the context again with a different callers clipping region.
      bccff14e
    • Jody Goldberg's avatar
      Clarify that the measurements are in pixels. · b0141d7c
      Jody Goldberg authored
      
      2000-02-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (workbook_view_set_size) : Clarify that the
      	  measurements are in pixels.
      
      	* 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.
      b0141d7c
    • 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
      	  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.
      b6d04cff
    • 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.
      8484b94b
  3. 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.
      9aef8642
    • Jody Goldberg's avatar
      Add missing check in. · 89d40cf3
      Jody Goldberg authored
      89d40cf3
    • 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.
      97698b86
  4. 11 Feb, 2000 11 commits
  5. 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.
      92c05fcd
    • 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.
      f6b62c13
    • 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.
      
      Miguel.
      4dfac701
    • 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.
      676c70fb
  6. 09 Feb, 2000 2 commits
  7. 07 Feb, 2000 6 commits
  8. 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
      b3e9a312
  9. 04 Feb, 2000 1 commit
    • JP Rosevear's avatar
      Fix typo · 045c02d4
      JP Rosevear authored
      2000-02-05  JP Rosevear  <jpr@arcavia.com>
      
      	* src/commands.h : Fix typo
      045c02d4