1. 19 Mar, 2006 2 commits
    • Jody Goldberg's avatar
      init valid to false in case value_coerce_to_number fails and does not set · d4b73077
      Jody Goldberg authored
      
      2006-03-18  Jody Goldberg <jody@gnome.org>
      
      	* src/graph.c (gnm_go_data_vector_get_value) : init valid to false
      	  in case value_coerce_to_number fails and does not set it.
      
      	* src/gnumeric-pane.c (cb_sheet_object_view_destroyed) : handle life
      	  cycle change.
      
      2005-12-28  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c : Move to GsfDocMetaData
      
      	* src/commands.c (cmd_change_meta_data*) : re-work for new metadata
      	  structure.
      
      	* src/Makefile.am : remove the defunct summary.[ch]
      
      	* src/GNOME_Gnumeric-gtk.xml.in : enable the new dialog in place of
      	  the old one.
      	* src/wbcg-actions.c : ditto.
      d4b73077
    • Morten Welinder's avatar
      Fix crash exposed by foocanvas fixes. [#335052] · 9781157f
      Morten Welinder authored
      2006-03-18  Morten Welinder  <terra@gnome.org>
      
      	* src/gnumeric-pane.c (cb_sheet_object_view_destroyed): Fix crash
      	exposed by foocanvas fixes.  [#335052]
      9781157f
  2. 18 Mar, 2006 2 commits
    • Morten Welinder's avatar
      Changed parameter types to gnm_float. · ce2d05dc
      Morten Welinder authored
      2006-03-18  Morten Welinder  <terra@gnome.org>
      
      	* src/mathfunc.c (combin, permut): Changed parameter types to
      	gnm_float.
      
      2006-03-18  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_roman): Fix error cases.
      	(gnumeric_combin): Ditto.
      ce2d05dc
    • Morten Welinder's avatar
      Take reference wb in case a URI is relative. All callers changed. · f09dc013
      Morten Welinder authored
      2006-03-18  Morten Welinder  <terra@gnome.org>
      
      	* src/parse-util.c (wbref_parse): Take reference wb in case a URI
      	is relative.  All callers changed.
      
      	* src/application.c (cb_workbook_uri): Renamed from
      	cb_workbook_name.
      	(gnm_app_workbook_get_by_uri): Renamed from
      	gnm_app_workbook_get_by_name.
      	(gnm_app_workbook_get_by_name): New function that tries URI,
      	absolute filename, and relative URI.
      f09dc013
  3. 17 Mar, 2006 1 commit
    • Morten Welinder's avatar
      s/close/closure/. (The former is reserved by libc.) (cb_workbook_index): · 04b8968f
      Morten Welinder authored
      2006-03-17  Morten Welinder  <terra@gnome.org>
      
      	* src/application.c (gnm_app_workbook_get_by_index,
      	gnm_app_workbook_get_by_name): s/close/closure/.  (The former is
      	reserved by libc.)
      	(cb_workbook_index): Actually set a result.
      
      	* src/item-edit.c (item_edit_dispose): Rename from
      	item_edit_finalize and hook up as such.  Otherwise it may not get
      	run.
      	* src/item-bar.c (item_bar_dispose): Ditto.
      
      	* src/preview-grid.c (preview_grid_dispose): Rename from
      	preview_grid_destroy and hook up as such.
      
      2006-03-17  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_effect, gnumeric_nominal): Improve for
      	weird nper.
      	(gnumeric_dollarde, gnumeric_dollarfr): Fix for negative amounts.
      	Improve Excel compatibility.
      04b8968f
  4. 16 Mar, 2006 4 commits
    • Morten Welinder's avatar
      Even though the third argument of style_border_fetch isn't used yet, get · 3c0ea2d6
      Morten Welinder authored
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* ms-excel-read.c (excel_get_style_from_xf): Even though the third
      	argument of style_border_fetch isn't used yet, get it right.
      
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.h (STYLE_BORDER_LOCATION_TO_STYLE_ELEMENT): New
      	translation macro that produces a value of the right type.
      
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* dialog-cell-format.c (border_get_mstyle): Don't add a bogus
      	MSTYLE_BORDER_TOP to the location.
      3c0ea2d6
    • Morten Welinder's avatar
      Use STYLE_BORDER_LEFT, not MSTYLE_BORDER_LEFT, for argument to · 3161f1c8
      Morten Welinder authored
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* src/wbc-gtk.c (cb_border_activated): Use STYLE_BORDER_LEFT, not
      	MSTYLE_BORDER_LEFT, for argument to style_border_get_orientation!
      	Ditto for _RIGHT.
      3161f1c8
    • Morten Welinder's avatar
      Silence a "sparse" warning. · 7602497f
      Morten Welinder authored
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* src/cell.c (cell_copy): Silence a "sparse" warning.
      
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* ms-excel-read.c (excel_read_EXTERNNAME): Use NULL, not 0.
      	* ms-biff.c (ms_biff_query_next): Ditto.
      	(ms_biff_query_destroy): Ditto.
      	(ms_biff_put_new): Ditto.
      	(ms_biff_put_len_next): Ditto.
      	(ms_biff_put_len_commit): Ditto.
      7602497f
    • Morten Welinder's avatar
      Compare valign with the result of gnm_style_get_align_v, not · ab09a55e
      Morten Welinder authored
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* src/wbcg-actions.c (wbcg_set_selection_valign): Compare valign
      	with the result of gnm_style_get_align_v, not
      	gnm_style_get_align_h.
      
      	* src/cell.h (cell_eval): Fix "sparse" warning and add "do { }
      	while(0)" wrapper.
      
      	* src/auto-format.c (do_af_suggest): Don't compare value types
      	against GNM_EXPR_OP_ARRAY_CORNER and GNM_EXPR_OP_ARRAY_ELEM.
      
      	* src/gnm-style-impl.h (GnmStyle): The v_align is not of type
      	GnmHAlign. Really.
      
      	* src/xml-sax-read.c (xml_sax_object_start): Use NULL, not FALSE.
      	* src/xml-io.c (xml_read_sheet_object): Ditto.
      	* src/expr.c (gnm_expr_top_is_err): Ditto.
      
      2006-03-16  Morten Welinder  <terra@gnome.org>
      
      	* openoffice-read.c (od_chart_grid): Use GOG_AXIS_UNKNOWN (== -1),
      	not UNKNOWN (== 10).
      ab09a55e
  5. 15 Mar, 2006 4 commits
  6. 14 Mar, 2006 5 commits
  7. 13 Mar, 2006 2 commits
    • Morten Welinder's avatar
      Make the parse_expr method return a texpr. All users changed. · 5b1e54ac
      Morten Welinder authored
      2006-03-13  Morten Welinder  <terra@gnome.org>
      
      	* ms-container.h (MSContainerClass): Make the parse_expr method
      	return a texpr.  All users changed.
      
      	* ms-formula-read.c (excel_parse_formula): Make this return a
      	texpr.  All users fixed.
      	* ms-container.c (ms_container_parse_expr): Ditto.
      	* ms-obj.c (ms_obj_attr_new_expr): Ditto.
      5b1e54ac
    • Morten Welinder's avatar
      Handle "protected" attribute. Ditto. Ditto. Patch from Klokan Petr Pridal. · 9a54ce84
      Morten Welinder authored
      2006-03-13  Morten Welinder  <terra@gnome.org>
      
      	* src/xml-io.c (xml_sheet_read): Handle "protected" attribute.
      	* src/xml-sax-read.c (xml_sax_sheet_start): Ditto.
      	* src/xml-sax-write.c (xml_write_sheet): Ditto.
      	Patch from Klokan Petr Pridal.  [#334257]
      9a54ce84
  8. 12 Mar, 2006 1 commit
  9. 11 Mar, 2006 5 commits
    • Raphael Higino's avatar
      Updated Brazilian Portuguese translation · 0ee0c8d0
      Raphael Higino authored
      0ee0c8d0
    • Morten Welinder's avatar
      fix? · 6e6527e3
      Morten Welinder authored
      6e6527e3
    • Jody Goldberg's avatar
      minor warning suppression. · b5cf3dd1
      Jody Goldberg authored
      
      2006-03-10  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_sendto) : minor warning suppression.
      b5cf3dd1
    • Jody Goldberg's avatar
      back port handling of AttrChoose and AttrGoto · 3eeb9171
      Jody Goldberg authored
      2006-03-10  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (excel_parse_formula) : back port handling of
      	  AttrChoose and AttrGoto
      
      2006-03-10  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (excel_parse_formula) : don't forget to re-push
      	  the new set with the extra element.
      3eeb9171
    • Morten Welinder's avatar
      New type for top-level expressions. Use a top-level expression here. · ed91f989
      Morten Welinder authored
      2006-03-10  Morten Welinder  <terra@gnome.org>
      
      	* src/expr.h (GnmExprTop): New type for top-level expressions.
      	* src/clipboard.h (GnmCellCopy): Use a top-level expression here.
      	Rename it to "texpr" to make sure we catch all users.  All users
      	changed.
      	* src/dependent.h (GnmDependent): Ditto.
      	* src/expr-name.h (GnmNamedExpr): Ditto.
      	* src/style-conditions.h (GnmStyleCond): Ditto.
      	* src/validation.h (GnmValidation): Ditto.
      
      	* src/expr.c (gnm_expr_top_new, gnm_expr_top_new_constant,
      	gnm_expr_top_ref, gnm_expr_top_unref, gnm_expr_top_unwrap,
      	gnm_expr_top_is_shared, gnm_expr_top_is_err,
      	gnm_expr_top_is_rangeref, gnm_expr_top_get_constant,
      	gnm_expr_top_contains_subtotal, gnm_expr_top_referenced_sheets,
      	gnm_expr_top_first_funcall, gnm_expr_top_get_boundingbox,
      	gnm_expr_top_rewrite, gnm_expr_top_get_ranges, gnm_expr_top_equal,
      	gnm_expr_top_as_string, gnm_expr_top_as_gstring,
      	gnm_expr_top_eval, gnm_expr_top_get_ranges): New functions.  Many
      	non-top versions made static.
      	(gnm_expr_copy): New function replacing gnm_expr_ref.  (Still
      	simply refs, but not for long.)
      
      	*/*.c: Massive changes adapting to the above.
      ed91f989
  10. 10 Mar, 2006 3 commits
  11. 09 Mar, 2006 1 commit
    • Morten Welinder's avatar
      Take GnmCell instead of its value for target. Use formatted value in !src · 3a834dc4
      Morten Welinder authored
      2006-03-09  Morten Welinder  <terra@gnome.org>
      
      	* src/sheet-filter.c (filter_expr_eval): Take GnmCell instead of
      	its value for target.  Use formatted value in !src case.
      	(filter_expr_init): String EQ and NE should not coerce to number.
      	(collect_unique_elements): Limit menu text length.  Change hash
      	key to formatted value instead of value.  Store formatted value,
      	not GnmValue, in model.
      	All this fixes #333809.
      3a834dc4
  12. 08 Mar, 2006 2 commits
  13. 07 Mar, 2006 3 commits
  14. 06 Mar, 2006 3 commits
  15. 05 Mar, 2006 1 commit
  16. 04 Mar, 2006 1 commit
    • Eduardo Lima's avatar
      delete. All callers changed to dialog_doc_metadata_set_label_text. · d6edd5c2
      Eduardo Lima authored
      2006-03-04  Eduardo Lima  <eduardo.lima@indt.org.br>
      	* dialog-doc-metadata.c:
      	(dialog_doc_metadata_set_label_text_with_gsf_prop_value): delete.
      	All callers changed to dialog_doc_metadata_set_label_text.
      	(dialog_doc_metadata_get_gsf_prop_value): delete.
      	(dialog_doc_metadata_get_gsf_prop_value_as_str): delete.
      	(dialog_doc_metadata_get_value_as_str): renamed to
      	dialog_doc_metadata_get_prop_value_as_str. All callers changed.
      d6edd5c2