Introspection: changing and querying sheet style.
[gnumeric.git] / ChangeLog
blob6c40952f98bc8a1be95d199ced14c3fd69604237
1 2018-04-11  Morten Welinder  <terra@gnome.org>
3         * src/workbook.c: Make Workbook a more proper object by adding a
4         constructor to setup the object correctly.  Introspection fixes.
6         (workbook_view_class_init): Make this a more proper object by
7         adding a constructor and init function to setup the object
8         correctly.
10 2018-04-11  Morten Welinder  <terra@gnome.org>
12         * src/workbook-view.c: Introspection fixes, mostly from Dean
13         McCarron.
14         src/workbook-control.c: Ditto.
15         src/wbc-gtk.c: Ditto.
17 2018-03-25  Morten Welinder  <terra@gnome.org>
19         * src/workbook.c (workbook_set_last_export_uri): Constify
20         argument.  Callers fixed.
22 2018-03-23  Morten Welinder  <terra@gnome.org>
24         * src/main-application.c (cpu_sanity_check): New function.
26 2018-03-13  Morten Welinder <terra@gnome.org>
28         * configure.ac: Post-release bump.
30 2018-03-13  Morten Welinder <terra@gnome.org>
32         * Release 1.12.39
34 2018-01-17  Morten Welinder  <terra@gnome.org>
36         * src/sstest.c (function_dump_defs): Drop internal function TABLE
37         as well as demo function ATL_LAST.
39 2018-01-11  Morten Welinder  <terra@gnome.org>
41         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
42         not to trigger an update storm when nothing changes.  Fixes
43         #792417.
45 2018-01-01  Morten Welinder  <terra@gnome.org>
47         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
48         non-reachable code relating to true() and false() conditions.
50 2017-12-30  Morten Welinder  <terra@gnome.org>
52         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
53         changed.
54         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
55         (gnm_expr_top_get_array_expr): New functions.
57         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
58         changed.
60 2017-12-29  Morten Welinder  <terra@gnome.org>
62         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
63         name.  #792038.
65 2017-12-28  Morten Welinder <terra@gnome.org>
67         * configure.ac: Post-release bump.
69 2017-12-28  Morten Welinder <terra@gnome.org>
71         * Release 1.12.38
73 2017-12-25  Morten Welinder  <terra@gnome.org>
75         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
76         * src/func-builtin.c (func_builtin_init): Ditto.
78 2017-12-23  Morten Welinder  <terra@gnome.org>
80         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
82 2017-12-04  Morten Welinder  <terra@gnome.org>
84         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
85         instead of passing them all over the place.
86         (diff): Compare names too.
88 2017-12-03  Morten Welinder  <terra@gnome.org>
90         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
91         (diff): Missing or extra sheet counts as a difference.
93         * src/mstyle.c (gnm_style_find_differences): Don't crash when
94         hlink/validation/inputmsg/conditions is NULL in one and not the other.
96         * src/ssdiff.c (diff_sheets_colrow): New function to compare
97         row/column sizes.
98         (highlight_cell_changed): Survive missing cell.
100 2017-12-01  Morten Welinder <terra@gnome.org>
102         * configure.ac: Post-release bump.
104 2017-12-01  Morten Welinder <terra@gnome.org>
106         * Release 1.12.37
108 2017-11-30  Morten Welinder  <terra@gnome.org>
110         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
111         usage.
112         * src/parse-util.c (wbref_parse): Ditto.
113         * src/preview-grid.c (preview_grid_draw_region): Ditto.
114         * src/item-grid.c (item_grid_draw_region): Ditto.
115         * src/parser.y (yylex): Ditto.
116         * src/criteria.c (parse_database_criteria): Ditto.
118         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
119         stack, allocation.
121         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
122         stack, allocation.
124 2017-11-29  Morten Welinder  <terra@gnome.org>
126         * src/sstest.c (enumerate_functions): Make sure function is loaded.
128         * src/func-builtin.c (help_table): Add help text for TABLE.
130         * src/func.c (gnm_func_enumerate): Introspection annotation.
132         * src/sstest.c (function_dump_defs): Move from func.c with all
133         support code.
134         (gnm_func_sanity_check): Ditto.
136         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
138         * src/main-application.c (pathetic_qt_workaround): Not needed
139         anymore.
141         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
142         looking strange when insensitive and also is a consistent size.
144 2017-11-18  Morten Welinder <terra@gnome.org>
146         * configure.ac: Post-release bump.
148 2017-11-18  Morten Welinder <terra@gnome.org>
150         * Release 1.12.36
152 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
154         * src/gnumeric.css: add grid:selected back-color.
155         * src/item-grid.c (item_grid_draw_region): fix background of multiple
156         selection. [#789411]
158 2017-10-23  Morten Welinder  <terra@gnome.org>
160         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
161         criticals.
163 2017-07-06  Morten Welinder <terra@gnome.org>
165         * configure.ac: Post-release bump.
167 2017-07-06  Morten Welinder <terra@gnome.org>
169         * Release 1.12.35
171 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
173         * src/sheet-object-widget.c
174         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
175         button
177 2017-05-18  Morten Welinder  <terra@gnome.org>
179         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
180         integer orders.
181         (jy_via_j_series): Rename from y_via_j_series and supply both J
182         and Y results.  Use the full J result accuracy.
183         (gnm_bessel_phi): Improve divergence check.
185 2017-05-16  Morten Welinder  <terra@gnome.org>
187         * src/sf-bessel.c (debye_33): Handle near-overflow better.
188         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
189         appropriate.
191         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
193         * src/value.c (value_new_from_string): Handle denormals betters.
195 2017-04-05  Morten Welinder  <terra@gnome.org>
197         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
198         Generalize to Pi/2^e and make public.
200 2017-03-28  Morten Welinder  <terra@gnome.org>
202         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
203         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
204         around the integer with odd count when we can.
206 2017-03-21  Morten Welinder  <terra@gnome.org>
208         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
209         deviation for each bin.
210         (test_random_randchisq, test_random_randtdist)
211         (test_random_randfdist): Don't allow df=0.
212         (test_random_randbeta): Don't floor the parameters thus avoiding
213         zero.
215 2017-03-20  Morten Welinder <terra@gnome.org>
217         * configure.ac: Post-release bump.
219 2017-03-20  Morten Welinder <terra@gnome.org>
221         * Release 1.12.34
223 2017-03-17  Morten Welinder  <terra@gnome.org>
225         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
226         bogus GnmColor here.  The fake object prevents GnmColor equality
227         from working which in turn prevents GnmBorder equality from
228         working.
230         * src/style-color.c (gnm_color_make): Rename from
231         gnm_color_new_uninterned and handle caching here.
232         (gnm_color_new_auto): New function.
234         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
235         (compare_corresponding_cells): Fall back to string comparison.
236         References like Sheet1!A1 should match even if they, obviously,
237         refer to sheets in different workbooks.
239         * src/style-conditions.c (gnm_style_conditions_equal): Add new
240         relax_sheet argument.
242         * src/validation.c (gnm_validation_equal): New function.
244         * src/mstyle.c (gnm_style_find_differences): New function.
246         * src/ssdiff.c (xml_style_changed): Use
247         gnm_style_find_differences.
249         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
250         gnm_style_find_differences, not gnm_style_equal.
252         * src/hlink.c (gnm_hlink_equal): New function.
254 2017-03-13  Morten Welinder  <terra@gnome.org>
256         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
257         inter-sheet local name references.
259 2017-03-10  Morten Welinder  <terra@gnome.org>
261         * src/hlink.c (gnm_hlink_get_name_target)
262         (gnm_hlink_get_range_target): New functions.
263         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
265 2017-03-07  Morten Welinder  <terra@gnome.org>
267         * src/parser.y (parser_simple_name): Extract from
268         parser_simple_val_or_name.  Extend to handle explicit sheet.
269         ("sheetref STRING"): Ise parser_simple_name.
271 2017-03-06  Morten Welinder  <terra@gnome.org>
273         * src/expr-name.c (expr_name_add): Plug leak.
275 2017-03-05  Morten Welinder  <terra@gnome.org>
277         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
278         (gnm_hlink_cur_wb_activate): Move string parsing from here...
279         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
280         value_new_cellrange_str will resolve a name.
282         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
283         sheet for hlinks too.
285         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
286         (gnm_hlink_set_sheet): New functions.
288 2017-01-30  Morten Welinder <terra@gnome.org>
290         * configure.ac: Post-release bump.
292 2017-01-30  Morten Welinder <terra@gnome.org>
294         * Release 1.12.33
296 2017-01-29  Morten Welinder  <terra@gnome.org>
298         * src/style-conditions.c (gnm_style_cond_equal): New function.
299         (gnm_style_conditions_equal): ...split out from here.
301 2017-01-25  Morten Welinder  <terra@gnome.org>
303         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
305 2017-01-22  Morten Welinder  <terra@gnome.org>
307         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
308         expression for text formatted cells.
309         (stf_parse_sheet): Don't try number parsing for text formatted
310         columns.  Fixes #777543.
312 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
314         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
315         format when generating the string. [#777338]
317 2017-01-19  Morten Welinder  <terra@gnome.org>
319         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
321         * src/style-conditions.c (gnm_style_conditions_equal): New
322         function.
324 2016-12-08  Morten Welinder  <terra@gnome.org>
326         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
327         callers changed.
328         (gnm_linear_solve_multiple): Ditto.
330 2016-10-02  Morten Welinder  <terra@gnome.org>
332         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
333         g_mem_set_vtable stuff actually works anymore.
335 2016-08-21  Morten Welinder  <terra@gnome.org>
337         * src/sstest.c (options): Add --fast option.
339         * src/value.c (value_get_as_gstring): Let a negative
340         decimal_digits mean "shortest round-tripping string".
342 2016-08-20  Morten Welinder <terra@gnome.org>
344         * configure.ac: Post-release bump.
346 2016-08-20  Morten Welinder <terra@gnome.org>
348         * Release 1.12.32
350 2016-08-08  Morten Welinder  <terra@gnome.org>
352         * src/criteria.c (criteria_inspect_values): Add flag for string
353         coercion.  Only the equality test wants that.
355         * src/value.c (criteria_inspect_values): Floats don't match
356         errors.
358 2016-08-04  Morten Welinder  <terra@gnome.org>
360         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
361         pointer.
363         * src/collect.c (string_range_function): Add user pointer.  Caller
364         changed.
366 2016-06-29  Morten Welinder <terra@gnome.org>
368         * configure.ac: Post-release bump.
370 2016-06-29  Morten Welinder <terra@gnome.org>
372         * Release 1.12.31
374 2016-06-29  Morten Welinder  <terra@gnome.org>
376         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
377         related to sheet-local names.  [#768164]
379 2016-06-28  Morten Welinder  <terra@gnome.org>
381         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
382         of different lenghts.
384 2016-06-21  Morten Welinder  <terra@gnome.org>
386         * src/value.c (criteria_test_greater_or_equal): Use case-folding
387         comparisons for strings.
388         (parse_criteria, parse_criteria_range): Add argument controlling
389         whether to anchor matching at end of string.
390         (parse_database_criteria): Don't anchor here.
392 2016-06-17  Morten Welinder <terra@gnome.org>
394         * configure.ac: Post-release bump.
396 2016-06-17  Morten Welinder <terra@gnome.org>
398         * Release 1.12.30
400 2016-06-17  Morten Welinder  <terra@gnome.org>
402         * src/value.c (parse_criteria): Anchor matches at the beginning,
403         but not at the end.
405 2016-06-11  Morten Welinder  <terra@gnome.org>
407         * src/value.c (find_rows_that_match): Fix blank handling.
408         (criteria_test_unequal): Wrong type means unequal.
409         (criteria_test_match): Only match strings.
410         (parse_criteria): Don't anchor matches.  This is the right thing
411         to do for DSUM and friends.  Hopefully this doesn't break anything
412         else.
413         (criteria_inspect_values): Strings are incompatible with
414         non-strings.
415         (criteria_test_less, criteria_test_less_or_equal)
416         (criteria_test_greater, criteria_test_greater_or_equal): handle
417         strings.
419 2016-05-19  Morten Welinder  <terra@gnome.org>
421         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
422         decimal counts for the hypothetical comma and point choices.
424 2016-05-10  Morten Welinder  <terra@gnome.org>
426         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
427         members.  Doc fix.
429 2016-05-06  Morten Welinder <terra@gnome.org>
431         * configure.ac: Post-release bump.
433 2016-05-06  Morten Welinder <terra@gnome.org>
435         * Release 1.12.29
437 2016-04-29  Morten Welinder  <terra@gnome.org>
439         * src/gui-util.c (gnm_style_context_get_color): Fix function
440         wrapping gtk_style_context_get_color which changed API.
442 2016-04-24  Morten Welinder  <terra@gnome.org>
444         * src/value-sheet.c (value_area_get_x_y): Use
445         gnm_rangeref_normalize.  Do full wrap-around.
447 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
449         * src/graph.c (gnm_go_data_matrix_load_values): fix array
450         reading. [#765483]
452 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
454         * configure.ac: protect against pxlib weirdness.
456 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
458         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
459         value is an error.
461 2016-03-22  Morten Welinder <terra@gnome.org>
463         * configure.ac: Post-release bump.
465 2016-03-22  Morten Welinder <terra@gnome.org>
467         * Release 1.12.28
469 2016-03-02  Morten Welinder  <terra@gnome.org>
471         * src/sf-bessel.c: Return complex numbers by value, not reference.
473 2016-02-23  Morten Welinder  <terra@gnome.org>
475         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
477 2016-02-18  Morten Welinder  <terra@gnome.org>
479         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
480         #762278.
482 2016-02-12  Morten Welinder  <terra@gnome.org>
484         * src/complex.h: Add a direct-value interface.
486         * src/ssconvert.c (run_solver): Also create solver reports as
487         indicated in options.
489         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
491 2016-02-10  Morten Welinder  <terra@gnome.org>
493         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
494         to 1px.  While that may be a sligh increase for certain
495         themes/gtk+ versions, it is a large decrease for others, notably
496         what comes with an out-of-the-box OpenSuSE leap.  Override in
497         ~/.config/gtk-3.0/gtk.css if need be.
499         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
500         wheel for horizontal motion instead of alt.  Window managers tend
501         to eat the latter.
503 2016-02-08  Morten Welinder  <terra@gnome.org>
505         * src/graph.c (gnm_go_data_vector_eval)
506         (gnm_go_data_vector_finalize): Plug leak.
508 2016-02-06  Morten Welinder <terra@gnome.org>
510         * configure.ac: Post-release bump.
512 2016-02-06  Morten Welinder <terra@gnome.org>
514         * Release 1.12.27
516 2016-02-06  Morten Welinder  <terra@gnome.org>
518         * configure.ac (goffice): Require latest for
519         go_complex_from_polar_pi.
521         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
522         when x<0 and a is real.
524 2016-02-04  Morten Welinder  <terra@gnome.org>
526         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
527         (gnm_complex_continued_fraction): Fail if we would otherwise try
528         to rescale by 0.  Fix termination condition.
529         (igamma_asymp): Fix term update.
530         (complex_igamma): Fix flavour fixup.
532 2016-02-02  Morten Welinder  <terra@gnome.org>
534         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
535         (gamma_error_factor): Extend to all positive numbers.
536         (pochhammer_small_n): Allow any x > 1.
537         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
539 2016-02-01  Morten Welinder  <terra@gnome.org>
541         * configure.ac (yacc, lex): Fail if the required program isn't
542         found.
544 2016-01-31  Morten Welinder  <terra@gnome.org>
546         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
547         complex continued fractions.
549 2016-01-30  Morten Welinder  <terra@gnome.org>
551         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
552         GtkStyleContext.  Another ABI changes causes that to crash.
554         * src/value.c (find_column_of_field): Insist that the database be
555         a cell range, not an array.
557 2016-01-29  Morten Welinder  <terra@gnome.org>
559         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
560         (bessel_ij_series): Rename from bessel_j_series and extend to
561         handle i also.
563         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
564         argument is less than one.
566         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
567         about broken sheet filter.
569         * src/sheet-filter.c (gnm_filter_condition_new_single)
570         (gnm_filter_condition_new_double): Plug leak on error.
571         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
573 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
575         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
576         value. [#761048]
578 2016-01-27  Morten Welinder  <terra@gnome.org>
580         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
581         implementation.
583         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
584         css styling.
586 2016-01-23  Morten Welinder  <terra@gnome.org>
588         * src/parser.y (yylex): Be careful about overflowing numeric
589         token.  Fixes #761023.
591 2016-01-20  Morten Welinder  <terra@gnome.org>
593         * src/complex.h: Namespace.  Mostly for macros.
595 2016-01-16  Morten Welinder  <terra@gnome.org>
597         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
598         unused time argument.  All callers changed.
599         (gnm_simple_canvas_grab): Remove unused arguments and return
600         value.  All callers changed.
602         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
603         without regrabbing the focus.  See #760639.
605 2016-01-13  Morten Welinder  <terra@gnome.org>
607         * src/sstest.c (test_random_randsnorm)
608         (test_random_randbernoulli): Print expected stats.
610         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
611         are sane.  Fixes #760544.
613 2016-01-08  Morten Welinder  <terra@gnome.org>
615         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
617 2016-01-06  Morten Welinder  <terra@gnome.org>
619         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
621 2016-01-04  Morten Welinder  <terra@gnome.org>
623         * src/sheet-style.c (sheet_style_apply_range)
624         (sheet_style_set_range): Silently ignore inverted ranges.
626 2016-01-03  Morten Welinder  <terra@gnome.org>
628         * src/sheet-style.c (sheet_style_apply_range)
629         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
631 2016-01-02  Morten Welinder  <terra@gnome.org>
633         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
635         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
636         zero record size.  Fixes #760087.
638         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
640 2016-01-01  Morten Welinder  <terra@gnome.org>
642         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
644         * src/expr-name.c (expr_name_add): Improve check for circular name
645         defintion.  Fixes #760046.
647 2015-12-28  Morten Welinder  <terra@gnome.org>
649         * src/ssconvert.c (convert): When separating sheets, move current
650         sheet to the front.  See bug #694408.
652         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
653         sheet, remove it at the end.
655 2015-12-28  Morten Welinder <terra@gnome.org>
657         * configure.ac: Post-release bump.
659 2015-12-28  Morten Welinder <terra@gnome.org>
661         * Release 1.12.26
663 2015-12-26  Morten Welinder  <terra@gnome.org>
665         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
666         change here (on the grid).
667         (scg_class_init): Not here.  We're not derived from GtkWidget.
669         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
670         (foreach_tile): New top-level function taking few parameters.  All
671         callers changed.
673 2015-12-25  Morten Welinder <terra@gnome.org>
675         * configure.ac: Post-release bump.
677 2015-12-25  Morten Welinder <terra@gnome.org>
679         * Release 1.12.25
681 2015-12-22  Morten Welinder  <terra@gnome.org>
683         * src/ssdiff.c (xml_style_changed): Do more for input message and
684         validation.
686 2015-12-20  Morten Welinder  <terra@gnome.org>
688         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
689         screen size.
690         (scg_resize): Limit frozen zones to screen size.  Not idea, but
691         better than crashing.
693 2015-12-19  Morten Welinder  <terra@gnome.org>
695         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
697 2015-12-13  Morten Welinder  <terra@gnome.org>
699         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
700         merges on column/row insert.  Fixes #504004.
702 2015-12-12  Morten Welinder  <terra@gnome.org>
704         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
705         when the merge partially falls off the far end.
707 2015-12-10  Morten Welinder  <terra@gnome.org>
709         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
710         ensure actions get accel paths.
712 2015-12-09  Morten Welinder  <terra@gnome.org>
714         * src/wbc-gtk.c (wbcg_find_action): New function to look in
715         multiple places for an action.
717         * src/gui-util.c (gnm_action_group_add_actions): Handle
718         translation context.  Also handle toggle actions.
720 2015-12-08  Morten Welinder  <terra@gnome.org>
722         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
723         syntax.
725         * src/gui-util.c (gnm_action_group_add_actions): New function,
726         currently quite dumb.
728         * configure.ac (CC): Insist on c99.
730 2015-12-05  Morten Welinder  <terra@gnome.org>
732         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
733         (drayleigh): Define in terms of dweibull.
735 2015-12-03  Morten Welinder  <terra@gnome.org>
737         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
738         support.  Fixes R.QHYPER(0.1,3,99,13)
740 2015-10-19  Morten Welinder  <terra@gnome.org>
742         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
743         in[2].  Fixes #752182.
745 2015-09-25  Morten Welinder  <terra@gnome.org>
747         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
748         avoid value copying.  Fixes #752181.
749         (gnumeric_table): Handle repeated cells.  Fixes #752178.
751 2015-09-20  Morten Welinder <terra@gnome.org>
753         * configure.ac: Post-release bump.
755 2015-09-20  Morten Welinder <terra@gnome.org>
757         * Release 1.12.24
759 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
761         * src/gui-file.c (gui_file_save_as): just change the extension not more
762         when the original filename has several dots. [ubuntu #1497344]
764 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
766         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
767         anchors. [#754792]
769 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
771         * src/sheet-object.c (sheet_object_update_bounds),
772         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
773         the objects bounds are always updated. Really fix printing.
774         * src/xml-sax-write.c (xml_write_objects): revert previous change.
776 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
778         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
779         printing, but still not perfect.
780         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
781         * src/xml-sax-write.c (xml_write_objects): ditto.
783 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
785         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
786         with one cell or absolute anchors. [#753961]
787         * src/sheet-object.c (sheet_object_draw_cairo):
789 2015-07-28  Morten Welinder <terra@gnome.org>
791         * configure.ac: Post-release bump.
793 2015-07-28  Morten Welinder <terra@gnome.org>
795         * Release 1.12.23
797 2015-07-14  Morten Welinder  <terra@gnome.org>
799         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
800         #752259.
802 2015-07-09  Morten Welinder  <terra@gnome.org>
804         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
805         operation.  Fixes #752124.
807 2015-07-06  Morten Welinder  <terra@gnome.org>
809         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
811 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
813         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
815 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
817         * src/value.c (value_compare_real): handle two empty values however
818         they appear
820 2015-07-03  Morten Welinder  <terra@gnome.org>
822         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
823         context.
825 2015-06-30  Morten Welinder  <terra@gnome.org>
827         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
828         it all the way here.
830 2015-06-29  Morten Welinder  <terra@gnome.org>
832         * src/func.c (function_iterate_argument_values): Improve name
833         handling.  Part of #751660.
835 2015-06-28  Morten Welinder  <terra@gnome.org>
837         * src/value-sheet.c (value_area_get_width, value_area_get_height):
838         Use the same normalization as value_area_foreach.  Fixes #751390.
840         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
841         Fixes #751577.
843 2015-06-26  Morten Welinder  <terra@gnome.org>
845         * src/value.c (value_new_array_empty): Store value_new_empty(),
846         not NULL, in the slots.  We can make this change because
847         value_new_empty() is a singleton that does not need to be
848         released.  Fixes #751502.
850 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
852         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
854 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
856         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
857         (xml_sax_object_end): ensure we always use the right state. [#751217]
859 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
861         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
863 2015-06-20  Morten Welinder  <terra@gnome.org>
865         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
866         overflow.
867         (go_data_cache_records_fetch_index): If resizing failed return
868         NULL early.
870 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
872         * src/parse-util.h (_GnmConventions): add union_char field
873         * src/parser.y (yylex): handle union_char
874         (setup_state): set union_char
876 2015-06-18  Morten Welinder  <terra@gnome.org>
878         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
879         specifying types derived from sheet objects.  Fixes #751126.
880         (xml_sax_hlink): Similarly.
882 2015-06-16  Morten Welinder  <terra@gnome.org>
884         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
885         in names.  Fixes #751056.
887 2015-05-27  Morten Welinder  <terra@gnome.org>
889         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
890         division by zero.  Fixes #749917.
892         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
894 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
896         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
897         comment #3]
899 2015-05-11  Morten Welinder  <terra@gnome.org>
901         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
902         something bad that will happen whenever FALSE equals TRUE.
904         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
905         inline values.
907         * src/cell.c (gnm_cell_set_array): Improve preconditions.
909 2015-05-09  Morten Welinder  <terra@gnome.org>
911         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
913 2015-04-28  Morten Welinder  <terra@gnome.org>
915         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
916         malformed documents.  Fixes #748596.
917         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
918         #748595.
920 2015-04-16  Morten Welinder <terra@gnome.org>
922         * configure.ac: Post-release bump.
924 2015-04-16  Morten Welinder <terra@gnome.org>
926         * Release 1.12.22
928 2015-04-15  Morten Welinder  <terra@gnome.org>
930         * src/ranges.c (gnm_range_compare): New function.
932 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
934         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
935         (see #700599, comment #11).
937 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
939         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
940         sheet object name, try the image name.
942 2015-04-11  Morten Welinder  <terra@gnome.org>
944         * src/sf-dpq.c (qcauchy): Handle cancellation.
946         * src/mathfunc.c (pcauchy): Simplify.
948         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
949         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
951 2015-04-09  Morten Welinder  <terra@gnome.org>
953         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
954         case.
956 2015-04-04  Morten Welinder  <terra@gnome.org>
958         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
959         Fixes #747356.
961         * src/xml-sax-write.c (xml_write_objects): Save only relevant
962         parts of the cell bound.
964         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
965         Initialize parts of cell_bound not used.
967 2015-04-01  Morten Welinder  <terra@gnome.org>
969         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
970         GNM_XML_2ND here too.
971         (gnm_sogg_sax_parser_done): Plug leak.
973 2015-03-30  Morten Welinder  <terra@gnome.org>
975         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
976         function.
978         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
979         mode.
981         * src/sstest.c (test_random_randhyperg): Take var=0 case into
982         account when checking mean.
984         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
985         graph here.
987 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
989         * src/graph.h: add support for absolute anchoring of sheet objects.
990         * src/item-grid.c: ditto.
991         * src/sheet-control-gui.c: ditto.
992         * src/sheet-filter.c: ditto.
993         * src/sheet-object-cell-comment.c: ditto.
994         * src/sheet-object-component.c: ditto.
995         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
996         cells by default. [#684450]
997         * src/sheet-object-image.c: make images don't resize with cells by default.
998         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
999         * src/sheet-object.h: ditto.
1000         * src/workbook-view.c: ditto.
1001         * src/xml-sax-read.c: ditto.
1002         * src/xml-sax-write.c: ditto.
1004 2015-03-30  Morten Welinder  <terra@gnome.org>
1006         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1008 2015-03-23  Morten Welinder  <terra@gnome.org>
1010         * src/sstest.c (rand_fractile_test): Plug leak.
1012 2015-03-21  Morten Welinder  <terra@gnome.org>
1014         * src/sstest.c (rand_fractile_test): Add support for
1015         non-continuous distributions.
1017         * src/mathfunc.c (qgeom): Update to current version in R.
1019         * src/gnm-random.c (random_geometric): Don't add one.
1020         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1022 2015-03-20  Morten Welinder  <terra@gnome.org>
1024         * src/sstest.c (test_random_randbinom): New test.
1025         (test_random_randbetween): New test.
1026         (test_random_randexp): New test.
1027         (test_random_randpoisson): New test.
1028         (test_random_randgeom): New test.
1029         (test_random_randnegbinom): New test.
1030         (test_random_randlog): New test.
1031         (test_random_randdiscrete): New test.
1032         (test_random_randgamma): New test.
1033         (test_random_randtdist): New test.
1034         (test_random_randuniform): New test.
1035         (test_random_randfdist): New test.
1036         (test_random_randcauchy): New test.
1037         (test_random_randbeta): New test.
1038         (test_random_randchisq): New test.
1039         (test_random_randhyperg): New test.
1041         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1043 2015-03-19  Morten Welinder  <terra@gnome.org>
1045         * src/func.c (dump_samples): New function to dump all sample in
1046         help documentation to csv format.
1048         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1049         non-positive integer, but neither a nor b is.
1051 2015-03-07  Morten Welinder  <terra@gnome.org>
1053         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1055         * src/sheet-object-widget.c
1056         (sheet_widget_adjustment_write_xml_sax): Use new
1057         go_xml_out_add_double.
1059         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1060         go_xml_out_add_double.
1062 2015-03-05  Morten Welinder  <terra@gnome.org>
1064         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1065         copy_data argument and simply assume it.
1067 2015-03-04  Morten Welinder <terra@gnome.org>
1069         * configure.ac: Post-release bump.
1071 2015-03-04  Morten Welinder <terra@gnome.org>
1073         * Release 1.12.21
1075 2015-03-03  Morten Welinder  <terra@gnome.org>
1077         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1078         version we write and document why we can't easily increase that
1079         version.
1081 2015-03-02  Morten Welinder  <terra@gnome.org>
1083         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1085         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1086         (xml_sax_version): Bring version list up to date.
1088 2015-03-01  Morten Welinder  <terra@gnome.org>
1090         * src/sheet-object-widget.c
1091         (sheet_widget_list_base_set_selection_value): Plug leak.
1093 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1095         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1096         pixbuf stores the image type.
1098 2015-02-28  Morten Welinder  <terra@gnome.org>
1100         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1101         image, not the bytes in addition.
1102         (gnm_soi_class_init): Use property "image" of type GOImage instead
1103         of "image-data" weirdness.
1104         (gnm_soi_draw_cairo): Remove non-functional fallback.
1105         (gnm_soi_default_size): Ditto.
1107 2015-02-27  Morten Welinder  <terra@gnome.org>
1109         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1110         type for image data.  Create image data if needed.
1111         (SheetObjectImage): Use a properly allocated GByteArray.
1113         * src/sheet-object-widget.c
1114         (sheet_widget_adjustment_user_config_impl): Widgets must have
1115         changed names at some point.  Adjust for that.
1117 2015-02-25  Morten Welinder  <terra@gnome.org>
1119         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1120         Also evaluate here.
1121         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1122         contents.
1124 2015-02-23  Morten Welinder  <terra@gnome.org>
1126         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1127         New function.
1129 2015-02-21  Morten Welinder  <terra@gnome.org>
1131         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1132         gboolean, not a double.
1134         * src/sheet-object-widget.c
1135         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1136         fixed, precision.
1137         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1138         new-fangled orientation for scrollbars.
1140 2015-02-20  Morten Welinder  <terra@gnome.org>
1142         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1143         (cb_button_released): Set value to FALSE here(!)
1145 2015-02-18  Morten Welinder  <terra@gnome.org>
1147         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1148         error just because a cell with text format fails to produce an
1149         expression.  That's expected for text format.
1151 2015-02-17  Morten Welinder  <terra@gnome.org>
1153         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1155 2015-02-11  Morten Welinder  <terra@gnome.org>
1157         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1158         writing duplicate style so version 1.2 and earlier can read it.
1160 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1162         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1163         that can't be convered to valid numbers.
1165 2015-02-10  Morten Welinder  <terra@gnome.org>
1167         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1169 2015-02-06  Morten Welinder  <terra@gnome.org>
1171         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1172         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1173         (sheet_widget_radio_button_set_link)
1174         (sheet_widget_list_base_set_links)
1175         (sheet_widget_adjustment_set_details): Only link if we have a
1176         sheet.
1178 2015-02-04  Morten Welinder <terra@gnome.org>
1180         * configure.ac: Post-release bump.
1182 2015-02-04  Morten Welinder <terra@gnome.org>
1184         * Release 1.12.20
1186 2015-01-30  Morten Welinder  <terra@gnome.org>
1188         * src/sheet-object-widget.c
1189         (sheet_widget_adjustment_set_horizontal): Make this public.
1191 2015-01-23  Morten Welinder <terra@gnome.org>
1193         * configure.ac: Post-release bump.
1195 2015-01-23  Morten Welinder <terra@gnome.org>
1197         * Release 1.12.19
1199 2015-01-20  Morten Welinder  <terra@gnome.org>
1201         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1202         See bug #743130.
1204 2015-01-19  Morten Welinder  <terra@gnome.org>
1206         * src/gutils.c (gnm_icon_dir): Remove.
1208         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1209         resources.
1211         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1212         from glib resources.
1214         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1215         Delete.
1217         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1218         otherwise dump them in temporary files in order to load them.
1220         * src/workbook.c (workbook_update_graphs): New function.
1222         * src/workbook-view.c (workbook_view_new_from_input): Update
1223         graphs.
1225 2015-01-14  Morten Welinder  <terra@gnome.org>
1227         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1228         an expresssion, make it a string instead of dropping it on the
1229         floor.
1231 2015-01-13  Morten Welinder  <terra@gnome.org>
1233         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1234         missing shared expression, define a dummy version so we don't get
1235         repeated errors.
1237 2015-01-09  Morten Welinder  <terra@gnome.org>
1239         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1240         sort them later than other values.  This fixes #742601.
1242 2015-01-01  Morten Welinder  <terra@gnome.org>
1244         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1245         names, not stock ids.
1247         * src/gnm-pane.c (update_control_point_colors): Avoid
1248         gtk_style_context_get_background_color.
1249         * src/item-cursor.c (ic_reload_style): Ditto.
1251 2014-12-30  Morten Welinder  <terra@gnome.org>
1253         * src/rendered-value.c (gnm_rendered_value_new):
1254         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1256 2014-12-27  Morten Welinder  <terra@gnome.org>
1258         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1259         unless we really have to.
1261 2014-12-25  Morten Welinder  <terra@gnome.org>
1263         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1264         multihead issue.
1266         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1268         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1270         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1271         icon on sheet direction changes.
1273         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1275 2014-12-24  Morten Welinder  <terra@gnome.org>
1277         * src/wbc-gtk.c (wbcg_show_save_dialog)
1278         (wbcg_close_if_user_permits): Constant propagation.
1280         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1281         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1283 2014-12-22  Morten Welinder  <terra@gnome.org>
1285         * icons/fake-index-theme: we need actions directories too.
1287 2014-12-21  Morten Welinder  <terra@gnome.org>
1289         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1290         handling.
1292 2014-12-20  Morten Welinder  <terra@gnome.org>
1294         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1295         count in delete, such as used from sheet resize.
1297 2014-12-19  Morten Welinder  <terra@gnome.org>
1299         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1300         (before g_setenv is available).
1302 2014-12-16  Morten Welinder  <terra@gnome.org>
1304         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1305         number.
1307         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1308         the delete case.
1310 2014-12-15  Morten Welinder  <terra@gnome.org>
1312         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1313         sheet_style_insert_colrow and handled deletion too.
1315         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1316         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1317         and clean up.
1319         * src/dependent.c (dependent_has_pos, dependent_move): New
1320         functions.
1322 2014-12-14  Morten Welinder  <terra@gnome.org>
1324         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1325         free.
1327 2014-12-11  Morten Welinder  <terra@gnome.org>
1329         * src/dependent.c (style_dep_debug_name): Include position too.
1331         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1332         sheet_row_add.
1333         (colrow_move): Change parameterization slightly.
1335 2014-12-06  Morten Welinder  <terra@gnome.org>
1337         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1338         want them visually gone and g_object_unref does not guarantee
1339         that.
1341         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1342         dependents.  A later step clears and re-applies style completely
1343         for the moved area.  Fixes #741197.
1345         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1346         function.
1348         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1349         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1351         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1352         leak.
1353         (gnm_cmd_context_error_splits_merge): Plug leak.
1355 2014-11-15  Morten Welinder  <terra@gnome.org>
1357         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1358         the wbc is already gone.
1360 2014-11-09  Morten Welinder  <terra@gnome.org>
1362         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1363         data.  Might fix Redhat #1160975.
1365 2014-10-28  Morten Welinder  <terra@gnome.org>
1367         * src/style.c (find_font): Accept NULL font name.
1369 2014-10-27  Morten Welinder  <terra@gnome.org>
1371         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1372         code.
1374 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1376         * src/item-cursor.c (cb_item_cursor_animation): use
1377         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1378         outside of a draw event.
1380 2014-10-26  Morten Welinder  <terra@gnome.org>
1382         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1383         Use throughout.
1384         (GnmValue): Drop type union member.  C99 requires that this be
1385         accessed in a structure.  We have v_any for that.
1387 2014-10-25  Morten Welinder  <terra@gnome.org>
1389         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1390         ought to survive both gcc's aliasing analysis and valgrind's
1391         bitfield problems.
1393 2014-10-24  Morten Welinder  <terra@gnome.org>
1395         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1397 2014-10-21  Morten Welinder  <terra@gnome.org>
1399         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1401 2014-09-25  Morten Welinder <terra@gnome.org>
1403         * configure.ac: Post-release bump.
1405 2014-09-25  Morten Welinder <terra@gnome.org>
1407         * Release 1.12.18
1409 2014-09-25  Morten Welinder  <terra@gnome.org>
1411         * src/sheet-filter.c (gnm_filter_condition_new_single)
1412         (gnm_filter_condition_new_double): Fix preconditions.  See
1413         #735249.
1415 2014-09-23  Morten Welinder  <terra@gnome.org>
1417         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1418         doesn't spew deprecation warnings by default.
1420 2014-09-11  Morten Welinder  <terra@gnome.org>
1422         * src/style.c (gnm_translate_underline_from_pango): Survive
1423         PANGO_UNDERLINE_ERROR.
1425 2014-06-09  Morten Welinder <terra@gnome.org>
1427         * configure.ac: Post-release bump.
1429 2014-06-09  Morten Welinder <terra@gnome.org>
1431         * Release 1.12.17
1433 2014-05-28  Morten Welinder  <terra@gnome.org>
1435         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1436         when we drag the handle into the col/row canvas.
1438         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1440         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1441         handler.  Fixes #730884.
1443 2014-05-27  Morten Welinder  <terra@gnome.org>
1445         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1446         col/row canvas.  Fixes #730857.
1447         (gnm_pane_dispose): Release references.
1449 2014-05-23  Morten Welinder <terra@gnome.org>
1451         * configure.ac: Post-release bump.
1453 2014-05-23  Morten Welinder <terra@gnome.org>
1455         * Release 1.12.16
1457 2014-05-23  Morten Welinder  <terra@gnome.org>
1459         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1460         need better building blocks for commands; this is one such.
1462 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1464         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1465         (cmd_hyperlink_redo): ditto
1466         (cmd_hyperlink_finalize): ditto
1467         (cb_cmd_hyperlink_find_cells): ditto
1469 2014-05-20  Morten Welinder  <terra@gnome.org>
1471         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1473         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1474         outline and fill colours that are auto, even for the 1.0 format.
1476         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1477         conditional format ranges.
1479 2014-05-14  Morten Welinder  <terra@gnome.org>
1481         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1483         * src/gutils.c (gnm_object_has_readable_prop): New function.
1485         * configure.ac (scrollkeeper): Test if we have it.
1487 2014-05-05  Morten Welinder  <terra@gnome.org>
1489         * src/wbc-gtk.c (toolbar_context_menu): Remove
1490         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1491         false for years and is unsupported in gtk+.
1493 2014-04-30  Morten Welinder <terra@gnome.org>
1495         * configure.ac: Post-release bump.
1497 2014-04-30  Morten Welinder <terra@gnome.org>
1499         * Release 1.12.15
1501 2014-04-23  Morten Welinder  <terra@gnome.org>
1503         * src/complete.c (complete_idle): Avoid abort().
1505         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1506         source.
1508 2014-04-22  Morten Welinder  <terra@gnome.org>
1510         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1511         replaced with calls to gnm_color_new_go.
1513         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1515         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1517 2014-04-21  Morten Welinder  <terra@gnome.org>
1519         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1520         only in the hop of fixing #728465.
1522 2014-04-13  Morten Welinder <terra@gnome.org>
1524         * configure.ac: Post-release bump.
1526 2014-04-13  Morten Welinder <terra@gnome.org>
1528         * Release 1.12.14
1530 2014-04-11  Morten Welinder  <terra@gnome.org>
1532         * src/item-bar.c: Get colours when we draw; only get sizing
1533         relevant information at odd times, in particular when parent
1534         widgets may be insensitive, such as during a load-onto-pristine.
1535         Fixes #728007.
1537 2014-04-10  Morten Welinder  <terra@gnome.org>
1539         * src/item-bar.c (ib_reload_style): Add debug code.
1541 2014-04-09  Morten Welinder  <terra@gnome.org>
1543         * src/number-match.c (format_match_datetime): Plug leak on certain
1544         failure cases.
1546 2014-04-02  Morten Welinder  <terra@gnome.org>
1548         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1549         integer test.
1551 2014-03-30  Morten Welinder  <terra@gnome.org>
1553         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1554         list of extra uis.
1556 2014-03-28  Morten Welinder  <terra@gnome.org>
1558         * src/main-application.c (main): Move Ubuntu hack earlier.
1560 2014-03-27  Morten Welinder  <terra@gnome.org>
1562         * src/main-application.c (main): Attempt to banish ubuntu's
1563         overlay scrollbar which don't work.
1565 2014-03-21  Morten Welinder  <terra@gnome.org>
1567         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1568         case insensitve and allow wildcards.
1570         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1571         from fn-string.
1573         * src/style-conditions.c (generate_end_match): Use case
1574         insensitive comparison.  Pull negation into the operator.
1575         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1576         insensitive.
1578 2014-03-18  Morten Welinder  <terra@gnome.org>
1580         * src/gui-util.c (kill_popup_menu): One more try at really killing
1581         the context menu after we're done with it.
1583         * src/item-grid.c (item_grid_realize): Plug leak.
1585 2014-03-18  Morten Welinder <terra@gnome.org>
1587         * configure.ac: Post-release bump.
1589 2014-03-18  Morten Welinder <terra@gnome.org>
1591         * Release 1.12.13
1593 2014-03-18  Morten Welinder  <terra@gnome.org>
1595         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1596         providers from screens on exit.
1598         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1600 2014-03-17  Morten Welinder  <terra@gnome.org>
1602         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1604 2014-03-16  Morten Welinder  <terra@gnome.org>
1606         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1607         formats.  I'm not positive we do things right, but this avoids
1608         criticals, at least.
1610         * src/cell.c (cell_set_expr_internal): Don't change an existing
1611         value.
1613 2014-03-15  Morten Welinder  <terra@gnome.org>
1615         * src/style-border.c (gnm_border_shutdown): New function to help
1616         debug leaks.  Shutdown border_none here.
1618         * src/style-color.c (gnm_color_shutdown): Not here.
1620 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1622         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1623         the tooltip where it will not immediatly be destroyed after creation.
1624         [really fix #706659]
1626 2014-03-14  Morten Welinder  <terra@gnome.org>
1628         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1629         if we don't have any.
1631 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1633         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1635 2014-03-13  Morten Welinder  <terra@gnome.org>
1637         * src/style-conditions.c (gnm_style_cond_eval): New function
1638         extracted from gnm_style_conditions_eval.  Make "equal" case
1639         insensitive.  Fixes #726246.
1641         * src/ssconvert.c (convert): Show resize message only if verbose.
1643 2014-03-12  Morten Welinder  <terra@gnome.org>
1645         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1646         function.
1647         (gnm_style_cond_canonicalize): New function.
1649         * src/ssconvert.c (convert): only print "Using exporter ..." if
1650         --verbose is given, and print it to stderr.
1652 2014-03-11  Morten Welinder  <terra@gnome.org>
1654         * src/sheet.c (cb_set_markup): Don't mess directly with
1655         cell->value.  We need to trigger a re-render.  Fixes #726086.
1657         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1658         for the pre-validation assignment.
1660         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1661         before assigning it to the cell.
1663 2014-03-10  Morten Welinder  <terra@gnome.org>
1665         * gnumeric.xsd: Update valign/halign attributes.  Update print
1666         setup.
1668         * src/sheet-filter.c (gnm_filter_condition_new_single)
1669         (gnm_filter_condition_new_double): Add preconditions.
1671 2014-03-07  Morten Welinder  <terra@gnome.org>
1673         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1675 2014-03-05  Morten Welinder  <terra@gnome.org>
1677         * src/expr.c (gnm_expr_top_is_volatile): New function.
1679         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1680         volatile expressions.
1682         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1683         (dependent_is_volatile): New function.
1685         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1686         Don't set the initial range here.
1688         * src/expr.c (gnm_expr_top_first_funcall)
1689         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1690         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1691         gnm_expr_walk.
1692         (gnm_expr_top_get_boundingbox): Set initial range here.
1694         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1695         Ditto.
1697 2014-03-03  Morten Welinder <terra@gnome.org>
1699         * configure.ac: Post-release bump.
1701 2014-03-03  Morten Welinder <terra@gnome.org>
1703         * Release 1.12.12
1705 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1707         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1709 2014-03-02  Morten Welinder  <terra@gnome.org>
1711         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1712         name-collections.
1713         (wbcg_sheet_order_changed): Mark ui as being updated.
1714         (cb_bnotebook_page_reordered): Ignore during UI update.
1716         * src/expr-name.c (gnm_named_expr_collection_dump)
1717         (gnm_named_expr_collection_sanity_check): New function.
1719         * src/application.c (gnm_app_sanity_check): New function.
1721         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1722         string inside the GOString as a hash key.  It can change.
1723         (gnm_named_expr_collection_foreach): As a consequence of the
1724         above, the first argument to the handler for
1725         gnm_named_expr_collection_foreach changes to something
1726         unspecified.  All callers changed.
1728         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1729         sheet.
1731         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1732         when encountering strangeness.
1734 2014-02-28  Morten Welinder  <terra@gnome.org>
1736         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1737         If row/column canvas is not visible, ignore them.
1738         (scg_gtk_paned_set_position): Don't allow negative position.
1739         Fixes #725375.
1741         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1742         changes.
1744 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1746         * src/item-grid.c (item_grid_draw_region): fix background filling for
1747         rtl sheets. [#725276]
1749 2014-02-25  Morten Welinder  <terra@gnome.org>
1751         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1752         (gnumeric_create_popup_menu): Drop return value from handler.
1754         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1755         are cell comments by position.
1757 2014-02-24  Morten Welinder  <terra@gnome.org>
1759         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1761         * src/colrow.c (colrow_equal): Don't use floating-point equality
1762         here.  Allow a difference of 1e-5 pt for size.
1764 2014-02-23  Morten Welinder  <terra@gnome.org>
1766         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1767         fill in the new areas with most common styles for the rows to the
1768         left of the new columns or the columns above the new area.
1770 2014-02-19  Morten Welinder  <terra@gnome.org>
1772         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1773         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1775         * src/mathfunc.c (gnm_log2): New function.
1777 2014-02-18  Morten Welinder  <terra@gnome.org>
1779         * src/ssdiff.c (xml_style_changed): Report differences for
1780         auto-color settings.
1782 2014-02-17  Morten Welinder  <terra@gnome.org>
1784         * src/ssconvert.c (convert): Add --resize option.
1786 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1788         * src/item-grid.c (item_grid_realize): fix persistence of
1789         hyperlink tips. [see #724108]
1791 2014-02-16  Morten Welinder <terra@gnome.org>
1793         * configure.ac: Post-release bump.
1795 2014-02-16  Morten Welinder <terra@gnome.org>
1797         * Release 1.12.11
1799 2014-02-16  Morten Welinder  <terra@gnome.org>
1801         * src/func.c (function_dump_defs): Update boilerplate.
1803 2014-02-11  Morten Welinder <terra@gnome.org>
1805         * configure.ac: Post-release bump.
1807 2014-02-11  Morten Welinder <terra@gnome.org>
1809         * Release 1.12.10
1811 2014-02-07  Morten Welinder  <terra@gnome.org>
1813         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1814         entry on top of merged cells.  Fixes #723600.
1816 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1818         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1819         a better fix to previous issue.
1821 2014-01-30  Morten Welinder  <terra@gnome.org>
1823         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1824         toolbar icons.
1826         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1827         smoother (when not using the fallback).  Avoid using hard light
1828         for ant-ing -- that doesn't work for the same reason as alpha not
1829         working.  Always use phase=0 for non-ant stipples.
1830         (GnmItemCursor): Use the canvas item's visibility flag instead of
1831         rolling our own.
1833 2014-01-29  Morten Welinder  <terra@gnome.org>
1835         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1837         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1838         check for bad clipping somewhere in gtk+ or theme land.
1840 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1842         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1843         component reference to the workbook.
1845 2014-01-27  Morten Welinder  <terra@gnome.org>
1847         * src/func.c (function_dump_defs): Undo wiki change.
1849 2014-01-21  Morten Welinder  <terra@gnome.org>
1851         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1852         the amount of work we do for ant-ing.  Fixes #381011, patch from
1853         Jean.
1854         (ic_reload_style): Ignore alpha component of ant colours.
1856 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1858         * src/graph.c (gnm_go_data_vector_load_len),
1859         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1860         [#722294]
1862 2014-01-16  Morten Welinder  <terra@gnome.org>
1864         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1865         cb_darken_foreground_attributes and change to take non-white
1866         background into account.
1868 2014-01-12  Morten Welinder  <terra@gnome.org>
1870         * src/mathfunc.c (expmx2h): Split out from dnorm.
1871         (dhyper): Round the chosen "p" to float to improve accuracy of
1872         "q".
1874 2014-01-11  Morten Welinder  <terra@gnome.org>
1876         * src/mathfunc.c (pow1p): Improve accuracy.
1877         (R_D_nonint): Fix rounding problem.
1878         (ebd0): New extended version of bd0.
1879         (dpois_raw, dbinom_raw): Use ebd0.
1880         (dbinom_raw): Handle x==n and x==0 much better.
1882 2014-01-08  Morten Welinder  <terra@gnome.org>
1884         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1885         g_mkdtemp_full.
1887         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1889         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1890         return the WorkbookView instead of a boolean.
1892 2014-01-01  Morten Welinder  <terra@gnome.org>
1894         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1896 2013-12-31  Morten Welinder  <terra@gnome.org>
1898         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1899         mathfunc.c
1901 2013-12-30  Morten Welinder  <terra@gnome.org>
1903         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1904         (bd0): Reimplement.
1905         (dpois_raw): Avoid going through logs, if possible.
1907 2013-12-25  Morten Welinder  <terra@gnome.org>
1909         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1910         we return FALSE so we don't try to remove the source later.
1912 2013-12-22  Morten Welinder  <terra@gnome.org>
1914         * src/gui-util.c (gnm_widget_measure_string): New function
1915         allowing the elimination of all gtk_style_context_get_font calls.
1917 2013-12-19  Morten Welinder  <terra@gnome.org>
1919         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1920         especially when |x|<<1.  Ditto for x<-1.
1922 2013-12-17  Morten Welinder  <terra@gnome.org>
1924         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1925         multiplication.
1927 2013-12-14  Morten Welinder  <terra@gnome.org>
1929         * src/sf-gamma.c (complex_igamma): New function.
1931 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
1933         * */*.c: Fix some leaks and null dereferences pointed out by
1934         cppcheck.
1936 2013-12-12  Morten Welinder  <terra@gnome.org>
1938         * src/parser.y (array_row): Avoid overrunning string when multiple
1939         missing closing parentheses are detected.  Fixes #720353.
1941 2013-12-11  Morten Welinder  <terra@gnome.org>
1943         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1944         gdk_event_get_screen, not from ->screen.  This might fix #720182.
1946         * src/*.c: Use accessor function for GdkEvent when convenient.
1948 2013-12-07  Morten Welinder  <terra@gnome.org>
1950         * src/application.c (gnm_app_init): Don't allocate a
1951         GtkRecentManager if we are not in gui mode.
1953         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1954         behaviour.
1955         * src/dependent.c (deprange_hash): Ditto.
1957 2013-12-04  Morten Welinder  <terra@gnome.org>
1959         * src/sf-gamma.c (gamma_error_factor): Add extra term.
1961 2013-12-07  Morten Welinder  <terra@gnome.org>
1963         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1964         of the argument for [-1.5;-0.5].
1966         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1967         Re z < 1/2.  Avoid some overflow.
1969 2013-12-02  Morten Welinder  <terra@gnome.org>
1971         * src/sf-bessel.c (bessel_y): Use the J series when possible.
1973 2013-12-07  Morten Welinder  <terra@gnome.org>
1975         * src/sf-bessel.c (bessel_j): Use the taylor series in the
1976         parameter range where that makes sense.
1978         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1979         (gnm_beta): Ditto.
1981 2013-11-30  Morten Welinder  <terra@gnome.org>
1983         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
1984         negative values.
1986 2013-11-28  Morten Welinder <terra@gnome.org>
1988         * configure.ac: Post-release bump.
1990 2013-11-28  Morten Welinder <terra@gnome.org>
1992         * Release 1.12.9
1994 2013-11-25  Morten Welinder  <terra@gnome.org>
1996         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1997         mathfunc.c
1999 2013-11-19  Morten Welinder  <terra@gnome.org>
2001         * src/print.c (print_page): Fix check for missing object.  Fixes
2002         #712662.
2004 2013-11-18  Morten Welinder  <terra@gnome.org>
2006         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2008 2013-11-15  Morten Welinder  <terra@gnome.org>
2010         * src/mathfunc.c (reduce_pi_half): New function.
2012 2013-11-14  Morten Welinder  <terra@gnome.org>
2014         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2015         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2017 2013-11-13  Morten Welinder  <terra@gnome.org>
2019         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2021 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2023         * src/sheet-object.c (sheet_object_view_button2_pressed),
2024         (sheet_object_view_class_init): implement double click for graph sheets.
2025         [#712216]
2027 2013-11-12  Morten Welinder  <terra@gnome.org>
2029         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2030         emission.
2031         (cb_bnotebook_page_reordered): New function.
2032         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2034         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2036 2013-11-06  Morten Welinder  <terra@gnome.org>
2038         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2040 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2042         * src/workbook-view.c: add more introspection related comments.
2043         * src/workbook.c: ditto.
2045 2013-11-03  Morten Welinder  <terra@gnome.org>
2047         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2048         sin/cos before scaling by pi.
2050 2013-11-01  Morten Welinder  <terra@gnome.org>
2052         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2053         (gnm_gamma): Protect against unnecessary overflow at top of range.
2055 2013-10-31  Morten Welinder  <terra@gnome.org>
2057         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2058         avoids accuracy problems since any cdf is completely flat in terms
2059         of floating point values when going sufficiently far into the
2060         tail.
2061         (qtukey): Ditto.
2062         (qbeta): Ditto.
2063         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2064         (permut): Route this into pochhammer.
2065         (qfact): New function.  Tabulate 0! through 50000! using quad
2066         precision arithmetic.
2067         (combin, fact, pochhammer): Improve accuracy using qfact.
2069 2013-10-22  Morten Welinder  <terra@gnome.org>
2071         * src/func.c (function_call_with_exprs): Move flags argument into
2072         structure.
2074 2013-10-19  Morten Welinder  <terra@gnome.org>
2076         * src/hlink.c (_gnm_hlink_init): New function.
2077         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2079 2013-10-07  Morten Welinder <terra@gnome.org>
2081         * configure.ac: Post-release bump.
2083 2013-10-07  Morten Welinder <terra@gnome.org>
2085         * Release 1.12.8
2087 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2089         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2091 2013-10-03  Morten Welinder  <terra@gnome.org>
2093         * src/item-cursor.c (item_cursor_draw): Drop expose area
2094         optimization that may not be correct with current gtk.  See bug
2095         #709320.
2097 2013-09-29  Morten Welinder  <terra@gnome.org>
2099         * src/main-application.c: Include <io.h> for win32.
2101         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2103 2013-09-25  Morten Welinder  <terra@gnome.org>
2105         * src/gnumeric.css: Use lighter green for function marker.
2107 2013-09-01  Morten Welinder <terra@gnome.org>
2109         * configure.ac: Post-release bump.
2111 2013-09-01  Morten Welinder <terra@gnome.org>
2113         * Release 1.12.7
2115 2013-08-29  Morten Welinder  <terra@gnome.org>
2117         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2118         Fixes #707047.
2120 2013-08-28  Morten Welinder  <terra@gnome.org>
2122         * src/mathfunc.c (gnm_gamma): Improve precision for large
2123         arguments.
2124         (gnm_yn): Not needed anymore.
2125         (bessel_i): Don't mark error strings for translation.
2127 2013-08-27  Morten Welinder <terra@gnome.org>
2129         * configure.ac: Post-release bump.
2131 2013-08-27  Morten Welinder <terra@gnome.org>
2133         * Release 1.12.6
2135 2013-08-26  Morten Welinder  <terra@gnome.org>
2137         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2138         (internal_style_list): Add fast pre-optimization to bring down the
2139         number of entries before we start messing with hashes.  Fixes
2140         #699045.
2142 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2144         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2145         GraphDimEditor::changed. See bug 706591 comment #2.
2147 2013-08-19  Morten Welinder <terra@gnome.org>
2149         * configure.ac: Post-release bump.
2151 2013-08-19  Morten Welinder <terra@gnome.org>
2153         * Release 1.12.5
2155 2013-08-15  Morten Welinder  <terra@gnome.org>
2157         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2158         Fixes #706095.
2160         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2161         parameters.  See bug 705913, comment 6.
2163 2013-08-13  Morten Welinder  <terra@gnome.org>
2165         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2167 2013-08-12  Morten Welinder  <terra@gnome.org>
2169         * src/sheet-object-widget.c (sow_create_widget): New function.
2170         Add sheet-object class to widgets.
2172 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2174         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2175         initial colour
2176         (sheet_widget_button_draw_cairo): also scale line thickness
2177         (sheet_widget_checkbox_draw_cairo): scale button size
2178         (sheet_widget_radio_button_draw_cairo): scale button size
2180 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2182         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2183         argument and change all callers
2185 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2187         * src/sheet-object-widget.c (get_font): add fall-backs
2189 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2191         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2192         draw_cairo_text.
2193         (draw_cairo_text): add h-vcenter argument and change all callers
2195 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2197         * src/sheet-object-widget.c (cb_range_destroyed),
2198         (sheet_widget_scrollbar_create_widget),
2199         (sheet_widget_spinbutton_create_widget),
2200         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2201         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2203 2013-08-09  Morten Welinder  <terra@gnome.org>
2205         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2206         get_font.
2207         (get_font): New function extracted from draw_cairo_text.
2209 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2211         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2212         if possible
2214 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2216         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2217         allow multi-paragraph with a highlighted line. Change all callers
2218         (sheet_widget_list_draw_cairo): use draw_cairo_text
2220 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2222         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2223         cairo version for Gnuemric too.
2224         (sheet_widget_button_draw_cairo): ditto
2225         (sheet_widget_scrollbar_draw_cairo): ditto
2226         (sheet_widget_spinbutton_draw_cairo): ditto
2227         (sheet_widget_slider_draw_cairo): ditto
2228         (sheet_widget_checkbox_draw_cairo): ditto
2229         (sheet_widget_radio_button_draw_cairo): ditto
2230         (sheet_widget_list_draw_cairo): ditto
2231         (sheet_widget_combo_draw_cairo): ditto
2233 2013-08-08  Morten Welinder  <terra@gnome.org>
2235         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2236         Reduce crazy relative offsets.
2238 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2240         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2241         change all callers
2242         (sheet_widget_frame_draw_cairo): new
2243         (sheet_widget_button_draw_cairo): new
2244         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2245         (sheet_widget_scrollbar_vertical_draw_cairo): new
2246         (sheet_widget_scrollbar_class_init): connect the above
2247         (sheet_widget_spinbutton_draw_cairo): new
2248         (sheet_widget_spinbutton_class_init): connect the above
2249         (sheet_widget_slider_horizontal_draw_cairo): new
2250         (sheet_widget_slider_vertical_draw_cairo): new
2251         (sheet_widget_slider_draw_cairo): new
2252         (sheet_widget_slider_class_init): connect the above
2253         (sheet_widget_list_draw_cairo): new
2254         (sheet_widget_list_class_init): connect the above
2255         (sheet_widget_combo_draw_cairo): new
2256         (sheet_widget_combo_class_init): connect the above
2258 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2260         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2261         change all uses of this macro
2262         (draw_cairo_text): new
2263         (sheet_widget_checkbox_draw_cairo): new
2264         (sheet_widget_radio_button_draw_cairo): new
2266 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2268         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2269         gtk_offscreen_window_new without a default screen (see bugs #705638
2270         and #705640)
2272 2013-08-07  Morten Welinder  <terra@gnome.org>
2274         * src/ssconvert.c (main): Initialize gtk+ without opening any
2275         display.
2277 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2279         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2281 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2283         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2284         * src/sheet-control-gui.c (scg_init): init new fields
2285         (scg_im_destroy): new
2286         (scg_finalize): call scg_im_destroy
2287         (cb_cell_im_timer): new
2288         (scg_find_pane): new
2289         (scg_show_im_tooltip): new
2290         (scg_class_init): init new field
2291         * src/sheet-control-priv.h: add field
2292         * src/sheet-control.c: add virtual
2293         * src/sheet-control.h: add virtual
2294         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2295         (sv_update): call sheet_view_edit_pos_tool_tips
2296         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2297         in pixels
2298         (sheet_row_get_distance_pixels): new
2299         * src/sheet.h (sheet_row_get_distance_pixels): new
2301 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2303         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2304         nodes in guppi graphs. [Debian #718594]
2306 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2308         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2309         'default'
2311 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2313         * src/sheet-control-gui.c (context_menu_handler): add argument to
2314         dialog_cell_format call
2315         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2316         dialog_cell_format call
2317         (cb_data_validate): ditto
2319 2013-07-30  Morten Welinder  <terra@gnome.org>
2321         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2322         colour.  Fixes rest of #705031.
2324 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2326         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2328 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2329         for Dmitry Smirnov
2330         * gnumeric.desktop.in: add ODS files
2332 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2334         * src/graph.c (gnm_go_data_vector_load_values): really load all
2335         values for multiple ranges.
2337 2013-07-19  Morten Welinder  <terra@gnome.org>
2339         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2340         check: the enum has a hole in the middle.  Fixes #704562.
2342 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2344         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2345         printing.
2346         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2348 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2350         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2351         (gnm_so_path_set_property): ditto
2352         (gnm_so_path_get_property): ditto
2354 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2356         * src/gnm-so-path.c (so_path_view_set_bounds),
2357         (cb_gnm_so_path_changed): a better fix for the text position.
2359 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2361         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2362         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2363         * src/gnm-so-path.c (so_path_view_set_bounds),
2364         (cb_gnm_so_path_changed): fix text wrap in paths too.
2366 2013-07-16  Morten Welinder  <terra@gnome.org>
2368         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2369         computing range size.  Fixes #704325.
2371 2013-07-15  Morten Welinder  <terra@gnome.org>
2373         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2374         that.  Fixes #704004.
2376         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2378         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2379         against oversize range.
2381 2013-07-12  Morten Welinder  <terra@gnome.org>
2383         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2384         sure it falls within the sheet.
2385         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2386         parts are on different sheets.  Fixes #704109.
2388 2013-07-10  Morten Welinder <terra@gnome.org>
2390         * configure.ac: Post-release bump.
2392 2013-07-10  Morten Welinder <terra@gnome.org>
2394         * Release 1.12.4
2396 2013-07-10  Morten Welinder  <terra@gnome.org>
2398         * src/value.c (parse_criteria): Patterns should anchor at the end
2399         (#703770) and be case insensitive (no bug#).
2401 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2403         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2404         to create an image of unknown type
2406 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2408         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2409         signage
2410         (cb_assign_val): quieten warning about signed/unsigned comparison
2412 2013-07-03  Morten Welinder  <terra@gnome.org>
2414         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2415         crazy-large ranges.
2416         (cb_assign_val): Ditto.
2418 2013-07-02  Morten Welinder  <terra@gnome.org>
2420         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2421         (cb_style_list_add_node): Ditto.
2422         (verify_hashes): Ditto.
2423         (internal_style_list): Ditto.
2425         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2426         deck chairs.
2428 2013-07-01  Morten Welinder  <terra@gnome.org>
2430         * configure.ac (long double): Crude use -lm for long double
2431         function checks.  Fixes #703397.
2433 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2435         * src/expr.c (gnm_expr_list_copy): new
2436         * src/expr.h (gnm_expr_list_copy): new
2438 2013-06-26  Morten Welinder  <terra@gnome.org>
2440         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2441         of ->op before using it.  Fixes #703143.
2443 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2445         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2446         [#703052]
2447         (gnm_so_path_copy): fixed copy with multiple paths.
2449 2013-06-25  Morten Welinder <terra@gnome.org>
2451         * configure.ac: Post-release bump.
2453 2013-06-25  Morten Welinder <terra@gnome.org>
2455         * Release 1.12.3
2457 2013-06-24  Morten Welinder  <terra@gnome.org>
2459         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2460         sheet.  Fixes #703006.
2462 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2464         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2465         without sheet
2467 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2469         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2470         a valid pattern. [#702833]
2471         * src/pattern.c (gnumeric_background_set): ditto.
2473 2013-06-21  Morten Welinder  <terra@gnome.org>
2475         * src/item-grid.c (item_grid_draw_region): Plug leak.
2477         * src/item-bar.c (ib_reload_style): Plug leak.
2479 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2481         * src/wbc-gtk.c (show_gui): protect against excessively large
2482         preferred widow sizes
2484 2013-06-14  Morten Welinder  <terra@gnome.org>
2486         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2488         * src/workbook.c (workbook_sheet_delete): Debug.
2489         (workbook_dispose): Also clear style here.  Styles can have
2490         dependents now.  Fixes #702218.
2492 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2494         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2496 2013-06-12  Morten Welinder  <terra@gnome.org>
2498         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2499         Fixes #702101.
2501 2013-06-04  Morten Welinder  <terra@gnome.org>
2503         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2505 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2507         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2508         (scg_comment_display): adjust background and fontcolor if necessary
2510 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2512         * src/item-grid.c (cb_cursor_come_to_rest):
2513         gnumeric_position_tooltip needs the tooltip size, so load the text
2514         before calling it.
2516 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2518         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2519         with button 2
2521 2013-05-27  Morten Welinder  <terra@gnome.org>
2523         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2524         and we aren't very good at it.
2526 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2528         * component/Gnumeric-embed.xml.in: add accelerator
2529         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2530         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2531         (EditGotoCellIndicator): new
2532         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2533         (wbcg_focus_current_cell_indicator): new
2534         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2536 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2538         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2539         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2540         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2541         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2543 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2545         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2546         behave the same as far as cell selection is concerned. This fixes
2547         bug #700792
2548         (item_grid_button_released): ditto
2550 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2552         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2553         to include hidden cells
2554         (cb_sheet_get_extent): handle hidden cells setting
2555         (sheet_get_printarea): do not include hidden cells
2556         * src/sheet.h (sheet_get_extent): add argument and change all
2557         callers
2559 2013-05-26  Morten Welinder  <terra@gnome.org>
2561         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2562         Termiate when contributions vanish.
2564 2013-05-24  Morten Welinder  <terra@gnome.org>
2566         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2567         the outer integral.
2568         (pfuncinverter): Handle lack of dfunc (poorly).
2570 2013-05-23  Morten Welinder  <terra@gnome.org>
2572         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2573         interval out from out from R_ptukey.
2574         (R_ptukey): Split the interval nearest 0 into a sequence of
2575         intervals over which the integrand looks a lot more like a
2576         polynomial.  This fixes accuracy problems for low degrees of
2577         freedom.
2579         * src/sheet-style.c (internal_style_list): Fix critical.
2581 2013-05-22  Morten Welinder  <terra@gnome.org>
2583         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2585 2013-05-21  Morten Welinder  <terra@gnome.org>
2587         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2589 2013-05-19  Morten Welinder  <terra@gnome.org>
2591         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2592         boundaries.
2593         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2595 2013-05-18  Morten Welinder  <terra@gnome.org>
2597         * src/mathfunc.c (pnorm2): New function.
2598         (R_ptukey): New function imported from R with local improvements.
2600 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2602         * src/print.c (gnm_create_widget_cb): by default observe
2603         manual page breaks
2605 2013-05-14  Morten Welinder  <terra@gnome.org>
2607         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2608         (gnm_range_geometric_mean): Handle two FIXMEs.
2610 2013-05-13  Morten Welinder  <terra@gnome.org>
2612         * src/*.c: Mark gobject property strings as P_(...).
2614 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2616         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2618 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2620         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2621         rather than gnm_cell_assign_value
2623 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2625         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2626         first column
2628 2013-05-05  Morten Welinder  <terra@gnome.org>
2630         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2631         rendered value here.  Fixes #699647.
2633 2013-05-03  Morten Welinder  <terra@gnome.org>
2635         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2636         accelerator for redo.  Fixes #699579.
2637         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2638         focusable.
2640         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2642 2013-05-01  Morten Welinder  <terra@gnome.org>
2644         * src/print-info.c: Add gsf includes to make things work with
2645         libgsf 1.14.24.  Redhat #957851.
2647 2013-04-29  Morten Welinder  <terra@gnome.org>
2649         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2650         cells.
2652 2013-04-26  Morten Welinder <terra@gnome.org>
2654         * configure.ac: Post-release bump.
2656 2013-04-26  Morten Welinder <terra@gnome.org>
2658         * Release 1.12.2
2660 2013-04-26  Morten Welinder  <terra@gnome.org>
2662         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2663         row/column items the default.
2665 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2667         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2669 2013-04-24  Morten Welinder  <terra@gnome.org>
2671         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2672         widget parameter.  All callers changed.
2674         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2675         delayedMovement.timer.
2677         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2678         animation_cursor.
2680         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2681         windows_update_timer.
2683         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2684         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2685         valid tag.
2687         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2688         sliding).
2690 2013-04-23  Morten Welinder  <terra@gnome.org>
2692         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2694         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2695         critical.  Fixes #698680.
2697         * src/gui-file.c (gui_file_save_as): For export, change extension.
2698         Fixes #698636.
2700 2013-04-22  Morten Welinder  <terra@gnome.org>
2702         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2703         Somehow fixes #625687.
2705 2013-04-20  Morten Welinder  <terra@gnome.org>
2707         * src/go-data-slicer-field.c
2708         (go_data_slicer_field_set_field_type_pos): Add precondition for
2709         slicer.
2711 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2713         * src/print-info.c (render_title): new
2715 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2717         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2718         cells.
2719         (sheet_range_set_text): ditto
2721 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2723         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2724         than padding.
2726 2013-04-22  Morten Welinder  <terra@gnome.org>
2728         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2730 2013-04-19  Morten Welinder  <terra@gnome.org>
2732         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2733         view approach.  Fixes #689283.
2735         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2736         mode.
2737         (wbc_gtk_init_color_fore): Ditto.
2738         (wbc_gtk_init_color_back): Ditto.
2740 2013-04-17  Morten Welinder  <terra@gnome.org>
2742         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2743         button.
2745         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2746         font_name_haction.
2748         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2749         only for horizontal toolbars.
2751         * src/gui-file.c (file_saver_format_changed_cb): New function to
2752         change the extension when the format is changed.
2753         (gui_file_save_as): Don't try to hide the extension -- it
2754         interferes with the file chooser's completion.  Fixes #695839.
2756 2013-04-16  Morten Welinder  <terra@gnome.org>
2758         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2759         menu for graph sheets.  Fixes #685446.
2760         (sheet_menu_label_run): Disable resize for graph sheets.
2762         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2763         #661800.
2764         (parse_criteria): Handle criteria "=" and "<>" (with no value
2765         after the operator) special.  These test for empty and non-empty
2766         values.  Fixes #686156.
2768         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2769         "anchor_start" and "anchor_end".  All callers changed.
2771 2013-04-15  Morten Welinder  <terra@gnome.org>
2773         * src/application.c (add_icon): Plug leak.
2775         * src/number-match.c (format_match_decimal_number): Try also major
2776         non-locale currencies.  Fixes #577768.
2778 2013-04-13  Morten Welinder  <terra@gnome.org>
2780         * src/mathfunc.c (pochhammer): Improve precision a bit.
2781         (binomialcf): Lower cfSmall by 10^3.  This helps
2782         pbeta(0.9,10,0.5).
2784         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2785         doesn't prevent multiple versions from co-existing.
2787         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2788         dirty.  Callers already appear to handle this when needed
2789         and not when not wanted.  Fixes #697927.
2791 2013-04-12  Morten Welinder  <terra@gnome.org>
2793         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2794         #697850.
2795         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2796         reported to R).
2797         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2799 2013-04-11  Morten Welinder  <terra@gnome.org>
2801         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2802         reference with invalid_sheet.  Fixes #683494.
2804         * src/complex.c (complex_to_string): Drop format arguments.  All
2805         callers changed.  Make up a format with enough precision for round
2806         tripping.  Fixes #697634.
2808 2013-04-09  Morten Welinder  <terra@gnome.org>
2810         * src/complex.c (complex_from_string): Make this handle embedded
2811         spaces systematically.
2812         (is_unit_imaginary): Delete.
2814 2013-04-09  Morten Welinder  <terra@gnome.org>
2816         * src/complex.c (complex_pow): Use Goffice's copy.
2818 2013-04-05  Morten Welinder  <terra@gnome.org>
2820         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2821         new screens.  Add hack for pre-GTK 3.4.
2823         * src/mathfunc.c (gnm_owent): New function.
2825 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2827         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2828         functions used as vectors. [697281]
2830 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2832         * src/graph.c (gnm_go_data_vector_load_values),
2833         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2834         arrays. [697107]
2836 2013-04-03  Morten Welinder  <terra@gnome.org>
2838         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2839         attributes of the tab.
2841         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2842         GnmNotebookButton, not an EditableLabel.
2844 2013-04-02  Morten Welinder  <terra@gnome.org>
2846         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2847         widget.
2848         (cb_wbcg_drag_leave): Ditto.
2850 2013-03-27  Morten Welinder  <terra@gnome.org>
2852         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2853         key we look up.  When did that change?
2855 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2857         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2858         remove the frame.
2860 2013-03-26  Morten Welinder  <terra@gnome.org>
2862         * src/item-edit.c: Theme the in-cell edit background color.
2864         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2865         into here.
2866         src/gui-gnumeric.h: Remove.
2868         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2869         non-NULL if there is a selection.
2870         (gnumeric_background_set_gtk): Delete.  Make callers use
2871         gnumeric_background_set.
2873         * src/preview-grid.c (preview_grid_draw_background): Always
2874         provide a context to gnumeric_background_set.
2875         * src/item-edit.c (item_edit_draw): Ditto.
2877         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2878         separate the different cursor types.  Separate autofill colouring
2879         from drag ditto.
2881 2013-03-25  Morten Welinder  <terra@gnome.org>
2883         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2884         color to GOColor.
2885         (ic_reload_style): Theme some of the cursor colors.
2887         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2888         not colour name.
2890         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2892         * src/gnumeric.css: use deprecated px-free syntax for padding, so
2893         gtk+ 3.2 can deal with it.
2895         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2896         can suppress deprecations.
2898         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2899         the "all" button.
2901         * src/item-bar.c (ib_reload_style): Load fonts from style.
2903 2013-03-24  Morten Welinder  <terra@gnome.org>
2905         * src/item-grid.c (item_grid_draw_region): Draw the background at
2906         the right coordinates!
2908 2013-03-23  Morten Welinder  <terra@gnome.org>
2910         * src/item-bar.c (ib_draw_cell): There's no point in going to and
2911         from GOColor here.  Just use the color as-is.
2913 2013-03-19  Morten Welinder  <terra@gnome.org>
2915         * src/application.c (install_icons): Install also the icon themed
2916         icons.  No idea why we have both.
2918         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2920         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2921         (embedded_imgs): Add the rest from pixmaps.
2923         * configure.ac: No longer create src/pixmaps/Makefile
2925         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2926         these work for resources and absolute paths.
2928 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2930         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2931         not sizeable objects bounds after dragging when zoom is not 100%.
2933 2013-03-18  Morten Welinder  <terra@gnome.org>
2935         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2936         filter.  It takes just long enough to be irritating.
2938 2013-03-17  Morten Welinder  <terra@gnome.org>
2940         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2941         style since we're not picking it explicitly.
2942         (cb_font_filter): Fix leak.
2944 2013-03-14  Morten Welinder  <terra@gnome.org>
2946         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2947         ignore non-scalable fonts.
2949 2013-03-11  Morten Welinder  <terra@gnome.org>
2951         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2953 2013-03-10  Morten Welinder  <terra@gnome.org>
2955         * src/ssconvert.c (list_them): Skip savers/openers that require
2956         interaction.  (We don't have any yet.)
2958         * src/stf.c (stf_read_workbook): Set error when we fail due to
2959         lack of GUI.
2960         (stf_init): Mark the configurable saver/opener as interactive.
2962         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
2964 2013-03-09  Morten Welinder <terra@gnome.org>
2966         * configure.ac: Post-release bump.
2968 2013-03-09  Morten Welinder <terra@gnome.org>
2970         * Release 1.12.1
2972 2013-03-06  Morten Welinder  <terra@gnome.org>
2974         * src/wbc-gtk.c (list_actions): Handle a null group.
2976 2013-03-03  Morten Welinder  <terra@gnome.org>
2978         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2979         g_thread_init if compiled with later than glib 2.32.0.
2981 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
2983         * src/gnm-pane-impl.h: remove alignments.
2984         * src/gnm-pane.c (gnm_pane_header_init): dittO;
2985         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2986         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2987         * src/sheet-control-gui-priv.h: remove all tables by one grid.
2988         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2989         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2990         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2991         (scg_mode_edit): ditto.
2992         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2993         (cb_sheet_visibility_change), (wbcg_sheet_add),
2994         (wbcg_sheet_remove), (wbcg_sheet_focus),
2995         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2996         (wbcg_get_nth_scg): ditto.
2998 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3000         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3001         * src/print.c (gnm_create_widget_cb): ditto.
3002         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3004 2013-03-01  Morten Welinder  <terra@gnome.org>
3006         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3007         first argument, not "x".
3009 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3011         reviewed by: <delete if not using a buddy>
3013         * INSTALL:
3014         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3015         (sheet_widget_adjustment_user_config_impl),
3016         (sheet_widget_checkbox_user_config),
3017         (sheet_widget_radio_button_user_config):
3018         * src/wbc-gtk.c (wbc_gtk_init):
3020 2013-02-28  Morten Welinder  <terra@gnome.org>
3022         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3023         development versions.  We now get the information through gcc
3024         warnings.
3025         (solver): Make solver code unconditional.  Feel free to not
3026         distribute the relevant plugins.
3028 2013-02-26  Morten Welinder  <terra@gnome.org>
3030         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3032 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3034         * src/number-match.c: more introspection warnings.
3036 2013-02-23  Morten Welinder  <terra@gnome.org>
3038         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3040 2013-02-21  Morten Welinder  <terra@gnome.org>
3042         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3043         GHFunc.  All callers changed.  Impose a robust ordering.
3044         (sh_all_styles): New function replacing sh_foreach.
3046 2013-02-20  Morten Welinder  <terra@gnome.org>
3048         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3050 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3052         * configure.ac: make configure --with-python fail when some
3053         dependency is missing.
3055 2013-02-17  Morten Welinder  <terra@gnome.org>
3057         * configure.ac (set_more_warnings): Improve support for clang.
3059 2013-02-16  Morten Welinder  <terra@gnome.org>
3061         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3062         (Most cases a matter of 0 vs. 0.)
3064 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3066         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3067         default value for stf export format.
3068         * src/dependent.c: fix introspection warnings.
3069         * src/sheet-style.c: ditto.
3071 2013-02-15  Morten Welinder  <terra@gnome.org>
3073         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3074         3.2.0 just like goffice.
3076         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3077         requiring gtk 3.2
3079 2013-02-14  Morten Welinder  <terra@gnome.org>
3081         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3082         not MAXDOUBLE.  Fixes #693761.
3084 2013-02-10  Morten Welinder  <terra@gnome.org>
3086         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3087         doesn't belong here.  We handle everything in rstyle_apply.
3089 2013-02-08  Morten Welinder  <terra@gnome.org>
3091         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3092         link/unlink style dependents.  All callers changed.
3093         (sheet_style_shutdown): Set default style for whole sheet to
3094         ensure style dependents get cleared.
3096 2013-02-07  Morten Welinder  <terra@gnome.org>
3098         * src/sheet-style.c (cell_tile_optimize): Implement
3099         ptr-matrix-to-matrix optimization and use it to simplify things.
3101         * src/dependent.c (GnmStyleDependent): New type of dependent.
3102         When triggered, the cells in which it resised will be rerendered
3103         and redrawn.
3105         * src/mstyle.c (gnm_style_link_dependents)
3106         (gnm_style_unlink_dependents): New functions to manage style
3107         dependents due to conditional formatting.
3109 2013-02-06  Morten Welinder  <terra@gnome.org>
3111         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3112         inside-out in anticipation of future changes.
3114         (col_indicies, row_indicies): Alignment of the corners of apply_to
3115         is only relevant if we are within the tile.
3117 2013-02-06  Morten Welinder  <terra@gnome.org>
3119         * src/sheet-style.c (tile_is_uniform): Extract from
3120         cell_tile_optimize.
3121         (vector_apply_pstyle): Don't return a value.
3122         (cell_tile_apply): Use tile_is_uniform.
3124 2013-02-05  Morten Welinder  <terra@gnome.org>
3126         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3127         instead of crazy "goto".
3128         (cell_tile_apply): Simplify the covers-whole-tile case.
3130         * src/sheet.h (Sheet): Remove max_width and max_height members.
3131         All users fixed.
3133         * src/dependent.h (GnmDependentClass): Add pos handler.
3135         * src/dependent.c (dependent_pos): Use pos handler.
3136         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3138 2013-02-04  Morten Welinder  <terra@gnome.org>
3140         * src/dependent.c (dependent_pos): Make global.
3142         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3143         dependent_pos.
3145         * src/ssconvert.c (run_tool_test): Add code for running the
3146         regression tool.
3147         (convert): Run an analysis tool if requested.  (For testing.)
3149 2013-02-02  Morten Welinder  <terra@gnome.org>
3151         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3152         and rstyle_ctor_pstyle.  All callers changed.
3154 2013-01-18  Morten Welinder  <terra@gnome.org>
3156         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3157         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3158         New matrix support.
3159         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3160         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3162 2013-01-15  Morten Welinder  <terra@gnome.org>
3164         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3165         import from command line.
3167 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3169         * configure.ac: renamed configure.in and update obsolete macros.
3170         * configure.in: ditto.
3172 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3174         * configure.in: Add
3175         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3176         includes.
3178 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3180         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3181         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3182         twice the top and bottom margins when displaying a graph
3183         sheet. [#691472]
3185 2013-01-10  Morten Welinder  <terra@gnome.org>
3187         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3188         argument and assume TRUE.  Drop scope name and assume NULL (which
3189         is what all callers should have used).  All callers changed.
3190         (gnm_func_add_placeholder): Ditto.
3191         (invent_name): Downcase the preferred name.
3192         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3193         (gnm_func_add): Initialize arg_names_p.
3195         * src/gnm-plugin.c (plugin_service_function_group_activate):
3196         Upgrade existing placeholder functions as needed.
3198         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3199         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3201 2013-01-10  Morten Welinder  <terra@gnome.org>
3203         * src/func.c (gnm_func_add_placeholder_localized): New function.
3204         (gnm_func_add_placeholder_full): Extract from
3205         gnm_func_add_placeholder.  Handle localization better.
3206         (gnm_func_set_localized_name): New function.
3207         (gnm_func_free, gnm_func_get_name): Use
3208         gnm_func_set_localized_name.
3210         * src/parse-util.c (std_func_map): Improve handling of unknown
3211         function names.
3213         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3214         (gnm_func_free): ...here.
3216 2013-01-09  Morten Welinder  <terra@gnome.org>
3218         * src/symbol.c: delete.
3220         * src/func.c: rewrite to use GHashTable instead of symbol.c
3221         (gnm_func_lookup_prefix): Take extra argument indicating whether
3222         to search translated names.  Caller changed.
3224         * src/parse-util.c (std_func_map): Lookup translated name as
3225         needed.
3226         (parse_util_init): Add enviroment magic to turn on translated
3227         functions names.  This is not ready for prime time and should be
3228         controlled by a user preference eventually.
3230         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3231         bit.
3233 2013-01-07  Morten Welinder  <terra@gnome.org>
3235         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3236         pivot.  Use gnm_hypot where possible.
3238 2013-01-04  Morten Welinder  <terra@gnome.org>
3240         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3241         as argument.  Keep track of displays.
3242         (gnm_x_disown_clipboard): New function.
3244         * src/application.c (gnm_app_clipboard_clear): Use
3245         gnm_x_disown_clipboard to make things multi-head safe.
3247 2013-01-03  Morten Welinder  <terra@gnome.org>
3249         * src/collect.c (collect_floats): Fix handling of
3250         COLLECT_IGNORE_ERRORS.
3251         (collect_strings): Ditto.
3252         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3254 2013-01-01  Morten Welinder  <terra@gnome.org>
3256         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3257         deprecated goffice stuff.
3259         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3260         unused variable.
3261         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3262         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3263         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3265         * src/application.c (gnm_app_history_add): Kill warning.
3267 2012-12-31  Morten Welinder  <terra@gnome.org>
3269         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3270         Fixed #690929.
3272         * src/ssdiff.c: Introduce --highlight mode.
3274 2012-12-30  Morten Welinder  <terra@gnome.org>
3276         * src/ssdiff.c (main): Add option to send output to a file.
3278 2012-12-29  Morten Welinder  <terra@gnome.org>
3280         * src/ssdiff.c (diff): Use C locale.
3281         (ignore_cell): Ignore arrays, except for the corner.
3282         (output_cell): New function taking proper care of value types,
3283         convensions, etc.
3284         (xml_cell_changed): Use output_cell.
3285         (compare_corresponding_cells): Don't use entered_text here either,
3286         although it's harmless.
3287         (output_cell, compare_corresponding_cells): Handle value formats
3288         too.
3290 2012-12-28  Valek Filippov  <frob@df.ru>
3292         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3293         gdk_window_get_pointer calls.
3295 2012-12-28  Morten Welinder  <terra@gnome.org>
3297         * src/*.c: Eliminate use of printf.
3299         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3300         range offset here.  This may need to move further.
3301         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3302         (diff_sheets_cells): Ignore completely empty cells.
3303         (xml_sheet_start): Change meaning of Old and New attributes to be
3304         index_in_wb and absent when workbook doesn't have the sheet.
3305         (xml_style_changed): Describe style differences.
3307 2012-12-27  Morten Welinder  <terra@gnome.org>
3309         * src/ssdiff.c (diff_sheets): Compare styles too.
3311         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3312         range argument.  All callers changed.
3314 2012-12-24  Morten Welinder  <terra@gnome.org>
3316         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3317         cell_removed handlers into the cell_changed handler.
3318         (main): Add --xml option.
3320         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3321         configurable.  We need ssconvert for the test and it's silly
3322         anyway.
3324 2012-12-18  Morten Welinder <terra@gnome.org>
3326         * configure.in: Post-release bump.