Introspection: fix problems with boxed type.
[gnumeric.git] / ChangeLog
blob021452d4b5a01c4eb68beaad294211e841bda90c
1 2018-04-13  Morten Welinder  <terra@gnome.org>
3         * src/validation.c (gnm_validation_ref): Must return a value to be
4         used as a boxed copy function.
6         * src/expr.c (gnm_expr_top_ref): Must return a value to be used
7         as a boxed copy function.
9         * src/expr-name.c (expr_name_ref): Must return a value to be used
10         as a boxed copy function.
12         * src/mstyle.c (gnm_style_ref): Must return a value to be used
13         as a boxed copy function.
15         * src/clipboard.c (cellregion_ref): Must return a value to be used
16         as a boxed copy function.
18         * src/criteria.c (gnm_criteria_unref): Rename from free_criteria.
20         * src/mstyle.c: Hide internals.
21         src/gnm-style-impl.h: Remove.
23         * src/cell.c (gnm_cell_set_format): Remove.  Unused and badly
24         named.
26 2018-04-12  Morten Welinder  <terra@gnome.org>
28         * src/sheet-merge.c (gnm_sheet_merge_remove): Drop unused command
29         context argument.  All callers changed.
31 2018-04-11  Morten Welinder  <terra@gnome.org>
33         * src/workbook.c: Make Workbook a more proper object by adding a
34         constructor to setup the object correctly.  Introspection fixes.
36         (workbook_view_class_init): Make this a more proper object by
37         adding a constructor and init function to setup the object
38         correctly.
40 2018-04-11  Morten Welinder  <terra@gnome.org>
42         * src/workbook-view.c: Introspection fixes, mostly from Dean
43         McCarron.
44         src/workbook-control.c: Ditto.
45         src/wbc-gtk.c: Ditto.
47 2018-03-25  Morten Welinder  <terra@gnome.org>
49         * src/workbook.c (workbook_set_last_export_uri): Constify
50         argument.  Callers fixed.
52 2018-03-23  Morten Welinder  <terra@gnome.org>
54         * src/main-application.c (cpu_sanity_check): New function.
56 2018-03-13  Morten Welinder <terra@gnome.org>
58         * configure.ac: Post-release bump.
60 2018-03-13  Morten Welinder <terra@gnome.org>
62         * Release 1.12.39
64 2018-01-17  Morten Welinder  <terra@gnome.org>
66         * src/sstest.c (function_dump_defs): Drop internal function TABLE
67         as well as demo function ATL_LAST.
69 2018-01-11  Morten Welinder  <terra@gnome.org>
71         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
72         not to trigger an update storm when nothing changes.  Fixes
73         #792417.
75 2018-01-01  Morten Welinder  <terra@gnome.org>
77         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
78         non-reachable code relating to true() and false() conditions.
80 2017-12-30  Morten Welinder  <terra@gnome.org>
82         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
83         changed.
84         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
85         (gnm_expr_top_get_array_expr): New functions.
87         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
88         changed.
90 2017-12-29  Morten Welinder  <terra@gnome.org>
92         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
93         name.  #792038.
95 2017-12-28  Morten Welinder <terra@gnome.org>
97         * configure.ac: Post-release bump.
99 2017-12-28  Morten Welinder <terra@gnome.org>
101         * Release 1.12.38
103 2017-12-25  Morten Welinder  <terra@gnome.org>
105         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
106         * src/func-builtin.c (func_builtin_init): Ditto.
108 2017-12-23  Morten Welinder  <terra@gnome.org>
110         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
112 2017-12-04  Morten Welinder  <terra@gnome.org>
114         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
115         instead of passing them all over the place.
116         (diff): Compare names too.
118 2017-12-03  Morten Welinder  <terra@gnome.org>
120         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
121         (diff): Missing or extra sheet counts as a difference.
123         * src/mstyle.c (gnm_style_find_differences): Don't crash when
124         hlink/validation/inputmsg/conditions is NULL in one and not the other.
126         * src/ssdiff.c (diff_sheets_colrow): New function to compare
127         row/column sizes.
128         (highlight_cell_changed): Survive missing cell.
130 2017-12-01  Morten Welinder <terra@gnome.org>
132         * configure.ac: Post-release bump.
134 2017-12-01  Morten Welinder <terra@gnome.org>
136         * Release 1.12.37
138 2017-11-30  Morten Welinder  <terra@gnome.org>
140         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
141         usage.
142         * src/parse-util.c (wbref_parse): Ditto.
143         * src/preview-grid.c (preview_grid_draw_region): Ditto.
144         * src/item-grid.c (item_grid_draw_region): Ditto.
145         * src/parser.y (yylex): Ditto.
146         * src/criteria.c (parse_database_criteria): Ditto.
148         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
149         stack, allocation.
151         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
152         stack, allocation.
154 2017-11-29  Morten Welinder  <terra@gnome.org>
156         * src/sstest.c (enumerate_functions): Make sure function is loaded.
158         * src/func-builtin.c (help_table): Add help text for TABLE.
160         * src/func.c (gnm_func_enumerate): Introspection annotation.
162         * src/sstest.c (function_dump_defs): Move from func.c with all
163         support code.
164         (gnm_func_sanity_check): Ditto.
166         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
168         * src/main-application.c (pathetic_qt_workaround): Not needed
169         anymore.
171         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
172         looking strange when insensitive and also is a consistent size.
174 2017-11-18  Morten Welinder <terra@gnome.org>
176         * configure.ac: Post-release bump.
178 2017-11-18  Morten Welinder <terra@gnome.org>
180         * Release 1.12.36
182 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
184         * src/gnumeric.css: add grid:selected back-color.
185         * src/item-grid.c (item_grid_draw_region): fix background of multiple
186         selection. [#789411]
188 2017-10-23  Morten Welinder  <terra@gnome.org>
190         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
191         criticals.
193 2017-07-06  Morten Welinder <terra@gnome.org>
195         * configure.ac: Post-release bump.
197 2017-07-06  Morten Welinder <terra@gnome.org>
199         * Release 1.12.35
201 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
203         * src/sheet-object-widget.c
204         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
205         button
207 2017-05-18  Morten Welinder  <terra@gnome.org>
209         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
210         integer orders.
211         (jy_via_j_series): Rename from y_via_j_series and supply both J
212         and Y results.  Use the full J result accuracy.
213         (gnm_bessel_phi): Improve divergence check.
215 2017-05-16  Morten Welinder  <terra@gnome.org>
217         * src/sf-bessel.c (debye_33): Handle near-overflow better.
218         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
219         appropriate.
221         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
223         * src/value.c (value_new_from_string): Handle denormals betters.
225 2017-04-05  Morten Welinder  <terra@gnome.org>
227         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
228         Generalize to Pi/2^e and make public.
230 2017-03-28  Morten Welinder  <terra@gnome.org>
232         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
233         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
234         around the integer with odd count when we can.
236 2017-03-21  Morten Welinder  <terra@gnome.org>
238         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
239         deviation for each bin.
240         (test_random_randchisq, test_random_randtdist)
241         (test_random_randfdist): Don't allow df=0.
242         (test_random_randbeta): Don't floor the parameters thus avoiding
243         zero.
245 2017-03-20  Morten Welinder <terra@gnome.org>
247         * configure.ac: Post-release bump.
249 2017-03-20  Morten Welinder <terra@gnome.org>
251         * Release 1.12.34
253 2017-03-17  Morten Welinder  <terra@gnome.org>
255         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
256         bogus GnmColor here.  The fake object prevents GnmColor equality
257         from working which in turn prevents GnmBorder equality from
258         working.
260         * src/style-color.c (gnm_color_make): Rename from
261         gnm_color_new_uninterned and handle caching here.
262         (gnm_color_new_auto): New function.
264         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
265         (compare_corresponding_cells): Fall back to string comparison.
266         References like Sheet1!A1 should match even if they, obviously,
267         refer to sheets in different workbooks.
269         * src/style-conditions.c (gnm_style_conditions_equal): Add new
270         relax_sheet argument.
272         * src/validation.c (gnm_validation_equal): New function.
274         * src/mstyle.c (gnm_style_find_differences): New function.
276         * src/ssdiff.c (xml_style_changed): Use
277         gnm_style_find_differences.
279         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
280         gnm_style_find_differences, not gnm_style_equal.
282         * src/hlink.c (gnm_hlink_equal): New function.
284 2017-03-13  Morten Welinder  <terra@gnome.org>
286         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
287         inter-sheet local name references.
289 2017-03-10  Morten Welinder  <terra@gnome.org>
291         * src/hlink.c (gnm_hlink_get_name_target)
292         (gnm_hlink_get_range_target): New functions.
293         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
295 2017-03-07  Morten Welinder  <terra@gnome.org>
297         * src/parser.y (parser_simple_name): Extract from
298         parser_simple_val_or_name.  Extend to handle explicit sheet.
299         ("sheetref STRING"): Ise parser_simple_name.
301 2017-03-06  Morten Welinder  <terra@gnome.org>
303         * src/expr-name.c (expr_name_add): Plug leak.
305 2017-03-05  Morten Welinder  <terra@gnome.org>
307         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
308         (gnm_hlink_cur_wb_activate): Move string parsing from here...
309         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
310         value_new_cellrange_str will resolve a name.
312         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
313         sheet for hlinks too.
315         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
316         (gnm_hlink_set_sheet): New functions.
318 2017-01-30  Morten Welinder <terra@gnome.org>
320         * configure.ac: Post-release bump.
322 2017-01-30  Morten Welinder <terra@gnome.org>
324         * Release 1.12.33
326 2017-01-29  Morten Welinder  <terra@gnome.org>
328         * src/style-conditions.c (gnm_style_cond_equal): New function.
329         (gnm_style_conditions_equal): ...split out from here.
331 2017-01-25  Morten Welinder  <terra@gnome.org>
333         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
335 2017-01-22  Morten Welinder  <terra@gnome.org>
337         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
338         expression for text formatted cells.
339         (stf_parse_sheet): Don't try number parsing for text formatted
340         columns.  Fixes #777543.
342 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
344         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
345         format when generating the string. [#777338]
347 2017-01-19  Morten Welinder  <terra@gnome.org>
349         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
351         * src/style-conditions.c (gnm_style_conditions_equal): New
352         function.
354 2016-12-08  Morten Welinder  <terra@gnome.org>
356         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
357         callers changed.
358         (gnm_linear_solve_multiple): Ditto.
360 2016-10-02  Morten Welinder  <terra@gnome.org>
362         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
363         g_mem_set_vtable stuff actually works anymore.
365 2016-08-21  Morten Welinder  <terra@gnome.org>
367         * src/sstest.c (options): Add --fast option.
369         * src/value.c (value_get_as_gstring): Let a negative
370         decimal_digits mean "shortest round-tripping string".
372 2016-08-20  Morten Welinder <terra@gnome.org>
374         * configure.ac: Post-release bump.
376 2016-08-20  Morten Welinder <terra@gnome.org>
378         * Release 1.12.32
380 2016-08-08  Morten Welinder  <terra@gnome.org>
382         * src/criteria.c (criteria_inspect_values): Add flag for string
383         coercion.  Only the equality test wants that.
385         * src/value.c (criteria_inspect_values): Floats don't match
386         errors.
388 2016-08-04  Morten Welinder  <terra@gnome.org>
390         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
391         pointer.
393         * src/collect.c (string_range_function): Add user pointer.  Caller
394         changed.
396 2016-06-29  Morten Welinder <terra@gnome.org>
398         * configure.ac: Post-release bump.
400 2016-06-29  Morten Welinder <terra@gnome.org>
402         * Release 1.12.31
404 2016-06-29  Morten Welinder  <terra@gnome.org>
406         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
407         related to sheet-local names.  [#768164]
409 2016-06-28  Morten Welinder  <terra@gnome.org>
411         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
412         of different lenghts.
414 2016-06-21  Morten Welinder  <terra@gnome.org>
416         * src/value.c (criteria_test_greater_or_equal): Use case-folding
417         comparisons for strings.
418         (parse_criteria, parse_criteria_range): Add argument controlling
419         whether to anchor matching at end of string.
420         (parse_database_criteria): Don't anchor here.
422 2016-06-17  Morten Welinder <terra@gnome.org>
424         * configure.ac: Post-release bump.
426 2016-06-17  Morten Welinder <terra@gnome.org>
428         * Release 1.12.30
430 2016-06-17  Morten Welinder  <terra@gnome.org>
432         * src/value.c (parse_criteria): Anchor matches at the beginning,
433         but not at the end.
435 2016-06-11  Morten Welinder  <terra@gnome.org>
437         * src/value.c (find_rows_that_match): Fix blank handling.
438         (criteria_test_unequal): Wrong type means unequal.
439         (criteria_test_match): Only match strings.
440         (parse_criteria): Don't anchor matches.  This is the right thing
441         to do for DSUM and friends.  Hopefully this doesn't break anything
442         else.
443         (criteria_inspect_values): Strings are incompatible with
444         non-strings.
445         (criteria_test_less, criteria_test_less_or_equal)
446         (criteria_test_greater, criteria_test_greater_or_equal): handle
447         strings.
449 2016-05-19  Morten Welinder  <terra@gnome.org>
451         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
452         decimal counts for the hypothetical comma and point choices.
454 2016-05-10  Morten Welinder  <terra@gnome.org>
456         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
457         members.  Doc fix.
459 2016-05-06  Morten Welinder <terra@gnome.org>
461         * configure.ac: Post-release bump.
463 2016-05-06  Morten Welinder <terra@gnome.org>
465         * Release 1.12.29
467 2016-04-29  Morten Welinder  <terra@gnome.org>
469         * src/gui-util.c (gnm_style_context_get_color): Fix function
470         wrapping gtk_style_context_get_color which changed API.
472 2016-04-24  Morten Welinder  <terra@gnome.org>
474         * src/value-sheet.c (value_area_get_x_y): Use
475         gnm_rangeref_normalize.  Do full wrap-around.
477 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
479         * src/graph.c (gnm_go_data_matrix_load_values): fix array
480         reading. [#765483]
482 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
484         * configure.ac: protect against pxlib weirdness.
486 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
488         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
489         value is an error.
491 2016-03-22  Morten Welinder <terra@gnome.org>
493         * configure.ac: Post-release bump.
495 2016-03-22  Morten Welinder <terra@gnome.org>
497         * Release 1.12.28
499 2016-03-02  Morten Welinder  <terra@gnome.org>
501         * src/sf-bessel.c: Return complex numbers by value, not reference.
503 2016-02-23  Morten Welinder  <terra@gnome.org>
505         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
507 2016-02-18  Morten Welinder  <terra@gnome.org>
509         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
510         #762278.
512 2016-02-12  Morten Welinder  <terra@gnome.org>
514         * src/complex.h: Add a direct-value interface.
516         * src/ssconvert.c (run_solver): Also create solver reports as
517         indicated in options.
519         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
521 2016-02-10  Morten Welinder  <terra@gnome.org>
523         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
524         to 1px.  While that may be a sligh increase for certain
525         themes/gtk+ versions, it is a large decrease for others, notably
526         what comes with an out-of-the-box OpenSuSE leap.  Override in
527         ~/.config/gtk-3.0/gtk.css if need be.
529         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
530         wheel for horizontal motion instead of alt.  Window managers tend
531         to eat the latter.
533 2016-02-08  Morten Welinder  <terra@gnome.org>
535         * src/graph.c (gnm_go_data_vector_eval)
536         (gnm_go_data_vector_finalize): Plug leak.
538 2016-02-06  Morten Welinder <terra@gnome.org>
540         * configure.ac: Post-release bump.
542 2016-02-06  Morten Welinder <terra@gnome.org>
544         * Release 1.12.27
546 2016-02-06  Morten Welinder  <terra@gnome.org>
548         * configure.ac (goffice): Require latest for
549         go_complex_from_polar_pi.
551         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
552         when x<0 and a is real.
554 2016-02-04  Morten Welinder  <terra@gnome.org>
556         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
557         (gnm_complex_continued_fraction): Fail if we would otherwise try
558         to rescale by 0.  Fix termination condition.
559         (igamma_asymp): Fix term update.
560         (complex_igamma): Fix flavour fixup.
562 2016-02-02  Morten Welinder  <terra@gnome.org>
564         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
565         (gamma_error_factor): Extend to all positive numbers.
566         (pochhammer_small_n): Allow any x > 1.
567         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
569 2016-02-01  Morten Welinder  <terra@gnome.org>
571         * configure.ac (yacc, lex): Fail if the required program isn't
572         found.
574 2016-01-31  Morten Welinder  <terra@gnome.org>
576         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
577         complex continued fractions.
579 2016-01-30  Morten Welinder  <terra@gnome.org>
581         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
582         GtkStyleContext.  Another ABI changes causes that to crash.
584         * src/value.c (find_column_of_field): Insist that the database be
585         a cell range, not an array.
587 2016-01-29  Morten Welinder  <terra@gnome.org>
589         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
590         (bessel_ij_series): Rename from bessel_j_series and extend to
591         handle i also.
593         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
594         argument is less than one.
596         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
597         about broken sheet filter.
599         * src/sheet-filter.c (gnm_filter_condition_new_single)
600         (gnm_filter_condition_new_double): Plug leak on error.
601         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
603 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
605         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
606         value. [#761048]
608 2016-01-27  Morten Welinder  <terra@gnome.org>
610         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
611         implementation.
613         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
614         css styling.
616 2016-01-23  Morten Welinder  <terra@gnome.org>
618         * src/parser.y (yylex): Be careful about overflowing numeric
619         token.  Fixes #761023.
621 2016-01-20  Morten Welinder  <terra@gnome.org>
623         * src/complex.h: Namespace.  Mostly for macros.
625 2016-01-16  Morten Welinder  <terra@gnome.org>
627         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
628         unused time argument.  All callers changed.
629         (gnm_simple_canvas_grab): Remove unused arguments and return
630         value.  All callers changed.
632         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
633         without regrabbing the focus.  See #760639.
635 2016-01-13  Morten Welinder  <terra@gnome.org>
637         * src/sstest.c (test_random_randsnorm)
638         (test_random_randbernoulli): Print expected stats.
640         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
641         are sane.  Fixes #760544.
643 2016-01-08  Morten Welinder  <terra@gnome.org>
645         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
647 2016-01-06  Morten Welinder  <terra@gnome.org>
649         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
651 2016-01-04  Morten Welinder  <terra@gnome.org>
653         * src/sheet-style.c (sheet_style_apply_range)
654         (sheet_style_set_range): Silently ignore inverted ranges.
656 2016-01-03  Morten Welinder  <terra@gnome.org>
658         * src/sheet-style.c (sheet_style_apply_range)
659         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
661 2016-01-02  Morten Welinder  <terra@gnome.org>
663         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
665         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
666         zero record size.  Fixes #760087.
668         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
670 2016-01-01  Morten Welinder  <terra@gnome.org>
672         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
674         * src/expr-name.c (expr_name_add): Improve check for circular name
675         defintion.  Fixes #760046.
677 2015-12-28  Morten Welinder  <terra@gnome.org>
679         * src/ssconvert.c (convert): When separating sheets, move current
680         sheet to the front.  See bug #694408.
682         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
683         sheet, remove it at the end.
685 2015-12-28  Morten Welinder <terra@gnome.org>
687         * configure.ac: Post-release bump.
689 2015-12-28  Morten Welinder <terra@gnome.org>
691         * Release 1.12.26
693 2015-12-26  Morten Welinder  <terra@gnome.org>
695         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
696         change here (on the grid).
697         (scg_class_init): Not here.  We're not derived from GtkWidget.
699         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
700         (foreach_tile): New top-level function taking few parameters.  All
701         callers changed.
703 2015-12-25  Morten Welinder <terra@gnome.org>
705         * configure.ac: Post-release bump.
707 2015-12-25  Morten Welinder <terra@gnome.org>
709         * Release 1.12.25
711 2015-12-22  Morten Welinder  <terra@gnome.org>
713         * src/ssdiff.c (xml_style_changed): Do more for input message and
714         validation.
716 2015-12-20  Morten Welinder  <terra@gnome.org>
718         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
719         screen size.
720         (scg_resize): Limit frozen zones to screen size.  Not idea, but
721         better than crashing.
723 2015-12-19  Morten Welinder  <terra@gnome.org>
725         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
727 2015-12-13  Morten Welinder  <terra@gnome.org>
729         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
730         merges on column/row insert.  Fixes #504004.
732 2015-12-12  Morten Welinder  <terra@gnome.org>
734         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
735         when the merge partially falls off the far end.
737 2015-12-10  Morten Welinder  <terra@gnome.org>
739         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
740         ensure actions get accel paths.
742 2015-12-09  Morten Welinder  <terra@gnome.org>
744         * src/wbc-gtk.c (wbcg_find_action): New function to look in
745         multiple places for an action.
747         * src/gui-util.c (gnm_action_group_add_actions): Handle
748         translation context.  Also handle toggle actions.
750 2015-12-08  Morten Welinder  <terra@gnome.org>
752         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
753         syntax.
755         * src/gui-util.c (gnm_action_group_add_actions): New function,
756         currently quite dumb.
758         * configure.ac (CC): Insist on c99.
760 2015-12-05  Morten Welinder  <terra@gnome.org>
762         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
763         (drayleigh): Define in terms of dweibull.
765 2015-12-03  Morten Welinder  <terra@gnome.org>
767         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
768         support.  Fixes R.QHYPER(0.1,3,99,13)
770 2015-10-19  Morten Welinder  <terra@gnome.org>
772         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
773         in[2].  Fixes #752182.
775 2015-09-25  Morten Welinder  <terra@gnome.org>
777         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
778         avoid value copying.  Fixes #752181.
779         (gnumeric_table): Handle repeated cells.  Fixes #752178.
781 2015-09-20  Morten Welinder <terra@gnome.org>
783         * configure.ac: Post-release bump.
785 2015-09-20  Morten Welinder <terra@gnome.org>
787         * Release 1.12.24
789 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
791         * src/gui-file.c (gui_file_save_as): just change the extension not more
792         when the original filename has several dots. [ubuntu #1497344]
794 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
796         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
797         anchors. [#754792]
799 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
801         * src/sheet-object.c (sheet_object_update_bounds),
802         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
803         the objects bounds are always updated. Really fix printing.
804         * src/xml-sax-write.c (xml_write_objects): revert previous change.
806 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
808         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
809         printing, but still not perfect.
810         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
811         * src/xml-sax-write.c (xml_write_objects): ditto.
813 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
815         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
816         with one cell or absolute anchors. [#753961]
817         * src/sheet-object.c (sheet_object_draw_cairo):
819 2015-07-28  Morten Welinder <terra@gnome.org>
821         * configure.ac: Post-release bump.
823 2015-07-28  Morten Welinder <terra@gnome.org>
825         * Release 1.12.23
827 2015-07-14  Morten Welinder  <terra@gnome.org>
829         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
830         #752259.
832 2015-07-09  Morten Welinder  <terra@gnome.org>
834         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
835         operation.  Fixes #752124.
837 2015-07-06  Morten Welinder  <terra@gnome.org>
839         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
841 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
843         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
845 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
847         * src/value.c (value_compare_real): handle two empty values however
848         they appear
850 2015-07-03  Morten Welinder  <terra@gnome.org>
852         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
853         context.
855 2015-06-30  Morten Welinder  <terra@gnome.org>
857         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
858         it all the way here.
860 2015-06-29  Morten Welinder  <terra@gnome.org>
862         * src/func.c (function_iterate_argument_values): Improve name
863         handling.  Part of #751660.
865 2015-06-28  Morten Welinder  <terra@gnome.org>
867         * src/value-sheet.c (value_area_get_width, value_area_get_height):
868         Use the same normalization as value_area_foreach.  Fixes #751390.
870         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
871         Fixes #751577.
873 2015-06-26  Morten Welinder  <terra@gnome.org>
875         * src/value.c (value_new_array_empty): Store value_new_empty(),
876         not NULL, in the slots.  We can make this change because
877         value_new_empty() is a singleton that does not need to be
878         released.  Fixes #751502.
880 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
882         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
884 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
886         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
887         (xml_sax_object_end): ensure we always use the right state. [#751217]
889 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
891         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
893 2015-06-20  Morten Welinder  <terra@gnome.org>
895         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
896         overflow.
897         (go_data_cache_records_fetch_index): If resizing failed return
898         NULL early.
900 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
902         * src/parse-util.h (_GnmConventions): add union_char field
903         * src/parser.y (yylex): handle union_char
904         (setup_state): set union_char
906 2015-06-18  Morten Welinder  <terra@gnome.org>
908         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
909         specifying types derived from sheet objects.  Fixes #751126.
910         (xml_sax_hlink): Similarly.
912 2015-06-16  Morten Welinder  <terra@gnome.org>
914         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
915         in names.  Fixes #751056.
917 2015-05-27  Morten Welinder  <terra@gnome.org>
919         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
920         division by zero.  Fixes #749917.
922         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
924 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
926         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
927         comment #3]
929 2015-05-11  Morten Welinder  <terra@gnome.org>
931         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
932         something bad that will happen whenever FALSE equals TRUE.
934         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
935         inline values.
937         * src/cell.c (gnm_cell_set_array): Improve preconditions.
939 2015-05-09  Morten Welinder  <terra@gnome.org>
941         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
943 2015-04-28  Morten Welinder  <terra@gnome.org>
945         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
946         malformed documents.  Fixes #748596.
947         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
948         #748595.
950 2015-04-16  Morten Welinder <terra@gnome.org>
952         * configure.ac: Post-release bump.
954 2015-04-16  Morten Welinder <terra@gnome.org>
956         * Release 1.12.22
958 2015-04-15  Morten Welinder  <terra@gnome.org>
960         * src/ranges.c (gnm_range_compare): New function.
962 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
964         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
965         (see #700599, comment #11).
967 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
969         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
970         sheet object name, try the image name.
972 2015-04-11  Morten Welinder  <terra@gnome.org>
974         * src/sf-dpq.c (qcauchy): Handle cancellation.
976         * src/mathfunc.c (pcauchy): Simplify.
978         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
979         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
981 2015-04-09  Morten Welinder  <terra@gnome.org>
983         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
984         case.
986 2015-04-04  Morten Welinder  <terra@gnome.org>
988         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
989         Fixes #747356.
991         * src/xml-sax-write.c (xml_write_objects): Save only relevant
992         parts of the cell bound.
994         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
995         Initialize parts of cell_bound not used.
997 2015-04-01  Morten Welinder  <terra@gnome.org>
999         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
1000         GNM_XML_2ND here too.
1001         (gnm_sogg_sax_parser_done): Plug leak.
1003 2015-03-30  Morten Welinder  <terra@gnome.org>
1005         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
1006         function.
1008         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
1009         mode.
1011         * src/sstest.c (test_random_randhyperg): Take var=0 case into
1012         account when checking mean.
1014         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
1015         graph here.
1017 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
1019         * src/graph.h: add support for absolute anchoring of sheet objects.
1020         * src/item-grid.c: ditto.
1021         * src/sheet-control-gui.c: ditto.
1022         * src/sheet-filter.c: ditto.
1023         * src/sheet-object-cell-comment.c: ditto.
1024         * src/sheet-object-component.c: ditto.
1025         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
1026         cells by default. [#684450]
1027         * src/sheet-object-image.c: make images don't resize with cells by default.
1028         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
1029         * src/sheet-object.h: ditto.
1030         * src/workbook-view.c: ditto.
1031         * src/xml-sax-read.c: ditto.
1032         * src/xml-sax-write.c: ditto.
1034 2015-03-30  Morten Welinder  <terra@gnome.org>
1036         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1038 2015-03-23  Morten Welinder  <terra@gnome.org>
1040         * src/sstest.c (rand_fractile_test): Plug leak.
1042 2015-03-21  Morten Welinder  <terra@gnome.org>
1044         * src/sstest.c (rand_fractile_test): Add support for
1045         non-continuous distributions.
1047         * src/mathfunc.c (qgeom): Update to current version in R.
1049         * src/gnm-random.c (random_geometric): Don't add one.
1050         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1052 2015-03-20  Morten Welinder  <terra@gnome.org>
1054         * src/sstest.c (test_random_randbinom): New test.
1055         (test_random_randbetween): New test.
1056         (test_random_randexp): New test.
1057         (test_random_randpoisson): New test.
1058         (test_random_randgeom): New test.
1059         (test_random_randnegbinom): New test.
1060         (test_random_randlog): New test.
1061         (test_random_randdiscrete): New test.
1062         (test_random_randgamma): New test.
1063         (test_random_randtdist): New test.
1064         (test_random_randuniform): New test.
1065         (test_random_randfdist): New test.
1066         (test_random_randcauchy): New test.
1067         (test_random_randbeta): New test.
1068         (test_random_randchisq): New test.
1069         (test_random_randhyperg): New test.
1071         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1073 2015-03-19  Morten Welinder  <terra@gnome.org>
1075         * src/func.c (dump_samples): New function to dump all sample in
1076         help documentation to csv format.
1078         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1079         non-positive integer, but neither a nor b is.
1081 2015-03-07  Morten Welinder  <terra@gnome.org>
1083         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1085         * src/sheet-object-widget.c
1086         (sheet_widget_adjustment_write_xml_sax): Use new
1087         go_xml_out_add_double.
1089         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1090         go_xml_out_add_double.
1092 2015-03-05  Morten Welinder  <terra@gnome.org>
1094         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1095         copy_data argument and simply assume it.
1097 2015-03-04  Morten Welinder <terra@gnome.org>
1099         * configure.ac: Post-release bump.
1101 2015-03-04  Morten Welinder <terra@gnome.org>
1103         * Release 1.12.21
1105 2015-03-03  Morten Welinder  <terra@gnome.org>
1107         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1108         version we write and document why we can't easily increase that
1109         version.
1111 2015-03-02  Morten Welinder  <terra@gnome.org>
1113         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1115         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1116         (xml_sax_version): Bring version list up to date.
1118 2015-03-01  Morten Welinder  <terra@gnome.org>
1120         * src/sheet-object-widget.c
1121         (sheet_widget_list_base_set_selection_value): Plug leak.
1123 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1125         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1126         pixbuf stores the image type.
1128 2015-02-28  Morten Welinder  <terra@gnome.org>
1130         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1131         image, not the bytes in addition.
1132         (gnm_soi_class_init): Use property "image" of type GOImage instead
1133         of "image-data" weirdness.
1134         (gnm_soi_draw_cairo): Remove non-functional fallback.
1135         (gnm_soi_default_size): Ditto.
1137 2015-02-27  Morten Welinder  <terra@gnome.org>
1139         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1140         type for image data.  Create image data if needed.
1141         (SheetObjectImage): Use a properly allocated GByteArray.
1143         * src/sheet-object-widget.c
1144         (sheet_widget_adjustment_user_config_impl): Widgets must have
1145         changed names at some point.  Adjust for that.
1147 2015-02-25  Morten Welinder  <terra@gnome.org>
1149         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1150         Also evaluate here.
1151         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1152         contents.
1154 2015-02-23  Morten Welinder  <terra@gnome.org>
1156         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1157         New function.
1159 2015-02-21  Morten Welinder  <terra@gnome.org>
1161         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1162         gboolean, not a double.
1164         * src/sheet-object-widget.c
1165         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1166         fixed, precision.
1167         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1168         new-fangled orientation for scrollbars.
1170 2015-02-20  Morten Welinder  <terra@gnome.org>
1172         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1173         (cb_button_released): Set value to FALSE here(!)
1175 2015-02-18  Morten Welinder  <terra@gnome.org>
1177         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1178         error just because a cell with text format fails to produce an
1179         expression.  That's expected for text format.
1181 2015-02-17  Morten Welinder  <terra@gnome.org>
1183         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1185 2015-02-11  Morten Welinder  <terra@gnome.org>
1187         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1188         writing duplicate style so version 1.2 and earlier can read it.
1190 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1192         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1193         that can't be convered to valid numbers.
1195 2015-02-10  Morten Welinder  <terra@gnome.org>
1197         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1199 2015-02-06  Morten Welinder  <terra@gnome.org>
1201         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1202         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1203         (sheet_widget_radio_button_set_link)
1204         (sheet_widget_list_base_set_links)
1205         (sheet_widget_adjustment_set_details): Only link if we have a
1206         sheet.
1208 2015-02-04  Morten Welinder <terra@gnome.org>
1210         * configure.ac: Post-release bump.
1212 2015-02-04  Morten Welinder <terra@gnome.org>
1214         * Release 1.12.20
1216 2015-01-30  Morten Welinder  <terra@gnome.org>
1218         * src/sheet-object-widget.c
1219         (sheet_widget_adjustment_set_horizontal): Make this public.
1221 2015-01-23  Morten Welinder <terra@gnome.org>
1223         * configure.ac: Post-release bump.
1225 2015-01-23  Morten Welinder <terra@gnome.org>
1227         * Release 1.12.19
1229 2015-01-20  Morten Welinder  <terra@gnome.org>
1231         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1232         See bug #743130.
1234 2015-01-19  Morten Welinder  <terra@gnome.org>
1236         * src/gutils.c (gnm_icon_dir): Remove.
1238         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1239         resources.
1241         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1242         from glib resources.
1244         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1245         Delete.
1247         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1248         otherwise dump them in temporary files in order to load them.
1250         * src/workbook.c (workbook_update_graphs): New function.
1252         * src/workbook-view.c (workbook_view_new_from_input): Update
1253         graphs.
1255 2015-01-14  Morten Welinder  <terra@gnome.org>
1257         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1258         an expresssion, make it a string instead of dropping it on the
1259         floor.
1261 2015-01-13  Morten Welinder  <terra@gnome.org>
1263         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1264         missing shared expression, define a dummy version so we don't get
1265         repeated errors.
1267 2015-01-09  Morten Welinder  <terra@gnome.org>
1269         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1270         sort them later than other values.  This fixes #742601.
1272 2015-01-01  Morten Welinder  <terra@gnome.org>
1274         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1275         names, not stock ids.
1277         * src/gnm-pane.c (update_control_point_colors): Avoid
1278         gtk_style_context_get_background_color.
1279         * src/item-cursor.c (ic_reload_style): Ditto.
1281 2014-12-30  Morten Welinder  <terra@gnome.org>
1283         * src/rendered-value.c (gnm_rendered_value_new):
1284         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1286 2014-12-27  Morten Welinder  <terra@gnome.org>
1288         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1289         unless we really have to.
1291 2014-12-25  Morten Welinder  <terra@gnome.org>
1293         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1294         multihead issue.
1296         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1298         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1300         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1301         icon on sheet direction changes.
1303         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1305 2014-12-24  Morten Welinder  <terra@gnome.org>
1307         * src/wbc-gtk.c (wbcg_show_save_dialog)
1308         (wbcg_close_if_user_permits): Constant propagation.
1310         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1311         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1313 2014-12-22  Morten Welinder  <terra@gnome.org>
1315         * icons/fake-index-theme: we need actions directories too.
1317 2014-12-21  Morten Welinder  <terra@gnome.org>
1319         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1320         handling.
1322 2014-12-20  Morten Welinder  <terra@gnome.org>
1324         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1325         count in delete, such as used from sheet resize.
1327 2014-12-19  Morten Welinder  <terra@gnome.org>
1329         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1330         (before g_setenv is available).
1332 2014-12-16  Morten Welinder  <terra@gnome.org>
1334         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1335         number.
1337         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1338         the delete case.
1340 2014-12-15  Morten Welinder  <terra@gnome.org>
1342         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1343         sheet_style_insert_colrow and handled deletion too.
1345         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1346         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1347         and clean up.
1349         * src/dependent.c (dependent_has_pos, dependent_move): New
1350         functions.
1352 2014-12-14  Morten Welinder  <terra@gnome.org>
1354         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1355         free.
1357 2014-12-11  Morten Welinder  <terra@gnome.org>
1359         * src/dependent.c (style_dep_debug_name): Include position too.
1361         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1362         sheet_row_add.
1363         (colrow_move): Change parameterization slightly.
1365 2014-12-06  Morten Welinder  <terra@gnome.org>
1367         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1368         want them visually gone and g_object_unref does not guarantee
1369         that.
1371         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1372         dependents.  A later step clears and re-applies style completely
1373         for the moved area.  Fixes #741197.
1375         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1376         function.
1378         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1379         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1381         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1382         leak.
1383         (gnm_cmd_context_error_splits_merge): Plug leak.
1385 2014-11-15  Morten Welinder  <terra@gnome.org>
1387         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1388         the wbc is already gone.
1390 2014-11-09  Morten Welinder  <terra@gnome.org>
1392         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1393         data.  Might fix Redhat #1160975.
1395 2014-10-28  Morten Welinder  <terra@gnome.org>
1397         * src/style.c (find_font): Accept NULL font name.
1399 2014-10-27  Morten Welinder  <terra@gnome.org>
1401         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1402         code.
1404 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1406         * src/item-cursor.c (cb_item_cursor_animation): use
1407         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1408         outside of a draw event.
1410 2014-10-26  Morten Welinder  <terra@gnome.org>
1412         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1413         Use throughout.
1414         (GnmValue): Drop type union member.  C99 requires that this be
1415         accessed in a structure.  We have v_any for that.
1417 2014-10-25  Morten Welinder  <terra@gnome.org>
1419         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1420         ought to survive both gcc's aliasing analysis and valgrind's
1421         bitfield problems.
1423 2014-10-24  Morten Welinder  <terra@gnome.org>
1425         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1427 2014-10-21  Morten Welinder  <terra@gnome.org>
1429         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1431 2014-09-25  Morten Welinder <terra@gnome.org>
1433         * configure.ac: Post-release bump.
1435 2014-09-25  Morten Welinder <terra@gnome.org>
1437         * Release 1.12.18
1439 2014-09-25  Morten Welinder  <terra@gnome.org>
1441         * src/sheet-filter.c (gnm_filter_condition_new_single)
1442         (gnm_filter_condition_new_double): Fix preconditions.  See
1443         #735249.
1445 2014-09-23  Morten Welinder  <terra@gnome.org>
1447         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1448         doesn't spew deprecation warnings by default.
1450 2014-09-11  Morten Welinder  <terra@gnome.org>
1452         * src/style.c (gnm_translate_underline_from_pango): Survive
1453         PANGO_UNDERLINE_ERROR.
1455 2014-06-09  Morten Welinder <terra@gnome.org>
1457         * configure.ac: Post-release bump.
1459 2014-06-09  Morten Welinder <terra@gnome.org>
1461         * Release 1.12.17
1463 2014-05-28  Morten Welinder  <terra@gnome.org>
1465         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1466         when we drag the handle into the col/row canvas.
1468         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1470         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1471         handler.  Fixes #730884.
1473 2014-05-27  Morten Welinder  <terra@gnome.org>
1475         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1476         col/row canvas.  Fixes #730857.
1477         (gnm_pane_dispose): Release references.
1479 2014-05-23  Morten Welinder <terra@gnome.org>
1481         * configure.ac: Post-release bump.
1483 2014-05-23  Morten Welinder <terra@gnome.org>
1485         * Release 1.12.16
1487 2014-05-23  Morten Welinder  <terra@gnome.org>
1489         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1490         need better building blocks for commands; this is one such.
1492 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1494         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1495         (cmd_hyperlink_redo): ditto
1496         (cmd_hyperlink_finalize): ditto
1497         (cb_cmd_hyperlink_find_cells): ditto
1499 2014-05-20  Morten Welinder  <terra@gnome.org>
1501         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1503         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1504         outline and fill colours that are auto, even for the 1.0 format.
1506         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1507         conditional format ranges.
1509 2014-05-14  Morten Welinder  <terra@gnome.org>
1511         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1513         * src/gutils.c (gnm_object_has_readable_prop): New function.
1515         * configure.ac (scrollkeeper): Test if we have it.
1517 2014-05-05  Morten Welinder  <terra@gnome.org>
1519         * src/wbc-gtk.c (toolbar_context_menu): Remove
1520         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1521         false for years and is unsupported in gtk+.
1523 2014-04-30  Morten Welinder <terra@gnome.org>
1525         * configure.ac: Post-release bump.
1527 2014-04-30  Morten Welinder <terra@gnome.org>
1529         * Release 1.12.15
1531 2014-04-23  Morten Welinder  <terra@gnome.org>
1533         * src/complete.c (complete_idle): Avoid abort().
1535         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1536         source.
1538 2014-04-22  Morten Welinder  <terra@gnome.org>
1540         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1541         replaced with calls to gnm_color_new_go.
1543         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1545         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1547 2014-04-21  Morten Welinder  <terra@gnome.org>
1549         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1550         only in the hop of fixing #728465.
1552 2014-04-13  Morten Welinder <terra@gnome.org>
1554         * configure.ac: Post-release bump.
1556 2014-04-13  Morten Welinder <terra@gnome.org>
1558         * Release 1.12.14
1560 2014-04-11  Morten Welinder  <terra@gnome.org>
1562         * src/item-bar.c: Get colours when we draw; only get sizing
1563         relevant information at odd times, in particular when parent
1564         widgets may be insensitive, such as during a load-onto-pristine.
1565         Fixes #728007.
1567 2014-04-10  Morten Welinder  <terra@gnome.org>
1569         * src/item-bar.c (ib_reload_style): Add debug code.
1571 2014-04-09  Morten Welinder  <terra@gnome.org>
1573         * src/number-match.c (format_match_datetime): Plug leak on certain
1574         failure cases.
1576 2014-04-02  Morten Welinder  <terra@gnome.org>
1578         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1579         integer test.
1581 2014-03-30  Morten Welinder  <terra@gnome.org>
1583         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1584         list of extra uis.
1586 2014-03-28  Morten Welinder  <terra@gnome.org>
1588         * src/main-application.c (main): Move Ubuntu hack earlier.
1590 2014-03-27  Morten Welinder  <terra@gnome.org>
1592         * src/main-application.c (main): Attempt to banish ubuntu's
1593         overlay scrollbar which don't work.
1595 2014-03-21  Morten Welinder  <terra@gnome.org>
1597         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1598         case insensitve and allow wildcards.
1600         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1601         from fn-string.
1603         * src/style-conditions.c (generate_end_match): Use case
1604         insensitive comparison.  Pull negation into the operator.
1605         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1606         insensitive.
1608 2014-03-18  Morten Welinder  <terra@gnome.org>
1610         * src/gui-util.c (kill_popup_menu): One more try at really killing
1611         the context menu after we're done with it.
1613         * src/item-grid.c (item_grid_realize): Plug leak.
1615 2014-03-18  Morten Welinder <terra@gnome.org>
1617         * configure.ac: Post-release bump.
1619 2014-03-18  Morten Welinder <terra@gnome.org>
1621         * Release 1.12.13
1623 2014-03-18  Morten Welinder  <terra@gnome.org>
1625         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1626         providers from screens on exit.
1628         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1630 2014-03-17  Morten Welinder  <terra@gnome.org>
1632         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1634 2014-03-16  Morten Welinder  <terra@gnome.org>
1636         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1637         formats.  I'm not positive we do things right, but this avoids
1638         criticals, at least.
1640         * src/cell.c (cell_set_expr_internal): Don't change an existing
1641         value.
1643 2014-03-15  Morten Welinder  <terra@gnome.org>
1645         * src/style-border.c (gnm_border_shutdown): New function to help
1646         debug leaks.  Shutdown border_none here.
1648         * src/style-color.c (gnm_color_shutdown): Not here.
1650 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1652         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1653         the tooltip where it will not immediatly be destroyed after creation.
1654         [really fix #706659]
1656 2014-03-14  Morten Welinder  <terra@gnome.org>
1658         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1659         if we don't have any.
1661 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1663         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1665 2014-03-13  Morten Welinder  <terra@gnome.org>
1667         * src/style-conditions.c (gnm_style_cond_eval): New function
1668         extracted from gnm_style_conditions_eval.  Make "equal" case
1669         insensitive.  Fixes #726246.
1671         * src/ssconvert.c (convert): Show resize message only if verbose.
1673 2014-03-12  Morten Welinder  <terra@gnome.org>
1675         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1676         function.
1677         (gnm_style_cond_canonicalize): New function.
1679         * src/ssconvert.c (convert): only print "Using exporter ..." if
1680         --verbose is given, and print it to stderr.
1682 2014-03-11  Morten Welinder  <terra@gnome.org>
1684         * src/sheet.c (cb_set_markup): Don't mess directly with
1685         cell->value.  We need to trigger a re-render.  Fixes #726086.
1687         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1688         for the pre-validation assignment.
1690         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1691         before assigning it to the cell.
1693 2014-03-10  Morten Welinder  <terra@gnome.org>
1695         * gnumeric.xsd: Update valign/halign attributes.  Update print
1696         setup.
1698         * src/sheet-filter.c (gnm_filter_condition_new_single)
1699         (gnm_filter_condition_new_double): Add preconditions.
1701 2014-03-07  Morten Welinder  <terra@gnome.org>
1703         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1705 2014-03-05  Morten Welinder  <terra@gnome.org>
1707         * src/expr.c (gnm_expr_top_is_volatile): New function.
1709         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1710         volatile expressions.
1712         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1713         (dependent_is_volatile): New function.
1715         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1716         Don't set the initial range here.
1718         * src/expr.c (gnm_expr_top_first_funcall)
1719         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1720         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1721         gnm_expr_walk.
1722         (gnm_expr_top_get_boundingbox): Set initial range here.
1724         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1725         Ditto.
1727 2014-03-03  Morten Welinder <terra@gnome.org>
1729         * configure.ac: Post-release bump.
1731 2014-03-03  Morten Welinder <terra@gnome.org>
1733         * Release 1.12.12
1735 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1737         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1739 2014-03-02  Morten Welinder  <terra@gnome.org>
1741         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1742         name-collections.
1743         (wbcg_sheet_order_changed): Mark ui as being updated.
1744         (cb_bnotebook_page_reordered): Ignore during UI update.
1746         * src/expr-name.c (gnm_named_expr_collection_dump)
1747         (gnm_named_expr_collection_sanity_check): New function.
1749         * src/application.c (gnm_app_sanity_check): New function.
1751         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1752         string inside the GOString as a hash key.  It can change.
1753         (gnm_named_expr_collection_foreach): As a consequence of the
1754         above, the first argument to the handler for
1755         gnm_named_expr_collection_foreach changes to something
1756         unspecified.  All callers changed.
1758         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1759         sheet.
1761         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1762         when encountering strangeness.
1764 2014-02-28  Morten Welinder  <terra@gnome.org>
1766         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1767         If row/column canvas is not visible, ignore them.
1768         (scg_gtk_paned_set_position): Don't allow negative position.
1769         Fixes #725375.
1771         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1772         changes.
1774 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1776         * src/item-grid.c (item_grid_draw_region): fix background filling for
1777         rtl sheets. [#725276]
1779 2014-02-25  Morten Welinder  <terra@gnome.org>
1781         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1782         (gnumeric_create_popup_menu): Drop return value from handler.
1784         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1785         are cell comments by position.
1787 2014-02-24  Morten Welinder  <terra@gnome.org>
1789         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1791         * src/colrow.c (colrow_equal): Don't use floating-point equality
1792         here.  Allow a difference of 1e-5 pt for size.
1794 2014-02-23  Morten Welinder  <terra@gnome.org>
1796         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1797         fill in the new areas with most common styles for the rows to the
1798         left of the new columns or the columns above the new area.
1800 2014-02-19  Morten Welinder  <terra@gnome.org>
1802         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1803         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1805         * src/mathfunc.c (gnm_log2): New function.
1807 2014-02-18  Morten Welinder  <terra@gnome.org>
1809         * src/ssdiff.c (xml_style_changed): Report differences for
1810         auto-color settings.
1812 2014-02-17  Morten Welinder  <terra@gnome.org>
1814         * src/ssconvert.c (convert): Add --resize option.
1816 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1818         * src/item-grid.c (item_grid_realize): fix persistence of
1819         hyperlink tips. [see #724108]
1821 2014-02-16  Morten Welinder <terra@gnome.org>
1823         * configure.ac: Post-release bump.
1825 2014-02-16  Morten Welinder <terra@gnome.org>
1827         * Release 1.12.11
1829 2014-02-16  Morten Welinder  <terra@gnome.org>
1831         * src/func.c (function_dump_defs): Update boilerplate.
1833 2014-02-11  Morten Welinder <terra@gnome.org>
1835         * configure.ac: Post-release bump.
1837 2014-02-11  Morten Welinder <terra@gnome.org>
1839         * Release 1.12.10
1841 2014-02-07  Morten Welinder  <terra@gnome.org>
1843         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1844         entry on top of merged cells.  Fixes #723600.
1846 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1848         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1849         a better fix to previous issue.
1851 2014-01-30  Morten Welinder  <terra@gnome.org>
1853         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1854         toolbar icons.
1856         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1857         smoother (when not using the fallback).  Avoid using hard light
1858         for ant-ing -- that doesn't work for the same reason as alpha not
1859         working.  Always use phase=0 for non-ant stipples.
1860         (GnmItemCursor): Use the canvas item's visibility flag instead of
1861         rolling our own.
1863 2014-01-29  Morten Welinder  <terra@gnome.org>
1865         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1867         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1868         check for bad clipping somewhere in gtk+ or theme land.
1870 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1872         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1873         component reference to the workbook.
1875 2014-01-27  Morten Welinder  <terra@gnome.org>
1877         * src/func.c (function_dump_defs): Undo wiki change.
1879 2014-01-21  Morten Welinder  <terra@gnome.org>
1881         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1882         the amount of work we do for ant-ing.  Fixes #381011, patch from
1883         Jean.
1884         (ic_reload_style): Ignore alpha component of ant colours.
1886 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1888         * src/graph.c (gnm_go_data_vector_load_len),
1889         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1890         [#722294]
1892 2014-01-16  Morten Welinder  <terra@gnome.org>
1894         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1895         cb_darken_foreground_attributes and change to take non-white
1896         background into account.
1898 2014-01-12  Morten Welinder  <terra@gnome.org>
1900         * src/mathfunc.c (expmx2h): Split out from dnorm.
1901         (dhyper): Round the chosen "p" to float to improve accuracy of
1902         "q".
1904 2014-01-11  Morten Welinder  <terra@gnome.org>
1906         * src/mathfunc.c (pow1p): Improve accuracy.
1907         (R_D_nonint): Fix rounding problem.
1908         (ebd0): New extended version of bd0.
1909         (dpois_raw, dbinom_raw): Use ebd0.
1910         (dbinom_raw): Handle x==n and x==0 much better.
1912 2014-01-08  Morten Welinder  <terra@gnome.org>
1914         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1915         g_mkdtemp_full.
1917         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1919         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1920         return the WorkbookView instead of a boolean.
1922 2014-01-01  Morten Welinder  <terra@gnome.org>
1924         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1926 2013-12-31  Morten Welinder  <terra@gnome.org>
1928         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1929         mathfunc.c
1931 2013-12-30  Morten Welinder  <terra@gnome.org>
1933         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1934         (bd0): Reimplement.
1935         (dpois_raw): Avoid going through logs, if possible.
1937 2013-12-25  Morten Welinder  <terra@gnome.org>
1939         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1940         we return FALSE so we don't try to remove the source later.
1942 2013-12-22  Morten Welinder  <terra@gnome.org>
1944         * src/gui-util.c (gnm_widget_measure_string): New function
1945         allowing the elimination of all gtk_style_context_get_font calls.
1947 2013-12-19  Morten Welinder  <terra@gnome.org>
1949         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1950         especially when |x|<<1.  Ditto for x<-1.
1952 2013-12-17  Morten Welinder  <terra@gnome.org>
1954         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1955         multiplication.
1957 2013-12-14  Morten Welinder  <terra@gnome.org>
1959         * src/sf-gamma.c (complex_igamma): New function.
1961 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
1963         * */*.c: Fix some leaks and null dereferences pointed out by
1964         cppcheck.
1966 2013-12-12  Morten Welinder  <terra@gnome.org>
1968         * src/parser.y (array_row): Avoid overrunning string when multiple
1969         missing closing parentheses are detected.  Fixes #720353.
1971 2013-12-11  Morten Welinder  <terra@gnome.org>
1973         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1974         gdk_event_get_screen, not from ->screen.  This might fix #720182.
1976         * src/*.c: Use accessor function for GdkEvent when convenient.
1978 2013-12-07  Morten Welinder  <terra@gnome.org>
1980         * src/application.c (gnm_app_init): Don't allocate a
1981         GtkRecentManager if we are not in gui mode.
1983         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1984         behaviour.
1985         * src/dependent.c (deprange_hash): Ditto.
1987 2013-12-04  Morten Welinder  <terra@gnome.org>
1989         * src/sf-gamma.c (gamma_error_factor): Add extra term.
1991 2013-12-07  Morten Welinder  <terra@gnome.org>
1993         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1994         of the argument for [-1.5;-0.5].
1996         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1997         Re z < 1/2.  Avoid some overflow.
1999 2013-12-02  Morten Welinder  <terra@gnome.org>
2001         * src/sf-bessel.c (bessel_y): Use the J series when possible.
2003 2013-12-07  Morten Welinder  <terra@gnome.org>
2005         * src/sf-bessel.c (bessel_j): Use the taylor series in the
2006         parameter range where that makes sense.
2008         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
2009         (gnm_beta): Ditto.
2011 2013-11-30  Morten Welinder  <terra@gnome.org>
2013         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
2014         negative values.
2016 2013-11-28  Morten Welinder <terra@gnome.org>
2018         * configure.ac: Post-release bump.
2020 2013-11-28  Morten Welinder <terra@gnome.org>
2022         * Release 1.12.9
2024 2013-11-25  Morten Welinder  <terra@gnome.org>
2026         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
2027         mathfunc.c
2029 2013-11-19  Morten Welinder  <terra@gnome.org>
2031         * src/print.c (print_page): Fix check for missing object.  Fixes
2032         #712662.
2034 2013-11-18  Morten Welinder  <terra@gnome.org>
2036         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2038 2013-11-15  Morten Welinder  <terra@gnome.org>
2040         * src/mathfunc.c (reduce_pi_half): New function.
2042 2013-11-14  Morten Welinder  <terra@gnome.org>
2044         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2045         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2047 2013-11-13  Morten Welinder  <terra@gnome.org>
2049         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2051 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2053         * src/sheet-object.c (sheet_object_view_button2_pressed),
2054         (sheet_object_view_class_init): implement double click for graph sheets.
2055         [#712216]
2057 2013-11-12  Morten Welinder  <terra@gnome.org>
2059         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2060         emission.
2061         (cb_bnotebook_page_reordered): New function.
2062         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2064         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2066 2013-11-06  Morten Welinder  <terra@gnome.org>
2068         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2070 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2072         * src/workbook-view.c: add more introspection related comments.
2073         * src/workbook.c: ditto.
2075 2013-11-03  Morten Welinder  <terra@gnome.org>
2077         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2078         sin/cos before scaling by pi.
2080 2013-11-01  Morten Welinder  <terra@gnome.org>
2082         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2083         (gnm_gamma): Protect against unnecessary overflow at top of range.
2085 2013-10-31  Morten Welinder  <terra@gnome.org>
2087         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2088         avoids accuracy problems since any cdf is completely flat in terms
2089         of floating point values when going sufficiently far into the
2090         tail.
2091         (qtukey): Ditto.
2092         (qbeta): Ditto.
2093         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2094         (permut): Route this into pochhammer.
2095         (qfact): New function.  Tabulate 0! through 50000! using quad
2096         precision arithmetic.
2097         (combin, fact, pochhammer): Improve accuracy using qfact.
2099 2013-10-22  Morten Welinder  <terra@gnome.org>
2101         * src/func.c (function_call_with_exprs): Move flags argument into
2102         structure.
2104 2013-10-19  Morten Welinder  <terra@gnome.org>
2106         * src/hlink.c (_gnm_hlink_init): New function.
2107         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2109 2013-10-07  Morten Welinder <terra@gnome.org>
2111         * configure.ac: Post-release bump.
2113 2013-10-07  Morten Welinder <terra@gnome.org>
2115         * Release 1.12.8
2117 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2119         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2121 2013-10-03  Morten Welinder  <terra@gnome.org>
2123         * src/item-cursor.c (item_cursor_draw): Drop expose area
2124         optimization that may not be correct with current gtk.  See bug
2125         #709320.
2127 2013-09-29  Morten Welinder  <terra@gnome.org>
2129         * src/main-application.c: Include <io.h> for win32.
2131         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2133 2013-09-25  Morten Welinder  <terra@gnome.org>
2135         * src/gnumeric.css: Use lighter green for function marker.
2137 2013-09-01  Morten Welinder <terra@gnome.org>
2139         * configure.ac: Post-release bump.
2141 2013-09-01  Morten Welinder <terra@gnome.org>
2143         * Release 1.12.7
2145 2013-08-29  Morten Welinder  <terra@gnome.org>
2147         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2148         Fixes #707047.
2150 2013-08-28  Morten Welinder  <terra@gnome.org>
2152         * src/mathfunc.c (gnm_gamma): Improve precision for large
2153         arguments.
2154         (gnm_yn): Not needed anymore.
2155         (bessel_i): Don't mark error strings for translation.
2157 2013-08-27  Morten Welinder <terra@gnome.org>
2159         * configure.ac: Post-release bump.
2161 2013-08-27  Morten Welinder <terra@gnome.org>
2163         * Release 1.12.6
2165 2013-08-26  Morten Welinder  <terra@gnome.org>
2167         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2168         (internal_style_list): Add fast pre-optimization to bring down the
2169         number of entries before we start messing with hashes.  Fixes
2170         #699045.
2172 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2174         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2175         GraphDimEditor::changed. See bug 706591 comment #2.
2177 2013-08-19  Morten Welinder <terra@gnome.org>
2179         * configure.ac: Post-release bump.
2181 2013-08-19  Morten Welinder <terra@gnome.org>
2183         * Release 1.12.5
2185 2013-08-15  Morten Welinder  <terra@gnome.org>
2187         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2188         Fixes #706095.
2190         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2191         parameters.  See bug 705913, comment 6.
2193 2013-08-13  Morten Welinder  <terra@gnome.org>
2195         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2197 2013-08-12  Morten Welinder  <terra@gnome.org>
2199         * src/sheet-object-widget.c (sow_create_widget): New function.
2200         Add sheet-object class to widgets.
2202 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2204         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2205         initial colour
2206         (sheet_widget_button_draw_cairo): also scale line thickness
2207         (sheet_widget_checkbox_draw_cairo): scale button size
2208         (sheet_widget_radio_button_draw_cairo): scale button size
2210 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2212         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2213         argument and change all callers
2215 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2217         * src/sheet-object-widget.c (get_font): add fall-backs
2219 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2221         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2222         draw_cairo_text.
2223         (draw_cairo_text): add h-vcenter argument and change all callers
2225 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2227         * src/sheet-object-widget.c (cb_range_destroyed),
2228         (sheet_widget_scrollbar_create_widget),
2229         (sheet_widget_spinbutton_create_widget),
2230         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2231         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2233 2013-08-09  Morten Welinder  <terra@gnome.org>
2235         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2236         get_font.
2237         (get_font): New function extracted from draw_cairo_text.
2239 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2241         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2242         if possible
2244 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2246         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2247         allow multi-paragraph with a highlighted line. Change all callers
2248         (sheet_widget_list_draw_cairo): use draw_cairo_text
2250 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2252         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2253         cairo version for Gnuemric too.
2254         (sheet_widget_button_draw_cairo): ditto
2255         (sheet_widget_scrollbar_draw_cairo): ditto
2256         (sheet_widget_spinbutton_draw_cairo): ditto
2257         (sheet_widget_slider_draw_cairo): ditto
2258         (sheet_widget_checkbox_draw_cairo): ditto
2259         (sheet_widget_radio_button_draw_cairo): ditto
2260         (sheet_widget_list_draw_cairo): ditto
2261         (sheet_widget_combo_draw_cairo): ditto
2263 2013-08-08  Morten Welinder  <terra@gnome.org>
2265         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2266         Reduce crazy relative offsets.
2268 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2270         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2271         change all callers
2272         (sheet_widget_frame_draw_cairo): new
2273         (sheet_widget_button_draw_cairo): new
2274         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2275         (sheet_widget_scrollbar_vertical_draw_cairo): new
2276         (sheet_widget_scrollbar_class_init): connect the above
2277         (sheet_widget_spinbutton_draw_cairo): new
2278         (sheet_widget_spinbutton_class_init): connect the above
2279         (sheet_widget_slider_horizontal_draw_cairo): new
2280         (sheet_widget_slider_vertical_draw_cairo): new
2281         (sheet_widget_slider_draw_cairo): new
2282         (sheet_widget_slider_class_init): connect the above
2283         (sheet_widget_list_draw_cairo): new
2284         (sheet_widget_list_class_init): connect the above
2285         (sheet_widget_combo_draw_cairo): new
2286         (sheet_widget_combo_class_init): connect the above
2288 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2290         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2291         change all uses of this macro
2292         (draw_cairo_text): new
2293         (sheet_widget_checkbox_draw_cairo): new
2294         (sheet_widget_radio_button_draw_cairo): new
2296 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2298         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2299         gtk_offscreen_window_new without a default screen (see bugs #705638
2300         and #705640)
2302 2013-08-07  Morten Welinder  <terra@gnome.org>
2304         * src/ssconvert.c (main): Initialize gtk+ without opening any
2305         display.
2307 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2309         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2311 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2313         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2314         * src/sheet-control-gui.c (scg_init): init new fields
2315         (scg_im_destroy): new
2316         (scg_finalize): call scg_im_destroy
2317         (cb_cell_im_timer): new
2318         (scg_find_pane): new
2319         (scg_show_im_tooltip): new
2320         (scg_class_init): init new field
2321         * src/sheet-control-priv.h: add field
2322         * src/sheet-control.c: add virtual
2323         * src/sheet-control.h: add virtual
2324         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2325         (sv_update): call sheet_view_edit_pos_tool_tips
2326         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2327         in pixels
2328         (sheet_row_get_distance_pixels): new
2329         * src/sheet.h (sheet_row_get_distance_pixels): new
2331 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2333         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2334         nodes in guppi graphs. [Debian #718594]
2336 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2338         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2339         'default'
2341 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2343         * src/sheet-control-gui.c (context_menu_handler): add argument to
2344         dialog_cell_format call
2345         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2346         dialog_cell_format call
2347         (cb_data_validate): ditto
2349 2013-07-30  Morten Welinder  <terra@gnome.org>
2351         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2352         colour.  Fixes rest of #705031.
2354 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2356         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2358 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2359         for Dmitry Smirnov
2360         * gnumeric.desktop.in: add ODS files
2362 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2364         * src/graph.c (gnm_go_data_vector_load_values): really load all
2365         values for multiple ranges.
2367 2013-07-19  Morten Welinder  <terra@gnome.org>
2369         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2370         check: the enum has a hole in the middle.  Fixes #704562.
2372 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2374         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2375         printing.
2376         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2378 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2380         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2381         (gnm_so_path_set_property): ditto
2382         (gnm_so_path_get_property): ditto
2384 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2386         * src/gnm-so-path.c (so_path_view_set_bounds),
2387         (cb_gnm_so_path_changed): a better fix for the text position.
2389 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2391         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2392         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2393         * src/gnm-so-path.c (so_path_view_set_bounds),
2394         (cb_gnm_so_path_changed): fix text wrap in paths too.
2396 2013-07-16  Morten Welinder  <terra@gnome.org>
2398         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2399         computing range size.  Fixes #704325.
2401 2013-07-15  Morten Welinder  <terra@gnome.org>
2403         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2404         that.  Fixes #704004.
2406         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2408         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2409         against oversize range.
2411 2013-07-12  Morten Welinder  <terra@gnome.org>
2413         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2414         sure it falls within the sheet.
2415         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2416         parts are on different sheets.  Fixes #704109.
2418 2013-07-10  Morten Welinder <terra@gnome.org>
2420         * configure.ac: Post-release bump.
2422 2013-07-10  Morten Welinder <terra@gnome.org>
2424         * Release 1.12.4
2426 2013-07-10  Morten Welinder  <terra@gnome.org>
2428         * src/value.c (parse_criteria): Patterns should anchor at the end
2429         (#703770) and be case insensitive (no bug#).
2431 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2433         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2434         to create an image of unknown type
2436 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2438         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2439         signage
2440         (cb_assign_val): quieten warning about signed/unsigned comparison
2442 2013-07-03  Morten Welinder  <terra@gnome.org>
2444         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2445         crazy-large ranges.
2446         (cb_assign_val): Ditto.
2448 2013-07-02  Morten Welinder  <terra@gnome.org>
2450         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2451         (cb_style_list_add_node): Ditto.
2452         (verify_hashes): Ditto.
2453         (internal_style_list): Ditto.
2455         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2456         deck chairs.
2458 2013-07-01  Morten Welinder  <terra@gnome.org>
2460         * configure.ac (long double): Crude use -lm for long double
2461         function checks.  Fixes #703397.
2463 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2465         * src/expr.c (gnm_expr_list_copy): new
2466         * src/expr.h (gnm_expr_list_copy): new
2468 2013-06-26  Morten Welinder  <terra@gnome.org>
2470         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2471         of ->op before using it.  Fixes #703143.
2473 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2475         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2476         [#703052]
2477         (gnm_so_path_copy): fixed copy with multiple paths.
2479 2013-06-25  Morten Welinder <terra@gnome.org>
2481         * configure.ac: Post-release bump.
2483 2013-06-25  Morten Welinder <terra@gnome.org>
2485         * Release 1.12.3
2487 2013-06-24  Morten Welinder  <terra@gnome.org>
2489         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2490         sheet.  Fixes #703006.
2492 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2494         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2495         without sheet
2497 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2499         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2500         a valid pattern. [#702833]
2501         * src/pattern.c (gnumeric_background_set): ditto.
2503 2013-06-21  Morten Welinder  <terra@gnome.org>
2505         * src/item-grid.c (item_grid_draw_region): Plug leak.
2507         * src/item-bar.c (ib_reload_style): Plug leak.
2509 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2511         * src/wbc-gtk.c (show_gui): protect against excessively large
2512         preferred widow sizes
2514 2013-06-14  Morten Welinder  <terra@gnome.org>
2516         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2518         * src/workbook.c (workbook_sheet_delete): Debug.
2519         (workbook_dispose): Also clear style here.  Styles can have
2520         dependents now.  Fixes #702218.
2522 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2524         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2526 2013-06-12  Morten Welinder  <terra@gnome.org>
2528         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2529         Fixes #702101.
2531 2013-06-04  Morten Welinder  <terra@gnome.org>
2533         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2535 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2537         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2538         (scg_comment_display): adjust background and fontcolor if necessary
2540 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2542         * src/item-grid.c (cb_cursor_come_to_rest):
2543         gnumeric_position_tooltip needs the tooltip size, so load the text
2544         before calling it.
2546 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2548         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2549         with button 2
2551 2013-05-27  Morten Welinder  <terra@gnome.org>
2553         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2554         and we aren't very good at it.
2556 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2558         * component/Gnumeric-embed.xml.in: add accelerator
2559         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2560         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2561         (EditGotoCellIndicator): new
2562         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2563         (wbcg_focus_current_cell_indicator): new
2564         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2566 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2568         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2569         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2570         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2571         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2573 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2575         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2576         behave the same as far as cell selection is concerned. This fixes
2577         bug #700792
2578         (item_grid_button_released): ditto
2580 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2582         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2583         to include hidden cells
2584         (cb_sheet_get_extent): handle hidden cells setting
2585         (sheet_get_printarea): do not include hidden cells
2586         * src/sheet.h (sheet_get_extent): add argument and change all
2587         callers
2589 2013-05-26  Morten Welinder  <terra@gnome.org>
2591         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2592         Termiate when contributions vanish.
2594 2013-05-24  Morten Welinder  <terra@gnome.org>
2596         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2597         the outer integral.
2598         (pfuncinverter): Handle lack of dfunc (poorly).
2600 2013-05-23  Morten Welinder  <terra@gnome.org>
2602         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2603         interval out from out from R_ptukey.
2604         (R_ptukey): Split the interval nearest 0 into a sequence of
2605         intervals over which the integrand looks a lot more like a
2606         polynomial.  This fixes accuracy problems for low degrees of
2607         freedom.
2609         * src/sheet-style.c (internal_style_list): Fix critical.
2611 2013-05-22  Morten Welinder  <terra@gnome.org>
2613         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2615 2013-05-21  Morten Welinder  <terra@gnome.org>
2617         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2619 2013-05-19  Morten Welinder  <terra@gnome.org>
2621         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2622         boundaries.
2623         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2625 2013-05-18  Morten Welinder  <terra@gnome.org>
2627         * src/mathfunc.c (pnorm2): New function.
2628         (R_ptukey): New function imported from R with local improvements.
2630 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2632         * src/print.c (gnm_create_widget_cb): by default observe
2633         manual page breaks
2635 2013-05-14  Morten Welinder  <terra@gnome.org>
2637         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2638         (gnm_range_geometric_mean): Handle two FIXMEs.
2640 2013-05-13  Morten Welinder  <terra@gnome.org>
2642         * src/*.c: Mark gobject property strings as P_(...).
2644 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2646         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2648 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2650         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2651         rather than gnm_cell_assign_value
2653 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2655         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2656         first column
2658 2013-05-05  Morten Welinder  <terra@gnome.org>
2660         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2661         rendered value here.  Fixes #699647.
2663 2013-05-03  Morten Welinder  <terra@gnome.org>
2665         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2666         accelerator for redo.  Fixes #699579.
2667         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2668         focusable.
2670         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2672 2013-05-01  Morten Welinder  <terra@gnome.org>
2674         * src/print-info.c: Add gsf includes to make things work with
2675         libgsf 1.14.24.  Redhat #957851.
2677 2013-04-29  Morten Welinder  <terra@gnome.org>
2679         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2680         cells.
2682 2013-04-26  Morten Welinder <terra@gnome.org>
2684         * configure.ac: Post-release bump.
2686 2013-04-26  Morten Welinder <terra@gnome.org>
2688         * Release 1.12.2
2690 2013-04-26  Morten Welinder  <terra@gnome.org>
2692         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2693         row/column items the default.
2695 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2697         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2699 2013-04-24  Morten Welinder  <terra@gnome.org>
2701         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2702         widget parameter.  All callers changed.
2704         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2705         delayedMovement.timer.
2707         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2708         animation_cursor.
2710         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2711         windows_update_timer.
2713         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2714         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2715         valid tag.
2717         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2718         sliding).
2720 2013-04-23  Morten Welinder  <terra@gnome.org>
2722         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2724         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2725         critical.  Fixes #698680.
2727         * src/gui-file.c (gui_file_save_as): For export, change extension.
2728         Fixes #698636.
2730 2013-04-22  Morten Welinder  <terra@gnome.org>
2732         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2733         Somehow fixes #625687.
2735 2013-04-20  Morten Welinder  <terra@gnome.org>
2737         * src/go-data-slicer-field.c
2738         (go_data_slicer_field_set_field_type_pos): Add precondition for
2739         slicer.
2741 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2743         * src/print-info.c (render_title): new
2745 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2747         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2748         cells.
2749         (sheet_range_set_text): ditto
2751 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2753         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2754         than padding.
2756 2013-04-22  Morten Welinder  <terra@gnome.org>
2758         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2760 2013-04-19  Morten Welinder  <terra@gnome.org>
2762         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2763         view approach.  Fixes #689283.
2765         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2766         mode.
2767         (wbc_gtk_init_color_fore): Ditto.
2768         (wbc_gtk_init_color_back): Ditto.
2770 2013-04-17  Morten Welinder  <terra@gnome.org>
2772         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2773         button.
2775         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2776         font_name_haction.
2778         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2779         only for horizontal toolbars.
2781         * src/gui-file.c (file_saver_format_changed_cb): New function to
2782         change the extension when the format is changed.
2783         (gui_file_save_as): Don't try to hide the extension -- it
2784         interferes with the file chooser's completion.  Fixes #695839.
2786 2013-04-16  Morten Welinder  <terra@gnome.org>
2788         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2789         menu for graph sheets.  Fixes #685446.
2790         (sheet_menu_label_run): Disable resize for graph sheets.
2792         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2793         #661800.
2794         (parse_criteria): Handle criteria "=" and "<>" (with no value
2795         after the operator) special.  These test for empty and non-empty
2796         values.  Fixes #686156.
2798         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2799         "anchor_start" and "anchor_end".  All callers changed.
2801 2013-04-15  Morten Welinder  <terra@gnome.org>
2803         * src/application.c (add_icon): Plug leak.
2805         * src/number-match.c (format_match_decimal_number): Try also major
2806         non-locale currencies.  Fixes #577768.
2808 2013-04-13  Morten Welinder  <terra@gnome.org>
2810         * src/mathfunc.c (pochhammer): Improve precision a bit.
2811         (binomialcf): Lower cfSmall by 10^3.  This helps
2812         pbeta(0.9,10,0.5).
2814         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2815         doesn't prevent multiple versions from co-existing.
2817         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2818         dirty.  Callers already appear to handle this when needed
2819         and not when not wanted.  Fixes #697927.
2821 2013-04-12  Morten Welinder  <terra@gnome.org>
2823         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2824         #697850.
2825         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2826         reported to R).
2827         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2829 2013-04-11  Morten Welinder  <terra@gnome.org>
2831         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2832         reference with invalid_sheet.  Fixes #683494.
2834         * src/complex.c (complex_to_string): Drop format arguments.  All
2835         callers changed.  Make up a format with enough precision for round
2836         tripping.  Fixes #697634.
2838 2013-04-09  Morten Welinder  <terra@gnome.org>
2840         * src/complex.c (complex_from_string): Make this handle embedded
2841         spaces systematically.
2842         (is_unit_imaginary): Delete.
2844 2013-04-09  Morten Welinder  <terra@gnome.org>
2846         * src/complex.c (complex_pow): Use Goffice's copy.
2848 2013-04-05  Morten Welinder  <terra@gnome.org>
2850         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2851         new screens.  Add hack for pre-GTK 3.4.
2853         * src/mathfunc.c (gnm_owent): New function.
2855 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2857         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2858         functions used as vectors. [697281]
2860 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2862         * src/graph.c (gnm_go_data_vector_load_values),
2863         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2864         arrays. [697107]
2866 2013-04-03  Morten Welinder  <terra@gnome.org>
2868         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2869         attributes of the tab.
2871         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2872         GnmNotebookButton, not an EditableLabel.
2874 2013-04-02  Morten Welinder  <terra@gnome.org>
2876         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2877         widget.
2878         (cb_wbcg_drag_leave): Ditto.
2880 2013-03-27  Morten Welinder  <terra@gnome.org>
2882         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2883         key we look up.  When did that change?
2885 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2887         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2888         remove the frame.
2890 2013-03-26  Morten Welinder  <terra@gnome.org>
2892         * src/item-edit.c: Theme the in-cell edit background color.
2894         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2895         into here.
2896         src/gui-gnumeric.h: Remove.
2898         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2899         non-NULL if there is a selection.
2900         (gnumeric_background_set_gtk): Delete.  Make callers use
2901         gnumeric_background_set.
2903         * src/preview-grid.c (preview_grid_draw_background): Always
2904         provide a context to gnumeric_background_set.
2905         * src/item-edit.c (item_edit_draw): Ditto.
2907         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2908         separate the different cursor types.  Separate autofill colouring
2909         from drag ditto.
2911 2013-03-25  Morten Welinder  <terra@gnome.org>
2913         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2914         color to GOColor.
2915         (ic_reload_style): Theme some of the cursor colors.
2917         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2918         not colour name.
2920         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2922         * src/gnumeric.css: use deprecated px-free syntax for padding, so
2923         gtk+ 3.2 can deal with it.
2925         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2926         can suppress deprecations.
2928         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2929         the "all" button.
2931         * src/item-bar.c (ib_reload_style): Load fonts from style.
2933 2013-03-24  Morten Welinder  <terra@gnome.org>
2935         * src/item-grid.c (item_grid_draw_region): Draw the background at
2936         the right coordinates!
2938 2013-03-23  Morten Welinder  <terra@gnome.org>
2940         * src/item-bar.c (ib_draw_cell): There's no point in going to and
2941         from GOColor here.  Just use the color as-is.
2943 2013-03-19  Morten Welinder  <terra@gnome.org>
2945         * src/application.c (install_icons): Install also the icon themed
2946         icons.  No idea why we have both.
2948         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2950         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2951         (embedded_imgs): Add the rest from pixmaps.
2953         * configure.ac: No longer create src/pixmaps/Makefile
2955         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2956         these work for resources and absolute paths.
2958 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2960         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2961         not sizeable objects bounds after dragging when zoom is not 100%.
2963 2013-03-18  Morten Welinder  <terra@gnome.org>
2965         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2966         filter.  It takes just long enough to be irritating.
2968 2013-03-17  Morten Welinder  <terra@gnome.org>
2970         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2971         style since we're not picking it explicitly.
2972         (cb_font_filter): Fix leak.
2974 2013-03-14  Morten Welinder  <terra@gnome.org>
2976         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2977         ignore non-scalable fonts.
2979 2013-03-11  Morten Welinder  <terra@gnome.org>
2981         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2983 2013-03-10  Morten Welinder  <terra@gnome.org>
2985         * src/ssconvert.c (list_them): Skip savers/openers that require
2986         interaction.  (We don't have any yet.)
2988         * src/stf.c (stf_read_workbook): Set error when we fail due to
2989         lack of GUI.
2990         (stf_init): Mark the configurable saver/opener as interactive.
2992         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
2994 2013-03-09  Morten Welinder <terra@gnome.org>
2996         * configure.ac: Post-release bump.
2998 2013-03-09  Morten Welinder <terra@gnome.org>
3000         * Release 1.12.1
3002 2013-03-06  Morten Welinder  <terra@gnome.org>
3004         * src/wbc-gtk.c (list_actions): Handle a null group.
3006 2013-03-03  Morten Welinder  <terra@gnome.org>
3008         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
3009         g_thread_init if compiled with later than glib 2.32.0.
3011 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
3013         * src/gnm-pane-impl.h: remove alignments.
3014         * src/gnm-pane.c (gnm_pane_header_init): dittO;
3015         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
3016         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
3017         * src/sheet-control-gui-priv.h: remove all tables by one grid.
3018         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
3019         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
3020         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
3021         (scg_mode_edit): ditto.
3022         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
3023         (cb_sheet_visibility_change), (wbcg_sheet_add),
3024         (wbcg_sheet_remove), (wbcg_sheet_focus),
3025         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
3026         (wbcg_get_nth_scg): ditto.
3028 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3030         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3031         * src/print.c (gnm_create_widget_cb): ditto.
3032         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3034 2013-03-01  Morten Welinder  <terra@gnome.org>
3036         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3037         first argument, not "x".
3039 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3041         reviewed by: <delete if not using a buddy>
3043         * INSTALL:
3044         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3045         (sheet_widget_adjustment_user_config_impl),
3046         (sheet_widget_checkbox_user_config),
3047         (sheet_widget_radio_button_user_config):
3048         * src/wbc-gtk.c (wbc_gtk_init):
3050 2013-02-28  Morten Welinder  <terra@gnome.org>
3052         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3053         development versions.  We now get the information through gcc
3054         warnings.
3055         (solver): Make solver code unconditional.  Feel free to not
3056         distribute the relevant plugins.
3058 2013-02-26  Morten Welinder  <terra@gnome.org>
3060         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3062 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3064         * src/number-match.c: more introspection warnings.
3066 2013-02-23  Morten Welinder  <terra@gnome.org>
3068         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3070 2013-02-21  Morten Welinder  <terra@gnome.org>
3072         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3073         GHFunc.  All callers changed.  Impose a robust ordering.
3074         (sh_all_styles): New function replacing sh_foreach.
3076 2013-02-20  Morten Welinder  <terra@gnome.org>
3078         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3080 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3082         * configure.ac: make configure --with-python fail when some
3083         dependency is missing.
3085 2013-02-17  Morten Welinder  <terra@gnome.org>
3087         * configure.ac (set_more_warnings): Improve support for clang.
3089 2013-02-16  Morten Welinder  <terra@gnome.org>
3091         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3092         (Most cases a matter of 0 vs. 0.)
3094 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3096         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3097         default value for stf export format.
3098         * src/dependent.c: fix introspection warnings.
3099         * src/sheet-style.c: ditto.
3101 2013-02-15  Morten Welinder  <terra@gnome.org>
3103         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3104         3.2.0 just like goffice.
3106         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3107         requiring gtk 3.2
3109 2013-02-14  Morten Welinder  <terra@gnome.org>
3111         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3112         not MAXDOUBLE.  Fixes #693761.
3114 2013-02-10  Morten Welinder  <terra@gnome.org>
3116         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3117         doesn't belong here.  We handle everything in rstyle_apply.
3119 2013-02-08  Morten Welinder  <terra@gnome.org>
3121         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3122         link/unlink style dependents.  All callers changed.
3123         (sheet_style_shutdown): Set default style for whole sheet to
3124         ensure style dependents get cleared.
3126 2013-02-07  Morten Welinder  <terra@gnome.org>
3128         * src/sheet-style.c (cell_tile_optimize): Implement
3129         ptr-matrix-to-matrix optimization and use it to simplify things.
3131         * src/dependent.c (GnmStyleDependent): New type of dependent.
3132         When triggered, the cells in which it resised will be rerendered
3133         and redrawn.
3135         * src/mstyle.c (gnm_style_link_dependents)
3136         (gnm_style_unlink_dependents): New functions to manage style
3137         dependents due to conditional formatting.
3139 2013-02-06  Morten Welinder  <terra@gnome.org>
3141         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3142         inside-out in anticipation of future changes.
3144         (col_indicies, row_indicies): Alignment of the corners of apply_to
3145         is only relevant if we are within the tile.
3147 2013-02-06  Morten Welinder  <terra@gnome.org>
3149         * src/sheet-style.c (tile_is_uniform): Extract from
3150         cell_tile_optimize.
3151         (vector_apply_pstyle): Don't return a value.
3152         (cell_tile_apply): Use tile_is_uniform.
3154 2013-02-05  Morten Welinder  <terra@gnome.org>
3156         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3157         instead of crazy "goto".
3158         (cell_tile_apply): Simplify the covers-whole-tile case.
3160         * src/sheet.h (Sheet): Remove max_width and max_height members.
3161         All users fixed.
3163         * src/dependent.h (GnmDependentClass): Add pos handler.
3165         * src/dependent.c (dependent_pos): Use pos handler.
3166         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3168 2013-02-04  Morten Welinder  <terra@gnome.org>
3170         * src/dependent.c (dependent_pos): Make global.
3172         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3173         dependent_pos.
3175         * src/ssconvert.c (run_tool_test): Add code for running the
3176         regression tool.
3177         (convert): Run an analysis tool if requested.  (For testing.)
3179 2013-02-02  Morten Welinder  <terra@gnome.org>
3181         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3182         and rstyle_ctor_pstyle.  All callers changed.
3184 2013-01-18  Morten Welinder  <terra@gnome.org>
3186         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3187         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3188         New matrix support.
3189         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3190         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3192 2013-01-15  Morten Welinder  <terra@gnome.org>
3194         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3195         import from command line.
3197 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3199         * configure.ac: renamed configure.in and update obsolete macros.
3200         * configure.in: ditto.
3202 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3204         * configure.in: Add
3205         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3206         includes.
3208 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3210         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3211         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3212         twice the top and bottom margins when displaying a graph
3213         sheet. [#691472]
3215 2013-01-10  Morten Welinder  <terra@gnome.org>
3217         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3218         argument and assume TRUE.  Drop scope name and assume NULL (which
3219         is what all callers should have used).  All callers changed.
3220         (gnm_func_add_placeholder): Ditto.
3221         (invent_name): Downcase the preferred name.
3222         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3223         (gnm_func_add): Initialize arg_names_p.
3225         * src/gnm-plugin.c (plugin_service_function_group_activate):
3226         Upgrade existing placeholder functions as needed.
3228         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3229         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3231 2013-01-10  Morten Welinder  <terra@gnome.org>
3233         * src/func.c (gnm_func_add_placeholder_localized): New function.
3234         (gnm_func_add_placeholder_full): Extract from
3235         gnm_func_add_placeholder.  Handle localization better.
3236         (gnm_func_set_localized_name): New function.
3237         (gnm_func_free, gnm_func_get_name): Use
3238         gnm_func_set_localized_name.
3240         * src/parse-util.c (std_func_map): Improve handling of unknown
3241         function names.
3243         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3244         (gnm_func_free): ...here.
3246 2013-01-09  Morten Welinder  <terra@gnome.org>
3248         * src/symbol.c: delete.
3250         * src/func.c: rewrite to use GHashTable instead of symbol.c
3251         (gnm_func_lookup_prefix): Take extra argument indicating whether
3252         to search translated names.  Caller changed.
3254         * src/parse-util.c (std_func_map): Lookup translated name as
3255         needed.
3256         (parse_util_init): Add enviroment magic to turn on translated
3257         functions names.  This is not ready for prime time and should be
3258         controlled by a user preference eventually.
3260         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3261         bit.
3263 2013-01-07  Morten Welinder  <terra@gnome.org>
3265         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3266         pivot.  Use gnm_hypot where possible.
3268 2013-01-04  Morten Welinder  <terra@gnome.org>
3270         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3271         as argument.  Keep track of displays.
3272         (gnm_x_disown_clipboard): New function.
3274         * src/application.c (gnm_app_clipboard_clear): Use
3275         gnm_x_disown_clipboard to make things multi-head safe.
3277 2013-01-03  Morten Welinder  <terra@gnome.org>
3279         * src/collect.c (collect_floats): Fix handling of
3280         COLLECT_IGNORE_ERRORS.
3281         (collect_strings): Ditto.
3282         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3284 2013-01-01  Morten Welinder  <terra@gnome.org>
3286         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3287         deprecated goffice stuff.
3289         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3290         unused variable.
3291         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3292         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3293         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3295         * src/application.c (gnm_app_history_add): Kill warning.
3297 2012-12-31  Morten Welinder  <terra@gnome.org>
3299         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3300         Fixed #690929.
3302         * src/ssdiff.c: Introduce --highlight mode.
3304 2012-12-30  Morten Welinder  <terra@gnome.org>
3306         * src/ssdiff.c (main): Add option to send output to a file.
3308 2012-12-29  Morten Welinder  <terra@gnome.org>
3310         * src/ssdiff.c (diff): Use C locale.
3311         (ignore_cell): Ignore arrays, except for the corner.
3312         (output_cell): New function taking proper care of value types,
3313         convensions, etc.
3314         (xml_cell_changed): Use output_cell.
3315         (compare_corresponding_cells): Don't use entered_text here either,
3316         although it's harmless.
3317         (output_cell, compare_corresponding_cells): Handle value formats
3318         too.
3320 2012-12-28  Valek Filippov  <frob@df.ru>
3322         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3323         gdk_window_get_pointer calls.
3325 2012-12-28  Morten Welinder  <terra@gnome.org>
3327         * src/*.c: Eliminate use of printf.
3329         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3330         range offset here.  This may need to move further.
3331         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3332         (diff_sheets_cells): Ignore completely empty cells.
3333         (xml_sheet_start): Change meaning of Old and New attributes to be
3334         index_in_wb and absent when workbook doesn't have the sheet.
3335         (xml_style_changed): Describe style differences.
3337 2012-12-27  Morten Welinder  <terra@gnome.org>
3339         * src/ssdiff.c (diff_sheets): Compare styles too.
3341         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3342         range argument.  All callers changed.
3344 2012-12-24  Morten Welinder  <terra@gnome.org>
3346         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3347         cell_removed handlers into the cell_changed handler.
3348         (main): Add --xml option.
3350         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3351         configurable.  We need ssconvert for the test and it's silly
3352         anyway.
3354 2012-12-18  Morten Welinder <terra@gnome.org>
3356         * configure.in: Post-release bump.