1. 06 Jan, 2002 1 commit
  2. 03 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      no need to unref expr. · ac915ccf
      Jody Goldberg authored
      2002-01-03  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_read_style_condition_chain) : no need to unref
      	  expr.
      ac915ccf
  3. 31 Dec, 2001 1 commit
  4. 26 Dec, 2001 1 commit
  5. 21 Dec, 2001 1 commit
  6. 18 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      style_condition_new_expr change. (xml_sax_merge) : parse_range change. · 3e586c5e
      Jody Goldberg authored
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* xml-sax-read.c (xml_sax_style_condition_expr) :
      	  style_condition_new_expr change.
      	(xml_sax_merge) : parse_range change.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* dialog-consolidate.c (construct_consolidate) : parse_range change.
      	* dialog-printer-setup.c (do_fetch_page_info) : ditto.
      
      	* dialog-cell-format.c (validation_rebuild_validation) : no need
      	  to pass sheets to create the style conditions.
      
      	* dialog-advanced-filter.c (dialog_advanced_filter) : Use Range.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* src/gui-clipboard.c (x_selection_handler) :  tweak the
      	  interface for serializing a CellRegion.
      	(x_selection_received) : rework the handling of gnumeric -> gnumeric
      	  operations, change the atom to be the mime type, and add hooks to
      	  prepare for html parsing.
      
      	* src/xml-io.c (cell_copy_new) : new.
      	(xml_read_cell_copy) : new.
      	(xml_cellregion_read) : new.
      	(xml_cellregion_write) : new.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (cellref_name) : avoid temporaries.
      
      	* src/validation.c (validation_link) : new.
      	(validation_unlink) : new.
      
      	* src/ranges.c (parse_range) : clean the interface to actually take a
      	  range.
      	* src/print-info.c (load_range) : parse_range change.
      	* src/sheet-object.c (sheet_object_read_xml) : ditto.
      
      	* gnumeric.mime : Add Applix.
      
      	* src/style-condition.c (style_condition_new_expr) : do not link in
      	  on creation, there is no need for a sheet here.
      	(style_condition_constraint_eval) : ignore SCC_IS_CUSTOM.
      	(style_condition_link) : new.
      	(style_condition_unlink) : new.
      
      	* src/mstyle.c (mstyle_link_sheet) : link validation elements.
      	(mstyle_unlink_sheet) : unlink validation elements.
      3e586c5e
  7. 16 Dec, 2001 1 commit
  8. 14 Dec, 2001 1 commit
  9. 13 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      back port some gnome2 work. · 9036243f
      Jody Goldberg authored
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	s/gnome-xml/libxml/
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/workbook-control-gui.c (wb_control_gui_focus_cur_sheet) : back
      	  port some gnome2 fixes.
      	(cb_notebook_switch_page) : ditto.
      
      	* src/workbook-edit.c (auto_complete_matches) : Use
      	  gtk_editable_get_position.
      
      	* src/plugin-loader.h (gnumeric_plugin_loader_get_type) : fix return type.
      
      	* src/plugin-loader.c : Use PL_GET_CLASS.
      
      	* src/item-bar.c (item_bar_translate) : delete useless.
      	* src/item-cursor.c (item_cursor_translate) : delete useless.
      	* src/item-edit.c (item_edit_translate) : delete useless.
      	(point_is_inside_range) : Use gtk_editable_get_position.
      
      	* src/gui-file.c (gui_file_import) : const.
      
      	* src/complete-sheet.c (free_search) : unused.
      	(complete_sheet_finalize) : protect.
      	(complete_sheet_destroy) : delete.
      
      	* configure.in : explicitly add gdk_pixbuf just in case gnome-print
      	  doesn't.
      
      	* src/sheet-autofill.c (sheet_autofill) : pass singleton_increment to.
      	(sheet_autofill_dir) : here.
      	(autofill_create_fill_items) : here.
      	(autofill_compute_delta) : and here. Use singleton_increment.  Handle
      	  singleton date fills.
      
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/gui-file.c (gui_file_import) : const.
      9036243f
  10. 04 Dec, 2001 2 commits
  11. 27 Nov, 2001 1 commit
  12. 26 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      add OPER_SET. ditto. ditto. (expr_tree_equal) : ditto. (expr_eval_real) : · 217a63bd
      Jody Goldberg authored
      2001-11-25  Jody Goldberg <jody@gnome.org>
      
      	* src/eval.c (handle_tree_deps) : add OPER_SET.
      	* src/expr-name.c (name_refer_circular) :  ditto.
      	* src/expr.c (do_expr_tree_unref) : ditto.
      	(expr_tree_equal) : ditto.
      	(expr_eval_real) : ditto.
      	(expr_rewrite) : ditto.
      	(do_expr_tree_as_string) : ditto.
      	(expr_tree_new_funcall) : use ExprList.
      	(expr_parse_string) : delete.
      	(expr_tree_new_set) : new.
      	(expr_list_unref) : new.
      	(expr_list_equal) : new.
      	(expr_list_as_string) : new.
      
      	* src/gnumeric.h : Add ExprList and ExprSet
      
      	* src/parser.y (expr_parse_str) : renamed from gnumeric_expr_parser.
      	  Add support for multiple expressions.
      	(line) : add support for multiple expressions.
      
      	* src/ranges.c (global_range_parse) : Use expr_parse_str
      	(global_range_list_parse) : rewrite to use expr_parse_str and use the
      	  new multi-expression support in the parser.
      
      	* src/commands.c (cmd_area_set_text_redo) : Use expr_parse_str.
      	* src/xml-io.c (xml_read_style_condition_chain) : ditto.
      	(xml_cell_set_array_expr) : ditto.
      	* src/workbook-view.c (wb_view_auto_expr) : ditto.
      	* src/workbook-edit.c (wbcg_edit_finish) : ditto.
      	* src/sheet-object-widget.c (sheet_widget_checkbox_read_xml) : ditto.
      	* src/parse-util.c (parse_text_value_or_expr) : ditto.
      
      	* src/auto-format.c (do_af_suggest) : Use ExprList instead of GList
      	(do_af_suggest_list) : ditto.
      	* src/collect.c (collect_floats) : ditto.
      	(collect_floats_value) : ditto.
      	(float_range_function) : ditto.
      	* src/consolidate.c (simple_consolidate) : ditto.
      	(colrow_formula_args_build) : ditto.
      	(consolidate_apply) : ditto.
      217a63bd
  13. 22 Nov, 2001 1 commit
  14. 06 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      don't use the flags, store the ab/srel info in the selector. · a3bacc8a
      Jody Goldberg authored
      2001-11-05  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric-expr-entry.c (make_rangesel_text) : don't use the flags,
      	  store the ab/srel info in the selector.
      	(update_rangesel_text) : use the pos from the entry.
      	(gnumeric_expr_entry_rangesel_start) : new routine to find the start
      	  of a range.  Still needs work to support intra-{sheet,book}
      	  references.
      	(gnumeric_expr_entry_key_press_event) : move F4 handling here.
      
      2001-11-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_select_all) : rangesel_bound will call
      	  start if necessary.
      	(scg_colrow_select) : ditto.
      	(scg_rangesel_changed) : improve comments,
      	(scg_rangesel_start) : take a range, and call
      	  gnumeric_expr_entry_rangesel_start.
      	(scg_rangesel_extend_to) : call start if necessary.
      	(scg_rangesel_bound) : ditto.
      
      	* src/parse-util.c (cellref_a1_get) : return a point to 1 past the
      	  last character, or NULL instead of boolean.
      	(cellref_r1c1_get) : ditto.
      	(cellref_get) : ditto.
      
      	* src/parser.y (parse_ref_or_string) : adjust to changes in cellref_get.
      	* src/xml-io.c (xml_read_names) : ditto.
      
      	* Makefile.am : Add BEVERAGES file.
      
      	* src/item-grid.c (item_grid_button_1) : scg_rangesel_start now
      	  supports selecting a range.
      
      	* src/gnumeric-pane.c (gnm_pane_rangesel_start) : just take a range,
      	  it is simplier.
      
      	* src/workbook-edit.c (wbcg_edit_toggle_absolute) : delete.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : just forward the
      	  F4 to the expr-entry it knows what to do.
      a3bacc8a
  15. 05 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      Release 0.75 · 72ed3563
      Jody Goldberg authored
      2001-11-05  Jody Goldberg <jgoldberg@home,com>
      
      	* Release 0.75
      72ed3563
  16. 30 Oct, 2001 1 commit
  17. 29 Oct, 2001 1 commit
  18. 27 Oct, 2001 1 commit
    • 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
  19. 25 Oct, 2001 2 commits
    • 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
    • Wayne Schuller's avatar
      New canvas based header and footer preview widget. The customize · f0770524
      Wayne Schuller authored
      2001-10-21  Wayne Schuller <k_wayne@linuxpower.org>
      
      	* dialog-printer-setup.c : New canvas based header and footer preview
      	  widget. The customize header/footer widget now also uses a
      	  GnomePropertyBox for UI consistency.
      	* print.glade : Updated.
      	* hf-config.glade : Updated.
      
      2001-10-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.c (range_trim) : decrease lobotomization factor.
      
      2001-10-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr-name.c (named_expr_new) : renamed from add_real, simplified
      	  interface.
      	(expr_name_add) : take and store a parse position.
      	(expr_name_create) : ditto.
      	(expr_name_destroy) : adjust to stored parsepos.
      	(expr_name_unlink) : ditto.
      	(expr_name_sheet2wb) : ditto.
      	(expr_name_init) : ditto.
      	(expr_name_as_string) : renamed from expr_name_value.
      	(expr_name_eval) : renamed from eval_expr_name.
      
      	s/eval_expr/expr_eval/
      
      	* src/expr.c (do_expr_tree_to_string) : Use value_as_string in most
      	  places.
      	* src/value-sheet.c (value_cellrange_get_as_string) : delete bogus
      	  useless arg.
      	(encode_cellref) : delete redundant.
      
      	* src/parse-util.c (cellref_name) : ICK!  XL wraps relative references
      	  that are out of bounds.
      f0770524
  20. 19 Oct, 2001 1 commit
  21. 08 Oct, 2001 1 commit
  22. 07 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      disconnect the combo handlers before we destroy the state so that their · 613f3562
      Jody Goldberg authored
      2001-10-06  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-graph-guru.c (graph_guru_state_destroy) : disconnect the
      	  combo handlers before we destroy the state so that their callbacks
      	  don't trigger during destruction.
      	(vector_state_set_entry) : merge back into.
      	(vector_state_fill) : here.  Use the index rather than a cached
      	  xmlNode *.
      	(vector_state_new) : rename 'index' to 'dim_index' to be clearer.
      	(graph_guru_select_plot) : store the index rather than an xmlNode *.
      	(graph_guru_select_series) : store the index rather than an xmlNode *.
      	(graph_guru_init_data_page) : the graph caches the spec, not us.
      	(graph_guru_get_plot) : new utility.
      	(cb_plot_selection_changed) : use the new utility.
      	(graph_guru_get_series) : new utility.
      	(cb_series_selection_changed) : use the new utility.
      	(cb_series_entry_changed) : support lookup, and warn about renaming.
      	(cb_plot_entry_changed) : support lookup, and warn about renaming.
      	(cb_graph_guru_focus) : use graph_guru_get_series.
      	(dialog_graph_guru) : init the combos to NULL in case we destroy
      	  before initializing them.
      
      2001-10-07  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in (EXTRA_GNOME_{CFLAGS,LIBS}) : rename to something
      	  clearer like GNUMERIC_{CFLAGS,LIBS})
      	* **/Makefile.am : Use them in place of EXTRA_* and GNOME_INCLUDEDIR.
      
      2001-10-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c (gnm_graph_get_spec) : Add a force_update.
      	(gnm_graph_series_delete) : new
      	(gnm_graph_series_set_dimension) : new
      	(gnm_graph_exception) : new.
      	(gnm_graph_vector_from_string) : delete.
      613f3562
  23. 26 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      Add a sample for the data page. Make the lists of plots and series. · e86e67b2
      Jody Goldberg authored
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-graph-guru.c : Add a sample for the data page.
      	  Make the lists of plots and series.  rewrite the the glade file
      	  in preparation for constructing the exprEntries.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-format.c (cb_protection_locked_toggle) : new.
      	(cb_protection_hidden_toggle) : new.
      	(fmt_dialog_init_protection_page) : new.
      	(fmt_dialog_impl) : call fmt_dialog_init_protection_page.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_styleregion_start) : Add hidden & locked.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-xf.h (_BiffXFData) : locked and hidden are booleans.
      	* ms-excel-read.c (biff_xf_data_new) : read them that way.
      	(ms_excel_get_style_from_xf) : store the protection flags.
      	* ms-excel-write.c (build_xf_data) : ditto.  Add indent.
      
      	* ms-chart.c (BC_R(seriestext)) : handle manually entered series names.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric.xsd : The style flags are not required, it will eventually
      	  be possible to define styles that only change some of the
      	  attributes.  Add locked & hidden.
      
      	* src/xml-io.c (xml_write_style) : write locked & hidden.
      	(xml_read_style) : read them too.
      
      	* src/mstyle.c (mstyle_element_equal) : support locked and hidden.
      	(mstyle_{get,set}_content_{locked,hidden}) : We have not implemented
      	  it yet, but storing the info is easy enough.
      	(mstyle_new_default) : Add locked & hidden.
      e86e67b2
  24. 25 Sep, 2001 1 commit
  25. 15 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      reference v8, and make Max{Col,Row} optional. · e2b84d4e
      Jody Goldberg authored
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric.xsd : reference v8, and make Max{Col,Row} optional.
      
      	* src/xml-io.c : bump the name space version to reflect the schema
      	  and move the location of the dtd and schema to somewhere we control.
      	(xml_workbook_write) : reference the schema.
      	(xml_sheet_write) : The name space is always available already.
      e2b84d4e
  26. 21 Aug, 2001 3 commits
  27. 12 Aug, 2001 1 commit
    • Jody Goldberg's avatar
      Release 0.69 · c3e8a80b
      Jody Goldberg authored
      2001-08-11  Jody Goldberg <jgoldberg@home.com>
      
      	* Release 0.69
      c3e8a80b
  28. 01 Aug, 2001 1 commit
  29. 18 Jul, 2001 1 commit
  30. 17 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      xml sax import for the new frozen pane support. · 11ef7202
      Jody Goldberg authored
      2001-07-16  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_attr_cellpos) : new function.
      	(xml_sax_sheet_layout) : new function.
      	(xml_sax_sheet_freezepanes) : new function.
      	(xml_sax_start_element) : handle the new states.
      11ef7202
  31. 14 Jul, 2001 1 commit
    • Chyla Zbigniew's avatar
      New. (error_info_new_printf): Use error_info_new_vprintf. · 3537beaf
      Chyla Zbigniew authored
      * src/error-info.[ch]
      (error_info_new_vprintf): New.
      (error_info_new_printf): Use error_info_new_vprintf.
      (error_info_peek_message): Constified.
      
      * src/command-context-priv.h (struct CommandContextClass): Added
      error.error_info virtual.
      
      * src/command-context.[ch] (gnumeric_error_error_info): New.
      
      * src/io-context.[ch]
      (gnumeric_io_error_system, gnumeric_io_error_read,
      gnumeric_io_error_save): Use gnumeric_io_error_string.
      (gnumeric_io_error_string): New.
      (gnumeric_io_error_display): Renamed from
      gnumeric_io_error_info_display. Use CommandContext's virtual -
      gnumeric_error_error_info.
      (gnumeric_io_error_info_clear, gnumeric_io_has_error_info): Removed.
      s/gnumeric_io_clear_error/gnumeric_io_error_clear
      s/gnumeric_io_error_info_push/gnumeric_io_error_push/
      s/gnumeric_io_error_info_pop/gnumeric_io_error_pop/
      
      * src/gnumeric-util.c
      (ctree_insert_error_info): Automatically expand most nodes (don't expand
      nodes with siblings).
      (gnumeric_error_info_dialog_show_full): Renamed from
      gnumeric_error_info_dialog_show. Display only a tree with error
      details. Don't hardcode ctree column width, make ctree look nicer (no
      lines, triangles as icons).
      (gnumeric_error_info_dialog_show): New function, displays only main part
      of the error and (optionally) "Show details" button. Use standard
      gnome_message_box.
      
      * src/plugin-util.c (gnumeric_fopen_error_info,
      gnumeric_mmap_error_info): Use error_info_new_from_errno.
      (gnumeric_open_error_info): Use error_info_new_from_errno,
      added missing *ret_error.
      
      * src/workbook-control-gui.c (wbcg_error_error_info): New
      (implementation of CommandContext's virtual).
      (workbook_control_gui_ctor_class): Use it here.
      
      * src/workbook-view.c (wb_view_save_as, wb_view_save,
      wb_view_open_custom): Don't use removed gnumeric_io_has_error_info.
      3537beaf
  32. 29 Jun, 2001 1 commit
  33. 27 Jun, 2001 1 commit
  34. 21 Jun, 2001 2 commits
    • Jody Goldberg's avatar
      This is even cleaner. · 7e0ada84
      Jody Goldberg authored
      7e0ada84
    • Jody Goldberg's avatar
      patch some gcc3 warnings. · b1e93eff
      Jody Goldberg authored
      2001-06-21  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_not_used_old_array_spec) : patch some gcc3
      	  warnings.
      
      2001-06-21  Jody Goldberg <jgoldberg@home.com>
      
      	* applix-read.c (applix_read_view) : patch some gcc3 warnings.
      b1e93eff
  35. 29 May, 2001 1 commit