Paste: fix potential problem with object pasting.
[gnumeric.git] / ChangeLog
blob9eeca484413dcfcf0a5f8d3f3f5d7e66ca9ec189
1 2018-05-03  Morten Welinder  <terra@gnome.org>
3         * src/commands.c (get_new_objects): Change from transfer-container
4         to transfer-full.  Otherwise a deleted object can shadow a new
5         one.  (Never observed.)
7 2018-04-30  Morten Welinder  <terra@gnome.org>
9         * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Make full
10         history item insensitive if we have to history.
12 2018-04-29  Morten Welinder <terra@gnome.org>
14         * configure.ac: Post-release bump.
16 2018-04-29  Morten Welinder <terra@gnome.org>
18         * Release 1.12.40
20 2018-04-26  Morten Welinder  <terra@gnome.org>
22         * src/colrow.c (col_row_collection_foreach): move to...
23         * src/sheet.c (sheet_colrow_foreach): ...here.  Allow -1 to mean
24         last column or row.
25         (sheet_foreach_cell_in_range): Change to take a range.
26         (sheet_foreach_cell_in_region): Preserve the old
27         sheet_foreach_cell_in_range api.  Most callers changed.  Allow -1
28         to mean last column or row.
30 2018-04-25  Morten Welinder  <terra@gnome.org>
32         * src/xml-sax-read.c (xml_sax_cell_content): Read shared array
33         expressions as we used to, but immediately unshare.  I had an old
34         file with such a thing and it not supposed to happen.  That
35         formula would likely have been created in early 2007.
37 2018-04-24  Morten Welinder  <terra@gnome.org>
39         * src/commands.c (cmd_paste_copy_impl): Simplify now that
40         clipboard handles colrow sizes.
42 2018-04-21  Morten Welinder  <terra@gnome.org>
44         * src/sheet-object-image.c (gnm_soi_write_image): If the format
45         doesn't match what is requested, convert.
47 2018-04-20  Morten Welinder  <terra@gnome.org>
49         * src/ssconvert.c (merge_single): Avoid a
50         hash-changed-while-iterating problem.  [#795408]
52         * src/xml-sax-write.c (xml_write_cell_and_position): In the
53         clipboard case, write result values too.
55         * src/xml-sax-read.c (xml_sax_cell_content): Rework this rat's
56         nest of conditionals.  Accept values for expressions.
58 2018-04-18  Morten Welinder  <terra@gnome.org>
60         * src/mstyle.c (gnm_style_get_cond_style): Flip reversed
61         pre-condition.
63         * src/gui-clipboard.c (gnm_x_claim_clipboard): Offer biff8,
64         including LO's weird name for that.  The don't seem to take
65         "Biff8" and they don't seem to take Citrix' variant either.
67 2018-04-16  Morten Welinder  <terra@gnome.org>
69         * src/gui-clipboard.c (gnm_x_claim_clipboard): Plug leak.  Debug
70         improvements.
71         (table_cellregion_read): Improve paste-range heuristic for
72         clipboard formats that lack that information, notably
73         LibreOffice's.
75         * src/workbook-view.c (get_uri_modtime): Fix criticals on paste
76         from LibreOffice.  (Which sends a zipfile over the clipboard.)
78 2018-04-14  Morten Welinder  <terra@gnome.org>
80         * src/func.c (gnm_func_count_args): Rename from
81         function_def_count_args for introspection.
82         (gnm_func_get_arg_type): Rename from function_def_get_arg_type
83         for introspection.
84         (gnm_func_get_arg_type_sring): Rename from
85         function_def_get_arg_type_string for introspection.
87         * src/workbook-view.c (workbook_view_save_as): Rename from
88         wb_view_save_as for introspection.
89         (workbook_view_save): Rename from wb_view_save for introspection.
91 2018-04-13  Morten Welinder  <terra@gnome.org>
93         * src/workbook-view.c (workboook_view_save_to_uri): Renamed from
94         wb_view_save_to_uri for introspection.
95         (workbook_view_save_to_output): Renamed from
96         wb_view_save_to_output for introspection.
98         * src/style-color.c (gnm_style_color_get_type): Duplicate of
99         gnm_color_get_type, more or less.
101         * src/validation.c (gnm_validation_ref): Must return a value to be
102         used as a boxed copy function.
104         * src/expr.c (gnm_expr_top_ref): Must return a value to be used
105         as a boxed copy function.
107         * src/expr-name.c (expr_name_ref): Must return a value to be used
108         as a boxed copy function.
110         * src/mstyle.c (gnm_style_ref): Must return a value to be used
111         as a boxed copy function.
113         * src/clipboard.c (cellregion_ref): Must return a value to be used
114         as a boxed copy function.
116         * src/criteria.c (gnm_criteria_unref): Rename from free_criteria.
118         * src/mstyle.c: Hide internals.
119         src/gnm-style-impl.h: Remove.
121         * src/cell.c (gnm_cell_set_format): Remove.  Unused and badly
122         named.
124 2018-04-12  Morten Welinder  <terra@gnome.org>
126         * src/sheet-merge.c (gnm_sheet_merge_remove): Drop unused command
127         context argument.  All callers changed.
129 2018-04-11  Morten Welinder  <terra@gnome.org>
131         * src/workbook.c: Make Workbook a more proper object by adding a
132         constructor to setup the object correctly.  Introspection fixes.
134         (workbook_view_class_init): Make this a more proper object by
135         adding a constructor and init function to setup the object
136         correctly.
138 2018-04-11  Morten Welinder  <terra@gnome.org>
140         * src/workbook-view.c: Introspection fixes, mostly from Dean
141         McCarron.
142         src/workbook-control.c: Ditto.
143         src/wbc-gtk.c: Ditto.
145 2018-03-25  Morten Welinder  <terra@gnome.org>
147         * src/workbook.c (workbook_set_last_export_uri): Constify
148         argument.  Callers fixed.
150 2018-03-23  Morten Welinder  <terra@gnome.org>
152         * src/main-application.c (cpu_sanity_check): New function.
154 2018-03-13  Morten Welinder <terra@gnome.org>
156         * configure.ac: Post-release bump.
158 2018-03-13  Morten Welinder <terra@gnome.org>
160         * Release 1.12.39
162 2018-01-17  Morten Welinder  <terra@gnome.org>
164         * src/sstest.c (function_dump_defs): Drop internal function TABLE
165         as well as demo function ATL_LAST.
167 2018-01-11  Morten Welinder  <terra@gnome.org>
169         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
170         not to trigger an update storm when nothing changes.  Fixes
171         #792417.
173 2018-01-01  Morten Welinder  <terra@gnome.org>
175         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
176         non-reachable code relating to true() and false() conditions.
178 2017-12-30  Morten Welinder  <terra@gnome.org>
180         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
181         changed.
182         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
183         (gnm_expr_top_get_array_expr): New functions.
185         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
186         changed.
188 2017-12-29  Morten Welinder  <terra@gnome.org>
190         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
191         name.  #792038.
193 2017-12-28  Morten Welinder <terra@gnome.org>
195         * configure.ac: Post-release bump.
197 2017-12-28  Morten Welinder <terra@gnome.org>
199         * Release 1.12.38
201 2017-12-25  Morten Welinder  <terra@gnome.org>
203         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
204         * src/func-builtin.c (func_builtin_init): Ditto.
206 2017-12-23  Morten Welinder  <terra@gnome.org>
208         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
210 2017-12-04  Morten Welinder  <terra@gnome.org>
212         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
213         instead of passing them all over the place.
214         (diff): Compare names too.
216 2017-12-03  Morten Welinder  <terra@gnome.org>
218         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
219         (diff): Missing or extra sheet counts as a difference.
221         * src/mstyle.c (gnm_style_find_differences): Don't crash when
222         hlink/validation/inputmsg/conditions is NULL in one and not the other.
224         * src/ssdiff.c (diff_sheets_colrow): New function to compare
225         row/column sizes.
226         (highlight_cell_changed): Survive missing cell.
228 2017-12-01  Morten Welinder <terra@gnome.org>
230         * configure.ac: Post-release bump.
232 2017-12-01  Morten Welinder <terra@gnome.org>
234         * Release 1.12.37
236 2017-11-30  Morten Welinder  <terra@gnome.org>
238         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
239         usage.
240         * src/parse-util.c (wbref_parse): Ditto.
241         * src/preview-grid.c (preview_grid_draw_region): Ditto.
242         * src/item-grid.c (item_grid_draw_region): Ditto.
243         * src/parser.y (yylex): Ditto.
244         * src/criteria.c (parse_database_criteria): Ditto.
246         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
247         stack, allocation.
249         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
250         stack, allocation.
252 2017-11-29  Morten Welinder  <terra@gnome.org>
254         * src/sstest.c (enumerate_functions): Make sure function is loaded.
256         * src/func-builtin.c (help_table): Add help text for TABLE.
258         * src/func.c (gnm_func_enumerate): Introspection annotation.
260         * src/sstest.c (function_dump_defs): Move from func.c with all
261         support code.
262         (gnm_func_sanity_check): Ditto.
264         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
266         * src/main-application.c (pathetic_qt_workaround): Not needed
267         anymore.
269         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
270         looking strange when insensitive and also is a consistent size.
272 2017-11-18  Morten Welinder <terra@gnome.org>
274         * configure.ac: Post-release bump.
276 2017-11-18  Morten Welinder <terra@gnome.org>
278         * Release 1.12.36
280 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
282         * src/gnumeric.css: add grid:selected back-color.
283         * src/item-grid.c (item_grid_draw_region): fix background of multiple
284         selection. [#789411]
286 2017-10-23  Morten Welinder  <terra@gnome.org>
288         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
289         criticals.
291 2017-07-06  Morten Welinder <terra@gnome.org>
293         * configure.ac: Post-release bump.
295 2017-07-06  Morten Welinder <terra@gnome.org>
297         * Release 1.12.35
299 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
301         * src/sheet-object-widget.c
302         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
303         button
305 2017-05-18  Morten Welinder  <terra@gnome.org>
307         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
308         integer orders.
309         (jy_via_j_series): Rename from y_via_j_series and supply both J
310         and Y results.  Use the full J result accuracy.
311         (gnm_bessel_phi): Improve divergence check.
313 2017-05-16  Morten Welinder  <terra@gnome.org>
315         * src/sf-bessel.c (debye_33): Handle near-overflow better.
316         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
317         appropriate.
319         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
321         * src/value.c (value_new_from_string): Handle denormals betters.
323 2017-04-05  Morten Welinder  <terra@gnome.org>
325         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
326         Generalize to Pi/2^e and make public.
328 2017-03-28  Morten Welinder  <terra@gnome.org>
330         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
331         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
332         around the integer with odd count when we can.
334 2017-03-21  Morten Welinder  <terra@gnome.org>
336         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
337         deviation for each bin.
338         (test_random_randchisq, test_random_randtdist)
339         (test_random_randfdist): Don't allow df=0.
340         (test_random_randbeta): Don't floor the parameters thus avoiding
341         zero.
343 2017-03-20  Morten Welinder <terra@gnome.org>
345         * configure.ac: Post-release bump.
347 2017-03-20  Morten Welinder <terra@gnome.org>
349         * Release 1.12.34
351 2017-03-17  Morten Welinder  <terra@gnome.org>
353         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
354         bogus GnmColor here.  The fake object prevents GnmColor equality
355         from working which in turn prevents GnmBorder equality from
356         working.
358         * src/style-color.c (gnm_color_make): Rename from
359         gnm_color_new_uninterned and handle caching here.
360         (gnm_color_new_auto): New function.
362         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
363         (compare_corresponding_cells): Fall back to string comparison.
364         References like Sheet1!A1 should match even if they, obviously,
365         refer to sheets in different workbooks.
367         * src/style-conditions.c (gnm_style_conditions_equal): Add new
368         relax_sheet argument.
370         * src/validation.c (gnm_validation_equal): New function.
372         * src/mstyle.c (gnm_style_find_differences): New function.
374         * src/ssdiff.c (xml_style_changed): Use
375         gnm_style_find_differences.
377         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
378         gnm_style_find_differences, not gnm_style_equal.
380         * src/hlink.c (gnm_hlink_equal): New function.
382 2017-03-13  Morten Welinder  <terra@gnome.org>
384         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
385         inter-sheet local name references.
387 2017-03-10  Morten Welinder  <terra@gnome.org>
389         * src/hlink.c (gnm_hlink_get_name_target)
390         (gnm_hlink_get_range_target): New functions.
391         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
393 2017-03-07  Morten Welinder  <terra@gnome.org>
395         * src/parser.y (parser_simple_name): Extract from
396         parser_simple_val_or_name.  Extend to handle explicit sheet.
397         ("sheetref STRING"): Ise parser_simple_name.
399 2017-03-06  Morten Welinder  <terra@gnome.org>
401         * src/expr-name.c (expr_name_add): Plug leak.
403 2017-03-05  Morten Welinder  <terra@gnome.org>
405         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
406         (gnm_hlink_cur_wb_activate): Move string parsing from here...
407         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
408         value_new_cellrange_str will resolve a name.
410         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
411         sheet for hlinks too.
413         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
414         (gnm_hlink_set_sheet): New functions.
416 2017-01-30  Morten Welinder <terra@gnome.org>
418         * configure.ac: Post-release bump.
420 2017-01-30  Morten Welinder <terra@gnome.org>
422         * Release 1.12.33
424 2017-01-29  Morten Welinder  <terra@gnome.org>
426         * src/style-conditions.c (gnm_style_cond_equal): New function.
427         (gnm_style_conditions_equal): ...split out from here.
429 2017-01-25  Morten Welinder  <terra@gnome.org>
431         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
433 2017-01-22  Morten Welinder  <terra@gnome.org>
435         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
436         expression for text formatted cells.
437         (stf_parse_sheet): Don't try number parsing for text formatted
438         columns.  Fixes #777543.
440 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
442         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
443         format when generating the string. [#777338]
445 2017-01-19  Morten Welinder  <terra@gnome.org>
447         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
449         * src/style-conditions.c (gnm_style_conditions_equal): New
450         function.
452 2016-12-08  Morten Welinder  <terra@gnome.org>
454         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
455         callers changed.
456         (gnm_linear_solve_multiple): Ditto.
458 2016-10-02  Morten Welinder  <terra@gnome.org>
460         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
461         g_mem_set_vtable stuff actually works anymore.
463 2016-08-21  Morten Welinder  <terra@gnome.org>
465         * src/sstest.c (options): Add --fast option.
467         * src/value.c (value_get_as_gstring): Let a negative
468         decimal_digits mean "shortest round-tripping string".
470 2016-08-20  Morten Welinder <terra@gnome.org>
472         * configure.ac: Post-release bump.
474 2016-08-20  Morten Welinder <terra@gnome.org>
476         * Release 1.12.32
478 2016-08-08  Morten Welinder  <terra@gnome.org>
480         * src/criteria.c (criteria_inspect_values): Add flag for string
481         coercion.  Only the equality test wants that.
483         * src/value.c (criteria_inspect_values): Floats don't match
484         errors.
486 2016-08-04  Morten Welinder  <terra@gnome.org>
488         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
489         pointer.
491         * src/collect.c (string_range_function): Add user pointer.  Caller
492         changed.
494 2016-06-29  Morten Welinder <terra@gnome.org>
496         * configure.ac: Post-release bump.
498 2016-06-29  Morten Welinder <terra@gnome.org>
500         * Release 1.12.31
502 2016-06-29  Morten Welinder  <terra@gnome.org>
504         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
505         related to sheet-local names.  [#768164]
507 2016-06-28  Morten Welinder  <terra@gnome.org>
509         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
510         of different lenghts.
512 2016-06-21  Morten Welinder  <terra@gnome.org>
514         * src/value.c (criteria_test_greater_or_equal): Use case-folding
515         comparisons for strings.
516         (parse_criteria, parse_criteria_range): Add argument controlling
517         whether to anchor matching at end of string.
518         (parse_database_criteria): Don't anchor here.
520 2016-06-17  Morten Welinder <terra@gnome.org>
522         * configure.ac: Post-release bump.
524 2016-06-17  Morten Welinder <terra@gnome.org>
526         * Release 1.12.30
528 2016-06-17  Morten Welinder  <terra@gnome.org>
530         * src/value.c (parse_criteria): Anchor matches at the beginning,
531         but not at the end.
533 2016-06-11  Morten Welinder  <terra@gnome.org>
535         * src/value.c (find_rows_that_match): Fix blank handling.
536         (criteria_test_unequal): Wrong type means unequal.
537         (criteria_test_match): Only match strings.
538         (parse_criteria): Don't anchor matches.  This is the right thing
539         to do for DSUM and friends.  Hopefully this doesn't break anything
540         else.
541         (criteria_inspect_values): Strings are incompatible with
542         non-strings.
543         (criteria_test_less, criteria_test_less_or_equal)
544         (criteria_test_greater, criteria_test_greater_or_equal): handle
545         strings.
547 2016-05-19  Morten Welinder  <terra@gnome.org>
549         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
550         decimal counts for the hypothetical comma and point choices.
552 2016-05-10  Morten Welinder  <terra@gnome.org>
554         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
555         members.  Doc fix.
557 2016-05-06  Morten Welinder <terra@gnome.org>
559         * configure.ac: Post-release bump.
561 2016-05-06  Morten Welinder <terra@gnome.org>
563         * Release 1.12.29
565 2016-04-29  Morten Welinder  <terra@gnome.org>
567         * src/gui-util.c (gnm_style_context_get_color): Fix function
568         wrapping gtk_style_context_get_color which changed API.
570 2016-04-24  Morten Welinder  <terra@gnome.org>
572         * src/value-sheet.c (value_area_get_x_y): Use
573         gnm_rangeref_normalize.  Do full wrap-around.
575 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
577         * src/graph.c (gnm_go_data_matrix_load_values): fix array
578         reading. [#765483]
580 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
582         * configure.ac: protect against pxlib weirdness.
584 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
586         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
587         value is an error.
589 2016-03-22  Morten Welinder <terra@gnome.org>
591         * configure.ac: Post-release bump.
593 2016-03-22  Morten Welinder <terra@gnome.org>
595         * Release 1.12.28
597 2016-03-02  Morten Welinder  <terra@gnome.org>
599         * src/sf-bessel.c: Return complex numbers by value, not reference.
601 2016-02-23  Morten Welinder  <terra@gnome.org>
603         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
605 2016-02-18  Morten Welinder  <terra@gnome.org>
607         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
608         #762278.
610 2016-02-12  Morten Welinder  <terra@gnome.org>
612         * src/complex.h: Add a direct-value interface.
614         * src/ssconvert.c (run_solver): Also create solver reports as
615         indicated in options.
617         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
619 2016-02-10  Morten Welinder  <terra@gnome.org>
621         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
622         to 1px.  While that may be a sligh increase for certain
623         themes/gtk+ versions, it is a large decrease for others, notably
624         what comes with an out-of-the-box OpenSuSE leap.  Override in
625         ~/.config/gtk-3.0/gtk.css if need be.
627         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
628         wheel for horizontal motion instead of alt.  Window managers tend
629         to eat the latter.
631 2016-02-08  Morten Welinder  <terra@gnome.org>
633         * src/graph.c (gnm_go_data_vector_eval)
634         (gnm_go_data_vector_finalize): Plug leak.
636 2016-02-06  Morten Welinder <terra@gnome.org>
638         * configure.ac: Post-release bump.
640 2016-02-06  Morten Welinder <terra@gnome.org>
642         * Release 1.12.27
644 2016-02-06  Morten Welinder  <terra@gnome.org>
646         * configure.ac (goffice): Require latest for
647         go_complex_from_polar_pi.
649         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
650         when x<0 and a is real.
652 2016-02-04  Morten Welinder  <terra@gnome.org>
654         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
655         (gnm_complex_continued_fraction): Fail if we would otherwise try
656         to rescale by 0.  Fix termination condition.
657         (igamma_asymp): Fix term update.
658         (complex_igamma): Fix flavour fixup.
660 2016-02-02  Morten Welinder  <terra@gnome.org>
662         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
663         (gamma_error_factor): Extend to all positive numbers.
664         (pochhammer_small_n): Allow any x > 1.
665         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
667 2016-02-01  Morten Welinder  <terra@gnome.org>
669         * configure.ac (yacc, lex): Fail if the required program isn't
670         found.
672 2016-01-31  Morten Welinder  <terra@gnome.org>
674         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
675         complex continued fractions.
677 2016-01-30  Morten Welinder  <terra@gnome.org>
679         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
680         GtkStyleContext.  Another ABI changes causes that to crash.
682         * src/value.c (find_column_of_field): Insist that the database be
683         a cell range, not an array.
685 2016-01-29  Morten Welinder  <terra@gnome.org>
687         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
688         (bessel_ij_series): Rename from bessel_j_series and extend to
689         handle i also.
691         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
692         argument is less than one.
694         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
695         about broken sheet filter.
697         * src/sheet-filter.c (gnm_filter_condition_new_single)
698         (gnm_filter_condition_new_double): Plug leak on error.
699         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
701 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
703         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
704         value. [#761048]
706 2016-01-27  Morten Welinder  <terra@gnome.org>
708         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
709         implementation.
711         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
712         css styling.
714 2016-01-23  Morten Welinder  <terra@gnome.org>
716         * src/parser.y (yylex): Be careful about overflowing numeric
717         token.  Fixes #761023.
719 2016-01-20  Morten Welinder  <terra@gnome.org>
721         * src/complex.h: Namespace.  Mostly for macros.
723 2016-01-16  Morten Welinder  <terra@gnome.org>
725         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
726         unused time argument.  All callers changed.
727         (gnm_simple_canvas_grab): Remove unused arguments and return
728         value.  All callers changed.
730         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
731         without regrabbing the focus.  See #760639.
733 2016-01-13  Morten Welinder  <terra@gnome.org>
735         * src/sstest.c (test_random_randsnorm)
736         (test_random_randbernoulli): Print expected stats.
738         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
739         are sane.  Fixes #760544.
741 2016-01-08  Morten Welinder  <terra@gnome.org>
743         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
745 2016-01-06  Morten Welinder  <terra@gnome.org>
747         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
749 2016-01-04  Morten Welinder  <terra@gnome.org>
751         * src/sheet-style.c (sheet_style_apply_range)
752         (sheet_style_set_range): Silently ignore inverted ranges.
754 2016-01-03  Morten Welinder  <terra@gnome.org>
756         * src/sheet-style.c (sheet_style_apply_range)
757         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
759 2016-01-02  Morten Welinder  <terra@gnome.org>
761         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
763         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
764         zero record size.  Fixes #760087.
766         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
768 2016-01-01  Morten Welinder  <terra@gnome.org>
770         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
772         * src/expr-name.c (expr_name_add): Improve check for circular name
773         defintion.  Fixes #760046.
775 2015-12-28  Morten Welinder  <terra@gnome.org>
777         * src/ssconvert.c (convert): When separating sheets, move current
778         sheet to the front.  See bug #694408.
780         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
781         sheet, remove it at the end.
783 2015-12-28  Morten Welinder <terra@gnome.org>
785         * configure.ac: Post-release bump.
787 2015-12-28  Morten Welinder <terra@gnome.org>
789         * Release 1.12.26
791 2015-12-26  Morten Welinder  <terra@gnome.org>
793         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
794         change here (on the grid).
795         (scg_class_init): Not here.  We're not derived from GtkWidget.
797         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
798         (foreach_tile): New top-level function taking few parameters.  All
799         callers changed.
801 2015-12-25  Morten Welinder <terra@gnome.org>
803         * configure.ac: Post-release bump.
805 2015-12-25  Morten Welinder <terra@gnome.org>
807         * Release 1.12.25
809 2015-12-22  Morten Welinder  <terra@gnome.org>
811         * src/ssdiff.c (xml_style_changed): Do more for input message and
812         validation.
814 2015-12-20  Morten Welinder  <terra@gnome.org>
816         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
817         screen size.
818         (scg_resize): Limit frozen zones to screen size.  Not idea, but
819         better than crashing.
821 2015-12-19  Morten Welinder  <terra@gnome.org>
823         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
825 2015-12-13  Morten Welinder  <terra@gnome.org>
827         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
828         merges on column/row insert.  Fixes #504004.
830 2015-12-12  Morten Welinder  <terra@gnome.org>
832         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
833         when the merge partially falls off the far end.
835 2015-12-10  Morten Welinder  <terra@gnome.org>
837         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
838         ensure actions get accel paths.
840 2015-12-09  Morten Welinder  <terra@gnome.org>
842         * src/wbc-gtk.c (wbcg_find_action): New function to look in
843         multiple places for an action.
845         * src/gui-util.c (gnm_action_group_add_actions): Handle
846         translation context.  Also handle toggle actions.
848 2015-12-08  Morten Welinder  <terra@gnome.org>
850         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
851         syntax.
853         * src/gui-util.c (gnm_action_group_add_actions): New function,
854         currently quite dumb.
856         * configure.ac (CC): Insist on c99.
858 2015-12-05  Morten Welinder  <terra@gnome.org>
860         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
861         (drayleigh): Define in terms of dweibull.
863 2015-12-03  Morten Welinder  <terra@gnome.org>
865         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
866         support.  Fixes R.QHYPER(0.1,3,99,13)
868 2015-10-19  Morten Welinder  <terra@gnome.org>
870         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
871         in[2].  Fixes #752182.
873 2015-09-25  Morten Welinder  <terra@gnome.org>
875         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
876         avoid value copying.  Fixes #752181.
877         (gnumeric_table): Handle repeated cells.  Fixes #752178.
879 2015-09-20  Morten Welinder <terra@gnome.org>
881         * configure.ac: Post-release bump.
883 2015-09-20  Morten Welinder <terra@gnome.org>
885         * Release 1.12.24
887 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
889         * src/gui-file.c (gui_file_save_as): just change the extension not more
890         when the original filename has several dots. [ubuntu #1497344]
892 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
894         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
895         anchors. [#754792]
897 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
899         * src/sheet-object.c (sheet_object_update_bounds),
900         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
901         the objects bounds are always updated. Really fix printing.
902         * src/xml-sax-write.c (xml_write_objects): revert previous change.
904 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
906         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
907         printing, but still not perfect.
908         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
909         * src/xml-sax-write.c (xml_write_objects): ditto.
911 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
913         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
914         with one cell or absolute anchors. [#753961]
915         * src/sheet-object.c (sheet_object_draw_cairo):
917 2015-07-28  Morten Welinder <terra@gnome.org>
919         * configure.ac: Post-release bump.
921 2015-07-28  Morten Welinder <terra@gnome.org>
923         * Release 1.12.23
925 2015-07-14  Morten Welinder  <terra@gnome.org>
927         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
928         #752259.
930 2015-07-09  Morten Welinder  <terra@gnome.org>
932         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
933         operation.  Fixes #752124.
935 2015-07-06  Morten Welinder  <terra@gnome.org>
937         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
939 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
941         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
943 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
945         * src/value.c (value_compare_real): handle two empty values however
946         they appear
948 2015-07-03  Morten Welinder  <terra@gnome.org>
950         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
951         context.
953 2015-06-30  Morten Welinder  <terra@gnome.org>
955         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
956         it all the way here.
958 2015-06-29  Morten Welinder  <terra@gnome.org>
960         * src/func.c (function_iterate_argument_values): Improve name
961         handling.  Part of #751660.
963 2015-06-28  Morten Welinder  <terra@gnome.org>
965         * src/value-sheet.c (value_area_get_width, value_area_get_height):
966         Use the same normalization as value_area_foreach.  Fixes #751390.
968         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
969         Fixes #751577.
971 2015-06-26  Morten Welinder  <terra@gnome.org>
973         * src/value.c (value_new_array_empty): Store value_new_empty(),
974         not NULL, in the slots.  We can make this change because
975         value_new_empty() is a singleton that does not need to be
976         released.  Fixes #751502.
978 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
980         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
982 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
984         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
985         (xml_sax_object_end): ensure we always use the right state. [#751217]
987 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
989         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
991 2015-06-20  Morten Welinder  <terra@gnome.org>
993         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
994         overflow.
995         (go_data_cache_records_fetch_index): If resizing failed return
996         NULL early.
998 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1000         * src/parse-util.h (_GnmConventions): add union_char field
1001         * src/parser.y (yylex): handle union_char
1002         (setup_state): set union_char
1004 2015-06-18  Morten Welinder  <terra@gnome.org>
1006         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
1007         specifying types derived from sheet objects.  Fixes #751126.
1008         (xml_sax_hlink): Similarly.
1010 2015-06-16  Morten Welinder  <terra@gnome.org>
1012         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
1013         in names.  Fixes #751056.
1015 2015-05-27  Morten Welinder  <terra@gnome.org>
1017         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
1018         division by zero.  Fixes #749917.
1020         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
1022 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
1024         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
1025         comment #3]
1027 2015-05-11  Morten Welinder  <terra@gnome.org>
1029         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
1030         something bad that will happen whenever FALSE equals TRUE.
1032         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
1033         inline values.
1035         * src/cell.c (gnm_cell_set_array): Improve preconditions.
1037 2015-05-09  Morten Welinder  <terra@gnome.org>
1039         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
1041 2015-04-28  Morten Welinder  <terra@gnome.org>
1043         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
1044         malformed documents.  Fixes #748596.
1045         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
1046         #748595.
1048 2015-04-16  Morten Welinder <terra@gnome.org>
1050         * configure.ac: Post-release bump.
1052 2015-04-16  Morten Welinder <terra@gnome.org>
1054         * Release 1.12.22
1056 2015-04-15  Morten Welinder  <terra@gnome.org>
1058         * src/ranges.c (gnm_range_compare): New function.
1060 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
1062         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
1063         (see #700599, comment #11).
1065 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1067         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
1068         sheet object name, try the image name.
1070 2015-04-11  Morten Welinder  <terra@gnome.org>
1072         * src/sf-dpq.c (qcauchy): Handle cancellation.
1074         * src/mathfunc.c (pcauchy): Simplify.
1076         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
1077         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
1079 2015-04-09  Morten Welinder  <terra@gnome.org>
1081         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
1082         case.
1084 2015-04-04  Morten Welinder  <terra@gnome.org>
1086         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
1087         Fixes #747356.
1089         * src/xml-sax-write.c (xml_write_objects): Save only relevant
1090         parts of the cell bound.
1092         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
1093         Initialize parts of cell_bound not used.
1095 2015-04-01  Morten Welinder  <terra@gnome.org>
1097         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
1098         GNM_XML_2ND here too.
1099         (gnm_sogg_sax_parser_done): Plug leak.
1101 2015-03-30  Morten Welinder  <terra@gnome.org>
1103         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
1104         function.
1106         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
1107         mode.
1109         * src/sstest.c (test_random_randhyperg): Take var=0 case into
1110         account when checking mean.
1112         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
1113         graph here.
1115 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
1117         * src/graph.h: add support for absolute anchoring of sheet objects.
1118         * src/item-grid.c: ditto.
1119         * src/sheet-control-gui.c: ditto.
1120         * src/sheet-filter.c: ditto.
1121         * src/sheet-object-cell-comment.c: ditto.
1122         * src/sheet-object-component.c: ditto.
1123         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
1124         cells by default. [#684450]
1125         * src/sheet-object-image.c: make images don't resize with cells by default.
1126         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
1127         * src/sheet-object.h: ditto.
1128         * src/workbook-view.c: ditto.
1129         * src/xml-sax-read.c: ditto.
1130         * src/xml-sax-write.c: ditto.
1132 2015-03-30  Morten Welinder  <terra@gnome.org>
1134         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1136 2015-03-23  Morten Welinder  <terra@gnome.org>
1138         * src/sstest.c (rand_fractile_test): Plug leak.
1140 2015-03-21  Morten Welinder  <terra@gnome.org>
1142         * src/sstest.c (rand_fractile_test): Add support for
1143         non-continuous distributions.
1145         * src/mathfunc.c (qgeom): Update to current version in R.
1147         * src/gnm-random.c (random_geometric): Don't add one.
1148         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1150 2015-03-20  Morten Welinder  <terra@gnome.org>
1152         * src/sstest.c (test_random_randbinom): New test.
1153         (test_random_randbetween): New test.
1154         (test_random_randexp): New test.
1155         (test_random_randpoisson): New test.
1156         (test_random_randgeom): New test.
1157         (test_random_randnegbinom): New test.
1158         (test_random_randlog): New test.
1159         (test_random_randdiscrete): New test.
1160         (test_random_randgamma): New test.
1161         (test_random_randtdist): New test.
1162         (test_random_randuniform): New test.
1163         (test_random_randfdist): New test.
1164         (test_random_randcauchy): New test.
1165         (test_random_randbeta): New test.
1166         (test_random_randchisq): New test.
1167         (test_random_randhyperg): New test.
1169         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1171 2015-03-19  Morten Welinder  <terra@gnome.org>
1173         * src/func.c (dump_samples): New function to dump all sample in
1174         help documentation to csv format.
1176         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1177         non-positive integer, but neither a nor b is.
1179 2015-03-07  Morten Welinder  <terra@gnome.org>
1181         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1183         * src/sheet-object-widget.c
1184         (sheet_widget_adjustment_write_xml_sax): Use new
1185         go_xml_out_add_double.
1187         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1188         go_xml_out_add_double.
1190 2015-03-05  Morten Welinder  <terra@gnome.org>
1192         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1193         copy_data argument and simply assume it.
1195 2015-03-04  Morten Welinder <terra@gnome.org>
1197         * configure.ac: Post-release bump.
1199 2015-03-04  Morten Welinder <terra@gnome.org>
1201         * Release 1.12.21
1203 2015-03-03  Morten Welinder  <terra@gnome.org>
1205         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1206         version we write and document why we can't easily increase that
1207         version.
1209 2015-03-02  Morten Welinder  <terra@gnome.org>
1211         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1213         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1214         (xml_sax_version): Bring version list up to date.
1216 2015-03-01  Morten Welinder  <terra@gnome.org>
1218         * src/sheet-object-widget.c
1219         (sheet_widget_list_base_set_selection_value): Plug leak.
1221 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1223         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1224         pixbuf stores the image type.
1226 2015-02-28  Morten Welinder  <terra@gnome.org>
1228         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1229         image, not the bytes in addition.
1230         (gnm_soi_class_init): Use property "image" of type GOImage instead
1231         of "image-data" weirdness.
1232         (gnm_soi_draw_cairo): Remove non-functional fallback.
1233         (gnm_soi_default_size): Ditto.
1235 2015-02-27  Morten Welinder  <terra@gnome.org>
1237         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1238         type for image data.  Create image data if needed.
1239         (SheetObjectImage): Use a properly allocated GByteArray.
1241         * src/sheet-object-widget.c
1242         (sheet_widget_adjustment_user_config_impl): Widgets must have
1243         changed names at some point.  Adjust for that.
1245 2015-02-25  Morten Welinder  <terra@gnome.org>
1247         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1248         Also evaluate here.
1249         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1250         contents.
1252 2015-02-23  Morten Welinder  <terra@gnome.org>
1254         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1255         New function.
1257 2015-02-21  Morten Welinder  <terra@gnome.org>
1259         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1260         gboolean, not a double.
1262         * src/sheet-object-widget.c
1263         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1264         fixed, precision.
1265         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1266         new-fangled orientation for scrollbars.
1268 2015-02-20  Morten Welinder  <terra@gnome.org>
1270         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1271         (cb_button_released): Set value to FALSE here(!)
1273 2015-02-18  Morten Welinder  <terra@gnome.org>
1275         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1276         error just because a cell with text format fails to produce an
1277         expression.  That's expected for text format.
1279 2015-02-17  Morten Welinder  <terra@gnome.org>
1281         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1283 2015-02-11  Morten Welinder  <terra@gnome.org>
1285         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1286         writing duplicate style so version 1.2 and earlier can read it.
1288 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1290         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1291         that can't be convered to valid numbers.
1293 2015-02-10  Morten Welinder  <terra@gnome.org>
1295         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1297 2015-02-06  Morten Welinder  <terra@gnome.org>
1299         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1300         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1301         (sheet_widget_radio_button_set_link)
1302         (sheet_widget_list_base_set_links)
1303         (sheet_widget_adjustment_set_details): Only link if we have a
1304         sheet.
1306 2015-02-04  Morten Welinder <terra@gnome.org>
1308         * configure.ac: Post-release bump.
1310 2015-02-04  Morten Welinder <terra@gnome.org>
1312         * Release 1.12.20
1314 2015-01-30  Morten Welinder  <terra@gnome.org>
1316         * src/sheet-object-widget.c
1317         (sheet_widget_adjustment_set_horizontal): Make this public.
1319 2015-01-23  Morten Welinder <terra@gnome.org>
1321         * configure.ac: Post-release bump.
1323 2015-01-23  Morten Welinder <terra@gnome.org>
1325         * Release 1.12.19
1327 2015-01-20  Morten Welinder  <terra@gnome.org>
1329         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1330         See bug #743130.
1332 2015-01-19  Morten Welinder  <terra@gnome.org>
1334         * src/gutils.c (gnm_icon_dir): Remove.
1336         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1337         resources.
1339         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1340         from glib resources.
1342         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1343         Delete.
1345         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1346         otherwise dump them in temporary files in order to load them.
1348         * src/workbook.c (workbook_update_graphs): New function.
1350         * src/workbook-view.c (workbook_view_new_from_input): Update
1351         graphs.
1353 2015-01-14  Morten Welinder  <terra@gnome.org>
1355         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1356         an expresssion, make it a string instead of dropping it on the
1357         floor.
1359 2015-01-13  Morten Welinder  <terra@gnome.org>
1361         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1362         missing shared expression, define a dummy version so we don't get
1363         repeated errors.
1365 2015-01-09  Morten Welinder  <terra@gnome.org>
1367         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1368         sort them later than other values.  This fixes #742601.
1370 2015-01-01  Morten Welinder  <terra@gnome.org>
1372         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1373         names, not stock ids.
1375         * src/gnm-pane.c (update_control_point_colors): Avoid
1376         gtk_style_context_get_background_color.
1377         * src/item-cursor.c (ic_reload_style): Ditto.
1379 2014-12-30  Morten Welinder  <terra@gnome.org>
1381         * src/rendered-value.c (gnm_rendered_value_new):
1382         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1384 2014-12-27  Morten Welinder  <terra@gnome.org>
1386         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1387         unless we really have to.
1389 2014-12-25  Morten Welinder  <terra@gnome.org>
1391         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1392         multihead issue.
1394         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1396         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1398         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1399         icon on sheet direction changes.
1401         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1403 2014-12-24  Morten Welinder  <terra@gnome.org>
1405         * src/wbc-gtk.c (wbcg_show_save_dialog)
1406         (wbcg_close_if_user_permits): Constant propagation.
1408         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1409         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1411 2014-12-22  Morten Welinder  <terra@gnome.org>
1413         * icons/fake-index-theme: we need actions directories too.
1415 2014-12-21  Morten Welinder  <terra@gnome.org>
1417         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1418         handling.
1420 2014-12-20  Morten Welinder  <terra@gnome.org>
1422         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1423         count in delete, such as used from sheet resize.
1425 2014-12-19  Morten Welinder  <terra@gnome.org>
1427         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1428         (before g_setenv is available).
1430 2014-12-16  Morten Welinder  <terra@gnome.org>
1432         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1433         number.
1435         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1436         the delete case.
1438 2014-12-15  Morten Welinder  <terra@gnome.org>
1440         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1441         sheet_style_insert_colrow and handled deletion too.
1443         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1444         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1445         and clean up.
1447         * src/dependent.c (dependent_has_pos, dependent_move): New
1448         functions.
1450 2014-12-14  Morten Welinder  <terra@gnome.org>
1452         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1453         free.
1455 2014-12-11  Morten Welinder  <terra@gnome.org>
1457         * src/dependent.c (style_dep_debug_name): Include position too.
1459         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1460         sheet_row_add.
1461         (colrow_move): Change parameterization slightly.
1463 2014-12-06  Morten Welinder  <terra@gnome.org>
1465         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1466         want them visually gone and g_object_unref does not guarantee
1467         that.
1469         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1470         dependents.  A later step clears and re-applies style completely
1471         for the moved area.  Fixes #741197.
1473         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1474         function.
1476         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1477         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1479         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1480         leak.
1481         (gnm_cmd_context_error_splits_merge): Plug leak.
1483 2014-11-15  Morten Welinder  <terra@gnome.org>
1485         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1486         the wbc is already gone.
1488 2014-11-09  Morten Welinder  <terra@gnome.org>
1490         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1491         data.  Might fix Redhat #1160975.
1493 2014-10-28  Morten Welinder  <terra@gnome.org>
1495         * src/style.c (find_font): Accept NULL font name.
1497 2014-10-27  Morten Welinder  <terra@gnome.org>
1499         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1500         code.
1502 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1504         * src/item-cursor.c (cb_item_cursor_animation): use
1505         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1506         outside of a draw event.
1508 2014-10-26  Morten Welinder  <terra@gnome.org>
1510         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1511         Use throughout.
1512         (GnmValue): Drop type union member.  C99 requires that this be
1513         accessed in a structure.  We have v_any for that.
1515 2014-10-25  Morten Welinder  <terra@gnome.org>
1517         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1518         ought to survive both gcc's aliasing analysis and valgrind's
1519         bitfield problems.
1521 2014-10-24  Morten Welinder  <terra@gnome.org>
1523         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1525 2014-10-21  Morten Welinder  <terra@gnome.org>
1527         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1529 2014-09-25  Morten Welinder <terra@gnome.org>
1531         * configure.ac: Post-release bump.
1533 2014-09-25  Morten Welinder <terra@gnome.org>
1535         * Release 1.12.18
1537 2014-09-25  Morten Welinder  <terra@gnome.org>
1539         * src/sheet-filter.c (gnm_filter_condition_new_single)
1540         (gnm_filter_condition_new_double): Fix preconditions.  See
1541         #735249.
1543 2014-09-23  Morten Welinder  <terra@gnome.org>
1545         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1546         doesn't spew deprecation warnings by default.
1548 2014-09-11  Morten Welinder  <terra@gnome.org>
1550         * src/style.c (gnm_translate_underline_from_pango): Survive
1551         PANGO_UNDERLINE_ERROR.
1553 2014-06-09  Morten Welinder <terra@gnome.org>
1555         * configure.ac: Post-release bump.
1557 2014-06-09  Morten Welinder <terra@gnome.org>
1559         * Release 1.12.17
1561 2014-05-28  Morten Welinder  <terra@gnome.org>
1563         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1564         when we drag the handle into the col/row canvas.
1566         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1568         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1569         handler.  Fixes #730884.
1571 2014-05-27  Morten Welinder  <terra@gnome.org>
1573         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1574         col/row canvas.  Fixes #730857.
1575         (gnm_pane_dispose): Release references.
1577 2014-05-23  Morten Welinder <terra@gnome.org>
1579         * configure.ac: Post-release bump.
1581 2014-05-23  Morten Welinder <terra@gnome.org>
1583         * Release 1.12.16
1585 2014-05-23  Morten Welinder  <terra@gnome.org>
1587         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1588         need better building blocks for commands; this is one such.
1590 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1592         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1593         (cmd_hyperlink_redo): ditto
1594         (cmd_hyperlink_finalize): ditto
1595         (cb_cmd_hyperlink_find_cells): ditto
1597 2014-05-20  Morten Welinder  <terra@gnome.org>
1599         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1601         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1602         outline and fill colours that are auto, even for the 1.0 format.
1604         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1605         conditional format ranges.
1607 2014-05-14  Morten Welinder  <terra@gnome.org>
1609         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1611         * src/gutils.c (gnm_object_has_readable_prop): New function.
1613         * configure.ac (scrollkeeper): Test if we have it.
1615 2014-05-05  Morten Welinder  <terra@gnome.org>
1617         * src/wbc-gtk.c (toolbar_context_menu): Remove
1618         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1619         false for years and is unsupported in gtk+.
1621 2014-04-30  Morten Welinder <terra@gnome.org>
1623         * configure.ac: Post-release bump.
1625 2014-04-30  Morten Welinder <terra@gnome.org>
1627         * Release 1.12.15
1629 2014-04-23  Morten Welinder  <terra@gnome.org>
1631         * src/complete.c (complete_idle): Avoid abort().
1633         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1634         source.
1636 2014-04-22  Morten Welinder  <terra@gnome.org>
1638         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1639         replaced with calls to gnm_color_new_go.
1641         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1643         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1645 2014-04-21  Morten Welinder  <terra@gnome.org>
1647         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1648         only in the hop of fixing #728465.
1650 2014-04-13  Morten Welinder <terra@gnome.org>
1652         * configure.ac: Post-release bump.
1654 2014-04-13  Morten Welinder <terra@gnome.org>
1656         * Release 1.12.14
1658 2014-04-11  Morten Welinder  <terra@gnome.org>
1660         * src/item-bar.c: Get colours when we draw; only get sizing
1661         relevant information at odd times, in particular when parent
1662         widgets may be insensitive, such as during a load-onto-pristine.
1663         Fixes #728007.
1665 2014-04-10  Morten Welinder  <terra@gnome.org>
1667         * src/item-bar.c (ib_reload_style): Add debug code.
1669 2014-04-09  Morten Welinder  <terra@gnome.org>
1671         * src/number-match.c (format_match_datetime): Plug leak on certain
1672         failure cases.
1674 2014-04-02  Morten Welinder  <terra@gnome.org>
1676         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1677         integer test.
1679 2014-03-30  Morten Welinder  <terra@gnome.org>
1681         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1682         list of extra uis.
1684 2014-03-28  Morten Welinder  <terra@gnome.org>
1686         * src/main-application.c (main): Move Ubuntu hack earlier.
1688 2014-03-27  Morten Welinder  <terra@gnome.org>
1690         * src/main-application.c (main): Attempt to banish ubuntu's
1691         overlay scrollbar which don't work.
1693 2014-03-21  Morten Welinder  <terra@gnome.org>
1695         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1696         case insensitve and allow wildcards.
1698         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1699         from fn-string.
1701         * src/style-conditions.c (generate_end_match): Use case
1702         insensitive comparison.  Pull negation into the operator.
1703         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1704         insensitive.
1706 2014-03-18  Morten Welinder  <terra@gnome.org>
1708         * src/gui-util.c (kill_popup_menu): One more try at really killing
1709         the context menu after we're done with it.
1711         * src/item-grid.c (item_grid_realize): Plug leak.
1713 2014-03-18  Morten Welinder <terra@gnome.org>
1715         * configure.ac: Post-release bump.
1717 2014-03-18  Morten Welinder <terra@gnome.org>
1719         * Release 1.12.13
1721 2014-03-18  Morten Welinder  <terra@gnome.org>
1723         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1724         providers from screens on exit.
1726         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1728 2014-03-17  Morten Welinder  <terra@gnome.org>
1730         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1732 2014-03-16  Morten Welinder  <terra@gnome.org>
1734         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1735         formats.  I'm not positive we do things right, but this avoids
1736         criticals, at least.
1738         * src/cell.c (cell_set_expr_internal): Don't change an existing
1739         value.
1741 2014-03-15  Morten Welinder  <terra@gnome.org>
1743         * src/style-border.c (gnm_border_shutdown): New function to help
1744         debug leaks.  Shutdown border_none here.
1746         * src/style-color.c (gnm_color_shutdown): Not here.
1748 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1750         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1751         the tooltip where it will not immediatly be destroyed after creation.
1752         [really fix #706659]
1754 2014-03-14  Morten Welinder  <terra@gnome.org>
1756         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1757         if we don't have any.
1759 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1761         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1763 2014-03-13  Morten Welinder  <terra@gnome.org>
1765         * src/style-conditions.c (gnm_style_cond_eval): New function
1766         extracted from gnm_style_conditions_eval.  Make "equal" case
1767         insensitive.  Fixes #726246.
1769         * src/ssconvert.c (convert): Show resize message only if verbose.
1771 2014-03-12  Morten Welinder  <terra@gnome.org>
1773         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1774         function.
1775         (gnm_style_cond_canonicalize): New function.
1777         * src/ssconvert.c (convert): only print "Using exporter ..." if
1778         --verbose is given, and print it to stderr.
1780 2014-03-11  Morten Welinder  <terra@gnome.org>
1782         * src/sheet.c (cb_set_markup): Don't mess directly with
1783         cell->value.  We need to trigger a re-render.  Fixes #726086.
1785         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1786         for the pre-validation assignment.
1788         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1789         before assigning it to the cell.
1791 2014-03-10  Morten Welinder  <terra@gnome.org>
1793         * gnumeric.xsd: Update valign/halign attributes.  Update print
1794         setup.
1796         * src/sheet-filter.c (gnm_filter_condition_new_single)
1797         (gnm_filter_condition_new_double): Add preconditions.
1799 2014-03-07  Morten Welinder  <terra@gnome.org>
1801         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1803 2014-03-05  Morten Welinder  <terra@gnome.org>
1805         * src/expr.c (gnm_expr_top_is_volatile): New function.
1807         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1808         volatile expressions.
1810         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1811         (dependent_is_volatile): New function.
1813         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1814         Don't set the initial range here.
1816         * src/expr.c (gnm_expr_top_first_funcall)
1817         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1818         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1819         gnm_expr_walk.
1820         (gnm_expr_top_get_boundingbox): Set initial range here.
1822         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1823         Ditto.
1825 2014-03-03  Morten Welinder <terra@gnome.org>
1827         * configure.ac: Post-release bump.
1829 2014-03-03  Morten Welinder <terra@gnome.org>
1831         * Release 1.12.12
1833 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1835         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1837 2014-03-02  Morten Welinder  <terra@gnome.org>
1839         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1840         name-collections.
1841         (wbcg_sheet_order_changed): Mark ui as being updated.
1842         (cb_bnotebook_page_reordered): Ignore during UI update.
1844         * src/expr-name.c (gnm_named_expr_collection_dump)
1845         (gnm_named_expr_collection_sanity_check): New function.
1847         * src/application.c (gnm_app_sanity_check): New function.
1849         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1850         string inside the GOString as a hash key.  It can change.
1851         (gnm_named_expr_collection_foreach): As a consequence of the
1852         above, the first argument to the handler for
1853         gnm_named_expr_collection_foreach changes to something
1854         unspecified.  All callers changed.
1856         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1857         sheet.
1859         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1860         when encountering strangeness.
1862 2014-02-28  Morten Welinder  <terra@gnome.org>
1864         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1865         If row/column canvas is not visible, ignore them.
1866         (scg_gtk_paned_set_position): Don't allow negative position.
1867         Fixes #725375.
1869         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1870         changes.
1872 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1874         * src/item-grid.c (item_grid_draw_region): fix background filling for
1875         rtl sheets. [#725276]
1877 2014-02-25  Morten Welinder  <terra@gnome.org>
1879         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1880         (gnumeric_create_popup_menu): Drop return value from handler.
1882         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1883         are cell comments by position.
1885 2014-02-24  Morten Welinder  <terra@gnome.org>
1887         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1889         * src/colrow.c (colrow_equal): Don't use floating-point equality
1890         here.  Allow a difference of 1e-5 pt for size.
1892 2014-02-23  Morten Welinder  <terra@gnome.org>
1894         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1895         fill in the new areas with most common styles for the rows to the
1896         left of the new columns or the columns above the new area.
1898 2014-02-19  Morten Welinder  <terra@gnome.org>
1900         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1901         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1903         * src/mathfunc.c (gnm_log2): New function.
1905 2014-02-18  Morten Welinder  <terra@gnome.org>
1907         * src/ssdiff.c (xml_style_changed): Report differences for
1908         auto-color settings.
1910 2014-02-17  Morten Welinder  <terra@gnome.org>
1912         * src/ssconvert.c (convert): Add --resize option.
1914 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1916         * src/item-grid.c (item_grid_realize): fix persistence of
1917         hyperlink tips. [see #724108]
1919 2014-02-16  Morten Welinder <terra@gnome.org>
1921         * configure.ac: Post-release bump.
1923 2014-02-16  Morten Welinder <terra@gnome.org>
1925         * Release 1.12.11
1927 2014-02-16  Morten Welinder  <terra@gnome.org>
1929         * src/func.c (function_dump_defs): Update boilerplate.
1931 2014-02-11  Morten Welinder <terra@gnome.org>
1933         * configure.ac: Post-release bump.
1935 2014-02-11  Morten Welinder <terra@gnome.org>
1937         * Release 1.12.10
1939 2014-02-07  Morten Welinder  <terra@gnome.org>
1941         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1942         entry on top of merged cells.  Fixes #723600.
1944 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1946         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1947         a better fix to previous issue.
1949 2014-01-30  Morten Welinder  <terra@gnome.org>
1951         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1952         toolbar icons.
1954         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1955         smoother (when not using the fallback).  Avoid using hard light
1956         for ant-ing -- that doesn't work for the same reason as alpha not
1957         working.  Always use phase=0 for non-ant stipples.
1958         (GnmItemCursor): Use the canvas item's visibility flag instead of
1959         rolling our own.
1961 2014-01-29  Morten Welinder  <terra@gnome.org>
1963         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1965         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1966         check for bad clipping somewhere in gtk+ or theme land.
1968 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1970         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1971         component reference to the workbook.
1973 2014-01-27  Morten Welinder  <terra@gnome.org>
1975         * src/func.c (function_dump_defs): Undo wiki change.
1977 2014-01-21  Morten Welinder  <terra@gnome.org>
1979         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1980         the amount of work we do for ant-ing.  Fixes #381011, patch from
1981         Jean.
1982         (ic_reload_style): Ignore alpha component of ant colours.
1984 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1986         * src/graph.c (gnm_go_data_vector_load_len),
1987         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1988         [#722294]
1990 2014-01-16  Morten Welinder  <terra@gnome.org>
1992         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1993         cb_darken_foreground_attributes and change to take non-white
1994         background into account.
1996 2014-01-12  Morten Welinder  <terra@gnome.org>
1998         * src/mathfunc.c (expmx2h): Split out from dnorm.
1999         (dhyper): Round the chosen "p" to float to improve accuracy of
2000         "q".
2002 2014-01-11  Morten Welinder  <terra@gnome.org>
2004         * src/mathfunc.c (pow1p): Improve accuracy.
2005         (R_D_nonint): Fix rounding problem.
2006         (ebd0): New extended version of bd0.
2007         (dpois_raw, dbinom_raw): Use ebd0.
2008         (dbinom_raw): Handle x==n and x==0 much better.
2010 2014-01-08  Morten Welinder  <terra@gnome.org>
2012         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
2013         g_mkdtemp_full.
2015         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
2017         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
2018         return the WorkbookView instead of a boolean.
2020 2014-01-01  Morten Welinder  <terra@gnome.org>
2022         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
2024 2013-12-31  Morten Welinder  <terra@gnome.org>
2026         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
2027         mathfunc.c
2029 2013-12-30  Morten Welinder  <terra@gnome.org>
2031         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
2032         (bd0): Reimplement.
2033         (dpois_raw): Avoid going through logs, if possible.
2035 2013-12-25  Morten Welinder  <terra@gnome.org>
2037         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
2038         we return FALSE so we don't try to remove the source later.
2040 2013-12-22  Morten Welinder  <terra@gnome.org>
2042         * src/gui-util.c (gnm_widget_measure_string): New function
2043         allowing the elimination of all gtk_style_context_get_font calls.
2045 2013-12-19  Morten Welinder  <terra@gnome.org>
2047         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
2048         especially when |x|<<1.  Ditto for x<-1.
2050 2013-12-17  Morten Welinder  <terra@gnome.org>
2052         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
2053         multiplication.
2055 2013-12-14  Morten Welinder  <terra@gnome.org>
2057         * src/sf-gamma.c (complex_igamma): New function.
2059 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
2061         * */*.c: Fix some leaks and null dereferences pointed out by
2062         cppcheck.
2064 2013-12-12  Morten Welinder  <terra@gnome.org>
2066         * src/parser.y (array_row): Avoid overrunning string when multiple
2067         missing closing parentheses are detected.  Fixes #720353.
2069 2013-12-11  Morten Welinder  <terra@gnome.org>
2071         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
2072         gdk_event_get_screen, not from ->screen.  This might fix #720182.
2074         * src/*.c: Use accessor function for GdkEvent when convenient.
2076 2013-12-07  Morten Welinder  <terra@gnome.org>
2078         * src/application.c (gnm_app_init): Don't allocate a
2079         GtkRecentManager if we are not in gui mode.
2081         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
2082         behaviour.
2083         * src/dependent.c (deprange_hash): Ditto.
2085 2013-12-04  Morten Welinder  <terra@gnome.org>
2087         * src/sf-gamma.c (gamma_error_factor): Add extra term.
2089 2013-12-07  Morten Welinder  <terra@gnome.org>
2091         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
2092         of the argument for [-1.5;-0.5].
2094         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
2095         Re z < 1/2.  Avoid some overflow.
2097 2013-12-02  Morten Welinder  <terra@gnome.org>
2099         * src/sf-bessel.c (bessel_y): Use the J series when possible.
2101 2013-12-07  Morten Welinder  <terra@gnome.org>
2103         * src/sf-bessel.c (bessel_j): Use the taylor series in the
2104         parameter range where that makes sense.
2106         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
2107         (gnm_beta): Ditto.
2109 2013-11-30  Morten Welinder  <terra@gnome.org>
2111         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
2112         negative values.
2114 2013-11-28  Morten Welinder <terra@gnome.org>
2116         * configure.ac: Post-release bump.
2118 2013-11-28  Morten Welinder <terra@gnome.org>
2120         * Release 1.12.9
2122 2013-11-25  Morten Welinder  <terra@gnome.org>
2124         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
2125         mathfunc.c
2127 2013-11-19  Morten Welinder  <terra@gnome.org>
2129         * src/print.c (print_page): Fix check for missing object.  Fixes
2130         #712662.
2132 2013-11-18  Morten Welinder  <terra@gnome.org>
2134         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2136 2013-11-15  Morten Welinder  <terra@gnome.org>
2138         * src/mathfunc.c (reduce_pi_half): New function.
2140 2013-11-14  Morten Welinder  <terra@gnome.org>
2142         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2143         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2145 2013-11-13  Morten Welinder  <terra@gnome.org>
2147         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2149 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2151         * src/sheet-object.c (sheet_object_view_button2_pressed),
2152         (sheet_object_view_class_init): implement double click for graph sheets.
2153         [#712216]
2155 2013-11-12  Morten Welinder  <terra@gnome.org>
2157         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2158         emission.
2159         (cb_bnotebook_page_reordered): New function.
2160         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2162         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2164 2013-11-06  Morten Welinder  <terra@gnome.org>
2166         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2168 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2170         * src/workbook-view.c: add more introspection related comments.
2171         * src/workbook.c: ditto.
2173 2013-11-03  Morten Welinder  <terra@gnome.org>
2175         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2176         sin/cos before scaling by pi.
2178 2013-11-01  Morten Welinder  <terra@gnome.org>
2180         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2181         (gnm_gamma): Protect against unnecessary overflow at top of range.
2183 2013-10-31  Morten Welinder  <terra@gnome.org>
2185         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2186         avoids accuracy problems since any cdf is completely flat in terms
2187         of floating point values when going sufficiently far into the
2188         tail.
2189         (qtukey): Ditto.
2190         (qbeta): Ditto.
2191         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2192         (permut): Route this into pochhammer.
2193         (qfact): New function.  Tabulate 0! through 50000! using quad
2194         precision arithmetic.
2195         (combin, fact, pochhammer): Improve accuracy using qfact.
2197 2013-10-22  Morten Welinder  <terra@gnome.org>
2199         * src/func.c (function_call_with_exprs): Move flags argument into
2200         structure.
2202 2013-10-19  Morten Welinder  <terra@gnome.org>
2204         * src/hlink.c (_gnm_hlink_init): New function.
2205         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2207 2013-10-07  Morten Welinder <terra@gnome.org>
2209         * configure.ac: Post-release bump.
2211 2013-10-07  Morten Welinder <terra@gnome.org>
2213         * Release 1.12.8
2215 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2217         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2219 2013-10-03  Morten Welinder  <terra@gnome.org>
2221         * src/item-cursor.c (item_cursor_draw): Drop expose area
2222         optimization that may not be correct with current gtk.  See bug
2223         #709320.
2225 2013-09-29  Morten Welinder  <terra@gnome.org>
2227         * src/main-application.c: Include <io.h> for win32.
2229         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2231 2013-09-25  Morten Welinder  <terra@gnome.org>
2233         * src/gnumeric.css: Use lighter green for function marker.
2235 2013-09-01  Morten Welinder <terra@gnome.org>
2237         * configure.ac: Post-release bump.
2239 2013-09-01  Morten Welinder <terra@gnome.org>
2241         * Release 1.12.7
2243 2013-08-29  Morten Welinder  <terra@gnome.org>
2245         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2246         Fixes #707047.
2248 2013-08-28  Morten Welinder  <terra@gnome.org>
2250         * src/mathfunc.c (gnm_gamma): Improve precision for large
2251         arguments.
2252         (gnm_yn): Not needed anymore.
2253         (bessel_i): Don't mark error strings for translation.
2255 2013-08-27  Morten Welinder <terra@gnome.org>
2257         * configure.ac: Post-release bump.
2259 2013-08-27  Morten Welinder <terra@gnome.org>
2261         * Release 1.12.6
2263 2013-08-26  Morten Welinder  <terra@gnome.org>
2265         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2266         (internal_style_list): Add fast pre-optimization to bring down the
2267         number of entries before we start messing with hashes.  Fixes
2268         #699045.
2270 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2272         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2273         GraphDimEditor::changed. See bug 706591 comment #2.
2275 2013-08-19  Morten Welinder <terra@gnome.org>
2277         * configure.ac: Post-release bump.
2279 2013-08-19  Morten Welinder <terra@gnome.org>
2281         * Release 1.12.5
2283 2013-08-15  Morten Welinder  <terra@gnome.org>
2285         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2286         Fixes #706095.
2288         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2289         parameters.  See bug 705913, comment 6.
2291 2013-08-13  Morten Welinder  <terra@gnome.org>
2293         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2295 2013-08-12  Morten Welinder  <terra@gnome.org>
2297         * src/sheet-object-widget.c (sow_create_widget): New function.
2298         Add sheet-object class to widgets.
2300 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2302         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2303         initial colour
2304         (sheet_widget_button_draw_cairo): also scale line thickness
2305         (sheet_widget_checkbox_draw_cairo): scale button size
2306         (sheet_widget_radio_button_draw_cairo): scale button size
2308 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2310         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2311         argument and change all callers
2313 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2315         * src/sheet-object-widget.c (get_font): add fall-backs
2317 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2319         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2320         draw_cairo_text.
2321         (draw_cairo_text): add h-vcenter argument and change all callers
2323 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2325         * src/sheet-object-widget.c (cb_range_destroyed),
2326         (sheet_widget_scrollbar_create_widget),
2327         (sheet_widget_spinbutton_create_widget),
2328         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2329         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2331 2013-08-09  Morten Welinder  <terra@gnome.org>
2333         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2334         get_font.
2335         (get_font): New function extracted from draw_cairo_text.
2337 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2339         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2340         if possible
2342 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2344         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2345         allow multi-paragraph with a highlighted line. Change all callers
2346         (sheet_widget_list_draw_cairo): use draw_cairo_text
2348 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2350         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2351         cairo version for Gnuemric too.
2352         (sheet_widget_button_draw_cairo): ditto
2353         (sheet_widget_scrollbar_draw_cairo): ditto
2354         (sheet_widget_spinbutton_draw_cairo): ditto
2355         (sheet_widget_slider_draw_cairo): ditto
2356         (sheet_widget_checkbox_draw_cairo): ditto
2357         (sheet_widget_radio_button_draw_cairo): ditto
2358         (sheet_widget_list_draw_cairo): ditto
2359         (sheet_widget_combo_draw_cairo): ditto
2361 2013-08-08  Morten Welinder  <terra@gnome.org>
2363         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2364         Reduce crazy relative offsets.
2366 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2368         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2369         change all callers
2370         (sheet_widget_frame_draw_cairo): new
2371         (sheet_widget_button_draw_cairo): new
2372         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2373         (sheet_widget_scrollbar_vertical_draw_cairo): new
2374         (sheet_widget_scrollbar_class_init): connect the above
2375         (sheet_widget_spinbutton_draw_cairo): new
2376         (sheet_widget_spinbutton_class_init): connect the above
2377         (sheet_widget_slider_horizontal_draw_cairo): new
2378         (sheet_widget_slider_vertical_draw_cairo): new
2379         (sheet_widget_slider_draw_cairo): new
2380         (sheet_widget_slider_class_init): connect the above
2381         (sheet_widget_list_draw_cairo): new
2382         (sheet_widget_list_class_init): connect the above
2383         (sheet_widget_combo_draw_cairo): new
2384         (sheet_widget_combo_class_init): connect the above
2386 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2388         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2389         change all uses of this macro
2390         (draw_cairo_text): new
2391         (sheet_widget_checkbox_draw_cairo): new
2392         (sheet_widget_radio_button_draw_cairo): new
2394 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2396         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2397         gtk_offscreen_window_new without a default screen (see bugs #705638
2398         and #705640)
2400 2013-08-07  Morten Welinder  <terra@gnome.org>
2402         * src/ssconvert.c (main): Initialize gtk+ without opening any
2403         display.
2405 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2407         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2409 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2411         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2412         * src/sheet-control-gui.c (scg_init): init new fields
2413         (scg_im_destroy): new
2414         (scg_finalize): call scg_im_destroy
2415         (cb_cell_im_timer): new
2416         (scg_find_pane): new
2417         (scg_show_im_tooltip): new
2418         (scg_class_init): init new field
2419         * src/sheet-control-priv.h: add field
2420         * src/sheet-control.c: add virtual
2421         * src/sheet-control.h: add virtual
2422         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2423         (sv_update): call sheet_view_edit_pos_tool_tips
2424         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2425         in pixels
2426         (sheet_row_get_distance_pixels): new
2427         * src/sheet.h (sheet_row_get_distance_pixels): new
2429 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2431         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2432         nodes in guppi graphs. [Debian #718594]
2434 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2436         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2437         'default'
2439 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2441         * src/sheet-control-gui.c (context_menu_handler): add argument to
2442         dialog_cell_format call
2443         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2444         dialog_cell_format call
2445         (cb_data_validate): ditto
2447 2013-07-30  Morten Welinder  <terra@gnome.org>
2449         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2450         colour.  Fixes rest of #705031.
2452 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2454         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2456 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2457         for Dmitry Smirnov
2458         * gnumeric.desktop.in: add ODS files
2460 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2462         * src/graph.c (gnm_go_data_vector_load_values): really load all
2463         values for multiple ranges.
2465 2013-07-19  Morten Welinder  <terra@gnome.org>
2467         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2468         check: the enum has a hole in the middle.  Fixes #704562.
2470 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2472         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2473         printing.
2474         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2476 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2478         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2479         (gnm_so_path_set_property): ditto
2480         (gnm_so_path_get_property): ditto
2482 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2484         * src/gnm-so-path.c (so_path_view_set_bounds),
2485         (cb_gnm_so_path_changed): a better fix for the text position.
2487 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2489         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2490         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2491         * src/gnm-so-path.c (so_path_view_set_bounds),
2492         (cb_gnm_so_path_changed): fix text wrap in paths too.
2494 2013-07-16  Morten Welinder  <terra@gnome.org>
2496         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2497         computing range size.  Fixes #704325.
2499 2013-07-15  Morten Welinder  <terra@gnome.org>
2501         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2502         that.  Fixes #704004.
2504         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2506         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2507         against oversize range.
2509 2013-07-12  Morten Welinder  <terra@gnome.org>
2511         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2512         sure it falls within the sheet.
2513         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2514         parts are on different sheets.  Fixes #704109.
2516 2013-07-10  Morten Welinder <terra@gnome.org>
2518         * configure.ac: Post-release bump.
2520 2013-07-10  Morten Welinder <terra@gnome.org>
2522         * Release 1.12.4
2524 2013-07-10  Morten Welinder  <terra@gnome.org>
2526         * src/value.c (parse_criteria): Patterns should anchor at the end
2527         (#703770) and be case insensitive (no bug#).
2529 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2531         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2532         to create an image of unknown type
2534 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2536         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2537         signage
2538         (cb_assign_val): quieten warning about signed/unsigned comparison
2540 2013-07-03  Morten Welinder  <terra@gnome.org>
2542         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2543         crazy-large ranges.
2544         (cb_assign_val): Ditto.
2546 2013-07-02  Morten Welinder  <terra@gnome.org>
2548         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2549         (cb_style_list_add_node): Ditto.
2550         (verify_hashes): Ditto.
2551         (internal_style_list): Ditto.
2553         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2554         deck chairs.
2556 2013-07-01  Morten Welinder  <terra@gnome.org>
2558         * configure.ac (long double): Crude use -lm for long double
2559         function checks.  Fixes #703397.
2561 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2563         * src/expr.c (gnm_expr_list_copy): new
2564         * src/expr.h (gnm_expr_list_copy): new
2566 2013-06-26  Morten Welinder  <terra@gnome.org>
2568         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2569         of ->op before using it.  Fixes #703143.
2571 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2573         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2574         [#703052]
2575         (gnm_so_path_copy): fixed copy with multiple paths.
2577 2013-06-25  Morten Welinder <terra@gnome.org>
2579         * configure.ac: Post-release bump.
2581 2013-06-25  Morten Welinder <terra@gnome.org>
2583         * Release 1.12.3
2585 2013-06-24  Morten Welinder  <terra@gnome.org>
2587         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2588         sheet.  Fixes #703006.
2590 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2592         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2593         without sheet
2595 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2597         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2598         a valid pattern. [#702833]
2599         * src/pattern.c (gnumeric_background_set): ditto.
2601 2013-06-21  Morten Welinder  <terra@gnome.org>
2603         * src/item-grid.c (item_grid_draw_region): Plug leak.
2605         * src/item-bar.c (ib_reload_style): Plug leak.
2607 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2609         * src/wbc-gtk.c (show_gui): protect against excessively large
2610         preferred widow sizes
2612 2013-06-14  Morten Welinder  <terra@gnome.org>
2614         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2616         * src/workbook.c (workbook_sheet_delete): Debug.
2617         (workbook_dispose): Also clear style here.  Styles can have
2618         dependents now.  Fixes #702218.
2620 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2622         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2624 2013-06-12  Morten Welinder  <terra@gnome.org>
2626         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2627         Fixes #702101.
2629 2013-06-04  Morten Welinder  <terra@gnome.org>
2631         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2633 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2635         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2636         (scg_comment_display): adjust background and fontcolor if necessary
2638 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2640         * src/item-grid.c (cb_cursor_come_to_rest):
2641         gnumeric_position_tooltip needs the tooltip size, so load the text
2642         before calling it.
2644 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2646         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2647         with button 2
2649 2013-05-27  Morten Welinder  <terra@gnome.org>
2651         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2652         and we aren't very good at it.
2654 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2656         * component/Gnumeric-embed.xml.in: add accelerator
2657         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2658         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2659         (EditGotoCellIndicator): new
2660         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2661         (wbcg_focus_current_cell_indicator): new
2662         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2664 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2666         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2667         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2668         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2669         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2671 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2673         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2674         behave the same as far as cell selection is concerned. This fixes
2675         bug #700792
2676         (item_grid_button_released): ditto
2678 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2680         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2681         to include hidden cells
2682         (cb_sheet_get_extent): handle hidden cells setting
2683         (sheet_get_printarea): do not include hidden cells
2684         * src/sheet.h (sheet_get_extent): add argument and change all
2685         callers
2687 2013-05-26  Morten Welinder  <terra@gnome.org>
2689         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2690         Termiate when contributions vanish.
2692 2013-05-24  Morten Welinder  <terra@gnome.org>
2694         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2695         the outer integral.
2696         (pfuncinverter): Handle lack of dfunc (poorly).
2698 2013-05-23  Morten Welinder  <terra@gnome.org>
2700         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2701         interval out from out from R_ptukey.
2702         (R_ptukey): Split the interval nearest 0 into a sequence of
2703         intervals over which the integrand looks a lot more like a
2704         polynomial.  This fixes accuracy problems for low degrees of
2705         freedom.
2707         * src/sheet-style.c (internal_style_list): Fix critical.
2709 2013-05-22  Morten Welinder  <terra@gnome.org>
2711         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2713 2013-05-21  Morten Welinder  <terra@gnome.org>
2715         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2717 2013-05-19  Morten Welinder  <terra@gnome.org>
2719         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2720         boundaries.
2721         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2723 2013-05-18  Morten Welinder  <terra@gnome.org>
2725         * src/mathfunc.c (pnorm2): New function.
2726         (R_ptukey): New function imported from R with local improvements.
2728 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2730         * src/print.c (gnm_create_widget_cb): by default observe
2731         manual page breaks
2733 2013-05-14  Morten Welinder  <terra@gnome.org>
2735         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2736         (gnm_range_geometric_mean): Handle two FIXMEs.
2738 2013-05-13  Morten Welinder  <terra@gnome.org>
2740         * src/*.c: Mark gobject property strings as P_(...).
2742 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2744         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2746 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2748         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2749         rather than gnm_cell_assign_value
2751 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2753         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2754         first column
2756 2013-05-05  Morten Welinder  <terra@gnome.org>
2758         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2759         rendered value here.  Fixes #699647.
2761 2013-05-03  Morten Welinder  <terra@gnome.org>
2763         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2764         accelerator for redo.  Fixes #699579.
2765         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2766         focusable.
2768         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2770 2013-05-01  Morten Welinder  <terra@gnome.org>
2772         * src/print-info.c: Add gsf includes to make things work with
2773         libgsf 1.14.24.  Redhat #957851.
2775 2013-04-29  Morten Welinder  <terra@gnome.org>
2777         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2778         cells.
2780 2013-04-26  Morten Welinder <terra@gnome.org>
2782         * configure.ac: Post-release bump.
2784 2013-04-26  Morten Welinder <terra@gnome.org>
2786         * Release 1.12.2
2788 2013-04-26  Morten Welinder  <terra@gnome.org>
2790         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2791         row/column items the default.
2793 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2795         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2797 2013-04-24  Morten Welinder  <terra@gnome.org>
2799         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2800         widget parameter.  All callers changed.
2802         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2803         delayedMovement.timer.
2805         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2806         animation_cursor.
2808         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2809         windows_update_timer.
2811         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2812         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2813         valid tag.
2815         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2816         sliding).
2818 2013-04-23  Morten Welinder  <terra@gnome.org>
2820         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2822         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2823         critical.  Fixes #698680.
2825         * src/gui-file.c (gui_file_save_as): For export, change extension.
2826         Fixes #698636.
2828 2013-04-22  Morten Welinder  <terra@gnome.org>
2830         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2831         Somehow fixes #625687.
2833 2013-04-20  Morten Welinder  <terra@gnome.org>
2835         * src/go-data-slicer-field.c
2836         (go_data_slicer_field_set_field_type_pos): Add precondition for
2837         slicer.
2839 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2841         * src/print-info.c (render_title): new
2843 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2845         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2846         cells.
2847         (sheet_range_set_text): ditto
2849 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2851         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2852         than padding.
2854 2013-04-22  Morten Welinder  <terra@gnome.org>
2856         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2858 2013-04-19  Morten Welinder  <terra@gnome.org>
2860         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2861         view approach.  Fixes #689283.
2863         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2864         mode.
2865         (wbc_gtk_init_color_fore): Ditto.
2866         (wbc_gtk_init_color_back): Ditto.
2868 2013-04-17  Morten Welinder  <terra@gnome.org>
2870         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2871         button.
2873         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2874         font_name_haction.
2876         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2877         only for horizontal toolbars.
2879         * src/gui-file.c (file_saver_format_changed_cb): New function to
2880         change the extension when the format is changed.
2881         (gui_file_save_as): Don't try to hide the extension -- it
2882         interferes with the file chooser's completion.  Fixes #695839.
2884 2013-04-16  Morten Welinder  <terra@gnome.org>
2886         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2887         menu for graph sheets.  Fixes #685446.
2888         (sheet_menu_label_run): Disable resize for graph sheets.
2890         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2891         #661800.
2892         (parse_criteria): Handle criteria "=" and "<>" (with no value
2893         after the operator) special.  These test for empty and non-empty
2894         values.  Fixes #686156.
2896         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2897         "anchor_start" and "anchor_end".  All callers changed.
2899 2013-04-15  Morten Welinder  <terra@gnome.org>
2901         * src/application.c (add_icon): Plug leak.
2903         * src/number-match.c (format_match_decimal_number): Try also major
2904         non-locale currencies.  Fixes #577768.
2906 2013-04-13  Morten Welinder  <terra@gnome.org>
2908         * src/mathfunc.c (pochhammer): Improve precision a bit.
2909         (binomialcf): Lower cfSmall by 10^3.  This helps
2910         pbeta(0.9,10,0.5).
2912         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2913         doesn't prevent multiple versions from co-existing.
2915         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2916         dirty.  Callers already appear to handle this when needed
2917         and not when not wanted.  Fixes #697927.
2919 2013-04-12  Morten Welinder  <terra@gnome.org>
2921         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2922         #697850.
2923         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2924         reported to R).
2925         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2927 2013-04-11  Morten Welinder  <terra@gnome.org>
2929         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2930         reference with invalid_sheet.  Fixes #683494.
2932         * src/complex.c (complex_to_string): Drop format arguments.  All
2933         callers changed.  Make up a format with enough precision for round
2934         tripping.  Fixes #697634.
2936 2013-04-09  Morten Welinder  <terra@gnome.org>
2938         * src/complex.c (complex_from_string): Make this handle embedded
2939         spaces systematically.
2940         (is_unit_imaginary): Delete.
2942 2013-04-09  Morten Welinder  <terra@gnome.org>
2944         * src/complex.c (complex_pow): Use Goffice's copy.
2946 2013-04-05  Morten Welinder  <terra@gnome.org>
2948         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2949         new screens.  Add hack for pre-GTK 3.4.
2951         * src/mathfunc.c (gnm_owent): New function.
2953 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2955         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2956         functions used as vectors. [697281]
2958 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2960         * src/graph.c (gnm_go_data_vector_load_values),
2961         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2962         arrays. [697107]
2964 2013-04-03  Morten Welinder  <terra@gnome.org>
2966         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2967         attributes of the tab.
2969         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2970         GnmNotebookButton, not an EditableLabel.
2972 2013-04-02  Morten Welinder  <terra@gnome.org>
2974         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2975         widget.
2976         (cb_wbcg_drag_leave): Ditto.
2978 2013-03-27  Morten Welinder  <terra@gnome.org>
2980         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2981         key we look up.  When did that change?
2983 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2985         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2986         remove the frame.
2988 2013-03-26  Morten Welinder  <terra@gnome.org>
2990         * src/item-edit.c: Theme the in-cell edit background color.
2992         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2993         into here.
2994         src/gui-gnumeric.h: Remove.
2996         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2997         non-NULL if there is a selection.
2998         (gnumeric_background_set_gtk): Delete.  Make callers use
2999         gnumeric_background_set.
3001         * src/preview-grid.c (preview_grid_draw_background): Always
3002         provide a context to gnumeric_background_set.
3003         * src/item-edit.c (item_edit_draw): Ditto.
3005         * src/item-cursor.c (ic_reload_style): Use class, not state, to
3006         separate the different cursor types.  Separate autofill colouring
3007         from drag ditto.
3009 2013-03-25  Morten Welinder  <terra@gnome.org>
3011         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
3012         color to GOColor.
3013         (ic_reload_style): Theme some of the cursor colors.
3015         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
3016         not colour name.
3018         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
3020         * src/gnumeric.css: use deprecated px-free syntax for padding, so
3021         gtk+ 3.2 can deal with it.
3023         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
3024         can suppress deprecations.
3026         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
3027         the "all" button.
3029         * src/item-bar.c (ib_reload_style): Load fonts from style.
3031 2013-03-24  Morten Welinder  <terra@gnome.org>
3033         * src/item-grid.c (item_grid_draw_region): Draw the background at
3034         the right coordinates!
3036 2013-03-23  Morten Welinder  <terra@gnome.org>
3038         * src/item-bar.c (ib_draw_cell): There's no point in going to and
3039         from GOColor here.  Just use the color as-is.
3041 2013-03-19  Morten Welinder  <terra@gnome.org>
3043         * src/application.c (install_icons): Install also the icon themed
3044         icons.  No idea why we have both.
3046         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
3048         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
3049         (embedded_imgs): Add the rest from pixmaps.
3051         * configure.ac: No longer create src/pixmaps/Makefile
3053         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
3054         these work for resources and absolute paths.
3056 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
3058         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
3059         not sizeable objects bounds after dragging when zoom is not 100%.
3061 2013-03-18  Morten Welinder  <terra@gnome.org>
3063         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
3064         filter.  It takes just long enough to be irritating.
3066 2013-03-17  Morten Welinder  <terra@gnome.org>
3068         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
3069         style since we're not picking it explicitly.
3070         (cb_font_filter): Fix leak.
3072 2013-03-14  Morten Welinder  <terra@gnome.org>
3074         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
3075         ignore non-scalable fonts.
3077 2013-03-11  Morten Welinder  <terra@gnome.org>
3079         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
3081 2013-03-10  Morten Welinder  <terra@gnome.org>
3083         * src/ssconvert.c (list_them): Skip savers/openers that require
3084         interaction.  (We don't have any yet.)
3086         * src/stf.c (stf_read_workbook): Set error when we fail due to
3087         lack of GUI.
3088         (stf_init): Mark the configurable saver/opener as interactive.
3090         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
3092 2013-03-09  Morten Welinder <terra@gnome.org>
3094         * configure.ac: Post-release bump.
3096 2013-03-09  Morten Welinder <terra@gnome.org>
3098         * Release 1.12.1
3100 2013-03-06  Morten Welinder  <terra@gnome.org>
3102         * src/wbc-gtk.c (list_actions): Handle a null group.
3104 2013-03-03  Morten Welinder  <terra@gnome.org>
3106         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
3107         g_thread_init if compiled with later than glib 2.32.0.
3109 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
3111         * src/gnm-pane-impl.h: remove alignments.
3112         * src/gnm-pane.c (gnm_pane_header_init): dittO;
3113         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
3114         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
3115         * src/sheet-control-gui-priv.h: remove all tables by one grid.
3116         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
3117         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
3118         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
3119         (scg_mode_edit): ditto.
3120         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
3121         (cb_sheet_visibility_change), (wbcg_sheet_add),
3122         (wbcg_sheet_remove), (wbcg_sheet_focus),
3123         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
3124         (wbcg_get_nth_scg): ditto.
3126 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3128         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3129         * src/print.c (gnm_create_widget_cb): ditto.
3130         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3132 2013-03-01  Morten Welinder  <terra@gnome.org>
3134         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3135         first argument, not "x".
3137 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3139         reviewed by: <delete if not using a buddy>
3141         * INSTALL:
3142         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3143         (sheet_widget_adjustment_user_config_impl),
3144         (sheet_widget_checkbox_user_config),
3145         (sheet_widget_radio_button_user_config):
3146         * src/wbc-gtk.c (wbc_gtk_init):
3148 2013-02-28  Morten Welinder  <terra@gnome.org>
3150         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3151         development versions.  We now get the information through gcc
3152         warnings.
3153         (solver): Make solver code unconditional.  Feel free to not
3154         distribute the relevant plugins.
3156 2013-02-26  Morten Welinder  <terra@gnome.org>
3158         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3160 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3162         * src/number-match.c: more introspection warnings.
3164 2013-02-23  Morten Welinder  <terra@gnome.org>
3166         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3168 2013-02-21  Morten Welinder  <terra@gnome.org>
3170         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3171         GHFunc.  All callers changed.  Impose a robust ordering.
3172         (sh_all_styles): New function replacing sh_foreach.
3174 2013-02-20  Morten Welinder  <terra@gnome.org>
3176         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3178 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3180         * configure.ac: make configure --with-python fail when some
3181         dependency is missing.
3183 2013-02-17  Morten Welinder  <terra@gnome.org>
3185         * configure.ac (set_more_warnings): Improve support for clang.
3187 2013-02-16  Morten Welinder  <terra@gnome.org>
3189         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3190         (Most cases a matter of 0 vs. 0.)
3192 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3194         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3195         default value for stf export format.
3196         * src/dependent.c: fix introspection warnings.
3197         * src/sheet-style.c: ditto.
3199 2013-02-15  Morten Welinder  <terra@gnome.org>
3201         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3202         3.2.0 just like goffice.
3204         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3205         requiring gtk 3.2
3207 2013-02-14  Morten Welinder  <terra@gnome.org>
3209         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3210         not MAXDOUBLE.  Fixes #693761.
3212 2013-02-10  Morten Welinder  <terra@gnome.org>
3214         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3215         doesn't belong here.  We handle everything in rstyle_apply.
3217 2013-02-08  Morten Welinder  <terra@gnome.org>
3219         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3220         link/unlink style dependents.  All callers changed.
3221         (sheet_style_shutdown): Set default style for whole sheet to
3222         ensure style dependents get cleared.
3224 2013-02-07  Morten Welinder  <terra@gnome.org>
3226         * src/sheet-style.c (cell_tile_optimize): Implement
3227         ptr-matrix-to-matrix optimization and use it to simplify things.
3229         * src/dependent.c (GnmStyleDependent): New type of dependent.
3230         When triggered, the cells in which it resised will be rerendered
3231         and redrawn.
3233         * src/mstyle.c (gnm_style_link_dependents)
3234         (gnm_style_unlink_dependents): New functions to manage style
3235         dependents due to conditional formatting.
3237 2013-02-06  Morten Welinder  <terra@gnome.org>
3239         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3240         inside-out in anticipation of future changes.
3242         (col_indicies, row_indicies): Alignment of the corners of apply_to
3243         is only relevant if we are within the tile.
3245 2013-02-06  Morten Welinder  <terra@gnome.org>
3247         * src/sheet-style.c (tile_is_uniform): Extract from
3248         cell_tile_optimize.
3249         (vector_apply_pstyle): Don't return a value.
3250         (cell_tile_apply): Use tile_is_uniform.
3252 2013-02-05  Morten Welinder  <terra@gnome.org>
3254         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3255         instead of crazy "goto".
3256         (cell_tile_apply): Simplify the covers-whole-tile case.
3258         * src/sheet.h (Sheet): Remove max_width and max_height members.
3259         All users fixed.
3261         * src/dependent.h (GnmDependentClass): Add pos handler.
3263         * src/dependent.c (dependent_pos): Use pos handler.
3264         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3266 2013-02-04  Morten Welinder  <terra@gnome.org>
3268         * src/dependent.c (dependent_pos): Make global.
3270         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3271         dependent_pos.
3273         * src/ssconvert.c (run_tool_test): Add code for running the
3274         regression tool.
3275         (convert): Run an analysis tool if requested.  (For testing.)
3277 2013-02-02  Morten Welinder  <terra@gnome.org>
3279         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3280         and rstyle_ctor_pstyle.  All callers changed.
3282 2013-01-18  Morten Welinder  <terra@gnome.org>
3284         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3285         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3286         New matrix support.
3287         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3288         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3290 2013-01-15  Morten Welinder  <terra@gnome.org>
3292         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3293         import from command line.
3295 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3297         * configure.ac: renamed configure.in and update obsolete macros.
3298         * configure.in: ditto.
3300 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3302         * configure.in: Add
3303         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3304         includes.
3306 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3308         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3309         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3310         twice the top and bottom margins when displaying a graph
3311         sheet. [#691472]
3313 2013-01-10  Morten Welinder  <terra@gnome.org>
3315         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3316         argument and assume TRUE.  Drop scope name and assume NULL (which
3317         is what all callers should have used).  All callers changed.
3318         (gnm_func_add_placeholder): Ditto.
3319         (invent_name): Downcase the preferred name.
3320         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3321         (gnm_func_add): Initialize arg_names_p.
3323         * src/gnm-plugin.c (plugin_service_function_group_activate):
3324         Upgrade existing placeholder functions as needed.
3326         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3327         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3329 2013-01-10  Morten Welinder  <terra@gnome.org>
3331         * src/func.c (gnm_func_add_placeholder_localized): New function.
3332         (gnm_func_add_placeholder_full): Extract from
3333         gnm_func_add_placeholder.  Handle localization better.
3334         (gnm_func_set_localized_name): New function.
3335         (gnm_func_free, gnm_func_get_name): Use
3336         gnm_func_set_localized_name.
3338         * src/parse-util.c (std_func_map): Improve handling of unknown
3339         function names.
3341         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3342         (gnm_func_free): ...here.
3344 2013-01-09  Morten Welinder  <terra@gnome.org>
3346         * src/symbol.c: delete.
3348         * src/func.c: rewrite to use GHashTable instead of symbol.c
3349         (gnm_func_lookup_prefix): Take extra argument indicating whether
3350         to search translated names.  Caller changed.
3352         * src/parse-util.c (std_func_map): Lookup translated name as
3353         needed.
3354         (parse_util_init): Add enviroment magic to turn on translated
3355         functions names.  This is not ready for prime time and should be
3356         controlled by a user preference eventually.
3358         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3359         bit.
3361 2013-01-07  Morten Welinder  <terra@gnome.org>
3363         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3364         pivot.  Use gnm_hypot where possible.
3366 2013-01-04  Morten Welinder  <terra@gnome.org>
3368         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3369         as argument.  Keep track of displays.
3370         (gnm_x_disown_clipboard): New function.
3372         * src/application.c (gnm_app_clipboard_clear): Use
3373         gnm_x_disown_clipboard to make things multi-head safe.
3375 2013-01-03  Morten Welinder  <terra@gnome.org>
3377         * src/collect.c (collect_floats): Fix handling of
3378         COLLECT_IGNORE_ERRORS.
3379         (collect_strings): Ditto.
3380         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3382 2013-01-01  Morten Welinder  <terra@gnome.org>
3384         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3385         deprecated goffice stuff.
3387         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3388         unused variable.
3389         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3390         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3391         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3393         * src/application.c (gnm_app_history_add): Kill warning.
3395 2012-12-31  Morten Welinder  <terra@gnome.org>
3397         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3398         Fixed #690929.
3400         * src/ssdiff.c: Introduce --highlight mode.
3402 2012-12-30  Morten Welinder  <terra@gnome.org>
3404         * src/ssdiff.c (main): Add option to send output to a file.
3406 2012-12-29  Morten Welinder  <terra@gnome.org>
3408         * src/ssdiff.c (diff): Use C locale.
3409         (ignore_cell): Ignore arrays, except for the corner.
3410         (output_cell): New function taking proper care of value types,
3411         convensions, etc.
3412         (xml_cell_changed): Use output_cell.
3413         (compare_corresponding_cells): Don't use entered_text here either,
3414         although it's harmless.
3415         (output_cell, compare_corresponding_cells): Handle value formats
3416         too.
3418 2012-12-28  Valek Filippov  <frob@df.ru>
3420         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3421         gdk_window_get_pointer calls.
3423 2012-12-28  Morten Welinder  <terra@gnome.org>
3425         * src/*.c: Eliminate use of printf.
3427         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3428         range offset here.  This may need to move further.
3429         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3430         (diff_sheets_cells): Ignore completely empty cells.
3431         (xml_sheet_start): Change meaning of Old and New attributes to be
3432         index_in_wb and absent when workbook doesn't have the sheet.
3433         (xml_style_changed): Describe style differences.
3435 2012-12-27  Morten Welinder  <terra@gnome.org>
3437         * src/ssdiff.c (diff_sheets): Compare styles too.
3439         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3440         range argument.  All callers changed.
3442 2012-12-24  Morten Welinder  <terra@gnome.org>
3444         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3445         cell_removed handlers into the cell_changed handler.
3446         (main): Add --xml option.
3448         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3449         configurable.  We need ssconvert for the test and it's silly
3450         anyway.
3452 2012-12-18  Morten Welinder <terra@gnome.org>
3454         * configure.in: Post-release bump.