2015-01-23 Morten Welinder * Release 1.12.19 2015-01-20 Morten Welinder * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits. See bug #743130. 2015-01-19 Morten Welinder * src/gutils.c (gnm_icon_dir): Remove. * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib resources. * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image from glib resources. * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Delete. * src/gnm.gresource.xml: pre-process xpm files. gdkpixbuf will otherwise dump them in temporary files in order to load them. * src/workbook.c (workbook_update_graphs): New function. * src/workbook-view.c (workbook_view_new_from_input): Update graphs. 2015-01-14 Morten Welinder * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse an expresssion, make it a string instead of dropping it on the floor. 2015-01-13 Morten Welinder * src/xml-sax-read.c (xml_sax_cell_content): When we discover a missing shared expression, define a dummy version so we don't get repeated errors. 2015-01-09 Morten Welinder * src/value.c (value_compare_real): Rewrite. Handle errors and sort them later than other values. This fixes #742601. 2015-01-01 Morten Welinder * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme names, not stock ids. * src/gnm-pane.c (update_control_point_colors): Avoid gtk_style_context_get_background_color. * src/item-cursor.c (ic_reload_style): Ditto. 2014-12-30 Morten Welinder * src/rendered-value.c (gnm_rendered_value_new): GNM_HALIGN_DISTRIBUTED is justify+center. Fixes #726155. 2014-12-27 Morten Welinder * src/colrow.c (colrow_set_visibility): Don't create columns/rows unless we really have to. 2014-12-25 Morten Welinder * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix multihead issue. * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely. * src/wbc-gtk-actions.c (SheetDirection): use proper icon. * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix icon on sheet direction changes. * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_... 2014-12-24 Morten Welinder * src/wbc-gtk.c (wbcg_show_save_dialog) (wbcg_close_if_user_permits): Constant propagation. * src/gui-util.c (gnumeric_message_dialog_create): Slightly less GtkStock usage. (Maybe kill whole function? Only two users.) 2014-12-22 Morten Welinder * icons/fake-index-theme: we need actions directories too. 2014-12-21 Morten Welinder * src/item-bar.c (ib_reload_sizing_style): Add fallback for font handling. 2014-12-20 Morten Welinder * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big count in delete, such as used from sheet resize. 2014-12-19 Morten Welinder * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32 (before g_setenv is available). 2014-12-16 Morten Welinder * src/sstest.c (test_insdel_rowcol_names): Use column name, not number. * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for the delete case. 2014-12-15 Morten Welinder * src/sheet-style.c (sheet_style_insdel_colrow): Rename from sheet_style_insert_colrow and handled deletion too. * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows, sheet_insert_cols, sheet_delete_rows, sheet_delete_cols. Simplify and clean up. * src/dependent.c (dependent_has_pos, dependent_move): New functions. 2014-12-14 Morten Welinder * src/sheet.c (sheet_colrow_add): Make sure the slot we use is free. 2014-12-11 Morten Welinder * src/dependent.c (style_dep_debug_name): Include position too. * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and sheet_row_add. (colrow_move): Change parameterization slightly. 2014-12-06 Morten Welinder * src/sheet-control-gui.c (scg_unant): Destroy item cursors. We want them visually gone and g_object_unref does not guarantee that. * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style dependents. A later step clears and re-applies style completely for the moved area. Fixes #741197. * src/sheet-style.c (sheet_style_clear_style_dependents): New function. * src/sheet.c (sheet_insert_rows, sheet_insert_cols) (sheet_delete_cols, sheet_delete_rows): Plug leaks. * src/command-context.c (gnm_cmd_context_error_splits_array): Plug leak. (gnm_cmd_context_error_splits_merge): Plug leak. 2014-11-15 Morten Welinder * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if the wbc is already gone. 2014-11-09 Morten Welinder * src/gui-clipboard.c (text_to_cell_region): Guard against NULL data. Might fix Redhat #1160975. 2014-10-28 Morten Welinder * src/style.c (find_font): Accept NULL font name. 2014-10-27 Morten Welinder * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed code. 2014-10-27 Jean Brefort * src/item-cursor.c (cb_item_cursor_animation): use goc_canvas_invalidate_region() for ants walking. Avoid drawing outside of a draw event. 2014-10-26 Morten Welinder * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros. Use throughout. (GnmValue): Drop type union member. C99 requires that this be accessed in a structure. We have v_any for that. 2014-10-25 Morten Welinder * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that ought to survive both gcc's aliasing analysis and valgrind's bitfield problems. 2014-10-24 Morten Welinder * src/xml-sax-write.c (xml_write_selection_info): Plug leak. 2014-10-21 Morten Welinder * src/mstyle.c (gnm_style_dump_color): Also dump auto flag. 2014-09-25 Morten Welinder * configure.ac: Post-release bump.