1. 03 Jul, 2002 2 commits
  2. 02 Jul, 2002 1 commit
    • Jukka Pekka's avatar
      Bug fix: Add type field setting. · 84e60e80
      Jukka Pekka authored
      2002-07-03  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
      	* parser.c (mps_add_bound): Bug fix: Add type field setting.
      
      	* mps.c (mps_prepare): Bug fix: Write the RHS of a bound into the
      	correct column.
      84e60e80
  3. 01 Jul, 2002 1 commit
    • Morten Welinder's avatar
      Fix PERMUT. · 4d4f58b5
      Morten Welinder authored
      2002-07-01  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c (fact): Use table and avoid recursion.
      	(permut): New function.
      	(combin): Improve precision.
      4d4f58b5
  4. 27 Jun, 2002 1 commit
    • JodyGoldberg's avatar
      move frozen panes here. from here. · a27f4f0f
      JodyGoldberg authored
      
      2002-06-27  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-view.c : move frozen panes here.
      	* src/sheet.c : from here.
      
      	* src/sheet-control-gui.c (scg_resize) : freezing in in view now.
      	(scg_scrollbar_config) : ditto.
      	(gnm_canvas_update_inital_top_left) : ditto.
      	(scg_set_left_col) : ditto.
      	(scg_set_top_row) : ditto.
      	(scg_make_cell_visible) : ditto.
      	(scg_set_panes) : ditto.
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : ditto.
      	(cb_view_freeze_panes) : ditto.
      	* src/xml-io.c (xml_read_sheet_layout) : ditto.
      	(xml_write_sheet_layout) : ditto.
      a27f4f0f
  5. 25 Jun, 2002 2 commits
  6. 23 Jun, 2002 2 commits
    • JodyGoldberg's avatar
      delete the 'selection' function. It is no longer possible with a · 778809a4
      JodyGoldberg authored
      
      2002-06-23  Jody Goldberg <jody@gnome.org>
      
      	* src/func-builtin.c (func_builtin_init) : delete the 'selection'
      	  function.  It is no longer possible with a sheetview.
      
      	* src/workbook-control-gui.c (cb_select_auto_expr) : remove
      	  'selection(0)' argument and just pass function name.  The conversion
      	  to SheetView forces a different methodology.
      	* src/workbook-view.c (workbook_view_new) : ditto.
      	(wb_view_auto_expr_recalc) : Make the call manually.
      778809a4
    • JodyGoldberg's avatar
      take a CellPos. (applix_read_cells) : tidy a smidge. (applix_read_impl) : · d1bcb69c
      JodyGoldberg authored
      
      2002-06-21  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c (applix_parse_cellref) : take a CellPos.
      	(applix_read_cells) : tidy a smidge.
      	(applix_read_impl) : start to support named ranges.
      
      2002-06-22  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : enable mem_func
      	  support.
      	(binary_ops) : use range_ctor for RANGE.
      
      2002-06-22  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.h : support constructed ranges.
      	* src/parser.y (parser_sheet_by_name) : ditto.
      	* src/expr-name.c (name_refer_circular) : ditto.
      
      	* src/expr.c (do_gnm_expr_unref) : support range_ctor and reorder to
      	  produce a better jump table.
      	(gnm_expr_equal) : ditto.
      	(do_expr_as_string) : ditto.
      	(gnm_expr_rewrite) : ditto.
      	(ets_hash) : ditto.
      	(ets_equal) : ditto.
      	(expr_tree_sharer_share) : ditto.
      	(expr_eval_real) : ditto and use gnm_expr_extract_ref.
      	(gnm_expr_extract_ref) : new.
      d1bcb69c
  7. 22 Jun, 2002 1 commit
  8. 21 Jun, 2002 2 commits
    • Morten Welinder's avatar
      Import also dnbinom.c and dhyper.c · 8c491ccb
      Morten Welinder authored
      2002-06-21  Morten Welinder  <terra@diku.dk>
      
      	* import-R: Import also dnbinom.c and dhyper.c
      
      
      2002-06-21  Morten Welinder  <terra@diku.dk>
      
      	* functions.c (gnumeric_negbinomdist): Use R's distribution
      	function for better precision.
      	(gnumeric_hypgeomdist): Ditto.
      8c491ccb
    • JodyGoldberg's avatar
      take a cellpos * · 89274950
      JodyGoldberg authored
      
      2002-06-21  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (parse_cell_name) : take a cellpos *
      
      	* src/func-builtin.c (gnumeric_selection) : dummy out for now until a
      	  different approach is available.
      
      	* src/commands.c : convert to sheetview.
      	  s/parent/cmd/ to make things more readable
      	(cmd_selection_clear) : rename from cmd_clear_selection so that we can
      	  start to group the operations that currently operate on selections.
      	(cmd_selection_format) : rename from cmd_format.
      	(cmd_selection_colrow_hide) : rename from cmd_colrow_hide_selection.
      	(cmd_selection_outline_change) : rename from cmd_colrow_outline_change.
      	(cmd_selection_group) : rename from cmd_group.
      	(cmd_selection_autoformat) : rename from cmd_autoformat.
      	(cmd_colrow_hide_correct_selection) : take a control.
      
      	* src/colrow.c (cb_colrow_visibility) : selections are now part of
      	  sheetview.
      	(colrow_get_visiblity_toggle) : ditto.
      
      	* src/cmd-edit.c (cmd_select_cur_row) : convert to sheetview.
      	(cmd_select_cur_col) : ditto.
      	(cmd_select_cur_array) : ditto.
      	(cmd_select_cur_depends) : ditto.
      	(cmd_select_cur_inputs) : ditto.
      	(cmd_paste_to_selection) : ditto.
      
      	* src/bonobo-io.c (deserialize_wb_from_xml_stream) : pass the wbv into
      	  the context directly.
      	(gnumeric_bonobo_write_workbook) : ditto.
      	(gnumeric_bonobo_read_workbook) : ditto.
      
      	* src/consolidate.c (redraw_respan_and_select) : set selection only
      	  for the calling view.
      	(row_consolidate) : pass in the view.
      	(col_consolidate) : ditto.
      	(colrow_consolidate) : ditto.
      	(consolidate_apply) : Take a control so that we can extract the view.
      
      	* src/commands.c (cmd_consolidate_redo) : Pass the control.
      
      2002-06-20  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-view.c (sheet_view_init) : init the selection.
      
      	* src/workbook-view.c (workbook_view_new) : init current_sheet_view.
      	(wb_view_format_feedback) : operate on the sheetview.
      	(wb_view_selection_desc) : ditto.
      	(wb_view_edit_line_set) : ditto.
      
      2002-06-20  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_sheet_add) : Use sheet_get_view.
      	(wb_view_sheet_focus) : ditto.
      	* src/xml-io.c (xml_write_selection_info) : ditto.
      	(xml_read_selection_info): ditto.
      	(xml_workbook_write) : now that the view is in the context don't
      	  bother passing it.
      	(xml_write_wbv_attributes) : ditto.
      	(xml_read_wbv_attributes) : ditto.
      89274950
  9. 20 Jun, 2002 2 commits
    • Jon Kåre Hellan's avatar
      Add test for Pygtk. · 4a28f7f1
      Jon Kåre Hellan authored
      * configure.in (have_pygtk): Add test for Pygtk.
      
      * acconfig.h: Add WITH_PYGTK
      
      * plugins/python/python-loader.c: Include pygobject.h if Pygtk is
      installed.
      (initialize_python_if_needed): Add init_pygobject if Pygtk is
      installed.
      (gnumeric_plugin_loader_python_func_file_probe): Replace file name
      argument with GsfInput. Try to wrap GsfInput in Python object if
      Pygtk is installed. Otherwise give up with warning.
      (gnumeric_plugin_loader_python_func_file_open): Ditto.
      
      * plugins/python/Makefile.am: Add PYGTK_CFLAGS to includes.
      4a28f7f1
    • Morten Welinder's avatar
      Initialize vars. (applix_read): the keys are strings, not ints. · 7f25d885
      Morten Welinder authored
      2002-06-20  Morten Welinder <terra@diku.dk>
      
      	* applix-read.c (applix_read_impl): Initialize vars.
      	(applix_read): the keys are strings, not ints.
      	(applix_read_cells): Isolate the key -- sometimes there seems to be
      	a formula there also.
      7f25d885
  10. 19 Jun, 2002 2 commits
    • JodyGoldberg's avatar
      Use sv_weak_ref. (application_clipboard_clear) : Use sv_weak_unref. · 4c2722fd
      JodyGoldberg authored
      
      2002-06-19  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (application_clipboard_cut_copy) : Use sv_weak_ref.
      	(application_clipboard_clear) : Use sv_weak_unref.
      
      	* src/workbook-view.c (wb_view_sheet_add) : create the view before
      	  potentially looking for it.
      
      	* src/workbook-edit.c (wbcg_edit_finish) : Accept text with only a
      	  leading expr char as strings, we know they can not be expressions.
      
      	* src/parse-util.c (gnumeric_char_start_expr_p) : be more lenient
      	  about accepting leading '+' as the start of an expression.
      
      	* src/application.c (application_set_selected_sheet) : merge into.
      	(application_clipboard_cut_copy) : here.
      4c2722fd
    • Morten Welinder's avatar
      Update to R 1.5.1. (pexp, pweibull): Use R's version. All callers changed · 5a222f6d
      Morten Welinder authored
      2002-06-19  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c: Update to R 1.5.1.
      	(pexp, pweibull): Use R's version.  All callers
      	changed to match new prototype.
      5a222f6d
  11. 18 Jun, 2002 1 commit
    • JodyGoldberg's avatar
      check for failure to start editing. (cb_insert_current_time) : ditto. · 8f9a9e61
      JodyGoldberg authored
      
      2002-06-18  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_current_date) : check for
      	  failure to start editing.
      	(cb_insert_current_time) : ditto.
      
      2002-06-18  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-graph.c (gnm_graph_vector_seq_scalar) : forward port a
      	  patch for keelyn.
      
      	* src/file.c (gnum_file_saver_save_to_stream_real) : forward port a
      	  warning suppression.
      
      	* src/clipboard.c (clipboard_paste_region) : restore the expr_relocate
      	  code in preparation for supporting the XL style heuristic.
      
      	* src/GNOME_Gnumeric.xml : forward port some fixes.
      	* src/sheet-object-widget.c (cb_scrollbar_value_changed) : ditto.
      	(sheet_widget_scrollbar_set_sheet) : ditto.
      
      2002-06-17  Jody Goldberg <jody@gnome.org>
      
      	* src/dependent.c (cb_name_invalidate) : renamed from
      	  cb_name_invalidate_sheet.  Just set the expression to NULL.
      	  no need to be polite.  It just confuses things during workbook
      	  destruction when the name references another sheet which has already
      	  been destroyed.
      8f9a9e61
  12. 17 Jun, 2002 2 commits
  13. 16 Jun, 2002 2 commits
  14. 15 Jun, 2002 6 commits
  15. 14 Jun, 2002 1 commit
    • JodyGoldberg's avatar
      add drachma. · af2c5684
      JodyGoldberg authored
      2002-06-14  Jody Goldberg <jody@gnome.org>
      
      	* functions.c (gnumeric_euro) : add drachma.
      
      2002-06-14  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c : convert to gsf input and restructure quite a bit to
      	  be more flexible, add support for applix-5, and support
      	  hidden/locked formats.
      af2c5684
  16. 13 Jun, 2002 3 commits
  17. 12 Jun, 2002 5 commits
  18. 11 Jun, 2002 1 commit
  19. 08 Jun, 2002 3 commits
    • JodyGoldberg's avatar
      convert to libgsf. · 5b162440
      JodyGoldberg authored
      
      2002-06-08  Jody Goldberg <jody@gnome.org>
      
      	* boot.c (oleo_file_open) : convert to libgsf.
      
      	* oleo.c (oleo_read) : convert to libgsf.
      	(oleo_deal_with_format) : rationalize the calling convention.
      	(oleo_deal_with_cell) : ditto.
      5b162440
    • JodyGoldberg's avatar
      convert to libgsf. (xbase_close) : ditto. (xbase_open) : ditto. · d6e4564e
      JodyGoldberg authored
      
      2002-06-08  Jody Goldberg <jody@gnome.org>
      
      	* xbase.c (xbase_field_new) : convert to libgsf.
      	(xbase_close) : ditto.
      	(xbase_open) : ditto.
      d6e4564e
    • JodyGoldberg's avatar
      libgsf has landed. · 7c1e9d5c
      JodyGoldberg authored
      
      libgsf has landed.
      
      2002-06-07  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_open) : convert to libgsf.
      
      	* src/stf.c (stf_open_and_read) : convert to libgsf.
      	(stf_preparse) : ditto.
      	(stf_read_workbook) : ditto.
      	(stf_read_workbook_auto_csvtab) : ditto.
      	(stf_read_default_probe) : ditto.
      
      	* src/stf-parse.c (stf_parse_is_valid_data) : actually disable the
      	  wide char support if it is not available.
      
      	* src/gutils.c (gnm_extension_pointer) : copied from libgnome to
      	  decrease our dependence on it.
      
      	* src/gui-util.c (gnumeric_editable_enters) : modernize a bit.
      
      	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_grab) : suppress
      	  warning.
      
      	* src/file.c (gnum_file_opener_probe_real) : Use libgsf.
      	(gnum_file_opener_open_real) : ditto.
      	(gnum_file_opener_probe) : ditto.
      	(gnum_file_opener_open) : ditto.
      	(gnum_file_saver_save_to_stream_real) : disable, we can move this out
      	  of here when GsfOutput comes online.
      
      	* src/collect.c (string_range_function) : suppress warning.
      
      	* src/cell.c (cell_set_array_formula) : Adjust to the signature change
      	  for gnm_expr_new_array.
      	* src/sheet-autofill.c (autofill_cell) : ditto.
      
      2002-06-07  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : require libgsf.
      
      	* src/xml-io.c (xml_check_version) : move the sanity checking here.
      	(gnumeric_xml_read_workbook) : rather than here.  Support GsfInput.
      	(xml_probe) : and here.
      	(gnumeric_xml_write_workbook_to_stream) : delete.
      
      2002-05-31  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_grab) : actually
      	  return the result.
      7c1e9d5c