Various cleanups.
[gnumeric.git] / ChangeLog
blobfc6cd94e3efe428b3f68d521d80e6d9da7de5663
1 2018-05-22  Morten Welinder  <terra@gnome.org>
3         * Test commit after migration.
5 2018-05-13  Morten Welinder  <terra@gnome.org>
7         * src/ssconvert.c: i18n fixes.
9 2018-05-10  Morten Welinder  <terra@gnome.org>
11         * configure.ac (LIBS): Clear out obsolete pango check.
13 2018-05-07  Morten Welinder  <terra@gnome.org>
15         * src/gnm-pane.c (gnm_pane_key_mode_sheet): Plug leaks.
17 2018-05-07  Morten Welinder <terra@gnome.org>
19         * configure.ac: Post-release bump.
21 2018-05-07  Morten Welinder <terra@gnome.org>
23         * Release 1.12.41
25 2018-05-07  Morten Welinder  <terra@gnome.org>
27         * src/rendered-value.c (gnm_rendered_value_new): When auto-fitting
28         a column, request no more room than for 15 significant digits.
29         Fixes #754391.  You can still get the maximum precision by
30         widening the column.
32         * src/wbc-gtk.c (wbc_gtk_init): Use a resource for the default ui
33         definition.
34         (wbcg_auto_expr_value_changed): Limit the width of numbers
35         formatted as General to something independent of function name.
36         This avoids the 10.10000...002 situation unless maximum precision
37         is requested.
39 2018-05-06  Morten Welinder  <terra@gnome.org>
41         * src/commands.c (cmd_area_set_array_expr): The clipboard now
42         takes care of restoring row heights and column widths.
43         (cmd_paste_copy_impl): After the initial "do", always restore
44         column widths and row heights.
46 2018-05-04  Morten Welinder  <terra@gnome.org>
48         * src/wbc-gtk.c (toolbar_context_menu): Use a proper separator
49         menu item.
51 2018-05-03  Morten Welinder  <terra@gnome.org>
53         * src/commands.c (get_new_objects): Change from transfer-container
54         to transfer-full.  Otherwise a deleted object can shadow a new
55         one.  (Never observed.)
57 2018-04-30  Morten Welinder  <terra@gnome.org>
59         * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Make full
60         history item insensitive if we have to history.
62 2018-04-29  Morten Welinder <terra@gnome.org>
64         * configure.ac: Post-release bump.
66 2018-04-29  Morten Welinder <terra@gnome.org>
68         * Release 1.12.40
70 2018-04-26  Morten Welinder  <terra@gnome.org>
72         * src/colrow.c (col_row_collection_foreach): move to...
73         * src/sheet.c (sheet_colrow_foreach): ...here.  Allow -1 to mean
74         last column or row.
75         (sheet_foreach_cell_in_range): Change to take a range.
76         (sheet_foreach_cell_in_region): Preserve the old
77         sheet_foreach_cell_in_range api.  Most callers changed.  Allow -1
78         to mean last column or row.
80 2018-04-25  Morten Welinder  <terra@gnome.org>
82         * src/xml-sax-read.c (xml_sax_cell_content): Read shared array
83         expressions as we used to, but immediately unshare.  I had an old
84         file with such a thing and it not supposed to happen.  That
85         formula would likely have been created in early 2007.
87 2018-04-24  Morten Welinder  <terra@gnome.org>
89         * src/commands.c (cmd_paste_copy_impl): Simplify now that
90         clipboard handles colrow sizes.
92 2018-04-21  Morten Welinder  <terra@gnome.org>
94         * src/sheet-object-image.c (gnm_soi_write_image): If the format
95         doesn't match what is requested, convert.
97 2018-04-20  Morten Welinder  <terra@gnome.org>
99         * src/ssconvert.c (merge_single): Avoid a
100         hash-changed-while-iterating problem.  [#795408]
102         * src/xml-sax-write.c (xml_write_cell_and_position): In the
103         clipboard case, write result values too.
105         * src/xml-sax-read.c (xml_sax_cell_content): Rework this rat's
106         nest of conditionals.  Accept values for expressions.
108 2018-04-18  Morten Welinder  <terra@gnome.org>
110         * src/mstyle.c (gnm_style_get_cond_style): Flip reversed
111         pre-condition.
113         * src/gui-clipboard.c (gnm_x_claim_clipboard): Offer biff8,
114         including LO's weird name for that.  The don't seem to take
115         "Biff8" and they don't seem to take Citrix' variant either.
117 2018-04-16  Morten Welinder  <terra@gnome.org>
119         * src/gui-clipboard.c (gnm_x_claim_clipboard): Plug leak.  Debug
120         improvements.
121         (table_cellregion_read): Improve paste-range heuristic for
122         clipboard formats that lack that information, notably
123         LibreOffice's.
125         * src/workbook-view.c (get_uri_modtime): Fix criticals on paste
126         from LibreOffice.  (Which sends a zipfile over the clipboard.)
128 2018-04-14  Morten Welinder  <terra@gnome.org>
130         * src/func.c (gnm_func_count_args): Rename from
131         function_def_count_args for introspection.
132         (gnm_func_get_arg_type): Rename from function_def_get_arg_type
133         for introspection.
134         (gnm_func_get_arg_type_sring): Rename from
135         function_def_get_arg_type_string for introspection.
137         * src/workbook-view.c (workbook_view_save_as): Rename from
138         wb_view_save_as for introspection.
139         (workbook_view_save): Rename from wb_view_save for introspection.
141 2018-04-13  Morten Welinder  <terra@gnome.org>
143         * src/workbook-view.c (workboook_view_save_to_uri): Renamed from
144         wb_view_save_to_uri for introspection.
145         (workbook_view_save_to_output): Renamed from
146         wb_view_save_to_output for introspection.
148         * src/style-color.c (gnm_style_color_get_type): Duplicate of
149         gnm_color_get_type, more or less.
151         * src/validation.c (gnm_validation_ref): Must return a value to be
152         used as a boxed copy function.
154         * src/expr.c (gnm_expr_top_ref): Must return a value to be used
155         as a boxed copy function.
157         * src/expr-name.c (expr_name_ref): Must return a value to be used
158         as a boxed copy function.
160         * src/mstyle.c (gnm_style_ref): Must return a value to be used
161         as a boxed copy function.
163         * src/clipboard.c (cellregion_ref): Must return a value to be used
164         as a boxed copy function.
166         * src/criteria.c (gnm_criteria_unref): Rename from free_criteria.
168         * src/mstyle.c: Hide internals.
169         src/gnm-style-impl.h: Remove.
171         * src/cell.c (gnm_cell_set_format): Remove.  Unused and badly
172         named.
174 2018-04-12  Morten Welinder  <terra@gnome.org>
176         * src/sheet-merge.c (gnm_sheet_merge_remove): Drop unused command
177         context argument.  All callers changed.
179 2018-04-11  Morten Welinder  <terra@gnome.org>
181         * src/workbook.c: Make Workbook a more proper object by adding a
182         constructor to setup the object correctly.  Introspection fixes.
184         (workbook_view_class_init): Make this a more proper object by
185         adding a constructor and init function to setup the object
186         correctly.
188 2018-04-11  Morten Welinder  <terra@gnome.org>
190         * src/workbook-view.c: Introspection fixes, mostly from Dean
191         McCarron.
192         src/workbook-control.c: Ditto.
193         src/wbc-gtk.c: Ditto.
195 2018-03-25  Morten Welinder  <terra@gnome.org>
197         * src/workbook.c (workbook_set_last_export_uri): Constify
198         argument.  Callers fixed.
200 2018-03-23  Morten Welinder  <terra@gnome.org>
202         * src/main-application.c (cpu_sanity_check): New function.
204 2018-03-13  Morten Welinder <terra@gnome.org>
206         * configure.ac: Post-release bump.
208 2018-03-13  Morten Welinder <terra@gnome.org>
210         * Release 1.12.39
212 2018-01-17  Morten Welinder  <terra@gnome.org>
214         * src/sstest.c (function_dump_defs): Drop internal function TABLE
215         as well as demo function ATL_LAST.
217 2018-01-11  Morten Welinder  <terra@gnome.org>
219         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
220         not to trigger an update storm when nothing changes.  Fixes
221         #792417.
223 2018-01-01  Morten Welinder  <terra@gnome.org>
225         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
226         non-reachable code relating to true() and false() conditions.
228 2017-12-30  Morten Welinder  <terra@gnome.org>
230         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
231         changed.
232         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
233         (gnm_expr_top_get_array_expr): New functions.
235         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
236         changed.
238 2017-12-29  Morten Welinder  <terra@gnome.org>
240         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
241         name.  #792038.
243 2017-12-28  Morten Welinder <terra@gnome.org>
245         * configure.ac: Post-release bump.
247 2017-12-28  Morten Welinder <terra@gnome.org>
249         * Release 1.12.38
251 2017-12-25  Morten Welinder  <terra@gnome.org>
253         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
254         * src/func-builtin.c (func_builtin_init): Ditto.
256 2017-12-23  Morten Welinder  <terra@gnome.org>
258         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
260 2017-12-04  Morten Welinder  <terra@gnome.org>
262         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
263         instead of passing them all over the place.
264         (diff): Compare names too.
266 2017-12-03  Morten Welinder  <terra@gnome.org>
268         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
269         (diff): Missing or extra sheet counts as a difference.
271         * src/mstyle.c (gnm_style_find_differences): Don't crash when
272         hlink/validation/inputmsg/conditions is NULL in one and not the other.
274         * src/ssdiff.c (diff_sheets_colrow): New function to compare
275         row/column sizes.
276         (highlight_cell_changed): Survive missing cell.
278 2017-12-01  Morten Welinder <terra@gnome.org>
280         * configure.ac: Post-release bump.
282 2017-12-01  Morten Welinder <terra@gnome.org>
284         * Release 1.12.37
286 2017-11-30  Morten Welinder  <terra@gnome.org>
288         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
289         usage.
290         * src/parse-util.c (wbref_parse): Ditto.
291         * src/preview-grid.c (preview_grid_draw_region): Ditto.
292         * src/item-grid.c (item_grid_draw_region): Ditto.
293         * src/parser.y (yylex): Ditto.
294         * src/criteria.c (parse_database_criteria): Ditto.
296         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
297         stack, allocation.
299         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
300         stack, allocation.
302 2017-11-29  Morten Welinder  <terra@gnome.org>
304         * src/sstest.c (enumerate_functions): Make sure function is loaded.
306         * src/func-builtin.c (help_table): Add help text for TABLE.
308         * src/func.c (gnm_func_enumerate): Introspection annotation.
310         * src/sstest.c (function_dump_defs): Move from func.c with all
311         support code.
312         (gnm_func_sanity_check): Ditto.
314         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
316         * src/main-application.c (pathetic_qt_workaround): Not needed
317         anymore.
319         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
320         looking strange when insensitive and also is a consistent size.
322 2017-11-18  Morten Welinder <terra@gnome.org>
324         * configure.ac: Post-release bump.
326 2017-11-18  Morten Welinder <terra@gnome.org>
328         * Release 1.12.36
330 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
332         * src/gnumeric.css: add grid:selected back-color.
333         * src/item-grid.c (item_grid_draw_region): fix background of multiple
334         selection. [#789411]
336 2017-10-23  Morten Welinder  <terra@gnome.org>
338         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
339         criticals.
341 2017-07-06  Morten Welinder <terra@gnome.org>
343         * configure.ac: Post-release bump.
345 2017-07-06  Morten Welinder <terra@gnome.org>
347         * Release 1.12.35
349 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
351         * src/sheet-object-widget.c
352         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
353         button
355 2017-05-18  Morten Welinder  <terra@gnome.org>
357         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
358         integer orders.
359         (jy_via_j_series): Rename from y_via_j_series and supply both J
360         and Y results.  Use the full J result accuracy.
361         (gnm_bessel_phi): Improve divergence check.
363 2017-05-16  Morten Welinder  <terra@gnome.org>
365         * src/sf-bessel.c (debye_33): Handle near-overflow better.
366         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
367         appropriate.
369         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
371         * src/value.c (value_new_from_string): Handle denormals betters.
373 2017-04-05  Morten Welinder  <terra@gnome.org>
375         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
376         Generalize to Pi/2^e and make public.
378 2017-03-28  Morten Welinder  <terra@gnome.org>
380         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
381         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
382         around the integer with odd count when we can.
384 2017-03-21  Morten Welinder  <terra@gnome.org>
386         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
387         deviation for each bin.
388         (test_random_randchisq, test_random_randtdist)
389         (test_random_randfdist): Don't allow df=0.
390         (test_random_randbeta): Don't floor the parameters thus avoiding
391         zero.
393 2017-03-20  Morten Welinder <terra@gnome.org>
395         * configure.ac: Post-release bump.
397 2017-03-20  Morten Welinder <terra@gnome.org>
399         * Release 1.12.34
401 2017-03-17  Morten Welinder  <terra@gnome.org>
403         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
404         bogus GnmColor here.  The fake object prevents GnmColor equality
405         from working which in turn prevents GnmBorder equality from
406         working.
408         * src/style-color.c (gnm_color_make): Rename from
409         gnm_color_new_uninterned and handle caching here.
410         (gnm_color_new_auto): New function.
412         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
413         (compare_corresponding_cells): Fall back to string comparison.
414         References like Sheet1!A1 should match even if they, obviously,
415         refer to sheets in different workbooks.
417         * src/style-conditions.c (gnm_style_conditions_equal): Add new
418         relax_sheet argument.
420         * src/validation.c (gnm_validation_equal): New function.
422         * src/mstyle.c (gnm_style_find_differences): New function.
424         * src/ssdiff.c (xml_style_changed): Use
425         gnm_style_find_differences.
427         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
428         gnm_style_find_differences, not gnm_style_equal.
430         * src/hlink.c (gnm_hlink_equal): New function.
432 2017-03-13  Morten Welinder  <terra@gnome.org>
434         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
435         inter-sheet local name references.
437 2017-03-10  Morten Welinder  <terra@gnome.org>
439         * src/hlink.c (gnm_hlink_get_name_target)
440         (gnm_hlink_get_range_target): New functions.
441         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
443 2017-03-07  Morten Welinder  <terra@gnome.org>
445         * src/parser.y (parser_simple_name): Extract from
446         parser_simple_val_or_name.  Extend to handle explicit sheet.
447         ("sheetref STRING"): Ise parser_simple_name.
449 2017-03-06  Morten Welinder  <terra@gnome.org>
451         * src/expr-name.c (expr_name_add): Plug leak.
453 2017-03-05  Morten Welinder  <terra@gnome.org>
455         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
456         (gnm_hlink_cur_wb_activate): Move string parsing from here...
457         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
458         value_new_cellrange_str will resolve a name.
460         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
461         sheet for hlinks too.
463         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
464         (gnm_hlink_set_sheet): New functions.
466 2017-01-30  Morten Welinder <terra@gnome.org>
468         * configure.ac: Post-release bump.
470 2017-01-30  Morten Welinder <terra@gnome.org>
472         * Release 1.12.33
474 2017-01-29  Morten Welinder  <terra@gnome.org>
476         * src/style-conditions.c (gnm_style_cond_equal): New function.
477         (gnm_style_conditions_equal): ...split out from here.
479 2017-01-25  Morten Welinder  <terra@gnome.org>
481         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
483 2017-01-22  Morten Welinder  <terra@gnome.org>
485         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
486         expression for text formatted cells.
487         (stf_parse_sheet): Don't try number parsing for text formatted
488         columns.  Fixes #777543.
490 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
492         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
493         format when generating the string. [#777338]
495 2017-01-19  Morten Welinder  <terra@gnome.org>
497         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
499         * src/style-conditions.c (gnm_style_conditions_equal): New
500         function.
502 2016-12-08  Morten Welinder  <terra@gnome.org>
504         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
505         callers changed.
506         (gnm_linear_solve_multiple): Ditto.
508 2016-10-02  Morten Welinder  <terra@gnome.org>
510         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
511         g_mem_set_vtable stuff actually works anymore.
513 2016-08-21  Morten Welinder  <terra@gnome.org>
515         * src/sstest.c (options): Add --fast option.
517         * src/value.c (value_get_as_gstring): Let a negative
518         decimal_digits mean "shortest round-tripping string".
520 2016-08-20  Morten Welinder <terra@gnome.org>
522         * configure.ac: Post-release bump.
524 2016-08-20  Morten Welinder <terra@gnome.org>
526         * Release 1.12.32
528 2016-08-08  Morten Welinder  <terra@gnome.org>
530         * src/criteria.c (criteria_inspect_values): Add flag for string
531         coercion.  Only the equality test wants that.
533         * src/value.c (criteria_inspect_values): Floats don't match
534         errors.
536 2016-08-04  Morten Welinder  <terra@gnome.org>
538         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
539         pointer.
541         * src/collect.c (string_range_function): Add user pointer.  Caller
542         changed.
544 2016-06-29  Morten Welinder <terra@gnome.org>
546         * configure.ac: Post-release bump.
548 2016-06-29  Morten Welinder <terra@gnome.org>
550         * Release 1.12.31
552 2016-06-29  Morten Welinder  <terra@gnome.org>
554         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
555         related to sheet-local names.  [#768164]
557 2016-06-28  Morten Welinder  <terra@gnome.org>
559         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
560         of different lenghts.
562 2016-06-21  Morten Welinder  <terra@gnome.org>
564         * src/value.c (criteria_test_greater_or_equal): Use case-folding
565         comparisons for strings.
566         (parse_criteria, parse_criteria_range): Add argument controlling
567         whether to anchor matching at end of string.
568         (parse_database_criteria): Don't anchor here.
570 2016-06-17  Morten Welinder <terra@gnome.org>
572         * configure.ac: Post-release bump.
574 2016-06-17  Morten Welinder <terra@gnome.org>
576         * Release 1.12.30
578 2016-06-17  Morten Welinder  <terra@gnome.org>
580         * src/value.c (parse_criteria): Anchor matches at the beginning,
581         but not at the end.
583 2016-06-11  Morten Welinder  <terra@gnome.org>
585         * src/value.c (find_rows_that_match): Fix blank handling.
586         (criteria_test_unequal): Wrong type means unequal.
587         (criteria_test_match): Only match strings.
588         (parse_criteria): Don't anchor matches.  This is the right thing
589         to do for DSUM and friends.  Hopefully this doesn't break anything
590         else.
591         (criteria_inspect_values): Strings are incompatible with
592         non-strings.
593         (criteria_test_less, criteria_test_less_or_equal)
594         (criteria_test_greater, criteria_test_greater_or_equal): handle
595         strings.
597 2016-05-19  Morten Welinder  <terra@gnome.org>
599         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
600         decimal counts for the hypothetical comma and point choices.
602 2016-05-10  Morten Welinder  <terra@gnome.org>
604         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
605         members.  Doc fix.
607 2016-05-06  Morten Welinder <terra@gnome.org>
609         * configure.ac: Post-release bump.
611 2016-05-06  Morten Welinder <terra@gnome.org>
613         * Release 1.12.29
615 2016-04-29  Morten Welinder  <terra@gnome.org>
617         * src/gui-util.c (gnm_style_context_get_color): Fix function
618         wrapping gtk_style_context_get_color which changed API.
620 2016-04-24  Morten Welinder  <terra@gnome.org>
622         * src/value-sheet.c (value_area_get_x_y): Use
623         gnm_rangeref_normalize.  Do full wrap-around.
625 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
627         * src/graph.c (gnm_go_data_matrix_load_values): fix array
628         reading. [#765483]
630 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
632         * configure.ac: protect against pxlib weirdness.
634 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
636         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
637         value is an error.
639 2016-03-22  Morten Welinder <terra@gnome.org>
641         * configure.ac: Post-release bump.
643 2016-03-22  Morten Welinder <terra@gnome.org>
645         * Release 1.12.28
647 2016-03-02  Morten Welinder  <terra@gnome.org>
649         * src/sf-bessel.c: Return complex numbers by value, not reference.
651 2016-02-23  Morten Welinder  <terra@gnome.org>
653         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
655 2016-02-18  Morten Welinder  <terra@gnome.org>
657         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
658         #762278.
660 2016-02-12  Morten Welinder  <terra@gnome.org>
662         * src/complex.h: Add a direct-value interface.
664         * src/ssconvert.c (run_solver): Also create solver reports as
665         indicated in options.
667         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
669 2016-02-10  Morten Welinder  <terra@gnome.org>
671         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
672         to 1px.  While that may be a sligh increase for certain
673         themes/gtk+ versions, it is a large decrease for others, notably
674         what comes with an out-of-the-box OpenSuSE leap.  Override in
675         ~/.config/gtk-3.0/gtk.css if need be.
677         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
678         wheel for horizontal motion instead of alt.  Window managers tend
679         to eat the latter.
681 2016-02-08  Morten Welinder  <terra@gnome.org>
683         * src/graph.c (gnm_go_data_vector_eval)
684         (gnm_go_data_vector_finalize): Plug leak.
686 2016-02-06  Morten Welinder <terra@gnome.org>
688         * configure.ac: Post-release bump.
690 2016-02-06  Morten Welinder <terra@gnome.org>
692         * Release 1.12.27
694 2016-02-06  Morten Welinder  <terra@gnome.org>
696         * configure.ac (goffice): Require latest for
697         go_complex_from_polar_pi.
699         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
700         when x<0 and a is real.
702 2016-02-04  Morten Welinder  <terra@gnome.org>
704         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
705         (gnm_complex_continued_fraction): Fail if we would otherwise try
706         to rescale by 0.  Fix termination condition.
707         (igamma_asymp): Fix term update.
708         (complex_igamma): Fix flavour fixup.
710 2016-02-02  Morten Welinder  <terra@gnome.org>
712         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
713         (gamma_error_factor): Extend to all positive numbers.
714         (pochhammer_small_n): Allow any x > 1.
715         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
717 2016-02-01  Morten Welinder  <terra@gnome.org>
719         * configure.ac (yacc, lex): Fail if the required program isn't
720         found.
722 2016-01-31  Morten Welinder  <terra@gnome.org>
724         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
725         complex continued fractions.
727 2016-01-30  Morten Welinder  <terra@gnome.org>
729         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
730         GtkStyleContext.  Another ABI changes causes that to crash.
732         * src/value.c (find_column_of_field): Insist that the database be
733         a cell range, not an array.
735 2016-01-29  Morten Welinder  <terra@gnome.org>
737         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
738         (bessel_ij_series): Rename from bessel_j_series and extend to
739         handle i also.
741         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
742         argument is less than one.
744         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
745         about broken sheet filter.
747         * src/sheet-filter.c (gnm_filter_condition_new_single)
748         (gnm_filter_condition_new_double): Plug leak on error.
749         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
751 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
753         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
754         value. [#761048]
756 2016-01-27  Morten Welinder  <terra@gnome.org>
758         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
759         implementation.
761         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
762         css styling.
764 2016-01-23  Morten Welinder  <terra@gnome.org>
766         * src/parser.y (yylex): Be careful about overflowing numeric
767         token.  Fixes #761023.
769 2016-01-20  Morten Welinder  <terra@gnome.org>
771         * src/complex.h: Namespace.  Mostly for macros.
773 2016-01-16  Morten Welinder  <terra@gnome.org>
775         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
776         unused time argument.  All callers changed.
777         (gnm_simple_canvas_grab): Remove unused arguments and return
778         value.  All callers changed.
780         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
781         without regrabbing the focus.  See #760639.
783 2016-01-13  Morten Welinder  <terra@gnome.org>
785         * src/sstest.c (test_random_randsnorm)
786         (test_random_randbernoulli): Print expected stats.
788         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
789         are sane.  Fixes #760544.
791 2016-01-08  Morten Welinder  <terra@gnome.org>
793         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
795 2016-01-06  Morten Welinder  <terra@gnome.org>
797         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
799 2016-01-04  Morten Welinder  <terra@gnome.org>
801         * src/sheet-style.c (sheet_style_apply_range)
802         (sheet_style_set_range): Silently ignore inverted ranges.
804 2016-01-03  Morten Welinder  <terra@gnome.org>
806         * src/sheet-style.c (sheet_style_apply_range)
807         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
809 2016-01-02  Morten Welinder  <terra@gnome.org>
811         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
813         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
814         zero record size.  Fixes #760087.
816         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
818 2016-01-01  Morten Welinder  <terra@gnome.org>
820         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
822         * src/expr-name.c (expr_name_add): Improve check for circular name
823         defintion.  Fixes #760046.
825 2015-12-28  Morten Welinder  <terra@gnome.org>
827         * src/ssconvert.c (convert): When separating sheets, move current
828         sheet to the front.  See bug #694408.
830         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
831         sheet, remove it at the end.
833 2015-12-28  Morten Welinder <terra@gnome.org>
835         * configure.ac: Post-release bump.
837 2015-12-28  Morten Welinder <terra@gnome.org>
839         * Release 1.12.26
841 2015-12-26  Morten Welinder  <terra@gnome.org>
843         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
844         change here (on the grid).
845         (scg_class_init): Not here.  We're not derived from GtkWidget.
847         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
848         (foreach_tile): New top-level function taking few parameters.  All
849         callers changed.
851 2015-12-25  Morten Welinder <terra@gnome.org>
853         * configure.ac: Post-release bump.
855 2015-12-25  Morten Welinder <terra@gnome.org>
857         * Release 1.12.25
859 2015-12-22  Morten Welinder  <terra@gnome.org>
861         * src/ssdiff.c (xml_style_changed): Do more for input message and
862         validation.
864 2015-12-20  Morten Welinder  <terra@gnome.org>
866         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
867         screen size.
868         (scg_resize): Limit frozen zones to screen size.  Not idea, but
869         better than crashing.
871 2015-12-19  Morten Welinder  <terra@gnome.org>
873         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
875 2015-12-13  Morten Welinder  <terra@gnome.org>
877         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
878         merges on column/row insert.  Fixes #504004.
880 2015-12-12  Morten Welinder  <terra@gnome.org>
882         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
883         when the merge partially falls off the far end.
885 2015-12-10  Morten Welinder  <terra@gnome.org>
887         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
888         ensure actions get accel paths.
890 2015-12-09  Morten Welinder  <terra@gnome.org>
892         * src/wbc-gtk.c (wbcg_find_action): New function to look in
893         multiple places for an action.
895         * src/gui-util.c (gnm_action_group_add_actions): Handle
896         translation context.  Also handle toggle actions.
898 2015-12-08  Morten Welinder  <terra@gnome.org>
900         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
901         syntax.
903         * src/gui-util.c (gnm_action_group_add_actions): New function,
904         currently quite dumb.
906         * configure.ac (CC): Insist on c99.
908 2015-12-05  Morten Welinder  <terra@gnome.org>
910         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
911         (drayleigh): Define in terms of dweibull.
913 2015-12-03  Morten Welinder  <terra@gnome.org>
915         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
916         support.  Fixes R.QHYPER(0.1,3,99,13)
918 2015-10-19  Morten Welinder  <terra@gnome.org>
920         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
921         in[2].  Fixes #752182.
923 2015-09-25  Morten Welinder  <terra@gnome.org>
925         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
926         avoid value copying.  Fixes #752181.
927         (gnumeric_table): Handle repeated cells.  Fixes #752178.
929 2015-09-20  Morten Welinder <terra@gnome.org>
931         * configure.ac: Post-release bump.
933 2015-09-20  Morten Welinder <terra@gnome.org>
935         * Release 1.12.24
937 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
939         * src/gui-file.c (gui_file_save_as): just change the extension not more
940         when the original filename has several dots. [ubuntu #1497344]
942 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
944         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
945         anchors. [#754792]
947 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
949         * src/sheet-object.c (sheet_object_update_bounds),
950         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
951         the objects bounds are always updated. Really fix printing.
952         * src/xml-sax-write.c (xml_write_objects): revert previous change.
954 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
956         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
957         printing, but still not perfect.
958         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
959         * src/xml-sax-write.c (xml_write_objects): ditto.
961 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
963         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
964         with one cell or absolute anchors. [#753961]
965         * src/sheet-object.c (sheet_object_draw_cairo):
967 2015-07-28  Morten Welinder <terra@gnome.org>
969         * configure.ac: Post-release bump.
971 2015-07-28  Morten Welinder <terra@gnome.org>
973         * Release 1.12.23
975 2015-07-14  Morten Welinder  <terra@gnome.org>
977         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
978         #752259.
980 2015-07-09  Morten Welinder  <terra@gnome.org>
982         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
983         operation.  Fixes #752124.
985 2015-07-06  Morten Welinder  <terra@gnome.org>
987         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
989 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
991         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
993 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
995         * src/value.c (value_compare_real): handle two empty values however
996         they appear
998 2015-07-03  Morten Welinder  <terra@gnome.org>
1000         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
1001         context.
1003 2015-06-30  Morten Welinder  <terra@gnome.org>
1005         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
1006         it all the way here.
1008 2015-06-29  Morten Welinder  <terra@gnome.org>
1010         * src/func.c (function_iterate_argument_values): Improve name
1011         handling.  Part of #751660.
1013 2015-06-28  Morten Welinder  <terra@gnome.org>
1015         * src/value-sheet.c (value_area_get_width, value_area_get_height):
1016         Use the same normalization as value_area_foreach.  Fixes #751390.
1018         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
1019         Fixes #751577.
1021 2015-06-26  Morten Welinder  <terra@gnome.org>
1023         * src/value.c (value_new_array_empty): Store value_new_empty(),
1024         not NULL, in the slots.  We can make this change because
1025         value_new_empty() is a singleton that does not need to be
1026         released.  Fixes #751502.
1028 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
1030         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
1032 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
1034         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
1035         (xml_sax_object_end): ensure we always use the right state. [#751217]
1037 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1039         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
1041 2015-06-20  Morten Welinder  <terra@gnome.org>
1043         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
1044         overflow.
1045         (go_data_cache_records_fetch_index): If resizing failed return
1046         NULL early.
1048 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1050         * src/parse-util.h (_GnmConventions): add union_char field
1051         * src/parser.y (yylex): handle union_char
1052         (setup_state): set union_char
1054 2015-06-18  Morten Welinder  <terra@gnome.org>
1056         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
1057         specifying types derived from sheet objects.  Fixes #751126.
1058         (xml_sax_hlink): Similarly.
1060 2015-06-16  Morten Welinder  <terra@gnome.org>
1062         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
1063         in names.  Fixes #751056.
1065 2015-05-27  Morten Welinder  <terra@gnome.org>
1067         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
1068         division by zero.  Fixes #749917.
1070         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
1072 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
1074         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
1075         comment #3]
1077 2015-05-11  Morten Welinder  <terra@gnome.org>
1079         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
1080         something bad that will happen whenever FALSE equals TRUE.
1082         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
1083         inline values.
1085         * src/cell.c (gnm_cell_set_array): Improve preconditions.
1087 2015-05-09  Morten Welinder  <terra@gnome.org>
1089         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
1091 2015-04-28  Morten Welinder  <terra@gnome.org>
1093         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
1094         malformed documents.  Fixes #748596.
1095         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
1096         #748595.
1098 2015-04-16  Morten Welinder <terra@gnome.org>
1100         * configure.ac: Post-release bump.
1102 2015-04-16  Morten Welinder <terra@gnome.org>
1104         * Release 1.12.22
1106 2015-04-15  Morten Welinder  <terra@gnome.org>
1108         * src/ranges.c (gnm_range_compare): New function.
1110 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
1112         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
1113         (see #700599, comment #11).
1115 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1117         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
1118         sheet object name, try the image name.
1120 2015-04-11  Morten Welinder  <terra@gnome.org>
1122         * src/sf-dpq.c (qcauchy): Handle cancellation.
1124         * src/mathfunc.c (pcauchy): Simplify.
1126         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
1127         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
1129 2015-04-09  Morten Welinder  <terra@gnome.org>
1131         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
1132         case.
1134 2015-04-04  Morten Welinder  <terra@gnome.org>
1136         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
1137         Fixes #747356.
1139         * src/xml-sax-write.c (xml_write_objects): Save only relevant
1140         parts of the cell bound.
1142         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
1143         Initialize parts of cell_bound not used.
1145 2015-04-01  Morten Welinder  <terra@gnome.org>
1147         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
1148         GNM_XML_2ND here too.
1149         (gnm_sogg_sax_parser_done): Plug leak.
1151 2015-03-30  Morten Welinder  <terra@gnome.org>
1153         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
1154         function.
1156         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
1157         mode.
1159         * src/sstest.c (test_random_randhyperg): Take var=0 case into
1160         account when checking mean.
1162         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
1163         graph here.
1165 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
1167         * src/graph.h: add support for absolute anchoring of sheet objects.
1168         * src/item-grid.c: ditto.
1169         * src/sheet-control-gui.c: ditto.
1170         * src/sheet-filter.c: ditto.
1171         * src/sheet-object-cell-comment.c: ditto.
1172         * src/sheet-object-component.c: ditto.
1173         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
1174         cells by default. [#684450]
1175         * src/sheet-object-image.c: make images don't resize with cells by default.
1176         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
1177         * src/sheet-object.h: ditto.
1178         * src/workbook-view.c: ditto.
1179         * src/xml-sax-read.c: ditto.
1180         * src/xml-sax-write.c: ditto.
1182 2015-03-30  Morten Welinder  <terra@gnome.org>
1184         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1186 2015-03-23  Morten Welinder  <terra@gnome.org>
1188         * src/sstest.c (rand_fractile_test): Plug leak.
1190 2015-03-21  Morten Welinder  <terra@gnome.org>
1192         * src/sstest.c (rand_fractile_test): Add support for
1193         non-continuous distributions.
1195         * src/mathfunc.c (qgeom): Update to current version in R.
1197         * src/gnm-random.c (random_geometric): Don't add one.
1198         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1200 2015-03-20  Morten Welinder  <terra@gnome.org>
1202         * src/sstest.c (test_random_randbinom): New test.
1203         (test_random_randbetween): New test.
1204         (test_random_randexp): New test.
1205         (test_random_randpoisson): New test.
1206         (test_random_randgeom): New test.
1207         (test_random_randnegbinom): New test.
1208         (test_random_randlog): New test.
1209         (test_random_randdiscrete): New test.
1210         (test_random_randgamma): New test.
1211         (test_random_randtdist): New test.
1212         (test_random_randuniform): New test.
1213         (test_random_randfdist): New test.
1214         (test_random_randcauchy): New test.
1215         (test_random_randbeta): New test.
1216         (test_random_randchisq): New test.
1217         (test_random_randhyperg): New test.
1219         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1221 2015-03-19  Morten Welinder  <terra@gnome.org>
1223         * src/func.c (dump_samples): New function to dump all sample in
1224         help documentation to csv format.
1226         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1227         non-positive integer, but neither a nor b is.
1229 2015-03-07  Morten Welinder  <terra@gnome.org>
1231         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1233         * src/sheet-object-widget.c
1234         (sheet_widget_adjustment_write_xml_sax): Use new
1235         go_xml_out_add_double.
1237         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1238         go_xml_out_add_double.
1240 2015-03-05  Morten Welinder  <terra@gnome.org>
1242         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1243         copy_data argument and simply assume it.
1245 2015-03-04  Morten Welinder <terra@gnome.org>
1247         * configure.ac: Post-release bump.
1249 2015-03-04  Morten Welinder <terra@gnome.org>
1251         * Release 1.12.21
1253 2015-03-03  Morten Welinder  <terra@gnome.org>
1255         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1256         version we write and document why we can't easily increase that
1257         version.
1259 2015-03-02  Morten Welinder  <terra@gnome.org>
1261         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1263         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1264         (xml_sax_version): Bring version list up to date.
1266 2015-03-01  Morten Welinder  <terra@gnome.org>
1268         * src/sheet-object-widget.c
1269         (sheet_widget_list_base_set_selection_value): Plug leak.
1271 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1273         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1274         pixbuf stores the image type.
1276 2015-02-28  Morten Welinder  <terra@gnome.org>
1278         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1279         image, not the bytes in addition.
1280         (gnm_soi_class_init): Use property "image" of type GOImage instead
1281         of "image-data" weirdness.
1282         (gnm_soi_draw_cairo): Remove non-functional fallback.
1283         (gnm_soi_default_size): Ditto.
1285 2015-02-27  Morten Welinder  <terra@gnome.org>
1287         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1288         type for image data.  Create image data if needed.
1289         (SheetObjectImage): Use a properly allocated GByteArray.
1291         * src/sheet-object-widget.c
1292         (sheet_widget_adjustment_user_config_impl): Widgets must have
1293         changed names at some point.  Adjust for that.
1295 2015-02-25  Morten Welinder  <terra@gnome.org>
1297         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1298         Also evaluate here.
1299         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1300         contents.
1302 2015-02-23  Morten Welinder  <terra@gnome.org>
1304         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1305         New function.
1307 2015-02-21  Morten Welinder  <terra@gnome.org>
1309         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1310         gboolean, not a double.
1312         * src/sheet-object-widget.c
1313         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1314         fixed, precision.
1315         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1316         new-fangled orientation for scrollbars.
1318 2015-02-20  Morten Welinder  <terra@gnome.org>
1320         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1321         (cb_button_released): Set value to FALSE here(!)
1323 2015-02-18  Morten Welinder  <terra@gnome.org>
1325         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1326         error just because a cell with text format fails to produce an
1327         expression.  That's expected for text format.
1329 2015-02-17  Morten Welinder  <terra@gnome.org>
1331         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1333 2015-02-11  Morten Welinder  <terra@gnome.org>
1335         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1336         writing duplicate style so version 1.2 and earlier can read it.
1338 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1340         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1341         that can't be convered to valid numbers.
1343 2015-02-10  Morten Welinder  <terra@gnome.org>
1345         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1347 2015-02-06  Morten Welinder  <terra@gnome.org>
1349         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1350         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1351         (sheet_widget_radio_button_set_link)
1352         (sheet_widget_list_base_set_links)
1353         (sheet_widget_adjustment_set_details): Only link if we have a
1354         sheet.
1356 2015-02-04  Morten Welinder <terra@gnome.org>
1358         * configure.ac: Post-release bump.
1360 2015-02-04  Morten Welinder <terra@gnome.org>
1362         * Release 1.12.20
1364 2015-01-30  Morten Welinder  <terra@gnome.org>
1366         * src/sheet-object-widget.c
1367         (sheet_widget_adjustment_set_horizontal): Make this public.
1369 2015-01-23  Morten Welinder <terra@gnome.org>
1371         * configure.ac: Post-release bump.
1373 2015-01-23  Morten Welinder <terra@gnome.org>
1375         * Release 1.12.19
1377 2015-01-20  Morten Welinder  <terra@gnome.org>
1379         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1380         See bug #743130.
1382 2015-01-19  Morten Welinder  <terra@gnome.org>
1384         * src/gutils.c (gnm_icon_dir): Remove.
1386         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1387         resources.
1389         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1390         from glib resources.
1392         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1393         Delete.
1395         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1396         otherwise dump them in temporary files in order to load them.
1398         * src/workbook.c (workbook_update_graphs): New function.
1400         * src/workbook-view.c (workbook_view_new_from_input): Update
1401         graphs.
1403 2015-01-14  Morten Welinder  <terra@gnome.org>
1405         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1406         an expresssion, make it a string instead of dropping it on the
1407         floor.
1409 2015-01-13  Morten Welinder  <terra@gnome.org>
1411         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1412         missing shared expression, define a dummy version so we don't get
1413         repeated errors.
1415 2015-01-09  Morten Welinder  <terra@gnome.org>
1417         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1418         sort them later than other values.  This fixes #742601.
1420 2015-01-01  Morten Welinder  <terra@gnome.org>
1422         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1423         names, not stock ids.
1425         * src/gnm-pane.c (update_control_point_colors): Avoid
1426         gtk_style_context_get_background_color.
1427         * src/item-cursor.c (ic_reload_style): Ditto.
1429 2014-12-30  Morten Welinder  <terra@gnome.org>
1431         * src/rendered-value.c (gnm_rendered_value_new):
1432         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1434 2014-12-27  Morten Welinder  <terra@gnome.org>
1436         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1437         unless we really have to.
1439 2014-12-25  Morten Welinder  <terra@gnome.org>
1441         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1442         multihead issue.
1444         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1446         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1448         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1449         icon on sheet direction changes.
1451         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1453 2014-12-24  Morten Welinder  <terra@gnome.org>
1455         * src/wbc-gtk.c (wbcg_show_save_dialog)
1456         (wbcg_close_if_user_permits): Constant propagation.
1458         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1459         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1461 2014-12-22  Morten Welinder  <terra@gnome.org>
1463         * icons/fake-index-theme: we need actions directories too.
1465 2014-12-21  Morten Welinder  <terra@gnome.org>
1467         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1468         handling.
1470 2014-12-20  Morten Welinder  <terra@gnome.org>
1472         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1473         count in delete, such as used from sheet resize.
1475 2014-12-19  Morten Welinder  <terra@gnome.org>
1477         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1478         (before g_setenv is available).
1480 2014-12-16  Morten Welinder  <terra@gnome.org>
1482         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1483         number.
1485         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1486         the delete case.
1488 2014-12-15  Morten Welinder  <terra@gnome.org>
1490         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1491         sheet_style_insert_colrow and handled deletion too.
1493         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1494         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1495         and clean up.
1497         * src/dependent.c (dependent_has_pos, dependent_move): New
1498         functions.
1500 2014-12-14  Morten Welinder  <terra@gnome.org>
1502         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1503         free.
1505 2014-12-11  Morten Welinder  <terra@gnome.org>
1507         * src/dependent.c (style_dep_debug_name): Include position too.
1509         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1510         sheet_row_add.
1511         (colrow_move): Change parameterization slightly.
1513 2014-12-06  Morten Welinder  <terra@gnome.org>
1515         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1516         want them visually gone and g_object_unref does not guarantee
1517         that.
1519         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1520         dependents.  A later step clears and re-applies style completely
1521         for the moved area.  Fixes #741197.
1523         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1524         function.
1526         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1527         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1529         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1530         leak.
1531         (gnm_cmd_context_error_splits_merge): Plug leak.
1533 2014-11-15  Morten Welinder  <terra@gnome.org>
1535         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1536         the wbc is already gone.
1538 2014-11-09  Morten Welinder  <terra@gnome.org>
1540         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1541         data.  Might fix Redhat #1160975.
1543 2014-10-28  Morten Welinder  <terra@gnome.org>
1545         * src/style.c (find_font): Accept NULL font name.
1547 2014-10-27  Morten Welinder  <terra@gnome.org>
1549         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1550         code.
1552 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1554         * src/item-cursor.c (cb_item_cursor_animation): use
1555         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1556         outside of a draw event.
1558 2014-10-26  Morten Welinder  <terra@gnome.org>
1560         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1561         Use throughout.
1562         (GnmValue): Drop type union member.  C99 requires that this be
1563         accessed in a structure.  We have v_any for that.
1565 2014-10-25  Morten Welinder  <terra@gnome.org>
1567         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1568         ought to survive both gcc's aliasing analysis and valgrind's
1569         bitfield problems.
1571 2014-10-24  Morten Welinder  <terra@gnome.org>
1573         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1575 2014-10-21  Morten Welinder  <terra@gnome.org>
1577         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1579 2014-09-25  Morten Welinder <terra@gnome.org>
1581         * configure.ac: Post-release bump.
1583 2014-09-25  Morten Welinder <terra@gnome.org>
1585         * Release 1.12.18
1587 2014-09-25  Morten Welinder  <terra@gnome.org>
1589         * src/sheet-filter.c (gnm_filter_condition_new_single)
1590         (gnm_filter_condition_new_double): Fix preconditions.  See
1591         #735249.
1593 2014-09-23  Morten Welinder  <terra@gnome.org>
1595         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1596         doesn't spew deprecation warnings by default.
1598 2014-09-11  Morten Welinder  <terra@gnome.org>
1600         * src/style.c (gnm_translate_underline_from_pango): Survive
1601         PANGO_UNDERLINE_ERROR.
1603 2014-06-09  Morten Welinder <terra@gnome.org>
1605         * configure.ac: Post-release bump.
1607 2014-06-09  Morten Welinder <terra@gnome.org>
1609         * Release 1.12.17
1611 2014-05-28  Morten Welinder  <terra@gnome.org>
1613         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1614         when we drag the handle into the col/row canvas.
1616         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1618         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1619         handler.  Fixes #730884.
1621 2014-05-27  Morten Welinder  <terra@gnome.org>
1623         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1624         col/row canvas.  Fixes #730857.
1625         (gnm_pane_dispose): Release references.
1627 2014-05-23  Morten Welinder <terra@gnome.org>
1629         * configure.ac: Post-release bump.
1631 2014-05-23  Morten Welinder <terra@gnome.org>
1633         * Release 1.12.16
1635 2014-05-23  Morten Welinder  <terra@gnome.org>
1637         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1638         need better building blocks for commands; this is one such.
1640 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1642         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1643         (cmd_hyperlink_redo): ditto
1644         (cmd_hyperlink_finalize): ditto
1645         (cb_cmd_hyperlink_find_cells): ditto
1647 2014-05-20  Morten Welinder  <terra@gnome.org>
1649         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1651         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1652         outline and fill colours that are auto, even for the 1.0 format.
1654         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1655         conditional format ranges.
1657 2014-05-14  Morten Welinder  <terra@gnome.org>
1659         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1661         * src/gutils.c (gnm_object_has_readable_prop): New function.
1663         * configure.ac (scrollkeeper): Test if we have it.
1665 2014-05-05  Morten Welinder  <terra@gnome.org>
1667         * src/wbc-gtk.c (toolbar_context_menu): Remove
1668         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1669         false for years and is unsupported in gtk+.
1671 2014-04-30  Morten Welinder <terra@gnome.org>
1673         * configure.ac: Post-release bump.
1675 2014-04-30  Morten Welinder <terra@gnome.org>
1677         * Release 1.12.15
1679 2014-04-23  Morten Welinder  <terra@gnome.org>
1681         * src/complete.c (complete_idle): Avoid abort().
1683         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1684         source.
1686 2014-04-22  Morten Welinder  <terra@gnome.org>
1688         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1689         replaced with calls to gnm_color_new_go.
1691         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1693         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1695 2014-04-21  Morten Welinder  <terra@gnome.org>
1697         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1698         only in the hop of fixing #728465.
1700 2014-04-13  Morten Welinder <terra@gnome.org>
1702         * configure.ac: Post-release bump.
1704 2014-04-13  Morten Welinder <terra@gnome.org>
1706         * Release 1.12.14
1708 2014-04-11  Morten Welinder  <terra@gnome.org>
1710         * src/item-bar.c: Get colours when we draw; only get sizing
1711         relevant information at odd times, in particular when parent
1712         widgets may be insensitive, such as during a load-onto-pristine.
1713         Fixes #728007.
1715 2014-04-10  Morten Welinder  <terra@gnome.org>
1717         * src/item-bar.c (ib_reload_style): Add debug code.
1719 2014-04-09  Morten Welinder  <terra@gnome.org>
1721         * src/number-match.c (format_match_datetime): Plug leak on certain
1722         failure cases.
1724 2014-04-02  Morten Welinder  <terra@gnome.org>
1726         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1727         integer test.
1729 2014-03-30  Morten Welinder  <terra@gnome.org>
1731         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1732         list of extra uis.
1734 2014-03-28  Morten Welinder  <terra@gnome.org>
1736         * src/main-application.c (main): Move Ubuntu hack earlier.
1738 2014-03-27  Morten Welinder  <terra@gnome.org>
1740         * src/main-application.c (main): Attempt to banish ubuntu's
1741         overlay scrollbar which don't work.
1743 2014-03-21  Morten Welinder  <terra@gnome.org>
1745         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1746         case insensitve and allow wildcards.
1748         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1749         from fn-string.
1751         * src/style-conditions.c (generate_end_match): Use case
1752         insensitive comparison.  Pull negation into the operator.
1753         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1754         insensitive.
1756 2014-03-18  Morten Welinder  <terra@gnome.org>
1758         * src/gui-util.c (kill_popup_menu): One more try at really killing
1759         the context menu after we're done with it.
1761         * src/item-grid.c (item_grid_realize): Plug leak.
1763 2014-03-18  Morten Welinder <terra@gnome.org>
1765         * configure.ac: Post-release bump.
1767 2014-03-18  Morten Welinder <terra@gnome.org>
1769         * Release 1.12.13
1771 2014-03-18  Morten Welinder  <terra@gnome.org>
1773         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1774         providers from screens on exit.
1776         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1778 2014-03-17  Morten Welinder  <terra@gnome.org>
1780         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1782 2014-03-16  Morten Welinder  <terra@gnome.org>
1784         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1785         formats.  I'm not positive we do things right, but this avoids
1786         criticals, at least.
1788         * src/cell.c (cell_set_expr_internal): Don't change an existing
1789         value.
1791 2014-03-15  Morten Welinder  <terra@gnome.org>
1793         * src/style-border.c (gnm_border_shutdown): New function to help
1794         debug leaks.  Shutdown border_none here.
1796         * src/style-color.c (gnm_color_shutdown): Not here.
1798 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1800         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1801         the tooltip where it will not immediatly be destroyed after creation.
1802         [really fix #706659]
1804 2014-03-14  Morten Welinder  <terra@gnome.org>
1806         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1807         if we don't have any.
1809 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1811         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1813 2014-03-13  Morten Welinder  <terra@gnome.org>
1815         * src/style-conditions.c (gnm_style_cond_eval): New function
1816         extracted from gnm_style_conditions_eval.  Make "equal" case
1817         insensitive.  Fixes #726246.
1819         * src/ssconvert.c (convert): Show resize message only if verbose.
1821 2014-03-12  Morten Welinder  <terra@gnome.org>
1823         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1824         function.
1825         (gnm_style_cond_canonicalize): New function.
1827         * src/ssconvert.c (convert): only print "Using exporter ..." if
1828         --verbose is given, and print it to stderr.
1830 2014-03-11  Morten Welinder  <terra@gnome.org>
1832         * src/sheet.c (cb_set_markup): Don't mess directly with
1833         cell->value.  We need to trigger a re-render.  Fixes #726086.
1835         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1836         for the pre-validation assignment.
1838         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1839         before assigning it to the cell.
1841 2014-03-10  Morten Welinder  <terra@gnome.org>
1843         * gnumeric.xsd: Update valign/halign attributes.  Update print
1844         setup.
1846         * src/sheet-filter.c (gnm_filter_condition_new_single)
1847         (gnm_filter_condition_new_double): Add preconditions.
1849 2014-03-07  Morten Welinder  <terra@gnome.org>
1851         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1853 2014-03-05  Morten Welinder  <terra@gnome.org>
1855         * src/expr.c (gnm_expr_top_is_volatile): New function.
1857         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1858         volatile expressions.
1860         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1861         (dependent_is_volatile): New function.
1863         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1864         Don't set the initial range here.
1866         * src/expr.c (gnm_expr_top_first_funcall)
1867         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1868         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1869         gnm_expr_walk.
1870         (gnm_expr_top_get_boundingbox): Set initial range here.
1872         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1873         Ditto.
1875 2014-03-03  Morten Welinder <terra@gnome.org>
1877         * configure.ac: Post-release bump.
1879 2014-03-03  Morten Welinder <terra@gnome.org>
1881         * Release 1.12.12
1883 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1885         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1887 2014-03-02  Morten Welinder  <terra@gnome.org>
1889         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1890         name-collections.
1891         (wbcg_sheet_order_changed): Mark ui as being updated.
1892         (cb_bnotebook_page_reordered): Ignore during UI update.
1894         * src/expr-name.c (gnm_named_expr_collection_dump)
1895         (gnm_named_expr_collection_sanity_check): New function.
1897         * src/application.c (gnm_app_sanity_check): New function.
1899         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1900         string inside the GOString as a hash key.  It can change.
1901         (gnm_named_expr_collection_foreach): As a consequence of the
1902         above, the first argument to the handler for
1903         gnm_named_expr_collection_foreach changes to something
1904         unspecified.  All callers changed.
1906         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1907         sheet.
1909         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1910         when encountering strangeness.
1912 2014-02-28  Morten Welinder  <terra@gnome.org>
1914         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1915         If row/column canvas is not visible, ignore them.
1916         (scg_gtk_paned_set_position): Don't allow negative position.
1917         Fixes #725375.
1919         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1920         changes.
1922 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1924         * src/item-grid.c (item_grid_draw_region): fix background filling for
1925         rtl sheets. [#725276]
1927 2014-02-25  Morten Welinder  <terra@gnome.org>
1929         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1930         (gnumeric_create_popup_menu): Drop return value from handler.
1932         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1933         are cell comments by position.
1935 2014-02-24  Morten Welinder  <terra@gnome.org>
1937         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1939         * src/colrow.c (colrow_equal): Don't use floating-point equality
1940         here.  Allow a difference of 1e-5 pt for size.
1942 2014-02-23  Morten Welinder  <terra@gnome.org>
1944         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1945         fill in the new areas with most common styles for the rows to the
1946         left of the new columns or the columns above the new area.
1948 2014-02-19  Morten Welinder  <terra@gnome.org>
1950         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1951         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1953         * src/mathfunc.c (gnm_log2): New function.
1955 2014-02-18  Morten Welinder  <terra@gnome.org>
1957         * src/ssdiff.c (xml_style_changed): Report differences for
1958         auto-color settings.
1960 2014-02-17  Morten Welinder  <terra@gnome.org>
1962         * src/ssconvert.c (convert): Add --resize option.
1964 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1966         * src/item-grid.c (item_grid_realize): fix persistence of
1967         hyperlink tips. [see #724108]
1969 2014-02-16  Morten Welinder <terra@gnome.org>
1971         * configure.ac: Post-release bump.
1973 2014-02-16  Morten Welinder <terra@gnome.org>
1975         * Release 1.12.11
1977 2014-02-16  Morten Welinder  <terra@gnome.org>
1979         * src/func.c (function_dump_defs): Update boilerplate.
1981 2014-02-11  Morten Welinder <terra@gnome.org>
1983         * configure.ac: Post-release bump.
1985 2014-02-11  Morten Welinder <terra@gnome.org>
1987         * Release 1.12.10
1989 2014-02-07  Morten Welinder  <terra@gnome.org>
1991         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1992         entry on top of merged cells.  Fixes #723600.
1994 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1996         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1997         a better fix to previous issue.
1999 2014-01-30  Morten Welinder  <terra@gnome.org>
2001         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
2002         toolbar icons.
2004         * src/item-cursor.c (item_cursor_draw): Make the ant animation
2005         smoother (when not using the fallback).  Avoid using hard light
2006         for ant-ing -- that doesn't work for the same reason as alpha not
2007         working.  Always use phase=0 for non-ant stipples.
2008         (GnmItemCursor): Use the canvas item's visibility flag instead of
2009         rolling our own.
2011 2014-01-29  Morten Welinder  <terra@gnome.org>
2013         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
2015         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
2016         check for bad clipping somewhere in gtk+ or theme land.
2018 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
2020         * src/sheet-object-component.c (gnm_soc_user_config): release the new
2021         component reference to the workbook.
2023 2014-01-27  Morten Welinder  <terra@gnome.org>
2025         * src/func.c (function_dump_defs): Undo wiki change.
2027 2014-01-21  Morten Welinder  <terra@gnome.org>
2029         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
2030         the amount of work we do for ant-ing.  Fixes #381011, patch from
2031         Jean.
2032         (ic_reload_style): Ignore alpha component of ant colours.
2034 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
2036         * src/graph.c (gnm_go_data_vector_load_len),
2037         (gnm_go_data_vector_load_values): accept 3D values for vector data.
2038         [#722294]
2040 2014-01-16  Morten Welinder  <terra@gnome.org>
2042         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
2043         cb_darken_foreground_attributes and change to take non-white
2044         background into account.
2046 2014-01-12  Morten Welinder  <terra@gnome.org>
2048         * src/mathfunc.c (expmx2h): Split out from dnorm.
2049         (dhyper): Round the chosen "p" to float to improve accuracy of
2050         "q".
2052 2014-01-11  Morten Welinder  <terra@gnome.org>
2054         * src/mathfunc.c (pow1p): Improve accuracy.
2055         (R_D_nonint): Fix rounding problem.
2056         (ebd0): New extended version of bd0.
2057         (dpois_raw, dbinom_raw): Use ebd0.
2058         (dbinom_raw): Handle x==n and x==0 much better.
2060 2014-01-08  Morten Welinder  <terra@gnome.org>
2062         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
2063         g_mkdtemp_full.
2065         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
2067         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
2068         return the WorkbookView instead of a boolean.
2070 2014-01-01  Morten Welinder  <terra@gnome.org>
2072         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
2074 2013-12-31  Morten Welinder  <terra@gnome.org>
2076         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
2077         mathfunc.c
2079 2013-12-30  Morten Welinder  <terra@gnome.org>
2081         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
2082         (bd0): Reimplement.
2083         (dpois_raw): Avoid going through logs, if possible.
2085 2013-12-25  Morten Welinder  <terra@gnome.org>
2087         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
2088         we return FALSE so we don't try to remove the source later.
2090 2013-12-22  Morten Welinder  <terra@gnome.org>
2092         * src/gui-util.c (gnm_widget_measure_string): New function
2093         allowing the elimination of all gtk_style_context_get_font calls.
2095 2013-12-19  Morten Welinder  <terra@gnome.org>
2097         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
2098         especially when |x|<<1.  Ditto for x<-1.
2100 2013-12-17  Morten Welinder  <terra@gnome.org>
2102         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
2103         multiplication.
2105 2013-12-14  Morten Welinder  <terra@gnome.org>
2107         * src/sf-gamma.c (complex_igamma): New function.
2109 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
2111         * */*.c: Fix some leaks and null dereferences pointed out by
2112         cppcheck.
2114 2013-12-12  Morten Welinder  <terra@gnome.org>
2116         * src/parser.y (array_row): Avoid overrunning string when multiple
2117         missing closing parentheses are detected.  Fixes #720353.
2119 2013-12-11  Morten Welinder  <terra@gnome.org>
2121         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
2122         gdk_event_get_screen, not from ->screen.  This might fix #720182.
2124         * src/*.c: Use accessor function for GdkEvent when convenient.
2126 2013-12-07  Morten Welinder  <terra@gnome.org>
2128         * src/application.c (gnm_app_init): Don't allocate a
2129         GtkRecentManager if we are not in gui mode.
2131         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
2132         behaviour.
2133         * src/dependent.c (deprange_hash): Ditto.
2135 2013-12-04  Morten Welinder  <terra@gnome.org>
2137         * src/sf-gamma.c (gamma_error_factor): Add extra term.
2139 2013-12-07  Morten Welinder  <terra@gnome.org>
2141         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
2142         of the argument for [-1.5;-0.5].
2144         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
2145         Re z < 1/2.  Avoid some overflow.
2147 2013-12-02  Morten Welinder  <terra@gnome.org>
2149         * src/sf-bessel.c (bessel_y): Use the J series when possible.
2151 2013-12-07  Morten Welinder  <terra@gnome.org>
2153         * src/sf-bessel.c (bessel_j): Use the taylor series in the
2154         parameter range where that makes sense.
2156         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
2157         (gnm_beta): Ditto.
2159 2013-11-30  Morten Welinder  <terra@gnome.org>
2161         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
2162         negative values.
2164 2013-11-28  Morten Welinder <terra@gnome.org>
2166         * configure.ac: Post-release bump.
2168 2013-11-28  Morten Welinder <terra@gnome.org>
2170         * Release 1.12.9
2172 2013-11-25  Morten Welinder  <terra@gnome.org>
2174         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
2175         mathfunc.c
2177 2013-11-19  Morten Welinder  <terra@gnome.org>
2179         * src/print.c (print_page): Fix check for missing object.  Fixes
2180         #712662.
2182 2013-11-18  Morten Welinder  <terra@gnome.org>
2184         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2186 2013-11-15  Morten Welinder  <terra@gnome.org>
2188         * src/mathfunc.c (reduce_pi_half): New function.
2190 2013-11-14  Morten Welinder  <terra@gnome.org>
2192         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2193         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2195 2013-11-13  Morten Welinder  <terra@gnome.org>
2197         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2199 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2201         * src/sheet-object.c (sheet_object_view_button2_pressed),
2202         (sheet_object_view_class_init): implement double click for graph sheets.
2203         [#712216]
2205 2013-11-12  Morten Welinder  <terra@gnome.org>
2207         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2208         emission.
2209         (cb_bnotebook_page_reordered): New function.
2210         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2212         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2214 2013-11-06  Morten Welinder  <terra@gnome.org>
2216         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2218 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2220         * src/workbook-view.c: add more introspection related comments.
2221         * src/workbook.c: ditto.
2223 2013-11-03  Morten Welinder  <terra@gnome.org>
2225         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2226         sin/cos before scaling by pi.
2228 2013-11-01  Morten Welinder  <terra@gnome.org>
2230         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2231         (gnm_gamma): Protect against unnecessary overflow at top of range.
2233 2013-10-31  Morten Welinder  <terra@gnome.org>
2235         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2236         avoids accuracy problems since any cdf is completely flat in terms
2237         of floating point values when going sufficiently far into the
2238         tail.
2239         (qtukey): Ditto.
2240         (qbeta): Ditto.
2241         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2242         (permut): Route this into pochhammer.
2243         (qfact): New function.  Tabulate 0! through 50000! using quad
2244         precision arithmetic.
2245         (combin, fact, pochhammer): Improve accuracy using qfact.
2247 2013-10-22  Morten Welinder  <terra@gnome.org>
2249         * src/func.c (function_call_with_exprs): Move flags argument into
2250         structure.
2252 2013-10-19  Morten Welinder  <terra@gnome.org>
2254         * src/hlink.c (_gnm_hlink_init): New function.
2255         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2257 2013-10-07  Morten Welinder <terra@gnome.org>
2259         * configure.ac: Post-release bump.
2261 2013-10-07  Morten Welinder <terra@gnome.org>
2263         * Release 1.12.8
2265 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2267         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2269 2013-10-03  Morten Welinder  <terra@gnome.org>
2271         * src/item-cursor.c (item_cursor_draw): Drop expose area
2272         optimization that may not be correct with current gtk.  See bug
2273         #709320.
2275 2013-09-29  Morten Welinder  <terra@gnome.org>
2277         * src/main-application.c: Include <io.h> for win32.
2279         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2281 2013-09-25  Morten Welinder  <terra@gnome.org>
2283         * src/gnumeric.css: Use lighter green for function marker.
2285 2013-09-01  Morten Welinder <terra@gnome.org>
2287         * configure.ac: Post-release bump.
2289 2013-09-01  Morten Welinder <terra@gnome.org>
2291         * Release 1.12.7
2293 2013-08-29  Morten Welinder  <terra@gnome.org>
2295         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2296         Fixes #707047.
2298 2013-08-28  Morten Welinder  <terra@gnome.org>
2300         * src/mathfunc.c (gnm_gamma): Improve precision for large
2301         arguments.
2302         (gnm_yn): Not needed anymore.
2303         (bessel_i): Don't mark error strings for translation.
2305 2013-08-27  Morten Welinder <terra@gnome.org>
2307         * configure.ac: Post-release bump.
2309 2013-08-27  Morten Welinder <terra@gnome.org>
2311         * Release 1.12.6
2313 2013-08-26  Morten Welinder  <terra@gnome.org>
2315         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2316         (internal_style_list): Add fast pre-optimization to bring down the
2317         number of entries before we start messing with hashes.  Fixes
2318         #699045.
2320 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2322         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2323         GraphDimEditor::changed. See bug 706591 comment #2.
2325 2013-08-19  Morten Welinder <terra@gnome.org>
2327         * configure.ac: Post-release bump.
2329 2013-08-19  Morten Welinder <terra@gnome.org>
2331         * Release 1.12.5
2333 2013-08-15  Morten Welinder  <terra@gnome.org>
2335         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2336         Fixes #706095.
2338         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2339         parameters.  See bug 705913, comment 6.
2341 2013-08-13  Morten Welinder  <terra@gnome.org>
2343         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2345 2013-08-12  Morten Welinder  <terra@gnome.org>
2347         * src/sheet-object-widget.c (sow_create_widget): New function.
2348         Add sheet-object class to widgets.
2350 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2352         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2353         initial colour
2354         (sheet_widget_button_draw_cairo): also scale line thickness
2355         (sheet_widget_checkbox_draw_cairo): scale button size
2356         (sheet_widget_radio_button_draw_cairo): scale button size
2358 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2360         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2361         argument and change all callers
2363 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2365         * src/sheet-object-widget.c (get_font): add fall-backs
2367 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2369         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2370         draw_cairo_text.
2371         (draw_cairo_text): add h-vcenter argument and change all callers
2373 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2375         * src/sheet-object-widget.c (cb_range_destroyed),
2376         (sheet_widget_scrollbar_create_widget),
2377         (sheet_widget_spinbutton_create_widget),
2378         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2379         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2381 2013-08-09  Morten Welinder  <terra@gnome.org>
2383         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2384         get_font.
2385         (get_font): New function extracted from draw_cairo_text.
2387 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2389         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2390         if possible
2392 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2394         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2395         allow multi-paragraph with a highlighted line. Change all callers
2396         (sheet_widget_list_draw_cairo): use draw_cairo_text
2398 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2400         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2401         cairo version for Gnuemric too.
2402         (sheet_widget_button_draw_cairo): ditto
2403         (sheet_widget_scrollbar_draw_cairo): ditto
2404         (sheet_widget_spinbutton_draw_cairo): ditto
2405         (sheet_widget_slider_draw_cairo): ditto
2406         (sheet_widget_checkbox_draw_cairo): ditto
2407         (sheet_widget_radio_button_draw_cairo): ditto
2408         (sheet_widget_list_draw_cairo): ditto
2409         (sheet_widget_combo_draw_cairo): ditto
2411 2013-08-08  Morten Welinder  <terra@gnome.org>
2413         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2414         Reduce crazy relative offsets.
2416 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2418         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2419         change all callers
2420         (sheet_widget_frame_draw_cairo): new
2421         (sheet_widget_button_draw_cairo): new
2422         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2423         (sheet_widget_scrollbar_vertical_draw_cairo): new
2424         (sheet_widget_scrollbar_class_init): connect the above
2425         (sheet_widget_spinbutton_draw_cairo): new
2426         (sheet_widget_spinbutton_class_init): connect the above
2427         (sheet_widget_slider_horizontal_draw_cairo): new
2428         (sheet_widget_slider_vertical_draw_cairo): new
2429         (sheet_widget_slider_draw_cairo): new
2430         (sheet_widget_slider_class_init): connect the above
2431         (sheet_widget_list_draw_cairo): new
2432         (sheet_widget_list_class_init): connect the above
2433         (sheet_widget_combo_draw_cairo): new
2434         (sheet_widget_combo_class_init): connect the above
2436 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2438         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2439         change all uses of this macro
2440         (draw_cairo_text): new
2441         (sheet_widget_checkbox_draw_cairo): new
2442         (sheet_widget_radio_button_draw_cairo): new
2444 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2446         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2447         gtk_offscreen_window_new without a default screen (see bugs #705638
2448         and #705640)
2450 2013-08-07  Morten Welinder  <terra@gnome.org>
2452         * src/ssconvert.c (main): Initialize gtk+ without opening any
2453         display.
2455 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2457         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2459 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2461         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2462         * src/sheet-control-gui.c (scg_init): init new fields
2463         (scg_im_destroy): new
2464         (scg_finalize): call scg_im_destroy
2465         (cb_cell_im_timer): new
2466         (scg_find_pane): new
2467         (scg_show_im_tooltip): new
2468         (scg_class_init): init new field
2469         * src/sheet-control-priv.h: add field
2470         * src/sheet-control.c: add virtual
2471         * src/sheet-control.h: add virtual
2472         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2473         (sv_update): call sheet_view_edit_pos_tool_tips
2474         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2475         in pixels
2476         (sheet_row_get_distance_pixels): new
2477         * src/sheet.h (sheet_row_get_distance_pixels): new
2479 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2481         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2482         nodes in guppi graphs. [Debian #718594]
2484 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2486         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2487         'default'
2489 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2491         * src/sheet-control-gui.c (context_menu_handler): add argument to
2492         dialog_cell_format call
2493         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2494         dialog_cell_format call
2495         (cb_data_validate): ditto
2497 2013-07-30  Morten Welinder  <terra@gnome.org>
2499         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2500         colour.  Fixes rest of #705031.
2502 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2504         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2506 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2507         for Dmitry Smirnov
2508         * gnumeric.desktop.in: add ODS files
2510 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2512         * src/graph.c (gnm_go_data_vector_load_values): really load all
2513         values for multiple ranges.
2515 2013-07-19  Morten Welinder  <terra@gnome.org>
2517         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2518         check: the enum has a hole in the middle.  Fixes #704562.
2520 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2522         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2523         printing.
2524         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2526 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2528         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2529         (gnm_so_path_set_property): ditto
2530         (gnm_so_path_get_property): ditto
2532 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2534         * src/gnm-so-path.c (so_path_view_set_bounds),
2535         (cb_gnm_so_path_changed): a better fix for the text position.
2537 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2539         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2540         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2541         * src/gnm-so-path.c (so_path_view_set_bounds),
2542         (cb_gnm_so_path_changed): fix text wrap in paths too.
2544 2013-07-16  Morten Welinder  <terra@gnome.org>
2546         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2547         computing range size.  Fixes #704325.
2549 2013-07-15  Morten Welinder  <terra@gnome.org>
2551         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2552         that.  Fixes #704004.
2554         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2556         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2557         against oversize range.
2559 2013-07-12  Morten Welinder  <terra@gnome.org>
2561         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2562         sure it falls within the sheet.
2563         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2564         parts are on different sheets.  Fixes #704109.
2566 2013-07-10  Morten Welinder <terra@gnome.org>
2568         * configure.ac: Post-release bump.
2570 2013-07-10  Morten Welinder <terra@gnome.org>
2572         * Release 1.12.4
2574 2013-07-10  Morten Welinder  <terra@gnome.org>
2576         * src/value.c (parse_criteria): Patterns should anchor at the end
2577         (#703770) and be case insensitive (no bug#).
2579 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2581         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2582         to create an image of unknown type
2584 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2586         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2587         signage
2588         (cb_assign_val): quieten warning about signed/unsigned comparison
2590 2013-07-03  Morten Welinder  <terra@gnome.org>
2592         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2593         crazy-large ranges.
2594         (cb_assign_val): Ditto.
2596 2013-07-02  Morten Welinder  <terra@gnome.org>
2598         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2599         (cb_style_list_add_node): Ditto.
2600         (verify_hashes): Ditto.
2601         (internal_style_list): Ditto.
2603         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2604         deck chairs.
2606 2013-07-01  Morten Welinder  <terra@gnome.org>
2608         * configure.ac (long double): Crude use -lm for long double
2609         function checks.  Fixes #703397.
2611 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2613         * src/expr.c (gnm_expr_list_copy): new
2614         * src/expr.h (gnm_expr_list_copy): new
2616 2013-06-26  Morten Welinder  <terra@gnome.org>
2618         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2619         of ->op before using it.  Fixes #703143.
2621 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2623         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2624         [#703052]
2625         (gnm_so_path_copy): fixed copy with multiple paths.
2627 2013-06-25  Morten Welinder <terra@gnome.org>
2629         * configure.ac: Post-release bump.
2631 2013-06-25  Morten Welinder <terra@gnome.org>
2633         * Release 1.12.3
2635 2013-06-24  Morten Welinder  <terra@gnome.org>
2637         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2638         sheet.  Fixes #703006.
2640 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2642         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2643         without sheet
2645 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2647         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2648         a valid pattern. [#702833]
2649         * src/pattern.c (gnumeric_background_set): ditto.
2651 2013-06-21  Morten Welinder  <terra@gnome.org>
2653         * src/item-grid.c (item_grid_draw_region): Plug leak.
2655         * src/item-bar.c (ib_reload_style): Plug leak.
2657 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2659         * src/wbc-gtk.c (show_gui): protect against excessively large
2660         preferred widow sizes
2662 2013-06-14  Morten Welinder  <terra@gnome.org>
2664         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2666         * src/workbook.c (workbook_sheet_delete): Debug.
2667         (workbook_dispose): Also clear style here.  Styles can have
2668         dependents now.  Fixes #702218.
2670 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2672         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2674 2013-06-12  Morten Welinder  <terra@gnome.org>
2676         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2677         Fixes #702101.
2679 2013-06-04  Morten Welinder  <terra@gnome.org>
2681         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2683 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2685         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2686         (scg_comment_display): adjust background and fontcolor if necessary
2688 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2690         * src/item-grid.c (cb_cursor_come_to_rest):
2691         gnumeric_position_tooltip needs the tooltip size, so load the text
2692         before calling it.
2694 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2696         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2697         with button 2
2699 2013-05-27  Morten Welinder  <terra@gnome.org>
2701         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2702         and we aren't very good at it.
2704 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2706         * component/Gnumeric-embed.xml.in: add accelerator
2707         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2708         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2709         (EditGotoCellIndicator): new
2710         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2711         (wbcg_focus_current_cell_indicator): new
2712         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2714 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2716         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2717         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2718         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2719         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2721 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2723         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2724         behave the same as far as cell selection is concerned. This fixes
2725         bug #700792
2726         (item_grid_button_released): ditto
2728 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2730         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2731         to include hidden cells
2732         (cb_sheet_get_extent): handle hidden cells setting
2733         (sheet_get_printarea): do not include hidden cells
2734         * src/sheet.h (sheet_get_extent): add argument and change all
2735         callers
2737 2013-05-26  Morten Welinder  <terra@gnome.org>
2739         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2740         Termiate when contributions vanish.
2742 2013-05-24  Morten Welinder  <terra@gnome.org>
2744         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2745         the outer integral.
2746         (pfuncinverter): Handle lack of dfunc (poorly).
2748 2013-05-23  Morten Welinder  <terra@gnome.org>
2750         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2751         interval out from out from R_ptukey.
2752         (R_ptukey): Split the interval nearest 0 into a sequence of
2753         intervals over which the integrand looks a lot more like a
2754         polynomial.  This fixes accuracy problems for low degrees of
2755         freedom.
2757         * src/sheet-style.c (internal_style_list): Fix critical.
2759 2013-05-22  Morten Welinder  <terra@gnome.org>
2761         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2763 2013-05-21  Morten Welinder  <terra@gnome.org>
2765         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2767 2013-05-19  Morten Welinder  <terra@gnome.org>
2769         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2770         boundaries.
2771         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2773 2013-05-18  Morten Welinder  <terra@gnome.org>
2775         * src/mathfunc.c (pnorm2): New function.
2776         (R_ptukey): New function imported from R with local improvements.
2778 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2780         * src/print.c (gnm_create_widget_cb): by default observe
2781         manual page breaks
2783 2013-05-14  Morten Welinder  <terra@gnome.org>
2785         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2786         (gnm_range_geometric_mean): Handle two FIXMEs.
2788 2013-05-13  Morten Welinder  <terra@gnome.org>
2790         * src/*.c: Mark gobject property strings as P_(...).
2792 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2794         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2796 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2798         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2799         rather than gnm_cell_assign_value
2801 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2803         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2804         first column
2806 2013-05-05  Morten Welinder  <terra@gnome.org>
2808         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2809         rendered value here.  Fixes #699647.
2811 2013-05-03  Morten Welinder  <terra@gnome.org>
2813         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2814         accelerator for redo.  Fixes #699579.
2815         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2816         focusable.
2818         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2820 2013-05-01  Morten Welinder  <terra@gnome.org>
2822         * src/print-info.c: Add gsf includes to make things work with
2823         libgsf 1.14.24.  Redhat #957851.
2825 2013-04-29  Morten Welinder  <terra@gnome.org>
2827         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2828         cells.
2830 2013-04-26  Morten Welinder <terra@gnome.org>
2832         * configure.ac: Post-release bump.
2834 2013-04-26  Morten Welinder <terra@gnome.org>
2836         * Release 1.12.2
2838 2013-04-26  Morten Welinder  <terra@gnome.org>
2840         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2841         row/column items the default.
2843 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2845         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2847 2013-04-24  Morten Welinder  <terra@gnome.org>
2849         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2850         widget parameter.  All callers changed.
2852         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2853         delayedMovement.timer.
2855         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2856         animation_cursor.
2858         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2859         windows_update_timer.
2861         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2862         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2863         valid tag.
2865         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2866         sliding).
2868 2013-04-23  Morten Welinder  <terra@gnome.org>
2870         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2872         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2873         critical.  Fixes #698680.
2875         * src/gui-file.c (gui_file_save_as): For export, change extension.
2876         Fixes #698636.
2878 2013-04-22  Morten Welinder  <terra@gnome.org>
2880         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2881         Somehow fixes #625687.
2883 2013-04-20  Morten Welinder  <terra@gnome.org>
2885         * src/go-data-slicer-field.c
2886         (go_data_slicer_field_set_field_type_pos): Add precondition for
2887         slicer.
2889 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2891         * src/print-info.c (render_title): new
2893 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2895         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2896         cells.
2897         (sheet_range_set_text): ditto
2899 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2901         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2902         than padding.
2904 2013-04-22  Morten Welinder  <terra@gnome.org>
2906         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2908 2013-04-19  Morten Welinder  <terra@gnome.org>
2910         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2911         view approach.  Fixes #689283.
2913         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2914         mode.
2915         (wbc_gtk_init_color_fore): Ditto.
2916         (wbc_gtk_init_color_back): Ditto.
2918 2013-04-17  Morten Welinder  <terra@gnome.org>
2920         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2921         button.
2923         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2924         font_name_haction.
2926         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2927         only for horizontal toolbars.
2929         * src/gui-file.c (file_saver_format_changed_cb): New function to
2930         change the extension when the format is changed.
2931         (gui_file_save_as): Don't try to hide the extension -- it
2932         interferes with the file chooser's completion.  Fixes #695839.
2934 2013-04-16  Morten Welinder  <terra@gnome.org>
2936         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2937         menu for graph sheets.  Fixes #685446.
2938         (sheet_menu_label_run): Disable resize for graph sheets.
2940         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2941         #661800.
2942         (parse_criteria): Handle criteria "=" and "<>" (with no value
2943         after the operator) special.  These test for empty and non-empty
2944         values.  Fixes #686156.
2946         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2947         "anchor_start" and "anchor_end".  All callers changed.
2949 2013-04-15  Morten Welinder  <terra@gnome.org>
2951         * src/application.c (add_icon): Plug leak.
2953         * src/number-match.c (format_match_decimal_number): Try also major
2954         non-locale currencies.  Fixes #577768.
2956 2013-04-13  Morten Welinder  <terra@gnome.org>
2958         * src/mathfunc.c (pochhammer): Improve precision a bit.
2959         (binomialcf): Lower cfSmall by 10^3.  This helps
2960         pbeta(0.9,10,0.5).
2962         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2963         doesn't prevent multiple versions from co-existing.
2965         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2966         dirty.  Callers already appear to handle this when needed
2967         and not when not wanted.  Fixes #697927.
2969 2013-04-12  Morten Welinder  <terra@gnome.org>
2971         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2972         #697850.
2973         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2974         reported to R).
2975         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2977 2013-04-11  Morten Welinder  <terra@gnome.org>
2979         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2980         reference with invalid_sheet.  Fixes #683494.
2982         * src/complex.c (complex_to_string): Drop format arguments.  All
2983         callers changed.  Make up a format with enough precision for round
2984         tripping.  Fixes #697634.
2986 2013-04-09  Morten Welinder  <terra@gnome.org>
2988         * src/complex.c (complex_from_string): Make this handle embedded
2989         spaces systematically.
2990         (is_unit_imaginary): Delete.
2992 2013-04-09  Morten Welinder  <terra@gnome.org>
2994         * src/complex.c (complex_pow): Use Goffice's copy.
2996 2013-04-05  Morten Welinder  <terra@gnome.org>
2998         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2999         new screens.  Add hack for pre-GTK 3.4.
3001         * src/mathfunc.c (gnm_owent): New function.
3003 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
3005         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
3006         functions used as vectors. [697281]
3008 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
3010         * src/graph.c (gnm_go_data_vector_load_values),
3011         (gnm_go_data_vector_get_str): fix values and strings loading in case of
3012         arrays. [697107]
3014 2013-04-03  Morten Welinder  <terra@gnome.org>
3016         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
3017         attributes of the tab.
3019         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
3020         GnmNotebookButton, not an EditableLabel.
3022 2013-04-02  Morten Welinder  <terra@gnome.org>
3024         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
3025         widget.
3026         (cb_wbcg_drag_leave): Ditto.
3028 2013-03-27  Morten Welinder  <terra@gnome.org>
3030         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
3031         key we look up.  When did that change?
3033 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
3035         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
3036         remove the frame.
3038 2013-03-26  Morten Welinder  <terra@gnome.org>
3040         * src/item-edit.c: Theme the in-cell edit background color.
3042         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
3043         into here.
3044         src/gui-gnumeric.h: Remove.
3046         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
3047         non-NULL if there is a selection.
3048         (gnumeric_background_set_gtk): Delete.  Make callers use
3049         gnumeric_background_set.
3051         * src/preview-grid.c (preview_grid_draw_background): Always
3052         provide a context to gnumeric_background_set.
3053         * src/item-edit.c (item_edit_draw): Ditto.
3055         * src/item-cursor.c (ic_reload_style): Use class, not state, to
3056         separate the different cursor types.  Separate autofill colouring
3057         from drag ditto.
3059 2013-03-25  Morten Welinder  <terra@gnome.org>
3061         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
3062         color to GOColor.
3063         (ic_reload_style): Theme some of the cursor colors.
3065         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
3066         not colour name.
3068         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
3070         * src/gnumeric.css: use deprecated px-free syntax for padding, so
3071         gtk+ 3.2 can deal with it.
3073         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
3074         can suppress deprecations.
3076         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
3077         the "all" button.
3079         * src/item-bar.c (ib_reload_style): Load fonts from style.
3081 2013-03-24  Morten Welinder  <terra@gnome.org>
3083         * src/item-grid.c (item_grid_draw_region): Draw the background at
3084         the right coordinates!
3086 2013-03-23  Morten Welinder  <terra@gnome.org>
3088         * src/item-bar.c (ib_draw_cell): There's no point in going to and
3089         from GOColor here.  Just use the color as-is.
3091 2013-03-19  Morten Welinder  <terra@gnome.org>
3093         * src/application.c (install_icons): Install also the icon themed
3094         icons.  No idea why we have both.
3096         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
3098         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
3099         (embedded_imgs): Add the rest from pixmaps.
3101         * configure.ac: No longer create src/pixmaps/Makefile
3103         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
3104         these work for resources and absolute paths.
3106 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
3108         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
3109         not sizeable objects bounds after dragging when zoom is not 100%.
3111 2013-03-18  Morten Welinder  <terra@gnome.org>
3113         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
3114         filter.  It takes just long enough to be irritating.
3116 2013-03-17  Morten Welinder  <terra@gnome.org>
3118         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
3119         style since we're not picking it explicitly.
3120         (cb_font_filter): Fix leak.
3122 2013-03-14  Morten Welinder  <terra@gnome.org>
3124         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
3125         ignore non-scalable fonts.
3127 2013-03-11  Morten Welinder  <terra@gnome.org>
3129         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
3131 2013-03-10  Morten Welinder  <terra@gnome.org>
3133         * src/ssconvert.c (list_them): Skip savers/openers that require
3134         interaction.  (We don't have any yet.)
3136         * src/stf.c (stf_read_workbook): Set error when we fail due to
3137         lack of GUI.
3138         (stf_init): Mark the configurable saver/opener as interactive.
3140         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
3142 2013-03-09  Morten Welinder <terra@gnome.org>
3144         * configure.ac: Post-release bump.
3146 2013-03-09  Morten Welinder <terra@gnome.org>
3148         * Release 1.12.1
3150 2013-03-06  Morten Welinder  <terra@gnome.org>
3152         * src/wbc-gtk.c (list_actions): Handle a null group.
3154 2013-03-03  Morten Welinder  <terra@gnome.org>
3156         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
3157         g_thread_init if compiled with later than glib 2.32.0.
3159 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
3161         * src/gnm-pane-impl.h: remove alignments.
3162         * src/gnm-pane.c (gnm_pane_header_init): dittO;
3163         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
3164         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
3165         * src/sheet-control-gui-priv.h: remove all tables by one grid.
3166         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
3167         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
3168         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
3169         (scg_mode_edit): ditto.
3170         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
3171         (cb_sheet_visibility_change), (wbcg_sheet_add),
3172         (wbcg_sheet_remove), (wbcg_sheet_focus),
3173         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
3174         (wbcg_get_nth_scg): ditto.
3176 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3178         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3179         * src/print.c (gnm_create_widget_cb): ditto.
3180         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3182 2013-03-01  Morten Welinder  <terra@gnome.org>
3184         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3185         first argument, not "x".
3187 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3189         reviewed by: <delete if not using a buddy>
3191         * INSTALL:
3192         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3193         (sheet_widget_adjustment_user_config_impl),
3194         (sheet_widget_checkbox_user_config),
3195         (sheet_widget_radio_button_user_config):
3196         * src/wbc-gtk.c (wbc_gtk_init):
3198 2013-02-28  Morten Welinder  <terra@gnome.org>
3200         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3201         development versions.  We now get the information through gcc
3202         warnings.
3203         (solver): Make solver code unconditional.  Feel free to not
3204         distribute the relevant plugins.
3206 2013-02-26  Morten Welinder  <terra@gnome.org>
3208         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3210 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3212         * src/number-match.c: more introspection warnings.
3214 2013-02-23  Morten Welinder  <terra@gnome.org>
3216         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3218 2013-02-21  Morten Welinder  <terra@gnome.org>
3220         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3221         GHFunc.  All callers changed.  Impose a robust ordering.
3222         (sh_all_styles): New function replacing sh_foreach.
3224 2013-02-20  Morten Welinder  <terra@gnome.org>
3226         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3228 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3230         * configure.ac: make configure --with-python fail when some
3231         dependency is missing.
3233 2013-02-17  Morten Welinder  <terra@gnome.org>
3235         * configure.ac (set_more_warnings): Improve support for clang.
3237 2013-02-16  Morten Welinder  <terra@gnome.org>
3239         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3240         (Most cases a matter of 0 vs. 0.)
3242 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3244         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3245         default value for stf export format.
3246         * src/dependent.c: fix introspection warnings.
3247         * src/sheet-style.c: ditto.
3249 2013-02-15  Morten Welinder  <terra@gnome.org>
3251         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3252         3.2.0 just like goffice.
3254         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3255         requiring gtk 3.2
3257 2013-02-14  Morten Welinder  <terra@gnome.org>
3259         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3260         not MAXDOUBLE.  Fixes #693761.
3262 2013-02-10  Morten Welinder  <terra@gnome.org>
3264         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3265         doesn't belong here.  We handle everything in rstyle_apply.
3267 2013-02-08  Morten Welinder  <terra@gnome.org>
3269         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3270         link/unlink style dependents.  All callers changed.
3271         (sheet_style_shutdown): Set default style for whole sheet to
3272         ensure style dependents get cleared.
3274 2013-02-07  Morten Welinder  <terra@gnome.org>
3276         * src/sheet-style.c (cell_tile_optimize): Implement
3277         ptr-matrix-to-matrix optimization and use it to simplify things.
3279         * src/dependent.c (GnmStyleDependent): New type of dependent.
3280         When triggered, the cells in which it resised will be rerendered
3281         and redrawn.
3283         * src/mstyle.c (gnm_style_link_dependents)
3284         (gnm_style_unlink_dependents): New functions to manage style
3285         dependents due to conditional formatting.
3287 2013-02-06  Morten Welinder  <terra@gnome.org>
3289         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3290         inside-out in anticipation of future changes.
3292         (col_indicies, row_indicies): Alignment of the corners of apply_to
3293         is only relevant if we are within the tile.
3295 2013-02-06  Morten Welinder  <terra@gnome.org>
3297         * src/sheet-style.c (tile_is_uniform): Extract from
3298         cell_tile_optimize.
3299         (vector_apply_pstyle): Don't return a value.
3300         (cell_tile_apply): Use tile_is_uniform.
3302 2013-02-05  Morten Welinder  <terra@gnome.org>
3304         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3305         instead of crazy "goto".
3306         (cell_tile_apply): Simplify the covers-whole-tile case.
3308         * src/sheet.h (Sheet): Remove max_width and max_height members.
3309         All users fixed.
3311         * src/dependent.h (GnmDependentClass): Add pos handler.
3313         * src/dependent.c (dependent_pos): Use pos handler.
3314         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3316 2013-02-04  Morten Welinder  <terra@gnome.org>
3318         * src/dependent.c (dependent_pos): Make global.
3320         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3321         dependent_pos.
3323         * src/ssconvert.c (run_tool_test): Add code for running the
3324         regression tool.
3325         (convert): Run an analysis tool if requested.  (For testing.)
3327 2013-02-02  Morten Welinder  <terra@gnome.org>
3329         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3330         and rstyle_ctor_pstyle.  All callers changed.
3332 2013-01-18  Morten Welinder  <terra@gnome.org>
3334         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3335         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3336         New matrix support.
3337         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3338         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3340 2013-01-15  Morten Welinder  <terra@gnome.org>
3342         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3343         import from command line.
3345 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3347         * configure.ac: renamed configure.in and update obsolete macros.
3348         * configure.in: ditto.
3350 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3352         * configure.in: Add
3353         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3354         includes.
3356 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3358         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3359         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3360         twice the top and bottom margins when displaying a graph
3361         sheet. [#691472]
3363 2013-01-10  Morten Welinder  <terra@gnome.org>
3365         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3366         argument and assume TRUE.  Drop scope name and assume NULL (which
3367         is what all callers should have used).  All callers changed.
3368         (gnm_func_add_placeholder): Ditto.
3369         (invent_name): Downcase the preferred name.
3370         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3371         (gnm_func_add): Initialize arg_names_p.
3373         * src/gnm-plugin.c (plugin_service_function_group_activate):
3374         Upgrade existing placeholder functions as needed.
3376         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3377         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3379 2013-01-10  Morten Welinder  <terra@gnome.org>
3381         * src/func.c (gnm_func_add_placeholder_localized): New function.
3382         (gnm_func_add_placeholder_full): Extract from
3383         gnm_func_add_placeholder.  Handle localization better.
3384         (gnm_func_set_localized_name): New function.
3385         (gnm_func_free, gnm_func_get_name): Use
3386         gnm_func_set_localized_name.
3388         * src/parse-util.c (std_func_map): Improve handling of unknown
3389         function names.
3391         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3392         (gnm_func_free): ...here.
3394 2013-01-09  Morten Welinder  <terra@gnome.org>
3396         * src/symbol.c: delete.
3398         * src/func.c: rewrite to use GHashTable instead of symbol.c
3399         (gnm_func_lookup_prefix): Take extra argument indicating whether
3400         to search translated names.  Caller changed.
3402         * src/parse-util.c (std_func_map): Lookup translated name as
3403         needed.
3404         (parse_util_init): Add enviroment magic to turn on translated
3405         functions names.  This is not ready for prime time and should be
3406         controlled by a user preference eventually.
3408         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3409         bit.
3411 2013-01-07  Morten Welinder  <terra@gnome.org>
3413         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3414         pivot.  Use gnm_hypot where possible.
3416 2013-01-04  Morten Welinder  <terra@gnome.org>
3418         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3419         as argument.  Keep track of displays.
3420         (gnm_x_disown_clipboard): New function.
3422         * src/application.c (gnm_app_clipboard_clear): Use
3423         gnm_x_disown_clipboard to make things multi-head safe.
3425 2013-01-03  Morten Welinder  <terra@gnome.org>
3427         * src/collect.c (collect_floats): Fix handling of
3428         COLLECT_IGNORE_ERRORS.
3429         (collect_strings): Ditto.
3430         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3432 2013-01-01  Morten Welinder  <terra@gnome.org>
3434         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3435         deprecated goffice stuff.
3437         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3438         unused variable.
3439         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3440         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3441         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3443         * src/application.c (gnm_app_history_add): Kill warning.
3445 2012-12-31  Morten Welinder  <terra@gnome.org>
3447         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3448         Fixed #690929.
3450         * src/ssdiff.c: Introduce --highlight mode.
3452 2012-12-30  Morten Welinder  <terra@gnome.org>
3454         * src/ssdiff.c (main): Add option to send output to a file.
3456 2012-12-29  Morten Welinder  <terra@gnome.org>
3458         * src/ssdiff.c (diff): Use C locale.
3459         (ignore_cell): Ignore arrays, except for the corner.
3460         (output_cell): New function taking proper care of value types,
3461         conventions, etc.
3462         (xml_cell_changed): Use output_cell.
3463         (compare_corresponding_cells): Don't use entered_text here either,
3464         although it's harmless.
3465         (output_cell, compare_corresponding_cells): Handle value formats
3466         too.
3468 2012-12-28  Valek Filippov  <frob@df.ru>
3470         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3471         gdk_window_get_pointer calls.
3473 2012-12-28  Morten Welinder  <terra@gnome.org>
3475         * src/*.c: Eliminate use of printf.
3477         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3478         range offset here.  This may need to move further.
3479         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3480         (diff_sheets_cells): Ignore completely empty cells.
3481         (xml_sheet_start): Change meaning of Old and New attributes to be
3482         index_in_wb and absent when workbook doesn't have the sheet.
3483         (xml_style_changed): Describe style differences.
3485 2012-12-27  Morten Welinder  <terra@gnome.org>
3487         * src/ssdiff.c (diff_sheets): Compare styles too.
3489         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3490         range argument.  All callers changed.
3492 2012-12-24  Morten Welinder  <terra@gnome.org>
3494         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3495         cell_removed handlers into the cell_changed handler.
3496         (main): Add --xml option.
3498         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3499         configurable.  We need ssconvert for the test and it's silly
3500         anyway.
3502 2012-12-18  Morten Welinder <terra@gnome.org>
3504         * configure.in: Post-release bump.