1. 13 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      Generate GNOME_Gnumeric.server.in start to think about this. · 0e816f89
      Jody Goldberg authored
      2002-03-12  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : Generate GNOME_Gnumeric.server.in
      	* Generate GNOME_Gnumeric.server : start to think about this.
      
      	* src/expr-name.c (expr_name_unlink_deps) : handle delayed hash
      	  creation.
      	(expr_name_new) : dont init the hash table.
      	(expr_name_add_dep) : until here.
      
      	* src/sheet.c (sheet_destroy_contents) : free the primary array too.
      
      	* src/xml-io.c (cell_copy_new) : set comment to NULL.
      	* src/gui-clipboard.c (x_selection_to_cell_region) : ditto.
      	* src/stf-parse.c (stf_parse_region) : ditto.
      0e816f89
  2. 12 Mar, 2002 3 commits
    • Andreas J. Guelzow's avatar
      add src/dialogs/dao-gui-utils.c, src/dialogs/dialog-merge.c, · 0b2eae22
      Andreas J. Guelzow authored
      2002-03-12  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* POTFILES.in : add src/dialogs/dao-gui-utils.c,
      	src/dialogs/dialog-merge.c, src/dialogs/merge.glade and
      	src/tools/dao.c
      
      2002-03-12  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* workbook-control-gui.c : add Merge to the Edit/Fill menu
      	(cb_tools_merge) : new
      	* commands.h (cmd_merge_data) : new
      	* commands.c : implement the cmd_merge_data command
      	(cmd_set_comment_finalize) : simplify
      
      2002-03-12  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* merge.glade : new dialog for the Merge tool
      	* dialog-merge.c : newly implemented Merge tool
      	* dialogs.h (dialog_merge) : new
      	* Makefile.am : add dialog-merge.c and merge.glade
      0b2eae22
    • Morten Welinder's avatar
      Plug leak. Free the sheets member. Plug leak. · ae1e48d5
      Morten Welinder authored
      2002-03-12  Morten Welinder  <terra@diku.dk>
      
      	* src/sheet.c (sheet_destroy_contents): Plug leak.
      	* src/workbook.c (workbook_finalize): Free the sheets member.
      	* src/sheet-control-gui.c (scg_finalize): Plug leak.
      ae1e48d5
    • Jody Goldberg's avatar
      make public. · 354d1a6a
      Jody Goldberg authored
      2002-03-11  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-name.c (expr_name_new) : make public.
      354d1a6a
  3. 11 Mar, 2002 4 commits
  4. 10 Mar, 2002 5 commits
    • Jody Goldberg's avatar
      post release bump · 0f97a09c
      Jody Goldberg authored
      2002-03-10  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : post release bump
      0f97a09c
    • Jody Goldberg's avatar
      Release Gnumeric 1.1.1 · 7a4519b7
      Jody Goldberg authored
      7a4519b7
    • Andreas J. Guelzow's avatar
      new utility (dao_command_descriptor) : new utility (dao_adjust) : new · 6658b3e7
      Andreas J. Guelzow authored
      2002-03-10  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* analysis-tools.c (dao_range_name) : new utility
      	(dao_command_descriptor) : new utility
      	(dao_adjust) : new utility
      	(prepare_output) : set all variables to sensible values
      	  to avoid unneccessary type checks elsewhere
      	(format_output) : utility clearing output range as
      	  appropriate.
      	(anova_single_factor_tool) : change into an engine
      	  callable by cmd_analysis_tool, renamed to
      	  analysis_tool_anova_single_engine_run
      	(analysis_tool_anova_single_engine_clean) : new
      	(analysis_tool_anova_single_engine) : selector function
      	* analysis-tools.h : some rearrangments, new
      	  analysis_tool_engine_t type, added fields to
      	  data_analysis_output_type_t
      
      2002-03-10  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c (command_undo_sheet_delete) new utility function (for
      	  CMD_ANALYSIS_TOOL_TYPE and CMD_SHEET_REORGANIZE_TYPE)
      	(CMD_ANALYSIS_TOOL) : undo/redo command for data analysis tools.
      	* src/commands.h (cmd_analysis_tool) : new
      
      2002-03-10  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* anova-one.glade : add more output options
      	* dialog-analysis-tools.c : support new options in one-factor
      	  anova and use cmd_analysis_tool
      	* tools.h : replace anova_single_factor_tool with
      	  analysis_tool_anova_single_engine
      6658b3e7
    • Jody Goldberg's avatar
      bump gal version req. · 073dec3b
      Jody Goldberg authored
      2002-03-10  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : bump gal version req.
      073dec3b
    • Andreas J. Guelzow's avatar
      add gnumeric-cell-renderer.[ch] new · 6b2b8047
      Andreas J. Guelzow authored
      2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* Makefile.am : add gnumeric-cell-renderer.[ch]
      	* gnumeric-cell-renderer.[ch] : new
      
      2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* cell-sort.glade : shrink dialog
      	* dialog-cell-sort.c : use new GnumericCellRenderer for desc/asc
      	  column and delete sort column.
      
      2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/gnm-marshalers.list : add NONE:STRING
      6b2b8047
  5. 09 Mar, 2002 7 commits
    • Jon K Hellan's avatar
      Check if function is FUNCTION_NAMEONLY here. (function_dump_defs): So that · b9455208
      Jon K Hellan authored
      2002-03-10  Jon K Hellan  <hellan@acm.org>
      
      	* src/func.c (copy_hash_table_to_ptr_array): Check if function is
      	FUNCTION_NAMEONLY here.
      	(function_dump_defs): So that we can use the earlier version of this.
      b9455208
    • Jon K Hellan's avatar
      Dump function definitions from plugins, this time the easy way which even · 971f7c82
      Jon K Hellan authored
      2002-03-09  Jon K Hellan  <hellan@acm.org>
      
      	Dump function definitions from plugins, this time the easy way
      	which even works.
      
      	* src/func.c (copy_hash_table_to_ptr_array): Copy also when fd->help
      	is NULL.
      	(function_dump_defs): Load function definition before dumping name
      	only function.
      
      	* src/main.c (main): Drop force load argument to plugins_init.
      
      	* src/plugin.[ch] (activate_plugin, plugin_db_activate_plugin_list,
      	plugin_db_activate_saved_active_plugins, plugins_init): Revert to
      	pre 2002-03-08 version. We apologize for the inconvenience.
      	However, error reporting by means of gnumeric_error_error_info
      	remains.
      
      	* src/plugin-service.[ch]
      	(plugin_service_function_group_initialize): Revert to pre
      	2002-03-08 version.
      	(plugin_service_activate): Ditto. Except that we don't reinstate
      	#ifdef PLUGIN_ALWAYS_LOAD. That branch is hopelessly bitrotted.
      
      	* src/plugin.h: Drop #undef PLUGIN_ALWAYS_LOAD.
      
      2002-03-09  Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/dialog-plugin-manager.c
      	(cb_pm_button_activate_plugin_clicked,
      	cb_pm_button_activate_all_clicked): Revert to pre 2002-03-08
      	version. We apologize for the inconvenience.
      971f7c82
    • Jody Goldberg's avatar
      rename from function_def_get_full_info_if_needed and remove the condition. · a0282f76
      Jody Goldberg authored
      2002-03-09  Jody Goldberg <jody@gnome.org>
      
      	* src/func.c (func_def_load) : rename from function_def_get_full_info_if_needed
      	  and remove the condition.
      
      	* src/eval.c (link_expr_dep) : Call func_def_load if necessary to
      	  check for a link function.
      a0282f76
    • Jukka-Pekka Iivonen's avatar
      Added another Netlib demo. The results seem to be correct now, so we are · 4138f3c5
      Jukka-Pekka Iivonen authored
      2002-03-09  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * samples/solver/blend.mps: Added another Netlib demo.  The
              results seem to be correct now, so we are finally getting close..
      4138f3c5
    • Jody Goldberg's avatar
      if editing fails restore focus to the sheet. · c28a5b99
      Jody Goldberg authored
      2002-03-09  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_editline_focus_in) : if editing fails
      	restore focus to the sheet.
      
      	* src/workbook-edit.c (wbcg_edit_start) : fix typo and swapping of the
      	  warnings.
      c28a5b99
    • Andreas J. Guelzow's avatar
      change menu items "Re-order sheets" to "Manage Sheets" and enable these · 1d904d39
      Andreas J. Guelzow authored
      2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* workbook-control-gui.c : change menu items "Re-order sheets"
      	  to "Manage Sheets" and enable these items even for single sheet
      	  workbooks.
      	* commands.h : add deleted_sheets argument to cmd_reorganize_sheets
      	* commands.c : ditto
      
      2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* sheet-order.glade : change button order
      	* cell-sort.glade : ditto
      	* dialog-sheet-order.c : various minor modifications and support
      	  deletion of sheets.
      1d904d39
    • Jody Goldberg's avatar
      More of the protection support. · 05b7b6ac
      Jody Goldberg authored
      05b7b6ac
  6. 08 Mar, 2002 8 commits
    • Jon Kåre Hellan's avatar
      Make gmorten happy. · a93436ff
      Jon Kåre Hellan authored
      * src/command-context-stderr.c (ccs_class_init): Make gmorten happy.
      a93436ff
    • Jon Kåre Hellan's avatar
      Fix typo. · 21001843
      Jon Kåre Hellan authored
      * src/command-context.h (COMMAND_CONTEXT): Fix typo.
      
      * src/command-context-stderr.c (command_context_stderr_get_status): Fix typo.
      21001843
    • Jon Kåre Hellan's avatar
      Add. · a7133935
      Jon Kåre Hellan authored
      * src/command-context-stderr.[ch]: Add.
      
      * src/Makefile.am: Add command-context-stderr.[ch]
      
      * src/main.c (main): Force load plugins before dumping function
      definitions.
      
      * src/plugin.[ch] (activate_plugin, plugin_db_activate_plugin_list,
      plugin_db_activate_saved_active_plugins, plugins_init): Add
      force_load parameter.
      (plugins_init): Use virtual function gnumeric_error_error_info to
      report error.
      
      * src/plugin-service.[ch]
      (plugin_service_function_group_initialize): Add force_load
      parameter. Get function info if force loaded.
      (plugin_service_activate): Propagate force_load parameter.
      
      * src/gnumeric.h: Declare CommandContextStderr.
      
      * src/func.[ch] (function_def_get_full_info_if_needed): Make
      public so that it's available when force-loading plugins.
      
      * src/error-info.c (error_info_print_with_offset): Print to stderr
      instead of stdout.
      
      * dialog-plugin-manager.c (cb_pm_button_activate_plugin_clicked):
      Add parameter force_load = FALSE to activate_plugin call.
      (cb_pm_button_activate_all_clicked): Add parameter force_load =
      FALSE to plugin_db_activate_plugin_list call.
      a7133935
    • Jakub Steiner's avatar
      Filename fixes · ac2fcb22
      Jakub Steiner authored
      ac2fcb22
    • Morten Welinder's avatar
      Minor cleanup. Be smarter about errors. · 8178ee82
      Morten Welinder authored
      2002-03-08  Morten Welinder  <terra@diku.dk>
      
      	* src/validation.c (validation_eval): Minor cleanup.
      	* src/value.c (value_peek_string): Be smarter about errors.
      
      
      2002-03-08  Morten Welinder  <terra@diku.dk>
      
      	* analysis-tools.c (fourier_fft_inv): Eliminate.
      	(fourier_fft): Handle inverse case also.  Make n and skip
      	parameters.  Eliminate fourier_t.  Constify.
      8178ee82
    • Jakub Steiner's avatar
      PNG icons · 2d2dfb73
      Jakub Steiner authored
      2d2dfb73
    • Jody Goldberg's avatar
      add sample_datasource · 1375352b
      Jody Goldberg authored
      2002-03-08  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : add sample_datasource
      1375352b
    • Jody Goldberg's avatar
      cleanup handling of 'int' and fix handling of between. · c87a2cd1
      Jody Goldberg authored
      2002-03-08  Jody Goldberg <jody@gnome.org>
      
      	* src/validation.c (validation_eval) : cleanup handling of 'int'
      	and fix handling of between.
      
      2002-03-08  Jody Goldberg <jody@gnome.org>
      
      	* src/eval.h : Add DEPENDENT_ALWAYS_UNLINK.
      	  and the as yet unused DEPENDENT_HAS_3D.
      
      	* src/io-context.c (gnm_io_warning) : new stub.
      	(gnm_io_warning_unknown_font) : ditto.
      	(gnm_io_warning_unknown_function) : ditto.
      	(gnm_io_warning_unsupported_feature) : ditto.
      
      	* src/func.c (function_def_get_full_info_if_needed) :  add
      	  link/unlink.
      
      	* src/plugin-service.c
      	(plugin_service_function_group_get_full_info_callback) : add
      	  link/unlink.  This is a terrible interface.  Why not just make the
      	  thing into the FunctionDescriptor.
      	* src/plugin-loader-module.c
      	(gnumeric_plugin_loader_module_func_get_full_function_info) : ditto.
      
      2002-03-08  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_write_print_info) : handle missing paper so that
      	  we can save again.
      
      	* templates/autoformat/autoformat.3D.button.xml : fix.
      
      	* plugins/Makefile.am (SUBDIRS) : add sample_datasource.
      c87a2cd1
  7. 07 Mar, 2002 3 commits
    • Jody Goldberg's avatar
      revamp extensheet handling and name import. Still does not work for XL95, · 3452c25e
      Jody Goldberg authored
      2002-03-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c : revamp extensheet handling and name import.
      	  Still does not work for XL95, but things should be ok for >= 97.
      	  Getting closer to supporting external references.
      
      2002-03-02  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (write_externsheets) : Use unquoted.  This code
      	  needs some love.
      
      2002-03-02  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_read_formula) : avoid leaking when faced
      	  with bad input.
      	(ms_excel_read_formula) : ditto.
      
      2002-03-06  Jody Goldberg <jody@gnome.org>
      
      	* dialog-advanced-filter.c (advanced_filter) : Use eval_pos_init_sheet.
      
      	* dialog-solver.c (cb_dialog_solve_clicked) : fix leak.
      
      2002-03-07  Jody Goldberg <jody@gnome.org>
      
      	* src/position.c (eval_pos_init*) : handle the optional dependent.
      
      	* src/eval.c (link_expr_dep) : support the adjustment to EvalPos.
      	(unlink_expr_dep) : support the adjustment to EvalPos.
      
      	* *.c : directly include gnome-i18n.h, value.h and expr.h
      	  where necessary now that they are no longer included.
      	* src/func.h : here.
      
      	* src/position.h (EvalPos) : Pass in an optional Dependent.
      
      	* src/expr.h (FunctionEvalInfo) : remove the func_def.  Send in the
      	  ExprFunc wrapper instead.  That contains the func-def if desired.
      
      	* src/func.c (function_set_link_handlers) : differentiate signatures
      	  for link & unlink.
      3452c25e
    • Jukka-Pekka Iivonen's avatar
      Moved into src/tools. src/auto-correct.[ch]: Ditto. src/goal-seek.[ch]: · cf7349c4
      Jukka-Pekka Iivonen authored
      2002-03-07  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/analysis-tools.[ch]: Moved into src/tools.
              src/auto-correct.[ch]: Ditto.
              src/goal-seek.[ch]: Ditto.
      
              * src/solver.h (SolverResults): Added a few more fields to improve
              reporting.
      
      2002-03-07  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/tools/solver/reports.c (solver_limits_report):
      	Implemented the initial limits reporting.
              (solver_program_report): Implemented the program statistics
              reporting.
      cf7349c4
    • Andreas J. Guelzow's avatar
      implement adding of multiple sheets · b6f0942a
      Andreas J. Guelzow authored
      2002-03-07  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* workbook.c (workbook_sheet_reorganize) : implement adding of
      	  multiple sheets
      
      2002-03-07  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* sheet-order.glade : add buttons
      	* cell-sort.glade : reorder buttons
      	* dialog-sheet-order.c (cb_row_inserted) : deleted
      	(cb_selection_changed) : add more buttons
      	(populate_sheet_list) : remove "row_inserted" handler
      	(move_cb) : move wb_view_sheet_focus to cb_selection_changed
      	(cb_add_clicked) : new
      	(cb_duplicate_clicked) : new stub
      	(cb_delete_clicked) : new stub
      	(dialog_sheet_order) : add handlers to new buttons
      b6f0942a
  8. 06 Mar, 2002 7 commits
    • Andreas J. Guelzow's avatar
      initialize sheet->index_in_wb new field sheet::index_in_wb replace · 6baaf020
      Andreas J. Guelzow authored
      2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/sheet.c (sheet_new) : initialize sheet->index_in_wb
      	* src/sheet.h : new field sheet::index_in_wb
      	* src/workbook-control-gui.c (wbcg_sheet_add) : replace
      	  workbook_sheet_index_get with sheet->index_in_wb
      	* src/workbook-view.c (wb_view_sheet_focus) : ditto
      	* src/workbook.c (workbook_sheet_index_get) : deleted
      	(workbook_sheet_index_update) : new
      	(workbook_sheet_attach) : replace workbook_sheet_index_get
      	  with sheet->index_in_wb, call workbook_sheet_index_update
      	(workbook_sheet_detach) : ditto
      	(workbook_sheet_move) : ditto
      	(workbook_sheet_reorganize) : ditto
      6baaf020
    • Jukka-Pekka Iivonen's avatar
      New directory created for tools. · d38098dc
      Jukka-Pekka Iivonen authored
      2002-03-06  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/tools: New directory created for tools.
      
              * src/tools/solver: Moved src/solver-lp.c into here and split it
              into two files: src/tools/solver/solver.c and
              src/tools/solver/reports.c.  A _major_ rewrite.
      
              * src/tools/solver/lp_solve: Integrated key parts of an LGPLed
              linear programming toolkit called LP Solve 3.2.  (The whole
              package can be found from ftp://ftp.ics.ele.tue.nl/pub/lp_solve).
              Major clean up for making it to look like GNOME code.  LP Solve is
              written by Michel Berkelaar and others.  Thanks for the great
              work!
      
              * configure.in: Added src/tools/Makefile, src/tools/solver/Makefile,
              and src/tools/solver/lp_solve/Makefile.
      
              * src/Makefile.am: Added tools subdirectory.
      
              * src/mathfunc.[ch]: Removed all solver related functions.
      
              * src/solver.h, src/sheet.c: solver_lp_new renamed as
              solver_param_new.  solver_lp_destroy renamed as
              solver_param_destroy.
      
              * src/xml-io.c: Solver related changes.
      
              * samples/solver/production-plan.gnumeric: A Solver sample file.
      d38098dc
    • Andreas J. Guelzow's avatar
      remove forced placement by mouse (gnumeric_set_transient) : remove unused · 31afd6d9
      Andreas J. Guelzow authored
      2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/gui-util.c (gnumeric_error_info_dialog_show) : remove
      	  forced placement by mouse
      	(gnumeric_set_transient) : remove unused code, set dialog
      	  placement to GTK_WIN_POS_CENTER_ON_PARENT
      31afd6d9
    • Andreas J. Guelzow's avatar
      fix typo · 595ab7dd
      Andreas J. Guelzow authored
      2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/eval.c (link_expr_dep) : fix typo
      595ab7dd
    • Andreas J. Guelzow's avatar
      new (cmd_reorganize_sheets_undo) : delete new sheets, change calling · f5b82dc2
      Andreas J. Guelzow authored
      2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c (delete_pristine_sheets) : new
      	(cmd_reorganize_sheets_undo) : delete new sheets, change calling
      	  sequence of workbook_sheet_reorganize
      	(cmd_reorganize_sheets_redo) : change calling
      	  sequence of workbook_sheet_reorganize
      	(cmd_reorganize_sheets_finalize) : clear new_sheets
      	(cmd_reorganize_sheets) : handle adding of sheets, streamline
      	  selection of cmd descriptor
      	* src/workbook-control-gui.c (cb_insert_sheet) : use
      	  cmd_reorganize_sheets
      	* src/workbook.c (workbook_sheet_reorganize) : handle adding of sheets
      	* src/workbook.h (workbook_sheet_reorganize) : add argument
      f5b82dc2
    • Jody Goldberg's avatar
      flag inter-{sheet,book} references. (link_cellrange_dep) : ditto. · 2f7c4efc
      Jody Goldberg authored
      2002-03-05  Jody Goldberg <jody@gnome.org>
      
      	* src/eval.c (link_single_dep) : flag inter-{sheet,book} references.
      	(link_cellrange_dep) : ditto.
      	(link_expr_dep) : collect the flags.
      	(dependent_link) : and assign them here.
      	(dependent_unlink_sheet) : delete and merge into.
      	(do_deps_destroy) : here.  And use the new inter-{sheet,book} flags to
      	  avoid removing internal links.
      
      	* src/sheet.c (sheet_destroy_contents) : depends are now handled
      	  outside this routine add a precondition.
      
      	* src/main.c : delete style_debugging.
      
      	* src/clipboard.c (clipboard_copy_range) : suppress warning.
      2f7c4efc
    • Andreas J. Guelzow's avatar
      use gtk_message_dialog_new/gnumeric_dialog_run · 4e3bff09
      Andreas J. Guelzow authored
      2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/workbook-control-gui.c (workbook_close_if_user_permits) :
      	  use gtk_message_dialog_new/gnumeric_dialog_run
      4e3bff09
  9. 05 Mar, 2002 2 commits
    • Andreas J. Guelzow's avatar
      put a frame around the pop-up · f23f18e9
      Andreas J. Guelzow authored
      2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/sheet-control-gui.c (scg_comment_display) : put
      	  a frame around the pop-up
      f23f18e9
    • Morten Welinder's avatar
      Improve precision of %. · aa45eef9
      Morten Welinder authored
      2002-03-05  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (expr_eval_real): Improve precision of %.
      
      2002-03-05  Morten Welinder  <terra@diku.dk>
      
      	* fn-financial.c (gnumeric_euro): Improve precision.
      aa45eef9