diff: fix dispatch of sheet start/end.
[gnumeric.git] / ChangeLog
blob79ae3467bba9d6352fe8f17a96f4d51ca76de632
1 2018-03-25  Morten Welinder  <terra@gnome.org>
3         * src/workbook.c (workbook_set_last_export_uri): Constify
4         argument.  Callers fixed.
6 2018-03-23  Morten Welinder  <terra@gnome.org>
8         * src/main-application.c (cpu_sanity_check): New function.
10 2018-03-13  Morten Welinder <terra@gnome.org>
12         * configure.ac: Post-release bump.
14 2018-03-13  Morten Welinder <terra@gnome.org>
16         * Release 1.12.39
18 2018-01-17  Morten Welinder  <terra@gnome.org>
20         * src/sstest.c (function_dump_defs): Drop internal function TABLE
21         as well as demo function ATL_LAST.
23 2018-01-11  Morten Welinder  <terra@gnome.org>
25         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
26         not to trigger an update storm when nothing changes.  Fixes
27         #792417.
29 2018-01-01  Morten Welinder  <terra@gnome.org>
31         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
32         non-reachable code relating to true() and false() conditions.
34 2017-12-30  Morten Welinder  <terra@gnome.org>
36         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
37         changed.
38         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
39         (gnm_expr_top_get_array_expr): New functions.
41         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
42         changed.
44 2017-12-29  Morten Welinder  <terra@gnome.org>
46         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
47         name.  #792038.
49 2017-12-28  Morten Welinder <terra@gnome.org>
51         * configure.ac: Post-release bump.
53 2017-12-28  Morten Welinder <terra@gnome.org>
55         * Release 1.12.38
57 2017-12-25  Morten Welinder  <terra@gnome.org>
59         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
60         * src/func-builtin.c (func_builtin_init): Ditto.
62 2017-12-23  Morten Welinder  <terra@gnome.org>
64         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
66 2017-12-04  Morten Welinder  <terra@gnome.org>
68         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
69         instead of passing them all over the place.
70         (diff): Compare names too.
72 2017-12-03  Morten Welinder  <terra@gnome.org>
74         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
75         (diff): Missing or extra sheet counts as a difference.
77         * src/mstyle.c (gnm_style_find_differences): Don't crash when
78         hlink/validation/inputmsg/conditions is NULL in one and not the other.
80         * src/ssdiff.c (diff_sheets_colrow): New function to compare
81         row/column sizes.
82         (highlight_cell_changed): Survive missing cell.
84 2017-12-01  Morten Welinder <terra@gnome.org>
86         * configure.ac: Post-release bump.
88 2017-12-01  Morten Welinder <terra@gnome.org>
90         * Release 1.12.37
92 2017-11-30  Morten Welinder  <terra@gnome.org>
94         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
95         usage.
96         * src/parse-util.c (wbref_parse): Ditto.
97         * src/preview-grid.c (preview_grid_draw_region): Ditto.
98         * src/item-grid.c (item_grid_draw_region): Ditto.
99         * src/parser.y (yylex): Ditto.
100         * src/criteria.c (parse_database_criteria): Ditto.
102         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
103         stack, allocation.
105         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
106         stack, allocation.
108 2017-11-29  Morten Welinder  <terra@gnome.org>
110         * src/sstest.c (enumerate_functions): Make sure function is loaded.
112         * src/func-builtin.c (help_table): Add help text for TABLE.
114         * src/func.c (gnm_func_enumerate): Introspection annotation.
116         * src/sstest.c (function_dump_defs): Move from func.c with all
117         support code.
118         (gnm_func_sanity_check): Ditto.
120         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
122         * src/main-application.c (pathetic_qt_workaround): Not needed
123         anymore.
125         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
126         looking strange when insensitive and also is a consistent size.
128 2017-11-18  Morten Welinder <terra@gnome.org>
130         * configure.ac: Post-release bump.
132 2017-11-18  Morten Welinder <terra@gnome.org>
134         * Release 1.12.36
136 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
138         * src/gnumeric.css: add grid:selected back-color.
139         * src/item-grid.c (item_grid_draw_region): fix background of multiple
140         selection. [#789411]
142 2017-10-23  Morten Welinder  <terra@gnome.org>
144         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
145         criticals.
147 2017-07-06  Morten Welinder <terra@gnome.org>
149         * configure.ac: Post-release bump.
151 2017-07-06  Morten Welinder <terra@gnome.org>
153         * Release 1.12.35
155 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
157         * src/sheet-object-widget.c
158         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
159         button
161 2017-05-18  Morten Welinder  <terra@gnome.org>
163         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
164         integer orders.
165         (jy_via_j_series): Rename from y_via_j_series and supply both J
166         and Y results.  Use the full J result accuracy.
167         (gnm_bessel_phi): Improve divergence check.
169 2017-05-16  Morten Welinder  <terra@gnome.org>
171         * src/sf-bessel.c (debye_33): Handle near-overflow better.
172         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
173         appropriate.
175         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
177         * src/value.c (value_new_from_string): Handle denormals betters.
179 2017-04-05  Morten Welinder  <terra@gnome.org>
181         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
182         Generalize to Pi/2^e and make public.
184 2017-03-28  Morten Welinder  <terra@gnome.org>
186         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
187         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
188         around the integer with odd count when we can.
190 2017-03-21  Morten Welinder  <terra@gnome.org>
192         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
193         deviation for each bin.
194         (test_random_randchisq, test_random_randtdist)
195         (test_random_randfdist): Don't allow df=0.
196         (test_random_randbeta): Don't floor the parameters thus avoiding
197         zero.
199 2017-03-20  Morten Welinder <terra@gnome.org>
201         * configure.ac: Post-release bump.
203 2017-03-20  Morten Welinder <terra@gnome.org>
205         * Release 1.12.34
207 2017-03-17  Morten Welinder  <terra@gnome.org>
209         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
210         bogus GnmColor here.  The fake object prevents GnmColor equality
211         from working which in turn prevents GnmBorder equality from
212         working.
214         * src/style-color.c (gnm_color_make): Rename from
215         gnm_color_new_uninterned and handle caching here.
216         (gnm_color_new_auto): New function.
218         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
219         (compare_corresponding_cells): Fall back to string comparison.
220         References like Sheet1!A1 should match even if they, obviously,
221         refer to sheets in different workbooks.
223         * src/style-conditions.c (gnm_style_conditions_equal): Add new
224         relax_sheet argument.
226         * src/validation.c (gnm_validation_equal): New function.
228         * src/mstyle.c (gnm_style_find_differences): New function.
230         * src/ssdiff.c (xml_style_changed): Use
231         gnm_style_find_differences.
233         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
234         gnm_style_find_differences, not gnm_style_equal.
236         * src/hlink.c (gnm_hlink_equal): New function.
238 2017-03-13  Morten Welinder  <terra@gnome.org>
240         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
241         inter-sheet local name references.
243 2017-03-10  Morten Welinder  <terra@gnome.org>
245         * src/hlink.c (gnm_hlink_get_name_target)
246         (gnm_hlink_get_range_target): New functions.
247         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
249 2017-03-07  Morten Welinder  <terra@gnome.org>
251         * src/parser.y (parser_simple_name): Extract from
252         parser_simple_val_or_name.  Extend to handle explicit sheet.
253         ("sheetref STRING"): Ise parser_simple_name.
255 2017-03-06  Morten Welinder  <terra@gnome.org>
257         * src/expr-name.c (expr_name_add): Plug leak.
259 2017-03-05  Morten Welinder  <terra@gnome.org>
261         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
262         (gnm_hlink_cur_wb_activate): Move string parsing from here...
263         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
264         value_new_cellrange_str will resolve a name.
266         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
267         sheet for hlinks too.
269         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
270         (gnm_hlink_set_sheet): New functions.
272 2017-01-30  Morten Welinder <terra@gnome.org>
274         * configure.ac: Post-release bump.
276 2017-01-30  Morten Welinder <terra@gnome.org>
278         * Release 1.12.33
280 2017-01-29  Morten Welinder  <terra@gnome.org>
282         * src/style-conditions.c (gnm_style_cond_equal): New function.
283         (gnm_style_conditions_equal): ...split out from here.
285 2017-01-25  Morten Welinder  <terra@gnome.org>
287         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
289 2017-01-22  Morten Welinder  <terra@gnome.org>
291         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
292         expression for text formatted cells.
293         (stf_parse_sheet): Don't try number parsing for text formatted
294         columns.  Fixes #777543.
296 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
298         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
299         format when generating the string. [#777338]
301 2017-01-19  Morten Welinder  <terra@gnome.org>
303         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
305         * src/style-conditions.c (gnm_style_conditions_equal): New
306         function.
308 2016-12-08  Morten Welinder  <terra@gnome.org>
310         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
311         callers changed.
312         (gnm_linear_solve_multiple): Ditto.
314 2016-10-02  Morten Welinder  <terra@gnome.org>
316         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
317         g_mem_set_vtable stuff actually works anymore.
319 2016-08-21  Morten Welinder  <terra@gnome.org>
321         * src/sstest.c (options): Add --fast option.
323         * src/value.c (value_get_as_gstring): Let a negative
324         decimal_digits mean "shortest round-tripping string".
326 2016-08-20  Morten Welinder <terra@gnome.org>
328         * configure.ac: Post-release bump.
330 2016-08-20  Morten Welinder <terra@gnome.org>
332         * Release 1.12.32
334 2016-08-08  Morten Welinder  <terra@gnome.org>
336         * src/criteria.c (criteria_inspect_values): Add flag for string
337         coercion.  Only the equality test wants that.
339         * src/value.c (criteria_inspect_values): Floats don't match
340         errors.
342 2016-08-04  Morten Welinder  <terra@gnome.org>
344         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
345         pointer.
347         * src/collect.c (string_range_function): Add user pointer.  Caller
348         changed.
350 2016-06-29  Morten Welinder <terra@gnome.org>
352         * configure.ac: Post-release bump.
354 2016-06-29  Morten Welinder <terra@gnome.org>
356         * Release 1.12.31
358 2016-06-29  Morten Welinder  <terra@gnome.org>
360         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
361         related to sheet-local names.  [#768164]
363 2016-06-28  Morten Welinder  <terra@gnome.org>
365         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
366         of different lenghts.
368 2016-06-21  Morten Welinder  <terra@gnome.org>
370         * src/value.c (criteria_test_greater_or_equal): Use case-folding
371         comparisons for strings.
372         (parse_criteria, parse_criteria_range): Add argument controlling
373         whether to anchor matching at end of string.
374         (parse_database_criteria): Don't anchor here.
376 2016-06-17  Morten Welinder <terra@gnome.org>
378         * configure.ac: Post-release bump.
380 2016-06-17  Morten Welinder <terra@gnome.org>
382         * Release 1.12.30
384 2016-06-17  Morten Welinder  <terra@gnome.org>
386         * src/value.c (parse_criteria): Anchor matches at the beginning,
387         but not at the end.
389 2016-06-11  Morten Welinder  <terra@gnome.org>
391         * src/value.c (find_rows_that_match): Fix blank handling.
392         (criteria_test_unequal): Wrong type means unequal.
393         (criteria_test_match): Only match strings.
394         (parse_criteria): Don't anchor matches.  This is the right thing
395         to do for DSUM and friends.  Hopefully this doesn't break anything
396         else.
397         (criteria_inspect_values): Strings are incompatible with
398         non-strings.
399         (criteria_test_less, criteria_test_less_or_equal)
400         (criteria_test_greater, criteria_test_greater_or_equal): handle
401         strings.
403 2016-05-19  Morten Welinder  <terra@gnome.org>
405         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
406         decimal counts for the hypothetical comma and point choices.
408 2016-05-10  Morten Welinder  <terra@gnome.org>
410         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
411         members.  Doc fix.
413 2016-05-06  Morten Welinder <terra@gnome.org>
415         * configure.ac: Post-release bump.
417 2016-05-06  Morten Welinder <terra@gnome.org>
419         * Release 1.12.29
421 2016-04-29  Morten Welinder  <terra@gnome.org>
423         * src/gui-util.c (gnm_style_context_get_color): Fix function
424         wrapping gtk_style_context_get_color which changed API.
426 2016-04-24  Morten Welinder  <terra@gnome.org>
428         * src/value-sheet.c (value_area_get_x_y): Use
429         gnm_rangeref_normalize.  Do full wrap-around.
431 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
433         * src/graph.c (gnm_go_data_matrix_load_values): fix array
434         reading. [#765483]
436 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
438         * configure.ac: protect against pxlib weirdness.
440 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
442         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
443         value is an error.
445 2016-03-22  Morten Welinder <terra@gnome.org>
447         * configure.ac: Post-release bump.
449 2016-03-22  Morten Welinder <terra@gnome.org>
451         * Release 1.12.28
453 2016-03-02  Morten Welinder  <terra@gnome.org>
455         * src/sf-bessel.c: Return complex numbers by value, not reference.
457 2016-02-23  Morten Welinder  <terra@gnome.org>
459         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
461 2016-02-18  Morten Welinder  <terra@gnome.org>
463         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
464         #762278.
466 2016-02-12  Morten Welinder  <terra@gnome.org>
468         * src/complex.h: Add a direct-value interface.
470         * src/ssconvert.c (run_solver): Also create solver reports as
471         indicated in options.
473         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
475 2016-02-10  Morten Welinder  <terra@gnome.org>
477         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
478         to 1px.  While that may be a sligh increase for certain
479         themes/gtk+ versions, it is a large decrease for others, notably
480         what comes with an out-of-the-box OpenSuSE leap.  Override in
481         ~/.config/gtk-3.0/gtk.css if need be.
483         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
484         wheel for horizontal motion instead of alt.  Window managers tend
485         to eat the latter.
487 2016-02-08  Morten Welinder  <terra@gnome.org>
489         * src/graph.c (gnm_go_data_vector_eval)
490         (gnm_go_data_vector_finalize): Plug leak.
492 2016-02-06  Morten Welinder <terra@gnome.org>
494         * configure.ac: Post-release bump.
496 2016-02-06  Morten Welinder <terra@gnome.org>
498         * Release 1.12.27
500 2016-02-06  Morten Welinder  <terra@gnome.org>
502         * configure.ac (goffice): Require latest for
503         go_complex_from_polar_pi.
505         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
506         when x<0 and a is real.
508 2016-02-04  Morten Welinder  <terra@gnome.org>
510         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
511         (gnm_complex_continued_fraction): Fail if we would otherwise try
512         to rescale by 0.  Fix termination condition.
513         (igamma_asymp): Fix term update.
514         (complex_igamma): Fix flavour fixup.
516 2016-02-02  Morten Welinder  <terra@gnome.org>
518         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
519         (gamma_error_factor): Extend to all positive numbers.
520         (pochhammer_small_n): Allow any x > 1.
521         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
523 2016-02-01  Morten Welinder  <terra@gnome.org>
525         * configure.ac (yacc, lex): Fail if the required program isn't
526         found.
528 2016-01-31  Morten Welinder  <terra@gnome.org>
530         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
531         complex continued fractions.
533 2016-01-30  Morten Welinder  <terra@gnome.org>
535         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
536         GtkStyleContext.  Another ABI changes causes that to crash.
538         * src/value.c (find_column_of_field): Insist that the database be
539         a cell range, not an array.
541 2016-01-29  Morten Welinder  <terra@gnome.org>
543         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
544         (bessel_ij_series): Rename from bessel_j_series and extend to
545         handle i also.
547         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
548         argument is less than one.
550         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
551         about broken sheet filter.
553         * src/sheet-filter.c (gnm_filter_condition_new_single)
554         (gnm_filter_condition_new_double): Plug leak on error.
555         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
557 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
559         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
560         value. [#761048]
562 2016-01-27  Morten Welinder  <terra@gnome.org>
564         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
565         implementation.
567         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
568         css styling.
570 2016-01-23  Morten Welinder  <terra@gnome.org>
572         * src/parser.y (yylex): Be careful about overflowing numeric
573         token.  Fixes #761023.
575 2016-01-20  Morten Welinder  <terra@gnome.org>
577         * src/complex.h: Namespace.  Mostly for macros.
579 2016-01-16  Morten Welinder  <terra@gnome.org>
581         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
582         unused time argument.  All callers changed.
583         (gnm_simple_canvas_grab): Remove unused arguments and return
584         value.  All callers changed.
586         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
587         without regrabbing the focus.  See #760639.
589 2016-01-13  Morten Welinder  <terra@gnome.org>
591         * src/sstest.c (test_random_randsnorm)
592         (test_random_randbernoulli): Print expected stats.
594         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
595         are sane.  Fixes #760544.
597 2016-01-08  Morten Welinder  <terra@gnome.org>
599         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
601 2016-01-06  Morten Welinder  <terra@gnome.org>
603         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
605 2016-01-04  Morten Welinder  <terra@gnome.org>
607         * src/sheet-style.c (sheet_style_apply_range)
608         (sheet_style_set_range): Silently ignore inverted ranges.
610 2016-01-03  Morten Welinder  <terra@gnome.org>
612         * src/sheet-style.c (sheet_style_apply_range)
613         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
615 2016-01-02  Morten Welinder  <terra@gnome.org>
617         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
619         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
620         zero record size.  Fixes #760087.
622         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
624 2016-01-01  Morten Welinder  <terra@gnome.org>
626         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
628         * src/expr-name.c (expr_name_add): Improve check for circular name
629         defintion.  Fixes #760046.
631 2015-12-28  Morten Welinder  <terra@gnome.org>
633         * src/ssconvert.c (convert): When separating sheets, move current
634         sheet to the front.  See bug #694408.
636         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
637         sheet, remove it at the end.
639 2015-12-28  Morten Welinder <terra@gnome.org>
641         * configure.ac: Post-release bump.
643 2015-12-28  Morten Welinder <terra@gnome.org>
645         * Release 1.12.26
647 2015-12-26  Morten Welinder  <terra@gnome.org>
649         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
650         change here (on the grid).
651         (scg_class_init): Not here.  We're not derived from GtkWidget.
653         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
654         (foreach_tile): New top-level function taking few parameters.  All
655         callers changed.
657 2015-12-25  Morten Welinder <terra@gnome.org>
659         * configure.ac: Post-release bump.
661 2015-12-25  Morten Welinder <terra@gnome.org>
663         * Release 1.12.25
665 2015-12-22  Morten Welinder  <terra@gnome.org>
667         * src/ssdiff.c (xml_style_changed): Do more for input message and
668         validation.
670 2015-12-20  Morten Welinder  <terra@gnome.org>
672         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
673         screen size.
674         (scg_resize): Limit frozen zones to screen size.  Not idea, but
675         better than crashing.
677 2015-12-19  Morten Welinder  <terra@gnome.org>
679         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
681 2015-12-13  Morten Welinder  <terra@gnome.org>
683         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
684         merges on column/row insert.  Fixes #504004.
686 2015-12-12  Morten Welinder  <terra@gnome.org>
688         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
689         when the merge partially falls off the far end.
691 2015-12-10  Morten Welinder  <terra@gnome.org>
693         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
694         ensure actions get accel paths.
696 2015-12-09  Morten Welinder  <terra@gnome.org>
698         * src/wbc-gtk.c (wbcg_find_action): New function to look in
699         multiple places for an action.
701         * src/gui-util.c (gnm_action_group_add_actions): Handle
702         translation context.  Also handle toggle actions.
704 2015-12-08  Morten Welinder  <terra@gnome.org>
706         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
707         syntax.
709         * src/gui-util.c (gnm_action_group_add_actions): New function,
710         currently quite dumb.
712         * configure.ac (CC): Insist on c99.
714 2015-12-05  Morten Welinder  <terra@gnome.org>
716         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
717         (drayleigh): Define in terms of dweibull.
719 2015-12-03  Morten Welinder  <terra@gnome.org>
721         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
722         support.  Fixes R.QHYPER(0.1,3,99,13)
724 2015-10-19  Morten Welinder  <terra@gnome.org>
726         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
727         in[2].  Fixes #752182.
729 2015-09-25  Morten Welinder  <terra@gnome.org>
731         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
732         avoid value copying.  Fixes #752181.
733         (gnumeric_table): Handle repeated cells.  Fixes #752178.
735 2015-09-20  Morten Welinder <terra@gnome.org>
737         * configure.ac: Post-release bump.
739 2015-09-20  Morten Welinder <terra@gnome.org>
741         * Release 1.12.24
743 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
745         * src/gui-file.c (gui_file_save_as): just change the extension not more
746         when the original filename has several dots. [ubuntu #1497344]
748 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
750         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
751         anchors. [#754792]
753 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
755         * src/sheet-object.c (sheet_object_update_bounds),
756         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
757         the objects bounds are always updated. Really fix printing.
758         * src/xml-sax-write.c (xml_write_objects): revert previous change.
760 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
762         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
763         printing, but still not perfect.
764         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
765         * src/xml-sax-write.c (xml_write_objects): ditto.
767 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
769         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
770         with one cell or absolute anchors. [#753961]
771         * src/sheet-object.c (sheet_object_draw_cairo):
773 2015-07-28  Morten Welinder <terra@gnome.org>
775         * configure.ac: Post-release bump.
777 2015-07-28  Morten Welinder <terra@gnome.org>
779         * Release 1.12.23
781 2015-07-14  Morten Welinder  <terra@gnome.org>
783         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
784         #752259.
786 2015-07-09  Morten Welinder  <terra@gnome.org>
788         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
789         operation.  Fixes #752124.
791 2015-07-06  Morten Welinder  <terra@gnome.org>
793         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
795 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
797         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
799 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
801         * src/value.c (value_compare_real): handle two empty values however
802         they appear
804 2015-07-03  Morten Welinder  <terra@gnome.org>
806         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
807         context.
809 2015-06-30  Morten Welinder  <terra@gnome.org>
811         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
812         it all the way here.
814 2015-06-29  Morten Welinder  <terra@gnome.org>
816         * src/func.c (function_iterate_argument_values): Improve name
817         handling.  Part of #751660.
819 2015-06-28  Morten Welinder  <terra@gnome.org>
821         * src/value-sheet.c (value_area_get_width, value_area_get_height):
822         Use the same normalization as value_area_foreach.  Fixes #751390.
824         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
825         Fixes #751577.
827 2015-06-26  Morten Welinder  <terra@gnome.org>
829         * src/value.c (value_new_array_empty): Store value_new_empty(),
830         not NULL, in the slots.  We can make this change because
831         value_new_empty() is a singleton that does not need to be
832         released.  Fixes #751502.
834 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
836         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
838 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
840         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
841         (xml_sax_object_end): ensure we always use the right state. [#751217]
843 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
845         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
847 2015-06-20  Morten Welinder  <terra@gnome.org>
849         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
850         overflow.
851         (go_data_cache_records_fetch_index): If resizing failed return
852         NULL early.
854 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
856         * src/parse-util.h (_GnmConventions): add union_char field
857         * src/parser.y (yylex): handle union_char
858         (setup_state): set union_char
860 2015-06-18  Morten Welinder  <terra@gnome.org>
862         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
863         specifying types derived from sheet objects.  Fixes #751126.
864         (xml_sax_hlink): Similarly.
866 2015-06-16  Morten Welinder  <terra@gnome.org>
868         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
869         in names.  Fixes #751056.
871 2015-05-27  Morten Welinder  <terra@gnome.org>
873         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
874         division by zero.  Fixes #749917.
876         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
878 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
880         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
881         comment #3]
883 2015-05-11  Morten Welinder  <terra@gnome.org>
885         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
886         something bad that will happen whenever FALSE equals TRUE.
888         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
889         inline values.
891         * src/cell.c (gnm_cell_set_array): Improve preconditions.
893 2015-05-09  Morten Welinder  <terra@gnome.org>
895         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
897 2015-04-28  Morten Welinder  <terra@gnome.org>
899         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
900         malformed documents.  Fixes #748596.
901         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
902         #748595.
904 2015-04-16  Morten Welinder <terra@gnome.org>
906         * configure.ac: Post-release bump.
908 2015-04-16  Morten Welinder <terra@gnome.org>
910         * Release 1.12.22
912 2015-04-15  Morten Welinder  <terra@gnome.org>
914         * src/ranges.c (gnm_range_compare): New function.
916 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
918         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
919         (see #700599, comment #11).
921 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
923         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
924         sheet object name, try the image name.
926 2015-04-11  Morten Welinder  <terra@gnome.org>
928         * src/sf-dpq.c (qcauchy): Handle cancellation.
930         * src/mathfunc.c (pcauchy): Simplify.
932         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
933         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
935 2015-04-09  Morten Welinder  <terra@gnome.org>
937         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
938         case.
940 2015-04-04  Morten Welinder  <terra@gnome.org>
942         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
943         Fixes #747356.
945         * src/xml-sax-write.c (xml_write_objects): Save only relevant
946         parts of the cell bound.
948         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
949         Initialize parts of cell_bound not used.
951 2015-04-01  Morten Welinder  <terra@gnome.org>
953         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
954         GNM_XML_2ND here too.
955         (gnm_sogg_sax_parser_done): Plug leak.
957 2015-03-30  Morten Welinder  <terra@gnome.org>
959         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
960         function.
962         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
963         mode.
965         * src/sstest.c (test_random_randhyperg): Take var=0 case into
966         account when checking mean.
968         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
969         graph here.
971 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
973         * src/graph.h: add support for absolute anchoring of sheet objects.
974         * src/item-grid.c: ditto.
975         * src/sheet-control-gui.c: ditto.
976         * src/sheet-filter.c: ditto.
977         * src/sheet-object-cell-comment.c: ditto.
978         * src/sheet-object-component.c: ditto.
979         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
980         cells by default. [#684450]
981         * src/sheet-object-image.c: make images don't resize with cells by default.
982         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
983         * src/sheet-object.h: ditto.
984         * src/workbook-view.c: ditto.
985         * src/xml-sax-read.c: ditto.
986         * src/xml-sax-write.c: ditto.
988 2015-03-30  Morten Welinder  <terra@gnome.org>
990         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
992 2015-03-23  Morten Welinder  <terra@gnome.org>
994         * src/sstest.c (rand_fractile_test): Plug leak.
996 2015-03-21  Morten Welinder  <terra@gnome.org>
998         * src/sstest.c (rand_fractile_test): Add support for
999         non-continuous distributions.
1001         * src/mathfunc.c (qgeom): Update to current version in R.
1003         * src/gnm-random.c (random_geometric): Don't add one.
1004         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1006 2015-03-20  Morten Welinder  <terra@gnome.org>
1008         * src/sstest.c (test_random_randbinom): New test.
1009         (test_random_randbetween): New test.
1010         (test_random_randexp): New test.
1011         (test_random_randpoisson): New test.
1012         (test_random_randgeom): New test.
1013         (test_random_randnegbinom): New test.
1014         (test_random_randlog): New test.
1015         (test_random_randdiscrete): New test.
1016         (test_random_randgamma): New test.
1017         (test_random_randtdist): New test.
1018         (test_random_randuniform): New test.
1019         (test_random_randfdist): New test.
1020         (test_random_randcauchy): New test.
1021         (test_random_randbeta): New test.
1022         (test_random_randchisq): New test.
1023         (test_random_randhyperg): New test.
1025         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1027 2015-03-19  Morten Welinder  <terra@gnome.org>
1029         * src/func.c (dump_samples): New function to dump all sample in
1030         help documentation to csv format.
1032         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1033         non-positive integer, but neither a nor b is.
1035 2015-03-07  Morten Welinder  <terra@gnome.org>
1037         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1039         * src/sheet-object-widget.c
1040         (sheet_widget_adjustment_write_xml_sax): Use new
1041         go_xml_out_add_double.
1043         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1044         go_xml_out_add_double.
1046 2015-03-05  Morten Welinder  <terra@gnome.org>
1048         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1049         copy_data argument and simply assume it.
1051 2015-03-04  Morten Welinder <terra@gnome.org>
1053         * configure.ac: Post-release bump.
1055 2015-03-04  Morten Welinder <terra@gnome.org>
1057         * Release 1.12.21
1059 2015-03-03  Morten Welinder  <terra@gnome.org>
1061         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1062         version we write and document why we can't easily increase that
1063         version.
1065 2015-03-02  Morten Welinder  <terra@gnome.org>
1067         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1069         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1070         (xml_sax_version): Bring version list up to date.
1072 2015-03-01  Morten Welinder  <terra@gnome.org>
1074         * src/sheet-object-widget.c
1075         (sheet_widget_list_base_set_selection_value): Plug leak.
1077 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1079         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1080         pixbuf stores the image type.
1082 2015-02-28  Morten Welinder  <terra@gnome.org>
1084         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1085         image, not the bytes in addition.
1086         (gnm_soi_class_init): Use property "image" of type GOImage instead
1087         of "image-data" weirdness.
1088         (gnm_soi_draw_cairo): Remove non-functional fallback.
1089         (gnm_soi_default_size): Ditto.
1091 2015-02-27  Morten Welinder  <terra@gnome.org>
1093         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1094         type for image data.  Create image data if needed.
1095         (SheetObjectImage): Use a properly allocated GByteArray.
1097         * src/sheet-object-widget.c
1098         (sheet_widget_adjustment_user_config_impl): Widgets must have
1099         changed names at some point.  Adjust for that.
1101 2015-02-25  Morten Welinder  <terra@gnome.org>
1103         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1104         Also evaluate here.
1105         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1106         contents.
1108 2015-02-23  Morten Welinder  <terra@gnome.org>
1110         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1111         New function.
1113 2015-02-21  Morten Welinder  <terra@gnome.org>
1115         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1116         gboolean, not a double.
1118         * src/sheet-object-widget.c
1119         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1120         fixed, precision.
1121         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1122         new-fangled orientation for scrollbars.
1124 2015-02-20  Morten Welinder  <terra@gnome.org>
1126         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1127         (cb_button_released): Set value to FALSE here(!)
1129 2015-02-18  Morten Welinder  <terra@gnome.org>
1131         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1132         error just because a cell with text format fails to produce an
1133         expression.  That's expected for text format.
1135 2015-02-17  Morten Welinder  <terra@gnome.org>
1137         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1139 2015-02-11  Morten Welinder  <terra@gnome.org>
1141         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1142         writing duplicate style so version 1.2 and earlier can read it.
1144 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1146         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1147         that can't be convered to valid numbers.
1149 2015-02-10  Morten Welinder  <terra@gnome.org>
1151         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1153 2015-02-06  Morten Welinder  <terra@gnome.org>
1155         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1156         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1157         (sheet_widget_radio_button_set_link)
1158         (sheet_widget_list_base_set_links)
1159         (sheet_widget_adjustment_set_details): Only link if we have a
1160         sheet.
1162 2015-02-04  Morten Welinder <terra@gnome.org>
1164         * configure.ac: Post-release bump.
1166 2015-02-04  Morten Welinder <terra@gnome.org>
1168         * Release 1.12.20
1170 2015-01-30  Morten Welinder  <terra@gnome.org>
1172         * src/sheet-object-widget.c
1173         (sheet_widget_adjustment_set_horizontal): Make this public.
1175 2015-01-23  Morten Welinder <terra@gnome.org>
1177         * configure.ac: Post-release bump.
1179 2015-01-23  Morten Welinder <terra@gnome.org>
1181         * Release 1.12.19
1183 2015-01-20  Morten Welinder  <terra@gnome.org>
1185         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1186         See bug #743130.
1188 2015-01-19  Morten Welinder  <terra@gnome.org>
1190         * src/gutils.c (gnm_icon_dir): Remove.
1192         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1193         resources.
1195         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1196         from glib resources.
1198         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1199         Delete.
1201         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1202         otherwise dump them in temporary files in order to load them.
1204         * src/workbook.c (workbook_update_graphs): New function.
1206         * src/workbook-view.c (workbook_view_new_from_input): Update
1207         graphs.
1209 2015-01-14  Morten Welinder  <terra@gnome.org>
1211         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1212         an expresssion, make it a string instead of dropping it on the
1213         floor.
1215 2015-01-13  Morten Welinder  <terra@gnome.org>
1217         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1218         missing shared expression, define a dummy version so we don't get
1219         repeated errors.
1221 2015-01-09  Morten Welinder  <terra@gnome.org>
1223         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1224         sort them later than other values.  This fixes #742601.
1226 2015-01-01  Morten Welinder  <terra@gnome.org>
1228         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1229         names, not stock ids.
1231         * src/gnm-pane.c (update_control_point_colors): Avoid
1232         gtk_style_context_get_background_color.
1233         * src/item-cursor.c (ic_reload_style): Ditto.
1235 2014-12-30  Morten Welinder  <terra@gnome.org>
1237         * src/rendered-value.c (gnm_rendered_value_new):
1238         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1240 2014-12-27  Morten Welinder  <terra@gnome.org>
1242         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1243         unless we really have to.
1245 2014-12-25  Morten Welinder  <terra@gnome.org>
1247         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1248         multihead issue.
1250         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1252         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1254         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1255         icon on sheet direction changes.
1257         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1259 2014-12-24  Morten Welinder  <terra@gnome.org>
1261         * src/wbc-gtk.c (wbcg_show_save_dialog)
1262         (wbcg_close_if_user_permits): Constant propagation.
1264         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1265         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1267 2014-12-22  Morten Welinder  <terra@gnome.org>
1269         * icons/fake-index-theme: we need actions directories too.
1271 2014-12-21  Morten Welinder  <terra@gnome.org>
1273         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1274         handling.
1276 2014-12-20  Morten Welinder  <terra@gnome.org>
1278         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1279         count in delete, such as used from sheet resize.
1281 2014-12-19  Morten Welinder  <terra@gnome.org>
1283         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1284         (before g_setenv is available).
1286 2014-12-16  Morten Welinder  <terra@gnome.org>
1288         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1289         number.
1291         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1292         the delete case.
1294 2014-12-15  Morten Welinder  <terra@gnome.org>
1296         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1297         sheet_style_insert_colrow and handled deletion too.
1299         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1300         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1301         and clean up.
1303         * src/dependent.c (dependent_has_pos, dependent_move): New
1304         functions.
1306 2014-12-14  Morten Welinder  <terra@gnome.org>
1308         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1309         free.
1311 2014-12-11  Morten Welinder  <terra@gnome.org>
1313         * src/dependent.c (style_dep_debug_name): Include position too.
1315         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1316         sheet_row_add.
1317         (colrow_move): Change parameterization slightly.
1319 2014-12-06  Morten Welinder  <terra@gnome.org>
1321         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1322         want them visually gone and g_object_unref does not guarantee
1323         that.
1325         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1326         dependents.  A later step clears and re-applies style completely
1327         for the moved area.  Fixes #741197.
1329         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1330         function.
1332         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1333         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1335         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1336         leak.
1337         (gnm_cmd_context_error_splits_merge): Plug leak.
1339 2014-11-15  Morten Welinder  <terra@gnome.org>
1341         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1342         the wbc is already gone.
1344 2014-11-09  Morten Welinder  <terra@gnome.org>
1346         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1347         data.  Might fix Redhat #1160975.
1349 2014-10-28  Morten Welinder  <terra@gnome.org>
1351         * src/style.c (find_font): Accept NULL font name.
1353 2014-10-27  Morten Welinder  <terra@gnome.org>
1355         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1356         code.
1358 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1360         * src/item-cursor.c (cb_item_cursor_animation): use
1361         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1362         outside of a draw event.
1364 2014-10-26  Morten Welinder  <terra@gnome.org>
1366         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1367         Use throughout.
1368         (GnmValue): Drop type union member.  C99 requires that this be
1369         accessed in a structure.  We have v_any for that.
1371 2014-10-25  Morten Welinder  <terra@gnome.org>
1373         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1374         ought to survive both gcc's aliasing analysis and valgrind's
1375         bitfield problems.
1377 2014-10-24  Morten Welinder  <terra@gnome.org>
1379         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1381 2014-10-21  Morten Welinder  <terra@gnome.org>
1383         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1385 2014-09-25  Morten Welinder <terra@gnome.org>
1387         * configure.ac: Post-release bump.
1389 2014-09-25  Morten Welinder <terra@gnome.org>
1391         * Release 1.12.18
1393 2014-09-25  Morten Welinder  <terra@gnome.org>
1395         * src/sheet-filter.c (gnm_filter_condition_new_single)
1396         (gnm_filter_condition_new_double): Fix preconditions.  See
1397         #735249.
1399 2014-09-23  Morten Welinder  <terra@gnome.org>
1401         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1402         doesn't spew deprecation warnings by default.
1404 2014-09-11  Morten Welinder  <terra@gnome.org>
1406         * src/style.c (gnm_translate_underline_from_pango): Survive
1407         PANGO_UNDERLINE_ERROR.
1409 2014-06-09  Morten Welinder <terra@gnome.org>
1411         * configure.ac: Post-release bump.
1413 2014-06-09  Morten Welinder <terra@gnome.org>
1415         * Release 1.12.17
1417 2014-05-28  Morten Welinder  <terra@gnome.org>
1419         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1420         when we drag the handle into the col/row canvas.
1422         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1424         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1425         handler.  Fixes #730884.
1427 2014-05-27  Morten Welinder  <terra@gnome.org>
1429         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1430         col/row canvas.  Fixes #730857.
1431         (gnm_pane_dispose): Release references.
1433 2014-05-23  Morten Welinder <terra@gnome.org>
1435         * configure.ac: Post-release bump.
1437 2014-05-23  Morten Welinder <terra@gnome.org>
1439         * Release 1.12.16
1441 2014-05-23  Morten Welinder  <terra@gnome.org>
1443         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1444         need better building blocks for commands; this is one such.
1446 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1448         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1449         (cmd_hyperlink_redo): ditto
1450         (cmd_hyperlink_finalize): ditto
1451         (cb_cmd_hyperlink_find_cells): ditto
1453 2014-05-20  Morten Welinder  <terra@gnome.org>
1455         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1457         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1458         outline and fill colours that are auto, even for the 1.0 format.
1460         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1461         conditional format ranges.
1463 2014-05-14  Morten Welinder  <terra@gnome.org>
1465         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1467         * src/gutils.c (gnm_object_has_readable_prop): New function.
1469         * configure.ac (scrollkeeper): Test if we have it.
1471 2014-05-05  Morten Welinder  <terra@gnome.org>
1473         * src/wbc-gtk.c (toolbar_context_menu): Remove
1474         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1475         false for years and is unsupported in gtk+.
1477 2014-04-30  Morten Welinder <terra@gnome.org>
1479         * configure.ac: Post-release bump.
1481 2014-04-30  Morten Welinder <terra@gnome.org>
1483         * Release 1.12.15
1485 2014-04-23  Morten Welinder  <terra@gnome.org>
1487         * src/complete.c (complete_idle): Avoid abort().
1489         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1490         source.
1492 2014-04-22  Morten Welinder  <terra@gnome.org>
1494         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1495         replaced with calls to gnm_color_new_go.
1497         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1499         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1501 2014-04-21  Morten Welinder  <terra@gnome.org>
1503         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1504         only in the hop of fixing #728465.
1506 2014-04-13  Morten Welinder <terra@gnome.org>
1508         * configure.ac: Post-release bump.
1510 2014-04-13  Morten Welinder <terra@gnome.org>
1512         * Release 1.12.14
1514 2014-04-11  Morten Welinder  <terra@gnome.org>
1516         * src/item-bar.c: Get colours when we draw; only get sizing
1517         relevant information at odd times, in particular when parent
1518         widgets may be insensitive, such as during a load-onto-pristine.
1519         Fixes #728007.
1521 2014-04-10  Morten Welinder  <terra@gnome.org>
1523         * src/item-bar.c (ib_reload_style): Add debug code.
1525 2014-04-09  Morten Welinder  <terra@gnome.org>
1527         * src/number-match.c (format_match_datetime): Plug leak on certain
1528         failure cases.
1530 2014-04-02  Morten Welinder  <terra@gnome.org>
1532         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1533         integer test.
1535 2014-03-30  Morten Welinder  <terra@gnome.org>
1537         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1538         list of extra uis.
1540 2014-03-28  Morten Welinder  <terra@gnome.org>
1542         * src/main-application.c (main): Move Ubuntu hack earlier.
1544 2014-03-27  Morten Welinder  <terra@gnome.org>
1546         * src/main-application.c (main): Attempt to banish ubuntu's
1547         overlay scrollbar which don't work.
1549 2014-03-21  Morten Welinder  <terra@gnome.org>
1551         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1552         case insensitve and allow wildcards.
1554         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1555         from fn-string.
1557         * src/style-conditions.c (generate_end_match): Use case
1558         insensitive comparison.  Pull negation into the operator.
1559         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1560         insensitive.
1562 2014-03-18  Morten Welinder  <terra@gnome.org>
1564         * src/gui-util.c (kill_popup_menu): One more try at really killing
1565         the context menu after we're done with it.
1567         * src/item-grid.c (item_grid_realize): Plug leak.
1569 2014-03-18  Morten Welinder <terra@gnome.org>
1571         * configure.ac: Post-release bump.
1573 2014-03-18  Morten Welinder <terra@gnome.org>
1575         * Release 1.12.13
1577 2014-03-18  Morten Welinder  <terra@gnome.org>
1579         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1580         providers from screens on exit.
1582         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1584 2014-03-17  Morten Welinder  <terra@gnome.org>
1586         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1588 2014-03-16  Morten Welinder  <terra@gnome.org>
1590         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1591         formats.  I'm not positive we do things right, but this avoids
1592         criticals, at least.
1594         * src/cell.c (cell_set_expr_internal): Don't change an existing
1595         value.
1597 2014-03-15  Morten Welinder  <terra@gnome.org>
1599         * src/style-border.c (gnm_border_shutdown): New function to help
1600         debug leaks.  Shutdown border_none here.
1602         * src/style-color.c (gnm_color_shutdown): Not here.
1604 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1606         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1607         the tooltip where it will not immediatly be destroyed after creation.
1608         [really fix #706659]
1610 2014-03-14  Morten Welinder  <terra@gnome.org>
1612         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1613         if we don't have any.
1615 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1617         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1619 2014-03-13  Morten Welinder  <terra@gnome.org>
1621         * src/style-conditions.c (gnm_style_cond_eval): New function
1622         extracted from gnm_style_conditions_eval.  Make "equal" case
1623         insensitive.  Fixes #726246.
1625         * src/ssconvert.c (convert): Show resize message only if verbose.
1627 2014-03-12  Morten Welinder  <terra@gnome.org>
1629         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1630         function.
1631         (gnm_style_cond_canonicalize): New function.
1633         * src/ssconvert.c (convert): only print "Using exporter ..." if
1634         --verbose is given, and print it to stderr.
1636 2014-03-11  Morten Welinder  <terra@gnome.org>
1638         * src/sheet.c (cb_set_markup): Don't mess directly with
1639         cell->value.  We need to trigger a re-render.  Fixes #726086.
1641         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1642         for the pre-validation assignment.
1644         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1645         before assigning it to the cell.
1647 2014-03-10  Morten Welinder  <terra@gnome.org>
1649         * gnumeric.xsd: Update valign/halign attributes.  Update print
1650         setup.
1652         * src/sheet-filter.c (gnm_filter_condition_new_single)
1653         (gnm_filter_condition_new_double): Add preconditions.
1655 2014-03-07  Morten Welinder  <terra@gnome.org>
1657         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1659 2014-03-05  Morten Welinder  <terra@gnome.org>
1661         * src/expr.c (gnm_expr_top_is_volatile): New function.
1663         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1664         volatile expressions.
1666         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1667         (dependent_is_volatile): New function.
1669         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1670         Don't set the initial range here.
1672         * src/expr.c (gnm_expr_top_first_funcall)
1673         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1674         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1675         gnm_expr_walk.
1676         (gnm_expr_top_get_boundingbox): Set initial range here.
1678         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1679         Ditto.
1681 2014-03-03  Morten Welinder <terra@gnome.org>
1683         * configure.ac: Post-release bump.
1685 2014-03-03  Morten Welinder <terra@gnome.org>
1687         * Release 1.12.12
1689 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1691         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1693 2014-03-02  Morten Welinder  <terra@gnome.org>
1695         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1696         name-collections.
1697         (wbcg_sheet_order_changed): Mark ui as being updated.
1698         (cb_bnotebook_page_reordered): Ignore during UI update.
1700         * src/expr-name.c (gnm_named_expr_collection_dump)
1701         (gnm_named_expr_collection_sanity_check): New function.
1703         * src/application.c (gnm_app_sanity_check): New function.
1705         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1706         string inside the GOString as a hash key.  It can change.
1707         (gnm_named_expr_collection_foreach): As a consequence of the
1708         above, the first argument to the handler for
1709         gnm_named_expr_collection_foreach changes to something
1710         unspecified.  All callers changed.
1712         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1713         sheet.
1715         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1716         when encountering strangeness.
1718 2014-02-28  Morten Welinder  <terra@gnome.org>
1720         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1721         If row/column canvas is not visible, ignore them.
1722         (scg_gtk_paned_set_position): Don't allow negative position.
1723         Fixes #725375.
1725         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1726         changes.
1728 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1730         * src/item-grid.c (item_grid_draw_region): fix background filling for
1731         rtl sheets. [#725276]
1733 2014-02-25  Morten Welinder  <terra@gnome.org>
1735         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1736         (gnumeric_create_popup_menu): Drop return value from handler.
1738         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1739         are cell comments by position.
1741 2014-02-24  Morten Welinder  <terra@gnome.org>
1743         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1745         * src/colrow.c (colrow_equal): Don't use floating-point equality
1746         here.  Allow a difference of 1e-5 pt for size.
1748 2014-02-23  Morten Welinder  <terra@gnome.org>
1750         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1751         fill in the new areas with most common styles for the rows to the
1752         left of the new columns or the columns above the new area.
1754 2014-02-19  Morten Welinder  <terra@gnome.org>
1756         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1757         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1759         * src/mathfunc.c (gnm_log2): New function.
1761 2014-02-18  Morten Welinder  <terra@gnome.org>
1763         * src/ssdiff.c (xml_style_changed): Report differences for
1764         auto-color settings.
1766 2014-02-17  Morten Welinder  <terra@gnome.org>
1768         * src/ssconvert.c (convert): Add --resize option.
1770 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1772         * src/item-grid.c (item_grid_realize): fix persistence of
1773         hyperlink tips. [see #724108]
1775 2014-02-16  Morten Welinder <terra@gnome.org>
1777         * configure.ac: Post-release bump.
1779 2014-02-16  Morten Welinder <terra@gnome.org>
1781         * Release 1.12.11
1783 2014-02-16  Morten Welinder  <terra@gnome.org>
1785         * src/func.c (function_dump_defs): Update boilerplate.
1787 2014-02-11  Morten Welinder <terra@gnome.org>
1789         * configure.ac: Post-release bump.
1791 2014-02-11  Morten Welinder <terra@gnome.org>
1793         * Release 1.12.10
1795 2014-02-07  Morten Welinder  <terra@gnome.org>
1797         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1798         entry on top of merged cells.  Fixes #723600.
1800 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1802         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1803         a better fix to previous issue.
1805 2014-01-30  Morten Welinder  <terra@gnome.org>
1807         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1808         toolbar icons.
1810         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1811         smoother (when not using the fallback).  Avoid using hard light
1812         for ant-ing -- that doesn't work for the same reason as alpha not
1813         working.  Always use phase=0 for non-ant stipples.
1814         (GnmItemCursor): Use the canvas item's visibility flag instead of
1815         rolling our own.
1817 2014-01-29  Morten Welinder  <terra@gnome.org>
1819         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1821         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1822         check for bad clipping somewhere in gtk+ or theme land.
1824 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1826         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1827         component reference to the workbook.
1829 2014-01-27  Morten Welinder  <terra@gnome.org>
1831         * src/func.c (function_dump_defs): Undo wiki change.
1833 2014-01-21  Morten Welinder  <terra@gnome.org>
1835         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1836         the amount of work we do for ant-ing.  Fixes #381011, patch from
1837         Jean.
1838         (ic_reload_style): Ignore alpha component of ant colours.
1840 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1842         * src/graph.c (gnm_go_data_vector_load_len),
1843         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1844         [#722294]
1846 2014-01-16  Morten Welinder  <terra@gnome.org>
1848         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1849         cb_darken_foreground_attributes and change to take non-white
1850         background into account.
1852 2014-01-12  Morten Welinder  <terra@gnome.org>
1854         * src/mathfunc.c (expmx2h): Split out from dnorm.
1855         (dhyper): Round the chosen "p" to float to improve accuracy of
1856         "q".
1858 2014-01-11  Morten Welinder  <terra@gnome.org>
1860         * src/mathfunc.c (pow1p): Improve accuracy.
1861         (R_D_nonint): Fix rounding problem.
1862         (ebd0): New extended version of bd0.
1863         (dpois_raw, dbinom_raw): Use ebd0.
1864         (dbinom_raw): Handle x==n and x==0 much better.
1866 2014-01-08  Morten Welinder  <terra@gnome.org>
1868         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1869         g_mkdtemp_full.
1871         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1873         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1874         return the WorkbookView instead of a boolean.
1876 2014-01-01  Morten Welinder  <terra@gnome.org>
1878         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1880 2013-12-31  Morten Welinder  <terra@gnome.org>
1882         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1883         mathfunc.c
1885 2013-12-30  Morten Welinder  <terra@gnome.org>
1887         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1888         (bd0): Reimplement.
1889         (dpois_raw): Avoid going through logs, if possible.
1891 2013-12-25  Morten Welinder  <terra@gnome.org>
1893         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1894         we return FALSE so we don't try to remove the source later.
1896 2013-12-22  Morten Welinder  <terra@gnome.org>
1898         * src/gui-util.c (gnm_widget_measure_string): New function
1899         allowing the elimination of all gtk_style_context_get_font calls.
1901 2013-12-19  Morten Welinder  <terra@gnome.org>
1903         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1904         especially when |x|<<1.  Ditto for x<-1.
1906 2013-12-17  Morten Welinder  <terra@gnome.org>
1908         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1909         multiplication.
1911 2013-12-14  Morten Welinder  <terra@gnome.org>
1913         * src/sf-gamma.c (complex_igamma): New function.
1915 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
1917         * */*.c: Fix some leaks and null dereferences pointed out by
1918         cppcheck.
1920 2013-12-12  Morten Welinder  <terra@gnome.org>
1922         * src/parser.y (array_row): Avoid overrunning string when multiple
1923         missing closing parentheses are detected.  Fixes #720353.
1925 2013-12-11  Morten Welinder  <terra@gnome.org>
1927         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1928         gdk_event_get_screen, not from ->screen.  This might fix #720182.
1930         * src/*.c: Use accessor function for GdkEvent when convenient.
1932 2013-12-07  Morten Welinder  <terra@gnome.org>
1934         * src/application.c (gnm_app_init): Don't allocate a
1935         GtkRecentManager if we are not in gui mode.
1937         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1938         behaviour.
1939         * src/dependent.c (deprange_hash): Ditto.
1941 2013-12-04  Morten Welinder  <terra@gnome.org>
1943         * src/sf-gamma.c (gamma_error_factor): Add extra term.
1945 2013-12-07  Morten Welinder  <terra@gnome.org>
1947         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1948         of the argument for [-1.5;-0.5].
1950         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1951         Re z < 1/2.  Avoid some overflow.
1953 2013-12-02  Morten Welinder  <terra@gnome.org>
1955         * src/sf-bessel.c (bessel_y): Use the J series when possible.
1957 2013-12-07  Morten Welinder  <terra@gnome.org>
1959         * src/sf-bessel.c (bessel_j): Use the taylor series in the
1960         parameter range where that makes sense.
1962         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1963         (gnm_beta): Ditto.
1965 2013-11-30  Morten Welinder  <terra@gnome.org>
1967         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
1968         negative values.
1970 2013-11-28  Morten Welinder <terra@gnome.org>
1972         * configure.ac: Post-release bump.
1974 2013-11-28  Morten Welinder <terra@gnome.org>
1976         * Release 1.12.9
1978 2013-11-25  Morten Welinder  <terra@gnome.org>
1980         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1981         mathfunc.c
1983 2013-11-19  Morten Welinder  <terra@gnome.org>
1985         * src/print.c (print_page): Fix check for missing object.  Fixes
1986         #712662.
1988 2013-11-18  Morten Welinder  <terra@gnome.org>
1990         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
1992 2013-11-15  Morten Welinder  <terra@gnome.org>
1994         * src/mathfunc.c (reduce_pi_half): New function.
1996 2013-11-14  Morten Welinder  <terra@gnome.org>
1998         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
1999         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2001 2013-11-13  Morten Welinder  <terra@gnome.org>
2003         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2005 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2007         * src/sheet-object.c (sheet_object_view_button2_pressed),
2008         (sheet_object_view_class_init): implement double click for graph sheets.
2009         [#712216]
2011 2013-11-12  Morten Welinder  <terra@gnome.org>
2013         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2014         emission.
2015         (cb_bnotebook_page_reordered): New function.
2016         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2018         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2020 2013-11-06  Morten Welinder  <terra@gnome.org>
2022         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2024 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2026         * src/workbook-view.c: add more introspection related comments.
2027         * src/workbook.c: ditto.
2029 2013-11-03  Morten Welinder  <terra@gnome.org>
2031         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2032         sin/cos before scaling by pi.
2034 2013-11-01  Morten Welinder  <terra@gnome.org>
2036         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2037         (gnm_gamma): Protect against unnecessary overflow at top of range.
2039 2013-10-31  Morten Welinder  <terra@gnome.org>
2041         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2042         avoids accuracy problems since any cdf is completely flat in terms
2043         of floating point values when going sufficiently far into the
2044         tail.
2045         (qtukey): Ditto.
2046         (qbeta): Ditto.
2047         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2048         (permut): Route this into pochhammer.
2049         (qfact): New function.  Tabulate 0! through 50000! using quad
2050         precision arithmetic.
2051         (combin, fact, pochhammer): Improve accuracy using qfact.
2053 2013-10-22  Morten Welinder  <terra@gnome.org>
2055         * src/func.c (function_call_with_exprs): Move flags argument into
2056         structure.
2058 2013-10-19  Morten Welinder  <terra@gnome.org>
2060         * src/hlink.c (_gnm_hlink_init): New function.
2061         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2063 2013-10-07  Morten Welinder <terra@gnome.org>
2065         * configure.ac: Post-release bump.
2067 2013-10-07  Morten Welinder <terra@gnome.org>
2069         * Release 1.12.8
2071 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2073         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2075 2013-10-03  Morten Welinder  <terra@gnome.org>
2077         * src/item-cursor.c (item_cursor_draw): Drop expose area
2078         optimization that may not be correct with current gtk.  See bug
2079         #709320.
2081 2013-09-29  Morten Welinder  <terra@gnome.org>
2083         * src/main-application.c: Include <io.h> for win32.
2085         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2087 2013-09-25  Morten Welinder  <terra@gnome.org>
2089         * src/gnumeric.css: Use lighter green for function marker.
2091 2013-09-01  Morten Welinder <terra@gnome.org>
2093         * configure.ac: Post-release bump.
2095 2013-09-01  Morten Welinder <terra@gnome.org>
2097         * Release 1.12.7
2099 2013-08-29  Morten Welinder  <terra@gnome.org>
2101         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2102         Fixes #707047.
2104 2013-08-28  Morten Welinder  <terra@gnome.org>
2106         * src/mathfunc.c (gnm_gamma): Improve precision for large
2107         arguments.
2108         (gnm_yn): Not needed anymore.
2109         (bessel_i): Don't mark error strings for translation.
2111 2013-08-27  Morten Welinder <terra@gnome.org>
2113         * configure.ac: Post-release bump.
2115 2013-08-27  Morten Welinder <terra@gnome.org>
2117         * Release 1.12.6
2119 2013-08-26  Morten Welinder  <terra@gnome.org>
2121         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2122         (internal_style_list): Add fast pre-optimization to bring down the
2123         number of entries before we start messing with hashes.  Fixes
2124         #699045.
2126 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2128         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2129         GraphDimEditor::changed. See bug 706591 comment #2.
2131 2013-08-19  Morten Welinder <terra@gnome.org>
2133         * configure.ac: Post-release bump.
2135 2013-08-19  Morten Welinder <terra@gnome.org>
2137         * Release 1.12.5
2139 2013-08-15  Morten Welinder  <terra@gnome.org>
2141         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2142         Fixes #706095.
2144         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2145         parameters.  See bug 705913, comment 6.
2147 2013-08-13  Morten Welinder  <terra@gnome.org>
2149         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2151 2013-08-12  Morten Welinder  <terra@gnome.org>
2153         * src/sheet-object-widget.c (sow_create_widget): New function.
2154         Add sheet-object class to widgets.
2156 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2158         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2159         initial colour
2160         (sheet_widget_button_draw_cairo): also scale line thickness
2161         (sheet_widget_checkbox_draw_cairo): scale button size
2162         (sheet_widget_radio_button_draw_cairo): scale button size
2164 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2166         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2167         argument and change all callers
2169 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2171         * src/sheet-object-widget.c (get_font): add fall-backs
2173 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2175         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2176         draw_cairo_text.
2177         (draw_cairo_text): add h-vcenter argument and change all callers
2179 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2181         * src/sheet-object-widget.c (cb_range_destroyed),
2182         (sheet_widget_scrollbar_create_widget),
2183         (sheet_widget_spinbutton_create_widget),
2184         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2185         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2187 2013-08-09  Morten Welinder  <terra@gnome.org>
2189         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2190         get_font.
2191         (get_font): New function extracted from draw_cairo_text.
2193 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2195         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2196         if possible
2198 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2200         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2201         allow multi-paragraph with a highlighted line. Change all callers
2202         (sheet_widget_list_draw_cairo): use draw_cairo_text
2204 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2206         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2207         cairo version for Gnuemric too.
2208         (sheet_widget_button_draw_cairo): ditto
2209         (sheet_widget_scrollbar_draw_cairo): ditto
2210         (sheet_widget_spinbutton_draw_cairo): ditto
2211         (sheet_widget_slider_draw_cairo): ditto
2212         (sheet_widget_checkbox_draw_cairo): ditto
2213         (sheet_widget_radio_button_draw_cairo): ditto
2214         (sheet_widget_list_draw_cairo): ditto
2215         (sheet_widget_combo_draw_cairo): ditto
2217 2013-08-08  Morten Welinder  <terra@gnome.org>
2219         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2220         Reduce crazy relative offsets.
2222 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2224         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2225         change all callers
2226         (sheet_widget_frame_draw_cairo): new
2227         (sheet_widget_button_draw_cairo): new
2228         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2229         (sheet_widget_scrollbar_vertical_draw_cairo): new
2230         (sheet_widget_scrollbar_class_init): connect the above
2231         (sheet_widget_spinbutton_draw_cairo): new
2232         (sheet_widget_spinbutton_class_init): connect the above
2233         (sheet_widget_slider_horizontal_draw_cairo): new
2234         (sheet_widget_slider_vertical_draw_cairo): new
2235         (sheet_widget_slider_draw_cairo): new
2236         (sheet_widget_slider_class_init): connect the above
2237         (sheet_widget_list_draw_cairo): new
2238         (sheet_widget_list_class_init): connect the above
2239         (sheet_widget_combo_draw_cairo): new
2240         (sheet_widget_combo_class_init): connect the above
2242 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2244         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2245         change all uses of this macro
2246         (draw_cairo_text): new
2247         (sheet_widget_checkbox_draw_cairo): new
2248         (sheet_widget_radio_button_draw_cairo): new
2250 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2252         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2253         gtk_offscreen_window_new without a default screen (see bugs #705638
2254         and #705640)
2256 2013-08-07  Morten Welinder  <terra@gnome.org>
2258         * src/ssconvert.c (main): Initialize gtk+ without opening any
2259         display.
2261 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2263         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2265 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2267         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2268         * src/sheet-control-gui.c (scg_init): init new fields
2269         (scg_im_destroy): new
2270         (scg_finalize): call scg_im_destroy
2271         (cb_cell_im_timer): new
2272         (scg_find_pane): new
2273         (scg_show_im_tooltip): new
2274         (scg_class_init): init new field
2275         * src/sheet-control-priv.h: add field
2276         * src/sheet-control.c: add virtual
2277         * src/sheet-control.h: add virtual
2278         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2279         (sv_update): call sheet_view_edit_pos_tool_tips
2280         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2281         in pixels
2282         (sheet_row_get_distance_pixels): new
2283         * src/sheet.h (sheet_row_get_distance_pixels): new
2285 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2287         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2288         nodes in guppi graphs. [Debian #718594]
2290 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2292         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2293         'default'
2295 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2297         * src/sheet-control-gui.c (context_menu_handler): add argument to
2298         dialog_cell_format call
2299         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2300         dialog_cell_format call
2301         (cb_data_validate): ditto
2303 2013-07-30  Morten Welinder  <terra@gnome.org>
2305         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2306         colour.  Fixes rest of #705031.
2308 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2310         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2312 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2313         for Dmitry Smirnov
2314         * gnumeric.desktop.in: add ODS files
2316 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2318         * src/graph.c (gnm_go_data_vector_load_values): really load all
2319         values for multiple ranges.
2321 2013-07-19  Morten Welinder  <terra@gnome.org>
2323         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2324         check: the enum has a hole in the middle.  Fixes #704562.
2326 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2328         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2329         printing.
2330         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2332 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2334         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2335         (gnm_so_path_set_property): ditto
2336         (gnm_so_path_get_property): ditto
2338 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2340         * src/gnm-so-path.c (so_path_view_set_bounds),
2341         (cb_gnm_so_path_changed): a better fix for the text position.
2343 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2345         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2346         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2347         * src/gnm-so-path.c (so_path_view_set_bounds),
2348         (cb_gnm_so_path_changed): fix text wrap in paths too.
2350 2013-07-16  Morten Welinder  <terra@gnome.org>
2352         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2353         computing range size.  Fixes #704325.
2355 2013-07-15  Morten Welinder  <terra@gnome.org>
2357         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2358         that.  Fixes #704004.
2360         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2362         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2363         against oversize range.
2365 2013-07-12  Morten Welinder  <terra@gnome.org>
2367         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2368         sure it falls within the sheet.
2369         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2370         parts are on different sheets.  Fixes #704109.
2372 2013-07-10  Morten Welinder <terra@gnome.org>
2374         * configure.ac: Post-release bump.
2376 2013-07-10  Morten Welinder <terra@gnome.org>
2378         * Release 1.12.4
2380 2013-07-10  Morten Welinder  <terra@gnome.org>
2382         * src/value.c (parse_criteria): Patterns should anchor at the end
2383         (#703770) and be case insensitive (no bug#).
2385 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2387         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2388         to create an image of unknown type
2390 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2392         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2393         signage
2394         (cb_assign_val): quieten warning about signed/unsigned comparison
2396 2013-07-03  Morten Welinder  <terra@gnome.org>
2398         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2399         crazy-large ranges.
2400         (cb_assign_val): Ditto.
2402 2013-07-02  Morten Welinder  <terra@gnome.org>
2404         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2405         (cb_style_list_add_node): Ditto.
2406         (verify_hashes): Ditto.
2407         (internal_style_list): Ditto.
2409         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2410         deck chairs.
2412 2013-07-01  Morten Welinder  <terra@gnome.org>
2414         * configure.ac (long double): Crude use -lm for long double
2415         function checks.  Fixes #703397.
2417 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2419         * src/expr.c (gnm_expr_list_copy): new
2420         * src/expr.h (gnm_expr_list_copy): new
2422 2013-06-26  Morten Welinder  <terra@gnome.org>
2424         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2425         of ->op before using it.  Fixes #703143.
2427 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2429         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2430         [#703052]
2431         (gnm_so_path_copy): fixed copy with multiple paths.
2433 2013-06-25  Morten Welinder <terra@gnome.org>
2435         * configure.ac: Post-release bump.
2437 2013-06-25  Morten Welinder <terra@gnome.org>
2439         * Release 1.12.3
2441 2013-06-24  Morten Welinder  <terra@gnome.org>
2443         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2444         sheet.  Fixes #703006.
2446 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2448         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2449         without sheet
2451 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2453         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2454         a valid pattern. [#702833]
2455         * src/pattern.c (gnumeric_background_set): ditto.
2457 2013-06-21  Morten Welinder  <terra@gnome.org>
2459         * src/item-grid.c (item_grid_draw_region): Plug leak.
2461         * src/item-bar.c (ib_reload_style): Plug leak.
2463 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2465         * src/wbc-gtk.c (show_gui): protect against excessively large
2466         preferred widow sizes
2468 2013-06-14  Morten Welinder  <terra@gnome.org>
2470         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2472         * src/workbook.c (workbook_sheet_delete): Debug.
2473         (workbook_dispose): Also clear style here.  Styles can have
2474         dependents now.  Fixes #702218.
2476 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2478         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2480 2013-06-12  Morten Welinder  <terra@gnome.org>
2482         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2483         Fixes #702101.
2485 2013-06-04  Morten Welinder  <terra@gnome.org>
2487         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2489 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2491         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2492         (scg_comment_display): adjust background and fontcolor if necessary
2494 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2496         * src/item-grid.c (cb_cursor_come_to_rest):
2497         gnumeric_position_tooltip needs the tooltip size, so load the text
2498         before calling it.
2500 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2502         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2503         with button 2
2505 2013-05-27  Morten Welinder  <terra@gnome.org>
2507         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2508         and we aren't very good at it.
2510 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2512         * component/Gnumeric-embed.xml.in: add accelerator
2513         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2514         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2515         (EditGotoCellIndicator): new
2516         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2517         (wbcg_focus_current_cell_indicator): new
2518         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2520 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2522         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2523         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2524         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2525         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2527 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2529         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2530         behave the same as far as cell selection is concerned. This fixes
2531         bug #700792
2532         (item_grid_button_released): ditto
2534 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2536         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2537         to include hidden cells
2538         (cb_sheet_get_extent): handle hidden cells setting
2539         (sheet_get_printarea): do not include hidden cells
2540         * src/sheet.h (sheet_get_extent): add argument and change all
2541         callers
2543 2013-05-26  Morten Welinder  <terra@gnome.org>
2545         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2546         Termiate when contributions vanish.
2548 2013-05-24  Morten Welinder  <terra@gnome.org>
2550         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2551         the outer integral.
2552         (pfuncinverter): Handle lack of dfunc (poorly).
2554 2013-05-23  Morten Welinder  <terra@gnome.org>
2556         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2557         interval out from out from R_ptukey.
2558         (R_ptukey): Split the interval nearest 0 into a sequence of
2559         intervals over which the integrand looks a lot more like a
2560         polynomial.  This fixes accuracy problems for low degrees of
2561         freedom.
2563         * src/sheet-style.c (internal_style_list): Fix critical.
2565 2013-05-22  Morten Welinder  <terra@gnome.org>
2567         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2569 2013-05-21  Morten Welinder  <terra@gnome.org>
2571         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2573 2013-05-19  Morten Welinder  <terra@gnome.org>
2575         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2576         boundaries.
2577         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2579 2013-05-18  Morten Welinder  <terra@gnome.org>
2581         * src/mathfunc.c (pnorm2): New function.
2582         (R_ptukey): New function imported from R with local improvements.
2584 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2586         * src/print.c (gnm_create_widget_cb): by default observe
2587         manual page breaks
2589 2013-05-14  Morten Welinder  <terra@gnome.org>
2591         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2592         (gnm_range_geometric_mean): Handle two FIXMEs.
2594 2013-05-13  Morten Welinder  <terra@gnome.org>
2596         * src/*.c: Mark gobject property strings as P_(...).
2598 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2600         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2602 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2604         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2605         rather than gnm_cell_assign_value
2607 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2609         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2610         first column
2612 2013-05-05  Morten Welinder  <terra@gnome.org>
2614         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2615         rendered value here.  Fixes #699647.
2617 2013-05-03  Morten Welinder  <terra@gnome.org>
2619         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2620         accelerator for redo.  Fixes #699579.
2621         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2622         focusable.
2624         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2626 2013-05-01  Morten Welinder  <terra@gnome.org>
2628         * src/print-info.c: Add gsf includes to make things work with
2629         libgsf 1.14.24.  Redhat #957851.
2631 2013-04-29  Morten Welinder  <terra@gnome.org>
2633         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2634         cells.
2636 2013-04-26  Morten Welinder <terra@gnome.org>
2638         * configure.ac: Post-release bump.
2640 2013-04-26  Morten Welinder <terra@gnome.org>
2642         * Release 1.12.2
2644 2013-04-26  Morten Welinder  <terra@gnome.org>
2646         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2647         row/column items the default.
2649 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2651         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2653 2013-04-24  Morten Welinder  <terra@gnome.org>
2655         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2656         widget parameter.  All callers changed.
2658         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2659         delayedMovement.timer.
2661         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2662         animation_cursor.
2664         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2665         windows_update_timer.
2667         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2668         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2669         valid tag.
2671         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2672         sliding).
2674 2013-04-23  Morten Welinder  <terra@gnome.org>
2676         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2678         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2679         critical.  Fixes #698680.
2681         * src/gui-file.c (gui_file_save_as): For export, change extension.
2682         Fixes #698636.
2684 2013-04-22  Morten Welinder  <terra@gnome.org>
2686         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2687         Somehow fixes #625687.
2689 2013-04-20  Morten Welinder  <terra@gnome.org>
2691         * src/go-data-slicer-field.c
2692         (go_data_slicer_field_set_field_type_pos): Add precondition for
2693         slicer.
2695 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2697         * src/print-info.c (render_title): new
2699 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2701         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2702         cells.
2703         (sheet_range_set_text): ditto
2705 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2707         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2708         than padding.
2710 2013-04-22  Morten Welinder  <terra@gnome.org>
2712         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2714 2013-04-19  Morten Welinder  <terra@gnome.org>
2716         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2717         view approach.  Fixes #689283.
2719         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2720         mode.
2721         (wbc_gtk_init_color_fore): Ditto.
2722         (wbc_gtk_init_color_back): Ditto.
2724 2013-04-17  Morten Welinder  <terra@gnome.org>
2726         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2727         button.
2729         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2730         font_name_haction.
2732         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2733         only for horizontal toolbars.
2735         * src/gui-file.c (file_saver_format_changed_cb): New function to
2736         change the extension when the format is changed.
2737         (gui_file_save_as): Don't try to hide the extension -- it
2738         interferes with the file chooser's completion.  Fixes #695839.
2740 2013-04-16  Morten Welinder  <terra@gnome.org>
2742         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2743         menu for graph sheets.  Fixes #685446.
2744         (sheet_menu_label_run): Disable resize for graph sheets.
2746         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2747         #661800.
2748         (parse_criteria): Handle criteria "=" and "<>" (with no value
2749         after the operator) special.  These test for empty and non-empty
2750         values.  Fixes #686156.
2752         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2753         "anchor_start" and "anchor_end".  All callers changed.
2755 2013-04-15  Morten Welinder  <terra@gnome.org>
2757         * src/application.c (add_icon): Plug leak.
2759         * src/number-match.c (format_match_decimal_number): Try also major
2760         non-locale currencies.  Fixes #577768.
2762 2013-04-13  Morten Welinder  <terra@gnome.org>
2764         * src/mathfunc.c (pochhammer): Improve precision a bit.
2765         (binomialcf): Lower cfSmall by 10^3.  This helps
2766         pbeta(0.9,10,0.5).
2768         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2769         doesn't prevent multiple versions from co-existing.
2771         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2772         dirty.  Callers already appear to handle this when needed
2773         and not when not wanted.  Fixes #697927.
2775 2013-04-12  Morten Welinder  <terra@gnome.org>
2777         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2778         #697850.
2779         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2780         reported to R).
2781         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2783 2013-04-11  Morten Welinder  <terra@gnome.org>
2785         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2786         reference with invalid_sheet.  Fixes #683494.
2788         * src/complex.c (complex_to_string): Drop format arguments.  All
2789         callers changed.  Make up a format with enough precision for round
2790         tripping.  Fixes #697634.
2792 2013-04-09  Morten Welinder  <terra@gnome.org>
2794         * src/complex.c (complex_from_string): Make this handle embedded
2795         spaces systematically.
2796         (is_unit_imaginary): Delete.
2798 2013-04-09  Morten Welinder  <terra@gnome.org>
2800         * src/complex.c (complex_pow): Use Goffice's copy.
2802 2013-04-05  Morten Welinder  <terra@gnome.org>
2804         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2805         new screens.  Add hack for pre-GTK 3.4.
2807         * src/mathfunc.c (gnm_owent): New function.
2809 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2811         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2812         functions used as vectors. [697281]
2814 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2816         * src/graph.c (gnm_go_data_vector_load_values),
2817         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2818         arrays. [697107]
2820 2013-04-03  Morten Welinder  <terra@gnome.org>
2822         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2823         attributes of the tab.
2825         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2826         GnmNotebookButton, not an EditableLabel.
2828 2013-04-02  Morten Welinder  <terra@gnome.org>
2830         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2831         widget.
2832         (cb_wbcg_drag_leave): Ditto.
2834 2013-03-27  Morten Welinder  <terra@gnome.org>
2836         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2837         key we look up.  When did that change?
2839 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2841         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2842         remove the frame.
2844 2013-03-26  Morten Welinder  <terra@gnome.org>
2846         * src/item-edit.c: Theme the in-cell edit background color.
2848         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2849         into here.
2850         src/gui-gnumeric.h: Remove.
2852         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2853         non-NULL if there is a selection.
2854         (gnumeric_background_set_gtk): Delete.  Make callers use
2855         gnumeric_background_set.
2857         * src/preview-grid.c (preview_grid_draw_background): Always
2858         provide a context to gnumeric_background_set.
2859         * src/item-edit.c (item_edit_draw): Ditto.
2861         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2862         separate the different cursor types.  Separate autofill colouring
2863         from drag ditto.
2865 2013-03-25  Morten Welinder  <terra@gnome.org>
2867         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2868         color to GOColor.
2869         (ic_reload_style): Theme some of the cursor colors.
2871         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2872         not colour name.
2874         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2876         * src/gnumeric.css: use deprecated px-free syntax for padding, so
2877         gtk+ 3.2 can deal with it.
2879         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2880         can suppress deprecations.
2882         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2883         the "all" button.
2885         * src/item-bar.c (ib_reload_style): Load fonts from style.
2887 2013-03-24  Morten Welinder  <terra@gnome.org>
2889         * src/item-grid.c (item_grid_draw_region): Draw the background at
2890         the right coordinates!
2892 2013-03-23  Morten Welinder  <terra@gnome.org>
2894         * src/item-bar.c (ib_draw_cell): There's no point in going to and
2895         from GOColor here.  Just use the color as-is.
2897 2013-03-19  Morten Welinder  <terra@gnome.org>
2899         * src/application.c (install_icons): Install also the icon themed
2900         icons.  No idea why we have both.
2902         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2904         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2905         (embedded_imgs): Add the rest from pixmaps.
2907         * configure.ac: No longer create src/pixmaps/Makefile
2909         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2910         these work for resources and absolute paths.
2912 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2914         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2915         not sizeable objects bounds after dragging when zoom is not 100%.
2917 2013-03-18  Morten Welinder  <terra@gnome.org>
2919         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2920         filter.  It takes just long enough to be irritating.
2922 2013-03-17  Morten Welinder  <terra@gnome.org>
2924         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2925         style since we're not picking it explicitly.
2926         (cb_font_filter): Fix leak.
2928 2013-03-14  Morten Welinder  <terra@gnome.org>
2930         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2931         ignore non-scalable fonts.
2933 2013-03-11  Morten Welinder  <terra@gnome.org>
2935         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2937 2013-03-10  Morten Welinder  <terra@gnome.org>
2939         * src/ssconvert.c (list_them): Skip savers/openers that require
2940         interaction.  (We don't have any yet.)
2942         * src/stf.c (stf_read_workbook): Set error when we fail due to
2943         lack of GUI.
2944         (stf_init): Mark the configurable saver/opener as interactive.
2946         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
2948 2013-03-09  Morten Welinder <terra@gnome.org>
2950         * configure.ac: Post-release bump.
2952 2013-03-09  Morten Welinder <terra@gnome.org>
2954         * Release 1.12.1
2956 2013-03-06  Morten Welinder  <terra@gnome.org>
2958         * src/wbc-gtk.c (list_actions): Handle a null group.
2960 2013-03-03  Morten Welinder  <terra@gnome.org>
2962         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2963         g_thread_init if compiled with later than glib 2.32.0.
2965 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
2967         * src/gnm-pane-impl.h: remove alignments.
2968         * src/gnm-pane.c (gnm_pane_header_init): dittO;
2969         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2970         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2971         * src/sheet-control-gui-priv.h: remove all tables by one grid.
2972         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2973         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2974         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2975         (scg_mode_edit): ditto.
2976         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2977         (cb_sheet_visibility_change), (wbcg_sheet_add),
2978         (wbcg_sheet_remove), (wbcg_sheet_focus),
2979         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2980         (wbcg_get_nth_scg): ditto.
2982 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
2984         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2985         * src/print.c (gnm_create_widget_cb): ditto.
2986         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
2988 2013-03-01  Morten Welinder  <terra@gnome.org>
2990         * src/mathfunc.h: Make sure the "q" functions take "p" as their
2991         first argument, not "x".
2993 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
2995         reviewed by: <delete if not using a buddy>
2997         * INSTALL:
2998         * src/sheet-object-widget.c (sheet_widget_button_user_config),
2999         (sheet_widget_adjustment_user_config_impl),
3000         (sheet_widget_checkbox_user_config),
3001         (sheet_widget_radio_button_user_config):
3002         * src/wbc-gtk.c (wbc_gtk_init):
3004 2013-02-28  Morten Welinder  <terra@gnome.org>
3006         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3007         development versions.  We now get the information through gcc
3008         warnings.
3009         (solver): Make solver code unconditional.  Feel free to not
3010         distribute the relevant plugins.
3012 2013-02-26  Morten Welinder  <terra@gnome.org>
3014         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3016 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3018         * src/number-match.c: more introspection warnings.
3020 2013-02-23  Morten Welinder  <terra@gnome.org>
3022         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3024 2013-02-21  Morten Welinder  <terra@gnome.org>
3026         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3027         GHFunc.  All callers changed.  Impose a robust ordering.
3028         (sh_all_styles): New function replacing sh_foreach.
3030 2013-02-20  Morten Welinder  <terra@gnome.org>
3032         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3034 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3036         * configure.ac: make configure --with-python fail when some
3037         dependency is missing.
3039 2013-02-17  Morten Welinder  <terra@gnome.org>
3041         * configure.ac (set_more_warnings): Improve support for clang.
3043 2013-02-16  Morten Welinder  <terra@gnome.org>
3045         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3046         (Most cases a matter of 0 vs. 0.)
3048 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3050         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3051         default value for stf export format.
3052         * src/dependent.c: fix introspection warnings.
3053         * src/sheet-style.c: ditto.
3055 2013-02-15  Morten Welinder  <terra@gnome.org>
3057         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3058         3.2.0 just like goffice.
3060         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3061         requiring gtk 3.2
3063 2013-02-14  Morten Welinder  <terra@gnome.org>
3065         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3066         not MAXDOUBLE.  Fixes #693761.
3068 2013-02-10  Morten Welinder  <terra@gnome.org>
3070         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3071         doesn't belong here.  We handle everything in rstyle_apply.
3073 2013-02-08  Morten Welinder  <terra@gnome.org>
3075         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3076         link/unlink style dependents.  All callers changed.
3077         (sheet_style_shutdown): Set default style for whole sheet to
3078         ensure style dependents get cleared.
3080 2013-02-07  Morten Welinder  <terra@gnome.org>
3082         * src/sheet-style.c (cell_tile_optimize): Implement
3083         ptr-matrix-to-matrix optimization and use it to simplify things.
3085         * src/dependent.c (GnmStyleDependent): New type of dependent.
3086         When triggered, the cells in which it resised will be rerendered
3087         and redrawn.
3089         * src/mstyle.c (gnm_style_link_dependents)
3090         (gnm_style_unlink_dependents): New functions to manage style
3091         dependents due to conditional formatting.
3093 2013-02-06  Morten Welinder  <terra@gnome.org>
3095         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3096         inside-out in anticipation of future changes.
3098         (col_indicies, row_indicies): Alignment of the corners of apply_to
3099         is only relevant if we are within the tile.
3101 2013-02-06  Morten Welinder  <terra@gnome.org>
3103         * src/sheet-style.c (tile_is_uniform): Extract from
3104         cell_tile_optimize.
3105         (vector_apply_pstyle): Don't return a value.
3106         (cell_tile_apply): Use tile_is_uniform.
3108 2013-02-05  Morten Welinder  <terra@gnome.org>
3110         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3111         instead of crazy "goto".
3112         (cell_tile_apply): Simplify the covers-whole-tile case.
3114         * src/sheet.h (Sheet): Remove max_width and max_height members.
3115         All users fixed.
3117         * src/dependent.h (GnmDependentClass): Add pos handler.
3119         * src/dependent.c (dependent_pos): Use pos handler.
3120         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3122 2013-02-04  Morten Welinder  <terra@gnome.org>
3124         * src/dependent.c (dependent_pos): Make global.
3126         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3127         dependent_pos.
3129         * src/ssconvert.c (run_tool_test): Add code for running the
3130         regression tool.
3131         (convert): Run an analysis tool if requested.  (For testing.)
3133 2013-02-02  Morten Welinder  <terra@gnome.org>
3135         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3136         and rstyle_ctor_pstyle.  All callers changed.
3138 2013-01-18  Morten Welinder  <terra@gnome.org>
3140         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3141         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3142         New matrix support.
3143         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3144         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3146 2013-01-15  Morten Welinder  <terra@gnome.org>
3148         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3149         import from command line.
3151 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3153         * configure.ac: renamed configure.in and update obsolete macros.
3154         * configure.in: ditto.
3156 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3158         * configure.in: Add
3159         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3160         includes.
3162 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3164         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3165         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3166         twice the top and bottom margins when displaying a graph
3167         sheet. [#691472]
3169 2013-01-10  Morten Welinder  <terra@gnome.org>
3171         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3172         argument and assume TRUE.  Drop scope name and assume NULL (which
3173         is what all callers should have used).  All callers changed.
3174         (gnm_func_add_placeholder): Ditto.
3175         (invent_name): Downcase the preferred name.
3176         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3177         (gnm_func_add): Initialize arg_names_p.
3179         * src/gnm-plugin.c (plugin_service_function_group_activate):
3180         Upgrade existing placeholder functions as needed.
3182         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3183         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3185 2013-01-10  Morten Welinder  <terra@gnome.org>
3187         * src/func.c (gnm_func_add_placeholder_localized): New function.
3188         (gnm_func_add_placeholder_full): Extract from
3189         gnm_func_add_placeholder.  Handle localization better.
3190         (gnm_func_set_localized_name): New function.
3191         (gnm_func_free, gnm_func_get_name): Use
3192         gnm_func_set_localized_name.
3194         * src/parse-util.c (std_func_map): Improve handling of unknown
3195         function names.
3197         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3198         (gnm_func_free): ...here.
3200 2013-01-09  Morten Welinder  <terra@gnome.org>
3202         * src/symbol.c: delete.
3204         * src/func.c: rewrite to use GHashTable instead of symbol.c
3205         (gnm_func_lookup_prefix): Take extra argument indicating whether
3206         to search translated names.  Caller changed.
3208         * src/parse-util.c (std_func_map): Lookup translated name as
3209         needed.
3210         (parse_util_init): Add enviroment magic to turn on translated
3211         functions names.  This is not ready for prime time and should be
3212         controlled by a user preference eventually.
3214         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3215         bit.
3217 2013-01-07  Morten Welinder  <terra@gnome.org>
3219         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3220         pivot.  Use gnm_hypot where possible.
3222 2013-01-04  Morten Welinder  <terra@gnome.org>
3224         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3225         as argument.  Keep track of displays.
3226         (gnm_x_disown_clipboard): New function.
3228         * src/application.c (gnm_app_clipboard_clear): Use
3229         gnm_x_disown_clipboard to make things multi-head safe.
3231 2013-01-03  Morten Welinder  <terra@gnome.org>
3233         * src/collect.c (collect_floats): Fix handling of
3234         COLLECT_IGNORE_ERRORS.
3235         (collect_strings): Ditto.
3236         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3238 2013-01-01  Morten Welinder  <terra@gnome.org>
3240         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3241         deprecated goffice stuff.
3243         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3244         unused variable.
3245         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3246         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3247         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3249         * src/application.c (gnm_app_history_add): Kill warning.
3251 2012-12-31  Morten Welinder  <terra@gnome.org>
3253         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3254         Fixed #690929.
3256         * src/ssdiff.c: Introduce --highlight mode.
3258 2012-12-30  Morten Welinder  <terra@gnome.org>
3260         * src/ssdiff.c (main): Add option to send output to a file.
3262 2012-12-29  Morten Welinder  <terra@gnome.org>
3264         * src/ssdiff.c (diff): Use C locale.
3265         (ignore_cell): Ignore arrays, except for the corner.
3266         (output_cell): New function taking proper care of value types,
3267         convensions, etc.
3268         (xml_cell_changed): Use output_cell.
3269         (compare_corresponding_cells): Don't use entered_text here either,
3270         although it's harmless.
3271         (output_cell, compare_corresponding_cells): Handle value formats
3272         too.
3274 2012-12-28  Valek Filippov  <frob@df.ru>
3276         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3277         gdk_window_get_pointer calls.
3279 2012-12-28  Morten Welinder  <terra@gnome.org>
3281         * src/*.c: Eliminate use of printf.
3283         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3284         range offset here.  This may need to move further.
3285         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3286         (diff_sheets_cells): Ignore completely empty cells.
3287         (xml_sheet_start): Change meaning of Old and New attributes to be
3288         index_in_wb and absent when workbook doesn't have the sheet.
3289         (xml_style_changed): Describe style differences.
3291 2012-12-27  Morten Welinder  <terra@gnome.org>
3293         * src/ssdiff.c (diff_sheets): Compare styles too.
3295         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3296         range argument.  All callers changed.
3298 2012-12-24  Morten Welinder  <terra@gnome.org>
3300         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3301         cell_removed handlers into the cell_changed handler.
3302         (main): Add --xml option.
3304         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3305         configurable.  We need ssconvert for the test and it's silly
3306         anyway.
3308 2012-12-18  Morten Welinder <terra@gnome.org>
3310         * configure.in: Post-release bump.