1 2017-12-30 Morten Welinder <terra@gnome.org>
3 * src/expr.c (gnm_expr_top_get_array_corner): Remove. All callers
5 (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
6 (gnm_expr_top_get_array_expr): New functions.
8 * src/cell.c (gnm_cell_is_array_corner): Remove. All callers
11 2017-12-29 Morten Welinder <terra@gnome.org>
13 * src/ssdiff.c (diff_names): Fix checks for inserted or removed
16 2017-12-28 Morten Welinder <terra@gnome.org>
18 * configure.ac: Post-release bump.
20 2017-12-28 Morten Welinder <terra@gnome.org>
24 2017-12-25 Morten Welinder <terra@gnome.org>
26 * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
27 * src/func-builtin.c (func_builtin_init): Ditto.
29 2017-12-23 Morten Welinder <terra@gnome.org>
31 * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
33 2017-12-04 Morten Welinder <terra@gnome.org>
35 * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
36 instead of passing them all over the place.
37 (diff): Compare names too.
39 2017-12-03 Morten Welinder <terra@gnome.org>
41 * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
42 (diff): Missing or extra sheet counts as a difference.
44 * src/mstyle.c (gnm_style_find_differences): Don't crash when
45 hlink/validation/inputmsg/conditions is NULL in one and not the other.
47 * src/ssdiff.c (diff_sheets_colrow): New function to compare
49 (highlight_cell_changed): Survive missing cell.
51 2017-12-01 Morten Welinder <terra@gnome.org>
53 * configure.ac: Post-release bump.
55 2017-12-01 Morten Welinder <terra@gnome.org>
59 2017-11-30 Morten Welinder <terra@gnome.org>
61 * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
63 * src/parse-util.c (wbref_parse): Ditto.
64 * src/preview-grid.c (preview_grid_draw_region): Ditto.
65 * src/item-grid.c (item_grid_draw_region): Ditto.
66 * src/parser.y (yylex): Ditto.
67 * src/criteria.c (parse_database_criteria): Ditto.
69 * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
72 * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
75 2017-11-29 Morten Welinder <terra@gnome.org>
77 * src/sstest.c (enumerate_functions): Make sure function is loaded.
79 * src/func-builtin.c (help_table): Add help text for TABLE.
81 * src/func.c (gnm_func_enumerate): Introspection annotation.
83 * src/sstest.c (function_dump_defs): Move from func.c with all
85 (gnm_func_sanity_check): Ditto.
87 * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
89 * src/main-application.c (pathetic_qt_workaround): Not needed
92 * (gnumeric-object-combo.png): redo based on list combo. This avoids
93 looking strange when insensitive and also is a consistent size.
95 2017-11-18 Morten Welinder <terra@gnome.org>
97 * configure.ac: Post-release bump.
99 2017-11-18 Morten Welinder <terra@gnome.org>
103 2017-10-29 Jean Brefort <jean.brefort@normalesup.org>
105 * src/gnumeric.css: add grid:selected back-color.
106 * src/item-grid.c (item_grid_draw_region): fix background of multiple
109 2017-10-23 Morten Welinder <terra@gnome.org>
111 * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
114 2017-07-06 Morten Welinder <terra@gnome.org>
116 * configure.ac: Post-release bump.
118 2017-07-06 Morten Welinder <terra@gnome.org>
122 2017-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
124 * src/sheet-object-widget.c
125 (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
128 2017-05-18 Morten Welinder <terra@gnome.org>
130 * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
132 (jy_via_j_series): Rename from y_via_j_series and supply both J
133 and Y results. Use the full J result accuracy.
134 (gnm_bessel_phi): Improve divergence check.
136 2017-05-16 Morten Welinder <terra@gnome.org>
138 * src/sf-bessel.c (debye_33): Handle near-overflow better.
139 (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
142 * src/gutils.c (gnm_utf8_strto): Handle denormals better.
144 * src/value.c (value_new_from_string): Handle denormals betters.
146 2017-04-05 Morten Welinder <terra@gnome.org>
148 * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
149 Generalize to Pi/2^e and make public.
151 2017-03-28 Morten Welinder <terra@gnome.org>
153 * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
154 (hankel1_A1): Use gnm_yn if we can. Near integer order, center
155 around the integer with odd count when we can.
157 2017-03-21 Morten Welinder <terra@gnome.org>
159 * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
160 deviation for each bin.
161 (test_random_randchisq, test_random_randtdist)
162 (test_random_randfdist): Don't allow df=0.
163 (test_random_randbeta): Don't floor the parameters thus avoiding
166 2017-03-20 Morten Welinder <terra@gnome.org>
168 * configure.ac: Post-release bump.
170 2017-03-20 Morten Welinder <terra@gnome.org>
174 2017-03-17 Morten Welinder <terra@gnome.org>
176 * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
177 bogus GnmColor here. The fake object prevents GnmColor equality
178 from working which in turn prevents GnmBorder equality from
181 * src/style-color.c (gnm_color_make): Rename from
182 gnm_color_new_uninterned and handle caching here.
183 (gnm_color_new_auto): New function.
185 * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
186 (compare_corresponding_cells): Fall back to string comparison.
187 References like Sheet1!A1 should match even if they, obviously,
188 refer to sheets in different workbooks.
190 * src/style-conditions.c (gnm_style_conditions_equal): Add new
191 relax_sheet argument.
193 * src/validation.c (gnm_validation_equal): New function.
195 * src/mstyle.c (gnm_style_find_differences): New function.
197 * src/ssdiff.c (xml_style_changed): Use
198 gnm_style_find_differences.
200 * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
201 gnm_style_find_differences, not gnm_style_equal.
203 * src/hlink.c (gnm_hlink_equal): New function.
205 2017-03-13 Morten Welinder <terra@gnome.org>
207 * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
208 inter-sheet local name references.
210 2017-03-10 Morten Welinder <terra@gnome.org>
212 * src/hlink.c (gnm_hlink_get_name_target)
213 (gnm_hlink_get_range_target): New functions.
214 (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
216 2017-03-07 Morten Welinder <terra@gnome.org>
218 * src/parser.y (parser_simple_name): Extract from
219 parser_simple_val_or_name. Extend to handle explicit sheet.
220 ("sheetref STRING"): Ise parser_simple_name.
222 2017-03-06 Morten Welinder <terra@gnome.org>
224 * src/expr-name.c (expr_name_add): Plug leak.
226 2017-03-05 Morten Welinder <terra@gnome.org>
228 * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
229 (gnm_hlink_cur_wb_activate): Move string parsing from here...
230 (gnm_hlink_cur_wb_set_target): ...to here. Check name first as
231 value_new_cellrange_str will resolve a name.
233 * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
234 sheet for hlinks too.
236 * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
237 (gnm_hlink_set_sheet): New functions.
239 2017-01-30 Morten Welinder <terra@gnome.org>
241 * configure.ac: Post-release bump.
243 2017-01-30 Morten Welinder <terra@gnome.org>
247 2017-01-29 Morten Welinder <terra@gnome.org>
249 * src/style-conditions.c (gnm_style_cond_equal): New function.
250 (gnm_style_conditions_equal): ...split out from here.
252 2017-01-25 Morten Welinder <terra@gnome.org>
254 * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
256 2017-01-22 Morten Welinder <terra@gnome.org>
258 * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
259 expression for text formatted cells.
260 (stf_parse_sheet): Don't try number parsing for text formatted
261 columns. Fixes #777543.
263 2017-01-22 Jean Brefort <jean.brefort@normalesup.org>
265 * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
266 format when generating the string. [#777338]
268 2017-01-19 Morten Welinder <terra@gnome.org>
270 * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
272 * src/style-conditions.c (gnm_style_conditions_equal): New
275 2016-12-08 Morten Welinder <terra@gnome.org>
277 * src/mathfunc.c (gnm_linear_solve): Use proper matrix type. All
279 (gnm_linear_solve_multiple): Ditto.
281 2016-10-02 Morten Welinder <terra@gnome.org>
283 * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
284 g_mem_set_vtable stuff actually works anymore.
286 2016-08-21 Morten Welinder <terra@gnome.org>
288 * src/sstest.c (options): Add --fast option.
290 * src/value.c (value_get_as_gstring): Let a negative
291 decimal_digits mean "shortest round-tripping string".
293 2016-08-20 Morten Welinder <terra@gnome.org>
295 * configure.ac: Post-release bump.
297 2016-08-20 Morten Welinder <terra@gnome.org>
301 2016-08-08 Morten Welinder <terra@gnome.org>
303 * src/criteria.c (criteria_inspect_values): Add flag for string
304 coercion. Only the equality test wants that.
306 * src/value.c (criteria_inspect_values): Floats don't match
309 2016-08-04 Morten Welinder <terra@gnome.org>
311 * src/rangefunc-strings.c (range_concatenate): Add (unused) user
314 * src/collect.c (string_range_function): Add user pointer. Caller
317 2016-06-29 Morten Welinder <terra@gnome.org>
319 * configure.ac: Post-release bump.
321 2016-06-29 Morten Welinder <terra@gnome.org>
325 2016-06-29 Morten Welinder <terra@gnome.org>
327 * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
328 related to sheet-local names. [#768164]
330 2016-06-28 Morten Welinder <terra@gnome.org>
332 * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
333 of different lenghts.
335 2016-06-21 Morten Welinder <terra@gnome.org>
337 * src/value.c (criteria_test_greater_or_equal): Use case-folding
338 comparisons for strings.
339 (parse_criteria, parse_criteria_range): Add argument controlling
340 whether to anchor matching at end of string.
341 (parse_database_criteria): Don't anchor here.
343 2016-06-17 Morten Welinder <terra@gnome.org>
345 * configure.ac: Post-release bump.
347 2016-06-17 Morten Welinder <terra@gnome.org>
351 2016-06-17 Morten Welinder <terra@gnome.org>
353 * src/value.c (parse_criteria): Anchor matches at the beginning,
356 2016-06-11 Morten Welinder <terra@gnome.org>
358 * src/value.c (find_rows_that_match): Fix blank handling.
359 (criteria_test_unequal): Wrong type means unequal.
360 (criteria_test_match): Only match strings.
361 (parse_criteria): Don't anchor matches. This is the right thing
362 to do for DSUM and friends. Hopefully this doesn't break anything
364 (criteria_inspect_values): Strings are incompatible with
366 (criteria_test_less, criteria_test_less_or_equal)
367 (criteria_test_greater, criteria_test_greater_or_equal): handle
370 2016-05-19 Morten Welinder <terra@gnome.org>
372 * src/stf-parse.c (stf_parse_options_guess_formats): Separate
373 decimal counts for the hypothetical comma and point choices.
375 2016-05-10 Morten Welinder <terra@gnome.org>
377 * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
380 2016-05-06 Morten Welinder <terra@gnome.org>
382 * configure.ac: Post-release bump.
384 2016-05-06 Morten Welinder <terra@gnome.org>
388 2016-04-29 Morten Welinder <terra@gnome.org>
390 * src/gui-util.c (gnm_style_context_get_color): Fix function
391 wrapping gtk_style_context_get_color which changed API.
393 2016-04-24 Morten Welinder <terra@gnome.org>
395 * src/value-sheet.c (value_area_get_x_y): Use
396 gnm_rangeref_normalize. Do full wrap-around.
398 2016-04-24 Jean Brefort <jean.brefort@normalesup.org>
400 * src/graph.c (gnm_go_data_matrix_load_values): fix array
403 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
405 * configure.ac: protect against pxlib weirdness.
407 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
409 * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
412 2016-03-22 Morten Welinder <terra@gnome.org>
414 * configure.ac: Post-release bump.
416 2016-03-22 Morten Welinder <terra@gnome.org>
420 2016-03-02 Morten Welinder <terra@gnome.org>
422 * src/sf-bessel.c: Return complex numbers by value, not reference.
424 2016-02-23 Morten Welinder <terra@gnome.org>
426 * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
428 2016-02-18 Morten Welinder <terra@gnome.org>
430 * src/parse-util.c (unquote): Properly account backslashes. Fixes
433 2016-02-12 Morten Welinder <terra@gnome.org>
435 * src/complex.h: Add a direct-value interface.
437 * src/ssconvert.c (run_solver): Also create solver reports as
438 indicated in options.
440 * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
442 2016-02-10 Morten Welinder <terra@gnome.org>
444 * src/gnumeric.css (toolbarzone): Set padding for toolbar children
445 to 1px. While that may be a sligh increase for certain
446 themes/gtk+ versions, it is a large decrease for others, notably
447 what comes with an out-of-the-box OpenSuSE leap. Override in
448 ~/.config/gtk-3.0/gtk.css if need be.
450 * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
451 wheel for horizontal motion instead of alt. Window managers tend
454 2016-02-08 Morten Welinder <terra@gnome.org>
456 * src/graph.c (gnm_go_data_vector_eval)
457 (gnm_go_data_vector_finalize): Plug leak.
459 2016-02-06 Morten Welinder <terra@gnome.org>
461 * configure.ac: Post-release bump.
463 2016-02-06 Morten Welinder <terra@gnome.org>
467 2016-02-06 Morten Welinder <terra@gnome.org>
469 * configure.ac (goffice): Require latest for
470 go_complex_from_polar_pi.
472 * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
473 when x<0 and a is real.
475 2016-02-04 Morten Welinder <terra@gnome.org>
477 * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
478 (gnm_complex_continued_fraction): Fail if we would otherwise try
479 to rescale by 0. Fix termination condition.
480 (igamma_asymp): Fix term update.
481 (complex_igamma): Fix flavour fixup.
483 2016-02-02 Morten Welinder <terra@gnome.org>
485 * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
486 (gamma_error_factor): Extend to all positive numbers.
487 (pochhammer_small_n): Allow any x > 1.
488 (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
490 2016-02-01 Morten Welinder <terra@gnome.org>
492 * configure.ac (yacc, lex): Fail if the required program isn't
495 2016-01-31 Morten Welinder <terra@gnome.org>
497 * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
498 complex continued fractions.
500 2016-01-30 Morten Welinder <terra@gnome.org>
502 * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
503 GtkStyleContext. Another ABI changes causes that to crash.
505 * src/value.c (find_column_of_field): Insist that the database be
506 a cell range, not an array.
508 2016-01-29 Morten Welinder <terra@gnome.org>
510 * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
511 (bessel_ij_series): Rename from bessel_j_series and extend to
514 * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
515 argument is less than one.
517 * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
518 about broken sheet filter.
520 * src/sheet-filter.c (gnm_filter_condition_new_single)
521 (gnm_filter_condition_new_double): Plug leak on error.
522 (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
524 2016-01-28 Jean Brefort <jean.brefort@normalesup.org>
526 * src/graph.c (gnm_go_data_vector_get_str): fix for a range
529 2016-01-27 Morten Welinder <terra@gnome.org>
531 * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
534 * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
537 2016-01-23 Morten Welinder <terra@gnome.org>
539 * src/parser.y (yylex): Be careful about overflowing numeric
540 token. Fixes #761023.
542 2016-01-20 Morten Welinder <terra@gnome.org>
544 * src/complex.h: Namespace. Mostly for macros.
546 2016-01-16 Morten Welinder <terra@gnome.org>
548 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
549 unused time argument. All callers changed.
550 (gnm_simple_canvas_grab): Remove unused arguments and return
551 value. All callers changed.
553 * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
554 without regrabbing the focus. See #760639.
556 2016-01-13 Morten Welinder <terra@gnome.org>
558 * src/sstest.c (test_random_randsnorm)
559 (test_random_randbernoulli): Print expected stats.
561 * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
562 are sane. Fixes #760544.
564 2016-01-08 Morten Welinder <terra@gnome.org>
566 * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
568 2016-01-06 Morten Welinder <terra@gnome.org>
570 * src/mathfunc.c (ebd0): Fix problem with overflow. [#760230]
572 2016-01-04 Morten Welinder <terra@gnome.org>
574 * src/sheet-style.c (sheet_style_apply_range)
575 (sheet_style_set_range): Silently ignore inverted ranges.
577 2016-01-03 Morten Welinder <terra@gnome.org>
579 * src/sheet-style.c (sheet_style_apply_range)
580 (sheet_style_set_range): Ensure sanity of range. Fixes #760102.
582 2016-01-02 Morten Welinder <terra@gnome.org>
584 * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
586 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
587 zero record size. Fixes #760087.
589 * src/mathfunc.c (pow1p): Handle nan. Fixes #760085.
591 2016-01-01 Morten Welinder <terra@gnome.org>
593 * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
595 * src/expr-name.c (expr_name_add): Improve check for circular name
596 defintion. Fixes #760046.
598 2015-12-28 Morten Welinder <terra@gnome.org>
600 * src/ssconvert.c (convert): When separating sheets, move current
601 sheet to the front. See bug #694408.
603 * src/stf-export.c (gnm_stf_file_saver_save): If we add current
604 sheet, remove it at the end.
606 2015-12-28 Morten Welinder <terra@gnome.org>
608 * configure.ac: Post-release bump.
610 2015-12-28 Morten Welinder <terra@gnome.org>
614 2015-12-26 Morten Welinder <terra@gnome.org>
616 * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
617 change here (on the grid).
618 (scg_class_init): Not here. We're not derived from GtkWidget.
620 * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
621 (foreach_tile): New top-level function taking few parameters. All
624 2015-12-25 Morten Welinder <terra@gnome.org>
626 * configure.ac: Post-release bump.
628 2015-12-25 Morten Welinder <terra@gnome.org>
632 2015-12-22 Morten Welinder <terra@gnome.org>
634 * src/ssdiff.c (xml_style_changed): Do more for input message and
637 2015-12-20 Morten Welinder <terra@gnome.org>
639 * src/sheet-control-gui.c (scg_screen_changed): New handler to get
641 (scg_resize): Limit frozen zones to screen size. Not idea, but
642 better than crashing.
644 2015-12-19 Morten Welinder <terra@gnome.org>
646 * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
648 2015-12-13 Morten Welinder <terra@gnome.org>
650 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
651 merges on column/row insert. Fixes #504004.
653 2015-12-12 Morten Welinder <terra@gnome.org>
655 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
656 when the merge partially falls off the far end.
658 2015-12-10 Morten Welinder <terra@gnome.org>
660 * src/gui-util.c (gnm_action_group_add_action): New wrapper to
661 ensure actions get accel paths.
663 2015-12-09 Morten Welinder <terra@gnome.org>
665 * src/wbc-gtk.c (wbcg_find_action): New function to look in
666 multiple places for an action.
668 * src/gui-util.c (gnm_action_group_add_actions): Handle
669 translation context. Also handle toggle actions.
671 2015-12-08 Morten Welinder <terra@gnome.org>
673 * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
676 * src/gui-util.c (gnm_action_group_add_actions): New function,
677 currently quite dumb.
679 * configure.ac (CC): Insist on c99.
681 2015-12-05 Morten Welinder <terra@gnome.org>
683 * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
684 (drayleigh): Define in terms of dweibull.
686 2015-12-03 Morten Welinder <terra@gnome.org>
688 * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
689 support. Fixes R.QHYPER(0.1,3,99,13)
691 2015-10-19 Morten Welinder <terra@gnome.org>
693 * src/func-builtin.c (gnumeric_table): Make sure to invalidate
694 in[2]. Fixes #752182.
696 2015-09-25 Morten Welinder <terra@gnome.org>
698 * src/func-builtin.c (gnumeric_table): Don't try to be smart and
699 avoid value copying. Fixes #752181.
700 (gnumeric_table): Handle repeated cells. Fixes #752178.
702 2015-09-20 Morten Welinder <terra@gnome.org>
704 * configure.ac: Post-release bump.
706 2015-09-20 Morten Welinder <terra@gnome.org>
710 2015-09-19 Jean Brefort <jean.brefort@normalesup.org>
712 * src/gui-file.c (gui_file_save_as): just change the extension not more
713 when the original filename has several dots. [ubuntu #1497344]
715 2015-09-11 Jean Brefort <jean.brefort@normalesup.org>
717 * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
720 2015-08-24 Jean Brefort <jean.brefort@normalesup.org>
722 * src/sheet-object.c (sheet_object_update_bounds),
723 (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
724 the objects bounds are always updated. Really fix printing.
725 * src/xml-sax-write.c (xml_write_objects): revert previous change.
727 2015-08-23 Jean Brefort <jean.brefort@normalesup.org>
729 * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
730 printing, but still not perfect.
731 * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
732 * src/xml-sax-write.c (xml_write_objects): ditto.
734 2015-08-22 Jean Brefort <jean.brefort@normalesup.org>
736 * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
737 with one cell or absolute anchors. [#753961]
738 * src/sheet-object.c (sheet_object_draw_cairo):
740 2015-07-28 Morten Welinder <terra@gnome.org>
742 * configure.ac: Post-release bump.
744 2015-07-28 Morten Welinder <terra@gnome.org>
748 2015-07-14 Morten Welinder <terra@gnome.org>
750 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
753 2015-07-09 Morten Welinder <terra@gnome.org>
755 * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
756 operation. Fixes #752124.
758 2015-07-06 Morten Welinder <terra@gnome.org>
760 * src/func-builtin.c (gnumeric_table): Avoid FMR. Fixes #752021.
762 2015-07-05 Jean Brefort <jean.brefort@normalesup.org>
764 * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
766 2015-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
768 * src/value.c (value_compare_real): handle two empty values however
771 2015-07-03 Morten Welinder <terra@gnome.org>
773 * src/func-builtin.c (gnumeric_table): Return #REF! outside array
776 2015-06-30 Morten Welinder <terra@gnome.org>
778 * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
781 2015-06-29 Morten Welinder <terra@gnome.org>
783 * src/func.c (function_iterate_argument_values): Improve name
784 handling. Part of #751660.
786 2015-06-28 Morten Welinder <terra@gnome.org>
788 * src/value-sheet.c (value_area_get_width, value_area_get_height):
789 Use the same normalization as value_area_foreach. Fixes #751390.
791 * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
794 2015-06-26 Morten Welinder <terra@gnome.org>
796 * src/value.c (value_new_array_empty): Store value_new_empty(),
797 not NULL, in the slots. We can make this change because
798 value_new_empty() is a singleton that does not need to be
799 released. Fixes #751502.
801 2015-06-24 Jean Brefort <jean.brefort@normalesup.org>
803 * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
805 2015-06-23 Jean Brefort <jean.brefort@normalesup.org>
807 * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
808 (xml_sax_object_end): ensure we always use the right state. [#751217]
810 2015-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
812 * samples/excel/engfuns.xls: update to use correct lbm->g conversion
814 2015-06-20 Morten Welinder <terra@gnome.org>
816 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
818 (go_data_cache_records_fetch_index): If resizing failed return
821 2015-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
823 * src/parse-util.h (_GnmConventions): add union_char field
824 * src/parser.y (yylex): handle union_char
825 (setup_state): set union_char
827 2015-06-18 Morten Welinder <terra@gnome.org>
829 * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
830 specifying types derived from sheet objects. Fixes #751126.
831 (xml_sax_hlink): Similarly.
833 2015-06-16 Morten Welinder <terra@gnome.org>
835 * src/xml-sax-read.c (handle_delayed_names): Check for circularity
836 in names. Fixes #751056.
838 2015-05-27 Morten Welinder <terra@gnome.org>
840 * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
841 division by zero. Fixes #749917.
843 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
845 2015-05-16 Jean Brefort <jean.brefort@normalesup.org>
847 * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
850 2015-05-11 Morten Welinder <terra@gnome.org>
852 * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
853 something bad that will happen whenever FALSE equals TRUE.
855 * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
858 * src/cell.c (gnm_cell_set_array): Improve preconditions.
860 2015-05-09 Morten Welinder <terra@gnome.org>
862 * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
864 2015-04-28 Morten Welinder <terra@gnome.org>
866 * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
867 malformed documents. Fixes #748596.
868 (xml_sax_unknown): Don't rely on xin->user_state here. Fixes
871 2015-04-16 Morten Welinder <terra@gnome.org>
873 * configure.ac: Post-release bump.
875 2015-04-16 Morten Welinder <terra@gnome.org>
879 2015-04-15 Morten Welinder <terra@gnome.org>
881 * src/ranges.c (gnm_range_compare): New function.
883 2015-04-13 Jean Brefort <jean.brefort@normalesup.org>
885 * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
886 (see #700599, comment #11).
888 2015-04-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
890 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
891 sheet object name, try the image name.
893 2015-04-11 Morten Welinder <terra@gnome.org>
895 * src/sf-dpq.c (qcauchy): Handle cancellation.
897 * src/mathfunc.c (pcauchy): Simplify.
899 * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
900 (drayleigh): Import from fn-stat. Rename. Improve accuracy.
902 2015-04-09 Morten Welinder <terra@gnome.org>
904 * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
907 2015-04-04 Morten Welinder <terra@gnome.org>
909 * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
912 * src/xml-sax-write.c (xml_write_objects): Save only relevant
913 parts of the cell bound.
915 * src/sheet-control-gui.c (scg_object_coords_to_anchor):
916 Initialize parts of cell_bound not used.
918 2015-04-01 Morten Welinder <terra@gnome.org>
920 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
921 GNM_XML_2ND here too.
922 (gnm_sogg_sax_parser_done): Plug leak.
924 2015-03-30 Morten Welinder <terra@gnome.org>
926 * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
929 * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
932 * src/sstest.c (test_random_randhyperg): Take var=0 case into
933 account when checking mean.
935 * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
938 2015-03-30 Jean Brefort <jean.brefort@normalesup.org>
940 * src/graph.h: add support for absolute anchoring of sheet objects.
941 * src/item-grid.c: ditto.
942 * src/sheet-control-gui.c: ditto.
943 * src/sheet-filter.c: ditto.
944 * src/sheet-object-cell-comment.c: ditto.
945 * src/sheet-object-component.c: ditto.
946 * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
947 cells by default. [#684450]
948 * src/sheet-object-image.c: make images don't resize with cells by default.
949 * src/sheet-object.c : add support for absolute anchoring of sheet objects.
950 * src/sheet-object.h: ditto.
951 * src/workbook-view.c: ditto.
952 * src/xml-sax-read.c: ditto.
953 * src/xml-sax-write.c: ditto.
955 2015-03-30 Morten Welinder <terra@gnome.org>
957 * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
959 2015-03-23 Morten Welinder <terra@gnome.org>
961 * src/sstest.c (rand_fractile_test): Plug leak.
963 2015-03-21 Morten Welinder <terra@gnome.org>
965 * src/sstest.c (rand_fractile_test): Add support for
966 non-continuous distributions.
968 * src/mathfunc.c (qgeom): Update to current version in R.
970 * src/gnm-random.c (random_geometric): Don't add one.
971 r.{d,p,q}geom all use the version with support {0,1,2,3,...}
973 2015-03-20 Morten Welinder <terra@gnome.org>
975 * src/sstest.c (test_random_randbinom): New test.
976 (test_random_randbetween): New test.
977 (test_random_randexp): New test.
978 (test_random_randpoisson): New test.
979 (test_random_randgeom): New test.
980 (test_random_randnegbinom): New test.
981 (test_random_randlog): New test.
982 (test_random_randdiscrete): New test.
983 (test_random_randgamma): New test.
984 (test_random_randtdist): New test.
985 (test_random_randuniform): New test.
986 (test_random_randfdist): New test.
987 (test_random_randcauchy): New test.
988 (test_random_randbeta): New test.
989 (test_random_randchisq): New test.
990 (test_random_randhyperg): New test.
992 * src/gnm-random.c (random_logarithmic): Fix. See #746449.
994 2015-03-19 Morten Welinder <terra@gnome.org>
996 * src/func.c (dump_samples): New function to dump all sample in
997 help documentation to csv format.
999 * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1000 non-positive integer, but neither a nor b is.
1002 2015-03-07 Morten Welinder <terra@gnome.org>
1004 * src/xml-sax-write.c: Use new go_xml_out_add_double.
1006 * src/sheet-object-widget.c
1007 (sheet_widget_adjustment_write_xml_sax): Use new
1008 go_xml_out_add_double.
1010 * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1011 go_xml_out_add_double.
1013 2015-03-05 Morten Welinder <terra@gnome.org>
1015 * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1016 copy_data argument and simply assume it.
1018 2015-03-04 Morten Welinder <terra@gnome.org>
1020 * configure.ac: Post-release bump.
1022 2015-03-04 Morten Welinder <terra@gnome.org>
1026 2015-03-03 Morten Welinder <terra@gnome.org>
1028 * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1029 version we write and document why we can't easily increase that
1032 2015-03-02 Morten Welinder <terra@gnome.org>
1034 * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1036 * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1037 (xml_sax_version): Bring version list up to date.
1039 2015-03-01 Morten Welinder <terra@gnome.org>
1041 * src/sheet-object-widget.c
1042 (sheet_widget_list_base_set_selection_value): Plug leak.
1044 2015-02-28 Jean Brefort <jean.brefort@normalesup.org>
1046 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1047 pixbuf stores the image type.
1049 2015-02-28 Morten Welinder <terra@gnome.org>
1051 * src/sheet-object-image.c (SheetObjectImage): Just keep the
1052 image, not the bytes in addition.
1053 (gnm_soi_class_init): Use property "image" of type GOImage instead
1054 of "image-data" weirdness.
1055 (gnm_soi_draw_cairo): Remove non-functional fallback.
1056 (gnm_soi_default_size): Ditto.
1058 2015-02-27 Morten Welinder <terra@gnome.org>
1060 * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1061 type for image data. Create image data if needed.
1062 (SheetObjectImage): Use a properly allocated GByteArray.
1064 * src/sheet-object-widget.c
1065 (sheet_widget_adjustment_user_config_impl): Widgets must have
1066 changed names at some point. Adjust for that.
1068 2015-02-25 Morten Welinder <terra@gnome.org>
1070 * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1072 (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1075 2015-02-23 Morten Welinder <terra@gnome.org>
1077 * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1080 2015-02-21 Morten Welinder <terra@gnome.org>
1082 * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1083 gboolean, not a double.
1085 * src/sheet-object-widget.c
1086 (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1088 (sheet_widget_adjustment_set_horizontal): Take advantage of this
1089 new-fangled orientation for scrollbars.
1091 2015-02-20 Morten Welinder <terra@gnome.org>
1093 * src/sheet-object-widget.c: Make checkbox' "active" writable.
1094 (cb_button_released): Set value to FALSE here(!)
1096 2015-02-18 Morten Welinder <terra@gnome.org>
1098 * src/commands.c (cmd_search_replace_do_cell): Don't report and
1099 error just because a cell with text format fails to produce an
1100 expression. That's expected for text format.
1102 2015-02-17 Morten Welinder <terra@gnome.org>
1104 * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1106 2015-02-11 Morten Welinder <terra@gnome.org>
1108 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1109 writing duplicate style so version 1.2 and earlier can read it.
1111 2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
1113 * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1114 that can't be convered to valid numbers.
1116 2015-02-10 Morten Welinder <terra@gnome.org>
1118 * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1120 2015-02-06 Morten Welinder <terra@gnome.org>
1122 * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1123 (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1124 (sheet_widget_radio_button_set_link)
1125 (sheet_widget_list_base_set_links)
1126 (sheet_widget_adjustment_set_details): Only link if we have a
1129 2015-02-04 Morten Welinder <terra@gnome.org>
1131 * configure.ac: Post-release bump.
1133 2015-02-04 Morten Welinder <terra@gnome.org>
1137 2015-01-30 Morten Welinder <terra@gnome.org>
1139 * src/sheet-object-widget.c
1140 (sheet_widget_adjustment_set_horizontal): Make this public.
1142 2015-01-23 Morten Welinder <terra@gnome.org>
1144 * configure.ac: Post-release bump.
1146 2015-01-23 Morten Welinder <terra@gnome.org>
1150 2015-01-20 Morten Welinder <terra@gnome.org>
1152 * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1155 2015-01-19 Morten Welinder <terra@gnome.org>
1157 * src/gutils.c (gnm_icon_dir): Remove.
1159 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1162 * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1163 from glib resources.
1165 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1168 * src/gnm.gresource.xml: pre-process xpm files. gdkpixbuf will
1169 otherwise dump them in temporary files in order to load them.
1171 * src/workbook.c (workbook_update_graphs): New function.
1173 * src/workbook-view.c (workbook_view_new_from_input): Update
1176 2015-01-14 Morten Welinder <terra@gnome.org>
1178 * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1179 an expresssion, make it a string instead of dropping it on the
1182 2015-01-13 Morten Welinder <terra@gnome.org>
1184 * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1185 missing shared expression, define a dummy version so we don't get
1188 2015-01-09 Morten Welinder <terra@gnome.org>
1190 * src/value.c (value_compare_real): Rewrite. Handle errors and
1191 sort them later than other values. This fixes #742601.
1193 2015-01-01 Morten Welinder <terra@gnome.org>
1195 * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1196 names, not stock ids.
1198 * src/gnm-pane.c (update_control_point_colors): Avoid
1199 gtk_style_context_get_background_color.
1200 * src/item-cursor.c (ic_reload_style): Ditto.
1202 2014-12-30 Morten Welinder <terra@gnome.org>
1204 * src/rendered-value.c (gnm_rendered_value_new):
1205 GNM_HALIGN_DISTRIBUTED is justify+center. Fixes #726155.
1207 2014-12-27 Morten Welinder <terra@gnome.org>
1209 * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1210 unless we really have to.
1212 2014-12-25 Morten Welinder <terra@gnome.org>
1214 * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1217 * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1219 * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1221 * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1222 icon on sheet direction changes.
1224 * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1226 2014-12-24 Morten Welinder <terra@gnome.org>
1228 * src/wbc-gtk.c (wbcg_show_save_dialog)
1229 (wbcg_close_if_user_permits): Constant propagation.
1231 * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1232 GtkStock usage. (Maybe kill whole function? Only two users.)
1234 2014-12-22 Morten Welinder <terra@gnome.org>
1236 * icons/fake-index-theme: we need actions directories too.
1238 2014-12-21 Morten Welinder <terra@gnome.org>
1240 * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1243 2014-12-20 Morten Welinder <terra@gnome.org>
1245 * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1246 count in delete, such as used from sheet resize.
1248 2014-12-19 Morten Welinder <terra@gnome.org>
1250 * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1251 (before g_setenv is available).
1253 2014-12-16 Morten Welinder <terra@gnome.org>
1255 * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1258 * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1261 2014-12-15 Morten Welinder <terra@gnome.org>
1263 * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1264 sheet_style_insert_colrow and handled deletion too.
1266 * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1267 sheet_insert_cols, sheet_delete_rows, sheet_delete_cols. Simplify
1270 * src/dependent.c (dependent_has_pos, dependent_move): New
1273 2014-12-14 Morten Welinder <terra@gnome.org>
1275 * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1278 2014-12-11 Morten Welinder <terra@gnome.org>
1280 * src/dependent.c (style_dep_debug_name): Include position too.
1282 * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1284 (colrow_move): Change parameterization slightly.
1286 2014-12-06 Morten Welinder <terra@gnome.org>
1288 * src/sheet-control-gui.c (scg_unant): Destroy item cursors. We
1289 want them visually gone and g_object_unref does not guarantee
1292 * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1293 dependents. A later step clears and re-applies style completely
1294 for the moved area. Fixes #741197.
1296 * src/sheet-style.c (sheet_style_clear_style_dependents): New
1299 * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1300 (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1302 * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1304 (gnm_cmd_context_error_splits_merge): Plug leak.
1306 2014-11-15 Morten Welinder <terra@gnome.org>
1308 * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1309 the wbc is already gone.
1311 2014-11-09 Morten Welinder <terra@gnome.org>
1313 * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1314 data. Might fix Redhat #1160975.
1316 2014-10-28 Morten Welinder <terra@gnome.org>
1318 * src/style.c (find_font): Accept NULL font name.
1320 2014-10-27 Morten Welinder <terra@gnome.org>
1322 * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1325 2014-10-27 Jean Brefort <jean.brefort@normalesup.org>
1327 * src/item-cursor.c (cb_item_cursor_animation): use
1328 goc_canvas_invalidate_region() for ants walking. Avoid drawing
1329 outside of a draw event.
1331 2014-10-26 Morten Welinder <terra@gnome.org>
1333 * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1335 (GnmValue): Drop type union member. C99 requires that this be
1336 accessed in a structure. We have v_any for that.
1338 2014-10-25 Morten Welinder <terra@gnome.org>
1340 * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1341 ought to survive both gcc's aliasing analysis and valgrind's
1344 2014-10-24 Morten Welinder <terra@gnome.org>
1346 * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1348 2014-10-21 Morten Welinder <terra@gnome.org>
1350 * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1352 2014-09-25 Morten Welinder <terra@gnome.org>
1354 * configure.ac: Post-release bump.
1356 2014-09-25 Morten Welinder <terra@gnome.org>
1360 2014-09-25 Morten Welinder <terra@gnome.org>
1362 * src/sheet-filter.c (gnm_filter_condition_new_single)
1363 (gnm_filter_condition_new_double): Fix preconditions. See
1366 2014-09-23 Morten Welinder <terra@gnome.org>
1368 * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1369 doesn't spew deprecation warnings by default.
1371 2014-09-11 Morten Welinder <terra@gnome.org>
1373 * src/style.c (gnm_translate_underline_from_pango): Survive
1374 PANGO_UNDERLINE_ERROR.
1376 2014-06-09 Morten Welinder <terra@gnome.org>
1378 * configure.ac: Post-release bump.
1380 2014-06-09 Morten Welinder <terra@gnome.org>
1384 2014-05-28 Morten Welinder <terra@gnome.org>
1386 * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1387 when we drag the handle into the col/row canvas.
1389 * src/sheet-view.c (sv_freeze_panes): Add debug code.
1391 * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1392 handler. Fixes #730884.
1394 2014-05-27 Morten Welinder <terra@gnome.org>
1396 * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1397 col/row canvas. Fixes #730857.
1398 (gnm_pane_dispose): Release references.
1400 2014-05-23 Morten Welinder <terra@gnome.org>
1402 * configure.ac: Post-release bump.
1404 2014-05-23 Morten Welinder <terra@gnome.org>
1408 2014-05-23 Morten Welinder <terra@gnome.org>
1410 * src/clipboard.c (clipboard_copy_ranges_undo): New function. We
1411 need better building blocks for commands; this is one such.
1413 2014-05-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1415 * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1416 (cmd_hyperlink_redo): ditto
1417 (cmd_hyperlink_finalize): ditto
1418 (cb_cmd_hyperlink_find_cells): ditto
1420 2014-05-20 Morten Welinder <terra@gnome.org>
1422 * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1424 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1425 outline and fill colours that are auto, even for the 1.0 format.
1427 * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1428 conditional format ranges.
1430 2014-05-14 Morten Welinder <terra@gnome.org>
1432 * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1434 * src/gutils.c (gnm_object_has_readable_prop): New function.
1436 * configure.ac (scrollkeeper): Test if we have it.
1438 2014-05-05 Morten Welinder <terra@gnome.org>
1440 * src/wbc-gtk.c (toolbar_context_menu): Remove
1441 HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW. That has been unconditionally
1442 false for years and is unsupported in gtk+.
1444 2014-04-30 Morten Welinder <terra@gnome.org>
1446 * configure.ac: Post-release bump.
1448 2014-04-30 Morten Welinder <terra@gnome.org>
1452 2014-04-23 Morten Welinder <terra@gnome.org>
1454 * src/complete.c (complete_idle): Avoid abort().
1456 * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1459 2014-04-22 Morten Welinder <terra@gnome.org>
1461 * src/style-color.c (gnm_color_new_name): Remove. All calls
1462 replaced with calls to gnm_color_new_go.
1464 * src/sheet-style.c (sheet_style_init_size): Plug leak.
1466 * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1468 2014-04-21 Morten Welinder <terra@gnome.org>
1470 * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1471 only in the hop of fixing #728465.
1473 2014-04-13 Morten Welinder <terra@gnome.org>
1475 * configure.ac: Post-release bump.
1477 2014-04-13 Morten Welinder <terra@gnome.org>
1481 2014-04-11 Morten Welinder <terra@gnome.org>
1483 * src/item-bar.c: Get colours when we draw; only get sizing
1484 relevant information at odd times, in particular when parent
1485 widgets may be insensitive, such as during a load-onto-pristine.
1488 2014-04-10 Morten Welinder <terra@gnome.org>
1490 * src/item-bar.c (ib_reload_style): Add debug code.
1492 2014-04-09 Morten Welinder <terra@gnome.org>
1494 * src/number-match.c (format_match_datetime): Plug leak on certain
1497 2014-04-02 Morten Welinder <terra@gnome.org>
1499 * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1502 2014-03-30 Morten Welinder <terra@gnome.org>
1504 * src/application.c (gnm_app_remove_extra_ui): Remove from global
1507 2014-03-28 Morten Welinder <terra@gnome.org>
1509 * src/main-application.c (main): Move Ubuntu hack earlier.
1511 2014-03-27 Morten Welinder <terra@gnome.org>
1513 * src/main-application.c (main): Attempt to banish ubuntu's
1514 overlay scrollbar which don't work.
1516 2014-03-21 Morten Welinder <terra@gnome.org>
1518 * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1519 case insensitve and allow wildcards.
1521 * src/gutils.c (gnm_excel_search_impl): New function, extracted
1524 * src/style-conditions.c (generate_end_match): Use case
1525 insensitive comparison. Pull negation into the operator.
1526 (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1529 2014-03-18 Morten Welinder <terra@gnome.org>
1531 * src/gui-util.c (kill_popup_menu): One more try at really killing
1532 the context menu after we're done with it.
1534 * src/item-grid.c (item_grid_realize): Plug leak.
1536 2014-03-18 Morten Welinder <terra@gnome.org>
1538 * configure.ac: Post-release bump.
1540 2014-03-18 Morten Welinder <terra@gnome.org>
1544 2014-03-18 Morten Welinder <terra@gnome.org>
1546 * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1547 providers from screens on exit.
1549 * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1551 2014-03-17 Morten Welinder <terra@gnome.org>
1553 * src/mathfunc.c (gnm_log2): Remove. Use libm's log2.
1555 2014-03-16 Morten Welinder <terra@gnome.org>
1557 * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1558 formats. I'm not positive we do things right, but this avoids
1559 criticals, at least.
1561 * src/cell.c (cell_set_expr_internal): Don't change an existing
1564 2014-03-15 Morten Welinder <terra@gnome.org>
1566 * src/style-border.c (gnm_border_shutdown): New function to help
1567 debug leaks. Shutdown border_none here.
1569 * src/style-color.c (gnm_color_shutdown): Not here.
1571 2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
1573 * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1574 the tooltip where it will not immediatly be destroyed after creation.
1575 [really fix #706659]
1577 2014-03-14 Morten Welinder <terra@gnome.org>
1579 * src/xml-sax-write.c (xml_write_style): Don't write a font name
1580 if we don't have any.
1582 2014-03-14 Jean Brefort <jean.brefort@normalesup.org>
1584 * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1586 2014-03-13 Morten Welinder <terra@gnome.org>
1588 * src/style-conditions.c (gnm_style_cond_eval): New function
1589 extracted from gnm_style_conditions_eval. Make "equal" case
1590 insensitive. Fixes #726246.
1592 * src/ssconvert.c (convert): Show resize message only if verbose.
1594 2014-03-12 Morten Welinder <terra@gnome.org>
1596 * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1598 (gnm_style_cond_canonicalize): New function.
1600 * src/ssconvert.c (convert): only print "Using exporter ..." if
1601 --verbose is given, and print it to stderr.
1603 2014-03-11 Morten Welinder <terra@gnome.org>
1605 * src/sheet.c (cb_set_markup): Don't mess directly with
1606 cell->value. We need to trigger a re-render. Fixes #726086.
1608 * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1609 for the pre-validation assignment.
1611 * src/sheet.c (sheet_cell_set_text): Put markup on the value
1612 before assigning it to the cell.
1614 2014-03-10 Morten Welinder <terra@gnome.org>
1616 * gnumeric.xsd: Update valign/halign attributes. Update print
1619 * src/sheet-filter.c (gnm_filter_condition_new_single)
1620 (gnm_filter_condition_new_double): Add preconditions.
1622 2014-03-07 Morten Welinder <terra@gnome.org>
1624 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1626 2014-03-05 Morten Welinder <terra@gnome.org>
1628 * src/expr.c (gnm_expr_top_is_volatile): New function.
1630 * src/workbook-view.c (workbook_view_new_from_input): Queue all
1631 volatile expressions.
1633 * src/dependent.c (workbook_queue_volatile_recalc): New function.
1634 (dependent_is_volatile): New function.
1636 * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1637 Don't set the initial range here.
1639 * src/expr.c (gnm_expr_top_first_funcall)
1640 (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1641 (gnm_expr_top_referenced_sheets): Rewrite in terms of
1643 (gnm_expr_top_get_boundingbox): Set initial range here.
1645 * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1648 2014-03-03 Morten Welinder <terra@gnome.org>
1650 * configure.ac: Post-release bump.
1652 2014-03-03 Morten Welinder <terra@gnome.org>
1656 2014-03-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1658 * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1660 2014-03-02 Morten Welinder <terra@gnome.org>
1662 * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1664 (wbcg_sheet_order_changed): Mark ui as being updated.
1665 (cb_bnotebook_page_reordered): Ignore during UI update.
1667 * src/expr-name.c (gnm_named_expr_collection_dump)
1668 (gnm_named_expr_collection_sanity_check): New function.
1670 * src/application.c (gnm_app_sanity_check): New function.
1672 * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1673 string inside the GOString as a hash key. It can change.
1674 (gnm_named_expr_collection_foreach): As a consequence of the
1675 above, the first argument to the handler for
1676 gnm_named_expr_collection_foreach changes to something
1677 unspecified. All callers changed.
1679 * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1682 * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1683 when encountering strangeness.
1685 2014-02-28 Morten Welinder <terra@gnome.org>
1687 * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1688 If row/column canvas is not visible, ignore them.
1689 (scg_gtk_paned_set_position): Don't allow negative position.
1692 * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1695 2014-02-27 Jean Brefort <jean.brefort@normalesup.org>
1697 * src/item-grid.c (item_grid_draw_region): fix background filling for
1698 rtl sheets. [#725276]
1700 2014-02-25 Morten Welinder <terra@gnome.org>
1702 * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1703 (gnumeric_create_popup_menu): Drop return value from handler.
1705 * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1706 are cell comments by position.
1708 2014-02-24 Morten Welinder <terra@gnome.org>
1710 * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1712 * src/colrow.c (colrow_equal): Don't use floating-point equality
1713 here. Allow a difference of 1e-5 pt for size.
1715 2014-02-23 Morten Welinder <terra@gnome.org>
1717 * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1718 fill in the new areas with most common styles for the rows to the
1719 left of the new columns or the columns above the new area.
1721 2014-02-19 Morten Welinder <terra@gnome.org>
1723 * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1724 (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1726 * src/mathfunc.c (gnm_log2): New function.
1728 2014-02-18 Morten Welinder <terra@gnome.org>
1730 * src/ssdiff.c (xml_style_changed): Report differences for
1731 auto-color settings.
1733 2014-02-17 Morten Welinder <terra@gnome.org>
1735 * src/ssconvert.c (convert): Add --resize option.
1737 2014-02-16 Jean Brefort <jean.brefort@normalesup.org>
1739 * src/item-grid.c (item_grid_realize): fix persistence of
1740 hyperlink tips. [see #724108]
1742 2014-02-16 Morten Welinder <terra@gnome.org>
1744 * configure.ac: Post-release bump.
1746 2014-02-16 Morten Welinder <terra@gnome.org>
1750 2014-02-16 Morten Welinder <terra@gnome.org>
1752 * src/func.c (function_dump_defs): Update boilerplate.
1754 2014-02-11 Morten Welinder <terra@gnome.org>
1756 * configure.ac: Post-release bump.
1758 2014-02-11 Morten Welinder <terra@gnome.org>
1762 2014-02-07 Morten Welinder <terra@gnome.org>
1764 * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1765 entry on top of merged cells. Fixes #723600.
1767 2014-02-06 Jean Brefort <jean.brefort@normalesup.org>
1769 * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1770 a better fix to previous issue.
1772 2014-01-30 Morten Welinder <terra@gnome.org>
1774 * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1777 * src/item-cursor.c (item_cursor_draw): Make the ant animation
1778 smoother (when not using the fallback). Avoid using hard light
1779 for ant-ing -- that doesn't work for the same reason as alpha not
1780 working. Always use phase=0 for non-ant stipples.
1781 (GnmItemCursor): Use the canvas item's visibility flag instead of
1784 2014-01-29 Morten Welinder <terra@gnome.org>
1786 * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1788 * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1789 check for bad clipping somewhere in gtk+ or theme land.
1791 2014-01-28 Jean Brefort <jean.brefort@normalesup.org>
1793 * src/sheet-object-component.c (gnm_soc_user_config): release the new
1794 component reference to the workbook.
1796 2014-01-27 Morten Welinder <terra@gnome.org>
1798 * src/func.c (function_dump_defs): Undo wiki change.
1800 2014-01-21 Morten Welinder <terra@gnome.org>
1802 * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1803 the amount of work we do for ant-ing. Fixes #381011, patch from
1805 (ic_reload_style): Ignore alpha component of ant colours.
1807 2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
1809 * src/graph.c (gnm_go_data_vector_load_len),
1810 (gnm_go_data_vector_load_values): accept 3D values for vector data.
1813 2014-01-16 Morten Welinder <terra@gnome.org>
1815 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1816 cb_darken_foreground_attributes and change to take non-white
1817 background into account.
1819 2014-01-12 Morten Welinder <terra@gnome.org>
1821 * src/mathfunc.c (expmx2h): Split out from dnorm.
1822 (dhyper): Round the chosen "p" to float to improve accuracy of
1825 2014-01-11 Morten Welinder <terra@gnome.org>
1827 * src/mathfunc.c (pow1p): Improve accuracy.
1828 (R_D_nonint): Fix rounding problem.
1829 (ebd0): New extended version of bd0.
1830 (dpois_raw, dbinom_raw): Use ebd0.
1831 (dbinom_raw): Handle x==n and x==0 much better.
1833 2014-01-08 Morten Welinder <terra@gnome.org>
1835 * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1838 * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1840 * src/gui-file.h: Namespace improvements. Also make gui_file_read
1841 return the WorkbookView instead of a boolean.
1843 2014-01-01 Morten Welinder <terra@gnome.org>
1845 * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1847 2013-12-31 Morten Welinder <terra@gnome.org>
1849 * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1852 2013-12-30 Morten Welinder <terra@gnome.org>
1854 * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1856 (dpois_raw): Avoid going through logs, if possible.
1858 2013-12-25 Morten Welinder <terra@gnome.org>
1860 * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1861 we return FALSE so we don't try to remove the source later.
1863 2013-12-22 Morten Welinder <terra@gnome.org>
1865 * src/gui-util.c (gnm_widget_measure_string): New function
1866 allowing the elimination of all gtk_style_context_get_font calls.
1868 2013-12-19 Morten Welinder <terra@gnome.org>
1870 * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1871 especially when |x|<<1. Ditto for x<-1.
1873 2013-12-17 Morten Welinder <terra@gnome.org>
1875 * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1878 2013-12-14 Morten Welinder <terra@gnome.org>
1880 * src/sf-gamma.c (complex_igamma): New function.
1882 2013-12-12 Mario Rugiero <mrugiero@gmail.com>
1884 * */*.c: Fix some leaks and null dereferences pointed out by
1887 2013-12-12 Morten Welinder <terra@gnome.org>
1889 * src/parser.y (array_row): Avoid overrunning string when multiple
1890 missing closing parentheses are detected. Fixes #720353.
1892 2013-12-11 Morten Welinder <terra@gnome.org>
1894 * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1895 gdk_event_get_screen, not from ->screen. This might fix #720182.
1897 * src/*.c: Use accessor function for GdkEvent when convenient.
1899 2013-12-07 Morten Welinder <terra@gnome.org>
1901 * src/application.c (gnm_app_init): Don't allocate a
1902 GtkRecentManager if we are not in gui mode.
1904 * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1906 * src/dependent.c (deprange_hash): Ditto.
1908 2013-12-04 Morten Welinder <terra@gnome.org>
1910 * src/sf-gamma.c (gamma_error_factor): Add extra term.
1912 2013-12-07 Morten Welinder <terra@gnome.org>
1914 * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1915 of the argument for [-1.5;-0.5].
1917 * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1918 Re z < 1/2. Avoid some overflow.
1920 2013-12-02 Morten Welinder <terra@gnome.org>
1922 * src/sf-bessel.c (bessel_y): Use the J series when possible.
1924 2013-12-07 Morten Welinder <terra@gnome.org>
1926 * src/sf-bessel.c (bessel_j): Use the taylor series in the
1927 parameter range where that makes sense.
1929 * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1932 2013-11-30 Morten Welinder <terra@gnome.org>
1934 * src/sf-gamma.c (pochhammer): Drop give_log arguments. Extend to
1937 2013-11-28 Morten Welinder <terra@gnome.org>
1939 * configure.ac: Post-release bump.
1941 2013-11-28 Morten Welinder <terra@gnome.org>
1945 2013-11-25 Morten Welinder <terra@gnome.org>
1947 * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1950 2013-11-19 Morten Welinder <terra@gnome.org>
1952 * src/print.c (print_page): Fix check for missing object. Fixes
1955 2013-11-18 Morten Welinder <terra@gnome.org>
1957 * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
1959 2013-11-15 Morten Welinder <terra@gnome.org>
1961 * src/mathfunc.c (reduce_pi_half): New function.
1963 2013-11-14 Morten Welinder <terra@gnome.org>
1965 * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
1966 (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
1968 2013-11-13 Morten Welinder <terra@gnome.org>
1970 * src/mathfunc.c (lgamma_r): Fix fallback. Didn't work for x<10.
1972 2013-11-13 Jean Brefort <jean.brefort@normalesup.org>
1974 * src/sheet-object.c (sheet_object_view_button2_pressed),
1975 (sheet_object_view_class_init): implement double click for graph sheets.
1978 2013-11-12 Morten Welinder <terra@gnome.org>
1980 * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
1982 (cb_bnotebook_page_reordered): New function.
1983 (wbc_gtk_create_notebook_area): Attach a handler for reordering.
1985 * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
1987 2013-11-06 Morten Welinder <terra@gnome.org>
1989 * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
1991 2013-11-06 Jean Brefort <jean.brefort@normalesup.org>
1993 * src/workbook-view.c: add more introspection related comments.
1994 * src/workbook.c: ditto.
1996 2013-11-03 Morten Welinder <terra@gnome.org>
1998 * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
1999 sin/cos before scaling by pi.
2001 2013-11-01 Morten Welinder <terra@gnome.org>
2003 * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2004 (gnm_gamma): Protect against unnecessary overflow at top of range.
2006 2013-10-31 Morten Welinder <terra@gnome.org>
2008 * src/mathfunc.c (qgamma): Flip tail for high values of p. This
2009 avoids accuracy problems since any cdf is completely flat in terms
2010 of floating point values when going sufficiently far into the
2014 (J_bessel): Extend xlrg_BESS_IJ to match current R.
2015 (permut): Route this into pochhammer.
2016 (qfact): New function. Tabulate 0! through 50000! using quad
2017 precision arithmetic.
2018 (combin, fact, pochhammer): Improve accuracy using qfact.
2020 2013-10-22 Morten Welinder <terra@gnome.org>
2022 * src/func.c (function_call_with_exprs): Move flags argument into
2025 2013-10-19 Morten Welinder <terra@gnome.org>
2027 * src/hlink.c (_gnm_hlink_init): New function.
2028 * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2030 2013-10-07 Morten Welinder <terra@gnome.org>
2032 * configure.ac: Post-release bump.
2034 2013-10-07 Morten Welinder <terra@gnome.org>
2038 2013-10-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2040 * src/cmd-edit.c (cmd_paste): chceck for locked cells
2042 2013-10-03 Morten Welinder <terra@gnome.org>
2044 * src/item-cursor.c (item_cursor_draw): Drop expose area
2045 optimization that may not be correct with current gtk. See bug
2048 2013-09-29 Morten Welinder <terra@gnome.org>
2050 * src/main-application.c: Include <io.h> for win32.
2052 * src/wbc-gtk-actions.c: Include gutils.h for win32.
2054 2013-09-25 Morten Welinder <terra@gnome.org>
2056 * src/gnumeric.css: Use lighter green for function marker.
2058 2013-09-01 Morten Welinder <terra@gnome.org>
2060 * configure.ac: Post-release bump.
2062 2013-09-01 Morten Welinder <terra@gnome.org>
2066 2013-08-29 Morten Welinder <terra@gnome.org>
2068 * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2071 2013-08-28 Morten Welinder <terra@gnome.org>
2073 * src/mathfunc.c (gnm_gamma): Improve precision for large
2075 (gnm_yn): Not needed anymore.
2076 (bessel_i): Don't mark error strings for translation.
2078 2013-08-27 Morten Welinder <terra@gnome.org>
2080 * configure.ac: Post-release bump.
2082 2013-08-27 Morten Welinder <terra@gnome.org>
2086 2013-08-26 Morten Welinder <terra@gnome.org>
2088 * src/sheet-style.c (cell_tile_dump): New function for debugging.
2089 (internal_style_list): Add fast pre-optimization to bring down the
2090 number of entries before we start messing with hashes. Fixes
2093 2013-08-22 Jean Brefort <jean.brefort@normalesup.org>
2095 * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2096 GraphDimEditor::changed. See bug 706591 comment #2.
2098 2013-08-19 Morten Welinder <terra@gnome.org>
2100 * configure.ac: Post-release bump.
2102 2013-08-19 Morten Welinder <terra@gnome.org>
2106 2013-08-15 Morten Welinder <terra@gnome.org>
2108 * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2111 * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2112 parameters. See bug 705913, comment 6.
2114 2013-08-13 Morten Welinder <terra@gnome.org>
2116 * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2118 2013-08-12 Morten Welinder <terra@gnome.org>
2120 * src/sheet-object-widget.c (sow_create_widget): New function.
2121 Add sheet-object class to widgets.
2123 2013-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2125 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2127 (sheet_widget_button_draw_cairo): also scale line thickness
2128 (sheet_widget_checkbox_draw_cairo): scale button size
2129 (sheet_widget_radio_button_draw_cairo): scale button size
2131 2013-08-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2133 * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2134 argument and change all callers
2136 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2138 * src/sheet-object-widget.c (get_font): add fall-backs
2140 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2142 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2144 (draw_cairo_text): add h-vcenter argument and change all callers
2146 2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
2148 * src/sheet-object-widget.c (cb_range_destroyed),
2149 (sheet_widget_scrollbar_create_widget),
2150 (sheet_widget_spinbutton_create_widget),
2151 (sheet_widget_slider_create_widget): avoid crashing after destroying a
2152 SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2154 2013-08-09 Morten Welinder <terra@gnome.org>
2156 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2158 (get_font): New function extracted from draw_cairo_text.
2160 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2162 * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2165 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2167 * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2168 allow multi-paragraph with a highlighted line. Change all callers
2169 (sheet_widget_list_draw_cairo): use draw_cairo_text
2171 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2173 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2174 cairo version for Gnuemric too.
2175 (sheet_widget_button_draw_cairo): ditto
2176 (sheet_widget_scrollbar_draw_cairo): ditto
2177 (sheet_widget_spinbutton_draw_cairo): ditto
2178 (sheet_widget_slider_draw_cairo): ditto
2179 (sheet_widget_checkbox_draw_cairo): ditto
2180 (sheet_widget_radio_button_draw_cairo): ditto
2181 (sheet_widget_list_draw_cairo): ditto
2182 (sheet_widget_combo_draw_cairo): ditto
2184 2013-08-08 Morten Welinder <terra@gnome.org>
2186 * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2187 Reduce crazy relative offsets.
2189 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2191 * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2193 (sheet_widget_frame_draw_cairo): new
2194 (sheet_widget_button_draw_cairo): new
2195 (sheet_widget_scrollbar_horizontal_draw_cairo): new
2196 (sheet_widget_scrollbar_vertical_draw_cairo): new
2197 (sheet_widget_scrollbar_class_init): connect the above
2198 (sheet_widget_spinbutton_draw_cairo): new
2199 (sheet_widget_spinbutton_class_init): connect the above
2200 (sheet_widget_slider_horizontal_draw_cairo): new
2201 (sheet_widget_slider_vertical_draw_cairo): new
2202 (sheet_widget_slider_draw_cairo): new
2203 (sheet_widget_slider_class_init): connect the above
2204 (sheet_widget_list_draw_cairo): new
2205 (sheet_widget_list_class_init): connect the above
2206 (sheet_widget_combo_draw_cairo): new
2207 (sheet_widget_combo_class_init): connect the above
2209 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2211 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2212 change all uses of this macro
2213 (draw_cairo_text): new
2214 (sheet_widget_checkbox_draw_cairo): new
2215 (sheet_widget_radio_button_draw_cairo): new
2217 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2219 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2220 gtk_offscreen_window_new without a default screen (see bugs #705638
2223 2013-08-07 Morten Welinder <terra@gnome.org>
2225 * src/ssconvert.c (main): Initialize gtk+ without opening any
2228 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2230 * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2232 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2234 * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2235 * src/sheet-control-gui.c (scg_init): init new fields
2236 (scg_im_destroy): new
2237 (scg_finalize): call scg_im_destroy
2238 (cb_cell_im_timer): new
2239 (scg_find_pane): new
2240 (scg_show_im_tooltip): new
2241 (scg_class_init): init new field
2242 * src/sheet-control-priv.h: add field
2243 * src/sheet-control.c: add virtual
2244 * src/sheet-control.h: add virtual
2245 * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2246 (sv_update): call sheet_view_edit_pos_tool_tips
2247 * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2249 (sheet_row_get_distance_pixels): new
2250 * src/sheet.h (sheet_row_get_distance_pixels): new
2252 2013-08-03 Jean Brefort <jean.brefort@normalesup.org>
2254 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2255 nodes in guppi graphs. [Debian #718594]
2257 2013-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2259 * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2262 2013-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2264 * src/sheet-control-gui.c (context_menu_handler): add argument to
2265 dialog_cell_format call
2266 * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2267 dialog_cell_format call
2268 (cb_data_validate): ditto
2270 2013-07-30 Morten Welinder <terra@gnome.org>
2272 * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2273 colour. Fixes rest of #705031.
2275 2013-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2277 * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2279 2013-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2281 * gnumeric.desktop.in: add ODS files
2283 2013-07-23 Jean Brefort <jean.brefort@normalesup.org>
2285 * src/graph.c (gnm_go_data_vector_load_values): really load all
2286 values for multiple ranges.
2288 2013-07-19 Morten Welinder <terra@gnome.org>
2290 * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2291 check: the enum has a hole in the middle. Fixes #704562.
2293 2013-07-19 Jean Brefort <jean.brefort@normalesup.org>
2295 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2297 * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2299 2013-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2301 * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2302 (gnm_so_path_set_property): ditto
2303 (gnm_so_path_get_property): ditto
2305 2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
2307 * src/gnm-so-path.c (so_path_view_set_bounds),
2308 (cb_gnm_so_path_changed): a better fix for the text position.
2310 2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
2312 * src/gnm-so-filled.c (so_filled_view_set_bounds),
2313 (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2314 * src/gnm-so-path.c (so_path_view_set_bounds),
2315 (cb_gnm_so_path_changed): fix text wrap in paths too.
2317 2013-07-16 Morten Welinder <terra@gnome.org>
2319 * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2320 computing range size. Fixes #704325.
2322 2013-07-15 Morten Welinder <terra@gnome.org>
2324 * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2325 that. Fixes #704004.
2327 * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2329 * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2330 against oversize range.
2332 2013-07-12 Morten Welinder <terra@gnome.org>
2334 * src/expr.c (gnm_expr_range_op): When constructing a range, make
2335 sure it falls within the sheet.
2336 (gnm_expr_new_range_ctor): Don't optimize to range if the two
2337 parts are on different sheets. Fixes #704109.
2339 2013-07-10 Morten Welinder <terra@gnome.org>
2341 * configure.ac: Post-release bump.
2343 2013-07-10 Morten Welinder <terra@gnome.org>
2347 2013-07-10 Morten Welinder <terra@gnome.org>
2349 * src/value.c (parse_criteria): Patterns should anchor at the end
2350 (#703770) and be case insensitive (no bug#).
2352 2013-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2354 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2355 to create an image of unknown type
2357 2013-07-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2359 * src/graph.c (gnm_go_data_vector_load_len): use consistent
2361 (cb_assign_val): quieten warning about signed/unsigned comparison
2363 2013-07-03 Morten Welinder <terra@gnome.org>
2365 * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2367 (cb_assign_val): Ditto.
2369 2013-07-02 Morten Welinder <terra@gnome.org>
2371 * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2372 (cb_style_list_add_node): Ditto.
2373 (verify_hashes): Ditto.
2374 (internal_style_list): Ditto.
2376 * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2379 2013-07-01 Morten Welinder <terra@gnome.org>
2381 * configure.ac (long double): Crude use -lm for long double
2382 function checks. Fixes #703397.
2384 2013-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2386 * src/expr.c (gnm_expr_list_copy): new
2387 * src/expr.h (gnm_expr_list_copy): new
2389 2013-06-26 Morten Welinder <terra@gnome.org>
2391 * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2392 of ->op before using it. Fixes #703143.
2394 2013-06-26 Jean Brefort <jean.brefort@normalesup.org>
2396 * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2398 (gnm_so_path_copy): fixed copy with multiple paths.
2400 2013-06-25 Morten Welinder <terra@gnome.org>
2402 * configure.ac: Post-release bump.
2404 2013-06-25 Morten Welinder <terra@gnome.org>
2408 2013-06-24 Morten Welinder <terra@gnome.org>
2410 * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2411 sheet. Fixes #703006.
2413 2013-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2415 * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2418 2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
2420 * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2421 a valid pattern. [#702833]
2422 * src/pattern.c (gnumeric_background_set): ditto.
2424 2013-06-21 Morten Welinder <terra@gnome.org>
2426 * src/item-grid.c (item_grid_draw_region): Plug leak.
2428 * src/item-bar.c (ib_reload_style): Plug leak.
2430 2013-06-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2432 * src/wbc-gtk.c (show_gui): protect against excessively large
2433 preferred widow sizes
2435 2013-06-14 Morten Welinder <terra@gnome.org>
2437 * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2439 * src/workbook.c (workbook_sheet_delete): Debug.
2440 (workbook_dispose): Also clear style here. Styles can have
2441 dependents now. Fixes #702218.
2443 2013-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2445 * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2447 2013-06-12 Morten Welinder <terra@gnome.org>
2449 * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2452 2013-06-04 Morten Welinder <terra@gnome.org>
2454 * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2456 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2458 * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2459 (scg_comment_display): adjust background and fontcolor if necessary
2461 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2463 * src/item-grid.c (cb_cursor_come_to_rest):
2464 gnumeric_position_tooltip needs the tooltip size, so load the text
2467 2013-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2469 * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2472 2013-05-27 Morten Welinder <terra@gnome.org>
2474 * src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
2475 and we aren't very good at it.
2477 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2479 * component/Gnumeric-embed.xml.in: add accelerator
2480 * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2481 * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2482 (EditGotoCellIndicator): new
2483 * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2484 (wbcg_focus_current_cell_indicator): new
2485 * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2487 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2489 * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2490 * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2491 * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2492 * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2494 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2496 * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2497 behave the same as far as cell selection is concerned. This fixes
2499 (item_grid_button_released): ditto
2501 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2503 * src/sheet.c (sheet_get_extent): add argument to indicate whether
2504 to include hidden cells
2505 (cb_sheet_get_extent): handle hidden cells setting
2506 (sheet_get_printarea): do not include hidden cells
2507 * src/sheet.h (sheet_get_extent): add argument and change all
2510 2013-05-26 Morten Welinder <terra@gnome.org>
2512 * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2513 Termiate when contributions vanish.
2515 2013-05-24 Morten Welinder <terra@gnome.org>
2517 * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2519 (pfuncinverter): Handle lack of dfunc (poorly).
2521 2013-05-23 Morten Welinder <terra@gnome.org>
2523 * src/mathfunc.c (ptukey_otsum): Split integration of a single
2524 interval out from out from R_ptukey.
2525 (R_ptukey): Split the interval nearest 0 into a sequence of
2526 intervals over which the integrand looks a lot more like a
2527 polynomial. This fixes accuracy problems for low degrees of
2530 * src/sheet-style.c (internal_style_list): Fix critical.
2532 2013-05-22 Morten Welinder <terra@gnome.org>
2534 * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2536 2013-05-21 Morten Welinder <terra@gnome.org>
2538 * src/mathfunc.c (R_ptukey): More C, less Fortran.
2540 2013-05-19 Morten Welinder <terra@gnome.org>
2542 * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2544 (pnorm2): Get rid of mu and sigma arguments. Improve accuracy.
2546 2013-05-18 Morten Welinder <terra@gnome.org>
2548 * src/mathfunc.c (pnorm2): New function.
2549 (R_ptukey): New function imported from R with local improvements.
2551 2013-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2553 * src/print.c (gnm_create_widget_cb): by default observe
2556 2013-05-14 Morten Welinder <terra@gnome.org>
2558 * src/rangefunc.c (gnm_range_multinomial): Add range check.
2559 (gnm_range_geometric_mean): Handle two FIXMEs.
2561 2013-05-13 Morten Welinder <terra@gnome.org>
2563 * src/*.c: Mark gobject property strings as P_(...).
2565 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2567 * src/commands.c (cmd_merge_data_redo): unref merge_contents
2569 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2571 * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2572 rather than gnm_cell_assign_value
2574 2013-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2576 * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2579 2013-05-05 Morten Welinder <terra@gnome.org>
2581 * src/dependent.c (style_dep_eval): New function. Re-clear the
2582 rendered value here. Fixes #699647.
2584 2013-05-03 Morten Welinder <terra@gnome.org>
2586 * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2587 accelerator for redo. Fixes #699579.
2588 (wbc_gtk_create_notebook_area): Mark the button notebook as non
2591 * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2593 2013-05-01 Morten Welinder <terra@gnome.org>
2595 * src/print-info.c: Add gsf includes to make things work with
2596 libgsf 1.14.24. Redhat #957851.
2598 2013-04-29 Morten Welinder <terra@gnome.org>
2600 * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2603 2013-04-26 Morten Welinder <terra@gnome.org>
2605 * configure.ac: Post-release bump.
2607 2013-04-26 Morten Welinder <terra@gnome.org>
2611 2013-04-26 Morten Welinder <terra@gnome.org>
2613 * src/gnumeric.css (GnmItemBar): Make red labels for selected
2614 row/column items the default.
2616 2013-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2618 * src/wbc-gtk-actions.c: rename some items in the statistics menu
2620 2013-04-24 Morten Welinder <terra@gnome.org>
2622 * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2623 widget parameter. All callers changed.
2625 * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2626 delayedMovement.timer.
2628 * src/item-cursor.c (gnm_item_cursor_init): Ditto
2631 * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2632 windows_update_timer.
2634 * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2635 guint to match glib. Use 0 as undefined since (guint)-1 is a
2638 * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2641 2013-04-23 Morten Welinder <terra@gnome.org>
2643 * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2645 * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2646 critical. Fixes #698680.
2648 * src/gui-file.c (gui_file_save_as): For export, change extension.
2651 2013-04-22 Morten Welinder <terra@gnome.org>
2653 * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2654 Somehow fixes #625687.
2656 2013-04-20 Morten Welinder <terra@gnome.org>
2658 * src/go-data-slicer-field.c
2659 (go_data_slicer_field_set_field_type_pos): Add precondition for
2662 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2664 * src/print-info.c (render_title): new
2666 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2668 * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2670 (sheet_range_set_text): ditto
2672 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2674 * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2677 2013-04-22 Morten Welinder <terra@gnome.org>
2679 * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2681 2013-04-19 Morten Welinder <terra@gnome.org>
2683 * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2684 view approach. Fixes #689283.
2686 * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2688 (wbc_gtk_init_color_fore): Ditto.
2689 (wbc_gtk_init_color_back): Ditto.
2691 2013-04-17 Morten Welinder <terra@gnome.org>
2693 * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2696 * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2699 * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2700 only for horizontal toolbars.
2702 * src/gui-file.c (file_saver_format_changed_cb): New function to
2703 change the extension when the format is changed.
2704 (gui_file_save_as): Don't try to hide the extension -- it
2705 interferes with the file chooser's completion. Fixes #695839.
2707 2013-04-16 Morten Welinder <terra@gnome.org>
2709 * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2710 menu for graph sheets. Fixes #685446.
2711 (sheet_menu_label_run): Disable resize for graph sheets.
2713 * src/value.c (parse_criteria): Anchor only at start. Fixes
2715 (parse_criteria): Handle criteria "=" and "<>" (with no value
2716 after the operator) special. These test for empty and non-empty
2717 values. Fixes #686156.
2719 * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2720 "anchor_start" and "anchor_end". All callers changed.
2722 2013-04-15 Morten Welinder <terra@gnome.org>
2724 * src/application.c (add_icon): Plug leak.
2726 * src/number-match.c (format_match_decimal_number): Try also major
2727 non-locale currencies. Fixes #577768.
2729 2013-04-13 Morten Welinder <terra@gnome.org>
2731 * src/mathfunc.c (pochhammer): Improve precision a bit.
2732 (binomialcf): Lower cfSmall by 10^3. This helps
2735 * configure.ac (GETTEXT_PACKAGE): Add version number so that
2736 doesn't prevent multiple versions from co-existing.
2738 * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2739 dirty. Callers already appear to handle this when needed
2740 and not when not wanted. Fixes #697927.
2742 2013-04-12 Morten Welinder <terra@gnome.org>
2744 * src/mathfunc.c (gnm_owent): Fix a==1 special case. Part of
2746 (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2748 (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2750 2013-04-11 Morten Welinder <terra@gnome.org>
2752 * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2753 reference with invalid_sheet. Fixes #683494.
2755 * src/complex.c (complex_to_string): Drop format arguments. All
2756 callers changed. Make up a format with enough precision for round
2757 tripping. Fixes #697634.
2759 2013-04-09 Morten Welinder <terra@gnome.org>
2761 * src/complex.c (complex_from_string): Make this handle embedded
2762 spaces systematically.
2763 (is_unit_imaginary): Delete.
2765 2013-04-09 Morten Welinder <terra@gnome.org>
2767 * src/complex.c (complex_pow): Use Goffice's copy.
2769 2013-04-05 Morten Welinder <terra@gnome.org>
2771 * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2772 new screens. Add hack for pre-GTK 3.4.
2774 * src/mathfunc.c (gnm_owent): New function.
2776 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2778 * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2779 functions used as vectors. [697281]
2781 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2783 * src/graph.c (gnm_go_data_vector_load_values),
2784 (gnm_go_data_vector_get_str): fix values and strings loading in case of
2787 2013-04-03 Morten Welinder <terra@gnome.org>
2789 * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2790 attributes of the tab.
2792 * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2793 GnmNotebookButton, not an EditableLabel.
2795 2013-04-02 Morten Welinder <terra@gnome.org>
2797 * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2799 (cb_wbcg_drag_leave): Ditto.
2801 2013-03-27 Morten Welinder <terra@gnome.org>
2803 * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2804 key we look up. When did that change?
2806 2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
2808 * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2811 2013-03-26 Morten Welinder <terra@gnome.org>
2813 * src/item-edit.c: Theme the in-cell edit background color.
2815 * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2817 src/gui-gnumeric.h: Remove.
2819 * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2820 non-NULL if there is a selection.
2821 (gnumeric_background_set_gtk): Delete. Make callers use
2822 gnumeric_background_set.
2824 * src/preview-grid.c (preview_grid_draw_background): Always
2825 provide a context to gnumeric_background_set.
2826 * src/item-edit.c (item_edit_draw): Ditto.
2828 * src/item-cursor.c (ic_reload_style): Use class, not state, to
2829 separate the different cursor types. Separate autofill colouring
2832 2013-03-25 Morten Welinder <terra@gnome.org>
2834 * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2836 (ic_reload_style): Theme some of the cursor colors.
2838 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2841 * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2843 * src/gnumeric.css: use deprecated px-free syntax for padding, so
2844 gtk+ 3.2 can deal with it.
2846 * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2847 can suppress deprecations.
2849 * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2852 * src/item-bar.c (ib_reload_style): Load fonts from style.
2854 2013-03-24 Morten Welinder <terra@gnome.org>
2856 * src/item-grid.c (item_grid_draw_region): Draw the background at
2857 the right coordinates!
2859 2013-03-23 Morten Welinder <terra@gnome.org>
2861 * src/item-bar.c (ib_draw_cell): There's no point in going to and
2862 from GOColor here. Just use the color as-is.
2864 2013-03-19 Morten Welinder <terra@gnome.org>
2866 * src/application.c (install_icons): Install also the icon themed
2867 icons. No idea why we have both.
2869 * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2871 * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2872 (embedded_imgs): Add the rest from pixmaps.
2874 * configure.ac: No longer create src/pixmaps/Makefile
2876 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2877 these work for resources and absolute paths.
2879 2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
2881 * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2882 not sizeable objects bounds after dragging when zoom is not 100%.
2884 2013-03-18 Morten Welinder <terra@gnome.org>
2886 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2887 filter. It takes just long enough to be irritating.
2889 2013-03-17 Morten Welinder <terra@gnome.org>
2891 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2892 style since we're not picking it explicitly.
2893 (cb_font_filter): Fix leak.
2895 2013-03-14 Morten Welinder <terra@gnome.org>
2897 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2898 ignore non-scalable fonts.
2900 2013-03-11 Morten Welinder <terra@gnome.org>
2902 * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2904 2013-03-10 Morten Welinder <terra@gnome.org>
2906 * src/ssconvert.c (list_them): Skip savers/openers that require
2907 interaction. (We don't have any yet.)
2909 * src/stf.c (stf_read_workbook): Set error when we fail due to
2911 (stf_init): Mark the configurable saver/opener as interactive.
2913 * src/ssconvert.c (convert): Fix error handling. Fixes #695529.
2915 2013-03-09 Morten Welinder <terra@gnome.org>
2917 * configure.ac: Post-release bump.
2919 2013-03-09 Morten Welinder <terra@gnome.org>
2923 2013-03-06 Morten Welinder <terra@gnome.org>
2925 * src/wbc-gtk.c (list_actions): Handle a null group.
2927 2013-03-03 Morten Welinder <terra@gnome.org>
2929 * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2930 g_thread_init if compiled with later than glib 2.32.0.
2932 2013-03-02 Jean Brefort <jean.brefort@normalesup.org>
2934 * src/gnm-pane-impl.h: remove alignments.
2935 * src/gnm-pane.c (gnm_pane_header_init): dittO;
2936 * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2937 * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2938 * src/sheet-control-gui-priv.h: remove all tables by one grid.
2939 * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2940 (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2941 (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2942 (scg_mode_edit): ditto.
2943 * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2944 (cb_sheet_visibility_change), (wbcg_sheet_add),
2945 (wbcg_sheet_remove), (wbcg_sheet_focus),
2946 (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2947 (wbcg_get_nth_scg): ditto.
2949 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2951 * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2952 * src/print.c (gnm_create_widget_cb): ditto.
2953 * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
2955 2013-03-01 Morten Welinder <terra@gnome.org>
2957 * src/mathfunc.h: Make sure the "q" functions take "p" as their
2958 first argument, not "x".
2960 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2962 reviewed by: <delete if not using a buddy>
2965 * src/sheet-object-widget.c (sheet_widget_button_user_config),
2966 (sheet_widget_adjustment_user_config_impl),
2967 (sheet_widget_checkbox_user_config),
2968 (sheet_widget_radio_button_user_config):
2969 * src/wbc-gtk.c (wbc_gtk_init):
2971 2013-02-28 Morten Welinder <terra@gnome.org>
2973 * configure.ac: remove the DISABLE_DEPRECATED defines even from
2974 development versions. We now get the information through gcc
2976 (solver): Make solver code unconditional. Feel free to not
2977 distribute the relevant plugins.
2979 2013-02-26 Morten Welinder <terra@gnome.org>
2981 * src/ssconvert.c (convert): Avoid segfault. Fixes #694741.
2983 2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
2985 * src/number-match.c: more introspection warnings.
2987 2013-02-23 Morten Welinder <terra@gnome.org>
2989 * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
2991 2013-02-21 Morten Welinder <terra@gnome.org>
2993 * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
2994 GHFunc. All callers changed. Impose a robust ordering.
2995 (sh_all_styles): New function replacing sh_foreach.
2997 2013-02-20 Morten Welinder <terra@gnome.org>
2999 * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3001 2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
3003 * configure.ac: make configure --with-python fail when some
3004 dependency is missing.
3006 2013-02-17 Morten Welinder <terra@gnome.org>
3008 * configure.ac (set_more_warnings): Improve support for clang.
3010 2013-02-16 Morten Welinder <terra@gnome.org>
3012 * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3013 (Most cases a matter of 0 vs. 0.)
3015 2013-02-16 Jean Brefort <jean.brefort@normalesup.org>
3017 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3018 default value for stf export format.
3019 * src/dependent.c: fix introspection warnings.
3020 * src/sheet-style.c: ditto.
3022 2013-02-15 Morten Welinder <terra@gnome.org>
3024 * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3025 3.2.0 just like goffice.
3027 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3030 2013-02-14 Morten Welinder <terra@gnome.org>
3032 * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3033 not MAXDOUBLE. Fixes #693761.
3035 2013-02-10 Morten Welinder <terra@gnome.org>
3037 * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3038 doesn't belong here. We handle everything in rstyle_apply.
3040 2013-02-08 Morten Welinder <terra@gnome.org>
3042 * src/sheet-style.c (rstyle_apply): Take extra range argument and
3043 link/unlink style dependents. All callers changed.
3044 (sheet_style_shutdown): Set default style for whole sheet to
3045 ensure style dependents get cleared.
3047 2013-02-07 Morten Welinder <terra@gnome.org>
3049 * src/sheet-style.c (cell_tile_optimize): Implement
3050 ptr-matrix-to-matrix optimization and use it to simplify things.
3052 * src/dependent.c (GnmStyleDependent): New type of dependent.
3053 When triggered, the cells in which it resised will be rerendered
3056 * src/mstyle.c (gnm_style_link_dependents)
3057 (gnm_style_unlink_dependents): New functions to manage style
3058 dependents due to conditional formatting.
3060 2013-02-06 Morten Welinder <terra@gnome.org>
3062 * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3063 inside-out in anticipation of future changes.
3065 (col_indicies, row_indicies): Alignment of the corners of apply_to
3066 is only relevant if we are within the tile.
3068 2013-02-06 Morten Welinder <terra@gnome.org>
3070 * src/sheet-style.c (tile_is_uniform): Extract from
3072 (vector_apply_pstyle): Don't return a value.
3073 (cell_tile_apply): Use tile_is_uniform.
3075 2013-02-05 Morten Welinder <terra@gnome.org>
3077 * src/sheet-style.c (sheet_style_get): Simplify with "while"
3078 instead of crazy "goto".
3079 (cell_tile_apply): Simplify the covers-whole-tile case.
3081 * src/sheet.h (Sheet): Remove max_width and max_height members.
3084 * src/dependent.h (GnmDependentClass): Add pos handler.
3086 * src/dependent.c (dependent_pos): Use pos handler.
3087 (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3089 2013-02-04 Morten Welinder <terra@gnome.org>
3091 * src/dependent.c (dependent_pos): Make global.
3093 * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3096 * src/ssconvert.c (run_tool_test): Add code for running the
3098 (convert): Run an analysis tool if requested. (For testing.)
3100 2013-02-02 Morten Welinder <terra@gnome.org>
3102 * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3103 and rstyle_ctor_pstyle. All callers changed.
3105 2013-01-18 Morten Welinder <terra@gnome.org>
3107 * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3108 (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3110 (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3111 (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3113 2013-01-15 Morten Welinder <terra@gnome.org>
3115 * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3116 import from command line.
3118 2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
3120 * configure.ac: renamed configure.in and update obsolete macros.
3121 * configure.in: ditto.
3123 2013-01-14 Colin Watson <cjwatson@ubuntu.com>
3126 distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3129 2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
3131 * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3132 * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3133 twice the top and bottom margins when displaying a graph
3136 2013-01-10 Morten Welinder <terra@gnome.org>
3138 * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3139 argument and assume TRUE. Drop scope name and assume NULL (which
3140 is what all callers should have used). All callers changed.
3141 (gnm_func_add_placeholder): Ditto.
3142 (invent_name): Downcase the preferred name.
3143 (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3144 (gnm_func_add): Initialize arg_names_p.
3146 * src/gnm-plugin.c (plugin_service_function_group_activate):
3147 Upgrade existing placeholder functions as needed.
3149 * src/func.c (gnm_func_upgrade_placeholder): Rename from
3150 gnm_func_upgrade_placeholder. Take GnmFunc argument, not name.
3152 2013-01-10 Morten Welinder <terra@gnome.org>
3154 * src/func.c (gnm_func_add_placeholder_localized): New function.
3155 (gnm_func_add_placeholder_full): Extract from
3156 gnm_func_add_placeholder. Handle localization better.
3157 (gnm_func_set_localized_name): New function.
3158 (gnm_func_free, gnm_func_get_name): Use
3159 gnm_func_set_localized_name.
3161 * src/parse-util.c (std_func_map): Improve handling of unknown
3164 * src/func.c (gnm_func_group_remove_func): Factor this out from...
3165 (gnm_func_free): ...here.
3167 2013-01-09 Morten Welinder <terra@gnome.org>
3169 * src/symbol.c: delete.
3171 * src/func.c: rewrite to use GHashTable instead of symbol.c
3172 (gnm_func_lookup_prefix): Take extra argument indicating whether
3173 to search translated names. Caller changed.
3175 * src/parse-util.c (std_func_map): Lookup translated name as
3177 (parse_util_init): Add enviroment magic to turn on translated
3178 functions names. This is not ready for prime time and should be
3179 controlled by a user preference eventually.
3181 * src/mathfunc.c (gnm_matrix_eigen): Silence warning. Document a
3184 2013-01-07 Morten Welinder <terra@gnome.org>
3186 * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3187 pivot. Use gnm_hypot where possible.
3189 2013-01-04 Morten Welinder <terra@gnome.org>
3191 * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3192 as argument. Keep track of displays.
3193 (gnm_x_disown_clipboard): New function.
3195 * src/application.c (gnm_app_clipboard_clear): Use
3196 gnm_x_disown_clipboard to make things multi-head safe.
3198 2013-01-03 Morten Welinder <terra@gnome.org>
3200 * src/collect.c (collect_floats): Fix handling of
3201 COLLECT_IGNORE_ERRORS.
3202 (collect_strings): Ditto.
3203 (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3205 2013-01-01 Morten Welinder <terra@gnome.org>
3207 * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3208 deprecated goffice stuff.
3210 * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3212 * src/gnm-pane.c (control_point_leave_notify): Ditto.
3213 * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3214 * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3216 * src/application.c (gnm_app_history_add): Kill warning.
3218 2012-12-31 Morten Welinder <terra@gnome.org>
3220 * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3223 * src/ssdiff.c: Introduce --highlight mode.
3225 2012-12-30 Morten Welinder <terra@gnome.org>
3227 * src/ssdiff.c (main): Add option to send output to a file.
3229 2012-12-29 Morten Welinder <terra@gnome.org>
3231 * src/ssdiff.c (diff): Use C locale.
3232 (ignore_cell): Ignore arrays, except for the corner.
3233 (output_cell): New function taking proper care of value types,
3235 (xml_cell_changed): Use output_cell.
3236 (compare_corresponding_cells): Don't use entered_text here either,
3237 although it's harmless.
3238 (output_cell, compare_corresponding_cells): Handle value formats
3241 2012-12-28 Valek Filippov <frob@df.ru>
3243 * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3244 gdk_window_get_pointer calls.
3246 2012-12-28 Morten Welinder <terra@gnome.org>
3248 * src/*.c: Eliminate use of printf.
3250 * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3251 range offset here. This may need to move further.
3252 * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3253 (diff_sheets_cells): Ignore completely empty cells.
3254 (xml_sheet_start): Change meaning of Old and New attributes to be
3255 index_in_wb and absent when workbook doesn't have the sheet.
3256 (xml_style_changed): Describe style differences.
3258 2012-12-27 Morten Welinder <terra@gnome.org>
3260 * src/ssdiff.c (diff_sheets): Compare styles too.
3262 * src/sheet-style.c (sheet_style_range_foreach): Add optional
3263 range argument. All callers changed.
3265 2012-12-24 Morten Welinder <terra@gnome.org>
3267 * src/ssdiff.c (def_cell_changed): Merge cell_added and
3268 cell_removed handlers into the cell_changed handler.
3269 (main): Add --xml option.
3271 * configure.in: ssconvert, ssindex, and ssgrep are no longer
3272 configurable. We need ssconvert for the test and it's silly
3275 2012-12-18 Morten Welinder <terra@gnome.org>
3277 * configure.in: Post-release bump.