1 2017-03-20 Morten Welinder <terra@gnome.org>
5 2017-03-17 Morten Welinder <terra@gnome.org>
7 * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
8 bogus GnmColor here. The fake object prevents GnmColor equality
9 from working which in turn prevents GnmBorder equality from
12 * src/style-color.c (gnm_color_make): Rename from
13 gnm_color_new_uninterned and handle caching here.
14 (gnm_color_new_auto): New function.
16 * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
17 (compare_corresponding_cells): Fall back to string comparison.
18 References like Sheet1!A1 should match even if they, obviously,
19 refer to sheets in different workbooks.
21 * src/style-conditions.c (gnm_style_conditions_equal): Add new
24 * src/validation.c (gnm_validation_equal): New function.
26 * src/mstyle.c (gnm_style_find_differences): New function.
28 * src/ssdiff.c (xml_style_changed): Use
29 gnm_style_find_differences.
31 * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
32 gnm_style_find_differences, not gnm_style_equal.
34 * src/hlink.c (gnm_hlink_equal): New function.
36 2017-03-13 Morten Welinder <terra@gnome.org>
38 * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
39 inter-sheet local name references.
41 2017-03-10 Morten Welinder <terra@gnome.org>
43 * src/hlink.c (gnm_hlink_get_name_target)
44 (gnm_hlink_get_range_target): New functions.
45 (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
47 2017-03-07 Morten Welinder <terra@gnome.org>
49 * src/parser.y (parser_simple_name): Extract from
50 parser_simple_val_or_name. Extend to handle explicit sheet.
51 ("sheetref STRING"): Ise parser_simple_name.
53 2017-03-06 Morten Welinder <terra@gnome.org>
55 * src/expr-name.c (expr_name_add): Plug leak.
57 2017-03-05 Morten Welinder <terra@gnome.org>
59 * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
60 (gnm_hlink_cur_wb_activate): Move string parsing from here...
61 (gnm_hlink_cur_wb_set_target): ...to here. Check name first as
62 value_new_cellrange_str will resolve a name.
64 * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
67 * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
68 (gnm_hlink_set_sheet): New functions.
70 2017-01-30 Morten Welinder <terra@gnome.org>
72 * configure.ac: Post-release bump.
74 2017-01-30 Morten Welinder <terra@gnome.org>
78 2017-01-29 Morten Welinder <terra@gnome.org>
80 * src/style-conditions.c (gnm_style_cond_equal): New function.
81 (gnm_style_conditions_equal): ...split out from here.
83 2017-01-25 Morten Welinder <terra@gnome.org>
85 * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
87 2017-01-22 Morten Welinder <terra@gnome.org>
89 * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
90 expression for text formatted cells.
91 (stf_parse_sheet): Don't try number parsing for text formatted
92 columns. Fixes #777543.
94 2017-01-22 Jean Brefort <jean.brefort@normalesup.org>
96 * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
97 format when generating the string. [#777338]
99 2017-01-19 Morten Welinder <terra@gnome.org>
101 * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
103 * src/style-conditions.c (gnm_style_conditions_equal): New
106 2016-12-08 Morten Welinder <terra@gnome.org>
108 * src/mathfunc.c (gnm_linear_solve): Use proper matrix type. All
110 (gnm_linear_solve_multiple): Ditto.
112 2016-10-02 Morten Welinder <terra@gnome.org>
114 * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
115 g_mem_set_vtable stuff actually works anymore.
117 2016-08-21 Morten Welinder <terra@gnome.org>
119 * src/sstest.c (options): Add --fast option.
121 * src/value.c (value_get_as_gstring): Let a negative
122 decimal_digits mean "shortest round-tripping string".
124 2016-08-20 Morten Welinder <terra@gnome.org>
126 * configure.ac: Post-release bump.
128 2016-08-20 Morten Welinder <terra@gnome.org>
132 2016-08-08 Morten Welinder <terra@gnome.org>
134 * src/criteria.c (criteria_inspect_values): Add flag for string
135 coercion. Only the equality test wants that.
137 * src/value.c (criteria_inspect_values): Floats don't match
140 2016-08-04 Morten Welinder <terra@gnome.org>
142 * src/rangefunc-strings.c (range_concatenate): Add (unused) user
145 * src/collect.c (string_range_function): Add user pointer. Caller
148 2016-06-29 Morten Welinder <terra@gnome.org>
150 * configure.ac: Post-release bump.
152 2016-06-29 Morten Welinder <terra@gnome.org>
156 2016-06-29 Morten Welinder <terra@gnome.org>
158 * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
159 related to sheet-local names. [#768164]
161 2016-06-28 Morten Welinder <terra@gnome.org>
163 * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
164 of different lenghts.
166 2016-06-21 Morten Welinder <terra@gnome.org>
168 * src/value.c (criteria_test_greater_or_equal): Use case-folding
169 comparisons for strings.
170 (parse_criteria, parse_criteria_range): Add argument controlling
171 whether to anchor matching at end of string.
172 (parse_database_criteria): Don't anchor here.
174 2016-06-17 Morten Welinder <terra@gnome.org>
176 * configure.ac: Post-release bump.
178 2016-06-17 Morten Welinder <terra@gnome.org>
182 2016-06-17 Morten Welinder <terra@gnome.org>
184 * src/value.c (parse_criteria): Anchor matches at the beginning,
187 2016-06-11 Morten Welinder <terra@gnome.org>
189 * src/value.c (find_rows_that_match): Fix blank handling.
190 (criteria_test_unequal): Wrong type means unequal.
191 (criteria_test_match): Only match strings.
192 (parse_criteria): Don't anchor matches. This is the right thing
193 to do for DSUM and friends. Hopefully this doesn't break anything
195 (criteria_inspect_values): Strings are incompatible with
197 (criteria_test_less, criteria_test_less_or_equal)
198 (criteria_test_greater, criteria_test_greater_or_equal): handle
201 2016-05-19 Morten Welinder <terra@gnome.org>
203 * src/stf-parse.c (stf_parse_options_guess_formats): Separate
204 decimal counts for the hypothetical comma and point choices.
206 2016-05-10 Morten Welinder <terra@gnome.org>
208 * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
211 2016-05-06 Morten Welinder <terra@gnome.org>
213 * configure.ac: Post-release bump.
215 2016-05-06 Morten Welinder <terra@gnome.org>
219 2016-04-29 Morten Welinder <terra@gnome.org>
221 * src/gui-util.c (gnm_style_context_get_color): Fix function
222 wrapping gtk_style_context_get_color which changed API.
224 2016-04-24 Morten Welinder <terra@gnome.org>
226 * src/value-sheet.c (value_area_get_x_y): Use
227 gnm_rangeref_normalize. Do full wrap-around.
229 2016-04-24 Jean Brefort <jean.brefort@normalesup.org>
231 * src/graph.c (gnm_go_data_matrix_load_values): fix array
234 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
236 * configure.ac: protect against pxlib weirdness.
238 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
240 * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
243 2016-03-22 Morten Welinder <terra@gnome.org>
245 * configure.ac: Post-release bump.
247 2016-03-22 Morten Welinder <terra@gnome.org>
251 2016-03-02 Morten Welinder <terra@gnome.org>
253 * src/sf-bessel.c: Return complex numbers by value, not reference.
255 2016-02-23 Morten Welinder <terra@gnome.org>
257 * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
259 2016-02-18 Morten Welinder <terra@gnome.org>
261 * src/parse-util.c (unquote): Properly account backslashes. Fixes
264 2016-02-12 Morten Welinder <terra@gnome.org>
266 * src/complex.h: Add a direct-value interface.
268 * src/ssconvert.c (run_solver): Also create solver reports as
269 indicated in options.
271 * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
273 2016-02-10 Morten Welinder <terra@gnome.org>
275 * src/gnumeric.css (toolbarzone): Set padding for toolbar children
276 to 1px. While that may be a sligh increase for certain
277 themes/gtk+ versions, it is a large decrease for others, notably
278 what comes with an out-of-the-box OpenSuSE leap. Override in
279 ~/.config/gtk-3.0/gtk.css if need be.
281 * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
282 wheel for horizontal motion instead of alt. Window managers tend
285 2016-02-08 Morten Welinder <terra@gnome.org>
287 * src/graph.c (gnm_go_data_vector_eval)
288 (gnm_go_data_vector_finalize): Plug leak.
290 2016-02-06 Morten Welinder <terra@gnome.org>
292 * configure.ac: Post-release bump.
294 2016-02-06 Morten Welinder <terra@gnome.org>
298 2016-02-06 Morten Welinder <terra@gnome.org>
300 * configure.ac (goffice): Require latest for
301 go_complex_from_polar_pi.
303 * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
304 when x<0 and a is real.
306 2016-02-04 Morten Welinder <terra@gnome.org>
308 * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
309 (gnm_complex_continued_fraction): Fail if we would otherwise try
310 to rescale by 0. Fix termination condition.
311 (igamma_asymp): Fix term update.
312 (complex_igamma): Fix flavour fixup.
314 2016-02-02 Morten Welinder <terra@gnome.org>
316 * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
317 (gamma_error_factor): Extend to all positive numbers.
318 (pochhammer_small_n): Allow any x > 1.
319 (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
321 2016-02-01 Morten Welinder <terra@gnome.org>
323 * configure.ac (yacc, lex): Fail if the required program isn't
326 2016-01-31 Morten Welinder <terra@gnome.org>
328 * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
329 complex continued fractions.
331 2016-01-30 Morten Welinder <terra@gnome.org>
333 * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
334 GtkStyleContext. Another ABI changes causes that to crash.
336 * src/value.c (find_column_of_field): Insist that the database be
337 a cell range, not an array.
339 2016-01-29 Morten Welinder <terra@gnome.org>
341 * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
342 (bessel_ij_series): Rename from bessel_j_series and extend to
345 * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
346 argument is less than one.
348 * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
349 about broken sheet filter.
351 * src/sheet-filter.c (gnm_filter_condition_new_single)
352 (gnm_filter_condition_new_double): Plug leak on error.
353 (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
355 2016-01-28 Jean Brefort <jean.brefort@normalesup.org>
357 * src/graph.c (gnm_go_data_vector_get_str): fix for a range
360 2016-01-27 Morten Welinder <terra@gnome.org>
362 * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
365 * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
368 2016-01-23 Morten Welinder <terra@gnome.org>
370 * src/parser.y (yylex): Be careful about overflowing numeric
371 token. Fixes #761023.
373 2016-01-20 Morten Welinder <terra@gnome.org>
375 * src/complex.h: Namespace. Mostly for macros.
377 2016-01-16 Morten Welinder <terra@gnome.org>
379 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
380 unused time argument. All callers changed.
381 (gnm_simple_canvas_grab): Remove unused arguments and return
382 value. All callers changed.
384 * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
385 without regrabbing the focus. See #760639.
387 2016-01-13 Morten Welinder <terra@gnome.org>
389 * src/sstest.c (test_random_randsnorm)
390 (test_random_randbernoulli): Print expected stats.
392 * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
393 are sane. Fixes #760544.
395 2016-01-08 Morten Welinder <terra@gnome.org>
397 * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
399 2016-01-06 Morten Welinder <terra@gnome.org>
401 * src/mathfunc.c (ebd0): Fix problem with overflow. [#760230]
403 2016-01-04 Morten Welinder <terra@gnome.org>
405 * src/sheet-style.c (sheet_style_apply_range)
406 (sheet_style_set_range): Silently ignore inverted ranges.
408 2016-01-03 Morten Welinder <terra@gnome.org>
410 * src/sheet-style.c (sheet_style_apply_range)
411 (sheet_style_set_range): Ensure sanity of range. Fixes #760102.
413 2016-01-02 Morten Welinder <terra@gnome.org>
415 * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
417 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
418 zero record size. Fixes #760087.
420 * src/mathfunc.c (pow1p): Handle nan. Fixes #760085.
422 2016-01-01 Morten Welinder <terra@gnome.org>
424 * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
426 * src/expr-name.c (expr_name_add): Improve check for circular name
427 defintion. Fixes #760046.
429 2015-12-28 Morten Welinder <terra@gnome.org>
431 * src/ssconvert.c (convert): When separating sheets, move current
432 sheet to the front. See bug #694408.
434 * src/stf-export.c (gnm_stf_file_saver_save): If we add current
435 sheet, remove it at the end.
437 2015-12-28 Morten Welinder <terra@gnome.org>
439 * configure.ac: Post-release bump.
441 2015-12-28 Morten Welinder <terra@gnome.org>
445 2015-12-26 Morten Welinder <terra@gnome.org>
447 * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
448 change here (on the grid).
449 (scg_class_init): Not here. We're not derived from GtkWidget.
451 * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
452 (foreach_tile): New top-level function taking few parameters. All
455 2015-12-25 Morten Welinder <terra@gnome.org>
457 * configure.ac: Post-release bump.
459 2015-12-25 Morten Welinder <terra@gnome.org>
463 2015-12-22 Morten Welinder <terra@gnome.org>
465 * src/ssdiff.c (xml_style_changed): Do more for input message and
468 2015-12-20 Morten Welinder <terra@gnome.org>
470 * src/sheet-control-gui.c (scg_screen_changed): New handler to get
472 (scg_resize): Limit frozen zones to screen size. Not idea, but
473 better than crashing.
475 2015-12-19 Morten Welinder <terra@gnome.org>
477 * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
479 2015-12-13 Morten Welinder <terra@gnome.org>
481 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
482 merges on column/row insert. Fixes #504004.
484 2015-12-12 Morten Welinder <terra@gnome.org>
486 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
487 when the merge partially falls off the far end.
489 2015-12-10 Morten Welinder <terra@gnome.org>
491 * src/gui-util.c (gnm_action_group_add_action): New wrapper to
492 ensure actions get accel paths.
494 2015-12-09 Morten Welinder <terra@gnome.org>
496 * src/wbc-gtk.c (wbcg_find_action): New function to look in
497 multiple places for an action.
499 * src/gui-util.c (gnm_action_group_add_actions): Handle
500 translation context. Also handle toggle actions.
502 2015-12-08 Morten Welinder <terra@gnome.org>
504 * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
507 * src/gui-util.c (gnm_action_group_add_actions): New function,
508 currently quite dumb.
510 * configure.ac (CC): Insist on c99.
512 2015-12-05 Morten Welinder <terra@gnome.org>
514 * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
515 (drayleigh): Define in terms of dweibull.
517 2015-12-03 Morten Welinder <terra@gnome.org>
519 * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
520 support. Fixes R.QHYPER(0.1,3,99,13)
522 2015-10-19 Morten Welinder <terra@gnome.org>
524 * src/func-builtin.c (gnumeric_table): Make sure to invalidate
525 in[2]. Fixes #752182.
527 2015-09-25 Morten Welinder <terra@gnome.org>
529 * src/func-builtin.c (gnumeric_table): Don't try to be smart and
530 avoid value copying. Fixes #752181.
531 (gnumeric_table): Handle repeated cells. Fixes #752178.
533 2015-09-20 Morten Welinder <terra@gnome.org>
535 * configure.ac: Post-release bump.
537 2015-09-20 Morten Welinder <terra@gnome.org>
541 2015-09-19 Jean Brefort <jean.brefort@normalesup.org>
543 * src/gui-file.c (gui_file_save_as): just change the extension not more
544 when the original filename has several dots. [ubuntu #1497344]
546 2015-09-11 Jean Brefort <jean.brefort@normalesup.org>
548 * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
551 2015-08-24 Jean Brefort <jean.brefort@normalesup.org>
553 * src/sheet-object.c (sheet_object_update_bounds),
554 (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
555 the objects bounds are always updated. Really fix printing.
556 * src/xml-sax-write.c (xml_write_objects): revert previous change.
558 2015-08-23 Jean Brefort <jean.brefort@normalesup.org>
560 * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
561 printing, but still not perfect.
562 * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
563 * src/xml-sax-write.c (xml_write_objects): ditto.
565 2015-08-22 Jean Brefort <jean.brefort@normalesup.org>
567 * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
568 with one cell or absolute anchors. [#753961]
569 * src/sheet-object.c (sheet_object_draw_cairo):
571 2015-07-28 Morten Welinder <terra@gnome.org>
573 * configure.ac: Post-release bump.
575 2015-07-28 Morten Welinder <terra@gnome.org>
579 2015-07-14 Morten Welinder <terra@gnome.org>
581 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
584 2015-07-09 Morten Welinder <terra@gnome.org>
586 * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
587 operation. Fixes #752124.
589 2015-07-06 Morten Welinder <terra@gnome.org>
591 * src/func-builtin.c (gnumeric_table): Avoid FMR. Fixes #752021.
593 2015-07-05 Jean Brefort <jean.brefort@normalesup.org>
595 * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
597 2015-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
599 * src/value.c (value_compare_real): handle two empty values however
602 2015-07-03 Morten Welinder <terra@gnome.org>
604 * src/func-builtin.c (gnumeric_table): Return #REF! outside array
607 2015-06-30 Morten Welinder <terra@gnome.org>
609 * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
612 2015-06-29 Morten Welinder <terra@gnome.org>
614 * src/func.c (function_iterate_argument_values): Improve name
615 handling. Part of #751660.
617 2015-06-28 Morten Welinder <terra@gnome.org>
619 * src/value-sheet.c (value_area_get_width, value_area_get_height):
620 Use the same normalization as value_area_foreach. Fixes #751390.
622 * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
625 2015-06-26 Morten Welinder <terra@gnome.org>
627 * src/value.c (value_new_array_empty): Store value_new_empty(),
628 not NULL, in the slots. We can make this change because
629 value_new_empty() is a singleton that does not need to be
630 released. Fixes #751502.
632 2015-06-24 Jean Brefort <jean.brefort@normalesup.org>
634 * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
636 2015-06-23 Jean Brefort <jean.brefort@normalesup.org>
638 * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
639 (xml_sax_object_end): ensure we always use the right state. [#751217]
641 2015-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
643 * samples/excel/engfuns.xls: update to use correct lbm->g conversion
645 2015-06-20 Morten Welinder <terra@gnome.org>
647 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
649 (go_data_cache_records_fetch_index): If resizing failed return
652 2015-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
654 * src/parse-util.h (_GnmConventions): add union_char field
655 * src/parser.y (yylex): handle union_char
656 (setup_state): set union_char
658 2015-06-18 Morten Welinder <terra@gnome.org>
660 * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
661 specifying types derived from sheet objects. Fixes #751126.
662 (xml_sax_hlink): Similarly.
664 2015-06-16 Morten Welinder <terra@gnome.org>
666 * src/xml-sax-read.c (handle_delayed_names): Check for circularity
667 in names. Fixes #751056.
669 2015-05-27 Morten Welinder <terra@gnome.org>
671 * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
672 division by zero. Fixes #749917.
674 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
676 2015-05-16 Jean Brefort <jean.brefort@normalesup.org>
678 * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
681 2015-05-11 Morten Welinder <terra@gnome.org>
683 * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
684 something bad that will happen whenever FALSE equals TRUE.
686 * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
689 * src/cell.c (gnm_cell_set_array): Improve preconditions.
691 2015-05-09 Morten Welinder <terra@gnome.org>
693 * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
695 2015-04-28 Morten Welinder <terra@gnome.org>
697 * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
698 malformed documents. Fixes #748596.
699 (xml_sax_unknown): Don't rely on xin->user_state here. Fixes
702 2015-04-16 Morten Welinder <terra@gnome.org>
704 * configure.ac: Post-release bump.
706 2015-04-16 Morten Welinder <terra@gnome.org>
710 2015-04-15 Morten Welinder <terra@gnome.org>
712 * src/ranges.c (gnm_range_compare): New function.
714 2015-04-13 Jean Brefort <jean.brefort@normalesup.org>
716 * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
717 (see #700599, comment #11).
719 2015-04-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
721 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
722 sheet object name, try the image name.
724 2015-04-11 Morten Welinder <terra@gnome.org>
726 * src/sf-dpq.c (qcauchy): Handle cancellation.
728 * src/mathfunc.c (pcauchy): Simplify.
730 * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
731 (drayleigh): Import from fn-stat. Rename. Improve accuracy.
733 2015-04-09 Morten Welinder <terra@gnome.org>
735 * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
738 2015-04-04 Morten Welinder <terra@gnome.org>
740 * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
743 * src/xml-sax-write.c (xml_write_objects): Save only relevant
744 parts of the cell bound.
746 * src/sheet-control-gui.c (scg_object_coords_to_anchor):
747 Initialize parts of cell_bound not used.
749 2015-04-01 Morten Welinder <terra@gnome.org>
751 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
752 GNM_XML_2ND here too.
753 (gnm_sogg_sax_parser_done): Plug leak.
755 2015-03-30 Morten Welinder <terra@gnome.org>
757 * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
760 * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
763 * src/sstest.c (test_random_randhyperg): Take var=0 case into
764 account when checking mean.
766 * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
769 2015-03-30 Jean Brefort <jean.brefort@normalesup.org>
771 * src/graph.h: add support for absolute anchoring of sheet objects.
772 * src/item-grid.c: ditto.
773 * src/sheet-control-gui.c: ditto.
774 * src/sheet-filter.c: ditto.
775 * src/sheet-object-cell-comment.c: ditto.
776 * src/sheet-object-component.c: ditto.
777 * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
778 cells by default. [#684450]
779 * src/sheet-object-image.c: make images don't resize with cells by default.
780 * src/sheet-object.c : add support for absolute anchoring of sheet objects.
781 * src/sheet-object.h: ditto.
782 * src/workbook-view.c: ditto.
783 * src/xml-sax-read.c: ditto.
784 * src/xml-sax-write.c: ditto.
786 2015-03-30 Morten Welinder <terra@gnome.org>
788 * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
790 2015-03-23 Morten Welinder <terra@gnome.org>
792 * src/sstest.c (rand_fractile_test): Plug leak.
794 2015-03-21 Morten Welinder <terra@gnome.org>
796 * src/sstest.c (rand_fractile_test): Add support for
797 non-continuous distributions.
799 * src/mathfunc.c (qgeom): Update to current version in R.
801 * src/gnm-random.c (random_geometric): Don't add one.
802 r.{d,p,q}geom all use the version with support {0,1,2,3,...}
804 2015-03-20 Morten Welinder <terra@gnome.org>
806 * src/sstest.c (test_random_randbinom): New test.
807 (test_random_randbetween): New test.
808 (test_random_randexp): New test.
809 (test_random_randpoisson): New test.
810 (test_random_randgeom): New test.
811 (test_random_randnegbinom): New test.
812 (test_random_randlog): New test.
813 (test_random_randdiscrete): New test.
814 (test_random_randgamma): New test.
815 (test_random_randtdist): New test.
816 (test_random_randuniform): New test.
817 (test_random_randfdist): New test.
818 (test_random_randcauchy): New test.
819 (test_random_randbeta): New test.
820 (test_random_randchisq): New test.
821 (test_random_randhyperg): New test.
823 * src/gnm-random.c (random_logarithmic): Fix. See #746449.
825 2015-03-19 Morten Welinder <terra@gnome.org>
827 * src/func.c (dump_samples): New function to dump all sample in
828 help documentation to csv format.
830 * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
831 non-positive integer, but neither a nor b is.
833 2015-03-07 Morten Welinder <terra@gnome.org>
835 * src/xml-sax-write.c: Use new go_xml_out_add_double.
837 * src/sheet-object-widget.c
838 (sheet_widget_adjustment_write_xml_sax): Use new
839 go_xml_out_add_double.
841 * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
842 go_xml_out_add_double.
844 2015-03-05 Morten Welinder <terra@gnome.org>
846 * src/sheet-object-image.c (sheet_object_image_set_image): Drop
847 copy_data argument and simply assume it.
849 2015-03-04 Morten Welinder <terra@gnome.org>
851 * configure.ac: Post-release bump.
853 2015-03-04 Morten Welinder <terra@gnome.org>
857 2015-03-03 Morten Welinder <terra@gnome.org>
859 * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
860 version we write and document why we can't easily increase that
863 2015-03-02 Morten Welinder <terra@gnome.org>
865 * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
867 * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
868 (xml_sax_version): Bring version list up to date.
870 2015-03-01 Morten Welinder <terra@gnome.org>
872 * src/sheet-object-widget.c
873 (sheet_widget_list_base_set_selection_value): Plug leak.
875 2015-02-28 Jean Brefort <jean.brefort@normalesup.org>
877 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
878 pixbuf stores the image type.
880 2015-02-28 Morten Welinder <terra@gnome.org>
882 * src/sheet-object-image.c (SheetObjectImage): Just keep the
883 image, not the bytes in addition.
884 (gnm_soi_class_init): Use property "image" of type GOImage instead
885 of "image-data" weirdness.
886 (gnm_soi_draw_cairo): Remove non-functional fallback.
887 (gnm_soi_default_size): Ditto.
889 2015-02-27 Morten Welinder <terra@gnome.org>
891 * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
892 type for image data. Create image data if needed.
893 (SheetObjectImage): Use a properly allocated GByteArray.
895 * src/sheet-object-widget.c
896 (sheet_widget_adjustment_user_config_impl): Widgets must have
897 changed names at some point. Adjust for that.
899 2015-02-25 Morten Welinder <terra@gnome.org>
901 * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
903 (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
906 2015-02-23 Morten Welinder <terra@gnome.org>
908 * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
911 2015-02-21 Morten Welinder <terra@gnome.org>
913 * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
914 gboolean, not a double.
916 * src/sheet-object-widget.c
917 (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
919 (sheet_widget_adjustment_set_horizontal): Take advantage of this
920 new-fangled orientation for scrollbars.
922 2015-02-20 Morten Welinder <terra@gnome.org>
924 * src/sheet-object-widget.c: Make checkbox' "active" writable.
925 (cb_button_released): Set value to FALSE here(!)
927 2015-02-18 Morten Welinder <terra@gnome.org>
929 * src/commands.c (cmd_search_replace_do_cell): Don't report and
930 error just because a cell with text format fails to produce an
931 expression. That's expected for text format.
933 2015-02-17 Morten Welinder <terra@gnome.org>
935 * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
937 2015-02-11 Morten Welinder <terra@gnome.org>
939 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
940 writing duplicate style so version 1.2 and earlier can read it.
942 2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
944 * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
945 that can't be convered to valid numbers.
947 2015-02-10 Morten Welinder <terra@gnome.org>
949 * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
951 2015-02-06 Morten Welinder <terra@gnome.org>
953 * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
954 (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
955 (sheet_widget_radio_button_set_link)
956 (sheet_widget_list_base_set_links)
957 (sheet_widget_adjustment_set_details): Only link if we have a
960 2015-02-04 Morten Welinder <terra@gnome.org>
962 * configure.ac: Post-release bump.
964 2015-02-04 Morten Welinder <terra@gnome.org>
968 2015-01-30 Morten Welinder <terra@gnome.org>
970 * src/sheet-object-widget.c
971 (sheet_widget_adjustment_set_horizontal): Make this public.
973 2015-01-23 Morten Welinder <terra@gnome.org>
975 * configure.ac: Post-release bump.
977 2015-01-23 Morten Welinder <terra@gnome.org>
981 2015-01-20 Morten Welinder <terra@gnome.org>
983 * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
986 2015-01-19 Morten Welinder <terra@gnome.org>
988 * src/gutils.c (gnm_icon_dir): Remove.
990 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
993 * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
996 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
999 * src/gnm.gresource.xml: pre-process xpm files. gdkpixbuf will
1000 otherwise dump them in temporary files in order to load them.
1002 * src/workbook.c (workbook_update_graphs): New function.
1004 * src/workbook-view.c (workbook_view_new_from_input): Update
1007 2015-01-14 Morten Welinder <terra@gnome.org>
1009 * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1010 an expresssion, make it a string instead of dropping it on the
1013 2015-01-13 Morten Welinder <terra@gnome.org>
1015 * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1016 missing shared expression, define a dummy version so we don't get
1019 2015-01-09 Morten Welinder <terra@gnome.org>
1021 * src/value.c (value_compare_real): Rewrite. Handle errors and
1022 sort them later than other values. This fixes #742601.
1024 2015-01-01 Morten Welinder <terra@gnome.org>
1026 * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1027 names, not stock ids.
1029 * src/gnm-pane.c (update_control_point_colors): Avoid
1030 gtk_style_context_get_background_color.
1031 * src/item-cursor.c (ic_reload_style): Ditto.
1033 2014-12-30 Morten Welinder <terra@gnome.org>
1035 * src/rendered-value.c (gnm_rendered_value_new):
1036 GNM_HALIGN_DISTRIBUTED is justify+center. Fixes #726155.
1038 2014-12-27 Morten Welinder <terra@gnome.org>
1040 * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1041 unless we really have to.
1043 2014-12-25 Morten Welinder <terra@gnome.org>
1045 * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1048 * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1050 * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1052 * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1053 icon on sheet direction changes.
1055 * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1057 2014-12-24 Morten Welinder <terra@gnome.org>
1059 * src/wbc-gtk.c (wbcg_show_save_dialog)
1060 (wbcg_close_if_user_permits): Constant propagation.
1062 * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1063 GtkStock usage. (Maybe kill whole function? Only two users.)
1065 2014-12-22 Morten Welinder <terra@gnome.org>
1067 * icons/fake-index-theme: we need actions directories too.
1069 2014-12-21 Morten Welinder <terra@gnome.org>
1071 * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1074 2014-12-20 Morten Welinder <terra@gnome.org>
1076 * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1077 count in delete, such as used from sheet resize.
1079 2014-12-19 Morten Welinder <terra@gnome.org>
1081 * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1082 (before g_setenv is available).
1084 2014-12-16 Morten Welinder <terra@gnome.org>
1086 * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1089 * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1092 2014-12-15 Morten Welinder <terra@gnome.org>
1094 * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1095 sheet_style_insert_colrow and handled deletion too.
1097 * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1098 sheet_insert_cols, sheet_delete_rows, sheet_delete_cols. Simplify
1101 * src/dependent.c (dependent_has_pos, dependent_move): New
1104 2014-12-14 Morten Welinder <terra@gnome.org>
1106 * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1109 2014-12-11 Morten Welinder <terra@gnome.org>
1111 * src/dependent.c (style_dep_debug_name): Include position too.
1113 * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1115 (colrow_move): Change parameterization slightly.
1117 2014-12-06 Morten Welinder <terra@gnome.org>
1119 * src/sheet-control-gui.c (scg_unant): Destroy item cursors. We
1120 want them visually gone and g_object_unref does not guarantee
1123 * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1124 dependents. A later step clears and re-applies style completely
1125 for the moved area. Fixes #741197.
1127 * src/sheet-style.c (sheet_style_clear_style_dependents): New
1130 * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1131 (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1133 * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1135 (gnm_cmd_context_error_splits_merge): Plug leak.
1137 2014-11-15 Morten Welinder <terra@gnome.org>
1139 * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1140 the wbc is already gone.
1142 2014-11-09 Morten Welinder <terra@gnome.org>
1144 * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1145 data. Might fix Redhat #1160975.
1147 2014-10-28 Morten Welinder <terra@gnome.org>
1149 * src/style.c (find_font): Accept NULL font name.
1151 2014-10-27 Morten Welinder <terra@gnome.org>
1153 * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1156 2014-10-27 Jean Brefort <jean.brefort@normalesup.org>
1158 * src/item-cursor.c (cb_item_cursor_animation): use
1159 goc_canvas_invalidate_region() for ants walking. Avoid drawing
1160 outside of a draw event.
1162 2014-10-26 Morten Welinder <terra@gnome.org>
1164 * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1166 (GnmValue): Drop type union member. C99 requires that this be
1167 accessed in a structure. We have v_any for that.
1169 2014-10-25 Morten Welinder <terra@gnome.org>
1171 * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1172 ought to survive both gcc's aliasing analysis and valgrind's
1175 2014-10-24 Morten Welinder <terra@gnome.org>
1177 * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1179 2014-10-21 Morten Welinder <terra@gnome.org>
1181 * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1183 2014-09-25 Morten Welinder <terra@gnome.org>
1185 * configure.ac: Post-release bump.
1187 2014-09-25 Morten Welinder <terra@gnome.org>
1191 2014-09-25 Morten Welinder <terra@gnome.org>
1193 * src/sheet-filter.c (gnm_filter_condition_new_single)
1194 (gnm_filter_condition_new_double): Fix preconditions. See
1197 2014-09-23 Morten Welinder <terra@gnome.org>
1199 * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1200 doesn't spew deprecation warnings by default.
1202 2014-09-11 Morten Welinder <terra@gnome.org>
1204 * src/style.c (gnm_translate_underline_from_pango): Survive
1205 PANGO_UNDERLINE_ERROR.
1207 2014-06-09 Morten Welinder <terra@gnome.org>
1209 * configure.ac: Post-release bump.
1211 2014-06-09 Morten Welinder <terra@gnome.org>
1215 2014-05-28 Morten Welinder <terra@gnome.org>
1217 * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1218 when we drag the handle into the col/row canvas.
1220 * src/sheet-view.c (sv_freeze_panes): Add debug code.
1222 * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1223 handler. Fixes #730884.
1225 2014-05-27 Morten Welinder <terra@gnome.org>
1227 * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1228 col/row canvas. Fixes #730857.
1229 (gnm_pane_dispose): Release references.
1231 2014-05-23 Morten Welinder <terra@gnome.org>
1233 * configure.ac: Post-release bump.
1235 2014-05-23 Morten Welinder <terra@gnome.org>
1239 2014-05-23 Morten Welinder <terra@gnome.org>
1241 * src/clipboard.c (clipboard_copy_ranges_undo): New function. We
1242 need better building blocks for commands; this is one such.
1244 2014-05-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1246 * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1247 (cmd_hyperlink_redo): ditto
1248 (cmd_hyperlink_finalize): ditto
1249 (cb_cmd_hyperlink_find_cells): ditto
1251 2014-05-20 Morten Welinder <terra@gnome.org>
1253 * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1255 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1256 outline and fill colours that are auto, even for the 1.0 format.
1258 * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1259 conditional format ranges.
1261 2014-05-14 Morten Welinder <terra@gnome.org>
1263 * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1265 * src/gutils.c (gnm_object_has_readable_prop): New function.
1267 * configure.ac (scrollkeeper): Test if we have it.
1269 2014-05-05 Morten Welinder <terra@gnome.org>
1271 * src/wbc-gtk.c (toolbar_context_menu): Remove
1272 HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW. That has been unconditionally
1273 false for years and is unsupported in gtk+.
1275 2014-04-30 Morten Welinder <terra@gnome.org>
1277 * configure.ac: Post-release bump.
1279 2014-04-30 Morten Welinder <terra@gnome.org>
1283 2014-04-23 Morten Welinder <terra@gnome.org>
1285 * src/complete.c (complete_idle): Avoid abort().
1287 * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1290 2014-04-22 Morten Welinder <terra@gnome.org>
1292 * src/style-color.c (gnm_color_new_name): Remove. All calls
1293 replaced with calls to gnm_color_new_go.
1295 * src/sheet-style.c (sheet_style_init_size): Plug leak.
1297 * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1299 2014-04-21 Morten Welinder <terra@gnome.org>
1301 * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1302 only in the hop of fixing #728465.
1304 2014-04-13 Morten Welinder <terra@gnome.org>
1306 * configure.ac: Post-release bump.
1308 2014-04-13 Morten Welinder <terra@gnome.org>
1312 2014-04-11 Morten Welinder <terra@gnome.org>
1314 * src/item-bar.c: Get colours when we draw; only get sizing
1315 relevant information at odd times, in particular when parent
1316 widgets may be insensitive, such as during a load-onto-pristine.
1319 2014-04-10 Morten Welinder <terra@gnome.org>
1321 * src/item-bar.c (ib_reload_style): Add debug code.
1323 2014-04-09 Morten Welinder <terra@gnome.org>
1325 * src/number-match.c (format_match_datetime): Plug leak on certain
1328 2014-04-02 Morten Welinder <terra@gnome.org>
1330 * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1333 2014-03-30 Morten Welinder <terra@gnome.org>
1335 * src/application.c (gnm_app_remove_extra_ui): Remove from global
1338 2014-03-28 Morten Welinder <terra@gnome.org>
1340 * src/main-application.c (main): Move Ubuntu hack earlier.
1342 2014-03-27 Morten Welinder <terra@gnome.org>
1344 * src/main-application.c (main): Attempt to banish ubuntu's
1345 overlay scrollbar which don't work.
1347 2014-03-21 Morten Welinder <terra@gnome.org>
1349 * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1350 case insensitve and allow wildcards.
1352 * src/gutils.c (gnm_excel_search_impl): New function, extracted
1355 * src/style-conditions.c (generate_end_match): Use case
1356 insensitive comparison. Pull negation into the operator.
1357 (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1360 2014-03-18 Morten Welinder <terra@gnome.org>
1362 * src/gui-util.c (kill_popup_menu): One more try at really killing
1363 the context menu after we're done with it.
1365 * src/item-grid.c (item_grid_realize): Plug leak.
1367 2014-03-18 Morten Welinder <terra@gnome.org>
1369 * configure.ac: Post-release bump.
1371 2014-03-18 Morten Welinder <terra@gnome.org>
1375 2014-03-18 Morten Welinder <terra@gnome.org>
1377 * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1378 providers from screens on exit.
1380 * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1382 2014-03-17 Morten Welinder <terra@gnome.org>
1384 * src/mathfunc.c (gnm_log2): Remove. Use libm's log2.
1386 2014-03-16 Morten Welinder <terra@gnome.org>
1388 * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1389 formats. I'm not positive we do things right, but this avoids
1390 criticals, at least.
1392 * src/cell.c (cell_set_expr_internal): Don't change an existing
1395 2014-03-15 Morten Welinder <terra@gnome.org>
1397 * src/style-border.c (gnm_border_shutdown): New function to help
1398 debug leaks. Shutdown border_none here.
1400 * src/style-color.c (gnm_color_shutdown): Not here.
1402 2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
1404 * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1405 the tooltip where it will not immediatly be destroyed after creation.
1406 [really fix #706659]
1408 2014-03-14 Morten Welinder <terra@gnome.org>
1410 * src/xml-sax-write.c (xml_write_style): Don't write a font name
1411 if we don't have any.
1413 2014-03-14 Jean Brefort <jean.brefort@normalesup.org>
1415 * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1417 2014-03-13 Morten Welinder <terra@gnome.org>
1419 * src/style-conditions.c (gnm_style_cond_eval): New function
1420 extracted from gnm_style_conditions_eval. Make "equal" case
1421 insensitive. Fixes #726246.
1423 * src/ssconvert.c (convert): Show resize message only if verbose.
1425 2014-03-12 Morten Welinder <terra@gnome.org>
1427 * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1429 (gnm_style_cond_canonicalize): New function.
1431 * src/ssconvert.c (convert): only print "Using exporter ..." if
1432 --verbose is given, and print it to stderr.
1434 2014-03-11 Morten Welinder <terra@gnome.org>
1436 * src/sheet.c (cb_set_markup): Don't mess directly with
1437 cell->value. We need to trigger a re-render. Fixes #726086.
1439 * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1440 for the pre-validation assignment.
1442 * src/sheet.c (sheet_cell_set_text): Put markup on the value
1443 before assigning it to the cell.
1445 2014-03-10 Morten Welinder <terra@gnome.org>
1447 * gnumeric.xsd: Update valign/halign attributes. Update print
1450 * src/sheet-filter.c (gnm_filter_condition_new_single)
1451 (gnm_filter_condition_new_double): Add preconditions.
1453 2014-03-07 Morten Welinder <terra@gnome.org>
1455 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1457 2014-03-05 Morten Welinder <terra@gnome.org>
1459 * src/expr.c (gnm_expr_top_is_volatile): New function.
1461 * src/workbook-view.c (workbook_view_new_from_input): Queue all
1462 volatile expressions.
1464 * src/dependent.c (workbook_queue_volatile_recalc): New function.
1465 (dependent_is_volatile): New function.
1467 * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1468 Don't set the initial range here.
1470 * src/expr.c (gnm_expr_top_first_funcall)
1471 (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1472 (gnm_expr_top_referenced_sheets): Rewrite in terms of
1474 (gnm_expr_top_get_boundingbox): Set initial range here.
1476 * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1479 2014-03-03 Morten Welinder <terra@gnome.org>
1481 * configure.ac: Post-release bump.
1483 2014-03-03 Morten Welinder <terra@gnome.org>
1487 2014-03-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1489 * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1491 2014-03-02 Morten Welinder <terra@gnome.org>
1493 * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1495 (wbcg_sheet_order_changed): Mark ui as being updated.
1496 (cb_bnotebook_page_reordered): Ignore during UI update.
1498 * src/expr-name.c (gnm_named_expr_collection_dump)
1499 (gnm_named_expr_collection_sanity_check): New function.
1501 * src/application.c (gnm_app_sanity_check): New function.
1503 * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1504 string inside the GOString as a hash key. It can change.
1505 (gnm_named_expr_collection_foreach): As a consequence of the
1506 above, the first argument to the handler for
1507 gnm_named_expr_collection_foreach changes to something
1508 unspecified. All callers changed.
1510 * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1513 * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1514 when encountering strangeness.
1516 2014-02-28 Morten Welinder <terra@gnome.org>
1518 * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1519 If row/column canvas is not visible, ignore them.
1520 (scg_gtk_paned_set_position): Don't allow negative position.
1523 * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1526 2014-02-27 Jean Brefort <jean.brefort@normalesup.org>
1528 * src/item-grid.c (item_grid_draw_region): fix background filling for
1529 rtl sheets. [#725276]
1531 2014-02-25 Morten Welinder <terra@gnome.org>
1533 * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1534 (gnumeric_create_popup_menu): Drop return value from handler.
1536 * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1537 are cell comments by position.
1539 2014-02-24 Morten Welinder <terra@gnome.org>
1541 * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1543 * src/colrow.c (colrow_equal): Don't use floating-point equality
1544 here. Allow a difference of 1e-5 pt for size.
1546 2014-02-23 Morten Welinder <terra@gnome.org>
1548 * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1549 fill in the new areas with most common styles for the rows to the
1550 left of the new columns or the columns above the new area.
1552 2014-02-19 Morten Welinder <terra@gnome.org>
1554 * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1555 (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1557 * src/mathfunc.c (gnm_log2): New function.
1559 2014-02-18 Morten Welinder <terra@gnome.org>
1561 * src/ssdiff.c (xml_style_changed): Report differences for
1562 auto-color settings.
1564 2014-02-17 Morten Welinder <terra@gnome.org>
1566 * src/ssconvert.c (convert): Add --resize option.
1568 2014-02-16 Jean Brefort <jean.brefort@normalesup.org>
1570 * src/item-grid.c (item_grid_realize): fix persistence of
1571 hyperlink tips. [see #724108]
1573 2014-02-16 Morten Welinder <terra@gnome.org>
1575 * configure.ac: Post-release bump.
1577 2014-02-16 Morten Welinder <terra@gnome.org>
1581 2014-02-16 Morten Welinder <terra@gnome.org>
1583 * src/func.c (function_dump_defs): Update boilerplate.
1585 2014-02-11 Morten Welinder <terra@gnome.org>
1587 * configure.ac: Post-release bump.
1589 2014-02-11 Morten Welinder <terra@gnome.org>
1593 2014-02-07 Morten Welinder <terra@gnome.org>
1595 * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1596 entry on top of merged cells. Fixes #723600.
1598 2014-02-06 Jean Brefort <jean.brefort@normalesup.org>
1600 * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1601 a better fix to previous issue.
1603 2014-01-30 Morten Welinder <terra@gnome.org>
1605 * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1608 * src/item-cursor.c (item_cursor_draw): Make the ant animation
1609 smoother (when not using the fallback). Avoid using hard light
1610 for ant-ing -- that doesn't work for the same reason as alpha not
1611 working. Always use phase=0 for non-ant stipples.
1612 (GnmItemCursor): Use the canvas item's visibility flag instead of
1615 2014-01-29 Morten Welinder <terra@gnome.org>
1617 * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1619 * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1620 check for bad clipping somewhere in gtk+ or theme land.
1622 2014-01-28 Jean Brefort <jean.brefort@normalesup.org>
1624 * src/sheet-object-component.c (gnm_soc_user_config): release the new
1625 component reference to the workbook.
1627 2014-01-27 Morten Welinder <terra@gnome.org>
1629 * src/func.c (function_dump_defs): Undo wiki change.
1631 2014-01-21 Morten Welinder <terra@gnome.org>
1633 * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1634 the amount of work we do for ant-ing. Fixes #381011, patch from
1636 (ic_reload_style): Ignore alpha component of ant colours.
1638 2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
1640 * src/graph.c (gnm_go_data_vector_load_len),
1641 (gnm_go_data_vector_load_values): accept 3D values for vector data.
1644 2014-01-16 Morten Welinder <terra@gnome.org>
1646 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1647 cb_darken_foreground_attributes and change to take non-white
1648 background into account.
1650 2014-01-12 Morten Welinder <terra@gnome.org>
1652 * src/mathfunc.c (expmx2h): Split out from dnorm.
1653 (dhyper): Round the chosen "p" to float to improve accuracy of
1656 2014-01-11 Morten Welinder <terra@gnome.org>
1658 * src/mathfunc.c (pow1p): Improve accuracy.
1659 (R_D_nonint): Fix rounding problem.
1660 (ebd0): New extended version of bd0.
1661 (dpois_raw, dbinom_raw): Use ebd0.
1662 (dbinom_raw): Handle x==n and x==0 much better.
1664 2014-01-08 Morten Welinder <terra@gnome.org>
1666 * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1669 * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1671 * src/gui-file.h: Namespace improvements. Also make gui_file_read
1672 return the WorkbookView instead of a boolean.
1674 2014-01-01 Morten Welinder <terra@gnome.org>
1676 * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1678 2013-12-31 Morten Welinder <terra@gnome.org>
1680 * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1683 2013-12-30 Morten Welinder <terra@gnome.org>
1685 * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1687 (dpois_raw): Avoid going through logs, if possible.
1689 2013-12-25 Morten Welinder <terra@gnome.org>
1691 * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1692 we return FALSE so we don't try to remove the source later.
1694 2013-12-22 Morten Welinder <terra@gnome.org>
1696 * src/gui-util.c (gnm_widget_measure_string): New function
1697 allowing the elimination of all gtk_style_context_get_font calls.
1699 2013-12-19 Morten Welinder <terra@gnome.org>
1701 * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1702 especially when |x|<<1. Ditto for x<-1.
1704 2013-12-17 Morten Welinder <terra@gnome.org>
1706 * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1709 2013-12-14 Morten Welinder <terra@gnome.org>
1711 * src/sf-gamma.c (complex_igamma): New function.
1713 2013-12-12 Mario Rugiero <mrugiero@gmail.com>
1715 * */*.c: Fix some leaks and null dereferences pointed out by
1718 2013-12-12 Morten Welinder <terra@gnome.org>
1720 * src/parser.y (array_row): Avoid overrunning string when multiple
1721 missing closing parentheses are detected. Fixes #720353.
1723 2013-12-11 Morten Welinder <terra@gnome.org>
1725 * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1726 gdk_event_get_screen, not from ->screen. This might fix #720182.
1728 * src/*.c: Use accessor function for GdkEvent when convenient.
1730 2013-12-07 Morten Welinder <terra@gnome.org>
1732 * src/application.c (gnm_app_init): Don't allocate a
1733 GtkRecentManager if we are not in gui mode.
1735 * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1737 * src/dependent.c (deprange_hash): Ditto.
1739 2013-12-04 Morten Welinder <terra@gnome.org>
1741 * src/sf-gamma.c (gamma_error_factor): Add extra term.
1743 2013-12-07 Morten Welinder <terra@gnome.org>
1745 * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1746 of the argument for [-1.5;-0.5].
1748 * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1749 Re z < 1/2. Avoid some overflow.
1751 2013-12-02 Morten Welinder <terra@gnome.org>
1753 * src/sf-bessel.c (bessel_y): Use the J series when possible.
1755 2013-12-07 Morten Welinder <terra@gnome.org>
1757 * src/sf-bessel.c (bessel_j): Use the taylor series in the
1758 parameter range where that makes sense.
1760 * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1763 2013-11-30 Morten Welinder <terra@gnome.org>
1765 * src/sf-gamma.c (pochhammer): Drop give_log arguments. Extend to
1768 2013-11-28 Morten Welinder <terra@gnome.org>
1770 * configure.ac: Post-release bump.
1772 2013-11-28 Morten Welinder <terra@gnome.org>
1776 2013-11-25 Morten Welinder <terra@gnome.org>
1778 * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1781 2013-11-19 Morten Welinder <terra@gnome.org>
1783 * src/print.c (print_page): Fix check for missing object. Fixes
1786 2013-11-18 Morten Welinder <terra@gnome.org>
1788 * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
1790 2013-11-15 Morten Welinder <terra@gnome.org>
1792 * src/mathfunc.c (reduce_pi_half): New function.
1794 2013-11-14 Morten Welinder <terra@gnome.org>
1796 * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
1797 (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
1799 2013-11-13 Morten Welinder <terra@gnome.org>
1801 * src/mathfunc.c (lgamma_r): Fix fallback. Didn't work for x<10.
1803 2013-11-13 Jean Brefort <jean.brefort@normalesup.org>
1805 * src/sheet-object.c (sheet_object_view_button2_pressed),
1806 (sheet_object_view_class_init): implement double click for graph sheets.
1809 2013-11-12 Morten Welinder <terra@gnome.org>
1811 * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
1813 (cb_bnotebook_page_reordered): New function.
1814 (wbc_gtk_create_notebook_area): Attach a handler for reordering.
1816 * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
1818 2013-11-06 Morten Welinder <terra@gnome.org>
1820 * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
1822 2013-11-06 Jean Brefort <jean.brefort@normalesup.org>
1824 * src/workbook-view.c: add more introspection related comments.
1825 * src/workbook.c: ditto.
1827 2013-11-03 Morten Welinder <terra@gnome.org>
1829 * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
1830 sin/cos before scaling by pi.
1832 2013-11-01 Morten Welinder <terra@gnome.org>
1834 * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
1835 (gnm_gamma): Protect against unnecessary overflow at top of range.
1837 2013-10-31 Morten Welinder <terra@gnome.org>
1839 * src/mathfunc.c (qgamma): Flip tail for high values of p. This
1840 avoids accuracy problems since any cdf is completely flat in terms
1841 of floating point values when going sufficiently far into the
1845 (J_bessel): Extend xlrg_BESS_IJ to match current R.
1846 (permut): Route this into pochhammer.
1847 (qfact): New function. Tabulate 0! through 50000! using quad
1848 precision arithmetic.
1849 (combin, fact, pochhammer): Improve accuracy using qfact.
1851 2013-10-22 Morten Welinder <terra@gnome.org>
1853 * src/func.c (function_call_with_exprs): Move flags argument into
1856 2013-10-19 Morten Welinder <terra@gnome.org>
1858 * src/hlink.c (_gnm_hlink_init): New function.
1859 * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
1861 2013-10-07 Morten Welinder <terra@gnome.org>
1863 * configure.ac: Post-release bump.
1865 2013-10-07 Morten Welinder <terra@gnome.org>
1869 2013-10-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1871 * src/cmd-edit.c (cmd_paste): chceck for locked cells
1873 2013-10-03 Morten Welinder <terra@gnome.org>
1875 * src/item-cursor.c (item_cursor_draw): Drop expose area
1876 optimization that may not be correct with current gtk. See bug
1879 2013-09-29 Morten Welinder <terra@gnome.org>
1881 * src/main-application.c: Include <io.h> for win32.
1883 * src/wbc-gtk-actions.c: Include gutils.h for win32.
1885 2013-09-25 Morten Welinder <terra@gnome.org>
1887 * src/gnumeric.css: Use lighter green for function marker.
1889 2013-09-01 Morten Welinder <terra@gnome.org>
1891 * configure.ac: Post-release bump.
1893 2013-09-01 Morten Welinder <terra@gnome.org>
1897 2013-08-29 Morten Welinder <terra@gnome.org>
1899 * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
1902 2013-08-28 Morten Welinder <terra@gnome.org>
1904 * src/mathfunc.c (gnm_gamma): Improve precision for large
1906 (gnm_yn): Not needed anymore.
1907 (bessel_i): Don't mark error strings for translation.
1909 2013-08-27 Morten Welinder <terra@gnome.org>
1911 * configure.ac: Post-release bump.
1913 2013-08-27 Morten Welinder <terra@gnome.org>
1917 2013-08-26 Morten Welinder <terra@gnome.org>
1919 * src/sheet-style.c (cell_tile_dump): New function for debugging.
1920 (internal_style_list): Add fast pre-optimization to bring down the
1921 number of entries before we start messing with hashes. Fixes
1924 2013-08-22 Jean Brefort <jean.brefort@normalesup.org>
1926 * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
1927 GraphDimEditor::changed. See bug 706591 comment #2.
1929 2013-08-19 Morten Welinder <terra@gnome.org>
1931 * configure.ac: Post-release bump.
1933 2013-08-19 Morten Welinder <terra@gnome.org>
1937 2013-08-15 Morten Welinder <terra@gnome.org>
1939 * src/dependent.c (dep_hash_destroy): Relink the changed dep.
1942 * src/sheet.c (sheet_destroy_contents): Also get rid of solver
1943 parameters. See bug 705913, comment 6.
1945 2013-08-13 Morten Welinder <terra@gnome.org>
1947 * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
1949 2013-08-12 Morten Welinder <terra@gnome.org>
1951 * src/sheet-object-widget.c (sow_create_widget): New function.
1952 Add sheet-object class to widgets.
1954 2013-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1956 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
1958 (sheet_widget_button_draw_cairo): also scale line thickness
1959 (sheet_widget_checkbox_draw_cairo): scale button size
1960 (sheet_widget_radio_button_draw_cairo): scale button size
1962 2013-08-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1964 * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
1965 argument and change all callers
1967 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1969 * src/sheet-object-widget.c (get_font): add fall-backs
1971 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1973 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1975 (draw_cairo_text): add h-vcenter argument and change all callers
1977 2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
1979 * src/sheet-object-widget.c (cb_range_destroyed),
1980 (sheet_widget_scrollbar_create_widget),
1981 (sheet_widget_spinbutton_create_widget),
1982 (sheet_widget_slider_create_widget): avoid crashing after destroying a
1983 SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
1985 2013-08-09 Morten Welinder <terra@gnome.org>
1987 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1989 (get_font): New function extracted from draw_cairo_text.
1991 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1993 * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
1996 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1998 * src/sheet-object-widget.c (draw_cairo_text): add arguments to
1999 allow multi-paragraph with a highlighted line. Change all callers
2000 (sheet_widget_list_draw_cairo): use draw_cairo_text
2002 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2004 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2005 cairo version for Gnuemric too.
2006 (sheet_widget_button_draw_cairo): ditto
2007 (sheet_widget_scrollbar_draw_cairo): ditto
2008 (sheet_widget_spinbutton_draw_cairo): ditto
2009 (sheet_widget_slider_draw_cairo): ditto
2010 (sheet_widget_checkbox_draw_cairo): ditto
2011 (sheet_widget_radio_button_draw_cairo): ditto
2012 (sheet_widget_list_draw_cairo): ditto
2013 (sheet_widget_combo_draw_cairo): ditto
2015 2013-08-08 Morten Welinder <terra@gnome.org>
2017 * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2018 Reduce crazy relative offsets.
2020 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2022 * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2024 (sheet_widget_frame_draw_cairo): new
2025 (sheet_widget_button_draw_cairo): new
2026 (sheet_widget_scrollbar_horizontal_draw_cairo): new
2027 (sheet_widget_scrollbar_vertical_draw_cairo): new
2028 (sheet_widget_scrollbar_class_init): connect the above
2029 (sheet_widget_spinbutton_draw_cairo): new
2030 (sheet_widget_spinbutton_class_init): connect the above
2031 (sheet_widget_slider_horizontal_draw_cairo): new
2032 (sheet_widget_slider_vertical_draw_cairo): new
2033 (sheet_widget_slider_draw_cairo): new
2034 (sheet_widget_slider_class_init): connect the above
2035 (sheet_widget_list_draw_cairo): new
2036 (sheet_widget_list_class_init): connect the above
2037 (sheet_widget_combo_draw_cairo): new
2038 (sheet_widget_combo_class_init): connect the above
2040 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2042 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2043 change all uses of this macro
2044 (draw_cairo_text): new
2045 (sheet_widget_checkbox_draw_cairo): new
2046 (sheet_widget_radio_button_draw_cairo): new
2048 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2050 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2051 gtk_offscreen_window_new without a default screen (see bugs #705638
2054 2013-08-07 Morten Welinder <terra@gnome.org>
2056 * src/ssconvert.c (main): Initialize gtk+ without opening any
2059 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2061 * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2063 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2065 * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2066 * src/sheet-control-gui.c (scg_init): init new fields
2067 (scg_im_destroy): new
2068 (scg_finalize): call scg_im_destroy
2069 (cb_cell_im_timer): new
2070 (scg_find_pane): new
2071 (scg_show_im_tooltip): new
2072 (scg_class_init): init new field
2073 * src/sheet-control-priv.h: add field
2074 * src/sheet-control.c: add virtual
2075 * src/sheet-control.h: add virtual
2076 * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2077 (sv_update): call sheet_view_edit_pos_tool_tips
2078 * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2080 (sheet_row_get_distance_pixels): new
2081 * src/sheet.h (sheet_row_get_distance_pixels): new
2083 2013-08-03 Jean Brefort <jean.brefort@normalesup.org>
2085 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2086 nodes in guppi graphs. [Debian #718594]
2088 2013-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2090 * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2093 2013-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2095 * src/sheet-control-gui.c (context_menu_handler): add argument to
2096 dialog_cell_format call
2097 * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2098 dialog_cell_format call
2099 (cb_data_validate): ditto
2101 2013-07-30 Morten Welinder <terra@gnome.org>
2103 * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2104 colour. Fixes rest of #705031.
2106 2013-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2108 * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2110 2013-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2112 * gnumeric.desktop.in: add ODS files
2114 2013-07-23 Jean Brefort <jean.brefort@normalesup.org>
2116 * src/graph.c (gnm_go_data_vector_load_values): really load all
2117 values for multiple ranges.
2119 2013-07-19 Morten Welinder <terra@gnome.org>
2121 * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2122 check: the enum has a hole in the middle. Fixes #704562.
2124 2013-07-19 Jean Brefort <jean.brefort@normalesup.org>
2126 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2128 * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2130 2013-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2132 * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2133 (gnm_so_path_set_property): ditto
2134 (gnm_so_path_get_property): ditto
2136 2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
2138 * src/gnm-so-path.c (so_path_view_set_bounds),
2139 (cb_gnm_so_path_changed): a better fix for the text position.
2141 2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
2143 * src/gnm-so-filled.c (so_filled_view_set_bounds),
2144 (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2145 * src/gnm-so-path.c (so_path_view_set_bounds),
2146 (cb_gnm_so_path_changed): fix text wrap in paths too.
2148 2013-07-16 Morten Welinder <terra@gnome.org>
2150 * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2151 computing range size. Fixes #704325.
2153 2013-07-15 Morten Welinder <terra@gnome.org>
2155 * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2156 that. Fixes #704004.
2158 * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2160 * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2161 against oversize range.
2163 2013-07-12 Morten Welinder <terra@gnome.org>
2165 * src/expr.c (gnm_expr_range_op): When constructing a range, make
2166 sure it falls within the sheet.
2167 (gnm_expr_new_range_ctor): Don't optimize to range if the two
2168 parts are on different sheets. Fixes #704109.
2170 2013-07-10 Morten Welinder <terra@gnome.org>
2172 * configure.ac: Post-release bump.
2174 2013-07-10 Morten Welinder <terra@gnome.org>
2178 2013-07-10 Morten Welinder <terra@gnome.org>
2180 * src/value.c (parse_criteria): Patterns should anchor at the end
2181 (#703770) and be case insensitive (no bug#).
2183 2013-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2185 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2186 to create an image of unknown type
2188 2013-07-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2190 * src/graph.c (gnm_go_data_vector_load_len): use consistent
2192 (cb_assign_val): quieten warning about signed/unsigned comparison
2194 2013-07-03 Morten Welinder <terra@gnome.org>
2196 * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2198 (cb_assign_val): Ditto.
2200 2013-07-02 Morten Welinder <terra@gnome.org>
2202 * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2203 (cb_style_list_add_node): Ditto.
2204 (verify_hashes): Ditto.
2205 (internal_style_list): Ditto.
2207 * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2210 2013-07-01 Morten Welinder <terra@gnome.org>
2212 * configure.ac (long double): Crude use -lm for long double
2213 function checks. Fixes #703397.
2215 2013-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2217 * src/expr.c (gnm_expr_list_copy): new
2218 * src/expr.h (gnm_expr_list_copy): new
2220 2013-06-26 Morten Welinder <terra@gnome.org>
2222 * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2223 of ->op before using it. Fixes #703143.
2225 2013-06-26 Jean Brefort <jean.brefort@normalesup.org>
2227 * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2229 (gnm_so_path_copy): fixed copy with multiple paths.
2231 2013-06-25 Morten Welinder <terra@gnome.org>
2233 * configure.ac: Post-release bump.
2235 2013-06-25 Morten Welinder <terra@gnome.org>
2239 2013-06-24 Morten Welinder <terra@gnome.org>
2241 * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2242 sheet. Fixes #703006.
2244 2013-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2246 * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2249 2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
2251 * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2252 a valid pattern. [#702833]
2253 * src/pattern.c (gnumeric_background_set): ditto.
2255 2013-06-21 Morten Welinder <terra@gnome.org>
2257 * src/item-grid.c (item_grid_draw_region): Plug leak.
2259 * src/item-bar.c (ib_reload_style): Plug leak.
2261 2013-06-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2263 * src/wbc-gtk.c (show_gui): protect against excessively large
2264 preferred widow sizes
2266 2013-06-14 Morten Welinder <terra@gnome.org>
2268 * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2270 * src/workbook.c (workbook_sheet_delete): Debug.
2271 (workbook_dispose): Also clear style here. Styles can have
2272 dependents now. Fixes #702218.
2274 2013-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2276 * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2278 2013-06-12 Morten Welinder <terra@gnome.org>
2280 * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2283 2013-06-04 Morten Welinder <terra@gnome.org>
2285 * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2287 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2289 * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2290 (scg_comment_display): adjust background and fontcolor if necessary
2292 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2294 * src/item-grid.c (cb_cursor_come_to_rest):
2295 gnumeric_position_tooltip needs the tooltip size, so load the text
2298 2013-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2300 * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2303 2013-05-27 Morten Welinder <terra@gnome.org>
2305 * src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
2306 and we aren't very good at it.
2308 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2310 * component/Gnumeric-embed.xml.in: add accelerator
2311 * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2312 * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2313 (EditGotoCellIndicator): new
2314 * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2315 (wbcg_focus_current_cell_indicator): new
2316 * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2318 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2320 * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2321 * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2322 * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2323 * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2325 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2327 * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2328 behave the same as far as cell selection is concerned. This fixes
2330 (item_grid_button_released): ditto
2332 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2334 * src/sheet.c (sheet_get_extent): add argument to indicate whether
2335 to include hidden cells
2336 (cb_sheet_get_extent): handle hidden cells setting
2337 (sheet_get_printarea): do not include hidden cells
2338 * src/sheet.h (sheet_get_extent): add argument and change all
2341 2013-05-26 Morten Welinder <terra@gnome.org>
2343 * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2344 Termiate when contributions vanish.
2346 2013-05-24 Morten Welinder <terra@gnome.org>
2348 * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2350 (pfuncinverter): Handle lack of dfunc (poorly).
2352 2013-05-23 Morten Welinder <terra@gnome.org>
2354 * src/mathfunc.c (ptukey_otsum): Split integration of a single
2355 interval out from out from R_ptukey.
2356 (R_ptukey): Split the interval nearest 0 into a sequence of
2357 intervals over which the integrand looks a lot more like a
2358 polynomial. This fixes accuracy problems for low degrees of
2361 * src/sheet-style.c (internal_style_list): Fix critical.
2363 2013-05-22 Morten Welinder <terra@gnome.org>
2365 * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2367 2013-05-21 Morten Welinder <terra@gnome.org>
2369 * src/mathfunc.c (R_ptukey): More C, less Fortran.
2371 2013-05-19 Morten Welinder <terra@gnome.org>
2373 * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2375 (pnorm2): Get rid of mu and sigma arguments. Improve accuracy.
2377 2013-05-18 Morten Welinder <terra@gnome.org>
2379 * src/mathfunc.c (pnorm2): New function.
2380 (R_ptukey): New function imported from R with local improvements.
2382 2013-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2384 * src/print.c (gnm_create_widget_cb): by default observe
2387 2013-05-14 Morten Welinder <terra@gnome.org>
2389 * src/rangefunc.c (gnm_range_multinomial): Add range check.
2390 (gnm_range_geometric_mean): Handle two FIXMEs.
2392 2013-05-13 Morten Welinder <terra@gnome.org>
2394 * src/*.c: Mark gobject property strings as P_(...).
2396 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2398 * src/commands.c (cmd_merge_data_redo): unref merge_contents
2400 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2402 * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2403 rather than gnm_cell_assign_value
2405 2013-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2407 * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2410 2013-05-05 Morten Welinder <terra@gnome.org>
2412 * src/dependent.c (style_dep_eval): New function. Re-clear the
2413 rendered value here. Fixes #699647.
2415 2013-05-03 Morten Welinder <terra@gnome.org>
2417 * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2418 accelerator for redo. Fixes #699579.
2419 (wbc_gtk_create_notebook_area): Mark the button notebook as non
2422 * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2424 2013-05-01 Morten Welinder <terra@gnome.org>
2426 * src/print-info.c: Add gsf includes to make things work with
2427 libgsf 1.14.24. Redhat #957851.
2429 2013-04-29 Morten Welinder <terra@gnome.org>
2431 * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2434 2013-04-26 Morten Welinder <terra@gnome.org>
2436 * configure.ac: Post-release bump.
2438 2013-04-26 Morten Welinder <terra@gnome.org>
2442 2013-04-26 Morten Welinder <terra@gnome.org>
2444 * src/gnumeric.css (GnmItemBar): Make red labels for selected
2445 row/column items the default.
2447 2013-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2449 * src/wbc-gtk-actions.c: rename some items in the statistics menu
2451 2013-04-24 Morten Welinder <terra@gnome.org>
2453 * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2454 widget parameter. All callers changed.
2456 * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2457 delayedMovement.timer.
2459 * src/item-cursor.c (gnm_item_cursor_init): Ditto
2462 * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2463 windows_update_timer.
2465 * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2466 guint to match glib. Use 0 as undefined since (guint)-1 is a
2469 * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2472 2013-04-23 Morten Welinder <terra@gnome.org>
2474 * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2476 * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2477 critical. Fixes #698680.
2479 * src/gui-file.c (gui_file_save_as): For export, change extension.
2482 2013-04-22 Morten Welinder <terra@gnome.org>
2484 * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2485 Somehow fixes #625687.
2487 2013-04-20 Morten Welinder <terra@gnome.org>
2489 * src/go-data-slicer-field.c
2490 (go_data_slicer_field_set_field_type_pos): Add precondition for
2493 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2495 * src/print-info.c (render_title): new
2497 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2499 * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2501 (sheet_range_set_text): ditto
2503 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2505 * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2508 2013-04-22 Morten Welinder <terra@gnome.org>
2510 * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2512 2013-04-19 Morten Welinder <terra@gnome.org>
2514 * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2515 view approach. Fixes #689283.
2517 * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2519 (wbc_gtk_init_color_fore): Ditto.
2520 (wbc_gtk_init_color_back): Ditto.
2522 2013-04-17 Morten Welinder <terra@gnome.org>
2524 * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2527 * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2530 * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2531 only for horizontal toolbars.
2533 * src/gui-file.c (file_saver_format_changed_cb): New function to
2534 change the extension when the format is changed.
2535 (gui_file_save_as): Don't try to hide the extension -- it
2536 interferes with the file chooser's completion. Fixes #695839.
2538 2013-04-16 Morten Welinder <terra@gnome.org>
2540 * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2541 menu for graph sheets. Fixes #685446.
2542 (sheet_menu_label_run): Disable resize for graph sheets.
2544 * src/value.c (parse_criteria): Anchor only at start. Fixes
2546 (parse_criteria): Handle criteria "=" and "<>" (with no value
2547 after the operator) special. These test for empty and non-empty
2548 values. Fixes #686156.
2550 * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2551 "anchor_start" and "anchor_end". All callers changed.
2553 2013-04-15 Morten Welinder <terra@gnome.org>
2555 * src/application.c (add_icon): Plug leak.
2557 * src/number-match.c (format_match_decimal_number): Try also major
2558 non-locale currencies. Fixes #577768.
2560 2013-04-13 Morten Welinder <terra@gnome.org>
2562 * src/mathfunc.c (pochhammer): Improve precision a bit.
2563 (binomialcf): Lower cfSmall by 10^3. This helps
2566 * configure.ac (GETTEXT_PACKAGE): Add version number so that
2567 doesn't prevent multiple versions from co-existing.
2569 * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2570 dirty. Callers already appear to handle this when needed
2571 and not when not wanted. Fixes #697927.
2573 2013-04-12 Morten Welinder <terra@gnome.org>
2575 * src/mathfunc.c (gnm_owent): Fix a==1 special case. Part of
2577 (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2579 (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2581 2013-04-11 Morten Welinder <terra@gnome.org>
2583 * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2584 reference with invalid_sheet. Fixes #683494.
2586 * src/complex.c (complex_to_string): Drop format arguments. All
2587 callers changed. Make up a format with enough precision for round
2588 tripping. Fixes #697634.
2590 2013-04-09 Morten Welinder <terra@gnome.org>
2592 * src/complex.c (complex_from_string): Make this handle embedded
2593 spaces systematically.
2594 (is_unit_imaginary): Delete.
2596 2013-04-09 Morten Welinder <terra@gnome.org>
2598 * src/complex.c (complex_pow): Use Goffice's copy.
2600 2013-04-05 Morten Welinder <terra@gnome.org>
2602 * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2603 new screens. Add hack for pre-GTK 3.4.
2605 * src/mathfunc.c (gnm_owent): New function.
2607 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2609 * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2610 functions used as vectors. [697281]
2612 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2614 * src/graph.c (gnm_go_data_vector_load_values),
2615 (gnm_go_data_vector_get_str): fix values and strings loading in case of
2618 2013-04-03 Morten Welinder <terra@gnome.org>
2620 * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2621 attributes of the tab.
2623 * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2624 GnmNotebookButton, not an EditableLabel.
2626 2013-04-02 Morten Welinder <terra@gnome.org>
2628 * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2630 (cb_wbcg_drag_leave): Ditto.
2632 2013-03-27 Morten Welinder <terra@gnome.org>
2634 * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2635 key we look up. When did that change?
2637 2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
2639 * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2642 2013-03-26 Morten Welinder <terra@gnome.org>
2644 * src/item-edit.c: Theme the in-cell edit background color.
2646 * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2648 src/gui-gnumeric.h: Remove.
2650 * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2651 non-NULL if there is a selection.
2652 (gnumeric_background_set_gtk): Delete. Make callers use
2653 gnumeric_background_set.
2655 * src/preview-grid.c (preview_grid_draw_background): Always
2656 provide a context to gnumeric_background_set.
2657 * src/item-edit.c (item_edit_draw): Ditto.
2659 * src/item-cursor.c (ic_reload_style): Use class, not state, to
2660 separate the different cursor types. Separate autofill colouring
2663 2013-03-25 Morten Welinder <terra@gnome.org>
2665 * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2667 (ic_reload_style): Theme some of the cursor colors.
2669 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2672 * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2674 * src/gnumeric.css: use deprecated px-free syntax for padding, so
2675 gtk+ 3.2 can deal with it.
2677 * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2678 can suppress deprecations.
2680 * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2683 * src/item-bar.c (ib_reload_style): Load fonts from style.
2685 2013-03-24 Morten Welinder <terra@gnome.org>
2687 * src/item-grid.c (item_grid_draw_region): Draw the background at
2688 the right coordinates!
2690 2013-03-23 Morten Welinder <terra@gnome.org>
2692 * src/item-bar.c (ib_draw_cell): There's no point in going to and
2693 from GOColor here. Just use the color as-is.
2695 2013-03-19 Morten Welinder <terra@gnome.org>
2697 * src/application.c (install_icons): Install also the icon themed
2698 icons. No idea why we have both.
2700 * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2702 * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2703 (embedded_imgs): Add the rest from pixmaps.
2705 * configure.ac: No longer create src/pixmaps/Makefile
2707 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2708 these work for resources and absolute paths.
2710 2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
2712 * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2713 not sizeable objects bounds after dragging when zoom is not 100%.
2715 2013-03-18 Morten Welinder <terra@gnome.org>
2717 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2718 filter. It takes just long enough to be irritating.
2720 2013-03-17 Morten Welinder <terra@gnome.org>
2722 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2723 style since we're not picking it explicitly.
2724 (cb_font_filter): Fix leak.
2726 2013-03-14 Morten Welinder <terra@gnome.org>
2728 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2729 ignore non-scalable fonts.
2731 2013-03-11 Morten Welinder <terra@gnome.org>
2733 * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2735 2013-03-10 Morten Welinder <terra@gnome.org>
2737 * src/ssconvert.c (list_them): Skip savers/openers that require
2738 interaction. (We don't have any yet.)
2740 * src/stf.c (stf_read_workbook): Set error when we fail due to
2742 (stf_init): Mark the configurable saver/opener as interactive.
2744 * src/ssconvert.c (convert): Fix error handling. Fixes #695529.
2746 2013-03-09 Morten Welinder <terra@gnome.org>
2748 * configure.ac: Post-release bump.
2750 2013-03-09 Morten Welinder <terra@gnome.org>
2754 2013-03-06 Morten Welinder <terra@gnome.org>
2756 * src/wbc-gtk.c (list_actions): Handle a null group.
2758 2013-03-03 Morten Welinder <terra@gnome.org>
2760 * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2761 g_thread_init if compiled with later than glib 2.32.0.
2763 2013-03-02 Jean Brefort <jean.brefort@normalesup.org>
2765 * src/gnm-pane-impl.h: remove alignments.
2766 * src/gnm-pane.c (gnm_pane_header_init): dittO;
2767 * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2768 * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2769 * src/sheet-control-gui-priv.h: remove all tables by one grid.
2770 * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2771 (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2772 (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2773 (scg_mode_edit): ditto.
2774 * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2775 (cb_sheet_visibility_change), (wbcg_sheet_add),
2776 (wbcg_sheet_remove), (wbcg_sheet_focus),
2777 (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2778 (wbcg_get_nth_scg): ditto.
2780 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2782 * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2783 * src/print.c (gnm_create_widget_cb): ditto.
2784 * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
2786 2013-03-01 Morten Welinder <terra@gnome.org>
2788 * src/mathfunc.h: Make sure the "q" functions take "p" as their
2789 first argument, not "x".
2791 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2793 reviewed by: <delete if not using a buddy>
2796 * src/sheet-object-widget.c (sheet_widget_button_user_config),
2797 (sheet_widget_adjustment_user_config_impl),
2798 (sheet_widget_checkbox_user_config),
2799 (sheet_widget_radio_button_user_config):
2800 * src/wbc-gtk.c (wbc_gtk_init):
2802 2013-02-28 Morten Welinder <terra@gnome.org>
2804 * configure.ac: remove the DISABLE_DEPRECATED defines even from
2805 development versions. We now get the information through gcc
2807 (solver): Make solver code unconditional. Feel free to not
2808 distribute the relevant plugins.
2810 2013-02-26 Morten Welinder <terra@gnome.org>
2812 * src/ssconvert.c (convert): Avoid segfault. Fixes #694741.
2814 2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
2816 * src/number-match.c: more introspection warnings.
2818 2013-02-23 Morten Welinder <terra@gnome.org>
2820 * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
2822 2013-02-21 Morten Welinder <terra@gnome.org>
2824 * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
2825 GHFunc. All callers changed. Impose a robust ordering.
2826 (sh_all_styles): New function replacing sh_foreach.
2828 2013-02-20 Morten Welinder <terra@gnome.org>
2830 * src/sheet-object-graph.c (dim_start): Survive malformed xml.
2832 2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
2834 * configure.ac: make configure --with-python fail when some
2835 dependency is missing.
2837 2013-02-17 Morten Welinder <terra@gnome.org>
2839 * configure.ac (set_more_warnings): Improve support for clang.
2841 2013-02-16 Morten Welinder <terra@gnome.org>
2843 * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
2844 (Most cases a matter of 0 vs. 0.)
2846 2013-02-16 Jean Brefort <jean.brefort@normalesup.org>
2848 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
2849 default value for stf export format.
2850 * src/dependent.c: fix introspection warnings.
2851 * src/sheet-style.c: ditto.
2853 2013-02-15 Morten Welinder <terra@gnome.org>
2855 * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
2856 3.2.0 just like goffice.
2858 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
2861 2013-02-14 Morten Welinder <terra@gnome.org>
2863 * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
2864 not MAXDOUBLE. Fixes #693761.
2866 2013-02-10 Morten Welinder <terra@gnome.org>
2868 * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
2869 doesn't belong here. We handle everything in rstyle_apply.
2871 2013-02-08 Morten Welinder <terra@gnome.org>
2873 * src/sheet-style.c (rstyle_apply): Take extra range argument and
2874 link/unlink style dependents. All callers changed.
2875 (sheet_style_shutdown): Set default style for whole sheet to
2876 ensure style dependents get cleared.
2878 2013-02-07 Morten Welinder <terra@gnome.org>
2880 * src/sheet-style.c (cell_tile_optimize): Implement
2881 ptr-matrix-to-matrix optimization and use it to simplify things.
2883 * src/dependent.c (GnmStyleDependent): New type of dependent.
2884 When triggered, the cells in which it resised will be rerendered
2887 * src/mstyle.c (gnm_style_link_dependents)
2888 (gnm_style_unlink_dependents): New functions to manage style
2889 dependents due to conditional formatting.
2891 2013-02-06 Morten Welinder <terra@gnome.org>
2893 * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
2894 inside-out in anticipation of future changes.
2896 (col_indicies, row_indicies): Alignment of the corners of apply_to
2897 is only relevant if we are within the tile.
2899 2013-02-06 Morten Welinder <terra@gnome.org>
2901 * src/sheet-style.c (tile_is_uniform): Extract from
2903 (vector_apply_pstyle): Don't return a value.
2904 (cell_tile_apply): Use tile_is_uniform.
2906 2013-02-05 Morten Welinder <terra@gnome.org>
2908 * src/sheet-style.c (sheet_style_get): Simplify with "while"
2909 instead of crazy "goto".
2910 (cell_tile_apply): Simplify the covers-whole-tile case.
2912 * src/sheet.h (Sheet): Remove max_width and max_height members.
2915 * src/dependent.h (GnmDependentClass): Add pos handler.
2917 * src/dependent.c (dependent_pos): Use pos handler.
2918 (dummy_dep_eval): New null handler for GnmDependentClass::eval.
2920 2013-02-04 Morten Welinder <terra@gnome.org>
2922 * src/dependent.c (dependent_pos): Make global.
2924 * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
2927 * src/ssconvert.c (run_tool_test): Add code for running the
2929 (convert): Run an analysis tool if requested. (For testing.)
2931 2013-02-02 Morten Welinder <terra@gnome.org>
2933 * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
2934 and rstyle_ctor_pstyle. All callers changed.
2936 2013-01-18 Morten Welinder <terra@gnome.org>
2938 * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
2939 (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
2941 (gnm_matrix_multiply): Renamed from mmult and changed to use above.
2942 (gnm_matrix_eigen): Change to take GnmMatrix arguments.
2944 2013-01-15 Morten Welinder <terra@gnome.org>
2946 * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
2947 import from command line.
2949 2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
2951 * configure.ac: renamed configure.in and update obsolete macros.
2952 * configure.in: ditto.
2954 2013-01-14 Colin Watson <cjwatson@ubuntu.com>
2957 distutils.sysconfig.get_python_inc(plat_specific=True) to Python
2960 2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
2962 * src/sheet-control-gui.c (sheet_control_gui_new): typo.
2963 * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
2964 twice the top and bottom margins when displaying a graph
2967 2013-01-10 Morten Welinder <terra@gnome.org>
2969 * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
2970 argument and assume TRUE. Drop scope name and assume NULL (which
2971 is what all callers should have used). All callers changed.
2972 (gnm_func_add_placeholder): Ditto.
2973 (invent_name): Downcase the preferred name.
2974 (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
2975 (gnm_func_add): Initialize arg_names_p.
2977 * src/gnm-plugin.c (plugin_service_function_group_activate):
2978 Upgrade existing placeholder functions as needed.
2980 * src/func.c (gnm_func_upgrade_placeholder): Rename from
2981 gnm_func_upgrade_placeholder. Take GnmFunc argument, not name.
2983 2013-01-10 Morten Welinder <terra@gnome.org>
2985 * src/func.c (gnm_func_add_placeholder_localized): New function.
2986 (gnm_func_add_placeholder_full): Extract from
2987 gnm_func_add_placeholder. Handle localization better.
2988 (gnm_func_set_localized_name): New function.
2989 (gnm_func_free, gnm_func_get_name): Use
2990 gnm_func_set_localized_name.
2992 * src/parse-util.c (std_func_map): Improve handling of unknown
2995 * src/func.c (gnm_func_group_remove_func): Factor this out from...
2996 (gnm_func_free): ...here.
2998 2013-01-09 Morten Welinder <terra@gnome.org>
3000 * src/symbol.c: delete.
3002 * src/func.c: rewrite to use GHashTable instead of symbol.c
3003 (gnm_func_lookup_prefix): Take extra argument indicating whether
3004 to search translated names. Caller changed.
3006 * src/parse-util.c (std_func_map): Lookup translated name as
3008 (parse_util_init): Add enviroment magic to turn on translated
3009 functions names. This is not ready for prime time and should be
3010 controlled by a user preference eventually.
3012 * src/mathfunc.c (gnm_matrix_eigen): Silence warning. Document a
3015 2013-01-07 Morten Welinder <terra@gnome.org>
3017 * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3018 pivot. Use gnm_hypot where possible.
3020 2013-01-04 Morten Welinder <terra@gnome.org>
3022 * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3023 as argument. Keep track of displays.
3024 (gnm_x_disown_clipboard): New function.
3026 * src/application.c (gnm_app_clipboard_clear): Use
3027 gnm_x_disown_clipboard to make things multi-head safe.
3029 2013-01-03 Morten Welinder <terra@gnome.org>
3031 * src/collect.c (collect_floats): Fix handling of
3032 COLLECT_IGNORE_ERRORS.
3033 (collect_strings): Ditto.
3034 (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3036 2013-01-01 Morten Welinder <terra@gnome.org>
3038 * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3039 deprecated goffice stuff.
3041 * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3043 * src/gnm-pane.c (control_point_leave_notify): Ditto.
3044 * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3045 * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3047 * src/application.c (gnm_app_history_add): Kill warning.
3049 2012-12-31 Morten Welinder <terra@gnome.org>
3051 * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3054 * src/ssdiff.c: Introduce --highlight mode.
3056 2012-12-30 Morten Welinder <terra@gnome.org>
3058 * src/ssdiff.c (main): Add option to send output to a file.
3060 2012-12-29 Morten Welinder <terra@gnome.org>
3062 * src/ssdiff.c (diff): Use C locale.
3063 (ignore_cell): Ignore arrays, except for the corner.
3064 (output_cell): New function taking proper care of value types,
3066 (xml_cell_changed): Use output_cell.
3067 (compare_corresponding_cells): Don't use entered_text here either,
3068 although it's harmless.
3069 (output_cell, compare_corresponding_cells): Handle value formats
3072 2012-12-28 Valek Filippov <frob@df.ru>
3074 * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3075 gdk_window_get_pointer calls.
3077 2012-12-28 Morten Welinder <terra@gnome.org>
3079 * src/*.c: Eliminate use of printf.
3081 * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3082 range offset here. This may need to move further.
3083 * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3084 (diff_sheets_cells): Ignore completely empty cells.
3085 (xml_sheet_start): Change meaning of Old and New attributes to be
3086 index_in_wb and absent when workbook doesn't have the sheet.
3087 (xml_style_changed): Describe style differences.
3089 2012-12-27 Morten Welinder <terra@gnome.org>
3091 * src/ssdiff.c (diff_sheets): Compare styles too.
3093 * src/sheet-style.c (sheet_style_range_foreach): Add optional
3094 range argument. All callers changed.
3096 2012-12-24 Morten Welinder <terra@gnome.org>
3098 * src/ssdiff.c (def_cell_changed): Merge cell_added and
3099 cell_removed handlers into the cell_changed handler.
3100 (main): Add --xml option.
3102 * configure.in: ssconvert, ssindex, and ssgrep are no longer
3103 configurable. We need ssconvert for the test and it's silly
3106 2012-12-18 Morten Welinder <terra@gnome.org>
3108 * configure.in: Post-release bump.