1. 22 Feb, 2002 2 commits
    • 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
    • Morten Welinder's avatar
      Check for ldexpl and frexpl. · b616f813
      Morten Welinder authored
      2002-02-22  Morten Welinder  <terra@diku.dk>
      
      	* configure.in: Check for ldexpl and frexpl.
      
      	* src/mathfunc.c (gpow2): New function.
      	(gnumeric_add_epsilon, gnumeric_sub_epsilon, gnumeric_fake_floor,
      	gnumeric_fake_ceil, gnumeric_fake_round, gnumeric_fake_trunc):
      	Make these gnum_float typed.
      
      	* src/numbers.h (frexpgnum, ldexpgnum): New stuff.
      b616f813
  2. 21 Feb, 2002 4 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
    • Morten Welinder's avatar
      Constification. · b87566ff
      Morten Welinder authored
      b87566ff
    • Jody Goldberg's avatar
      some house cleaning. · a9c2dd34
      Jody Goldberg authored
      2002-02-20  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.h : some house cleaning.
      
      	* src/workbook.c (workbook_is_pristine) : remove stuf for
      	  external_dependents.  No use having fogotten stubs hanging around.
      
      	* src/workbook-control-gui.c (cb_insert_component) : look for
      	  ControlFactories.
      	(cb_insert_shaped_component) : look for CanvasComponentFactories.
      
      	* src/commands.h : remove include for gtkobject.
      
      	* idl/GNOME_Gnumeric_Graph.idl : We a ControlFactory now, not an
      	  Embeddable.
      a9c2dd34
  3. 20 Feb, 2002 8 commits
    • Morten Welinder's avatar
      Warning killers. · af8d771a
      Morten Welinder authored
      af8d771a
    • Morten Welinder's avatar
      Constify. · bfa95c6a
      Morten Welinder authored
      2002-02-20  Morten Welinder  <terra@diku.dk>
      
              * src/func.c (fn_def_new, function_add_args, function_add_nodes):
              Constify.
      
      
      2002-02-20  Morten Welinder  <terra@diku.dk>
      
              * fn-*.c: Constify all help texts.
      bfa95c6a
    • Morten Welinder's avatar
      Major constification. (-Wwrite-strings) · 3743f057
      Morten Welinder authored
      2002-02-20  Morten Welinder  <terra@diku.dk>
      
              * src/parser.y (yyerror): Constify.
      
              * src/xml-io.c (xml_node_set_print_unit): Constify.
              (xml_read_print_repeat_range): Constify.
      
              * src/summary.c (summary_item_name): Constify.
      
              * src/print-info.c (predefined_formats, render_ops): Constify.
      
              * src/expr-name.c (builtins): Constify.
      
              * src/complex.c (complex_to_string): Constify.
      
              * src/commands.c (cmd_set_text): Constify.
              (cmd_area_set_text): Constify.
      
              * src/mstyle.c (mstyle_to_string): Missing g_strdup added for
              sanity check, just in case.
              * src/summary.c (summary_item_as_text): Ditto.
              * src/value.c (value_get_as_string): Ditto.
      
              * configure.in (CFLAGS): Add -Wwrite-strings, if possible.
      
              * src/gui-util.c (gnumeric_dialog_raise_if_exists): Constify.
      3743f057
    • Andreas J. Guelzow's avatar
      change all occurrences of extra_stat.df to extra_stat.df_resid · 01142b35
      Andreas J. Guelzow authored
      2002-02-20  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn_stat.c : change all occurrences of extra_stat.df to
      	  extra_stat.df_resid
      
      2002-02-20  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/analysis-tools.c (regression_tool) : use only values
      	  from extra_stat (renamed to regression_stat)
      	* src/regression.c (general_linear_regression) : calculate more
      	  regression_stat
      	(regression_stat_new) : new
      	(regression_stat_destroy) : new
      	* src/regression.h : add fields to regression_stat_t and add
      	  declarations of regression_stat_new and regression_stat_destroy
      01142b35
    • 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
      Cleanup using g_date_get_days_in_month. · 6a7099e1
      Morten Welinder authored
      2002-02-20  Morten Welinder  <terra@diku.dk>
      
              * src/datetime.c (coup_cd): Cleanup using
              g_date_get_days_in_month.
      6a7099e1
    • 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
    • Jody Goldberg's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=69362 only upper case things if · 95081efd
      Jody Goldberg authored
      2002-02-19  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=69362
      	* src/auto-correct.c (autocorrect_tool) : only upper case things if
      	  they are at the start of a word.
      95081efd
  4. 19 Feb, 2002 5 commits
  5. 18 Feb, 2002 4 commits
  6. 17 Feb, 2002 2 commits
    • Jody Goldberg's avatar
      use cell_is_blank. (parse_database_criteria) : ditto. · 5b07ce50
      Jody Goldberg authored
      2002-02-17  Jody Goldberg <jody@gnome.org>
      
      	* fn-database.c (parse_criteria_range) : use cell_is_blank.
      	(parse_database_criteria) : ditto.
      	(find_cells_that_match) : ditto.
      	(find_rows_that_match) : ditto.
      	(gnumeric_getpivotdata) : ditto.
      
      2002-02-17  Jody Goldberg <jody@gnome.org>
      
      	* plugins/excel/ms-escher.c (ms_escher_read_OPT) : add support for
      	  blip cropping.
      5b07ce50
    • Jody Goldberg's avatar
      move things here. (sheet_object_image_new_view) : and use it here. · fabe8de5
      Jody Goldberg authored
      2002-02-16  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-image.c (soi_get_pixbuf) : move things here.
      	(sheet_object_image_new_view) : and use it here.
      	(sheet_object_image_print) : and here.
      fabe8de5
  7. 16 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      new. · b32f745d
      Jody Goldberg authored
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-image.{ch} : new.
      
      	* src/sheet-object.c (sheet_object_new_view) : use a weak_ref.
      
      	* src/sheet-control-gui.c (scg_object_register) : more safety
      	  and use a weak_ref.
      
      	* src/sheet-object-graphic.c : More GObject-ification.
      b32f745d
  8. 15 Feb, 2002 6 commits
    • Morten Welinder's avatar
      Use fabs, not abs. Ditto. · d4c64c1c
      Morten Welinder authored
      2002-02-15  Morten Welinder  <terra@diku.dk>
      
      	* src/regression.c (LUPDecomp): Use fabs, not abs.
      	* src/validation.c (validation_eval): Ditto.
      d4c64c1c
    • Morten Welinder's avatar
      Use fabs, not abs. · 78942a63
      Morten Welinder authored
      2002-02-15  Morten Welinder  <terra@diku.dk>
      
      	* src/regression.c (LUPDecomp): Use fabs, not abs.
      78942a63
    • Morten Welinder's avatar
      Cleanup using range functions. · 6c0019dd
      Morten Welinder authored
      2002-02-15  Morten Welinder  <terra@diku.dk>
      
      	* src/regression.c (general_linear_regression): Cleanup using
      	range functions.
      6c0019dd
    • Jody Goldberg's avatar
      more g_signal-ification. g_signal_handlers_disconnect_by_func just hides · 9a6f5c1a
      Jody Goldberg authored
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
      	  g_signal-ification.  g_signal_handlers_disconnect_by_func just hides
      	  the problem.  The real issue is that we are disconnecting twice.
      9a6f5c1a
    • Jody Goldberg's avatar
      more g_signal-ification. · 7415a642
      Jody Goldberg authored
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
      	  g_signal-ification.
      
      	* src/workbook.c (workbook_set_saveinfo) : use a weak_ref.
      7415a642
    • 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
  9. 12 Feb, 2002 2 commits
    • Morten Welinder's avatar
      Correct assertion. · 8824b30d
      Morten Welinder authored
      2002-02-12  Morten Welinder  <terra@diku.dk>
      
      	* src/io-context.c (value_io_progress_update): Correct assertion.
      
      	* src/io-context.c (file_io_progress_update,
      	memory_io_progress_update, value_io_progress_update,
      	count_io_progress_update, workbook_io_progress_update): Use test,
      	not assignment.
      8824b30d
    • Morten Welinder's avatar
      Fix isspace usage. (stf_parse_is_valid_data): Ditto. Ditto. · 718c8c58
      Morten Welinder authored
      2002-02-12  Morten Welinder  <terra@diku.dk>
      
      	* src/stf-parse.c (trim_spaces_inplace): Fix isspace usage.
      	(stf_parse_is_valid_data): Ditto.
      	* src/sheet.c (sheet_name_quote): Ditto.
      718c8c58
  10. 11 Feb, 2002 2 commits
    • Jon K Hellan's avatar
      Support per sheet grid color. Needed for correct XL import. · 91dc6f19
      Jon K Hellan authored
      2002-02-11  Jon K Hellan  <hellan@acm.org>
      
      	Support per sheet grid color. Needed for correct XL import.
      
      	* src/style-color.[ch] (color_equal): Rename to style_color_equal
      	and export.
      
      	* src/style-border.[ch] (style_border_none_set_color): New
      	function. Update the grid color (color of style border none) to
      	the given color.
      
      	* src/sheet-style.[ch] (sheet_style_update_grid_color): New
      	function. Update the grid color to fit the given sheet.
      
      	* src/item-grid.c (item_grid_draw): Call
      	sheet_style_update_grid_color before rendering.
      
      	* src/print-cell.c (print_cell_range): Ditto
      
      	* src/preview-grid.c (preview_grid_draw): Call
      	style_border_none_update_color before rendering.
      91dc6f19
    • Jody Goldberg's avatar
      Use the standard cursor. · e5f4e519
      Jody Goldberg authored
      2002-02-11  Jody Goldberg <jody@gnome.org>
      
      	* src/item-bar.c (item_bar_realize) : Use the standard cursor.
      e5f4e519
  11. 10 Feb, 2002 1 commit
  12. 08 Feb, 2002 2 commits
    • Jon K Hellan's avatar
      Return from the right place. · ba631622
      Jon K Hellan authored
      2002-02-08  Jon K Hellan  <hellan@acm.org>
      
      	* src/mstyle.c (link_border_colors): Return from the right place.
      ba631622
    • Jon K Hellan's avatar
      Create with refcount 1. (style_color_new): Only increment refcount if · adf4f10c
      Jon K Hellan authored
      2002-02-08  Jon K Hellan  <hellan@acm.org>
      
      	* src/style-color.c (style_color_new_uninterned): Create with
      	refcount 1.
      	(style_color_new): Only increment refcount if using cached color.
      
      	* src/sheet.c (sheet_duplicate): Clone auto pattern color
      
      	* src/sheet-style.c (sheet_style_init): Move auto_pattern_color
      	initialization forward. sheet_style_get_auto_pattern_color is
      	called from sheet_style_find below.
      	(sheet_style_set_auto_pattern_color): Tag it as an auto
      	color. Unref the input color.
      
      	* src/sheet-style.[ch]: (sheet_style_get_auto_pattern_color): constify.
      
      	* src/mstyle.c (link_pattern_color): New function.  Replace auto
      	pattern color in style with sheet's auto pattern color.
      	(link_border_colors): New function. Replace auto border colors in
      	style with sheet's auto pattern color.
      	(mstyle_link_sheet): Use target sheet's auto pattern color by
      	calling link_xxxx_color functions.
      	(mstyle_set_border): Fix typo.
      
      	* plugins/excel/ms-excel-read.c (ms_excel_read_window2): No
      	need to unref pattern_color,
      	sheet_style_set_auto_pattern_color now does that.
      adf4f10c
  13. 07 Feb, 2002 1 commit