1. 17 Jan, 2006 1 commit
  2. 13 Jan, 2006 2 commits
  3. 09 Jan, 2006 1 commit
  4. 06 Jan, 2006 2 commits
    • Morten Welinder's avatar
      Add wbc argument and pass it on to update_after_action. All callers · e0788b0d
      Morten Welinder authored
      2006-01-06  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_search_replace_update_after_action): Add wbc
      	argument and pass it on to update_after_action.  All callers
      	changed.
      	(cmd_search_replace_do): Add wbc argument and pass it on to
      	cmd_search_replace_update_after_action.  All callers changed.
      e0788b0d
    • Morten Welinder's avatar
      Backport. · bcb6e035
      Morten Welinder authored
      2006-01-06  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_char): Plug leak.  Handle crazy input
      	values.
      	(gnumeric_unichar): Handle crazy input values.
      	(gnumeric_left, gnumeric_right, gnumeric_mid): Handle crazy values
      	for length.
      	(gnumeric_rept): Handle crazy values for count.  Speed up.  Handle
      	out-of-memory gracefully.
      	(gnumeric_find): Handle crazy values for start.
      	(gnumeric_replace, gnumeric_search): Make UTF-8 safe and fix a
      	pile of other bugs.
      	(gnumeric_fixed): Fix division-by-zero problem.  Handle crazy
      	decimals count.
      	(gnumeric_substitute): Don't access freed memory.  Always make
      	sure to return a string result.  Handle crazy values for num.
      bcb6e035
  5. 04 Jan, 2006 1 commit
  6. 02 Jan, 2006 1 commit
  7. 01 Jan, 2006 1 commit
    • Morten Welinder's avatar
      More backporting. · 64fe46cb
      Morten Welinder authored
      	* Fix crash on xml load.  [#323888]
      	* Fix file corruption on saving scenarios.  [#323927]
      	* Fix a pile of leaks in solver and scenario saving and loading.
      	* Fix leaks in solver dialog.
      	* Fix parser leak.  [#301127]
      64fe46cb
  8. 31 Dec, 2005 1 commit
    • Morten Welinder's avatar
      Backport a pile of fixes from HEAD relating to functions: · 70636c63
      Morten Welinder authored
      	* Fix COUNTBLANK.
      	* Fix ATAN2(0,0).
      	* Make AND, OR, and XOR ignore strings as claimed.
      	* Fix TRIM for non-ASCII case with spaces at end.
      	* Improve Excel compatibility of BIN2DEC, BIN2HEX, and
      	  BIN2OCT.  [#323787]
      	* Fix CONVERT crash.  [#323678]
      70636c63
  9. 17 Nov, 2005 1 commit
    • Jody Goldberg's avatar
      Some minor polish · 31addce2
      Jody Goldberg authored
      
      2005-11-16  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c : Some minor polish
      
      2005-11-16  Jody Goldberg <jody@gnome.org>
      
      	* src/GNOME_Gnumeric-gtk.xml.in : Disable the IRC link it does not
      	  work on most systems.
      	* src/wbcg-actions.c (cb_help_web) : www.gnumeric.org is currently
      	  broken.  Fall back to the primary url.
      31addce2
  10. 14 Nov, 2005 1 commit
    • Jody Goldberg's avatar
      Release 1.6.1 · fb0f6239
      Jody Goldberg authored
      
      2005-11-14  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.6.1
      fb0f6239
  11. 13 Nov, 2005 1 commit
    • Jean Bréfort's avatar
      use localized decimal separator [#80139]. · 8c3616bd
      Jean Bréfort authored
      2005-11-13  Jean Brefort  <jean.brefort@normalesup.org>
      
      	* src/gnumeric-canvas.c: (gnm_canvas_key_press),
      	(gnm_canvas_commit_cb): use localized decimal separator [#80139].
      	* src/gnumeric-canvas.h:
      	* src/widgets/gnumeric-expr-entry.c: (cb_gee_key_press_event): ditto.
      8c3616bd
  12. 11 Nov, 2005 1 commit
    • Morten Welinder's avatar
      Implement. (lotus_parse_formula_old): Handle operators in the switch as · 1b7dfb5d
      Morten Welinder authored
      2005-11-10  Morten Welinder  <terra@gnome.org>
      
      	* lotus-formula.c (wk1_irr_func): Implement.
      	(lotus_parse_formula_old): Handle operators in the switch as the
      	ordinals differ from the new ones.
      	(lotus_parse_formula_new): Correctly map from the names that Lotus
      	1-2-3 uses to the ones we do.
      	(lotus_formula_init, lotus_formula_shutdown): New functions.
      	(make_function): Use a table instead of a stupid linear search.
      
      	* boot.c (go_plugin_init, go_plugin_shutdown): New functions.
      1b7dfb5d
  13. 10 Nov, 2005 1 commit
    • Morten Welinder's avatar
      Free ->clipboard_cut_range. · 0411a8b5
      Morten Welinder authored
      2005-11-10  Morten Welinder  <terra@gnome.org>
      
      	* src/application.c (gnumeric_application_finalize): Free
      	->clipboard_cut_range.
      0411a8b5
  14. 08 Nov, 2005 1 commit
  15. 07 Nov, 2005 3 commits
  16. 06 Nov, 2005 1 commit
    • Jody Goldberg's avatar
      Enable sax importer for charts. · 36dee643
      Jody Goldberg authored
      Still need to do the other objects.
      
      2005-11-05  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c : Delete the original DOM based export.  The pseudo-sax
      	  based variant is faster and lighter and there's not much point in
      	  maintaining two code bases.
      
      	* src/gnm-so-filled.c (gnm_so_filled_write_xml_dom) : delete.
      	* src/gnm-so-line.c (gnm_so_line_write_xml_dom) : delete.
      	* src/gnm-so-polygon.c (gnm_so_polygon_write_xml_dom) : delete.
      	* src/sheet-object-cell-comment.c (cell_comment_write_xml_dom) : delete.
      	* src/sheet-object-image.c (sheet_object_image_write_xml_dom) : delete.
      	* src/sheet-object-widget.c
      	(sheet_widget_frame_write_xml_dom) : delete.
      	(sheet_widget_button_write_xml_dom) : delete.
      	(sheet_widget_adjustment_write_xml_dom) : delete.
      	(sheet_widget_checkbox_write_xml_dom) : delete.
      	(sheet_widget_list_base_write_xml_dom) : delete.
      	* src/sheet-object-graph.c (sheet_object_graph_write_xml_dom) : delete.
      	(sheet_object_graph_prep_xml_sax) : new.
      	(sog_xml_finish) : new.
      	(sheet_object_graph_write_object) : use the sax interface.
      
      	* src/xml-sax-read.c (xml_sax_wb) : ICK.  We are actually depenent on
      	  the prefix for the namespace.  The change from gmr -> gnm broke the
      	  version test here.  Add gnm to fix it.
      	(xml_sax_wb_sheetname) : be more flexible and only create a sheet if
      	  we really need it.
      	(xml_sax_object_start) : implement.
      36dee643
  17. 01 Nov, 2005 1 commit
  18. 31 Oct, 2005 1 commit
  19. 25 Oct, 2005 1 commit
  20. 24 Oct, 2005 1 commit
    • Jody Goldberg's avatar
      cut-n-paste-o (r1c1_get_index) : == max is ok, we're about to decrement. · 34c9ea26
      Jody Goldberg authored
      2005-10-23  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (r1c1_rangeref_parse) : cut-n-paste-o
      	(r1c1_get_index) : == max is ok, we're about to decrement.
      
      	* src/parser.y (yylex) : special case check for #N/A which does not
      	  end in '!' or '?'.
      	(cellref) : Allow RANGEREF : RANGEREF
      
      2005-10-23  Jody Goldberg <jody@gnome.org>
      
      	* excel-xml-read.c (xl_xml_col_start) :
      	  - add hidden.
      	  - support spans
      	  - support styles
      	  - support sizes (still off by what seems like a constant factor ??
      	    of 12.5% ??)
      	(xl_xml_row_start) : ditto.
      	(xl_xml_pane) : init edit pos to A1.
      	(xl_xml_selection) : new. handle selection
      	(xl_xml_editpos_col) : new. handle edit position
      	(xl_xml_editpos_row) : new. ditto.
      	(xl_xml_data_start) : load Data::Type here
      	(xl_xml_cell_start) : not here.  Store the expr.
      	(xl_xml_data_end) : store exprs and values.
      	(xl_xml_named_range) : new.  No entirely functional.
      	  It does not handle implicit fwd declatation of names.
      34c9ea26
  21. 18 Oct, 2005 1 commit
  22. 15 Oct, 2005 1 commit
  23. 13 Oct, 2005 2 commits
    • Morten Welinder's avatar
      New functions. (lotus_rldb_apply): Handle column height and row widths · 3f26145c
      Morten Welinder authored
      2005-10-13  Morten Welinder  <terra@gnome.org>
      
      	* lotus.c (lotus_set_rowheight_cb, lotus_set_colwidth_cb,
      	lotus_twips_to_points, lotus_qmps_to_points): New functions.
      	(lotus_rldb_apply): Handle column height and row widths too.
      3f26145c
    • Morten Welinder's avatar
      Extract from... (cell_set_format_from_lotus_format): ...here. · 4246aeb7
      Morten Welinder authored
      2005-10-12  Morten Welinder  <terra@gnome.org>
      
      	* lotus.c (lotus_format_string): Extract from...
      	(cell_set_format_from_lotus_format): ...here.
      	(lotus_pattern): New function.
      	(lotus_set_formats_cb): Implement.
      	(lotus_read_old): Check record sizes.
      	(lotus_read_new): Deal with patterns, font sizes, and some font
      	bits.  (The latter not observed in corpus.)
      4246aeb7
  24. 10 Oct, 2005 2 commits
  25. 09 Oct, 2005 1 commit
  26. 08 Oct, 2005 2 commits
  27. 07 Oct, 2005 1 commit
  28. 04 Oct, 2005 1 commit
    • Jody Goldberg's avatar
      finish take an EvalPos rather than just a dep so that we can pass around · b3ab22ad
      Jody Goldberg authored
      2005-10-03  Jody Goldberg <jody@gnome.org>
      
      	* src/func-builtin.c (gnumeric_table_link) : finish
      	* src/dependent.c (link_expr_dep) : take an EvalPos rather than just a
      	  dep so that we can pass around array bound details.
      
      2005-10-03  Jody Goldberg <jody@gnome.org>
      
      	* excel-xml-read.c : Implement based on inspection of exported result
      	  of a test xls (Did not read or download the schemas).  No support
      	  for expressions or names yet.
      b3ab22ad
  29. 02 Oct, 2005 1 commit
    • Jody Goldberg's avatar
      Move to new libgsf xml interface. Support un-namespaced variant of Name · 10e16ef5
      Jody Goldberg authored
      2005-10-02  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-sax-read.c : Move to new libgsf xml interface.
      	  Support un-namespaced variant of Name for compatibility.
      	* src/xml-sax-write.c (xml_io_conventions) : Use new gnm_1_0_rangeref_as_string;
      	  to improve back compat.  We read using something that can handle the
      	  modern format, but we write the old version.
      	* src/xml-io.c (xml_io_conventions) : ditto.
      
      	* src/ranges.c (range_intersection) : return FALSE if the ranges do
      	  not overlap, but do not generate an error.
      	  formula_import_biff8.xls
      
      	* src/gnumeric-pane.c (gnm_pane_init) : Use a realize handler on the
      	  canvas to create the object views.  Doing it sooner can break
      	  because the canvas has not been attached to a container yet.
      	  test-xls/prislistekomplett.xls
      
      	* src/workbook-control-gui.c (wbcg_sheet_add) : only grab focus if we
      	  are the current sheet.
      	  samples/derivatives.gnumeric
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=317427
      	* src/parse-util.c (gnm_1_0_rangeref_as_string) : new stripped down
      	  variant of rangeref_as_string.
      	* src/xml-sax-write.c (xml_io_conventions) : use it here.
      	* src/xml-io.c (xml_io_conventions) : and here.
      
      	* src/style.c (required_updates_for_style) : add super/sub script
      10e16ef5
  30. 28 Sep, 2005 2 commits
    • Morten Welinder's avatar
      Check whether the expression is NULL, not whether the exp function pointer · 2cb45e5a
      Morten Welinder authored
      2005-09-28  Morten Welinder  <terra@gnome.org>
      
      	* src/xml-io.c (xml_read_names): Check whether the expression is
      	NULL, not whether the exp function pointer is.
      	(xml_workbook_read): Setup context earlier.
      	(xml_read_names): Work around bug 317427.
      2cb45e5a
    • Jody Goldberg's avatar
      merge in format_destroy there was no utility in keeping them distinct. Do · aaa7df0e
      Jody Goldberg authored
      2005-09-26  Jody Goldberg <jody@gnome.org>
      
      	* goffice/utils/format.c (go_format_unref) : merge in format_destroy
      	  there was no utility in keeping them distinct.  Do not warn about
      	  the final unref of a markup style, they are not kept in the global
      	  cache.
      	(go_format_new_markup) : do not put markup formats in the global
      	  cache.  We do not really want to share them, and the old code would
      	  replace existing formats in the rare situation where some rich text
      	  formating happened to be used in the same way in two places
      	  eg C sub 1  vs C sub 2
      	(go_format_parse_markup) : support rise.
      	(cb_attrs_as_string) : ditto.
      
      2005-09-28  Jody Goldberg <jody@gnome.org>
      
      	* ms-chart.c (xl_chart_import_reg_curve) : split out from
      	  ms_excel_chart_read.
      	(xl_chart_import_error_bar) : ditto.
      
      	* ms-excel-write.c (excel_font_overlay_pango) : check super/sub scripts.
      	(excel_font_hash) : ditto.
      	(excel_font_equal) : ditto.
      	(excel_font_new) : init the super/sub status
      	(map_underline_to_xl) : new.
      	(map_script_to_xl) : new.
      	(cb_write_condition) : handle super/sub script.
      	(excel_write_FONT) : ditto.
      	(excel_font_new) : ditto.
      
      	* ms-excel-read.c (ms_wb_get_font_markup) : The super/subscript
      	  distances were broken.  Use 5000 not 500.  Seems like we may want a
      	  scale in there too.
      	(excel_read_FONT) : Use GOFontScript
      	(excel_get_style_from_xf) : store the script (super/sub)
      	(excel_read_CF) : handle scripts.
      
      2005-09-26  Jody Goldberg <jody@gnome.org>
      
      	* cell-format.glade : give the super/sub script buttons names and
      	  enable them.
      	* dialog-cell-format.c (cb_font_changed) : watch for script changes.
      	(cb_font_script_toggle) : new.
      	(fmt_dialog_init_font_page) : setup super/sub script buttons.
      
      2005-09-26  Jody Goldberg <jody@gnome.org>
      
      	* src/gnm-style-impl.h : Add a script element to GnmStyle
      	* src/mstyle.c (elem_is_eq) : support scripts
      	(elem_assign_content) : support scripts
      	(gnm_style_new_default) : support scripts
      	(gnm_style_get_pango_attrs) : support scripts
      	(gnm_style_dump) : support scripts
      	(gnm_style_set_font_script) : new.
      	(gnm_style_get_font_script) : new.
      
      	* src/GNOME_Gnumeric-gtk.xml.in  : Add the super/sub script
      	  accelerators
      
      	* gnumeric.xsd : update to include the new h/v alignments and to add
      	  Script.
      
      	* src/wbc-gtk.c (wbc_gtk_style_feedback) : support super/sub script
      	  and fix support for double underline
      
      	* src/wbcg-actions.c (toggle_font_attr) : support super/sub script
      	(cb_font_subscript) : new.
      	(cb_font_superscript) : new.
      
      	* src/xml-io.c (xml_write_style) : ditto.
      	(xml_read_style) : ditto.
      	* src/xml-sax-read.c (xml_sax_styleregion_font) : ditto.
      	* src/xml-sax-write.c (xml_write_gnmstyle) : ditto.
      aaa7df0e
  31. 25 Sep, 2005 1 commit
    • Jody Goldberg's avatar
      handle motion in frozen areas. (sheet_control_gui_new) : use a blank label · 13f27786
      Jody Goldberg authored
      
      2005-09-24  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-control-gui.c (resize_pane_pos) : handle motion in frozen
      	  areas.
      	(sheet_control_gui_new) : use a blank label as a space rather than a
      	  scrollbar.  Emmanuel's idea seems more consistent with frozen panes
      	  than reseting the pane.
      	(set_resize_pane_pos) : new utility to calculate the desired pane
      	  position and block the signal.
      	(resize_pane_finish) : renamed from cb_resize_pane_finish to be more
      	  consistent.  Round the pane position to the col/row bound using
      	  set_resize_pane_pos.
      	(scg_set_panes) : position the resize panes.  Change the behavior not
      	  to short circuit if the freeze status is unchanged.  This seems safe
      	  and makes sue that set_resize_pane_pos is called.
      13f27786
  32. 23 Sep, 2005 1 commit