1. 25 Feb, 2002 2 commits
    • Morten Welinder's avatar
      Add checks for these. supply right version of above. Use everywhere. · 3425a1f6
      Morten Welinder authored
      2002-02-25  Morten Welinder  <terra@diku.dk>
      
      	* configure.in (atan2l, sinhl, coshl, tanhl, asinhl, acoshl,
      	atanhl, erfl, erfcl, ynl, isnanl, finitel, hypotl): Add checks for these.
      	* src/numbers.h: supply right version of above.  Use everywhere.
      3425a1f6
    • Jon K Hellan's avatar
      Declare typedef ObjectImage. · 04bb7d17
      Jon K Hellan authored
      2002-02-25  Jon K Hellan  <hellan@acm.org>
      
      	* src/sheet-object-image.h: Declare typedef ObjectImage.
      
      	* src/sheet-object-image.c (struct _SheetObjectImage): Add
      	cropping parameters.
      	(sheet_object_image_new): Initialize cropping parameters.
      	(sheet_object_image_set_crop): New function. Set cropping
      	parameters.
      	(soi_get_cropped_pixbuf): New function. Get the cropped image from
      	pixbuf.
      	(soi_get_pixbuf): Do cropping by calling soi_get_cropped_pixbuf.
      	(sheet_object_image_init): Initialize cropping parameters.
      
      2002-02-25  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-read.c (ms_sheet_create_image): New function. Factor
      	image creation out of ms_sheet_create_obj and also handle cropping.
      	(ms_sheet_create_obj): Call ms_sheet_create_image.
      04bb7d17
  2. 24 Feb, 2002 2 commits
  3. 23 Feb, 2002 3 commits
    • Andreas J. Guelzow's avatar
      Add `add' entry code extracted from load_model_data (load_model_data) : · 8d50adf1
      Andreas J. Guelzow authored
      2002-02-23  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* cell-sort.glade : Add `add' entry
      	* dialog-cell-sort.c (append_data) : code extracted from
      	  load_model_data
      	(load_model_data) : use append_data
      	(value_to_global_range) : utility for cb_update_add_sensitivity
      	(cb_update_add_sensitivity) : update add button sensitivity
      	(cb_update_sensitivity) : call cb_update_add_sensitivity
      	(cb_ok_clicked) : adjust base (the tree widget now stores
      	  row and col numbers rather than offset)
      	(cb_add_clicked) : new
      	(dialog_init) : set up add-entry
      8d50adf1
    • Andreas J. Guelzow's avatar
      the focus widget is the entry in the gnumeric-expr-entry widget the focus · b9f78259
      Andreas J. Guelzow authored
      2002-02-23  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-analysis-tools.c (tool_set_focus) : the focus widget
      	  is the entry in the gnumeric-expr-entry widget
      	* dialog-cell-sort.c (dialog_set_focus) : the focus widget
      	  is the entry in the gnumeric-expr-entry widget
      	(dialog_init) : set update_policy, use update rather than changed
      	  signal
      
      2002-02-23  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c (gee_focus_in_event, gee_focus_out_event) :
      	  wbcg_set_entry doesn't work here, disabled
      	* gnumeric-expr-entry.h (gnumeric_expr_entry_set_update_policy) :
      	  since this is non-static, declare it
      b9f78259
    • Kjartan Maraas's avatar
      Don't translate the widget label. · 8fbc6ffe
      Kjartan Maraas authored
      2002-02-23  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* *.glade: Don't translate the widget label.
      
      2002-02-22  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* dialog-about.c: Remove unsupported #ifdef ENABLE_NLS.
      
      2002-02-21  Morten Welinder  <terra@diku.dk>
      8fbc6ffe
  4. 22 Feb, 2002 3 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
    • Jody Goldberg's avatar
      tidy up the docs a mite. · 2c356b79
      Jody Goldberg authored
      2c356b79
  5. 21 Feb, 2002 6 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
    • Jody Goldberg's avatar
      add new convenience routine. · c9ba258d
      Jody Goldberg authored
      2002-02-21  Jody Goldberg <jody@gnome.org>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_load_from_expr) : add new
      	  convenience routine.
      c9ba258d
    • 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
    • Morten Welinder's avatar
      Mostly constification. · f95d96a7
      Morten Welinder authored
      2002-02-21  Morten Welinder  <terra@diku.dk>
      
      	* dialog-summary.c (dialog_summary_update): Constify.
      
      	* dialog-stf-preview.c (stf_preview_draw_grid): Constify.
      
      	* dialog-solver.c (cb_dialog_solve_clicked): Remove unneeded
      	initialisation.
      
      	* dialog-cell-format.c (fmt_dialog_init_format_page): Constify.
      	(cb_validation_sensitivity): Constify.  Fix broken sensitivity
      	code.
      
      	* dialog-consolidate.c (construct_consolidate): Constify.
      
      2002-02-21  Morten Welinder  <terra@diku.dk>
      
      	* widget-font-selector.c (styles): Constify.
      f95d96a7
    • 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
  6. 20 Feb, 2002 9 commits
    • Morten Welinder's avatar
      Warning killers. · af8d771a
      Morten Welinder authored
      af8d771a
    • Morten Welinder's avatar
      Oops. · 4a9bcf11
      Morten Welinder authored
      4a9bcf11
    • 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
  7. 19 Feb, 2002 7 commits
  8. 18 Feb, 2002 3 commits
  9. 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
  10. 16 Feb, 2002 2 commits
    • Jody Goldberg's avatar
      missed files · c8db5b8c
      Jody Goldberg authored
      c8db5b8c
    • 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
  11. 15 Feb, 2002 1 commit
    • 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