WorkbookView: make construction regular.
[gnumeric.git] / ChangeLog
blobebb18e22c546e2ab51b0d4f9dc6fe87de817b7a3
1 2018-04-11  Morten Welinder  <terra@gnome.org>
3         (workbook_view_class_init): Make this a more proper object by
4         adding a constructor and init function to setup the object
5         correctly.
7 2018-04-11  Morten Welinder  <terra@gnome.org>
9         * src/workbook-view.c: Introspection fixes, mostly from Dean
10         McCarron.
11         src/workbook-control.c: Ditto.
12         src/wbc-gtk.c: Ditto.
14 2018-03-25  Morten Welinder  <terra@gnome.org>
16         * src/workbook.c (workbook_set_last_export_uri): Constify
17         argument.  Callers fixed.
19 2018-03-23  Morten Welinder  <terra@gnome.org>
21         * src/main-application.c (cpu_sanity_check): New function.
23 2018-03-13  Morten Welinder <terra@gnome.org>
25         * configure.ac: Post-release bump.
27 2018-03-13  Morten Welinder <terra@gnome.org>
29         * Release 1.12.39
31 2018-01-17  Morten Welinder  <terra@gnome.org>
33         * src/sstest.c (function_dump_defs): Drop internal function TABLE
34         as well as demo function ATL_LAST.
36 2018-01-11  Morten Welinder  <terra@gnome.org>
38         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
39         not to trigger an update storm when nothing changes.  Fixes
40         #792417.
42 2018-01-01  Morten Welinder  <terra@gnome.org>
44         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
45         non-reachable code relating to true() and false() conditions.
47 2017-12-30  Morten Welinder  <terra@gnome.org>
49         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
50         changed.
51         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
52         (gnm_expr_top_get_array_expr): New functions.
54         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
55         changed.
57 2017-12-29  Morten Welinder  <terra@gnome.org>
59         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
60         name.  #792038.
62 2017-12-28  Morten Welinder <terra@gnome.org>
64         * configure.ac: Post-release bump.
66 2017-12-28  Morten Welinder <terra@gnome.org>
68         * Release 1.12.38
70 2017-12-25  Morten Welinder  <terra@gnome.org>
72         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
73         * src/func-builtin.c (func_builtin_init): Ditto.
75 2017-12-23  Morten Welinder  <terra@gnome.org>
77         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
79 2017-12-04  Morten Welinder  <terra@gnome.org>
81         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
82         instead of passing them all over the place.
83         (diff): Compare names too.
85 2017-12-03  Morten Welinder  <terra@gnome.org>
87         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
88         (diff): Missing or extra sheet counts as a difference.
90         * src/mstyle.c (gnm_style_find_differences): Don't crash when
91         hlink/validation/inputmsg/conditions is NULL in one and not the other.
93         * src/ssdiff.c (diff_sheets_colrow): New function to compare
94         row/column sizes.
95         (highlight_cell_changed): Survive missing cell.
97 2017-12-01  Morten Welinder <terra@gnome.org>
99         * configure.ac: Post-release bump.
101 2017-12-01  Morten Welinder <terra@gnome.org>
103         * Release 1.12.37
105 2017-11-30  Morten Welinder  <terra@gnome.org>
107         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
108         usage.
109         * src/parse-util.c (wbref_parse): Ditto.
110         * src/preview-grid.c (preview_grid_draw_region): Ditto.
111         * src/item-grid.c (item_grid_draw_region): Ditto.
112         * src/parser.y (yylex): Ditto.
113         * src/criteria.c (parse_database_criteria): Ditto.
115         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
116         stack, allocation.
118         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
119         stack, allocation.
121 2017-11-29  Morten Welinder  <terra@gnome.org>
123         * src/sstest.c (enumerate_functions): Make sure function is loaded.
125         * src/func-builtin.c (help_table): Add help text for TABLE.
127         * src/func.c (gnm_func_enumerate): Introspection annotation.
129         * src/sstest.c (function_dump_defs): Move from func.c with all
130         support code.
131         (gnm_func_sanity_check): Ditto.
133         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
135         * src/main-application.c (pathetic_qt_workaround): Not needed
136         anymore.
138         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
139         looking strange when insensitive and also is a consistent size.
141 2017-11-18  Morten Welinder <terra@gnome.org>
143         * configure.ac: Post-release bump.
145 2017-11-18  Morten Welinder <terra@gnome.org>
147         * Release 1.12.36
149 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
151         * src/gnumeric.css: add grid:selected back-color.
152         * src/item-grid.c (item_grid_draw_region): fix background of multiple
153         selection. [#789411]
155 2017-10-23  Morten Welinder  <terra@gnome.org>
157         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
158         criticals.
160 2017-07-06  Morten Welinder <terra@gnome.org>
162         * configure.ac: Post-release bump.
164 2017-07-06  Morten Welinder <terra@gnome.org>
166         * Release 1.12.35
168 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
170         * src/sheet-object-widget.c
171         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
172         button
174 2017-05-18  Morten Welinder  <terra@gnome.org>
176         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
177         integer orders.
178         (jy_via_j_series): Rename from y_via_j_series and supply both J
179         and Y results.  Use the full J result accuracy.
180         (gnm_bessel_phi): Improve divergence check.
182 2017-05-16  Morten Welinder  <terra@gnome.org>
184         * src/sf-bessel.c (debye_33): Handle near-overflow better.
185         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
186         appropriate.
188         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
190         * src/value.c (value_new_from_string): Handle denormals betters.
192 2017-04-05  Morten Welinder  <terra@gnome.org>
194         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
195         Generalize to Pi/2^e and make public.
197 2017-03-28  Morten Welinder  <terra@gnome.org>
199         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
200         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
201         around the integer with odd count when we can.
203 2017-03-21  Morten Welinder  <terra@gnome.org>
205         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
206         deviation for each bin.
207         (test_random_randchisq, test_random_randtdist)
208         (test_random_randfdist): Don't allow df=0.
209         (test_random_randbeta): Don't floor the parameters thus avoiding
210         zero.
212 2017-03-20  Morten Welinder <terra@gnome.org>
214         * configure.ac: Post-release bump.
216 2017-03-20  Morten Welinder <terra@gnome.org>
218         * Release 1.12.34
220 2017-03-17  Morten Welinder  <terra@gnome.org>
222         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
223         bogus GnmColor here.  The fake object prevents GnmColor equality
224         from working which in turn prevents GnmBorder equality from
225         working.
227         * src/style-color.c (gnm_color_make): Rename from
228         gnm_color_new_uninterned and handle caching here.
229         (gnm_color_new_auto): New function.
231         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
232         (compare_corresponding_cells): Fall back to string comparison.
233         References like Sheet1!A1 should match even if they, obviously,
234         refer to sheets in different workbooks.
236         * src/style-conditions.c (gnm_style_conditions_equal): Add new
237         relax_sheet argument.
239         * src/validation.c (gnm_validation_equal): New function.
241         * src/mstyle.c (gnm_style_find_differences): New function.
243         * src/ssdiff.c (xml_style_changed): Use
244         gnm_style_find_differences.
246         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
247         gnm_style_find_differences, not gnm_style_equal.
249         * src/hlink.c (gnm_hlink_equal): New function.
251 2017-03-13  Morten Welinder  <terra@gnome.org>
253         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
254         inter-sheet local name references.
256 2017-03-10  Morten Welinder  <terra@gnome.org>
258         * src/hlink.c (gnm_hlink_get_name_target)
259         (gnm_hlink_get_range_target): New functions.
260         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
262 2017-03-07  Morten Welinder  <terra@gnome.org>
264         * src/parser.y (parser_simple_name): Extract from
265         parser_simple_val_or_name.  Extend to handle explicit sheet.
266         ("sheetref STRING"): Ise parser_simple_name.
268 2017-03-06  Morten Welinder  <terra@gnome.org>
270         * src/expr-name.c (expr_name_add): Plug leak.
272 2017-03-05  Morten Welinder  <terra@gnome.org>
274         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
275         (gnm_hlink_cur_wb_activate): Move string parsing from here...
276         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
277         value_new_cellrange_str will resolve a name.
279         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
280         sheet for hlinks too.
282         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
283         (gnm_hlink_set_sheet): New functions.
285 2017-01-30  Morten Welinder <terra@gnome.org>
287         * configure.ac: Post-release bump.
289 2017-01-30  Morten Welinder <terra@gnome.org>
291         * Release 1.12.33
293 2017-01-29  Morten Welinder  <terra@gnome.org>
295         * src/style-conditions.c (gnm_style_cond_equal): New function.
296         (gnm_style_conditions_equal): ...split out from here.
298 2017-01-25  Morten Welinder  <terra@gnome.org>
300         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
302 2017-01-22  Morten Welinder  <terra@gnome.org>
304         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
305         expression for text formatted cells.
306         (stf_parse_sheet): Don't try number parsing for text formatted
307         columns.  Fixes #777543.
309 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
311         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
312         format when generating the string. [#777338]
314 2017-01-19  Morten Welinder  <terra@gnome.org>
316         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
318         * src/style-conditions.c (gnm_style_conditions_equal): New
319         function.
321 2016-12-08  Morten Welinder  <terra@gnome.org>
323         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
324         callers changed.
325         (gnm_linear_solve_multiple): Ditto.
327 2016-10-02  Morten Welinder  <terra@gnome.org>
329         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
330         g_mem_set_vtable stuff actually works anymore.
332 2016-08-21  Morten Welinder  <terra@gnome.org>
334         * src/sstest.c (options): Add --fast option.
336         * src/value.c (value_get_as_gstring): Let a negative
337         decimal_digits mean "shortest round-tripping string".
339 2016-08-20  Morten Welinder <terra@gnome.org>
341         * configure.ac: Post-release bump.
343 2016-08-20  Morten Welinder <terra@gnome.org>
345         * Release 1.12.32
347 2016-08-08  Morten Welinder  <terra@gnome.org>
349         * src/criteria.c (criteria_inspect_values): Add flag for string
350         coercion.  Only the equality test wants that.
352         * src/value.c (criteria_inspect_values): Floats don't match
353         errors.
355 2016-08-04  Morten Welinder  <terra@gnome.org>
357         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
358         pointer.
360         * src/collect.c (string_range_function): Add user pointer.  Caller
361         changed.
363 2016-06-29  Morten Welinder <terra@gnome.org>
365         * configure.ac: Post-release bump.
367 2016-06-29  Morten Welinder <terra@gnome.org>
369         * Release 1.12.31
371 2016-06-29  Morten Welinder  <terra@gnome.org>
373         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
374         related to sheet-local names.  [#768164]
376 2016-06-28  Morten Welinder  <terra@gnome.org>
378         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
379         of different lenghts.
381 2016-06-21  Morten Welinder  <terra@gnome.org>
383         * src/value.c (criteria_test_greater_or_equal): Use case-folding
384         comparisons for strings.
385         (parse_criteria, parse_criteria_range): Add argument controlling
386         whether to anchor matching at end of string.
387         (parse_database_criteria): Don't anchor here.
389 2016-06-17  Morten Welinder <terra@gnome.org>
391         * configure.ac: Post-release bump.
393 2016-06-17  Morten Welinder <terra@gnome.org>
395         * Release 1.12.30
397 2016-06-17  Morten Welinder  <terra@gnome.org>
399         * src/value.c (parse_criteria): Anchor matches at the beginning,
400         but not at the end.
402 2016-06-11  Morten Welinder  <terra@gnome.org>
404         * src/value.c (find_rows_that_match): Fix blank handling.
405         (criteria_test_unequal): Wrong type means unequal.
406         (criteria_test_match): Only match strings.
407         (parse_criteria): Don't anchor matches.  This is the right thing
408         to do for DSUM and friends.  Hopefully this doesn't break anything
409         else.
410         (criteria_inspect_values): Strings are incompatible with
411         non-strings.
412         (criteria_test_less, criteria_test_less_or_equal)
413         (criteria_test_greater, criteria_test_greater_or_equal): handle
414         strings.
416 2016-05-19  Morten Welinder  <terra@gnome.org>
418         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
419         decimal counts for the hypothetical comma and point choices.
421 2016-05-10  Morten Welinder  <terra@gnome.org>
423         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
424         members.  Doc fix.
426 2016-05-06  Morten Welinder <terra@gnome.org>
428         * configure.ac: Post-release bump.
430 2016-05-06  Morten Welinder <terra@gnome.org>
432         * Release 1.12.29
434 2016-04-29  Morten Welinder  <terra@gnome.org>
436         * src/gui-util.c (gnm_style_context_get_color): Fix function
437         wrapping gtk_style_context_get_color which changed API.
439 2016-04-24  Morten Welinder  <terra@gnome.org>
441         * src/value-sheet.c (value_area_get_x_y): Use
442         gnm_rangeref_normalize.  Do full wrap-around.
444 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
446         * src/graph.c (gnm_go_data_matrix_load_values): fix array
447         reading. [#765483]
449 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
451         * configure.ac: protect against pxlib weirdness.
453 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
455         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
456         value is an error.
458 2016-03-22  Morten Welinder <terra@gnome.org>
460         * configure.ac: Post-release bump.
462 2016-03-22  Morten Welinder <terra@gnome.org>
464         * Release 1.12.28
466 2016-03-02  Morten Welinder  <terra@gnome.org>
468         * src/sf-bessel.c: Return complex numbers by value, not reference.
470 2016-02-23  Morten Welinder  <terra@gnome.org>
472         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
474 2016-02-18  Morten Welinder  <terra@gnome.org>
476         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
477         #762278.
479 2016-02-12  Morten Welinder  <terra@gnome.org>
481         * src/complex.h: Add a direct-value interface.
483         * src/ssconvert.c (run_solver): Also create solver reports as
484         indicated in options.
486         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
488 2016-02-10  Morten Welinder  <terra@gnome.org>
490         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
491         to 1px.  While that may be a sligh increase for certain
492         themes/gtk+ versions, it is a large decrease for others, notably
493         what comes with an out-of-the-box OpenSuSE leap.  Override in
494         ~/.config/gtk-3.0/gtk.css if need be.
496         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
497         wheel for horizontal motion instead of alt.  Window managers tend
498         to eat the latter.
500 2016-02-08  Morten Welinder  <terra@gnome.org>
502         * src/graph.c (gnm_go_data_vector_eval)
503         (gnm_go_data_vector_finalize): Plug leak.
505 2016-02-06  Morten Welinder <terra@gnome.org>
507         * configure.ac: Post-release bump.
509 2016-02-06  Morten Welinder <terra@gnome.org>
511         * Release 1.12.27
513 2016-02-06  Morten Welinder  <terra@gnome.org>
515         * configure.ac (goffice): Require latest for
516         go_complex_from_polar_pi.
518         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
519         when x<0 and a is real.
521 2016-02-04  Morten Welinder  <terra@gnome.org>
523         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
524         (gnm_complex_continued_fraction): Fail if we would otherwise try
525         to rescale by 0.  Fix termination condition.
526         (igamma_asymp): Fix term update.
527         (complex_igamma): Fix flavour fixup.
529 2016-02-02  Morten Welinder  <terra@gnome.org>
531         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
532         (gamma_error_factor): Extend to all positive numbers.
533         (pochhammer_small_n): Allow any x > 1.
534         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
536 2016-02-01  Morten Welinder  <terra@gnome.org>
538         * configure.ac (yacc, lex): Fail if the required program isn't
539         found.
541 2016-01-31  Morten Welinder  <terra@gnome.org>
543         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
544         complex continued fractions.
546 2016-01-30  Morten Welinder  <terra@gnome.org>
548         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
549         GtkStyleContext.  Another ABI changes causes that to crash.
551         * src/value.c (find_column_of_field): Insist that the database be
552         a cell range, not an array.
554 2016-01-29  Morten Welinder  <terra@gnome.org>
556         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
557         (bessel_ij_series): Rename from bessel_j_series and extend to
558         handle i also.
560         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
561         argument is less than one.
563         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
564         about broken sheet filter.
566         * src/sheet-filter.c (gnm_filter_condition_new_single)
567         (gnm_filter_condition_new_double): Plug leak on error.
568         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
570 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
572         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
573         value. [#761048]
575 2016-01-27  Morten Welinder  <terra@gnome.org>
577         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
578         implementation.
580         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
581         css styling.
583 2016-01-23  Morten Welinder  <terra@gnome.org>
585         * src/parser.y (yylex): Be careful about overflowing numeric
586         token.  Fixes #761023.
588 2016-01-20  Morten Welinder  <terra@gnome.org>
590         * src/complex.h: Namespace.  Mostly for macros.
592 2016-01-16  Morten Welinder  <terra@gnome.org>
594         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
595         unused time argument.  All callers changed.
596         (gnm_simple_canvas_grab): Remove unused arguments and return
597         value.  All callers changed.
599         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
600         without regrabbing the focus.  See #760639.
602 2016-01-13  Morten Welinder  <terra@gnome.org>
604         * src/sstest.c (test_random_randsnorm)
605         (test_random_randbernoulli): Print expected stats.
607         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
608         are sane.  Fixes #760544.
610 2016-01-08  Morten Welinder  <terra@gnome.org>
612         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
614 2016-01-06  Morten Welinder  <terra@gnome.org>
616         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
618 2016-01-04  Morten Welinder  <terra@gnome.org>
620         * src/sheet-style.c (sheet_style_apply_range)
621         (sheet_style_set_range): Silently ignore inverted ranges.
623 2016-01-03  Morten Welinder  <terra@gnome.org>
625         * src/sheet-style.c (sheet_style_apply_range)
626         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
628 2016-01-02  Morten Welinder  <terra@gnome.org>
630         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
632         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
633         zero record size.  Fixes #760087.
635         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
637 2016-01-01  Morten Welinder  <terra@gnome.org>
639         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
641         * src/expr-name.c (expr_name_add): Improve check for circular name
642         defintion.  Fixes #760046.
644 2015-12-28  Morten Welinder  <terra@gnome.org>
646         * src/ssconvert.c (convert): When separating sheets, move current
647         sheet to the front.  See bug #694408.
649         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
650         sheet, remove it at the end.
652 2015-12-28  Morten Welinder <terra@gnome.org>
654         * configure.ac: Post-release bump.
656 2015-12-28  Morten Welinder <terra@gnome.org>
658         * Release 1.12.26
660 2015-12-26  Morten Welinder  <terra@gnome.org>
662         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
663         change here (on the grid).
664         (scg_class_init): Not here.  We're not derived from GtkWidget.
666         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
667         (foreach_tile): New top-level function taking few parameters.  All
668         callers changed.
670 2015-12-25  Morten Welinder <terra@gnome.org>
672         * configure.ac: Post-release bump.
674 2015-12-25  Morten Welinder <terra@gnome.org>
676         * Release 1.12.25
678 2015-12-22  Morten Welinder  <terra@gnome.org>
680         * src/ssdiff.c (xml_style_changed): Do more for input message and
681         validation.
683 2015-12-20  Morten Welinder  <terra@gnome.org>
685         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
686         screen size.
687         (scg_resize): Limit frozen zones to screen size.  Not idea, but
688         better than crashing.
690 2015-12-19  Morten Welinder  <terra@gnome.org>
692         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
694 2015-12-13  Morten Welinder  <terra@gnome.org>
696         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
697         merges on column/row insert.  Fixes #504004.
699 2015-12-12  Morten Welinder  <terra@gnome.org>
701         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
702         when the merge partially falls off the far end.
704 2015-12-10  Morten Welinder  <terra@gnome.org>
706         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
707         ensure actions get accel paths.
709 2015-12-09  Morten Welinder  <terra@gnome.org>
711         * src/wbc-gtk.c (wbcg_find_action): New function to look in
712         multiple places for an action.
714         * src/gui-util.c (gnm_action_group_add_actions): Handle
715         translation context.  Also handle toggle actions.
717 2015-12-08  Morten Welinder  <terra@gnome.org>
719         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
720         syntax.
722         * src/gui-util.c (gnm_action_group_add_actions): New function,
723         currently quite dumb.
725         * configure.ac (CC): Insist on c99.
727 2015-12-05  Morten Welinder  <terra@gnome.org>
729         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
730         (drayleigh): Define in terms of dweibull.
732 2015-12-03  Morten Welinder  <terra@gnome.org>
734         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
735         support.  Fixes R.QHYPER(0.1,3,99,13)
737 2015-10-19  Morten Welinder  <terra@gnome.org>
739         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
740         in[2].  Fixes #752182.
742 2015-09-25  Morten Welinder  <terra@gnome.org>
744         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
745         avoid value copying.  Fixes #752181.
746         (gnumeric_table): Handle repeated cells.  Fixes #752178.
748 2015-09-20  Morten Welinder <terra@gnome.org>
750         * configure.ac: Post-release bump.
752 2015-09-20  Morten Welinder <terra@gnome.org>
754         * Release 1.12.24
756 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
758         * src/gui-file.c (gui_file_save_as): just change the extension not more
759         when the original filename has several dots. [ubuntu #1497344]
761 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
763         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
764         anchors. [#754792]
766 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
768         * src/sheet-object.c (sheet_object_update_bounds),
769         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
770         the objects bounds are always updated. Really fix printing.
771         * src/xml-sax-write.c (xml_write_objects): revert previous change.
773 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
775         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
776         printing, but still not perfect.
777         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
778         * src/xml-sax-write.c (xml_write_objects): ditto.
780 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
782         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
783         with one cell or absolute anchors. [#753961]
784         * src/sheet-object.c (sheet_object_draw_cairo):
786 2015-07-28  Morten Welinder <terra@gnome.org>
788         * configure.ac: Post-release bump.
790 2015-07-28  Morten Welinder <terra@gnome.org>
792         * Release 1.12.23
794 2015-07-14  Morten Welinder  <terra@gnome.org>
796         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
797         #752259.
799 2015-07-09  Morten Welinder  <terra@gnome.org>
801         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
802         operation.  Fixes #752124.
804 2015-07-06  Morten Welinder  <terra@gnome.org>
806         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
808 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
810         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
812 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
814         * src/value.c (value_compare_real): handle two empty values however
815         they appear
817 2015-07-03  Morten Welinder  <terra@gnome.org>
819         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
820         context.
822 2015-06-30  Morten Welinder  <terra@gnome.org>
824         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
825         it all the way here.
827 2015-06-29  Morten Welinder  <terra@gnome.org>
829         * src/func.c (function_iterate_argument_values): Improve name
830         handling.  Part of #751660.
832 2015-06-28  Morten Welinder  <terra@gnome.org>
834         * src/value-sheet.c (value_area_get_width, value_area_get_height):
835         Use the same normalization as value_area_foreach.  Fixes #751390.
837         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
838         Fixes #751577.
840 2015-06-26  Morten Welinder  <terra@gnome.org>
842         * src/value.c (value_new_array_empty): Store value_new_empty(),
843         not NULL, in the slots.  We can make this change because
844         value_new_empty() is a singleton that does not need to be
845         released.  Fixes #751502.
847 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
849         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
851 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
853         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
854         (xml_sax_object_end): ensure we always use the right state. [#751217]
856 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
858         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
860 2015-06-20  Morten Welinder  <terra@gnome.org>
862         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
863         overflow.
864         (go_data_cache_records_fetch_index): If resizing failed return
865         NULL early.
867 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
869         * src/parse-util.h (_GnmConventions): add union_char field
870         * src/parser.y (yylex): handle union_char
871         (setup_state): set union_char
873 2015-06-18  Morten Welinder  <terra@gnome.org>
875         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
876         specifying types derived from sheet objects.  Fixes #751126.
877         (xml_sax_hlink): Similarly.
879 2015-06-16  Morten Welinder  <terra@gnome.org>
881         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
882         in names.  Fixes #751056.
884 2015-05-27  Morten Welinder  <terra@gnome.org>
886         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
887         division by zero.  Fixes #749917.
889         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
891 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
893         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
894         comment #3]
896 2015-05-11  Morten Welinder  <terra@gnome.org>
898         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
899         something bad that will happen whenever FALSE equals TRUE.
901         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
902         inline values.
904         * src/cell.c (gnm_cell_set_array): Improve preconditions.
906 2015-05-09  Morten Welinder  <terra@gnome.org>
908         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
910 2015-04-28  Morten Welinder  <terra@gnome.org>
912         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
913         malformed documents.  Fixes #748596.
914         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
915         #748595.
917 2015-04-16  Morten Welinder <terra@gnome.org>
919         * configure.ac: Post-release bump.
921 2015-04-16  Morten Welinder <terra@gnome.org>
923         * Release 1.12.22
925 2015-04-15  Morten Welinder  <terra@gnome.org>
927         * src/ranges.c (gnm_range_compare): New function.
929 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
931         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
932         (see #700599, comment #11).
934 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
936         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
937         sheet object name, try the image name.
939 2015-04-11  Morten Welinder  <terra@gnome.org>
941         * src/sf-dpq.c (qcauchy): Handle cancellation.
943         * src/mathfunc.c (pcauchy): Simplify.
945         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
946         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
948 2015-04-09  Morten Welinder  <terra@gnome.org>
950         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
951         case.
953 2015-04-04  Morten Welinder  <terra@gnome.org>
955         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
956         Fixes #747356.
958         * src/xml-sax-write.c (xml_write_objects): Save only relevant
959         parts of the cell bound.
961         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
962         Initialize parts of cell_bound not used.
964 2015-04-01  Morten Welinder  <terra@gnome.org>
966         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
967         GNM_XML_2ND here too.
968         (gnm_sogg_sax_parser_done): Plug leak.
970 2015-03-30  Morten Welinder  <terra@gnome.org>
972         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
973         function.
975         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
976         mode.
978         * src/sstest.c (test_random_randhyperg): Take var=0 case into
979         account when checking mean.
981         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
982         graph here.
984 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
986         * src/graph.h: add support for absolute anchoring of sheet objects.
987         * src/item-grid.c: ditto.
988         * src/sheet-control-gui.c: ditto.
989         * src/sheet-filter.c: ditto.
990         * src/sheet-object-cell-comment.c: ditto.
991         * src/sheet-object-component.c: ditto.
992         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
993         cells by default. [#684450]
994         * src/sheet-object-image.c: make images don't resize with cells by default.
995         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
996         * src/sheet-object.h: ditto.
997         * src/workbook-view.c: ditto.
998         * src/xml-sax-read.c: ditto.
999         * src/xml-sax-write.c: ditto.
1001 2015-03-30  Morten Welinder  <terra@gnome.org>
1003         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1005 2015-03-23  Morten Welinder  <terra@gnome.org>
1007         * src/sstest.c (rand_fractile_test): Plug leak.
1009 2015-03-21  Morten Welinder  <terra@gnome.org>
1011         * src/sstest.c (rand_fractile_test): Add support for
1012         non-continuous distributions.
1014         * src/mathfunc.c (qgeom): Update to current version in R.
1016         * src/gnm-random.c (random_geometric): Don't add one.
1017         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1019 2015-03-20  Morten Welinder  <terra@gnome.org>
1021         * src/sstest.c (test_random_randbinom): New test.
1022         (test_random_randbetween): New test.
1023         (test_random_randexp): New test.
1024         (test_random_randpoisson): New test.
1025         (test_random_randgeom): New test.
1026         (test_random_randnegbinom): New test.
1027         (test_random_randlog): New test.
1028         (test_random_randdiscrete): New test.
1029         (test_random_randgamma): New test.
1030         (test_random_randtdist): New test.
1031         (test_random_randuniform): New test.
1032         (test_random_randfdist): New test.
1033         (test_random_randcauchy): New test.
1034         (test_random_randbeta): New test.
1035         (test_random_randchisq): New test.
1036         (test_random_randhyperg): New test.
1038         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1040 2015-03-19  Morten Welinder  <terra@gnome.org>
1042         * src/func.c (dump_samples): New function to dump all sample in
1043         help documentation to csv format.
1045         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1046         non-positive integer, but neither a nor b is.
1048 2015-03-07  Morten Welinder  <terra@gnome.org>
1050         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1052         * src/sheet-object-widget.c
1053         (sheet_widget_adjustment_write_xml_sax): Use new
1054         go_xml_out_add_double.
1056         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1057         go_xml_out_add_double.
1059 2015-03-05  Morten Welinder  <terra@gnome.org>
1061         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1062         copy_data argument and simply assume it.
1064 2015-03-04  Morten Welinder <terra@gnome.org>
1066         * configure.ac: Post-release bump.
1068 2015-03-04  Morten Welinder <terra@gnome.org>
1070         * Release 1.12.21
1072 2015-03-03  Morten Welinder  <terra@gnome.org>
1074         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1075         version we write and document why we can't easily increase that
1076         version.
1078 2015-03-02  Morten Welinder  <terra@gnome.org>
1080         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1082         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1083         (xml_sax_version): Bring version list up to date.
1085 2015-03-01  Morten Welinder  <terra@gnome.org>
1087         * src/sheet-object-widget.c
1088         (sheet_widget_list_base_set_selection_value): Plug leak.
1090 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1092         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1093         pixbuf stores the image type.
1095 2015-02-28  Morten Welinder  <terra@gnome.org>
1097         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1098         image, not the bytes in addition.
1099         (gnm_soi_class_init): Use property "image" of type GOImage instead
1100         of "image-data" weirdness.
1101         (gnm_soi_draw_cairo): Remove non-functional fallback.
1102         (gnm_soi_default_size): Ditto.
1104 2015-02-27  Morten Welinder  <terra@gnome.org>
1106         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1107         type for image data.  Create image data if needed.
1108         (SheetObjectImage): Use a properly allocated GByteArray.
1110         * src/sheet-object-widget.c
1111         (sheet_widget_adjustment_user_config_impl): Widgets must have
1112         changed names at some point.  Adjust for that.
1114 2015-02-25  Morten Welinder  <terra@gnome.org>
1116         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1117         Also evaluate here.
1118         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1119         contents.
1121 2015-02-23  Morten Welinder  <terra@gnome.org>
1123         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1124         New function.
1126 2015-02-21  Morten Welinder  <terra@gnome.org>
1128         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1129         gboolean, not a double.
1131         * src/sheet-object-widget.c
1132         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1133         fixed, precision.
1134         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1135         new-fangled orientation for scrollbars.
1137 2015-02-20  Morten Welinder  <terra@gnome.org>
1139         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1140         (cb_button_released): Set value to FALSE here(!)
1142 2015-02-18  Morten Welinder  <terra@gnome.org>
1144         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1145         error just because a cell with text format fails to produce an
1146         expression.  That's expected for text format.
1148 2015-02-17  Morten Welinder  <terra@gnome.org>
1150         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1152 2015-02-11  Morten Welinder  <terra@gnome.org>
1154         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1155         writing duplicate style so version 1.2 and earlier can read it.
1157 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1159         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1160         that can't be convered to valid numbers.
1162 2015-02-10  Morten Welinder  <terra@gnome.org>
1164         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1166 2015-02-06  Morten Welinder  <terra@gnome.org>
1168         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1169         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1170         (sheet_widget_radio_button_set_link)
1171         (sheet_widget_list_base_set_links)
1172         (sheet_widget_adjustment_set_details): Only link if we have a
1173         sheet.
1175 2015-02-04  Morten Welinder <terra@gnome.org>
1177         * configure.ac: Post-release bump.
1179 2015-02-04  Morten Welinder <terra@gnome.org>
1181         * Release 1.12.20
1183 2015-01-30  Morten Welinder  <terra@gnome.org>
1185         * src/sheet-object-widget.c
1186         (sheet_widget_adjustment_set_horizontal): Make this public.
1188 2015-01-23  Morten Welinder <terra@gnome.org>
1190         * configure.ac: Post-release bump.
1192 2015-01-23  Morten Welinder <terra@gnome.org>
1194         * Release 1.12.19
1196 2015-01-20  Morten Welinder  <terra@gnome.org>
1198         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1199         See bug #743130.
1201 2015-01-19  Morten Welinder  <terra@gnome.org>
1203         * src/gutils.c (gnm_icon_dir): Remove.
1205         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1206         resources.
1208         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1209         from glib resources.
1211         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1212         Delete.
1214         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1215         otherwise dump them in temporary files in order to load them.
1217         * src/workbook.c (workbook_update_graphs): New function.
1219         * src/workbook-view.c (workbook_view_new_from_input): Update
1220         graphs.
1222 2015-01-14  Morten Welinder  <terra@gnome.org>
1224         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1225         an expresssion, make it a string instead of dropping it on the
1226         floor.
1228 2015-01-13  Morten Welinder  <terra@gnome.org>
1230         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1231         missing shared expression, define a dummy version so we don't get
1232         repeated errors.
1234 2015-01-09  Morten Welinder  <terra@gnome.org>
1236         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1237         sort them later than other values.  This fixes #742601.
1239 2015-01-01  Morten Welinder  <terra@gnome.org>
1241         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1242         names, not stock ids.
1244         * src/gnm-pane.c (update_control_point_colors): Avoid
1245         gtk_style_context_get_background_color.
1246         * src/item-cursor.c (ic_reload_style): Ditto.
1248 2014-12-30  Morten Welinder  <terra@gnome.org>
1250         * src/rendered-value.c (gnm_rendered_value_new):
1251         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1253 2014-12-27  Morten Welinder  <terra@gnome.org>
1255         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1256         unless we really have to.
1258 2014-12-25  Morten Welinder  <terra@gnome.org>
1260         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1261         multihead issue.
1263         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1265         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1267         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1268         icon on sheet direction changes.
1270         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1272 2014-12-24  Morten Welinder  <terra@gnome.org>
1274         * src/wbc-gtk.c (wbcg_show_save_dialog)
1275         (wbcg_close_if_user_permits): Constant propagation.
1277         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1278         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1280 2014-12-22  Morten Welinder  <terra@gnome.org>
1282         * icons/fake-index-theme: we need actions directories too.
1284 2014-12-21  Morten Welinder  <terra@gnome.org>
1286         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1287         handling.
1289 2014-12-20  Morten Welinder  <terra@gnome.org>
1291         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1292         count in delete, such as used from sheet resize.
1294 2014-12-19  Morten Welinder  <terra@gnome.org>
1296         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1297         (before g_setenv is available).
1299 2014-12-16  Morten Welinder  <terra@gnome.org>
1301         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1302         number.
1304         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1305         the delete case.
1307 2014-12-15  Morten Welinder  <terra@gnome.org>
1309         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1310         sheet_style_insert_colrow and handled deletion too.
1312         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1313         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1314         and clean up.
1316         * src/dependent.c (dependent_has_pos, dependent_move): New
1317         functions.
1319 2014-12-14  Morten Welinder  <terra@gnome.org>
1321         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1322         free.
1324 2014-12-11  Morten Welinder  <terra@gnome.org>
1326         * src/dependent.c (style_dep_debug_name): Include position too.
1328         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1329         sheet_row_add.
1330         (colrow_move): Change parameterization slightly.
1332 2014-12-06  Morten Welinder  <terra@gnome.org>
1334         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1335         want them visually gone and g_object_unref does not guarantee
1336         that.
1338         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1339         dependents.  A later step clears and re-applies style completely
1340         for the moved area.  Fixes #741197.
1342         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1343         function.
1345         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1346         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1348         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1349         leak.
1350         (gnm_cmd_context_error_splits_merge): Plug leak.
1352 2014-11-15  Morten Welinder  <terra@gnome.org>
1354         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1355         the wbc is already gone.
1357 2014-11-09  Morten Welinder  <terra@gnome.org>
1359         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1360         data.  Might fix Redhat #1160975.
1362 2014-10-28  Morten Welinder  <terra@gnome.org>
1364         * src/style.c (find_font): Accept NULL font name.
1366 2014-10-27  Morten Welinder  <terra@gnome.org>
1368         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1369         code.
1371 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1373         * src/item-cursor.c (cb_item_cursor_animation): use
1374         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1375         outside of a draw event.
1377 2014-10-26  Morten Welinder  <terra@gnome.org>
1379         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1380         Use throughout.
1381         (GnmValue): Drop type union member.  C99 requires that this be
1382         accessed in a structure.  We have v_any for that.
1384 2014-10-25  Morten Welinder  <terra@gnome.org>
1386         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1387         ought to survive both gcc's aliasing analysis and valgrind's
1388         bitfield problems.
1390 2014-10-24  Morten Welinder  <terra@gnome.org>
1392         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1394 2014-10-21  Morten Welinder  <terra@gnome.org>
1396         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1398 2014-09-25  Morten Welinder <terra@gnome.org>
1400         * configure.ac: Post-release bump.
1402 2014-09-25  Morten Welinder <terra@gnome.org>
1404         * Release 1.12.18
1406 2014-09-25  Morten Welinder  <terra@gnome.org>
1408         * src/sheet-filter.c (gnm_filter_condition_new_single)
1409         (gnm_filter_condition_new_double): Fix preconditions.  See
1410         #735249.
1412 2014-09-23  Morten Welinder  <terra@gnome.org>
1414         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1415         doesn't spew deprecation warnings by default.
1417 2014-09-11  Morten Welinder  <terra@gnome.org>
1419         * src/style.c (gnm_translate_underline_from_pango): Survive
1420         PANGO_UNDERLINE_ERROR.
1422 2014-06-09  Morten Welinder <terra@gnome.org>
1424         * configure.ac: Post-release bump.
1426 2014-06-09  Morten Welinder <terra@gnome.org>
1428         * Release 1.12.17
1430 2014-05-28  Morten Welinder  <terra@gnome.org>
1432         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1433         when we drag the handle into the col/row canvas.
1435         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1437         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1438         handler.  Fixes #730884.
1440 2014-05-27  Morten Welinder  <terra@gnome.org>
1442         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1443         col/row canvas.  Fixes #730857.
1444         (gnm_pane_dispose): Release references.
1446 2014-05-23  Morten Welinder <terra@gnome.org>
1448         * configure.ac: Post-release bump.
1450 2014-05-23  Morten Welinder <terra@gnome.org>
1452         * Release 1.12.16
1454 2014-05-23  Morten Welinder  <terra@gnome.org>
1456         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1457         need better building blocks for commands; this is one such.
1459 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1461         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1462         (cmd_hyperlink_redo): ditto
1463         (cmd_hyperlink_finalize): ditto
1464         (cb_cmd_hyperlink_find_cells): ditto
1466 2014-05-20  Morten Welinder  <terra@gnome.org>
1468         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1470         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1471         outline and fill colours that are auto, even for the 1.0 format.
1473         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1474         conditional format ranges.
1476 2014-05-14  Morten Welinder  <terra@gnome.org>
1478         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1480         * src/gutils.c (gnm_object_has_readable_prop): New function.
1482         * configure.ac (scrollkeeper): Test if we have it.
1484 2014-05-05  Morten Welinder  <terra@gnome.org>
1486         * src/wbc-gtk.c (toolbar_context_menu): Remove
1487         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1488         false for years and is unsupported in gtk+.
1490 2014-04-30  Morten Welinder <terra@gnome.org>
1492         * configure.ac: Post-release bump.
1494 2014-04-30  Morten Welinder <terra@gnome.org>
1496         * Release 1.12.15
1498 2014-04-23  Morten Welinder  <terra@gnome.org>
1500         * src/complete.c (complete_idle): Avoid abort().
1502         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1503         source.
1505 2014-04-22  Morten Welinder  <terra@gnome.org>
1507         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1508         replaced with calls to gnm_color_new_go.
1510         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1512         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1514 2014-04-21  Morten Welinder  <terra@gnome.org>
1516         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1517         only in the hop of fixing #728465.
1519 2014-04-13  Morten Welinder <terra@gnome.org>
1521         * configure.ac: Post-release bump.
1523 2014-04-13  Morten Welinder <terra@gnome.org>
1525         * Release 1.12.14
1527 2014-04-11  Morten Welinder  <terra@gnome.org>
1529         * src/item-bar.c: Get colours when we draw; only get sizing
1530         relevant information at odd times, in particular when parent
1531         widgets may be insensitive, such as during a load-onto-pristine.
1532         Fixes #728007.
1534 2014-04-10  Morten Welinder  <terra@gnome.org>
1536         * src/item-bar.c (ib_reload_style): Add debug code.
1538 2014-04-09  Morten Welinder  <terra@gnome.org>
1540         * src/number-match.c (format_match_datetime): Plug leak on certain
1541         failure cases.
1543 2014-04-02  Morten Welinder  <terra@gnome.org>
1545         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1546         integer test.
1548 2014-03-30  Morten Welinder  <terra@gnome.org>
1550         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1551         list of extra uis.
1553 2014-03-28  Morten Welinder  <terra@gnome.org>
1555         * src/main-application.c (main): Move Ubuntu hack earlier.
1557 2014-03-27  Morten Welinder  <terra@gnome.org>
1559         * src/main-application.c (main): Attempt to banish ubuntu's
1560         overlay scrollbar which don't work.
1562 2014-03-21  Morten Welinder  <terra@gnome.org>
1564         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1565         case insensitve and allow wildcards.
1567         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1568         from fn-string.
1570         * src/style-conditions.c (generate_end_match): Use case
1571         insensitive comparison.  Pull negation into the operator.
1572         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1573         insensitive.
1575 2014-03-18  Morten Welinder  <terra@gnome.org>
1577         * src/gui-util.c (kill_popup_menu): One more try at really killing
1578         the context menu after we're done with it.
1580         * src/item-grid.c (item_grid_realize): Plug leak.
1582 2014-03-18  Morten Welinder <terra@gnome.org>
1584         * configure.ac: Post-release bump.
1586 2014-03-18  Morten Welinder <terra@gnome.org>
1588         * Release 1.12.13
1590 2014-03-18  Morten Welinder  <terra@gnome.org>
1592         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1593         providers from screens on exit.
1595         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1597 2014-03-17  Morten Welinder  <terra@gnome.org>
1599         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1601 2014-03-16  Morten Welinder  <terra@gnome.org>
1603         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1604         formats.  I'm not positive we do things right, but this avoids
1605         criticals, at least.
1607         * src/cell.c (cell_set_expr_internal): Don't change an existing
1608         value.
1610 2014-03-15  Morten Welinder  <terra@gnome.org>
1612         * src/style-border.c (gnm_border_shutdown): New function to help
1613         debug leaks.  Shutdown border_none here.
1615         * src/style-color.c (gnm_color_shutdown): Not here.
1617 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1619         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1620         the tooltip where it will not immediatly be destroyed after creation.
1621         [really fix #706659]
1623 2014-03-14  Morten Welinder  <terra@gnome.org>
1625         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1626         if we don't have any.
1628 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1630         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1632 2014-03-13  Morten Welinder  <terra@gnome.org>
1634         * src/style-conditions.c (gnm_style_cond_eval): New function
1635         extracted from gnm_style_conditions_eval.  Make "equal" case
1636         insensitive.  Fixes #726246.
1638         * src/ssconvert.c (convert): Show resize message only if verbose.
1640 2014-03-12  Morten Welinder  <terra@gnome.org>
1642         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1643         function.
1644         (gnm_style_cond_canonicalize): New function.
1646         * src/ssconvert.c (convert): only print "Using exporter ..." if
1647         --verbose is given, and print it to stderr.
1649 2014-03-11  Morten Welinder  <terra@gnome.org>
1651         * src/sheet.c (cb_set_markup): Don't mess directly with
1652         cell->value.  We need to trigger a re-render.  Fixes #726086.
1654         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1655         for the pre-validation assignment.
1657         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1658         before assigning it to the cell.
1660 2014-03-10  Morten Welinder  <terra@gnome.org>
1662         * gnumeric.xsd: Update valign/halign attributes.  Update print
1663         setup.
1665         * src/sheet-filter.c (gnm_filter_condition_new_single)
1666         (gnm_filter_condition_new_double): Add preconditions.
1668 2014-03-07  Morten Welinder  <terra@gnome.org>
1670         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1672 2014-03-05  Morten Welinder  <terra@gnome.org>
1674         * src/expr.c (gnm_expr_top_is_volatile): New function.
1676         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1677         volatile expressions.
1679         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1680         (dependent_is_volatile): New function.
1682         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1683         Don't set the initial range here.
1685         * src/expr.c (gnm_expr_top_first_funcall)
1686         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1687         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1688         gnm_expr_walk.
1689         (gnm_expr_top_get_boundingbox): Set initial range here.
1691         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1692         Ditto.
1694 2014-03-03  Morten Welinder <terra@gnome.org>
1696         * configure.ac: Post-release bump.
1698 2014-03-03  Morten Welinder <terra@gnome.org>
1700         * Release 1.12.12
1702 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1704         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1706 2014-03-02  Morten Welinder  <terra@gnome.org>
1708         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1709         name-collections.
1710         (wbcg_sheet_order_changed): Mark ui as being updated.
1711         (cb_bnotebook_page_reordered): Ignore during UI update.
1713         * src/expr-name.c (gnm_named_expr_collection_dump)
1714         (gnm_named_expr_collection_sanity_check): New function.
1716         * src/application.c (gnm_app_sanity_check): New function.
1718         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1719         string inside the GOString as a hash key.  It can change.
1720         (gnm_named_expr_collection_foreach): As a consequence of the
1721         above, the first argument to the handler for
1722         gnm_named_expr_collection_foreach changes to something
1723         unspecified.  All callers changed.
1725         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1726         sheet.
1728         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1729         when encountering strangeness.
1731 2014-02-28  Morten Welinder  <terra@gnome.org>
1733         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1734         If row/column canvas is not visible, ignore them.
1735         (scg_gtk_paned_set_position): Don't allow negative position.
1736         Fixes #725375.
1738         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1739         changes.
1741 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1743         * src/item-grid.c (item_grid_draw_region): fix background filling for
1744         rtl sheets. [#725276]
1746 2014-02-25  Morten Welinder  <terra@gnome.org>
1748         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1749         (gnumeric_create_popup_menu): Drop return value from handler.
1751         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1752         are cell comments by position.
1754 2014-02-24  Morten Welinder  <terra@gnome.org>
1756         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1758         * src/colrow.c (colrow_equal): Don't use floating-point equality
1759         here.  Allow a difference of 1e-5 pt for size.
1761 2014-02-23  Morten Welinder  <terra@gnome.org>
1763         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1764         fill in the new areas with most common styles for the rows to the
1765         left of the new columns or the columns above the new area.
1767 2014-02-19  Morten Welinder  <terra@gnome.org>
1769         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1770         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1772         * src/mathfunc.c (gnm_log2): New function.
1774 2014-02-18  Morten Welinder  <terra@gnome.org>
1776         * src/ssdiff.c (xml_style_changed): Report differences for
1777         auto-color settings.
1779 2014-02-17  Morten Welinder  <terra@gnome.org>
1781         * src/ssconvert.c (convert): Add --resize option.
1783 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1785         * src/item-grid.c (item_grid_realize): fix persistence of
1786         hyperlink tips. [see #724108]
1788 2014-02-16  Morten Welinder <terra@gnome.org>
1790         * configure.ac: Post-release bump.
1792 2014-02-16  Morten Welinder <terra@gnome.org>
1794         * Release 1.12.11
1796 2014-02-16  Morten Welinder  <terra@gnome.org>
1798         * src/func.c (function_dump_defs): Update boilerplate.
1800 2014-02-11  Morten Welinder <terra@gnome.org>
1802         * configure.ac: Post-release bump.
1804 2014-02-11  Morten Welinder <terra@gnome.org>
1806         * Release 1.12.10
1808 2014-02-07  Morten Welinder  <terra@gnome.org>
1810         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1811         entry on top of merged cells.  Fixes #723600.
1813 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1815         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1816         a better fix to previous issue.
1818 2014-01-30  Morten Welinder  <terra@gnome.org>
1820         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1821         toolbar icons.
1823         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1824         smoother (when not using the fallback).  Avoid using hard light
1825         for ant-ing -- that doesn't work for the same reason as alpha not
1826         working.  Always use phase=0 for non-ant stipples.
1827         (GnmItemCursor): Use the canvas item's visibility flag instead of
1828         rolling our own.
1830 2014-01-29  Morten Welinder  <terra@gnome.org>
1832         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1834         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1835         check for bad clipping somewhere in gtk+ or theme land.
1837 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1839         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1840         component reference to the workbook.
1842 2014-01-27  Morten Welinder  <terra@gnome.org>
1844         * src/func.c (function_dump_defs): Undo wiki change.
1846 2014-01-21  Morten Welinder  <terra@gnome.org>
1848         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1849         the amount of work we do for ant-ing.  Fixes #381011, patch from
1850         Jean.
1851         (ic_reload_style): Ignore alpha component of ant colours.
1853 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1855         * src/graph.c (gnm_go_data_vector_load_len),
1856         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1857         [#722294]
1859 2014-01-16  Morten Welinder  <terra@gnome.org>
1861         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1862         cb_darken_foreground_attributes and change to take non-white
1863         background into account.
1865 2014-01-12  Morten Welinder  <terra@gnome.org>
1867         * src/mathfunc.c (expmx2h): Split out from dnorm.
1868         (dhyper): Round the chosen "p" to float to improve accuracy of
1869         "q".
1871 2014-01-11  Morten Welinder  <terra@gnome.org>
1873         * src/mathfunc.c (pow1p): Improve accuracy.
1874         (R_D_nonint): Fix rounding problem.
1875         (ebd0): New extended version of bd0.
1876         (dpois_raw, dbinom_raw): Use ebd0.
1877         (dbinom_raw): Handle x==n and x==0 much better.
1879 2014-01-08  Morten Welinder  <terra@gnome.org>
1881         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1882         g_mkdtemp_full.
1884         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1886         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1887         return the WorkbookView instead of a boolean.
1889 2014-01-01  Morten Welinder  <terra@gnome.org>
1891         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1893 2013-12-31  Morten Welinder  <terra@gnome.org>
1895         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1896         mathfunc.c
1898 2013-12-30  Morten Welinder  <terra@gnome.org>
1900         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1901         (bd0): Reimplement.
1902         (dpois_raw): Avoid going through logs, if possible.
1904 2013-12-25  Morten Welinder  <terra@gnome.org>
1906         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1907         we return FALSE so we don't try to remove the source later.
1909 2013-12-22  Morten Welinder  <terra@gnome.org>
1911         * src/gui-util.c (gnm_widget_measure_string): New function
1912         allowing the elimination of all gtk_style_context_get_font calls.
1914 2013-12-19  Morten Welinder  <terra@gnome.org>
1916         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1917         especially when |x|<<1.  Ditto for x<-1.
1919 2013-12-17  Morten Welinder  <terra@gnome.org>
1921         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1922         multiplication.
1924 2013-12-14  Morten Welinder  <terra@gnome.org>
1926         * src/sf-gamma.c (complex_igamma): New function.
1928 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
1930         * */*.c: Fix some leaks and null dereferences pointed out by
1931         cppcheck.
1933 2013-12-12  Morten Welinder  <terra@gnome.org>
1935         * src/parser.y (array_row): Avoid overrunning string when multiple
1936         missing closing parentheses are detected.  Fixes #720353.
1938 2013-12-11  Morten Welinder  <terra@gnome.org>
1940         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1941         gdk_event_get_screen, not from ->screen.  This might fix #720182.
1943         * src/*.c: Use accessor function for GdkEvent when convenient.
1945 2013-12-07  Morten Welinder  <terra@gnome.org>
1947         * src/application.c (gnm_app_init): Don't allocate a
1948         GtkRecentManager if we are not in gui mode.
1950         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1951         behaviour.
1952         * src/dependent.c (deprange_hash): Ditto.
1954 2013-12-04  Morten Welinder  <terra@gnome.org>
1956         * src/sf-gamma.c (gamma_error_factor): Add extra term.
1958 2013-12-07  Morten Welinder  <terra@gnome.org>
1960         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1961         of the argument for [-1.5;-0.5].
1963         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1964         Re z < 1/2.  Avoid some overflow.
1966 2013-12-02  Morten Welinder  <terra@gnome.org>
1968         * src/sf-bessel.c (bessel_y): Use the J series when possible.
1970 2013-12-07  Morten Welinder  <terra@gnome.org>
1972         * src/sf-bessel.c (bessel_j): Use the taylor series in the
1973         parameter range where that makes sense.
1975         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1976         (gnm_beta): Ditto.
1978 2013-11-30  Morten Welinder  <terra@gnome.org>
1980         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
1981         negative values.
1983 2013-11-28  Morten Welinder <terra@gnome.org>
1985         * configure.ac: Post-release bump.
1987 2013-11-28  Morten Welinder <terra@gnome.org>
1989         * Release 1.12.9
1991 2013-11-25  Morten Welinder  <terra@gnome.org>
1993         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1994         mathfunc.c
1996 2013-11-19  Morten Welinder  <terra@gnome.org>
1998         * src/print.c (print_page): Fix check for missing object.  Fixes
1999         #712662.
2001 2013-11-18  Morten Welinder  <terra@gnome.org>
2003         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2005 2013-11-15  Morten Welinder  <terra@gnome.org>
2007         * src/mathfunc.c (reduce_pi_half): New function.
2009 2013-11-14  Morten Welinder  <terra@gnome.org>
2011         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2012         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2014 2013-11-13  Morten Welinder  <terra@gnome.org>
2016         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2018 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2020         * src/sheet-object.c (sheet_object_view_button2_pressed),
2021         (sheet_object_view_class_init): implement double click for graph sheets.
2022         [#712216]
2024 2013-11-12  Morten Welinder  <terra@gnome.org>
2026         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2027         emission.
2028         (cb_bnotebook_page_reordered): New function.
2029         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2031         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2033 2013-11-06  Morten Welinder  <terra@gnome.org>
2035         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2037 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2039         * src/workbook-view.c: add more introspection related comments.
2040         * src/workbook.c: ditto.
2042 2013-11-03  Morten Welinder  <terra@gnome.org>
2044         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2045         sin/cos before scaling by pi.
2047 2013-11-01  Morten Welinder  <terra@gnome.org>
2049         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2050         (gnm_gamma): Protect against unnecessary overflow at top of range.
2052 2013-10-31  Morten Welinder  <terra@gnome.org>
2054         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2055         avoids accuracy problems since any cdf is completely flat in terms
2056         of floating point values when going sufficiently far into the
2057         tail.
2058         (qtukey): Ditto.
2059         (qbeta): Ditto.
2060         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2061         (permut): Route this into pochhammer.
2062         (qfact): New function.  Tabulate 0! through 50000! using quad
2063         precision arithmetic.
2064         (combin, fact, pochhammer): Improve accuracy using qfact.
2066 2013-10-22  Morten Welinder  <terra@gnome.org>
2068         * src/func.c (function_call_with_exprs): Move flags argument into
2069         structure.
2071 2013-10-19  Morten Welinder  <terra@gnome.org>
2073         * src/hlink.c (_gnm_hlink_init): New function.
2074         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2076 2013-10-07  Morten Welinder <terra@gnome.org>
2078         * configure.ac: Post-release bump.
2080 2013-10-07  Morten Welinder <terra@gnome.org>
2082         * Release 1.12.8
2084 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2086         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2088 2013-10-03  Morten Welinder  <terra@gnome.org>
2090         * src/item-cursor.c (item_cursor_draw): Drop expose area
2091         optimization that may not be correct with current gtk.  See bug
2092         #709320.
2094 2013-09-29  Morten Welinder  <terra@gnome.org>
2096         * src/main-application.c: Include <io.h> for win32.
2098         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2100 2013-09-25  Morten Welinder  <terra@gnome.org>
2102         * src/gnumeric.css: Use lighter green for function marker.
2104 2013-09-01  Morten Welinder <terra@gnome.org>
2106         * configure.ac: Post-release bump.
2108 2013-09-01  Morten Welinder <terra@gnome.org>
2110         * Release 1.12.7
2112 2013-08-29  Morten Welinder  <terra@gnome.org>
2114         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2115         Fixes #707047.
2117 2013-08-28  Morten Welinder  <terra@gnome.org>
2119         * src/mathfunc.c (gnm_gamma): Improve precision for large
2120         arguments.
2121         (gnm_yn): Not needed anymore.
2122         (bessel_i): Don't mark error strings for translation.
2124 2013-08-27  Morten Welinder <terra@gnome.org>
2126         * configure.ac: Post-release bump.
2128 2013-08-27  Morten Welinder <terra@gnome.org>
2130         * Release 1.12.6
2132 2013-08-26  Morten Welinder  <terra@gnome.org>
2134         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2135         (internal_style_list): Add fast pre-optimization to bring down the
2136         number of entries before we start messing with hashes.  Fixes
2137         #699045.
2139 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2141         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2142         GraphDimEditor::changed. See bug 706591 comment #2.
2144 2013-08-19  Morten Welinder <terra@gnome.org>
2146         * configure.ac: Post-release bump.
2148 2013-08-19  Morten Welinder <terra@gnome.org>
2150         * Release 1.12.5
2152 2013-08-15  Morten Welinder  <terra@gnome.org>
2154         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2155         Fixes #706095.
2157         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2158         parameters.  See bug 705913, comment 6.
2160 2013-08-13  Morten Welinder  <terra@gnome.org>
2162         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2164 2013-08-12  Morten Welinder  <terra@gnome.org>
2166         * src/sheet-object-widget.c (sow_create_widget): New function.
2167         Add sheet-object class to widgets.
2169 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2171         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2172         initial colour
2173         (sheet_widget_button_draw_cairo): also scale line thickness
2174         (sheet_widget_checkbox_draw_cairo): scale button size
2175         (sheet_widget_radio_button_draw_cairo): scale button size
2177 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2179         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2180         argument and change all callers
2182 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2184         * src/sheet-object-widget.c (get_font): add fall-backs
2186 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2188         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2189         draw_cairo_text.
2190         (draw_cairo_text): add h-vcenter argument and change all callers
2192 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2194         * src/sheet-object-widget.c (cb_range_destroyed),
2195         (sheet_widget_scrollbar_create_widget),
2196         (sheet_widget_spinbutton_create_widget),
2197         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2198         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2200 2013-08-09  Morten Welinder  <terra@gnome.org>
2202         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2203         get_font.
2204         (get_font): New function extracted from draw_cairo_text.
2206 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2208         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2209         if possible
2211 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2213         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2214         allow multi-paragraph with a highlighted line. Change all callers
2215         (sheet_widget_list_draw_cairo): use draw_cairo_text
2217 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2219         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2220         cairo version for Gnuemric too.
2221         (sheet_widget_button_draw_cairo): ditto
2222         (sheet_widget_scrollbar_draw_cairo): ditto
2223         (sheet_widget_spinbutton_draw_cairo): ditto
2224         (sheet_widget_slider_draw_cairo): ditto
2225         (sheet_widget_checkbox_draw_cairo): ditto
2226         (sheet_widget_radio_button_draw_cairo): ditto
2227         (sheet_widget_list_draw_cairo): ditto
2228         (sheet_widget_combo_draw_cairo): ditto
2230 2013-08-08  Morten Welinder  <terra@gnome.org>
2232         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2233         Reduce crazy relative offsets.
2235 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2237         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2238         change all callers
2239         (sheet_widget_frame_draw_cairo): new
2240         (sheet_widget_button_draw_cairo): new
2241         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2242         (sheet_widget_scrollbar_vertical_draw_cairo): new
2243         (sheet_widget_scrollbar_class_init): connect the above
2244         (sheet_widget_spinbutton_draw_cairo): new
2245         (sheet_widget_spinbutton_class_init): connect the above
2246         (sheet_widget_slider_horizontal_draw_cairo): new
2247         (sheet_widget_slider_vertical_draw_cairo): new
2248         (sheet_widget_slider_draw_cairo): new
2249         (sheet_widget_slider_class_init): connect the above
2250         (sheet_widget_list_draw_cairo): new
2251         (sheet_widget_list_class_init): connect the above
2252         (sheet_widget_combo_draw_cairo): new
2253         (sheet_widget_combo_class_init): connect the above
2255 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2257         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2258         change all uses of this macro
2259         (draw_cairo_text): new
2260         (sheet_widget_checkbox_draw_cairo): new
2261         (sheet_widget_radio_button_draw_cairo): new
2263 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2265         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2266         gtk_offscreen_window_new without a default screen (see bugs #705638
2267         and #705640)
2269 2013-08-07  Morten Welinder  <terra@gnome.org>
2271         * src/ssconvert.c (main): Initialize gtk+ without opening any
2272         display.
2274 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2276         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2278 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2280         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2281         * src/sheet-control-gui.c (scg_init): init new fields
2282         (scg_im_destroy): new
2283         (scg_finalize): call scg_im_destroy
2284         (cb_cell_im_timer): new
2285         (scg_find_pane): new
2286         (scg_show_im_tooltip): new
2287         (scg_class_init): init new field
2288         * src/sheet-control-priv.h: add field
2289         * src/sheet-control.c: add virtual
2290         * src/sheet-control.h: add virtual
2291         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2292         (sv_update): call sheet_view_edit_pos_tool_tips
2293         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2294         in pixels
2295         (sheet_row_get_distance_pixels): new
2296         * src/sheet.h (sheet_row_get_distance_pixels): new
2298 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2300         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2301         nodes in guppi graphs. [Debian #718594]
2303 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2305         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2306         'default'
2308 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2310         * src/sheet-control-gui.c (context_menu_handler): add argument to
2311         dialog_cell_format call
2312         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2313         dialog_cell_format call
2314         (cb_data_validate): ditto
2316 2013-07-30  Morten Welinder  <terra@gnome.org>
2318         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2319         colour.  Fixes rest of #705031.
2321 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2323         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2325 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2326         for Dmitry Smirnov
2327         * gnumeric.desktop.in: add ODS files
2329 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2331         * src/graph.c (gnm_go_data_vector_load_values): really load all
2332         values for multiple ranges.
2334 2013-07-19  Morten Welinder  <terra@gnome.org>
2336         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2337         check: the enum has a hole in the middle.  Fixes #704562.
2339 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2341         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2342         printing.
2343         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2345 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2347         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2348         (gnm_so_path_set_property): ditto
2349         (gnm_so_path_get_property): ditto
2351 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2353         * src/gnm-so-path.c (so_path_view_set_bounds),
2354         (cb_gnm_so_path_changed): a better fix for the text position.
2356 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2358         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2359         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2360         * src/gnm-so-path.c (so_path_view_set_bounds),
2361         (cb_gnm_so_path_changed): fix text wrap in paths too.
2363 2013-07-16  Morten Welinder  <terra@gnome.org>
2365         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2366         computing range size.  Fixes #704325.
2368 2013-07-15  Morten Welinder  <terra@gnome.org>
2370         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2371         that.  Fixes #704004.
2373         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2375         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2376         against oversize range.
2378 2013-07-12  Morten Welinder  <terra@gnome.org>
2380         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2381         sure it falls within the sheet.
2382         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2383         parts are on different sheets.  Fixes #704109.
2385 2013-07-10  Morten Welinder <terra@gnome.org>
2387         * configure.ac: Post-release bump.
2389 2013-07-10  Morten Welinder <terra@gnome.org>
2391         * Release 1.12.4
2393 2013-07-10  Morten Welinder  <terra@gnome.org>
2395         * src/value.c (parse_criteria): Patterns should anchor at the end
2396         (#703770) and be case insensitive (no bug#).
2398 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2400         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2401         to create an image of unknown type
2403 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2405         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2406         signage
2407         (cb_assign_val): quieten warning about signed/unsigned comparison
2409 2013-07-03  Morten Welinder  <terra@gnome.org>
2411         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2412         crazy-large ranges.
2413         (cb_assign_val): Ditto.
2415 2013-07-02  Morten Welinder  <terra@gnome.org>
2417         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2418         (cb_style_list_add_node): Ditto.
2419         (verify_hashes): Ditto.
2420         (internal_style_list): Ditto.
2422         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2423         deck chairs.
2425 2013-07-01  Morten Welinder  <terra@gnome.org>
2427         * configure.ac (long double): Crude use -lm for long double
2428         function checks.  Fixes #703397.
2430 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2432         * src/expr.c (gnm_expr_list_copy): new
2433         * src/expr.h (gnm_expr_list_copy): new
2435 2013-06-26  Morten Welinder  <terra@gnome.org>
2437         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2438         of ->op before using it.  Fixes #703143.
2440 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2442         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2443         [#703052]
2444         (gnm_so_path_copy): fixed copy with multiple paths.
2446 2013-06-25  Morten Welinder <terra@gnome.org>
2448         * configure.ac: Post-release bump.
2450 2013-06-25  Morten Welinder <terra@gnome.org>
2452         * Release 1.12.3
2454 2013-06-24  Morten Welinder  <terra@gnome.org>
2456         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2457         sheet.  Fixes #703006.
2459 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2461         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2462         without sheet
2464 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2466         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2467         a valid pattern. [#702833]
2468         * src/pattern.c (gnumeric_background_set): ditto.
2470 2013-06-21  Morten Welinder  <terra@gnome.org>
2472         * src/item-grid.c (item_grid_draw_region): Plug leak.
2474         * src/item-bar.c (ib_reload_style): Plug leak.
2476 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2478         * src/wbc-gtk.c (show_gui): protect against excessively large
2479         preferred widow sizes
2481 2013-06-14  Morten Welinder  <terra@gnome.org>
2483         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2485         * src/workbook.c (workbook_sheet_delete): Debug.
2486         (workbook_dispose): Also clear style here.  Styles can have
2487         dependents now.  Fixes #702218.
2489 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2491         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2493 2013-06-12  Morten Welinder  <terra@gnome.org>
2495         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2496         Fixes #702101.
2498 2013-06-04  Morten Welinder  <terra@gnome.org>
2500         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2502 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2504         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2505         (scg_comment_display): adjust background and fontcolor if necessary
2507 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2509         * src/item-grid.c (cb_cursor_come_to_rest):
2510         gnumeric_position_tooltip needs the tooltip size, so load the text
2511         before calling it.
2513 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2515         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2516         with button 2
2518 2013-05-27  Morten Welinder  <terra@gnome.org>
2520         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2521         and we aren't very good at it.
2523 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2525         * component/Gnumeric-embed.xml.in: add accelerator
2526         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2527         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2528         (EditGotoCellIndicator): new
2529         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2530         (wbcg_focus_current_cell_indicator): new
2531         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2533 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2535         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2536         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2537         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2538         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2540 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2542         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2543         behave the same as far as cell selection is concerned. This fixes
2544         bug #700792
2545         (item_grid_button_released): ditto
2547 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2549         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2550         to include hidden cells
2551         (cb_sheet_get_extent): handle hidden cells setting
2552         (sheet_get_printarea): do not include hidden cells
2553         * src/sheet.h (sheet_get_extent): add argument and change all
2554         callers
2556 2013-05-26  Morten Welinder  <terra@gnome.org>
2558         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2559         Termiate when contributions vanish.
2561 2013-05-24  Morten Welinder  <terra@gnome.org>
2563         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2564         the outer integral.
2565         (pfuncinverter): Handle lack of dfunc (poorly).
2567 2013-05-23  Morten Welinder  <terra@gnome.org>
2569         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2570         interval out from out from R_ptukey.
2571         (R_ptukey): Split the interval nearest 0 into a sequence of
2572         intervals over which the integrand looks a lot more like a
2573         polynomial.  This fixes accuracy problems for low degrees of
2574         freedom.
2576         * src/sheet-style.c (internal_style_list): Fix critical.
2578 2013-05-22  Morten Welinder  <terra@gnome.org>
2580         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2582 2013-05-21  Morten Welinder  <terra@gnome.org>
2584         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2586 2013-05-19  Morten Welinder  <terra@gnome.org>
2588         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2589         boundaries.
2590         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2592 2013-05-18  Morten Welinder  <terra@gnome.org>
2594         * src/mathfunc.c (pnorm2): New function.
2595         (R_ptukey): New function imported from R with local improvements.
2597 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2599         * src/print.c (gnm_create_widget_cb): by default observe
2600         manual page breaks
2602 2013-05-14  Morten Welinder  <terra@gnome.org>
2604         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2605         (gnm_range_geometric_mean): Handle two FIXMEs.
2607 2013-05-13  Morten Welinder  <terra@gnome.org>
2609         * src/*.c: Mark gobject property strings as P_(...).
2611 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2613         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2615 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2617         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2618         rather than gnm_cell_assign_value
2620 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2622         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2623         first column
2625 2013-05-05  Morten Welinder  <terra@gnome.org>
2627         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2628         rendered value here.  Fixes #699647.
2630 2013-05-03  Morten Welinder  <terra@gnome.org>
2632         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2633         accelerator for redo.  Fixes #699579.
2634         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2635         focusable.
2637         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2639 2013-05-01  Morten Welinder  <terra@gnome.org>
2641         * src/print-info.c: Add gsf includes to make things work with
2642         libgsf 1.14.24.  Redhat #957851.
2644 2013-04-29  Morten Welinder  <terra@gnome.org>
2646         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2647         cells.
2649 2013-04-26  Morten Welinder <terra@gnome.org>
2651         * configure.ac: Post-release bump.
2653 2013-04-26  Morten Welinder <terra@gnome.org>
2655         * Release 1.12.2
2657 2013-04-26  Morten Welinder  <terra@gnome.org>
2659         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2660         row/column items the default.
2662 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2664         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2666 2013-04-24  Morten Welinder  <terra@gnome.org>
2668         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2669         widget parameter.  All callers changed.
2671         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2672         delayedMovement.timer.
2674         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2675         animation_cursor.
2677         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2678         windows_update_timer.
2680         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2681         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2682         valid tag.
2684         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2685         sliding).
2687 2013-04-23  Morten Welinder  <terra@gnome.org>
2689         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2691         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2692         critical.  Fixes #698680.
2694         * src/gui-file.c (gui_file_save_as): For export, change extension.
2695         Fixes #698636.
2697 2013-04-22  Morten Welinder  <terra@gnome.org>
2699         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2700         Somehow fixes #625687.
2702 2013-04-20  Morten Welinder  <terra@gnome.org>
2704         * src/go-data-slicer-field.c
2705         (go_data_slicer_field_set_field_type_pos): Add precondition for
2706         slicer.
2708 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2710         * src/print-info.c (render_title): new
2712 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2714         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2715         cells.
2716         (sheet_range_set_text): ditto
2718 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2720         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2721         than padding.
2723 2013-04-22  Morten Welinder  <terra@gnome.org>
2725         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2727 2013-04-19  Morten Welinder  <terra@gnome.org>
2729         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2730         view approach.  Fixes #689283.
2732         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2733         mode.
2734         (wbc_gtk_init_color_fore): Ditto.
2735         (wbc_gtk_init_color_back): Ditto.
2737 2013-04-17  Morten Welinder  <terra@gnome.org>
2739         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2740         button.
2742         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2743         font_name_haction.
2745         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2746         only for horizontal toolbars.
2748         * src/gui-file.c (file_saver_format_changed_cb): New function to
2749         change the extension when the format is changed.
2750         (gui_file_save_as): Don't try to hide the extension -- it
2751         interferes with the file chooser's completion.  Fixes #695839.
2753 2013-04-16  Morten Welinder  <terra@gnome.org>
2755         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2756         menu for graph sheets.  Fixes #685446.
2757         (sheet_menu_label_run): Disable resize for graph sheets.
2759         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2760         #661800.
2761         (parse_criteria): Handle criteria "=" and "<>" (with no value
2762         after the operator) special.  These test for empty and non-empty
2763         values.  Fixes #686156.
2765         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2766         "anchor_start" and "anchor_end".  All callers changed.
2768 2013-04-15  Morten Welinder  <terra@gnome.org>
2770         * src/application.c (add_icon): Plug leak.
2772         * src/number-match.c (format_match_decimal_number): Try also major
2773         non-locale currencies.  Fixes #577768.
2775 2013-04-13  Morten Welinder  <terra@gnome.org>
2777         * src/mathfunc.c (pochhammer): Improve precision a bit.
2778         (binomialcf): Lower cfSmall by 10^3.  This helps
2779         pbeta(0.9,10,0.5).
2781         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2782         doesn't prevent multiple versions from co-existing.
2784         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2785         dirty.  Callers already appear to handle this when needed
2786         and not when not wanted.  Fixes #697927.
2788 2013-04-12  Morten Welinder  <terra@gnome.org>
2790         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2791         #697850.
2792         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2793         reported to R).
2794         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2796 2013-04-11  Morten Welinder  <terra@gnome.org>
2798         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2799         reference with invalid_sheet.  Fixes #683494.
2801         * src/complex.c (complex_to_string): Drop format arguments.  All
2802         callers changed.  Make up a format with enough precision for round
2803         tripping.  Fixes #697634.
2805 2013-04-09  Morten Welinder  <terra@gnome.org>
2807         * src/complex.c (complex_from_string): Make this handle embedded
2808         spaces systematically.
2809         (is_unit_imaginary): Delete.
2811 2013-04-09  Morten Welinder  <terra@gnome.org>
2813         * src/complex.c (complex_pow): Use Goffice's copy.
2815 2013-04-05  Morten Welinder  <terra@gnome.org>
2817         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2818         new screens.  Add hack for pre-GTK 3.4.
2820         * src/mathfunc.c (gnm_owent): New function.
2822 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2824         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2825         functions used as vectors. [697281]
2827 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2829         * src/graph.c (gnm_go_data_vector_load_values),
2830         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2831         arrays. [697107]
2833 2013-04-03  Morten Welinder  <terra@gnome.org>
2835         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2836         attributes of the tab.
2838         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2839         GnmNotebookButton, not an EditableLabel.
2841 2013-04-02  Morten Welinder  <terra@gnome.org>
2843         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2844         widget.
2845         (cb_wbcg_drag_leave): Ditto.
2847 2013-03-27  Morten Welinder  <terra@gnome.org>
2849         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2850         key we look up.  When did that change?
2852 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2854         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2855         remove the frame.
2857 2013-03-26  Morten Welinder  <terra@gnome.org>
2859         * src/item-edit.c: Theme the in-cell edit background color.
2861         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2862         into here.
2863         src/gui-gnumeric.h: Remove.
2865         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2866         non-NULL if there is a selection.
2867         (gnumeric_background_set_gtk): Delete.  Make callers use
2868         gnumeric_background_set.
2870         * src/preview-grid.c (preview_grid_draw_background): Always
2871         provide a context to gnumeric_background_set.
2872         * src/item-edit.c (item_edit_draw): Ditto.
2874         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2875         separate the different cursor types.  Separate autofill colouring
2876         from drag ditto.
2878 2013-03-25  Morten Welinder  <terra@gnome.org>
2880         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2881         color to GOColor.
2882         (ic_reload_style): Theme some of the cursor colors.
2884         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2885         not colour name.
2887         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2889         * src/gnumeric.css: use deprecated px-free syntax for padding, so
2890         gtk+ 3.2 can deal with it.
2892         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2893         can suppress deprecations.
2895         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2896         the "all" button.
2898         * src/item-bar.c (ib_reload_style): Load fonts from style.
2900 2013-03-24  Morten Welinder  <terra@gnome.org>
2902         * src/item-grid.c (item_grid_draw_region): Draw the background at
2903         the right coordinates!
2905 2013-03-23  Morten Welinder  <terra@gnome.org>
2907         * src/item-bar.c (ib_draw_cell): There's no point in going to and
2908         from GOColor here.  Just use the color as-is.
2910 2013-03-19  Morten Welinder  <terra@gnome.org>
2912         * src/application.c (install_icons): Install also the icon themed
2913         icons.  No idea why we have both.
2915         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2917         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2918         (embedded_imgs): Add the rest from pixmaps.
2920         * configure.ac: No longer create src/pixmaps/Makefile
2922         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2923         these work for resources and absolute paths.
2925 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2927         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2928         not sizeable objects bounds after dragging when zoom is not 100%.
2930 2013-03-18  Morten Welinder  <terra@gnome.org>
2932         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2933         filter.  It takes just long enough to be irritating.
2935 2013-03-17  Morten Welinder  <terra@gnome.org>
2937         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2938         style since we're not picking it explicitly.
2939         (cb_font_filter): Fix leak.
2941 2013-03-14  Morten Welinder  <terra@gnome.org>
2943         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2944         ignore non-scalable fonts.
2946 2013-03-11  Morten Welinder  <terra@gnome.org>
2948         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2950 2013-03-10  Morten Welinder  <terra@gnome.org>
2952         * src/ssconvert.c (list_them): Skip savers/openers that require
2953         interaction.  (We don't have any yet.)
2955         * src/stf.c (stf_read_workbook): Set error when we fail due to
2956         lack of GUI.
2957         (stf_init): Mark the configurable saver/opener as interactive.
2959         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
2961 2013-03-09  Morten Welinder <terra@gnome.org>
2963         * configure.ac: Post-release bump.
2965 2013-03-09  Morten Welinder <terra@gnome.org>
2967         * Release 1.12.1
2969 2013-03-06  Morten Welinder  <terra@gnome.org>
2971         * src/wbc-gtk.c (list_actions): Handle a null group.
2973 2013-03-03  Morten Welinder  <terra@gnome.org>
2975         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2976         g_thread_init if compiled with later than glib 2.32.0.
2978 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
2980         * src/gnm-pane-impl.h: remove alignments.
2981         * src/gnm-pane.c (gnm_pane_header_init): dittO;
2982         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2983         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2984         * src/sheet-control-gui-priv.h: remove all tables by one grid.
2985         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2986         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2987         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2988         (scg_mode_edit): ditto.
2989         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2990         (cb_sheet_visibility_change), (wbcg_sheet_add),
2991         (wbcg_sheet_remove), (wbcg_sheet_focus),
2992         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2993         (wbcg_get_nth_scg): ditto.
2995 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
2997         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2998         * src/print.c (gnm_create_widget_cb): ditto.
2999         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3001 2013-03-01  Morten Welinder  <terra@gnome.org>
3003         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3004         first argument, not "x".
3006 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3008         reviewed by: <delete if not using a buddy>
3010         * INSTALL:
3011         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3012         (sheet_widget_adjustment_user_config_impl),
3013         (sheet_widget_checkbox_user_config),
3014         (sheet_widget_radio_button_user_config):
3015         * src/wbc-gtk.c (wbc_gtk_init):
3017 2013-02-28  Morten Welinder  <terra@gnome.org>
3019         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3020         development versions.  We now get the information through gcc
3021         warnings.
3022         (solver): Make solver code unconditional.  Feel free to not
3023         distribute the relevant plugins.
3025 2013-02-26  Morten Welinder  <terra@gnome.org>
3027         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3029 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3031         * src/number-match.c: more introspection warnings.
3033 2013-02-23  Morten Welinder  <terra@gnome.org>
3035         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3037 2013-02-21  Morten Welinder  <terra@gnome.org>
3039         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3040         GHFunc.  All callers changed.  Impose a robust ordering.
3041         (sh_all_styles): New function replacing sh_foreach.
3043 2013-02-20  Morten Welinder  <terra@gnome.org>
3045         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3047 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3049         * configure.ac: make configure --with-python fail when some
3050         dependency is missing.
3052 2013-02-17  Morten Welinder  <terra@gnome.org>
3054         * configure.ac (set_more_warnings): Improve support for clang.
3056 2013-02-16  Morten Welinder  <terra@gnome.org>
3058         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3059         (Most cases a matter of 0 vs. 0.)
3061 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3063         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3064         default value for stf export format.
3065         * src/dependent.c: fix introspection warnings.
3066         * src/sheet-style.c: ditto.
3068 2013-02-15  Morten Welinder  <terra@gnome.org>
3070         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3071         3.2.0 just like goffice.
3073         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3074         requiring gtk 3.2
3076 2013-02-14  Morten Welinder  <terra@gnome.org>
3078         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3079         not MAXDOUBLE.  Fixes #693761.
3081 2013-02-10  Morten Welinder  <terra@gnome.org>
3083         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3084         doesn't belong here.  We handle everything in rstyle_apply.
3086 2013-02-08  Morten Welinder  <terra@gnome.org>
3088         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3089         link/unlink style dependents.  All callers changed.
3090         (sheet_style_shutdown): Set default style for whole sheet to
3091         ensure style dependents get cleared.
3093 2013-02-07  Morten Welinder  <terra@gnome.org>
3095         * src/sheet-style.c (cell_tile_optimize): Implement
3096         ptr-matrix-to-matrix optimization and use it to simplify things.
3098         * src/dependent.c (GnmStyleDependent): New type of dependent.
3099         When triggered, the cells in which it resised will be rerendered
3100         and redrawn.
3102         * src/mstyle.c (gnm_style_link_dependents)
3103         (gnm_style_unlink_dependents): New functions to manage style
3104         dependents due to conditional formatting.
3106 2013-02-06  Morten Welinder  <terra@gnome.org>
3108         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3109         inside-out in anticipation of future changes.
3111         (col_indicies, row_indicies): Alignment of the corners of apply_to
3112         is only relevant if we are within the tile.
3114 2013-02-06  Morten Welinder  <terra@gnome.org>
3116         * src/sheet-style.c (tile_is_uniform): Extract from
3117         cell_tile_optimize.
3118         (vector_apply_pstyle): Don't return a value.
3119         (cell_tile_apply): Use tile_is_uniform.
3121 2013-02-05  Morten Welinder  <terra@gnome.org>
3123         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3124         instead of crazy "goto".
3125         (cell_tile_apply): Simplify the covers-whole-tile case.
3127         * src/sheet.h (Sheet): Remove max_width and max_height members.
3128         All users fixed.
3130         * src/dependent.h (GnmDependentClass): Add pos handler.
3132         * src/dependent.c (dependent_pos): Use pos handler.
3133         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3135 2013-02-04  Morten Welinder  <terra@gnome.org>
3137         * src/dependent.c (dependent_pos): Make global.
3139         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3140         dependent_pos.
3142         * src/ssconvert.c (run_tool_test): Add code for running the
3143         regression tool.
3144         (convert): Run an analysis tool if requested.  (For testing.)
3146 2013-02-02  Morten Welinder  <terra@gnome.org>
3148         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3149         and rstyle_ctor_pstyle.  All callers changed.
3151 2013-01-18  Morten Welinder  <terra@gnome.org>
3153         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3154         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3155         New matrix support.
3156         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3157         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3159 2013-01-15  Morten Welinder  <terra@gnome.org>
3161         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3162         import from command line.
3164 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3166         * configure.ac: renamed configure.in and update obsolete macros.
3167         * configure.in: ditto.
3169 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3171         * configure.in: Add
3172         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3173         includes.
3175 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3177         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3178         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3179         twice the top and bottom margins when displaying a graph
3180         sheet. [#691472]
3182 2013-01-10  Morten Welinder  <terra@gnome.org>
3184         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3185         argument and assume TRUE.  Drop scope name and assume NULL (which
3186         is what all callers should have used).  All callers changed.
3187         (gnm_func_add_placeholder): Ditto.
3188         (invent_name): Downcase the preferred name.
3189         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3190         (gnm_func_add): Initialize arg_names_p.
3192         * src/gnm-plugin.c (plugin_service_function_group_activate):
3193         Upgrade existing placeholder functions as needed.
3195         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3196         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3198 2013-01-10  Morten Welinder  <terra@gnome.org>
3200         * src/func.c (gnm_func_add_placeholder_localized): New function.
3201         (gnm_func_add_placeholder_full): Extract from
3202         gnm_func_add_placeholder.  Handle localization better.
3203         (gnm_func_set_localized_name): New function.
3204         (gnm_func_free, gnm_func_get_name): Use
3205         gnm_func_set_localized_name.
3207         * src/parse-util.c (std_func_map): Improve handling of unknown
3208         function names.
3210         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3211         (gnm_func_free): ...here.
3213 2013-01-09  Morten Welinder  <terra@gnome.org>
3215         * src/symbol.c: delete.
3217         * src/func.c: rewrite to use GHashTable instead of symbol.c
3218         (gnm_func_lookup_prefix): Take extra argument indicating whether
3219         to search translated names.  Caller changed.
3221         * src/parse-util.c (std_func_map): Lookup translated name as
3222         needed.
3223         (parse_util_init): Add enviroment magic to turn on translated
3224         functions names.  This is not ready for prime time and should be
3225         controlled by a user preference eventually.
3227         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3228         bit.
3230 2013-01-07  Morten Welinder  <terra@gnome.org>
3232         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3233         pivot.  Use gnm_hypot where possible.
3235 2013-01-04  Morten Welinder  <terra@gnome.org>
3237         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3238         as argument.  Keep track of displays.
3239         (gnm_x_disown_clipboard): New function.
3241         * src/application.c (gnm_app_clipboard_clear): Use
3242         gnm_x_disown_clipboard to make things multi-head safe.
3244 2013-01-03  Morten Welinder  <terra@gnome.org>
3246         * src/collect.c (collect_floats): Fix handling of
3247         COLLECT_IGNORE_ERRORS.
3248         (collect_strings): Ditto.
3249         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3251 2013-01-01  Morten Welinder  <terra@gnome.org>
3253         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3254         deprecated goffice stuff.
3256         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3257         unused variable.
3258         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3259         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3260         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3262         * src/application.c (gnm_app_history_add): Kill warning.
3264 2012-12-31  Morten Welinder  <terra@gnome.org>
3266         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3267         Fixed #690929.
3269         * src/ssdiff.c: Introduce --highlight mode.
3271 2012-12-30  Morten Welinder  <terra@gnome.org>
3273         * src/ssdiff.c (main): Add option to send output to a file.
3275 2012-12-29  Morten Welinder  <terra@gnome.org>
3277         * src/ssdiff.c (diff): Use C locale.
3278         (ignore_cell): Ignore arrays, except for the corner.
3279         (output_cell): New function taking proper care of value types,
3280         convensions, etc.
3281         (xml_cell_changed): Use output_cell.
3282         (compare_corresponding_cells): Don't use entered_text here either,
3283         although it's harmless.
3284         (output_cell, compare_corresponding_cells): Handle value formats
3285         too.
3287 2012-12-28  Valek Filippov  <frob@df.ru>
3289         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3290         gdk_window_get_pointer calls.
3292 2012-12-28  Morten Welinder  <terra@gnome.org>
3294         * src/*.c: Eliminate use of printf.
3296         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3297         range offset here.  This may need to move further.
3298         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3299         (diff_sheets_cells): Ignore completely empty cells.
3300         (xml_sheet_start): Change meaning of Old and New attributes to be
3301         index_in_wb and absent when workbook doesn't have the sheet.
3302         (xml_style_changed): Describe style differences.
3304 2012-12-27  Morten Welinder  <terra@gnome.org>
3306         * src/ssdiff.c (diff_sheets): Compare styles too.
3308         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3309         range argument.  All callers changed.
3311 2012-12-24  Morten Welinder  <terra@gnome.org>
3313         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3314         cell_removed handlers into the cell_changed handler.
3315         (main): Add --xml option.
3317         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3318         configurable.  We need ssconvert for the test and it's silly
3319         anyway.
3321 2012-12-18  Morten Welinder <terra@gnome.org>
3323         * configure.in: Post-release bump.