1. 25 Feb, 2002 1 commit
  2. 22 Feb, 2002 1 commit
    • Morten Welinder's avatar
      Supply these. Use everywhere. · 394ac408
      Morten Welinder authored
      2002-02-22  Morten Welinder  <terra@diku.dk>
      
      	* src/numbers.h (floorgnum, ceilgnum, powgnum, expgnum, loggnum,
      	log10gnum, singnum, cosgnum, tangnum, asingnum, acosgnum,
      	atangnum): Supply these.  Use everywhere.
      
      	* configure.in: Check for the above.
      394ac408
  3. 21 Feb, 2002 2 commits
    • Morten Welinder's avatar
      Define prototypes for strtognum, modfgnum, and gnumabs here when needed. · 23bbde18
      Morten Welinder authored
      2002-02-21  Morten Welinder  <terra@diku.dk>
      
      	* src/numbers.h: Define prototypes for strtognum, modfgnum, and
      	gnumabs here when needed.
      23bbde18
    • Morten Welinder's avatar
      Constify. · 653bc803
      Morten Welinder authored
      2002-02-21  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook-control-gui.c (wbcg_validation_msg): Constify.
      
      	* src/cell.c (cell_is_zero): Use gnum_float.
      
      	* src/regression.c (LUPDecomp): Use gnumabs.
      	* src/solver-lp.c (solver_answer_report): Ditto.
      	* src/value.c (value_diff): Ditto.
      	* src/goal-seek.c: Ditto.
      	* src/rangefunc.c (range_avedev): Ditto.
      
      	* src/validation.c (validation_eval): Use gnum_float, modfgnum,
      	and gnumabs.
      
      	* src/numbers.h (GNUM_MANT_DIG, GNUM_MAX_EXP, gnumabs): New stuff.
      653bc803
  4. 20 Feb, 2002 3 commits
    • Morten Welinder's avatar
      Warning killers. · af8d771a
      Morten Welinder authored
      af8d771a
    • Morten Welinder's avatar
      Missing g_strdup added for sanity check, just in case. · bafcd158
      Morten Welinder authored
      2002-02-20  Morten Welinder  <terra@diku.dk>
      
              * src/format.c (format_value): Missing g_strdup added for sanity
              check, just in case.
      bafcd158
    • Morten Welinder's avatar
      New stuff. · 8320f8c8
      Morten Welinder authored
      2002-02-19  Morten Welinder  <terra@diku.dk>
      
      	* src/numbers.h (modfgnum, strtgnum, GNUM_FORMAT_[eEfg],
       	GNUM_DIG): New stuff.
      
        	* .../*.[cy]: All relevant strtod changed to strtognum; modf to
       	modfgnum; DBL_DIG to GNUM_DIG; formats changed to use
       	GNUM_FORMAT_...
      
      	* src/gutils.c (strtognum): If needed, define a version here.
      
      	* src/complex.c (complex_to_string): Use right format for
       	imaginary part.
      
      	* configure.in: Add support for --with-long-double.
      
      	* acconfig.h: Add WITH_LONG_DOUBLE.
      8320f8c8
  5. 19 Feb, 2002 2 commits
    • Morten Welinder's avatar
      Use gnum_float instead of double. · 0bcf9433
      Morten Welinder authored
      2002-02-19  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c: Use gnum_float instead of double.
      0bcf9433
    • Morten Welinder's avatar
      Fix isdigit usage. · 57712f32
      Morten Welinder authored
      2002-02-19  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (format_compile): Fix isdigit usage.
      
      	* src/value.c (value_diff): Return a gnum_float, not a double.
      57712f32
  6. 06 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      changes to the classification interface. It will continue to evolve. · eee2e6a6
      Jody Goldberg authored
      2002-02-06  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-autofill.c (autofill_create_fill_items) : changes to the
      	classification interface.  It will continue to evolve.
      
      	* src/formats.c (cell_format_classify) : change the signature.  In the
      	  future this should really be split.  This routine is
      	  1) stupid
      	  2) wrong
      	  It is really only useful in the context of the format dialog.
      	  however, our desire to call it elsewhere indicates what the new
      	  format engine should make easiliy accessible.
      
      	* src/expr.c (expr_eval_real) : quick and easy support for autoformat
      	  style formating for percent operator.  Just a quick test to see how
      	  hard it would be, and it wasn't.
      
      	* src/auto-format.c : Convert to StyleFormat.  Nothing actually uses
      	  this anymore but I have not merged its logic into the eval structure
      	  yet.
      
      	* src/format-template.c (format_template_check_valid) : warning
      	  suppression.
      
      	* src/format.c (style_format_general) : new.
      	(style_format_default_date) : new.
      	(style_format_default_time) : new.
      	(style_format_default_percentage) : new.
      	(style_format_default_money) : new.
      
      	* src/cell.c (cell_get_format) : finish the conversion.
      eee2e6a6
  7. 04 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      don't actually store the value, just start editing with it. · 167c36d3
      Jody Goldberg authored
      2002-02-03  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_current_date) : don't actually
      	  store the value, just start editing with it.
      	(cb_insert_current_time) : ditto.
      
      2002-02-03  Jody Goldberg <jody@gnome.org>
      
      	* src/value.c (value_new_*) : init Value*::fmt
      	(value_duplicate) : ref the fmt too.
      	(value_set_fmt) : new.
      
      	* src/cell.c (cell_cleanout) : no more format.
      	(cell_copy) : ditto.
      	(cell_set_text) : ditto.
      	(cell_set_expr_internal) : ditto.
      	(cell_set_expr_unsafe) : ditto.
      	(cell_get_format) : ditto.
      
      	Change all callers.
      	* src/sheet.c (sheet_cell_set_value) : remove format assingment.
      	* src/cell.c (cell_set_expr_and_value) : remove format assignment.
      	(cell_assign_value) : ditto.
      	(cell_set_value) : ditto.
      	(cell_set_expr) : ditto.
      	* src/parser.y (expr_parse_str) : remove arg to return the suggested
      	  format.  That will be handled at run time.
      	* src/number-match.c (format_match) : remove arg to return the parse
      	  formula.  Store it in the value instead.
      167c36d3
  8. 23 Jan, 2002 1 commit
  9. 06 Jan, 2002 1 commit
  10. 31 Dec, 2001 2 commits
  11. 21 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      Cleanup and standardize the #include files · 65d67daa
      Jody Goldberg authored
      65d67daa
    • Jody Goldberg's avatar
      you do need to unref the resulting style. I forgot that autoformat · e8b0714a
      Jody Goldberg authored
      2001-12-21  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (parse_text_value_or_expr) : you do need to unref
      	  the resulting style.  I forgot that autoformat generates formats.
      
      	* src/format.c (style_format_unref) : unrefing NULL is ok.
      
      	* src/cell.c (cell_set_text) : adjust to ref semantic change in
      	  parse_text_value_or_expr.
      	* src/commands.c (cmd_search_replace_do_cell) : ditto.
      	* src/sheet.c (sheet_range_set_text) : ditto.
      	(sheet_cell_set_text) : ditto.
      	* src/xml-io.c (xml_read_cell_copy) : ditto.
      e8b0714a
  12. 10 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      burn ancient kruft and use the newly exposed format engine. · 22ad1db5
      Jody Goldberg authored
      2001-12-10  Jody Goldberg <jody@gnome.org>
      
      	* fn-string.c (gnumeric_fixed) : burn ancient kruft and use the newly
      	  exposed format engine.
      
      2001-12-10  Jody Goldberg <jody@gnome.org>
      
      	* src/value.c (value_new_string_str) : absorb the ref.
      	(value_duplicate) : manually add a ref here.
      
      	* src/format.c (render_number) : make public.
      	(do_render_number) : remove pointless args.
      	(format_number) : localize more of the scientific handling.
      22ad1db5
  13. 05 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      compute_value returns a Value now. (compute_value) : return a Value. · 2694af53
      Jody Goldberg authored
      2001-10-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (format_match) : compute_value returns a Value
      	  now.
      	(compute_value) : return a Value.
      
      2001-10-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c (gnm_graph_series_set_dimension) : new.
      	(gnm_graph_series_delete) : new.
      
      	* idl/GNOME_Gnumeric_Graph.idl : Add seriesSetDimension, and
      	  seriesDelete.  Bump the idl version.
      2694af53
  14. 03 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      merge application_clipboard_cut and application_clipboard_copy. Make the · 25b21d90
      Jody Goldberg authored
      2001-10-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_clipboard_cut_copy) : merge
      	  application_clipboard_cut and application_clipboard_copy.
      	  Make the animated cursor optional.
      
      	* src/selection.c (sheet_selection_cut) : interface change.
      	(sheet_selection_copy) : ditto.
      	* src/commands.c (cmd_ins_del_colrow_undo) : ditto.
      	(cmd_ins_del_colrow_redo) : ditto.
      
      2001-10-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (format_match_create) : ensure we don't compile
      	  General.
      	  (format_match_init) : no need to filter General here.
      	* src/format.c (style_format_new_XL) : do it here.
      25b21d90
  15. 14 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      if we are displaying the parse fmt because the assigned fmt is General · 1dbce43d
      Jody Goldberg authored
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-format.c (fmt_dialog_init_format_page) : if we are
      	  displaying the parse fmt because the assigned fmt is General
      	  then select the parse fmt in the dialog.
      
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (excel_chart_series_write_xml) : Use the gal routines for
      	  symetry with the guppi implementation.
      
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style-color.c (style_color_new_name) : new utility.
      
      	* src/gnumeric-graph.c : cleanup the debug info.
      	(gnm_graph_get_spec) : make public and add some protection.
      
      	* src/number-match.c : remove format_parse_t and merge it with
      	  StyleFormat.
      	(format_match_release) : new routine split from format_match_finish.
      	(format_match_finish) : just unref the StyleFont.
      	(format_match_create) : tweaking the calling convention and rename
      	  format_match_define.
      	(format_match_init) : manage the format_match_list here.
      	(format_match) : Match against the currently assigned format first
      
      	* src/format.c : clean the includes.
      	Make _StyleFormat public for sharing with number-match.c
      	(format_compile) : call format_match_create.
      	(format_destroy) : call format_match_release.
      	(format_color_init) : use style_color_new_name.
      	(style_format_new_XL) : init the new regexp elements to NULL.
      
      	* src/bonobo-io.c (gnumeric_bonobo_io_init) : name this better.
      
      	* src/sheet-control-gui.c (scg_object_update_bbox) : add some
      	  protection.
      1dbce43d
  16. 02 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      split from workbook_recalc. (cell_eval) : change return type. no one was · f260bb65
      Jody Goldberg authored
      2001-09-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/eval.c (dependent_eval) : split from workbook_recalc.
      	(cell_eval) : change return type.  no one was using it.
      
      2001-08-31  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_number) : add a way to force 12 hour mode
      	  without showing am/pm
      f260bb65
  17. 24 Aug, 2001 1 commit
    • Chyla Zbigniew's avatar
      Replace mega-include <gnome.h> with something smaller. · ac93e10a
      Chyla Zbigniew authored
      * src/analysis-tools.c, src/application.c, src/bonobo-io.c,
      src/clipboard.c, src/cmd-edit.c, src/command-context.c,
      src/commands.c, src/corba-args.c, src/corba-workbook-factory.c,
      src/dates.c, src/dialogs/dialog-about.c,
      src/dialogs/dialog-advanced-filter.c,
      src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
      src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
      src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
      src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-consolidate.c,
      src/dialogs/dialog-define-names.c, src/dialogs/dialog-delete-cells.c,
      src/dialogs/dialog-function-wizard.c, src/dialogs/dialog-goal-seek.c,
      src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
      src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-paste-special.c,
      src/dialogs/dialog-plugin-manager.c,
      src/dialogs/dialog-printer-setup.c,
      src/dialogs/dialog-search-replace.c, src/dialogs/dialog-sheet-order.c,
      src/dialogs/dialog-simple-input.c, src/dialogs/dialog-solver.c,
      src/dialogs/dialog-stf-export-private.h,
      src/dialogs/dialog-stf-export-sheet-page.c,
      src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-preview.h,
      src/dialogs/dialog-stf.c, src/dialogs/dialog-stf.h,
      src/dialogs/dialog-summary.c, src/dialogs/dialog-validate.c,
      src/dialogs/dialog-workbook-attr.c, src/dialogs/dialog-zoom.c,
      src/dialogs/utils-dialog.c, src/expr-name.c, src/expr.c,
      src/file-autoft.c, src/format-template.c, src/format.c, src/formats.c,
      src/func.c, src/global-gnome-font.c, src/gnumeric-util.h,
      src/gui-clipboard.c, src/gui-file.c, src/gui-gnumeric.h, src/gutils.c,
      src/history.c, src/item-bar.c, src/item-cursor.c, src/item-debug.c,
      src/main.c, src/normal-args.c, src/number-match-test.c,
      src/number-match.c, src/parse-util.c, src/parser.y, src/pattern.h,
      src/preview-grid.c, src/print-cell.c, src/print-info.c, src/print.c,
      src/search.c, src/selection.c, src/sheet-autofill.c,
      src/sheet-merge.c, src/sheet-object-bonobo.c,
      src/sheet-object-container.c, src/sheet-object-graphic.c,
      src/sheet-object-item.c, src/sheet-object-widget.c,
      src/sheet-object.c, src/sheet.c, src/stf-parse.h, src/stf.c,
      src/style-color.c, src/style.c, src/test-format.c, src/value-sheet.c,
      src/value.c, src/widgets/gnumeric-dashed-canvas-line.h,
      src/widgets/gnumeric-hscrollbar.c, src/widgets/gnumeric-toolbar.c,
      src/widgets/gnumeric-vscrollbar.c,
      src/widgets/widget-editable-label.c,
      src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
      src/workbook-control.c, src/workbook-format-toolbar.c,
      src/workbook-object-toolbar.c, src/workbook-private.h,
      src/xml-io-autoft.c, src/xml-io.c:
      Replace mega-include <gnome.h> with something smaller.
      ac93e10a
  18. 23 Aug, 2001 1 commit
  19. 09 Aug, 2001 1 commit
  20. 06 Aug, 2001 1 commit
  21. 14 Jun, 2001 1 commit
    • Jody Goldberg's avatar
      use the scale info and round it correctly. (do_setup_page) : ditto. · 4a3bcd3a
      Jody Goldberg authored
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-printer-setup.c (do_fetch_page) : use the scale info and
      	  round it correctly.
      	(do_setup_page) : ditto.
      
      	* print.glade : partially enable the print scaling.
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (write_setup) : new routine.
      	(write_sheet_bools) : split out from here.
      
      	* ms-excel-read.c (ms_excel_read_sheet) : split the setup parser out
      	  of here into.
      	(ms_excel_read_setup) : here.  and modernize it.  Read the number of
      	  copies and the scaling if specified.
      
      2001-06-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (render_number) : improve rounding and cleanup.
      
      2001-06-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_cleanout) : call dirty here.
      	(cell_destroy) : not here.
      	(cell_set_text) : or here.
      	(cell_set_value) : or here.
      	(cell_set_expr_and_value) : or here.
      	(cell_set_expr_internal) : or here.
      
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/print.c (compute_group) : add more error checking to avoid
      	  possibility of infinite loop.
      
      	* src/print-info.c (print_info_new) : init num copies.
      
      	* src/mathfunc.c (stern_brocot) : move this here from
      	* format.c : here.
      4a3bcd3a
  22. 11 Jun, 2001 1 commit
  23. 03 Jun, 2001 3 commits
    • Jody Goldberg's avatar
      don't leak colour ref ditto. · 04f4c1cd
      Jody Goldberg authored
      
      2001-06-02  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-stf-preview.c (stf_preview_format_line) : don't leak colour ref
      	* dialog-cell-format.c (draw_format_preview) : ditto.
      
      2001-06-03  Jody Goldberg <jgoldberg@home.com>
      
      	* Makefile.am (INCLUDES) : add top_builddir so that we can gt
      	  portability.h
      
      2001-06-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell-draw.c (draw_text) : limit length of cell text to avoid
      	  flakey X servers that crash with long strings.
      
      	* src/clipboard.c (clipboard_paste_region) : be sure to rerender and
      	  span if formats change.
      
      	* src/format.c (format_value) : simplify.
      04f4c1cd
    • Jody Goldberg's avatar
      doh! (format_compile) : Assign the default conditions. · 3b01ad11
      Jody Goldberg authored
      
      2001-06-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_compile) : doh!
      	(format_compile) : Assign the default conditions.
      3b01ad11
    • Jody Goldberg's avatar
      ref the colour. (format_entry_set_fmt) : new function. (format_compile) : · 2877e18f
      Jody Goldberg authored
      
      2001-06-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_value) : ref the colour.
      	(format_entry_set_fmt) : new function.
      	(format_compile) : parse the conditional values.
      2877e18f
  24. 02 Jun, 2001 1 commit
    • Jody Goldberg's avatar
      rewrite, not quite done. · f423353e
      Jody Goldberg authored
      
      2001-06-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_compile) : rewrite, not quite done.
      
      	* src/commands.c (cmd_set_text_undo) : queue a recalc.
      	(cmd_clear_redo) : ditto.
      	* src/corba-sheet.c (Sheet_clear_region) : ditto.
      	(Sheet_clear_region_content) : ditto.
      	* src/gui-clipboard.c (x_selection_handler) : ditto.
      	* src/sheet-merge.c (sheet_merge_add) : ditto.
      
      	* src/eval.c : switch the depend lists to be singly linked.
      	(dep_slist_filter_sheet) : convenience routine.
      	(dependent_unqueue_sheet) : Used here.
      	(dependent_unlink_sheet) : and here.
      
      	* src/workbook-control-gui.c (display_formulas) :  convert the single
      	  lists.
      f423353e
  25. 26 May, 2001 2 commits
    • Jody Goldberg's avatar
      suppress minus for "\(" to match "(" · a9201bb2
      Jody Goldberg authored
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_number) : suppress minus for "\(" to match "("
      a9201bb2
    • Jody Goldberg's avatar
      new routine. This looks ugly. We should be able to avoid replicating this · f1b88ce2
      Jody Goldberg authored
      
      2001-05-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/value.c (value_diff) : new routine.  This looks ugly.  We should
      	  be able to avoid replicating this code.
      
      	* src/cell.c (cell_eval_content) : support iteration.
      
      	* src/format.c (render_number) : make the buffer big enough.
      	  The assumtion that mantissa and exp are both maxed should leave
      	  enough room for thousand separators.
      f1b88ce2
  26. 20 May, 2001 1 commit
  27. 14 May, 2001 1 commit
  28. 04 May, 2001 1 commit
    • Jody Goldberg's avatar
      s/clipboard_release/cellregion_free/ s/range_copy/range_dup/ · 32bde6ee
      Jody Goldberg authored
      
      2001-05-04  Jody Goldberg <jgoldberg@home.com>
      
      	s/clipboard_release/cellregion_free/
      	s/range_copy/range_dup/
      	s/cell_region_render_ascii/cellregion_to_string/
      	s/clipboard_release/cellregion_free/
      
      	* src/commands.c (cmd_autofill) : Use sheet_range_contains_region.
      	(cmd_autofill_redo) : no need to test here.
      	(cmd_paste_cut) : test destination for validity and ensure that it
      	  does not slice up any merged regions or arrays.  Make the descriptor
      	  an argument so that other commands can use this one.
      	(cmd_ins_del_colrow_redo) : use colrow_max.
      	(cmd_area_set_text_redo) : use sheet_ranges_split_region.
      	(cmd_colrow_outline_change) : suppress warning.
      
      	* src/gui-clipboard.c (x_selection_to_cell_region) : simplify by using
      	  some of the convenience routines.
      
      	* src/gutils.c (gnumeric_sys_data_dir) : warning suppression.
      	(gnumeric_sys_lib_dir) : ditto.
      
      	* src/item-bar.c (item_bar_draw) : add missing warning.
      
      	* src/item-cursor.c (item_cursor_drag_event) : Don't assume the
      	  release came from the button that started the grab (think about
      	  multiple simultaneous button downs.
      	(item_cursor_selection_event) : ditto.
      	(item_cursor_do_drop) : changes to selection_first_range.
      
      	* src/parse-util.c (col_name_internal) : new routine split from
      	  col_name with better buffer handling.
      	(col_name) : used here.
      	(cols_name) : and in this new function.
      
      	* src/print.c (sheet_print_selection) : changes to
      	  selection_first_range.
      
      	* src/print-info.c (print_info_new) : default even_if_only_styles to
      	  false.  This is probably what most people want.
      
      	* src/ranges.c (range_translate) : don't invert.
      	(range_height) : new util.  could probably be #define.
      	(range_width) : new util.  could probably be #define.
      	(range_is_infinite) : use range_is_full.
      	(range_is_full) : new util.
      
      	* src/search.c (calculate_replacement) : warning suppression.
      
      	* src/selection.c (sheet_selection_cut) : Use
      	  sheet_range_splits_region and selection_first_range.
      	(sheet_selection_copy) : Use selection_first_range and remove TODO
      	  about supporting not paste by content for partial arrays.
      	(selection_first_range) : Add optional error reporting if there are
      	  multiple selection ranges.
      
      	* src/format.c (format_get_currency) : diddle the logic to get
      	  undefined to work the way people expect for locale C.
      
      	* src/sheet-merge.c (sheet_merge_relocate) : remove some dead code.
      	(sheet_merge_add) : changes to sheet_range_splits_array.
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_construct) :
      	  changes to selection_first_range.
      
      	* src/sheet.c (sheet_delete_{cols,rows}) : changes to
      	  sheet_range_splits_array.
      	(sheet_insert_{cols,rows}) : use sheet_range_splits_array.
      	(avoid_dividing_array_vertical) : delete.
      	(avoid_dividing_array_horizontal) : delete.
      	(sheet_is_pristine) : constness.
      	(sheet_mark_clean) : delete.
      	(sheet_clear_region) : changes to sheet_range_splits_array.
      	(sheet_ranges_split_region) : renamed from selection_check_for_array.
      	(sheet_range_splits_region) : new routine to check arrays and merged
      	  regions.
      	(sheet_range_splits_array) : improve and add hooks to be used for
      	  overlapping checks.
      	(cb_check_array_vertical) : report the array being split.
      	(cb_check_array_horizontal) : report the array being split.
      
      	* src/stf-parse.c (stf_parse_region) : use cellregion_new.
      	(stf_parse_is_valid_data) : simplify.
      
      	* src/value-sheet.c (value_area_get_width) : warning suppression.
      	(value_area_get_height) : warning suppression.
      	(value_area_fetch_x_y : signedness.
      	(value_area_get_x_y) : signedness.
      
      	* src/value.c (value_array_resize) : signedness.
      	(value_array_set) : signedness.
      
      	* src/workbook-control-gui.c (wbcg_error_splits_array) : signature
      	  change.
      	(cb_insert_rows) : use selection_first_range
      	(cb_insert_cols) : ditto.
      	(sort_cmd) : ditto.
      	(cb_workbook_debug_info) : clean out some deadwood.
      
      	* src/workbook-edit.c (auto_complete_matches) : warning suppression.
      
      	* src/workbook.c (workbook_sheet_detach) : warning suppression.
      	(g_ptr_array_insert) : warning suppression, moved to gutils.
      
      	* src/xml-io.c (xml_write_attributes) : warning suppression.
      	(xml_read_selection_clipboard) : use cellregion_new and tidyup.
      
      	* src/clipboard.c (paste_link) : Only make the link sheet specific if
      	  we need to.
      	(clipboard_paste_region) : constness, support being able to paste
      	  content only as link or value.
      	(clipboard_prepend_cell) : check for arrays.
      	(clipboard_copy_range) : use cellregion_new
      	(cellregion_new) : new function
      	(cellregion_free) : renamed from clipboard_release.
      	(cellregion_to_string) : moved here from render-ascii.
      
      	src/cmd-edit.c (cmd_paste) : more protection. Merge in
      	  application_paste.
      	(cmd_paste_to_selection) : handle changes to selection_is_simple and
      	  use selection_first_range
      	(cmd_shift_rows) : changes to cmd_paste_cut.
      	(cmd_shift_cols) : ditto.
      
      	* src/command-context-priv.h : change signature of splits array.
      	* src/command-context.h : ditto.
      	* src/command-context.c (gnumeric_error_splits_array) : ditto.
      
      	* src/application.c (application_clipboard_clear) :
      	(application_set_selected_sheet) : remove #warning, it is not portable.
      
      	* src/commands.c
      	* src/Makefile.am : remove render-ascii.[ch]  Move their content into
      	  clipboard.
      
      2001-05-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_prepend_cell) : remove ugly
      	  implementation.
      
      	* src/workbook-edit.c (auto_complete_matches) : remove warning.
      
      	* src/xml-io.c (xml_write_attributes) : remove warning.
      32bde6ee
  29. 01 May, 2001 1 commit
    • Jody Goldberg's avatar
      sync with website. · d43551f0
      Jody Goldberg authored
      
      2001-04-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/about.c (dialog_about) : sync with website.
      
      	* src/format.c (format_number) : don't suppress the minus sign when
      	  faced with a space in the format.  Is there a counter example ?
      	(format_number) : handle negative improper fractions.
      d43551f0
  30. 28 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Catch fractions too. (render_number) : don't pass in so many copies of · 02b18e95
      Jody Goldberg authored
      
      2001-04-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (pre_parse_format) : Catch fractions too.
      	(render_number) : don't pass in so many copies of flags.  Just use the
      	  info struct.  Add a 'has_fraction' flag to disable rounding.
      	(do_render_number) : ditto.
      	(stern_brocot) : simple stern brocot tree.  Should really use an
      	  adaptive precision but I am lazy.
      	(format_number) : add fractions.
      
      	* src/commands.c (cmd_autofill_redo) : changing visiblity can triger a
      	  draw which requiresthat things be rendered and spanned.  Be sure to
      	  complete the action BEFORE changing visibility.
      02b18e95
  31. 26 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Move the #define wrapper out here. · a0aaf6ad
      Jody Goldberg authored
      
      2001-04-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
      
      	* src/cell.c : prune some includes
      	(cell_default_halign) : rename to
      	* src/style.c (style_default_halign) : to simplify headers for systems
      	  that do not support fwd declarations of enums. H - cough - PUX
      a0aaf6ad