Introspection: cleanup
[gnumeric.git] / ChangeLog
blob22b57e9b4e1446c720fb3d41ae9be55e23d487e1
1 2018-04-13  Morten Welinder  <terra@gnome.org>
3         * src/cell.c (gnm_cell_set_format): Remove.  Unused and badly
4         named.
6 2018-04-12  Morten Welinder  <terra@gnome.org>
8         * src/sheet-merge.c (gnm_sheet_merge_remove): Drop unused command
9         context argument.  All callers changed.
11 2018-04-11  Morten Welinder  <terra@gnome.org>
13         * src/workbook.c: Make Workbook a more proper object by adding a
14         constructor to setup the object correctly.  Introspection fixes.
16         (workbook_view_class_init): Make this a more proper object by
17         adding a constructor and init function to setup the object
18         correctly.
20 2018-04-11  Morten Welinder  <terra@gnome.org>
22         * src/workbook-view.c: Introspection fixes, mostly from Dean
23         McCarron.
24         src/workbook-control.c: Ditto.
25         src/wbc-gtk.c: Ditto.
27 2018-03-25  Morten Welinder  <terra@gnome.org>
29         * src/workbook.c (workbook_set_last_export_uri): Constify
30         argument.  Callers fixed.
32 2018-03-23  Morten Welinder  <terra@gnome.org>
34         * src/main-application.c (cpu_sanity_check): New function.
36 2018-03-13  Morten Welinder <terra@gnome.org>
38         * configure.ac: Post-release bump.
40 2018-03-13  Morten Welinder <terra@gnome.org>
42         * Release 1.12.39
44 2018-01-17  Morten Welinder  <terra@gnome.org>
46         * src/sstest.c (function_dump_defs): Drop internal function TABLE
47         as well as demo function ATL_LAST.
49 2018-01-11  Morten Welinder  <terra@gnome.org>
51         * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
52         not to trigger an update storm when nothing changes.  Fixes
53         #792417.
55 2018-01-01  Morten Welinder  <terra@gnome.org>
57         * src/expr.c (gnm_expr_simplify_if): Remove non-working,
58         non-reachable code relating to true() and false() conditions.
60 2017-12-30  Morten Welinder  <terra@gnome.org>
62         * src/expr.c (gnm_expr_top_get_array_corner): Remove.  All callers
63         changed.
64         (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
65         (gnm_expr_top_get_array_expr): New functions.
67         * src/cell.c (gnm_cell_is_array_corner): Remove.  All callers
68         changed.
70 2017-12-29  Morten Welinder  <terra@gnome.org>
72         * src/ssdiff.c (diff_names): Fix checks for inserted or removed
73         name.  #792038.
75 2017-12-28  Morten Welinder <terra@gnome.org>
77         * configure.ac: Post-release bump.
79 2017-12-28  Morten Welinder <terra@gnome.org>
81         * Release 1.12.38
83 2017-12-25  Morten Welinder  <terra@gnome.org>
85         * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
86         * src/func-builtin.c (func_builtin_init): Ditto.
88 2017-12-23  Morten Welinder  <terra@gnome.org>
90         * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
92 2017-12-04  Morten Welinder  <terra@gnome.org>
94         * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
95         instead of passing them all over the place.
96         (diff): Compare names too.
98 2017-12-03  Morten Welinder  <terra@gnome.org>
100         * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
101         (diff): Missing or extra sheet counts as a difference.
103         * src/mstyle.c (gnm_style_find_differences): Don't crash when
104         hlink/validation/inputmsg/conditions is NULL in one and not the other.
106         * src/ssdiff.c (diff_sheets_colrow): New function to compare
107         row/column sizes.
108         (highlight_cell_changed): Survive missing cell.
110 2017-12-01  Morten Welinder <terra@gnome.org>
112         * configure.ac: Post-release bump.
114 2017-12-01  Morten Welinder <terra@gnome.org>
116         * Release 1.12.37
118 2017-11-30  Morten Welinder  <terra@gnome.org>
120         * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
121         usage.
122         * src/parse-util.c (wbref_parse): Ditto.
123         * src/preview-grid.c (preview_grid_draw_region): Ditto.
124         * src/item-grid.c (item_grid_draw_region): Ditto.
125         * src/parser.y (yylex): Ditto.
126         * src/criteria.c (parse_database_criteria): Ditto.
128         * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
129         stack, allocation.
131         * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
132         stack, allocation.
134 2017-11-29  Morten Welinder  <terra@gnome.org>
136         * src/sstest.c (enumerate_functions): Make sure function is loaded.
138         * src/func-builtin.c (help_table): Add help text for TABLE.
140         * src/func.c (gnm_func_enumerate): Introspection annotation.
142         * src/sstest.c (function_dump_defs): Move from func.c with all
143         support code.
144         (gnm_func_sanity_check): Ditto.
146         * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
148         * src/main-application.c (pathetic_qt_workaround): Not needed
149         anymore.
151         * (gnumeric-object-combo.png): redo based on list combo.  This avoids
152         looking strange when insensitive and also is a consistent size.
154 2017-11-18  Morten Welinder <terra@gnome.org>
156         * configure.ac: Post-release bump.
158 2017-11-18  Morten Welinder <terra@gnome.org>
160         * Release 1.12.36
162 2017-10-29  Jean Brefort  <jean.brefort@normalesup.org>
164         * src/gnumeric.css: add grid:selected back-color.
165         * src/item-grid.c (item_grid_draw_region): fix background of multiple
166         selection. [#789411]
168 2017-10-23  Morten Welinder  <terra@gnome.org>
170         * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
171         criticals.
173 2017-07-06  Morten Welinder <terra@gnome.org>
175         * configure.ac: Post-release bump.
177 2017-07-06  Morten Welinder <terra@gnome.org>
179         * Release 1.12.35
181 2017-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
183         * src/sheet-object-widget.c
184         (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
185         button
187 2017-05-18  Morten Welinder  <terra@gnome.org>
189         * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
190         integer orders.
191         (jy_via_j_series): Rename from y_via_j_series and supply both J
192         and Y results.  Use the full J result accuracy.
193         (gnm_bessel_phi): Improve divergence check.
195 2017-05-16  Morten Welinder  <terra@gnome.org>
197         * src/sf-bessel.c (debye_33): Handle near-overflow better.
198         (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
199         appropriate.
201         * src/gutils.c (gnm_utf8_strto): Handle denormals better.
203         * src/value.c (value_new_from_string): Handle denormals betters.
205 2017-04-05  Morten Welinder  <terra@gnome.org>
207         * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
208         Generalize to Pi/2^e and make public.
210 2017-03-28  Morten Welinder  <terra@gnome.org>
212         * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
213         (hankel1_A1): Use gnm_yn if we can.  Near integer order, center
214         around the integer with odd count when we can.
216 2017-03-21  Morten Welinder  <terra@gnome.org>
218         * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
219         deviation for each bin.
220         (test_random_randchisq, test_random_randtdist)
221         (test_random_randfdist): Don't allow df=0.
222         (test_random_randbeta): Don't floor the parameters thus avoiding
223         zero.
225 2017-03-20  Morten Welinder <terra@gnome.org>
227         * configure.ac: Post-release bump.
229 2017-03-20  Morten Welinder <terra@gnome.org>
231         * Release 1.12.34
233 2017-03-17  Morten Welinder  <terra@gnome.org>
235         * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
236         bogus GnmColor here.  The fake object prevents GnmColor equality
237         from working which in turn prevents GnmBorder equality from
238         working.
240         * src/style-color.c (gnm_color_make): Rename from
241         gnm_color_new_uninterned and handle caching here.
242         (gnm_color_new_auto): New function.
244         * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
245         (compare_corresponding_cells): Fall back to string comparison.
246         References like Sheet1!A1 should match even if they, obviously,
247         refer to sheets in different workbooks.
249         * src/style-conditions.c (gnm_style_conditions_equal): Add new
250         relax_sheet argument.
252         * src/validation.c (gnm_validation_equal): New function.
254         * src/mstyle.c (gnm_style_find_differences): New function.
256         * src/ssdiff.c (xml_style_changed): Use
257         gnm_style_find_differences.
259         * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
260         gnm_style_find_differences, not gnm_style_equal.
262         * src/hlink.c (gnm_hlink_equal): New function.
264 2017-03-13  Morten Welinder  <terra@gnome.org>
266         * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
267         inter-sheet local name references.
269 2017-03-10  Morten Welinder  <terra@gnome.org>
271         * src/hlink.c (gnm_hlink_get_name_target)
272         (gnm_hlink_get_range_target): New functions.
273         (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
275 2017-03-07  Morten Welinder  <terra@gnome.org>
277         * src/parser.y (parser_simple_name): Extract from
278         parser_simple_val_or_name.  Extend to handle explicit sheet.
279         ("sheetref STRING"): Ise parser_simple_name.
281 2017-03-06  Morten Welinder  <terra@gnome.org>
283         * src/expr-name.c (expr_name_add): Plug leak.
285 2017-03-05  Morten Welinder  <terra@gnome.org>
287         * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
288         (gnm_hlink_cur_wb_activate): Move string parsing from here...
289         (gnm_hlink_cur_wb_set_target): ...to here.  Check name first as
290         value_new_cellrange_str will resolve a name.
292         * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
293         sheet for hlinks too.
295         * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
296         (gnm_hlink_set_sheet): New functions.
298 2017-01-30  Morten Welinder <terra@gnome.org>
300         * configure.ac: Post-release bump.
302 2017-01-30  Morten Welinder <terra@gnome.org>
304         * Release 1.12.33
306 2017-01-29  Morten Welinder  <terra@gnome.org>
308         * src/style-conditions.c (gnm_style_cond_equal): New function.
309         (gnm_style_conditions_equal): ...split out from here.
311 2017-01-25  Morten Welinder  <terra@gnome.org>
313         * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
315 2017-01-22  Morten Welinder  <terra@gnome.org>
317         * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
318         expression for text formatted cells.
319         (stf_parse_sheet): Don't try number parsing for text formatted
320         columns.  Fixes #777543.
322 2017-01-22  Jean Brefort  <jean.brefort@normalesup.org>
324         * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
325         format when generating the string. [#777338]
327 2017-01-19  Morten Welinder  <terra@gnome.org>
329         * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
331         * src/style-conditions.c (gnm_style_conditions_equal): New
332         function.
334 2016-12-08  Morten Welinder  <terra@gnome.org>
336         * src/mathfunc.c (gnm_linear_solve): Use proper matrix type.  All
337         callers changed.
338         (gnm_linear_solve_multiple): Ditto.
340 2016-10-02  Morten Welinder  <terra@gnome.org>
342         * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
343         g_mem_set_vtable stuff actually works anymore.
345 2016-08-21  Morten Welinder  <terra@gnome.org>
347         * src/sstest.c (options): Add --fast option.
349         * src/value.c (value_get_as_gstring): Let a negative
350         decimal_digits mean "shortest round-tripping string".
352 2016-08-20  Morten Welinder <terra@gnome.org>
354         * configure.ac: Post-release bump.
356 2016-08-20  Morten Welinder <terra@gnome.org>
358         * Release 1.12.32
360 2016-08-08  Morten Welinder  <terra@gnome.org>
362         * src/criteria.c (criteria_inspect_values): Add flag for string
363         coercion.  Only the equality test wants that.
365         * src/value.c (criteria_inspect_values): Floats don't match
366         errors.
368 2016-08-04  Morten Welinder  <terra@gnome.org>
370         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
371         pointer.
373         * src/collect.c (string_range_function): Add user pointer.  Caller
374         changed.
376 2016-06-29  Morten Welinder <terra@gnome.org>
378         * configure.ac: Post-release bump.
380 2016-06-29  Morten Welinder <terra@gnome.org>
382         * Release 1.12.31
384 2016-06-29  Morten Welinder  <terra@gnome.org>
386         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
387         related to sheet-local names.  [#768164]
389 2016-06-28  Morten Welinder  <terra@gnome.org>
391         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
392         of different lenghts.
394 2016-06-21  Morten Welinder  <terra@gnome.org>
396         * src/value.c (criteria_test_greater_or_equal): Use case-folding
397         comparisons for strings.
398         (parse_criteria, parse_criteria_range): Add argument controlling
399         whether to anchor matching at end of string.
400         (parse_database_criteria): Don't anchor here.
402 2016-06-17  Morten Welinder <terra@gnome.org>
404         * configure.ac: Post-release bump.
406 2016-06-17  Morten Welinder <terra@gnome.org>
408         * Release 1.12.30
410 2016-06-17  Morten Welinder  <terra@gnome.org>
412         * src/value.c (parse_criteria): Anchor matches at the beginning,
413         but not at the end.
415 2016-06-11  Morten Welinder  <terra@gnome.org>
417         * src/value.c (find_rows_that_match): Fix blank handling.
418         (criteria_test_unequal): Wrong type means unequal.
419         (criteria_test_match): Only match strings.
420         (parse_criteria): Don't anchor matches.  This is the right thing
421         to do for DSUM and friends.  Hopefully this doesn't break anything
422         else.
423         (criteria_inspect_values): Strings are incompatible with
424         non-strings.
425         (criteria_test_less, criteria_test_less_or_equal)
426         (criteria_test_greater, criteria_test_greater_or_equal): handle
427         strings.
429 2016-05-19  Morten Welinder  <terra@gnome.org>
431         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
432         decimal counts for the hypothetical comma and point choices.
434 2016-05-10  Morten Welinder  <terra@gnome.org>
436         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
437         members.  Doc fix.
439 2016-05-06  Morten Welinder <terra@gnome.org>
441         * configure.ac: Post-release bump.
443 2016-05-06  Morten Welinder <terra@gnome.org>
445         * Release 1.12.29
447 2016-04-29  Morten Welinder  <terra@gnome.org>
449         * src/gui-util.c (gnm_style_context_get_color): Fix function
450         wrapping gtk_style_context_get_color which changed API.
452 2016-04-24  Morten Welinder  <terra@gnome.org>
454         * src/value-sheet.c (value_area_get_x_y): Use
455         gnm_rangeref_normalize.  Do full wrap-around.
457 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
459         * src/graph.c (gnm_go_data_matrix_load_values): fix array
460         reading. [#765483]
462 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
464         * configure.ac: protect against pxlib weirdness.
466 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
468         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
469         value is an error.
471 2016-03-22  Morten Welinder <terra@gnome.org>
473         * configure.ac: Post-release bump.
475 2016-03-22  Morten Welinder <terra@gnome.org>
477         * Release 1.12.28
479 2016-03-02  Morten Welinder  <terra@gnome.org>
481         * src/sf-bessel.c: Return complex numbers by value, not reference.
483 2016-02-23  Morten Welinder  <terra@gnome.org>
485         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
487 2016-02-18  Morten Welinder  <terra@gnome.org>
489         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
490         #762278.
492 2016-02-12  Morten Welinder  <terra@gnome.org>
494         * src/complex.h: Add a direct-value interface.
496         * src/ssconvert.c (run_solver): Also create solver reports as
497         indicated in options.
499         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
501 2016-02-10  Morten Welinder  <terra@gnome.org>
503         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
504         to 1px.  While that may be a sligh increase for certain
505         themes/gtk+ versions, it is a large decrease for others, notably
506         what comes with an out-of-the-box OpenSuSE leap.  Override in
507         ~/.config/gtk-3.0/gtk.css if need be.
509         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
510         wheel for horizontal motion instead of alt.  Window managers tend
511         to eat the latter.
513 2016-02-08  Morten Welinder  <terra@gnome.org>
515         * src/graph.c (gnm_go_data_vector_eval)
516         (gnm_go_data_vector_finalize): Plug leak.
518 2016-02-06  Morten Welinder <terra@gnome.org>
520         * configure.ac: Post-release bump.
522 2016-02-06  Morten Welinder <terra@gnome.org>
524         * Release 1.12.27
526 2016-02-06  Morten Welinder  <terra@gnome.org>
528         * configure.ac (goffice): Require latest for
529         go_complex_from_polar_pi.
531         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
532         when x<0 and a is real.
534 2016-02-04  Morten Welinder  <terra@gnome.org>
536         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
537         (gnm_complex_continued_fraction): Fail if we would otherwise try
538         to rescale by 0.  Fix termination condition.
539         (igamma_asymp): Fix term update.
540         (complex_igamma): Fix flavour fixup.
542 2016-02-02  Morten Welinder  <terra@gnome.org>
544         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
545         (gamma_error_factor): Extend to all positive numbers.
546         (pochhammer_small_n): Allow any x > 1.
547         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
549 2016-02-01  Morten Welinder  <terra@gnome.org>
551         * configure.ac (yacc, lex): Fail if the required program isn't
552         found.
554 2016-01-31  Morten Welinder  <terra@gnome.org>
556         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
557         complex continued fractions.
559 2016-01-30  Morten Welinder  <terra@gnome.org>
561         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
562         GtkStyleContext.  Another ABI changes causes that to crash.
564         * src/value.c (find_column_of_field): Insist that the database be
565         a cell range, not an array.
567 2016-01-29  Morten Welinder  <terra@gnome.org>
569         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
570         (bessel_ij_series): Rename from bessel_j_series and extend to
571         handle i also.
573         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
574         argument is less than one.
576         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
577         about broken sheet filter.
579         * src/sheet-filter.c (gnm_filter_condition_new_single)
580         (gnm_filter_condition_new_double): Plug leak on error.
581         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
583 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
585         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
586         value. [#761048]
588 2016-01-27  Morten Welinder  <terra@gnome.org>
590         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
591         implementation.
593         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
594         css styling.
596 2016-01-23  Morten Welinder  <terra@gnome.org>
598         * src/parser.y (yylex): Be careful about overflowing numeric
599         token.  Fixes #761023.
601 2016-01-20  Morten Welinder  <terra@gnome.org>
603         * src/complex.h: Namespace.  Mostly for macros.
605 2016-01-16  Morten Welinder  <terra@gnome.org>
607         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
608         unused time argument.  All callers changed.
609         (gnm_simple_canvas_grab): Remove unused arguments and return
610         value.  All callers changed.
612         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
613         without regrabbing the focus.  See #760639.
615 2016-01-13  Morten Welinder  <terra@gnome.org>
617         * src/sstest.c (test_random_randsnorm)
618         (test_random_randbernoulli): Print expected stats.
620         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
621         are sane.  Fixes #760544.
623 2016-01-08  Morten Welinder  <terra@gnome.org>
625         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
627 2016-01-06  Morten Welinder  <terra@gnome.org>
629         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
631 2016-01-04  Morten Welinder  <terra@gnome.org>
633         * src/sheet-style.c (sheet_style_apply_range)
634         (sheet_style_set_range): Silently ignore inverted ranges.
636 2016-01-03  Morten Welinder  <terra@gnome.org>
638         * src/sheet-style.c (sheet_style_apply_range)
639         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
641 2016-01-02  Morten Welinder  <terra@gnome.org>
643         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
645         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
646         zero record size.  Fixes #760087.
648         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
650 2016-01-01  Morten Welinder  <terra@gnome.org>
652         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
654         * src/expr-name.c (expr_name_add): Improve check for circular name
655         defintion.  Fixes #760046.
657 2015-12-28  Morten Welinder  <terra@gnome.org>
659         * src/ssconvert.c (convert): When separating sheets, move current
660         sheet to the front.  See bug #694408.
662         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
663         sheet, remove it at the end.
665 2015-12-28  Morten Welinder <terra@gnome.org>
667         * configure.ac: Post-release bump.
669 2015-12-28  Morten Welinder <terra@gnome.org>
671         * Release 1.12.26
673 2015-12-26  Morten Welinder  <terra@gnome.org>
675         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
676         change here (on the grid).
677         (scg_class_init): Not here.  We're not derived from GtkWidget.
679         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
680         (foreach_tile): New top-level function taking few parameters.  All
681         callers changed.
683 2015-12-25  Morten Welinder <terra@gnome.org>
685         * configure.ac: Post-release bump.
687 2015-12-25  Morten Welinder <terra@gnome.org>
689         * Release 1.12.25
691 2015-12-22  Morten Welinder  <terra@gnome.org>
693         * src/ssdiff.c (xml_style_changed): Do more for input message and
694         validation.
696 2015-12-20  Morten Welinder  <terra@gnome.org>
698         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
699         screen size.
700         (scg_resize): Limit frozen zones to screen size.  Not idea, but
701         better than crashing.
703 2015-12-19  Morten Welinder  <terra@gnome.org>
705         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
707 2015-12-13  Morten Welinder  <terra@gnome.org>
709         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
710         merges on column/row insert.  Fixes #504004.
712 2015-12-12  Morten Welinder  <terra@gnome.org>
714         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
715         when the merge partially falls off the far end.
717 2015-12-10  Morten Welinder  <terra@gnome.org>
719         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
720         ensure actions get accel paths.
722 2015-12-09  Morten Welinder  <terra@gnome.org>
724         * src/wbc-gtk.c (wbcg_find_action): New function to look in
725         multiple places for an action.
727         * src/gui-util.c (gnm_action_group_add_actions): Handle
728         translation context.  Also handle toggle actions.
730 2015-12-08  Morten Welinder  <terra@gnome.org>
732         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
733         syntax.
735         * src/gui-util.c (gnm_action_group_add_actions): New function,
736         currently quite dumb.
738         * configure.ac (CC): Insist on c99.
740 2015-12-05  Morten Welinder  <terra@gnome.org>
742         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
743         (drayleigh): Define in terms of dweibull.
745 2015-12-03  Morten Welinder  <terra@gnome.org>
747         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
748         support.  Fixes R.QHYPER(0.1,3,99,13)
750 2015-10-19  Morten Welinder  <terra@gnome.org>
752         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
753         in[2].  Fixes #752182.
755 2015-09-25  Morten Welinder  <terra@gnome.org>
757         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
758         avoid value copying.  Fixes #752181.
759         (gnumeric_table): Handle repeated cells.  Fixes #752178.
761 2015-09-20  Morten Welinder <terra@gnome.org>
763         * configure.ac: Post-release bump.
765 2015-09-20  Morten Welinder <terra@gnome.org>
767         * Release 1.12.24
769 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
771         * src/gui-file.c (gui_file_save_as): just change the extension not more
772         when the original filename has several dots. [ubuntu #1497344]
774 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
776         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
777         anchors. [#754792]
779 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
781         * src/sheet-object.c (sheet_object_update_bounds),
782         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
783         the objects bounds are always updated. Really fix printing.
784         * src/xml-sax-write.c (xml_write_objects): revert previous change.
786 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
788         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
789         printing, but still not perfect.
790         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
791         * src/xml-sax-write.c (xml_write_objects): ditto.
793 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
795         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
796         with one cell or absolute anchors. [#753961]
797         * src/sheet-object.c (sheet_object_draw_cairo):
799 2015-07-28  Morten Welinder <terra@gnome.org>
801         * configure.ac: Post-release bump.
803 2015-07-28  Morten Welinder <terra@gnome.org>
805         * Release 1.12.23
807 2015-07-14  Morten Welinder  <terra@gnome.org>
809         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
810         #752259.
812 2015-07-09  Morten Welinder  <terra@gnome.org>
814         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
815         operation.  Fixes #752124.
817 2015-07-06  Morten Welinder  <terra@gnome.org>
819         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
821 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
823         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
825 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
827         * src/value.c (value_compare_real): handle two empty values however
828         they appear
830 2015-07-03  Morten Welinder  <terra@gnome.org>
832         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
833         context.
835 2015-06-30  Morten Welinder  <terra@gnome.org>
837         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
838         it all the way here.
840 2015-06-29  Morten Welinder  <terra@gnome.org>
842         * src/func.c (function_iterate_argument_values): Improve name
843         handling.  Part of #751660.
845 2015-06-28  Morten Welinder  <terra@gnome.org>
847         * src/value-sheet.c (value_area_get_width, value_area_get_height):
848         Use the same normalization as value_area_foreach.  Fixes #751390.
850         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
851         Fixes #751577.
853 2015-06-26  Morten Welinder  <terra@gnome.org>
855         * src/value.c (value_new_array_empty): Store value_new_empty(),
856         not NULL, in the slots.  We can make this change because
857         value_new_empty() is a singleton that does not need to be
858         released.  Fixes #751502.
860 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
862         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
864 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
866         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
867         (xml_sax_object_end): ensure we always use the right state. [#751217]
869 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
871         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
873 2015-06-20  Morten Welinder  <terra@gnome.org>
875         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
876         overflow.
877         (go_data_cache_records_fetch_index): If resizing failed return
878         NULL early.
880 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
882         * src/parse-util.h (_GnmConventions): add union_char field
883         * src/parser.y (yylex): handle union_char
884         (setup_state): set union_char
886 2015-06-18  Morten Welinder  <terra@gnome.org>
888         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
889         specifying types derived from sheet objects.  Fixes #751126.
890         (xml_sax_hlink): Similarly.
892 2015-06-16  Morten Welinder  <terra@gnome.org>
894         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
895         in names.  Fixes #751056.
897 2015-05-27  Morten Welinder  <terra@gnome.org>
899         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
900         division by zero.  Fixes #749917.
902         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
904 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
906         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
907         comment #3]
909 2015-05-11  Morten Welinder  <terra@gnome.org>
911         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
912         something bad that will happen whenever FALSE equals TRUE.
914         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
915         inline values.
917         * src/cell.c (gnm_cell_set_array): Improve preconditions.
919 2015-05-09  Morten Welinder  <terra@gnome.org>
921         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
923 2015-04-28  Morten Welinder  <terra@gnome.org>
925         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
926         malformed documents.  Fixes #748596.
927         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
928         #748595.
930 2015-04-16  Morten Welinder <terra@gnome.org>
932         * configure.ac: Post-release bump.
934 2015-04-16  Morten Welinder <terra@gnome.org>
936         * Release 1.12.22
938 2015-04-15  Morten Welinder  <terra@gnome.org>
940         * src/ranges.c (gnm_range_compare): New function.
942 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
944         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
945         (see #700599, comment #11).
947 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
949         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
950         sheet object name, try the image name.
952 2015-04-11  Morten Welinder  <terra@gnome.org>
954         * src/sf-dpq.c (qcauchy): Handle cancellation.
956         * src/mathfunc.c (pcauchy): Simplify.
958         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
959         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
961 2015-04-09  Morten Welinder  <terra@gnome.org>
963         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
964         case.
966 2015-04-04  Morten Welinder  <terra@gnome.org>
968         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
969         Fixes #747356.
971         * src/xml-sax-write.c (xml_write_objects): Save only relevant
972         parts of the cell bound.
974         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
975         Initialize parts of cell_bound not used.
977 2015-04-01  Morten Welinder  <terra@gnome.org>
979         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
980         GNM_XML_2ND here too.
981         (gnm_sogg_sax_parser_done): Plug leak.
983 2015-03-30  Morten Welinder  <terra@gnome.org>
985         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
986         function.
988         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
989         mode.
991         * src/sstest.c (test_random_randhyperg): Take var=0 case into
992         account when checking mean.
994         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
995         graph here.
997 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
999         * src/graph.h: add support for absolute anchoring of sheet objects.
1000         * src/item-grid.c: ditto.
1001         * src/sheet-control-gui.c: ditto.
1002         * src/sheet-filter.c: ditto.
1003         * src/sheet-object-cell-comment.c: ditto.
1004         * src/sheet-object-component.c: ditto.
1005         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
1006         cells by default. [#684450]
1007         * src/sheet-object-image.c: make images don't resize with cells by default.
1008         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
1009         * src/sheet-object.h: ditto.
1010         * src/workbook-view.c: ditto.
1011         * src/xml-sax-read.c: ditto.
1012         * src/xml-sax-write.c: ditto.
1014 2015-03-30  Morten Welinder  <terra@gnome.org>
1016         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1018 2015-03-23  Morten Welinder  <terra@gnome.org>
1020         * src/sstest.c (rand_fractile_test): Plug leak.
1022 2015-03-21  Morten Welinder  <terra@gnome.org>
1024         * src/sstest.c (rand_fractile_test): Add support for
1025         non-continuous distributions.
1027         * src/mathfunc.c (qgeom): Update to current version in R.
1029         * src/gnm-random.c (random_geometric): Don't add one.
1030         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1032 2015-03-20  Morten Welinder  <terra@gnome.org>
1034         * src/sstest.c (test_random_randbinom): New test.
1035         (test_random_randbetween): New test.
1036         (test_random_randexp): New test.
1037         (test_random_randpoisson): New test.
1038         (test_random_randgeom): New test.
1039         (test_random_randnegbinom): New test.
1040         (test_random_randlog): New test.
1041         (test_random_randdiscrete): New test.
1042         (test_random_randgamma): New test.
1043         (test_random_randtdist): New test.
1044         (test_random_randuniform): New test.
1045         (test_random_randfdist): New test.
1046         (test_random_randcauchy): New test.
1047         (test_random_randbeta): New test.
1048         (test_random_randchisq): New test.
1049         (test_random_randhyperg): New test.
1051         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
1053 2015-03-19  Morten Welinder  <terra@gnome.org>
1055         * src/func.c (dump_samples): New function to dump all sample in
1056         help documentation to csv format.
1058         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1059         non-positive integer, but neither a nor b is.
1061 2015-03-07  Morten Welinder  <terra@gnome.org>
1063         * src/xml-sax-write.c: Use new go_xml_out_add_double.
1065         * src/sheet-object-widget.c
1066         (sheet_widget_adjustment_write_xml_sax): Use new
1067         go_xml_out_add_double.
1069         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1070         go_xml_out_add_double.
1072 2015-03-05  Morten Welinder  <terra@gnome.org>
1074         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1075         copy_data argument and simply assume it.
1077 2015-03-04  Morten Welinder <terra@gnome.org>
1079         * configure.ac: Post-release bump.
1081 2015-03-04  Morten Welinder <terra@gnome.org>
1083         * Release 1.12.21
1085 2015-03-03  Morten Welinder  <terra@gnome.org>
1087         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1088         version we write and document why we can't easily increase that
1089         version.
1091 2015-03-02  Morten Welinder  <terra@gnome.org>
1093         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1095         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1096         (xml_sax_version): Bring version list up to date.
1098 2015-03-01  Morten Welinder  <terra@gnome.org>
1100         * src/sheet-object-widget.c
1101         (sheet_widget_list_base_set_selection_value): Plug leak.
1103 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
1105         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1106         pixbuf stores the image type.
1108 2015-02-28  Morten Welinder  <terra@gnome.org>
1110         * src/sheet-object-image.c (SheetObjectImage): Just keep the
1111         image, not the bytes in addition.
1112         (gnm_soi_class_init): Use property "image" of type GOImage instead
1113         of "image-data" weirdness.
1114         (gnm_soi_draw_cairo): Remove non-functional fallback.
1115         (gnm_soi_default_size): Ditto.
1117 2015-02-27  Morten Welinder  <terra@gnome.org>
1119         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1120         type for image data.  Create image data if needed.
1121         (SheetObjectImage): Use a properly allocated GByteArray.
1123         * src/sheet-object-widget.c
1124         (sheet_widget_adjustment_user_config_impl): Widgets must have
1125         changed names at some point.  Adjust for that.
1127 2015-02-25  Morten Welinder  <terra@gnome.org>
1129         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1130         Also evaluate here.
1131         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1132         contents.
1134 2015-02-23  Morten Welinder  <terra@gnome.org>
1136         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1137         New function.
1139 2015-02-21  Morten Welinder  <terra@gnome.org>
1141         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1142         gboolean, not a double.
1144         * src/sheet-object-widget.c
1145         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1146         fixed, precision.
1147         (sheet_widget_adjustment_set_horizontal): Take advantage of this
1148         new-fangled orientation for scrollbars.
1150 2015-02-20  Morten Welinder  <terra@gnome.org>
1152         * src/sheet-object-widget.c: Make checkbox' "active" writable.
1153         (cb_button_released): Set value to FALSE here(!)
1155 2015-02-18  Morten Welinder  <terra@gnome.org>
1157         * src/commands.c (cmd_search_replace_do_cell): Don't report and
1158         error just because a cell with text format fails to produce an
1159         expression.  That's expected for text format.
1161 2015-02-17  Morten Welinder  <terra@gnome.org>
1163         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1165 2015-02-11  Morten Welinder  <terra@gnome.org>
1167         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1168         writing duplicate style so version 1.2 and earlier can read it.
1170 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
1172         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1173         that can't be convered to valid numbers.
1175 2015-02-10  Morten Welinder  <terra@gnome.org>
1177         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1179 2015-02-06  Morten Welinder  <terra@gnome.org>
1181         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1182         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1183         (sheet_widget_radio_button_set_link)
1184         (sheet_widget_list_base_set_links)
1185         (sheet_widget_adjustment_set_details): Only link if we have a
1186         sheet.
1188 2015-02-04  Morten Welinder <terra@gnome.org>
1190         * configure.ac: Post-release bump.
1192 2015-02-04  Morten Welinder <terra@gnome.org>
1194         * Release 1.12.20
1196 2015-01-30  Morten Welinder  <terra@gnome.org>
1198         * src/sheet-object-widget.c
1199         (sheet_widget_adjustment_set_horizontal): Make this public.
1201 2015-01-23  Morten Welinder <terra@gnome.org>
1203         * configure.ac: Post-release bump.
1205 2015-01-23  Morten Welinder <terra@gnome.org>
1207         * Release 1.12.19
1209 2015-01-20  Morten Welinder  <terra@gnome.org>
1211         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1212         See bug #743130.
1214 2015-01-19  Morten Welinder  <terra@gnome.org>
1216         * src/gutils.c (gnm_icon_dir): Remove.
1218         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1219         resources.
1221         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1222         from glib resources.
1224         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1225         Delete.
1227         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
1228         otherwise dump them in temporary files in order to load them.
1230         * src/workbook.c (workbook_update_graphs): New function.
1232         * src/workbook-view.c (workbook_view_new_from_input): Update
1233         graphs.
1235 2015-01-14  Morten Welinder  <terra@gnome.org>
1237         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1238         an expresssion, make it a string instead of dropping it on the
1239         floor.
1241 2015-01-13  Morten Welinder  <terra@gnome.org>
1243         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1244         missing shared expression, define a dummy version so we don't get
1245         repeated errors.
1247 2015-01-09  Morten Welinder  <terra@gnome.org>
1249         * src/value.c (value_compare_real): Rewrite.  Handle errors and
1250         sort them later than other values.  This fixes #742601.
1252 2015-01-01  Morten Welinder  <terra@gnome.org>
1254         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1255         names, not stock ids.
1257         * src/gnm-pane.c (update_control_point_colors): Avoid
1258         gtk_style_context_get_background_color.
1259         * src/item-cursor.c (ic_reload_style): Ditto.
1261 2014-12-30  Morten Welinder  <terra@gnome.org>
1263         * src/rendered-value.c (gnm_rendered_value_new):
1264         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
1266 2014-12-27  Morten Welinder  <terra@gnome.org>
1268         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1269         unless we really have to.
1271 2014-12-25  Morten Welinder  <terra@gnome.org>
1273         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1274         multihead issue.
1276         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1278         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1280         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1281         icon on sheet direction changes.
1283         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1285 2014-12-24  Morten Welinder  <terra@gnome.org>
1287         * src/wbc-gtk.c (wbcg_show_save_dialog)
1288         (wbcg_close_if_user_permits): Constant propagation.
1290         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1291         GtkStock usage.  (Maybe kill whole function?  Only two users.)
1293 2014-12-22  Morten Welinder  <terra@gnome.org>
1295         * icons/fake-index-theme: we need actions directories too.
1297 2014-12-21  Morten Welinder  <terra@gnome.org>
1299         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1300         handling.
1302 2014-12-20  Morten Welinder  <terra@gnome.org>
1304         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1305         count in delete, such as used from sheet resize.
1307 2014-12-19  Morten Welinder  <terra@gnome.org>
1309         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1310         (before g_setenv is available).
1312 2014-12-16  Morten Welinder  <terra@gnome.org>
1314         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1315         number.
1317         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1318         the delete case.
1320 2014-12-15  Morten Welinder  <terra@gnome.org>
1322         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1323         sheet_style_insert_colrow and handled deletion too.
1325         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1326         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
1327         and clean up.
1329         * src/dependent.c (dependent_has_pos, dependent_move): New
1330         functions.
1332 2014-12-14  Morten Welinder  <terra@gnome.org>
1334         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1335         free.
1337 2014-12-11  Morten Welinder  <terra@gnome.org>
1339         * src/dependent.c (style_dep_debug_name): Include position too.
1341         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1342         sheet_row_add.
1343         (colrow_move): Change parameterization slightly.
1345 2014-12-06  Morten Welinder  <terra@gnome.org>
1347         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1348         want them visually gone and g_object_unref does not guarantee
1349         that.
1351         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1352         dependents.  A later step clears and re-applies style completely
1353         for the moved area.  Fixes #741197.
1355         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1356         function.
1358         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1359         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1361         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1362         leak.
1363         (gnm_cmd_context_error_splits_merge): Plug leak.
1365 2014-11-15  Morten Welinder  <terra@gnome.org>
1367         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1368         the wbc is already gone.
1370 2014-11-09  Morten Welinder  <terra@gnome.org>
1372         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1373         data.  Might fix Redhat #1160975.
1375 2014-10-28  Morten Welinder  <terra@gnome.org>
1377         * src/style.c (find_font): Accept NULL font name.
1379 2014-10-27  Morten Welinder  <terra@gnome.org>
1381         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1382         code.
1384 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1386         * src/item-cursor.c (cb_item_cursor_animation): use
1387         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1388         outside of a draw event.
1390 2014-10-26  Morten Welinder  <terra@gnome.org>
1392         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1393         Use throughout.
1394         (GnmValue): Drop type union member.  C99 requires that this be
1395         accessed in a structure.  We have v_any for that.
1397 2014-10-25  Morten Welinder  <terra@gnome.org>
1399         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1400         ought to survive both gcc's aliasing analysis and valgrind's
1401         bitfield problems.
1403 2014-10-24  Morten Welinder  <terra@gnome.org>
1405         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1407 2014-10-21  Morten Welinder  <terra@gnome.org>
1409         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1411 2014-09-25  Morten Welinder <terra@gnome.org>
1413         * configure.ac: Post-release bump.
1415 2014-09-25  Morten Welinder <terra@gnome.org>
1417         * Release 1.12.18
1419 2014-09-25  Morten Welinder  <terra@gnome.org>
1421         * src/sheet-filter.c (gnm_filter_condition_new_single)
1422         (gnm_filter_condition_new_double): Fix preconditions.  See
1423         #735249.
1425 2014-09-23  Morten Welinder  <terra@gnome.org>
1427         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1428         doesn't spew deprecation warnings by default.
1430 2014-09-11  Morten Welinder  <terra@gnome.org>
1432         * src/style.c (gnm_translate_underline_from_pango): Survive
1433         PANGO_UNDERLINE_ERROR.
1435 2014-06-09  Morten Welinder <terra@gnome.org>
1437         * configure.ac: Post-release bump.
1439 2014-06-09  Morten Welinder <terra@gnome.org>
1441         * Release 1.12.17
1443 2014-05-28  Morten Welinder  <terra@gnome.org>
1445         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1446         when we drag the handle into the col/row canvas.
1448         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1450         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1451         handler.  Fixes #730884.
1453 2014-05-27  Morten Welinder  <terra@gnome.org>
1455         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1456         col/row canvas.  Fixes #730857.
1457         (gnm_pane_dispose): Release references.
1459 2014-05-23  Morten Welinder <terra@gnome.org>
1461         * configure.ac: Post-release bump.
1463 2014-05-23  Morten Welinder <terra@gnome.org>
1465         * Release 1.12.16
1467 2014-05-23  Morten Welinder  <terra@gnome.org>
1469         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1470         need better building blocks for commands; this is one such.
1472 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1474         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1475         (cmd_hyperlink_redo): ditto
1476         (cmd_hyperlink_finalize): ditto
1477         (cb_cmd_hyperlink_find_cells): ditto
1479 2014-05-20  Morten Welinder  <terra@gnome.org>
1481         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1483         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1484         outline and fill colours that are auto, even for the 1.0 format.
1486         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1487         conditional format ranges.
1489 2014-05-14  Morten Welinder  <terra@gnome.org>
1491         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1493         * src/gutils.c (gnm_object_has_readable_prop): New function.
1495         * configure.ac (scrollkeeper): Test if we have it.
1497 2014-05-05  Morten Welinder  <terra@gnome.org>
1499         * src/wbc-gtk.c (toolbar_context_menu): Remove
1500         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1501         false for years and is unsupported in gtk+.
1503 2014-04-30  Morten Welinder <terra@gnome.org>
1505         * configure.ac: Post-release bump.
1507 2014-04-30  Morten Welinder <terra@gnome.org>
1509         * Release 1.12.15
1511 2014-04-23  Morten Welinder  <terra@gnome.org>
1513         * src/complete.c (complete_idle): Avoid abort().
1515         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1516         source.
1518 2014-04-22  Morten Welinder  <terra@gnome.org>
1520         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1521         replaced with calls to gnm_color_new_go.
1523         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1525         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1527 2014-04-21  Morten Welinder  <terra@gnome.org>
1529         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1530         only in the hop of fixing #728465.
1532 2014-04-13  Morten Welinder <terra@gnome.org>
1534         * configure.ac: Post-release bump.
1536 2014-04-13  Morten Welinder <terra@gnome.org>
1538         * Release 1.12.14
1540 2014-04-11  Morten Welinder  <terra@gnome.org>
1542         * src/item-bar.c: Get colours when we draw; only get sizing
1543         relevant information at odd times, in particular when parent
1544         widgets may be insensitive, such as during a load-onto-pristine.
1545         Fixes #728007.
1547 2014-04-10  Morten Welinder  <terra@gnome.org>
1549         * src/item-bar.c (ib_reload_style): Add debug code.
1551 2014-04-09  Morten Welinder  <terra@gnome.org>
1553         * src/number-match.c (format_match_datetime): Plug leak on certain
1554         failure cases.
1556 2014-04-02  Morten Welinder  <terra@gnome.org>
1558         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1559         integer test.
1561 2014-03-30  Morten Welinder  <terra@gnome.org>
1563         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1564         list of extra uis.
1566 2014-03-28  Morten Welinder  <terra@gnome.org>
1568         * src/main-application.c (main): Move Ubuntu hack earlier.
1570 2014-03-27  Morten Welinder  <terra@gnome.org>
1572         * src/main-application.c (main): Attempt to banish ubuntu's
1573         overlay scrollbar which don't work.
1575 2014-03-21  Morten Welinder  <terra@gnome.org>
1577         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1578         case insensitve and allow wildcards.
1580         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1581         from fn-string.
1583         * src/style-conditions.c (generate_end_match): Use case
1584         insensitive comparison.  Pull negation into the operator.
1585         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1586         insensitive.
1588 2014-03-18  Morten Welinder  <terra@gnome.org>
1590         * src/gui-util.c (kill_popup_menu): One more try at really killing
1591         the context menu after we're done with it.
1593         * src/item-grid.c (item_grid_realize): Plug leak.
1595 2014-03-18  Morten Welinder <terra@gnome.org>
1597         * configure.ac: Post-release bump.
1599 2014-03-18  Morten Welinder <terra@gnome.org>
1601         * Release 1.12.13
1603 2014-03-18  Morten Welinder  <terra@gnome.org>
1605         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1606         providers from screens on exit.
1608         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1610 2014-03-17  Morten Welinder  <terra@gnome.org>
1612         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1614 2014-03-16  Morten Welinder  <terra@gnome.org>
1616         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1617         formats.  I'm not positive we do things right, but this avoids
1618         criticals, at least.
1620         * src/cell.c (cell_set_expr_internal): Don't change an existing
1621         value.
1623 2014-03-15  Morten Welinder  <terra@gnome.org>
1625         * src/style-border.c (gnm_border_shutdown): New function to help
1626         debug leaks.  Shutdown border_none here.
1628         * src/style-color.c (gnm_color_shutdown): Not here.
1630 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1632         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1633         the tooltip where it will not immediatly be destroyed after creation.
1634         [really fix #706659]
1636 2014-03-14  Morten Welinder  <terra@gnome.org>
1638         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1639         if we don't have any.
1641 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1643         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1645 2014-03-13  Morten Welinder  <terra@gnome.org>
1647         * src/style-conditions.c (gnm_style_cond_eval): New function
1648         extracted from gnm_style_conditions_eval.  Make "equal" case
1649         insensitive.  Fixes #726246.
1651         * src/ssconvert.c (convert): Show resize message only if verbose.
1653 2014-03-12  Morten Welinder  <terra@gnome.org>
1655         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1656         function.
1657         (gnm_style_cond_canonicalize): New function.
1659         * src/ssconvert.c (convert): only print "Using exporter ..." if
1660         --verbose is given, and print it to stderr.
1662 2014-03-11  Morten Welinder  <terra@gnome.org>
1664         * src/sheet.c (cb_set_markup): Don't mess directly with
1665         cell->value.  We need to trigger a re-render.  Fixes #726086.
1667         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1668         for the pre-validation assignment.
1670         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1671         before assigning it to the cell.
1673 2014-03-10  Morten Welinder  <terra@gnome.org>
1675         * gnumeric.xsd: Update valign/halign attributes.  Update print
1676         setup.
1678         * src/sheet-filter.c (gnm_filter_condition_new_single)
1679         (gnm_filter_condition_new_double): Add preconditions.
1681 2014-03-07  Morten Welinder  <terra@gnome.org>
1683         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1685 2014-03-05  Morten Welinder  <terra@gnome.org>
1687         * src/expr.c (gnm_expr_top_is_volatile): New function.
1689         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1690         volatile expressions.
1692         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1693         (dependent_is_volatile): New function.
1695         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1696         Don't set the initial range here.
1698         * src/expr.c (gnm_expr_top_first_funcall)
1699         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1700         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1701         gnm_expr_walk.
1702         (gnm_expr_top_get_boundingbox): Set initial range here.
1704         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1705         Ditto.
1707 2014-03-03  Morten Welinder <terra@gnome.org>
1709         * configure.ac: Post-release bump.
1711 2014-03-03  Morten Welinder <terra@gnome.org>
1713         * Release 1.12.12
1715 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1717         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1719 2014-03-02  Morten Welinder  <terra@gnome.org>
1721         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1722         name-collections.
1723         (wbcg_sheet_order_changed): Mark ui as being updated.
1724         (cb_bnotebook_page_reordered): Ignore during UI update.
1726         * src/expr-name.c (gnm_named_expr_collection_dump)
1727         (gnm_named_expr_collection_sanity_check): New function.
1729         * src/application.c (gnm_app_sanity_check): New function.
1731         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1732         string inside the GOString as a hash key.  It can change.
1733         (gnm_named_expr_collection_foreach): As a consequence of the
1734         above, the first argument to the handler for
1735         gnm_named_expr_collection_foreach changes to something
1736         unspecified.  All callers changed.
1738         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1739         sheet.
1741         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1742         when encountering strangeness.
1744 2014-02-28  Morten Welinder  <terra@gnome.org>
1746         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1747         If row/column canvas is not visible, ignore them.
1748         (scg_gtk_paned_set_position): Don't allow negative position.
1749         Fixes #725375.
1751         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1752         changes.
1754 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1756         * src/item-grid.c (item_grid_draw_region): fix background filling for
1757         rtl sheets. [#725276]
1759 2014-02-25  Morten Welinder  <terra@gnome.org>
1761         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1762         (gnumeric_create_popup_menu): Drop return value from handler.
1764         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1765         are cell comments by position.
1767 2014-02-24  Morten Welinder  <terra@gnome.org>
1769         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1771         * src/colrow.c (colrow_equal): Don't use floating-point equality
1772         here.  Allow a difference of 1e-5 pt for size.
1774 2014-02-23  Morten Welinder  <terra@gnome.org>
1776         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1777         fill in the new areas with most common styles for the rows to the
1778         left of the new columns or the columns above the new area.
1780 2014-02-19  Morten Welinder  <terra@gnome.org>
1782         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1783         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1785         * src/mathfunc.c (gnm_log2): New function.
1787 2014-02-18  Morten Welinder  <terra@gnome.org>
1789         * src/ssdiff.c (xml_style_changed): Report differences for
1790         auto-color settings.
1792 2014-02-17  Morten Welinder  <terra@gnome.org>
1794         * src/ssconvert.c (convert): Add --resize option.
1796 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1798         * src/item-grid.c (item_grid_realize): fix persistence of
1799         hyperlink tips. [see #724108]
1801 2014-02-16  Morten Welinder <terra@gnome.org>
1803         * configure.ac: Post-release bump.
1805 2014-02-16  Morten Welinder <terra@gnome.org>
1807         * Release 1.12.11
1809 2014-02-16  Morten Welinder  <terra@gnome.org>
1811         * src/func.c (function_dump_defs): Update boilerplate.
1813 2014-02-11  Morten Welinder <terra@gnome.org>
1815         * configure.ac: Post-release bump.
1817 2014-02-11  Morten Welinder <terra@gnome.org>
1819         * Release 1.12.10
1821 2014-02-07  Morten Welinder  <terra@gnome.org>
1823         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1824         entry on top of merged cells.  Fixes #723600.
1826 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1828         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1829         a better fix to previous issue.
1831 2014-01-30  Morten Welinder  <terra@gnome.org>
1833         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1834         toolbar icons.
1836         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1837         smoother (when not using the fallback).  Avoid using hard light
1838         for ant-ing -- that doesn't work for the same reason as alpha not
1839         working.  Always use phase=0 for non-ant stipples.
1840         (GnmItemCursor): Use the canvas item's visibility flag instead of
1841         rolling our own.
1843 2014-01-29  Morten Welinder  <terra@gnome.org>
1845         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1847         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1848         check for bad clipping somewhere in gtk+ or theme land.
1850 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1852         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1853         component reference to the workbook.
1855 2014-01-27  Morten Welinder  <terra@gnome.org>
1857         * src/func.c (function_dump_defs): Undo wiki change.
1859 2014-01-21  Morten Welinder  <terra@gnome.org>
1861         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1862         the amount of work we do for ant-ing.  Fixes #381011, patch from
1863         Jean.
1864         (ic_reload_style): Ignore alpha component of ant colours.
1866 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1868         * src/graph.c (gnm_go_data_vector_load_len),
1869         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1870         [#722294]
1872 2014-01-16  Morten Welinder  <terra@gnome.org>
1874         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1875         cb_darken_foreground_attributes and change to take non-white
1876         background into account.
1878 2014-01-12  Morten Welinder  <terra@gnome.org>
1880         * src/mathfunc.c (expmx2h): Split out from dnorm.
1881         (dhyper): Round the chosen "p" to float to improve accuracy of
1882         "q".
1884 2014-01-11  Morten Welinder  <terra@gnome.org>
1886         * src/mathfunc.c (pow1p): Improve accuracy.
1887         (R_D_nonint): Fix rounding problem.
1888         (ebd0): New extended version of bd0.
1889         (dpois_raw, dbinom_raw): Use ebd0.
1890         (dbinom_raw): Handle x==n and x==0 much better.
1892 2014-01-08  Morten Welinder  <terra@gnome.org>
1894         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1895         g_mkdtemp_full.
1897         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1899         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1900         return the WorkbookView instead of a boolean.
1902 2014-01-01  Morten Welinder  <terra@gnome.org>
1904         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1906 2013-12-31  Morten Welinder  <terra@gnome.org>
1908         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1909         mathfunc.c
1911 2013-12-30  Morten Welinder  <terra@gnome.org>
1913         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1914         (bd0): Reimplement.
1915         (dpois_raw): Avoid going through logs, if possible.
1917 2013-12-25  Morten Welinder  <terra@gnome.org>
1919         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1920         we return FALSE so we don't try to remove the source later.
1922 2013-12-22  Morten Welinder  <terra@gnome.org>
1924         * src/gui-util.c (gnm_widget_measure_string): New function
1925         allowing the elimination of all gtk_style_context_get_font calls.
1927 2013-12-19  Morten Welinder  <terra@gnome.org>
1929         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1930         especially when |x|<<1.  Ditto for x<-1.
1932 2013-12-17  Morten Welinder  <terra@gnome.org>
1934         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1935         multiplication.
1937 2013-12-14  Morten Welinder  <terra@gnome.org>
1939         * src/sf-gamma.c (complex_igamma): New function.
1941 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
1943         * */*.c: Fix some leaks and null dereferences pointed out by
1944         cppcheck.
1946 2013-12-12  Morten Welinder  <terra@gnome.org>
1948         * src/parser.y (array_row): Avoid overrunning string when multiple
1949         missing closing parentheses are detected.  Fixes #720353.
1951 2013-12-11  Morten Welinder  <terra@gnome.org>
1953         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1954         gdk_event_get_screen, not from ->screen.  This might fix #720182.
1956         * src/*.c: Use accessor function for GdkEvent when convenient.
1958 2013-12-07  Morten Welinder  <terra@gnome.org>
1960         * src/application.c (gnm_app_init): Don't allocate a
1961         GtkRecentManager if we are not in gui mode.
1963         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1964         behaviour.
1965         * src/dependent.c (deprange_hash): Ditto.
1967 2013-12-04  Morten Welinder  <terra@gnome.org>
1969         * src/sf-gamma.c (gamma_error_factor): Add extra term.
1971 2013-12-07  Morten Welinder  <terra@gnome.org>
1973         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1974         of the argument for [-1.5;-0.5].
1976         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1977         Re z < 1/2.  Avoid some overflow.
1979 2013-12-02  Morten Welinder  <terra@gnome.org>
1981         * src/sf-bessel.c (bessel_y): Use the J series when possible.
1983 2013-12-07  Morten Welinder  <terra@gnome.org>
1985         * src/sf-bessel.c (bessel_j): Use the taylor series in the
1986         parameter range where that makes sense.
1988         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1989         (gnm_beta): Ditto.
1991 2013-11-30  Morten Welinder  <terra@gnome.org>
1993         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
1994         negative values.
1996 2013-11-28  Morten Welinder <terra@gnome.org>
1998         * configure.ac: Post-release bump.
2000 2013-11-28  Morten Welinder <terra@gnome.org>
2002         * Release 1.12.9
2004 2013-11-25  Morten Welinder  <terra@gnome.org>
2006         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
2007         mathfunc.c
2009 2013-11-19  Morten Welinder  <terra@gnome.org>
2011         * src/print.c (print_page): Fix check for missing object.  Fixes
2012         #712662.
2014 2013-11-18  Morten Welinder  <terra@gnome.org>
2016         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2018 2013-11-15  Morten Welinder  <terra@gnome.org>
2020         * src/mathfunc.c (reduce_pi_half): New function.
2022 2013-11-14  Morten Welinder  <terra@gnome.org>
2024         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2025         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2027 2013-11-13  Morten Welinder  <terra@gnome.org>
2029         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
2031 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
2033         * src/sheet-object.c (sheet_object_view_button2_pressed),
2034         (sheet_object_view_class_init): implement double click for graph sheets.
2035         [#712216]
2037 2013-11-12  Morten Welinder  <terra@gnome.org>
2039         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2040         emission.
2041         (cb_bnotebook_page_reordered): New function.
2042         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2044         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2046 2013-11-06  Morten Welinder  <terra@gnome.org>
2048         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2050 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
2052         * src/workbook-view.c: add more introspection related comments.
2053         * src/workbook.c: ditto.
2055 2013-11-03  Morten Welinder  <terra@gnome.org>
2057         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2058         sin/cos before scaling by pi.
2060 2013-11-01  Morten Welinder  <terra@gnome.org>
2062         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2063         (gnm_gamma): Protect against unnecessary overflow at top of range.
2065 2013-10-31  Morten Welinder  <terra@gnome.org>
2067         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
2068         avoids accuracy problems since any cdf is completely flat in terms
2069         of floating point values when going sufficiently far into the
2070         tail.
2071         (qtukey): Ditto.
2072         (qbeta): Ditto.
2073         (J_bessel): Extend xlrg_BESS_IJ to match current R.
2074         (permut): Route this into pochhammer.
2075         (qfact): New function.  Tabulate 0! through 50000! using quad
2076         precision arithmetic.
2077         (combin, fact, pochhammer): Improve accuracy using qfact.
2079 2013-10-22  Morten Welinder  <terra@gnome.org>
2081         * src/func.c (function_call_with_exprs): Move flags argument into
2082         structure.
2084 2013-10-19  Morten Welinder  <terra@gnome.org>
2086         * src/hlink.c (_gnm_hlink_init): New function.
2087         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2089 2013-10-07  Morten Welinder <terra@gnome.org>
2091         * configure.ac: Post-release bump.
2093 2013-10-07  Morten Welinder <terra@gnome.org>
2095         * Release 1.12.8
2097 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2099         * src/cmd-edit.c (cmd_paste): chceck for locked cells
2101 2013-10-03  Morten Welinder  <terra@gnome.org>
2103         * src/item-cursor.c (item_cursor_draw): Drop expose area
2104         optimization that may not be correct with current gtk.  See bug
2105         #709320.
2107 2013-09-29  Morten Welinder  <terra@gnome.org>
2109         * src/main-application.c: Include <io.h> for win32.
2111         * src/wbc-gtk-actions.c: Include gutils.h for win32.
2113 2013-09-25  Morten Welinder  <terra@gnome.org>
2115         * src/gnumeric.css: Use lighter green for function marker.
2117 2013-09-01  Morten Welinder <terra@gnome.org>
2119         * configure.ac: Post-release bump.
2121 2013-09-01  Morten Welinder <terra@gnome.org>
2123         * Release 1.12.7
2125 2013-08-29  Morten Welinder  <terra@gnome.org>
2127         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2128         Fixes #707047.
2130 2013-08-28  Morten Welinder  <terra@gnome.org>
2132         * src/mathfunc.c (gnm_gamma): Improve precision for large
2133         arguments.
2134         (gnm_yn): Not needed anymore.
2135         (bessel_i): Don't mark error strings for translation.
2137 2013-08-27  Morten Welinder <terra@gnome.org>
2139         * configure.ac: Post-release bump.
2141 2013-08-27  Morten Welinder <terra@gnome.org>
2143         * Release 1.12.6
2145 2013-08-26  Morten Welinder  <terra@gnome.org>
2147         * src/sheet-style.c (cell_tile_dump): New function for debugging.
2148         (internal_style_list): Add fast pre-optimization to bring down the
2149         number of entries before we start messing with hashes.  Fixes
2150         #699045.
2152 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2154         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2155         GraphDimEditor::changed. See bug 706591 comment #2.
2157 2013-08-19  Morten Welinder <terra@gnome.org>
2159         * configure.ac: Post-release bump.
2161 2013-08-19  Morten Welinder <terra@gnome.org>
2163         * Release 1.12.5
2165 2013-08-15  Morten Welinder  <terra@gnome.org>
2167         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2168         Fixes #706095.
2170         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2171         parameters.  See bug 705913, comment 6.
2173 2013-08-13  Morten Welinder  <terra@gnome.org>
2175         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2177 2013-08-12  Morten Welinder  <terra@gnome.org>
2179         * src/sheet-object-widget.c (sow_create_widget): New function.
2180         Add sheet-object class to widgets.
2182 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2184         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2185         initial colour
2186         (sheet_widget_button_draw_cairo): also scale line thickness
2187         (sheet_widget_checkbox_draw_cairo): scale button size
2188         (sheet_widget_radio_button_draw_cairo): scale button size
2190 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2192         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2193         argument and change all callers
2195 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2197         * src/sheet-object-widget.c (get_font): add fall-backs
2199 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2201         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2202         draw_cairo_text.
2203         (draw_cairo_text): add h-vcenter argument and change all callers
2205 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
2207         * src/sheet-object-widget.c (cb_range_destroyed),
2208         (sheet_widget_scrollbar_create_widget),
2209         (sheet_widget_spinbutton_create_widget),
2210         (sheet_widget_slider_create_widget): avoid crashing after destroying a
2211         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2213 2013-08-09  Morten Welinder  <terra@gnome.org>
2215         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2216         get_font.
2217         (get_font): New function extracted from draw_cairo_text.
2219 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2221         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2222         if possible
2224 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2226         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2227         allow multi-paragraph with a highlighted line. Change all callers
2228         (sheet_widget_list_draw_cairo): use draw_cairo_text
2230 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2232         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2233         cairo version for Gnuemric too.
2234         (sheet_widget_button_draw_cairo): ditto
2235         (sheet_widget_scrollbar_draw_cairo): ditto
2236         (sheet_widget_spinbutton_draw_cairo): ditto
2237         (sheet_widget_slider_draw_cairo): ditto
2238         (sheet_widget_checkbox_draw_cairo): ditto
2239         (sheet_widget_radio_button_draw_cairo): ditto
2240         (sheet_widget_list_draw_cairo): ditto
2241         (sheet_widget_combo_draw_cairo): ditto
2243 2013-08-08  Morten Welinder  <terra@gnome.org>
2245         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2246         Reduce crazy relative offsets.
2248 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2250         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2251         change all callers
2252         (sheet_widget_frame_draw_cairo): new
2253         (sheet_widget_button_draw_cairo): new
2254         (sheet_widget_scrollbar_horizontal_draw_cairo): new
2255         (sheet_widget_scrollbar_vertical_draw_cairo): new
2256         (sheet_widget_scrollbar_class_init): connect the above
2257         (sheet_widget_spinbutton_draw_cairo): new
2258         (sheet_widget_spinbutton_class_init): connect the above
2259         (sheet_widget_slider_horizontal_draw_cairo): new
2260         (sheet_widget_slider_vertical_draw_cairo): new
2261         (sheet_widget_slider_draw_cairo): new
2262         (sheet_widget_slider_class_init): connect the above
2263         (sheet_widget_list_draw_cairo): new
2264         (sheet_widget_list_class_init): connect the above
2265         (sheet_widget_combo_draw_cairo): new
2266         (sheet_widget_combo_class_init): connect the above
2268 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2270         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2271         change all uses of this macro
2272         (draw_cairo_text): new
2273         (sheet_widget_checkbox_draw_cairo): new
2274         (sheet_widget_radio_button_draw_cairo): new
2276 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2278         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2279         gtk_offscreen_window_new without a default screen (see bugs #705638
2280         and #705640)
2282 2013-08-07  Morten Welinder  <terra@gnome.org>
2284         * src/ssconvert.c (main): Initialize gtk+ without opening any
2285         display.
2287 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2289         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2291 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2293         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2294         * src/sheet-control-gui.c (scg_init): init new fields
2295         (scg_im_destroy): new
2296         (scg_finalize): call scg_im_destroy
2297         (cb_cell_im_timer): new
2298         (scg_find_pane): new
2299         (scg_show_im_tooltip): new
2300         (scg_class_init): init new field
2301         * src/sheet-control-priv.h: add field
2302         * src/sheet-control.c: add virtual
2303         * src/sheet-control.h: add virtual
2304         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2305         (sv_update): call sheet_view_edit_pos_tool_tips
2306         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2307         in pixels
2308         (sheet_row_get_distance_pixels): new
2309         * src/sheet.h (sheet_row_get_distance_pixels): new
2311 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2313         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2314         nodes in guppi graphs. [Debian #718594]
2316 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2318         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2319         'default'
2321 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2323         * src/sheet-control-gui.c (context_menu_handler): add argument to
2324         dialog_cell_format call
2325         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2326         dialog_cell_format call
2327         (cb_data_validate): ditto
2329 2013-07-30  Morten Welinder  <terra@gnome.org>
2331         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2332         colour.  Fixes rest of #705031.
2334 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2336         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2338 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2339         for Dmitry Smirnov
2340         * gnumeric.desktop.in: add ODS files
2342 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2344         * src/graph.c (gnm_go_data_vector_load_values): really load all
2345         values for multiple ranges.
2347 2013-07-19  Morten Welinder  <terra@gnome.org>
2349         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2350         check: the enum has a hole in the middle.  Fixes #704562.
2352 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2354         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2355         printing.
2356         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2358 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2360         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2361         (gnm_so_path_set_property): ditto
2362         (gnm_so_path_get_property): ditto
2364 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2366         * src/gnm-so-path.c (so_path_view_set_bounds),
2367         (cb_gnm_so_path_changed): a better fix for the text position.
2369 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2371         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2372         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2373         * src/gnm-so-path.c (so_path_view_set_bounds),
2374         (cb_gnm_so_path_changed): fix text wrap in paths too.
2376 2013-07-16  Morten Welinder  <terra@gnome.org>
2378         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2379         computing range size.  Fixes #704325.
2381 2013-07-15  Morten Welinder  <terra@gnome.org>
2383         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2384         that.  Fixes #704004.
2386         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2388         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2389         against oversize range.
2391 2013-07-12  Morten Welinder  <terra@gnome.org>
2393         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2394         sure it falls within the sheet.
2395         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2396         parts are on different sheets.  Fixes #704109.
2398 2013-07-10  Morten Welinder <terra@gnome.org>
2400         * configure.ac: Post-release bump.
2402 2013-07-10  Morten Welinder <terra@gnome.org>
2404         * Release 1.12.4
2406 2013-07-10  Morten Welinder  <terra@gnome.org>
2408         * src/value.c (parse_criteria): Patterns should anchor at the end
2409         (#703770) and be case insensitive (no bug#).
2411 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2413         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2414         to create an image of unknown type
2416 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2418         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2419         signage
2420         (cb_assign_val): quieten warning about signed/unsigned comparison
2422 2013-07-03  Morten Welinder  <terra@gnome.org>
2424         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2425         crazy-large ranges.
2426         (cb_assign_val): Ditto.
2428 2013-07-02  Morten Welinder  <terra@gnome.org>
2430         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2431         (cb_style_list_add_node): Ditto.
2432         (verify_hashes): Ditto.
2433         (internal_style_list): Ditto.
2435         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2436         deck chairs.
2438 2013-07-01  Morten Welinder  <terra@gnome.org>
2440         * configure.ac (long double): Crude use -lm for long double
2441         function checks.  Fixes #703397.
2443 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2445         * src/expr.c (gnm_expr_list_copy): new
2446         * src/expr.h (gnm_expr_list_copy): new
2448 2013-06-26  Morten Welinder  <terra@gnome.org>
2450         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2451         of ->op before using it.  Fixes #703143.
2453 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2455         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2456         [#703052]
2457         (gnm_so_path_copy): fixed copy with multiple paths.
2459 2013-06-25  Morten Welinder <terra@gnome.org>
2461         * configure.ac: Post-release bump.
2463 2013-06-25  Morten Welinder <terra@gnome.org>
2465         * Release 1.12.3
2467 2013-06-24  Morten Welinder  <terra@gnome.org>
2469         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2470         sheet.  Fixes #703006.
2472 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2474         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2475         without sheet
2477 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2479         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2480         a valid pattern. [#702833]
2481         * src/pattern.c (gnumeric_background_set): ditto.
2483 2013-06-21  Morten Welinder  <terra@gnome.org>
2485         * src/item-grid.c (item_grid_draw_region): Plug leak.
2487         * src/item-bar.c (ib_reload_style): Plug leak.
2489 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2491         * src/wbc-gtk.c (show_gui): protect against excessively large
2492         preferred widow sizes
2494 2013-06-14  Morten Welinder  <terra@gnome.org>
2496         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2498         * src/workbook.c (workbook_sheet_delete): Debug.
2499         (workbook_dispose): Also clear style here.  Styles can have
2500         dependents now.  Fixes #702218.
2502 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2504         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2506 2013-06-12  Morten Welinder  <terra@gnome.org>
2508         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2509         Fixes #702101.
2511 2013-06-04  Morten Welinder  <terra@gnome.org>
2513         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2515 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2517         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2518         (scg_comment_display): adjust background and fontcolor if necessary
2520 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2522         * src/item-grid.c (cb_cursor_come_to_rest):
2523         gnumeric_position_tooltip needs the tooltip size, so load the text
2524         before calling it.
2526 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2528         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2529         with button 2
2531 2013-05-27  Morten Welinder  <terra@gnome.org>
2533         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2534         and we aren't very good at it.
2536 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2538         * component/Gnumeric-embed.xml.in: add accelerator
2539         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2540         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2541         (EditGotoCellIndicator): new
2542         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2543         (wbcg_focus_current_cell_indicator): new
2544         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2546 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2548         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2549         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2550         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2551         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2553 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2555         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2556         behave the same as far as cell selection is concerned. This fixes
2557         bug #700792
2558         (item_grid_button_released): ditto
2560 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2562         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2563         to include hidden cells
2564         (cb_sheet_get_extent): handle hidden cells setting
2565         (sheet_get_printarea): do not include hidden cells
2566         * src/sheet.h (sheet_get_extent): add argument and change all
2567         callers
2569 2013-05-26  Morten Welinder  <terra@gnome.org>
2571         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2572         Termiate when contributions vanish.
2574 2013-05-24  Morten Welinder  <terra@gnome.org>
2576         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2577         the outer integral.
2578         (pfuncinverter): Handle lack of dfunc (poorly).
2580 2013-05-23  Morten Welinder  <terra@gnome.org>
2582         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2583         interval out from out from R_ptukey.
2584         (R_ptukey): Split the interval nearest 0 into a sequence of
2585         intervals over which the integrand looks a lot more like a
2586         polynomial.  This fixes accuracy problems for low degrees of
2587         freedom.
2589         * src/sheet-style.c (internal_style_list): Fix critical.
2591 2013-05-22  Morten Welinder  <terra@gnome.org>
2593         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2595 2013-05-21  Morten Welinder  <terra@gnome.org>
2597         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2599 2013-05-19  Morten Welinder  <terra@gnome.org>
2601         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2602         boundaries.
2603         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2605 2013-05-18  Morten Welinder  <terra@gnome.org>
2607         * src/mathfunc.c (pnorm2): New function.
2608         (R_ptukey): New function imported from R with local improvements.
2610 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2612         * src/print.c (gnm_create_widget_cb): by default observe
2613         manual page breaks
2615 2013-05-14  Morten Welinder  <terra@gnome.org>
2617         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2618         (gnm_range_geometric_mean): Handle two FIXMEs.
2620 2013-05-13  Morten Welinder  <terra@gnome.org>
2622         * src/*.c: Mark gobject property strings as P_(...).
2624 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2626         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2628 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2630         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2631         rather than gnm_cell_assign_value
2633 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2635         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2636         first column
2638 2013-05-05  Morten Welinder  <terra@gnome.org>
2640         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2641         rendered value here.  Fixes #699647.
2643 2013-05-03  Morten Welinder  <terra@gnome.org>
2645         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2646         accelerator for redo.  Fixes #699579.
2647         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2648         focusable.
2650         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2652 2013-05-01  Morten Welinder  <terra@gnome.org>
2654         * src/print-info.c: Add gsf includes to make things work with
2655         libgsf 1.14.24.  Redhat #957851.
2657 2013-04-29  Morten Welinder  <terra@gnome.org>
2659         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2660         cells.
2662 2013-04-26  Morten Welinder <terra@gnome.org>
2664         * configure.ac: Post-release bump.
2666 2013-04-26  Morten Welinder <terra@gnome.org>
2668         * Release 1.12.2
2670 2013-04-26  Morten Welinder  <terra@gnome.org>
2672         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2673         row/column items the default.
2675 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2677         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2679 2013-04-24  Morten Welinder  <terra@gnome.org>
2681         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2682         widget parameter.  All callers changed.
2684         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2685         delayedMovement.timer.
2687         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2688         animation_cursor.
2690         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2691         windows_update_timer.
2693         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2694         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2695         valid tag.
2697         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2698         sliding).
2700 2013-04-23  Morten Welinder  <terra@gnome.org>
2702         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2704         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2705         critical.  Fixes #698680.
2707         * src/gui-file.c (gui_file_save_as): For export, change extension.
2708         Fixes #698636.
2710 2013-04-22  Morten Welinder  <terra@gnome.org>
2712         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2713         Somehow fixes #625687.
2715 2013-04-20  Morten Welinder  <terra@gnome.org>
2717         * src/go-data-slicer-field.c
2718         (go_data_slicer_field_set_field_type_pos): Add precondition for
2719         slicer.
2721 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2723         * src/print-info.c (render_title): new
2725 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2727         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2728         cells.
2729         (sheet_range_set_text): ditto
2731 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2733         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2734         than padding.
2736 2013-04-22  Morten Welinder  <terra@gnome.org>
2738         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2740 2013-04-19  Morten Welinder  <terra@gnome.org>
2742         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2743         view approach.  Fixes #689283.
2745         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2746         mode.
2747         (wbc_gtk_init_color_fore): Ditto.
2748         (wbc_gtk_init_color_back): Ditto.
2750 2013-04-17  Morten Welinder  <terra@gnome.org>
2752         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2753         button.
2755         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2756         font_name_haction.
2758         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2759         only for horizontal toolbars.
2761         * src/gui-file.c (file_saver_format_changed_cb): New function to
2762         change the extension when the format is changed.
2763         (gui_file_save_as): Don't try to hide the extension -- it
2764         interferes with the file chooser's completion.  Fixes #695839.
2766 2013-04-16  Morten Welinder  <terra@gnome.org>
2768         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2769         menu for graph sheets.  Fixes #685446.
2770         (sheet_menu_label_run): Disable resize for graph sheets.
2772         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2773         #661800.
2774         (parse_criteria): Handle criteria "=" and "<>" (with no value
2775         after the operator) special.  These test for empty and non-empty
2776         values.  Fixes #686156.
2778         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2779         "anchor_start" and "anchor_end".  All callers changed.
2781 2013-04-15  Morten Welinder  <terra@gnome.org>
2783         * src/application.c (add_icon): Plug leak.
2785         * src/number-match.c (format_match_decimal_number): Try also major
2786         non-locale currencies.  Fixes #577768.
2788 2013-04-13  Morten Welinder  <terra@gnome.org>
2790         * src/mathfunc.c (pochhammer): Improve precision a bit.
2791         (binomialcf): Lower cfSmall by 10^3.  This helps
2792         pbeta(0.9,10,0.5).
2794         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2795         doesn't prevent multiple versions from co-existing.
2797         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2798         dirty.  Callers already appear to handle this when needed
2799         and not when not wanted.  Fixes #697927.
2801 2013-04-12  Morten Welinder  <terra@gnome.org>
2803         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2804         #697850.
2805         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2806         reported to R).
2807         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2809 2013-04-11  Morten Welinder  <terra@gnome.org>
2811         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2812         reference with invalid_sheet.  Fixes #683494.
2814         * src/complex.c (complex_to_string): Drop format arguments.  All
2815         callers changed.  Make up a format with enough precision for round
2816         tripping.  Fixes #697634.
2818 2013-04-09  Morten Welinder  <terra@gnome.org>
2820         * src/complex.c (complex_from_string): Make this handle embedded
2821         spaces systematically.
2822         (is_unit_imaginary): Delete.
2824 2013-04-09  Morten Welinder  <terra@gnome.org>
2826         * src/complex.c (complex_pow): Use Goffice's copy.
2828 2013-04-05  Morten Welinder  <terra@gnome.org>
2830         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2831         new screens.  Add hack for pre-GTK 3.4.
2833         * src/mathfunc.c (gnm_owent): New function.
2835 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2837         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2838         functions used as vectors. [697281]
2840 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2842         * src/graph.c (gnm_go_data_vector_load_values),
2843         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2844         arrays. [697107]
2846 2013-04-03  Morten Welinder  <terra@gnome.org>
2848         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2849         attributes of the tab.
2851         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2852         GnmNotebookButton, not an EditableLabel.
2854 2013-04-02  Morten Welinder  <terra@gnome.org>
2856         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2857         widget.
2858         (cb_wbcg_drag_leave): Ditto.
2860 2013-03-27  Morten Welinder  <terra@gnome.org>
2862         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2863         key we look up.  When did that change?
2865 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2867         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2868         remove the frame.
2870 2013-03-26  Morten Welinder  <terra@gnome.org>
2872         * src/item-edit.c: Theme the in-cell edit background color.
2874         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2875         into here.
2876         src/gui-gnumeric.h: Remove.
2878         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2879         non-NULL if there is a selection.
2880         (gnumeric_background_set_gtk): Delete.  Make callers use
2881         gnumeric_background_set.
2883         * src/preview-grid.c (preview_grid_draw_background): Always
2884         provide a context to gnumeric_background_set.
2885         * src/item-edit.c (item_edit_draw): Ditto.
2887         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2888         separate the different cursor types.  Separate autofill colouring
2889         from drag ditto.
2891 2013-03-25  Morten Welinder  <terra@gnome.org>
2893         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2894         color to GOColor.
2895         (ic_reload_style): Theme some of the cursor colors.
2897         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2898         not colour name.
2900         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2902         * src/gnumeric.css: use deprecated px-free syntax for padding, so
2903         gtk+ 3.2 can deal with it.
2905         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2906         can suppress deprecations.
2908         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2909         the "all" button.
2911         * src/item-bar.c (ib_reload_style): Load fonts from style.
2913 2013-03-24  Morten Welinder  <terra@gnome.org>
2915         * src/item-grid.c (item_grid_draw_region): Draw the background at
2916         the right coordinates!
2918 2013-03-23  Morten Welinder  <terra@gnome.org>
2920         * src/item-bar.c (ib_draw_cell): There's no point in going to and
2921         from GOColor here.  Just use the color as-is.
2923 2013-03-19  Morten Welinder  <terra@gnome.org>
2925         * src/application.c (install_icons): Install also the icon themed
2926         icons.  No idea why we have both.
2928         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2930         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2931         (embedded_imgs): Add the rest from pixmaps.
2933         * configure.ac: No longer create src/pixmaps/Makefile
2935         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2936         these work for resources and absolute paths.
2938 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2940         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2941         not sizeable objects bounds after dragging when zoom is not 100%.
2943 2013-03-18  Morten Welinder  <terra@gnome.org>
2945         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2946         filter.  It takes just long enough to be irritating.
2948 2013-03-17  Morten Welinder  <terra@gnome.org>
2950         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2951         style since we're not picking it explicitly.
2952         (cb_font_filter): Fix leak.
2954 2013-03-14  Morten Welinder  <terra@gnome.org>
2956         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2957         ignore non-scalable fonts.
2959 2013-03-11  Morten Welinder  <terra@gnome.org>
2961         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2963 2013-03-10  Morten Welinder  <terra@gnome.org>
2965         * src/ssconvert.c (list_them): Skip savers/openers that require
2966         interaction.  (We don't have any yet.)
2968         * src/stf.c (stf_read_workbook): Set error when we fail due to
2969         lack of GUI.
2970         (stf_init): Mark the configurable saver/opener as interactive.
2972         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
2974 2013-03-09  Morten Welinder <terra@gnome.org>
2976         * configure.ac: Post-release bump.
2978 2013-03-09  Morten Welinder <terra@gnome.org>
2980         * Release 1.12.1
2982 2013-03-06  Morten Welinder  <terra@gnome.org>
2984         * src/wbc-gtk.c (list_actions): Handle a null group.
2986 2013-03-03  Morten Welinder  <terra@gnome.org>
2988         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2989         g_thread_init if compiled with later than glib 2.32.0.
2991 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
2993         * src/gnm-pane-impl.h: remove alignments.
2994         * src/gnm-pane.c (gnm_pane_header_init): dittO;
2995         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2996         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2997         * src/sheet-control-gui-priv.h: remove all tables by one grid.
2998         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2999         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
3000         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
3001         (scg_mode_edit): ditto.
3002         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
3003         (cb_sheet_visibility_change), (wbcg_sheet_add),
3004         (wbcg_sheet_remove), (wbcg_sheet_focus),
3005         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
3006         (wbcg_get_nth_scg): ditto.
3008 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3010         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3011         * src/print.c (gnm_create_widget_cb): ditto.
3012         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3014 2013-03-01  Morten Welinder  <terra@gnome.org>
3016         * src/mathfunc.h: Make sure the "q" functions take "p" as their
3017         first argument, not "x".
3019 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
3021         reviewed by: <delete if not using a buddy>
3023         * INSTALL:
3024         * src/sheet-object-widget.c (sheet_widget_button_user_config),
3025         (sheet_widget_adjustment_user_config_impl),
3026         (sheet_widget_checkbox_user_config),
3027         (sheet_widget_radio_button_user_config):
3028         * src/wbc-gtk.c (wbc_gtk_init):
3030 2013-02-28  Morten Welinder  <terra@gnome.org>
3032         * configure.ac: remove the DISABLE_DEPRECATED defines even from
3033         development versions.  We now get the information through gcc
3034         warnings.
3035         (solver): Make solver code unconditional.  Feel free to not
3036         distribute the relevant plugins.
3038 2013-02-26  Morten Welinder  <terra@gnome.org>
3040         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
3042 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
3044         * src/number-match.c: more introspection warnings.
3046 2013-02-23  Morten Welinder  <terra@gnome.org>
3048         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3050 2013-02-21  Morten Welinder  <terra@gnome.org>
3052         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3053         GHFunc.  All callers changed.  Impose a robust ordering.
3054         (sh_all_styles): New function replacing sh_foreach.
3056 2013-02-20  Morten Welinder  <terra@gnome.org>
3058         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3060 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
3062         * configure.ac: make configure --with-python fail when some
3063         dependency is missing.
3065 2013-02-17  Morten Welinder  <terra@gnome.org>
3067         * configure.ac (set_more_warnings): Improve support for clang.
3069 2013-02-16  Morten Welinder  <terra@gnome.org>
3071         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3072         (Most cases a matter of 0 vs. 0.)
3074 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
3076         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3077         default value for stf export format.
3078         * src/dependent.c: fix introspection warnings.
3079         * src/sheet-style.c: ditto.
3081 2013-02-15  Morten Welinder  <terra@gnome.org>
3083         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3084         3.2.0 just like goffice.
3086         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3087         requiring gtk 3.2
3089 2013-02-14  Morten Welinder  <terra@gnome.org>
3091         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3092         not MAXDOUBLE.  Fixes #693761.
3094 2013-02-10  Morten Welinder  <terra@gnome.org>
3096         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3097         doesn't belong here.  We handle everything in rstyle_apply.
3099 2013-02-08  Morten Welinder  <terra@gnome.org>
3101         * src/sheet-style.c (rstyle_apply): Take extra range argument and
3102         link/unlink style dependents.  All callers changed.
3103         (sheet_style_shutdown): Set default style for whole sheet to
3104         ensure style dependents get cleared.
3106 2013-02-07  Morten Welinder  <terra@gnome.org>
3108         * src/sheet-style.c (cell_tile_optimize): Implement
3109         ptr-matrix-to-matrix optimization and use it to simplify things.
3111         * src/dependent.c (GnmStyleDependent): New type of dependent.
3112         When triggered, the cells in which it resised will be rerendered
3113         and redrawn.
3115         * src/mstyle.c (gnm_style_link_dependents)
3116         (gnm_style_unlink_dependents): New functions to manage style
3117         dependents due to conditional formatting.
3119 2013-02-06  Morten Welinder  <terra@gnome.org>
3121         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3122         inside-out in anticipation of future changes.
3124         (col_indicies, row_indicies): Alignment of the corners of apply_to
3125         is only relevant if we are within the tile.
3127 2013-02-06  Morten Welinder  <terra@gnome.org>
3129         * src/sheet-style.c (tile_is_uniform): Extract from
3130         cell_tile_optimize.
3131         (vector_apply_pstyle): Don't return a value.
3132         (cell_tile_apply): Use tile_is_uniform.
3134 2013-02-05  Morten Welinder  <terra@gnome.org>
3136         * src/sheet-style.c (sheet_style_get): Simplify with "while"
3137         instead of crazy "goto".
3138         (cell_tile_apply): Simplify the covers-whole-tile case.
3140         * src/sheet.h (Sheet): Remove max_width and max_height members.
3141         All users fixed.
3143         * src/dependent.h (GnmDependentClass): Add pos handler.
3145         * src/dependent.c (dependent_pos): Use pos handler.
3146         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3148 2013-02-04  Morten Welinder  <terra@gnome.org>
3150         * src/dependent.c (dependent_pos): Make global.
3152         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3153         dependent_pos.
3155         * src/ssconvert.c (run_tool_test): Add code for running the
3156         regression tool.
3157         (convert): Run an analysis tool if requested.  (For testing.)
3159 2013-02-02  Morten Welinder  <terra@gnome.org>
3161         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3162         and rstyle_ctor_pstyle.  All callers changed.
3164 2013-01-18  Morten Welinder  <terra@gnome.org>
3166         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3167         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3168         New matrix support.
3169         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3170         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3172 2013-01-15  Morten Welinder  <terra@gnome.org>
3174         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3175         import from command line.
3177 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3179         * configure.ac: renamed configure.in and update obsolete macros.
3180         * configure.in: ditto.
3182 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
3184         * configure.in: Add
3185         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3186         includes.
3188 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
3190         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3191         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3192         twice the top and bottom margins when displaying a graph
3193         sheet. [#691472]
3195 2013-01-10  Morten Welinder  <terra@gnome.org>
3197         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3198         argument and assume TRUE.  Drop scope name and assume NULL (which
3199         is what all callers should have used).  All callers changed.
3200         (gnm_func_add_placeholder): Ditto.
3201         (invent_name): Downcase the preferred name.
3202         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3203         (gnm_func_add): Initialize arg_names_p.
3205         * src/gnm-plugin.c (plugin_service_function_group_activate):
3206         Upgrade existing placeholder functions as needed.
3208         * src/func.c (gnm_func_upgrade_placeholder): Rename from
3209         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
3211 2013-01-10  Morten Welinder  <terra@gnome.org>
3213         * src/func.c (gnm_func_add_placeholder_localized): New function.
3214         (gnm_func_add_placeholder_full): Extract from
3215         gnm_func_add_placeholder.  Handle localization better.
3216         (gnm_func_set_localized_name): New function.
3217         (gnm_func_free, gnm_func_get_name): Use
3218         gnm_func_set_localized_name.
3220         * src/parse-util.c (std_func_map): Improve handling of unknown
3221         function names.
3223         * src/func.c (gnm_func_group_remove_func): Factor this out from...
3224         (gnm_func_free): ...here.
3226 2013-01-09  Morten Welinder  <terra@gnome.org>
3228         * src/symbol.c: delete.
3230         * src/func.c: rewrite to use GHashTable instead of symbol.c
3231         (gnm_func_lookup_prefix): Take extra argument indicating whether
3232         to search translated names.  Caller changed.
3234         * src/parse-util.c (std_func_map): Lookup translated name as
3235         needed.
3236         (parse_util_init): Add enviroment magic to turn on translated
3237         functions names.  This is not ready for prime time and should be
3238         controlled by a user preference eventually.
3240         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
3241         bit.
3243 2013-01-07  Morten Welinder  <terra@gnome.org>
3245         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3246         pivot.  Use gnm_hypot where possible.
3248 2013-01-04  Morten Welinder  <terra@gnome.org>
3250         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3251         as argument.  Keep track of displays.
3252         (gnm_x_disown_clipboard): New function.
3254         * src/application.c (gnm_app_clipboard_clear): Use
3255         gnm_x_disown_clipboard to make things multi-head safe.
3257 2013-01-03  Morten Welinder  <terra@gnome.org>
3259         * src/collect.c (collect_floats): Fix handling of
3260         COLLECT_IGNORE_ERRORS.
3261         (collect_strings): Ditto.
3262         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3264 2013-01-01  Morten Welinder  <terra@gnome.org>
3266         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3267         deprecated goffice stuff.
3269         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3270         unused variable.
3271         * src/gnm-pane.c (control_point_leave_notify): Ditto.
3272         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3273         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3275         * src/application.c (gnm_app_history_add): Kill warning.
3277 2012-12-31  Morten Welinder  <terra@gnome.org>
3279         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3280         Fixed #690929.
3282         * src/ssdiff.c: Introduce --highlight mode.
3284 2012-12-30  Morten Welinder  <terra@gnome.org>
3286         * src/ssdiff.c (main): Add option to send output to a file.
3288 2012-12-29  Morten Welinder  <terra@gnome.org>
3290         * src/ssdiff.c (diff): Use C locale.
3291         (ignore_cell): Ignore arrays, except for the corner.
3292         (output_cell): New function taking proper care of value types,
3293         convensions, etc.
3294         (xml_cell_changed): Use output_cell.
3295         (compare_corresponding_cells): Don't use entered_text here either,
3296         although it's harmless.
3297         (output_cell, compare_corresponding_cells): Handle value formats
3298         too.
3300 2012-12-28  Valek Filippov  <frob@df.ru>
3302         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3303         gdk_window_get_pointer calls.
3305 2012-12-28  Morten Welinder  <terra@gnome.org>
3307         * src/*.c: Eliminate use of printf.
3309         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3310         range offset here.  This may need to move further.
3311         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3312         (diff_sheets_cells): Ignore completely empty cells.
3313         (xml_sheet_start): Change meaning of Old and New attributes to be
3314         index_in_wb and absent when workbook doesn't have the sheet.
3315         (xml_style_changed): Describe style differences.
3317 2012-12-27  Morten Welinder  <terra@gnome.org>
3319         * src/ssdiff.c (diff_sheets): Compare styles too.
3321         * src/sheet-style.c (sheet_style_range_foreach): Add optional
3322         range argument.  All callers changed.
3324 2012-12-24  Morten Welinder  <terra@gnome.org>
3326         * src/ssdiff.c (def_cell_changed): Merge cell_added and
3327         cell_removed handlers into the cell_changed handler.
3328         (main): Add --xml option.
3330         * configure.in: ssconvert, ssindex, and ssgrep are no longer
3331         configurable.  We need ssconvert for the test and it's silly
3332         anyway.
3334 2012-12-18  Morten Welinder <terra@gnome.org>
3336         * configure.in: Post-release bump.