1. 10 Apr, 2002 1 commit
  2. 05 Apr, 2002 1 commit
    • Andreas J. Guelzow's avatar
      add rangesel::is_valid (gee_init) : initialize rangesel::is_valid · bd6ed899
      Andreas J. Guelzow authored
      2002-04-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c : add rangesel::is_valid
      	(gee_init) : initialize rangesel::is_valid
      	(gee_rangesel_reset) : set rangesel::is_valid
      	(gnm_expr_entry_rangesel_start) : set rangesel::is_valid and
      	  rangesel::sheet
      	(cb_gee_key_press_event) : ignore single shift and alt keys
      	(gnm_expr_entry_get_rangesel) : return a
      	  boolean indicating whether the range selection is valid.
      	(gnm_expr_entry_can_rangesel) : use rangesel::is_valid
      	* gnumeric-expr-entry.h (gnm_expr_entry_get_rangesel) : return a
      	  boolean indicating whether the range selection is valid.
      
      2002-04-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/item-edit.c (point_is_inside_range) : rather than parsing
      	  using parse_surrounding_ranges, ask the expression entry
      	  widget for the already parsed info.
      	* src/parse-util.c (parse_surrounding_ranges) : fix formatting and
      	  add some debug switches
      bd6ed899
  3. 04 Apr, 2002 1 commit
    • Andreas J. Guelzow's avatar
      new, code extracted from src/widgets/gnumeric-expr-entry.c new deleted · 4c29b0b6
      Andreas J. Guelzow authored
      2002-04-04  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/parse-util.c (parse_surrounding_ranges) : new, code extracted
      	  from src/widgets/gnumeric-expr-entry.c
      	* src/parse-util.h (parse_surrounding_ranges) : new
      	* src/item-edit.c (scan_at) : deleted
      	(point_is_inside_range) : use arse_surrounding_ranges
      	* src/position.c (value_to_rangeref) : new
      	(rangeref_normalize) : new
      	* src/position.h (value_to_rangeref, rangeref_normalize) : new
      	* src/ranges.c (setup_range_from_value) : use setup_range_from_range_ref
      	(setup_range_from_range_ref) : new
      	* src/ranges.h (setup_range_from_range_ref) : new
      	* src/value-sheet.c (value_cellrange_normalize) : use rangeref_normalize
      
      2002-04-04  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_rangesel_start) extract
      	  parsing into src/parse-util.c
      4c29b0b6
  4. 22 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      Massive rename ExprTree -> GnmExpr · 0ac8fbbf
      Jody Goldberg authored
      
      2002-03-21  Jody Goldberg <jody@gnome.org>
      
      	* Massive rename
      	ExprTree -> GnmExpr
      
      	* src/print-info.c (load_formats) : suppress some warnings.
      
      	* src/func.c (function_def_call_with_values) : use g_alloca.
      0ac8fbbf
  5. 20 Feb, 2002 1 commit
    • 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
  6. 15 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      We can now make distcheck · f84a08c5
      Jody Goldberg authored
      Requires a GAL update, and a gtk+ update
      
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/item-cursor.c (item_cursor_tip_setlabel) : enable now that the
      	  canvas bug is fixed.
      
      	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : new.
      	(cb_vscrollbar_adjust_bounds) : new.
      
      	* src/gui-util.c (gtk_button_stock_alignment_set) : new.
      	(gnumeric_init_help_button) : new.
      
      	* src/gnumeric-canvas.h : Move declaration of
      	  GnumericCanvasSlideHandler here.
      
      	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : forward to the entry,
      	  not the GnumericExprEntry wrapper.
      	(gnm_canvas_key_mode_sheet) : ditto.
      
      	* src/formats.c (cell_format_classify) : handle general.
      
      	* src/file-priv.h : Inherit from GObject.
      
      	* src/complete-sheet.c (complete_sheet_finalize) : call class_peek
      	  here to avoid potential reference problems.
      
      	* src/commands.c (cmd_set_text) : doh!  fix multi-line text.
      	(cmd_autoformat) : const.
      
      	* src/cell.c (cell_relocate) : const.
      	* src/clipboard.c (paste_cell_with_operation) : const.
      	(paste_cell) : ditto.
      
      	* src/application.c (application_init) : add jimmac's expr-entry icon.
      
      	* src/Makefile.am : distribute the marshaller.list
      
      	s/GtkType/GType/
      	s/GtkSignalFunc/GCallback/
      	s/gtk_signal_connect/g_signal_connect/  + reformating.
      	s/GTK_CHECK_CAST/G_TYPE_CHECK_INSTANCE_CAST/
      	s/GTK_CHECK_TYPE/G_TYPE_CHECK_CLASS_CAST/
      	s/GTK_CHECK_CLASS_CAST/G_TYPE_CHECK_INSTANCE_TYPE/
      	s/GTK_CHECK_CLASS_TYPE/G_TYPE_CHECK_CLASS_TYPE/
      
      2002-02-11  Jody Goldberg <jody@gnome.org>
      
      	* src/stf.c (stf_init) : Make the names of the text import/export
      	  clearer.
      f84a08c5
  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. 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
  9. 18 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      style_condition_new_expr change. (xml_sax_merge) : parse_range change. · 3e586c5e
      Jody Goldberg authored
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* xml-sax-read.c (xml_sax_style_condition_expr) :
      	  style_condition_new_expr change.
      	(xml_sax_merge) : parse_range change.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* dialog-consolidate.c (construct_consolidate) : parse_range change.
      	* dialog-printer-setup.c (do_fetch_page_info) : ditto.
      
      	* dialog-cell-format.c (validation_rebuild_validation) : no need
      	  to pass sheets to create the style conditions.
      
      	* dialog-advanced-filter.c (dialog_advanced_filter) : Use Range.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* src/gui-clipboard.c (x_selection_handler) :  tweak the
      	  interface for serializing a CellRegion.
      	(x_selection_received) : rework the handling of gnumeric -> gnumeric
      	  operations, change the atom to be the mime type, and add hooks to
      	  prepare for html parsing.
      
      	* src/xml-io.c (cell_copy_new) : new.
      	(xml_read_cell_copy) : new.
      	(xml_cellregion_read) : new.
      	(xml_cellregion_write) : new.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (cellref_name) : avoid temporaries.
      
      	* src/validation.c (validation_link) : new.
      	(validation_unlink) : new.
      
      	* src/ranges.c (parse_range) : clean the interface to actually take a
      	  range.
      	* src/print-info.c (load_range) : parse_range change.
      	* src/sheet-object.c (sheet_object_read_xml) : ditto.
      
      	* gnumeric.mime : Add Applix.
      
      	* src/style-condition.c (style_condition_new_expr) : do not link in
      	  on creation, there is no need for a sheet here.
      	(style_condition_constraint_eval) : ignore SCC_IS_CUSTOM.
      	(style_condition_link) : new.
      	(style_condition_unlink) : new.
      
      	* src/mstyle.c (mstyle_link_sheet) : link validation elements.
      	(mstyle_unlink_sheet) : unlink validation elements.
      3e586c5e
  10. 07 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      don't destroy the dialog until we are done with it. · 3c033871
      Jody Goldberg authored
      2001-12-07  Jody Goldberg <jody@gnome.org>
      
      	* dialog-advanced-filter.c (dialog_advanced_filter) : don't destroy
      	  the dialog until we are done with it.
      
      2001-12-07  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (parse_cell_name_or_range) : delete unused.
      	(parse_cell_name_list) : ditto.
      3c033871
  11. 26 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      add OPER_SET. ditto. ditto. (expr_tree_equal) : ditto. (expr_eval_real) : · 217a63bd
      Jody Goldberg authored
      2001-11-25  Jody Goldberg <jody@gnome.org>
      
      	* src/eval.c (handle_tree_deps) : add OPER_SET.
      	* src/expr-name.c (name_refer_circular) :  ditto.
      	* src/expr.c (do_expr_tree_unref) : ditto.
      	(expr_tree_equal) : ditto.
      	(expr_eval_real) : ditto.
      	(expr_rewrite) : ditto.
      	(do_expr_tree_as_string) : ditto.
      	(expr_tree_new_funcall) : use ExprList.
      	(expr_parse_string) : delete.
      	(expr_tree_new_set) : new.
      	(expr_list_unref) : new.
      	(expr_list_equal) : new.
      	(expr_list_as_string) : new.
      
      	* src/gnumeric.h : Add ExprList and ExprSet
      
      	* src/parser.y (expr_parse_str) : renamed from gnumeric_expr_parser.
      	  Add support for multiple expressions.
      	(line) : add support for multiple expressions.
      
      	* src/ranges.c (global_range_parse) : Use expr_parse_str
      	(global_range_list_parse) : rewrite to use expr_parse_str and use the
      	  new multi-expression support in the parser.
      
      	* src/commands.c (cmd_area_set_text_redo) : Use expr_parse_str.
      	* src/xml-io.c (xml_read_style_condition_chain) : ditto.
      	(xml_cell_set_array_expr) : ditto.
      	* src/workbook-view.c (wb_view_auto_expr) : ditto.
      	* src/workbook-edit.c (wbcg_edit_finish) : ditto.
      	* src/sheet-object-widget.c (sheet_widget_checkbox_read_xml) : ditto.
      	* src/parse-util.c (parse_text_value_or_expr) : ditto.
      
      	* src/auto-format.c (do_af_suggest) : Use ExprList instead of GList
      	(do_af_suggest_list) : ditto.
      	* src/collect.c (collect_floats) : ditto.
      	(collect_floats_value) : ditto.
      	(float_range_function) : ditto.
      	* src/consolidate.c (simple_consolidate) : ditto.
      	(colrow_formula_args_build) : ditto.
      	(consolidate_apply) : ditto.
      217a63bd
  12. 22 Nov, 2001 1 commit
  13. 06 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      don't use the flags, store the ab/srel info in the selector. · a3bacc8a
      Jody Goldberg authored
      2001-11-05  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric-expr-entry.c (make_rangesel_text) : don't use the flags,
      	  store the ab/srel info in the selector.
      	(update_rangesel_text) : use the pos from the entry.
      	(gnumeric_expr_entry_rangesel_start) : new routine to find the start
      	  of a range.  Still needs work to support intra-{sheet,book}
      	  references.
      	(gnumeric_expr_entry_key_press_event) : move F4 handling here.
      
      2001-11-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_select_all) : rangesel_bound will call
      	  start if necessary.
      	(scg_colrow_select) : ditto.
      	(scg_rangesel_changed) : improve comments,
      	(scg_rangesel_start) : take a range, and call
      	  gnumeric_expr_entry_rangesel_start.
      	(scg_rangesel_extend_to) : call start if necessary.
      	(scg_rangesel_bound) : ditto.
      
      	* src/parse-util.c (cellref_a1_get) : return a point to 1 past the
      	  last character, or NULL instead of boolean.
      	(cellref_r1c1_get) : ditto.
      	(cellref_get) : ditto.
      
      	* src/parser.y (parse_ref_or_string) : adjust to changes in cellref_get.
      	* src/xml-io.c (xml_read_names) : ditto.
      
      	* Makefile.am : Add BEVERAGES file.
      
      	* src/item-grid.c (item_grid_button_1) : scg_rangesel_start now
      	  supports selecting a range.
      
      	* src/gnumeric-pane.c (gnm_pane_rangesel_start) : just take a range,
      	  it is simplier.
      
      	* src/workbook-edit.c (wbcg_edit_toggle_absolute) : delete.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : just forward the
      	  F4 to the expr-entry it knows what to do.
      a3bacc8a
  14. 27 Oct, 2001 1 commit
  15. 26 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      remove the loops, and recursions. match against formatted values before · fea69d08
      Jody Goldberg authored
      2001-10-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-edit.c (wbcg_edit_finish) : remove the loops, and
      	  recursions.  match against formatted values before expressions, then
      	  fall back to strings.
      
      	* src/parse-util.c (parse_text_value_or_expr) : match against
      	  formatted values before expressions, then fall back to strings.
      
      	* src/cell.c (cell_set_text) : parse_text_value_or_expr takes a ParsePos.
      	* src/sheet.c (sheet_cell_set_text) : ditto.
      	* src/widgets/gnumeric-expr-entry.c
      	  (gnumeric_expr_entry_key_press_event) : ditto.
      	* src/commands.c (cmd_area_set_text_redo) : ditto.
      	(cmd_area_set_text) : ditto.
      	(cmd_search_replace_do_cell) : create a tmp EvalPos to avoid changing
      	  the search data structures.
      
      	* src/expr.c (expr_tree_get_range) : renamed from range_from_expr_tree.
      	  add support for singletons.
      
      	* src/ranges.c (global_range_parse) : tweak slightly.
      
      2001-10-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (format_match_init) : don't include text in the
      	  stock set of formats they should only match numbers.
      fea69d08
  16. 25 Oct, 2001 1 commit
    • Wayne Schuller's avatar
      New canvas based header and footer preview widget. The customize · f0770524
      Wayne Schuller authored
      2001-10-21  Wayne Schuller <k_wayne@linuxpower.org>
      
      	* dialog-printer-setup.c : New canvas based header and footer preview
      	  widget. The customize header/footer widget now also uses a
      	  GnomePropertyBox for UI consistency.
      	* print.glade : Updated.
      	* hf-config.glade : Updated.
      
      2001-10-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.c (range_trim) : decrease lobotomization factor.
      
      2001-10-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr-name.c (named_expr_new) : renamed from add_real, simplified
      	  interface.
      	(expr_name_add) : take and store a parse position.
      	(expr_name_create) : ditto.
      	(expr_name_destroy) : adjust to stored parsepos.
      	(expr_name_unlink) : ditto.
      	(expr_name_sheet2wb) : ditto.
      	(expr_name_init) : ditto.
      	(expr_name_as_string) : renamed from expr_name_value.
      	(expr_name_eval) : renamed from eval_expr_name.
      
      	s/eval_expr/expr_eval/
      
      	* src/expr.c (do_expr_tree_to_string) : Use value_as_string in most
      	  places.
      	* src/value-sheet.c (value_cellrange_get_as_string) : delete bogus
      	  useless arg.
      	(encode_cellref) : delete redundant.
      
      	* src/parse-util.c (cellref_name) : ICK!  XL wraps relative references
      	  that are out of bounds.
      f0770524
  17. 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
  18. 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
  19. 11 Jul, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Add error ID's. (gnumeric_parse_error): Accept ID and set ID on error · c44451ea
      Almer S. Tigelaar authored
      2001-07-11  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/parser.y : Add error ID's.
      	(gnumeric_parse_error): Accept ID and set ID on error struct.
      
      	* src/parse-util.[ch]
      	(parse_error_init): Initialize the error id.
      
      	* src/workbook-edit.c (wbcg_edit_finish): When there's a missing
      	closing paren, try appending one and see if it helps.
      
      	* src/stf-parse.c (stf_preparse): New, default preparsing of a file.
      	(stf_read_workbook): Use stf_preparse.
      	(stf_read_default_probe): Prober for reading.
      	(stf_read_workbook_csv_default): New, read a csv file in default formatting.
      	(stf_init): Register stf_read_workbook_csv_default.
      c44451ea
  20. 20 Jun, 2001 1 commit
    • Jody Goldberg's avatar
      Adjust to ref semantics change. · 2d2eb8c1
      Jody Goldberg authored
      2001-06-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_search_replace_do_cell) : Adjust to ref
      	  semantics change.
      
      	* src/number-match.c (format_match) : do not add a ref to the
      	  resulting format.
      
      	* src/sheet.c (sheet_cell_set_text) : no need to unref anymore.
      	(sheet_range_set_text) : ditto.
      
      	* src/cell.c (cell_assign_value) : ref before unref.
      	(cell_eval_content) : Use a simplified assignment to avoid refing and
      	  unrefing the formats.
      	(cell_set_text) : cleanup reference handling.
      2d2eb8c1
  21. 03 Jun, 2001 1 commit
    • Almer S. Tigelaar's avatar
      New, converts a row number to a string. (rows_name): Idem, but for a · 77cadcab
      Almer S. Tigelaar authored
      2001-06-03  Almer S. Tigelaar  <almer@gnome.org>
      
       	* src/parse-util.[ch] (row_name): New, converts
       	a row number to a string.
       	(rows_name): Idem, but for a start/end range.
       	(row_name_internal): Utility routine.
      
       	* src/colrow.c (colrow_string_build): Remove.
       	(colrow_index_list_to_string): Use rows_name
       	and cols_name.
      
       	* src/cmd-edit.c (cmd_shift_rows): Use rows_name.
      
       	* src/commands.c (cmd_insert_rows): Idem.
       	(cmd_delete_cols): Beautify.
       	(cmd_delete_rows): Beautify and use rows_name.
      
       	* src/eval.c (dump_range_dep): Use row_name.
      
       	* src/item-bar.c (get_row_name): Deprecated, remove.
       	(item_bar_draw): Use row_name.
      
       	* src/item-cursor.c (item_cursor_tip_setlabel): Idem.
      
       	* src/item-grid.c (item_grid_draw): Idem.
      
       	* src/ranges.c (range_name): Idem.
       	(range_dump): Idem.
      
       	* src/selection.c (reference_append): Idem.
       	(selection_get_ranges): Idem.
       	(cb_range_to_string): Idem.
      
       	* src/sheet-control-gui.c (scg_redraw_cell_region): Idem.
       	(vertical_scroll_offset_changed): Idem.
      
       	* src/value-sheet.c (value_dump): Idem.
       	(encode_cellref): Idem.
      
      2001-06-03  Almer S. Tigelaar  <almer@gnome.org>
      
       	* dialog-cell-sort.c (col_row_name):
       	Use row_name.
      77cadcab
  22. 17 May, 2001 1 commit
    • Jody Goldberg's avatar
      Use wbcg_rangesel_possible. ditto. ditto. ditto. (scg_colrow_select) : · 23c7efec
      Jody Goldberg authored
      
      2001-05-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (is_pointer_on_division) : Use
      	  wbcg_rangesel_possible.
      	* src/item-grid.c (item_grid_button_1) :  ditto.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : ditto.
      	* src/sheet-control-gui.c (scg_select_all) : ditto.
      	(scg_colrow_select) : ditto.
      	(scg_construct) : ensure we start with focus.
      	(scg_rangesel_possible) : move from here.
      
      	* src/workbook-control-gui.c (wbcg_rangesel_possible) : to here.
      	(cb_notebook_switch_page) : expand the logic slightly to correct gurus.
      
      	* src/workbook-edit.c (wbcg_edit_finish) : always check for rangesel.
      
      	* src/parse-util.c (gnumeric_char_start_expr_p) : improve handling of
      	  NULL.
      23c7efec
  23. 07 May, 2001 1 commit
    • Jody Goldberg's avatar
      More warning suppression. · 2469741e
      Jody Goldberg authored
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_get_data) : suppress warnings.
      	(ms_escher_read_ClientTextbox) : no side effects in precondition.
      
      	* ms-excel-read.c (ms_excel_formula_shared) : ditto.
      
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_event) : ignore events while editing.
      
      	* src/functions/fn-string.c (gnumeric_value) : s/free/g_free/
      	* src/parse-util.c (parse_cell_name_list) : ditto.
      
      	* src/parser.y (gnumeric_expr_parser) : reorganize slightly to improve
      	  readability.
      
      	* src/sheet.c (sheet_range_contains_region) : doh!.  forgot to invert
      	  logic when I renamed the function.
      2469741e
  24. 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
  25. 24 Apr, 2001 1 commit
  26. 23 Apr, 2001 2 commits
    • Morten Welinder's avatar
      0ad6de69
    • Almer S. Tigelaar's avatar
      Give focus to the edit line when an error is encountered. Don't store the · 78d888e3
      Almer S. Tigelaar authored
      2001-04-23  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-edit.c (workbook_finish_editing): Give focus
      	to the edit line when an error is encountered.
      	* src/workbook-control-gui.c
      	(wbcg_close_control) : Don't store the partially entered expression
      	when we are going to close.
      	(cb_file_quit) : Idem.
      	(cb_notebook_switch_page) : Idem, for switching between tabs
      	when we are _not_ in a subexpression.
      
      	* src/parser.y : Correct off-by-one glitches and strtod exponent
      	out of range error problem.
      
      	* src/expr.[ch] (expr_parse_string): Use a ParseError struct
      	instead of an error string.
      
      	* src/commands.c (cmd_area_set_text_redo): Use expr_parse_string
      	in the newly corrected fashion.
      	* src/expr-name.c (expr_name_create): Idem, require a ParseError
      	struct to be passed instead of a char** aswell.
      	* src/parse-util.c (parse_text_value_or_expr): Idem.
      	* src/sheet-object-widget.c (cb_checkbox_config_clicked): Idem.
      	* src/test-parser.c (main): Idem.
      	* src/xml-io.c (xml_cell_set_array_expr): Idem.
      
      	* src/sheet.c (sheet_clone_names): Use expr_name_create which now
      	uses ParseError instead of char **.
      	* src/xml-io.c (xml_read_names): Idem.
      
      2001-04-23  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-define-names.c (cb_name_guru_add):
      	Correct use of expr_parse_string.
      78d888e3
  27. 15 Apr, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Add detailed parser error messages. · fa7e253a
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/parser.y : Add detailed parser error messages.
      
      	* src/workbook-edit.c (workbook_finish_editing) : Abort
      	if the expression is invalid and return a boolean indicating
      	success or failure.
      
      	* src/expr.c (expr_parse_string): Set error message to the
      	result of gnumeric_expr_parser.
      
      	* src/parse-util.c (parse_error_init) : Properly initialize
      	begin and end character.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Don't
      	change the cursor position if workbook_finish_editing failed.
      	(move_cursor): Idem.
      
      	* src/item-grid.c (item_grid_button_1): Idem.
      fa7e253a
  28. 11 Feb, 2001 2 commits
  29. 31 Jan, 2001 1 commit
    • Jody Goldberg's avatar
      s/float_t/gnum_float/ s/int_t/gnum_int/ · 9eaf277a
      Jody Goldberg authored
      
      2001-01-30  Jody Goldberg <jgoldberg@home.com>
      
      	s/float_t/gnum_float/
      	s/int_t/gnum_int/
      
      	* src/sheet-style.c (sheet_style_get_uniform) : implement.
      
      	* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
      	  text.
      
      	* src/history.c (history_menu_insert_separator) : keep case
      	  consistent.
      	* src/workbook-control-gui.c (workbook_menu_file) : ditto.
      
      	* configure.in : update GAL req.
      	* README : ditto.
      	* gnumeric.spec.in : ditto.
      
      2001-01-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.h : decl for StyleRow.
      
      	* src/xml-io.c : Use the Child and Root aliases to ease ease
      	  transition from xml1 -> xml2.
      	(xml_sheet_create) : default name for sheets that fail to specify one.
      
      	* src/workbook.c (workbook_sheet_by_index) : improve safety.
      9eaf277a
  30. 25 Jan, 2001 1 commit
    • Morten Welinder's avatar
      Better XL emulation. · 10efe742
      Morten Welinder authored
      Implement s-a-r on expressions.
      
      
      2001-01-24  Morten Welinder  <terra@diku.dk>
      
      	* src/commands.c (cmd_search_replace_update_after_action): New
       	function.
      	(cmd_search_replace_undo, cmd_search_replace_redo,
       	cmd_search_replace_do): Call
       	cmd_search_replace_update_after_action.
      	(cmd_search_replace_do_cell): Change to work on entered text which
       	is, we believe, what XL does.
      10efe742
  31. 25 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      clean up includes. · 0ae4c759
      Jody Goldberg authored
      
      2000-12-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.h : clean up includes.
      0ae4c759
  32. 10 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      comment out the warning. These the life cycles of names are too fluid to · e605d42e
      Jody Goldberg authored
      
      2000-12-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr-name.c (expr_name_invalidate_refs_sheet) : comment out the
      	  warning.  These the life cycles of names are too fluid to scare
      	  users yet.
      	(expr_name_invalidate_refs_wb) : Ditto.
      
      2000-12-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_set_text) : send the current format to the
      	  number matcher..
      	* src/sheet.c (sheet_cell_set_text) : Ditto.
      
      	* src/parse-util.c (parse_text_value_or_expr) : send the curent
      	  format to the number matcher.
      
      	* src/number-match.c (format_match) : take the current format as a
      	  parameter.  Begin using it to handle cells formated as text.
      
      	* src/format.c (style_format_is_text)  utility routine.
      
      2000-12-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_set_internal) : rename from
      	  sheet_selection_set and add the 'just_add_it' flag to indicate that
      	  we don't need to do anything fancy.
      e605d42e
  33. 15 Nov, 2000 1 commit
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
  34. 21 Aug, 2000 1 commit
    • Jody Goldberg's avatar
      Improve regexps. · 9ad38a63
      Jody Goldberg authored
      
      2000-08-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (format_create_regexp) : Improve regexps.
      
      	* src/formats.c (cell_format_is_number) : Format always uses standard
      	  decimal chars.
      
      	* src/format.c (gnumeric_setlocale) : New routine that clears cached
      	  locale info.
      	(format_get_decimal) : Improve use mon_decimal.
      	(format_get_thousand) : Improve use mon_thousands_sep.
      	(format_get_arg_sep) : New func.
      	(format_get_col_sep) : New func.
      	(format_destroy) : Use GPtrArray.
      	(render_number) : Improve localization.
      	(format_add_thousand) : rename format_toggle_thousands. De-localize.
      	(find_decimal_char) : De-localize.
      	(format_remove_decimal) : Ditto.
      	(format_add_decimal) : Ditto.
      	(format_number) : Ditto.
      
      	* src/expr.c (do_expr_tree_to_string) : Use format_get_arg_sep.
      
      	* src/cell.c (cell_get_format) : Update for the changes to StyleFormat.
      
      	* src/auto-format.c (auto_style_format_suggest) :
      	  style_format_new -> style_format_new_XL
      
      	* src/mstyle.c (mstyle_element_dump) : There is no direct access to
      	  the format string anymore.
      	(mstyle_set_format_text) : Add a warning.
      
      	* src/gutils.[ch] (float_get_from_range) : Delete.
      	(int_get_from_range) : Ditto.
      
      	* src/parser.y : Revamp lexer to use strtol, and strtod for number
      	  parsing.  Begin hooks for supporting row & col selection. (3:4 or A:B)
      
      	* src/print-info.c (render_value_with_format) : Changes to StyleFormat.
      
      	* src/sheet.h : Move SpanCalcFlags.
      	* src/gnumeric.h : here.
      
      	* src/style.[ch] : Privatize StyleFormat, move it to format.[ch]
      
      	* src/value.c (value_get_as_string) : Correctly localize things for
      	  output.
      
      	* src/workbook-format-toolbar.c (modify_cell_format) : format
      	  modification callback modifies the StyleFormat.
      
      	* src/workbook.c (workbook_set_auto_expr) : Use gnumeric_setlocale.
      
      	* src/xml-io.c (xml_workbook_read) : Use gnumeric_setlocale.
      	(xml_workbook_write) : Ditto.
      	(xml_read_cell) : Use style_format_new_XL.
      	(xml_write_cell_and_position) : Store the number formats in non localized XL form.
      	(xml_write_style) : Ditto.
      
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_format_page) :
      	  Display localized number formats.
      	(fillin_negative_samples) : Not need to localize generated number
      	  formats.
      
      	* src/dialogs/dialog-function-wizard.c (formula_guru_set_expr) : Use
      	  format_get_arg_sep.
      
      	* src/dialogs/dialog-stf-format-page.c
      	  (stf_dialog_format_page_prepare) : StyleFormats are now explicitly
      	  stored in a locale neutral format.
      
      	* src/functions/fn-string.c (gnumeric_text) : changes to
      	  style_format_new.
      
      	* src/functions/fn-financial.c (coupdayb) : Silence some warnings.
      
      	* src/functions/fn-information.c (translate_cell_format) : This should
      	  now work for different locales.
      
      2000-08-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (compute_value) : Extend the match algorithms to
      	  handle the new regexps.
      
      	* src/format.c (format_get_thousand) : provide a better default for
      	  countries using ',' as a decimal point.
      9ad38a63
  35. 12 Aug, 2000 1 commit
    • Jody Goldberg's avatar
      Add graph-guru for bonobo enabled builds. · c665e798
      Jody Goldberg authored
      
      2000-08-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/Makefile.am : Add graph-guru for bonobo enabled builds.
      
      	* src/dialogs/formula-guru.glade (rolled_label) : Don't fill.
      
      2000-08-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-math.c (gnumeric_g_product) : Ignore blanks.
      	(gnumeric_product) : Ditto.
      	(gnumeric_sumsq) : Ditto.
      	(gnumeric_suma) : Ditto.
      	(gnumeric_sum) : Ditto.
      	(gnumeric_gcd) : Ditto.
      
      2000-08-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/corba-args.c : Remove support for Gnorba. Die Pig Die !
      	* src/corba-workbook-factory.c : Ditto.
      	* src/embeddable-grid.c : Ditto.
      	* src/sheet-object.c : Ditto.
      	* src/workbook.c : Ditto.
      
      	* src/cell-comment.c (cell_comment_realize) : Use Cell::pos rather
      	  than Cell::{row,col}_info->pos.
      	(cell_comment_reposition) : Ditto.
      	* src/cell-draw.c (cell_draw) : Ditto.
      	* src/cellspan.c (cell_register_span) : Ditto.
      	(cell_calc_span) : Ditto.
      	* src/clipboard.c (paste_cell_with_operation) : Ditto.
      	(paste_cell) : Ditto.
      	* src/cmd-edit.c (cb_compare_deps) : Ditto.
      	(cmd_select_cur_depends) : Ditto.
      	* src/eval.c (dependency_range_ctor) : Ditto.
      	(handle_cell_single_dep) : Ditto.
      	(handle_cell_range_deps) : Ditto.
      	(cell_get_range_dependencies) : Ditto.
      	(cell_get_dependencies) : Ditto.
      	* src/item-grid.c (item_grid_draw) : Ditto.
      	* src/parse-util.c (cell_name) : Ditto.
      	* src/position.c (eval_pos_init_cell) : Ditto.
      	* src/print-cell.c (print_cell) : Ditto.
      	(print_cell_range) : Ditto.
      	* src/sheet-autofill.c (autofill_cell) : Ditto.
      	* src/sheet-vector.c (sheet_vectors_cell_changed) : Ditto.
      	* src/sheet.c (sheet_cell_calc_span) : Ditto.
      	(sheet_reposition_comments) : Ditto.
      	(sheet_get_extent_cb) : Ditto.
      	(sheet_redraw_cell) : Ditto.
      	(sheet_cell_add_to_hash) : Ditto.
      	(sheet_cell_insert) : Ditto.
      	(sheet_cell_new) : Ditto.
      	(sheet_cell_remove_from_hash) : Ditto.
      	(sheet_move_range) : Ditto.
      	* src/solver-lp.c (solver_simplex) : Ditto.
      	(make_solver_arrays) : Ditto.
      	(solver_affine_scaling) : Ditto.
      	(make_int_array) : Ditto.
      	(solver_branch_and_bound) : Ditto.
      	(solver_answer_report) : Ditto.
      	(solver_sensitivity_report) : Ditto.
      	* src/xml-io.c (xml_write_cell) : Ditto.
      	(xml_cell_set_array_expr) : Ditto.
      	(xml_write_solver) : Ditto.
      	* src/dialogs/dialog-solver.c (check_int_constraints) : Ditto.
      
      	* src/about.c : Move the ABOUT_KEY here from.
      	* src/dialogs/dialogs.h : here.  Also, add dialog_graph_guru.
      
      	* src/Makefile.am : Remove wizard.h and the seperate wizard library.
      c665e798
  36. 09 Jul, 2000 1 commit
    • Jody Goldberg's avatar
      Take units in pixels or points. (sheet_{col,row}_set_default_size_pixels) · b519fbd3
      Jody Goldberg authored
      
      2000-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
      	  points.
      	(sheet_{col,row}_set_default_size_pixels) : new functions.  This
      	  interface sucks.  Clean it up.
      
      	* src/parser.y : Optionally insert a place holder when an
      	  unknown function is found.
      
      	* src/func.c (function_add_placeholder) : New function, moved from the
      	  XL import code.
      
      	* src/expr.c (expr_parse_string) : gnumeric_expr_parser signature
      	  change.
      	* src/workbook.c (workbook_set_auto_expr) : Ditto.
      
      	* src/application.c (application_dpi_to_pixels) : New function.
      	* src/item-bar.c (item_bar_fonts_init) : Use it here.
      	* src/sheet-view.c (sheet_view_get_style_font) : And here.
      	* src/style.c (font_init) : and here.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parse-util.c (cellref_r1c1_get) : Make stricter.
      	(r1c1_get_item) : Ditto.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* plugins/Makefile.am (SUBDIRS) : Enable applix.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parse-util.c (col_from_name) : Add optional arg to indicate
      	  where parsing stoped.  Similar to strtod.
      
      2000-07-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_write_style_border) : Trivial optimization.  No
      	  need to save colour for STYLE_BORDER_NONE.
      	(xml_read_style_border) : Ditto.
      b519fbd3
  37. 01 Jul, 2000 1 commit
    • Morten Welinder's avatar
      Plug leak. · 1067a54a
      Morten Welinder authored
      2000-06-30  Morten Welinder  <terra@diku.dk>
      
      	* src/parse-util.c (parse_cell_name_list): Plug leak.
      
      
      2000-06-30  Morten Welinder  <terra@diku.dk>
      
      	* dialog-solver.c (dialog_results): Initialise
       	keep_solver_solution.
      	(dialog_solver): Remove buffer overflow.  Mark string for
       	translation.  Call free_original_values to plug leak.  Remove
       	several bogus casts.
      	(constr_change_click): Remove buffer overflow.
      	(free_original_values): New function.
      
      	* dialog-autocorrect.c (add_fl_clicked): Use g_strdup.
      	(add_in_clicked): Ditto.
      1067a54a