2009-05-23 Morten Welinder * Release 1.9.8 2009-05-22 Morten Welinder * src/parse-util.c (gnm_expr_parse_str_simple): Remove. Interface invites R1C1 bugs. All callers fixed. 2009-05-21 Morten Welinder * src/wbc-gtk.c (cb_graph_dim_editor_update): Suppress the initial update gui update. 2009-05-18 Morten Welinder * src/sheet-object-widget.c: Clean up class accesses. * src/graph.c (gnm_go_data_date_conv): New function. * src/workbook-view.c (wb_view_set_property): Normalize booleans. * src/sheet-style.c (sheet_style_init_size, sheet_style_set_auto_pattern_color): Use structure assignment, not memcpy. * src/sheet-object.c (sheet_object_anchor_assign): Eliminate in favour of plain structure assignment. All callers changed. * src/wbc-gtk.c (wbcg_scrollbar_visibility, wbcg_notebook_tabs_visibility): New functions. (wbcg_view_changed): Hook up wbcg_scrollbar_visibility and wbcg_notebook_tabs_visibility. * src/workbook-view.c (workbook_view_class_init, wb_view_set_property, wb_view_get_property): Add new properties: PROP_SHOW_HORIZONTAL_SCROLLBAR, PROP_SHOW_VERTICAL_SCROLLBAR, PROP_SHOW_NOTEBOOK_TABS, PROP_DO_AUTO_COMPLETION, PROP_PROTECTED, PROP_PREFERRED_WIDTH, PROP_PREFERRED_HEIGHT. (wb_view_preferred_size): Use the new properties thus taking care of any notification needed. (wb_view_set_attribute): Ditto, although this function should die soon. 2009-05-17 Morten Welinder * src/graph.c (gnm_go_data_eq): Compare convs too. 2009-05-16 Morten Welinder Fix for #490479: * src/graph.c (gnm_go_data_preferred_fmt): Don't check dep->sheet. * src/sheet-object.c (cb_sheet_object_invalidate_sheet): Clear dep->sheet if necessary. * src/gui-clipboard.c (table_cellregion_read): Invalidate the sheets in the temporary workbook. * src/clipboard.c (cellregion_invalidate_sheet): Clear ->origin_sheet if that is what we are invalidating. 2009-05-16 Andreas J. Guelzow * src/xml-sax-write.c (xml_write_style): since we index into the array with our enum we should make the order match. 2009-05-16 Andreas J. Guelzow * schemas/gnumeric-dialogs.schemas.in: fix some long descriptions * schemas/gnumeric-general.schemas.in: ditto * src/gnm-plugin.c: add a translator comment 2009-05-15 Morten Welinder * src/dependent.c (gnm_dep_container_dump): fix crash. 2009-05-14 Morten Welinder * src/dependent.c (workbook_recalc): Wrap whole evaluation in calls to gnm_app_recalc_start and gnm_app_recalc_finish. * src/expr.c (gnm_expr_top_eval): Wrap gnm_expr_eval call in calls to gnm_app_recalc_start and gnm_app_recalc_finish. * src/clipboard.c (paste_cell_with_operation): Create a GnmExprTop and use that for evaluation. * src/validation.c (validation_eval): Ditto. * src/workbook-view.c (wb_view_auto_expr_recalc): Ditto. Simplify. * src/application.c (gnm_app_recalc_start, gnm_app_recalc_finish): New functions. * src/commands.c (cmd_so_set_adjustment): Handle h/v too. All callers changed. * src/sheet-object-widget.c (sheet_widget_adjustment_user_config_impl): Ditto. * src/sheet-object-widget.c (SheetWidgetAdjustment): Add explicit direction here. (SheetWidgetAdjustmentClass): Identify h and v versions here. (sheet_widget_adjustment_write_xml_sax): Save direction if needed. (sheet_widget_adjustment_prep_sax_parser, sheet_widget_adjustment_read_xml_dom): Read it here. 2009-05-13 Morten Welinder * src/sheet-object-widget.c (sheet_widget_scrollbar_create_widget): Record whether the scrollbar is horizontal or vertical so different views will have the same orientation. 2009-05-12 Morten Welinder * src/gutils.c (gnm_debug_flag): New function. * src/sheet-style.c (sheet_style_optimize): Use gnm_debug_flag. * src/gui-clipboard.c (debug_clipboard): Ditto. * src/main-application.c (main): Ditto. * src/wbc-gtk.c (cb_workbook_debug_info, wbc_gtk_create_edit_area): Ditto. 2009-05-11 Morten Welinder * src/ssconvert.c (merge): Rearrange to read files only once. * src/sheet.c (gnm_sheet_resize_main): Only warn for a resize that is not a no-op. * src/sheet-style.c (sheet_style_init_size): Don't set partial_col and partial_row. (cb_style_list_add_node): Deal without partial_col and partial_row. * src/sheet.h (struct _Sheet): Remove partial_col and partial_row flags. * src/ssindex.c (cb_index_styles): Index validation stuff too. 2009-05-09 Morten Welinder * src/collect.c (collect_floats): Introduce a cache for the important argc==1 case. Add extra argument to avoid copying the result unnecessarily. All callers changed. * src/sheet-style.c (cell_tile_optimize): Remove extraneous "break;" Fixes #582027. * src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols, gnm_gconf_set_workbook_nrows): Respect any valid size. * src/workbook.c (workbook_new_with_sheets): Ditto. * src/gui-clipboard.c (table_cellregion_write): Explicitly size the temporary sheet. * src/workbook.c (workbook_new_with_sheets): Respect the sheet size preferences. * src/gui-clipboard.c (table_cellregion_write): Plug leak. * src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols): Set prefs.col_number too. (gnm_gconf_set_workbook_nrows): Set prefs.row_number too. * src/sheet-style.c (verify_styles): Abort if anything is found to be wrong. 2009-05-10 Andreas J. Guelzow * src/cell.c (gnm_cell_is_nonsingleton_array): don't use simply gnm_cell_is_array_corner since it returns NULL for other array elements 2009-05-09 Morten Welinder * src/sheet-style.c (cell_tile_optimize): Fix crash. #581931. 2009-05-08 Morten Welinder * src/expr.c (gnm_expr_get_range): Handle parenthesis. 2009-05-07 Andreas J. Guelzow * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): write serialized pango attributes (gnm_so_filled_prep_sax_parser): read serialized pango attributes * src/sheet-object-cell-comment.c (cell_comment_write_xml_sax) write serialized pango attributes (cell_comment_prep_sax_parser): read serialized pango attributes 2009-05-07 Morten Welinder * src/sheet-style.c (sheet_style_optimize): New function. * src/workbook.c (workbook_optimize_style): New function. * src/workbook-view.c (wb_view_new_from_input): Call workbook_optimize_style. 2009-05-06 Morten Welinder * configure.in: Post-release bump.