Paste: be a bit paranoid.
[gnumeric.git] / ChangeLog
blobfe80718ae1873623d74a01444e350026f82afc8d
1 2018-04-16  Morten Welinder  <terra@gnome.org>
3         * src/gui-clipboard.c (gnm_x_claim_clipboard): Plug leak.  Debug
4         improvements.
5         (table_cellregion_read): Improve paste-range heuristic for
6         clipboard formats that lack that information, notably
7         LibreOffice's.
9         * src/workbook-view.c (get_uri_modtime): Fix criticals on paste
10         from LibreOffice.  (Which sends a zipfile over the clipboard.)
12 2018-04-14  Morten Welinder  <terra@gnome.org>
14         * src/func.c (gnm_func_count_args): Rename from
15         function_def_count_args for introspection.
16         (gnm_func_get_arg_type): Rename from function_def_get_arg_type
17         for introspection.
18         (gnm_func_get_arg_type_sring): Rename from
19         function_def_get_arg_type_string for introspection.
21         * src/workbook-view.c (workbook_view_save_as): Rename from
22         wb_view_save_as for introspection.
23         (workbook_view_save): Rename from wb_view_save for introspection.
25 2018-04-13  Morten Welinder  <terra@gnome.org>
27         * src/workbook-view.c (workboook_view_save_to_uri): Renamed from
28         wb_view_save_to_uri for introspection.
29         (workbook_view_save_to_output): Renamed from
30         wb_view_save_to_output for introspection.
32         * src/style-color.c (gnm_style_color_get_type): Duplicate of
33         gnm_color_get_type, more or less.
35         * src/validation.c (gnm_validation_ref): Must return a value to be
36         used as a boxed copy function.
38         * src/expr.c (gnm_expr_top_ref): Must return a value to be used
39         as a boxed copy function.
41         * src/expr-name.c (expr_name_ref): Must return a value to be used
42         as a boxed copy function.
44         * src/mstyle.c (gnm_style_ref): Must return a value to be used
45         as a boxed copy function.
47         * src/clipboard.c (cellregion_ref): Must return a value to be used
48         as a boxed copy function.
50         * src/criteria.c (gnm_criteria_unref): Rename from free_criteria.
52         * src/mstyle.c: Hide internals.
53         src/gnm-style-impl.h: Remove.
55         * src/cell.c (gnm_cell_set_format): Remove.  Unused and badly
56         named.
58 2018-04-12  Morten Welinder  <terra@gnome.org>
60         * src/sheet-merge.c (gnm_sheet_merge_remove): Drop unused command
61         context argument.  All callers changed.
63 2018-04-11  Morten Welinder  <terra@gnome.org>
65         * src/workbook.c: Make Workbook a more proper object by adding a
66         constructor to setup the object correctly.  Introspection fixes.
68         (workbook_view_class_init): Make this a more proper object by
69         adding a constructor and init function to setup the object
70         correctly.
72 2018-04-11  Morten Welinder  <terra@gnome.org>
74         * src/workbook-view.c: Introspection fixes, mostly from Dean
75         McCarron.
76         src/workbook-control.c: Ditto.
77         src/wbc-gtk.c: Ditto.
79 2018-03-25  Morten Welinder  <terra@gnome.org>
81         * src/workbook.c (workbook_set_last_export_uri): Constify
82         argument.  Callers fixed.
84 2018-03-23  Morten Welinder  <terra@gnome.org>
86         * src/main-application.c (cpu_sanity_check): New function.
88 2018-03-13  Morten Welinder <terra@gnome.org>
90         * configure.ac: Post-release bump.
92 2018-03-13  Morten Welinder <terra@gnome.org>
94         * Release 1.12.39
96 2018-01-17  Morten Welinder  <terra@gnome.org>
98         * src/sstest.c (function_dump_defs): Drop internal function TABLE
99         as well as demo function ATL_LAST.
101 2018-01-11  Morten Welinder  <terra@gnome.org>
103         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
104         not to trigger an update storm when nothing changes.  Fixes
105         #792417.
107 2018-01-01  Morten Welinder  <terra@gnome.org>
109         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
110         non-reachable code relating to true() and false() conditions.
112 2017-12-30  Morten Welinder  <terra@gnome.org>
114         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
115         changed.
116         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
117         (gnm_expr_top_get_array_expr): New functions.
119         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
120         changed.
122 2017-12-29  Morten Welinder  <terra@gnome.org>
124         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
125         name.  #792038.
127 2017-12-28  Morten Welinder <terra@gnome.org>
129         * configure.ac: Post-release bump.
131 2017-12-28  Morten Welinder <terra@gnome.org>
133         * Release 1.12.38
135 2017-12-25  Morten Welinder  <terra@gnome.org>
137         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
138         * src/func-builtin.c (func_builtin_init): Ditto.
140 2017-12-23  Morten Welinder  <terra@gnome.org>
142         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
144 2017-12-04  Morten Welinder  <terra@gnome.org>
146         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
147         instead of passing them all over the place.
148         (diff): Compare names too.
150 2017-12-03  Morten Welinder  <terra@gnome.org>
152         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
153         (diff): Missing or extra sheet counts as a difference.
155         * src/mstyle.c (gnm_style_find_differences): Don't crash when
156         hlink/validation/inputmsg/conditions is NULL in one and not the other.
158         * src/ssdiff.c (diff_sheets_colrow): New function to compare
159         row/column sizes.
160         (highlight_cell_changed): Survive missing cell.
162 2017-12-01  Morten Welinder <terra@gnome.org>
164         * configure.ac: Post-release bump.
166 2017-12-01  Morten Welinder <terra@gnome.org>
168         * Release 1.12.37
170 2017-11-30  Morten Welinder  <terra@gnome.org>
172         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
173         usage.
174         * src/parse-util.c (wbref_parse): Ditto.
175         * src/preview-grid.c (preview_grid_draw_region): Ditto.
176         * src/item-grid.c (item_grid_draw_region): Ditto.
177         * src/parser.y (yylex): Ditto.
178         * src/criteria.c (parse_database_criteria): Ditto.
180         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
181         stack, allocation.
183         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
184         stack, allocation.
186 2017-11-29  Morten Welinder  <terra@gnome.org>
188         * src/sstest.c (enumerate_functions): Make sure function is loaded.
190         * src/func-builtin.c (help_table): Add help text for TABLE.
192         * src/func.c (gnm_func_enumerate): Introspection annotation.
194         * src/sstest.c (function_dump_defs): Move from func.c with all
195         support code.
196         (gnm_func_sanity_check): Ditto.
198         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
200         * src/main-application.c (pathetic_qt_workaround): Not needed
201         anymore.
203         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
204         looking strange when insensitive and also is a consistent size.
206 2017-11-18  Morten Welinder <terra@gnome.org>
208         * configure.ac: Post-release bump.
210 2017-11-18  Morten Welinder <terra@gnome.org>
212         * Release 1.12.36
214 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
216         * src/gnumeric.css: add grid:selected back-color.
217         * src/item-grid.c (item_grid_draw_region): fix background of multiple
218         selection. [#789411]
220 2017-10-23  Morten Welinder  <terra@gnome.org>
222         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
223         criticals.
225 2017-07-06  Morten Welinder <terra@gnome.org>
227         * configure.ac: Post-release bump.
229 2017-07-06  Morten Welinder <terra@gnome.org>
231         * Release 1.12.35
233 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
235         * src/sheet-object-widget.c
236         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
237         button
239 2017-05-18  Morten Welinder  <terra@gnome.org>
241         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
242         integer orders.
243         (jy_via_j_series): Rename from y_via_j_series and supply both J
244         and Y results.  Use the full J result accuracy.
245         (gnm_bessel_phi): Improve divergence check.
247 2017-05-16  Morten Welinder  <terra@gnome.org>
249         * src/sf-bessel.c (debye_33): Handle near-overflow better.
250         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
251         appropriate.
253         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
255         * src/value.c (value_new_from_string): Handle denormals betters.
257 2017-04-05  Morten Welinder  <terra@gnome.org>
259         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
260         Generalize to Pi/2^e and make public.
262 2017-03-28  Morten Welinder  <terra@gnome.org>
264         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
265         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
266         around the integer with odd count when we can.
268 2017-03-21  Morten Welinder  <terra@gnome.org>
270         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
271         deviation for each bin.
272         (test_random_randchisq, test_random_randtdist)
273         (test_random_randfdist): Don't allow df=0.
274         (test_random_randbeta): Don't floor the parameters thus avoiding
275         zero.
277 2017-03-20  Morten Welinder <terra@gnome.org>
279         * configure.ac: Post-release bump.
281 2017-03-20  Morten Welinder <terra@gnome.org>
283         * Release 1.12.34
285 2017-03-17  Morten Welinder  <terra@gnome.org>
287         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
288         bogus GnmColor here.  The fake object prevents GnmColor equality
289         from working which in turn prevents GnmBorder equality from
290         working.
292         * src/style-color.c (gnm_color_make): Rename from
293         gnm_color_new_uninterned and handle caching here.
294         (gnm_color_new_auto): New function.
296         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
297         (compare_corresponding_cells): Fall back to string comparison.
298         References like Sheet1!A1 should match even if they, obviously,
299         refer to sheets in different workbooks.
301         * src/style-conditions.c (gnm_style_conditions_equal): Add new
302         relax_sheet argument.
304         * src/validation.c (gnm_validation_equal): New function.
306         * src/mstyle.c (gnm_style_find_differences): New function.
308         * src/ssdiff.c (xml_style_changed): Use
309         gnm_style_find_differences.
311         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
312         gnm_style_find_differences, not gnm_style_equal.
314         * src/hlink.c (gnm_hlink_equal): New function.
316 2017-03-13  Morten Welinder  <terra@gnome.org>
318         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
319         inter-sheet local name references.
321 2017-03-10  Morten Welinder  <terra@gnome.org>
323         * src/hlink.c (gnm_hlink_get_name_target)
324         (gnm_hlink_get_range_target): New functions.
325         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
327 2017-03-07  Morten Welinder  <terra@gnome.org>
329         * src/parser.y (parser_simple_name): Extract from
330         parser_simple_val_or_name.  Extend to handle explicit sheet.
331         ("sheetref STRING"): Ise parser_simple_name.
333 2017-03-06  Morten Welinder  <terra@gnome.org>
335         * src/expr-name.c (expr_name_add): Plug leak.
337 2017-03-05  Morten Welinder  <terra@gnome.org>
339         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
340         (gnm_hlink_cur_wb_activate): Move string parsing from here...
341         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
342         value_new_cellrange_str will resolve a name.
344         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
345         sheet for hlinks too.
347         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
348         (gnm_hlink_set_sheet): New functions.
350 2017-01-30  Morten Welinder <terra@gnome.org>
352         * configure.ac: Post-release bump.
354 2017-01-30  Morten Welinder <terra@gnome.org>
356         * Release 1.12.33
358 2017-01-29  Morten Welinder  <terra@gnome.org>
360         * src/style-conditions.c (gnm_style_cond_equal): New function.
361         (gnm_style_conditions_equal): ...split out from here.
363 2017-01-25  Morten Welinder  <terra@gnome.org>
365         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
367 2017-01-22  Morten Welinder  <terra@gnome.org>
369         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
370         expression for text formatted cells.
371         (stf_parse_sheet): Don't try number parsing for text formatted
372         columns.  Fixes #777543.
374 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
376         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
377         format when generating the string. [#777338]
379 2017-01-19  Morten Welinder  <terra@gnome.org>
381         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
383         * src/style-conditions.c (gnm_style_conditions_equal): New
384         function.
386 2016-12-08  Morten Welinder  <terra@gnome.org>
388         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
389         callers changed.
390         (gnm_linear_solve_multiple): Ditto.
392 2016-10-02  Morten Welinder  <terra@gnome.org>
394         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
395         g_mem_set_vtable stuff actually works anymore.
397 2016-08-21  Morten Welinder  <terra@gnome.org>
399         * src/sstest.c (options): Add --fast option.
401         * src/value.c (value_get_as_gstring): Let a negative
402         decimal_digits mean "shortest round-tripping string".
404 2016-08-20  Morten Welinder <terra@gnome.org>
406         * configure.ac: Post-release bump.
408 2016-08-20  Morten Welinder <terra@gnome.org>
410         * Release 1.12.32
412 2016-08-08  Morten Welinder  <terra@gnome.org>
414         * src/criteria.c (criteria_inspect_values): Add flag for string
415         coercion.  Only the equality test wants that.
417         * src/value.c (criteria_inspect_values): Floats don't match
418         errors.
420 2016-08-04  Morten Welinder  <terra@gnome.org>
422         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
423         pointer.
425         * src/collect.c (string_range_function): Add user pointer.  Caller
426         changed.
428 2016-06-29  Morten Welinder <terra@gnome.org>
430         * configure.ac: Post-release bump.
432 2016-06-29  Morten Welinder <terra@gnome.org>
434         * Release 1.12.31
436 2016-06-29  Morten Welinder  <terra@gnome.org>
438         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
439         related to sheet-local names.  [#768164]
441 2016-06-28  Morten Welinder  <terra@gnome.org>
443         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
444         of different lenghts.
446 2016-06-21  Morten Welinder  <terra@gnome.org>
448         * src/value.c (criteria_test_greater_or_equal): Use case-folding
449         comparisons for strings.
450         (parse_criteria, parse_criteria_range): Add argument controlling
451         whether to anchor matching at end of string.
452         (parse_database_criteria): Don't anchor here.
454 2016-06-17  Morten Welinder <terra@gnome.org>
456         * configure.ac: Post-release bump.
458 2016-06-17  Morten Welinder <terra@gnome.org>
460         * Release 1.12.30
462 2016-06-17  Morten Welinder  <terra@gnome.org>
464         * src/value.c (parse_criteria): Anchor matches at the beginning,
465         but not at the end.
467 2016-06-11  Morten Welinder  <terra@gnome.org>
469         * src/value.c (find_rows_that_match): Fix blank handling.
470         (criteria_test_unequal): Wrong type means unequal.
471         (criteria_test_match): Only match strings.
472         (parse_criteria): Don't anchor matches.  This is the right thing
473         to do for DSUM and friends.  Hopefully this doesn't break anything
474         else.
475         (criteria_inspect_values): Strings are incompatible with
476         non-strings.
477         (criteria_test_less, criteria_test_less_or_equal)
478         (criteria_test_greater, criteria_test_greater_or_equal): handle
479         strings.
481 2016-05-19  Morten Welinder  <terra@gnome.org>
483         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
484         decimal counts for the hypothetical comma and point choices.
486 2016-05-10  Morten Welinder  <terra@gnome.org>
488         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
489         members.  Doc fix.
491 2016-05-06  Morten Welinder <terra@gnome.org>
493         * configure.ac: Post-release bump.
495 2016-05-06  Morten Welinder <terra@gnome.org>
497         * Release 1.12.29
499 2016-04-29  Morten Welinder  <terra@gnome.org>
501         * src/gui-util.c (gnm_style_context_get_color): Fix function
502         wrapping gtk_style_context_get_color which changed API.
504 2016-04-24  Morten Welinder  <terra@gnome.org>
506         * src/value-sheet.c (value_area_get_x_y): Use
507         gnm_rangeref_normalize.  Do full wrap-around.
509 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
511         * src/graph.c (gnm_go_data_matrix_load_values): fix array
512         reading. [#765483]
514 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
516         * configure.ac: protect against pxlib weirdness.
518 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
520         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
521         value is an error.
523 2016-03-22  Morten Welinder <terra@gnome.org>
525         * configure.ac: Post-release bump.
527 2016-03-22  Morten Welinder <terra@gnome.org>
529         * Release 1.12.28
531 2016-03-02  Morten Welinder  <terra@gnome.org>
533         * src/sf-bessel.c: Return complex numbers by value, not reference.
535 2016-02-23  Morten Welinder  <terra@gnome.org>
537         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
539 2016-02-18  Morten Welinder  <terra@gnome.org>
541         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
542         #762278.
544 2016-02-12  Morten Welinder  <terra@gnome.org>
546         * src/complex.h: Add a direct-value interface.
548         * src/ssconvert.c (run_solver): Also create solver reports as
549         indicated in options.
551         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
553 2016-02-10  Morten Welinder  <terra@gnome.org>
555         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
556         to 1px.  While that may be a sligh increase for certain
557         themes/gtk+ versions, it is a large decrease for others, notably
558         what comes with an out-of-the-box OpenSuSE leap.  Override in
559         ~/.config/gtk-3.0/gtk.css if need be.
561         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
562         wheel for horizontal motion instead of alt.  Window managers tend
563         to eat the latter.
565 2016-02-08  Morten Welinder  <terra@gnome.org>
567         * src/graph.c (gnm_go_data_vector_eval)
568         (gnm_go_data_vector_finalize): Plug leak.
570 2016-02-06  Morten Welinder <terra@gnome.org>
572         * configure.ac: Post-release bump.
574 2016-02-06  Morten Welinder <terra@gnome.org>
576         * Release 1.12.27
578 2016-02-06  Morten Welinder  <terra@gnome.org>
580         * configure.ac (goffice): Require latest for
581         go_complex_from_polar_pi.
583         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
584         when x<0 and a is real.
586 2016-02-04  Morten Welinder  <terra@gnome.org>
588         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
589         (gnm_complex_continued_fraction): Fail if we would otherwise try
590         to rescale by 0.  Fix termination condition.
591         (igamma_asymp): Fix term update.
592         (complex_igamma): Fix flavour fixup.
594 2016-02-02  Morten Welinder  <terra@gnome.org>
596         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
597         (gamma_error_factor): Extend to all positive numbers.
598         (pochhammer_small_n): Allow any x > 1.
599         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
601 2016-02-01  Morten Welinder  <terra@gnome.org>
603         * configure.ac (yacc, lex): Fail if the required program isn't
604         found.
606 2016-01-31  Morten Welinder  <terra@gnome.org>
608         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
609         complex continued fractions.
611 2016-01-30  Morten Welinder  <terra@gnome.org>
613         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
614         GtkStyleContext.  Another ABI changes causes that to crash.
616         * src/value.c (find_column_of_field): Insist that the database be
617         a cell range, not an array.
619 2016-01-29  Morten Welinder  <terra@gnome.org>
621         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
622         (bessel_ij_series): Rename from bessel_j_series and extend to
623         handle i also.
625         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
626         argument is less than one.
628         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
629         about broken sheet filter.
631         * src/sheet-filter.c (gnm_filter_condition_new_single)
632         (gnm_filter_condition_new_double): Plug leak on error.
633         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
635 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
637         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
638         value. [#761048]
640 2016-01-27  Morten Welinder  <terra@gnome.org>
642         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
643         implementation.
645         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
646         css styling.
648 2016-01-23  Morten Welinder  <terra@gnome.org>
650         * src/parser.y (yylex): Be careful about overflowing numeric
651         token.  Fixes #761023.
653 2016-01-20  Morten Welinder  <terra@gnome.org>
655         * src/complex.h: Namespace.  Mostly for macros.
657 2016-01-16  Morten Welinder  <terra@gnome.org>
659         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
660         unused time argument.  All callers changed.
661         (gnm_simple_canvas_grab): Remove unused arguments and return
662         value.  All callers changed.
664         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
665         without regrabbing the focus.  See #760639.
667 2016-01-13  Morten Welinder  <terra@gnome.org>
669         * src/sstest.c (test_random_randsnorm)
670         (test_random_randbernoulli): Print expected stats.
672         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
673         are sane.  Fixes #760544.
675 2016-01-08  Morten Welinder  <terra@gnome.org>
677         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
679 2016-01-06  Morten Welinder  <terra@gnome.org>
681         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
683 2016-01-04  Morten Welinder  <terra@gnome.org>
685         * src/sheet-style.c (sheet_style_apply_range)
686         (sheet_style_set_range): Silently ignore inverted ranges.
688 2016-01-03  Morten Welinder  <terra@gnome.org>
690         * src/sheet-style.c (sheet_style_apply_range)
691         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
693 2016-01-02  Morten Welinder  <terra@gnome.org>
695         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
697         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
698         zero record size.  Fixes #760087.
700         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
702 2016-01-01  Morten Welinder  <terra@gnome.org>
704         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
706         * src/expr-name.c (expr_name_add): Improve check for circular name
707         defintion.  Fixes #760046.
709 2015-12-28  Morten Welinder  <terra@gnome.org>
711         * src/ssconvert.c (convert): When separating sheets, move current
712         sheet to the front.  See bug #694408.
714         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
715         sheet, remove it at the end.
717 2015-12-28  Morten Welinder <terra@gnome.org>
719         * configure.ac: Post-release bump.
721 2015-12-28  Morten Welinder <terra@gnome.org>
723         * Release 1.12.26
725 2015-12-26  Morten Welinder  <terra@gnome.org>
727         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
728         change here (on the grid).
729         (scg_class_init): Not here.  We're not derived from GtkWidget.
731         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
732         (foreach_tile): New top-level function taking few parameters.  All
733         callers changed.
735 2015-12-25  Morten Welinder <terra@gnome.org>
737         * configure.ac: Post-release bump.
739 2015-12-25  Morten Welinder <terra@gnome.org>
741         * Release 1.12.25
743 2015-12-22  Morten Welinder  <terra@gnome.org>
745         * src/ssdiff.c (xml_style_changed): Do more for input message and
746         validation.
748 2015-12-20  Morten Welinder  <terra@gnome.org>
750         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
751         screen size.
752         (scg_resize): Limit frozen zones to screen size.  Not idea, but
753         better than crashing.
755 2015-12-19  Morten Welinder  <terra@gnome.org>
757         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
759 2015-12-13  Morten Welinder  <terra@gnome.org>
761         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
762         merges on column/row insert.  Fixes #504004.
764 2015-12-12  Morten Welinder  <terra@gnome.org>
766         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
767         when the merge partially falls off the far end.
769 2015-12-10  Morten Welinder  <terra@gnome.org>
771         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
772         ensure actions get accel paths.
774 2015-12-09  Morten Welinder  <terra@gnome.org>
776         * src/wbc-gtk.c (wbcg_find_action): New function to look in
777         multiple places for an action.
779         * src/gui-util.c (gnm_action_group_add_actions): Handle
780         translation context.  Also handle toggle actions.
782 2015-12-08  Morten Welinder  <terra@gnome.org>
784         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
785         syntax.
787         * src/gui-util.c (gnm_action_group_add_actions): New function,
788         currently quite dumb.
790         * configure.ac (CC): Insist on c99.
792 2015-12-05  Morten Welinder  <terra@gnome.org>
794         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
795         (drayleigh): Define in terms of dweibull.
797 2015-12-03  Morten Welinder  <terra@gnome.org>
799         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
800         support.  Fixes R.QHYPER(0.1,3,99,13)
802 2015-10-19  Morten Welinder  <terra@gnome.org>
804         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
805         in[2].  Fixes #752182.
807 2015-09-25  Morten Welinder  <terra@gnome.org>
809         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
810         avoid value copying.  Fixes #752181.
811         (gnumeric_table): Handle repeated cells.  Fixes #752178.
813 2015-09-20  Morten Welinder <terra@gnome.org>
815         * configure.ac: Post-release bump.
817 2015-09-20  Morten Welinder <terra@gnome.org>
819         * Release 1.12.24
821 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
823         * src/gui-file.c (gui_file_save_as): just change the extension not more
824         when the original filename has several dots. [ubuntu #1497344]
826 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
828         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
829         anchors. [#754792]
831 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
833         * src/sheet-object.c (sheet_object_update_bounds),
834         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
835         the objects bounds are always updated. Really fix printing.
836         * src/xml-sax-write.c (xml_write_objects): revert previous change.
838 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
840         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
841         printing, but still not perfect.
842         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
843         * src/xml-sax-write.c (xml_write_objects): ditto.
845 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
847         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
848         with one cell or absolute anchors. [#753961]
849         * src/sheet-object.c (sheet_object_draw_cairo):
851 2015-07-28  Morten Welinder <terra@gnome.org>
853         * configure.ac: Post-release bump.
855 2015-07-28  Morten Welinder <terra@gnome.org>
857         * Release 1.12.23
859 2015-07-14  Morten Welinder  <terra@gnome.org>
861         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
862         #752259.
864 2015-07-09  Morten Welinder  <terra@gnome.org>
866         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
867         operation.  Fixes #752124.
869 2015-07-06  Morten Welinder  <terra@gnome.org>
871         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
873 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
875         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
877 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
879         * src/value.c (value_compare_real): handle two empty values however
880         they appear
882 2015-07-03  Morten Welinder  <terra@gnome.org>
884         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
885         context.
887 2015-06-30  Morten Welinder  <terra@gnome.org>
889         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
890         it all the way here.
892 2015-06-29  Morten Welinder  <terra@gnome.org>
894         * src/func.c (function_iterate_argument_values): Improve name
895         handling.  Part of #751660.
897 2015-06-28  Morten Welinder  <terra@gnome.org>
899         * src/value-sheet.c (value_area_get_width, value_area_get_height):
900         Use the same normalization as value_area_foreach.  Fixes #751390.
902         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
903         Fixes #751577.
905 2015-06-26  Morten Welinder  <terra@gnome.org>
907         * src/value.c (value_new_array_empty): Store value_new_empty(),
908         not NULL, in the slots.  We can make this change because
909         value_new_empty() is a singleton that does not need to be
910         released.  Fixes #751502.
912 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
914         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
916 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
918         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
919         (xml_sax_object_end): ensure we always use the right state. [#751217]
921 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
923         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
925 2015-06-20  Morten Welinder  <terra@gnome.org>
927         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
928         overflow.
929         (go_data_cache_records_fetch_index): If resizing failed return
930         NULL early.
932 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
934         * src/parse-util.h (_GnmConventions): add union_char field
935         * src/parser.y (yylex): handle union_char
936         (setup_state): set union_char
938 2015-06-18  Morten Welinder  <terra@gnome.org>
940         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
941         specifying types derived from sheet objects.  Fixes #751126.
942         (xml_sax_hlink): Similarly.
944 2015-06-16  Morten Welinder  <terra@gnome.org>
946         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
947         in names.  Fixes #751056.
949 2015-05-27  Morten Welinder  <terra@gnome.org>
951         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
952         division by zero.  Fixes #749917.
954         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
956 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
958         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
959         comment #3]
961 2015-05-11  Morten Welinder  <terra@gnome.org>
963         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
964         something bad that will happen whenever FALSE equals TRUE.
966         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
967         inline values.
969         * src/cell.c (gnm_cell_set_array): Improve preconditions.
971 2015-05-09  Morten Welinder  <terra@gnome.org>
973         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
975 2015-04-28  Morten Welinder  <terra@gnome.org>
977         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
978         malformed documents.  Fixes #748596.
979         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
980         #748595.
982 2015-04-16  Morten Welinder <terra@gnome.org>
984         * configure.ac: Post-release bump.
986 2015-04-16  Morten Welinder <terra@gnome.org>
988         * Release 1.12.22
990 2015-04-15  Morten Welinder  <terra@gnome.org>
992         * src/ranges.c (gnm_range_compare): New function.
994 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
996         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
997         (see #700599, comment #11).
999 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1001         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
1002         sheet object name, try the image name.
1004 2015-04-11  Morten Welinder  <terra@gnome.org>
1006         * src/sf-dpq.c (qcauchy): Handle cancellation.
1008         * src/mathfunc.c (pcauchy): Simplify.
1010         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
1011         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
1013 2015-04-09  Morten Welinder  <terra@gnome.org>
1015         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
1016         case.
1018 2015-04-04  Morten Welinder  <terra@gnome.org>
1020         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
1021         Fixes #747356.
1023         * src/xml-sax-write.c (xml_write_objects): Save only relevant
1024         parts of the cell bound.
1026         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
1027         Initialize parts of cell_bound not used.
1029 2015-04-01  Morten Welinder  <terra@gnome.org>
1031         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
1032         GNM_XML_2ND here too.
1033         (gnm_sogg_sax_parser_done): Plug leak.
1035 2015-03-30  Morten Welinder  <terra@gnome.org>
1037         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
1038         function.
1040         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
1041         mode.
1043         * src/sstest.c (test_random_randhyperg): Take var=0 case into
1044         account when checking mean.
1046         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
1047         graph here.
1049 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
1051         * src/graph.h: add support for absolute anchoring of sheet objects.
1052         * src/item-grid.c: ditto.
1053         * src/sheet-control-gui.c: ditto.
1054         * src/sheet-filter.c: ditto.
1055         * src/sheet-object-cell-comment.c: ditto.
1056         * src/sheet-object-component.c: ditto.
1057         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
1058         cells by default. [#684450]
1059         * src/sheet-object-image.c: make images don't resize with cells by default.
1060         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
1061         * src/sheet-object.h: ditto.
1062         * src/workbook-view.c: ditto.
1063         * src/xml-sax-read.c: ditto.
1064         * src/xml-sax-write.c: ditto.
1066 2015-03-30  Morten Welinder  <terra@gnome.org>
1068         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1070 2015-03-23  Morten Welinder  <terra@gnome.org>
1072         * src/sstest.c (rand_fractile_test): Plug leak.
1074 2015-03-21  Morten Welinder  <terra@gnome.org>
1076         * src/sstest.c (rand_fractile_test): Add support for
1077         non-continuous distributions.
1079         * src/mathfunc.c (qgeom): Update to current version in R.
1081         * src/gnm-random.c (random_geometric): Don't add one.
1082         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1084 2015-03-20  Morten Welinder  <terra@gnome.org>
1086         * src/sstest.c (test_random_randbinom): New test.
1087         (test_random_randbetween): New test.
1088         (test_random_randexp): New test.
1089         (test_random_randpoisson): New test.
1090         (test_random_randgeom): New test.
1091         (test_random_randnegbinom): New test.
1092         (test_random_randlog): New test.
1093         (test_random_randdiscrete): New test.
1094         (test_random_randgamma): New test.
1095         (test_random_randtdist): New test.
1096         (test_random_randuniform): New test.
1097         (test_random_randfdist): New test.
1098         (test_random_randcauchy): New test.
1099         (test_random_randbeta): New test.
1100         (test_random_randchisq): New test.
1101         (test_random_randhyperg): New test.
1103         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1105 2015-03-19  Morten Welinder  <terra@gnome.org>
1107         * src/func.c (dump_samples): New function to dump all sample in
1108         help documentation to csv format.
1110         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1111         non-positive integer, but neither a nor b is.
1113 2015-03-07  Morten Welinder  <terra@gnome.org>
1115         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1117         * src/sheet-object-widget.c
1118         (sheet_widget_adjustment_write_xml_sax): Use new
1119         go_xml_out_add_double.
1121         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1122         go_xml_out_add_double.
1124 2015-03-05  Morten Welinder  <terra@gnome.org>
1126         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1127         copy_data argument and simply assume it.
1129 2015-03-04  Morten Welinder <terra@gnome.org>
1131         * configure.ac: Post-release bump.
1133 2015-03-04  Morten Welinder <terra@gnome.org>
1135         * Release 1.12.21
1137 2015-03-03  Morten Welinder  <terra@gnome.org>
1139         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1140         version we write and document why we can't easily increase that
1141         version.
1143 2015-03-02  Morten Welinder  <terra@gnome.org>
1145         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1147         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1148         (xml_sax_version): Bring version list up to date.
1150 2015-03-01  Morten Welinder  <terra@gnome.org>
1152         * src/sheet-object-widget.c
1153         (sheet_widget_list_base_set_selection_value): Plug leak.
1155 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1157         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1158         pixbuf stores the image type.
1160 2015-02-28  Morten Welinder  <terra@gnome.org>
1162         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1163         image, not the bytes in addition.
1164         (gnm_soi_class_init): Use property "image" of type GOImage instead
1165         of "image-data" weirdness.
1166         (gnm_soi_draw_cairo): Remove non-functional fallback.
1167         (gnm_soi_default_size): Ditto.
1169 2015-02-27  Morten Welinder  <terra@gnome.org>
1171         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1172         type for image data.  Create image data if needed.
1173         (SheetObjectImage): Use a properly allocated GByteArray.
1175         * src/sheet-object-widget.c
1176         (sheet_widget_adjustment_user_config_impl): Widgets must have
1177         changed names at some point.  Adjust for that.
1179 2015-02-25  Morten Welinder  <terra@gnome.org>
1181         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1182         Also evaluate here.
1183         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1184         contents.
1186 2015-02-23  Morten Welinder  <terra@gnome.org>
1188         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1189         New function.
1191 2015-02-21  Morten Welinder  <terra@gnome.org>
1193         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1194         gboolean, not a double.
1196         * src/sheet-object-widget.c
1197         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1198         fixed, precision.
1199         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1200         new-fangled orientation for scrollbars.
1202 2015-02-20  Morten Welinder  <terra@gnome.org>
1204         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1205         (cb_button_released): Set value to FALSE here(!)
1207 2015-02-18  Morten Welinder  <terra@gnome.org>
1209         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1210         error just because a cell with text format fails to produce an
1211         expression.  That's expected for text format.
1213 2015-02-17  Morten Welinder  <terra@gnome.org>
1215         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1217 2015-02-11  Morten Welinder  <terra@gnome.org>
1219         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1220         writing duplicate style so version 1.2 and earlier can read it.
1222 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1224         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1225         that can't be convered to valid numbers.
1227 2015-02-10  Morten Welinder  <terra@gnome.org>
1229         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1231 2015-02-06  Morten Welinder  <terra@gnome.org>
1233         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1234         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1235         (sheet_widget_radio_button_set_link)
1236         (sheet_widget_list_base_set_links)
1237         (sheet_widget_adjustment_set_details): Only link if we have a
1238         sheet.
1240 2015-02-04  Morten Welinder <terra@gnome.org>
1242         * configure.ac: Post-release bump.
1244 2015-02-04  Morten Welinder <terra@gnome.org>
1246         * Release 1.12.20
1248 2015-01-30  Morten Welinder  <terra@gnome.org>
1250         * src/sheet-object-widget.c
1251         (sheet_widget_adjustment_set_horizontal): Make this public.
1253 2015-01-23  Morten Welinder <terra@gnome.org>
1255         * configure.ac: Post-release bump.
1257 2015-01-23  Morten Welinder <terra@gnome.org>
1259         * Release 1.12.19
1261 2015-01-20  Morten Welinder  <terra@gnome.org>
1263         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1264         See bug #743130.
1266 2015-01-19  Morten Welinder  <terra@gnome.org>
1268         * src/gutils.c (gnm_icon_dir): Remove.
1270         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1271         resources.
1273         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1274         from glib resources.
1276         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1277         Delete.
1279         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1280         otherwise dump them in temporary files in order to load them.
1282         * src/workbook.c (workbook_update_graphs): New function.
1284         * src/workbook-view.c (workbook_view_new_from_input): Update
1285         graphs.
1287 2015-01-14  Morten Welinder  <terra@gnome.org>
1289         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1290         an expresssion, make it a string instead of dropping it on the
1291         floor.
1293 2015-01-13  Morten Welinder  <terra@gnome.org>
1295         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1296         missing shared expression, define a dummy version so we don't get
1297         repeated errors.
1299 2015-01-09  Morten Welinder  <terra@gnome.org>
1301         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1302         sort them later than other values.  This fixes #742601.
1304 2015-01-01  Morten Welinder  <terra@gnome.org>
1306         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1307         names, not stock ids.
1309         * src/gnm-pane.c (update_control_point_colors): Avoid
1310         gtk_style_context_get_background_color.
1311         * src/item-cursor.c (ic_reload_style): Ditto.
1313 2014-12-30  Morten Welinder  <terra@gnome.org>
1315         * src/rendered-value.c (gnm_rendered_value_new):
1316         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1318 2014-12-27  Morten Welinder  <terra@gnome.org>
1320         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1321         unless we really have to.
1323 2014-12-25  Morten Welinder  <terra@gnome.org>
1325         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1326         multihead issue.
1328         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1330         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1332         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1333         icon on sheet direction changes.
1335         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1337 2014-12-24  Morten Welinder  <terra@gnome.org>
1339         * src/wbc-gtk.c (wbcg_show_save_dialog)
1340         (wbcg_close_if_user_permits): Constant propagation.
1342         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1343         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1345 2014-12-22  Morten Welinder  <terra@gnome.org>
1347         * icons/fake-index-theme: we need actions directories too.
1349 2014-12-21  Morten Welinder  <terra@gnome.org>
1351         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1352         handling.
1354 2014-12-20  Morten Welinder  <terra@gnome.org>
1356         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1357         count in delete, such as used from sheet resize.
1359 2014-12-19  Morten Welinder  <terra@gnome.org>
1361         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1362         (before g_setenv is available).
1364 2014-12-16  Morten Welinder  <terra@gnome.org>
1366         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1367         number.
1369         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1370         the delete case.
1372 2014-12-15  Morten Welinder  <terra@gnome.org>
1374         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1375         sheet_style_insert_colrow and handled deletion too.
1377         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1378         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1379         and clean up.
1381         * src/dependent.c (dependent_has_pos, dependent_move): New
1382         functions.
1384 2014-12-14  Morten Welinder  <terra@gnome.org>
1386         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1387         free.
1389 2014-12-11  Morten Welinder  <terra@gnome.org>
1391         * src/dependent.c (style_dep_debug_name): Include position too.
1393         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1394         sheet_row_add.
1395         (colrow_move): Change parameterization slightly.
1397 2014-12-06  Morten Welinder  <terra@gnome.org>
1399         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1400         want them visually gone and g_object_unref does not guarantee
1401         that.
1403         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1404         dependents.  A later step clears and re-applies style completely
1405         for the moved area.  Fixes #741197.
1407         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1408         function.
1410         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1411         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1413         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1414         leak.
1415         (gnm_cmd_context_error_splits_merge): Plug leak.
1417 2014-11-15  Morten Welinder  <terra@gnome.org>
1419         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1420         the wbc is already gone.
1422 2014-11-09  Morten Welinder  <terra@gnome.org>
1424         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1425         data.  Might fix Redhat #1160975.
1427 2014-10-28  Morten Welinder  <terra@gnome.org>
1429         * src/style.c (find_font): Accept NULL font name.
1431 2014-10-27  Morten Welinder  <terra@gnome.org>
1433         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1434         code.
1436 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1438         * src/item-cursor.c (cb_item_cursor_animation): use
1439         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1440         outside of a draw event.
1442 2014-10-26  Morten Welinder  <terra@gnome.org>
1444         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1445         Use throughout.
1446         (GnmValue): Drop type union member.  C99 requires that this be
1447         accessed in a structure.  We have v_any for that.
1449 2014-10-25  Morten Welinder  <terra@gnome.org>
1451         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1452         ought to survive both gcc's aliasing analysis and valgrind's
1453         bitfield problems.
1455 2014-10-24  Morten Welinder  <terra@gnome.org>
1457         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1459 2014-10-21  Morten Welinder  <terra@gnome.org>
1461         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1463 2014-09-25  Morten Welinder <terra@gnome.org>
1465         * configure.ac: Post-release bump.
1467 2014-09-25  Morten Welinder <terra@gnome.org>
1469         * Release 1.12.18
1471 2014-09-25  Morten Welinder  <terra@gnome.org>
1473         * src/sheet-filter.c (gnm_filter_condition_new_single)
1474         (gnm_filter_condition_new_double): Fix preconditions.  See
1475         #735249.
1477 2014-09-23  Morten Welinder  <terra@gnome.org>
1479         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1480         doesn't spew deprecation warnings by default.
1482 2014-09-11  Morten Welinder  <terra@gnome.org>
1484         * src/style.c (gnm_translate_underline_from_pango): Survive
1485         PANGO_UNDERLINE_ERROR.
1487 2014-06-09  Morten Welinder <terra@gnome.org>
1489         * configure.ac: Post-release bump.
1491 2014-06-09  Morten Welinder <terra@gnome.org>
1493         * Release 1.12.17
1495 2014-05-28  Morten Welinder  <terra@gnome.org>
1497         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1498         when we drag the handle into the col/row canvas.
1500         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1502         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1503         handler.  Fixes #730884.
1505 2014-05-27  Morten Welinder  <terra@gnome.org>
1507         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1508         col/row canvas.  Fixes #730857.
1509         (gnm_pane_dispose): Release references.
1511 2014-05-23  Morten Welinder <terra@gnome.org>
1513         * configure.ac: Post-release bump.
1515 2014-05-23  Morten Welinder <terra@gnome.org>
1517         * Release 1.12.16
1519 2014-05-23  Morten Welinder  <terra@gnome.org>
1521         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1522         need better building blocks for commands; this is one such.
1524 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1526         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1527         (cmd_hyperlink_redo): ditto
1528         (cmd_hyperlink_finalize): ditto
1529         (cb_cmd_hyperlink_find_cells): ditto
1531 2014-05-20  Morten Welinder  <terra@gnome.org>
1533         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1535         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1536         outline and fill colours that are auto, even for the 1.0 format.
1538         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1539         conditional format ranges.
1541 2014-05-14  Morten Welinder  <terra@gnome.org>
1543         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1545         * src/gutils.c (gnm_object_has_readable_prop): New function.
1547         * configure.ac (scrollkeeper): Test if we have it.
1549 2014-05-05  Morten Welinder  <terra@gnome.org>
1551         * src/wbc-gtk.c (toolbar_context_menu): Remove
1552         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1553         false for years and is unsupported in gtk+.
1555 2014-04-30  Morten Welinder <terra@gnome.org>
1557         * configure.ac: Post-release bump.
1559 2014-04-30  Morten Welinder <terra@gnome.org>
1561         * Release 1.12.15
1563 2014-04-23  Morten Welinder  <terra@gnome.org>
1565         * src/complete.c (complete_idle): Avoid abort().
1567         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1568         source.
1570 2014-04-22  Morten Welinder  <terra@gnome.org>
1572         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1573         replaced with calls to gnm_color_new_go.
1575         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1577         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1579 2014-04-21  Morten Welinder  <terra@gnome.org>
1581         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1582         only in the hop of fixing #728465.
1584 2014-04-13  Morten Welinder <terra@gnome.org>
1586         * configure.ac: Post-release bump.
1588 2014-04-13  Morten Welinder <terra@gnome.org>
1590         * Release 1.12.14
1592 2014-04-11  Morten Welinder  <terra@gnome.org>
1594         * src/item-bar.c: Get colours when we draw; only get sizing
1595         relevant information at odd times, in particular when parent
1596         widgets may be insensitive, such as during a load-onto-pristine.
1597         Fixes #728007.
1599 2014-04-10  Morten Welinder  <terra@gnome.org>
1601         * src/item-bar.c (ib_reload_style): Add debug code.
1603 2014-04-09  Morten Welinder  <terra@gnome.org>
1605         * src/number-match.c (format_match_datetime): Plug leak on certain
1606         failure cases.
1608 2014-04-02  Morten Welinder  <terra@gnome.org>
1610         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1611         integer test.
1613 2014-03-30  Morten Welinder  <terra@gnome.org>
1615         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1616         list of extra uis.
1618 2014-03-28  Morten Welinder  <terra@gnome.org>
1620         * src/main-application.c (main): Move Ubuntu hack earlier.
1622 2014-03-27  Morten Welinder  <terra@gnome.org>
1624         * src/main-application.c (main): Attempt to banish ubuntu's
1625         overlay scrollbar which don't work.
1627 2014-03-21  Morten Welinder  <terra@gnome.org>
1629         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1630         case insensitve and allow wildcards.
1632         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1633         from fn-string.
1635         * src/style-conditions.c (generate_end_match): Use case
1636         insensitive comparison.  Pull negation into the operator.
1637         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1638         insensitive.
1640 2014-03-18  Morten Welinder  <terra@gnome.org>
1642         * src/gui-util.c (kill_popup_menu): One more try at really killing
1643         the context menu after we're done with it.
1645         * src/item-grid.c (item_grid_realize): Plug leak.
1647 2014-03-18  Morten Welinder <terra@gnome.org>
1649         * configure.ac: Post-release bump.
1651 2014-03-18  Morten Welinder <terra@gnome.org>
1653         * Release 1.12.13
1655 2014-03-18  Morten Welinder  <terra@gnome.org>
1657         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1658         providers from screens on exit.
1660         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1662 2014-03-17  Morten Welinder  <terra@gnome.org>
1664         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1666 2014-03-16  Morten Welinder  <terra@gnome.org>
1668         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1669         formats.  I'm not positive we do things right, but this avoids
1670         criticals, at least.
1672         * src/cell.c (cell_set_expr_internal): Don't change an existing
1673         value.
1675 2014-03-15  Morten Welinder  <terra@gnome.org>
1677         * src/style-border.c (gnm_border_shutdown): New function to help
1678         debug leaks.  Shutdown border_none here.
1680         * src/style-color.c (gnm_color_shutdown): Not here.
1682 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1684         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1685         the tooltip where it will not immediatly be destroyed after creation.
1686         [really fix #706659]
1688 2014-03-14  Morten Welinder  <terra@gnome.org>
1690         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1691         if we don't have any.
1693 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1695         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1697 2014-03-13  Morten Welinder  <terra@gnome.org>
1699         * src/style-conditions.c (gnm_style_cond_eval): New function
1700         extracted from gnm_style_conditions_eval.  Make "equal" case
1701         insensitive.  Fixes #726246.
1703         * src/ssconvert.c (convert): Show resize message only if verbose.
1705 2014-03-12  Morten Welinder  <terra@gnome.org>
1707         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1708         function.
1709         (gnm_style_cond_canonicalize): New function.
1711         * src/ssconvert.c (convert): only print "Using exporter ..." if
1712         --verbose is given, and print it to stderr.
1714 2014-03-11  Morten Welinder  <terra@gnome.org>
1716         * src/sheet.c (cb_set_markup): Don't mess directly with
1717         cell->value.  We need to trigger a re-render.  Fixes #726086.
1719         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1720         for the pre-validation assignment.
1722         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1723         before assigning it to the cell.
1725 2014-03-10  Morten Welinder  <terra@gnome.org>
1727         * gnumeric.xsd: Update valign/halign attributes.  Update print
1728         setup.
1730         * src/sheet-filter.c (gnm_filter_condition_new_single)
1731         (gnm_filter_condition_new_double): Add preconditions.
1733 2014-03-07  Morten Welinder  <terra@gnome.org>
1735         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1737 2014-03-05  Morten Welinder  <terra@gnome.org>
1739         * src/expr.c (gnm_expr_top_is_volatile): New function.
1741         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1742         volatile expressions.
1744         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1745         (dependent_is_volatile): New function.
1747         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1748         Don't set the initial range here.
1750         * src/expr.c (gnm_expr_top_first_funcall)
1751         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1752         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1753         gnm_expr_walk.
1754         (gnm_expr_top_get_boundingbox): Set initial range here.
1756         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1757         Ditto.
1759 2014-03-03  Morten Welinder <terra@gnome.org>
1761         * configure.ac: Post-release bump.
1763 2014-03-03  Morten Welinder <terra@gnome.org>
1765         * Release 1.12.12
1767 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1769         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1771 2014-03-02  Morten Welinder  <terra@gnome.org>
1773         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1774         name-collections.
1775         (wbcg_sheet_order_changed): Mark ui as being updated.
1776         (cb_bnotebook_page_reordered): Ignore during UI update.
1778         * src/expr-name.c (gnm_named_expr_collection_dump)
1779         (gnm_named_expr_collection_sanity_check): New function.
1781         * src/application.c (gnm_app_sanity_check): New function.
1783         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1784         string inside the GOString as a hash key.  It can change.
1785         (gnm_named_expr_collection_foreach): As a consequence of the
1786         above, the first argument to the handler for
1787         gnm_named_expr_collection_foreach changes to something
1788         unspecified.  All callers changed.
1790         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1791         sheet.
1793         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1794         when encountering strangeness.
1796 2014-02-28  Morten Welinder  <terra@gnome.org>
1798         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1799         If row/column canvas is not visible, ignore them.
1800         (scg_gtk_paned_set_position): Don't allow negative position.
1801         Fixes #725375.
1803         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1804         changes.
1806 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1808         * src/item-grid.c (item_grid_draw_region): fix background filling for
1809         rtl sheets. [#725276]
1811 2014-02-25  Morten Welinder  <terra@gnome.org>
1813         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1814         (gnumeric_create_popup_menu): Drop return value from handler.
1816         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1817         are cell comments by position.
1819 2014-02-24  Morten Welinder  <terra@gnome.org>
1821         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1823         * src/colrow.c (colrow_equal): Don't use floating-point equality
1824         here.  Allow a difference of 1e-5 pt for size.
1826 2014-02-23  Morten Welinder  <terra@gnome.org>
1828         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1829         fill in the new areas with most common styles for the rows to the
1830         left of the new columns or the columns above the new area.
1832 2014-02-19  Morten Welinder  <terra@gnome.org>
1834         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1835         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1837         * src/mathfunc.c (gnm_log2): New function.
1839 2014-02-18  Morten Welinder  <terra@gnome.org>
1841         * src/ssdiff.c (xml_style_changed): Report differences for
1842         auto-color settings.
1844 2014-02-17  Morten Welinder  <terra@gnome.org>
1846         * src/ssconvert.c (convert): Add --resize option.
1848 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1850         * src/item-grid.c (item_grid_realize): fix persistence of
1851         hyperlink tips. [see #724108]
1853 2014-02-16  Morten Welinder <terra@gnome.org>
1855         * configure.ac: Post-release bump.
1857 2014-02-16  Morten Welinder <terra@gnome.org>
1859         * Release 1.12.11
1861 2014-02-16  Morten Welinder  <terra@gnome.org>
1863         * src/func.c (function_dump_defs): Update boilerplate.
1865 2014-02-11  Morten Welinder <terra@gnome.org>
1867         * configure.ac: Post-release bump.
1869 2014-02-11  Morten Welinder <terra@gnome.org>
1871         * Release 1.12.10
1873 2014-02-07  Morten Welinder  <terra@gnome.org>
1875         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1876         entry on top of merged cells.  Fixes #723600.
1878 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1880         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1881         a better fix to previous issue.
1883 2014-01-30  Morten Welinder  <terra@gnome.org>
1885         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1886         toolbar icons.
1888         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1889         smoother (when not using the fallback).  Avoid using hard light
1890         for ant-ing -- that doesn't work for the same reason as alpha not
1891         working.  Always use phase=0 for non-ant stipples.
1892         (GnmItemCursor): Use the canvas item's visibility flag instead of
1893         rolling our own.
1895 2014-01-29  Morten Welinder  <terra@gnome.org>
1897         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1899         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1900         check for bad clipping somewhere in gtk+ or theme land.
1902 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1904         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1905         component reference to the workbook.
1907 2014-01-27  Morten Welinder  <terra@gnome.org>
1909         * src/func.c (function_dump_defs): Undo wiki change.
1911 2014-01-21  Morten Welinder  <terra@gnome.org>
1913         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1914         the amount of work we do for ant-ing.  Fixes #381011, patch from
1915         Jean.
1916         (ic_reload_style): Ignore alpha component of ant colours.
1918 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1920         * src/graph.c (gnm_go_data_vector_load_len),
1921         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1922         [#722294]
1924 2014-01-16  Morten Welinder  <terra@gnome.org>
1926         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1927         cb_darken_foreground_attributes and change to take non-white
1928         background into account.
1930 2014-01-12  Morten Welinder  <terra@gnome.org>
1932         * src/mathfunc.c (expmx2h): Split out from dnorm.
1933         (dhyper): Round the chosen "p" to float to improve accuracy of
1934         "q".
1936 2014-01-11  Morten Welinder  <terra@gnome.org>
1938         * src/mathfunc.c (pow1p): Improve accuracy.
1939         (R_D_nonint): Fix rounding problem.
1940         (ebd0): New extended version of bd0.
1941         (dpois_raw, dbinom_raw): Use ebd0.
1942         (dbinom_raw): Handle x==n and x==0 much better.
1944 2014-01-08  Morten Welinder  <terra@gnome.org>
1946         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1947         g_mkdtemp_full.
1949         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1951         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1952         return the WorkbookView instead of a boolean.
1954 2014-01-01  Morten Welinder  <terra@gnome.org>
1956         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1958 2013-12-31  Morten Welinder  <terra@gnome.org>
1960         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1961         mathfunc.c
1963 2013-12-30  Morten Welinder  <terra@gnome.org>
1965         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1966         (bd0): Reimplement.
1967         (dpois_raw): Avoid going through logs, if possible.
1969 2013-12-25  Morten Welinder  <terra@gnome.org>
1971         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1972         we return FALSE so we don't try to remove the source later.
1974 2013-12-22  Morten Welinder  <terra@gnome.org>
1976         * src/gui-util.c (gnm_widget_measure_string): New function
1977         allowing the elimination of all gtk_style_context_get_font calls.
1979 2013-12-19  Morten Welinder  <terra@gnome.org>
1981         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1982         especially when |x|<<1.  Ditto for x<-1.
1984 2013-12-17  Morten Welinder  <terra@gnome.org>
1986         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1987         multiplication.
1989 2013-12-14  Morten Welinder  <terra@gnome.org>
1991         * src/sf-gamma.c (complex_igamma): New function.
1993 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
1995         * */*.c: Fix some leaks and null dereferences pointed out by
1996         cppcheck.
1998 2013-12-12  Morten Welinder  <terra@gnome.org>
2000         * src/parser.y (array_row): Avoid overrunning string when multiple
2001         missing closing parentheses are detected.  Fixes #720353.
2003 2013-12-11  Morten Welinder  <terra@gnome.org>
2005         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
2006         gdk_event_get_screen, not from ->screen.  This might fix #720182.
2008         * src/*.c: Use accessor function for GdkEvent when convenient.
2010 2013-12-07  Morten Welinder  <terra@gnome.org>
2012         * src/application.c (gnm_app_init): Don't allocate a
2013         GtkRecentManager if we are not in gui mode.
2015         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
2016         behaviour.
2017         * src/dependent.c (deprange_hash): Ditto.
2019 2013-12-04  Morten Welinder  <terra@gnome.org>
2021         * src/sf-gamma.c (gamma_error_factor): Add extra term.
2023 2013-12-07  Morten Welinder  <terra@gnome.org>
2025         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
2026         of the argument for [-1.5;-0.5].
2028         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
2029         Re z < 1/2.  Avoid some overflow.
2031 2013-12-02  Morten Welinder  <terra@gnome.org>
2033         * src/sf-bessel.c (bessel_y): Use the J series when possible.
2035 2013-12-07  Morten Welinder  <terra@gnome.org>
2037         * src/sf-bessel.c (bessel_j): Use the taylor series in the
2038         parameter range where that makes sense.
2040         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
2041         (gnm_beta): Ditto.
2043 2013-11-30  Morten Welinder  <terra@gnome.org>
2045         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
2046         negative values.
2048 2013-11-28  Morten Welinder <terra@gnome.org>
2050         * configure.ac: Post-release bump.
2052 2013-11-28  Morten Welinder <terra@gnome.org>
2054         * Release 1.12.9
2056 2013-11-25  Morten Welinder  <terra@gnome.org>
2058         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
2059         mathfunc.c
2061 2013-11-19  Morten Welinder  <terra@gnome.org>
2063         * src/print.c (print_page): Fix check for missing object.  Fixes
2064         #712662.
2066 2013-11-18  Morten Welinder  <terra@gnome.org>
2068         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2070 2013-11-15  Morten Welinder  <terra@gnome.org>
2072         * src/mathfunc.c (reduce_pi_half): New function.
2074 2013-11-14  Morten Welinder  <terra@gnome.org>
2076         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2077         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2079 2013-11-13  Morten Welinder  <terra@gnome.org>
2081         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2083 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2085         * src/sheet-object.c (sheet_object_view_button2_pressed),
2086         (sheet_object_view_class_init): implement double click for graph sheets.
2087         [#712216]
2089 2013-11-12  Morten Welinder  <terra@gnome.org>
2091         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2092         emission.
2093         (cb_bnotebook_page_reordered): New function.
2094         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2096         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2098 2013-11-06  Morten Welinder  <terra@gnome.org>
2100         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2102 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2104         * src/workbook-view.c: add more introspection related comments.
2105         * src/workbook.c: ditto.
2107 2013-11-03  Morten Welinder  <terra@gnome.org>
2109         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2110         sin/cos before scaling by pi.
2112 2013-11-01  Morten Welinder  <terra@gnome.org>
2114         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2115         (gnm_gamma): Protect against unnecessary overflow at top of range.
2117 2013-10-31  Morten Welinder  <terra@gnome.org>
2119         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2120         avoids accuracy problems since any cdf is completely flat in terms
2121         of floating point values when going sufficiently far into the
2122         tail.
2123         (qtukey): Ditto.
2124         (qbeta): Ditto.
2125         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2126         (permut): Route this into pochhammer.
2127         (qfact): New function.  Tabulate 0! through 50000! using quad
2128         precision arithmetic.
2129         (combin, fact, pochhammer): Improve accuracy using qfact.
2131 2013-10-22  Morten Welinder  <terra@gnome.org>
2133         * src/func.c (function_call_with_exprs): Move flags argument into
2134         structure.
2136 2013-10-19  Morten Welinder  <terra@gnome.org>
2138         * src/hlink.c (_gnm_hlink_init): New function.
2139         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2141 2013-10-07  Morten Welinder <terra@gnome.org>
2143         * configure.ac: Post-release bump.
2145 2013-10-07  Morten Welinder <terra@gnome.org>
2147         * Release 1.12.8
2149 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2151         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2153 2013-10-03  Morten Welinder  <terra@gnome.org>
2155         * src/item-cursor.c (item_cursor_draw): Drop expose area
2156         optimization that may not be correct with current gtk.  See bug
2157         #709320.
2159 2013-09-29  Morten Welinder  <terra@gnome.org>
2161         * src/main-application.c: Include <io.h> for win32.
2163         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2165 2013-09-25  Morten Welinder  <terra@gnome.org>
2167         * src/gnumeric.css: Use lighter green for function marker.
2169 2013-09-01  Morten Welinder <terra@gnome.org>
2171         * configure.ac: Post-release bump.
2173 2013-09-01  Morten Welinder <terra@gnome.org>
2175         * Release 1.12.7
2177 2013-08-29  Morten Welinder  <terra@gnome.org>
2179         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2180         Fixes #707047.
2182 2013-08-28  Morten Welinder  <terra@gnome.org>
2184         * src/mathfunc.c (gnm_gamma): Improve precision for large
2185         arguments.
2186         (gnm_yn): Not needed anymore.
2187         (bessel_i): Don't mark error strings for translation.
2189 2013-08-27  Morten Welinder <terra@gnome.org>
2191         * configure.ac: Post-release bump.
2193 2013-08-27  Morten Welinder <terra@gnome.org>
2195         * Release 1.12.6
2197 2013-08-26  Morten Welinder  <terra@gnome.org>
2199         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2200         (internal_style_list): Add fast pre-optimization to bring down the
2201         number of entries before we start messing with hashes.  Fixes
2202         #699045.
2204 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2206         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2207         GraphDimEditor::changed. See bug 706591 comment #2.
2209 2013-08-19  Morten Welinder <terra@gnome.org>
2211         * configure.ac: Post-release bump.
2213 2013-08-19  Morten Welinder <terra@gnome.org>
2215         * Release 1.12.5
2217 2013-08-15  Morten Welinder  <terra@gnome.org>
2219         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2220         Fixes #706095.
2222         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2223         parameters.  See bug 705913, comment 6.
2225 2013-08-13  Morten Welinder  <terra@gnome.org>
2227         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2229 2013-08-12  Morten Welinder  <terra@gnome.org>
2231         * src/sheet-object-widget.c (sow_create_widget): New function.
2232         Add sheet-object class to widgets.
2234 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2236         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2237         initial colour
2238         (sheet_widget_button_draw_cairo): also scale line thickness
2239         (sheet_widget_checkbox_draw_cairo): scale button size
2240         (sheet_widget_radio_button_draw_cairo): scale button size
2242 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2244         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2245         argument and change all callers
2247 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2249         * src/sheet-object-widget.c (get_font): add fall-backs
2251 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2253         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2254         draw_cairo_text.
2255         (draw_cairo_text): add h-vcenter argument and change all callers
2257 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2259         * src/sheet-object-widget.c (cb_range_destroyed),
2260         (sheet_widget_scrollbar_create_widget),
2261         (sheet_widget_spinbutton_create_widget),
2262         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2263         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2265 2013-08-09  Morten Welinder  <terra@gnome.org>
2267         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2268         get_font.
2269         (get_font): New function extracted from draw_cairo_text.
2271 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2273         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2274         if possible
2276 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2278         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2279         allow multi-paragraph with a highlighted line. Change all callers
2280         (sheet_widget_list_draw_cairo): use draw_cairo_text
2282 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2284         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2285         cairo version for Gnuemric too.
2286         (sheet_widget_button_draw_cairo): ditto
2287         (sheet_widget_scrollbar_draw_cairo): ditto
2288         (sheet_widget_spinbutton_draw_cairo): ditto
2289         (sheet_widget_slider_draw_cairo): ditto
2290         (sheet_widget_checkbox_draw_cairo): ditto
2291         (sheet_widget_radio_button_draw_cairo): ditto
2292         (sheet_widget_list_draw_cairo): ditto
2293         (sheet_widget_combo_draw_cairo): ditto
2295 2013-08-08  Morten Welinder  <terra@gnome.org>
2297         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2298         Reduce crazy relative offsets.
2300 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2302         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2303         change all callers
2304         (sheet_widget_frame_draw_cairo): new
2305         (sheet_widget_button_draw_cairo): new
2306         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2307         (sheet_widget_scrollbar_vertical_draw_cairo): new
2308         (sheet_widget_scrollbar_class_init): connect the above
2309         (sheet_widget_spinbutton_draw_cairo): new
2310         (sheet_widget_spinbutton_class_init): connect the above
2311         (sheet_widget_slider_horizontal_draw_cairo): new
2312         (sheet_widget_slider_vertical_draw_cairo): new
2313         (sheet_widget_slider_draw_cairo): new
2314         (sheet_widget_slider_class_init): connect the above
2315         (sheet_widget_list_draw_cairo): new
2316         (sheet_widget_list_class_init): connect the above
2317         (sheet_widget_combo_draw_cairo): new
2318         (sheet_widget_combo_class_init): connect the above
2320 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2322         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2323         change all uses of this macro
2324         (draw_cairo_text): new
2325         (sheet_widget_checkbox_draw_cairo): new
2326         (sheet_widget_radio_button_draw_cairo): new
2328 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2330         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2331         gtk_offscreen_window_new without a default screen (see bugs #705638
2332         and #705640)
2334 2013-08-07  Morten Welinder  <terra@gnome.org>
2336         * src/ssconvert.c (main): Initialize gtk+ without opening any
2337         display.
2339 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2341         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2343 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2345         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2346         * src/sheet-control-gui.c (scg_init): init new fields
2347         (scg_im_destroy): new
2348         (scg_finalize): call scg_im_destroy
2349         (cb_cell_im_timer): new
2350         (scg_find_pane): new
2351         (scg_show_im_tooltip): new
2352         (scg_class_init): init new field
2353         * src/sheet-control-priv.h: add field
2354         * src/sheet-control.c: add virtual
2355         * src/sheet-control.h: add virtual
2356         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2357         (sv_update): call sheet_view_edit_pos_tool_tips
2358         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2359         in pixels
2360         (sheet_row_get_distance_pixels): new
2361         * src/sheet.h (sheet_row_get_distance_pixels): new
2363 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2365         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2366         nodes in guppi graphs. [Debian #718594]
2368 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2370         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2371         'default'
2373 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2375         * src/sheet-control-gui.c (context_menu_handler): add argument to
2376         dialog_cell_format call
2377         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2378         dialog_cell_format call
2379         (cb_data_validate): ditto
2381 2013-07-30  Morten Welinder  <terra@gnome.org>
2383         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2384         colour.  Fixes rest of #705031.
2386 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2388         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2390 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2391         for Dmitry Smirnov
2392         * gnumeric.desktop.in: add ODS files
2394 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2396         * src/graph.c (gnm_go_data_vector_load_values): really load all
2397         values for multiple ranges.
2399 2013-07-19  Morten Welinder  <terra@gnome.org>
2401         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2402         check: the enum has a hole in the middle.  Fixes #704562.
2404 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2406         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2407         printing.
2408         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2410 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2412         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2413         (gnm_so_path_set_property): ditto
2414         (gnm_so_path_get_property): ditto
2416 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2418         * src/gnm-so-path.c (so_path_view_set_bounds),
2419         (cb_gnm_so_path_changed): a better fix for the text position.
2421 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2423         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2424         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2425         * src/gnm-so-path.c (so_path_view_set_bounds),
2426         (cb_gnm_so_path_changed): fix text wrap in paths too.
2428 2013-07-16  Morten Welinder  <terra@gnome.org>
2430         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2431         computing range size.  Fixes #704325.
2433 2013-07-15  Morten Welinder  <terra@gnome.org>
2435         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2436         that.  Fixes #704004.
2438         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2440         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2441         against oversize range.
2443 2013-07-12  Morten Welinder  <terra@gnome.org>
2445         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2446         sure it falls within the sheet.
2447         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2448         parts are on different sheets.  Fixes #704109.
2450 2013-07-10  Morten Welinder <terra@gnome.org>
2452         * configure.ac: Post-release bump.
2454 2013-07-10  Morten Welinder <terra@gnome.org>
2456         * Release 1.12.4
2458 2013-07-10  Morten Welinder  <terra@gnome.org>
2460         * src/value.c (parse_criteria): Patterns should anchor at the end
2461         (#703770) and be case insensitive (no bug#).
2463 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2465         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2466         to create an image of unknown type
2468 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2470         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2471         signage
2472         (cb_assign_val): quieten warning about signed/unsigned comparison
2474 2013-07-03  Morten Welinder  <terra@gnome.org>
2476         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2477         crazy-large ranges.
2478         (cb_assign_val): Ditto.
2480 2013-07-02  Morten Welinder  <terra@gnome.org>
2482         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2483         (cb_style_list_add_node): Ditto.
2484         (verify_hashes): Ditto.
2485         (internal_style_list): Ditto.
2487         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2488         deck chairs.
2490 2013-07-01  Morten Welinder  <terra@gnome.org>
2492         * configure.ac (long double): Crude use -lm for long double
2493         function checks.  Fixes #703397.
2495 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2497         * src/expr.c (gnm_expr_list_copy): new
2498         * src/expr.h (gnm_expr_list_copy): new
2500 2013-06-26  Morten Welinder  <terra@gnome.org>
2502         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2503         of ->op before using it.  Fixes #703143.
2505 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2507         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2508         [#703052]
2509         (gnm_so_path_copy): fixed copy with multiple paths.
2511 2013-06-25  Morten Welinder <terra@gnome.org>
2513         * configure.ac: Post-release bump.
2515 2013-06-25  Morten Welinder <terra@gnome.org>
2517         * Release 1.12.3
2519 2013-06-24  Morten Welinder  <terra@gnome.org>
2521         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2522         sheet.  Fixes #703006.
2524 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2526         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2527         without sheet
2529 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2531         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2532         a valid pattern. [#702833]
2533         * src/pattern.c (gnumeric_background_set): ditto.
2535 2013-06-21  Morten Welinder  <terra@gnome.org>
2537         * src/item-grid.c (item_grid_draw_region): Plug leak.
2539         * src/item-bar.c (ib_reload_style): Plug leak.
2541 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2543         * src/wbc-gtk.c (show_gui): protect against excessively large
2544         preferred widow sizes
2546 2013-06-14  Morten Welinder  <terra@gnome.org>
2548         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2550         * src/workbook.c (workbook_sheet_delete): Debug.
2551         (workbook_dispose): Also clear style here.  Styles can have
2552         dependents now.  Fixes #702218.
2554 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2556         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2558 2013-06-12  Morten Welinder  <terra@gnome.org>
2560         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2561         Fixes #702101.
2563 2013-06-04  Morten Welinder  <terra@gnome.org>
2565         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2567 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2569         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2570         (scg_comment_display): adjust background and fontcolor if necessary
2572 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2574         * src/item-grid.c (cb_cursor_come_to_rest):
2575         gnumeric_position_tooltip needs the tooltip size, so load the text
2576         before calling it.
2578 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2580         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2581         with button 2
2583 2013-05-27  Morten Welinder  <terra@gnome.org>
2585         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2586         and we aren't very good at it.
2588 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2590         * component/Gnumeric-embed.xml.in: add accelerator
2591         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2592         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2593         (EditGotoCellIndicator): new
2594         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2595         (wbcg_focus_current_cell_indicator): new
2596         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2598 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2600         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2601         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2602         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2603         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2605 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2607         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2608         behave the same as far as cell selection is concerned. This fixes
2609         bug #700792
2610         (item_grid_button_released): ditto
2612 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2614         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2615         to include hidden cells
2616         (cb_sheet_get_extent): handle hidden cells setting
2617         (sheet_get_printarea): do not include hidden cells
2618         * src/sheet.h (sheet_get_extent): add argument and change all
2619         callers
2621 2013-05-26  Morten Welinder  <terra@gnome.org>
2623         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2624         Termiate when contributions vanish.
2626 2013-05-24  Morten Welinder  <terra@gnome.org>
2628         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2629         the outer integral.
2630         (pfuncinverter): Handle lack of dfunc (poorly).
2632 2013-05-23  Morten Welinder  <terra@gnome.org>
2634         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2635         interval out from out from R_ptukey.
2636         (R_ptukey): Split the interval nearest 0 into a sequence of
2637         intervals over which the integrand looks a lot more like a
2638         polynomial.  This fixes accuracy problems for low degrees of
2639         freedom.
2641         * src/sheet-style.c (internal_style_list): Fix critical.
2643 2013-05-22  Morten Welinder  <terra@gnome.org>
2645         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2647 2013-05-21  Morten Welinder  <terra@gnome.org>
2649         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2651 2013-05-19  Morten Welinder  <terra@gnome.org>
2653         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2654         boundaries.
2655         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2657 2013-05-18  Morten Welinder  <terra@gnome.org>
2659         * src/mathfunc.c (pnorm2): New function.
2660         (R_ptukey): New function imported from R with local improvements.
2662 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2664         * src/print.c (gnm_create_widget_cb): by default observe
2665         manual page breaks
2667 2013-05-14  Morten Welinder  <terra@gnome.org>
2669         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2670         (gnm_range_geometric_mean): Handle two FIXMEs.
2672 2013-05-13  Morten Welinder  <terra@gnome.org>
2674         * src/*.c: Mark gobject property strings as P_(...).
2676 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2678         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2680 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2682         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2683         rather than gnm_cell_assign_value
2685 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2687         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2688         first column
2690 2013-05-05  Morten Welinder  <terra@gnome.org>
2692         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2693         rendered value here.  Fixes #699647.
2695 2013-05-03  Morten Welinder  <terra@gnome.org>
2697         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2698         accelerator for redo.  Fixes #699579.
2699         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2700         focusable.
2702         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2704 2013-05-01  Morten Welinder  <terra@gnome.org>
2706         * src/print-info.c: Add gsf includes to make things work with
2707         libgsf 1.14.24.  Redhat #957851.
2709 2013-04-29  Morten Welinder  <terra@gnome.org>
2711         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2712         cells.
2714 2013-04-26  Morten Welinder <terra@gnome.org>
2716         * configure.ac: Post-release bump.
2718 2013-04-26  Morten Welinder <terra@gnome.org>
2720         * Release 1.12.2
2722 2013-04-26  Morten Welinder  <terra@gnome.org>
2724         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2725         row/column items the default.
2727 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2729         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2731 2013-04-24  Morten Welinder  <terra@gnome.org>
2733         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2734         widget parameter.  All callers changed.
2736         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2737         delayedMovement.timer.
2739         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2740         animation_cursor.
2742         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2743         windows_update_timer.
2745         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2746         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2747         valid tag.
2749         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2750         sliding).
2752 2013-04-23  Morten Welinder  <terra@gnome.org>
2754         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2756         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2757         critical.  Fixes #698680.
2759         * src/gui-file.c (gui_file_save_as): For export, change extension.
2760         Fixes #698636.
2762 2013-04-22  Morten Welinder  <terra@gnome.org>
2764         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2765         Somehow fixes #625687.
2767 2013-04-20  Morten Welinder  <terra@gnome.org>
2769         * src/go-data-slicer-field.c
2770         (go_data_slicer_field_set_field_type_pos): Add precondition for
2771         slicer.
2773 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2775         * src/print-info.c (render_title): new
2777 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2779         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2780         cells.
2781         (sheet_range_set_text): ditto
2783 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2785         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2786         than padding.
2788 2013-04-22  Morten Welinder  <terra@gnome.org>
2790         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2792 2013-04-19  Morten Welinder  <terra@gnome.org>
2794         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2795         view approach.  Fixes #689283.
2797         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2798         mode.
2799         (wbc_gtk_init_color_fore): Ditto.
2800         (wbc_gtk_init_color_back): Ditto.
2802 2013-04-17  Morten Welinder  <terra@gnome.org>
2804         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2805         button.
2807         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2808         font_name_haction.
2810         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2811         only for horizontal toolbars.
2813         * src/gui-file.c (file_saver_format_changed_cb): New function to
2814         change the extension when the format is changed.
2815         (gui_file_save_as): Don't try to hide the extension -- it
2816         interferes with the file chooser's completion.  Fixes #695839.
2818 2013-04-16  Morten Welinder  <terra@gnome.org>
2820         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2821         menu for graph sheets.  Fixes #685446.
2822         (sheet_menu_label_run): Disable resize for graph sheets.
2824         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2825         #661800.
2826         (parse_criteria): Handle criteria "=" and "<>" (with no value
2827         after the operator) special.  These test for empty and non-empty
2828         values.  Fixes #686156.
2830         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2831         "anchor_start" and "anchor_end".  All callers changed.
2833 2013-04-15  Morten Welinder  <terra@gnome.org>
2835         * src/application.c (add_icon): Plug leak.
2837         * src/number-match.c (format_match_decimal_number): Try also major
2838         non-locale currencies.  Fixes #577768.
2840 2013-04-13  Morten Welinder  <terra@gnome.org>
2842         * src/mathfunc.c (pochhammer): Improve precision a bit.
2843         (binomialcf): Lower cfSmall by 10^3.  This helps
2844         pbeta(0.9,10,0.5).
2846         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2847         doesn't prevent multiple versions from co-existing.
2849         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2850         dirty.  Callers already appear to handle this when needed
2851         and not when not wanted.  Fixes #697927.
2853 2013-04-12  Morten Welinder  <terra@gnome.org>
2855         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2856         #697850.
2857         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2858         reported to R).
2859         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2861 2013-04-11  Morten Welinder  <terra@gnome.org>
2863         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2864         reference with invalid_sheet.  Fixes #683494.
2866         * src/complex.c (complex_to_string): Drop format arguments.  All
2867         callers changed.  Make up a format with enough precision for round
2868         tripping.  Fixes #697634.
2870 2013-04-09  Morten Welinder  <terra@gnome.org>
2872         * src/complex.c (complex_from_string): Make this handle embedded
2873         spaces systematically.
2874         (is_unit_imaginary): Delete.
2876 2013-04-09  Morten Welinder  <terra@gnome.org>
2878         * src/complex.c (complex_pow): Use Goffice's copy.
2880 2013-04-05  Morten Welinder  <terra@gnome.org>
2882         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2883         new screens.  Add hack for pre-GTK 3.4.
2885         * src/mathfunc.c (gnm_owent): New function.
2887 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2889         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2890         functions used as vectors. [697281]
2892 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2894         * src/graph.c (gnm_go_data_vector_load_values),
2895         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2896         arrays. [697107]
2898 2013-04-03  Morten Welinder  <terra@gnome.org>
2900         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2901         attributes of the tab.
2903         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2904         GnmNotebookButton, not an EditableLabel.
2906 2013-04-02  Morten Welinder  <terra@gnome.org>
2908         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2909         widget.
2910         (cb_wbcg_drag_leave): Ditto.
2912 2013-03-27  Morten Welinder  <terra@gnome.org>
2914         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2915         key we look up.  When did that change?
2917 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2919         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2920         remove the frame.
2922 2013-03-26  Morten Welinder  <terra@gnome.org>
2924         * src/item-edit.c: Theme the in-cell edit background color.
2926         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2927         into here.
2928         src/gui-gnumeric.h: Remove.
2930         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2931         non-NULL if there is a selection.
2932         (gnumeric_background_set_gtk): Delete.  Make callers use
2933         gnumeric_background_set.
2935         * src/preview-grid.c (preview_grid_draw_background): Always
2936         provide a context to gnumeric_background_set.
2937         * src/item-edit.c (item_edit_draw): Ditto.
2939         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2940         separate the different cursor types.  Separate autofill colouring
2941         from drag ditto.
2943 2013-03-25  Morten Welinder  <terra@gnome.org>
2945         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2946         color to GOColor.
2947         (ic_reload_style): Theme some of the cursor colors.
2949         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2950         not colour name.
2952         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2954         * src/gnumeric.css: use deprecated px-free syntax for padding, so
2955         gtk+ 3.2 can deal with it.
2957         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2958         can suppress deprecations.
2960         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2961         the "all" button.
2963         * src/item-bar.c (ib_reload_style): Load fonts from style.
2965 2013-03-24  Morten Welinder  <terra@gnome.org>
2967         * src/item-grid.c (item_grid_draw_region): Draw the background at
2968         the right coordinates!
2970 2013-03-23  Morten Welinder  <terra@gnome.org>
2972         * src/item-bar.c (ib_draw_cell): There's no point in going to and
2973         from GOColor here.  Just use the color as-is.
2975 2013-03-19  Morten Welinder  <terra@gnome.org>
2977         * src/application.c (install_icons): Install also the icon themed
2978         icons.  No idea why we have both.
2980         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2982         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2983         (embedded_imgs): Add the rest from pixmaps.
2985         * configure.ac: No longer create src/pixmaps/Makefile
2987         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2988         these work for resources and absolute paths.
2990 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2992         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2993         not sizeable objects bounds after dragging when zoom is not 100%.
2995 2013-03-18  Morten Welinder  <terra@gnome.org>
2997         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2998         filter.  It takes just long enough to be irritating.
3000 2013-03-17  Morten Welinder  <terra@gnome.org>
3002         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
3003         style since we're not picking it explicitly.
3004         (cb_font_filter): Fix leak.
3006 2013-03-14  Morten Welinder  <terra@gnome.org>
3008         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
3009         ignore non-scalable fonts.
3011 2013-03-11  Morten Welinder  <terra@gnome.org>
3013         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
3015 2013-03-10  Morten Welinder  <terra@gnome.org>
3017         * src/ssconvert.c (list_them): Skip savers/openers that require
3018         interaction.  (We don't have any yet.)
3020         * src/stf.c (stf_read_workbook): Set error when we fail due to
3021         lack of GUI.
3022         (stf_init): Mark the configurable saver/opener as interactive.
3024         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
3026 2013-03-09  Morten Welinder <terra@gnome.org>
3028         * configure.ac: Post-release bump.
3030 2013-03-09  Morten Welinder <terra@gnome.org>
3032         * Release 1.12.1
3034 2013-03-06  Morten Welinder  <terra@gnome.org>
3036         * src/wbc-gtk.c (list_actions): Handle a null group.
3038 2013-03-03  Morten Welinder  <terra@gnome.org>
3040         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
3041         g_thread_init if compiled with later than glib 2.32.0.
3043 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
3045         * src/gnm-pane-impl.h: remove alignments.
3046         * src/gnm-pane.c (gnm_pane_header_init): dittO;
3047         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
3048         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
3049         * src/sheet-control-gui-priv.h: remove all tables by one grid.
3050         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
3051         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
3052         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
3053         (scg_mode_edit): ditto.
3054         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
3055         (cb_sheet_visibility_change), (wbcg_sheet_add),
3056         (wbcg_sheet_remove), (wbcg_sheet_focus),
3057         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
3058         (wbcg_get_nth_scg): ditto.
3060 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3062         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3063         * src/print.c (gnm_create_widget_cb): ditto.
3064         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3066 2013-03-01  Morten Welinder  <terra@gnome.org>
3068         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3069         first argument, not "x".
3071 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3073         reviewed by: <delete if not using a buddy>
3075         * INSTALL:
3076         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3077         (sheet_widget_adjustment_user_config_impl),
3078         (sheet_widget_checkbox_user_config),
3079         (sheet_widget_radio_button_user_config):
3080         * src/wbc-gtk.c (wbc_gtk_init):
3082 2013-02-28  Morten Welinder  <terra@gnome.org>
3084         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3085         development versions.  We now get the information through gcc
3086         warnings.
3087         (solver): Make solver code unconditional.  Feel free to not
3088         distribute the relevant plugins.
3090 2013-02-26  Morten Welinder  <terra@gnome.org>
3092         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3094 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3096         * src/number-match.c: more introspection warnings.
3098 2013-02-23  Morten Welinder  <terra@gnome.org>
3100         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3102 2013-02-21  Morten Welinder  <terra@gnome.org>
3104         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3105         GHFunc.  All callers changed.  Impose a robust ordering.
3106         (sh_all_styles): New function replacing sh_foreach.
3108 2013-02-20  Morten Welinder  <terra@gnome.org>
3110         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3112 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3114         * configure.ac: make configure --with-python fail when some
3115         dependency is missing.
3117 2013-02-17  Morten Welinder  <terra@gnome.org>
3119         * configure.ac (set_more_warnings): Improve support for clang.
3121 2013-02-16  Morten Welinder  <terra@gnome.org>
3123         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3124         (Most cases a matter of 0 vs. 0.)
3126 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3128         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3129         default value for stf export format.
3130         * src/dependent.c: fix introspection warnings.
3131         * src/sheet-style.c: ditto.
3133 2013-02-15  Morten Welinder  <terra@gnome.org>
3135         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3136         3.2.0 just like goffice.
3138         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3139         requiring gtk 3.2
3141 2013-02-14  Morten Welinder  <terra@gnome.org>
3143         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3144         not MAXDOUBLE.  Fixes #693761.
3146 2013-02-10  Morten Welinder  <terra@gnome.org>
3148         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3149         doesn't belong here.  We handle everything in rstyle_apply.
3151 2013-02-08  Morten Welinder  <terra@gnome.org>
3153         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3154         link/unlink style dependents.  All callers changed.
3155         (sheet_style_shutdown): Set default style for whole sheet to
3156         ensure style dependents get cleared.
3158 2013-02-07  Morten Welinder  <terra@gnome.org>
3160         * src/sheet-style.c (cell_tile_optimize): Implement
3161         ptr-matrix-to-matrix optimization and use it to simplify things.
3163         * src/dependent.c (GnmStyleDependent): New type of dependent.
3164         When triggered, the cells in which it resised will be rerendered
3165         and redrawn.
3167         * src/mstyle.c (gnm_style_link_dependents)
3168         (gnm_style_unlink_dependents): New functions to manage style
3169         dependents due to conditional formatting.
3171 2013-02-06  Morten Welinder  <terra@gnome.org>
3173         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3174         inside-out in anticipation of future changes.
3176         (col_indicies, row_indicies): Alignment of the corners of apply_to
3177         is only relevant if we are within the tile.
3179 2013-02-06  Morten Welinder  <terra@gnome.org>
3181         * src/sheet-style.c (tile_is_uniform): Extract from
3182         cell_tile_optimize.
3183         (vector_apply_pstyle): Don't return a value.
3184         (cell_tile_apply): Use tile_is_uniform.
3186 2013-02-05  Morten Welinder  <terra@gnome.org>
3188         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3189         instead of crazy "goto".
3190         (cell_tile_apply): Simplify the covers-whole-tile case.
3192         * src/sheet.h (Sheet): Remove max_width and max_height members.
3193         All users fixed.
3195         * src/dependent.h (GnmDependentClass): Add pos handler.
3197         * src/dependent.c (dependent_pos): Use pos handler.
3198         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3200 2013-02-04  Morten Welinder  <terra@gnome.org>
3202         * src/dependent.c (dependent_pos): Make global.
3204         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3205         dependent_pos.
3207         * src/ssconvert.c (run_tool_test): Add code for running the
3208         regression tool.
3209         (convert): Run an analysis tool if requested.  (For testing.)
3211 2013-02-02  Morten Welinder  <terra@gnome.org>
3213         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3214         and rstyle_ctor_pstyle.  All callers changed.
3216 2013-01-18  Morten Welinder  <terra@gnome.org>
3218         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3219         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3220         New matrix support.
3221         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3222         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3224 2013-01-15  Morten Welinder  <terra@gnome.org>
3226         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3227         import from command line.
3229 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3231         * configure.ac: renamed configure.in and update obsolete macros.
3232         * configure.in: ditto.
3234 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3236         * configure.in: Add
3237         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3238         includes.
3240 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3242         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3243         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3244         twice the top and bottom margins when displaying a graph
3245         sheet. [#691472]
3247 2013-01-10  Morten Welinder  <terra@gnome.org>
3249         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3250         argument and assume TRUE.  Drop scope name and assume NULL (which
3251         is what all callers should have used).  All callers changed.
3252         (gnm_func_add_placeholder): Ditto.
3253         (invent_name): Downcase the preferred name.
3254         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3255         (gnm_func_add): Initialize arg_names_p.
3257         * src/gnm-plugin.c (plugin_service_function_group_activate):
3258         Upgrade existing placeholder functions as needed.
3260         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3261         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3263 2013-01-10  Morten Welinder  <terra@gnome.org>
3265         * src/func.c (gnm_func_add_placeholder_localized): New function.
3266         (gnm_func_add_placeholder_full): Extract from
3267         gnm_func_add_placeholder.  Handle localization better.
3268         (gnm_func_set_localized_name): New function.
3269         (gnm_func_free, gnm_func_get_name): Use
3270         gnm_func_set_localized_name.
3272         * src/parse-util.c (std_func_map): Improve handling of unknown
3273         function names.
3275         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3276         (gnm_func_free): ...here.
3278 2013-01-09  Morten Welinder  <terra@gnome.org>
3280         * src/symbol.c: delete.
3282         * src/func.c: rewrite to use GHashTable instead of symbol.c
3283         (gnm_func_lookup_prefix): Take extra argument indicating whether
3284         to search translated names.  Caller changed.
3286         * src/parse-util.c (std_func_map): Lookup translated name as
3287         needed.
3288         (parse_util_init): Add enviroment magic to turn on translated
3289         functions names.  This is not ready for prime time and should be
3290         controlled by a user preference eventually.
3292         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3293         bit.
3295 2013-01-07  Morten Welinder  <terra@gnome.org>
3297         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3298         pivot.  Use gnm_hypot where possible.
3300 2013-01-04  Morten Welinder  <terra@gnome.org>
3302         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3303         as argument.  Keep track of displays.
3304         (gnm_x_disown_clipboard): New function.
3306         * src/application.c (gnm_app_clipboard_clear): Use
3307         gnm_x_disown_clipboard to make things multi-head safe.
3309 2013-01-03  Morten Welinder  <terra@gnome.org>
3311         * src/collect.c (collect_floats): Fix handling of
3312         COLLECT_IGNORE_ERRORS.
3313         (collect_strings): Ditto.
3314         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3316 2013-01-01  Morten Welinder  <terra@gnome.org>
3318         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3319         deprecated goffice stuff.
3321         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3322         unused variable.
3323         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3324         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3325         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3327         * src/application.c (gnm_app_history_add): Kill warning.
3329 2012-12-31  Morten Welinder  <terra@gnome.org>
3331         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3332         Fixed #690929.
3334         * src/ssdiff.c: Introduce --highlight mode.
3336 2012-12-30  Morten Welinder  <terra@gnome.org>
3338         * src/ssdiff.c (main): Add option to send output to a file.
3340 2012-12-29  Morten Welinder  <terra@gnome.org>
3342         * src/ssdiff.c (diff): Use C locale.
3343         (ignore_cell): Ignore arrays, except for the corner.
3344         (output_cell): New function taking proper care of value types,
3345         convensions, etc.
3346         (xml_cell_changed): Use output_cell.
3347         (compare_corresponding_cells): Don't use entered_text here either,
3348         although it's harmless.
3349         (output_cell, compare_corresponding_cells): Handle value formats
3350         too.
3352 2012-12-28  Valek Filippov  <frob@df.ru>
3354         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3355         gdk_window_get_pointer calls.
3357 2012-12-28  Morten Welinder  <terra@gnome.org>
3359         * src/*.c: Eliminate use of printf.
3361         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3362         range offset here.  This may need to move further.
3363         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3364         (diff_sheets_cells): Ignore completely empty cells.
3365         (xml_sheet_start): Change meaning of Old and New attributes to be
3366         index_in_wb and absent when workbook doesn't have the sheet.
3367         (xml_style_changed): Describe style differences.
3369 2012-12-27  Morten Welinder  <terra@gnome.org>
3371         * src/ssdiff.c (diff_sheets): Compare styles too.
3373         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3374         range argument.  All callers changed.
3376 2012-12-24  Morten Welinder  <terra@gnome.org>
3378         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3379         cell_removed handlers into the cell_changed handler.
3380         (main): Add --xml option.
3382         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3383         configurable.  We need ssconvert for the test and it's silly
3384         anyway.
3386 2012-12-18  Morten Welinder <terra@gnome.org>
3388         * configure.in: Post-release bump.