1.12.20
[gnumeric.git] / ChangeLog
blob2c63c9d080bb9837000ee1e329637fe1ad9fbb49
1 2015-02-04  Morten Welinder <terra@gnome.org>
3         * Release 1.12.20
5 2015-01-30  Morten Welinder  <terra@gnome.org>
7         * src/sheet-object-widget.c
8         (sheet_widget_adjustment_set_horizontal): Make this public.
10 2015-01-23  Morten Welinder <terra@gnome.org>
12         * configure.ac: Post-release bump.
14 2015-01-23  Morten Welinder <terra@gnome.org>
16         * Release 1.12.19
18 2015-01-20  Morten Welinder  <terra@gnome.org>
20         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
21         See bug #743130.
23 2015-01-19  Morten Welinder  <terra@gnome.org>
25         * src/gutils.c (gnm_icon_dir): Remove.
27         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
28         resources.
30         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
31         from glib resources.
33         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
34         Delete.
36         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
37         otherwise dump them in temporary files in order to load them.
39         * src/workbook.c (workbook_update_graphs): New function.
41         * src/workbook-view.c (workbook_view_new_from_input): Update
42         graphs.
44 2015-01-14  Morten Welinder  <terra@gnome.org>
46         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
47         an expresssion, make it a string instead of dropping it on the
48         floor.
50 2015-01-13  Morten Welinder  <terra@gnome.org>
52         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
53         missing shared expression, define a dummy version so we don't get
54         repeated errors.
56 2015-01-09  Morten Welinder  <terra@gnome.org>
58         * src/value.c (value_compare_real): Rewrite.  Handle errors and
59         sort them later than other values.  This fixes #742601.
61 2015-01-01  Morten Welinder  <terra@gnome.org>
63         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
64         names, not stock ids.
66         * src/gnm-pane.c (update_control_point_colors): Avoid
67         gtk_style_context_get_background_color.
68         * src/item-cursor.c (ic_reload_style): Ditto.
70 2014-12-30  Morten Welinder  <terra@gnome.org>
72         * src/rendered-value.c (gnm_rendered_value_new):
73         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
75 2014-12-27  Morten Welinder  <terra@gnome.org>
77         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
78         unless we really have to.
80 2014-12-25  Morten Welinder  <terra@gnome.org>
82         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
83         multihead issue.
85         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
87         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
89         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
90         icon on sheet direction changes.
92         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
94 2014-12-24  Morten Welinder  <terra@gnome.org>
96         * src/wbc-gtk.c (wbcg_show_save_dialog)
97         (wbcg_close_if_user_permits): Constant propagation.
99         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
100         GtkStock usage.  (Maybe kill whole function?  Only two users.)
102 2014-12-22  Morten Welinder  <terra@gnome.org>
104         * icons/fake-index-theme: we need actions directories too.
106 2014-12-21  Morten Welinder  <terra@gnome.org>
108         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
109         handling.
111 2014-12-20  Morten Welinder  <terra@gnome.org>
113         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
114         count in delete, such as used from sheet resize.
116 2014-12-19  Morten Welinder  <terra@gnome.org>
118         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
119         (before g_setenv is available).
121 2014-12-16  Morten Welinder  <terra@gnome.org>
123         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
124         number.
126         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
127         the delete case.
129 2014-12-15  Morten Welinder  <terra@gnome.org>
131         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
132         sheet_style_insert_colrow and handled deletion too.
134         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
135         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
136         and clean up.
138         * src/dependent.c (dependent_has_pos, dependent_move): New
139         functions.
141 2014-12-14  Morten Welinder  <terra@gnome.org>
143         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
144         free.
146 2014-12-11  Morten Welinder  <terra@gnome.org>
148         * src/dependent.c (style_dep_debug_name): Include position too.
150         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
151         sheet_row_add.
152         (colrow_move): Change parameterization slightly.
154 2014-12-06  Morten Welinder  <terra@gnome.org>
156         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
157         want them visually gone and g_object_unref does not guarantee
158         that.
160         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
161         dependents.  A later step clears and re-applies style completely
162         for the moved area.  Fixes #741197.
164         * src/sheet-style.c (sheet_style_clear_style_dependents): New
165         function.
167         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
168         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
170         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
171         leak.
172         (gnm_cmd_context_error_splits_merge): Plug leak.
174 2014-11-15  Morten Welinder  <terra@gnome.org>
176         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
177         the wbc is already gone.
179 2014-11-09  Morten Welinder  <terra@gnome.org>
181         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
182         data.  Might fix Redhat #1160975.
184 2014-10-28  Morten Welinder  <terra@gnome.org>
186         * src/style.c (find_font): Accept NULL font name.
188 2014-10-27  Morten Welinder  <terra@gnome.org>
190         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
191         code.
193 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
195         * src/item-cursor.c (cb_item_cursor_animation): use
196         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
197         outside of a draw event.
199 2014-10-26  Morten Welinder  <terra@gnome.org>
201         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
202         Use throughout.
203         (GnmValue): Drop type union member.  C99 requires that this be
204         accessed in a structure.  We have v_any for that.
206 2014-10-25  Morten Welinder  <terra@gnome.org>
208         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
209         ought to survive both gcc's aliasing analysis and valgrind's
210         bitfield problems.
212 2014-10-24  Morten Welinder  <terra@gnome.org>
214         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
216 2014-10-21  Morten Welinder  <terra@gnome.org>
218         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
220 2014-09-25  Morten Welinder <terra@gnome.org>
222         * configure.ac: Post-release bump.
224 2014-09-25  Morten Welinder <terra@gnome.org>
226         * Release 1.12.18
228 2014-09-25  Morten Welinder  <terra@gnome.org>
230         * src/sheet-filter.c (gnm_filter_condition_new_single)
231         (gnm_filter_condition_new_double): Fix preconditions.  See
232         #735249.
234 2014-09-23  Morten Welinder  <terra@gnome.org>
236         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
237         doesn't spew deprecation warnings by default.
239 2014-09-11  Morten Welinder  <terra@gnome.org>
241         * src/style.c (gnm_translate_underline_from_pango): Survive
242         PANGO_UNDERLINE_ERROR.
244 2014-06-09  Morten Welinder <terra@gnome.org>
246         * configure.ac: Post-release bump.
248 2014-06-09  Morten Welinder <terra@gnome.org>
250         * Release 1.12.17
252 2014-05-28  Morten Welinder  <terra@gnome.org>
254         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
255         when we drag the handle into the col/row canvas.
257         * src/sheet-view.c (sv_freeze_panes): Add debug code.
259         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
260         handler.  Fixes #730884.
262 2014-05-27  Morten Welinder  <terra@gnome.org>
264         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
265         col/row canvas.  Fixes #730857.
266         (gnm_pane_dispose): Release references.
268 2014-05-23  Morten Welinder <terra@gnome.org>
270         * configure.ac: Post-release bump.
272 2014-05-23  Morten Welinder <terra@gnome.org>
274         * Release 1.12.16
276 2014-05-23  Morten Welinder  <terra@gnome.org>
278         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
279         need better building blocks for commands; this is one such.
281 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
283         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
284         (cmd_hyperlink_redo): ditto
285         (cmd_hyperlink_finalize): ditto
286         (cb_cmd_hyperlink_find_cells): ditto
288 2014-05-20  Morten Welinder  <terra@gnome.org>
290         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
292         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
293         outline and fill colours that are auto, even for the 1.0 format.
295         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
296         conditional format ranges.
298 2014-05-14  Morten Welinder  <terra@gnome.org>
300         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
302         * src/gutils.c (gnm_object_has_readable_prop): New function.
304         * configure.ac (scrollkeeper): Test if we have it.
306 2014-05-05  Morten Welinder  <terra@gnome.org>
308         * src/wbc-gtk.c (toolbar_context_menu): Remove
309         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
310         false for years and is unsupported in gtk+.
312 2014-04-30  Morten Welinder <terra@gnome.org>
314         * configure.ac: Post-release bump.
316 2014-04-30  Morten Welinder <terra@gnome.org>
318         * Release 1.12.15
320 2014-04-23  Morten Welinder  <terra@gnome.org>
322         * src/complete.c (complete_idle): Avoid abort().
324         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
325         source.
327 2014-04-22  Morten Welinder  <terra@gnome.org>
329         * src/style-color.c (gnm_color_new_name): Remove.  All calls
330         replaced with calls to gnm_color_new_go.
332         * src/sheet-style.c (sheet_style_init_size): Plug leak.
334         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
336 2014-04-21  Morten Welinder  <terra@gnome.org>
338         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
339         only in the hop of fixing #728465.
341 2014-04-13  Morten Welinder <terra@gnome.org>
343         * configure.ac: Post-release bump.
345 2014-04-13  Morten Welinder <terra@gnome.org>
347         * Release 1.12.14
349 2014-04-11  Morten Welinder  <terra@gnome.org>
351         * src/item-bar.c: Get colours when we draw; only get sizing
352         relevant information at odd times, in particular when parent
353         widgets may be insensitive, such as during a load-onto-pristine.
354         Fixes #728007.
356 2014-04-10  Morten Welinder  <terra@gnome.org>
358         * src/item-bar.c (ib_reload_style): Add debug code.
360 2014-04-09  Morten Welinder  <terra@gnome.org>
362         * src/number-match.c (format_match_datetime): Plug leak on certain
363         failure cases.
365 2014-04-02  Morten Welinder  <terra@gnome.org>
367         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
368         integer test.
370 2014-03-30  Morten Welinder  <terra@gnome.org>
372         * src/application.c (gnm_app_remove_extra_ui): Remove from global
373         list of extra uis.
375 2014-03-28  Morten Welinder  <terra@gnome.org>
377         * src/main-application.c (main): Move Ubuntu hack earlier.
379 2014-03-27  Morten Welinder  <terra@gnome.org>
381         * src/main-application.c (main): Attempt to banish ubuntu's
382         overlay scrollbar which don't work.
384 2014-03-21  Morten Welinder  <terra@gnome.org>
386         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
387         case insensitve and allow wildcards.
389         * src/gutils.c (gnm_excel_search_impl): New function, extracted
390         from fn-string.
392         * src/style-conditions.c (generate_end_match): Use case
393         insensitive comparison.  Pull negation into the operator.
394         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
395         insensitive.
397 2014-03-18  Morten Welinder  <terra@gnome.org>
399         * src/gui-util.c (kill_popup_menu): One more try at really killing
400         the context menu after we're done with it.
402         * src/item-grid.c (item_grid_realize): Plug leak.
404 2014-03-18  Morten Welinder <terra@gnome.org>
406         * configure.ac: Post-release bump.
408 2014-03-18  Morten Welinder <terra@gnome.org>
410         * Release 1.12.13
412 2014-03-18  Morten Welinder  <terra@gnome.org>
414         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
415         providers from screens on exit.
417         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
419 2014-03-17  Morten Welinder  <terra@gnome.org>
421         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
423 2014-03-16  Morten Welinder  <terra@gnome.org>
425         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
426         formats.  I'm not positive we do things right, but this avoids
427         criticals, at least.
429         * src/cell.c (cell_set_expr_internal): Don't change an existing
430         value.
432 2014-03-15  Morten Welinder  <terra@gnome.org>
434         * src/style-border.c (gnm_border_shutdown): New function to help
435         debug leaks.  Shutdown border_none here.
437         * src/style-color.c (gnm_color_shutdown): Not here.
439 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
441         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
442         the tooltip where it will not immediatly be destroyed after creation.
443         [really fix #706659]
445 2014-03-14  Morten Welinder  <terra@gnome.org>
447         * src/xml-sax-write.c (xml_write_style): Don't write a font name
448         if we don't have any.
450 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
452         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
454 2014-03-13  Morten Welinder  <terra@gnome.org>
456         * src/style-conditions.c (gnm_style_cond_eval): New function
457         extracted from gnm_style_conditions_eval.  Make "equal" case
458         insensitive.  Fixes #726246.
460         * src/ssconvert.c (convert): Show resize message only if verbose.
462 2014-03-12  Morten Welinder  <terra@gnome.org>
464         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
465         function.
466         (gnm_style_cond_canonicalize): New function.
468         * src/ssconvert.c (convert): only print "Using exporter ..." if
469         --verbose is given, and print it to stderr.
471 2014-03-11  Morten Welinder  <terra@gnome.org>
473         * src/sheet.c (cb_set_markup): Don't mess directly with
474         cell->value.  We need to trigger a re-render.  Fixes #726086.
476         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
477         for the pre-validation assignment.
479         * src/sheet.c (sheet_cell_set_text): Put markup on the value
480         before assigning it to the cell.
482 2014-03-10  Morten Welinder  <terra@gnome.org>
484         * gnumeric.xsd: Update valign/halign attributes.  Update print
485         setup.
487         * src/sheet-filter.c (gnm_filter_condition_new_single)
488         (gnm_filter_condition_new_double): Add preconditions.
490 2014-03-07  Morten Welinder  <terra@gnome.org>
492         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
494 2014-03-05  Morten Welinder  <terra@gnome.org>
496         * src/expr.c (gnm_expr_top_is_volatile): New function.
498         * src/workbook-view.c (workbook_view_new_from_input): Queue all
499         volatile expressions.
501         * src/dependent.c (workbook_queue_volatile_recalc): New function.
502         (dependent_is_volatile): New function.
504         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
505         Don't set the initial range here.
507         * src/expr.c (gnm_expr_top_first_funcall)
508         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
509         (gnm_expr_top_referenced_sheets): Rewrite in terms of
510         gnm_expr_walk.
511         (gnm_expr_top_get_boundingbox): Set initial range here.
513         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
514         Ditto.
516 2014-03-03  Morten Welinder <terra@gnome.org>
518         * configure.ac: Post-release bump.
520 2014-03-03  Morten Welinder <terra@gnome.org>
522         * Release 1.12.12
524 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
526         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
528 2014-03-02  Morten Welinder  <terra@gnome.org>
530         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
531         name-collections.
532         (wbcg_sheet_order_changed): Mark ui as being updated.
533         (cb_bnotebook_page_reordered): Ignore during UI update.
535         * src/expr-name.c (gnm_named_expr_collection_dump)
536         (gnm_named_expr_collection_sanity_check): New function.
538         * src/application.c (gnm_app_sanity_check): New function.
540         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
541         string inside the GOString as a hash key.  It can change.
542         (gnm_named_expr_collection_foreach): As a consequence of the
543         above, the first argument to the handler for
544         gnm_named_expr_collection_foreach changes to something
545         unspecified.  All callers changed.
547         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
548         sheet.
550         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
551         when encountering strangeness.
553 2014-02-28  Morten Welinder  <terra@gnome.org>
555         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
556         If row/column canvas is not visible, ignore them.
557         (scg_gtk_paned_set_position): Don't allow negative position.
558         Fixes #725375.
560         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
561         changes.
563 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
565         * src/item-grid.c (item_grid_draw_region): fix background filling for
566         rtl sheets. [#725276]
568 2014-02-25  Morten Welinder  <terra@gnome.org>
570         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
571         (gnumeric_create_popup_menu): Drop return value from handler.
573         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
574         are cell comments by position.
576 2014-02-24  Morten Welinder  <terra@gnome.org>
578         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
580         * src/colrow.c (colrow_equal): Don't use floating-point equality
581         here.  Allow a difference of 1e-5 pt for size.
583 2014-02-23  Morten Welinder  <terra@gnome.org>
585         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
586         fill in the new areas with most common styles for the rows to the
587         left of the new columns or the columns above the new area.
589 2014-02-19  Morten Welinder  <terra@gnome.org>
591         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
592         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
594         * src/mathfunc.c (gnm_log2): New function.
596 2014-02-18  Morten Welinder  <terra@gnome.org>
598         * src/ssdiff.c (xml_style_changed): Report differences for
599         auto-color settings.
601 2014-02-17  Morten Welinder  <terra@gnome.org>
603         * src/ssconvert.c (convert): Add --resize option.
605 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
607         * src/item-grid.c (item_grid_realize): fix persistence of
608         hyperlink tips. [see #724108]
610 2014-02-16  Morten Welinder <terra@gnome.org>
612         * configure.ac: Post-release bump.
614 2014-02-16  Morten Welinder <terra@gnome.org>
616         * Release 1.12.11
618 2014-02-16  Morten Welinder  <terra@gnome.org>
620         * src/func.c (function_dump_defs): Update boilerplate.
622 2014-02-11  Morten Welinder <terra@gnome.org>
624         * configure.ac: Post-release bump.
626 2014-02-11  Morten Welinder <terra@gnome.org>
628         * Release 1.12.10
630 2014-02-07  Morten Welinder  <terra@gnome.org>
632         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
633         entry on top of merged cells.  Fixes #723600.
635 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
637         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
638         a better fix to previous issue.
640 2014-01-30  Morten Welinder  <terra@gnome.org>
642         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
643         toolbar icons.
645         * src/item-cursor.c (item_cursor_draw): Make the ant animation
646         smoother (when not using the fallback).  Avoid using hard light
647         for ant-ing -- that doesn't work for the same reason as alpha not
648         working.  Always use phase=0 for non-ant stipples.
649         (GnmItemCursor): Use the canvas item's visibility flag instead of
650         rolling our own.
652 2014-01-29  Morten Welinder  <terra@gnome.org>
654         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
656         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
657         check for bad clipping somewhere in gtk+ or theme land.
659 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
661         * src/sheet-object-component.c (gnm_soc_user_config): release the new
662         component reference to the workbook.
664 2014-01-27  Morten Welinder  <terra@gnome.org>
666         * src/func.c (function_dump_defs): Undo wiki change.
668 2014-01-21  Morten Welinder  <terra@gnome.org>
670         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
671         the amount of work we do for ant-ing.  Fixes #381011, patch from
672         Jean.
673         (ic_reload_style): Ignore alpha component of ant colours.
675 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
677         * src/graph.c (gnm_go_data_vector_load_len),
678         (gnm_go_data_vector_load_values): accept 3D values for vector data.
679         [#722294]
681 2014-01-16  Morten Welinder  <terra@gnome.org>
683         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
684         cb_darken_foreground_attributes and change to take non-white
685         background into account.
687 2014-01-12  Morten Welinder  <terra@gnome.org>
689         * src/mathfunc.c (expmx2h): Split out from dnorm.
690         (dhyper): Round the chosen "p" to float to improve accuracy of
691         "q".
693 2014-01-11  Morten Welinder  <terra@gnome.org>
695         * src/mathfunc.c (pow1p): Improve accuracy.
696         (R_D_nonint): Fix rounding problem.
697         (ebd0): New extended version of bd0.
698         (dpois_raw, dbinom_raw): Use ebd0.
699         (dbinom_raw): Handle x==n and x==0 much better.
701 2014-01-08  Morten Welinder  <terra@gnome.org>
703         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
704         g_mkdtemp_full.
706         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
708         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
709         return the WorkbookView instead of a boolean.
711 2014-01-01  Morten Welinder  <terra@gnome.org>
713         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
715 2013-12-31  Morten Welinder  <terra@gnome.org>
717         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
718         mathfunc.c
720 2013-12-30  Morten Welinder  <terra@gnome.org>
722         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
723         (bd0): Reimplement.
724         (dpois_raw): Avoid going through logs, if possible.
726 2013-12-25  Morten Welinder  <terra@gnome.org>
728         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
729         we return FALSE so we don't try to remove the source later.
731 2013-12-22  Morten Welinder  <terra@gnome.org>
733         * src/gui-util.c (gnm_widget_measure_string): New function
734         allowing the elimination of all gtk_style_context_get_font calls.
736 2013-12-19  Morten Welinder  <terra@gnome.org>
738         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
739         especially when |x|<<1.  Ditto for x<-1.
741 2013-12-17  Morten Welinder  <terra@gnome.org>
743         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
744         multiplication.
746 2013-12-14  Morten Welinder  <terra@gnome.org>
748         * src/sf-gamma.c (complex_igamma): New function.
750 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
752         * */*.c: Fix some leaks and null dereferences pointed out by
753         cppcheck.
755 2013-12-12  Morten Welinder  <terra@gnome.org>
757         * src/parser.y (array_row): Avoid overrunning string when multiple
758         missing closing parentheses are detected.  Fixes #720353.
760 2013-12-11  Morten Welinder  <terra@gnome.org>
762         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
763         gdk_event_get_screen, not from ->screen.  This might fix #720182.
765         * src/*.c: Use accessor function for GdkEvent when convenient.
767 2013-12-07  Morten Welinder  <terra@gnome.org>
769         * src/application.c (gnm_app_init): Don't allocate a
770         GtkRecentManager if we are not in gui mode.
772         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
773         behaviour.
774         * src/dependent.c (deprange_hash): Ditto.
776 2013-12-04  Morten Welinder  <terra@gnome.org>
778         * src/sf-gamma.c (gamma_error_factor): Add extra term.
780 2013-12-07  Morten Welinder  <terra@gnome.org>
782         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
783         of the argument for [-1.5;-0.5].
785         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
786         Re z < 1/2.  Avoid some overflow.
788 2013-12-02  Morten Welinder  <terra@gnome.org>
790         * src/sf-bessel.c (bessel_y): Use the J series when possible.
792 2013-12-07  Morten Welinder  <terra@gnome.org>
794         * src/sf-bessel.c (bessel_j): Use the taylor series in the
795         parameter range where that makes sense.
797         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
798         (gnm_beta): Ditto.
800 2013-11-30  Morten Welinder  <terra@gnome.org>
802         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
803         negative values.
805 2013-11-28  Morten Welinder <terra@gnome.org>
807         * configure.ac: Post-release bump.
809 2013-11-28  Morten Welinder <terra@gnome.org>
811         * Release 1.12.9
813 2013-11-25  Morten Welinder  <terra@gnome.org>
815         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
816         mathfunc.c
818 2013-11-19  Morten Welinder  <terra@gnome.org>
820         * src/print.c (print_page): Fix check for missing object.  Fixes
821         #712662.
823 2013-11-18  Morten Welinder  <terra@gnome.org>
825         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
827 2013-11-15  Morten Welinder  <terra@gnome.org>
829         * src/mathfunc.c (reduce_pi_half): New function.
831 2013-11-14  Morten Welinder  <terra@gnome.org>
833         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
834         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
836 2013-11-13  Morten Welinder  <terra@gnome.org>
838         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
840 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
842         * src/sheet-object.c (sheet_object_view_button2_pressed),
843         (sheet_object_view_class_init): implement double click for graph sheets.
844         [#712216]
846 2013-11-12  Morten Welinder  <terra@gnome.org>
848         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
849         emission.
850         (cb_bnotebook_page_reordered): New function.
851         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
853         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
855 2013-11-06  Morten Welinder  <terra@gnome.org>
857         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
859 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
861         * src/workbook-view.c: add more introspection related comments.
862         * src/workbook.c: ditto.
864 2013-11-03  Morten Welinder  <terra@gnome.org>
866         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
867         sin/cos before scaling by pi.
869 2013-11-01  Morten Welinder  <terra@gnome.org>
871         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
872         (gnm_gamma): Protect against unnecessary overflow at top of range.
874 2013-10-31  Morten Welinder  <terra@gnome.org>
876         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
877         avoids accuracy problems since any cdf is completely flat in terms
878         of floating point values when going sufficiently far into the
879         tail.
880         (qtukey): Ditto.
881         (qbeta): Ditto.
882         (J_bessel): Extend xlrg_BESS_IJ to match current R.
883         (permut): Route this into pochhammer.
884         (qfact): New function.  Tabulate 0! through 50000! using quad
885         precision arithmetic.
886         (combin, fact, pochhammer): Improve accuracy using qfact.
888 2013-10-22  Morten Welinder  <terra@gnome.org>
890         * src/func.c (function_call_with_exprs): Move flags argument into
891         structure.
893 2013-10-19  Morten Welinder  <terra@gnome.org>
895         * src/hlink.c (_gnm_hlink_init): New function.
896         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
898 2013-10-07  Morten Welinder <terra@gnome.org>
900         * configure.ac: Post-release bump.
902 2013-10-07  Morten Welinder <terra@gnome.org>
904         * Release 1.12.8
906 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
908         * src/cmd-edit.c (cmd_paste): chceck for locked cells
910 2013-10-03  Morten Welinder  <terra@gnome.org>
912         * src/item-cursor.c (item_cursor_draw): Drop expose area
913         optimization that may not be correct with current gtk.  See bug
914         #709320.
916 2013-09-29  Morten Welinder  <terra@gnome.org>
918         * src/main-application.c: Include <io.h> for win32.
920         * src/wbc-gtk-actions.c: Include gutils.h for win32.
922 2013-09-25  Morten Welinder  <terra@gnome.org>
924         * src/gnumeric.css: Use lighter green for function marker.
926 2013-09-01  Morten Welinder <terra@gnome.org>
928         * configure.ac: Post-release bump.
930 2013-09-01  Morten Welinder <terra@gnome.org>
932         * Release 1.12.7
934 2013-08-29  Morten Welinder  <terra@gnome.org>
936         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
937         Fixes #707047.
939 2013-08-28  Morten Welinder  <terra@gnome.org>
941         * src/mathfunc.c (gnm_gamma): Improve precision for large
942         arguments.
943         (gnm_yn): Not needed anymore.
944         (bessel_i): Don't mark error strings for translation.
946 2013-08-27  Morten Welinder <terra@gnome.org>
948         * configure.ac: Post-release bump.
950 2013-08-27  Morten Welinder <terra@gnome.org>
952         * Release 1.12.6
954 2013-08-26  Morten Welinder  <terra@gnome.org>
956         * src/sheet-style.c (cell_tile_dump): New function for debugging.
957         (internal_style_list): Add fast pre-optimization to bring down the
958         number of entries before we start messing with hashes.  Fixes
959         #699045.
961 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
963         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
964         GraphDimEditor::changed. See bug 706591 comment #2.
966 2013-08-19  Morten Welinder <terra@gnome.org>
968         * configure.ac: Post-release bump.
970 2013-08-19  Morten Welinder <terra@gnome.org>
972         * Release 1.12.5
974 2013-08-15  Morten Welinder  <terra@gnome.org>
976         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
977         Fixes #706095.
979         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
980         parameters.  See bug 705913, comment 6.
982 2013-08-13  Morten Welinder  <terra@gnome.org>
984         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
986 2013-08-12  Morten Welinder  <terra@gnome.org>
988         * src/sheet-object-widget.c (sow_create_widget): New function.
989         Add sheet-object class to widgets.
991 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
993         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
994         initial colour
995         (sheet_widget_button_draw_cairo): also scale line thickness
996         (sheet_widget_checkbox_draw_cairo): scale button size
997         (sheet_widget_radio_button_draw_cairo): scale button size
999 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1001         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
1002         argument and change all callers
1004 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1006         * src/sheet-object-widget.c (get_font): add fall-backs
1008 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1010         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1011         draw_cairo_text.
1012         (draw_cairo_text): add h-vcenter argument and change all callers
1014 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
1016         * src/sheet-object-widget.c (cb_range_destroyed),
1017         (sheet_widget_scrollbar_create_widget),
1018         (sheet_widget_spinbutton_create_widget),
1019         (sheet_widget_slider_create_widget): avoid crashing after destroying a
1020         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
1022 2013-08-09  Morten Welinder  <terra@gnome.org>
1024         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1025         get_font.
1026         (get_font): New function extracted from draw_cairo_text.
1028 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1030         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
1031         if possible
1033 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1035         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
1036         allow multi-paragraph with a highlighted line. Change all callers
1037         (sheet_widget_list_draw_cairo): use draw_cairo_text
1039 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1041         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
1042         cairo version for Gnuemric too.
1043         (sheet_widget_button_draw_cairo): ditto
1044         (sheet_widget_scrollbar_draw_cairo): ditto
1045         (sheet_widget_spinbutton_draw_cairo): ditto
1046         (sheet_widget_slider_draw_cairo): ditto
1047         (sheet_widget_checkbox_draw_cairo): ditto
1048         (sheet_widget_radio_button_draw_cairo): ditto
1049         (sheet_widget_list_draw_cairo): ditto
1050         (sheet_widget_combo_draw_cairo): ditto
1052 2013-08-08  Morten Welinder  <terra@gnome.org>
1054         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
1055         Reduce crazy relative offsets.
1057 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1059         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
1060         change all callers
1061         (sheet_widget_frame_draw_cairo): new
1062         (sheet_widget_button_draw_cairo): new
1063         (sheet_widget_scrollbar_horizontal_draw_cairo): new
1064         (sheet_widget_scrollbar_vertical_draw_cairo): new
1065         (sheet_widget_scrollbar_class_init): connect the above
1066         (sheet_widget_spinbutton_draw_cairo): new
1067         (sheet_widget_spinbutton_class_init): connect the above
1068         (sheet_widget_slider_horizontal_draw_cairo): new
1069         (sheet_widget_slider_vertical_draw_cairo): new
1070         (sheet_widget_slider_draw_cairo): new
1071         (sheet_widget_slider_class_init): connect the above
1072         (sheet_widget_list_draw_cairo): new
1073         (sheet_widget_list_class_init): connect the above
1074         (sheet_widget_combo_draw_cairo): new
1075         (sheet_widget_combo_class_init): connect the above
1077 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1079         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
1080         change all uses of this macro
1081         (draw_cairo_text): new
1082         (sheet_widget_checkbox_draw_cairo): new
1083         (sheet_widget_radio_button_draw_cairo): new
1085 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1087         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
1088         gtk_offscreen_window_new without a default screen (see bugs #705638
1089         and #705640)
1091 2013-08-07  Morten Welinder  <terra@gnome.org>
1093         * src/ssconvert.c (main): Initialize gtk+ without opening any
1094         display.
1096 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1098         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
1100 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1102         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
1103         * src/sheet-control-gui.c (scg_init): init new fields
1104         (scg_im_destroy): new
1105         (scg_finalize): call scg_im_destroy
1106         (cb_cell_im_timer): new
1107         (scg_find_pane): new
1108         (scg_show_im_tooltip): new
1109         (scg_class_init): init new field
1110         * src/sheet-control-priv.h: add field
1111         * src/sheet-control.c: add virtual
1112         * src/sheet-control.h: add virtual
1113         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
1114         (sv_update): call sheet_view_edit_pos_tool_tips
1115         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
1116         in pixels
1117         (sheet_row_get_distance_pixels): new
1118         * src/sheet.h (sheet_row_get_distance_pixels): new
1120 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
1122         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
1123         nodes in guppi graphs. [Debian #718594]
1125 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1127         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
1128         'default'
1130 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1132         * src/sheet-control-gui.c (context_menu_handler): add argument to
1133         dialog_cell_format call
1134         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
1135         dialog_cell_format call
1136         (cb_data_validate): ditto
1138 2013-07-30  Morten Welinder  <terra@gnome.org>
1140         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
1141         colour.  Fixes rest of #705031.
1143 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1145         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
1147 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1148         for Dmitry Smirnov
1149         * gnumeric.desktop.in: add ODS files
1151 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
1153         * src/graph.c (gnm_go_data_vector_load_values): really load all
1154         values for multiple ranges.
1156 2013-07-19  Morten Welinder  <terra@gnome.org>
1158         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
1159         check: the enum has a hole in the middle.  Fixes #704562.
1161 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
1163         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
1164         printing.
1165         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
1167 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1169         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
1170         (gnm_so_path_set_property): ditto
1171         (gnm_so_path_get_property): ditto
1173 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
1175         * src/gnm-so-path.c (so_path_view_set_bounds),
1176         (cb_gnm_so_path_changed): a better fix for the text position.
1178 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
1180         * src/gnm-so-filled.c (so_filled_view_set_bounds),
1181         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
1182         * src/gnm-so-path.c (so_path_view_set_bounds),
1183         (cb_gnm_so_path_changed): fix text wrap in paths too.
1185 2013-07-16  Morten Welinder  <terra@gnome.org>
1187         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
1188         computing range size.  Fixes #704325.
1190 2013-07-15  Morten Welinder  <terra@gnome.org>
1192         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
1193         that.  Fixes #704004.
1195         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
1197         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
1198         against oversize range.
1200 2013-07-12  Morten Welinder  <terra@gnome.org>
1202         * src/expr.c (gnm_expr_range_op): When constructing a range, make
1203         sure it falls within the sheet.
1204         (gnm_expr_new_range_ctor): Don't optimize to range if the two
1205         parts are on different sheets.  Fixes #704109.
1207 2013-07-10  Morten Welinder <terra@gnome.org>
1209         * configure.ac: Post-release bump.
1211 2013-07-10  Morten Welinder <terra@gnome.org>
1213         * Release 1.12.4
1215 2013-07-10  Morten Welinder  <terra@gnome.org>
1217         * src/value.c (parse_criteria): Patterns should anchor at the end
1218         (#703770) and be case insensitive (no bug#).
1220 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1222         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
1223         to create an image of unknown type
1225 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1227         * src/graph.c (gnm_go_data_vector_load_len): use consistent
1228         signage
1229         (cb_assign_val): quieten warning about signed/unsigned comparison
1231 2013-07-03  Morten Welinder  <terra@gnome.org>
1233         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
1234         crazy-large ranges.
1235         (cb_assign_val): Ditto.
1237 2013-07-02  Morten Welinder  <terra@gnome.org>
1239         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
1240         (cb_style_list_add_node): Ditto.
1241         (verify_hashes): Ditto.
1242         (internal_style_list): Ditto.
1244         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
1245         deck chairs.
1247 2013-07-01  Morten Welinder  <terra@gnome.org>
1249         * configure.ac (long double): Crude use -lm for long double
1250         function checks.  Fixes #703397.
1252 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1254         * src/expr.c (gnm_expr_list_copy): new
1255         * src/expr.h (gnm_expr_list_copy): new
1257 2013-06-26  Morten Welinder  <terra@gnome.org>
1259         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
1260         of ->op before using it.  Fixes #703143.
1262 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
1264         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
1265         [#703052]
1266         (gnm_so_path_copy): fixed copy with multiple paths.
1268 2013-06-25  Morten Welinder <terra@gnome.org>
1270         * configure.ac: Post-release bump.
1272 2013-06-25  Morten Welinder <terra@gnome.org>
1274         * Release 1.12.3
1276 2013-06-24  Morten Welinder  <terra@gnome.org>
1278         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
1279         sheet.  Fixes #703006.
1281 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1283         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
1284         without sheet
1286 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
1288         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
1289         a valid pattern. [#702833]
1290         * src/pattern.c (gnumeric_background_set): ditto.
1292 2013-06-21  Morten Welinder  <terra@gnome.org>
1294         * src/item-grid.c (item_grid_draw_region): Plug leak.
1296         * src/item-bar.c (ib_reload_style): Plug leak.
1298 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1300         * src/wbc-gtk.c (show_gui): protect against excessively large
1301         preferred widow sizes
1303 2013-06-14  Morten Welinder  <terra@gnome.org>
1305         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
1307         * src/workbook.c (workbook_sheet_delete): Debug.
1308         (workbook_dispose): Also clear style here.  Styles can have
1309         dependents now.  Fixes #702218.
1311 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1313         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
1315 2013-06-12  Morten Welinder  <terra@gnome.org>
1317         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
1318         Fixes #702101.
1320 2013-06-04  Morten Welinder  <terra@gnome.org>
1322         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
1324 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1326         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
1327         (scg_comment_display): adjust background and fontcolor if necessary
1329 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1331         * src/item-grid.c (cb_cursor_come_to_rest):
1332         gnumeric_position_tooltip needs the tooltip size, so load the text
1333         before calling it.
1335 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1337         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
1338         with button 2
1340 2013-05-27  Morten Welinder  <terra@gnome.org>
1342         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
1343         and we aren't very good at it.
1345 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1347         * component/Gnumeric-embed.xml.in: add accelerator
1348         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
1349         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
1350         (EditGotoCellIndicator): new
1351         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
1352         (wbcg_focus_current_cell_indicator): new
1353         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
1355 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1357         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
1358         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
1359         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
1360         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
1362 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1364         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
1365         behave the same as far as cell selection is concerned. This fixes
1366         bug #700792
1367         (item_grid_button_released): ditto
1369 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1371         * src/sheet.c (sheet_get_extent): add argument to indicate whether
1372         to include hidden cells
1373         (cb_sheet_get_extent): handle hidden cells setting
1374         (sheet_get_printarea): do not include hidden cells
1375         * src/sheet.h (sheet_get_extent): add argument and change all
1376         callers
1378 2013-05-26  Morten Welinder  <terra@gnome.org>
1380         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
1381         Termiate when contributions vanish.
1383 2013-05-24  Morten Welinder  <terra@gnome.org>
1385         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
1386         the outer integral.
1387         (pfuncinverter): Handle lack of dfunc (poorly).
1389 2013-05-23  Morten Welinder  <terra@gnome.org>
1391         * src/mathfunc.c (ptukey_otsum): Split integration of a single
1392         interval out from out from R_ptukey.
1393         (R_ptukey): Split the interval nearest 0 into a sequence of
1394         intervals over which the integrand looks a lot more like a
1395         polynomial.  This fixes accuracy problems for low degrees of
1396         freedom.
1398         * src/sheet-style.c (internal_style_list): Fix critical.
1400 2013-05-22  Morten Welinder  <terra@gnome.org>
1402         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
1404 2013-05-21  Morten Welinder  <terra@gnome.org>
1406         * src/mathfunc.c (R_ptukey): More C, less Fortran.
1408 2013-05-19  Morten Welinder  <terra@gnome.org>
1410         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
1411         boundaries.
1412         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
1414 2013-05-18  Morten Welinder  <terra@gnome.org>
1416         * src/mathfunc.c (pnorm2): New function.
1417         (R_ptukey): New function imported from R with local improvements.
1419 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1421         * src/print.c (gnm_create_widget_cb): by default observe
1422         manual page breaks
1424 2013-05-14  Morten Welinder  <terra@gnome.org>
1426         * src/rangefunc.c (gnm_range_multinomial): Add range check.
1427         (gnm_range_geometric_mean): Handle two FIXMEs.
1429 2013-05-13  Morten Welinder  <terra@gnome.org>
1431         * src/*.c: Mark gobject property strings as P_(...).
1433 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1435         * src/commands.c (cmd_merge_data_redo): unref merge_contents
1437 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1439         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
1440         rather than gnm_cell_assign_value
1442 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1444         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
1445         first column
1447 2013-05-05  Morten Welinder  <terra@gnome.org>
1449         * src/dependent.c (style_dep_eval): New function.  Re-clear the
1450         rendered value here.  Fixes #699647.
1452 2013-05-03  Morten Welinder  <terra@gnome.org>
1454         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
1455         accelerator for redo.  Fixes #699579.
1456         (wbc_gtk_create_notebook_area): Mark the button notebook as non
1457         focusable.
1459         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
1461 2013-05-01  Morten Welinder  <terra@gnome.org>
1463         * src/print-info.c: Add gsf includes to make things work with
1464         libgsf 1.14.24.  Redhat #957851.
1466 2013-04-29  Morten Welinder  <terra@gnome.org>
1468         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
1469         cells.
1471 2013-04-26  Morten Welinder <terra@gnome.org>
1473         * configure.ac: Post-release bump.
1475 2013-04-26  Morten Welinder <terra@gnome.org>
1477         * Release 1.12.2
1479 2013-04-26  Morten Welinder  <terra@gnome.org>
1481         * src/gnumeric.css (GnmItemBar): Make red labels for selected
1482         row/column items the default.
1484 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1486         * src/wbc-gtk-actions.c: rename some items in the statistics menu
1488 2013-04-24  Morten Welinder  <terra@gnome.org>
1490         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
1491         widget parameter.  All callers changed.
1493         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
1494         delayedMovement.timer.
1496         * src/item-cursor.c (gnm_item_cursor_init): Ditto
1497         animation_cursor.
1499         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
1500         windows_update_timer.
1502         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
1503         guint to match glib.  Use 0 as undefined since (guint)-1 is a
1504         valid tag.
1506         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
1507         sliding).
1509 2013-04-23  Morten Welinder  <terra@gnome.org>
1511         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
1513         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
1514         critical.  Fixes #698680.
1516         * src/gui-file.c (gui_file_save_as): For export, change extension.
1517         Fixes #698636.
1519 2013-04-22  Morten Welinder  <terra@gnome.org>
1521         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
1522         Somehow fixes #625687.
1524 2013-04-20  Morten Welinder  <terra@gnome.org>
1526         * src/go-data-slicer-field.c
1527         (go_data_slicer_field_set_field_type_pos): Add precondition for
1528         slicer.
1530 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1532         * src/print-info.c (render_title): new
1534 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1536         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
1537         cells.
1538         (sheet_range_set_text): ditto
1540 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1542         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
1543         than padding.
1545 2013-04-22  Morten Welinder  <terra@gnome.org>
1547         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
1549 2013-04-19  Morten Welinder  <terra@gnome.org>
1551         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
1552         view approach.  Fixes #689283.
1554         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
1555         mode.
1556         (wbc_gtk_init_color_fore): Ditto.
1557         (wbc_gtk_init_color_back): Ditto.
1559 2013-04-17  Morten Welinder  <terra@gnome.org>
1561         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
1562         button.
1564         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
1565         font_name_haction.
1567         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
1568         only for horizontal toolbars.
1570         * src/gui-file.c (file_saver_format_changed_cb): New function to
1571         change the extension when the format is changed.
1572         (gui_file_save_as): Don't try to hide the extension -- it
1573         interferes with the file chooser's completion.  Fixes #695839.
1575 2013-04-16  Morten Welinder  <terra@gnome.org>
1577         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
1578         menu for graph sheets.  Fixes #685446.
1579         (sheet_menu_label_run): Disable resize for graph sheets.
1581         * src/value.c (parse_criteria): Anchor only at start.  Fixes
1582         #661800.
1583         (parse_criteria): Handle criteria "=" and "<>" (with no value
1584         after the operator) special.  These test for empty and non-empty
1585         values.  Fixes #686156.
1587         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
1588         "anchor_start" and "anchor_end".  All callers changed.
1590 2013-04-15  Morten Welinder  <terra@gnome.org>
1592         * src/application.c (add_icon): Plug leak.
1594         * src/number-match.c (format_match_decimal_number): Try also major
1595         non-locale currencies.  Fixes #577768.
1597 2013-04-13  Morten Welinder  <terra@gnome.org>
1599         * src/mathfunc.c (pochhammer): Improve precision a bit.
1600         (binomialcf): Lower cfSmall by 10^3.  This helps
1601         pbeta(0.9,10,0.5).
1603         * configure.ac (GETTEXT_PACKAGE): Add version number so that
1604         doesn't prevent multiple versions from co-existing.
1606         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
1607         dirty.  Callers already appear to handle this when needed
1608         and not when not wanted.  Fixes #697927.
1610 2013-04-12  Morten Welinder  <terra@gnome.org>
1612         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
1613         #697850.
1614         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
1615         reported to R).
1616         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
1618 2013-04-11  Morten Welinder  <terra@gnome.org>
1620         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
1621         reference with invalid_sheet.  Fixes #683494.
1623         * src/complex.c (complex_to_string): Drop format arguments.  All
1624         callers changed.  Make up a format with enough precision for round
1625         tripping.  Fixes #697634.
1627 2013-04-09  Morten Welinder  <terra@gnome.org>
1629         * src/complex.c (complex_from_string): Make this handle embedded
1630         spaces systematically.
1631         (is_unit_imaginary): Delete.
1633 2013-04-09  Morten Welinder  <terra@gnome.org>
1635         * src/complex.c (complex_pow): Use Goffice's copy.
1637 2013-04-05  Morten Welinder  <terra@gnome.org>
1639         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
1640         new screens.  Add hack for pre-GTK 3.4.
1642         * src/mathfunc.c (gnm_owent): New function.
1644 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
1646         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
1647         functions used as vectors. [697281]
1649 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
1651         * src/graph.c (gnm_go_data_vector_load_values),
1652         (gnm_go_data_vector_get_str): fix values and strings loading in case of
1653         arrays. [697107]
1655 2013-04-03  Morten Welinder  <terra@gnome.org>
1657         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
1658         attributes of the tab.
1660         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
1661         GnmNotebookButton, not an EditableLabel.
1663 2013-04-02  Morten Welinder  <terra@gnome.org>
1665         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
1666         widget.
1667         (cb_wbcg_drag_leave): Ditto.
1669 2013-03-27  Morten Welinder  <terra@gnome.org>
1671         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
1672         key we look up.  When did that change?
1674 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
1676         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
1677         remove the frame.
1679 2013-03-26  Morten Welinder  <terra@gnome.org>
1681         * src/item-edit.c: Theme the in-cell edit background color.
1683         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
1684         into here.
1685         src/gui-gnumeric.h: Remove.
1687         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
1688         non-NULL if there is a selection.
1689         (gnumeric_background_set_gtk): Delete.  Make callers use
1690         gnumeric_background_set.
1692         * src/preview-grid.c (preview_grid_draw_background): Always
1693         provide a context to gnumeric_background_set.
1694         * src/item-edit.c (item_edit_draw): Ditto.
1696         * src/item-cursor.c (ic_reload_style): Use class, not state, to
1697         separate the different cursor types.  Separate autofill colouring
1698         from drag ditto.
1700 2013-03-25  Morten Welinder  <terra@gnome.org>
1702         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
1703         color to GOColor.
1704         (ic_reload_style): Theme some of the cursor colors.
1706         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
1707         not colour name.
1709         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
1711         * src/gnumeric.css: use deprecated px-free syntax for padding, so
1712         gtk+ 3.2 can deal with it.
1714         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
1715         can suppress deprecations.
1717         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
1718         the "all" button.
1720         * src/item-bar.c (ib_reload_style): Load fonts from style.
1722 2013-03-24  Morten Welinder  <terra@gnome.org>
1724         * src/item-grid.c (item_grid_draw_region): Draw the background at
1725         the right coordinates!
1727 2013-03-23  Morten Welinder  <terra@gnome.org>
1729         * src/item-bar.c (ib_draw_cell): There's no point in going to and
1730         from GOColor here.  Just use the color as-is.
1732 2013-03-19  Morten Welinder  <terra@gnome.org>
1734         * src/application.c (install_icons): Install also the icon themed
1735         icons.  No idea why we have both.
1737         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
1739         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
1740         (embedded_imgs): Add the rest from pixmaps.
1742         * configure.ac: No longer create src/pixmaps/Makefile
1744         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
1745         these work for resources and absolute paths.
1747 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
1749         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
1750         not sizeable objects bounds after dragging when zoom is not 100%.
1752 2013-03-18  Morten Welinder  <terra@gnome.org>
1754         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
1755         filter.  It takes just long enough to be irritating.
1757 2013-03-17  Morten Welinder  <terra@gnome.org>
1759         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
1760         style since we're not picking it explicitly.
1761         (cb_font_filter): Fix leak.
1763 2013-03-14  Morten Welinder  <terra@gnome.org>
1765         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
1766         ignore non-scalable fonts.
1768 2013-03-11  Morten Welinder  <terra@gnome.org>
1770         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
1772 2013-03-10  Morten Welinder  <terra@gnome.org>
1774         * src/ssconvert.c (list_them): Skip savers/openers that require
1775         interaction.  (We don't have any yet.)
1777         * src/stf.c (stf_read_workbook): Set error when we fail due to
1778         lack of GUI.
1779         (stf_init): Mark the configurable saver/opener as interactive.
1781         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
1783 2013-03-09  Morten Welinder <terra@gnome.org>
1785         * configure.ac: Post-release bump.
1787 2013-03-09  Morten Welinder <terra@gnome.org>
1789         * Release 1.12.1
1791 2013-03-06  Morten Welinder  <terra@gnome.org>
1793         * src/wbc-gtk.c (list_actions): Handle a null group.
1795 2013-03-03  Morten Welinder  <terra@gnome.org>
1797         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
1798         g_thread_init if compiled with later than glib 2.32.0.
1800 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
1802         * src/gnm-pane-impl.h: remove alignments.
1803         * src/gnm-pane.c (gnm_pane_header_init): dittO;
1804         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
1805         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
1806         * src/sheet-control-gui-priv.h: remove all tables by one grid.
1807         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
1808         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
1809         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
1810         (scg_mode_edit): ditto.
1811         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
1812         (cb_sheet_visibility_change), (wbcg_sheet_add),
1813         (wbcg_sheet_remove), (wbcg_sheet_focus),
1814         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
1815         (wbcg_get_nth_scg): ditto.
1817 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
1819         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
1820         * src/print.c (gnm_create_widget_cb): ditto.
1821         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
1823 2013-03-01  Morten Welinder  <terra@gnome.org>
1825         * src/mathfunc.h: Make sure the "q" functions take "p" as their
1826         first argument, not "x".
1828 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
1830         reviewed by: <delete if not using a buddy>
1832         * INSTALL:
1833         * src/sheet-object-widget.c (sheet_widget_button_user_config),
1834         (sheet_widget_adjustment_user_config_impl),
1835         (sheet_widget_checkbox_user_config),
1836         (sheet_widget_radio_button_user_config):
1837         * src/wbc-gtk.c (wbc_gtk_init):
1839 2013-02-28  Morten Welinder  <terra@gnome.org>
1841         * configure.ac: remove the DISABLE_DEPRECATED defines even from
1842         development versions.  We now get the information through gcc
1843         warnings.
1844         (solver): Make solver code unconditional.  Feel free to not
1845         distribute the relevant plugins.
1847 2013-02-26  Morten Welinder  <terra@gnome.org>
1849         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
1851 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
1853         * src/number-match.c: more introspection warnings.
1855 2013-02-23  Morten Welinder  <terra@gnome.org>
1857         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
1859 2013-02-21  Morten Welinder  <terra@gnome.org>
1861         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
1862         GHFunc.  All callers changed.  Impose a robust ordering.
1863         (sh_all_styles): New function replacing sh_foreach.
1865 2013-02-20  Morten Welinder  <terra@gnome.org>
1867         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
1869 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
1871         * configure.ac: make configure --with-python fail when some
1872         dependency is missing.
1874 2013-02-17  Morten Welinder  <terra@gnome.org>
1876         * configure.ac (set_more_warnings): Improve support for clang.
1878 2013-02-16  Morten Welinder  <terra@gnome.org>
1880         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
1881         (Most cases a matter of 0 vs. 0.)
1883 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1885         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
1886         default value for stf export format.
1887         * src/dependent.c: fix introspection warnings.
1888         * src/sheet-style.c: ditto.
1890 2013-02-15  Morten Welinder  <terra@gnome.org>
1892         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
1893         3.2.0 just like goffice.
1895         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
1896         requiring gtk 3.2
1898 2013-02-14  Morten Welinder  <terra@gnome.org>
1900         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
1901         not MAXDOUBLE.  Fixes #693761.
1903 2013-02-10  Morten Welinder  <terra@gnome.org>
1905         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
1906         doesn't belong here.  We handle everything in rstyle_apply.
1908 2013-02-08  Morten Welinder  <terra@gnome.org>
1910         * src/sheet-style.c (rstyle_apply): Take extra range argument and
1911         link/unlink style dependents.  All callers changed.
1912         (sheet_style_shutdown): Set default style for whole sheet to
1913         ensure style dependents get cleared.
1915 2013-02-07  Morten Welinder  <terra@gnome.org>
1917         * src/sheet-style.c (cell_tile_optimize): Implement
1918         ptr-matrix-to-matrix optimization and use it to simplify things.
1920         * src/dependent.c (GnmStyleDependent): New type of dependent.
1921         When triggered, the cells in which it resised will be rerendered
1922         and redrawn.
1924         * src/mstyle.c (gnm_style_link_dependents)
1925         (gnm_style_unlink_dependents): New functions to manage style
1926         dependents due to conditional formatting.
1928 2013-02-06  Morten Welinder  <terra@gnome.org>
1930         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
1931         inside-out in anticipation of future changes.
1933         (col_indicies, row_indicies): Alignment of the corners of apply_to
1934         is only relevant if we are within the tile.
1936 2013-02-06  Morten Welinder  <terra@gnome.org>
1938         * src/sheet-style.c (tile_is_uniform): Extract from
1939         cell_tile_optimize.
1940         (vector_apply_pstyle): Don't return a value.
1941         (cell_tile_apply): Use tile_is_uniform.
1943 2013-02-05  Morten Welinder  <terra@gnome.org>
1945         * src/sheet-style.c (sheet_style_get): Simplify with "while"
1946         instead of crazy "goto".
1947         (cell_tile_apply): Simplify the covers-whole-tile case.
1949         * src/sheet.h (Sheet): Remove max_width and max_height members.
1950         All users fixed.
1952         * src/dependent.h (GnmDependentClass): Add pos handler.
1954         * src/dependent.c (dependent_pos): Use pos handler.
1955         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
1957 2013-02-04  Morten Welinder  <terra@gnome.org>
1959         * src/dependent.c (dependent_pos): Make global.
1961         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
1962         dependent_pos.
1964         * src/ssconvert.c (run_tool_test): Add code for running the
1965         regression tool.
1966         (convert): Run an analysis tool if requested.  (For testing.)
1968 2013-02-02  Morten Welinder  <terra@gnome.org>
1970         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
1971         and rstyle_ctor_pstyle.  All callers changed.
1973 2013-01-18  Morten Welinder  <terra@gnome.org>
1975         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
1976         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
1977         New matrix support.
1978         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
1979         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
1981 2013-01-15  Morten Welinder  <terra@gnome.org>
1983         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
1984         import from command line.
1986 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
1988         * configure.ac: renamed configure.in and update obsolete macros.
1989         * configure.in: ditto.
1991 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
1993         * configure.in: Add
1994         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
1995         includes.
1997 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
1999         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
2000         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
2001         twice the top and bottom margins when displaying a graph
2002         sheet. [#691472]
2004 2013-01-10  Morten Welinder  <terra@gnome.org>
2006         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
2007         argument and assume TRUE.  Drop scope name and assume NULL (which
2008         is what all callers should have used).  All callers changed.
2009         (gnm_func_add_placeholder): Ditto.
2010         (invent_name): Downcase the preferred name.
2011         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
2012         (gnm_func_add): Initialize arg_names_p.
2014         * src/gnm-plugin.c (plugin_service_function_group_activate):
2015         Upgrade existing placeholder functions as needed.
2017         * src/func.c (gnm_func_upgrade_placeholder): Rename from
2018         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
2020 2013-01-10  Morten Welinder  <terra@gnome.org>
2022         * src/func.c (gnm_func_add_placeholder_localized): New function.
2023         (gnm_func_add_placeholder_full): Extract from
2024         gnm_func_add_placeholder.  Handle localization better.
2025         (gnm_func_set_localized_name): New function.
2026         (gnm_func_free, gnm_func_get_name): Use
2027         gnm_func_set_localized_name.
2029         * src/parse-util.c (std_func_map): Improve handling of unknown
2030         function names.
2032         * src/func.c (gnm_func_group_remove_func): Factor this out from...
2033         (gnm_func_free): ...here.
2035 2013-01-09  Morten Welinder  <terra@gnome.org>
2037         * src/symbol.c: delete.
2039         * src/func.c: rewrite to use GHashTable instead of symbol.c
2040         (gnm_func_lookup_prefix): Take extra argument indicating whether
2041         to search translated names.  Caller changed.
2043         * src/parse-util.c (std_func_map): Lookup translated name as
2044         needed.
2045         (parse_util_init): Add enviroment magic to turn on translated
2046         functions names.  This is not ready for prime time and should be
2047         controlled by a user preference eventually.
2049         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
2050         bit.
2052 2013-01-07  Morten Welinder  <terra@gnome.org>
2054         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
2055         pivot.  Use gnm_hypot where possible.
2057 2013-01-04  Morten Welinder  <terra@gnome.org>
2059         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
2060         as argument.  Keep track of displays.
2061         (gnm_x_disown_clipboard): New function.
2063         * src/application.c (gnm_app_clipboard_clear): Use
2064         gnm_x_disown_clipboard to make things multi-head safe.
2066 2013-01-03  Morten Welinder  <terra@gnome.org>
2068         * src/collect.c (collect_floats): Fix handling of
2069         COLLECT_IGNORE_ERRORS.
2070         (collect_strings): Ditto.
2071         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
2073 2013-01-01  Morten Welinder  <terra@gnome.org>
2075         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
2076         deprecated goffice stuff.
2078         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
2079         unused variable.
2080         * src/gnm-pane.c (control_point_leave_notify): Ditto.
2081         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
2082         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
2084         * src/application.c (gnm_app_history_add): Kill warning.
2086 2012-12-31  Morten Welinder  <terra@gnome.org>
2088         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
2089         Fixed #690929.
2091         * src/ssdiff.c: Introduce --highlight mode.
2093 2012-12-30  Morten Welinder  <terra@gnome.org>
2095         * src/ssdiff.c (main): Add option to send output to a file.
2097 2012-12-29  Morten Welinder  <terra@gnome.org>
2099         * src/ssdiff.c (diff): Use C locale.
2100         (ignore_cell): Ignore arrays, except for the corner.
2101         (output_cell): New function taking proper care of value types,
2102         convensions, etc.
2103         (xml_cell_changed): Use output_cell.
2104         (compare_corresponding_cells): Don't use entered_text here either,
2105         although it's harmless.
2106         (output_cell, compare_corresponding_cells): Handle value formats
2107         too.
2109 2012-12-28  Valek Filippov  <frob@df.ru>
2111         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
2112         gdk_window_get_pointer calls.
2114 2012-12-28  Morten Welinder  <terra@gnome.org>
2116         * src/*.c: Eliminate use of printf.
2118         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
2119         range offset here.  This may need to move further.
2120         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
2121         (diff_sheets_cells): Ignore completely empty cells.
2122         (xml_sheet_start): Change meaning of Old and New attributes to be
2123         index_in_wb and absent when workbook doesn't have the sheet.
2124         (xml_style_changed): Describe style differences.
2126 2012-12-27  Morten Welinder  <terra@gnome.org>
2128         * src/ssdiff.c (diff_sheets): Compare styles too.
2130         * src/sheet-style.c (sheet_style_range_foreach): Add optional
2131         range argument.  All callers changed.
2133 2012-12-24  Morten Welinder  <terra@gnome.org>
2135         * src/ssdiff.c (def_cell_changed): Merge cell_added and
2136         cell_removed handlers into the cell_changed handler.
2137         (main): Add --xml option.
2139         * configure.in: ssconvert, ssindex, and ssgrep are no longer
2140         configurable.  We need ssconvert for the test and it's silly
2141         anyway.
2143 2012-12-18  Morten Welinder <terra@gnome.org>
2145         * configure.in: Post-release bump.