1 2017-11-29 Morten Welinder <terra@gnome.org>
3 * src/sstest.c (enumerate_functions): Make sure function is loaded.
5 * src/func-builtin.c (help_table): Add help text for TABLE.
7 * src/func.c (gnm_func_enumerate): Introspection annotation.
9 * src/sstest.c (function_dump_defs): Move from func.c with all
11 (gnm_func_sanity_check): Ditto.
13 * src/libgnumeric.c (gnm_dump_func_defs): Not needed anymore.
15 * src/main-application.c (pathetic_qt_workaround): Not needed
18 * (gnumeric-object-combo.png): redo based on list combo. This avoids
19 looking strange when insensitive and also is a consistent size.
21 2017-11-18 Morten Welinder <terra@gnome.org>
23 * configure.ac: Post-release bump.
25 2017-11-18 Morten Welinder <terra@gnome.org>
29 2017-10-29 Jean Brefort <jean.brefort@normalesup.org>
31 * src/gnumeric.css: add grid:selected back-color.
32 * src/item-grid.c (item_grid_draw_region): fix background of multiple
35 2017-10-23 Morten Welinder <terra@gnome.org>
37 * src/func.c (gnm_func_convert_markup_to_pango): Avoid dead kitten
40 2017-07-06 Morten Welinder <terra@gnome.org>
42 * configure.ac: Post-release bump.
44 2017-07-06 Morten Welinder <terra@gnome.org>
48 2017-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
50 * src/sheet-object-widget.c
51 (sheet_widget_slider_horizontal_draw_cairo): use narrower slider
54 2017-05-18 Morten Welinder <terra@gnome.org>
56 * src/sf-bessel.c (hankel1_A1): Use also libc's jn for smallish
58 (jy_via_j_series): Rename from y_via_j_series and supply both J
59 and Y results. Use the full J result accuracy.
60 (gnm_bessel_phi): Improve divergence check.
62 2017-05-16 Morten Welinder <terra@gnome.org>
64 * src/sf-bessel.c (debye_33): Handle near-overflow better.
65 (gnm_bessel_j, gnm_bessel_y): Use modulus/phase method when
68 * src/gutils.c (gnm_utf8_strto): Handle denormals better.
70 * src/value.c (value_new_from_string): Handle denormals betters.
72 2017-04-05 Morten Welinder <terra@gnome.org>
74 * src/sf-trig.c (gnm_reduce_pi): Rename from reduce_pi_half.
75 Generalize to Pi/2^e and make public.
77 2017-03-28 Morten Welinder <terra@gnome.org>
79 * src/sf-bessel.c (y_via_j_series): Use gnm_yn if we can.
80 (hankel1_A1): Use gnm_yn if we can. Near integer order, center
81 around the integer with odd count when we can.
83 2017-03-21 Morten Welinder <terra@gnome.org>
85 * src/sstest.c (rand_fractile_test): Allow 4*sqrt(expected)
86 deviation for each bin.
87 (test_random_randchisq, test_random_randtdist)
88 (test_random_randfdist): Don't allow df=0.
89 (test_random_randbeta): Don't floor the parameters thus avoiding
92 2017-03-20 Morten Welinder <terra@gnome.org>
94 * configure.ac: Post-release bump.
96 2017-03-20 Morten Welinder <terra@gnome.org>
100 2017-03-17 Morten Welinder <terra@gnome.org>
102 * src/sheet-style.c (sheet_style_init_size): Don't hand-create a
103 bogus GnmColor here. The fake object prevents GnmColor equality
104 from working which in turn prevents GnmBorder equality from
107 * src/style-color.c (gnm_color_make): Rename from
108 gnm_color_new_uninterned and handle caching here.
109 (gnm_color_new_auto): New function.
111 * src/ssdiff.c (main): Exit 2 on error, 1 of diffs, 0 if no diff.
112 (compare_corresponding_cells): Fall back to string comparison.
113 References like Sheet1!A1 should match even if they, obviously,
114 refer to sheets in different workbooks.
116 * src/style-conditions.c (gnm_style_conditions_equal): Add new
117 relax_sheet argument.
119 * src/validation.c (gnm_validation_equal): New function.
121 * src/mstyle.c (gnm_style_find_differences): New function.
123 * src/ssdiff.c (xml_style_changed): Use
124 gnm_style_find_differences.
126 * src/ssdiff.c (cb_diff_sheets_styles_2): Use relaxed
127 gnm_style_find_differences, not gnm_style_equal.
129 * src/hlink.c (gnm_hlink_equal): New function.
131 2017-03-13 Morten Welinder <terra@gnome.org>
133 * src/hlink.c (gnm_hlink_cur_wb_set_target): Improve parsing of
134 inter-sheet local name references.
136 2017-03-10 Morten Welinder <terra@gnome.org>
138 * src/hlink.c (gnm_hlink_get_name_target)
139 (gnm_hlink_get_range_target): New functions.
140 (gnm_hlink_cur_wb_activate): Use gnm_hlink_get_range_target.
142 2017-03-07 Morten Welinder <terra@gnome.org>
144 * src/parser.y (parser_simple_name): Extract from
145 parser_simple_val_or_name. Extend to handle explicit sheet.
146 ("sheetref STRING"): Ise parser_simple_name.
148 2017-03-06 Morten Welinder <terra@gnome.org>
150 * src/expr-name.c (expr_name_add): Plug leak.
152 2017-03-05 Morten Welinder <terra@gnome.org>
154 * src/hlink.c (GnmHLinkCurWB): Store location as dependent.
155 (gnm_hlink_cur_wb_activate): Move string parsing from here...
156 (gnm_hlink_cur_wb_set_target): ...to here. Check name first as
157 value_new_cellrange_str will resolve a name.
159 * src/mstyle.c (gnm_style_linked_sheet_changed): Handle changed
160 sheet for hlinks too.
162 * src/hlink.c (gnm_hlink_new, gnm_hlink_dup, gnm_hlink_get_sheet)
163 (gnm_hlink_set_sheet): New functions.
165 2017-01-30 Morten Welinder <terra@gnome.org>
167 * configure.ac: Post-release bump.
169 2017-01-30 Morten Welinder <terra@gnome.org>
173 2017-01-29 Morten Welinder <terra@gnome.org>
175 * src/style-conditions.c (gnm_style_cond_equal): New function.
176 (gnm_style_conditions_equal): ...split out from here.
178 2017-01-25 Morten Welinder <terra@gnome.org>
180 * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
182 2017-01-22 Morten Welinder <terra@gnome.org>
184 * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
185 expression for text formatted cells.
186 (stf_parse_sheet): Don't try number parsing for text formatted
187 columns. Fixes #777543.
189 2017-01-22 Jean Brefort <jean.brefort@normalesup.org>
191 * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
192 format when generating the string. [#777338]
194 2017-01-19 Morten Welinder <terra@gnome.org>
196 * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
198 * src/style-conditions.c (gnm_style_conditions_equal): New
201 2016-12-08 Morten Welinder <terra@gnome.org>
203 * src/mathfunc.c (gnm_linear_solve): Use proper matrix type. All
205 (gnm_linear_solve_multiple): Ditto.
207 2016-10-02 Morten Welinder <terra@gnome.org>
209 * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
210 g_mem_set_vtable stuff actually works anymore.
212 2016-08-21 Morten Welinder <terra@gnome.org>
214 * src/sstest.c (options): Add --fast option.
216 * src/value.c (value_get_as_gstring): Let a negative
217 decimal_digits mean "shortest round-tripping string".
219 2016-08-20 Morten Welinder <terra@gnome.org>
221 * configure.ac: Post-release bump.
223 2016-08-20 Morten Welinder <terra@gnome.org>
227 2016-08-08 Morten Welinder <terra@gnome.org>
229 * src/criteria.c (criteria_inspect_values): Add flag for string
230 coercion. Only the equality test wants that.
232 * src/value.c (criteria_inspect_values): Floats don't match
235 2016-08-04 Morten Welinder <terra@gnome.org>
237 * src/rangefunc-strings.c (range_concatenate): Add (unused) user
240 * src/collect.c (string_range_function): Add user pointer. Caller
243 2016-06-29 Morten Welinder <terra@gnome.org>
245 * configure.ac: Post-release bump.
247 2016-06-29 Morten Welinder <terra@gnome.org>
251 2016-06-29 Morten Welinder <terra@gnome.org>
253 * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
254 related to sheet-local names. [#768164]
256 2016-06-28 Morten Welinder <terra@gnome.org>
258 * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
259 of different lenghts.
261 2016-06-21 Morten Welinder <terra@gnome.org>
263 * src/value.c (criteria_test_greater_or_equal): Use case-folding
264 comparisons for strings.
265 (parse_criteria, parse_criteria_range): Add argument controlling
266 whether to anchor matching at end of string.
267 (parse_database_criteria): Don't anchor here.
269 2016-06-17 Morten Welinder <terra@gnome.org>
271 * configure.ac: Post-release bump.
273 2016-06-17 Morten Welinder <terra@gnome.org>
277 2016-06-17 Morten Welinder <terra@gnome.org>
279 * src/value.c (parse_criteria): Anchor matches at the beginning,
282 2016-06-11 Morten Welinder <terra@gnome.org>
284 * src/value.c (find_rows_that_match): Fix blank handling.
285 (criteria_test_unequal): Wrong type means unequal.
286 (criteria_test_match): Only match strings.
287 (parse_criteria): Don't anchor matches. This is the right thing
288 to do for DSUM and friends. Hopefully this doesn't break anything
290 (criteria_inspect_values): Strings are incompatible with
292 (criteria_test_less, criteria_test_less_or_equal)
293 (criteria_test_greater, criteria_test_greater_or_equal): handle
296 2016-05-19 Morten Welinder <terra@gnome.org>
298 * src/stf-parse.c (stf_parse_options_guess_formats): Separate
299 decimal counts for the hypothetical comma and point choices.
301 2016-05-10 Morten Welinder <terra@gnome.org>
303 * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
306 2016-05-06 Morten Welinder <terra@gnome.org>
308 * configure.ac: Post-release bump.
310 2016-05-06 Morten Welinder <terra@gnome.org>
314 2016-04-29 Morten Welinder <terra@gnome.org>
316 * src/gui-util.c (gnm_style_context_get_color): Fix function
317 wrapping gtk_style_context_get_color which changed API.
319 2016-04-24 Morten Welinder <terra@gnome.org>
321 * src/value-sheet.c (value_area_get_x_y): Use
322 gnm_rangeref_normalize. Do full wrap-around.
324 2016-04-24 Jean Brefort <jean.brefort@normalesup.org>
326 * src/graph.c (gnm_go_data_matrix_load_values): fix array
329 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
331 * configure.ac: protect against pxlib weirdness.
333 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
335 * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
338 2016-03-22 Morten Welinder <terra@gnome.org>
340 * configure.ac: Post-release bump.
342 2016-03-22 Morten Welinder <terra@gnome.org>
346 2016-03-02 Morten Welinder <terra@gnome.org>
348 * src/sf-bessel.c: Return complex numbers by value, not reference.
350 2016-02-23 Morten Welinder <terra@gnome.org>
352 * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
354 2016-02-18 Morten Welinder <terra@gnome.org>
356 * src/parse-util.c (unquote): Properly account backslashes. Fixes
359 2016-02-12 Morten Welinder <terra@gnome.org>
361 * src/complex.h: Add a direct-value interface.
363 * src/ssconvert.c (run_solver): Also create solver reports as
364 indicated in options.
366 * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
368 2016-02-10 Morten Welinder <terra@gnome.org>
370 * src/gnumeric.css (toolbarzone): Set padding for toolbar children
371 to 1px. While that may be a sligh increase for certain
372 themes/gtk+ versions, it is a large decrease for others, notably
373 what comes with an out-of-the-box OpenSuSE leap. Override in
374 ~/.config/gtk-3.0/gtk.css if need be.
376 * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
377 wheel for horizontal motion instead of alt. Window managers tend
380 2016-02-08 Morten Welinder <terra@gnome.org>
382 * src/graph.c (gnm_go_data_vector_eval)
383 (gnm_go_data_vector_finalize): Plug leak.
385 2016-02-06 Morten Welinder <terra@gnome.org>
387 * configure.ac: Post-release bump.
389 2016-02-06 Morten Welinder <terra@gnome.org>
393 2016-02-06 Morten Welinder <terra@gnome.org>
395 * configure.ac (goffice): Require latest for
396 go_complex_from_polar_pi.
398 * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
399 when x<0 and a is real.
401 2016-02-04 Morten Welinder <terra@gnome.org>
403 * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
404 (gnm_complex_continued_fraction): Fail if we would otherwise try
405 to rescale by 0. Fix termination condition.
406 (igamma_asymp): Fix term update.
407 (complex_igamma): Fix flavour fixup.
409 2016-02-02 Morten Welinder <terra@gnome.org>
411 * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
412 (gamma_error_factor): Extend to all positive numbers.
413 (pochhammer_small_n): Allow any x > 1.
414 (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
416 2016-02-01 Morten Welinder <terra@gnome.org>
418 * configure.ac (yacc, lex): Fail if the required program isn't
421 2016-01-31 Morten Welinder <terra@gnome.org>
423 * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
424 complex continued fractions.
426 2016-01-30 Morten Welinder <terra@gnome.org>
428 * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
429 GtkStyleContext. Another ABI changes causes that to crash.
431 * src/value.c (find_column_of_field): Insist that the database be
432 a cell range, not an array.
434 2016-01-29 Morten Welinder <terra@gnome.org>
436 * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
437 (bessel_ij_series): Rename from bessel_j_series and extend to
440 * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
441 argument is less than one.
443 * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
444 about broken sheet filter.
446 * src/sheet-filter.c (gnm_filter_condition_new_single)
447 (gnm_filter_condition_new_double): Plug leak on error.
448 (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
450 2016-01-28 Jean Brefort <jean.brefort@normalesup.org>
452 * src/graph.c (gnm_go_data_vector_get_str): fix for a range
455 2016-01-27 Morten Welinder <terra@gnome.org>
457 * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
460 * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
463 2016-01-23 Morten Welinder <terra@gnome.org>
465 * src/parser.y (yylex): Be careful about overflowing numeric
466 token. Fixes #761023.
468 2016-01-20 Morten Welinder <terra@gnome.org>
470 * src/complex.h: Namespace. Mostly for macros.
472 2016-01-16 Morten Welinder <terra@gnome.org>
474 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
475 unused time argument. All callers changed.
476 (gnm_simple_canvas_grab): Remove unused arguments and return
477 value. All callers changed.
479 * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
480 without regrabbing the focus. See #760639.
482 2016-01-13 Morten Welinder <terra@gnome.org>
484 * src/sstest.c (test_random_randsnorm)
485 (test_random_randbernoulli): Print expected stats.
487 * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
488 are sane. Fixes #760544.
490 2016-01-08 Morten Welinder <terra@gnome.org>
492 * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
494 2016-01-06 Morten Welinder <terra@gnome.org>
496 * src/mathfunc.c (ebd0): Fix problem with overflow. [#760230]
498 2016-01-04 Morten Welinder <terra@gnome.org>
500 * src/sheet-style.c (sheet_style_apply_range)
501 (sheet_style_set_range): Silently ignore inverted ranges.
503 2016-01-03 Morten Welinder <terra@gnome.org>
505 * src/sheet-style.c (sheet_style_apply_range)
506 (sheet_style_set_range): Ensure sanity of range. Fixes #760102.
508 2016-01-02 Morten Welinder <terra@gnome.org>
510 * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
512 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
513 zero record size. Fixes #760087.
515 * src/mathfunc.c (pow1p): Handle nan. Fixes #760085.
517 2016-01-01 Morten Welinder <terra@gnome.org>
519 * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
521 * src/expr-name.c (expr_name_add): Improve check for circular name
522 defintion. Fixes #760046.
524 2015-12-28 Morten Welinder <terra@gnome.org>
526 * src/ssconvert.c (convert): When separating sheets, move current
527 sheet to the front. See bug #694408.
529 * src/stf-export.c (gnm_stf_file_saver_save): If we add current
530 sheet, remove it at the end.
532 2015-12-28 Morten Welinder <terra@gnome.org>
534 * configure.ac: Post-release bump.
536 2015-12-28 Morten Welinder <terra@gnome.org>
540 2015-12-26 Morten Welinder <terra@gnome.org>
542 * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
543 change here (on the grid).
544 (scg_class_init): Not here. We're not derived from GtkWidget.
546 * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
547 (foreach_tile): New top-level function taking few parameters. All
550 2015-12-25 Morten Welinder <terra@gnome.org>
552 * configure.ac: Post-release bump.
554 2015-12-25 Morten Welinder <terra@gnome.org>
558 2015-12-22 Morten Welinder <terra@gnome.org>
560 * src/ssdiff.c (xml_style_changed): Do more for input message and
563 2015-12-20 Morten Welinder <terra@gnome.org>
565 * src/sheet-control-gui.c (scg_screen_changed): New handler to get
567 (scg_resize): Limit frozen zones to screen size. Not idea, but
568 better than crashing.
570 2015-12-19 Morten Welinder <terra@gnome.org>
572 * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
574 2015-12-13 Morten Welinder <terra@gnome.org>
576 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
577 merges on column/row insert. Fixes #504004.
579 2015-12-12 Morten Welinder <terra@gnome.org>
581 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
582 when the merge partially falls off the far end.
584 2015-12-10 Morten Welinder <terra@gnome.org>
586 * src/gui-util.c (gnm_action_group_add_action): New wrapper to
587 ensure actions get accel paths.
589 2015-12-09 Morten Welinder <terra@gnome.org>
591 * src/wbc-gtk.c (wbcg_find_action): New function to look in
592 multiple places for an action.
594 * src/gui-util.c (gnm_action_group_add_actions): Handle
595 translation context. Also handle toggle actions.
597 2015-12-08 Morten Welinder <terra@gnome.org>
599 * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
602 * src/gui-util.c (gnm_action_group_add_actions): New function,
603 currently quite dumb.
605 * configure.ac (CC): Insist on c99.
607 2015-12-05 Morten Welinder <terra@gnome.org>
609 * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
610 (drayleigh): Define in terms of dweibull.
612 2015-12-03 Morten Welinder <terra@gnome.org>
614 * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
615 support. Fixes R.QHYPER(0.1,3,99,13)
617 2015-10-19 Morten Welinder <terra@gnome.org>
619 * src/func-builtin.c (gnumeric_table): Make sure to invalidate
620 in[2]. Fixes #752182.
622 2015-09-25 Morten Welinder <terra@gnome.org>
624 * src/func-builtin.c (gnumeric_table): Don't try to be smart and
625 avoid value copying. Fixes #752181.
626 (gnumeric_table): Handle repeated cells. Fixes #752178.
628 2015-09-20 Morten Welinder <terra@gnome.org>
630 * configure.ac: Post-release bump.
632 2015-09-20 Morten Welinder <terra@gnome.org>
636 2015-09-19 Jean Brefort <jean.brefort@normalesup.org>
638 * src/gui-file.c (gui_file_save_as): just change the extension not more
639 when the original filename has several dots. [ubuntu #1497344]
641 2015-09-11 Jean Brefort <jean.brefort@normalesup.org>
643 * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
646 2015-08-24 Jean Brefort <jean.brefort@normalesup.org>
648 * src/sheet-object.c (sheet_object_update_bounds),
649 (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
650 the objects bounds are always updated. Really fix printing.
651 * src/xml-sax-write.c (xml_write_objects): revert previous change.
653 2015-08-23 Jean Brefort <jean.brefort@normalesup.org>
655 * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
656 printing, but still not perfect.
657 * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
658 * src/xml-sax-write.c (xml_write_objects): ditto.
660 2015-08-22 Jean Brefort <jean.brefort@normalesup.org>
662 * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
663 with one cell or absolute anchors. [#753961]
664 * src/sheet-object.c (sheet_object_draw_cairo):
666 2015-07-28 Morten Welinder <terra@gnome.org>
668 * configure.ac: Post-release bump.
670 2015-07-28 Morten Welinder <terra@gnome.org>
674 2015-07-14 Morten Welinder <terra@gnome.org>
676 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
679 2015-07-09 Morten Welinder <terra@gnome.org>
681 * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
682 operation. Fixes #752124.
684 2015-07-06 Morten Welinder <terra@gnome.org>
686 * src/func-builtin.c (gnumeric_table): Avoid FMR. Fixes #752021.
688 2015-07-05 Jean Brefort <jean.brefort@normalesup.org>
690 * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
692 2015-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
694 * src/value.c (value_compare_real): handle two empty values however
697 2015-07-03 Morten Welinder <terra@gnome.org>
699 * src/func-builtin.c (gnumeric_table): Return #REF! outside array
702 2015-06-30 Morten Welinder <terra@gnome.org>
704 * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
707 2015-06-29 Morten Welinder <terra@gnome.org>
709 * src/func.c (function_iterate_argument_values): Improve name
710 handling. Part of #751660.
712 2015-06-28 Morten Welinder <terra@gnome.org>
714 * src/value-sheet.c (value_area_get_width, value_area_get_height):
715 Use the same normalization as value_area_foreach. Fixes #751390.
717 * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
720 2015-06-26 Morten Welinder <terra@gnome.org>
722 * src/value.c (value_new_array_empty): Store value_new_empty(),
723 not NULL, in the slots. We can make this change because
724 value_new_empty() is a singleton that does not need to be
725 released. Fixes #751502.
727 2015-06-24 Jean Brefort <jean.brefort@normalesup.org>
729 * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
731 2015-06-23 Jean Brefort <jean.brefort@normalesup.org>
733 * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
734 (xml_sax_object_end): ensure we always use the right state. [#751217]
736 2015-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
738 * samples/excel/engfuns.xls: update to use correct lbm->g conversion
740 2015-06-20 Morten Welinder <terra@gnome.org>
742 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
744 (go_data_cache_records_fetch_index): If resizing failed return
747 2015-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
749 * src/parse-util.h (_GnmConventions): add union_char field
750 * src/parser.y (yylex): handle union_char
751 (setup_state): set union_char
753 2015-06-18 Morten Welinder <terra@gnome.org>
755 * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
756 specifying types derived from sheet objects. Fixes #751126.
757 (xml_sax_hlink): Similarly.
759 2015-06-16 Morten Welinder <terra@gnome.org>
761 * src/xml-sax-read.c (handle_delayed_names): Check for circularity
762 in names. Fixes #751056.
764 2015-05-27 Morten Welinder <terra@gnome.org>
766 * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
767 division by zero. Fixes #749917.
769 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
771 2015-05-16 Jean Brefort <jean.brefort@normalesup.org>
773 * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
776 2015-05-11 Morten Welinder <terra@gnome.org>
778 * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
779 something bad that will happen whenever FALSE equals TRUE.
781 * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
784 * src/cell.c (gnm_cell_set_array): Improve preconditions.
786 2015-05-09 Morten Welinder <terra@gnome.org>
788 * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
790 2015-04-28 Morten Welinder <terra@gnome.org>
792 * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
793 malformed documents. Fixes #748596.
794 (xml_sax_unknown): Don't rely on xin->user_state here. Fixes
797 2015-04-16 Morten Welinder <terra@gnome.org>
799 * configure.ac: Post-release bump.
801 2015-04-16 Morten Welinder <terra@gnome.org>
805 2015-04-15 Morten Welinder <terra@gnome.org>
807 * src/ranges.c (gnm_range_compare): New function.
809 2015-04-13 Jean Brefort <jean.brefort@normalesup.org>
811 * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
812 (see #700599, comment #11).
814 2015-04-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
816 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
817 sheet object name, try the image name.
819 2015-04-11 Morten Welinder <terra@gnome.org>
821 * src/sf-dpq.c (qcauchy): Handle cancellation.
823 * src/mathfunc.c (pcauchy): Simplify.
825 * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
826 (drayleigh): Import from fn-stat. Rename. Improve accuracy.
828 2015-04-09 Morten Welinder <terra@gnome.org>
830 * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
833 2015-04-04 Morten Welinder <terra@gnome.org>
835 * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
838 * src/xml-sax-write.c (xml_write_objects): Save only relevant
839 parts of the cell bound.
841 * src/sheet-control-gui.c (scg_object_coords_to_anchor):
842 Initialize parts of cell_bound not used.
844 2015-04-01 Morten Welinder <terra@gnome.org>
846 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
847 GNM_XML_2ND here too.
848 (gnm_sogg_sax_parser_done): Plug leak.
850 2015-03-30 Morten Welinder <terra@gnome.org>
852 * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
855 * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
858 * src/sstest.c (test_random_randhyperg): Take var=0 case into
859 account when checking mean.
861 * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
864 2015-03-30 Jean Brefort <jean.brefort@normalesup.org>
866 * src/graph.h: add support for absolute anchoring of sheet objects.
867 * src/item-grid.c: ditto.
868 * src/sheet-control-gui.c: ditto.
869 * src/sheet-filter.c: ditto.
870 * src/sheet-object-cell-comment.c: ditto.
871 * src/sheet-object-component.c: ditto.
872 * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
873 cells by default. [#684450]
874 * src/sheet-object-image.c: make images don't resize with cells by default.
875 * src/sheet-object.c : add support for absolute anchoring of sheet objects.
876 * src/sheet-object.h: ditto.
877 * src/workbook-view.c: ditto.
878 * src/xml-sax-read.c: ditto.
879 * src/xml-sax-write.c: ditto.
881 2015-03-30 Morten Welinder <terra@gnome.org>
883 * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
885 2015-03-23 Morten Welinder <terra@gnome.org>
887 * src/sstest.c (rand_fractile_test): Plug leak.
889 2015-03-21 Morten Welinder <terra@gnome.org>
891 * src/sstest.c (rand_fractile_test): Add support for
892 non-continuous distributions.
894 * src/mathfunc.c (qgeom): Update to current version in R.
896 * src/gnm-random.c (random_geometric): Don't add one.
897 r.{d,p,q}geom all use the version with support {0,1,2,3,...}
899 2015-03-20 Morten Welinder <terra@gnome.org>
901 * src/sstest.c (test_random_randbinom): New test.
902 (test_random_randbetween): New test.
903 (test_random_randexp): New test.
904 (test_random_randpoisson): New test.
905 (test_random_randgeom): New test.
906 (test_random_randnegbinom): New test.
907 (test_random_randlog): New test.
908 (test_random_randdiscrete): New test.
909 (test_random_randgamma): New test.
910 (test_random_randtdist): New test.
911 (test_random_randuniform): New test.
912 (test_random_randfdist): New test.
913 (test_random_randcauchy): New test.
914 (test_random_randbeta): New test.
915 (test_random_randchisq): New test.
916 (test_random_randhyperg): New test.
918 * src/gnm-random.c (random_logarithmic): Fix. See #746449.
920 2015-03-19 Morten Welinder <terra@gnome.org>
922 * src/func.c (dump_samples): New function to dump all sample in
923 help documentation to csv format.
925 * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
926 non-positive integer, but neither a nor b is.
928 2015-03-07 Morten Welinder <terra@gnome.org>
930 * src/xml-sax-write.c: Use new go_xml_out_add_double.
932 * src/sheet-object-widget.c
933 (sheet_widget_adjustment_write_xml_sax): Use new
934 go_xml_out_add_double.
936 * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
937 go_xml_out_add_double.
939 2015-03-05 Morten Welinder <terra@gnome.org>
941 * src/sheet-object-image.c (sheet_object_image_set_image): Drop
942 copy_data argument and simply assume it.
944 2015-03-04 Morten Welinder <terra@gnome.org>
946 * configure.ac: Post-release bump.
948 2015-03-04 Morten Welinder <terra@gnome.org>
952 2015-03-03 Morten Welinder <terra@gnome.org>
954 * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
955 version we write and document why we can't easily increase that
958 2015-03-02 Morten Welinder <terra@gnome.org>
960 * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
962 * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
963 (xml_sax_version): Bring version list up to date.
965 2015-03-01 Morten Welinder <terra@gnome.org>
967 * src/sheet-object-widget.c
968 (sheet_widget_list_base_set_selection_value): Plug leak.
970 2015-02-28 Jean Brefort <jean.brefort@normalesup.org>
972 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
973 pixbuf stores the image type.
975 2015-02-28 Morten Welinder <terra@gnome.org>
977 * src/sheet-object-image.c (SheetObjectImage): Just keep the
978 image, not the bytes in addition.
979 (gnm_soi_class_init): Use property "image" of type GOImage instead
980 of "image-data" weirdness.
981 (gnm_soi_draw_cairo): Remove non-functional fallback.
982 (gnm_soi_default_size): Ditto.
984 2015-02-27 Morten Welinder <terra@gnome.org>
986 * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
987 type for image data. Create image data if needed.
988 (SheetObjectImage): Use a properly allocated GByteArray.
990 * src/sheet-object-widget.c
991 (sheet_widget_adjustment_user_config_impl): Widgets must have
992 changed names at some point. Adjust for that.
994 2015-02-25 Morten Welinder <terra@gnome.org>
996 * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
998 (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
1001 2015-02-23 Morten Welinder <terra@gnome.org>
1003 * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
1006 2015-02-21 Morten Welinder <terra@gnome.org>
1008 * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
1009 gboolean, not a double.
1011 * src/sheet-object-widget.c
1012 (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
1014 (sheet_widget_adjustment_set_horizontal): Take advantage of this
1015 new-fangled orientation for scrollbars.
1017 2015-02-20 Morten Welinder <terra@gnome.org>
1019 * src/sheet-object-widget.c: Make checkbox' "active" writable.
1020 (cb_button_released): Set value to FALSE here(!)
1022 2015-02-18 Morten Welinder <terra@gnome.org>
1024 * src/commands.c (cmd_search_replace_do_cell): Don't report and
1025 error just because a cell with text format fails to produce an
1026 expression. That's expected for text format.
1028 2015-02-17 Morten Welinder <terra@gnome.org>
1030 * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
1032 2015-02-11 Morten Welinder <terra@gnome.org>
1034 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
1035 writing duplicate style so version 1.2 and earlier can read it.
1037 2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
1039 * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
1040 that can't be convered to valid numbers.
1042 2015-02-10 Morten Welinder <terra@gnome.org>
1044 * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
1046 2015-02-06 Morten Welinder <terra@gnome.org>
1048 * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
1049 (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
1050 (sheet_widget_radio_button_set_link)
1051 (sheet_widget_list_base_set_links)
1052 (sheet_widget_adjustment_set_details): Only link if we have a
1055 2015-02-04 Morten Welinder <terra@gnome.org>
1057 * configure.ac: Post-release bump.
1059 2015-02-04 Morten Welinder <terra@gnome.org>
1063 2015-01-30 Morten Welinder <terra@gnome.org>
1065 * src/sheet-object-widget.c
1066 (sheet_widget_adjustment_set_horizontal): Make this public.
1068 2015-01-23 Morten Welinder <terra@gnome.org>
1070 * configure.ac: Post-release bump.
1072 2015-01-23 Morten Welinder <terra@gnome.org>
1076 2015-01-20 Morten Welinder <terra@gnome.org>
1078 * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
1081 2015-01-19 Morten Welinder <terra@gnome.org>
1083 * src/gutils.c (gnm_icon_dir): Remove.
1085 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
1088 * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
1089 from glib resources.
1091 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
1094 * src/gnm.gresource.xml: pre-process xpm files. gdkpixbuf will
1095 otherwise dump them in temporary files in order to load them.
1097 * src/workbook.c (workbook_update_graphs): New function.
1099 * src/workbook-view.c (workbook_view_new_from_input): Update
1102 2015-01-14 Morten Welinder <terra@gnome.org>
1104 * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
1105 an expresssion, make it a string instead of dropping it on the
1108 2015-01-13 Morten Welinder <terra@gnome.org>
1110 * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
1111 missing shared expression, define a dummy version so we don't get
1114 2015-01-09 Morten Welinder <terra@gnome.org>
1116 * src/value.c (value_compare_real): Rewrite. Handle errors and
1117 sort them later than other values. This fixes #742601.
1119 2015-01-01 Morten Welinder <terra@gnome.org>
1121 * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
1122 names, not stock ids.
1124 * src/gnm-pane.c (update_control_point_colors): Avoid
1125 gtk_style_context_get_background_color.
1126 * src/item-cursor.c (ic_reload_style): Ditto.
1128 2014-12-30 Morten Welinder <terra@gnome.org>
1130 * src/rendered-value.c (gnm_rendered_value_new):
1131 GNM_HALIGN_DISTRIBUTED is justify+center. Fixes #726155.
1133 2014-12-27 Morten Welinder <terra@gnome.org>
1135 * src/colrow.c (colrow_set_visibility): Don't create columns/rows
1136 unless we really have to.
1138 2014-12-25 Morten Welinder <terra@gnome.org>
1140 * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
1143 * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
1145 * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
1147 * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
1148 icon on sheet direction changes.
1150 * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
1152 2014-12-24 Morten Welinder <terra@gnome.org>
1154 * src/wbc-gtk.c (wbcg_show_save_dialog)
1155 (wbcg_close_if_user_permits): Constant propagation.
1157 * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
1158 GtkStock usage. (Maybe kill whole function? Only two users.)
1160 2014-12-22 Morten Welinder <terra@gnome.org>
1162 * icons/fake-index-theme: we need actions directories too.
1164 2014-12-21 Morten Welinder <terra@gnome.org>
1166 * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1169 2014-12-20 Morten Welinder <terra@gnome.org>
1171 * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1172 count in delete, such as used from sheet resize.
1174 2014-12-19 Morten Welinder <terra@gnome.org>
1176 * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1177 (before g_setenv is available).
1179 2014-12-16 Morten Welinder <terra@gnome.org>
1181 * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1184 * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1187 2014-12-15 Morten Welinder <terra@gnome.org>
1189 * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1190 sheet_style_insert_colrow and handled deletion too.
1192 * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1193 sheet_insert_cols, sheet_delete_rows, sheet_delete_cols. Simplify
1196 * src/dependent.c (dependent_has_pos, dependent_move): New
1199 2014-12-14 Morten Welinder <terra@gnome.org>
1201 * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1204 2014-12-11 Morten Welinder <terra@gnome.org>
1206 * src/dependent.c (style_dep_debug_name): Include position too.
1208 * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1210 (colrow_move): Change parameterization slightly.
1212 2014-12-06 Morten Welinder <terra@gnome.org>
1214 * src/sheet-control-gui.c (scg_unant): Destroy item cursors. We
1215 want them visually gone and g_object_unref does not guarantee
1218 * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1219 dependents. A later step clears and re-applies style completely
1220 for the moved area. Fixes #741197.
1222 * src/sheet-style.c (sheet_style_clear_style_dependents): New
1225 * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1226 (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1228 * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1230 (gnm_cmd_context_error_splits_merge): Plug leak.
1232 2014-11-15 Morten Welinder <terra@gnome.org>
1234 * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1235 the wbc is already gone.
1237 2014-11-09 Morten Welinder <terra@gnome.org>
1239 * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1240 data. Might fix Redhat #1160975.
1242 2014-10-28 Morten Welinder <terra@gnome.org>
1244 * src/style.c (find_font): Accept NULL font name.
1246 2014-10-27 Morten Welinder <terra@gnome.org>
1248 * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1251 2014-10-27 Jean Brefort <jean.brefort@normalesup.org>
1253 * src/item-cursor.c (cb_item_cursor_animation): use
1254 goc_canvas_invalidate_region() for ants walking. Avoid drawing
1255 outside of a draw event.
1257 2014-10-26 Morten Welinder <terra@gnome.org>
1259 * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1261 (GnmValue): Drop type union member. C99 requires that this be
1262 accessed in a structure. We have v_any for that.
1264 2014-10-25 Morten Welinder <terra@gnome.org>
1266 * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1267 ought to survive both gcc's aliasing analysis and valgrind's
1270 2014-10-24 Morten Welinder <terra@gnome.org>
1272 * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1274 2014-10-21 Morten Welinder <terra@gnome.org>
1276 * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1278 2014-09-25 Morten Welinder <terra@gnome.org>
1280 * configure.ac: Post-release bump.
1282 2014-09-25 Morten Welinder <terra@gnome.org>
1286 2014-09-25 Morten Welinder <terra@gnome.org>
1288 * src/sheet-filter.c (gnm_filter_condition_new_single)
1289 (gnm_filter_condition_new_double): Fix preconditions. See
1292 2014-09-23 Morten Welinder <terra@gnome.org>
1294 * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1295 doesn't spew deprecation warnings by default.
1297 2014-09-11 Morten Welinder <terra@gnome.org>
1299 * src/style.c (gnm_translate_underline_from_pango): Survive
1300 PANGO_UNDERLINE_ERROR.
1302 2014-06-09 Morten Welinder <terra@gnome.org>
1304 * configure.ac: Post-release bump.
1306 2014-06-09 Morten Welinder <terra@gnome.org>
1310 2014-05-28 Morten Welinder <terra@gnome.org>
1312 * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1313 when we drag the handle into the col/row canvas.
1315 * src/sheet-view.c (sv_freeze_panes): Add debug code.
1317 * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1318 handler. Fixes #730884.
1320 2014-05-27 Morten Welinder <terra@gnome.org>
1322 * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1323 col/row canvas. Fixes #730857.
1324 (gnm_pane_dispose): Release references.
1326 2014-05-23 Morten Welinder <terra@gnome.org>
1328 * configure.ac: Post-release bump.
1330 2014-05-23 Morten Welinder <terra@gnome.org>
1334 2014-05-23 Morten Welinder <terra@gnome.org>
1336 * src/clipboard.c (clipboard_copy_ranges_undo): New function. We
1337 need better building blocks for commands; this is one such.
1339 2014-05-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1341 * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1342 (cmd_hyperlink_redo): ditto
1343 (cmd_hyperlink_finalize): ditto
1344 (cb_cmd_hyperlink_find_cells): ditto
1346 2014-05-20 Morten Welinder <terra@gnome.org>
1348 * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1350 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1351 outline and fill colours that are auto, even for the 1.0 format.
1353 * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1354 conditional format ranges.
1356 2014-05-14 Morten Welinder <terra@gnome.org>
1358 * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1360 * src/gutils.c (gnm_object_has_readable_prop): New function.
1362 * configure.ac (scrollkeeper): Test if we have it.
1364 2014-05-05 Morten Welinder <terra@gnome.org>
1366 * src/wbc-gtk.c (toolbar_context_menu): Remove
1367 HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW. That has been unconditionally
1368 false for years and is unsupported in gtk+.
1370 2014-04-30 Morten Welinder <terra@gnome.org>
1372 * configure.ac: Post-release bump.
1374 2014-04-30 Morten Welinder <terra@gnome.org>
1378 2014-04-23 Morten Welinder <terra@gnome.org>
1380 * src/complete.c (complete_idle): Avoid abort().
1382 * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1385 2014-04-22 Morten Welinder <terra@gnome.org>
1387 * src/style-color.c (gnm_color_new_name): Remove. All calls
1388 replaced with calls to gnm_color_new_go.
1390 * src/sheet-style.c (sheet_style_init_size): Plug leak.
1392 * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1394 2014-04-21 Morten Welinder <terra@gnome.org>
1396 * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1397 only in the hop of fixing #728465.
1399 2014-04-13 Morten Welinder <terra@gnome.org>
1401 * configure.ac: Post-release bump.
1403 2014-04-13 Morten Welinder <terra@gnome.org>
1407 2014-04-11 Morten Welinder <terra@gnome.org>
1409 * src/item-bar.c: Get colours when we draw; only get sizing
1410 relevant information at odd times, in particular when parent
1411 widgets may be insensitive, such as during a load-onto-pristine.
1414 2014-04-10 Morten Welinder <terra@gnome.org>
1416 * src/item-bar.c (ib_reload_style): Add debug code.
1418 2014-04-09 Morten Welinder <terra@gnome.org>
1420 * src/number-match.c (format_match_datetime): Plug leak on certain
1423 2014-04-02 Morten Welinder <terra@gnome.org>
1425 * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1428 2014-03-30 Morten Welinder <terra@gnome.org>
1430 * src/application.c (gnm_app_remove_extra_ui): Remove from global
1433 2014-03-28 Morten Welinder <terra@gnome.org>
1435 * src/main-application.c (main): Move Ubuntu hack earlier.
1437 2014-03-27 Morten Welinder <terra@gnome.org>
1439 * src/main-application.c (main): Attempt to banish ubuntu's
1440 overlay scrollbar which don't work.
1442 2014-03-21 Morten Welinder <terra@gnome.org>
1444 * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1445 case insensitve and allow wildcards.
1447 * src/gutils.c (gnm_excel_search_impl): New function, extracted
1450 * src/style-conditions.c (generate_end_match): Use case
1451 insensitive comparison. Pull negation into the operator.
1452 (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1455 2014-03-18 Morten Welinder <terra@gnome.org>
1457 * src/gui-util.c (kill_popup_menu): One more try at really killing
1458 the context menu after we're done with it.
1460 * src/item-grid.c (item_grid_realize): Plug leak.
1462 2014-03-18 Morten Welinder <terra@gnome.org>
1464 * configure.ac: Post-release bump.
1466 2014-03-18 Morten Welinder <terra@gnome.org>
1470 2014-03-18 Morten Welinder <terra@gnome.org>
1472 * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1473 providers from screens on exit.
1475 * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1477 2014-03-17 Morten Welinder <terra@gnome.org>
1479 * src/mathfunc.c (gnm_log2): Remove. Use libm's log2.
1481 2014-03-16 Morten Welinder <terra@gnome.org>
1483 * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1484 formats. I'm not positive we do things right, but this avoids
1485 criticals, at least.
1487 * src/cell.c (cell_set_expr_internal): Don't change an existing
1490 2014-03-15 Morten Welinder <terra@gnome.org>
1492 * src/style-border.c (gnm_border_shutdown): New function to help
1493 debug leaks. Shutdown border_none here.
1495 * src/style-color.c (gnm_color_shutdown): Not here.
1497 2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
1499 * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1500 the tooltip where it will not immediatly be destroyed after creation.
1501 [really fix #706659]
1503 2014-03-14 Morten Welinder <terra@gnome.org>
1505 * src/xml-sax-write.c (xml_write_style): Don't write a font name
1506 if we don't have any.
1508 2014-03-14 Jean Brefort <jean.brefort@normalesup.org>
1510 * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1512 2014-03-13 Morten Welinder <terra@gnome.org>
1514 * src/style-conditions.c (gnm_style_cond_eval): New function
1515 extracted from gnm_style_conditions_eval. Make "equal" case
1516 insensitive. Fixes #726246.
1518 * src/ssconvert.c (convert): Show resize message only if verbose.
1520 2014-03-12 Morten Welinder <terra@gnome.org>
1522 * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1524 (gnm_style_cond_canonicalize): New function.
1526 * src/ssconvert.c (convert): only print "Using exporter ..." if
1527 --verbose is given, and print it to stderr.
1529 2014-03-11 Morten Welinder <terra@gnome.org>
1531 * src/sheet.c (cb_set_markup): Don't mess directly with
1532 cell->value. We need to trigger a re-render. Fixes #726086.
1534 * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1535 for the pre-validation assignment.
1537 * src/sheet.c (sheet_cell_set_text): Put markup on the value
1538 before assigning it to the cell.
1540 2014-03-10 Morten Welinder <terra@gnome.org>
1542 * gnumeric.xsd: Update valign/halign attributes. Update print
1545 * src/sheet-filter.c (gnm_filter_condition_new_single)
1546 (gnm_filter_condition_new_double): Add preconditions.
1548 2014-03-07 Morten Welinder <terra@gnome.org>
1550 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1552 2014-03-05 Morten Welinder <terra@gnome.org>
1554 * src/expr.c (gnm_expr_top_is_volatile): New function.
1556 * src/workbook-view.c (workbook_view_new_from_input): Queue all
1557 volatile expressions.
1559 * src/dependent.c (workbook_queue_volatile_recalc): New function.
1560 (dependent_is_volatile): New function.
1562 * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1563 Don't set the initial range here.
1565 * src/expr.c (gnm_expr_top_first_funcall)
1566 (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1567 (gnm_expr_top_referenced_sheets): Rewrite in terms of
1569 (gnm_expr_top_get_boundingbox): Set initial range here.
1571 * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1574 2014-03-03 Morten Welinder <terra@gnome.org>
1576 * configure.ac: Post-release bump.
1578 2014-03-03 Morten Welinder <terra@gnome.org>
1582 2014-03-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1584 * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1586 2014-03-02 Morten Welinder <terra@gnome.org>
1588 * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1590 (wbcg_sheet_order_changed): Mark ui as being updated.
1591 (cb_bnotebook_page_reordered): Ignore during UI update.
1593 * src/expr-name.c (gnm_named_expr_collection_dump)
1594 (gnm_named_expr_collection_sanity_check): New function.
1596 * src/application.c (gnm_app_sanity_check): New function.
1598 * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1599 string inside the GOString as a hash key. It can change.
1600 (gnm_named_expr_collection_foreach): As a consequence of the
1601 above, the first argument to the handler for
1602 gnm_named_expr_collection_foreach changes to something
1603 unspecified. All callers changed.
1605 * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1608 * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1609 when encountering strangeness.
1611 2014-02-28 Morten Welinder <terra@gnome.org>
1613 * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1614 If row/column canvas is not visible, ignore them.
1615 (scg_gtk_paned_set_position): Don't allow negative position.
1618 * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1621 2014-02-27 Jean Brefort <jean.brefort@normalesup.org>
1623 * src/item-grid.c (item_grid_draw_region): fix background filling for
1624 rtl sheets. [#725276]
1626 2014-02-25 Morten Welinder <terra@gnome.org>
1628 * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1629 (gnumeric_create_popup_menu): Drop return value from handler.
1631 * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1632 are cell comments by position.
1634 2014-02-24 Morten Welinder <terra@gnome.org>
1636 * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1638 * src/colrow.c (colrow_equal): Don't use floating-point equality
1639 here. Allow a difference of 1e-5 pt for size.
1641 2014-02-23 Morten Welinder <terra@gnome.org>
1643 * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1644 fill in the new areas with most common styles for the rows to the
1645 left of the new columns or the columns above the new area.
1647 2014-02-19 Morten Welinder <terra@gnome.org>
1649 * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1650 (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1652 * src/mathfunc.c (gnm_log2): New function.
1654 2014-02-18 Morten Welinder <terra@gnome.org>
1656 * src/ssdiff.c (xml_style_changed): Report differences for
1657 auto-color settings.
1659 2014-02-17 Morten Welinder <terra@gnome.org>
1661 * src/ssconvert.c (convert): Add --resize option.
1663 2014-02-16 Jean Brefort <jean.brefort@normalesup.org>
1665 * src/item-grid.c (item_grid_realize): fix persistence of
1666 hyperlink tips. [see #724108]
1668 2014-02-16 Morten Welinder <terra@gnome.org>
1670 * configure.ac: Post-release bump.
1672 2014-02-16 Morten Welinder <terra@gnome.org>
1676 2014-02-16 Morten Welinder <terra@gnome.org>
1678 * src/func.c (function_dump_defs): Update boilerplate.
1680 2014-02-11 Morten Welinder <terra@gnome.org>
1682 * configure.ac: Post-release bump.
1684 2014-02-11 Morten Welinder <terra@gnome.org>
1688 2014-02-07 Morten Welinder <terra@gnome.org>
1690 * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1691 entry on top of merged cells. Fixes #723600.
1693 2014-02-06 Jean Brefort <jean.brefort@normalesup.org>
1695 * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1696 a better fix to previous issue.
1698 2014-01-30 Morten Welinder <terra@gnome.org>
1700 * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1703 * src/item-cursor.c (item_cursor_draw): Make the ant animation
1704 smoother (when not using the fallback). Avoid using hard light
1705 for ant-ing -- that doesn't work for the same reason as alpha not
1706 working. Always use phase=0 for non-ant stipples.
1707 (GnmItemCursor): Use the canvas item's visibility flag instead of
1710 2014-01-29 Morten Welinder <terra@gnome.org>
1712 * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1714 * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1715 check for bad clipping somewhere in gtk+ or theme land.
1717 2014-01-28 Jean Brefort <jean.brefort@normalesup.org>
1719 * src/sheet-object-component.c (gnm_soc_user_config): release the new
1720 component reference to the workbook.
1722 2014-01-27 Morten Welinder <terra@gnome.org>
1724 * src/func.c (function_dump_defs): Undo wiki change.
1726 2014-01-21 Morten Welinder <terra@gnome.org>
1728 * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1729 the amount of work we do for ant-ing. Fixes #381011, patch from
1731 (ic_reload_style): Ignore alpha component of ant colours.
1733 2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
1735 * src/graph.c (gnm_go_data_vector_load_len),
1736 (gnm_go_data_vector_load_values): accept 3D values for vector data.
1739 2014-01-16 Morten Welinder <terra@gnome.org>
1741 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1742 cb_darken_foreground_attributes and change to take non-white
1743 background into account.
1745 2014-01-12 Morten Welinder <terra@gnome.org>
1747 * src/mathfunc.c (expmx2h): Split out from dnorm.
1748 (dhyper): Round the chosen "p" to float to improve accuracy of
1751 2014-01-11 Morten Welinder <terra@gnome.org>
1753 * src/mathfunc.c (pow1p): Improve accuracy.
1754 (R_D_nonint): Fix rounding problem.
1755 (ebd0): New extended version of bd0.
1756 (dpois_raw, dbinom_raw): Use ebd0.
1757 (dbinom_raw): Handle x==n and x==0 much better.
1759 2014-01-08 Morten Welinder <terra@gnome.org>
1761 * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1764 * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1766 * src/gui-file.h: Namespace improvements. Also make gui_file_read
1767 return the WorkbookView instead of a boolean.
1769 2014-01-01 Morten Welinder <terra@gnome.org>
1771 * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1773 2013-12-31 Morten Welinder <terra@gnome.org>
1775 * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1778 2013-12-30 Morten Welinder <terra@gnome.org>
1780 * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1782 (dpois_raw): Avoid going through logs, if possible.
1784 2013-12-25 Morten Welinder <terra@gnome.org>
1786 * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1787 we return FALSE so we don't try to remove the source later.
1789 2013-12-22 Morten Welinder <terra@gnome.org>
1791 * src/gui-util.c (gnm_widget_measure_string): New function
1792 allowing the elimination of all gtk_style_context_get_font calls.
1794 2013-12-19 Morten Welinder <terra@gnome.org>
1796 * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1797 especially when |x|<<1. Ditto for x<-1.
1799 2013-12-17 Morten Welinder <terra@gnome.org>
1801 * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1804 2013-12-14 Morten Welinder <terra@gnome.org>
1806 * src/sf-gamma.c (complex_igamma): New function.
1808 2013-12-12 Mario Rugiero <mrugiero@gmail.com>
1810 * */*.c: Fix some leaks and null dereferences pointed out by
1813 2013-12-12 Morten Welinder <terra@gnome.org>
1815 * src/parser.y (array_row): Avoid overrunning string when multiple
1816 missing closing parentheses are detected. Fixes #720353.
1818 2013-12-11 Morten Welinder <terra@gnome.org>
1820 * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1821 gdk_event_get_screen, not from ->screen. This might fix #720182.
1823 * src/*.c: Use accessor function for GdkEvent when convenient.
1825 2013-12-07 Morten Welinder <terra@gnome.org>
1827 * src/application.c (gnm_app_init): Don't allocate a
1828 GtkRecentManager if we are not in gui mode.
1830 * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1832 * src/dependent.c (deprange_hash): Ditto.
1834 2013-12-04 Morten Welinder <terra@gnome.org>
1836 * src/sf-gamma.c (gamma_error_factor): Add extra term.
1838 2013-12-07 Morten Welinder <terra@gnome.org>
1840 * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1841 of the argument for [-1.5;-0.5].
1843 * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1844 Re z < 1/2. Avoid some overflow.
1846 2013-12-02 Morten Welinder <terra@gnome.org>
1848 * src/sf-bessel.c (bessel_y): Use the J series when possible.
1850 2013-12-07 Morten Welinder <terra@gnome.org>
1852 * src/sf-bessel.c (bessel_j): Use the taylor series in the
1853 parameter range where that makes sense.
1855 * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1858 2013-11-30 Morten Welinder <terra@gnome.org>
1860 * src/sf-gamma.c (pochhammer): Drop give_log arguments. Extend to
1863 2013-11-28 Morten Welinder <terra@gnome.org>
1865 * configure.ac: Post-release bump.
1867 2013-11-28 Morten Welinder <terra@gnome.org>
1871 2013-11-25 Morten Welinder <terra@gnome.org>
1873 * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1876 2013-11-19 Morten Welinder <terra@gnome.org>
1878 * src/print.c (print_page): Fix check for missing object. Fixes
1881 2013-11-18 Morten Welinder <terra@gnome.org>
1883 * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
1885 2013-11-15 Morten Welinder <terra@gnome.org>
1887 * src/mathfunc.c (reduce_pi_half): New function.
1889 2013-11-14 Morten Welinder <terra@gnome.org>
1891 * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
1892 (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
1894 2013-11-13 Morten Welinder <terra@gnome.org>
1896 * src/mathfunc.c (lgamma_r): Fix fallback. Didn't work for x<10.
1898 2013-11-13 Jean Brefort <jean.brefort@normalesup.org>
1900 * src/sheet-object.c (sheet_object_view_button2_pressed),
1901 (sheet_object_view_class_init): implement double click for graph sheets.
1904 2013-11-12 Morten Welinder <terra@gnome.org>
1906 * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
1908 (cb_bnotebook_page_reordered): New function.
1909 (wbc_gtk_create_notebook_area): Attach a handler for reordering.
1911 * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
1913 2013-11-06 Morten Welinder <terra@gnome.org>
1915 * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
1917 2013-11-06 Jean Brefort <jean.brefort@normalesup.org>
1919 * src/workbook-view.c: add more introspection related comments.
1920 * src/workbook.c: ditto.
1922 2013-11-03 Morten Welinder <terra@gnome.org>
1924 * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
1925 sin/cos before scaling by pi.
1927 2013-11-01 Morten Welinder <terra@gnome.org>
1929 * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
1930 (gnm_gamma): Protect against unnecessary overflow at top of range.
1932 2013-10-31 Morten Welinder <terra@gnome.org>
1934 * src/mathfunc.c (qgamma): Flip tail for high values of p. This
1935 avoids accuracy problems since any cdf is completely flat in terms
1936 of floating point values when going sufficiently far into the
1940 (J_bessel): Extend xlrg_BESS_IJ to match current R.
1941 (permut): Route this into pochhammer.
1942 (qfact): New function. Tabulate 0! through 50000! using quad
1943 precision arithmetic.
1944 (combin, fact, pochhammer): Improve accuracy using qfact.
1946 2013-10-22 Morten Welinder <terra@gnome.org>
1948 * src/func.c (function_call_with_exprs): Move flags argument into
1951 2013-10-19 Morten Welinder <terra@gnome.org>
1953 * src/hlink.c (_gnm_hlink_init): New function.
1954 * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
1956 2013-10-07 Morten Welinder <terra@gnome.org>
1958 * configure.ac: Post-release bump.
1960 2013-10-07 Morten Welinder <terra@gnome.org>
1964 2013-10-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1966 * src/cmd-edit.c (cmd_paste): chceck for locked cells
1968 2013-10-03 Morten Welinder <terra@gnome.org>
1970 * src/item-cursor.c (item_cursor_draw): Drop expose area
1971 optimization that may not be correct with current gtk. See bug
1974 2013-09-29 Morten Welinder <terra@gnome.org>
1976 * src/main-application.c: Include <io.h> for win32.
1978 * src/wbc-gtk-actions.c: Include gutils.h for win32.
1980 2013-09-25 Morten Welinder <terra@gnome.org>
1982 * src/gnumeric.css: Use lighter green for function marker.
1984 2013-09-01 Morten Welinder <terra@gnome.org>
1986 * configure.ac: Post-release bump.
1988 2013-09-01 Morten Welinder <terra@gnome.org>
1992 2013-08-29 Morten Welinder <terra@gnome.org>
1994 * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
1997 2013-08-28 Morten Welinder <terra@gnome.org>
1999 * src/mathfunc.c (gnm_gamma): Improve precision for large
2001 (gnm_yn): Not needed anymore.
2002 (bessel_i): Don't mark error strings for translation.
2004 2013-08-27 Morten Welinder <terra@gnome.org>
2006 * configure.ac: Post-release bump.
2008 2013-08-27 Morten Welinder <terra@gnome.org>
2012 2013-08-26 Morten Welinder <terra@gnome.org>
2014 * src/sheet-style.c (cell_tile_dump): New function for debugging.
2015 (internal_style_list): Add fast pre-optimization to bring down the
2016 number of entries before we start messing with hashes. Fixes
2019 2013-08-22 Jean Brefort <jean.brefort@normalesup.org>
2021 * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
2022 GraphDimEditor::changed. See bug 706591 comment #2.
2024 2013-08-19 Morten Welinder <terra@gnome.org>
2026 * configure.ac: Post-release bump.
2028 2013-08-19 Morten Welinder <terra@gnome.org>
2032 2013-08-15 Morten Welinder <terra@gnome.org>
2034 * src/dependent.c (dep_hash_destroy): Relink the changed dep.
2037 * src/sheet.c (sheet_destroy_contents): Also get rid of solver
2038 parameters. See bug 705913, comment 6.
2040 2013-08-13 Morten Welinder <terra@gnome.org>
2042 * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
2044 2013-08-12 Morten Welinder <terra@gnome.org>
2046 * src/sheet-object-widget.c (sow_create_widget): New function.
2047 Add sheet-object class to widgets.
2049 2013-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2051 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
2053 (sheet_widget_button_draw_cairo): also scale line thickness
2054 (sheet_widget_checkbox_draw_cairo): scale button size
2055 (sheet_widget_radio_button_draw_cairo): scale button size
2057 2013-08-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2059 * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
2060 argument and change all callers
2062 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2064 * src/sheet-object-widget.c (get_font): add fall-backs
2066 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2068 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2070 (draw_cairo_text): add h-vcenter argument and change all callers
2072 2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
2074 * src/sheet-object-widget.c (cb_range_destroyed),
2075 (sheet_widget_scrollbar_create_widget),
2076 (sheet_widget_spinbutton_create_widget),
2077 (sheet_widget_slider_create_widget): avoid crashing after destroying a
2078 SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
2080 2013-08-09 Morten Welinder <terra@gnome.org>
2082 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
2084 (get_font): New function extracted from draw_cairo_text.
2086 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2088 * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
2091 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2093 * src/sheet-object-widget.c (draw_cairo_text): add arguments to
2094 allow multi-paragraph with a highlighted line. Change all callers
2095 (sheet_widget_list_draw_cairo): use draw_cairo_text
2097 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2099 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
2100 cairo version for Gnuemric too.
2101 (sheet_widget_button_draw_cairo): ditto
2102 (sheet_widget_scrollbar_draw_cairo): ditto
2103 (sheet_widget_spinbutton_draw_cairo): ditto
2104 (sheet_widget_slider_draw_cairo): ditto
2105 (sheet_widget_checkbox_draw_cairo): ditto
2106 (sheet_widget_radio_button_draw_cairo): ditto
2107 (sheet_widget_list_draw_cairo): ditto
2108 (sheet_widget_combo_draw_cairo): ditto
2110 2013-08-08 Morten Welinder <terra@gnome.org>
2112 * src/parse-util.c (r1c1_get_index): Handle integer overflow.
2113 Reduce crazy relative offsets.
2115 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2117 * src/sheet-object-widget.c (draw_cairo_text): add arguments and
2119 (sheet_widget_frame_draw_cairo): new
2120 (sheet_widget_button_draw_cairo): new
2121 (sheet_widget_scrollbar_horizontal_draw_cairo): new
2122 (sheet_widget_scrollbar_vertical_draw_cairo): new
2123 (sheet_widget_scrollbar_class_init): connect the above
2124 (sheet_widget_spinbutton_draw_cairo): new
2125 (sheet_widget_spinbutton_class_init): connect the above
2126 (sheet_widget_slider_horizontal_draw_cairo): new
2127 (sheet_widget_slider_vertical_draw_cairo): new
2128 (sheet_widget_slider_draw_cairo): new
2129 (sheet_widget_slider_class_init): connect the above
2130 (sheet_widget_list_draw_cairo): new
2131 (sheet_widget_list_class_init): connect the above
2132 (sheet_widget_combo_draw_cairo): new
2133 (sheet_widget_combo_class_init): connect the above
2135 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2137 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
2138 change all uses of this macro
2139 (draw_cairo_text): new
2140 (sheet_widget_checkbox_draw_cairo): new
2141 (sheet_widget_radio_button_draw_cairo): new
2143 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2145 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
2146 gtk_offscreen_window_new without a default screen (see bugs #705638
2149 2013-08-07 Morten Welinder <terra@gnome.org>
2151 * src/ssconvert.c (main): Initialize gtk+ without opening any
2154 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2156 * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
2158 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2160 * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
2161 * src/sheet-control-gui.c (scg_init): init new fields
2162 (scg_im_destroy): new
2163 (scg_finalize): call scg_im_destroy
2164 (cb_cell_im_timer): new
2165 (scg_find_pane): new
2166 (scg_show_im_tooltip): new
2167 (scg_class_init): init new field
2168 * src/sheet-control-priv.h: add field
2169 * src/sheet-control.c: add virtual
2170 * src/sheet-control.h: add virtual
2171 * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2172 (sv_update): call sheet_view_edit_pos_tool_tips
2173 * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2175 (sheet_row_get_distance_pixels): new
2176 * src/sheet.h (sheet_row_get_distance_pixels): new
2178 2013-08-03 Jean Brefort <jean.brefort@normalesup.org>
2180 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2181 nodes in guppi graphs. [Debian #718594]
2183 2013-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2185 * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2188 2013-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2190 * src/sheet-control-gui.c (context_menu_handler): add argument to
2191 dialog_cell_format call
2192 * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2193 dialog_cell_format call
2194 (cb_data_validate): ditto
2196 2013-07-30 Morten Welinder <terra@gnome.org>
2198 * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2199 colour. Fixes rest of #705031.
2201 2013-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2203 * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2205 2013-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2207 * gnumeric.desktop.in: add ODS files
2209 2013-07-23 Jean Brefort <jean.brefort@normalesup.org>
2211 * src/graph.c (gnm_go_data_vector_load_values): really load all
2212 values for multiple ranges.
2214 2013-07-19 Morten Welinder <terra@gnome.org>
2216 * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2217 check: the enum has a hole in the middle. Fixes #704562.
2219 2013-07-19 Jean Brefort <jean.brefort@normalesup.org>
2221 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2223 * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2225 2013-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2227 * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2228 (gnm_so_path_set_property): ditto
2229 (gnm_so_path_get_property): ditto
2231 2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
2233 * src/gnm-so-path.c (so_path_view_set_bounds),
2234 (cb_gnm_so_path_changed): a better fix for the text position.
2236 2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
2238 * src/gnm-so-filled.c (so_filled_view_set_bounds),
2239 (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2240 * src/gnm-so-path.c (so_path_view_set_bounds),
2241 (cb_gnm_so_path_changed): fix text wrap in paths too.
2243 2013-07-16 Morten Welinder <terra@gnome.org>
2245 * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2246 computing range size. Fixes #704325.
2248 2013-07-15 Morten Welinder <terra@gnome.org>
2250 * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2251 that. Fixes #704004.
2253 * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2255 * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2256 against oversize range.
2258 2013-07-12 Morten Welinder <terra@gnome.org>
2260 * src/expr.c (gnm_expr_range_op): When constructing a range, make
2261 sure it falls within the sheet.
2262 (gnm_expr_new_range_ctor): Don't optimize to range if the two
2263 parts are on different sheets. Fixes #704109.
2265 2013-07-10 Morten Welinder <terra@gnome.org>
2267 * configure.ac: Post-release bump.
2269 2013-07-10 Morten Welinder <terra@gnome.org>
2273 2013-07-10 Morten Welinder <terra@gnome.org>
2275 * src/value.c (parse_criteria): Patterns should anchor at the end
2276 (#703770) and be case insensitive (no bug#).
2278 2013-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2280 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2281 to create an image of unknown type
2283 2013-07-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2285 * src/graph.c (gnm_go_data_vector_load_len): use consistent
2287 (cb_assign_val): quieten warning about signed/unsigned comparison
2289 2013-07-03 Morten Welinder <terra@gnome.org>
2291 * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2293 (cb_assign_val): Ditto.
2295 2013-07-02 Morten Welinder <terra@gnome.org>
2297 * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2298 (cb_style_list_add_node): Ditto.
2299 (verify_hashes): Ditto.
2300 (internal_style_list): Ditto.
2302 * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2305 2013-07-01 Morten Welinder <terra@gnome.org>
2307 * configure.ac (long double): Crude use -lm for long double
2308 function checks. Fixes #703397.
2310 2013-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2312 * src/expr.c (gnm_expr_list_copy): new
2313 * src/expr.h (gnm_expr_list_copy): new
2315 2013-06-26 Morten Welinder <terra@gnome.org>
2317 * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2318 of ->op before using it. Fixes #703143.
2320 2013-06-26 Jean Brefort <jean.brefort@normalesup.org>
2322 * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2324 (gnm_so_path_copy): fixed copy with multiple paths.
2326 2013-06-25 Morten Welinder <terra@gnome.org>
2328 * configure.ac: Post-release bump.
2330 2013-06-25 Morten Welinder <terra@gnome.org>
2334 2013-06-24 Morten Welinder <terra@gnome.org>
2336 * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2337 sheet. Fixes #703006.
2339 2013-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2341 * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2344 2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
2346 * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2347 a valid pattern. [#702833]
2348 * src/pattern.c (gnumeric_background_set): ditto.
2350 2013-06-21 Morten Welinder <terra@gnome.org>
2352 * src/item-grid.c (item_grid_draw_region): Plug leak.
2354 * src/item-bar.c (ib_reload_style): Plug leak.
2356 2013-06-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2358 * src/wbc-gtk.c (show_gui): protect against excessively large
2359 preferred widow sizes
2361 2013-06-14 Morten Welinder <terra@gnome.org>
2363 * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2365 * src/workbook.c (workbook_sheet_delete): Debug.
2366 (workbook_dispose): Also clear style here. Styles can have
2367 dependents now. Fixes #702218.
2369 2013-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2371 * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2373 2013-06-12 Morten Welinder <terra@gnome.org>
2375 * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2378 2013-06-04 Morten Welinder <terra@gnome.org>
2380 * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2382 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2384 * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2385 (scg_comment_display): adjust background and fontcolor if necessary
2387 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2389 * src/item-grid.c (cb_cursor_come_to_rest):
2390 gnumeric_position_tooltip needs the tooltip size, so load the text
2393 2013-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2395 * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2398 2013-05-27 Morten Welinder <terra@gnome.org>
2400 * src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
2401 and we aren't very good at it.
2403 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2405 * component/Gnumeric-embed.xml.in: add accelerator
2406 * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2407 * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2408 (EditGotoCellIndicator): new
2409 * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2410 (wbcg_focus_current_cell_indicator): new
2411 * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2413 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2415 * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2416 * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2417 * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2418 * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2420 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2422 * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2423 behave the same as far as cell selection is concerned. This fixes
2425 (item_grid_button_released): ditto
2427 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2429 * src/sheet.c (sheet_get_extent): add argument to indicate whether
2430 to include hidden cells
2431 (cb_sheet_get_extent): handle hidden cells setting
2432 (sheet_get_printarea): do not include hidden cells
2433 * src/sheet.h (sheet_get_extent): add argument and change all
2436 2013-05-26 Morten Welinder <terra@gnome.org>
2438 * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2439 Termiate when contributions vanish.
2441 2013-05-24 Morten Welinder <terra@gnome.org>
2443 * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2445 (pfuncinverter): Handle lack of dfunc (poorly).
2447 2013-05-23 Morten Welinder <terra@gnome.org>
2449 * src/mathfunc.c (ptukey_otsum): Split integration of a single
2450 interval out from out from R_ptukey.
2451 (R_ptukey): Split the interval nearest 0 into a sequence of
2452 intervals over which the integrand looks a lot more like a
2453 polynomial. This fixes accuracy problems for low degrees of
2456 * src/sheet-style.c (internal_style_list): Fix critical.
2458 2013-05-22 Morten Welinder <terra@gnome.org>
2460 * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2462 2013-05-21 Morten Welinder <terra@gnome.org>
2464 * src/mathfunc.c (R_ptukey): More C, less Fortran.
2466 2013-05-19 Morten Welinder <terra@gnome.org>
2468 * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2470 (pnorm2): Get rid of mu and sigma arguments. Improve accuracy.
2472 2013-05-18 Morten Welinder <terra@gnome.org>
2474 * src/mathfunc.c (pnorm2): New function.
2475 (R_ptukey): New function imported from R with local improvements.
2477 2013-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2479 * src/print.c (gnm_create_widget_cb): by default observe
2482 2013-05-14 Morten Welinder <terra@gnome.org>
2484 * src/rangefunc.c (gnm_range_multinomial): Add range check.
2485 (gnm_range_geometric_mean): Handle two FIXMEs.
2487 2013-05-13 Morten Welinder <terra@gnome.org>
2489 * src/*.c: Mark gobject property strings as P_(...).
2491 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2493 * src/commands.c (cmd_merge_data_redo): unref merge_contents
2495 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2497 * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2498 rather than gnm_cell_assign_value
2500 2013-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2502 * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2505 2013-05-05 Morten Welinder <terra@gnome.org>
2507 * src/dependent.c (style_dep_eval): New function. Re-clear the
2508 rendered value here. Fixes #699647.
2510 2013-05-03 Morten Welinder <terra@gnome.org>
2512 * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2513 accelerator for redo. Fixes #699579.
2514 (wbc_gtk_create_notebook_area): Mark the button notebook as non
2517 * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2519 2013-05-01 Morten Welinder <terra@gnome.org>
2521 * src/print-info.c: Add gsf includes to make things work with
2522 libgsf 1.14.24. Redhat #957851.
2524 2013-04-29 Morten Welinder <terra@gnome.org>
2526 * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2529 2013-04-26 Morten Welinder <terra@gnome.org>
2531 * configure.ac: Post-release bump.
2533 2013-04-26 Morten Welinder <terra@gnome.org>
2537 2013-04-26 Morten Welinder <terra@gnome.org>
2539 * src/gnumeric.css (GnmItemBar): Make red labels for selected
2540 row/column items the default.
2542 2013-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2544 * src/wbc-gtk-actions.c: rename some items in the statistics menu
2546 2013-04-24 Morten Welinder <terra@gnome.org>
2548 * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2549 widget parameter. All callers changed.
2551 * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2552 delayedMovement.timer.
2554 * src/item-cursor.c (gnm_item_cursor_init): Ditto
2557 * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2558 windows_update_timer.
2560 * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2561 guint to match glib. Use 0 as undefined since (guint)-1 is a
2564 * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2567 2013-04-23 Morten Welinder <terra@gnome.org>
2569 * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2571 * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2572 critical. Fixes #698680.
2574 * src/gui-file.c (gui_file_save_as): For export, change extension.
2577 2013-04-22 Morten Welinder <terra@gnome.org>
2579 * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2580 Somehow fixes #625687.
2582 2013-04-20 Morten Welinder <terra@gnome.org>
2584 * src/go-data-slicer-field.c
2585 (go_data_slicer_field_set_field_type_pos): Add precondition for
2588 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2590 * src/print-info.c (render_title): new
2592 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2594 * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2596 (sheet_range_set_text): ditto
2598 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2600 * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2603 2013-04-22 Morten Welinder <terra@gnome.org>
2605 * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2607 2013-04-19 Morten Welinder <terra@gnome.org>
2609 * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2610 view approach. Fixes #689283.
2612 * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2614 (wbc_gtk_init_color_fore): Ditto.
2615 (wbc_gtk_init_color_back): Ditto.
2617 2013-04-17 Morten Welinder <terra@gnome.org>
2619 * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2622 * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2625 * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2626 only for horizontal toolbars.
2628 * src/gui-file.c (file_saver_format_changed_cb): New function to
2629 change the extension when the format is changed.
2630 (gui_file_save_as): Don't try to hide the extension -- it
2631 interferes with the file chooser's completion. Fixes #695839.
2633 2013-04-16 Morten Welinder <terra@gnome.org>
2635 * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2636 menu for graph sheets. Fixes #685446.
2637 (sheet_menu_label_run): Disable resize for graph sheets.
2639 * src/value.c (parse_criteria): Anchor only at start. Fixes
2641 (parse_criteria): Handle criteria "=" and "<>" (with no value
2642 after the operator) special. These test for empty and non-empty
2643 values. Fixes #686156.
2645 * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2646 "anchor_start" and "anchor_end". All callers changed.
2648 2013-04-15 Morten Welinder <terra@gnome.org>
2650 * src/application.c (add_icon): Plug leak.
2652 * src/number-match.c (format_match_decimal_number): Try also major
2653 non-locale currencies. Fixes #577768.
2655 2013-04-13 Morten Welinder <terra@gnome.org>
2657 * src/mathfunc.c (pochhammer): Improve precision a bit.
2658 (binomialcf): Lower cfSmall by 10^3. This helps
2661 * configure.ac (GETTEXT_PACKAGE): Add version number so that
2662 doesn't prevent multiple versions from co-existing.
2664 * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2665 dirty. Callers already appear to handle this when needed
2666 and not when not wanted. Fixes #697927.
2668 2013-04-12 Morten Welinder <terra@gnome.org>
2670 * src/mathfunc.c (gnm_owent): Fix a==1 special case. Part of
2672 (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2674 (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2676 2013-04-11 Morten Welinder <terra@gnome.org>
2678 * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2679 reference with invalid_sheet. Fixes #683494.
2681 * src/complex.c (complex_to_string): Drop format arguments. All
2682 callers changed. Make up a format with enough precision for round
2683 tripping. Fixes #697634.
2685 2013-04-09 Morten Welinder <terra@gnome.org>
2687 * src/complex.c (complex_from_string): Make this handle embedded
2688 spaces systematically.
2689 (is_unit_imaginary): Delete.
2691 2013-04-09 Morten Welinder <terra@gnome.org>
2693 * src/complex.c (complex_pow): Use Goffice's copy.
2695 2013-04-05 Morten Welinder <terra@gnome.org>
2697 * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2698 new screens. Add hack for pre-GTK 3.4.
2700 * src/mathfunc.c (gnm_owent): New function.
2702 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2704 * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2705 functions used as vectors. [697281]
2707 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2709 * src/graph.c (gnm_go_data_vector_load_values),
2710 (gnm_go_data_vector_get_str): fix values and strings loading in case of
2713 2013-04-03 Morten Welinder <terra@gnome.org>
2715 * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2716 attributes of the tab.
2718 * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2719 GnmNotebookButton, not an EditableLabel.
2721 2013-04-02 Morten Welinder <terra@gnome.org>
2723 * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2725 (cb_wbcg_drag_leave): Ditto.
2727 2013-03-27 Morten Welinder <terra@gnome.org>
2729 * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2730 key we look up. When did that change?
2732 2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
2734 * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2737 2013-03-26 Morten Welinder <terra@gnome.org>
2739 * src/item-edit.c: Theme the in-cell edit background color.
2741 * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2743 src/gui-gnumeric.h: Remove.
2745 * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2746 non-NULL if there is a selection.
2747 (gnumeric_background_set_gtk): Delete. Make callers use
2748 gnumeric_background_set.
2750 * src/preview-grid.c (preview_grid_draw_background): Always
2751 provide a context to gnumeric_background_set.
2752 * src/item-edit.c (item_edit_draw): Ditto.
2754 * src/item-cursor.c (ic_reload_style): Use class, not state, to
2755 separate the different cursor types. Separate autofill colouring
2758 2013-03-25 Morten Welinder <terra@gnome.org>
2760 * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2762 (ic_reload_style): Theme some of the cursor colors.
2764 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2767 * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2769 * src/gnumeric.css: use deprecated px-free syntax for padding, so
2770 gtk+ 3.2 can deal with it.
2772 * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2773 can suppress deprecations.
2775 * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2778 * src/item-bar.c (ib_reload_style): Load fonts from style.
2780 2013-03-24 Morten Welinder <terra@gnome.org>
2782 * src/item-grid.c (item_grid_draw_region): Draw the background at
2783 the right coordinates!
2785 2013-03-23 Morten Welinder <terra@gnome.org>
2787 * src/item-bar.c (ib_draw_cell): There's no point in going to and
2788 from GOColor here. Just use the color as-is.
2790 2013-03-19 Morten Welinder <terra@gnome.org>
2792 * src/application.c (install_icons): Install also the icon themed
2793 icons. No idea why we have both.
2795 * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2797 * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2798 (embedded_imgs): Add the rest from pixmaps.
2800 * configure.ac: No longer create src/pixmaps/Makefile
2802 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2803 these work for resources and absolute paths.
2805 2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
2807 * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2808 not sizeable objects bounds after dragging when zoom is not 100%.
2810 2013-03-18 Morten Welinder <terra@gnome.org>
2812 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2813 filter. It takes just long enough to be irritating.
2815 2013-03-17 Morten Welinder <terra@gnome.org>
2817 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2818 style since we're not picking it explicitly.
2819 (cb_font_filter): Fix leak.
2821 2013-03-14 Morten Welinder <terra@gnome.org>
2823 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2824 ignore non-scalable fonts.
2826 2013-03-11 Morten Welinder <terra@gnome.org>
2828 * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2830 2013-03-10 Morten Welinder <terra@gnome.org>
2832 * src/ssconvert.c (list_them): Skip savers/openers that require
2833 interaction. (We don't have any yet.)
2835 * src/stf.c (stf_read_workbook): Set error when we fail due to
2837 (stf_init): Mark the configurable saver/opener as interactive.
2839 * src/ssconvert.c (convert): Fix error handling. Fixes #695529.
2841 2013-03-09 Morten Welinder <terra@gnome.org>
2843 * configure.ac: Post-release bump.
2845 2013-03-09 Morten Welinder <terra@gnome.org>
2849 2013-03-06 Morten Welinder <terra@gnome.org>
2851 * src/wbc-gtk.c (list_actions): Handle a null group.
2853 2013-03-03 Morten Welinder <terra@gnome.org>
2855 * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2856 g_thread_init if compiled with later than glib 2.32.0.
2858 2013-03-02 Jean Brefort <jean.brefort@normalesup.org>
2860 * src/gnm-pane-impl.h: remove alignments.
2861 * src/gnm-pane.c (gnm_pane_header_init): dittO;
2862 * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2863 * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2864 * src/sheet-control-gui-priv.h: remove all tables by one grid.
2865 * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2866 (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2867 (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2868 (scg_mode_edit): ditto.
2869 * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2870 (cb_sheet_visibility_change), (wbcg_sheet_add),
2871 (wbcg_sheet_remove), (wbcg_sheet_focus),
2872 (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2873 (wbcg_get_nth_scg): ditto.
2875 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2877 * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2878 * src/print.c (gnm_create_widget_cb): ditto.
2879 * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
2881 2013-03-01 Morten Welinder <terra@gnome.org>
2883 * src/mathfunc.h: Make sure the "q" functions take "p" as their
2884 first argument, not "x".
2886 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2888 reviewed by: <delete if not using a buddy>
2891 * src/sheet-object-widget.c (sheet_widget_button_user_config),
2892 (sheet_widget_adjustment_user_config_impl),
2893 (sheet_widget_checkbox_user_config),
2894 (sheet_widget_radio_button_user_config):
2895 * src/wbc-gtk.c (wbc_gtk_init):
2897 2013-02-28 Morten Welinder <terra@gnome.org>
2899 * configure.ac: remove the DISABLE_DEPRECATED defines even from
2900 development versions. We now get the information through gcc
2902 (solver): Make solver code unconditional. Feel free to not
2903 distribute the relevant plugins.
2905 2013-02-26 Morten Welinder <terra@gnome.org>
2907 * src/ssconvert.c (convert): Avoid segfault. Fixes #694741.
2909 2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
2911 * src/number-match.c: more introspection warnings.
2913 2013-02-23 Morten Welinder <terra@gnome.org>
2915 * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
2917 2013-02-21 Morten Welinder <terra@gnome.org>
2919 * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
2920 GHFunc. All callers changed. Impose a robust ordering.
2921 (sh_all_styles): New function replacing sh_foreach.
2923 2013-02-20 Morten Welinder <terra@gnome.org>
2925 * src/sheet-object-graph.c (dim_start): Survive malformed xml.
2927 2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
2929 * configure.ac: make configure --with-python fail when some
2930 dependency is missing.
2932 2013-02-17 Morten Welinder <terra@gnome.org>
2934 * configure.ac (set_more_warnings): Improve support for clang.
2936 2013-02-16 Morten Welinder <terra@gnome.org>
2938 * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
2939 (Most cases a matter of 0 vs. 0.)
2941 2013-02-16 Jean Brefort <jean.brefort@normalesup.org>
2943 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
2944 default value for stf export format.
2945 * src/dependent.c: fix introspection warnings.
2946 * src/sheet-style.c: ditto.
2948 2013-02-15 Morten Welinder <terra@gnome.org>
2950 * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
2951 3.2.0 just like goffice.
2953 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
2956 2013-02-14 Morten Welinder <terra@gnome.org>
2958 * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
2959 not MAXDOUBLE. Fixes #693761.
2961 2013-02-10 Morten Welinder <terra@gnome.org>
2963 * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
2964 doesn't belong here. We handle everything in rstyle_apply.
2966 2013-02-08 Morten Welinder <terra@gnome.org>
2968 * src/sheet-style.c (rstyle_apply): Take extra range argument and
2969 link/unlink style dependents. All callers changed.
2970 (sheet_style_shutdown): Set default style for whole sheet to
2971 ensure style dependents get cleared.
2973 2013-02-07 Morten Welinder <terra@gnome.org>
2975 * src/sheet-style.c (cell_tile_optimize): Implement
2976 ptr-matrix-to-matrix optimization and use it to simplify things.
2978 * src/dependent.c (GnmStyleDependent): New type of dependent.
2979 When triggered, the cells in which it resised will be rerendered
2982 * src/mstyle.c (gnm_style_link_dependents)
2983 (gnm_style_unlink_dependents): New functions to manage style
2984 dependents due to conditional formatting.
2986 2013-02-06 Morten Welinder <terra@gnome.org>
2988 * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
2989 inside-out in anticipation of future changes.
2991 (col_indicies, row_indicies): Alignment of the corners of apply_to
2992 is only relevant if we are within the tile.
2994 2013-02-06 Morten Welinder <terra@gnome.org>
2996 * src/sheet-style.c (tile_is_uniform): Extract from
2998 (vector_apply_pstyle): Don't return a value.
2999 (cell_tile_apply): Use tile_is_uniform.
3001 2013-02-05 Morten Welinder <terra@gnome.org>
3003 * src/sheet-style.c (sheet_style_get): Simplify with "while"
3004 instead of crazy "goto".
3005 (cell_tile_apply): Simplify the covers-whole-tile case.
3007 * src/sheet.h (Sheet): Remove max_width and max_height members.
3010 * src/dependent.h (GnmDependentClass): Add pos handler.
3012 * src/dependent.c (dependent_pos): Use pos handler.
3013 (dummy_dep_eval): New null handler for GnmDependentClass::eval.
3015 2013-02-04 Morten Welinder <terra@gnome.org>
3017 * src/dependent.c (dependent_pos): Make global.
3019 * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
3022 * src/ssconvert.c (run_tool_test): Add code for running the
3024 (convert): Run an analysis tool if requested. (For testing.)
3026 2013-02-02 Morten Welinder <terra@gnome.org>
3028 * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
3029 and rstyle_ctor_pstyle. All callers changed.
3031 2013-01-18 Morten Welinder <terra@gnome.org>
3033 * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
3034 (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
3036 (gnm_matrix_multiply): Renamed from mmult and changed to use above.
3037 (gnm_matrix_eigen): Change to take GnmMatrix arguments.
3039 2013-01-15 Morten Welinder <terra@gnome.org>
3041 * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
3042 import from command line.
3044 2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
3046 * configure.ac: renamed configure.in and update obsolete macros.
3047 * configure.in: ditto.
3049 2013-01-14 Colin Watson <cjwatson@ubuntu.com>
3052 distutils.sysconfig.get_python_inc(plat_specific=True) to Python
3055 2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
3057 * src/sheet-control-gui.c (sheet_control_gui_new): typo.
3058 * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
3059 twice the top and bottom margins when displaying a graph
3062 2013-01-10 Morten Welinder <terra@gnome.org>
3064 * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
3065 argument and assume TRUE. Drop scope name and assume NULL (which
3066 is what all callers should have used). All callers changed.
3067 (gnm_func_add_placeholder): Ditto.
3068 (invent_name): Downcase the preferred name.
3069 (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
3070 (gnm_func_add): Initialize arg_names_p.
3072 * src/gnm-plugin.c (plugin_service_function_group_activate):
3073 Upgrade existing placeholder functions as needed.
3075 * src/func.c (gnm_func_upgrade_placeholder): Rename from
3076 gnm_func_upgrade_placeholder. Take GnmFunc argument, not name.
3078 2013-01-10 Morten Welinder <terra@gnome.org>
3080 * src/func.c (gnm_func_add_placeholder_localized): New function.
3081 (gnm_func_add_placeholder_full): Extract from
3082 gnm_func_add_placeholder. Handle localization better.
3083 (gnm_func_set_localized_name): New function.
3084 (gnm_func_free, gnm_func_get_name): Use
3085 gnm_func_set_localized_name.
3087 * src/parse-util.c (std_func_map): Improve handling of unknown
3090 * src/func.c (gnm_func_group_remove_func): Factor this out from...
3091 (gnm_func_free): ...here.
3093 2013-01-09 Morten Welinder <terra@gnome.org>
3095 * src/symbol.c: delete.
3097 * src/func.c: rewrite to use GHashTable instead of symbol.c
3098 (gnm_func_lookup_prefix): Take extra argument indicating whether
3099 to search translated names. Caller changed.
3101 * src/parse-util.c (std_func_map): Lookup translated name as
3103 (parse_util_init): Add enviroment magic to turn on translated
3104 functions names. This is not ready for prime time and should be
3105 controlled by a user preference eventually.
3107 * src/mathfunc.c (gnm_matrix_eigen): Silence warning. Document a
3110 2013-01-07 Morten Welinder <terra@gnome.org>
3112 * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
3113 pivot. Use gnm_hypot where possible.
3115 2013-01-04 Morten Welinder <terra@gnome.org>
3117 * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
3118 as argument. Keep track of displays.
3119 (gnm_x_disown_clipboard): New function.
3121 * src/application.c (gnm_app_clipboard_clear): Use
3122 gnm_x_disown_clipboard to make things multi-head safe.
3124 2013-01-03 Morten Welinder <terra@gnome.org>
3126 * src/collect.c (collect_floats): Fix handling of
3127 COLLECT_IGNORE_ERRORS.
3128 (collect_strings): Ditto.
3129 (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
3131 2013-01-01 Morten Welinder <terra@gnome.org>
3133 * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
3134 deprecated goffice stuff.
3136 * src/cellspan.c (cell_register_span, cell_calc_span): Remove
3138 * src/gnm-pane.c (control_point_leave_notify): Ditto.
3139 * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
3140 * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
3142 * src/application.c (gnm_app_history_add): Kill warning.
3144 2012-12-31 Morten Welinder <terra@gnome.org>
3146 * src/sheet-style.c (sheet_style_resize): Double off-by-one.
3149 * src/ssdiff.c: Introduce --highlight mode.
3151 2012-12-30 Morten Welinder <terra@gnome.org>
3153 * src/ssdiff.c (main): Add option to send output to a file.
3155 2012-12-29 Morten Welinder <terra@gnome.org>
3157 * src/ssdiff.c (diff): Use C locale.
3158 (ignore_cell): Ignore arrays, except for the corner.
3159 (output_cell): New function taking proper care of value types,
3161 (xml_cell_changed): Use output_cell.
3162 (compare_corresponding_cells): Don't use entered_text here either,
3163 although it's harmless.
3164 (output_cell, compare_corresponding_cells): Handle value formats
3167 2012-12-28 Valek Filippov <frob@df.ru>
3169 * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3170 gdk_window_get_pointer calls.
3172 2012-12-28 Morten Welinder <terra@gnome.org>
3174 * src/*.c: Eliminate use of printf.
3176 * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3177 range offset here. This may need to move further.
3178 * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3179 (diff_sheets_cells): Ignore completely empty cells.
3180 (xml_sheet_start): Change meaning of Old and New attributes to be
3181 index_in_wb and absent when workbook doesn't have the sheet.
3182 (xml_style_changed): Describe style differences.
3184 2012-12-27 Morten Welinder <terra@gnome.org>
3186 * src/ssdiff.c (diff_sheets): Compare styles too.
3188 * src/sheet-style.c (sheet_style_range_foreach): Add optional
3189 range argument. All callers changed.
3191 2012-12-24 Morten Welinder <terra@gnome.org>
3193 * src/ssdiff.c (def_cell_changed): Merge cell_added and
3194 cell_removed handlers into the cell_changed handler.
3195 (main): Add --xml option.
3197 * configure.in: ssconvert, ssindex, and ssgrep are no longer
3198 configurable. We need ssconvert for the test and it's silly
3201 2012-12-18 Morten Welinder <terra@gnome.org>
3203 * configure.in: Post-release bump.