1. 07 Apr, 2002 1 commit
  2. 05 Apr, 2002 5 commits
    • Andreas J. Guelzow's avatar
      link to the expr-entry changed signal rather than its gtkentry changed · 3575f4a1
      Andreas J. Guelzow authored
      2002-04-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/item-edit.c : link to the expr-entry changed signal rather than its
      	  gtkentry changed signal.
      
      2002-04-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_rangesel_start) : set
      	  rangesel::is_valid even for empty text
      	(gee_init) : initialize rangesel::scg
      	(cb_gee_button_press_event) : new
      	(cb_gee_key_press_event) : move some code into cb_entry_changed
      	(cb_entry_changed) : also handle key press induced changes
      3575f4a1
    • 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
    • Morten Welinder's avatar
      New function. · b835d6ed
      Morten Welinder authored
      2002-04-05  Morten Welinder  <terra@diku.dk>
      
      	* src/gutils.c (gnm_mem_chunk_foreach_leak): New function.
      
      	* src/str.c (string_get, string_get_nocopy, string_unref):
      	Optionally use string pool.
      	(string_shutdown): New function.
      	* src/main.c (main): Call string_shutdown.
      b835d6ed
    • Jody Goldberg's avatar
      add insert image. · 28d5bb59
      Jody Goldberg authored
      
      2002-04-05  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_image) : add insert image.
      
      	* src/sheet-object.c (sheet_object_default_size) : add a default_size
      	  handler that can generate default sizes per instance rather than
      	  class.
      
      	* src/sheet-object-image.c (sheet_object_image_default_size) :
      	  implement.
      	(sheet_object_image_class_init) : register the deafult size handler.
      	* src/application.c  : add insert image.
      	* src/pixmaps/Makefile.am : add insert image.
      28d5bb59
    • Andreas J. Guelzow's avatar
      also reposition item-edit cursor · 25aa88e7
      Andreas J. Guelzow authored
      2002-04-04  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/gnumeric-pane.c (gnm_pane_reposition_cursors) : also
      	  reposition item-edit cursor
      	  http://bugzilla.gnome.org/show_bug.cgi?id=77321
      25aa88e7
  3. 04 Apr, 2002 3 commits
    • Morten Welinder's avatar
      Initialize and shutdown expr class. · 6d0ed137
      Morten Welinder authored
      2002-04-04  Morten Welinder  <terra@diku.dk>
      
      	* src/main.c (main): Initialize and shutdown expr class.
      
      	* src/expr.c (gnm_expr_new_constant, gnm_expr_new_funcall)
      	(gnm_expr_new_unary, gnm_expr_new_binary, gnm_expr_new_name)
      	(gnm_expr_new_cellref, gnm_expr_new_array, gnm_expr_new_set)
      	(do_gnm_expr_unref): Conditionally use expression pool.
      	(expr_init, expr_shutdown): Setup new expression pool.
      6d0ed137
    • Andreas J. Guelzow's avatar
      don't call gnumeric_char_start_expr_p since it changes the cursor position · 38316f96
      Andreas J. Guelzow authored
      2002-04-04  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/item-edit.h (point_is_inside_range) : don't call
      	  gnumeric_char_start_expr_p since it changes the cursor position
      	(entry_cursor_event) : new
      	(item_edit_set_arg) : use notify::cursor-position rather than
      	  button-press-event
      38316f96
    • 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. 03 Apr, 2002 2 commits
    • Andreas J. Guelzow's avatar
      use setup_range_from_value · e0c53930
      Andreas J. Guelzow authored
      2002-04-03  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-cell-sort.c : use setup_range_from_value
      
      2002-04-03  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/ranges.h (setup_range_from_value) : new
      	(value_to_global_range) : new
      	* src/ranges.c : ditto
      	* src/consolidate.c : use setup_range_from_value
      	* src/corba-sheet.c : ditto
      	* src/item-edit.c : ditto
      	* src/value.c : ditto
      e0c53930
    • Andreas J. Guelzow's avatar
      added on-line description ditto · 20665dd7
      Andreas J. Guelzow authored
      2002-04-03  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-preferences.c : added on-line description
      	* preferences.glade : ditto
      
      2002-04-03  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/gnumeric-general.schemas : Fix long description formatting.
      20665dd7
  5. 02 Apr, 2002 1 commit
  6. 01 Apr, 2002 7 commits
    • Morten Welinder's avatar
      Make pools conditional. · be10bbfb
      Morten Welinder authored
      2002-04-01  Morten Welinder  <terra@diku.dk>
      
      	* src/value.c (USE_VALUE_POOLS): Make pools conditional.
      
      	* src/parser.y (line, opt_exp): Plug gigantic leak.  Now why does
      	the expression widget call the parser thousands of times?
      
      	* src/expr.c (expr_eval_real): Simplify.
      be10bbfb
    • Andreas J. Guelzow's avatar
      fix message dialog · 521ceaea
      Andreas J. Guelzow authored
      2002-04-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/item-cursor.c (item_cursor_target_region_ok) : fix message dialog
      521ceaea
    • Andreas J. Guelzow's avatar
      protect against faulty schema installation protect against faulty schema · 2c2a8425
      Andreas J. Guelzow authored
      2002-04-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/mstyle.c (mstyle_new_default) : protect against faulty
      	  schema installation
      	* src/style.c (font_init) : protect against faulty
      	  schema installation and also configure bold and italic default fonts.
      2c2a8425
    • Morten Welinder's avatar
      Fix overflow for EXP case. (Twice.) · 985f4fbc
      Morten Welinder authored
      2002-04-01  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (expr_eval_real): Fix overflow for EXP case.  (Twice.)
      985f4fbc
    • Andreas J. Guelzow's avatar
      add dialog-preferences.c and preferences.glade add dialog_preferences new · 315594d9
      Andreas J. Guelzow authored
      2002-04-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* Makefile.am : add dialog-preferences.c and preferences.glade
      	* dialogs.h : add dialog_preferences
      	* dialog-preferences.c : new
      	* preferences.glade : new
      
      2002-04-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/gnumeric-general.schemas : add default font schemas
      	* src/application.[ch] : add central preferences dialog
      	* src/main.c : dispose of preference dialog on exit
      	* src/mstyle.c : use gconf data to initialize default style
      	* src/style.[ch] : use gconf data to initialize default style
      	* src/workbook-control-gui.c : add preference menu items
      315594d9
    • Morten Welinder's avatar
      Fix for negative valus. · c13726be
      Morten Welinder authored
      2002-04-01  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c (gnumeric_fake_trunc): Fix for negative valus.
      c13726be
    • Andreas J. Guelzow's avatar
      use workbook signals include tools/tools.h rather than dialogs/tools.h · 338c3f5c
      Andreas J. Guelzow authored
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c : use workbook signals
      	* src/commands.h : include tools/tools.h rather than dialogs/tools.h
      	* src/summary.c (summary_info_add) : return boolean
      	* src/summary.h (summary_info_add) : return boolean
      	* src/workbook.c : new workbook signals
      	(workbook_add_summary_info) : new, emit signal
      	(workbook_set_filename) : emit signal
      	* src/workbook.h : new workbook signals
      
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* Makefile.am : replace tools.h by tool-dialogs.h
      	* dao-gui-utils.c : define output_group
      	* dao-gui-utils.h : define output_group as extern
      	* dialog-advanced-filter.c : use inheritance over #define
      	* dialog-analysis-tools.c : use inheritance over #define
      	* dialog-random-generator.c : use inheritance over #define
      	* dialog-solver.c : include tool-dialogs.h instead of tools.h
      	* dialog-summary.c : use new workbook signals
      	* tools.h : split into tool-dialogs.h and tools/tools.h
      	* tool-dialogs.h : new
      
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* Makefile.am : added tools.h
      	* analysis-tools.c : use inheritance over #define
      	* analysis-tools.h : use inheritance over #define
      	* dao.h : delete labels_flag from dao (it's not an output option)
      	* random-generator.c :  use inheritance over #define
      	* tools.h : new
      338c3f5c
  7. 31 Mar, 2002 3 commits
    • Andreas J. Guelzow's avatar
      make regrssion tool undoable · 70c016d9
      Andreas J. Guelzow authored
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* analysis-tools.[hc] : make regrssion tool undoable
      
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dao-gui-utils.c (parse_output) : fix typos (use the intended
      	  buttons)
      	* dialog-analysis-tools.c : make regression tool undoable
      
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c (cmd_analysis_tools_undo) : clear region
      	  before pasting (to avoid leaving cell comments behind)
      70c016d9
    • Andreas J. Guelzow's avatar
      make histogram undoable include the analysis-tools.c specific header info · f89a1cd4
      Andreas J. Guelzow authored
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* analysis-tools.c : make histogram undoable
      	* analysis-tools.h : include the analysis-tools.c specific
      	  header info (rather than putting that into tools.h)
      	* random-generator.h : include tools.h, contain random_tools
      	  prototype
      	* dao.c (dao_set_cell_value) : plug leak
      
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dao-gui-utils.c : include tools.h rather than
      	  analysis-tools.h
      	* dialog-advanced-filter.c : correct comment
      	* dialog-analysis-tools.c : make histogram undoable
      	* dialog-random-generator.c : include tools.h rather than
      	  analysis-tools.h
      	* tools.h : include only general tools info
      
      2002-03-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c : cmd_analysis_tools allow the engines
      	  to carry info from TOOL_ENGINE_LAST_VALIDITY_CHECK to
      	  TOOL_ENGINE_PERFORM_CALC
      	* src/commands.h : include dialogs/tools.h rather than
      	  tools/analysis-tools.h
      f89a1cd4
    • Jody Goldberg's avatar
      respect ui preferences. · 79c689da
      Jody Goldberg authored
      
      2002-03-31  Jody Goldberg <jody@gnome.org>
      
      	* src/gui-util.c (gnumeric_toolbar_new) : respect ui preferences.
      79c689da
  8. 30 Mar, 2002 1 commit
    • Andreas J. Guelzow's avatar
      TOOL_ENGINE_PERFORM_CALC should never return TRUE since we already cleared · e28904eb
      Andreas J. Guelzow authored
      2002-03-30  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c (cmd_analysis_tool_redo) : TOOL_ENGINE_PERFORM_CALC
      	  should never return TRUE since we already cleared the target.
      
      2002-03-30  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* tools.h : change F-, z- and t-test tools into
      	  cmd_analysis_tools engine
      	* dialog-analysis-tools.c : make F-, z- and t-test tools
      	  undoable
      
      2002-03-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/tools/analysis-tools.c : make F-, z- and t-tests undoable
      	* src/tools/analysis-tools.h : add selector
      e28904eb
  9. 29 Mar, 2002 6 commits
    • Andreas J. Guelzow's avatar
      new schema file added gnumeric-general.schemas new · 881e436b
      Andreas J. Guelzow authored
      2002-03-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/gnumeric-general.schemas : new schema file
      	* schemas/Makefile.am : added gnumeric-general.schemas
      	* src/application.h (application_release_gconf_client) : new
      	(application_get_gconf_client) : new
      	* src/application.c (application_release_gconf_client) : new
      	(application_get_gconf_client) : new
      	(app_init) : initialize new app.gconf_client
      	* src/commands.c (truncate_undo_info) : read size_left from gconf
      	* src/main.c : destroy app.gconf_client on exit
      
      2002-03-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-function-select.c (dialog_function_load_recent_funcs) :
      	  use central gconf-client
      	(dialog_function_write_recent_func) : ditto
      881e436b
    • Jukka-Pekka Iivonen's avatar
      Fixed the adjustments for Solver's parameters. · 06e8df73
      Jukka-Pekka Iivonen authored
      2002-03-29  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/sheet.c (sheet_delete_rows, sheet_delete_cols) : Fixed the
              adjustments for Solver's parameters.
      06e8df73
    • Morten Welinder's avatar
      Use chunk allocator for ranges and arrays. (value_init): Initialise range · 6564082f
      Morten Welinder authored
      2002-03-29  Morten Welinder  <terra@diku.dk>
      
      	* src/value.c (value_new_cellrange_unsafe, value_new_cellrange,
      	value_new_cellrange_r, value_new_array_non_init, value_release):
      	Use chunk allocator for ranges and arrays.
      	(value_init): Initialise range and array pools.
      	(value_shutdown): Free range and array pools.
      6564082f
    • Jukka-Pekka Iivonen's avatar
      Fixed the adjustments for Solver's parameters. · 4c54ea88
      Jukka-Pekka Iivonen authored
      2002-03-29  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/sheet.c (sheet_insert_rows, sheet_insert_cols) : Fixed the
              adjustments for Solver's parameters.
      4c54ea88
    • Morten Welinder's avatar
      Keep per-block freelists. (gnm_mem_chunk_free): g_free chunks that are · c71014c6
      Morten Welinder authored
      2002-03-29  Morten Welinder  <terra@diku.dk>
      
      	* src/gutils.c (gnm_mem_chunk_new, gnm_mem_chunk_destroy,
      	gnm_mem_chunk_alloc, gnm_mem_chunk_free): Keep per-block
      	freelists.
      	(gnm_mem_chunk_free): g_free chunks that are completely empty.
      
      	* src/value.c (value_get_as_float): Improve precision.
      	(value_get_as_int): Take sign into account when (fake-)truncating
      	floating point numbers.
      	(value_new_error, value_new_error_str, value_new_string,
      	value_new_string_str, value_release): Use chunk allocator for
      	strings and errors.
      	(value_init): Initialise error and string pools.
      	(value_shutdown): Free error and string pools.
      c71014c6
    • jpekka's avatar
      Added regression test suite for Solver. · a902707e
      jpekka authored
      a902707e
  10. 28 Mar, 2002 4 commits
    • Jody Goldberg's avatar
      A pile of minor contribs. · eb7df8f7
      Jody Goldberg authored
      2002-03-28  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object.c (sheet_object_set_sheet) : ref the object when we
      	  add it to the sheet.
      	(sheet_object_clear_sheet) : unref here.
      	(sheet_object_set_sheet) : move the content of new_view here.
      
      	* src/print-cell.c (print_cell) : seems like the sign of the descenty
      	  is reversed.
      	* src/print.c (print_footers) : ditto.
      
      	* src/sheet.c (sheet_move_range) : long list onto short list not
      	  vice versa.
      	(sheet_delete_cols) : ditto.
      	(sheet_delete_rows) : ditto.
      	* src/dependent.c (micro_hash_resize) : ditto.
      
      	* src/style.c (style_font_new_simple) : init the print_font.
      	(style_font_unref) : unref the print_font.
      
      	* src/print-cell.c (print_cell) : use the print_font.
      
      	* src/print.c (print_job_info_destroy) : GnomeFont is a GObject.
      eb7df8f7
    • Andreas J. Guelzow's avatar
      fix number of table rows add options make 2 factor anova undoable and add · cfe68bb0
      Andreas J. Guelzow authored
      2002-03-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/dialogs/anova-one.glade : fix number of table rows
      	* src/dialogs/anova-two.glade : add options
      	* src/dialogs/dialog-analysis-tools.c : make 2 factor anova
      	  undoable and add formatting options
      	* src/dialogs/tools.h : change 2-factor anova into
      	  cmd_analysis_tools engine
      
      2002-03-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/tools/analysis-tools.c : make 2-factor ANOVA's undoable
      
      2002-03-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c (cmd_analysis_tool_redo) : add dao_autofit_columns
      cfe68bb0
    • Morten Welinder's avatar
      Fix g_warning calls to not have terminating n. · 22109251
      Morten Welinder authored
      2002-03-28  Morten Welinder  <terra@diku.dk>
      
      	* */*.c: Fix g_warning calls to not have terminating n.
      22109251
    • Andreas J. Guelzow's avatar
      gpm is not a GtkObject · 5a29ae7d
      Andreas J. Guelzow authored
      2002-03-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/print.c (sheet_print) : gpm is not a GtkObject
      5a29ae7d
  11. 27 Mar, 2002 5 commits
  12. 26 Mar, 2002 2 commits
    • Jody Goldberg's avatar
      Release 1.1.2 · d561d491
      Jody Goldberg authored
      2002-03-25  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.1.2
      d561d491
    • Morten Welinder's avatar
      Mostly fix general format. · 2565ab2d
      Morten Welinder authored
      2002-03-26  Morten Welinder  <terra@diku.dk>
      
      	* src/rendered-value.c (rendered_value_new): Just peek directly
      	into the approx_width structure -- everyone else does that.  Take
      	worst case of "e", signs, and decimal points into account.
      
      	* src/style.h (StyleFont): Change floats to doubles.  Add more
      	approx_width fields.
      
      	* src/style.c (style_font_get_width_pts): Remove.
      2565ab2d