Introspection: add gi.overrides module for Gnm.py
[gnumeric.git] / ChangeLog
blobb554fc8918f17e661e27eda6344934415d841761
1 2018-04-26  Morten Welinder  <terra@gnome.org>
3         * src/colrow.c (col_row_collection_foreach): move to...
4         * src/sheet.c (sheet_colrow_foreach): ...here.  Allow -1 to mean
5         last column or row.
6         (sheet_foreach_cell_in_range): Change to take a range.
7         (sheet_foreach_cell_in_region): Preserve the old
8         sheet_foreach_cell_in_range api.  Most callers changed.  Allow -1
9         to mean last column or row.
11 2018-04-25  Morten Welinder  <terra@gnome.org>
13         * src/xml-sax-read.c (xml_sax_cell_content): Read shared array
14         expressions as we used to, but immediately unshare.  I had an old
15         file with such a thing and it not supposed to happen.  That
16         formula would likely have been created in early 2007.
18 2018-04-24  Morten Welinder  <terra@gnome.org>
20         * src/commands.c (cmd_paste_copy_impl): Simplify now that
21         clipboard handles colrow sizes.
23 2018-04-21  Morten Welinder  <terra@gnome.org>
25         * src/sheet-object-image.c (gnm_soi_write_image): If the format
26         doesn't match what is requested, convert.
28 2018-04-20  Morten Welinder  <terra@gnome.org>
30         * src/ssconvert.c (merge_single): Avoid a
31         hash-changed-while-iterating problem.  [#795408]
33         * src/xml-sax-write.c (xml_write_cell_and_position): In the
34         clipboard case, write result values too.
36         * src/xml-sax-read.c (xml_sax_cell_content): Rework this rat's
37         nest of conditionals.  Accept values for expressions.
39 2018-04-18  Morten Welinder  <terra@gnome.org>
41         * src/mstyle.c (gnm_style_get_cond_style): Flip reversed
42         pre-condition.
44         * src/gui-clipboard.c (gnm_x_claim_clipboard): Offer biff8,
45         including LO's weird name for that.  The don't seem to take
46         "Biff8" and they don't seem to take Citrix' variant either.
48 2018-04-16  Morten Welinder  <terra@gnome.org>
50         * src/gui-clipboard.c (gnm_x_claim_clipboard): Plug leak.  Debug
51         improvements.
52         (table_cellregion_read): Improve paste-range heuristic for
53         clipboard formats that lack that information, notably
54         LibreOffice's.
56         * src/workbook-view.c (get_uri_modtime): Fix criticals on paste
57         from LibreOffice.  (Which sends a zipfile over the clipboard.)
59 2018-04-14  Morten Welinder  <terra@gnome.org>
61         * src/func.c (gnm_func_count_args): Rename from
62         function_def_count_args for introspection.
63         (gnm_func_get_arg_type): Rename from function_def_get_arg_type
64         for introspection.
65         (gnm_func_get_arg_type_sring): Rename from
66         function_def_get_arg_type_string for introspection.
68         * src/workbook-view.c (workbook_view_save_as): Rename from
69         wb_view_save_as for introspection.
70         (workbook_view_save): Rename from wb_view_save for introspection.
72 2018-04-13  Morten Welinder  <terra@gnome.org>
74         * src/workbook-view.c (workboook_view_save_to_uri): Renamed from
75         wb_view_save_to_uri for introspection.
76         (workbook_view_save_to_output): Renamed from
77         wb_view_save_to_output for introspection.
79         * src/style-color.c (gnm_style_color_get_type): Duplicate of
80         gnm_color_get_type, more or less.
82         * src/validation.c (gnm_validation_ref): Must return a value to be
83         used as a boxed copy function.
85         * src/expr.c (gnm_expr_top_ref): Must return a value to be used
86         as a boxed copy function.
88         * src/expr-name.c (expr_name_ref): Must return a value to be used
89         as a boxed copy function.
91         * src/mstyle.c (gnm_style_ref): Must return a value to be used
92         as a boxed copy function.
94         * src/clipboard.c (cellregion_ref): Must return a value to be used
95         as a boxed copy function.
97         * src/criteria.c (gnm_criteria_unref): Rename from free_criteria.
99         * src/mstyle.c: Hide internals.
100         src/gnm-style-impl.h: Remove.
102         * src/cell.c (gnm_cell_set_format): Remove.  Unused and badly
103         named.
105 2018-04-12  Morten Welinder  <terra@gnome.org>
107         * src/sheet-merge.c (gnm_sheet_merge_remove): Drop unused command
108         context argument.  All callers changed.
110 2018-04-11  Morten Welinder  <terra@gnome.org>
112         * src/workbook.c: Make Workbook a more proper object by adding a
113         constructor to setup the object correctly.  Introspection fixes.
115         (workbook_view_class_init): Make this a more proper object by
116         adding a constructor and init function to setup the object
117         correctly.
119 2018-04-11  Morten Welinder  <terra@gnome.org>
121         * src/workbook-view.c: Introspection fixes, mostly from Dean
122         McCarron.
123         src/workbook-control.c: Ditto.
124         src/wbc-gtk.c: Ditto.
126 2018-03-25  Morten Welinder  <terra@gnome.org>
128         * src/workbook.c (workbook_set_last_export_uri): Constify
129         argument.  Callers fixed.
131 2018-03-23  Morten Welinder  <terra@gnome.org>
133         * src/main-application.c (cpu_sanity_check): New function.
135 2018-03-13  Morten Welinder <terra@gnome.org>
137         * configure.ac: Post-release bump.
139 2018-03-13  Morten Welinder <terra@gnome.org>
141         * Release 1.12.39
143 2018-01-17  Morten Welinder  <terra@gnome.org>
145         * src/sstest.c (function_dump_defs): Drop internal function TABLE
146         as well as demo function ATL_LAST.
148 2018-01-11  Morten Welinder  <terra@gnome.org>
150         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
151         not to trigger an update storm when nothing changes.  Fixes
152         #792417.
154 2018-01-01  Morten Welinder  <terra@gnome.org>
156         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
157         non-reachable code relating to true() and false() conditions.
159 2017-12-30  Morten Welinder  <terra@gnome.org>
161         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
162         changed.
163         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
164         (gnm_expr_top_get_array_expr): New functions.
166         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
167         changed.
169 2017-12-29  Morten Welinder  <terra@gnome.org>
171         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
172         name.  #792038.
174 2017-12-28  Morten Welinder <terra@gnome.org>
176         * configure.ac: Post-release bump.
178 2017-12-28  Morten Welinder <terra@gnome.org>
180         * Release 1.12.38
182 2017-12-25  Morten Welinder  <terra@gnome.org>
184         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
185         * src/func-builtin.c (func_builtin_init): Ditto.
187 2017-12-23  Morten Welinder  <terra@gnome.org>
189         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
191 2017-12-04  Morten Welinder  <terra@gnome.org>
193         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
194         instead of passing them all over the place.
195         (diff): Compare names too.
197 2017-12-03  Morten Welinder  <terra@gnome.org>
199         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
200         (diff): Missing or extra sheet counts as a difference.
202         * src/mstyle.c (gnm_style_find_differences): Don't crash when
203         hlink/validation/inputmsg/conditions is NULL in one and not the other.
205         * src/ssdiff.c (diff_sheets_colrow): New function to compare
206         row/column sizes.
207         (highlight_cell_changed): Survive missing cell.
209 2017-12-01  Morten Welinder <terra@gnome.org>
211         * configure.ac: Post-release bump.
213 2017-12-01  Morten Welinder <terra@gnome.org>
215         * Release 1.12.37
217 2017-11-30  Morten Welinder  <terra@gnome.org>
219         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
220         usage.
221         * src/parse-util.c (wbref_parse): Ditto.
222         * src/preview-grid.c (preview_grid_draw_region): Ditto.
223         * src/item-grid.c (item_grid_draw_region): Ditto.
224         * src/parser.y (yylex): Ditto.
225         * src/criteria.c (parse_database_criteria): Ditto.
227         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
228         stack, allocation.
230         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
231         stack, allocation.
233 2017-11-29  Morten Welinder  <terra@gnome.org>
235         * src/sstest.c (enumerate_functions): Make sure function is loaded.
237         * src/func-builtin.c (help_table): Add help text for TABLE.
239         * src/func.c (gnm_func_enumerate): Introspection annotation.
241         * src/sstest.c (function_dump_defs): Move from func.c with all
242         support code.
243         (gnm_func_sanity_check): Ditto.
245         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
247         * src/main-application.c (pathetic_qt_workaround): Not needed
248         anymore.
250         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
251         looking strange when insensitive and also is a consistent size.
253 2017-11-18  Morten Welinder <terra@gnome.org>
255         * configure.ac: Post-release bump.
257 2017-11-18  Morten Welinder <terra@gnome.org>
259         * Release 1.12.36
261 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
263         * src/gnumeric.css: add grid:selected back-color.
264         * src/item-grid.c (item_grid_draw_region): fix background of multiple
265         selection. [#789411]
267 2017-10-23  Morten Welinder  <terra@gnome.org>
269         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
270         criticals.
272 2017-07-06  Morten Welinder <terra@gnome.org>
274         * configure.ac: Post-release bump.
276 2017-07-06  Morten Welinder <terra@gnome.org>
278         * Release 1.12.35
280 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
282         * src/sheet-object-widget.c
283         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
284         button
286 2017-05-18  Morten Welinder  <terra@gnome.org>
288         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
289         integer orders.
290         (jy_via_j_series): Rename from y_via_j_series and supply both J
291         and Y results.  Use the full J result accuracy.
292         (gnm_bessel_phi): Improve divergence check.
294 2017-05-16  Morten Welinder  <terra@gnome.org>
296         * src/sf-bessel.c (debye_33): Handle near-overflow better.
297         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
298         appropriate.
300         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
302         * src/value.c (value_new_from_string): Handle denormals betters.
304 2017-04-05  Morten Welinder  <terra@gnome.org>
306         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
307         Generalize to Pi/2^e and make public.
309 2017-03-28  Morten Welinder  <terra@gnome.org>
311         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
312         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
313         around the integer with odd count when we can.
315 2017-03-21  Morten Welinder  <terra@gnome.org>
317         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
318         deviation for each bin.
319         (test_random_randchisq, test_random_randtdist)
320         (test_random_randfdist): Don't allow df=0.
321         (test_random_randbeta): Don't floor the parameters thus avoiding
322         zero.
324 2017-03-20  Morten Welinder <terra@gnome.org>
326         * configure.ac: Post-release bump.
328 2017-03-20  Morten Welinder <terra@gnome.org>
330         * Release 1.12.34
332 2017-03-17  Morten Welinder  <terra@gnome.org>
334         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
335         bogus GnmColor here.  The fake object prevents GnmColor equality
336         from working which in turn prevents GnmBorder equality from
337         working.
339         * src/style-color.c (gnm_color_make): Rename from
340         gnm_color_new_uninterned and handle caching here.
341         (gnm_color_new_auto): New function.
343         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
344         (compare_corresponding_cells): Fall back to string comparison.
345         References like Sheet1!A1 should match even if they, obviously,
346         refer to sheets in different workbooks.
348         * src/style-conditions.c (gnm_style_conditions_equal): Add new
349         relax_sheet argument.
351         * src/validation.c (gnm_validation_equal): New function.
353         * src/mstyle.c (gnm_style_find_differences): New function.
355         * src/ssdiff.c (xml_style_changed): Use
356         gnm_style_find_differences.
358         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
359         gnm_style_find_differences, not gnm_style_equal.
361         * src/hlink.c (gnm_hlink_equal): New function.
363 2017-03-13  Morten Welinder  <terra@gnome.org>
365         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
366         inter-sheet local name references.
368 2017-03-10  Morten Welinder  <terra@gnome.org>
370         * src/hlink.c (gnm_hlink_get_name_target)
371         (gnm_hlink_get_range_target): New functions.
372         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
374 2017-03-07  Morten Welinder  <terra@gnome.org>
376         * src/parser.y (parser_simple_name): Extract from
377         parser_simple_val_or_name.  Extend to handle explicit sheet.
378         ("sheetref STRING"): Ise parser_simple_name.
380 2017-03-06  Morten Welinder  <terra@gnome.org>
382         * src/expr-name.c (expr_name_add): Plug leak.
384 2017-03-05  Morten Welinder  <terra@gnome.org>
386         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
387         (gnm_hlink_cur_wb_activate): Move string parsing from here...
388         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
389         value_new_cellrange_str will resolve a name.
391         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
392         sheet for hlinks too.
394         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
395         (gnm_hlink_set_sheet): New functions.
397 2017-01-30  Morten Welinder <terra@gnome.org>
399         * configure.ac: Post-release bump.
401 2017-01-30  Morten Welinder <terra@gnome.org>
403         * Release 1.12.33
405 2017-01-29  Morten Welinder  <terra@gnome.org>
407         * src/style-conditions.c (gnm_style_cond_equal): New function.
408         (gnm_style_conditions_equal): ...split out from here.
410 2017-01-25  Morten Welinder  <terra@gnome.org>
412         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
414 2017-01-22  Morten Welinder  <terra@gnome.org>
416         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
417         expression for text formatted cells.
418         (stf_parse_sheet): Don't try number parsing for text formatted
419         columns.  Fixes #777543.
421 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
423         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
424         format when generating the string. [#777338]
426 2017-01-19  Morten Welinder  <terra@gnome.org>
428         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
430         * src/style-conditions.c (gnm_style_conditions_equal): New
431         function.
433 2016-12-08  Morten Welinder  <terra@gnome.org>
435         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
436         callers changed.
437         (gnm_linear_solve_multiple): Ditto.
439 2016-10-02  Morten Welinder  <terra@gnome.org>
441         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
442         g_mem_set_vtable stuff actually works anymore.
444 2016-08-21  Morten Welinder  <terra@gnome.org>
446         * src/sstest.c (options): Add --fast option.
448         * src/value.c (value_get_as_gstring): Let a negative
449         decimal_digits mean "shortest round-tripping string".
451 2016-08-20  Morten Welinder <terra@gnome.org>
453         * configure.ac: Post-release bump.
455 2016-08-20  Morten Welinder <terra@gnome.org>
457         * Release 1.12.32
459 2016-08-08  Morten Welinder  <terra@gnome.org>
461         * src/criteria.c (criteria_inspect_values): Add flag for string
462         coercion.  Only the equality test wants that.
464         * src/value.c (criteria_inspect_values): Floats don't match
465         errors.
467 2016-08-04  Morten Welinder  <terra@gnome.org>
469         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
470         pointer.
472         * src/collect.c (string_range_function): Add user pointer.  Caller
473         changed.
475 2016-06-29  Morten Welinder <terra@gnome.org>
477         * configure.ac: Post-release bump.
479 2016-06-29  Morten Welinder <terra@gnome.org>
481         * Release 1.12.31
483 2016-06-29  Morten Welinder  <terra@gnome.org>
485         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
486         related to sheet-local names.  [#768164]
488 2016-06-28  Morten Welinder  <terra@gnome.org>
490         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
491         of different lenghts.
493 2016-06-21  Morten Welinder  <terra@gnome.org>
495         * src/value.c (criteria_test_greater_or_equal): Use case-folding
496         comparisons for strings.
497         (parse_criteria, parse_criteria_range): Add argument controlling
498         whether to anchor matching at end of string.
499         (parse_database_criteria): Don't anchor here.
501 2016-06-17  Morten Welinder <terra@gnome.org>
503         * configure.ac: Post-release bump.
505 2016-06-17  Morten Welinder <terra@gnome.org>
507         * Release 1.12.30
509 2016-06-17  Morten Welinder  <terra@gnome.org>
511         * src/value.c (parse_criteria): Anchor matches at the beginning,
512         but not at the end.
514 2016-06-11  Morten Welinder  <terra@gnome.org>
516         * src/value.c (find_rows_that_match): Fix blank handling.
517         (criteria_test_unequal): Wrong type means unequal.
518         (criteria_test_match): Only match strings.
519         (parse_criteria): Don't anchor matches.  This is the right thing
520         to do for DSUM and friends.  Hopefully this doesn't break anything
521         else.
522         (criteria_inspect_values): Strings are incompatible with
523         non-strings.
524         (criteria_test_less, criteria_test_less_or_equal)
525         (criteria_test_greater, criteria_test_greater_or_equal): handle
526         strings.
528 2016-05-19  Morten Welinder  <terra@gnome.org>
530         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
531         decimal counts for the hypothetical comma and point choices.
533 2016-05-10  Morten Welinder  <terra@gnome.org>
535         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
536         members.  Doc fix.
538 2016-05-06  Morten Welinder <terra@gnome.org>
540         * configure.ac: Post-release bump.
542 2016-05-06  Morten Welinder <terra@gnome.org>
544         * Release 1.12.29
546 2016-04-29  Morten Welinder  <terra@gnome.org>
548         * src/gui-util.c (gnm_style_context_get_color): Fix function
549         wrapping gtk_style_context_get_color which changed API.
551 2016-04-24  Morten Welinder  <terra@gnome.org>
553         * src/value-sheet.c (value_area_get_x_y): Use
554         gnm_rangeref_normalize.  Do full wrap-around.
556 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
558         * src/graph.c (gnm_go_data_matrix_load_values): fix array
559         reading. [#765483]
561 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
563         * configure.ac: protect against pxlib weirdness.
565 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
567         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
568         value is an error.
570 2016-03-22  Morten Welinder <terra@gnome.org>
572         * configure.ac: Post-release bump.
574 2016-03-22  Morten Welinder <terra@gnome.org>
576         * Release 1.12.28
578 2016-03-02  Morten Welinder  <terra@gnome.org>
580         * src/sf-bessel.c: Return complex numbers by value, not reference.
582 2016-02-23  Morten Welinder  <terra@gnome.org>
584         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
586 2016-02-18  Morten Welinder  <terra@gnome.org>
588         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
589         #762278.
591 2016-02-12  Morten Welinder  <terra@gnome.org>
593         * src/complex.h: Add a direct-value interface.
595         * src/ssconvert.c (run_solver): Also create solver reports as
596         indicated in options.
598         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
600 2016-02-10  Morten Welinder  <terra@gnome.org>
602         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
603         to 1px.  While that may be a sligh increase for certain
604         themes/gtk+ versions, it is a large decrease for others, notably
605         what comes with an out-of-the-box OpenSuSE leap.  Override in
606         ~/.config/gtk-3.0/gtk.css if need be.
608         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
609         wheel for horizontal motion instead of alt.  Window managers tend
610         to eat the latter.
612 2016-02-08  Morten Welinder  <terra@gnome.org>
614         * src/graph.c (gnm_go_data_vector_eval)
615         (gnm_go_data_vector_finalize): Plug leak.
617 2016-02-06  Morten Welinder <terra@gnome.org>
619         * configure.ac: Post-release bump.
621 2016-02-06  Morten Welinder <terra@gnome.org>
623         * Release 1.12.27
625 2016-02-06  Morten Welinder  <terra@gnome.org>
627         * configure.ac (goffice): Require latest for
628         go_complex_from_polar_pi.
630         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
631         when x<0 and a is real.
633 2016-02-04  Morten Welinder  <terra@gnome.org>
635         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
636         (gnm_complex_continued_fraction): Fail if we would otherwise try
637         to rescale by 0.  Fix termination condition.
638         (igamma_asymp): Fix term update.
639         (complex_igamma): Fix flavour fixup.
641 2016-02-02  Morten Welinder  <terra@gnome.org>
643         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
644         (gamma_error_factor): Extend to all positive numbers.
645         (pochhammer_small_n): Allow any x > 1.
646         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
648 2016-02-01  Morten Welinder  <terra@gnome.org>
650         * configure.ac (yacc, lex): Fail if the required program isn't
651         found.
653 2016-01-31  Morten Welinder  <terra@gnome.org>
655         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
656         complex continued fractions.
658 2016-01-30  Morten Welinder  <terra@gnome.org>
660         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
661         GtkStyleContext.  Another ABI changes causes that to crash.
663         * src/value.c (find_column_of_field): Insist that the database be
664         a cell range, not an array.
666 2016-01-29  Morten Welinder  <terra@gnome.org>
668         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
669         (bessel_ij_series): Rename from bessel_j_series and extend to
670         handle i also.
672         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
673         argument is less than one.
675         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
676         about broken sheet filter.
678         * src/sheet-filter.c (gnm_filter_condition_new_single)
679         (gnm_filter_condition_new_double): Plug leak on error.
680         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
682 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
684         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
685         value. [#761048]
687 2016-01-27  Morten Welinder  <terra@gnome.org>
689         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
690         implementation.
692         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
693         css styling.
695 2016-01-23  Morten Welinder  <terra@gnome.org>
697         * src/parser.y (yylex): Be careful about overflowing numeric
698         token.  Fixes #761023.
700 2016-01-20  Morten Welinder  <terra@gnome.org>
702         * src/complex.h: Namespace.  Mostly for macros.
704 2016-01-16  Morten Welinder  <terra@gnome.org>
706         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
707         unused time argument.  All callers changed.
708         (gnm_simple_canvas_grab): Remove unused arguments and return
709         value.  All callers changed.
711         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
712         without regrabbing the focus.  See #760639.
714 2016-01-13  Morten Welinder  <terra@gnome.org>
716         * src/sstest.c (test_random_randsnorm)
717         (test_random_randbernoulli): Print expected stats.
719         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
720         are sane.  Fixes #760544.
722 2016-01-08  Morten Welinder  <terra@gnome.org>
724         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
726 2016-01-06  Morten Welinder  <terra@gnome.org>
728         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
730 2016-01-04  Morten Welinder  <terra@gnome.org>
732         * src/sheet-style.c (sheet_style_apply_range)
733         (sheet_style_set_range): Silently ignore inverted ranges.
735 2016-01-03  Morten Welinder  <terra@gnome.org>
737         * src/sheet-style.c (sheet_style_apply_range)
738         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
740 2016-01-02  Morten Welinder  <terra@gnome.org>
742         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
744         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
745         zero record size.  Fixes #760087.
747         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
749 2016-01-01  Morten Welinder  <terra@gnome.org>
751         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
753         * src/expr-name.c (expr_name_add): Improve check for circular name
754         defintion.  Fixes #760046.
756 2015-12-28  Morten Welinder  <terra@gnome.org>
758         * src/ssconvert.c (convert): When separating sheets, move current
759         sheet to the front.  See bug #694408.
761         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
762         sheet, remove it at the end.
764 2015-12-28  Morten Welinder <terra@gnome.org>
766         * configure.ac: Post-release bump.
768 2015-12-28  Morten Welinder <terra@gnome.org>
770         * Release 1.12.26
772 2015-12-26  Morten Welinder  <terra@gnome.org>
774         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
775         change here (on the grid).
776         (scg_class_init): Not here.  We're not derived from GtkWidget.
778         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
779         (foreach_tile): New top-level function taking few parameters.  All
780         callers changed.
782 2015-12-25  Morten Welinder <terra@gnome.org>
784         * configure.ac: Post-release bump.
786 2015-12-25  Morten Welinder <terra@gnome.org>
788         * Release 1.12.25
790 2015-12-22  Morten Welinder  <terra@gnome.org>
792         * src/ssdiff.c (xml_style_changed): Do more for input message and
793         validation.
795 2015-12-20  Morten Welinder  <terra@gnome.org>
797         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
798         screen size.
799         (scg_resize): Limit frozen zones to screen size.  Not idea, but
800         better than crashing.
802 2015-12-19  Morten Welinder  <terra@gnome.org>
804         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
806 2015-12-13  Morten Welinder  <terra@gnome.org>
808         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
809         merges on column/row insert.  Fixes #504004.
811 2015-12-12  Morten Welinder  <terra@gnome.org>
813         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
814         when the merge partially falls off the far end.
816 2015-12-10  Morten Welinder  <terra@gnome.org>
818         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
819         ensure actions get accel paths.
821 2015-12-09  Morten Welinder  <terra@gnome.org>
823         * src/wbc-gtk.c (wbcg_find_action): New function to look in
824         multiple places for an action.
826         * src/gui-util.c (gnm_action_group_add_actions): Handle
827         translation context.  Also handle toggle actions.
829 2015-12-08  Morten Welinder  <terra@gnome.org>
831         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
832         syntax.
834         * src/gui-util.c (gnm_action_group_add_actions): New function,
835         currently quite dumb.
837         * configure.ac (CC): Insist on c99.
839 2015-12-05  Morten Welinder  <terra@gnome.org>
841         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
842         (drayleigh): Define in terms of dweibull.
844 2015-12-03  Morten Welinder  <terra@gnome.org>
846         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
847         support.  Fixes R.QHYPER(0.1,3,99,13)
849 2015-10-19  Morten Welinder  <terra@gnome.org>
851         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
852         in[2].  Fixes #752182.
854 2015-09-25  Morten Welinder  <terra@gnome.org>
856         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
857         avoid value copying.  Fixes #752181.
858         (gnumeric_table): Handle repeated cells.  Fixes #752178.
860 2015-09-20  Morten Welinder <terra@gnome.org>
862         * configure.ac: Post-release bump.
864 2015-09-20  Morten Welinder <terra@gnome.org>
866         * Release 1.12.24
868 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
870         * src/gui-file.c (gui_file_save_as): just change the extension not more
871         when the original filename has several dots. [ubuntu #1497344]
873 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
875         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
876         anchors. [#754792]
878 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
880         * src/sheet-object.c (sheet_object_update_bounds),
881         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
882         the objects bounds are always updated. Really fix printing.
883         * src/xml-sax-write.c (xml_write_objects): revert previous change.
885 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
887         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
888         printing, but still not perfect.
889         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
890         * src/xml-sax-write.c (xml_write_objects): ditto.
892 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
894         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
895         with one cell or absolute anchors. [#753961]
896         * src/sheet-object.c (sheet_object_draw_cairo):
898 2015-07-28  Morten Welinder <terra@gnome.org>
900         * configure.ac: Post-release bump.
902 2015-07-28  Morten Welinder <terra@gnome.org>
904         * Release 1.12.23
906 2015-07-14  Morten Welinder  <terra@gnome.org>
908         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
909         #752259.
911 2015-07-09  Morten Welinder  <terra@gnome.org>
913         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
914         operation.  Fixes #752124.
916 2015-07-06  Morten Welinder  <terra@gnome.org>
918         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
920 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
922         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
924 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
926         * src/value.c (value_compare_real): handle two empty values however
927         they appear
929 2015-07-03  Morten Welinder  <terra@gnome.org>
931         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
932         context.
934 2015-06-30  Morten Welinder  <terra@gnome.org>
936         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
937         it all the way here.
939 2015-06-29  Morten Welinder  <terra@gnome.org>
941         * src/func.c (function_iterate_argument_values): Improve name
942         handling.  Part of #751660.
944 2015-06-28  Morten Welinder  <terra@gnome.org>
946         * src/value-sheet.c (value_area_get_width, value_area_get_height):
947         Use the same normalization as value_area_foreach.  Fixes #751390.
949         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
950         Fixes #751577.
952 2015-06-26  Morten Welinder  <terra@gnome.org>
954         * src/value.c (value_new_array_empty): Store value_new_empty(),
955         not NULL, in the slots.  We can make this change because
956         value_new_empty() is a singleton that does not need to be
957         released.  Fixes #751502.
959 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
961         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
963 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
965         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
966         (xml_sax_object_end): ensure we always use the right state. [#751217]
968 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
970         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
972 2015-06-20  Morten Welinder  <terra@gnome.org>
974         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
975         overflow.
976         (go_data_cache_records_fetch_index): If resizing failed return
977         NULL early.
979 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
981         * src/parse-util.h (_GnmConventions): add union_char field
982         * src/parser.y (yylex): handle union_char
983         (setup_state): set union_char
985 2015-06-18  Morten Welinder  <terra@gnome.org>
987         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
988         specifying types derived from sheet objects.  Fixes #751126.
989         (xml_sax_hlink): Similarly.
991 2015-06-16  Morten Welinder  <terra@gnome.org>
993         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
994         in names.  Fixes #751056.
996 2015-05-27  Morten Welinder  <terra@gnome.org>
998         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
999         division by zero.  Fixes #749917.
1001         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
1003 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
1005         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
1006         comment #3]
1008 2015-05-11  Morten Welinder  <terra@gnome.org>
1010         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
1011         something bad that will happen whenever FALSE equals TRUE.
1013         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
1014         inline values.
1016         * src/cell.c (gnm_cell_set_array): Improve preconditions.
1018 2015-05-09  Morten Welinder  <terra@gnome.org>
1020         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
1022 2015-04-28  Morten Welinder  <terra@gnome.org>
1024         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
1025         malformed documents.  Fixes #748596.
1026         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
1027         #748595.
1029 2015-04-16  Morten Welinder <terra@gnome.org>
1031         * configure.ac: Post-release bump.
1033 2015-04-16  Morten Welinder <terra@gnome.org>
1035         * Release 1.12.22
1037 2015-04-15  Morten Welinder  <terra@gnome.org>
1039         * src/ranges.c (gnm_range_compare): New function.
1041 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
1043         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
1044         (see #700599, comment #11).
1046 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1048         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
1049         sheet object name, try the image name.
1051 2015-04-11  Morten Welinder  <terra@gnome.org>
1053         * src/sf-dpq.c (qcauchy): Handle cancellation.
1055         * src/mathfunc.c (pcauchy): Simplify.
1057         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
1058         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
1060 2015-04-09  Morten Welinder  <terra@gnome.org>
1062         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
1063         case.
1065 2015-04-04  Morten Welinder  <terra@gnome.org>
1067         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
1068         Fixes #747356.
1070         * src/xml-sax-write.c (xml_write_objects): Save only relevant
1071         parts of the cell bound.
1073         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
1074         Initialize parts of cell_bound not used.
1076 2015-04-01  Morten Welinder  <terra@gnome.org>
1078         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
1079         GNM_XML_2ND here too.
1080         (gnm_sogg_sax_parser_done): Plug leak.
1082 2015-03-30  Morten Welinder  <terra@gnome.org>
1084         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
1085         function.
1087         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
1088         mode.
1090         * src/sstest.c (test_random_randhyperg): Take var=0 case into
1091         account when checking mean.
1093         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
1094         graph here.
1096 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
1098         * src/graph.h: add support for absolute anchoring of sheet objects.
1099         * src/item-grid.c: ditto.
1100         * src/sheet-control-gui.c: ditto.
1101         * src/sheet-filter.c: ditto.
1102         * src/sheet-object-cell-comment.c: ditto.
1103         * src/sheet-object-component.c: ditto.
1104         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
1105         cells by default. [#684450]
1106         * src/sheet-object-image.c: make images don't resize with cells by default.
1107         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
1108         * src/sheet-object.h: ditto.
1109         * src/workbook-view.c: ditto.
1110         * src/xml-sax-read.c: ditto.
1111         * src/xml-sax-write.c: ditto.
1113 2015-03-30  Morten Welinder  <terra@gnome.org>
1115         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1117 2015-03-23  Morten Welinder  <terra@gnome.org>
1119         * src/sstest.c (rand_fractile_test): Plug leak.
1121 2015-03-21  Morten Welinder  <terra@gnome.org>
1123         * src/sstest.c (rand_fractile_test): Add support for
1124         non-continuous distributions.
1126         * src/mathfunc.c (qgeom): Update to current version in R.
1128         * src/gnm-random.c (random_geometric): Don't add one.
1129         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1131 2015-03-20  Morten Welinder  <terra@gnome.org>
1133         * src/sstest.c (test_random_randbinom): New test.
1134         (test_random_randbetween): New test.
1135         (test_random_randexp): New test.
1136         (test_random_randpoisson): New test.
1137         (test_random_randgeom): New test.
1138         (test_random_randnegbinom): New test.
1139         (test_random_randlog): New test.
1140         (test_random_randdiscrete): New test.
1141         (test_random_randgamma): New test.
1142         (test_random_randtdist): New test.
1143         (test_random_randuniform): New test.
1144         (test_random_randfdist): New test.
1145         (test_random_randcauchy): New test.
1146         (test_random_randbeta): New test.
1147         (test_random_randchisq): New test.
1148         (test_random_randhyperg): New test.
1150         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1152 2015-03-19  Morten Welinder  <terra@gnome.org>
1154         * src/func.c (dump_samples): New function to dump all sample in
1155         help documentation to csv format.
1157         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1158         non-positive integer, but neither a nor b is.
1160 2015-03-07  Morten Welinder  <terra@gnome.org>
1162         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1164         * src/sheet-object-widget.c
1165         (sheet_widget_adjustment_write_xml_sax): Use new
1166         go_xml_out_add_double.
1168         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1169         go_xml_out_add_double.
1171 2015-03-05  Morten Welinder  <terra@gnome.org>
1173         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1174         copy_data argument and simply assume it.
1176 2015-03-04  Morten Welinder <terra@gnome.org>
1178         * configure.ac: Post-release bump.
1180 2015-03-04  Morten Welinder <terra@gnome.org>
1182         * Release 1.12.21
1184 2015-03-03  Morten Welinder  <terra@gnome.org>
1186         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1187         version we write and document why we can't easily increase that
1188         version.
1190 2015-03-02  Morten Welinder  <terra@gnome.org>
1192         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1194         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1195         (xml_sax_version): Bring version list up to date.
1197 2015-03-01  Morten Welinder  <terra@gnome.org>
1199         * src/sheet-object-widget.c
1200         (sheet_widget_list_base_set_selection_value): Plug leak.
1202 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1204         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1205         pixbuf stores the image type.
1207 2015-02-28  Morten Welinder  <terra@gnome.org>
1209         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1210         image, not the bytes in addition.
1211         (gnm_soi_class_init): Use property "image" of type GOImage instead
1212         of "image-data" weirdness.
1213         (gnm_soi_draw_cairo): Remove non-functional fallback.
1214         (gnm_soi_default_size): Ditto.
1216 2015-02-27  Morten Welinder  <terra@gnome.org>
1218         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1219         type for image data.  Create image data if needed.
1220         (SheetObjectImage): Use a properly allocated GByteArray.
1222         * src/sheet-object-widget.c
1223         (sheet_widget_adjustment_user_config_impl): Widgets must have
1224         changed names at some point.  Adjust for that.
1226 2015-02-25  Morten Welinder  <terra@gnome.org>
1228         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1229         Also evaluate here.
1230         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1231         contents.
1233 2015-02-23  Morten Welinder  <terra@gnome.org>
1235         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1236         New function.
1238 2015-02-21  Morten Welinder  <terra@gnome.org>
1240         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1241         gboolean, not a double.
1243         * src/sheet-object-widget.c
1244         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1245         fixed, precision.
1246         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1247         new-fangled orientation for scrollbars.
1249 2015-02-20  Morten Welinder  <terra@gnome.org>
1251         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1252         (cb_button_released): Set value to FALSE here(!)
1254 2015-02-18  Morten Welinder  <terra@gnome.org>
1256         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1257         error just because a cell with text format fails to produce an
1258         expression.  That's expected for text format.
1260 2015-02-17  Morten Welinder  <terra@gnome.org>
1262         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1264 2015-02-11  Morten Welinder  <terra@gnome.org>
1266         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1267         writing duplicate style so version 1.2 and earlier can read it.
1269 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1271         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1272         that can't be convered to valid numbers.
1274 2015-02-10  Morten Welinder  <terra@gnome.org>
1276         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1278 2015-02-06  Morten Welinder  <terra@gnome.org>
1280         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1281         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1282         (sheet_widget_radio_button_set_link)
1283         (sheet_widget_list_base_set_links)
1284         (sheet_widget_adjustment_set_details): Only link if we have a
1285         sheet.
1287 2015-02-04  Morten Welinder <terra@gnome.org>
1289         * configure.ac: Post-release bump.
1291 2015-02-04  Morten Welinder <terra@gnome.org>
1293         * Release 1.12.20
1295 2015-01-30  Morten Welinder  <terra@gnome.org>
1297         * src/sheet-object-widget.c
1298         (sheet_widget_adjustment_set_horizontal): Make this public.
1300 2015-01-23  Morten Welinder <terra@gnome.org>
1302         * configure.ac: Post-release bump.
1304 2015-01-23  Morten Welinder <terra@gnome.org>
1306         * Release 1.12.19
1308 2015-01-20  Morten Welinder  <terra@gnome.org>
1310         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1311         See bug #743130.
1313 2015-01-19  Morten Welinder  <terra@gnome.org>
1315         * src/gutils.c (gnm_icon_dir): Remove.
1317         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1318         resources.
1320         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1321         from glib resources.
1323         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1324         Delete.
1326         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1327         otherwise dump them in temporary files in order to load them.
1329         * src/workbook.c (workbook_update_graphs): New function.
1331         * src/workbook-view.c (workbook_view_new_from_input): Update
1332         graphs.
1334 2015-01-14  Morten Welinder  <terra@gnome.org>
1336         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1337         an expresssion, make it a string instead of dropping it on the
1338         floor.
1340 2015-01-13  Morten Welinder  <terra@gnome.org>
1342         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1343         missing shared expression, define a dummy version so we don't get
1344         repeated errors.
1346 2015-01-09  Morten Welinder  <terra@gnome.org>
1348         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1349         sort them later than other values.  This fixes #742601.
1351 2015-01-01  Morten Welinder  <terra@gnome.org>
1353         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1354         names, not stock ids.
1356         * src/gnm-pane.c (update_control_point_colors): Avoid
1357         gtk_style_context_get_background_color.
1358         * src/item-cursor.c (ic_reload_style): Ditto.
1360 2014-12-30  Morten Welinder  <terra@gnome.org>
1362         * src/rendered-value.c (gnm_rendered_value_new):
1363         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1365 2014-12-27  Morten Welinder  <terra@gnome.org>
1367         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1368         unless we really have to.
1370 2014-12-25  Morten Welinder  <terra@gnome.org>
1372         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1373         multihead issue.
1375         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1377         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1379         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1380         icon on sheet direction changes.
1382         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1384 2014-12-24  Morten Welinder  <terra@gnome.org>
1386         * src/wbc-gtk.c (wbcg_show_save_dialog)
1387         (wbcg_close_if_user_permits): Constant propagation.
1389         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1390         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1392 2014-12-22  Morten Welinder  <terra@gnome.org>
1394         * icons/fake-index-theme: we need actions directories too.
1396 2014-12-21  Morten Welinder  <terra@gnome.org>
1398         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1399         handling.
1401 2014-12-20  Morten Welinder  <terra@gnome.org>
1403         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1404         count in delete, such as used from sheet resize.
1406 2014-12-19  Morten Welinder  <terra@gnome.org>
1408         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1409         (before g_setenv is available).
1411 2014-12-16  Morten Welinder  <terra@gnome.org>
1413         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1414         number.
1416         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1417         the delete case.
1419 2014-12-15  Morten Welinder  <terra@gnome.org>
1421         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1422         sheet_style_insert_colrow and handled deletion too.
1424         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1425         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1426         and clean up.
1428         * src/dependent.c (dependent_has_pos, dependent_move): New
1429         functions.
1431 2014-12-14  Morten Welinder  <terra@gnome.org>
1433         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1434         free.
1436 2014-12-11  Morten Welinder  <terra@gnome.org>
1438         * src/dependent.c (style_dep_debug_name): Include position too.
1440         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1441         sheet_row_add.
1442         (colrow_move): Change parameterization slightly.
1444 2014-12-06  Morten Welinder  <terra@gnome.org>
1446         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1447         want them visually gone and g_object_unref does not guarantee
1448         that.
1450         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1451         dependents.  A later step clears and re-applies style completely
1452         for the moved area.  Fixes #741197.
1454         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1455         function.
1457         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1458         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1460         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1461         leak.
1462         (gnm_cmd_context_error_splits_merge): Plug leak.
1464 2014-11-15  Morten Welinder  <terra@gnome.org>
1466         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1467         the wbc is already gone.
1469 2014-11-09  Morten Welinder  <terra@gnome.org>
1471         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1472         data.  Might fix Redhat #1160975.
1474 2014-10-28  Morten Welinder  <terra@gnome.org>
1476         * src/style.c (find_font): Accept NULL font name.
1478 2014-10-27  Morten Welinder  <terra@gnome.org>
1480         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1481         code.
1483 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1485         * src/item-cursor.c (cb_item_cursor_animation): use
1486         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1487         outside of a draw event.
1489 2014-10-26  Morten Welinder  <terra@gnome.org>
1491         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1492         Use throughout.
1493         (GnmValue): Drop type union member.  C99 requires that this be
1494         accessed in a structure.  We have v_any for that.
1496 2014-10-25  Morten Welinder  <terra@gnome.org>
1498         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1499         ought to survive both gcc's aliasing analysis and valgrind's
1500         bitfield problems.
1502 2014-10-24  Morten Welinder  <terra@gnome.org>
1504         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1506 2014-10-21  Morten Welinder  <terra@gnome.org>
1508         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1510 2014-09-25  Morten Welinder <terra@gnome.org>
1512         * configure.ac: Post-release bump.
1514 2014-09-25  Morten Welinder <terra@gnome.org>
1516         * Release 1.12.18
1518 2014-09-25  Morten Welinder  <terra@gnome.org>
1520         * src/sheet-filter.c (gnm_filter_condition_new_single)
1521         (gnm_filter_condition_new_double): Fix preconditions.  See
1522         #735249.
1524 2014-09-23  Morten Welinder  <terra@gnome.org>
1526         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1527         doesn't spew deprecation warnings by default.
1529 2014-09-11  Morten Welinder  <terra@gnome.org>
1531         * src/style.c (gnm_translate_underline_from_pango): Survive
1532         PANGO_UNDERLINE_ERROR.
1534 2014-06-09  Morten Welinder <terra@gnome.org>
1536         * configure.ac: Post-release bump.
1538 2014-06-09  Morten Welinder <terra@gnome.org>
1540         * Release 1.12.17
1542 2014-05-28  Morten Welinder  <terra@gnome.org>
1544         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1545         when we drag the handle into the col/row canvas.
1547         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1549         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1550         handler.  Fixes #730884.
1552 2014-05-27  Morten Welinder  <terra@gnome.org>
1554         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1555         col/row canvas.  Fixes #730857.
1556         (gnm_pane_dispose): Release references.
1558 2014-05-23  Morten Welinder <terra@gnome.org>
1560         * configure.ac: Post-release bump.
1562 2014-05-23  Morten Welinder <terra@gnome.org>
1564         * Release 1.12.16
1566 2014-05-23  Morten Welinder  <terra@gnome.org>
1568         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1569         need better building blocks for commands; this is one such.
1571 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1573         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1574         (cmd_hyperlink_redo): ditto
1575         (cmd_hyperlink_finalize): ditto
1576         (cb_cmd_hyperlink_find_cells): ditto
1578 2014-05-20  Morten Welinder  <terra@gnome.org>
1580         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1582         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1583         outline and fill colours that are auto, even for the 1.0 format.
1585         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1586         conditional format ranges.
1588 2014-05-14  Morten Welinder  <terra@gnome.org>
1590         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1592         * src/gutils.c (gnm_object_has_readable_prop): New function.
1594         * configure.ac (scrollkeeper): Test if we have it.
1596 2014-05-05  Morten Welinder  <terra@gnome.org>
1598         * src/wbc-gtk.c (toolbar_context_menu): Remove
1599         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1600         false for years and is unsupported in gtk+.
1602 2014-04-30  Morten Welinder <terra@gnome.org>
1604         * configure.ac: Post-release bump.
1606 2014-04-30  Morten Welinder <terra@gnome.org>
1608         * Release 1.12.15
1610 2014-04-23  Morten Welinder  <terra@gnome.org>
1612         * src/complete.c (complete_idle): Avoid abort().
1614         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1615         source.
1617 2014-04-22  Morten Welinder  <terra@gnome.org>
1619         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1620         replaced with calls to gnm_color_new_go.
1622         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1624         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1626 2014-04-21  Morten Welinder  <terra@gnome.org>
1628         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1629         only in the hop of fixing #728465.
1631 2014-04-13  Morten Welinder <terra@gnome.org>
1633         * configure.ac: Post-release bump.
1635 2014-04-13  Morten Welinder <terra@gnome.org>
1637         * Release 1.12.14
1639 2014-04-11  Morten Welinder  <terra@gnome.org>
1641         * src/item-bar.c: Get colours when we draw; only get sizing
1642         relevant information at odd times, in particular when parent
1643         widgets may be insensitive, such as during a load-onto-pristine.
1644         Fixes #728007.
1646 2014-04-10  Morten Welinder  <terra@gnome.org>
1648         * src/item-bar.c (ib_reload_style): Add debug code.
1650 2014-04-09  Morten Welinder  <terra@gnome.org>
1652         * src/number-match.c (format_match_datetime): Plug leak on certain
1653         failure cases.
1655 2014-04-02  Morten Welinder  <terra@gnome.org>
1657         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1658         integer test.
1660 2014-03-30  Morten Welinder  <terra@gnome.org>
1662         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1663         list of extra uis.
1665 2014-03-28  Morten Welinder  <terra@gnome.org>
1667         * src/main-application.c (main): Move Ubuntu hack earlier.
1669 2014-03-27  Morten Welinder  <terra@gnome.org>
1671         * src/main-application.c (main): Attempt to banish ubuntu's
1672         overlay scrollbar which don't work.
1674 2014-03-21  Morten Welinder  <terra@gnome.org>
1676         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1677         case insensitve and allow wildcards.
1679         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1680         from fn-string.
1682         * src/style-conditions.c (generate_end_match): Use case
1683         insensitive comparison.  Pull negation into the operator.
1684         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1685         insensitive.
1687 2014-03-18  Morten Welinder  <terra@gnome.org>
1689         * src/gui-util.c (kill_popup_menu): One more try at really killing
1690         the context menu after we're done with it.
1692         * src/item-grid.c (item_grid_realize): Plug leak.
1694 2014-03-18  Morten Welinder <terra@gnome.org>
1696         * configure.ac: Post-release bump.
1698 2014-03-18  Morten Welinder <terra@gnome.org>
1700         * Release 1.12.13
1702 2014-03-18  Morten Welinder  <terra@gnome.org>
1704         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1705         providers from screens on exit.
1707         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1709 2014-03-17  Morten Welinder  <terra@gnome.org>
1711         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1713 2014-03-16  Morten Welinder  <terra@gnome.org>
1715         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1716         formats.  I'm not positive we do things right, but this avoids
1717         criticals, at least.
1719         * src/cell.c (cell_set_expr_internal): Don't change an existing
1720         value.
1722 2014-03-15  Morten Welinder  <terra@gnome.org>
1724         * src/style-border.c (gnm_border_shutdown): New function to help
1725         debug leaks.  Shutdown border_none here.
1727         * src/style-color.c (gnm_color_shutdown): Not here.
1729 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1731         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1732         the tooltip where it will not immediatly be destroyed after creation.
1733         [really fix #706659]
1735 2014-03-14  Morten Welinder  <terra@gnome.org>
1737         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1738         if we don't have any.
1740 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1742         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1744 2014-03-13  Morten Welinder  <terra@gnome.org>
1746         * src/style-conditions.c (gnm_style_cond_eval): New function
1747         extracted from gnm_style_conditions_eval.  Make "equal" case
1748         insensitive.  Fixes #726246.
1750         * src/ssconvert.c (convert): Show resize message only if verbose.
1752 2014-03-12  Morten Welinder  <terra@gnome.org>
1754         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1755         function.
1756         (gnm_style_cond_canonicalize): New function.
1758         * src/ssconvert.c (convert): only print "Using exporter ..." if
1759         --verbose is given, and print it to stderr.
1761 2014-03-11  Morten Welinder  <terra@gnome.org>
1763         * src/sheet.c (cb_set_markup): Don't mess directly with
1764         cell->value.  We need to trigger a re-render.  Fixes #726086.
1766         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1767         for the pre-validation assignment.
1769         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1770         before assigning it to the cell.
1772 2014-03-10  Morten Welinder  <terra@gnome.org>
1774         * gnumeric.xsd: Update valign/halign attributes.  Update print
1775         setup.
1777         * src/sheet-filter.c (gnm_filter_condition_new_single)
1778         (gnm_filter_condition_new_double): Add preconditions.
1780 2014-03-07  Morten Welinder  <terra@gnome.org>
1782         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1784 2014-03-05  Morten Welinder  <terra@gnome.org>
1786         * src/expr.c (gnm_expr_top_is_volatile): New function.
1788         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1789         volatile expressions.
1791         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1792         (dependent_is_volatile): New function.
1794         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1795         Don't set the initial range here.
1797         * src/expr.c (gnm_expr_top_first_funcall)
1798         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1799         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1800         gnm_expr_walk.
1801         (gnm_expr_top_get_boundingbox): Set initial range here.
1803         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1804         Ditto.
1806 2014-03-03  Morten Welinder <terra@gnome.org>
1808         * configure.ac: Post-release bump.
1810 2014-03-03  Morten Welinder <terra@gnome.org>
1812         * Release 1.12.12
1814 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1816         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1818 2014-03-02  Morten Welinder  <terra@gnome.org>
1820         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1821         name-collections.
1822         (wbcg_sheet_order_changed): Mark ui as being updated.
1823         (cb_bnotebook_page_reordered): Ignore during UI update.
1825         * src/expr-name.c (gnm_named_expr_collection_dump)
1826         (gnm_named_expr_collection_sanity_check): New function.
1828         * src/application.c (gnm_app_sanity_check): New function.
1830         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1831         string inside the GOString as a hash key.  It can change.
1832         (gnm_named_expr_collection_foreach): As a consequence of the
1833         above, the first argument to the handler for
1834         gnm_named_expr_collection_foreach changes to something
1835         unspecified.  All callers changed.
1837         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1838         sheet.
1840         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1841         when encountering strangeness.
1843 2014-02-28  Morten Welinder  <terra@gnome.org>
1845         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1846         If row/column canvas is not visible, ignore them.
1847         (scg_gtk_paned_set_position): Don't allow negative position.
1848         Fixes #725375.
1850         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1851         changes.
1853 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1855         * src/item-grid.c (item_grid_draw_region): fix background filling for
1856         rtl sheets. [#725276]
1858 2014-02-25  Morten Welinder  <terra@gnome.org>
1860         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1861         (gnumeric_create_popup_menu): Drop return value from handler.
1863         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1864         are cell comments by position.
1866 2014-02-24  Morten Welinder  <terra@gnome.org>
1868         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1870         * src/colrow.c (colrow_equal): Don't use floating-point equality
1871         here.  Allow a difference of 1e-5 pt for size.
1873 2014-02-23  Morten Welinder  <terra@gnome.org>
1875         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1876         fill in the new areas with most common styles for the rows to the
1877         left of the new columns or the columns above the new area.
1879 2014-02-19  Morten Welinder  <terra@gnome.org>
1881         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1882         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1884         * src/mathfunc.c (gnm_log2): New function.
1886 2014-02-18  Morten Welinder  <terra@gnome.org>
1888         * src/ssdiff.c (xml_style_changed): Report differences for
1889         auto-color settings.
1891 2014-02-17  Morten Welinder  <terra@gnome.org>
1893         * src/ssconvert.c (convert): Add --resize option.
1895 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1897         * src/item-grid.c (item_grid_realize): fix persistence of
1898         hyperlink tips. [see #724108]
1900 2014-02-16  Morten Welinder <terra@gnome.org>
1902         * configure.ac: Post-release bump.
1904 2014-02-16  Morten Welinder <terra@gnome.org>
1906         * Release 1.12.11
1908 2014-02-16  Morten Welinder  <terra@gnome.org>
1910         * src/func.c (function_dump_defs): Update boilerplate.
1912 2014-02-11  Morten Welinder <terra@gnome.org>
1914         * configure.ac: Post-release bump.
1916 2014-02-11  Morten Welinder <terra@gnome.org>
1918         * Release 1.12.10
1920 2014-02-07  Morten Welinder  <terra@gnome.org>
1922         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1923         entry on top of merged cells.  Fixes #723600.
1925 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1927         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1928         a better fix to previous issue.
1930 2014-01-30  Morten Welinder  <terra@gnome.org>
1932         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1933         toolbar icons.
1935         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1936         smoother (when not using the fallback).  Avoid using hard light
1937         for ant-ing -- that doesn't work for the same reason as alpha not
1938         working.  Always use phase=0 for non-ant stipples.
1939         (GnmItemCursor): Use the canvas item's visibility flag instead of
1940         rolling our own.
1942 2014-01-29  Morten Welinder  <terra@gnome.org>
1944         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1946         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1947         check for bad clipping somewhere in gtk+ or theme land.
1949 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1951         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1952         component reference to the workbook.
1954 2014-01-27  Morten Welinder  <terra@gnome.org>
1956         * src/func.c (function_dump_defs): Undo wiki change.
1958 2014-01-21  Morten Welinder  <terra@gnome.org>
1960         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1961         the amount of work we do for ant-ing.  Fixes #381011, patch from
1962         Jean.
1963         (ic_reload_style): Ignore alpha component of ant colours.
1965 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1967         * src/graph.c (gnm_go_data_vector_load_len),
1968         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1969         [#722294]
1971 2014-01-16  Morten Welinder  <terra@gnome.org>
1973         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1974         cb_darken_foreground_attributes and change to take non-white
1975         background into account.
1977 2014-01-12  Morten Welinder  <terra@gnome.org>
1979         * src/mathfunc.c (expmx2h): Split out from dnorm.
1980         (dhyper): Round the chosen "p" to float to improve accuracy of
1981         "q".
1983 2014-01-11  Morten Welinder  <terra@gnome.org>
1985         * src/mathfunc.c (pow1p): Improve accuracy.
1986         (R_D_nonint): Fix rounding problem.
1987         (ebd0): New extended version of bd0.
1988         (dpois_raw, dbinom_raw): Use ebd0.
1989         (dbinom_raw): Handle x==n and x==0 much better.
1991 2014-01-08  Morten Welinder  <terra@gnome.org>
1993         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1994         g_mkdtemp_full.
1996         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1998         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1999         return the WorkbookView instead of a boolean.
2001 2014-01-01  Morten Welinder  <terra@gnome.org>
2003         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
2005 2013-12-31  Morten Welinder  <terra@gnome.org>
2007         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
2008         mathfunc.c
2010 2013-12-30  Morten Welinder  <terra@gnome.org>
2012         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
2013         (bd0): Reimplement.
2014         (dpois_raw): Avoid going through logs, if possible.
2016 2013-12-25  Morten Welinder  <terra@gnome.org>
2018         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
2019         we return FALSE so we don't try to remove the source later.
2021 2013-12-22  Morten Welinder  <terra@gnome.org>
2023         * src/gui-util.c (gnm_widget_measure_string): New function
2024         allowing the elimination of all gtk_style_context_get_font calls.
2026 2013-12-19  Morten Welinder  <terra@gnome.org>
2028         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
2029         especially when |x|<<1.  Ditto for x<-1.
2031 2013-12-17  Morten Welinder  <terra@gnome.org>
2033         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
2034         multiplication.
2036 2013-12-14  Morten Welinder  <terra@gnome.org>
2038         * src/sf-gamma.c (complex_igamma): New function.
2040 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
2042         * */*.c: Fix some leaks and null dereferences pointed out by
2043         cppcheck.
2045 2013-12-12  Morten Welinder  <terra@gnome.org>
2047         * src/parser.y (array_row): Avoid overrunning string when multiple
2048         missing closing parentheses are detected.  Fixes #720353.
2050 2013-12-11  Morten Welinder  <terra@gnome.org>
2052         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
2053         gdk_event_get_screen, not from ->screen.  This might fix #720182.
2055         * src/*.c: Use accessor function for GdkEvent when convenient.
2057 2013-12-07  Morten Welinder  <terra@gnome.org>
2059         * src/application.c (gnm_app_init): Don't allocate a
2060         GtkRecentManager if we are not in gui mode.
2062         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
2063         behaviour.
2064         * src/dependent.c (deprange_hash): Ditto.
2066 2013-12-04  Morten Welinder  <terra@gnome.org>
2068         * src/sf-gamma.c (gamma_error_factor): Add extra term.
2070 2013-12-07  Morten Welinder  <terra@gnome.org>
2072         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
2073         of the argument for [-1.5;-0.5].
2075         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
2076         Re z < 1/2.  Avoid some overflow.
2078 2013-12-02  Morten Welinder  <terra@gnome.org>
2080         * src/sf-bessel.c (bessel_y): Use the J series when possible.
2082 2013-12-07  Morten Welinder  <terra@gnome.org>
2084         * src/sf-bessel.c (bessel_j): Use the taylor series in the
2085         parameter range where that makes sense.
2087         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
2088         (gnm_beta): Ditto.
2090 2013-11-30  Morten Welinder  <terra@gnome.org>
2092         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
2093         negative values.
2095 2013-11-28  Morten Welinder <terra@gnome.org>
2097         * configure.ac: Post-release bump.
2099 2013-11-28  Morten Welinder <terra@gnome.org>
2101         * Release 1.12.9
2103 2013-11-25  Morten Welinder  <terra@gnome.org>
2105         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
2106         mathfunc.c
2108 2013-11-19  Morten Welinder  <terra@gnome.org>
2110         * src/print.c (print_page): Fix check for missing object.  Fixes
2111         #712662.
2113 2013-11-18  Morten Welinder  <terra@gnome.org>
2115         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2117 2013-11-15  Morten Welinder  <terra@gnome.org>
2119         * src/mathfunc.c (reduce_pi_half): New function.
2121 2013-11-14  Morten Welinder  <terra@gnome.org>
2123         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2124         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2126 2013-11-13  Morten Welinder  <terra@gnome.org>
2128         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2130 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2132         * src/sheet-object.c (sheet_object_view_button2_pressed),
2133         (sheet_object_view_class_init): implement double click for graph sheets.
2134         [#712216]
2136 2013-11-12  Morten Welinder  <terra@gnome.org>
2138         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2139         emission.
2140         (cb_bnotebook_page_reordered): New function.
2141         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2143         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2145 2013-11-06  Morten Welinder  <terra@gnome.org>
2147         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2149 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2151         * src/workbook-view.c: add more introspection related comments.
2152         * src/workbook.c: ditto.
2154 2013-11-03  Morten Welinder  <terra@gnome.org>
2156         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2157         sin/cos before scaling by pi.
2159 2013-11-01  Morten Welinder  <terra@gnome.org>
2161         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2162         (gnm_gamma): Protect against unnecessary overflow at top of range.
2164 2013-10-31  Morten Welinder  <terra@gnome.org>
2166         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2167         avoids accuracy problems since any cdf is completely flat in terms
2168         of floating point values when going sufficiently far into the
2169         tail.
2170         (qtukey): Ditto.
2171         (qbeta): Ditto.
2172         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2173         (permut): Route this into pochhammer.
2174         (qfact): New function.  Tabulate 0! through 50000! using quad
2175         precision arithmetic.
2176         (combin, fact, pochhammer): Improve accuracy using qfact.
2178 2013-10-22  Morten Welinder  <terra@gnome.org>
2180         * src/func.c (function_call_with_exprs): Move flags argument into
2181         structure.
2183 2013-10-19  Morten Welinder  <terra@gnome.org>
2185         * src/hlink.c (_gnm_hlink_init): New function.
2186         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2188 2013-10-07  Morten Welinder <terra@gnome.org>
2190         * configure.ac: Post-release bump.
2192 2013-10-07  Morten Welinder <terra@gnome.org>
2194         * Release 1.12.8
2196 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2198         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2200 2013-10-03  Morten Welinder  <terra@gnome.org>
2202         * src/item-cursor.c (item_cursor_draw): Drop expose area
2203         optimization that may not be correct with current gtk.  See bug
2204         #709320.
2206 2013-09-29  Morten Welinder  <terra@gnome.org>
2208         * src/main-application.c: Include <io.h> for win32.
2210         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2212 2013-09-25  Morten Welinder  <terra@gnome.org>
2214         * src/gnumeric.css: Use lighter green for function marker.
2216 2013-09-01  Morten Welinder <terra@gnome.org>
2218         * configure.ac: Post-release bump.
2220 2013-09-01  Morten Welinder <terra@gnome.org>
2222         * Release 1.12.7
2224 2013-08-29  Morten Welinder  <terra@gnome.org>
2226         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2227         Fixes #707047.
2229 2013-08-28  Morten Welinder  <terra@gnome.org>
2231         * src/mathfunc.c (gnm_gamma): Improve precision for large
2232         arguments.
2233         (gnm_yn): Not needed anymore.
2234         (bessel_i): Don't mark error strings for translation.
2236 2013-08-27  Morten Welinder <terra@gnome.org>
2238         * configure.ac: Post-release bump.
2240 2013-08-27  Morten Welinder <terra@gnome.org>
2242         * Release 1.12.6
2244 2013-08-26  Morten Welinder  <terra@gnome.org>
2246         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2247         (internal_style_list): Add fast pre-optimization to bring down the
2248         number of entries before we start messing with hashes.  Fixes
2249         #699045.
2251 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2253         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2254         GraphDimEditor::changed. See bug 706591 comment #2.
2256 2013-08-19  Morten Welinder <terra@gnome.org>
2258         * configure.ac: Post-release bump.
2260 2013-08-19  Morten Welinder <terra@gnome.org>
2262         * Release 1.12.5
2264 2013-08-15  Morten Welinder  <terra@gnome.org>
2266         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2267         Fixes #706095.
2269         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2270         parameters.  See bug 705913, comment 6.
2272 2013-08-13  Morten Welinder  <terra@gnome.org>
2274         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2276 2013-08-12  Morten Welinder  <terra@gnome.org>
2278         * src/sheet-object-widget.c (sow_create_widget): New function.
2279         Add sheet-object class to widgets.
2281 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2283         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2284         initial colour
2285         (sheet_widget_button_draw_cairo): also scale line thickness
2286         (sheet_widget_checkbox_draw_cairo): scale button size
2287         (sheet_widget_radio_button_draw_cairo): scale button size
2289 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2291         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2292         argument and change all callers
2294 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2296         * src/sheet-object-widget.c (get_font): add fall-backs
2298 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2300         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2301         draw_cairo_text.
2302         (draw_cairo_text): add h-vcenter argument and change all callers
2304 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2306         * src/sheet-object-widget.c (cb_range_destroyed),
2307         (sheet_widget_scrollbar_create_widget),
2308         (sheet_widget_spinbutton_create_widget),
2309         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2310         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2312 2013-08-09  Morten Welinder  <terra@gnome.org>
2314         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2315         get_font.
2316         (get_font): New function extracted from draw_cairo_text.
2318 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2320         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2321         if possible
2323 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2325         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2326         allow multi-paragraph with a highlighted line. Change all callers
2327         (sheet_widget_list_draw_cairo): use draw_cairo_text
2329 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2331         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2332         cairo version for Gnuemric too.
2333         (sheet_widget_button_draw_cairo): ditto
2334         (sheet_widget_scrollbar_draw_cairo): ditto
2335         (sheet_widget_spinbutton_draw_cairo): ditto
2336         (sheet_widget_slider_draw_cairo): ditto
2337         (sheet_widget_checkbox_draw_cairo): ditto
2338         (sheet_widget_radio_button_draw_cairo): ditto
2339         (sheet_widget_list_draw_cairo): ditto
2340         (sheet_widget_combo_draw_cairo): ditto
2342 2013-08-08  Morten Welinder  <terra@gnome.org>
2344         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2345         Reduce crazy relative offsets.
2347 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2349         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2350         change all callers
2351         (sheet_widget_frame_draw_cairo): new
2352         (sheet_widget_button_draw_cairo): new
2353         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2354         (sheet_widget_scrollbar_vertical_draw_cairo): new
2355         (sheet_widget_scrollbar_class_init): connect the above
2356         (sheet_widget_spinbutton_draw_cairo): new
2357         (sheet_widget_spinbutton_class_init): connect the above
2358         (sheet_widget_slider_horizontal_draw_cairo): new
2359         (sheet_widget_slider_vertical_draw_cairo): new
2360         (sheet_widget_slider_draw_cairo): new
2361         (sheet_widget_slider_class_init): connect the above
2362         (sheet_widget_list_draw_cairo): new
2363         (sheet_widget_list_class_init): connect the above
2364         (sheet_widget_combo_draw_cairo): new
2365         (sheet_widget_combo_class_init): connect the above
2367 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2369         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2370         change all uses of this macro
2371         (draw_cairo_text): new
2372         (sheet_widget_checkbox_draw_cairo): new
2373         (sheet_widget_radio_button_draw_cairo): new
2375 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2377         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2378         gtk_offscreen_window_new without a default screen (see bugs #705638
2379         and #705640)
2381 2013-08-07  Morten Welinder  <terra@gnome.org>
2383         * src/ssconvert.c (main): Initialize gtk+ without opening any
2384         display.
2386 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2388         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2390 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2392         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2393         * src/sheet-control-gui.c (scg_init): init new fields
2394         (scg_im_destroy): new
2395         (scg_finalize): call scg_im_destroy
2396         (cb_cell_im_timer): new
2397         (scg_find_pane): new
2398         (scg_show_im_tooltip): new
2399         (scg_class_init): init new field
2400         * src/sheet-control-priv.h: add field
2401         * src/sheet-control.c: add virtual
2402         * src/sheet-control.h: add virtual
2403         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2404         (sv_update): call sheet_view_edit_pos_tool_tips
2405         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2406         in pixels
2407         (sheet_row_get_distance_pixels): new
2408         * src/sheet.h (sheet_row_get_distance_pixels): new
2410 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2412         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2413         nodes in guppi graphs. [Debian #718594]
2415 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2417         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2418         'default'
2420 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2422         * src/sheet-control-gui.c (context_menu_handler): add argument to
2423         dialog_cell_format call
2424         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2425         dialog_cell_format call
2426         (cb_data_validate): ditto
2428 2013-07-30  Morten Welinder  <terra@gnome.org>
2430         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2431         colour.  Fixes rest of #705031.
2433 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2435         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2437 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2438         for Dmitry Smirnov
2439         * gnumeric.desktop.in: add ODS files
2441 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2443         * src/graph.c (gnm_go_data_vector_load_values): really load all
2444         values for multiple ranges.
2446 2013-07-19  Morten Welinder  <terra@gnome.org>
2448         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2449         check: the enum has a hole in the middle.  Fixes #704562.
2451 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2453         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2454         printing.
2455         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2457 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2459         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2460         (gnm_so_path_set_property): ditto
2461         (gnm_so_path_get_property): ditto
2463 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2465         * src/gnm-so-path.c (so_path_view_set_bounds),
2466         (cb_gnm_so_path_changed): a better fix for the text position.
2468 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2470         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2471         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2472         * src/gnm-so-path.c (so_path_view_set_bounds),
2473         (cb_gnm_so_path_changed): fix text wrap in paths too.
2475 2013-07-16  Morten Welinder  <terra@gnome.org>
2477         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2478         computing range size.  Fixes #704325.
2480 2013-07-15  Morten Welinder  <terra@gnome.org>
2482         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2483         that.  Fixes #704004.
2485         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2487         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2488         against oversize range.
2490 2013-07-12  Morten Welinder  <terra@gnome.org>
2492         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2493         sure it falls within the sheet.
2494         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2495         parts are on different sheets.  Fixes #704109.
2497 2013-07-10  Morten Welinder <terra@gnome.org>
2499         * configure.ac: Post-release bump.
2501 2013-07-10  Morten Welinder <terra@gnome.org>
2503         * Release 1.12.4
2505 2013-07-10  Morten Welinder  <terra@gnome.org>
2507         * src/value.c (parse_criteria): Patterns should anchor at the end
2508         (#703770) and be case insensitive (no bug#).
2510 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2512         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2513         to create an image of unknown type
2515 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2517         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2518         signage
2519         (cb_assign_val): quieten warning about signed/unsigned comparison
2521 2013-07-03  Morten Welinder  <terra@gnome.org>
2523         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2524         crazy-large ranges.
2525         (cb_assign_val): Ditto.
2527 2013-07-02  Morten Welinder  <terra@gnome.org>
2529         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2530         (cb_style_list_add_node): Ditto.
2531         (verify_hashes): Ditto.
2532         (internal_style_list): Ditto.
2534         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2535         deck chairs.
2537 2013-07-01  Morten Welinder  <terra@gnome.org>
2539         * configure.ac (long double): Crude use -lm for long double
2540         function checks.  Fixes #703397.
2542 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2544         * src/expr.c (gnm_expr_list_copy): new
2545         * src/expr.h (gnm_expr_list_copy): new
2547 2013-06-26  Morten Welinder  <terra@gnome.org>
2549         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2550         of ->op before using it.  Fixes #703143.
2552 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2554         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2555         [#703052]
2556         (gnm_so_path_copy): fixed copy with multiple paths.
2558 2013-06-25  Morten Welinder <terra@gnome.org>
2560         * configure.ac: Post-release bump.
2562 2013-06-25  Morten Welinder <terra@gnome.org>
2564         * Release 1.12.3
2566 2013-06-24  Morten Welinder  <terra@gnome.org>
2568         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2569         sheet.  Fixes #703006.
2571 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2573         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2574         without sheet
2576 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2578         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2579         a valid pattern. [#702833]
2580         * src/pattern.c (gnumeric_background_set): ditto.
2582 2013-06-21  Morten Welinder  <terra@gnome.org>
2584         * src/item-grid.c (item_grid_draw_region): Plug leak.
2586         * src/item-bar.c (ib_reload_style): Plug leak.
2588 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2590         * src/wbc-gtk.c (show_gui): protect against excessively large
2591         preferred widow sizes
2593 2013-06-14  Morten Welinder  <terra@gnome.org>
2595         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2597         * src/workbook.c (workbook_sheet_delete): Debug.
2598         (workbook_dispose): Also clear style here.  Styles can have
2599         dependents now.  Fixes #702218.
2601 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2603         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2605 2013-06-12  Morten Welinder  <terra@gnome.org>
2607         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2608         Fixes #702101.
2610 2013-06-04  Morten Welinder  <terra@gnome.org>
2612         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2614 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2616         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2617         (scg_comment_display): adjust background and fontcolor if necessary
2619 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2621         * src/item-grid.c (cb_cursor_come_to_rest):
2622         gnumeric_position_tooltip needs the tooltip size, so load the text
2623         before calling it.
2625 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2627         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2628         with button 2
2630 2013-05-27  Morten Welinder  <terra@gnome.org>
2632         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2633         and we aren't very good at it.
2635 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2637         * component/Gnumeric-embed.xml.in: add accelerator
2638         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2639         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2640         (EditGotoCellIndicator): new
2641         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2642         (wbcg_focus_current_cell_indicator): new
2643         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2645 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2647         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2648         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2649         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2650         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2652 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2654         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2655         behave the same as far as cell selection is concerned. This fixes
2656         bug #700792
2657         (item_grid_button_released): ditto
2659 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2661         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2662         to include hidden cells
2663         (cb_sheet_get_extent): handle hidden cells setting
2664         (sheet_get_printarea): do not include hidden cells
2665         * src/sheet.h (sheet_get_extent): add argument and change all
2666         callers
2668 2013-05-26  Morten Welinder  <terra@gnome.org>
2670         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2671         Termiate when contributions vanish.
2673 2013-05-24  Morten Welinder  <terra@gnome.org>
2675         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2676         the outer integral.
2677         (pfuncinverter): Handle lack of dfunc (poorly).
2679 2013-05-23  Morten Welinder  <terra@gnome.org>
2681         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2682         interval out from out from R_ptukey.
2683         (R_ptukey): Split the interval nearest 0 into a sequence of
2684         intervals over which the integrand looks a lot more like a
2685         polynomial.  This fixes accuracy problems for low degrees of
2686         freedom.
2688         * src/sheet-style.c (internal_style_list): Fix critical.
2690 2013-05-22  Morten Welinder  <terra@gnome.org>
2692         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2694 2013-05-21  Morten Welinder  <terra@gnome.org>
2696         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2698 2013-05-19  Morten Welinder  <terra@gnome.org>
2700         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2701         boundaries.
2702         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2704 2013-05-18  Morten Welinder  <terra@gnome.org>
2706         * src/mathfunc.c (pnorm2): New function.
2707         (R_ptukey): New function imported from R with local improvements.
2709 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2711         * src/print.c (gnm_create_widget_cb): by default observe
2712         manual page breaks
2714 2013-05-14  Morten Welinder  <terra@gnome.org>
2716         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2717         (gnm_range_geometric_mean): Handle two FIXMEs.
2719 2013-05-13  Morten Welinder  <terra@gnome.org>
2721         * src/*.c: Mark gobject property strings as P_(...).
2723 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2725         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2727 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2729         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2730         rather than gnm_cell_assign_value
2732 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2734         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2735         first column
2737 2013-05-05  Morten Welinder  <terra@gnome.org>
2739         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2740         rendered value here.  Fixes #699647.
2742 2013-05-03  Morten Welinder  <terra@gnome.org>
2744         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2745         accelerator for redo.  Fixes #699579.
2746         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2747         focusable.
2749         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2751 2013-05-01  Morten Welinder  <terra@gnome.org>
2753         * src/print-info.c: Add gsf includes to make things work with
2754         libgsf 1.14.24.  Redhat #957851.
2756 2013-04-29  Morten Welinder  <terra@gnome.org>
2758         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2759         cells.
2761 2013-04-26  Morten Welinder <terra@gnome.org>
2763         * configure.ac: Post-release bump.
2765 2013-04-26  Morten Welinder <terra@gnome.org>
2767         * Release 1.12.2
2769 2013-04-26  Morten Welinder  <terra@gnome.org>
2771         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2772         row/column items the default.
2774 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2776         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2778 2013-04-24  Morten Welinder  <terra@gnome.org>
2780         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2781         widget parameter.  All callers changed.
2783         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2784         delayedMovement.timer.
2786         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2787         animation_cursor.
2789         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2790         windows_update_timer.
2792         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2793         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2794         valid tag.
2796         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2797         sliding).
2799 2013-04-23  Morten Welinder  <terra@gnome.org>
2801         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2803         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2804         critical.  Fixes #698680.
2806         * src/gui-file.c (gui_file_save_as): For export, change extension.
2807         Fixes #698636.
2809 2013-04-22  Morten Welinder  <terra@gnome.org>
2811         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2812         Somehow fixes #625687.
2814 2013-04-20  Morten Welinder  <terra@gnome.org>
2816         * src/go-data-slicer-field.c
2817         (go_data_slicer_field_set_field_type_pos): Add precondition for
2818         slicer.
2820 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2822         * src/print-info.c (render_title): new
2824 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2826         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2827         cells.
2828         (sheet_range_set_text): ditto
2830 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2832         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2833         than padding.
2835 2013-04-22  Morten Welinder  <terra@gnome.org>
2837         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2839 2013-04-19  Morten Welinder  <terra@gnome.org>
2841         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2842         view approach.  Fixes #689283.
2844         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2845         mode.
2846         (wbc_gtk_init_color_fore): Ditto.
2847         (wbc_gtk_init_color_back): Ditto.
2849 2013-04-17  Morten Welinder  <terra@gnome.org>
2851         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2852         button.
2854         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2855         font_name_haction.
2857         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2858         only for horizontal toolbars.
2860         * src/gui-file.c (file_saver_format_changed_cb): New function to
2861         change the extension when the format is changed.
2862         (gui_file_save_as): Don't try to hide the extension -- it
2863         interferes with the file chooser's completion.  Fixes #695839.
2865 2013-04-16  Morten Welinder  <terra@gnome.org>
2867         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2868         menu for graph sheets.  Fixes #685446.
2869         (sheet_menu_label_run): Disable resize for graph sheets.
2871         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2872         #661800.
2873         (parse_criteria): Handle criteria "=" and "<>" (with no value
2874         after the operator) special.  These test for empty and non-empty
2875         values.  Fixes #686156.
2877         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2878         "anchor_start" and "anchor_end".  All callers changed.
2880 2013-04-15  Morten Welinder  <terra@gnome.org>
2882         * src/application.c (add_icon): Plug leak.
2884         * src/number-match.c (format_match_decimal_number): Try also major
2885         non-locale currencies.  Fixes #577768.
2887 2013-04-13  Morten Welinder  <terra@gnome.org>
2889         * src/mathfunc.c (pochhammer): Improve precision a bit.
2890         (binomialcf): Lower cfSmall by 10^3.  This helps
2891         pbeta(0.9,10,0.5).
2893         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2894         doesn't prevent multiple versions from co-existing.
2896         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2897         dirty.  Callers already appear to handle this when needed
2898         and not when not wanted.  Fixes #697927.
2900 2013-04-12  Morten Welinder  <terra@gnome.org>
2902         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2903         #697850.
2904         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2905         reported to R).
2906         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2908 2013-04-11  Morten Welinder  <terra@gnome.org>
2910         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2911         reference with invalid_sheet.  Fixes #683494.
2913         * src/complex.c (complex_to_string): Drop format arguments.  All
2914         callers changed.  Make up a format with enough precision for round
2915         tripping.  Fixes #697634.
2917 2013-04-09  Morten Welinder  <terra@gnome.org>
2919         * src/complex.c (complex_from_string): Make this handle embedded
2920         spaces systematically.
2921         (is_unit_imaginary): Delete.
2923 2013-04-09  Morten Welinder  <terra@gnome.org>
2925         * src/complex.c (complex_pow): Use Goffice's copy.
2927 2013-04-05  Morten Welinder  <terra@gnome.org>
2929         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2930         new screens.  Add hack for pre-GTK 3.4.
2932         * src/mathfunc.c (gnm_owent): New function.
2934 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2936         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2937         functions used as vectors. [697281]
2939 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2941         * src/graph.c (gnm_go_data_vector_load_values),
2942         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2943         arrays. [697107]
2945 2013-04-03  Morten Welinder  <terra@gnome.org>
2947         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2948         attributes of the tab.
2950         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2951         GnmNotebookButton, not an EditableLabel.
2953 2013-04-02  Morten Welinder  <terra@gnome.org>
2955         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2956         widget.
2957         (cb_wbcg_drag_leave): Ditto.
2959 2013-03-27  Morten Welinder  <terra@gnome.org>
2961         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2962         key we look up.  When did that change?
2964 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2966         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2967         remove the frame.
2969 2013-03-26  Morten Welinder  <terra@gnome.org>
2971         * src/item-edit.c: Theme the in-cell edit background color.
2973         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2974         into here.
2975         src/gui-gnumeric.h: Remove.
2977         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2978         non-NULL if there is a selection.
2979         (gnumeric_background_set_gtk): Delete.  Make callers use
2980         gnumeric_background_set.
2982         * src/preview-grid.c (preview_grid_draw_background): Always
2983         provide a context to gnumeric_background_set.
2984         * src/item-edit.c (item_edit_draw): Ditto.
2986         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2987         separate the different cursor types.  Separate autofill colouring
2988         from drag ditto.
2990 2013-03-25  Morten Welinder  <terra@gnome.org>
2992         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2993         color to GOColor.
2994         (ic_reload_style): Theme some of the cursor colors.
2996         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2997         not colour name.
2999         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
3001         * src/gnumeric.css: use deprecated px-free syntax for padding, so
3002         gtk+ 3.2 can deal with it.
3004         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
3005         can suppress deprecations.
3007         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
3008         the "all" button.
3010         * src/item-bar.c (ib_reload_style): Load fonts from style.
3012 2013-03-24  Morten Welinder  <terra@gnome.org>
3014         * src/item-grid.c (item_grid_draw_region): Draw the background at
3015         the right coordinates!
3017 2013-03-23  Morten Welinder  <terra@gnome.org>
3019         * src/item-bar.c (ib_draw_cell): There's no point in going to and
3020         from GOColor here.  Just use the color as-is.
3022 2013-03-19  Morten Welinder  <terra@gnome.org>
3024         * src/application.c (install_icons): Install also the icon themed
3025         icons.  No idea why we have both.
3027         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
3029         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
3030         (embedded_imgs): Add the rest from pixmaps.
3032         * configure.ac: No longer create src/pixmaps/Makefile
3034         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
3035         these work for resources and absolute paths.
3037 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
3039         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
3040         not sizeable objects bounds after dragging when zoom is not 100%.
3042 2013-03-18  Morten Welinder  <terra@gnome.org>
3044         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
3045         filter.  It takes just long enough to be irritating.
3047 2013-03-17  Morten Welinder  <terra@gnome.org>
3049         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
3050         style since we're not picking it explicitly.
3051         (cb_font_filter): Fix leak.
3053 2013-03-14  Morten Welinder  <terra@gnome.org>
3055         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
3056         ignore non-scalable fonts.
3058 2013-03-11  Morten Welinder  <terra@gnome.org>
3060         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
3062 2013-03-10  Morten Welinder  <terra@gnome.org>
3064         * src/ssconvert.c (list_them): Skip savers/openers that require
3065         interaction.  (We don't have any yet.)
3067         * src/stf.c (stf_read_workbook): Set error when we fail due to
3068         lack of GUI.
3069         (stf_init): Mark the configurable saver/opener as interactive.
3071         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
3073 2013-03-09  Morten Welinder <terra@gnome.org>
3075         * configure.ac: Post-release bump.
3077 2013-03-09  Morten Welinder <terra@gnome.org>
3079         * Release 1.12.1
3081 2013-03-06  Morten Welinder  <terra@gnome.org>
3083         * src/wbc-gtk.c (list_actions): Handle a null group.
3085 2013-03-03  Morten Welinder  <terra@gnome.org>
3087         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
3088         g_thread_init if compiled with later than glib 2.32.0.
3090 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
3092         * src/gnm-pane-impl.h: remove alignments.
3093         * src/gnm-pane.c (gnm_pane_header_init): dittO;
3094         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
3095         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
3096         * src/sheet-control-gui-priv.h: remove all tables by one grid.
3097         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
3098         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
3099         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
3100         (scg_mode_edit): ditto.
3101         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
3102         (cb_sheet_visibility_change), (wbcg_sheet_add),
3103         (wbcg_sheet_remove), (wbcg_sheet_focus),
3104         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
3105         (wbcg_get_nth_scg): ditto.
3107 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3109         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3110         * src/print.c (gnm_create_widget_cb): ditto.
3111         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3113 2013-03-01  Morten Welinder  <terra@gnome.org>
3115         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3116         first argument, not "x".
3118 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3120         reviewed by: <delete if not using a buddy>
3122         * INSTALL:
3123         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3124         (sheet_widget_adjustment_user_config_impl),
3125         (sheet_widget_checkbox_user_config),
3126         (sheet_widget_radio_button_user_config):
3127         * src/wbc-gtk.c (wbc_gtk_init):
3129 2013-02-28  Morten Welinder  <terra@gnome.org>
3131         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3132         development versions.  We now get the information through gcc
3133         warnings.
3134         (solver): Make solver code unconditional.  Feel free to not
3135         distribute the relevant plugins.
3137 2013-02-26  Morten Welinder  <terra@gnome.org>
3139         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3141 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3143         * src/number-match.c: more introspection warnings.
3145 2013-02-23  Morten Welinder  <terra@gnome.org>
3147         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3149 2013-02-21  Morten Welinder  <terra@gnome.org>
3151         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3152         GHFunc.  All callers changed.  Impose a robust ordering.
3153         (sh_all_styles): New function replacing sh_foreach.
3155 2013-02-20  Morten Welinder  <terra@gnome.org>
3157         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3159 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3161         * configure.ac: make configure --with-python fail when some
3162         dependency is missing.
3164 2013-02-17  Morten Welinder  <terra@gnome.org>
3166         * configure.ac (set_more_warnings): Improve support for clang.
3168 2013-02-16  Morten Welinder  <terra@gnome.org>
3170         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3171         (Most cases a matter of 0 vs. 0.)
3173 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3175         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3176         default value for stf export format.
3177         * src/dependent.c: fix introspection warnings.
3178         * src/sheet-style.c: ditto.
3180 2013-02-15  Morten Welinder  <terra@gnome.org>
3182         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3183         3.2.0 just like goffice.
3185         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3186         requiring gtk 3.2
3188 2013-02-14  Morten Welinder  <terra@gnome.org>
3190         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3191         not MAXDOUBLE.  Fixes #693761.
3193 2013-02-10  Morten Welinder  <terra@gnome.org>
3195         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3196         doesn't belong here.  We handle everything in rstyle_apply.
3198 2013-02-08  Morten Welinder  <terra@gnome.org>
3200         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3201         link/unlink style dependents.  All callers changed.
3202         (sheet_style_shutdown): Set default style for whole sheet to
3203         ensure style dependents get cleared.
3205 2013-02-07  Morten Welinder  <terra@gnome.org>
3207         * src/sheet-style.c (cell_tile_optimize): Implement
3208         ptr-matrix-to-matrix optimization and use it to simplify things.
3210         * src/dependent.c (GnmStyleDependent): New type of dependent.
3211         When triggered, the cells in which it resised will be rerendered
3212         and redrawn.
3214         * src/mstyle.c (gnm_style_link_dependents)
3215         (gnm_style_unlink_dependents): New functions to manage style
3216         dependents due to conditional formatting.
3218 2013-02-06  Morten Welinder  <terra@gnome.org>
3220         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3221         inside-out in anticipation of future changes.
3223         (col_indicies, row_indicies): Alignment of the corners of apply_to
3224         is only relevant if we are within the tile.
3226 2013-02-06  Morten Welinder  <terra@gnome.org>
3228         * src/sheet-style.c (tile_is_uniform): Extract from
3229         cell_tile_optimize.
3230         (vector_apply_pstyle): Don't return a value.
3231         (cell_tile_apply): Use tile_is_uniform.
3233 2013-02-05  Morten Welinder  <terra@gnome.org>
3235         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3236         instead of crazy "goto".
3237         (cell_tile_apply): Simplify the covers-whole-tile case.
3239         * src/sheet.h (Sheet): Remove max_width and max_height members.
3240         All users fixed.
3242         * src/dependent.h (GnmDependentClass): Add pos handler.
3244         * src/dependent.c (dependent_pos): Use pos handler.
3245         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3247 2013-02-04  Morten Welinder  <terra@gnome.org>
3249         * src/dependent.c (dependent_pos): Make global.
3251         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3252         dependent_pos.
3254         * src/ssconvert.c (run_tool_test): Add code for running the
3255         regression tool.
3256         (convert): Run an analysis tool if requested.  (For testing.)
3258 2013-02-02  Morten Welinder  <terra@gnome.org>
3260         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3261         and rstyle_ctor_pstyle.  All callers changed.
3263 2013-01-18  Morten Welinder  <terra@gnome.org>
3265         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3266         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3267         New matrix support.
3268         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3269         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3271 2013-01-15  Morten Welinder  <terra@gnome.org>
3273         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3274         import from command line.
3276 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3278         * configure.ac: renamed configure.in and update obsolete macros.
3279         * configure.in: ditto.
3281 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3283         * configure.in: Add
3284         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3285         includes.
3287 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3289         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3290         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3291         twice the top and bottom margins when displaying a graph
3292         sheet. [#691472]
3294 2013-01-10  Morten Welinder  <terra@gnome.org>
3296         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3297         argument and assume TRUE.  Drop scope name and assume NULL (which
3298         is what all callers should have used).  All callers changed.
3299         (gnm_func_add_placeholder): Ditto.
3300         (invent_name): Downcase the preferred name.
3301         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3302         (gnm_func_add): Initialize arg_names_p.
3304         * src/gnm-plugin.c (plugin_service_function_group_activate):
3305         Upgrade existing placeholder functions as needed.
3307         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3308         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3310 2013-01-10  Morten Welinder  <terra@gnome.org>
3312         * src/func.c (gnm_func_add_placeholder_localized): New function.
3313         (gnm_func_add_placeholder_full): Extract from
3314         gnm_func_add_placeholder.  Handle localization better.
3315         (gnm_func_set_localized_name): New function.
3316         (gnm_func_free, gnm_func_get_name): Use
3317         gnm_func_set_localized_name.
3319         * src/parse-util.c (std_func_map): Improve handling of unknown
3320         function names.
3322         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3323         (gnm_func_free): ...here.
3325 2013-01-09  Morten Welinder  <terra@gnome.org>
3327         * src/symbol.c: delete.
3329         * src/func.c: rewrite to use GHashTable instead of symbol.c
3330         (gnm_func_lookup_prefix): Take extra argument indicating whether
3331         to search translated names.  Caller changed.
3333         * src/parse-util.c (std_func_map): Lookup translated name as
3334         needed.
3335         (parse_util_init): Add enviroment magic to turn on translated
3336         functions names.  This is not ready for prime time and should be
3337         controlled by a user preference eventually.
3339         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3340         bit.
3342 2013-01-07  Morten Welinder  <terra@gnome.org>
3344         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3345         pivot.  Use gnm_hypot where possible.
3347 2013-01-04  Morten Welinder  <terra@gnome.org>
3349         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3350         as argument.  Keep track of displays.
3351         (gnm_x_disown_clipboard): New function.
3353         * src/application.c (gnm_app_clipboard_clear): Use
3354         gnm_x_disown_clipboard to make things multi-head safe.
3356 2013-01-03  Morten Welinder  <terra@gnome.org>
3358         * src/collect.c (collect_floats): Fix handling of
3359         COLLECT_IGNORE_ERRORS.
3360         (collect_strings): Ditto.
3361         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3363 2013-01-01  Morten Welinder  <terra@gnome.org>
3365         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3366         deprecated goffice stuff.
3368         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3369         unused variable.
3370         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3371         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3372         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3374         * src/application.c (gnm_app_history_add): Kill warning.
3376 2012-12-31  Morten Welinder  <terra@gnome.org>
3378         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3379         Fixed #690929.
3381         * src/ssdiff.c: Introduce --highlight mode.
3383 2012-12-30  Morten Welinder  <terra@gnome.org>
3385         * src/ssdiff.c (main): Add option to send output to a file.
3387 2012-12-29  Morten Welinder  <terra@gnome.org>
3389         * src/ssdiff.c (diff): Use C locale.
3390         (ignore_cell): Ignore arrays, except for the corner.
3391         (output_cell): New function taking proper care of value types,
3392         convensions, etc.
3393         (xml_cell_changed): Use output_cell.
3394         (compare_corresponding_cells): Don't use entered_text here either,
3395         although it's harmless.
3396         (output_cell, compare_corresponding_cells): Handle value formats
3397         too.
3399 2012-12-28  Valek Filippov  <frob@df.ru>
3401         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3402         gdk_window_get_pointer calls.
3404 2012-12-28  Morten Welinder  <terra@gnome.org>
3406         * src/*.c: Eliminate use of printf.
3408         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3409         range offset here.  This may need to move further.
3410         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3411         (diff_sheets_cells): Ignore completely empty cells.
3412         (xml_sheet_start): Change meaning of Old and New attributes to be
3413         index_in_wb and absent when workbook doesn't have the sheet.
3414         (xml_style_changed): Describe style differences.
3416 2012-12-27  Morten Welinder  <terra@gnome.org>
3418         * src/ssdiff.c (diff_sheets): Compare styles too.
3420         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3421         range argument.  All callers changed.
3423 2012-12-24  Morten Welinder  <terra@gnome.org>
3425         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3426         cell_removed handlers into the cell_changed handler.
3427         (main): Add --xml option.
3429         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3430         configurable.  We need ssconvert for the test and it's silly
3431         anyway.
3433 2012-12-18  Morten Welinder <terra@gnome.org>
3435         * configure.in: Post-release bump.