1 2018-08-19 Morten Welinder <terra@gnome.org>
3 * configure.ac: Post-release bump.
5 2018-08-19 Morten Welinder <terra@gnome.org>
9 2018-08-09 Morten Welinder <terra@gnome.org>
11 * configure.ac: Post-release bump.
13 2018-08-09 Morten Welinder <terra@gnome.org>
17 2018-07-12 Morten Welinder <terra@gnome.org>
19 * src/mstyle.c (gnm_style_get_cond_style): Update the cached
20 styles as needed. Fixes #343.
22 2018-06-08 Morten Welinder <terra@gnome.org>
24 * src/xml-sax-write.c (gnm_cellregion_to_xml): Impose ordering on
27 2018-05-22 Morten Welinder <terra@gnome.org>
29 * Test commit after migration.
31 2018-05-13 Morten Welinder <terra@gnome.org>
33 * src/ssconvert.c: i18n fixes.
35 2018-05-10 Morten Welinder <terra@gnome.org>
37 * configure.ac (LIBS): Clear out obsolete pango check.
39 2018-05-07 Morten Welinder <terra@gnome.org>
41 * src/gnm-pane.c (gnm_pane_key_mode_sheet): Plug leaks.
43 2018-05-07 Morten Welinder <terra@gnome.org>
45 * configure.ac: Post-release bump.
47 2018-05-07 Morten Welinder <terra@gnome.org>
51 2018-05-07 Morten Welinder <terra@gnome.org>
53 * src/rendered-value.c (gnm_rendered_value_new): When auto-fitting
54 a column, request no more room than for 15 significant digits.
55 Fixes #754391. You can still get the maximum precision by
58 * src/wbc-gtk.c (wbc_gtk_init): Use a resource for the default ui
60 (wbcg_auto_expr_value_changed): Limit the width of numbers
61 formatted as General to something independent of function name.
62 This avoids the 10.10000...002 situation unless maximum precision
65 2018-05-06 Morten Welinder <terra@gnome.org>
67 * src/commands.c (cmd_area_set_array_expr): The clipboard now
68 takes care of restoring row heights and column widths.
69 (cmd_paste_copy_impl): After the initial "do", always restore
70 column widths and row heights.
72 2018-05-04 Morten Welinder <terra@gnome.org>
74 * src/wbc-gtk.c (toolbar_context_menu): Use a proper separator
77 2018-05-03 Morten Welinder <terra@gnome.org>
79 * src/commands.c (get_new_objects): Change from transfer-container
80 to transfer-full. Otherwise a deleted object can shadow a new
81 one. (Never observed.)
83 2018-04-30 Morten Welinder <terra@gnome.org>
85 * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Make full
86 history item insensitive if we have to history.
88 2018-04-29 Morten Welinder <terra@gnome.org>
90 * configure.ac: Post-release bump.
92 2018-04-29 Morten Welinder <terra@gnome.org>
96 2018-04-26 Morten Welinder <terra@gnome.org>
98 * src/colrow.c (col_row_collection_foreach): move to...
99 * src/sheet.c (sheet_colrow_foreach): ...here. Allow -1 to mean
101 (sheet_foreach_cell_in_range): Change to take a range.
102 (sheet_foreach_cell_in_region): Preserve the old
103 sheet_foreach_cell_in_range api. Most callers changed. Allow -1
104 to mean last column or row.
106 2018-04-25 Morten Welinder <terra@gnome.org>
108 * src/xml-sax-read.c (xml_sax_cell_content): Read shared array
109 expressions as we used to, but immediately unshare. I had an old
110 file with such a thing and it not supposed to happen. That
111 formula would likely have been created in early 2007.
113 2018-04-24 Morten Welinder <terra@gnome.org>
115 * src/commands.c (cmd_paste_copy_impl): Simplify now that
116 clipboard handles colrow sizes.
118 2018-04-21 Morten Welinder <terra@gnome.org>
120 * src/sheet-object-image.c (gnm_soi_write_image): If the format
121 doesn't match what is requested, convert.
123 2018-04-20 Morten Welinder <terra@gnome.org>
125 * src/ssconvert.c (merge_single): Avoid a
126 hash-changed-while-iterating problem. [#795408]
128 * src/xml-sax-write.c (xml_write_cell_and_position): In the
129 clipboard case, write result values too.
131 * src/xml-sax-read.c (xml_sax_cell_content): Rework this rat's
132 nest of conditionals. Accept values for expressions.
134 2018-04-18 Morten Welinder <terra@gnome.org>
136 * src/mstyle.c (gnm_style_get_cond_style): Flip reversed
139 * src/gui-clipboard.c (gnm_x_claim_clipboard): Offer biff8,
140 including LO's weird name for that. The don't seem to take
141 "Biff8" and they don't seem to take Citrix' variant either.
143 2018-04-16 Morten Welinder <terra@gnome.org>
145 * src/gui-clipboard.c (gnm_x_claim_clipboard): Plug leak. Debug
147 (table_cellregion_read): Improve paste-range heuristic for
148 clipboard formats that lack that information, notably
151 * src/workbook-view.c (get_uri_modtime): Fix criticals on paste
152 from LibreOffice. (Which sends a zipfile over the clipboard.)
154 2018-04-14 Morten Welinder <terra@gnome.org>
156 * src/func.c (gnm_func_count_args): Rename from
157 function_def_count_args for introspection.
158 (gnm_func_get_arg_type): Rename from function_def_get_arg_type
160 (gnm_func_get_arg_type_sring): Rename from
161 function_def_get_arg_type_string for introspection.
163 * src/workbook-view.c (workbook_view_save_as): Rename from
164 wb_view_save_as for introspection.
165 (workbook_view_save): Rename from wb_view_save for introspection.
167 2018-04-13 Morten Welinder <terra@gnome.org>
169 * src/workbook-view.c (workboook_view_save_to_uri): Renamed from
170 wb_view_save_to_uri for introspection.
171 (workbook_view_save_to_output): Renamed from
172 wb_view_save_to_output for introspection.
174 * src/style-color.c (gnm_style_color_get_type): Duplicate of
175 gnm_color_get_type, more or less.
177 * src/validation.c (gnm_validation_ref): Must return a value to be
178 used as a boxed copy function.
180 * src/expr.c (gnm_expr_top_ref): Must return a value to be used
181 as a boxed copy function.
183 * src/expr-name.c (expr_name_ref): Must return a value to be used
184 as a boxed copy function.
186 * src/mstyle.c (gnm_style_ref): Must return a value to be used
187 as a boxed copy function.
189 * src/clipboard.c (cellregion_ref): Must return a value to be used
190 as a boxed copy function.
192 * src/criteria.c (gnm_criteria_unref): Rename from free_criteria.
194 * src/mstyle.c: Hide internals.
195 src/gnm-style-impl.h: Remove.
197 * src/cell.c (gnm_cell_set_format): Remove. Unused and badly
200 2018-04-12 Morten Welinder <terra@gnome.org>
202 * src/sheet-merge.c (gnm_sheet_merge_remove): Drop unused command
203 context argument. All callers changed.
205 2018-04-11 Morten Welinder <terra@gnome.org>
207 * src/workbook.c: Make Workbook a more proper object by adding a
208 constructor to setup the object correctly. Introspection fixes.
210 (workbook_view_class_init): Make this a more proper object by
211 adding a constructor and init function to setup the object
214 2018-04-11 Morten Welinder <terra@gnome.org>
216 * src/workbook-view.c: Introspection fixes, mostly from Dean
218 src/workbook-control.c: Ditto.
219 src/wbc-gtk.c: Ditto.
221 2018-03-25 Morten Welinder <terra@gnome.org>
223 * src/workbook.c (workbook_set_last_export_uri): Constify
224 argument. Callers fixed.
226 2018-03-23 Morten Welinder <terra@gnome.org>
228 * src/main-application.c (cpu_sanity_check): New function.
230 2018-03-13 Morten Welinder <terra@gnome.org>
232 * configure.ac: Post-release bump.
234 2018-03-13 Morten Welinder <terra@gnome.org>
238 2018-01-17 Morten Welinder <terra@gnome.org>
240 * src/sstest.c (function_dump_defs): Drop internal function TABLE
241 as well as demo function ATL_LAST.
243 2018-01-11 Morten Welinder <terra@gnome.org>
245 * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
246 not to trigger an update storm when nothing changes. Fixes
249 2018-01-01 Morten Welinder <terra@gnome.org>
251 * src/expr.c (gnm_expr_simplify_if): Remove non-working,
252 non-reachable code relating to true() and false() conditions.
254 2017-12-30 Morten Welinder <terra@gnome.org>
256 * src/expr.c (gnm_expr_top_get_array_corner): Remove. All callers
258 (gnm_expr_top_get_array_size, gnm_expr_top_get_array_value)
259 (gnm_expr_top_get_array_expr): New functions.
261 * src/cell.c (gnm_cell_is_array_corner): Remove. All callers
264 2017-12-29 Morten Welinder <terra@gnome.org>
266 * src/ssdiff.c (diff_names): Fix checks for inserted or removed
269 2017-12-28 Morten Welinder <terra@gnome.org>
271 * configure.ac: Post-release bump.
273 2017-12-28 Morten Welinder <terra@gnome.org>
277 2017-12-25 Morten Welinder <terra@gnome.org>
279 * src/gnm-plugin.c: Avoid using "textdomain" as a variable.
280 * src/func-builtin.c (func_builtin_init): Ditto.
282 2017-12-23 Morten Welinder <terra@gnome.org>
284 * src/stf-parse.c (stf_parse_sheet): Fix crash on text important.
286 2017-12-04 Morten Welinder <terra@gnome.org>
288 * src/ssdiff.c (GnmDiffState): Store old_sheet and new_sheet here
289 instead of passing them all over the place.
290 (diff): Compare names too.
292 2017-12-03 Morten Welinder <terra@gnome.org>
294 * src/ssdiff.c (SSDIFF_DTD): Add proper xmlns definition.
295 (diff): Missing or extra sheet counts as a difference.
297 * src/mstyle.c (gnm_style_find_differences): Don't crash when
298 hlink/validation/inputmsg/conditions is NULL in one and not the other.
300 * src/ssdiff.c (diff_sheets_colrow): New function to compare
302 (highlight_cell_changed): Survive missing cell.
304 2017-12-01 Morten Welinder <terra@gnome.org>
306 * configure.ac: Post-release bump.
308 2017-12-01 Morten Welinder <terra@gnome.org>
312 2017-11-30 Morten Welinder <terra@gnome.org>
314 * src/print-cell.c (gnm_gtk_print_cell_range): Eliminate g_alloca
316 * src/parse-util.c (wbref_parse): Ditto.
317 * src/preview-grid.c (preview_grid_draw_region): Ditto.
318 * src/item-grid.c (item_grid_draw_region): Ditto.
319 * src/parser.y (yylex): Ditto.
320 * src/criteria.c (parse_database_criteria): Ditto.
322 * src/sheet-filter.c (gnm_filter_combo_apply): Use heap, not
325 * src/sheet-style.c (sheet_style_find_conflicts): Use heap, not
328 2017-11-29 Morten Welinder <terra@gnome.org>
330 * src/sstest.c (enumerate_functions): Make sure function is loaded.
332 * src/func-builtin.c (help_table): Add help text for TABLE.
334 * src/func.c (gnm_func_enumerate): Introspection annotation.
336 * src/sstest.c (function_dump_defs): Move from func.c with all
338 (gnm_func_sanity_check): Ditto.
340 * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
342 * src/main-application.c (pathetic_qt_workaround): Not needed
345 * (gnumeric-object-combo.png): redo based on list combo. This avoids
346 looking strange when insensitive and also is a consistent size.
348 2017-11-18 Morten Welinder <terra@gnome.org>
350 * configure.ac: Post-release bump.
352 2017-11-18 Morten Welinder <terra@gnome.org>
356 2017-10-29 Jean Brefort <jean.brefort@normalesup.org>
358 * src/gnumeric.css: add grid:selected back-color.
359 * src/item-grid.c (item_grid_draw_region): fix background of multiple
362 2017-10-23 Morten Welinder <terra@gnome.org>
364 * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
367 2017-07-06 Morten Welinder <terra@gnome.org>
369 * configure.ac: Post-release bump.
371 2017-07-06 Morten Welinder <terra@gnome.org>
375 2017-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
377 * src/sheet-object-widget.c
378 (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
381 2017-05-18 Morten Welinder <terra@gnome.org>
383 * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
385 (jy_via_j_series): Rename from y_via_j_series and supply both J
386 and Y results. Use the full J result accuracy.
387 (gnm_bessel_phi): Improve divergence check.
389 2017-05-16 Morten Welinder <terra@gnome.org>
391 * src/sf-bessel.c (debye_33): Handle near-overflow better.
392 (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
395 * src/gutils.c (gnm_utf8_strto): Handle denormals better.
397 * src/value.c (value_new_from_string): Handle denormals betters.
399 2017-04-05 Morten Welinder <terra@gnome.org>
401 * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
402 Generalize to Pi/2^e and make public.
404 2017-03-28 Morten Welinder <terra@gnome.org>
406 * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
407 (hankel1_A1): Use gnm_yn if we can. Near integer order, center
408 around the integer with odd count when we can.
410 2017-03-21 Morten Welinder <terra@gnome.org>
412 * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
413 deviation for each bin.
414 (test_random_randchisq, test_random_randtdist)
415 (test_random_randfdist): Don't allow df=0.
416 (test_random_randbeta): Don't floor the parameters thus avoiding
419 2017-03-20 Morten Welinder <terra@gnome.org>
421 * configure.ac: Post-release bump.
423 2017-03-20 Morten Welinder <terra@gnome.org>
427 2017-03-17 Morten Welinder <terra@gnome.org>
429 * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
430 bogus GnmColor here. The fake object prevents GnmColor equality
431 from working which in turn prevents GnmBorder equality from
434 * src/style-color.c (gnm_color_make): Rename from
435 gnm_color_new_uninterned and handle caching here.
436 (gnm_color_new_auto): New function.
438 * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
439 (compare_corresponding_cells): Fall back to string comparison.
440 References like Sheet1!A1 should match even if they, obviously,
441 refer to sheets in different workbooks.
443 * src/style-conditions.c (gnm_style_conditions_equal): Add new
444 relax_sheet argument.
446 * src/validation.c (gnm_validation_equal): New function.
448 * src/mstyle.c (gnm_style_find_differences): New function.
450 * src/ssdiff.c (xml_style_changed): Use
451 gnm_style_find_differences.
453 * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
454 gnm_style_find_differences, not gnm_style_equal.
456 * src/hlink.c (gnm_hlink_equal): New function.
458 2017-03-13 Morten Welinder <terra@gnome.org>
460 * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
461 inter-sheet local name references.
463 2017-03-10 Morten Welinder <terra@gnome.org>
465 * src/hlink.c (gnm_hlink_get_name_target)
466 (gnm_hlink_get_range_target): New functions.
467 (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
469 2017-03-07 Morten Welinder <terra@gnome.org>
471 * src/parser.y (parser_simple_name): Extract from
472 parser_simple_val_or_name. Extend to handle explicit sheet.
473 ("sheetref STRING"): Ise parser_simple_name.
475 2017-03-06 Morten Welinder <terra@gnome.org>
477 * src/expr-name.c (expr_name_add): Plug leak.
479 2017-03-05 Morten Welinder <terra@gnome.org>
481 * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
482 (gnm_hlink_cur_wb_activate): Move string parsing from here...
483 (gnm_hlink_cur_wb_set_target): ...to here. Check name first as
484 value_new_cellrange_str will resolve a name.
486 * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
487 sheet for hlinks too.
489 * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
490 (gnm_hlink_set_sheet): New functions.
492 2017-01-30 Morten Welinder <terra@gnome.org>
494 * configure.ac: Post-release bump.
496 2017-01-30 Morten Welinder <terra@gnome.org>
500 2017-01-29 Morten Welinder <terra@gnome.org>
502 * src/style-conditions.c (gnm_style_cond_equal): New function.
503 (gnm_style_conditions_equal): ...split out from here.
505 2017-01-25 Morten Welinder <terra@gnome.org>
507 * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
509 2017-01-22 Morten Welinder <terra@gnome.org>
511 * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
512 expression for text formatted cells.
513 (stf_parse_sheet): Don't try number parsing for text formatted
514 columns. Fixes #777543.
516 2017-01-22 Jean Brefort <jean.brefort@normalesup.org>
518 * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
519 format when generating the string. [#777338]
521 2017-01-19 Morten Welinder <terra@gnome.org>
523 * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
525 * src/style-conditions.c (gnm_style_conditions_equal): New
528 2016-12-08 Morten Welinder <terra@gnome.org>
530 * src/mathfunc.c (gnm_linear_solve): Use proper matrix type. All
532 (gnm_linear_solve_multiple): Ditto.
534 2016-10-02 Morten Welinder <terra@gnome.org>
536 * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
537 g_mem_set_vtable stuff actually works anymore.
539 2016-08-21 Morten Welinder <terra@gnome.org>
541 * src/sstest.c (options): Add --fast option.
543 * src/value.c (value_get_as_gstring): Let a negative
544 decimal_digits mean "shortest round-tripping string".
546 2016-08-20 Morten Welinder <terra@gnome.org>
548 * configure.ac: Post-release bump.
550 2016-08-20 Morten Welinder <terra@gnome.org>
554 2016-08-08 Morten Welinder <terra@gnome.org>
556 * src/criteria.c (criteria_inspect_values): Add flag for string
557 coercion. Only the equality test wants that.
559 * src/value.c (criteria_inspect_values): Floats don't match
562 2016-08-04 Morten Welinder <terra@gnome.org>
564 * src/rangefunc-strings.c (range_concatenate): Add (unused) user
567 * src/collect.c (string_range_function): Add user pointer. Caller
570 2016-06-29 Morten Welinder <terra@gnome.org>
572 * configure.ac: Post-release bump.
574 2016-06-29 Morten Welinder <terra@gnome.org>
578 2016-06-29 Morten Welinder <terra@gnome.org>
580 * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
581 related to sheet-local names. [#768164]
583 2016-06-28 Morten Welinder <terra@gnome.org>
585 * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
586 of different lenghts.
588 2016-06-21 Morten Welinder <terra@gnome.org>
590 * src/value.c (criteria_test_greater_or_equal): Use case-folding
591 comparisons for strings.
592 (parse_criteria, parse_criteria_range): Add argument controlling
593 whether to anchor matching at end of string.
594 (parse_database_criteria): Don't anchor here.
596 2016-06-17 Morten Welinder <terra@gnome.org>
598 * configure.ac: Post-release bump.
600 2016-06-17 Morten Welinder <terra@gnome.org>
604 2016-06-17 Morten Welinder <terra@gnome.org>
606 * src/value.c (parse_criteria): Anchor matches at the beginning,
609 2016-06-11 Morten Welinder <terra@gnome.org>
611 * src/value.c (find_rows_that_match): Fix blank handling.
612 (criteria_test_unequal): Wrong type means unequal.
613 (criteria_test_match): Only match strings.
614 (parse_criteria): Don't anchor matches. This is the right thing
615 to do for DSUM and friends. Hopefully this doesn't break anything
617 (criteria_inspect_values): Strings are incompatible with
619 (criteria_test_less, criteria_test_less_or_equal)
620 (criteria_test_greater, criteria_test_greater_or_equal): handle
623 2016-05-19 Morten Welinder <terra@gnome.org>
625 * src/stf-parse.c (stf_parse_options_guess_formats): Separate
626 decimal counts for the hypothetical comma and point choices.
628 2016-05-10 Morten Welinder <terra@gnome.org>
630 * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
633 2016-05-06 Morten Welinder <terra@gnome.org>
635 * configure.ac: Post-release bump.
637 2016-05-06 Morten Welinder <terra@gnome.org>
641 2016-04-29 Morten Welinder <terra@gnome.org>
643 * src/gui-util.c (gnm_style_context_get_color): Fix function
644 wrapping gtk_style_context_get_color which changed API.
646 2016-04-24 Morten Welinder <terra@gnome.org>
648 * src/value-sheet.c (value_area_get_x_y): Use
649 gnm_rangeref_normalize. Do full wrap-around.
651 2016-04-24 Jean Brefort <jean.brefort@normalesup.org>
653 * src/graph.c (gnm_go_data_matrix_load_values): fix array
656 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
658 * configure.ac: protect against pxlib weirdness.
660 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
662 * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
665 2016-03-22 Morten Welinder <terra@gnome.org>
667 * configure.ac: Post-release bump.
669 2016-03-22 Morten Welinder <terra@gnome.org>
673 2016-03-02 Morten Welinder <terra@gnome.org>
675 * src/sf-bessel.c: Return complex numbers by value, not reference.
677 2016-02-23 Morten Welinder <terra@gnome.org>
679 * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
681 2016-02-18 Morten Welinder <terra@gnome.org>
683 * src/parse-util.c (unquote): Properly account backslashes. Fixes
686 2016-02-12 Morten Welinder <terra@gnome.org>
688 * src/complex.h: Add a direct-value interface.
690 * src/ssconvert.c (run_solver): Also create solver reports as
691 indicated in options.
693 * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
695 2016-02-10 Morten Welinder <terra@gnome.org>
697 * src/gnumeric.css (toolbarzone): Set padding for toolbar children
698 to 1px. While that may be a sligh increase for certain
699 themes/gtk+ versions, it is a large decrease for others, notably
700 what comes with an out-of-the-box OpenSuSE leap. Override in
701 ~/.config/gtk-3.0/gtk.css if need be.
703 * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
704 wheel for horizontal motion instead of alt. Window managers tend
707 2016-02-08 Morten Welinder <terra@gnome.org>
709 * src/graph.c (gnm_go_data_vector_eval)
710 (gnm_go_data_vector_finalize): Plug leak.
712 2016-02-06 Morten Welinder <terra@gnome.org>
714 * configure.ac: Post-release bump.
716 2016-02-06 Morten Welinder <terra@gnome.org>
720 2016-02-06 Morten Welinder <terra@gnome.org>
722 * configure.ac (goffice): Require latest for
723 go_complex_from_polar_pi.
725 * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
726 when x<0 and a is real.
728 2016-02-04 Morten Welinder <terra@gnome.org>
730 * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
731 (gnm_complex_continued_fraction): Fail if we would otherwise try
732 to rescale by 0. Fix termination condition.
733 (igamma_asymp): Fix term update.
734 (complex_igamma): Fix flavour fixup.
736 2016-02-02 Morten Welinder <terra@gnome.org>
738 * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
739 (gamma_error_factor): Extend to all positive numbers.
740 (pochhammer_small_n): Allow any x > 1.
741 (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
743 2016-02-01 Morten Welinder <terra@gnome.org>
745 * configure.ac (yacc, lex): Fail if the required program isn't
748 2016-01-31 Morten Welinder <terra@gnome.org>
750 * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
751 complex continued fractions.
753 2016-01-30 Morten Welinder <terra@gnome.org>
755 * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
756 GtkStyleContext. Another ABI changes causes that to crash.
758 * src/value.c (find_column_of_field): Insist that the database be
759 a cell range, not an array.
761 2016-01-29 Morten Welinder <terra@gnome.org>
763 * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
764 (bessel_ij_series): Rename from bessel_j_series and extend to
767 * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
768 argument is less than one.
770 * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
771 about broken sheet filter.
773 * src/sheet-filter.c (gnm_filter_condition_new_single)
774 (gnm_filter_condition_new_double): Plug leak on error.
775 (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
777 2016-01-28 Jean Brefort <jean.brefort@normalesup.org>
779 * src/graph.c (gnm_go_data_vector_get_str): fix for a range
782 2016-01-27 Morten Welinder <terra@gnome.org>
784 * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
787 * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
790 2016-01-23 Morten Welinder <terra@gnome.org>
792 * src/parser.y (yylex): Be careful about overflowing numeric
793 token. Fixes #761023.
795 2016-01-20 Morten Welinder <terra@gnome.org>
797 * src/complex.h: Namespace. Mostly for macros.
799 2016-01-16 Morten Welinder <terra@gnome.org>
801 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
802 unused time argument. All callers changed.
803 (gnm_simple_canvas_grab): Remove unused arguments and return
804 value. All callers changed.
806 * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
807 without regrabbing the focus. See #760639.
809 2016-01-13 Morten Welinder <terra@gnome.org>
811 * src/sstest.c (test_random_randsnorm)
812 (test_random_randbernoulli): Print expected stats.
814 * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
815 are sane. Fixes #760544.
817 2016-01-08 Morten Welinder <terra@gnome.org>
819 * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
821 2016-01-06 Morten Welinder <terra@gnome.org>
823 * src/mathfunc.c (ebd0): Fix problem with overflow. [#760230]
825 2016-01-04 Morten Welinder <terra@gnome.org>
827 * src/sheet-style.c (sheet_style_apply_range)
828 (sheet_style_set_range): Silently ignore inverted ranges.
830 2016-01-03 Morten Welinder <terra@gnome.org>
832 * src/sheet-style.c (sheet_style_apply_range)
833 (sheet_style_set_range): Ensure sanity of range. Fixes #760102.
835 2016-01-02 Morten Welinder <terra@gnome.org>
837 * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
839 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
840 zero record size. Fixes #760087.
842 * src/mathfunc.c (pow1p): Handle nan. Fixes #760085.
844 2016-01-01 Morten Welinder <terra@gnome.org>
846 * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
848 * src/expr-name.c (expr_name_add): Improve check for circular name
849 defintion. Fixes #760046.
851 2015-12-28 Morten Welinder <terra@gnome.org>
853 * src/ssconvert.c (convert): When separating sheets, move current
854 sheet to the front. See bug #694408.
856 * src/stf-export.c (gnm_stf_file_saver_save): If we add current
857 sheet, remove it at the end.
859 2015-12-28 Morten Welinder <terra@gnome.org>
861 * configure.ac: Post-release bump.
863 2015-12-28 Morten Welinder <terra@gnome.org>
867 2015-12-26 Morten Welinder <terra@gnome.org>
869 * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
870 change here (on the grid).
871 (scg_class_init): Not here. We're not derived from GtkWidget.
873 * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
874 (foreach_tile): New top-level function taking few parameters. All
877 2015-12-25 Morten Welinder <terra@gnome.org>
879 * configure.ac: Post-release bump.
881 2015-12-25 Morten Welinder <terra@gnome.org>
885 2015-12-22 Morten Welinder <terra@gnome.org>
887 * src/ssdiff.c (xml_style_changed): Do more for input message and
890 2015-12-20 Morten Welinder <terra@gnome.org>
892 * src/sheet-control-gui.c (scg_screen_changed): New handler to get
894 (scg_resize): Limit frozen zones to screen size. Not idea, but
895 better than crashing.
897 2015-12-19 Morten Welinder <terra@gnome.org>
899 * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
901 2015-12-13 Morten Welinder <terra@gnome.org>
903 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
904 merges on column/row insert. Fixes #504004.
906 2015-12-12 Morten Welinder <terra@gnome.org>
908 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
909 when the merge partially falls off the far end.
911 2015-12-10 Morten Welinder <terra@gnome.org>
913 * src/gui-util.c (gnm_action_group_add_action): New wrapper to
914 ensure actions get accel paths.
916 2015-12-09 Morten Welinder <terra@gnome.org>
918 * src/wbc-gtk.c (wbcg_find_action): New function to look in
919 multiple places for an action.
921 * src/gui-util.c (gnm_action_group_add_actions): Handle
922 translation context. Also handle toggle actions.
924 2015-12-08 Morten Welinder <terra@gnome.org>
926 * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
929 * src/gui-util.c (gnm_action_group_add_actions): New function,
930 currently quite dumb.
932 * configure.ac (CC): Insist on c99.
934 2015-12-05 Morten Welinder <terra@gnome.org>
936 * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
937 (drayleigh): Define in terms of dweibull.
939 2015-12-03 Morten Welinder <terra@gnome.org>
941 * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
942 support. Fixes R.QHYPER(0.1,3,99,13)
944 2015-10-19 Morten Welinder <terra@gnome.org>
946 * src/func-builtin.c (gnumeric_table): Make sure to invalidate
947 in[2]. Fixes #752182.
949 2015-09-25 Morten Welinder <terra@gnome.org>
951 * src/func-builtin.c (gnumeric_table): Don't try to be smart and
952 avoid value copying. Fixes #752181.
953 (gnumeric_table): Handle repeated cells. Fixes #752178.
955 2015-09-20 Morten Welinder <terra@gnome.org>
957 * configure.ac: Post-release bump.
959 2015-09-20 Morten Welinder <terra@gnome.org>
963 2015-09-19 Jean Brefort <jean.brefort@normalesup.org>
965 * src/gui-file.c (gui_file_save_as): just change the extension not more
966 when the original filename has several dots. [ubuntu #1497344]
968 2015-09-11 Jean Brefort <jean.brefort@normalesup.org>
970 * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
973 2015-08-24 Jean Brefort <jean.brefort@normalesup.org>
975 * src/sheet-object.c (sheet_object_update_bounds),
976 (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
977 the objects bounds are always updated. Really fix printing.
978 * src/xml-sax-write.c (xml_write_objects): revert previous change.
980 2015-08-23 Jean Brefort <jean.brefort@normalesup.org>
982 * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
983 printing, but still not perfect.
984 * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
985 * src/xml-sax-write.c (xml_write_objects): ditto.
987 2015-08-22 Jean Brefort <jean.brefort@normalesup.org>
989 * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
990 with one cell or absolute anchors. [#753961]
991 * src/sheet-object.c (sheet_object_draw_cairo):
993 2015-07-28 Morten Welinder <terra@gnome.org>
995 * configure.ac: Post-release bump.
997 2015-07-28 Morten Welinder <terra@gnome.org>
1001 2015-07-14 Morten Welinder <terra@gnome.org>
1003 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
1006 2015-07-09 Morten Welinder <terra@gnome.org>
1008 * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
1009 operation. Fixes #752124.
1011 2015-07-06 Morten Welinder <terra@gnome.org>
1013 * src/func-builtin.c (gnumeric_table): Avoid FMR. Fixes #752021.
1015 2015-07-05 Jean Brefort <jean.brefort@normalesup.org>
1017 * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
1019 2015-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1021 * src/value.c (value_compare_real): handle two empty values however
1024 2015-07-03 Morten Welinder <terra@gnome.org>
1026 * src/func-builtin.c (gnumeric_table): Return #REF! outside array
1029 2015-06-30 Morten Welinder <terra@gnome.org>
1031 * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
1032 it all the way here.
1034 2015-06-29 Morten Welinder <terra@gnome.org>
1036 * src/func.c (function_iterate_argument_values): Improve name
1037 handling. Part of #751660.
1039 2015-06-28 Morten Welinder <terra@gnome.org>
1041 * src/value-sheet.c (value_area_get_width, value_area_get_height):
1042 Use the same normalization as value_area_foreach. Fixes #751390.
1044 * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
1047 2015-06-26 Morten Welinder <terra@gnome.org>
1049 * src/value.c (value_new_array_empty): Store value_new_empty(),
1050 not NULL, in the slots. We can make this change because
1051 value_new_empty() is a singleton that does not need to be
1052 released. Fixes #751502.
1054 2015-06-24 Jean Brefort <jean.brefort@normalesup.org>
1056 * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
1058 2015-06-23 Jean Brefort <jean.brefort@normalesup.org>
1060 * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
1061 (xml_sax_object_end): ensure we always use the right state. [#751217]
1063 2015-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1065 * samples/excel/engfuns.xls: update to use correct lbm->g conversion
1067 2015-06-20 Morten Welinder <terra@gnome.org>
1069 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
1071 (go_data_cache_records_fetch_index): If resizing failed return
1074 2015-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1076 * src/parse-util.h (_GnmConventions): add union_char field
1077 * src/parser.y (yylex): handle union_char
1078 (setup_state): set union_char
1080 2015-06-18 Morten Welinder <terra@gnome.org>
1082 * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
1083 specifying types derived from sheet objects. Fixes #751126.
1084 (xml_sax_hlink): Similarly.
1086 2015-06-16 Morten Welinder <terra@gnome.org>
1088 * src/xml-sax-read.c (handle_delayed_names): Check for circularity
1089 in names. Fixes #751056.
1091 2015-05-27 Morten Welinder <terra@gnome.org>
1093 * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
1094 division by zero. Fixes #749917.
1096 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
1098 2015-05-16 Jean Brefort <jean.brefort@normalesup.org>
1100 * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
1103 2015-05-11 Morten Welinder <terra@gnome.org>
1105 * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
1106 something bad that will happen whenever FALSE equals TRUE.
1108 * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
1111 * src/cell.c (gnm_cell_set_array): Improve preconditions.
1113 2015-05-09 Morten Welinder <terra@gnome.org>
1115 * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
1117 2015-04-28 Morten Welinder <terra@gnome.org>
1119 * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
1120 malformed documents. Fixes #748596.
1121 (xml_sax_unknown): Don't rely on xin->user_state here. Fixes
1124 2015-04-16 Morten Welinder <terra@gnome.org>
1126 * configure.ac: Post-release bump.
1128 2015-04-16 Morten Welinder <terra@gnome.org>
1132 2015-04-15 Morten Welinder <terra@gnome.org>
1134 * src/ranges.c (gnm_range_compare): New function.
1136 2015-04-13 Jean Brefort <jean.brefort@normalesup.org>
1138 * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
1139 (see #700599, comment #11).
1141 2015-04-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1143 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
1144 sheet object name, try the image name.
1146 2015-04-11 Morten Welinder <terra@gnome.org>
1148 * src/sf-dpq.c (qcauchy): Handle cancellation.
1150 * src/mathfunc.c (pcauchy): Simplify.
1152 * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
1153 (drayleigh): Import from fn-stat. Rename. Improve accuracy.
1155 2015-04-09 Morten Welinder <terra@gnome.org>
1157 * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
1160 2015-04-04 Morten Welinder <terra@gnome.org>
1162 * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
1165 * src/xml-sax-write.c (xml_write_objects): Save only relevant
1166 parts of the cell bound.
1168 * src/sheet-control-gui.c (scg_object_coords_to_anchor):
1169 Initialize parts of cell_bound not used.
1171 2015-04-01 Morten Welinder <terra@gnome.org>
1173 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
1174 GNM_XML_2ND here too.
1175 (gnm_sogg_sax_parser_done): Plug leak.
1177 2015-03-30 Morten Welinder <terra@gnome.org>
1179 * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
1182 * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
1185 * src/sstest.c (test_random_randhyperg): Take var=0 case into
1186 account when checking mean.
1188 * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
1191 2015-03-30 Jean Brefort <jean.brefort@normalesup.org>
1193 * src/graph.h: add support for absolute anchoring of sheet objects.
1194 * src/item-grid.c: ditto.
1195 * src/sheet-control-gui.c: ditto.
1196 * src/sheet-filter.c: ditto.
1197 * src/sheet-object-cell-comment.c: ditto.
1198 * src/sheet-object-component.c: ditto.
1199 * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
1200 cells by default. [#684450]
1201 * src/sheet-object-image.c: make images don't resize with cells by default.
1202 * src/sheet-object.c : add support for absolute anchoring of sheet objects.
1203 * src/sheet-object.h: ditto.
1204 * src/workbook-view.c: ditto.
1205 * src/xml-sax-read.c: ditto.
1206 * src/xml-sax-write.c: ditto.
1208 2015-03-30 Morten Welinder <terra@gnome.org>
1210 * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
1212 2015-03-23 Morten Welinder <terra@gnome.org>
1214 * src/sstest.c (rand_fractile_test): Plug leak.
1216 2015-03-21 Morten Welinder <terra@gnome.org>
1218 * src/sstest.c (rand_fractile_test): Add support for
1219 non-continuous distributions.
1221 * src/mathfunc.c (qgeom): Update to current version in R.
1223 * src/gnm-random.c (random_geometric): Don't add one.
1224 r.{d,p,q}geom all use the version with support {0,1,2,3,...}
1226 2015-03-20 Morten Welinder <terra@gnome.org>
1228 * src/sstest.c (test_random_randbinom): New test.
1229 (test_random_randbetween): New test.
1230 (test_random_randexp): New test.
1231 (test_random_randpoisson): New test.
1232 (test_random_randgeom): New test.
1233 (test_random_randnegbinom): New test.
1234 (test_random_randlog): New test.
1235 (test_random_randdiscrete): New test.
1236 (test_random_randgamma): New test.
1237 (test_random_randtdist): New test.
1238 (test_random_randuniform): New test.
1239 (test_random_randfdist): New test.
1240 (test_random_randcauchy): New test.
1241 (test_random_randbeta): New test.
1242 (test_random_randchisq): New test.
1243 (test_random_randhyperg): New test.
1245 * src/gnm-random.c (random_logarithmic): Fix. See #746449.
1247 2015-03-19 Morten Welinder <terra@gnome.org>
1249 * src/func.c (dump_samples): New function to dump all sample in
1250 help documentation to csv format.
1252 * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
1253 non-positive integer, but neither a nor b is.
1255 2015-03-07 Morten Welinder <terra@gnome.org>
1257 * src/xml-sax-write.c: Use new go_xml_out_add_double.
1259 * src/sheet-object-widget.c
1260 (sheet_widget_adjustment_write_xml_sax): Use new
1261 go_xml_out_add_double.
1263 * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
1264 go_xml_out_add_double.
1266 2015-03-05 Morten Welinder <terra@gnome.org>
1268 * src/sheet-object-image.c (sheet_object_image_set_image): Drop
1269 copy_data argument and simply assume it.
1271 2015-03-04 Morten Welinder <terra@gnome.org>
1273 * configure.ac: Post-release bump.
1275 2015-03-04 Morten Welinder <terra@gnome.org>
1279 2015-03-03 Morten Welinder <terra@gnome.org>
1281 * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
1282 version we write and document why we can't easily increase that
1285 2015-03-02 Morten Welinder <terra@gnome.org>
1287 * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
1289 * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
1290 (xml_sax_version): Bring version list up to date.
1292 2015-03-01 Morten Welinder <terra@gnome.org>
1294 * src/sheet-object-widget.c
1295 (sheet_widget_list_base_set_selection_value): Plug leak.
1297 2015-02-28 Jean Brefort <jean.brefort@normalesup.org>
1299 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
1300 pixbuf stores the image type.
1302 2015-02-28 Morten Welinder <terra@gnome.org>
1304 * src/sheet-object-image.c (SheetObjectImage): Just keep the
1305 image, not the bytes in addition.
1306 (gnm_soi_class_init): Use property "image" of type GOImage instead
1307 of "image-data" weirdness.
1308 (gnm_soi_draw_cairo): Remove non-functional fallback.
1309 (gnm_soi_default_size): Ditto.
1311 2015-02-27 Morten Welinder <terra@gnome.org>
1313 * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
1314 type for image data. Create image data if needed.
1315 (SheetObjectImage): Use a properly allocated GByteArray.
1317 * src/sheet-object-widget.c
1318 (sheet_widget_adjustment_user_config_impl): Widgets must have
1319 changed names at some point. Adjust for that.
1321 2015-02-25 Morten Welinder <terra@gnome.org>
1323 * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
1325 (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1328 2015-02-23 Morten Welinder <terra@gnome.org>
1330 * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1333 2015-02-21 Morten Welinder <terra@gnome.org>
1335 * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1336 gboolean, not a double.
1338 * src/sheet-object-widget.c
1339 (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1341 (sheet_widget_adjustment_set_horizontal): Take advantage of this
1342 new-fangled orientation for scrollbars.
1344 2015-02-20 Morten Welinder <terra@gnome.org>
1346 * src/sheet-object-widget.c: Make checkbox' "active" writable.
1347 (cb_button_released): Set value to FALSE here(!)
1349 2015-02-18 Morten Welinder <terra@gnome.org>
1351 * src/commands.c (cmd_search_replace_do_cell): Don't report and
1352 error just because a cell with text format fails to produce an
1353 expression. That's expected for text format.
1355 2015-02-17 Morten Welinder <terra@gnome.org>
1357 * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1359 2015-02-11 Morten Welinder <terra@gnome.org>
1361 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1362 writing duplicate style so version 1.2 and earlier can read it.
1364 2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
1366 * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1367 that can't be convered to valid numbers.
1369 2015-02-10 Morten Welinder <terra@gnome.org>
1371 * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1373 2015-02-06 Morten Welinder <terra@gnome.org>
1375 * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1376 (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1377 (sheet_widget_radio_button_set_link)
1378 (sheet_widget_list_base_set_links)
1379 (sheet_widget_adjustment_set_details): Only link if we have a
1382 2015-02-04 Morten Welinder <terra@gnome.org>
1384 * configure.ac: Post-release bump.
1386 2015-02-04 Morten Welinder <terra@gnome.org>
1390 2015-01-30 Morten Welinder <terra@gnome.org>
1392 * src/sheet-object-widget.c
1393 (sheet_widget_adjustment_set_horizontal): Make this public.
1395 2015-01-23 Morten Welinder <terra@gnome.org>
1397 * configure.ac: Post-release bump.
1399 2015-01-23 Morten Welinder <terra@gnome.org>
1403 2015-01-20 Morten Welinder <terra@gnome.org>
1405 * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1408 2015-01-19 Morten Welinder <terra@gnome.org>
1410 * src/gutils.c (gnm_icon_dir): Remove.
1412 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1415 * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1416 from glib resources.
1418 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1421 * src/gnm.gresource.xml: pre-process xpm files. gdkpixbuf will
1422 otherwise dump them in temporary files in order to load them.
1424 * src/workbook.c (workbook_update_graphs): New function.
1426 * src/workbook-view.c (workbook_view_new_from_input): Update
1429 2015-01-14 Morten Welinder <terra@gnome.org>
1431 * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1432 an expresssion, make it a string instead of dropping it on the
1435 2015-01-13 Morten Welinder <terra@gnome.org>
1437 * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1438 missing shared expression, define a dummy version so we don't get
1441 2015-01-09 Morten Welinder <terra@gnome.org>
1443 * src/value.c (value_compare_real): Rewrite. Handle errors and
1444 sort them later than other values. This fixes #742601.
1446 2015-01-01 Morten Welinder <terra@gnome.org>
1448 * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1449 names, not stock ids.
1451 * src/gnm-pane.c (update_control_point_colors): Avoid
1452 gtk_style_context_get_background_color.
1453 * src/item-cursor.c (ic_reload_style): Ditto.
1455 2014-12-30 Morten Welinder <terra@gnome.org>
1457 * src/rendered-value.c (gnm_rendered_value_new):
1458 GNM_HALIGN_DISTRIBUTED is justify+center. Fixes #726155.
1460 2014-12-27 Morten Welinder <terra@gnome.org>
1462 * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1463 unless we really have to.
1465 2014-12-25 Morten Welinder <terra@gnome.org>
1467 * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1470 * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1472 * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1474 * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1475 icon on sheet direction changes.
1477 * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1479 2014-12-24 Morten Welinder <terra@gnome.org>
1481 * src/wbc-gtk.c (wbcg_show_save_dialog)
1482 (wbcg_close_if_user_permits): Constant propagation.
1484 * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1485 GtkStock usage. (Maybe kill whole function? Only two users.)
1487 2014-12-22 Morten Welinder <terra@gnome.org>
1489 * icons/fake-index-theme: we need actions directories too.
1491 2014-12-21 Morten Welinder <terra@gnome.org>
1493 * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1496 2014-12-20 Morten Welinder <terra@gnome.org>
1498 * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1499 count in delete, such as used from sheet resize.
1501 2014-12-19 Morten Welinder <terra@gnome.org>
1503 * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1504 (before g_setenv is available).
1506 2014-12-16 Morten Welinder <terra@gnome.org>
1508 * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1511 * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1514 2014-12-15 Morten Welinder <terra@gnome.org>
1516 * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1517 sheet_style_insert_colrow and handled deletion too.
1519 * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1520 sheet_insert_cols, sheet_delete_rows, sheet_delete_cols. Simplify
1523 * src/dependent.c (dependent_has_pos, dependent_move): New
1526 2014-12-14 Morten Welinder <terra@gnome.org>
1528 * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1531 2014-12-11 Morten Welinder <terra@gnome.org>
1533 * src/dependent.c (style_dep_debug_name): Include position too.
1535 * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1537 (colrow_move): Change parameterization slightly.
1539 2014-12-06 Morten Welinder <terra@gnome.org>
1541 * src/sheet-control-gui.c (scg_unant): Destroy item cursors. We
1542 want them visually gone and g_object_unref does not guarantee
1545 * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1546 dependents. A later step clears and re-applies style completely
1547 for the moved area. Fixes #741197.
1549 * src/sheet-style.c (sheet_style_clear_style_dependents): New
1552 * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1553 (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1555 * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1557 (gnm_cmd_context_error_splits_merge): Plug leak.
1559 2014-11-15 Morten Welinder <terra@gnome.org>
1561 * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1562 the wbc is already gone.
1564 2014-11-09 Morten Welinder <terra@gnome.org>
1566 * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1567 data. Might fix Redhat #1160975.
1569 2014-10-28 Morten Welinder <terra@gnome.org>
1571 * src/style.c (find_font): Accept NULL font name.
1573 2014-10-27 Morten Welinder <terra@gnome.org>
1575 * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1578 2014-10-27 Jean Brefort <jean.brefort@normalesup.org>
1580 * src/item-cursor.c (cb_item_cursor_animation): use
1581 goc_canvas_invalidate_region() for ants walking. Avoid drawing
1582 outside of a draw event.
1584 2014-10-26 Morten Welinder <terra@gnome.org>
1586 * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1588 (GnmValue): Drop type union member. C99 requires that this be
1589 accessed in a structure. We have v_any for that.
1591 2014-10-25 Morten Welinder <terra@gnome.org>
1593 * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1594 ought to survive both gcc's aliasing analysis and valgrind's
1597 2014-10-24 Morten Welinder <terra@gnome.org>
1599 * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1601 2014-10-21 Morten Welinder <terra@gnome.org>
1603 * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1605 2014-09-25 Morten Welinder <terra@gnome.org>
1607 * configure.ac: Post-release bump.
1609 2014-09-25 Morten Welinder <terra@gnome.org>
1613 2014-09-25 Morten Welinder <terra@gnome.org>
1615 * src/sheet-filter.c (gnm_filter_condition_new_single)
1616 (gnm_filter_condition_new_double): Fix preconditions. See
1619 2014-09-23 Morten Welinder <terra@gnome.org>
1621 * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1622 doesn't spew deprecation warnings by default.
1624 2014-09-11 Morten Welinder <terra@gnome.org>
1626 * src/style.c (gnm_translate_underline_from_pango): Survive
1627 PANGO_UNDERLINE_ERROR.
1629 2014-06-09 Morten Welinder <terra@gnome.org>
1631 * configure.ac: Post-release bump.
1633 2014-06-09 Morten Welinder <terra@gnome.org>
1637 2014-05-28 Morten Welinder <terra@gnome.org>
1639 * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1640 when we drag the handle into the col/row canvas.
1642 * src/sheet-view.c (sv_freeze_panes): Add debug code.
1644 * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1645 handler. Fixes #730884.
1647 2014-05-27 Morten Welinder <terra@gnome.org>
1649 * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1650 col/row canvas. Fixes #730857.
1651 (gnm_pane_dispose): Release references.
1653 2014-05-23 Morten Welinder <terra@gnome.org>
1655 * configure.ac: Post-release bump.
1657 2014-05-23 Morten Welinder <terra@gnome.org>
1661 2014-05-23 Morten Welinder <terra@gnome.org>
1663 * src/clipboard.c (clipboard_copy_ranges_undo): New function. We
1664 need better building blocks for commands; this is one such.
1666 2014-05-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1668 * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1669 (cmd_hyperlink_redo): ditto
1670 (cmd_hyperlink_finalize): ditto
1671 (cb_cmd_hyperlink_find_cells): ditto
1673 2014-05-20 Morten Welinder <terra@gnome.org>
1675 * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1677 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1678 outline and fill colours that are auto, even for the 1.0 format.
1680 * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1681 conditional format ranges.
1683 2014-05-14 Morten Welinder <terra@gnome.org>
1685 * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1687 * src/gutils.c (gnm_object_has_readable_prop): New function.
1689 * configure.ac (scrollkeeper): Test if we have it.
1691 2014-05-05 Morten Welinder <terra@gnome.org>
1693 * src/wbc-gtk.c (toolbar_context_menu): Remove
1694 HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW. That has been unconditionally
1695 false for years and is unsupported in gtk+.
1697 2014-04-30 Morten Welinder <terra@gnome.org>
1699 * configure.ac: Post-release bump.
1701 2014-04-30 Morten Welinder <terra@gnome.org>
1705 2014-04-23 Morten Welinder <terra@gnome.org>
1707 * src/complete.c (complete_idle): Avoid abort().
1709 * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1712 2014-04-22 Morten Welinder <terra@gnome.org>
1714 * src/style-color.c (gnm_color_new_name): Remove. All calls
1715 replaced with calls to gnm_color_new_go.
1717 * src/sheet-style.c (sheet_style_init_size): Plug leak.
1719 * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1721 2014-04-21 Morten Welinder <terra@gnome.org>
1723 * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1724 only in the hop of fixing #728465.
1726 2014-04-13 Morten Welinder <terra@gnome.org>
1728 * configure.ac: Post-release bump.
1730 2014-04-13 Morten Welinder <terra@gnome.org>
1734 2014-04-11 Morten Welinder <terra@gnome.org>
1736 * src/item-bar.c: Get colours when we draw; only get sizing
1737 relevant information at odd times, in particular when parent
1738 widgets may be insensitive, such as during a load-onto-pristine.
1741 2014-04-10 Morten Welinder <terra@gnome.org>
1743 * src/item-bar.c (ib_reload_style): Add debug code.
1745 2014-04-09 Morten Welinder <terra@gnome.org>
1747 * src/number-match.c (format_match_datetime): Plug leak on certain
1750 2014-04-02 Morten Welinder <terra@gnome.org>
1752 * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1755 2014-03-30 Morten Welinder <terra@gnome.org>
1757 * src/application.c (gnm_app_remove_extra_ui): Remove from global
1760 2014-03-28 Morten Welinder <terra@gnome.org>
1762 * src/main-application.c (main): Move Ubuntu hack earlier.
1764 2014-03-27 Morten Welinder <terra@gnome.org>
1766 * src/main-application.c (main): Attempt to banish ubuntu's
1767 overlay scrollbar which don't work.
1769 2014-03-21 Morten Welinder <terra@gnome.org>
1771 * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1772 case insensitve and allow wildcards.
1774 * src/gutils.c (gnm_excel_search_impl): New function, extracted
1777 * src/style-conditions.c (generate_end_match): Use case
1778 insensitive comparison. Pull negation into the operator.
1779 (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1782 2014-03-18 Morten Welinder <terra@gnome.org>
1784 * src/gui-util.c (kill_popup_menu): One more try at really killing
1785 the context menu after we're done with it.
1787 * src/item-grid.c (item_grid_realize): Plug leak.
1789 2014-03-18 Morten Welinder <terra@gnome.org>
1791 * configure.ac: Post-release bump.
1793 2014-03-18 Morten Welinder <terra@gnome.org>
1797 2014-03-18 Morten Welinder <terra@gnome.org>
1799 * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1800 providers from screens on exit.
1802 * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1804 2014-03-17 Morten Welinder <terra@gnome.org>
1806 * src/mathfunc.c (gnm_log2): Remove. Use libm's log2.
1808 2014-03-16 Morten Welinder <terra@gnome.org>
1810 * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1811 formats. I'm not positive we do things right, but this avoids
1812 criticals, at least.
1814 * src/cell.c (cell_set_expr_internal): Don't change an existing
1817 2014-03-15 Morten Welinder <terra@gnome.org>
1819 * src/style-border.c (gnm_border_shutdown): New function to help
1820 debug leaks. Shutdown border_none here.
1822 * src/style-color.c (gnm_color_shutdown): Not here.
1824 2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
1826 * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1827 the tooltip where it will not immediatly be destroyed after creation.
1828 [really fix #706659]
1830 2014-03-14 Morten Welinder <terra@gnome.org>
1832 * src/xml-sax-write.c (xml_write_style): Don't write a font name
1833 if we don't have any.
1835 2014-03-14 Jean Brefort <jean.brefort@normalesup.org>
1837 * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1839 2014-03-13 Morten Welinder <terra@gnome.org>
1841 * src/style-conditions.c (gnm_style_cond_eval): New function
1842 extracted from gnm_style_conditions_eval. Make "equal" case
1843 insensitive. Fixes #726246.
1845 * src/ssconvert.c (convert): Show resize message only if verbose.
1847 2014-03-12 Morten Welinder <terra@gnome.org>
1849 * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1851 (gnm_style_cond_canonicalize): New function.
1853 * src/ssconvert.c (convert): only print "Using exporter ..." if
1854 --verbose is given, and print it to stderr.
1856 2014-03-11 Morten Welinder <terra@gnome.org>
1858 * src/sheet.c (cb_set_markup): Don't mess directly with
1859 cell->value. We need to trigger a re-render. Fixes #726086.
1861 * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1862 for the pre-validation assignment.
1864 * src/sheet.c (sheet_cell_set_text): Put markup on the value
1865 before assigning it to the cell.
1867 2014-03-10 Morten Welinder <terra@gnome.org>
1869 * gnumeric.xsd: Update valign/halign attributes. Update print
1872 * src/sheet-filter.c (gnm_filter_condition_new_single)
1873 (gnm_filter_condition_new_double): Add preconditions.
1875 2014-03-07 Morten Welinder <terra@gnome.org>
1877 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1879 2014-03-05 Morten Welinder <terra@gnome.org>
1881 * src/expr.c (gnm_expr_top_is_volatile): New function.
1883 * src/workbook-view.c (workbook_view_new_from_input): Queue all
1884 volatile expressions.
1886 * src/dependent.c (workbook_queue_volatile_recalc): New function.
1887 (dependent_is_volatile): New function.
1889 * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1890 Don't set the initial range here.
1892 * src/expr.c (gnm_expr_top_first_funcall)
1893 (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1894 (gnm_expr_top_referenced_sheets): Rewrite in terms of
1896 (gnm_expr_top_get_boundingbox): Set initial range here.
1898 * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1901 2014-03-03 Morten Welinder <terra@gnome.org>
1903 * configure.ac: Post-release bump.
1905 2014-03-03 Morten Welinder <terra@gnome.org>
1909 2014-03-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1911 * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1913 2014-03-02 Morten Welinder <terra@gnome.org>
1915 * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1917 (wbcg_sheet_order_changed): Mark ui as being updated.
1918 (cb_bnotebook_page_reordered): Ignore during UI update.
1920 * src/expr-name.c (gnm_named_expr_collection_dump)
1921 (gnm_named_expr_collection_sanity_check): New function.
1923 * src/application.c (gnm_app_sanity_check): New function.
1925 * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1926 string inside the GOString as a hash key. It can change.
1927 (gnm_named_expr_collection_foreach): As a consequence of the
1928 above, the first argument to the handler for
1929 gnm_named_expr_collection_foreach changes to something
1930 unspecified. All callers changed.
1932 * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1935 * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1936 when encountering strangeness.
1938 2014-02-28 Morten Welinder <terra@gnome.org>
1940 * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1941 If row/column canvas is not visible, ignore them.
1942 (scg_gtk_paned_set_position): Don't allow negative position.
1945 * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1948 2014-02-27 Jean Brefort <jean.brefort@normalesup.org>
1950 * src/item-grid.c (item_grid_draw_region): fix background filling for
1951 rtl sheets. [#725276]
1953 2014-02-25 Morten Welinder <terra@gnome.org>
1955 * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1956 (gnumeric_create_popup_menu): Drop return value from handler.
1958 * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1959 are cell comments by position.
1961 2014-02-24 Morten Welinder <terra@gnome.org>
1963 * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1965 * src/colrow.c (colrow_equal): Don't use floating-point equality
1966 here. Allow a difference of 1e-5 pt for size.
1968 2014-02-23 Morten Welinder <terra@gnome.org>
1970 * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1971 fill in the new areas with most common styles for the rows to the
1972 left of the new columns or the columns above the new area.
1974 2014-02-19 Morten Welinder <terra@gnome.org>
1976 * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1977 (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1979 * src/mathfunc.c (gnm_log2): New function.
1981 2014-02-18 Morten Welinder <terra@gnome.org>
1983 * src/ssdiff.c (xml_style_changed): Report differences for
1984 auto-color settings.
1986 2014-02-17 Morten Welinder <terra@gnome.org>
1988 * src/ssconvert.c (convert): Add --resize option.
1990 2014-02-16 Jean Brefort <jean.brefort@normalesup.org>
1992 * src/item-grid.c (item_grid_realize): fix persistence of
1993 hyperlink tips. [see #724108]
1995 2014-02-16 Morten Welinder <terra@gnome.org>
1997 * configure.ac: Post-release bump.
1999 2014-02-16 Morten Welinder <terra@gnome.org>
2003 2014-02-16 Morten Welinder <terra@gnome.org>
2005 * src/func.c (function_dump_defs): Update boilerplate.
2007 2014-02-11 Morten Welinder <terra@gnome.org>
2009 * configure.ac: Post-release bump.
2011 2014-02-11 Morten Welinder <terra@gnome.org>
2015 2014-02-07 Morten Welinder <terra@gnome.org>
2017 * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
2018 entry on top of merged cells. Fixes #723600.
2020 2014-02-06 Jean Brefort <jean.brefort@normalesup.org>
2022 * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
2023 a better fix to previous issue.
2025 2014-01-30 Morten Welinder <terra@gnome.org>
2027 * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
2030 * src/item-cursor.c (item_cursor_draw): Make the ant animation
2031 smoother (when not using the fallback). Avoid using hard light
2032 for ant-ing -- that doesn't work for the same reason as alpha not
2033 working. Always use phase=0 for non-ant stipples.
2034 (GnmItemCursor): Use the canvas item's visibility flag instead of
2037 2014-01-29 Morten Welinder <terra@gnome.org>
2039 * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
2041 * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
2042 check for bad clipping somewhere in gtk+ or theme land.
2044 2014-01-28 Jean Brefort <jean.brefort@normalesup.org>
2046 * src/sheet-object-component.c (gnm_soc_user_config): release the new
2047 component reference to the workbook.
2049 2014-01-27 Morten Welinder <terra@gnome.org>
2051 * src/func.c (function_dump_defs): Undo wiki change.
2053 2014-01-21 Morten Welinder <terra@gnome.org>
2055 * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
2056 the amount of work we do for ant-ing. Fixes #381011, patch from
2058 (ic_reload_style): Ignore alpha component of ant colours.
2060 2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
2062 * src/graph.c (gnm_go_data_vector_load_len),
2063 (gnm_go_data_vector_load_values): accept 3D values for vector data.
2066 2014-01-16 Morten Welinder <terra@gnome.org>
2068 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
2069 cb_darken_foreground_attributes and change to take non-white
2070 background into account.
2072 2014-01-12 Morten Welinder <terra@gnome.org>
2074 * src/mathfunc.c (expmx2h): Split out from dnorm.
2075 (dhyper): Round the chosen "p" to float to improve accuracy of
2078 2014-01-11 Morten Welinder <terra@gnome.org>
2080 * src/mathfunc.c (pow1p): Improve accuracy.
2081 (R_D_nonint): Fix rounding problem.
2082 (ebd0): New extended version of bd0.
2083 (dpois_raw, dbinom_raw): Use ebd0.
2084 (dbinom_raw): Handle x==n and x==0 much better.
2086 2014-01-08 Morten Welinder <terra@gnome.org>
2088 * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
2091 * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
2093 * src/gui-file.h: Namespace improvements. Also make gui_file_read
2094 return the WorkbookView instead of a boolean.
2096 2014-01-01 Morten Welinder <terra@gnome.org>
2098 * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
2100 2013-12-31 Morten Welinder <terra@gnome.org>
2102 * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
2105 2013-12-30 Morten Welinder <terra@gnome.org>
2107 * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
2109 (dpois_raw): Avoid going through logs, if possible.
2111 2013-12-25 Morten Welinder <terra@gnome.org>
2113 * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
2114 we return FALSE so we don't try to remove the source later.
2116 2013-12-22 Morten Welinder <terra@gnome.org>
2118 * src/gui-util.c (gnm_widget_measure_string): New function
2119 allowing the elimination of all gtk_style_context_get_font calls.
2121 2013-12-19 Morten Welinder <terra@gnome.org>
2123 * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
2124 especially when |x|<<1. Ditto for x<-1.
2126 2013-12-17 Morten Welinder <terra@gnome.org>
2128 * src/sf-gamma.c (complex_gamma): Turn a complex division into a
2131 2013-12-14 Morten Welinder <terra@gnome.org>
2133 * src/sf-gamma.c (complex_igamma): New function.
2135 2013-12-12 Mario Rugiero <mrugiero@gmail.com>
2137 * */*.c: Fix some leaks and null dereferences pointed out by
2140 2013-12-12 Morten Welinder <terra@gnome.org>
2142 * src/parser.y (array_row): Avoid overrunning string when multiple
2143 missing closing parentheses are detected. Fixes #720353.
2145 2013-12-11 Morten Welinder <terra@gnome.org>
2147 * src/gui-util.c (gnumeric_popup_menu): Use the screen from
2148 gdk_event_get_screen, not from ->screen. This might fix #720182.
2150 * src/*.c: Use accessor function for GdkEvent when convenient.
2152 2013-12-07 Morten Welinder <terra@gnome.org>
2154 * src/application.c (gnm_app_init): Don't allocate a
2155 GtkRecentManager if we are not in gui mode.
2157 * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
2159 * src/dependent.c (deprange_hash): Ditto.
2161 2013-12-04 Morten Welinder <terra@gnome.org>
2163 * src/sf-gamma.c (gamma_error_factor): Add extra term.
2165 2013-12-07 Morten Welinder <terra@gnome.org>
2167 * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
2168 of the argument for [-1.5;-0.5].
2170 * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
2171 Re z < 1/2. Avoid some overflow.
2173 2013-12-02 Morten Welinder <terra@gnome.org>
2175 * src/sf-bessel.c (bessel_y): Use the J series when possible.
2177 2013-12-07 Morten Welinder <terra@gnome.org>
2179 * src/sf-bessel.c (bessel_j): Use the taylor series in the
2180 parameter range where that makes sense.
2182 * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
2185 2013-11-30 Morten Welinder <terra@gnome.org>
2187 * src/sf-gamma.c (pochhammer): Drop give_log arguments. Extend to
2190 2013-11-28 Morten Welinder <terra@gnome.org>
2192 * configure.ac: Post-release bump.
2194 2013-11-28 Morten Welinder <terra@gnome.org>
2198 2013-11-25 Morten Welinder <terra@gnome.org>
2200 * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
2203 2013-11-19 Morten Welinder <terra@gnome.org>
2205 * src/print.c (print_page): Fix check for missing object. Fixes
2208 2013-11-18 Morten Welinder <terra@gnome.org>
2210 * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
2212 2013-11-15 Morten Welinder <terra@gnome.org>
2214 * src/mathfunc.c (reduce_pi_half): New function.
2216 2013-11-14 Morten Welinder <terra@gnome.org>
2218 * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
2219 (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
2221 2013-11-13 Morten Welinder <terra@gnome.org>
2223 * src/mathfunc.c (lgamma_r): Fix fallback. Didn't work for x<10.
2225 2013-11-13 Jean Brefort <jean.brefort@normalesup.org>
2227 * src/sheet-object.c (sheet_object_view_button2_pressed),
2228 (sheet_object_view_class_init): implement double click for graph sheets.
2231 2013-11-12 Morten Welinder <terra@gnome.org>
2233 * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
2235 (cb_bnotebook_page_reordered): New function.
2236 (wbc_gtk_create_notebook_area): Attach a handler for reordering.
2238 * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
2240 2013-11-06 Morten Welinder <terra@gnome.org>
2242 * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
2244 2013-11-06 Jean Brefort <jean.brefort@normalesup.org>
2246 * src/workbook-view.c: add more introspection related comments.
2247 * src/workbook.c: ditto.
2249 2013-11-03 Morten Welinder <terra@gnome.org>
2251 * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
2252 sin/cos before scaling by pi.
2254 2013-11-01 Morten Welinder <terra@gnome.org>
2256 * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
2257 (gnm_gamma): Protect against unnecessary overflow at top of range.
2259 2013-10-31 Morten Welinder <terra@gnome.org>
2261 * src/mathfunc.c (qgamma): Flip tail for high values of p. This
2262 avoids accuracy problems since any cdf is completely flat in terms
2263 of floating point values when going sufficiently far into the
2267 (J_bessel): Extend xlrg_BESS_IJ to match current R.
2268 (permut): Route this into pochhammer.
2269 (qfact): New function. Tabulate 0! through 50000! using quad
2270 precision arithmetic.
2271 (combin, fact, pochhammer): Improve accuracy using qfact.
2273 2013-10-22 Morten Welinder <terra@gnome.org>
2275 * src/func.c (function_call_with_exprs): Move flags argument into
2278 2013-10-19 Morten Welinder <terra@gnome.org>
2280 * src/hlink.c (_gnm_hlink_init): New function.
2281 * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
2283 2013-10-07 Morten Welinder <terra@gnome.org>
2285 * configure.ac: Post-release bump.
2287 2013-10-07 Morten Welinder <terra@gnome.org>
2291 2013-10-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2293 * src/cmd-edit.c (cmd_paste): chceck for locked cells
2295 2013-10-03 Morten Welinder <terra@gnome.org>
2297 * src/item-cursor.c (item_cursor_draw): Drop expose area
2298 optimization that may not be correct with current gtk. See bug
2301 2013-09-29 Morten Welinder <terra@gnome.org>
2303 * src/main-application.c: Include <io.h> for win32.
2305 * src/wbc-gtk-actions.c: Include gutils.h for win32.
2307 2013-09-25 Morten Welinder <terra@gnome.org>
2309 * src/gnumeric.css: Use lighter green for function marker.
2311 2013-09-01 Morten Welinder <terra@gnome.org>
2313 * configure.ac: Post-release bump.
2315 2013-09-01 Morten Welinder <terra@gnome.org>
2319 2013-08-29 Morten Welinder <terra@gnome.org>
2321 * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
2324 2013-08-28 Morten Welinder <terra@gnome.org>
2326 * src/mathfunc.c (gnm_gamma): Improve precision for large
2328 (gnm_yn): Not needed anymore.
2329 (bessel_i): Don't mark error strings for translation.
2331 2013-08-27 Morten Welinder <terra@gnome.org>
2333 * configure.ac: Post-release bump.
2335 2013-08-27 Morten Welinder <terra@gnome.org>
2339 2013-08-26 Morten Welinder <terra@gnome.org>
2341 * src/sheet-style.c (cell_tile_dump): New function for debugging.
2342 (internal_style_list): Add fast pre-optimization to bring down the
2343 number of entries before we start messing with hashes. Fixes
2346 2013-08-22 Jean Brefort <jean.brefort@normalesup.org>
2348 * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2349 GraphDimEditor::changed. See bug 706591 comment #2.
2351 2013-08-19 Morten Welinder <terra@gnome.org>
2353 * configure.ac: Post-release bump.
2355 2013-08-19 Morten Welinder <terra@gnome.org>
2359 2013-08-15 Morten Welinder <terra@gnome.org>
2361 * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2364 * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2365 parameters. See bug 705913, comment 6.
2367 2013-08-13 Morten Welinder <terra@gnome.org>
2369 * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2371 2013-08-12 Morten Welinder <terra@gnome.org>
2373 * src/sheet-object-widget.c (sow_create_widget): New function.
2374 Add sheet-object class to widgets.
2376 2013-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2378 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2380 (sheet_widget_button_draw_cairo): also scale line thickness
2381 (sheet_widget_checkbox_draw_cairo): scale button size
2382 (sheet_widget_radio_button_draw_cairo): scale button size
2384 2013-08-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2386 * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2387 argument and change all callers
2389 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2391 * src/sheet-object-widget.c (get_font): add fall-backs
2393 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2395 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2397 (draw_cairo_text): add h-vcenter argument and change all callers
2399 2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
2401 * src/sheet-object-widget.c (cb_range_destroyed),
2402 (sheet_widget_scrollbar_create_widget),
2403 (sheet_widget_spinbutton_create_widget),
2404 (sheet_widget_slider_create_widget): avoid crashing after destroying a
2405 SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2407 2013-08-09 Morten Welinder <terra@gnome.org>
2409 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2411 (get_font): New function extracted from draw_cairo_text.
2413 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2415 * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2418 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2420 * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2421 allow multi-paragraph with a highlighted line. Change all callers
2422 (sheet_widget_list_draw_cairo): use draw_cairo_text
2424 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2426 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2427 cairo version for Gnuemric too.
2428 (sheet_widget_button_draw_cairo): ditto
2429 (sheet_widget_scrollbar_draw_cairo): ditto
2430 (sheet_widget_spinbutton_draw_cairo): ditto
2431 (sheet_widget_slider_draw_cairo): ditto
2432 (sheet_widget_checkbox_draw_cairo): ditto
2433 (sheet_widget_radio_button_draw_cairo): ditto
2434 (sheet_widget_list_draw_cairo): ditto
2435 (sheet_widget_combo_draw_cairo): ditto
2437 2013-08-08 Morten Welinder <terra@gnome.org>
2439 * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2440 Reduce crazy relative offsets.
2442 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2444 * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2446 (sheet_widget_frame_draw_cairo): new
2447 (sheet_widget_button_draw_cairo): new
2448 (sheet_widget_scrollbar_horizontal_draw_cairo): new
2449 (sheet_widget_scrollbar_vertical_draw_cairo): new
2450 (sheet_widget_scrollbar_class_init): connect the above
2451 (sheet_widget_spinbutton_draw_cairo): new
2452 (sheet_widget_spinbutton_class_init): connect the above
2453 (sheet_widget_slider_horizontal_draw_cairo): new
2454 (sheet_widget_slider_vertical_draw_cairo): new
2455 (sheet_widget_slider_draw_cairo): new
2456 (sheet_widget_slider_class_init): connect the above
2457 (sheet_widget_list_draw_cairo): new
2458 (sheet_widget_list_class_init): connect the above
2459 (sheet_widget_combo_draw_cairo): new
2460 (sheet_widget_combo_class_init): connect the above
2462 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2464 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2465 change all uses of this macro
2466 (draw_cairo_text): new
2467 (sheet_widget_checkbox_draw_cairo): new
2468 (sheet_widget_radio_button_draw_cairo): new
2470 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2472 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2473 gtk_offscreen_window_new without a default screen (see bugs #705638
2476 2013-08-07 Morten Welinder <terra@gnome.org>
2478 * src/ssconvert.c (main): Initialize gtk+ without opening any
2481 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2483 * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2485 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2487 * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2488 * src/sheet-control-gui.c (scg_init): init new fields
2489 (scg_im_destroy): new
2490 (scg_finalize): call scg_im_destroy
2491 (cb_cell_im_timer): new
2492 (scg_find_pane): new
2493 (scg_show_im_tooltip): new
2494 (scg_class_init): init new field
2495 * src/sheet-control-priv.h: add field
2496 * src/sheet-control.c: add virtual
2497 * src/sheet-control.h: add virtual
2498 * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2499 (sv_update): call sheet_view_edit_pos_tool_tips
2500 * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2502 (sheet_row_get_distance_pixels): new
2503 * src/sheet.h (sheet_row_get_distance_pixels): new
2505 2013-08-03 Jean Brefort <jean.brefort@normalesup.org>
2507 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2508 nodes in guppi graphs. [Debian #718594]
2510 2013-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2512 * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2515 2013-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2517 * src/sheet-control-gui.c (context_menu_handler): add argument to
2518 dialog_cell_format call
2519 * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2520 dialog_cell_format call
2521 (cb_data_validate): ditto
2523 2013-07-30 Morten Welinder <terra@gnome.org>
2525 * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2526 colour. Fixes rest of #705031.
2528 2013-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2530 * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2532 2013-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2534 * gnumeric.desktop.in: add ODS files
2536 2013-07-23 Jean Brefort <jean.brefort@normalesup.org>
2538 * src/graph.c (gnm_go_data_vector_load_values): really load all
2539 values for multiple ranges.
2541 2013-07-19 Morten Welinder <terra@gnome.org>
2543 * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2544 check: the enum has a hole in the middle. Fixes #704562.
2546 2013-07-19 Jean Brefort <jean.brefort@normalesup.org>
2548 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2550 * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2552 2013-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2554 * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2555 (gnm_so_path_set_property): ditto
2556 (gnm_so_path_get_property): ditto
2558 2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
2560 * src/gnm-so-path.c (so_path_view_set_bounds),
2561 (cb_gnm_so_path_changed): a better fix for the text position.
2563 2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
2565 * src/gnm-so-filled.c (so_filled_view_set_bounds),
2566 (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2567 * src/gnm-so-path.c (so_path_view_set_bounds),
2568 (cb_gnm_so_path_changed): fix text wrap in paths too.
2570 2013-07-16 Morten Welinder <terra@gnome.org>
2572 * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2573 computing range size. Fixes #704325.
2575 2013-07-15 Morten Welinder <terra@gnome.org>
2577 * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2578 that. Fixes #704004.
2580 * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2582 * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2583 against oversize range.
2585 2013-07-12 Morten Welinder <terra@gnome.org>
2587 * src/expr.c (gnm_expr_range_op): When constructing a range, make
2588 sure it falls within the sheet.
2589 (gnm_expr_new_range_ctor): Don't optimize to range if the two
2590 parts are on different sheets. Fixes #704109.
2592 2013-07-10 Morten Welinder <terra@gnome.org>
2594 * configure.ac: Post-release bump.
2596 2013-07-10 Morten Welinder <terra@gnome.org>
2600 2013-07-10 Morten Welinder <terra@gnome.org>
2602 * src/value.c (parse_criteria): Patterns should anchor at the end
2603 (#703770) and be case insensitive (no bug#).
2605 2013-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2607 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2608 to create an image of unknown type
2610 2013-07-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2612 * src/graph.c (gnm_go_data_vector_load_len): use consistent
2614 (cb_assign_val): quieten warning about signed/unsigned comparison
2616 2013-07-03 Morten Welinder <terra@gnome.org>
2618 * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2620 (cb_assign_val): Ditto.
2622 2013-07-02 Morten Welinder <terra@gnome.org>
2624 * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2625 (cb_style_list_add_node): Ditto.
2626 (verify_hashes): Ditto.
2627 (internal_style_list): Ditto.
2629 * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2632 2013-07-01 Morten Welinder <terra@gnome.org>
2634 * configure.ac (long double): Crude use -lm for long double
2635 function checks. Fixes #703397.
2637 2013-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2639 * src/expr.c (gnm_expr_list_copy): new
2640 * src/expr.h (gnm_expr_list_copy): new
2642 2013-06-26 Morten Welinder <terra@gnome.org>
2644 * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2645 of ->op before using it. Fixes #703143.
2647 2013-06-26 Jean Brefort <jean.brefort@normalesup.org>
2649 * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2651 (gnm_so_path_copy): fixed copy with multiple paths.
2653 2013-06-25 Morten Welinder <terra@gnome.org>
2655 * configure.ac: Post-release bump.
2657 2013-06-25 Morten Welinder <terra@gnome.org>
2661 2013-06-24 Morten Welinder <terra@gnome.org>
2663 * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2664 sheet. Fixes #703006.
2666 2013-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2668 * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2671 2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
2673 * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2674 a valid pattern. [#702833]
2675 * src/pattern.c (gnumeric_background_set): ditto.
2677 2013-06-21 Morten Welinder <terra@gnome.org>
2679 * src/item-grid.c (item_grid_draw_region): Plug leak.
2681 * src/item-bar.c (ib_reload_style): Plug leak.
2683 2013-06-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2685 * src/wbc-gtk.c (show_gui): protect against excessively large
2686 preferred widow sizes
2688 2013-06-14 Morten Welinder <terra@gnome.org>
2690 * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2692 * src/workbook.c (workbook_sheet_delete): Debug.
2693 (workbook_dispose): Also clear style here. Styles can have
2694 dependents now. Fixes #702218.
2696 2013-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2698 * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2700 2013-06-12 Morten Welinder <terra@gnome.org>
2702 * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2705 2013-06-04 Morten Welinder <terra@gnome.org>
2707 * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2709 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2711 * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2712 (scg_comment_display): adjust background and fontcolor if necessary
2714 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2716 * src/item-grid.c (cb_cursor_come_to_rest):
2717 gnumeric_position_tooltip needs the tooltip size, so load the text
2720 2013-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2722 * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2725 2013-05-27 Morten Welinder <terra@gnome.org>
2727 * src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
2728 and we aren't very good at it.
2730 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2732 * component/Gnumeric-embed.xml.in: add accelerator
2733 * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2734 * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2735 (EditGotoCellIndicator): new
2736 * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2737 (wbcg_focus_current_cell_indicator): new
2738 * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2740 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2742 * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2743 * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2744 * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2745 * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2747 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2749 * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2750 behave the same as far as cell selection is concerned. This fixes
2752 (item_grid_button_released): ditto
2754 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2756 * src/sheet.c (sheet_get_extent): add argument to indicate whether
2757 to include hidden cells
2758 (cb_sheet_get_extent): handle hidden cells setting
2759 (sheet_get_printarea): do not include hidden cells
2760 * src/sheet.h (sheet_get_extent): add argument and change all
2763 2013-05-26 Morten Welinder <terra@gnome.org>
2765 * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2766 Termiate when contributions vanish.
2768 2013-05-24 Morten Welinder <terra@gnome.org>
2770 * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2772 (pfuncinverter): Handle lack of dfunc (poorly).
2774 2013-05-23 Morten Welinder <terra@gnome.org>
2776 * src/mathfunc.c (ptukey_otsum): Split integration of a single
2777 interval out from out from R_ptukey.
2778 (R_ptukey): Split the interval nearest 0 into a sequence of
2779 intervals over which the integrand looks a lot more like a
2780 polynomial. This fixes accuracy problems for low degrees of
2783 * src/sheet-style.c (internal_style_list): Fix critical.
2785 2013-05-22 Morten Welinder <terra@gnome.org>
2787 * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2789 2013-05-21 Morten Welinder <terra@gnome.org>
2791 * src/mathfunc.c (R_ptukey): More C, less Fortran.
2793 2013-05-19 Morten Welinder <terra@gnome.org>
2795 * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2797 (pnorm2): Get rid of mu and sigma arguments. Improve accuracy.
2799 2013-05-18 Morten Welinder <terra@gnome.org>
2801 * src/mathfunc.c (pnorm2): New function.
2802 (R_ptukey): New function imported from R with local improvements.
2804 2013-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2806 * src/print.c (gnm_create_widget_cb): by default observe
2809 2013-05-14 Morten Welinder <terra@gnome.org>
2811 * src/rangefunc.c (gnm_range_multinomial): Add range check.
2812 (gnm_range_geometric_mean): Handle two FIXMEs.
2814 2013-05-13 Morten Welinder <terra@gnome.org>
2816 * src/*.c: Mark gobject property strings as P_(...).
2818 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2820 * src/commands.c (cmd_merge_data_redo): unref merge_contents
2822 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2824 * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2825 rather than gnm_cell_assign_value
2827 2013-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2829 * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2832 2013-05-05 Morten Welinder <terra@gnome.org>
2834 * src/dependent.c (style_dep_eval): New function. Re-clear the
2835 rendered value here. Fixes #699647.
2837 2013-05-03 Morten Welinder <terra@gnome.org>
2839 * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2840 accelerator for redo. Fixes #699579.
2841 (wbc_gtk_create_notebook_area): Mark the button notebook as non
2844 * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2846 2013-05-01 Morten Welinder <terra@gnome.org>
2848 * src/print-info.c: Add gsf includes to make things work with
2849 libgsf 1.14.24. Redhat #957851.
2851 2013-04-29 Morten Welinder <terra@gnome.org>
2853 * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2856 2013-04-26 Morten Welinder <terra@gnome.org>
2858 * configure.ac: Post-release bump.
2860 2013-04-26 Morten Welinder <terra@gnome.org>
2864 2013-04-26 Morten Welinder <terra@gnome.org>
2866 * src/gnumeric.css (GnmItemBar): Make red labels for selected
2867 row/column items the default.
2869 2013-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2871 * src/wbc-gtk-actions.c: rename some items in the statistics menu
2873 2013-04-24 Morten Welinder <terra@gnome.org>
2875 * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2876 widget parameter. All callers changed.
2878 * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2879 delayedMovement.timer.
2881 * src/item-cursor.c (gnm_item_cursor_init): Ditto
2884 * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2885 windows_update_timer.
2887 * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2888 guint to match glib. Use 0 as undefined since (guint)-1 is a
2891 * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2894 2013-04-23 Morten Welinder <terra@gnome.org>
2896 * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2898 * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2899 critical. Fixes #698680.
2901 * src/gui-file.c (gui_file_save_as): For export, change extension.
2904 2013-04-22 Morten Welinder <terra@gnome.org>
2906 * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2907 Somehow fixes #625687.
2909 2013-04-20 Morten Welinder <terra@gnome.org>
2911 * src/go-data-slicer-field.c
2912 (go_data_slicer_field_set_field_type_pos): Add precondition for
2915 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2917 * src/print-info.c (render_title): new
2919 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2921 * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2923 (sheet_range_set_text): ditto
2925 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2927 * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2930 2013-04-22 Morten Welinder <terra@gnome.org>
2932 * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2934 2013-04-19 Morten Welinder <terra@gnome.org>
2936 * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2937 view approach. Fixes #689283.
2939 * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2941 (wbc_gtk_init_color_fore): Ditto.
2942 (wbc_gtk_init_color_back): Ditto.
2944 2013-04-17 Morten Welinder <terra@gnome.org>
2946 * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2949 * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2952 * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2953 only for horizontal toolbars.
2955 * src/gui-file.c (file_saver_format_changed_cb): New function to
2956 change the extension when the format is changed.
2957 (gui_file_save_as): Don't try to hide the extension -- it
2958 interferes with the file chooser's completion. Fixes #695839.
2960 2013-04-16 Morten Welinder <terra@gnome.org>
2962 * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2963 menu for graph sheets. Fixes #685446.
2964 (sheet_menu_label_run): Disable resize for graph sheets.
2966 * src/value.c (parse_criteria): Anchor only at start. Fixes
2968 (parse_criteria): Handle criteria "=" and "<>" (with no value
2969 after the operator) special. These test for empty and non-empty
2970 values. Fixes #686156.
2972 * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2973 "anchor_start" and "anchor_end". All callers changed.
2975 2013-04-15 Morten Welinder <terra@gnome.org>
2977 * src/application.c (add_icon): Plug leak.
2979 * src/number-match.c (format_match_decimal_number): Try also major
2980 non-locale currencies. Fixes #577768.
2982 2013-04-13 Morten Welinder <terra@gnome.org>
2984 * src/mathfunc.c (pochhammer): Improve precision a bit.
2985 (binomialcf): Lower cfSmall by 10^3. This helps
2988 * configure.ac (GETTEXT_PACKAGE): Add version number so that
2989 doesn't prevent multiple versions from co-existing.
2991 * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2992 dirty. Callers already appear to handle this when needed
2993 and not when not wanted. Fixes #697927.
2995 2013-04-12 Morten Welinder <terra@gnome.org>
2997 * src/mathfunc.c (gnm_owent): Fix a==1 special case. Part of
2999 (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
3001 (fact): Use table for n<=1; rewrite using pochhammer otherwise.
3003 2013-04-11 Morten Welinder <terra@gnome.org>
3005 * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
3006 reference with invalid_sheet. Fixes #683494.
3008 * src/complex.c (complex_to_string): Drop format arguments. All
3009 callers changed. Make up a format with enough precision for round
3010 tripping. Fixes #697634.
3012 2013-04-09 Morten Welinder <terra@gnome.org>
3014 * src/complex.c (complex_from_string): Make this handle embedded
3015 spaces systematically.
3016 (is_unit_imaginary): Delete.
3018 2013-04-09 Morten Welinder <terra@gnome.org>
3020 * src/complex.c (complex_pow): Use Goffice's copy.
3022 2013-04-05 Morten Welinder <terra@gnome.org>
3024 * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
3025 new screens. Add hack for pre-GTK 3.4.
3027 * src/mathfunc.c (gnm_owent): New function.
3029 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
3031 * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
3032 functions used as vectors. [697281]
3034 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
3036 * src/graph.c (gnm_go_data_vector_load_values),
3037 (gnm_go_data_vector_get_str): fix values and strings loading in case of
3040 2013-04-03 Morten Welinder <terra@gnome.org>
3042 * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
3043 attributes of the tab.
3045 * src/sheet-control-gui.c (sheet_control_gui_new): Create a
3046 GnmNotebookButton, not an EditableLabel.
3048 2013-04-02 Morten Welinder <terra@gnome.org>
3050 * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
3052 (cb_wbcg_drag_leave): Ditto.
3054 2013-03-27 Morten Welinder <terra@gnome.org>
3056 * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
3057 key we look up. When did that change?
3059 2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
3061 * src/sheet-object-widget.c (sheet_widget_list_create_widget):
3064 2013-03-26 Morten Welinder <terra@gnome.org>
3066 * src/item-edit.c: Theme the in-cell edit background color.
3068 * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
3070 src/gui-gnumeric.h: Remove.
3072 * src/pattern.c (gnumeric_background_set): Insist that ctxt is
3073 non-NULL if there is a selection.
3074 (gnumeric_background_set_gtk): Delete. Make callers use
3075 gnumeric_background_set.
3077 * src/preview-grid.c (preview_grid_draw_background): Always
3078 provide a context to gnumeric_background_set.
3079 * src/item-edit.c (item_edit_draw): Ditto.
3081 * src/item-cursor.c (ic_reload_style): Use class, not state, to
3082 separate the different cursor types. Separate autofill colouring
3085 2013-03-25 Morten Welinder <terra@gnome.org>
3087 * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
3089 (ic_reload_style): Theme some of the cursor colors.
3091 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
3094 * src/item-bar.c: Rename: ItemBar to GnmItemBar.
3096 * src/gnumeric.css: use deprecated px-free syntax for padding, so
3097 gtk+ 3.2 can deal with it.
3099 * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
3100 can suppress deprecations.
3102 * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
3105 * src/item-bar.c (ib_reload_style): Load fonts from style.
3107 2013-03-24 Morten Welinder <terra@gnome.org>
3109 * src/item-grid.c (item_grid_draw_region): Draw the background at
3110 the right coordinates!
3112 2013-03-23 Morten Welinder <terra@gnome.org>
3114 * src/item-bar.c (ib_draw_cell): There's no point in going to and
3115 from GOColor here. Just use the color as-is.
3117 2013-03-19 Morten Welinder <terra@gnome.org>
3119 * src/application.c (install_icons): Install also the icon themed
3120 icons. No idea why we have both.
3122 * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
3124 * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
3125 (embedded_imgs): Add the rest from pixmaps.
3127 * configure.ac: No longer create src/pixmaps/Makefile
3129 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
3130 these work for resources and absolute paths.
3132 2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
3134 * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
3135 not sizeable objects bounds after dragging when zoom is not 100%.
3137 2013-03-18 Morten Welinder <terra@gnome.org>
3139 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
3140 filter. It takes just long enough to be irritating.
3142 2013-03-17 Morten Welinder <terra@gnome.org>
3144 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
3145 style since we're not picking it explicitly.
3146 (cb_font_filter): Fix leak.
3148 2013-03-14 Morten Welinder <terra@gnome.org>
3150 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
3151 ignore non-scalable fonts.
3153 2013-03-11 Morten Welinder <terra@gnome.org>
3155 * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
3157 2013-03-10 Morten Welinder <terra@gnome.org>
3159 * src/ssconvert.c (list_them): Skip savers/openers that require
3160 interaction. (We don't have any yet.)
3162 * src/stf.c (stf_read_workbook): Set error when we fail due to
3164 (stf_init): Mark the configurable saver/opener as interactive.
3166 * src/ssconvert.c (convert): Fix error handling. Fixes #695529.
3168 2013-03-09 Morten Welinder <terra@gnome.org>
3170 * configure.ac: Post-release bump.
3172 2013-03-09 Morten Welinder <terra@gnome.org>
3176 2013-03-06 Morten Welinder <terra@gnome.org>
3178 * src/wbc-gtk.c (list_actions): Handle a null group.
3180 2013-03-03 Morten Welinder <terra@gnome.org>
3182 * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
3183 g_thread_init if compiled with later than glib 2.32.0.
3185 2013-03-02 Jean Brefort <jean.brefort@normalesup.org>
3187 * src/gnm-pane-impl.h: remove alignments.
3188 * src/gnm-pane.c (gnm_pane_header_init): dittO;
3189 * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
3190 * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
3191 * src/sheet-control-gui-priv.h: remove all tables by one grid.
3192 * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
3193 (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
3194 (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
3195 (scg_mode_edit): ditto.
3196 * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
3197 (cb_sheet_visibility_change), (wbcg_sheet_add),
3198 (wbcg_sheet_remove), (wbcg_sheet_focus),
3199 (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
3200 (wbcg_get_nth_scg): ditto.
3202 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
3204 * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
3205 * src/print.c (gnm_create_widget_cb): ditto.
3206 * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
3208 2013-03-01 Morten Welinder <terra@gnome.org>
3210 * src/mathfunc.h: Make sure the "q" functions take "p" as their
3211 first argument, not "x".
3213 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
3215 reviewed by: <delete if not using a buddy>
3218 * src/sheet-object-widget.c (sheet_widget_button_user_config),
3219 (sheet_widget_adjustment_user_config_impl),
3220 (sheet_widget_checkbox_user_config),
3221 (sheet_widget_radio_button_user_config):
3222 * src/wbc-gtk.c (wbc_gtk_init):
3224 2013-02-28 Morten Welinder <terra@gnome.org>
3226 * configure.ac: remove the DISABLE_DEPRECATED defines even from
3227 development versions. We now get the information through gcc
3229 (solver): Make solver code unconditional. Feel free to not
3230 distribute the relevant plugins.
3232 2013-02-26 Morten Welinder <terra@gnome.org>
3234 * src/ssconvert.c (convert): Avoid segfault. Fixes #694741.
3236 2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
3238 * src/number-match.c: more introspection warnings.
3240 2013-02-23 Morten Welinder <terra@gnome.org>
3242 * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
3244 2013-02-21 Morten Welinder <terra@gnome.org>
3246 * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
3247 GHFunc. All callers changed. Impose a robust ordering.
3248 (sh_all_styles): New function replacing sh_foreach.
3250 2013-02-20 Morten Welinder <terra@gnome.org>
3252 * src/sheet-object-graph.c (dim_start): Survive malformed xml.
3254 2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
3256 * configure.ac: make configure --with-python fail when some
3257 dependency is missing.
3259 2013-02-17 Morten Welinder <terra@gnome.org>
3261 * configure.ac (set_more_warnings): Improve support for clang.
3263 2013-02-16 Morten Welinder <terra@gnome.org>
3265 * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
3266 (Most cases a matter of 0 vs. 0.)
3268 2013-02-16 Jean Brefort <jean.brefort@normalesup.org>
3270 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
3271 default value for stf export format.
3272 * src/dependent.c: fix introspection warnings.
3273 * src/sheet-style.c: ditto.
3275 2013-02-15 Morten Welinder <terra@gnome.org>
3277 * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
3278 3.2.0 just like goffice.
3280 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
3283 2013-02-14 Morten Welinder <terra@gnome.org>
3285 * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
3286 not MAXDOUBLE. Fixes #693761.
3288 2013-02-10 Morten Welinder <terra@gnome.org>
3290 * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
3291 doesn't belong here. We handle everything in rstyle_apply.
3293 2013-02-08 Morten Welinder <terra@gnome.org>
3295 * src/sheet-style.c (rstyle_apply): Take extra range argument and
3296 link/unlink style dependents. All callers changed.
3297 (sheet_style_shutdown): Set default style for whole sheet to
3298 ensure style dependents get cleared.
3300 2013-02-07 Morten Welinder <terra@gnome.org>
3302 * src/sheet-style.c (cell_tile_optimize): Implement
3303 ptr-matrix-to-matrix optimization and use it to simplify things.
3305 * src/dependent.c (GnmStyleDependent): New type of dependent.
3306 When triggered, the cells in which it resised will be rerendered
3309 * src/mstyle.c (gnm_style_link_dependents)
3310 (gnm_style_unlink_dependents): New functions to manage style
3311 dependents due to conditional formatting.
3313 2013-02-06 Morten Welinder <terra@gnome.org>
3315 * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
3316 inside-out in anticipation of future changes.
3318 (col_indicies, row_indicies): Alignment of the corners of apply_to
3319 is only relevant if we are within the tile.
3321 2013-02-06 Morten Welinder <terra@gnome.org>
3323 * src/sheet-style.c (tile_is_uniform): Extract from
3325 (vector_apply_pstyle): Don't return a value.
3326 (cell_tile_apply): Use tile_is_uniform.
3328 2013-02-05 Morten Welinder <terra@gnome.org>
3330 * src/sheet-style.c (sheet_style_get): Simplify with "while"
3331 instead of crazy "goto".
3332 (cell_tile_apply): Simplify the covers-whole-tile case.
3334 * src/sheet.h (Sheet): Remove max_width and max_height members.
3337 * src/dependent.h (GnmDependentClass): Add pos handler.
3339 * src/dependent.c (dependent_pos): Use pos handler.
3340 (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3342 2013-02-04 Morten Welinder <terra@gnome.org>
3344 * src/dependent.c (dependent_pos): Make global.
3346 * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3349 * src/ssconvert.c (run_tool_test): Add code for running the
3351 (convert): Run an analysis tool if requested. (For testing.)
3353 2013-02-02 Morten Welinder <terra@gnome.org>
3355 * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3356 and rstyle_ctor_pstyle. All callers changed.
3358 2013-01-18 Morten Welinder <terra@gnome.org>
3360 * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3361 (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3363 (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3364 (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3366 2013-01-15 Morten Welinder <terra@gnome.org>
3368 * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3369 import from command line.
3371 2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
3373 * configure.ac: renamed configure.in and update obsolete macros.
3374 * configure.in: ditto.
3376 2013-01-14 Colin Watson <cjwatson@ubuntu.com>
3379 distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3382 2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
3384 * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3385 * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3386 twice the top and bottom margins when displaying a graph
3389 2013-01-10 Morten Welinder <terra@gnome.org>
3391 * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3392 argument and assume TRUE. Drop scope name and assume NULL (which
3393 is what all callers should have used). All callers changed.
3394 (gnm_func_add_placeholder): Ditto.
3395 (invent_name): Downcase the preferred name.
3396 (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3397 (gnm_func_add): Initialize arg_names_p.
3399 * src/gnm-plugin.c (plugin_service_function_group_activate):
3400 Upgrade existing placeholder functions as needed.
3402 * src/func.c (gnm_func_upgrade_placeholder): Rename from
3403 gnm_func_upgrade_placeholder. Take GnmFunc argument, not name.
3405 2013-01-10 Morten Welinder <terra@gnome.org>
3407 * src/func.c (gnm_func_add_placeholder_localized): New function.
3408 (gnm_func_add_placeholder_full): Extract from
3409 gnm_func_add_placeholder. Handle localization better.
3410 (gnm_func_set_localized_name): New function.
3411 (gnm_func_free, gnm_func_get_name): Use
3412 gnm_func_set_localized_name.
3414 * src/parse-util.c (std_func_map): Improve handling of unknown
3417 * src/func.c (gnm_func_group_remove_func): Factor this out from...
3418 (gnm_func_free): ...here.
3420 2013-01-09 Morten Welinder <terra@gnome.org>
3422 * src/symbol.c: delete.
3424 * src/func.c: rewrite to use GHashTable instead of symbol.c
3425 (gnm_func_lookup_prefix): Take extra argument indicating whether
3426 to search translated names. Caller changed.
3428 * src/parse-util.c (std_func_map): Lookup translated name as
3430 (parse_util_init): Add enviroment magic to turn on translated
3431 functions names. This is not ready for prime time and should be
3432 controlled by a user preference eventually.
3434 * src/mathfunc.c (gnm_matrix_eigen): Silence warning. Document a
3437 2013-01-07 Morten Welinder <terra@gnome.org>
3439 * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3440 pivot. Use gnm_hypot where possible.
3442 2013-01-04 Morten Welinder <terra@gnome.org>
3444 * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3445 as argument. Keep track of displays.
3446 (gnm_x_disown_clipboard): New function.
3448 * src/application.c (gnm_app_clipboard_clear): Use
3449 gnm_x_disown_clipboard to make things multi-head safe.
3451 2013-01-03 Morten Welinder <terra@gnome.org>
3453 * src/collect.c (collect_floats): Fix handling of
3454 COLLECT_IGNORE_ERRORS.
3455 (collect_strings): Ditto.
3456 (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3458 2013-01-01 Morten Welinder <terra@gnome.org>
3460 * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3461 deprecated goffice stuff.
3463 * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3465 * src/gnm-pane.c (control_point_leave_notify): Ditto.
3466 * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3467 * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3469 * src/application.c (gnm_app_history_add): Kill warning.
3471 2012-12-31 Morten Welinder <terra@gnome.org>
3473 * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3476 * src/ssdiff.c: Introduce --highlight mode.
3478 2012-12-30 Morten Welinder <terra@gnome.org>
3480 * src/ssdiff.c (main): Add option to send output to a file.
3482 2012-12-29 Morten Welinder <terra@gnome.org>
3484 * src/ssdiff.c (diff): Use C locale.
3485 (ignore_cell): Ignore arrays, except for the corner.
3486 (output_cell): New function taking proper care of value types,
3488 (xml_cell_changed): Use output_cell.
3489 (compare_corresponding_cells): Don't use entered_text here either,
3490 although it's harmless.
3491 (output_cell, compare_corresponding_cells): Handle value formats
3494 2012-12-28 Valek Filippov <frob@df.ru>
3496 * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3497 gdk_window_get_pointer calls.
3499 2012-12-28 Morten Welinder <terra@gnome.org>
3501 * src/*.c: Eliminate use of printf.
3503 * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3504 range offset here. This may need to move further.
3505 * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3506 (diff_sheets_cells): Ignore completely empty cells.
3507 (xml_sheet_start): Change meaning of Old and New attributes to be
3508 index_in_wb and absent when workbook doesn't have the sheet.
3509 (xml_style_changed): Describe style differences.
3511 2012-12-27 Morten Welinder <terra@gnome.org>
3513 * src/ssdiff.c (diff_sheets): Compare styles too.
3515 * src/sheet-style.c (sheet_style_range_foreach): Add optional
3516 range argument. All callers changed.
3518 2012-12-24 Morten Welinder <terra@gnome.org>
3520 * src/ssdiff.c (def_cell_changed): Merge cell_added and
3521 cell_removed handlers into the cell_changed handler.
3522 (main): Add --xml option.
3524 * configure.in: ssconvert, ssindex, and ssgrep are no longer
3525 configurable. We need ssconvert for the test and it's silly
3528 2012-12-18 Morten Welinder <terra@gnome.org>
3530 * configure.in: Post-release bump.