Updated Czech translation
[gnumeric.git] / ChangeLog
blob6f2eeb0e9446a4c697bb52d6eea1e7d199a4bc36
1 2016-08-21  Morten Welinder  <terra@gnome.org>
3         * src/sstest.c (options): Add --fast option.
5         * src/value.c (value_get_as_gstring): Let a negative
6         decimal_digits mean "shortest round-tripping string".
8 2016-08-20  Morten Welinder <terra@gnome.org>
10         * configure.ac: Post-release bump.
12 2016-08-20  Morten Welinder <terra@gnome.org>
14         * Release 1.12.32
16 2016-08-08  Morten Welinder  <terra@gnome.org>
18         * src/criteria.c (criteria_inspect_values): Add flag for string
19         coercion.  Only the equality test wants that.
21         * src/value.c (criteria_inspect_values): Floats don't match
22         errors.
24 2016-08-04  Morten Welinder  <terra@gnome.org>
26         * src/rangefunc-strings.c (range_concatenate): Add (unused) user
27         pointer.
29         * src/collect.c (string_range_function): Add user pointer.  Caller
30         changed.
32 2016-06-29  Morten Welinder <terra@gnome.org>
34         * configure.ac: Post-release bump.
36 2016-06-29  Morten Welinder <terra@gnome.org>
38         * Release 1.12.31
40 2016-06-29  Morten Welinder  <terra@gnome.org>
42         * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
43         related to sheet-local names.  [#768164]
45 2016-06-28  Morten Welinder  <terra@gnome.org>
47         * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
48         of different lenghts.
50 2016-06-21  Morten Welinder  <terra@gnome.org>
52         * src/value.c (criteria_test_greater_or_equal): Use case-folding
53         comparisons for strings.
54         (parse_criteria, parse_criteria_range): Add argument controlling
55         whether to anchor matching at end of string.
56         (parse_database_criteria): Don't anchor here.
58 2016-06-17  Morten Welinder <terra@gnome.org>
60         * configure.ac: Post-release bump.
62 2016-06-17  Morten Welinder <terra@gnome.org>
64         * Release 1.12.30
66 2016-06-17  Morten Welinder  <terra@gnome.org>
68         * src/value.c (parse_criteria): Anchor matches at the beginning,
69         but not at the end.
71 2016-06-11  Morten Welinder  <terra@gnome.org>
73         * src/value.c (find_rows_that_match): Fix blank handling.
74         (criteria_test_unequal): Wrong type means unequal.
75         (criteria_test_match): Only match strings.
76         (parse_criteria): Don't anchor matches.  This is the right thing
77         to do for DSUM and friends.  Hopefully this doesn't break anything
78         else.
79         (criteria_inspect_values): Strings are incompatible with
80         non-strings.
81         (criteria_test_less, criteria_test_less_or_equal)
82         (criteria_test_greater, criteria_test_greater_or_equal): handle
83         strings.
85 2016-05-19  Morten Welinder  <terra@gnome.org>
87         * src/stf-parse.c (stf_parse_options_guess_formats): Separate
88         decimal counts for the hypothetical comma and point choices.
90 2016-05-10  Morten Welinder  <terra@gnome.org>
92         * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
93         members.  Doc fix.
95 2016-05-06  Morten Welinder <terra@gnome.org>
97         * configure.ac: Post-release bump.
99 2016-05-06  Morten Welinder <terra@gnome.org>
101         * Release 1.12.29
103 2016-04-29  Morten Welinder  <terra@gnome.org>
105         * src/gui-util.c (gnm_style_context_get_color): Fix function
106         wrapping gtk_style_context_get_color which changed API.
108 2016-04-24  Morten Welinder  <terra@gnome.org>
110         * src/value-sheet.c (value_area_get_x_y): Use
111         gnm_rangeref_normalize.  Do full wrap-around.
113 2016-04-24  Jean Brefort  <jean.brefort@normalesup.org>
115         * src/graph.c (gnm_go_data_matrix_load_values): fix array
116         reading. [#765483]
118 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
120         * configure.ac: protect against pxlib weirdness.
122 2016-04-17  Jean Brefort  <jean.brefort@normalesup.org>
124         * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
125         value is an error.
127 2016-03-22  Morten Welinder <terra@gnome.org>
129         * configure.ac: Post-release bump.
131 2016-03-22  Morten Welinder <terra@gnome.org>
133         * Release 1.12.28
135 2016-03-02  Morten Welinder  <terra@gnome.org>
137         * src/sf-bessel.c: Return complex numbers by value, not reference.
139 2016-02-23  Morten Welinder  <terra@gnome.org>
141         * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
143 2016-02-18  Morten Welinder  <terra@gnome.org>
145         * src/parse-util.c (unquote): Properly account backslashes.  Fixes
146         #762278.
148 2016-02-12  Morten Welinder  <terra@gnome.org>
150         * src/complex.h: Add a direct-value interface.
152         * src/ssconvert.c (run_solver): Also create solver reports as
153         indicated in options.
155         * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
157 2016-02-10  Morten Welinder  <terra@gnome.org>
159         * src/gnumeric.css (toolbarzone): Set padding for toolbar children
160         to 1px.  While that may be a sligh increase for certain
161         themes/gtk+ versions, it is a large decrease for others, notably
162         what comes with an out-of-the-box OpenSuSE leap.  Override in
163         ~/.config/gtk-3.0/gtk.css if need be.
165         * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
166         wheel for horizontal motion instead of alt.  Window managers tend
167         to eat the latter.
169 2016-02-08  Morten Welinder  <terra@gnome.org>
171         * src/graph.c (gnm_go_data_vector_eval)
172         (gnm_go_data_vector_finalize): Plug leak.
174 2016-02-06  Morten Welinder <terra@gnome.org>
176         * configure.ac: Post-release bump.
178 2016-02-06  Morten Welinder <terra@gnome.org>
180         * Release 1.12.27
182 2016-02-06  Morten Welinder  <terra@gnome.org>
184         * configure.ac (goffice): Require latest for
185         go_complex_from_polar_pi.
187         * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
188         when x<0 and a is real.
190 2016-02-04  Morten Welinder  <terra@gnome.org>
192         * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
193         (gnm_complex_continued_fraction): Fail if we would otherwise try
194         to rescale by 0.  Fix termination condition.
195         (igamma_asymp): Fix term update.
196         (complex_igamma): Fix flavour fixup.
198 2016-02-02  Morten Welinder  <terra@gnome.org>
200         * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
201         (gamma_error_factor): Extend to all positive numbers.
202         (pochhammer_small_n): Allow any x > 1.
203         (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
205 2016-02-01  Morten Welinder  <terra@gnome.org>
207         * configure.ac (yacc, lex): Fail if the required program isn't
208         found.
210 2016-01-31  Morten Welinder  <terra@gnome.org>
212         * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
213         complex continued fractions.
215 2016-01-30  Morten Welinder  <terra@gnome.org>
217         * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
218         GtkStyleContext.  Another ABI changes causes that to crash.
220         * src/value.c (find_column_of_field): Insist that the database be
221         a cell range, not an array.
223 2016-01-29  Morten Welinder  <terra@gnome.org>
225         * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
226         (bessel_ij_series): Rename from bessel_j_series and extend to
227         handle i also.
229         * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
230         argument is less than one.
232         * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
233         about broken sheet filter.
235         * src/sheet-filter.c (gnm_filter_condition_new_single)
236         (gnm_filter_condition_new_double): Plug leak on error.
237         (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
239 2016-01-28  Jean Brefort  <jean.brefort@normalesup.org>
241         * src/graph.c (gnm_go_data_vector_get_str): fix for a range
242         value. [#761048]
244 2016-01-27  Morten Welinder  <terra@gnome.org>
246         * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
247         implementation.
249         * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
250         css styling.
252 2016-01-23  Morten Welinder  <terra@gnome.org>
254         * src/parser.y (yylex): Be careful about overflowing numeric
255         token.  Fixes #761023.
257 2016-01-20  Morten Welinder  <terra@gnome.org>
259         * src/complex.h: Namespace.  Mostly for macros.
261 2016-01-16  Morten Welinder  <terra@gnome.org>
263         * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
264         unused time argument.  All callers changed.
265         (gnm_simple_canvas_grab): Remove unused arguments and return
266         value.  All callers changed.
268         * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
269         without regrabbing the focus.  See #760639.
271 2016-01-13  Morten Welinder  <terra@gnome.org>
273         * src/sstest.c (test_random_randsnorm)
274         (test_random_randbernoulli): Print expected stats.
276         * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
277         are sane.  Fixes #760544.
279 2016-01-08  Morten Welinder  <terra@gnome.org>
281         * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
283 2016-01-06  Morten Welinder  <terra@gnome.org>
285         * src/mathfunc.c (ebd0): Fix problem with overflow.  [#760230]
287 2016-01-04  Morten Welinder  <terra@gnome.org>
289         * src/sheet-style.c (sheet_style_apply_range)
290         (sheet_style_set_range): Silently ignore inverted ranges.
292 2016-01-03  Morten Welinder  <terra@gnome.org>
294         * src/sheet-style.c (sheet_style_apply_range)
295         (sheet_style_set_range): Ensure sanity of range.  Fixes #760102.
297 2016-01-02  Morten Welinder  <terra@gnome.org>
299         * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
301         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
302         zero record size.  Fixes #760087.
304         * src/mathfunc.c (pow1p): Handle nan.  Fixes #760085.
306 2016-01-01  Morten Welinder  <terra@gnome.org>
308         * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
310         * src/expr-name.c (expr_name_add): Improve check for circular name
311         defintion.  Fixes #760046.
313 2015-12-28  Morten Welinder  <terra@gnome.org>
315         * src/ssconvert.c (convert): When separating sheets, move current
316         sheet to the front.  See bug #694408.
318         * src/stf-export.c (gnm_stf_file_saver_save): If we add current
319         sheet, remove it at the end.
321 2015-12-28  Morten Welinder <terra@gnome.org>
323         * configure.ac: Post-release bump.
325 2015-12-28  Morten Welinder <terra@gnome.org>
327         * Release 1.12.26
329 2015-12-26  Morten Welinder  <terra@gnome.org>
331         * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
332         change here (on the grid).
333         (scg_class_init): Not here.  We're not derived from GtkWidget.
335         * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
336         (foreach_tile): New top-level function taking few parameters.  All
337         callers changed.
339 2015-12-25  Morten Welinder <terra@gnome.org>
341         * configure.ac: Post-release bump.
343 2015-12-25  Morten Welinder <terra@gnome.org>
345         * Release 1.12.25
347 2015-12-22  Morten Welinder  <terra@gnome.org>
349         * src/ssdiff.c (xml_style_changed): Do more for input message and
350         validation.
352 2015-12-20  Morten Welinder  <terra@gnome.org>
354         * src/sheet-control-gui.c (scg_screen_changed): New handler to get
355         screen size.
356         (scg_resize): Limit frozen zones to screen size.  Not idea, but
357         better than crashing.
359 2015-12-19  Morten Welinder  <terra@gnome.org>
361         * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
363 2015-12-13  Morten Welinder  <terra@gnome.org>
365         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
366         merges on column/row insert.  Fixes #504004.
368 2015-12-12  Morten Welinder  <terra@gnome.org>
370         * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
371         when the merge partially falls off the far end.
373 2015-12-10  Morten Welinder  <terra@gnome.org>
375         * src/gui-util.c (gnm_action_group_add_action): New wrapper to
376         ensure actions get accel paths.
378 2015-12-09  Morten Welinder  <terra@gnome.org>
380         * src/wbc-gtk.c (wbcg_find_action): New function to look in
381         multiple places for an action.
383         * src/gui-util.c (gnm_action_group_add_actions): Handle
384         translation context.  Also handle toggle actions.
386 2015-12-08  Morten Welinder  <terra@gnome.org>
388         * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
389         syntax.
391         * src/gui-util.c (gnm_action_group_add_actions): New function,
392         currently quite dumb.
394         * configure.ac (CC): Insist on c99.
396 2015-12-05  Morten Welinder  <terra@gnome.org>
398         * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
399         (drayleigh): Define in terms of dweibull.
401 2015-12-03  Morten Welinder  <terra@gnome.org>
403         * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
404         support.  Fixes R.QHYPER(0.1,3,99,13)
406 2015-10-19  Morten Welinder  <terra@gnome.org>
408         * src/func-builtin.c (gnumeric_table): Make sure to invalidate
409         in[2].  Fixes #752182.
411 2015-09-25  Morten Welinder  <terra@gnome.org>
413         * src/func-builtin.c (gnumeric_table): Don't try to be smart and
414         avoid value copying.  Fixes #752181.
415         (gnumeric_table): Handle repeated cells.  Fixes #752178.
417 2015-09-20  Morten Welinder <terra@gnome.org>
419         * configure.ac: Post-release bump.
421 2015-09-20  Morten Welinder <terra@gnome.org>
423         * Release 1.12.24
425 2015-09-19  Jean Brefort  <jean.brefort@normalesup.org>
427         * src/gui-file.c (gui_file_save_as): just change the extension not more
428         when the original filename has several dots. [ubuntu #1497344]
430 2015-09-11  Jean Brefort  <jean.brefort@normalesup.org>
432         * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
433         anchors. [#754792]
435 2015-08-24  Jean Brefort  <jean.brefort@normalesup.org>
437         * src/sheet-object.c (sheet_object_update_bounds),
438         (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
439         the objects bounds are always updated. Really fix printing.
440         * src/xml-sax-write.c (xml_write_objects): revert previous change.
442 2015-08-23  Jean Brefort  <jean.brefort@normalesup.org>
444         * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
445         printing, but still not perfect.
446         * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
447         * src/xml-sax-write.c (xml_write_objects): ditto.
449 2015-08-22  Jean Brefort  <jean.brefort@normalesup.org>
451         * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
452         with one cell or absolute anchors. [#753961]
453         * src/sheet-object.c (sheet_object_draw_cairo):
455 2015-07-28  Morten Welinder <terra@gnome.org>
457         * configure.ac: Post-release bump.
459 2015-07-28  Morten Welinder <terra@gnome.org>
461         * Release 1.12.23
463 2015-07-14  Morten Welinder  <terra@gnome.org>
465         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
466         #752259.
468 2015-07-09  Morten Welinder  <terra@gnome.org>
470         * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
471         operation.  Fixes #752124.
473 2015-07-06  Morten Welinder  <terra@gnome.org>
475         * src/func-builtin.c (gnumeric_table): Avoid FMR.  Fixes #752021.
477 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
479         * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
481 2015-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
483         * src/value.c (value_compare_real): handle two empty values however
484         they appear
486 2015-07-03  Morten Welinder  <terra@gnome.org>
488         * src/func-builtin.c (gnumeric_table): Return #REF! outside array
489         context.
491 2015-06-30  Morten Welinder  <terra@gnome.org>
493         * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
494         it all the way here.
496 2015-06-29  Morten Welinder  <terra@gnome.org>
498         * src/func.c (function_iterate_argument_values): Improve name
499         handling.  Part of #751660.
501 2015-06-28  Morten Welinder  <terra@gnome.org>
503         * src/value-sheet.c (value_area_get_width, value_area_get_height):
504         Use the same normalization as value_area_foreach.  Fixes #751390.
506         * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
507         Fixes #751577.
509 2015-06-26  Morten Welinder  <terra@gnome.org>
511         * src/value.c (value_new_array_empty): Store value_new_empty(),
512         not NULL, in the slots.  We can make this change because
513         value_new_empty() is a singleton that does not need to be
514         released.  Fixes #751502.
516 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
518         * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
520 2015-06-23  Jean Brefort  <jean.brefort@normalesup.org>
522         * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
523         (xml_sax_object_end): ensure we always use the right state. [#751217]
525 2015-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
527         * samples/excel/engfuns.xls: update to use correct lbm->g conversion
529 2015-06-20  Morten Welinder  <terra@gnome.org>
531         * src/go-data-cache.c (go_data_cache_records_set_size): Check for
532         overflow.
533         (go_data_cache_records_fetch_index): If resizing failed return
534         NULL early.
536 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
538         * src/parse-util.h (_GnmConventions): add union_char field
539         * src/parser.y (yylex): handle union_char
540         (setup_state): set union_char
542 2015-06-18  Morten Welinder  <terra@gnome.org>
544         * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
545         specifying types derived from sheet objects.  Fixes #751126.
546         (xml_sax_hlink): Similarly.
548 2015-06-16  Morten Welinder  <terra@gnome.org>
550         * src/xml-sax-read.c (handle_delayed_names): Check for circularity
551         in names.  Fixes #751056.
553 2015-05-27  Morten Welinder  <terra@gnome.org>
555         * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
556         division by zero.  Fixes #749917.
558         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
560 2015-05-16  Jean Brefort  <jean.brefort@normalesup.org>
562         * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
563         comment #3]
565 2015-05-11  Morten Welinder  <terra@gnome.org>
567         * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
568         something bad that will happen whenever FALSE equals TRUE.
570         * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
571         inline values.
573         * src/cell.c (gnm_cell_set_array): Improve preconditions.
575 2015-05-09  Morten Welinder  <terra@gnome.org>
577         * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
579 2015-04-28  Morten Welinder  <terra@gnome.org>
581         * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
582         malformed documents.  Fixes #748596.
583         (xml_sax_unknown): Don't rely on xin->user_state here.  Fixes
584         #748595.
586 2015-04-16  Morten Welinder <terra@gnome.org>
588         * configure.ac: Post-release bump.
590 2015-04-16  Morten Welinder <terra@gnome.org>
592         * Release 1.12.22
594 2015-04-15  Morten Welinder  <terra@gnome.org>
596         * src/ranges.c (gnm_range_compare): New function.
598 2015-04-13  Jean Brefort  <jean.brefort@normalesup.org>
600         * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
601         (see #700599, comment #11).
603 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
605         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
606         sheet object name, try the image name.
608 2015-04-11  Morten Welinder  <terra@gnome.org>
610         * src/sf-dpq.c (qcauchy): Handle cancellation.
612         * src/mathfunc.c (pcauchy): Simplify.
614         * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
615         (drayleigh): Import from fn-stat.  Rename.  Improve accuracy.
617 2015-04-09  Morten Welinder  <terra@gnome.org>
619         * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
620         case.
622 2015-04-04  Morten Welinder  <terra@gnome.org>
624         * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
625         Fixes #747356.
627         * src/xml-sax-write.c (xml_write_objects): Save only relevant
628         parts of the cell bound.
630         * src/sheet-control-gui.c (scg_object_coords_to_anchor):
631         Initialize parts of cell_bound not used.
633 2015-04-01  Morten Welinder  <terra@gnome.org>
635         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
636         GNM_XML_2ND here too.
637         (gnm_sogg_sax_parser_done): Plug leak.
639 2015-03-30  Morten Welinder  <terra@gnome.org>
641         * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
642         function.
644         * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
645         mode.
647         * src/sstest.c (test_random_randhyperg): Take var=0 case into
648         account when checking mean.
650         * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
651         graph here.
653 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
655         * src/graph.h: add support for absolute anchoring of sheet objects.
656         * src/item-grid.c: ditto.
657         * src/sheet-control-gui.c: ditto.
658         * src/sheet-filter.c: ditto.
659         * src/sheet-object-cell-comment.c: ditto.
660         * src/sheet-object-component.c: ditto.
661         * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
662         cells by default. [#684450]
663         * src/sheet-object-image.c: make images don't resize with cells by default.
664         * src/sheet-object.c : add support for absolute anchoring of sheet objects.
665         * src/sheet-object.h: ditto.
666         * src/workbook-view.c: ditto.
667         * src/xml-sax-read.c: ditto.
668         * src/xml-sax-write.c: ditto.
670 2015-03-30  Morten Welinder  <terra@gnome.org>
672         * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
674 2015-03-23  Morten Welinder  <terra@gnome.org>
676         * src/sstest.c (rand_fractile_test): Plug leak.
678 2015-03-21  Morten Welinder  <terra@gnome.org>
680         * src/sstest.c (rand_fractile_test): Add support for
681         non-continuous distributions.
683         * src/mathfunc.c (qgeom): Update to current version in R.
685         * src/gnm-random.c (random_geometric): Don't add one.
686         r.{d,p,q}geom all use the version with support {0,1,2,3,...}
688 2015-03-20  Morten Welinder  <terra@gnome.org>
690         * src/sstest.c (test_random_randbinom): New test.
691         (test_random_randbetween): New test.
692         (test_random_randexp): New test.
693         (test_random_randpoisson): New test.
694         (test_random_randgeom): New test.
695         (test_random_randnegbinom): New test.
696         (test_random_randlog): New test.
697         (test_random_randdiscrete): New test.
698         (test_random_randgamma): New test.
699         (test_random_randtdist): New test.
700         (test_random_randuniform): New test.
701         (test_random_randfdist): New test.
702         (test_random_randcauchy): New test.
703         (test_random_randbeta): New test.
704         (test_random_randchisq): New test.
705         (test_random_randhyperg): New test.
707         * src/gnm-random.c (random_logarithmic): Fix.  See #746449.
709 2015-03-19  Morten Welinder  <terra@gnome.org>
711         * src/func.c (dump_samples): New function to dump all sample in
712         help documentation to csv format.
714         * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
715         non-positive integer, but neither a nor b is.
717 2015-03-07  Morten Welinder  <terra@gnome.org>
719         * src/xml-sax-write.c: Use new go_xml_out_add_double.
721         * src/sheet-object-widget.c
722         (sheet_widget_adjustment_write_xml_sax): Use new
723         go_xml_out_add_double.
725         * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
726         go_xml_out_add_double.
728 2015-03-05  Morten Welinder  <terra@gnome.org>
730         * src/sheet-object-image.c (sheet_object_image_set_image): Drop
731         copy_data argument and simply assume it.
733 2015-03-04  Morten Welinder <terra@gnome.org>
735         * configure.ac: Post-release bump.
737 2015-03-04  Morten Welinder <terra@gnome.org>
739         * Release 1.12.21
741 2015-03-03  Morten Welinder  <terra@gnome.org>
743         * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
744         version we write and document why we can't easily increase that
745         version.
747 2015-03-02  Morten Welinder  <terra@gnome.org>
749         * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
751         * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
752         (xml_sax_version): Bring version list up to date.
754 2015-03-01  Morten Welinder  <terra@gnome.org>
756         * src/sheet-object-widget.c
757         (sheet_widget_list_base_set_selection_value): Plug leak.
759 2015-02-28  Jean Brefort  <jean.brefort@normalesup.org>
761         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
762         pixbuf stores the image type.
764 2015-02-28  Morten Welinder  <terra@gnome.org>
766         * src/sheet-object-image.c (SheetObjectImage): Just keep the
767         image, not the bytes in addition.
768         (gnm_soi_class_init): Use property "image" of type GOImage instead
769         of "image-data" weirdness.
770         (gnm_soi_draw_cairo): Remove non-functional fallback.
771         (gnm_soi_default_size): Ditto.
773 2015-02-27  Morten Welinder  <terra@gnome.org>
775         * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
776         type for image data.  Create image data if needed.
777         (SheetObjectImage): Use a properly allocated GByteArray.
779         * src/sheet-object-widget.c
780         (sheet_widget_adjustment_user_config_impl): Widgets must have
781         changed names at some point.  Adjust for that.
783 2015-02-25  Morten Welinder  <terra@gnome.org>
785         * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
786         Also evaluate here.
787         (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
788         contents.
790 2015-02-23  Morten Welinder  <terra@gnome.org>
792         * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
793         New function.
795 2015-02-21  Morten Welinder  <terra@gnome.org>
797         * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
798         gboolean, not a double.
800         * src/sheet-object-widget.c
801         (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
802         fixed, precision.
803         (sheet_widget_adjustment_set_horizontal): Take advantage of this
804         new-fangled orientation for scrollbars.
806 2015-02-20  Morten Welinder  <terra@gnome.org>
808         * src/sheet-object-widget.c: Make checkbox' "active" writable.
809         (cb_button_released): Set value to FALSE here(!)
811 2015-02-18  Morten Welinder  <terra@gnome.org>
813         * src/commands.c (cmd_search_replace_do_cell): Don't report and
814         error just because a cell with text format fails to produce an
815         expression.  That's expected for text format.
817 2015-02-17  Morten Welinder  <terra@gnome.org>
819         * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
821 2015-02-11  Morten Welinder  <terra@gnome.org>
823         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
824         writing duplicate style so version 1.2 and earlier can read it.
826 2015-02-11  Jean Brefort  <jean.brefort@normalesup.org>
828         * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
829         that can't be convered to valid numbers.
831 2015-02-10  Morten Welinder  <terra@gnome.org>
833         * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
835 2015-02-06  Morten Welinder  <terra@gnome.org>
837         * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
838         (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
839         (sheet_widget_radio_button_set_link)
840         (sheet_widget_list_base_set_links)
841         (sheet_widget_adjustment_set_details): Only link if we have a
842         sheet.
844 2015-02-04  Morten Welinder <terra@gnome.org>
846         * configure.ac: Post-release bump.
848 2015-02-04  Morten Welinder <terra@gnome.org>
850         * Release 1.12.20
852 2015-01-30  Morten Welinder  <terra@gnome.org>
854         * src/sheet-object-widget.c
855         (sheet_widget_adjustment_set_horizontal): Make this public.
857 2015-01-23  Morten Welinder <terra@gnome.org>
859         * configure.ac: Post-release bump.
861 2015-01-23  Morten Welinder <terra@gnome.org>
863         * Release 1.12.19
865 2015-01-20  Morten Welinder  <terra@gnome.org>
867         * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
868         See bug #743130.
870 2015-01-19  Morten Welinder  <terra@gnome.org>
872         * src/gutils.c (gnm_icon_dir): Remove.
874         * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
875         resources.
877         * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
878         from glib resources.
880         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
881         Delete.
883         * src/gnm.gresource.xml: pre-process xpm files.  gdkpixbuf will
884         otherwise dump them in temporary files in order to load them.
886         * src/workbook.c (workbook_update_graphs): New function.
888         * src/workbook-view.c (workbook_view_new_from_input): Update
889         graphs.
891 2015-01-14  Morten Welinder  <terra@gnome.org>
893         * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
894         an expresssion, make it a string instead of dropping it on the
895         floor.
897 2015-01-13  Morten Welinder  <terra@gnome.org>
899         * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
900         missing shared expression, define a dummy version so we don't get
901         repeated errors.
903 2015-01-09  Morten Welinder  <terra@gnome.org>
905         * src/value.c (value_compare_real): Rewrite.  Handle errors and
906         sort them later than other values.  This fixes #742601.
908 2015-01-01  Morten Welinder  <terra@gnome.org>
910         * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
911         names, not stock ids.
913         * src/gnm-pane.c (update_control_point_colors): Avoid
914         gtk_style_context_get_background_color.
915         * src/item-cursor.c (ic_reload_style): Ditto.
917 2014-12-30  Morten Welinder  <terra@gnome.org>
919         * src/rendered-value.c (gnm_rendered_value_new):
920         GNM_HALIGN_DISTRIBUTED is justify+center.  Fixes #726155.
922 2014-12-27  Morten Welinder  <terra@gnome.org>
924         * src/colrow.c (colrow_set_visibility): Don't create columns/rows
925         unless we really have to.
927 2014-12-25  Morten Welinder  <terra@gnome.org>
929         * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
930         multihead issue.
932         * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
934         * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
936         * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
937         icon on sheet direction changes.
939         * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
941 2014-12-24  Morten Welinder  <terra@gnome.org>
943         * src/wbc-gtk.c (wbcg_show_save_dialog)
944         (wbcg_close_if_user_permits): Constant propagation.
946         * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
947         GtkStock usage.  (Maybe kill whole function?  Only two users.)
949 2014-12-22  Morten Welinder  <terra@gnome.org>
951         * icons/fake-index-theme: we need actions directories too.
953 2014-12-21  Morten Welinder  <terra@gnome.org>
955         * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
956         handling.
958 2014-12-20  Morten Welinder  <terra@gnome.org>
960         * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
961         count in delete, such as used from sheet resize.
963 2014-12-19  Morten Welinder  <terra@gnome.org>
965         * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
966         (before g_setenv is available).
968 2014-12-16  Morten Welinder  <terra@gnome.org>
970         * src/sstest.c (test_insdel_rowcol_names): Use column name, not
971         number.
973         * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
974         the delete case.
976 2014-12-15  Morten Welinder  <terra@gnome.org>
978         * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
979         sheet_style_insert_colrow and handled deletion too.
981         * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
982         sheet_insert_cols, sheet_delete_rows, sheet_delete_cols.  Simplify
983         and clean up.
985         * src/dependent.c (dependent_has_pos, dependent_move): New
986         functions.
988 2014-12-14  Morten Welinder  <terra@gnome.org>
990         * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
991         free.
993 2014-12-11  Morten Welinder  <terra@gnome.org>
995         * src/dependent.c (style_dep_debug_name): Include position too.
997         * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
998         sheet_row_add.
999         (colrow_move): Change parameterization slightly.
1001 2014-12-06  Morten Welinder  <terra@gnome.org>
1003         * src/sheet-control-gui.c (scg_unant): Destroy item cursors.  We
1004         want them visually gone and g_object_unref does not guarantee
1005         that.
1007         * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1008         dependents.  A later step clears and re-applies style completely
1009         for the moved area.  Fixes #741197.
1011         * src/sheet-style.c (sheet_style_clear_style_dependents): New
1012         function.
1014         * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1015         (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1017         * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1018         leak.
1019         (gnm_cmd_context_error_splits_merge): Plug leak.
1021 2014-11-15  Morten Welinder  <terra@gnome.org>
1023         * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1024         the wbc is already gone.
1026 2014-11-09  Morten Welinder  <terra@gnome.org>
1028         * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1029         data.  Might fix Redhat #1160975.
1031 2014-10-28  Morten Welinder  <terra@gnome.org>
1033         * src/style.c (find_font): Accept NULL font name.
1035 2014-10-27  Morten Welinder  <terra@gnome.org>
1037         * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1038         code.
1040 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1042         * src/item-cursor.c (cb_item_cursor_animation): use
1043         goc_canvas_invalidate_region() for ants walking.  Avoid drawing
1044         outside of a draw event.
1046 2014-10-26  Morten Welinder  <terra@gnome.org>
1048         * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1049         Use throughout.
1050         (GnmValue): Drop type union member.  C99 requires that this be
1051         accessed in a structure.  We have v_any for that.
1053 2014-10-25  Morten Welinder  <terra@gnome.org>
1055         * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1056         ought to survive both gcc's aliasing analysis and valgrind's
1057         bitfield problems.
1059 2014-10-24  Morten Welinder  <terra@gnome.org>
1061         * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1063 2014-10-21  Morten Welinder  <terra@gnome.org>
1065         * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1067 2014-09-25  Morten Welinder <terra@gnome.org>
1069         * configure.ac: Post-release bump.
1071 2014-09-25  Morten Welinder <terra@gnome.org>
1073         * Release 1.12.18
1075 2014-09-25  Morten Welinder  <terra@gnome.org>
1077         * src/sheet-filter.c (gnm_filter_condition_new_single)
1078         (gnm_filter_condition_new_double): Fix preconditions.  See
1079         #735249.
1081 2014-09-23  Morten Welinder  <terra@gnome.org>
1083         * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1084         doesn't spew deprecation warnings by default.
1086 2014-09-11  Morten Welinder  <terra@gnome.org>
1088         * src/style.c (gnm_translate_underline_from_pango): Survive
1089         PANGO_UNDERLINE_ERROR.
1091 2014-06-09  Morten Welinder <terra@gnome.org>
1093         * configure.ac: Post-release bump.
1095 2014-06-09  Morten Welinder <terra@gnome.org>
1097         * Release 1.12.17
1099 2014-05-28  Morten Welinder  <terra@gnome.org>
1101         * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1102         when we drag the handle into the col/row canvas.
1104         * src/sheet-view.c (sv_freeze_panes): Add debug code.
1106         * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1107         handler.  Fixes #730884.
1109 2014-05-27  Morten Welinder  <terra@gnome.org>
1111         * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1112         col/row canvas.  Fixes #730857.
1113         (gnm_pane_dispose): Release references.
1115 2014-05-23  Morten Welinder <terra@gnome.org>
1117         * configure.ac: Post-release bump.
1119 2014-05-23  Morten Welinder <terra@gnome.org>
1121         * Release 1.12.16
1123 2014-05-23  Morten Welinder  <terra@gnome.org>
1125         * src/clipboard.c (clipboard_copy_ranges_undo): New function.  We
1126         need better building blocks for commands; this is one such.
1128 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1130         * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1131         (cmd_hyperlink_redo): ditto
1132         (cmd_hyperlink_finalize): ditto
1133         (cb_cmd_hyperlink_find_cells): ditto
1135 2014-05-20  Morten Welinder  <terra@gnome.org>
1137         * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1139         * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1140         outline and fill colours that are auto, even for the 1.0 format.
1142         * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1143         conditional format ranges.
1145 2014-05-14  Morten Welinder  <terra@gnome.org>
1147         * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1149         * src/gutils.c (gnm_object_has_readable_prop): New function.
1151         * configure.ac (scrollkeeper): Test if we have it.
1153 2014-05-05  Morten Welinder  <terra@gnome.org>
1155         * src/wbc-gtk.c (toolbar_context_menu): Remove
1156         HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW.  That has been unconditionally
1157         false for years and is unsupported in gtk+.
1159 2014-04-30  Morten Welinder <terra@gnome.org>
1161         * configure.ac: Post-release bump.
1163 2014-04-30  Morten Welinder <terra@gnome.org>
1165         * Release 1.12.15
1167 2014-04-23  Morten Welinder  <terra@gnome.org>
1169         * src/complete.c (complete_idle): Avoid abort().
1171         * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1172         source.
1174 2014-04-22  Morten Welinder  <terra@gnome.org>
1176         * src/style-color.c (gnm_color_new_name): Remove.  All calls
1177         replaced with calls to gnm_color_new_go.
1179         * src/sheet-style.c (sheet_style_init_size): Plug leak.
1181         * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1183 2014-04-21  Morten Welinder  <terra@gnome.org>
1185         * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1186         only in the hop of fixing #728465.
1188 2014-04-13  Morten Welinder <terra@gnome.org>
1190         * configure.ac: Post-release bump.
1192 2014-04-13  Morten Welinder <terra@gnome.org>
1194         * Release 1.12.14
1196 2014-04-11  Morten Welinder  <terra@gnome.org>
1198         * src/item-bar.c: Get colours when we draw; only get sizing
1199         relevant information at odd times, in particular when parent
1200         widgets may be insensitive, such as during a load-onto-pristine.
1201         Fixes #728007.
1203 2014-04-10  Morten Welinder  <terra@gnome.org>
1205         * src/item-bar.c (ib_reload_style): Add debug code.
1207 2014-04-09  Morten Welinder  <terra@gnome.org>
1209         * src/number-match.c (format_match_datetime): Plug leak on certain
1210         failure cases.
1212 2014-04-02  Morten Welinder  <terra@gnome.org>
1214         * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1215         integer test.
1217 2014-03-30  Morten Welinder  <terra@gnome.org>
1219         * src/application.c (gnm_app_remove_extra_ui): Remove from global
1220         list of extra uis.
1222 2014-03-28  Morten Welinder  <terra@gnome.org>
1224         * src/main-application.c (main): Move Ubuntu hack earlier.
1226 2014-03-27  Morten Welinder  <terra@gnome.org>
1228         * src/main-application.c (main): Attempt to banish ubuntu's
1229         overlay scrollbar which don't work.
1231 2014-03-21  Morten Welinder  <terra@gnome.org>
1233         * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1234         case insensitve and allow wildcards.
1236         * src/gutils.c (gnm_excel_search_impl): New function, extracted
1237         from fn-string.
1239         * src/style-conditions.c (generate_end_match): Use case
1240         insensitive comparison.  Pull negation into the operator.
1241         (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1242         insensitive.
1244 2014-03-18  Morten Welinder  <terra@gnome.org>
1246         * src/gui-util.c (kill_popup_menu): One more try at really killing
1247         the context menu after we're done with it.
1249         * src/item-grid.c (item_grid_realize): Plug leak.
1251 2014-03-18  Morten Welinder <terra@gnome.org>
1253         * configure.ac: Post-release bump.
1255 2014-03-18  Morten Welinder <terra@gnome.org>
1257         * Release 1.12.13
1259 2014-03-18  Morten Welinder  <terra@gnome.org>
1261         * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1262         providers from screens on exit.
1264         * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1266 2014-03-17  Morten Welinder  <terra@gnome.org>
1268         * src/mathfunc.c (gnm_log2): Remove.  Use libm's log2.
1270 2014-03-16  Morten Welinder  <terra@gnome.org>
1272         * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1273         formats.  I'm not positive we do things right, but this avoids
1274         criticals, at least.
1276         * src/cell.c (cell_set_expr_internal): Don't change an existing
1277         value.
1279 2014-03-15  Morten Welinder  <terra@gnome.org>
1281         * src/style-border.c (gnm_border_shutdown): New function to help
1282         debug leaks.  Shutdown border_none here.
1284         * src/style-color.c (gnm_color_shutdown): Not here.
1286 2014-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1288         * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1289         the tooltip where it will not immediatly be destroyed after creation.
1290         [really fix #706659]
1292 2014-03-14  Morten Welinder  <terra@gnome.org>
1294         * src/xml-sax-write.c (xml_write_style): Don't write a font name
1295         if we don't have any.
1297 2014-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1299         * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1301 2014-03-13  Morten Welinder  <terra@gnome.org>
1303         * src/style-conditions.c (gnm_style_cond_eval): New function
1304         extracted from gnm_style_conditions_eval.  Make "equal" case
1305         insensitive.  Fixes #726246.
1307         * src/ssconvert.c (convert): Show resize message only if verbose.
1309 2014-03-12  Morten Welinder  <terra@gnome.org>
1311         * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1312         function.
1313         (gnm_style_cond_canonicalize): New function.
1315         * src/ssconvert.c (convert): only print "Using exporter ..." if
1316         --verbose is given, and print it to stderr.
1318 2014-03-11  Morten Welinder  <terra@gnome.org>
1320         * src/sheet.c (cb_set_markup): Don't mess directly with
1321         cell->value.  We need to trigger a re-render.  Fixes #726086.
1323         * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1324         for the pre-validation assignment.
1326         * src/sheet.c (sheet_cell_set_text): Put markup on the value
1327         before assigning it to the cell.
1329 2014-03-10  Morten Welinder  <terra@gnome.org>
1331         * gnumeric.xsd: Update valign/halign attributes.  Update print
1332         setup.
1334         * src/sheet-filter.c (gnm_filter_condition_new_single)
1335         (gnm_filter_condition_new_double): Add preconditions.
1337 2014-03-07  Morten Welinder  <terra@gnome.org>
1339         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1341 2014-03-05  Morten Welinder  <terra@gnome.org>
1343         * src/expr.c (gnm_expr_top_is_volatile): New function.
1345         * src/workbook-view.c (workbook_view_new_from_input): Queue all
1346         volatile expressions.
1348         * src/dependent.c (workbook_queue_volatile_recalc): New function.
1349         (dependent_is_volatile): New function.
1351         * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1352         Don't set the initial range here.
1354         * src/expr.c (gnm_expr_top_first_funcall)
1355         (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1356         (gnm_expr_top_referenced_sheets): Rewrite in terms of
1357         gnm_expr_walk.
1358         (gnm_expr_top_get_boundingbox): Set initial range here.
1360         * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1361         Ditto.
1363 2014-03-03  Morten Welinder <terra@gnome.org>
1365         * configure.ac: Post-release bump.
1367 2014-03-03  Morten Welinder <terra@gnome.org>
1369         * Release 1.12.12
1371 2014-03-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1373         * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1375 2014-03-02  Morten Welinder  <terra@gnome.org>
1377         * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1378         name-collections.
1379         (wbcg_sheet_order_changed): Mark ui as being updated.
1380         (cb_bnotebook_page_reordered): Ignore during UI update.
1382         * src/expr-name.c (gnm_named_expr_collection_dump)
1383         (gnm_named_expr_collection_sanity_check): New function.
1385         * src/application.c (gnm_app_sanity_check): New function.
1387         * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1388         string inside the GOString as a hash key.  It can change.
1389         (gnm_named_expr_collection_foreach): As a consequence of the
1390         above, the first argument to the handler for
1391         gnm_named_expr_collection_foreach changes to something
1392         unspecified.  All callers changed.
1394         * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1395         sheet.
1397         * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1398         when encountering strangeness.
1400 2014-02-28  Morten Welinder  <terra@gnome.org>
1402         * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1403         If row/column canvas is not visible, ignore them.
1404         (scg_gtk_paned_set_position): Don't allow negative position.
1405         Fixes #725375.
1407         * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1408         changes.
1410 2014-02-27  Jean Brefort  <jean.brefort@normalesup.org>
1412         * src/item-grid.c (item_grid_draw_region): fix background filling for
1413         rtl sheets. [#725276]
1415 2014-02-25  Morten Welinder  <terra@gnome.org>
1417         * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1418         (gnumeric_create_popup_menu): Drop return value from handler.
1420         * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1421         are cell comments by position.
1423 2014-02-24  Morten Welinder  <terra@gnome.org>
1425         * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1427         * src/colrow.c (colrow_equal): Don't use floating-point equality
1428         here.  Allow a difference of 1e-5 pt for size.
1430 2014-02-23  Morten Welinder  <terra@gnome.org>
1432         * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1433         fill in the new areas with most common styles for the rows to the
1434         left of the new columns or the columns above the new area.
1436 2014-02-19  Morten Welinder  <terra@gnome.org>
1438         * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1439         (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1441         * src/mathfunc.c (gnm_log2): New function.
1443 2014-02-18  Morten Welinder  <terra@gnome.org>
1445         * src/ssdiff.c (xml_style_changed): Report differences for
1446         auto-color settings.
1448 2014-02-17  Morten Welinder  <terra@gnome.org>
1450         * src/ssconvert.c (convert): Add --resize option.
1452 2014-02-16  Jean Brefort  <jean.brefort@normalesup.org>
1454         * src/item-grid.c (item_grid_realize): fix persistence of
1455         hyperlink tips. [see #724108]
1457 2014-02-16  Morten Welinder <terra@gnome.org>
1459         * configure.ac: Post-release bump.
1461 2014-02-16  Morten Welinder <terra@gnome.org>
1463         * Release 1.12.11
1465 2014-02-16  Morten Welinder  <terra@gnome.org>
1467         * src/func.c (function_dump_defs): Update boilerplate.
1469 2014-02-11  Morten Welinder <terra@gnome.org>
1471         * configure.ac: Post-release bump.
1473 2014-02-11  Morten Welinder <terra@gnome.org>
1475         * Release 1.12.10
1477 2014-02-07  Morten Welinder  <terra@gnome.org>
1479         * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1480         entry on top of merged cells.  Fixes #723600.
1482 2014-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1484         * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1485         a better fix to previous issue.
1487 2014-01-30  Morten Welinder  <terra@gnome.org>
1489         * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1490         toolbar icons.
1492         * src/item-cursor.c (item_cursor_draw): Make the ant animation
1493         smoother (when not using the fallback).  Avoid using hard light
1494         for ant-ing -- that doesn't work for the same reason as alpha not
1495         working.  Always use phase=0 for non-ant stipples.
1496         (GnmItemCursor): Use the canvas item's visibility flag instead of
1497         rolling our own.
1499 2014-01-29  Morten Welinder  <terra@gnome.org>
1501         * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1503         * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1504         check for bad clipping somewhere in gtk+ or theme land.
1506 2014-01-28  Jean Brefort  <jean.brefort@normalesup.org>
1508         * src/sheet-object-component.c (gnm_soc_user_config): release the new
1509         component reference to the workbook.
1511 2014-01-27  Morten Welinder  <terra@gnome.org>
1513         * src/func.c (function_dump_defs): Undo wiki change.
1515 2014-01-21  Morten Welinder  <terra@gnome.org>
1517         * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1518         the amount of work we do for ant-ing.  Fixes #381011, patch from
1519         Jean.
1520         (ic_reload_style): Ignore alpha component of ant colours.
1522 2014-01-17  Jean Brefort  <jean.brefort@normalesup.org>
1524         * src/graph.c (gnm_go_data_vector_load_len),
1525         (gnm_go_data_vector_load_values): accept 3D values for vector data.
1526         [#722294]
1528 2014-01-16  Morten Welinder  <terra@gnome.org>
1530         * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1531         cb_darken_foreground_attributes and change to take non-white
1532         background into account.
1534 2014-01-12  Morten Welinder  <terra@gnome.org>
1536         * src/mathfunc.c (expmx2h): Split out from dnorm.
1537         (dhyper): Round the chosen "p" to float to improve accuracy of
1538         "q".
1540 2014-01-11  Morten Welinder  <terra@gnome.org>
1542         * src/mathfunc.c (pow1p): Improve accuracy.
1543         (R_D_nonint): Fix rounding problem.
1544         (ebd0): New extended version of bd0.
1545         (dpois_raw, dbinom_raw): Use ebd0.
1546         (dbinom_raw): Handle x==n and x==0 much better.
1548 2014-01-08  Morten Welinder  <terra@gnome.org>
1550         * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1551         g_mkdtemp_full.
1553         * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1555         * src/gui-file.h: Namespace improvements.  Also make gui_file_read
1556         return the WorkbookView instead of a boolean.
1558 2014-01-01  Morten Welinder  <terra@gnome.org>
1560         * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1562 2013-12-31  Morten Welinder  <terra@gnome.org>
1564         * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1565         mathfunc.c
1567 2013-12-30  Morten Welinder  <terra@gnome.org>
1569         * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1570         (bd0): Reimplement.
1571         (dpois_raw): Avoid going through logs, if possible.
1573 2013-12-25  Morten Welinder  <terra@gnome.org>
1575         * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1576         we return FALSE so we don't try to remove the source later.
1578 2013-12-22  Morten Welinder  <terra@gnome.org>
1580         * src/gui-util.c (gnm_widget_measure_string): New function
1581         allowing the elimination of all gtk_style_context_get_font calls.
1583 2013-12-19  Morten Welinder  <terra@gnome.org>
1585         * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1586         especially when |x|<<1.  Ditto for x<-1.
1588 2013-12-17  Morten Welinder  <terra@gnome.org>
1590         * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1591         multiplication.
1593 2013-12-14  Morten Welinder  <terra@gnome.org>
1595         * src/sf-gamma.c (complex_igamma): New function.
1597 2013-12-12  Mario Rugiero  <mrugiero@gmail.com>
1599         * */*.c: Fix some leaks and null dereferences pointed out by
1600         cppcheck.
1602 2013-12-12  Morten Welinder  <terra@gnome.org>
1604         * src/parser.y (array_row): Avoid overrunning string when multiple
1605         missing closing parentheses are detected.  Fixes #720353.
1607 2013-12-11  Morten Welinder  <terra@gnome.org>
1609         * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1610         gdk_event_get_screen, not from ->screen.  This might fix #720182.
1612         * src/*.c: Use accessor function for GdkEvent when convenient.
1614 2013-12-07  Morten Welinder  <terra@gnome.org>
1616         * src/application.c (gnm_app_init): Don't allocate a
1617         GtkRecentManager if we are not in gui mode.
1619         * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1620         behaviour.
1621         * src/dependent.c (deprange_hash): Ditto.
1623 2013-12-04  Morten Welinder  <terra@gnome.org>
1625         * src/sf-gamma.c (gamma_error_factor): Add extra term.
1627 2013-12-07  Morten Welinder  <terra@gnome.org>
1629         * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1630         of the argument for [-1.5;-0.5].
1632         * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1633         Re z < 1/2.  Avoid some overflow.
1635 2013-12-02  Morten Welinder  <terra@gnome.org>
1637         * src/sf-bessel.c (bessel_y): Use the J series when possible.
1639 2013-12-07  Morten Welinder  <terra@gnome.org>
1641         * src/sf-bessel.c (bessel_j): Use the taylor series in the
1642         parameter range where that makes sense.
1644         * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1645         (gnm_beta): Ditto.
1647 2013-11-30  Morten Welinder  <terra@gnome.org>
1649         * src/sf-gamma.c (pochhammer): Drop give_log arguments.  Extend to
1650         negative values.
1652 2013-11-28  Morten Welinder <terra@gnome.org>
1654         * configure.ac: Post-release bump.
1656 2013-11-28  Morten Welinder <terra@gnome.org>
1658         * Release 1.12.9
1660 2013-11-25  Morten Welinder  <terra@gnome.org>
1662         * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1663         mathfunc.c
1665 2013-11-19  Morten Welinder  <terra@gnome.org>
1667         * src/print.c (print_page): Fix check for missing object.  Fixes
1668         #712662.
1670 2013-11-18  Morten Welinder  <terra@gnome.org>
1672         * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
1674 2013-11-15  Morten Welinder  <terra@gnome.org>
1676         * src/mathfunc.c (reduce_pi_half): New function.
1678 2013-11-14  Morten Welinder  <terra@gnome.org>
1680         * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
1681         (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
1683 2013-11-13  Morten Welinder  <terra@gnome.org>
1685         * src/mathfunc.c (lgamma_r): Fix fallback.  Didn't work for x<10.
1687 2013-11-13  Jean Brefort  <jean.brefort@normalesup.org>
1689         * src/sheet-object.c (sheet_object_view_button2_pressed),
1690         (sheet_object_view_class_init): implement double click for graph sheets.
1691         [#712216]
1693 2013-11-12  Morten Welinder  <terra@gnome.org>
1695         * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
1696         emission.
1697         (cb_bnotebook_page_reordered): New function.
1698         (wbc_gtk_create_notebook_area): Attach a handler for reordering.
1700         * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
1702 2013-11-06  Morten Welinder  <terra@gnome.org>
1704         * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
1706 2013-11-06  Jean Brefort  <jean.brefort@normalesup.org>
1708         * src/workbook-view.c: add more introspection related comments.
1709         * src/workbook.c: ditto.
1711 2013-11-03  Morten Welinder  <terra@gnome.org>
1713         * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
1714         sin/cos before scaling by pi.
1716 2013-11-01  Morten Welinder  <terra@gnome.org>
1718         * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
1719         (gnm_gamma): Protect against unnecessary overflow at top of range.
1721 2013-10-31  Morten Welinder  <terra@gnome.org>
1723         * src/mathfunc.c (qgamma): Flip tail for high values of p.  This
1724         avoids accuracy problems since any cdf is completely flat in terms
1725         of floating point values when going sufficiently far into the
1726         tail.
1727         (qtukey): Ditto.
1728         (qbeta): Ditto.
1729         (J_bessel): Extend xlrg_BESS_IJ to match current R.
1730         (permut): Route this into pochhammer.
1731         (qfact): New function.  Tabulate 0! through 50000! using quad
1732         precision arithmetic.
1733         (combin, fact, pochhammer): Improve accuracy using qfact.
1735 2013-10-22  Morten Welinder  <terra@gnome.org>
1737         * src/func.c (function_call_with_exprs): Move flags argument into
1738         structure.
1740 2013-10-19  Morten Welinder  <terra@gnome.org>
1742         * src/hlink.c (_gnm_hlink_init): New function.
1743         * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
1745 2013-10-07  Morten Welinder <terra@gnome.org>
1747         * configure.ac: Post-release bump.
1749 2013-10-07  Morten Welinder <terra@gnome.org>
1751         * Release 1.12.8
1753 2013-10-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1755         * src/cmd-edit.c (cmd_paste): chceck for locked cells
1757 2013-10-03  Morten Welinder  <terra@gnome.org>
1759         * src/item-cursor.c (item_cursor_draw): Drop expose area
1760         optimization that may not be correct with current gtk.  See bug
1761         #709320.
1763 2013-09-29  Morten Welinder  <terra@gnome.org>
1765         * src/main-application.c: Include <io.h> for win32.
1767         * src/wbc-gtk-actions.c: Include gutils.h for win32.
1769 2013-09-25  Morten Welinder  <terra@gnome.org>
1771         * src/gnumeric.css: Use lighter green for function marker.
1773 2013-09-01  Morten Welinder <terra@gnome.org>
1775         * configure.ac: Post-release bump.
1777 2013-09-01  Morten Welinder <terra@gnome.org>
1779         * Release 1.12.7
1781 2013-08-29  Morten Welinder  <terra@gnome.org>
1783         * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
1784         Fixes #707047.
1786 2013-08-28  Morten Welinder  <terra@gnome.org>
1788         * src/mathfunc.c (gnm_gamma): Improve precision for large
1789         arguments.
1790         (gnm_yn): Not needed anymore.
1791         (bessel_i): Don't mark error strings for translation.
1793 2013-08-27  Morten Welinder <terra@gnome.org>
1795         * configure.ac: Post-release bump.
1797 2013-08-27  Morten Welinder <terra@gnome.org>
1799         * Release 1.12.6
1801 2013-08-26  Morten Welinder  <terra@gnome.org>
1803         * src/sheet-style.c (cell_tile_dump): New function for debugging.
1804         (internal_style_list): Add fast pre-optimization to bring down the
1805         number of entries before we start messing with hashes.  Fixes
1806         #699045.
1808 2013-08-22  Jean Brefort  <jean.brefort@normalesup.org>
1810         * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
1811         GraphDimEditor::changed. See bug 706591 comment #2.
1813 2013-08-19  Morten Welinder <terra@gnome.org>
1815         * configure.ac: Post-release bump.
1817 2013-08-19  Morten Welinder <terra@gnome.org>
1819         * Release 1.12.5
1821 2013-08-15  Morten Welinder  <terra@gnome.org>
1823         * src/dependent.c (dep_hash_destroy): Relink the changed dep.
1824         Fixes #706095.
1826         * src/sheet.c (sheet_destroy_contents): Also get rid of solver
1827         parameters.  See bug 705913, comment 6.
1829 2013-08-13  Morten Welinder  <terra@gnome.org>
1831         * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
1833 2013-08-12  Morten Welinder  <terra@gnome.org>
1835         * src/sheet-object-widget.c (sow_create_widget): New function.
1836         Add sheet-object class to widgets.
1838 2013-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1840         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
1841         initial colour
1842         (sheet_widget_button_draw_cairo): also scale line thickness
1843         (sheet_widget_checkbox_draw_cairo): scale button size
1844         (sheet_widget_radio_button_draw_cairo): scale button size
1846 2013-08-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1848         * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
1849         argument and change all callers
1851 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1853         * src/sheet-object-widget.c (get_font): add fall-backs
1855 2013-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1857         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1858         draw_cairo_text.
1859         (draw_cairo_text): add h-vcenter argument and change all callers
1861 2013-08-09  Jean Brefort  <jean.brefort@normalesup.org>
1863         * src/sheet-object-widget.c (cb_range_destroyed),
1864         (sheet_widget_scrollbar_create_widget),
1865         (sheet_widget_spinbutton_create_widget),
1866         (sheet_widget_slider_create_widget): avoid crashing after destroying a
1867         SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
1869 2013-08-09  Morten Welinder  <terra@gnome.org>
1871         * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1872         get_font.
1873         (get_font): New function extracted from draw_cairo_text.
1875 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1877         * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
1878         if possible
1880 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1882         * src/sheet-object-widget.c (draw_cairo_text): add arguments to
1883         allow multi-paragraph with a highlighted line. Change all callers
1884         (sheet_widget_list_draw_cairo): use draw_cairo_text
1886 2013-08-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1888         * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
1889         cairo version for Gnuemric too.
1890         (sheet_widget_button_draw_cairo): ditto
1891         (sheet_widget_scrollbar_draw_cairo): ditto
1892         (sheet_widget_spinbutton_draw_cairo): ditto
1893         (sheet_widget_slider_draw_cairo): ditto
1894         (sheet_widget_checkbox_draw_cairo): ditto
1895         (sheet_widget_radio_button_draw_cairo): ditto
1896         (sheet_widget_list_draw_cairo): ditto
1897         (sheet_widget_combo_draw_cairo): ditto
1899 2013-08-08  Morten Welinder  <terra@gnome.org>
1901         * src/parse-util.c (r1c1_get_index): Handle integer overflow.
1902         Reduce crazy relative offsets.
1904 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1906         * src/sheet-object-widget.c (draw_cairo_text): add arguments and
1907         change all callers
1908         (sheet_widget_frame_draw_cairo): new
1909         (sheet_widget_button_draw_cairo): new
1910         (sheet_widget_scrollbar_horizontal_draw_cairo): new
1911         (sheet_widget_scrollbar_vertical_draw_cairo): new
1912         (sheet_widget_scrollbar_class_init): connect the above
1913         (sheet_widget_spinbutton_draw_cairo): new
1914         (sheet_widget_spinbutton_class_init): connect the above
1915         (sheet_widget_slider_horizontal_draw_cairo): new
1916         (sheet_widget_slider_vertical_draw_cairo): new
1917         (sheet_widget_slider_draw_cairo): new
1918         (sheet_widget_slider_class_init): connect the above
1919         (sheet_widget_list_draw_cairo): new
1920         (sheet_widget_list_class_init): connect the above
1921         (sheet_widget_combo_draw_cairo): new
1922         (sheet_widget_combo_class_init): connect the above
1924 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1926         * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
1927         change all uses of this macro
1928         (draw_cairo_text): new
1929         (sheet_widget_checkbox_draw_cairo): new
1930         (sheet_widget_radio_button_draw_cairo): new
1932 2013-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1934         * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
1935         gtk_offscreen_window_new without a default screen (see bugs #705638
1936         and #705640)
1938 2013-08-07  Morten Welinder  <terra@gnome.org>
1940         * src/ssconvert.c (main): Initialize gtk+ without opening any
1941         display.
1943 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1945         * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
1947 2013-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1949         * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
1950         * src/sheet-control-gui.c (scg_init): init new fields
1951         (scg_im_destroy): new
1952         (scg_finalize): call scg_im_destroy
1953         (cb_cell_im_timer): new
1954         (scg_find_pane): new
1955         (scg_show_im_tooltip): new
1956         (scg_class_init): init new field
1957         * src/sheet-control-priv.h: add field
1958         * src/sheet-control.c: add virtual
1959         * src/sheet-control.h: add virtual
1960         * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
1961         (sv_update): call sheet_view_edit_pos_tool_tips
1962         * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
1963         in pixels
1964         (sheet_row_get_distance_pixels): new
1965         * src/sheet.h (sheet_row_get_distance_pixels): new
1967 2013-08-03  Jean Brefort  <jean.brefort@normalesup.org>
1969         * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
1970         nodes in guppi graphs. [Debian #718594]
1972 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1974         * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
1975         'default'
1977 2013-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1979         * src/sheet-control-gui.c (context_menu_handler): add argument to
1980         dialog_cell_format call
1981         * src/wbc-gtk-actions.c (cb_format_cells): add argument to
1982         dialog_cell_format call
1983         (cb_data_validate): ditto
1985 2013-07-30  Morten Welinder  <terra@gnome.org>
1987         * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
1988         colour.  Fixes rest of #705031.
1990 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1992         * src/func.c (gnm_func_lookup_prefix): do not include placeholders
1994 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1995         for Dmitry Smirnov
1996         * gnumeric.desktop.in: add ODS files
1998 2013-07-23  Jean Brefort  <jean.brefort@normalesup.org>
2000         * src/graph.c (gnm_go_data_vector_load_values): really load all
2001         values for multiple ranges.
2003 2013-07-19  Morten Welinder  <terra@gnome.org>
2005         * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2006         check: the enum has a hole in the middle.  Fixes #704562.
2008 2013-07-19  Jean Brefort  <jean.brefort@normalesup.org>
2010         * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2011         printing.
2012         * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2014 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2016         * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2017         (gnm_so_path_set_property): ditto
2018         (gnm_so_path_get_property): ditto
2020 2013-07-18  Jean Brefort  <jean.brefort@normalesup.org>
2022         * src/gnm-so-path.c (so_path_view_set_bounds),
2023         (cb_gnm_so_path_changed): a better fix for the text position.
2025 2013-07-17  Jean Brefort  <jean.brefort@normalesup.org>
2027         * src/gnm-so-filled.c (so_filled_view_set_bounds),
2028         (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2029         * src/gnm-so-path.c (so_path_view_set_bounds),
2030         (cb_gnm_so_path_changed): fix text wrap in paths too.
2032 2013-07-16  Morten Welinder  <terra@gnome.org>
2034         * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2035         computing range size.  Fixes #704325.
2037 2013-07-15  Morten Welinder  <terra@gnome.org>
2039         * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2040         that.  Fixes #704004.
2042         * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2044         * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2045         against oversize range.
2047 2013-07-12  Morten Welinder  <terra@gnome.org>
2049         * src/expr.c (gnm_expr_range_op): When constructing a range, make
2050         sure it falls within the sheet.
2051         (gnm_expr_new_range_ctor): Don't optimize to range if the two
2052         parts are on different sheets.  Fixes #704109.
2054 2013-07-10  Morten Welinder <terra@gnome.org>
2056         * configure.ac: Post-release bump.
2058 2013-07-10  Morten Welinder <terra@gnome.org>
2060         * Release 1.12.4
2062 2013-07-10  Morten Welinder  <terra@gnome.org>
2064         * src/value.c (parse_criteria): Patterns should anchor at the end
2065         (#703770) and be case insensitive (no bug#).
2067 2013-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2069         * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2070         to create an image of unknown type
2072 2013-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2074         * src/graph.c (gnm_go_data_vector_load_len): use consistent
2075         signage
2076         (cb_assign_val): quieten warning about signed/unsigned comparison
2078 2013-07-03  Morten Welinder  <terra@gnome.org>
2080         * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2081         crazy-large ranges.
2082         (cb_assign_val): Ditto.
2084 2013-07-02  Morten Welinder  <terra@gnome.org>
2086         * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2087         (cb_style_list_add_node): Ditto.
2088         (verify_hashes): Ditto.
2089         (internal_style_list): Ditto.
2091         * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2092         deck chairs.
2094 2013-07-01  Morten Welinder  <terra@gnome.org>
2096         * configure.ac (long double): Crude use -lm for long double
2097         function checks.  Fixes #703397.
2099 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2101         * src/expr.c (gnm_expr_list_copy): new
2102         * src/expr.h (gnm_expr_list_copy): new
2104 2013-06-26  Morten Welinder  <terra@gnome.org>
2106         * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2107         of ->op before using it.  Fixes #703143.
2109 2013-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2111         * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2112         [#703052]
2113         (gnm_so_path_copy): fixed copy with multiple paths.
2115 2013-06-25  Morten Welinder <terra@gnome.org>
2117         * configure.ac: Post-release bump.
2119 2013-06-25  Morten Welinder <terra@gnome.org>
2121         * Release 1.12.3
2123 2013-06-24  Morten Welinder  <terra@gnome.org>
2125         * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2126         sheet.  Fixes #703006.
2128 2013-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2130         * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2131         without sheet
2133 2013-06-22  Jean Brefort  <jean.brefort@normalesup.org>
2135         * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2136         a valid pattern. [#702833]
2137         * src/pattern.c (gnumeric_background_set): ditto.
2139 2013-06-21  Morten Welinder  <terra@gnome.org>
2141         * src/item-grid.c (item_grid_draw_region): Plug leak.
2143         * src/item-bar.c (ib_reload_style): Plug leak.
2145 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2147         * src/wbc-gtk.c (show_gui): protect against excessively large
2148         preferred widow sizes
2150 2013-06-14  Morten Welinder  <terra@gnome.org>
2152         * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2154         * src/workbook.c (workbook_sheet_delete): Debug.
2155         (workbook_dispose): Also clear style here.  Styles can have
2156         dependents now.  Fixes #702218.
2158 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2160         * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2162 2013-06-12  Morten Welinder  <terra@gnome.org>
2164         * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2165         Fixes #702101.
2167 2013-06-04  Morten Welinder  <terra@gnome.org>
2169         * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2171 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2173         * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2174         (scg_comment_display): adjust background and fontcolor if necessary
2176 2013-06-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2178         * src/item-grid.c (cb_cursor_come_to_rest):
2179         gnumeric_position_tooltip needs the tooltip size, so load the text
2180         before calling it.
2182 2013-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2184         * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2185         with button 2
2187 2013-05-27  Morten Welinder  <terra@gnome.org>
2189         * src/mathfunc.c (pnorm2): Drop log_p argument.  We don't need it
2190         and we aren't very good at it.
2192 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2194         * component/Gnumeric-embed.xml.in: add accelerator
2195         * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2196         * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2197         (EditGotoCellIndicator): new
2198         * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2199         (wbcg_focus_current_cell_indicator): new
2200         * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2202 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2204         * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2205         * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2206         * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2207         * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2209 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2211         * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2212         behave the same as far as cell selection is concerned. This fixes
2213         bug #700792
2214         (item_grid_button_released): ditto
2216 2013-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2218         * src/sheet.c (sheet_get_extent): add argument to indicate whether
2219         to include hidden cells
2220         (cb_sheet_get_extent): handle hidden cells setting
2221         (sheet_get_printarea): do not include hidden cells
2222         * src/sheet.h (sheet_get_extent): add argument and change all
2223         callers
2225 2013-05-26  Morten Welinder  <terra@gnome.org>
2227         * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2228         Termiate when contributions vanish.
2230 2013-05-24  Morten Welinder  <terra@gnome.org>
2232         * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2233         the outer integral.
2234         (pfuncinverter): Handle lack of dfunc (poorly).
2236 2013-05-23  Morten Welinder  <terra@gnome.org>
2238         * src/mathfunc.c (ptukey_otsum): Split integration of a single
2239         interval out from out from R_ptukey.
2240         (R_ptukey): Split the interval nearest 0 into a sequence of
2241         intervals over which the integrand looks a lot more like a
2242         polynomial.  This fixes accuracy problems for low degrees of
2243         freedom.
2245         * src/sheet-style.c (internal_style_list): Fix critical.
2247 2013-05-22  Morten Welinder  <terra@gnome.org>
2249         * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2251 2013-05-21  Morten Welinder  <terra@gnome.org>
2253         * src/mathfunc.c (R_ptukey): More C, less Fortran.
2255 2013-05-19  Morten Welinder  <terra@gnome.org>
2257         * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2258         boundaries.
2259         (pnorm2): Get rid of mu and sigma arguments.  Improve accuracy.
2261 2013-05-18  Morten Welinder  <terra@gnome.org>
2263         * src/mathfunc.c (pnorm2): New function.
2264         (R_ptukey): New function imported from R with local improvements.
2266 2013-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2268         * src/print.c (gnm_create_widget_cb): by default observe
2269         manual page breaks
2271 2013-05-14  Morten Welinder  <terra@gnome.org>
2273         * src/rangefunc.c (gnm_range_multinomial): Add range check.
2274         (gnm_range_geometric_mean): Handle two FIXMEs.
2276 2013-05-13  Morten Welinder  <terra@gnome.org>
2278         * src/*.c: Mark gobject property strings as P_(...).
2280 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2282         * src/commands.c (cmd_merge_data_redo): unref merge_contents
2284 2013-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2286         * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2287         rather than gnm_cell_assign_value
2289 2013-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2291         * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2292         first column
2294 2013-05-05  Morten Welinder  <terra@gnome.org>
2296         * src/dependent.c (style_dep_eval): New function.  Re-clear the
2297         rendered value here.  Fixes #699647.
2299 2013-05-03  Morten Welinder  <terra@gnome.org>
2301         * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2302         accelerator for redo.  Fixes #699579.
2303         (wbc_gtk_create_notebook_area): Mark the button notebook as non
2304         focusable.
2306         * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2308 2013-05-01  Morten Welinder  <terra@gnome.org>
2310         * src/print-info.c: Add gsf includes to make things work with
2311         libgsf 1.14.24.  Redhat #957851.
2313 2013-04-29  Morten Welinder  <terra@gnome.org>
2315         * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2316         cells.
2318 2013-04-26  Morten Welinder <terra@gnome.org>
2320         * configure.ac: Post-release bump.
2322 2013-04-26  Morten Welinder <terra@gnome.org>
2324         * Release 1.12.2
2326 2013-04-26  Morten Welinder  <terra@gnome.org>
2328         * src/gnumeric.css (GnmItemBar): Make red labels for selected
2329         row/column items the default.
2331 2013-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2333         * src/wbc-gtk-actions.c: rename some items in the statistics menu
2335 2013-04-24  Morten Welinder  <terra@gnome.org>
2337         * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2338         widget parameter.  All callers changed.
2340         * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2341         delayedMovement.timer.
2343         * src/item-cursor.c (gnm_item_cursor_init): Ditto
2344         animation_cursor.
2346         * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2347         windows_update_timer.
2349         * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2350         guint to match glib.  Use 0 as undefined since (guint)-1 is a
2351         valid tag.
2353         * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2354         sliding).
2356 2013-04-23  Morten Welinder  <terra@gnome.org>
2358         * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2360         * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2361         critical.  Fixes #698680.
2363         * src/gui-file.c (gui_file_save_as): For export, change extension.
2364         Fixes #698636.
2366 2013-04-22  Morten Welinder  <terra@gnome.org>
2368         * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2369         Somehow fixes #625687.
2371 2013-04-20  Morten Welinder  <terra@gnome.org>
2373         * src/go-data-slicer-field.c
2374         (go_data_slicer_field_set_field_type_pos): Add precondition for
2375         slicer.
2377 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2379         * src/print-info.c (render_title): new
2381 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2383         * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2384         cells.
2385         (sheet_range_set_text): ditto
2387 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2389         * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2390         than padding.
2392 2013-04-22  Morten Welinder  <terra@gnome.org>
2394         * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2396 2013-04-19  Morten Welinder  <terra@gnome.org>
2398         * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2399         view approach.  Fixes #689283.
2401         * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2402         mode.
2403         (wbc_gtk_init_color_fore): Ditto.
2404         (wbc_gtk_init_color_back): Ditto.
2406 2013-04-17  Morten Welinder  <terra@gnome.org>
2408         * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2409         button.
2411         * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2412         font_name_haction.
2414         * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2415         only for horizontal toolbars.
2417         * src/gui-file.c (file_saver_format_changed_cb): New function to
2418         change the extension when the format is changed.
2419         (gui_file_save_as): Don't try to hide the extension -- it
2420         interferes with the file chooser's completion.  Fixes #695839.
2422 2013-04-16  Morten Welinder  <terra@gnome.org>
2424         * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2425         menu for graph sheets.  Fixes #685446.
2426         (sheet_menu_label_run): Disable resize for graph sheets.
2428         * src/value.c (parse_criteria): Anchor only at start.  Fixes
2429         #661800.
2430         (parse_criteria): Handle criteria "=" and "<>" (with no value
2431         after the operator) special.  These test for empty and non-empty
2432         values.  Fixes #686156.
2434         * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2435         "anchor_start" and "anchor_end".  All callers changed.
2437 2013-04-15  Morten Welinder  <terra@gnome.org>
2439         * src/application.c (add_icon): Plug leak.
2441         * src/number-match.c (format_match_decimal_number): Try also major
2442         non-locale currencies.  Fixes #577768.
2444 2013-04-13  Morten Welinder  <terra@gnome.org>
2446         * src/mathfunc.c (pochhammer): Improve precision a bit.
2447         (binomialcf): Lower cfSmall by 10^3.  This helps
2448         pbeta(0.9,10,0.5).
2450         * configure.ac (GETTEXT_PACKAGE): Add version number so that
2451         doesn't prevent multiple versions from co-existing.
2453         * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2454         dirty.  Callers already appear to handle this when needed
2455         and not when not wanted.  Fixes #697927.
2457 2013-04-12  Morten Welinder  <terra@gnome.org>
2459         * src/mathfunc.c (gnm_owent): Fix a==1 special case.  Part of
2460         #697850.
2461         (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2462         reported to R).
2463         (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2465 2013-04-11  Morten Welinder  <terra@gnome.org>
2467         * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2468         reference with invalid_sheet.  Fixes #683494.
2470         * src/complex.c (complex_to_string): Drop format arguments.  All
2471         callers changed.  Make up a format with enough precision for round
2472         tripping.  Fixes #697634.
2474 2013-04-09  Morten Welinder  <terra@gnome.org>
2476         * src/complex.c (complex_from_string): Make this handle embedded
2477         spaces systematically.
2478         (is_unit_imaginary): Delete.
2480 2013-04-09  Morten Welinder  <terra@gnome.org>
2482         * src/complex.c (complex_pow): Use Goffice's copy.
2484 2013-04-05  Morten Welinder  <terra@gnome.org>
2486         * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2487         new screens.  Add hack for pre-GTK 3.4.
2489         * src/mathfunc.c (gnm_owent): New function.
2491 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2493         * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2494         functions used as vectors. [697281]
2496 2013-04-04  Jean Brefort  <jean.brefort@normalesup.org>
2498         * src/graph.c (gnm_go_data_vector_load_values),
2499         (gnm_go_data_vector_get_str): fix values and strings loading in case of
2500         arrays. [697107]
2502 2013-04-03  Morten Welinder  <terra@gnome.org>
2504         * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2505         attributes of the tab.
2507         * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2508         GnmNotebookButton, not an EditableLabel.
2510 2013-04-02  Morten Welinder  <terra@gnome.org>
2512         * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2513         widget.
2514         (cb_wbcg_drag_leave): Ditto.
2516 2013-03-27  Morten Welinder  <terra@gnome.org>
2518         * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2519         key we look up.  When did that change?
2521 2013-03-27  Jean Brefort  <jean.brefort@normalesup.org>
2523         * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2524         remove the frame.
2526 2013-03-26  Morten Welinder  <terra@gnome.org>
2528         * src/item-edit.c: Theme the in-cell edit background color.
2530         * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2531         into here.
2532         src/gui-gnumeric.h: Remove.
2534         * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2535         non-NULL if there is a selection.
2536         (gnumeric_background_set_gtk): Delete.  Make callers use
2537         gnumeric_background_set.
2539         * src/preview-grid.c (preview_grid_draw_background): Always
2540         provide a context to gnumeric_background_set.
2541         * src/item-edit.c (item_edit_draw): Ditto.
2543         * src/item-cursor.c (ic_reload_style): Use class, not state, to
2544         separate the different cursor types.  Separate autofill colouring
2545         from drag ditto.
2547 2013-03-25  Morten Welinder  <terra@gnome.org>
2549         * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2550         color to GOColor.
2551         (ic_reload_style): Theme some of the cursor colors.
2553         * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2554         not colour name.
2556         * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2558         * src/gnumeric.css: use deprecated px-free syntax for padding, so
2559         gtk+ 3.2 can deal with it.
2561         * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2562         can suppress deprecations.
2564         * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2565         the "all" button.
2567         * src/item-bar.c (ib_reload_style): Load fonts from style.
2569 2013-03-24  Morten Welinder  <terra@gnome.org>
2571         * src/item-grid.c (item_grid_draw_region): Draw the background at
2572         the right coordinates!
2574 2013-03-23  Morten Welinder  <terra@gnome.org>
2576         * src/item-bar.c (ib_draw_cell): There's no point in going to and
2577         from GOColor here.  Just use the color as-is.
2579 2013-03-19  Morten Welinder  <terra@gnome.org>
2581         * src/application.c (install_icons): Install also the icon themed
2582         icons.  No idea why we have both.
2584         * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2586         * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2587         (embedded_imgs): Add the rest from pixmaps.
2589         * configure.ac: No longer create src/pixmaps/Makefile
2591         * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2592         these work for resources and absolute paths.
2594 2013-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2596         * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2597         not sizeable objects bounds after dragging when zoom is not 100%.
2599 2013-03-18  Morten Welinder  <terra@gnome.org>
2601         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2602         filter.  It takes just long enough to be irritating.
2604 2013-03-17  Morten Welinder  <terra@gnome.org>
2606         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2607         style since we're not picking it explicitly.
2608         (cb_font_filter): Fix leak.
2610 2013-03-14  Morten Welinder  <terra@gnome.org>
2612         * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2613         ignore non-scalable fonts.
2615 2013-03-11  Morten Welinder  <terra@gnome.org>
2617         * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2619 2013-03-10  Morten Welinder  <terra@gnome.org>
2621         * src/ssconvert.c (list_them): Skip savers/openers that require
2622         interaction.  (We don't have any yet.)
2624         * src/stf.c (stf_read_workbook): Set error when we fail due to
2625         lack of GUI.
2626         (stf_init): Mark the configurable saver/opener as interactive.
2628         * src/ssconvert.c (convert): Fix error handling.  Fixes #695529.
2630 2013-03-09  Morten Welinder <terra@gnome.org>
2632         * configure.ac: Post-release bump.
2634 2013-03-09  Morten Welinder <terra@gnome.org>
2636         * Release 1.12.1
2638 2013-03-06  Morten Welinder  <terra@gnome.org>
2640         * src/wbc-gtk.c (list_actions): Handle a null group.
2642 2013-03-03  Morten Welinder  <terra@gnome.org>
2644         * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2645         g_thread_init if compiled with later than glib 2.32.0.
2647 2013-03-02  Jean Brefort  <jean.brefort@normalesup.org>
2649         * src/gnm-pane-impl.h: remove alignments.
2650         * src/gnm-pane.c (gnm_pane_header_init): dittO;
2651         * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2652         * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2653         * src/sheet-control-gui-priv.h: remove all tables by one grid.
2654         * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2655         (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2656         (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2657         (scg_mode_edit): ditto.
2658         * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2659         (cb_sheet_visibility_change), (wbcg_sheet_add),
2660         (wbcg_sheet_remove), (wbcg_sheet_focus),
2661         (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2662         (wbcg_get_nth_scg): ditto.
2664 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
2666         * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2667         * src/print.c (gnm_create_widget_cb): ditto.
2668         * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
2670 2013-03-01  Morten Welinder  <terra@gnome.org>
2672         * src/mathfunc.h: Make sure the "q" functions take "p" as their
2673         first argument, not "x".
2675 2013-03-01  Jean Brefort  <jean.brefort@normalesup.org>
2677         reviewed by: <delete if not using a buddy>
2679         * INSTALL:
2680         * src/sheet-object-widget.c (sheet_widget_button_user_config),
2681         (sheet_widget_adjustment_user_config_impl),
2682         (sheet_widget_checkbox_user_config),
2683         (sheet_widget_radio_button_user_config):
2684         * src/wbc-gtk.c (wbc_gtk_init):
2686 2013-02-28  Morten Welinder  <terra@gnome.org>
2688         * configure.ac: remove the DISABLE_DEPRECATED defines even from
2689         development versions.  We now get the information through gcc
2690         warnings.
2691         (solver): Make solver code unconditional.  Feel free to not
2692         distribute the relevant plugins.
2694 2013-02-26  Morten Welinder  <terra@gnome.org>
2696         * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
2698 2013-02-26  Jean Brefort  <jean.brefort@normalesup.org>
2700         * src/number-match.c: more introspection warnings.
2702 2013-02-23  Morten Welinder  <terra@gnome.org>
2704         * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
2706 2013-02-21  Morten Welinder  <terra@gnome.org>
2708         * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
2709         GHFunc.  All callers changed.  Impose a robust ordering.
2710         (sh_all_styles): New function replacing sh_foreach.
2712 2013-02-20  Morten Welinder  <terra@gnome.org>
2714         * src/sheet-object-graph.c (dim_start): Survive malformed xml.
2716 2013-02-20  Jean Brefort  <jean.brefort@normalesup.org>
2718         * configure.ac: make configure --with-python fail when some
2719         dependency is missing.
2721 2013-02-17  Morten Welinder  <terra@gnome.org>
2723         * configure.ac (set_more_warnings): Improve support for clang.
2725 2013-02-16  Morten Welinder  <terra@gnome.org>
2727         * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
2728         (Most cases a matter of 0 vs. 0.)
2730 2013-02-16  Jean Brefort  <jean.brefort@normalesup.org>
2732         * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
2733         default value for stf export format.
2734         * src/dependent.c: fix introspection warnings.
2735         * src/sheet-style.c: ditto.
2737 2013-02-15  Morten Welinder  <terra@gnome.org>
2739         * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
2740         3.2.0 just like goffice.
2742         * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
2743         requiring gtk 3.2
2745 2013-02-14  Morten Welinder  <terra@gnome.org>
2747         * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
2748         not MAXDOUBLE.  Fixes #693761.
2750 2013-02-10  Morten Welinder  <terra@gnome.org>
2752         * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
2753         doesn't belong here.  We handle everything in rstyle_apply.
2755 2013-02-08  Morten Welinder  <terra@gnome.org>
2757         * src/sheet-style.c (rstyle_apply): Take extra range argument and
2758         link/unlink style dependents.  All callers changed.
2759         (sheet_style_shutdown): Set default style for whole sheet to
2760         ensure style dependents get cleared.
2762 2013-02-07  Morten Welinder  <terra@gnome.org>
2764         * src/sheet-style.c (cell_tile_optimize): Implement
2765         ptr-matrix-to-matrix optimization and use it to simplify things.
2767         * src/dependent.c (GnmStyleDependent): New type of dependent.
2768         When triggered, the cells in which it resised will be rerendered
2769         and redrawn.
2771         * src/mstyle.c (gnm_style_link_dependents)
2772         (gnm_style_unlink_dependents): New functions to manage style
2773         dependents due to conditional formatting.
2775 2013-02-06  Morten Welinder  <terra@gnome.org>
2777         * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
2778         inside-out in anticipation of future changes.
2780         (col_indicies, row_indicies): Alignment of the corners of apply_to
2781         is only relevant if we are within the tile.
2783 2013-02-06  Morten Welinder  <terra@gnome.org>
2785         * src/sheet-style.c (tile_is_uniform): Extract from
2786         cell_tile_optimize.
2787         (vector_apply_pstyle): Don't return a value.
2788         (cell_tile_apply): Use tile_is_uniform.
2790 2013-02-05  Morten Welinder  <terra@gnome.org>
2792         * src/sheet-style.c (sheet_style_get): Simplify with "while"
2793         instead of crazy "goto".
2794         (cell_tile_apply): Simplify the covers-whole-tile case.
2796         * src/sheet.h (Sheet): Remove max_width and max_height members.
2797         All users fixed.
2799         * src/dependent.h (GnmDependentClass): Add pos handler.
2801         * src/dependent.c (dependent_pos): Use pos handler.
2802         (dummy_dep_eval): New null handler for GnmDependentClass::eval.
2804 2013-02-04  Morten Welinder  <terra@gnome.org>
2806         * src/dependent.c (dependent_pos): Make global.
2808         * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
2809         dependent_pos.
2811         * src/ssconvert.c (run_tool_test): Add code for running the
2812         regression tool.
2813         (convert): Run an analysis tool if requested.  (For testing.)
2815 2013-02-02  Morten Welinder  <terra@gnome.org>
2817         * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
2818         and rstyle_ctor_pstyle.  All callers changed.
2820 2013-01-18  Morten Welinder  <terra@gnome.org>
2822         * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
2823         (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
2824         New matrix support.
2825         (gnm_matrix_multiply): Renamed from mmult and changed to use above.
2826         (gnm_matrix_eigen): Change to take GnmMatrix arguments.
2828 2013-01-15  Morten Welinder  <terra@gnome.org>
2830         * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
2831         import from command line.
2833 2013-01-15  Jean Brefort  <jean.brefort@normalesup.org>
2835         * configure.ac: renamed configure.in and update obsolete macros.
2836         * configure.in: ditto.
2838 2013-01-14  Colin Watson  <cjwatson@ubuntu.com>
2840         * configure.in: Add
2841         distutils.sysconfig.get_python_inc(plat_specific=True) to Python
2842         includes.
2844 2013-01-14  Jean Brefort  <jean.brefort@normalesup.org>
2846         * src/sheet-control-gui.c (sheet_control_gui_new): typo.
2847         * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
2848         twice the top and bottom margins when displaying a graph
2849         sheet. [#691472]
2851 2013-01-10  Morten Welinder  <terra@gnome.org>
2853         * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
2854         argument and assume TRUE.  Drop scope name and assume NULL (which
2855         is what all callers should have used).  All callers changed.
2856         (gnm_func_add_placeholder): Ditto.
2857         (invent_name): Downcase the preferred name.
2858         (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
2859         (gnm_func_add): Initialize arg_names_p.
2861         * src/gnm-plugin.c (plugin_service_function_group_activate):
2862         Upgrade existing placeholder functions as needed.
2864         * src/func.c (gnm_func_upgrade_placeholder): Rename from
2865         gnm_func_upgrade_placeholder.  Take GnmFunc argument, not name.
2867 2013-01-10  Morten Welinder  <terra@gnome.org>
2869         * src/func.c (gnm_func_add_placeholder_localized): New function.
2870         (gnm_func_add_placeholder_full): Extract from
2871         gnm_func_add_placeholder.  Handle localization better.
2872         (gnm_func_set_localized_name): New function.
2873         (gnm_func_free, gnm_func_get_name): Use
2874         gnm_func_set_localized_name.
2876         * src/parse-util.c (std_func_map): Improve handling of unknown
2877         function names.
2879         * src/func.c (gnm_func_group_remove_func): Factor this out from...
2880         (gnm_func_free): ...here.
2882 2013-01-09  Morten Welinder  <terra@gnome.org>
2884         * src/symbol.c: delete.
2886         * src/func.c: rewrite to use GHashTable instead of symbol.c
2887         (gnm_func_lookup_prefix): Take extra argument indicating whether
2888         to search translated names.  Caller changed.
2890         * src/parse-util.c (std_func_map): Lookup translated name as
2891         needed.
2892         (parse_util_init): Add enviroment magic to turn on translated
2893         functions names.  This is not ready for prime time and should be
2894         controlled by a user preference eventually.
2896         * src/mathfunc.c (gnm_matrix_eigen): Silence warning.  Document a
2897         bit.
2899 2013-01-07  Morten Welinder  <terra@gnome.org>
2901         * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
2902         pivot.  Use gnm_hypot where possible.
2904 2013-01-04  Morten Welinder  <terra@gnome.org>
2906         * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
2907         as argument.  Keep track of displays.
2908         (gnm_x_disown_clipboard): New function.
2910         * src/application.c (gnm_app_clipboard_clear): Use
2911         gnm_x_disown_clipboard to make things multi-head safe.
2913 2013-01-03  Morten Welinder  <terra@gnome.org>
2915         * src/collect.c (collect_floats): Fix handling of
2916         COLLECT_IGNORE_ERRORS.
2917         (collect_strings): Ditto.
2918         (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
2920 2013-01-01  Morten Welinder  <terra@gnome.org>
2922         * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
2923         deprecated goffice stuff.
2925         * src/cellspan.c (cell_register_span, cell_calc_span): Remove
2926         unused variable.
2927         * src/gnm-pane.c (control_point_leave_notify): Ditto.
2928         * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
2929         * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
2931         * src/application.c (gnm_app_history_add): Kill warning.
2933 2012-12-31  Morten Welinder  <terra@gnome.org>
2935         * src/sheet-style.c (sheet_style_resize): Double off-by-one.
2936         Fixed #690929.
2938         * src/ssdiff.c: Introduce --highlight mode.
2940 2012-12-30  Morten Welinder  <terra@gnome.org>
2942         * src/ssdiff.c (main): Add option to send output to a file.
2944 2012-12-29  Morten Welinder  <terra@gnome.org>
2946         * src/ssdiff.c (diff): Use C locale.
2947         (ignore_cell): Ignore arrays, except for the corner.
2948         (output_cell): New function taking proper care of value types,
2949         convensions, etc.
2950         (xml_cell_changed): Use output_cell.
2951         (compare_corresponding_cells): Don't use entered_text here either,
2952         although it's harmless.
2953         (output_cell, compare_corresponding_cells): Handle value formats
2954         too.
2956 2012-12-28  Valek Filippov  <frob@df.ru>
2958         * gnm-pane.c, shell-control-gui.c: Replaced deprecated
2959         gdk_window_get_pointer calls.
2961 2012-12-28  Morten Welinder  <terra@gnome.org>
2963         * src/*.c: Eliminate use of printf.
2965         * src/sheet-style.c (sheet_style_range_foreach): Move handling of
2966         range offset here.  This may need to move further.
2967         * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
2968         (diff_sheets_cells): Ignore completely empty cells.
2969         (xml_sheet_start): Change meaning of Old and New attributes to be
2970         index_in_wb and absent when workbook doesn't have the sheet.
2971         (xml_style_changed): Describe style differences.
2973 2012-12-27  Morten Welinder  <terra@gnome.org>
2975         * src/ssdiff.c (diff_sheets): Compare styles too.
2977         * src/sheet-style.c (sheet_style_range_foreach): Add optional
2978         range argument.  All callers changed.
2980 2012-12-24  Morten Welinder  <terra@gnome.org>
2982         * src/ssdiff.c (def_cell_changed): Merge cell_added and
2983         cell_removed handlers into the cell_changed handler.
2984         (main): Add --xml option.
2986         * configure.in: ssconvert, ssindex, and ssgrep are no longer
2987         configurable.  We need ssconvert for the test and it's silly
2988         anyway.
2990 2012-12-18  Morten Welinder <terra@gnome.org>
2992         * configure.in: Post-release bump.