1. 01 Nov, 2001 7 commits
    • Jody Goldberg's avatar
      generalize and fix leak. (cb_add_clicked) : generalize. (cb_select_row) : · 2ab27ef1
      Jody Goldberg authored
      2001-11-01  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-autocorrect.c (cb_remove_clicked) : generalize and fix leak.
      	(cb_add_clicked) : generalize.
      	(cb_select_row) : generalize.
      	(autocorrect_init_exception_list) : new.
      	(exceptions_callback) : clean up slightly.
      	(ac_button_toggled) : simplify.
      	(ac_dialog_toggle_init) : new.
      	(dialog_autocorrect) : simplify.  Rather than saving the content
                and restoring on cancel, only store the new values on <OK>.
      
      2001-11-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-edit.c (entry_changed) : autocomplete is in the wbv now.
      	(wbcg_edit_start) : ditto.
      
      	* src/sheet-style.c (rstyle_apply) : fix some silliness in the new
      	  code, but more work to come.
      
      	* src/commands.c (cmd_set_text) : Yay! autocorrect is no longer tied
      	  to the gui.
      
      	* src/application.c (application_init) : Init autocorrection.
      
      	* src/workbook-view.c (wb_view_set_arg) : add do_auto_completion.
      	  Make this a per workbook-view, persistent attribute.  We still
      	  initialize from gnome-config, butthis should make things easier
      	  for users.
      	(wb_view_get_arg) : ditto.
      	(workbook_view_class_init) : ditto.
      2ab27ef1
    • Morten Welinder's avatar
      White space... · a383aea0
      Morten Welinder authored
      a383aea0
    • Morten Welinder's avatar
      Even more white space. · f98b359a
      Morten Welinder authored
      f98b359a
    • Morten Welinder's avatar
      White space... · 0ce2d2de
      Morten Welinder authored
      0ce2d2de
    • Morten Welinder's avatar
      Use value_peek_string. · 738b0e77
      Morten Welinder authored
      2001-11-01  Morten Welinder  <terra@diku.dk>
      
      	* fn-lookup.c (gnumeric_address): Use value_peek_string.
      
      	* fn-math.c (gnumeric_countif, gnumeric_sumif): Use
      	value_peek_string.
      
      	* fn-eng.c (val_to_base): Make this suck somewhat less.  Still a
      	lot to do.
      
      	* fn-information.c (gnumeric_countblank): Use value_area_get_width
      	and value_area_get_height.
      
      	* fn-string.c (gnumeric_text): Use value_peek_string.
      738b0e77
    • Jukka-Pekka Iivonen's avatar
      Added Filter submenu. · c0f1addc
      Jukka-Pekka Iivonen authored
      2001-11-01  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/GNOME_Gnumeric.xml, src/worbook-control-gui.c: Added Filter
              submenu.
      c0f1addc
    • Jukka-Pekka Iivonen's avatar
      Fixed the help button. Pressing help does not kill the dialog any more. · a9921841
      Jukka-Pekka Iivonen authored
      2001-11-01  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * dialog-autosave.c (dialog_autosave): Fixed the help button.
              Pressing help does not kill the dialog any more.
      a9921841
  2. 31 Oct, 2001 10 commits
  3. 30 Oct, 2001 6 commits
    • Andreas J. Guelzow's avatar
      new routine testing whether a range is contained in another, similar to · 44a5ba1b
      Andreas J. Guelzow authored
      2001-10-30  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/ranges.c/h (global_range_contained) : new routine testing whether
      	  a range is contained in another, similar to range_contained.
      
      2001-10-30  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-solver.c : rewritten as a semi-modal guru using the expr-entry
      	  widget
      	* solver.glade : redesign dialog as semi-modal guru
      44a5ba1b
    • Andreas J. Guelzow's avatar
      *** empty log message *** · 570010d9
      Andreas J. Guelzow authored
      570010d9
    • Morten Welinder's avatar
      #include <config.h> Ditto. · 7422e006
      Morten Welinder authored
      2001-10-30  Morten Welinder  <terra@diku.dk>
      
      	* src/validation.c: #include <config.h>
      	* src/style-condition.c: Ditto.
      7422e006
    • Jody Goldberg's avatar
      trivial optimization to speed col/row ins/del. · 1b6b04e7
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (colrow_move) : trivial optimization to speed col/row
      	  ins/del.
      
      	* src/sheet-style.c (rstyle_ctor) : store the sheet to look up partial
      	  styles and use sheet_style_find for complete styles.
      	(sheet_style_set_range) : signature change to rstyle_ctor.
      	(sheet_style_set_pos) : ditto.
      	(sheet_style_apply_range) : ditto.
      	(sheet_style_find) : new.
      	(sheet_style_shutdown) : unref the styles in the sheet hash.
      	(cb_accumulate_count) : new.
      	(cb_find_max) : new.
      	(sheet_style_most_common_in_row) : new utility for use in the XL
      	  exporter.
      1b6b04e7
    • Jody Goldberg's avatar
      re-enable compression. · e33c6346
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (gnumeric_xml_write_workbook) : re-enable compression.
      e33c6346
    • Jody Goldberg's avatar
      release 0.74 · 27e5231b
      Jody Goldberg authored
      27e5231b
  4. 29 Oct, 2001 6 commits
    • Jody Goldberg's avatar
      fix long standing var alias. · 4cc1ed9f
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/value.c (value_get_as_string) : fix long standing var alias.
      4cc1ed9f
    • Morten Welinder's avatar
      Fix for large ranges. · c6356356
      Morten Welinder authored
      2001-10-29  Morten Welinder  <terra@diku.dk>
      
      	* src/eval.c (add_range_dep): Fix for large ranges.
      c6356356
    • Jody Goldberg's avatar
      new function to chain to parent. (ms_excel_chart) : use it here. · 5366cac5
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (chart_get_fmt) : new function to chain to parent.
      	(ms_excel_chart) : use it here.
      
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (format_create_regexp) : escape escaped
      	  characters in regexps.
      5366cac5
    • 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
      Release 0.73 · 11284341
      Jody Goldberg authored
      11284341
    • 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
  5. 28 Oct, 2001 1 commit
  6. 27 Oct, 2001 9 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
    • 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
    • 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
      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
  7. 26 Oct, 2001 1 commit