1. 29 Oct, 2001 7 commits
    • Morten Welinder's avatar
      Plug leak. · 6ab6a6b1
      Morten Welinder authored
      2001-10-29  Morten Welinder  <terra@diku.dk>
      
      	* src/func.c (function_iterate_argument_values): Plug leak.
      
      	* src/workbook-view.c (wb_view_save_as): Plug leak.
      	(wb_view_save): Ditto.
      6ab6a6b1
    • Jody Goldberg's avatar
      Version bump. · 13e409f9
      Jody Goldberg authored
      13e409f9
    • Jody Goldberg's avatar
      Release 0.73 · 11284341
      Jody Goldberg authored
      11284341
    • Jody Goldberg's avatar
      release 0.73 · 48dd0c74
      Jody Goldberg authored
      48dd0c74
    • Jukka-Pekka Iivonen's avatar
      Documented `Binomial' and `Negative Binomial' random distributions. · f58c7dd4
      Jukka-Pekka Iivonen authored
      2001-10-29  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * analysis-tools.sgml: Documented `Binomial' and `Negative
              Binomial' random distributions.
      f58c7dd4
    • Jukka-Pekka Iivonen's avatar
      Documented the autocorrect tool. Now it should be integrated somewhere...? · ecdbe054
      Jukka-Pekka Iivonen authored
      2001-10-29  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * autocorrect.sgml: Documented the autocorrect tool.  Now it
              should be integrated somewhere...?
      ecdbe054
    • Jody Goldberg's avatar
      add support for referencing names in other workbooks. · 22a7ee1a
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y : add support for referencing names in other workbooks.
      
      	* src/expr.c (expr_tree_new_name) : take an optional sheet and
      	  workbook as scoping info.
      	(expr_eval_real) : handle inactive names.
      	(do_expr_tree_to_string) : improve scoping.
      	(expr_rewrite) : handle inactives and scope changes.
      
      	* src/expr-name.c (expr_name_lookup) : add the notion of active and a
      	  ref count so that we can do a delayed destruction and invalidation.
      	(expr_name_add) : make it clearer that the return is not meant
      	  to be freed.
      	(expr_name_create) : don't free the result of expr_name_lookup.
      	(expr_name_ref) : generalize.
      	(expr_name_unref) : ditto.
      	(expr_name_remove) : deactivate the name.
      22a7ee1a
  2. 28 Oct, 2001 3 commits
    • Keld Jørn Simonsen's avatar
      updates balsa/po/da.po gimp-freetype/po/da.po gnome-vfs/po/da.po · 12ce1526
      Keld Jørn Simonsen authored
      updates
      balsa/po/da.po gimp-freetype/po/da.po gnome-vfs/po/da.po
      gnomemeeting/po/da.po gnumeric/po/da.po sodipodi/po/da.po
      gnome-i18n/extra-po/gwvedit/da.po
      12ce1526
    • Jody Goldberg's avatar
      Use sheet_merge_is_corner. · 67ae2dda
      Jody Goldberg authored
      2001-10-28  Jody Goldberg <jgoldberg@home.com>
      
      	* latex.c (latex2e_file_save) : Use sheet_merge_is_corner.
      
      2001-10-16  Adrian Custer <acuster@nature.berkeley.edu>
      
      	* latex.c : split the LaTeX2e exporter into four functions. The base
      	function writes the headers and checks for merges.
      		Add latex2e_write_file_header() which sets up the LaTeX file with user
      			preferences and allows the file to be \input -able (fixes
      			http://bugzilla.gnome.org/show_bug.cgi?id=29506
      			suggestion of Han-Wen Nienhuys).
      		Add latex2e_write_table_header() allows control of the headers and
      			footers for this longtable.
      		Add	latex2e_write_multicolumn_cell() to output cell contents and
      			borders.
      	Please Note:
      		THE LaTeX2e EXPORTER NOW ONLY EXPORTS THE TOP SHEET!
      		The LaTeX file can be modified to print in landscape mode.
      		The file can be now be longer than a single page (uses \longtable,
      			suggestion of Jacek Pilszka on gnome-list).
      		Preliminary support for merges: single row, horizontal merges that do
      			not span past the last column of the table are supported.
      67ae2dda
    • Jody Goldberg's avatar
      set active on sheet or workbook, don't set TRUE/FALSE on sheet. · d72d141e
      Jody Goldberg authored
      2001-10-28  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-define-names.c (name_guru_display_scope) : set active on
      	  sheet or workbook, don't set TRUE/FALSE on sheet.
      	(name_guru_init) : get the wb_scope button.
      d72d141e
  3. 27 Oct, 2001 13 commits
    • Almer S. Tigelaar's avatar
      Tidy view menu. · 686720a1
      Almer S. Tigelaar authored
      2001-10-27  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/GNOME_Gnumeric.xml: Tidy view menu.
      
      	* src/workbook-control-gui.c: Idem.
      686720a1
    • Jukka-Pekka Iivonen's avatar
      Clean up. Added comments and documentation. · eaf0978c
      Jukka-Pekka Iivonen authored
      2001-10-27  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
      	* fn-financial.c: Clean up.  Added comments and documentation.
      eaf0978c
    • Almer S. Tigelaar's avatar
      New, Support for validation. (xml_sax_validation_end): Idem. · 864f2e7a
      Almer S. Tigelaar authored
      2001-10-27  Almer S. Tigelaar  <almer@gnome.org>
      
      	* xml-sax-read.c (xml_sax_validation): New, Support for
      	validation.
      	(xml_sax_validation_end): Idem.
      	(xml_sax_style_condition): New, Support for StyleCondition.
      	(xml_sax_style_condition_chain): New, Helper function.
      	(xml_sax_style_condition_expr): New, support for StyleCondition.
      	(xml_sax_style_condition_constraint): Idem.
      	(xml_sax_style_condition_flags): Idem.
      	(xml_sax_start_element): Add validation and StyleCondition support.
      	(xml_sax_end_element): Idem.
      864f2e7a
    • Almer S. Tigelaar's avatar
      Enable validate menu item. · eb66eee8
      Almer S. Tigelaar authored
      2001-10-27  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/GNOME_Gnumeric.xml: Enable validate menu item.
      
      	* src/validation.[ch]: New, defines a container for
      	validation settings.
      
      	* src/Makefile.am: Add new validation.[ch]
      
      	* src/gnumeric.h: Add validation declaration.
      
      	* src/gui-validation.[ch] (validation_mstyle_get_title): Burn.
      	(validation_generate_msg): Rework slightly to accept a stylecondition
      	instead of an mstyle.
      	(validation_mstyle_get_msg): Burn.
      	(validation_mstyle_get_msg_subst): Burn.
      	(validation_mstyle_set_title_msg): Burn.
      	(validation_get_accept): Request a validation instead of
      	an mstyle. Actually free the automatically generated message.
      
      	* src/mstyle.[ch]: Adjust mstyle_names to include hidden/locked.
      	(mstyle_hash): Remove validation style hashing.
      	(mstyle_element_dump): Don't dump validation message, dump validation
      	refcount instead.
      	(mstyle_element_equal): Remove comparing of style and message.
      	(mstyle_elements_equal): Don't give a mismatched types warning if
      	one of the elements is not set.
      	(mstyle_element_ref): Ref validation, remove reffing of msg.
      	(mstyle_element_unref): Idem for unref.
      	(mstyle_new_default): Don't initialize any validation related
      	element.
      	(mstyle_set_validation): Set a Validation instead of a StyleCondition.
      	(mstyle_get_validation): Idem for get.
      	(mstyle_set_validation_style): Burn.
      	(mstyle_get_validation_style): Burn.
      	(mstyle_set_validation_msg): Burn.
      	(mstyle_get_validation_msg): Burn.
      
      	* src/style-condition.c (style_condition_new_constraint): Initialize
      	from passed parameter!
      
      	* src/style-condition.h: Remove validation enum.
      
      	* src/workbook-control-gui.c (cb_data_validate): Enable.
      	(workbook_control_gui_init): Change index of consolidate
      	menu item.
      
      	* src/workbook-edit.c (wbcg_edit_validate) : Get the StyleCondition
      	from the validation. The validation element must be set on the mstyle.
      	Pass validation, not mstyle, to validation_get_accept.
      	(wbcg_edit_finish): Only call wbcg_edit_validate if the validation
      	element is set on the mstyle.
      
      	* src/xml-io.c (xml_write_style_condition_chain): Generates a
      	StyleConditionChain in XML format.
      	(xml_read_style_condition_chain): Turns an XML description of a
      	StyleConditionChain into a real StyleConditionChain.
      	(xml_write_style): Add validation support.
      	(xml_read_style): Idem.
      
      2001-10-27  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-cell-format.c (validation_style_condition_chain_rebuild): Rename
      	to validation_rebuild_validation.
      	(validation_rebuild_validation): Also set error style, title and message
      	on validation.
      	(cb_validation_error_action_deactivate): Don't set error style on
      	mstyle directly.
      	(cb_validation_operator_deactivate): Adjust for name change.
      	(cb_validation_constraint_type_deactivate): Don't rebuild chain from
      	here, cb_validation_error_action_deactivate will do this.
      	(cb_validation_bounds_changed): Adjust for name change.
      	(cb_validation_flags_changed): Idem.
      	(cb_validation_error_title_msg): Don't set title and message directly
      	on mstyle. Call validation_rebuild_validation instead.
      	(fmt_dialog_init_from_style_condition): Rename to
      	fmt_dialog_init_validation_from_style_condition.
      	(fmt_dialog_init_validation_from_style_condition): Use passed
      	stylecondition instead of re-fetching it from the mstyle.
      	(fmt_dialog_init_validation_page): Correctly initialize everything
      	from the new, single mstyle_validation element.
      eb66eee8
    • Valek Frob's avatar
      Updated russian translation. · 4599567e
      Valek Frob authored
      4599567e
    • Jody Goldberg's avatar
      Only make the sheet local if the input ref did not qualify the sheet. · ca854b69
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (cellref_relocate) : Only make the sheet local if the
      	  input ref did not qualify the sheet.
      
      	* src/parse-util.c (parse_text_value_or_expr) : be more careful.
      ca854b69
    • Jody Goldberg's avatar
      update · 3ee7edc5
      Jody Goldberg authored
      3ee7edc5
    • Wayne Schuller's avatar
      Don't open multiples dialogs, set parent correctly, destroy when print · 551dd551
      Wayne Schuller authored
      2001-10-26  Wayne Schuller  <k_wayne@linuxpower.org>
      
      	* dialog-printer-setup.c: (display_hf_preview), (header_changed),
      	(footer_changed), (fill_hf), (do_setup_hf_menus),
      	(hf_customize_apply), (hf_customize_help), (do_hf_customize),
      	(do_setup_hf), (do_print_destroy_cb), (printer_setup_state_new): Don't
      	  open multiples dialogs, set parent correctly, destroy when print setup
      	  gets destroyed, code cleanups.
      551dd551
    • Jody Goldberg's avatar
      Support --with-python=prog · b97c2d18
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Support --with-python=prog
      b97c2d18
    • Jody Goldberg's avatar
      Committed for Tino Meinen <a.t.meinen@chello.nl> · 418db173
      Jody Goldberg authored
      2001-10-27 Jody Goldberg <jgoldberg@home.com>
      
      	* nl.po : Committed for Tino Meinen <a.t.meinen@chello.nl>
      418db173
    • Jody Goldberg's avatar
      don't have sheet_relocate_objects update the bounds. Save it for · cc1b8d65
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : don't have
      	  sheet_relocate_objects update the bounds.  Save it for sheet_update.
      	  This allows us to use reposition_objects which does double duty to
      	  help with resizing frozen panes too.
      
      	* src/sheet-object.c (sheet_relocate_objects) : only update if requested.
      cc1b8d65
    • Jody Goldberg's avatar
      be smarter about edit_pos placement when there are frozen panes. · 1942b940
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_colrow_select) : be smarter about
      	  edit_pos placement when there are frozen panes.
      1942b940
    • Jody Goldberg's avatar
      move the cursor setting out of event::ENTER and into · 883f74f3
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_event) : move the cursor setting out of
      	  event::ENTER and into scg_set_display_cursor.
      
      	* src/sheet-control-gui.c (scg_set_display_cursor) : new routine.
      	(scg_mode_edit) : reset the display cursors.
      	(scg_mode_edit_object) : ditto.
      	(scg_mode_create_object) : ditto.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_press) : if the key is
      	  unhandled forward it to the canvas items.
      
      	* src/item-cursor.c (item_cursor_autofill_event) : ctrl-autofill
      	  defaults to increment.
      883f74f3
  4. 26 Oct, 2001 9 commits
    • Jukka-Pekka Iivonen's avatar
      Improved documentation. · b3be93c3
      Jukka-Pekka Iivonen authored
      2001-10-26  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * fn-financial.c: Improved documentation.
      b3be93c3
    • Jody Goldberg's avatar
      remove the loops, and recursions. match against formatted values before · fea69d08
      Jody Goldberg authored
      2001-10-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-edit.c (wbcg_edit_finish) : remove the loops, and
      	  recursions.  match against formatted values before expressions, then
      	  fall back to strings.
      
      	* src/parse-util.c (parse_text_value_or_expr) : match against
      	  formatted values before expressions, then fall back to strings.
      
      	* src/cell.c (cell_set_text) : parse_text_value_or_expr takes a ParsePos.
      	* src/sheet.c (sheet_cell_set_text) : ditto.
      	* src/widgets/gnumeric-expr-entry.c
      	  (gnumeric_expr_entry_key_press_event) : ditto.
      	* src/commands.c (cmd_area_set_text_redo) : ditto.
      	(cmd_area_set_text) : ditto.
      	(cmd_search_replace_do_cell) : create a tmp EvalPos to avoid changing
      	  the search data structures.
      
      	* src/expr.c (expr_tree_get_range) : renamed from range_from_expr_tree.
      	  add support for singletons.
      
      	* src/ranges.c (global_range_parse) : tweak slightly.
      
      2001-10-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (format_match_init) : don't include text in the
      	  stock set of formats they should only match numbers.
      fea69d08
    • Jukka-Pekka Iivonen's avatar
      Implemented the frequency 2 for basis 1 (actual/actual). · 05936973
      Jukka-Pekka Iivonen authored
      2001-10-26  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * fn-functions (coupdays): Implemented the frequency 2 for basis 1
              (actual/actual).
      05936973
    • Morten Welinder's avatar
      Make Enter start the search. · 464b4f1f
      Morten Welinder authored
      464b4f1f
    • Morten Welinder's avatar
      Brag. · 62f043eb
      Morten Welinder authored
      62f043eb
    • Morten Welinder's avatar
      fix dif plugin. · d1b5399d
      Morten Welinder authored
      d1b5399d
    • Morten Welinder's avatar
      . · e61979ca
      Morten Welinder authored
      e61979ca
    • Jukka-Pekka Iivonen's avatar
      Added the i18n stuff that got lost in previous commit. · c0cfea81
      Jukka-Pekka Iivonen authored
      2001-10-26  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * mps.c: Added the i18n stuff that got lost in previous commit.
      c0cfea81
    • Jody Goldberg's avatar
      try to clarify things by removing the unused parameter. (autofill_cell) : · 723baf88
      Jody Goldberg authored
      2001-10-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-autofill.c (autofill_compute_delta) : try to clarify
      	  things by removing the unused parameter.
      	(autofill_cell) : Restore and correct the old code.
      723baf88
  5. 25 Oct, 2001 8 commits
    • Andreas J. Guelzow's avatar
      various routines added to keep track of missing observations as well as · 44d0281b
      Andreas J. Guelzow authored
      2001-10-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/analysis-tools.c : various routines added to keep track of missing
      	  observations as well as various routines removed that are no longer
      	  required. Renamed data_set_t to old_data_set_t, and introduced a new
                data_set_t
      	(correlation_tool) : now handles missing observations and permits disconnected
                rectangular data regions
      	(covariance_tool) : ditto
      	(descriptive_stat_tool) : now permits disconnected rectangular data regions
      	(sampling_tool) : now permits samples of multiple datasets as well as multiple
      	  samples.
      	* src/analysis-tools.h : new group_by_t type
      	* src/ranges.c (global_range_parse) : fix bug (relative references were
                evaluated with respect to B2 rather than A1)
      
      2001-10-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* correlation.glade : add `group by area' radio button
      	* covariance.glade : ditto
      	* descriptive-stats.glade: ditto
      	* sampling.glade : added group_by buttons as well as multiple sample entry
      	* dialog-analysis-tools.c (parse_output) : initialize all fields of dao
      	(dialog_tool_init) : add argument specifying the flags for the input
                expression entry widgets
      	(tool_update_sensitivity_multiple_areas_cb) : new routine,
                tool_update_sensitivity_cb for multiple input ranges
      	(corr_tool_ok_clicked_cb) : use global_range_list_parse rather than parse_range,
                call tool with modified argument list
      	(cov_tool_ok_clicked_cb) : ditto
      	(desc_stats_tool_ok_clicked_cb) : ditto
      	(sampling_tool_ok_clicked_cb) : ditto, as well as support for group_by and multiple
                samples
      	* tools.h : changed arguments for correlation_tool, covariance_tool,
                descriptive_stat_tool, and sampling_tool
      44d0281b
    • Morten Welinder's avatar
      Sign after "E" is optional. (char_to_re): New function. · 8a3cbdaa
      Morten Welinder authored
      2001-10-25  Morten Welinder  <terra@diku.dk>
      
      	* src/number-match.c (format_create_regexp): Sign after "E" is
       	optional.
      	(char_to_re): New function.
      	(format_create_regexp): Use char_to_re to quote thousand and
       	decimal separators.
      	(compute_value): Fix sign handling.
      
      2001-10-25  Morten Welinder  <terra@diku.dk>
      
      	* dialog-cell-format.c (fmt_dialog_init_format_page): Plug leak.
      8a3cbdaa
    • Morten Welinder's avatar
      Gripe. · 90a0cdc3
      Morten Welinder authored
      90a0cdc3
    • Morten Welinder's avatar
      Plug leak. (style_selected): Ditto. (size_changed): Ditto. · a8114b59
      Morten Welinder authored
      2000-10-25  Morten Welinder  <terra@diku.dk>
      
      	* widget-font-selector.c (font_selected): Plug leak.
      	(style_selected): Ditto.
      	(size_changed): Ditto.
      	(font_selector_set_style): Ditto.
      	(font_selector_set_strike): Ditto.
      	(font_selector_set_underline): Ditto.
      	(font_selector_set_color): Ditto.
      	(fs_destroy): Ditto.
      a8114b59
    • Jody Goldberg's avatar
      missed commit. · c96541b5
      Jody Goldberg authored
      c96541b5
    • Jody Goldberg's avatar
      fix leaks. · 4ad8a5b7
      Jody Goldberg authored
      2001-10-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (compute_value) : fix leaks.
      
      	* src/sheet-autofill.c (autofill_cell) : fix leak.
      
      	* gnumeric.xsd : add the scaling information.
      
      	* src/xml-io.c (xml_write_print_info) : why weren't we saving scaling
      	  info ?
      	(xml_read_print_info) : or reading back.
      4ad8a5b7
    • Jody Goldberg's avatar
      put things in the right order. (global_range_list_foreach) : new routine · 6e54f904
      Jody Goldberg authored
      2001-10-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.c (global_range_list_parse) : put things in the right
      	  order.
      	(global_range_list_foreach) : new routine designed to replace old
      	  range_list_foreach_full.
      
      	* src/number-match.c (compute_value) : fix old typo, make dates
      	  integers when possible.
      6e54f904
    • Jukka-Pekka Iivonen's avatar
      Extended with moving average description. · 4964fb21
      Jukka-Pekka Iivonen authored
      2001-10-25  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * analysis-tools.sgml: Extended with moving average description.
      4964fb21