1 2017-01-30 Morten Welinder <terra@gnome.org>
3 * configure.ac: Post-release bump.
5 2017-01-30 Morten Welinder <terra@gnome.org>
9 2017-01-29 Morten Welinder <terra@gnome.org>
11 * src/style-conditions.c (gnm_style_cond_equal): New function.
12 (gnm_style_conditions_equal): ...split out from here.
14 2017-01-25 Morten Welinder <terra@gnome.org>
16 * src/mstyle.c (ELEM_IS_EQ): Fix last fix.
18 2017-01-22 Morten Welinder <terra@gnome.org>
20 * src/stf-parse.c (stf_cell_set_text): Don't parse "=..." as
21 expression for text formatted cells.
22 (stf_parse_sheet): Don't try number parsing for text formatted
23 columns. Fixes #777543.
25 2017-01-22 Jean Brefort <jean.brefort@normalesup.org>
27 * src/graph.c (cb_assign_string), (gnm_go_data_vector_get_str): use cell
28 format when generating the string. [#777338]
30 2017-01-19 Morten Welinder <terra@gnome.org>
32 * src/mstyle.c (ELEM_IS_EQ): Don't compare conditions by pointer.
34 * src/style-conditions.c (gnm_style_conditions_equal): New
37 2016-12-08 Morten Welinder <terra@gnome.org>
39 * src/mathfunc.c (gnm_linear_solve): Use proper matrix type. All
41 (gnm_linear_solve_multiple): Ditto.
43 2016-10-02 Morten Welinder <terra@gnome.org>
45 * src/libgnumeric.c (gnm_pre_parse_init): Don't pretend the
46 g_mem_set_vtable stuff actually works anymore.
48 2016-08-21 Morten Welinder <terra@gnome.org>
50 * src/sstest.c (options): Add --fast option.
52 * src/value.c (value_get_as_gstring): Let a negative
53 decimal_digits mean "shortest round-tripping string".
55 2016-08-20 Morten Welinder <terra@gnome.org>
57 * configure.ac: Post-release bump.
59 2016-08-20 Morten Welinder <terra@gnome.org>
63 2016-08-08 Morten Welinder <terra@gnome.org>
65 * src/criteria.c (criteria_inspect_values): Add flag for string
66 coercion. Only the equality test wants that.
68 * src/value.c (criteria_inspect_values): Floats don't match
71 2016-08-04 Morten Welinder <terra@gnome.org>
73 * src/rangefunc-strings.c (range_concatenate): Add (unused) user
76 * src/collect.c (string_range_function): Add user pointer. Caller
79 2016-06-29 Morten Welinder <terra@gnome.org>
81 * configure.ac: Post-release bump.
83 2016-06-29 Morten Welinder <terra@gnome.org>
87 2016-06-29 Morten Welinder <terra@gnome.org>
89 * src/parse-util.c (std_expr_name_handler): Fix workbook confusion
90 related to sheet-local names. [#768164]
92 2016-06-28 Morten Welinder <terra@gnome.org>
94 * src/stf-parse.c (stf_parse_options_guess_formats): Handle lines
97 2016-06-21 Morten Welinder <terra@gnome.org>
99 * src/value.c (criteria_test_greater_or_equal): Use case-folding
100 comparisons for strings.
101 (parse_criteria, parse_criteria_range): Add argument controlling
102 whether to anchor matching at end of string.
103 (parse_database_criteria): Don't anchor here.
105 2016-06-17 Morten Welinder <terra@gnome.org>
107 * configure.ac: Post-release bump.
109 2016-06-17 Morten Welinder <terra@gnome.org>
113 2016-06-17 Morten Welinder <terra@gnome.org>
115 * src/value.c (parse_criteria): Anchor matches at the beginning,
118 2016-06-11 Morten Welinder <terra@gnome.org>
120 * src/value.c (find_rows_that_match): Fix blank handling.
121 (criteria_test_unequal): Wrong type means unequal.
122 (criteria_test_match): Only match strings.
123 (parse_criteria): Don't anchor matches. This is the right thing
124 to do for DSUM and friends. Hopefully this doesn't break anything
126 (criteria_inspect_values): Strings are incompatible with
128 (criteria_test_less, criteria_test_less_or_equal)
129 (criteria_test_greater, criteria_test_greater_or_equal): handle
132 2016-05-19 Morten Welinder <terra@gnome.org>
134 * src/stf-parse.c (stf_parse_options_guess_formats): Separate
135 decimal counts for the hypothetical comma and point choices.
137 2016-05-10 Morten Welinder <terra@gnome.org>
139 * src/stf-parse.h (struct StfParseOptions_t): Remove unused struct
142 2016-05-06 Morten Welinder <terra@gnome.org>
144 * configure.ac: Post-release bump.
146 2016-05-06 Morten Welinder <terra@gnome.org>
150 2016-04-29 Morten Welinder <terra@gnome.org>
152 * src/gui-util.c (gnm_style_context_get_color): Fix function
153 wrapping gtk_style_context_get_color which changed API.
155 2016-04-24 Morten Welinder <terra@gnome.org>
157 * src/value-sheet.c (value_area_get_x_y): Use
158 gnm_rangeref_normalize. Do full wrap-around.
160 2016-04-24 Jean Brefort <jean.brefort@normalesup.org>
162 * src/graph.c (gnm_go_data_matrix_load_values): fix array
165 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
167 * configure.ac: protect against pxlib weirdness.
169 2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
171 * src/graph.c (gnm_go_data_vector_load_len): return a nul length if the
174 2016-03-22 Morten Welinder <terra@gnome.org>
176 * configure.ac: Post-release bump.
178 2016-03-22 Morten Welinder <terra@gnome.org>
182 2016-03-02 Morten Welinder <terra@gnome.org>
184 * src/sf-bessel.c: Return complex numbers by value, not reference.
186 2016-02-23 Morten Welinder <terra@gnome.org>
188 * src/sf-gamma.c: Properly use gnm_ldexp, not ldexp.
190 2016-02-18 Morten Welinder <terra@gnome.org>
192 * src/parse-util.c (unquote): Properly account backslashes. Fixes
195 2016-02-12 Morten Welinder <terra@gnome.org>
197 * src/complex.h: Add a direct-value interface.
199 * src/ssconvert.c (run_solver): Also create solver reports as
200 indicated in options.
202 * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
204 2016-02-10 Morten Welinder <terra@gnome.org>
206 * src/gnumeric.css (toolbarzone): Set padding for toolbar children
207 to 1px. While that may be a sligh increase for certain
208 themes/gtk+ versions, it is a large decrease for others, notably
209 what comes with an out-of-the-box OpenSuSE leap. Override in
210 ~/.config/gtk-3.0/gtk.css if need be.
212 * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
213 wheel for horizontal motion instead of alt. Window managers tend
216 2016-02-08 Morten Welinder <terra@gnome.org>
218 * src/graph.c (gnm_go_data_vector_eval)
219 (gnm_go_data_vector_finalize): Plug leak.
221 2016-02-06 Morten Welinder <terra@gnome.org>
223 * configure.ac: Post-release bump.
225 2016-02-06 Morten Welinder <terra@gnome.org>
229 2016-02-06 Morten Welinder <terra@gnome.org>
231 * configure.ac (goffice): Require latest for
232 go_complex_from_polar_pi.
234 * src/sf-gamma.c (complex_igamma): Apply fixup for upper gamma
235 when x<0 and a is real.
237 2016-02-04 Morten Welinder <terra@gnome.org>
239 * src/sf-gamma.c (complex_temme_D): Fix factorial computation.
240 (gnm_complex_continued_fraction): Fail if we would otherwise try
241 to rescale by 0. Fix termination condition.
242 (igamma_asymp): Fix term update.
243 (complex_igamma): Fix flavour fixup.
245 2016-02-02 Morten Welinder <terra@gnome.org>
247 * src/sf-gamma.c (complex_igamma): Try asymptotic expansion.
248 (gamma_error_factor): Extend to all positive numbers.
249 (pochhammer_small_n): Allow any x > 1.
250 (qbetaf): Use pochhammer_small_n as long as a > 1 and |b| < 1.
252 2016-02-01 Morten Welinder <terra@gnome.org>
254 * configure.ac (yacc, lex): Fail if the required program isn't
257 2016-01-31 Morten Welinder <terra@gnome.org>
259 * src/sf-gamma.c (igamma_upper_cf): Extract generic code for
260 complex continued fractions.
262 2016-01-30 Morten Welinder <terra@gnome.org>
264 * src/sheet-object-widget.c (get_font): Under ssconvert, don't try
265 GtkStyleContext. Another ABI changes causes that to crash.
267 * src/value.c (find_column_of_field): Insist that the database be
268 a cell range, not an array.
270 2016-01-29 Morten Welinder <terra@gnome.org>
272 * src/sf-bessel.c (gnm_bessel_i): Use series for small x.
273 (bessel_ij_series): Rename from bessel_j_series and extend to
276 * src/sf-gamma.c (qbetaf): Improve accuracy in the case where one
277 argument is less than one.
279 * src/xml-sax-read.c (xml_sax_filter_condition): Leak fix and warn
280 about broken sheet filter.
282 * src/sheet-filter.c (gnm_filter_condition_new_single)
283 (gnm_filter_condition_new_double): Plug leak on error.
284 (gnm_filter_op_needs_value): Handle GNM_FILTER_UNUSED.
286 2016-01-28 Jean Brefort <jean.brefort@normalesup.org>
288 * src/graph.c (gnm_go_data_vector_get_str): fix for a range
291 2016-01-27 Morten Welinder <terra@gnome.org>
293 * src/sf-bessel.c (gnm_bessel_j, gnm_bessel_y): New
296 * src/wbc-gtk.c (cb_add_menus_toolbars): Work around gtk+ bug with
299 2016-01-23 Morten Welinder <terra@gnome.org>
301 * src/parser.y (yylex): Be careful about overflowing numeric
302 token. Fixes #761023.
304 2016-01-20 Morten Welinder <terra@gnome.org>
306 * src/complex.h: Namespace. Mostly for macros.
308 2016-01-16 Morten Welinder <terra@gnome.org>
310 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_ungrab): Drop
311 unused time argument. All callers changed.
312 (gnm_simple_canvas_grab): Remove unused arguments and return
313 value. All callers changed.
315 * src/item-bar.c (item_bar_button_pressed): Handle multiple clicks
316 without regrabbing the focus. See #760639.
318 2016-01-13 Morten Welinder <terra@gnome.org>
320 * src/sstest.c (test_random_randsnorm)
321 (test_random_randbernoulli): Print expected stats.
323 * src/xml-sax-read.c (xml_sax_filter_condition): Ensure o0 and op1
324 are sane. Fixes #760544.
326 2016-01-08 Morten Welinder <terra@gnome.org>
328 * src/sf-dpq.c (drayleigh): Undo last change and improve accuracy.
330 2016-01-06 Morten Welinder <terra@gnome.org>
332 * src/mathfunc.c (ebd0): Fix problem with overflow. [#760230]
334 2016-01-04 Morten Welinder <terra@gnome.org>
336 * src/sheet-style.c (sheet_style_apply_range)
337 (sheet_style_set_range): Silently ignore inverted ranges.
339 2016-01-03 Morten Welinder <terra@gnome.org>
341 * src/sheet-style.c (sheet_style_apply_range)
342 (sheet_style_set_range): Ensure sanity of range. Fixes #760102.
344 2016-01-02 Morten Welinder <terra@gnome.org>
346 * src/mathfunc.c (expmx2h): Explicitly handle nan, just in case.
348 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
349 zero record size. Fixes #760087.
351 * src/mathfunc.c (pow1p): Handle nan. Fixes #760085.
353 2016-01-01 Morten Welinder <terra@gnome.org>
355 * src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
357 * src/expr-name.c (expr_name_add): Improve check for circular name
358 defintion. Fixes #760046.
360 2015-12-28 Morten Welinder <terra@gnome.org>
362 * src/ssconvert.c (convert): When separating sheets, move current
363 sheet to the front. See bug #694408.
365 * src/stf-export.c (gnm_stf_file_saver_save): If we add current
366 sheet, remove it at the end.
368 2015-12-28 Morten Welinder <terra@gnome.org>
370 * configure.ac: Post-release bump.
372 2015-12-28 Morten Welinder <terra@gnome.org>
376 2015-12-26 Morten Welinder <terra@gnome.org>
378 * src/sheet-control-gui.c (sheet_control_gui_new): Hook up screen
379 change here (on the grid).
380 (scg_class_init): Not here. We're not derived from GtkWidget.
382 * src/sheet-style.c (foreach_tile_r): Rename from foreach_tile.
383 (foreach_tile): New top-level function taking few parameters. All
386 2015-12-25 Morten Welinder <terra@gnome.org>
388 * configure.ac: Post-release bump.
390 2015-12-25 Morten Welinder <terra@gnome.org>
394 2015-12-22 Morten Welinder <terra@gnome.org>
396 * src/ssdiff.c (xml_style_changed): Do more for input message and
399 2015-12-20 Morten Welinder <terra@gnome.org>
401 * src/sheet-control-gui.c (scg_screen_changed): New handler to get
403 (scg_resize): Limit frozen zones to screen size. Not idea, but
404 better than crashing.
406 2015-12-19 Morten Welinder <terra@gnome.org>
408 * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
410 2015-12-13 Morten Welinder <terra@gnome.org>
412 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
413 merges on column/row insert. Fixes #504004.
415 2015-12-12 Morten Welinder <terra@gnome.org>
417 * src/sheet-merge.c (gnm_sheet_merge_relocate): Handling clipping
418 when the merge partially falls off the far end.
420 2015-12-10 Morten Welinder <terra@gnome.org>
422 * src/gui-util.c (gnm_action_group_add_action): New wrapper to
423 ensure actions get accel paths.
425 2015-12-09 Morten Welinder <terra@gnome.org>
427 * src/wbc-gtk.c (wbcg_find_action): New function to look in
428 multiple places for an action.
430 * src/gui-util.c (gnm_action_group_add_actions): Handle
431 translation context. Also handle toggle actions.
433 2015-12-08 Morten Welinder <terra@gnome.org>
435 * src/wbc-gtk-actions.c (actions): Use GnmActionEntry and C99
438 * src/gui-util.c (gnm_action_group_add_actions): New function,
439 currently quite dumb.
441 * configure.ac (CC): Insist on c99.
443 2015-12-05 Morten Welinder <terra@gnome.org>
445 * src/sf-dpq.c (prayleigh, qrayleigh): New functions.
446 (drayleigh): Define in terms of dweibull.
448 2015-12-03 Morten Welinder <terra@gnome.org>
450 * src/sf-dpq.c (discpfuncinverter): Fix problem at left edge of
451 support. Fixes R.QHYPER(0.1,3,99,13)
453 2015-10-19 Morten Welinder <terra@gnome.org>
455 * src/func-builtin.c (gnumeric_table): Make sure to invalidate
456 in[2]. Fixes #752182.
458 2015-09-25 Morten Welinder <terra@gnome.org>
460 * src/func-builtin.c (gnumeric_table): Don't try to be smart and
461 avoid value copying. Fixes #752181.
462 (gnumeric_table): Handle repeated cells. Fixes #752178.
464 2015-09-20 Morten Welinder <terra@gnome.org>
466 * configure.ac: Post-release bump.
468 2015-09-20 Morten Welinder <terra@gnome.org>
472 2015-09-19 Jean Brefort <jean.brefort@normalesup.org>
474 * src/gui-file.c (gui_file_save_as): just change the extension not more
475 when the original filename has several dots. [ubuntu #1497344]
477 2015-09-11 Jean Brefort <jean.brefort@normalesup.org>
479 * src/sheet-object.c (cb_so_snap_to_grid): fixed for one cell and absolute
482 2015-08-24 Jean Brefort <jean.brefort@normalesup.org>
484 * src/sheet-object.c (sheet_object_update_bounds),
485 (sheet_object_set_sheet), (sheet_object_pts_to_anchor): make sure that
486 the objects bounds are always updated. Really fix printing.
487 * src/xml-sax-write.c (xml_write_objects): revert previous change.
489 2015-08-23 Jean Brefort <jean.brefort@normalesup.org>
491 * src/print.c (gnm_print_sheet_objects): a better fix for sheet objects
492 printing, but still not perfect.
493 * src/sheet-object.c (sheet_object_pts_to_anchor): ditto.
494 * src/xml-sax-write.c (xml_write_objects): ditto.
496 2015-08-22 Jean Brefort <jean.brefort@normalesup.org>
498 * src/print.c (gnm_print_sheet_objects): fix printing of sheet objects
499 with one cell or absolute anchors. [#753961]
500 * src/sheet-object.c (sheet_object_draw_cairo):
502 2015-07-28 Morten Welinder <terra@gnome.org>
504 * configure.ac: Post-release bump.
506 2015-07-28 Morten Welinder <terra@gnome.org>
510 2015-07-14 Morten Welinder <terra@gnome.org>
512 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: Fix typo.
515 2015-07-09 Morten Welinder <terra@gnome.org>
517 * src/position.c (gnm_cellpos_init_cellref_ss): Do a full modulo
518 operation. Fixes #752124.
520 2015-07-06 Morten Welinder <terra@gnome.org>
522 * src/func-builtin.c (gnumeric_table): Avoid FMR. Fixes #752021.
524 2015-07-05 Jean Brefort <jean.brefort@normalesup.org>
526 * src/sheet-object-graph.c (vector_end): fix array overflow. [#751971]
528 2015-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
530 * src/value.c (value_compare_real): handle two empty values however
533 2015-07-03 Morten Welinder <terra@gnome.org>
535 * src/func-builtin.c (gnumeric_table): Return #REF! outside array
538 2015-06-30 Morten Welinder <terra@gnome.org>
540 * src/expr.c (gnm_expr_eval): Don't crash if an empty array makes
543 2015-06-29 Morten Welinder <terra@gnome.org>
545 * src/func.c (function_iterate_argument_values): Improve name
546 handling. Part of #751660.
548 2015-06-28 Morten Welinder <terra@gnome.org>
550 * src/value-sheet.c (value_area_get_width, value_area_get_height):
551 Use the same normalization as value_area_foreach. Fixes #751390.
553 * src/stf.c (clear_stray_NULs): Also truncate invalid UTF-8.
556 2015-06-26 Morten Welinder <terra@gnome.org>
558 * src/value.c (value_new_array_empty): Store value_new_empty(),
559 not NULL, in the slots. We can make this change because
560 value_new_empty() is a singleton that does not need to be
561 released. Fixes #751502.
563 2015-06-24 Jean Brefort <jean.brefort@normalesup.org>
565 * src/sheet-object-graph.c (dim_start): fix index test. [#751383]
567 2015-06-23 Jean Brefort <jean.brefort@normalesup.org>
569 * src/xml-sax-read.c (gnm_xml_finish_obj), (xml_sax_read_obj),
570 (xml_sax_object_end): ensure we always use the right state. [#751217]
572 2015-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
574 * samples/excel/engfuns.xls: update to use correct lbm->g conversion
576 2015-06-20 Morten Welinder <terra@gnome.org>
578 * src/go-data-cache.c (go_data_cache_records_set_size): Check for
580 (go_data_cache_records_fetch_index): If resizing failed return
583 2015-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
585 * src/parse-util.h (_GnmConventions): add union_char field
586 * src/parser.y (yylex): handle union_char
587 (setup_state): set union_char
589 2015-06-18 Morten Welinder <terra@gnome.org>
591 * src/xml-sax-read.c (xml_sax_read_obj): Only allow type names
592 specifying types derived from sheet objects. Fixes #751126.
593 (xml_sax_hlink): Similarly.
595 2015-06-16 Morten Welinder <terra@gnome.org>
597 * src/xml-sax-read.c (handle_delayed_names): Check for circularity
598 in names. Fixes #751056.
600 2015-05-27 Morten Welinder <terra@gnome.org>
602 * src/print.c (compute_scale_fit_to): Attempt a workaround for fp
603 division by zero. Fixes #749917.
605 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
607 2015-05-16 Jean Brefort <jean.brefort@normalesup.org>
609 * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
612 2015-05-11 Morten Welinder <terra@gnome.org>
614 * src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
615 something bad that will happen whenever FALSE equals TRUE.
617 * src/go-data-cache.c (go_data_cache_set_val): Use memcpy for
620 * src/cell.c (gnm_cell_set_array): Improve preconditions.
622 2015-05-09 Morten Welinder <terra@gnome.org>
624 * src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
626 2015-04-28 Morten Welinder <terra@gnome.org>
628 * src/xml-sax-read.c (read_file_free_state): Plug leaks related to
629 malformed documents. Fixes #748596.
630 (xml_sax_unknown): Don't rely on xin->user_state here. Fixes
633 2015-04-16 Morten Welinder <terra@gnome.org>
635 * configure.ac: Post-release bump.
637 2015-04-16 Morten Welinder <terra@gnome.org>
641 2015-04-15 Morten Welinder <terra@gnome.org>
643 * src/ranges.c (gnm_range_compare): New function.
645 2015-04-13 Jean Brefort <jean.brefort@normalesup.org>
647 * src/wbc-gtk.c (set_entry_contents): format number whenever possible.
648 (see #700599, comment #11).
650 2015-04-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
652 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): if there is no
653 sheet object name, try the image name.
655 2015-04-11 Morten Welinder <terra@gnome.org>
657 * src/sf-dpq.c (qcauchy): Handle cancellation.
659 * src/mathfunc.c (pcauchy): Simplify.
661 * src/sf-dpq.c (dnorm): Improve accuracy in certain far-tail cases.
662 (drayleigh): Import from fn-stat. Rename. Improve accuracy.
664 2015-04-09 Morten Welinder <terra@gnome.org>
666 * src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
669 2015-04-04 Morten Welinder <terra@gnome.org>
671 * src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
674 * src/xml-sax-write.c (xml_write_objects): Save only relevant
675 parts of the cell bound.
677 * src/sheet-control-gui.c (scg_object_coords_to_anchor):
678 Initialize parts of cell_bound not used.
680 2015-04-01 Morten Welinder <terra@gnome.org>
682 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): Use
683 GNM_XML_2ND here too.
684 (gnm_sogg_sax_parser_done): Plug leak.
686 2015-03-30 Morten Welinder <terra@gnome.org>
688 * src/sheet-object.c (gnm_sheet_object_anchor_mode_get_type): New
691 * src/xml-sax-read.c (xml_sax_read_obj): Use an enum for anchor
694 * src/sstest.c (test_random_randhyperg): Take var=0 case into
695 account when checking mean.
697 * src/sheet-object-graph.c (sheet_object_graph_new): Allow NULL
700 2015-03-30 Jean Brefort <jean.brefort@normalesup.org>
702 * src/graph.h: add support for absolute anchoring of sheet objects.
703 * src/item-grid.c: ditto.
704 * src/sheet-control-gui.c: ditto.
705 * src/sheet-filter.c: ditto.
706 * src/sheet-object-cell-comment.c: ditto.
707 * src/sheet-object-component.c: ditto.
708 * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
709 cells by default. [#684450]
710 * src/sheet-object-image.c: make images don't resize with cells by default.
711 * src/sheet-object.c : add support for absolute anchoring of sheet objects.
712 * src/sheet-object.h: ditto.
713 * src/workbook-view.c: ditto.
714 * src/xml-sax-read.c: ditto.
715 * src/xml-sax-write.c: ditto.
717 2015-03-30 Morten Welinder <terra@gnome.org>
719 * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
721 2015-03-23 Morten Welinder <terra@gnome.org>
723 * src/sstest.c (rand_fractile_test): Plug leak.
725 2015-03-21 Morten Welinder <terra@gnome.org>
727 * src/sstest.c (rand_fractile_test): Add support for
728 non-continuous distributions.
730 * src/mathfunc.c (qgeom): Update to current version in R.
732 * src/gnm-random.c (random_geometric): Don't add one.
733 r.{d,p,q}geom all use the version with support {0,1,2,3,...}
735 2015-03-20 Morten Welinder <terra@gnome.org>
737 * src/sstest.c (test_random_randbinom): New test.
738 (test_random_randbetween): New test.
739 (test_random_randexp): New test.
740 (test_random_randpoisson): New test.
741 (test_random_randgeom): New test.
742 (test_random_randnegbinom): New test.
743 (test_random_randlog): New test.
744 (test_random_randdiscrete): New test.
745 (test_random_randgamma): New test.
746 (test_random_randtdist): New test.
747 (test_random_randuniform): New test.
748 (test_random_randfdist): New test.
749 (test_random_randcauchy): New test.
750 (test_random_randbeta): New test.
751 (test_random_randchisq): New test.
752 (test_random_randhyperg): New test.
754 * src/gnm-random.c (random_logarithmic): Fix. See #746449.
756 2015-03-19 Morten Welinder <terra@gnome.org>
758 * src/func.c (dump_samples): New function to dump all sample in
759 help documentation to csv format.
761 * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
762 non-positive integer, but neither a nor b is.
764 2015-03-07 Morten Welinder <terra@gnome.org>
766 * src/xml-sax-write.c: Use new go_xml_out_add_double.
768 * src/sheet-object-widget.c
769 (sheet_widget_adjustment_write_xml_sax): Use new
770 go_xml_out_add_double.
772 * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
773 go_xml_out_add_double.
775 2015-03-05 Morten Welinder <terra@gnome.org>
777 * src/sheet-object-image.c (sheet_object_image_set_image): Drop
778 copy_data argument and simply assume it.
780 2015-03-04 Morten Welinder <terra@gnome.org>
782 * configure.ac: Post-release bump.
784 2015-03-04 Morten Welinder <terra@gnome.org>
788 2015-03-03 Morten Welinder <terra@gnome.org>
790 * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
791 version we write and document why we can't easily increase that
794 2015-03-02 Morten Welinder <terra@gnome.org>
796 * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
798 * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
799 (xml_sax_version): Bring version list up to date.
801 2015-03-01 Morten Welinder <terra@gnome.org>
803 * src/sheet-object-widget.c
804 (sheet_widget_list_base_set_selection_value): Plug leak.
806 2015-02-28 Jean Brefort <jean.brefort@normalesup.org>
808 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
809 pixbuf stores the image type.
811 2015-02-28 Morten Welinder <terra@gnome.org>
813 * src/sheet-object-image.c (SheetObjectImage): Just keep the
814 image, not the bytes in addition.
815 (gnm_soi_class_init): Use property "image" of type GOImage instead
816 of "image-data" weirdness.
817 (gnm_soi_draw_cairo): Remove non-functional fallback.
818 (gnm_soi_default_size): Ditto.
820 2015-02-27 Morten Welinder <terra@gnome.org>
822 * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
823 type for image data. Create image data if needed.
824 (SheetObjectImage): Use a properly allocated GByteArray.
826 * src/sheet-object-widget.c
827 (sheet_widget_adjustment_user_config_impl): Widgets must have
828 changed names at some point. Adjust for that.
830 2015-02-25 Morten Welinder <terra@gnome.org>
832 * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
834 (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
837 2015-02-23 Morten Welinder <terra@gnome.org>
839 * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
842 2015-02-21 Morten Welinder <terra@gnome.org>
844 * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
845 gboolean, not a double.
847 * src/sheet-object-widget.c
848 (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
850 (sheet_widget_adjustment_set_horizontal): Take advantage of this
851 new-fangled orientation for scrollbars.
853 2015-02-20 Morten Welinder <terra@gnome.org>
855 * src/sheet-object-widget.c: Make checkbox' "active" writable.
856 (cb_button_released): Set value to FALSE here(!)
858 2015-02-18 Morten Welinder <terra@gnome.org>
860 * src/commands.c (cmd_search_replace_do_cell): Don't report and
861 error just because a cell with text format fails to produce an
862 expression. That's expected for text format.
864 2015-02-17 Morten Welinder <terra@gnome.org>
866 * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
868 2015-02-11 Morten Welinder <terra@gnome.org>
870 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
871 writing duplicate style so version 1.2 and earlier can read it.
873 2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
875 * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
876 that can't be convered to valid numbers.
878 2015-02-10 Morten Welinder <terra@gnome.org>
880 * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
882 2015-02-06 Morten Welinder <terra@gnome.org>
884 * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
885 (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
886 (sheet_widget_radio_button_set_link)
887 (sheet_widget_list_base_set_links)
888 (sheet_widget_adjustment_set_details): Only link if we have a
891 2015-02-04 Morten Welinder <terra@gnome.org>
893 * configure.ac: Post-release bump.
895 2015-02-04 Morten Welinder <terra@gnome.org>
899 2015-01-30 Morten Welinder <terra@gnome.org>
901 * src/sheet-object-widget.c
902 (sheet_widget_adjustment_set_horizontal): Make this public.
904 2015-01-23 Morten Welinder <terra@gnome.org>
906 * configure.ac: Post-release bump.
908 2015-01-23 Morten Welinder <terra@gnome.org>
912 2015-01-20 Morten Welinder <terra@gnome.org>
914 * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
917 2015-01-19 Morten Welinder <terra@gnome.org>
919 * src/gutils.c (gnm_icon_dir): Remove.
921 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
924 * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
927 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
930 * src/gnm.gresource.xml: pre-process xpm files. gdkpixbuf will
931 otherwise dump them in temporary files in order to load them.
933 * src/workbook.c (workbook_update_graphs): New function.
935 * src/workbook-view.c (workbook_view_new_from_input): Update
938 2015-01-14 Morten Welinder <terra@gnome.org>
940 * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
941 an expresssion, make it a string instead of dropping it on the
944 2015-01-13 Morten Welinder <terra@gnome.org>
946 * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
947 missing shared expression, define a dummy version so we don't get
950 2015-01-09 Morten Welinder <terra@gnome.org>
952 * src/value.c (value_compare_real): Rewrite. Handle errors and
953 sort them later than other values. This fixes #742601.
955 2015-01-01 Morten Welinder <terra@gnome.org>
957 * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
958 names, not stock ids.
960 * src/gnm-pane.c (update_control_point_colors): Avoid
961 gtk_style_context_get_background_color.
962 * src/item-cursor.c (ic_reload_style): Ditto.
964 2014-12-30 Morten Welinder <terra@gnome.org>
966 * src/rendered-value.c (gnm_rendered_value_new):
967 GNM_HALIGN_DISTRIBUTED is justify+center. Fixes #726155.
969 2014-12-27 Morten Welinder <terra@gnome.org>
971 * src/colrow.c (colrow_set_visibility): Don't create columns/rows
972 unless we really have to.
974 2014-12-25 Morten Welinder <terra@gnome.org>
976 * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
979 * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
981 * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
983 * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
984 icon on sheet direction changes.
986 * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
988 2014-12-24 Morten Welinder <terra@gnome.org>
990 * src/wbc-gtk.c (wbcg_show_save_dialog)
991 (wbcg_close_if_user_permits): Constant propagation.
993 * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
994 GtkStock usage. (Maybe kill whole function? Only two users.)
996 2014-12-22 Morten Welinder <terra@gnome.org>
998 * icons/fake-index-theme: we need actions directories too.
1000 2014-12-21 Morten Welinder <terra@gnome.org>
1002 * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
1005 2014-12-20 Morten Welinder <terra@gnome.org>
1007 * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
1008 count in delete, such as used from sheet resize.
1010 2014-12-19 Morten Welinder <terra@gnome.org>
1012 * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
1013 (before g_setenv is available).
1015 2014-12-16 Morten Welinder <terra@gnome.org>
1017 * src/sstest.c (test_insdel_rowcol_names): Use column name, not
1020 * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
1023 2014-12-15 Morten Welinder <terra@gnome.org>
1025 * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
1026 sheet_style_insert_colrow and handled deletion too.
1028 * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
1029 sheet_insert_cols, sheet_delete_rows, sheet_delete_cols. Simplify
1032 * src/dependent.c (dependent_has_pos, dependent_move): New
1035 2014-12-14 Morten Welinder <terra@gnome.org>
1037 * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
1040 2014-12-11 Morten Welinder <terra@gnome.org>
1042 * src/dependent.c (style_dep_debug_name): Include position too.
1044 * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
1046 (colrow_move): Change parameterization slightly.
1048 2014-12-06 Morten Welinder <terra@gnome.org>
1050 * src/sheet-control-gui.c (scg_unant): Destroy item cursors. We
1051 want them visually gone and g_object_unref does not guarantee
1054 * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
1055 dependents. A later step clears and re-applies style completely
1056 for the moved area. Fixes #741197.
1058 * src/sheet-style.c (sheet_style_clear_style_dependents): New
1061 * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
1062 (sheet_delete_cols, sheet_delete_rows): Plug leaks.
1064 * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
1066 (gnm_cmd_context_error_splits_merge): Plug leak.
1068 2014-11-15 Morten Welinder <terra@gnome.org>
1070 * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
1071 the wbc is already gone.
1073 2014-11-09 Morten Welinder <terra@gnome.org>
1075 * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
1076 data. Might fix Redhat #1160975.
1078 2014-10-28 Morten Welinder <terra@gnome.org>
1080 * src/style.c (find_font): Accept NULL font name.
1082 2014-10-27 Morten Welinder <terra@gnome.org>
1084 * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
1087 2014-10-27 Jean Brefort <jean.brefort@normalesup.org>
1089 * src/item-cursor.c (cb_item_cursor_animation): use
1090 goc_canvas_invalidate_region() for ants walking. Avoid drawing
1091 outside of a draw event.
1093 2014-10-26 Morten Welinder <terra@gnome.org>
1095 * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
1097 (GnmValue): Drop type union member. C99 requires that this be
1098 accessed in a structure. We have v_any for that.
1100 2014-10-25 Morten Welinder <terra@gnome.org>
1102 * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
1103 ought to survive both gcc's aliasing analysis and valgrind's
1106 2014-10-24 Morten Welinder <terra@gnome.org>
1108 * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
1110 2014-10-21 Morten Welinder <terra@gnome.org>
1112 * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
1114 2014-09-25 Morten Welinder <terra@gnome.org>
1116 * configure.ac: Post-release bump.
1118 2014-09-25 Morten Welinder <terra@gnome.org>
1122 2014-09-25 Morten Welinder <terra@gnome.org>
1124 * src/sheet-filter.c (gnm_filter_condition_new_single)
1125 (gnm_filter_condition_new_double): Fix preconditions. See
1128 2014-09-23 Morten Welinder <terra@gnome.org>
1130 * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
1131 doesn't spew deprecation warnings by default.
1133 2014-09-11 Morten Welinder <terra@gnome.org>
1135 * src/style.c (gnm_translate_underline_from_pango): Survive
1136 PANGO_UNDERLINE_ERROR.
1138 2014-06-09 Morten Welinder <terra@gnome.org>
1140 * configure.ac: Post-release bump.
1142 2014-06-09 Morten Welinder <terra@gnome.org>
1146 2014-05-28 Morten Welinder <terra@gnome.org>
1148 * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
1149 when we drag the handle into the col/row canvas.
1151 * src/sheet-view.c (sv_freeze_panes): Add debug code.
1153 * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
1154 handler. Fixes #730884.
1156 2014-05-27 Morten Welinder <terra@gnome.org>
1158 * src/gnm-pane.c (gnm_pane_header_init): Hold references to
1159 col/row canvas. Fixes #730857.
1160 (gnm_pane_dispose): Release references.
1162 2014-05-23 Morten Welinder <terra@gnome.org>
1164 * configure.ac: Post-release bump.
1166 2014-05-23 Morten Welinder <terra@gnome.org>
1170 2014-05-23 Morten Welinder <terra@gnome.org>
1172 * src/clipboard.c (clipboard_copy_ranges_undo): New function. We
1173 need better building blocks for commands; this is one such.
1175 2014-05-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1177 * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
1178 (cmd_hyperlink_redo): ditto
1179 (cmd_hyperlink_finalize): ditto
1180 (cb_cmd_hyperlink_find_cells): ditto
1182 2014-05-20 Morten Welinder <terra@gnome.org>
1184 * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
1186 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
1187 outline and fill colours that are auto, even for the 1.0 format.
1189 * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
1190 conditional format ranges.
1192 2014-05-14 Morten Welinder <terra@gnome.org>
1194 * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
1196 * src/gutils.c (gnm_object_has_readable_prop): New function.
1198 * configure.ac (scrollkeeper): Test if we have it.
1200 2014-05-05 Morten Welinder <terra@gnome.org>
1202 * src/wbc-gtk.c (toolbar_context_menu): Remove
1203 HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW. That has been unconditionally
1204 false for years and is unsupported in gtk+.
1206 2014-04-30 Morten Welinder <terra@gnome.org>
1208 * configure.ac: Post-release bump.
1210 2014-04-30 Morten Welinder <terra@gnome.org>
1214 2014-04-23 Morten Welinder <terra@gnome.org>
1216 * src/complete.c (complete_idle): Avoid abort().
1218 * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
1221 2014-04-22 Morten Welinder <terra@gnome.org>
1223 * src/style-color.c (gnm_color_new_name): Remove. All calls
1224 replaced with calls to gnm_color_new_go.
1226 * src/sheet-style.c (sheet_style_init_size): Plug leak.
1228 * src/style-color.c (gnm_color_shutdown): Free the auto colours.
1230 2014-04-21 Morten Welinder <terra@gnome.org>
1232 * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
1233 only in the hop of fixing #728465.
1235 2014-04-13 Morten Welinder <terra@gnome.org>
1237 * configure.ac: Post-release bump.
1239 2014-04-13 Morten Welinder <terra@gnome.org>
1243 2014-04-11 Morten Welinder <terra@gnome.org>
1245 * src/item-bar.c: Get colours when we draw; only get sizing
1246 relevant information at odd times, in particular when parent
1247 widgets may be insensitive, such as during a load-onto-pristine.
1250 2014-04-10 Morten Welinder <terra@gnome.org>
1252 * src/item-bar.c (ib_reload_style): Add debug code.
1254 2014-04-09 Morten Welinder <terra@gnome.org>
1256 * src/number-match.c (format_match_datetime): Plug leak on certain
1259 2014-04-02 Morten Welinder <terra@gnome.org>
1261 * src/sf-gamma.c (pochhammer): Plain floor is good enough for
1264 2014-03-30 Morten Welinder <terra@gnome.org>
1266 * src/application.c (gnm_app_remove_extra_ui): Remove from global
1269 2014-03-28 Morten Welinder <terra@gnome.org>
1271 * src/main-application.c (main): Move Ubuntu hack earlier.
1273 2014-03-27 Morten Welinder <terra@gnome.org>
1275 * src/main-application.c (main): Attempt to banish ubuntu's
1276 overlay scrollbar which don't work.
1278 2014-03-21 Morten Welinder <terra@gnome.org>
1280 * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
1281 case insensitve and allow wildcards.
1283 * src/gutils.c (gnm_excel_search_impl): New function, extracted
1286 * src/style-conditions.c (generate_end_match): Use case
1287 insensitive comparison. Pull negation into the operator.
1288 (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
1291 2014-03-18 Morten Welinder <terra@gnome.org>
1293 * src/gui-util.c (kill_popup_menu): One more try at really killing
1294 the context menu after we're done with it.
1296 * src/item-grid.c (item_grid_realize): Plug leak.
1298 2014-03-18 Morten Welinder <terra@gnome.org>
1300 * configure.ac: Post-release bump.
1302 2014-03-18 Morten Welinder <terra@gnome.org>
1306 2014-03-18 Morten Welinder <terra@gnome.org>
1308 * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
1309 providers from screens on exit.
1311 * src/sheet-style.c (cell_tile_dump): Less debug chatter.
1313 2014-03-17 Morten Welinder <terra@gnome.org>
1315 * src/mathfunc.c (gnm_log2): Remove. Use libm's log2.
1317 2014-03-16 Morten Welinder <terra@gnome.org>
1319 * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
1320 formats. I'm not positive we do things right, but this avoids
1321 criticals, at least.
1323 * src/cell.c (cell_set_expr_internal): Don't change an existing
1326 2014-03-15 Morten Welinder <terra@gnome.org>
1328 * src/style-border.c (gnm_border_shutdown): New function to help
1329 debug leaks. Shutdown border_none here.
1331 * src/style-color.c (gnm_color_shutdown): Not here.
1333 2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
1335 * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
1336 the tooltip where it will not immediatly be destroyed after creation.
1337 [really fix #706659]
1339 2014-03-14 Morten Welinder <terra@gnome.org>
1341 * src/xml-sax-write.c (xml_write_style): Don't write a font name
1342 if we don't have any.
1344 2014-03-14 Jean Brefort <jean.brefort@normalesup.org>
1346 * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
1348 2014-03-13 Morten Welinder <terra@gnome.org>
1350 * src/style-conditions.c (gnm_style_cond_eval): New function
1351 extracted from gnm_style_conditions_eval. Make "equal" case
1352 insensitive. Fixes #726246.
1354 * src/ssconvert.c (convert): Show resize message only if verbose.
1356 2014-03-12 Morten Welinder <terra@gnome.org>
1358 * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
1360 (gnm_style_cond_canonicalize): New function.
1362 * src/ssconvert.c (convert): only print "Using exporter ..." if
1363 --verbose is given, and print it to stderr.
1365 2014-03-11 Morten Welinder <terra@gnome.org>
1367 * src/sheet.c (cb_set_markup): Don't mess directly with
1368 cell->value. We need to trigger a re-render. Fixes #726086.
1370 * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
1371 for the pre-validation assignment.
1373 * src/sheet.c (sheet_cell_set_text): Put markup on the value
1374 before assigning it to the cell.
1376 2014-03-10 Morten Welinder <terra@gnome.org>
1378 * gnumeric.xsd: Update valign/halign attributes. Update print
1381 * src/sheet-filter.c (gnm_filter_condition_new_single)
1382 (gnm_filter_condition_new_double): Add preconditions.
1384 2014-03-07 Morten Welinder <terra@gnome.org>
1386 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
1388 2014-03-05 Morten Welinder <terra@gnome.org>
1390 * src/expr.c (gnm_expr_top_is_volatile): New function.
1392 * src/workbook-view.c (workbook_view_new_from_input): Queue all
1393 volatile expressions.
1395 * src/dependent.c (workbook_queue_volatile_recalc): New function.
1396 (dependent_is_volatile): New function.
1398 * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
1399 Don't set the initial range here.
1401 * src/expr.c (gnm_expr_top_first_funcall)
1402 (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
1403 (gnm_expr_top_referenced_sheets): Rewrite in terms of
1405 (gnm_expr_top_get_boundingbox): Set initial range here.
1407 * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
1410 2014-03-03 Morten Welinder <terra@gnome.org>
1412 * configure.ac: Post-release bump.
1414 2014-03-03 Morten Welinder <terra@gnome.org>
1418 2014-03-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1420 * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
1422 2014-03-02 Morten Welinder <terra@gnome.org>
1424 * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
1426 (wbcg_sheet_order_changed): Mark ui as being updated.
1427 (cb_bnotebook_page_reordered): Ignore during UI update.
1429 * src/expr-name.c (gnm_named_expr_collection_dump)
1430 (gnm_named_expr_collection_sanity_check): New function.
1432 * src/application.c (gnm_app_sanity_check): New function.
1434 * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
1435 string inside the GOString as a hash key. It can change.
1436 (gnm_named_expr_collection_foreach): As a consequence of the
1437 above, the first argument to the handler for
1438 gnm_named_expr_collection_foreach changes to something
1439 unspecified. All callers changed.
1441 * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
1444 * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
1445 when encountering strangeness.
1447 2014-02-28 Morten Welinder <terra@gnome.org>
1449 * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
1450 If row/column canvas is not visible, ignore them.
1451 (scg_gtk_paned_set_position): Don't allow negative position.
1454 * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
1457 2014-02-27 Jean Brefort <jean.brefort@normalesup.org>
1459 * src/item-grid.c (item_grid_draw_region): fix background filling for
1460 rtl sheets. [#725276]
1462 2014-02-25 Morten Welinder <terra@gnome.org>
1464 * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
1465 (gnumeric_create_popup_menu): Drop return value from handler.
1467 * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
1468 are cell comments by position.
1470 2014-02-24 Morten Welinder <terra@gnome.org>
1472 * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
1474 * src/colrow.c (colrow_equal): Don't use floating-point equality
1475 here. Allow a difference of 1e-5 pt for size.
1477 2014-02-23 Morten Welinder <terra@gnome.org>
1479 * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
1480 fill in the new areas with most common styles for the rows to the
1481 left of the new columns or the columns above the new area.
1483 2014-02-19 Morten Welinder <terra@gnome.org>
1485 * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
1486 (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
1488 * src/mathfunc.c (gnm_log2): New function.
1490 2014-02-18 Morten Welinder <terra@gnome.org>
1492 * src/ssdiff.c (xml_style_changed): Report differences for
1493 auto-color settings.
1495 2014-02-17 Morten Welinder <terra@gnome.org>
1497 * src/ssconvert.c (convert): Add --resize option.
1499 2014-02-16 Jean Brefort <jean.brefort@normalesup.org>
1501 * src/item-grid.c (item_grid_realize): fix persistence of
1502 hyperlink tips. [see #724108]
1504 2014-02-16 Morten Welinder <terra@gnome.org>
1506 * configure.ac: Post-release bump.
1508 2014-02-16 Morten Welinder <terra@gnome.org>
1512 2014-02-16 Morten Welinder <terra@gnome.org>
1514 * src/func.c (function_dump_defs): Update boilerplate.
1516 2014-02-11 Morten Welinder <terra@gnome.org>
1518 * configure.ac: Post-release bump.
1520 2014-02-11 Morten Welinder <terra@gnome.org>
1524 2014-02-07 Morten Welinder <terra@gnome.org>
1526 * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
1527 entry on top of merged cells. Fixes #723600.
1529 2014-02-06 Jean Brefort <jean.brefort@normalesup.org>
1531 * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
1532 a better fix to previous issue.
1534 2014-01-30 Morten Welinder <terra@gnome.org>
1536 * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
1539 * src/item-cursor.c (item_cursor_draw): Make the ant animation
1540 smoother (when not using the fallback). Avoid using hard light
1541 for ant-ing -- that doesn't work for the same reason as alpha not
1542 working. Always use phase=0 for non-ant stipples.
1543 (GnmItemCursor): Use the canvas item's visibility flag instead of
1546 2014-01-29 Morten Welinder <terra@gnome.org>
1548 * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
1550 * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
1551 check for bad clipping somewhere in gtk+ or theme land.
1553 2014-01-28 Jean Brefort <jean.brefort@normalesup.org>
1555 * src/sheet-object-component.c (gnm_soc_user_config): release the new
1556 component reference to the workbook.
1558 2014-01-27 Morten Welinder <terra@gnome.org>
1560 * src/func.c (function_dump_defs): Undo wiki change.
1562 2014-01-21 Morten Welinder <terra@gnome.org>
1564 * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
1565 the amount of work we do for ant-ing. Fixes #381011, patch from
1567 (ic_reload_style): Ignore alpha component of ant colours.
1569 2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
1571 * src/graph.c (gnm_go_data_vector_load_len),
1572 (gnm_go_data_vector_load_values): accept 3D values for vector data.
1575 2014-01-16 Morten Welinder <terra@gnome.org>
1577 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
1578 cb_darken_foreground_attributes and change to take non-white
1579 background into account.
1581 2014-01-12 Morten Welinder <terra@gnome.org>
1583 * src/mathfunc.c (expmx2h): Split out from dnorm.
1584 (dhyper): Round the chosen "p" to float to improve accuracy of
1587 2014-01-11 Morten Welinder <terra@gnome.org>
1589 * src/mathfunc.c (pow1p): Improve accuracy.
1590 (R_D_nonint): Fix rounding problem.
1591 (ebd0): New extended version of bd0.
1592 (dpois_raw, dbinom_raw): Use ebd0.
1593 (dbinom_raw): Handle x==n and x==0 much better.
1595 2014-01-08 Morten Welinder <terra@gnome.org>
1597 * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
1600 * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
1602 * src/gui-file.h: Namespace improvements. Also make gui_file_read
1603 return the WorkbookView instead of a boolean.
1605 2014-01-01 Morten Welinder <terra@gnome.org>
1607 * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
1609 2013-12-31 Morten Welinder <terra@gnome.org>
1611 * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
1614 2013-12-30 Morten Welinder <terra@gnome.org>
1616 * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
1618 (dpois_raw): Avoid going through logs, if possible.
1620 2013-12-25 Morten Welinder <terra@gnome.org>
1622 * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
1623 we return FALSE so we don't try to remove the source later.
1625 2013-12-22 Morten Welinder <terra@gnome.org>
1627 * src/gui-util.c (gnm_widget_measure_string): New function
1628 allowing the elimination of all gtk_style_context_get_font calls.
1630 2013-12-19 Morten Welinder <terra@gnome.org>
1632 * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
1633 especially when |x|<<1. Ditto for x<-1.
1635 2013-12-17 Morten Welinder <terra@gnome.org>
1637 * src/sf-gamma.c (complex_gamma): Turn a complex division into a
1640 2013-12-14 Morten Welinder <terra@gnome.org>
1642 * src/sf-gamma.c (complex_igamma): New function.
1644 2013-12-12 Mario Rugiero <mrugiero@gmail.com>
1646 * */*.c: Fix some leaks and null dereferences pointed out by
1649 2013-12-12 Morten Welinder <terra@gnome.org>
1651 * src/parser.y (array_row): Avoid overrunning string when multiple
1652 missing closing parentheses are detected. Fixes #720353.
1654 2013-12-11 Morten Welinder <terra@gnome.org>
1656 * src/gui-util.c (gnumeric_popup_menu): Use the screen from
1657 gdk_event_get_screen, not from ->screen. This might fix #720182.
1659 * src/*.c: Use accessor function for GdkEvent when convenient.
1661 2013-12-07 Morten Welinder <terra@gnome.org>
1663 * src/application.c (gnm_app_init): Don't allocate a
1664 GtkRecentManager if we are not in gui mode.
1666 * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
1668 * src/dependent.c (deprange_hash): Ditto.
1670 2013-12-04 Morten Welinder <terra@gnome.org>
1672 * src/sf-gamma.c (gamma_error_factor): Add extra term.
1674 2013-12-07 Morten Welinder <terra@gnome.org>
1676 * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
1677 of the argument for [-1.5;-0.5].
1679 * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
1680 Re z < 1/2. Avoid some overflow.
1682 2013-12-02 Morten Welinder <terra@gnome.org>
1684 * src/sf-bessel.c (bessel_y): Use the J series when possible.
1686 2013-12-07 Morten Welinder <terra@gnome.org>
1688 * src/sf-bessel.c (bessel_j): Use the taylor series in the
1689 parameter range where that makes sense.
1691 * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
1694 2013-11-30 Morten Welinder <terra@gnome.org>
1696 * src/sf-gamma.c (pochhammer): Drop give_log arguments. Extend to
1699 2013-11-28 Morten Welinder <terra@gnome.org>
1701 * configure.ac: Post-release bump.
1703 2013-11-28 Morten Welinder <terra@gnome.org>
1707 2013-11-25 Morten Welinder <terra@gnome.org>
1709 * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1712 2013-11-19 Morten Welinder <terra@gnome.org>
1714 * src/print.c (print_page): Fix check for missing object. Fixes
1717 2013-11-18 Morten Welinder <terra@gnome.org>
1719 * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
1721 2013-11-15 Morten Welinder <terra@gnome.org>
1723 * src/mathfunc.c (reduce_pi_half): New function.
1725 2013-11-14 Morten Welinder <terra@gnome.org>
1727 * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
1728 (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
1730 2013-11-13 Morten Welinder <terra@gnome.org>
1732 * src/mathfunc.c (lgamma_r): Fix fallback. Didn't work for x<10.
1734 2013-11-13 Jean Brefort <jean.brefort@normalesup.org>
1736 * src/sheet-object.c (sheet_object_view_button2_pressed),
1737 (sheet_object_view_class_init): implement double click for graph sheets.
1740 2013-11-12 Morten Welinder <terra@gnome.org>
1742 * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
1744 (cb_bnotebook_page_reordered): New function.
1745 (wbc_gtk_create_notebook_area): Attach a handler for reordering.
1747 * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
1749 2013-11-06 Morten Welinder <terra@gnome.org>
1751 * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
1753 2013-11-06 Jean Brefort <jean.brefort@normalesup.org>
1755 * src/workbook-view.c: add more introspection related comments.
1756 * src/workbook.c: ditto.
1758 2013-11-03 Morten Welinder <terra@gnome.org>
1760 * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
1761 sin/cos before scaling by pi.
1763 2013-11-01 Morten Welinder <terra@gnome.org>
1765 * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
1766 (gnm_gamma): Protect against unnecessary overflow at top of range.
1768 2013-10-31 Morten Welinder <terra@gnome.org>
1770 * src/mathfunc.c (qgamma): Flip tail for high values of p. This
1771 avoids accuracy problems since any cdf is completely flat in terms
1772 of floating point values when going sufficiently far into the
1776 (J_bessel): Extend xlrg_BESS_IJ to match current R.
1777 (permut): Route this into pochhammer.
1778 (qfact): New function. Tabulate 0! through 50000! using quad
1779 precision arithmetic.
1780 (combin, fact, pochhammer): Improve accuracy using qfact.
1782 2013-10-22 Morten Welinder <terra@gnome.org>
1784 * src/func.c (function_call_with_exprs): Move flags argument into
1787 2013-10-19 Morten Welinder <terra@gnome.org>
1789 * src/hlink.c (_gnm_hlink_init): New function.
1790 * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
1792 2013-10-07 Morten Welinder <terra@gnome.org>
1794 * configure.ac: Post-release bump.
1796 2013-10-07 Morten Welinder <terra@gnome.org>
1800 2013-10-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1802 * src/cmd-edit.c (cmd_paste): chceck for locked cells
1804 2013-10-03 Morten Welinder <terra@gnome.org>
1806 * src/item-cursor.c (item_cursor_draw): Drop expose area
1807 optimization that may not be correct with current gtk. See bug
1810 2013-09-29 Morten Welinder <terra@gnome.org>
1812 * src/main-application.c: Include <io.h> for win32.
1814 * src/wbc-gtk-actions.c: Include gutils.h for win32.
1816 2013-09-25 Morten Welinder <terra@gnome.org>
1818 * src/gnumeric.css: Use lighter green for function marker.
1820 2013-09-01 Morten Welinder <terra@gnome.org>
1822 * configure.ac: Post-release bump.
1824 2013-09-01 Morten Welinder <terra@gnome.org>
1828 2013-08-29 Morten Welinder <terra@gnome.org>
1830 * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
1833 2013-08-28 Morten Welinder <terra@gnome.org>
1835 * src/mathfunc.c (gnm_gamma): Improve precision for large
1837 (gnm_yn): Not needed anymore.
1838 (bessel_i): Don't mark error strings for translation.
1840 2013-08-27 Morten Welinder <terra@gnome.org>
1842 * configure.ac: Post-release bump.
1844 2013-08-27 Morten Welinder <terra@gnome.org>
1848 2013-08-26 Morten Welinder <terra@gnome.org>
1850 * src/sheet-style.c (cell_tile_dump): New function for debugging.
1851 (internal_style_list): Add fast pre-optimization to bring down the
1852 number of entries before we start messing with hashes. Fixes
1855 2013-08-22 Jean Brefort <jean.brefort@normalesup.org>
1857 * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
1858 GraphDimEditor::changed. See bug 706591 comment #2.
1860 2013-08-19 Morten Welinder <terra@gnome.org>
1862 * configure.ac: Post-release bump.
1864 2013-08-19 Morten Welinder <terra@gnome.org>
1868 2013-08-15 Morten Welinder <terra@gnome.org>
1870 * src/dependent.c (dep_hash_destroy): Relink the changed dep.
1873 * src/sheet.c (sheet_destroy_contents): Also get rid of solver
1874 parameters. See bug 705913, comment 6.
1876 2013-08-13 Morten Welinder <terra@gnome.org>
1878 * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
1880 2013-08-12 Morten Welinder <terra@gnome.org>
1882 * src/sheet-object-widget.c (sow_create_widget): New function.
1883 Add sheet-object class to widgets.
1885 2013-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1887 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
1889 (sheet_widget_button_draw_cairo): also scale line thickness
1890 (sheet_widget_checkbox_draw_cairo): scale button size
1891 (sheet_widget_radio_button_draw_cairo): scale button size
1893 2013-08-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1895 * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
1896 argument and change all callers
1898 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1900 * src/sheet-object-widget.c (get_font): add fall-backs
1902 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1904 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1906 (draw_cairo_text): add h-vcenter argument and change all callers
1908 2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
1910 * src/sheet-object-widget.c (cb_range_destroyed),
1911 (sheet_widget_scrollbar_create_widget),
1912 (sheet_widget_spinbutton_create_widget),
1913 (sheet_widget_slider_create_widget): avoid crashing after destroying a
1914 SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
1916 2013-08-09 Morten Welinder <terra@gnome.org>
1918 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1920 (get_font): New function extracted from draw_cairo_text.
1922 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1924 * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
1927 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1929 * src/sheet-object-widget.c (draw_cairo_text): add arguments to
1930 allow multi-paragraph with a highlighted line. Change all callers
1931 (sheet_widget_list_draw_cairo): use draw_cairo_text
1933 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1935 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
1936 cairo version for Gnuemric too.
1937 (sheet_widget_button_draw_cairo): ditto
1938 (sheet_widget_scrollbar_draw_cairo): ditto
1939 (sheet_widget_spinbutton_draw_cairo): ditto
1940 (sheet_widget_slider_draw_cairo): ditto
1941 (sheet_widget_checkbox_draw_cairo): ditto
1942 (sheet_widget_radio_button_draw_cairo): ditto
1943 (sheet_widget_list_draw_cairo): ditto
1944 (sheet_widget_combo_draw_cairo): ditto
1946 2013-08-08 Morten Welinder <terra@gnome.org>
1948 * src/parse-util.c (r1c1_get_index): Handle integer overflow.
1949 Reduce crazy relative offsets.
1951 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1953 * src/sheet-object-widget.c (draw_cairo_text): add arguments and
1955 (sheet_widget_frame_draw_cairo): new
1956 (sheet_widget_button_draw_cairo): new
1957 (sheet_widget_scrollbar_horizontal_draw_cairo): new
1958 (sheet_widget_scrollbar_vertical_draw_cairo): new
1959 (sheet_widget_scrollbar_class_init): connect the above
1960 (sheet_widget_spinbutton_draw_cairo): new
1961 (sheet_widget_spinbutton_class_init): connect the above
1962 (sheet_widget_slider_horizontal_draw_cairo): new
1963 (sheet_widget_slider_vertical_draw_cairo): new
1964 (sheet_widget_slider_draw_cairo): new
1965 (sheet_widget_slider_class_init): connect the above
1966 (sheet_widget_list_draw_cairo): new
1967 (sheet_widget_list_class_init): connect the above
1968 (sheet_widget_combo_draw_cairo): new
1969 (sheet_widget_combo_class_init): connect the above
1971 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1973 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
1974 change all uses of this macro
1975 (draw_cairo_text): new
1976 (sheet_widget_checkbox_draw_cairo): new
1977 (sheet_widget_radio_button_draw_cairo): new
1979 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1981 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
1982 gtk_offscreen_window_new without a default screen (see bugs #705638
1985 2013-08-07 Morten Welinder <terra@gnome.org>
1987 * src/ssconvert.c (main): Initialize gtk+ without opening any
1990 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1992 * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
1994 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1996 * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
1997 * src/sheet-control-gui.c (scg_init): init new fields
1998 (scg_im_destroy): new
1999 (scg_finalize): call scg_im_destroy
2000 (cb_cell_im_timer): new
2001 (scg_find_pane): new
2002 (scg_show_im_tooltip): new
2003 (scg_class_init): init new field
2004 * src/sheet-control-priv.h: add field
2005 * src/sheet-control.c: add virtual
2006 * src/sheet-control.h: add virtual
2007 * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
2008 (sv_update): call sheet_view_edit_pos_tool_tips
2009 * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
2011 (sheet_row_get_distance_pixels): new
2012 * src/sheet.h (sheet_row_get_distance_pixels): new
2014 2013-08-03 Jean Brefort <jean.brefort@normalesup.org>
2016 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
2017 nodes in guppi graphs. [Debian #718594]
2019 2013-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2021 * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
2024 2013-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2026 * src/sheet-control-gui.c (context_menu_handler): add argument to
2027 dialog_cell_format call
2028 * src/wbc-gtk-actions.c (cb_format_cells): add argument to
2029 dialog_cell_format call
2030 (cb_data_validate): ditto
2032 2013-07-30 Morten Welinder <terra@gnome.org>
2034 * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
2035 colour. Fixes rest of #705031.
2037 2013-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2039 * src/func.c (gnm_func_lookup_prefix): do not include placeholders
2041 2013-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2043 * gnumeric.desktop.in: add ODS files
2045 2013-07-23 Jean Brefort <jean.brefort@normalesup.org>
2047 * src/graph.c (gnm_go_data_vector_load_values): really load all
2048 values for multiple ranges.
2050 2013-07-19 Morten Welinder <terra@gnome.org>
2052 * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
2053 check: the enum has a hole in the middle. Fixes #704562.
2055 2013-07-19 Jean Brefort <jean.brefort@normalesup.org>
2057 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
2059 * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
2061 2013-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2063 * src/gnm-so-path.c (gnm_so_path_class_init): add new property
2064 (gnm_so_path_set_property): ditto
2065 (gnm_so_path_get_property): ditto
2067 2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
2069 * src/gnm-so-path.c (so_path_view_set_bounds),
2070 (cb_gnm_so_path_changed): a better fix for the text position.
2072 2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
2074 * src/gnm-so-filled.c (so_filled_view_set_bounds),
2075 (cb_gnm_so_filled_changed): fix text wrap. [#704417]
2076 * src/gnm-so-path.c (so_path_view_set_bounds),
2077 (cb_gnm_so_path_changed): fix text wrap in paths too.
2079 2013-07-16 Morten Welinder <terra@gnome.org>
2081 * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
2082 computing range size. Fixes #704325.
2084 2013-07-15 Morten Welinder <terra@gnome.org>
2086 * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
2087 that. Fixes #704004.
2089 * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
2091 * src/dependent.c (link_range_dep, unlink_range_dep): Protect
2092 against oversize range.
2094 2013-07-12 Morten Welinder <terra@gnome.org>
2096 * src/expr.c (gnm_expr_range_op): When constructing a range, make
2097 sure it falls within the sheet.
2098 (gnm_expr_new_range_ctor): Don't optimize to range if the two
2099 parts are on different sheets. Fixes #704109.
2101 2013-07-10 Morten Welinder <terra@gnome.org>
2103 * configure.ac: Post-release bump.
2105 2013-07-10 Morten Welinder <terra@gnome.org>
2109 2013-07-10 Morten Welinder <terra@gnome.org>
2111 * src/value.c (parse_criteria): Patterns should anchor at the end
2112 (#703770) and be case insensitive (no bug#).
2114 2013-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2116 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
2117 to create an image of unknown type
2119 2013-07-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2121 * src/graph.c (gnm_go_data_vector_load_len): use consistent
2123 (cb_assign_val): quieten warning about signed/unsigned comparison
2125 2013-07-03 Morten Welinder <terra@gnome.org>
2127 * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
2129 (cb_assign_val): Ditto.
2131 2013-07-02 Morten Welinder <terra@gnome.org>
2133 * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
2134 (cb_style_list_add_node): Ditto.
2135 (verify_hashes): Ditto.
2136 (internal_style_list): Ditto.
2138 * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
2141 2013-07-01 Morten Welinder <terra@gnome.org>
2143 * configure.ac (long double): Crude use -lm for long double
2144 function checks. Fixes #703397.
2146 2013-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2148 * src/expr.c (gnm_expr_list_copy): new
2149 * src/expr.h (gnm_expr_list_copy): new
2151 2013-06-26 Morten Welinder <terra@gnome.org>
2153 * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
2154 of ->op before using it. Fixes #703143.
2156 2013-06-26 Jean Brefort <jean.brefort@normalesup.org>
2158 * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
2160 (gnm_so_path_copy): fixed copy with multiple paths.
2162 2013-06-25 Morten Welinder <terra@gnome.org>
2164 * configure.ac: Post-release bump.
2166 2013-06-25 Morten Welinder <terra@gnome.org>
2170 2013-06-24 Morten Welinder <terra@gnome.org>
2172 * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
2173 sheet. Fixes #703006.
2175 2013-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2177 * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
2180 2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
2182 * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
2183 a valid pattern. [#702833]
2184 * src/pattern.c (gnumeric_background_set): ditto.
2186 2013-06-21 Morten Welinder <terra@gnome.org>
2188 * src/item-grid.c (item_grid_draw_region): Plug leak.
2190 * src/item-bar.c (ib_reload_style): Plug leak.
2192 2013-06-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2194 * src/wbc-gtk.c (show_gui): protect against excessively large
2195 preferred widow sizes
2197 2013-06-14 Morten Welinder <terra@gnome.org>
2199 * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
2201 * src/workbook.c (workbook_sheet_delete): Debug.
2202 (workbook_dispose): Also clear style here. Styles can have
2203 dependents now. Fixes #702218.
2205 2013-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2207 * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
2209 2013-06-12 Morten Welinder <terra@gnome.org>
2211 * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
2214 2013-06-04 Morten Welinder <terra@gnome.org>
2216 * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
2218 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2220 * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
2221 (scg_comment_display): adjust background and fontcolor if necessary
2223 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2225 * src/item-grid.c (cb_cursor_come_to_rest):
2226 gnumeric_position_tooltip needs the tooltip size, so load the text
2229 2013-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2231 * src/item-grid.c (item_grid_button_released): do not trigger hyper link
2234 2013-05-27 Morten Welinder <terra@gnome.org>
2236 * src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
2237 and we aren't very good at it.
2239 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2241 * component/Gnumeric-embed.xml.in: add accelerator
2242 * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
2243 * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
2244 (EditGotoCellIndicator): new
2245 * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
2246 (wbcg_focus_current_cell_indicator): new
2247 * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
2249 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2251 * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
2252 * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
2253 * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
2254 * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2256 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2258 * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
2259 behave the same as far as cell selection is concerned. This fixes
2261 (item_grid_button_released): ditto
2263 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2265 * src/sheet.c (sheet_get_extent): add argument to indicate whether
2266 to include hidden cells
2267 (cb_sheet_get_extent): handle hidden cells setting
2268 (sheet_get_printarea): do not include hidden cells
2269 * src/sheet.h (sheet_get_extent): add argument and change all
2272 2013-05-26 Morten Welinder <terra@gnome.org>
2274 * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
2275 Termiate when contributions vanish.
2277 2013-05-24 Morten Welinder <terra@gnome.org>
2279 * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
2281 (pfuncinverter): Handle lack of dfunc (poorly).
2283 2013-05-23 Morten Welinder <terra@gnome.org>
2285 * src/mathfunc.c (ptukey_otsum): Split integration of a single
2286 interval out from out from R_ptukey.
2287 (R_ptukey): Split the interval nearest 0 into a sequence of
2288 intervals over which the integrand looks a lot more like a
2289 polynomial. This fixes accuracy problems for low degrees of
2292 * src/sheet-style.c (internal_style_list): Fix critical.
2294 2013-05-22 Morten Welinder <terra@gnome.org>
2296 * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
2298 2013-05-21 Morten Welinder <terra@gnome.org>
2300 * src/mathfunc.c (R_ptukey): More C, less Fortran.
2302 2013-05-19 Morten Welinder <terra@gnome.org>
2304 * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
2306 (pnorm2): Get rid of mu and sigma arguments. Improve accuracy.
2308 2013-05-18 Morten Welinder <terra@gnome.org>
2310 * src/mathfunc.c (pnorm2): New function.
2311 (R_ptukey): New function imported from R with local improvements.
2313 2013-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2315 * src/print.c (gnm_create_widget_cb): by default observe
2318 2013-05-14 Morten Welinder <terra@gnome.org>
2320 * src/rangefunc.c (gnm_range_multinomial): Add range check.
2321 (gnm_range_geometric_mean): Handle two FIXMEs.
2323 2013-05-13 Morten Welinder <terra@gnome.org>
2325 * src/*.c: Mark gobject property strings as P_(...).
2327 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2329 * src/commands.c (cmd_merge_data_redo): unref merge_contents
2331 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2333 * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
2334 rather than gnm_cell_assign_value
2336 2013-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2338 * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
2341 2013-05-05 Morten Welinder <terra@gnome.org>
2343 * src/dependent.c (style_dep_eval): New function. Re-clear the
2344 rendered value here. Fixes #699647.
2346 2013-05-03 Morten Welinder <terra@gnome.org>
2348 * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
2349 accelerator for redo. Fixes #699579.
2350 (wbc_gtk_create_notebook_area): Mark the button notebook as non
2353 * src/sheet.c (sheet_range_set_text_cb): Add redraw.
2355 2013-05-01 Morten Welinder <terra@gnome.org>
2357 * src/print-info.c: Add gsf includes to make things work with
2358 libgsf 1.14.24. Redhat #957851.
2360 2013-04-29 Morten Welinder <terra@gnome.org>
2362 * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
2365 2013-04-26 Morten Welinder <terra@gnome.org>
2367 * configure.ac: Post-release bump.
2369 2013-04-26 Morten Welinder <terra@gnome.org>
2373 2013-04-26 Morten Welinder <terra@gnome.org>
2375 * src/gnumeric.css (GnmItemBar): Make red labels for selected
2376 row/column items the default.
2378 2013-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2380 * src/wbc-gtk-actions.c: rename some items in the statistics menu
2382 2013-04-24 Morten Welinder <terra@gnome.org>
2384 * src/func.c (gnm_func_convert_markup_to_pango): Add a target
2385 widget parameter. All callers changed.
2387 * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
2388 delayedMovement.timer.
2390 * src/item-cursor.c (gnm_item_cursor_init): Ditto
2393 * src/application.c (_gnm_app_flag_windows_changed): Ditto for
2394 windows_update_timer.
2396 * src/item-edit.c (GnmItemEdit): change type of blink_timer to
2397 guint to match glib. Use 0 as undefined since (guint)-1 is a
2400 * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
2403 2013-04-23 Morten Welinder <terra@gnome.org>
2405 * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
2407 * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
2408 critical. Fixes #698680.
2410 * src/gui-file.c (gui_file_save_as): For export, change extension.
2413 2013-04-22 Morten Welinder <terra@gnome.org>
2415 * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
2416 Somehow fixes #625687.
2418 2013-04-20 Morten Welinder <terra@gnome.org>
2420 * src/go-data-slicer-field.c
2421 (go_data_slicer_field_set_field_type_pos): Add precondition for
2424 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2426 * src/print-info.c (render_title): new
2428 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2430 * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
2432 (sheet_range_set_text): ditto
2434 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2436 * src/sheet-control-gui.c (scg_comment_display): use spacing rather
2439 2013-04-22 Morten Welinder <terra@gnome.org>
2441 * src/sheet-control-gui.c (scg_comment_display): Display by-line.
2443 2013-04-19 Morten Welinder <terra@gnome.org>
2445 * src/sheet-control-gui.c (scg_comment_display): Abandon the text
2446 view approach. Fixes #689283.
2448 * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
2450 (wbc_gtk_init_color_fore): Ditto.
2451 (wbc_gtk_init_color_back): Ditto.
2453 2013-04-17 Morten Welinder <terra@gnome.org>
2455 * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
2458 * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
2461 * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
2462 only for horizontal toolbars.
2464 * src/gui-file.c (file_saver_format_changed_cb): New function to
2465 change the extension when the format is changed.
2466 (gui_file_save_as): Don't try to hide the extension -- it
2467 interferes with the file chooser's completion. Fixes #695839.
2469 2013-04-16 Morten Welinder <terra@gnome.org>
2471 * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
2472 menu for graph sheets. Fixes #685446.
2473 (sheet_menu_label_run): Disable resize for graph sheets.
2475 * src/value.c (parse_criteria): Anchor only at start. Fixes
2477 (parse_criteria): Handle criteria "=" and "<>" (with no value
2478 after the operator) special. These test for empty and non-empty
2479 values. Fixes #686156.
2481 * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
2482 "anchor_start" and "anchor_end". All callers changed.
2484 2013-04-15 Morten Welinder <terra@gnome.org>
2486 * src/application.c (add_icon): Plug leak.
2488 * src/number-match.c (format_match_decimal_number): Try also major
2489 non-locale currencies. Fixes #577768.
2491 2013-04-13 Morten Welinder <terra@gnome.org>
2493 * src/mathfunc.c (pochhammer): Improve precision a bit.
2494 (binomialcf): Lower cfSmall by 10^3. This helps
2497 * configure.ac (GETTEXT_PACKAGE): Add version number so that
2498 doesn't prevent multiple versions from co-existing.
2500 * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
2501 dirty. Callers already appear to handle this when needed
2502 and not when not wanted. Fixes #697927.
2504 2013-04-12 Morten Welinder <terra@gnome.org>
2506 * src/mathfunc.c (gnm_owent): Fix a==1 special case. Part of
2508 (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
2510 (fact): Use table for n<=1; rewrite using pochhammer otherwise.
2512 2013-04-11 Morten Welinder <terra@gnome.org>
2514 * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
2515 reference with invalid_sheet. Fixes #683494.
2517 * src/complex.c (complex_to_string): Drop format arguments. All
2518 callers changed. Make up a format with enough precision for round
2519 tripping. Fixes #697634.
2521 2013-04-09 Morten Welinder <terra@gnome.org>
2523 * src/complex.c (complex_from_string): Make this handle embedded
2524 spaces systematically.
2525 (is_unit_imaginary): Delete.
2527 2013-04-09 Morten Welinder <terra@gnome.org>
2529 * src/complex.c (complex_pow): Use Goffice's copy.
2531 2013-04-05 Morten Welinder <terra@gnome.org>
2533 * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
2534 new screens. Add hack for pre-GTK 3.4.
2536 * src/mathfunc.c (gnm_owent): New function.
2538 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2540 * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
2541 functions used as vectors. [697281]
2543 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
2545 * src/graph.c (gnm_go_data_vector_load_values),
2546 (gnm_go_data_vector_get_str): fix values and strings loading in case of
2549 2013-04-03 Morten Welinder <terra@gnome.org>
2551 * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
2552 attributes of the tab.
2554 * src/sheet-control-gui.c (sheet_control_gui_new): Create a
2555 GnmNotebookButton, not an EditableLabel.
2557 2013-04-02 Morten Welinder <terra@gnome.org>
2559 * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
2561 (cb_wbcg_drag_leave): Ditto.
2563 2013-03-27 Morten Welinder <terra@gnome.org>
2565 * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
2566 key we look up. When did that change?
2568 2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
2570 * src/sheet-object-widget.c (sheet_widget_list_create_widget):
2573 2013-03-26 Morten Welinder <terra@gnome.org>
2575 * src/item-edit.c: Theme the in-cell edit background color.
2577 * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
2579 src/gui-gnumeric.h: Remove.
2581 * src/pattern.c (gnumeric_background_set): Insist that ctxt is
2582 non-NULL if there is a selection.
2583 (gnumeric_background_set_gtk): Delete. Make callers use
2584 gnumeric_background_set.
2586 * src/preview-grid.c (preview_grid_draw_background): Always
2587 provide a context to gnumeric_background_set.
2588 * src/item-edit.c (item_edit_draw): Ditto.
2590 * src/item-cursor.c (ic_reload_style): Use class, not state, to
2591 separate the different cursor types. Separate autofill colouring
2594 2013-03-25 Morten Welinder <terra@gnome.org>
2596 * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
2598 (ic_reload_style): Theme some of the cursor colors.
2600 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
2603 * src/item-bar.c: Rename: ItemBar to GnmItemBar.
2605 * src/gnumeric.css: use deprecated px-free syntax for padding, so
2606 gtk+ 3.2 can deal with it.
2608 * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
2609 can suppress deprecations.
2611 * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
2614 * src/item-bar.c (ib_reload_style): Load fonts from style.
2616 2013-03-24 Morten Welinder <terra@gnome.org>
2618 * src/item-grid.c (item_grid_draw_region): Draw the background at
2619 the right coordinates!
2621 2013-03-23 Morten Welinder <terra@gnome.org>
2623 * src/item-bar.c (ib_draw_cell): There's no point in going to and
2624 from GOColor here. Just use the color as-is.
2626 2013-03-19 Morten Welinder <terra@gnome.org>
2628 * src/application.c (install_icons): Install also the icon themed
2629 icons. No idea why we have both.
2631 * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
2633 * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
2634 (embedded_imgs): Add the rest from pixmaps.
2636 * configure.ac: No longer create src/pixmaps/Makefile
2638 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
2639 these work for resources and absolute paths.
2641 2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
2643 * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
2644 not sizeable objects bounds after dragging when zoom is not 100%.
2646 2013-03-18 Morten Welinder <terra@gnome.org>
2648 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
2649 filter. It takes just long enough to be irritating.
2651 2013-03-17 Morten Welinder <terra@gnome.org>
2653 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
2654 style since we're not picking it explicitly.
2655 (cb_font_filter): Fix leak.
2657 2013-03-14 Morten Welinder <terra@gnome.org>
2659 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
2660 ignore non-scalable fonts.
2662 2013-03-11 Morten Welinder <terra@gnome.org>
2664 * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
2666 2013-03-10 Morten Welinder <terra@gnome.org>
2668 * src/ssconvert.c (list_them): Skip savers/openers that require
2669 interaction. (We don't have any yet.)
2671 * src/stf.c (stf_read_workbook): Set error when we fail due to
2673 (stf_init): Mark the configurable saver/opener as interactive.
2675 * src/ssconvert.c (convert): Fix error handling. Fixes #695529.
2677 2013-03-09 Morten Welinder <terra@gnome.org>
2679 * configure.ac: Post-release bump.
2681 2013-03-09 Morten Welinder <terra@gnome.org>
2685 2013-03-06 Morten Welinder <terra@gnome.org>
2687 * src/wbc-gtk.c (list_actions): Handle a null group.
2689 2013-03-03 Morten Welinder <terra@gnome.org>
2691 * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
2692 g_thread_init if compiled with later than glib 2.32.0.
2694 2013-03-02 Jean Brefort <jean.brefort@normalesup.org>
2696 * src/gnm-pane-impl.h: remove alignments.
2697 * src/gnm-pane.c (gnm_pane_header_init): dittO;
2698 * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2699 * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2700 * src/sheet-control-gui-priv.h: remove all tables by one grid.
2701 * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2702 (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2703 (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2704 (scg_mode_edit): ditto.
2705 * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2706 (cb_sheet_visibility_change), (wbcg_sheet_add),
2707 (wbcg_sheet_remove), (wbcg_sheet_focus),
2708 (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2709 (wbcg_get_nth_scg): ditto.
2711 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2713 * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2714 * src/print.c (gnm_create_widget_cb): ditto.
2715 * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
2717 2013-03-01 Morten Welinder <terra@gnome.org>
2719 * src/mathfunc.h: Make sure the "q" functions take "p" as their
2720 first argument, not "x".
2722 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2724 reviewed by: <delete if not using a buddy>
2727 * src/sheet-object-widget.c (sheet_widget_button_user_config),
2728 (sheet_widget_adjustment_user_config_impl),
2729 (sheet_widget_checkbox_user_config),
2730 (sheet_widget_radio_button_user_config):
2731 * src/wbc-gtk.c (wbc_gtk_init):
2733 2013-02-28 Morten Welinder <terra@gnome.org>
2735 * configure.ac: remove the DISABLE_DEPRECATED defines even from
2736 development versions. We now get the information through gcc
2738 (solver): Make solver code unconditional. Feel free to not
2739 distribute the relevant plugins.
2741 2013-02-26 Morten Welinder <terra@gnome.org>
2743 * src/ssconvert.c (convert): Avoid segfault. Fixes #694741.
2745 2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
2747 * src/number-match.c: more introspection warnings.
2749 2013-02-23 Morten Welinder <terra@gnome.org>
2751 * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
2753 2013-02-21 Morten Welinder <terra@gnome.org>
2755 * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
2756 GHFunc. All callers changed. Impose a robust ordering.
2757 (sh_all_styles): New function replacing sh_foreach.
2759 2013-02-20 Morten Welinder <terra@gnome.org>
2761 * src/sheet-object-graph.c (dim_start): Survive malformed xml.
2763 2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
2765 * configure.ac: make configure --with-python fail when some
2766 dependency is missing.
2768 2013-02-17 Morten Welinder <terra@gnome.org>
2770 * configure.ac (set_more_warnings): Improve support for clang.
2772 2013-02-16 Morten Welinder <terra@gnome.org>
2774 * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
2775 (Most cases a matter of 0 vs. 0.)
2777 2013-02-16 Jean Brefort <jean.brefort@normalesup.org>
2779 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
2780 default value for stf export format.
2781 * src/dependent.c: fix introspection warnings.
2782 * src/sheet-style.c: ditto.
2784 2013-02-15 Morten Welinder <terra@gnome.org>
2786 * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
2787 3.2.0 just like goffice.
2789 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
2792 2013-02-14 Morten Welinder <terra@gnome.org>
2794 * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
2795 not MAXDOUBLE. Fixes #693761.
2797 2013-02-10 Morten Welinder <terra@gnome.org>
2799 * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
2800 doesn't belong here. We handle everything in rstyle_apply.
2802 2013-02-08 Morten Welinder <terra@gnome.org>
2804 * src/sheet-style.c (rstyle_apply): Take extra range argument and
2805 link/unlink style dependents. All callers changed.
2806 (sheet_style_shutdown): Set default style for whole sheet to
2807 ensure style dependents get cleared.
2809 2013-02-07 Morten Welinder <terra@gnome.org>
2811 * src/sheet-style.c (cell_tile_optimize): Implement
2812 ptr-matrix-to-matrix optimization and use it to simplify things.
2814 * src/dependent.c (GnmStyleDependent): New type of dependent.
2815 When triggered, the cells in which it resised will be rerendered
2818 * src/mstyle.c (gnm_style_link_dependents)
2819 (gnm_style_unlink_dependents): New functions to manage style
2820 dependents due to conditional formatting.
2822 2013-02-06 Morten Welinder <terra@gnome.org>
2824 * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
2825 inside-out in anticipation of future changes.
2827 (col_indicies, row_indicies): Alignment of the corners of apply_to
2828 is only relevant if we are within the tile.
2830 2013-02-06 Morten Welinder <terra@gnome.org>
2832 * src/sheet-style.c (tile_is_uniform): Extract from
2834 (vector_apply_pstyle): Don't return a value.
2835 (cell_tile_apply): Use tile_is_uniform.
2837 2013-02-05 Morten Welinder <terra@gnome.org>
2839 * src/sheet-style.c (sheet_style_get): Simplify with "while"
2840 instead of crazy "goto".
2841 (cell_tile_apply): Simplify the covers-whole-tile case.
2843 * src/sheet.h (Sheet): Remove max_width and max_height members.
2846 * src/dependent.h (GnmDependentClass): Add pos handler.
2848 * src/dependent.c (dependent_pos): Use pos handler.
2849 (dummy_dep_eval): New null handler for GnmDependentClass::eval.
2851 2013-02-04 Morten Welinder <terra@gnome.org>
2853 * src/dependent.c (dependent_pos): Make global.
2855 * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
2858 * src/ssconvert.c (run_tool_test): Add code for running the
2860 (convert): Run an analysis tool if requested. (For testing.)
2862 2013-02-02 Morten Welinder <terra@gnome.org>
2864 * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
2865 and rstyle_ctor_pstyle. All callers changed.
2867 2013-01-18 Morten Welinder <terra@gnome.org>
2869 * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
2870 (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
2872 (gnm_matrix_multiply): Renamed from mmult and changed to use above.
2873 (gnm_matrix_eigen): Change to take GnmMatrix arguments.
2875 2013-01-15 Morten Welinder <terra@gnome.org>
2877 * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
2878 import from command line.
2880 2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
2882 * configure.ac: renamed configure.in and update obsolete macros.
2883 * configure.in: ditto.
2885 2013-01-14 Colin Watson <cjwatson@ubuntu.com>
2888 distutils.sysconfig.get_python_inc(plat_specific=True) to Python
2891 2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
2893 * src/sheet-control-gui.c (sheet_control_gui_new): typo.
2894 * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
2895 twice the top and bottom margins when displaying a graph
2898 2013-01-10 Morten Welinder <terra@gnome.org>
2900 * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
2901 argument and assume TRUE. Drop scope name and assume NULL (which
2902 is what all callers should have used). All callers changed.
2903 (gnm_func_add_placeholder): Ditto.
2904 (invent_name): Downcase the preferred name.
2905 (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
2906 (gnm_func_add): Initialize arg_names_p.
2908 * src/gnm-plugin.c (plugin_service_function_group_activate):
2909 Upgrade existing placeholder functions as needed.
2911 * src/func.c (gnm_func_upgrade_placeholder): Rename from
2912 gnm_func_upgrade_placeholder. Take GnmFunc argument, not name.
2914 2013-01-10 Morten Welinder <terra@gnome.org>
2916 * src/func.c (gnm_func_add_placeholder_localized): New function.
2917 (gnm_func_add_placeholder_full): Extract from
2918 gnm_func_add_placeholder. Handle localization better.
2919 (gnm_func_set_localized_name): New function.
2920 (gnm_func_free, gnm_func_get_name): Use
2921 gnm_func_set_localized_name.
2923 * src/parse-util.c (std_func_map): Improve handling of unknown
2926 * src/func.c (gnm_func_group_remove_func): Factor this out from...
2927 (gnm_func_free): ...here.
2929 2013-01-09 Morten Welinder <terra@gnome.org>
2931 * src/symbol.c: delete.
2933 * src/func.c: rewrite to use GHashTable instead of symbol.c
2934 (gnm_func_lookup_prefix): Take extra argument indicating whether
2935 to search translated names. Caller changed.
2937 * src/parse-util.c (std_func_map): Lookup translated name as
2939 (parse_util_init): Add enviroment magic to turn on translated
2940 functions names. This is not ready for prime time and should be
2941 controlled by a user preference eventually.
2943 * src/mathfunc.c (gnm_matrix_eigen): Silence warning. Document a
2946 2013-01-07 Morten Welinder <terra@gnome.org>
2948 * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
2949 pivot. Use gnm_hypot where possible.
2951 2013-01-04 Morten Welinder <terra@gnome.org>
2953 * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
2954 as argument. Keep track of displays.
2955 (gnm_x_disown_clipboard): New function.
2957 * src/application.c (gnm_app_clipboard_clear): Use
2958 gnm_x_disown_clipboard to make things multi-head safe.
2960 2013-01-03 Morten Welinder <terra@gnome.org>
2962 * src/collect.c (collect_floats): Fix handling of
2963 COLLECT_IGNORE_ERRORS.
2964 (collect_strings): Ditto.
2965 (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
2967 2013-01-01 Morten Welinder <terra@gnome.org>
2969 * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
2970 deprecated goffice stuff.
2972 * src/cellspan.c (cell_register_span, cell_calc_span): Remove
2974 * src/gnm-pane.c (control_point_leave_notify): Ditto.
2975 * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
2976 * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
2978 * src/application.c (gnm_app_history_add): Kill warning.
2980 2012-12-31 Morten Welinder <terra@gnome.org>
2982 * src/sheet-style.c (sheet_style_resize): Double off-by-one.
2985 * src/ssdiff.c: Introduce --highlight mode.
2987 2012-12-30 Morten Welinder <terra@gnome.org>
2989 * src/ssdiff.c (main): Add option to send output to a file.
2991 2012-12-29 Morten Welinder <terra@gnome.org>
2993 * src/ssdiff.c (diff): Use C locale.
2994 (ignore_cell): Ignore arrays, except for the corner.
2995 (output_cell): New function taking proper care of value types,
2997 (xml_cell_changed): Use output_cell.
2998 (compare_corresponding_cells): Don't use entered_text here either,
2999 although it's harmless.
3000 (output_cell, compare_corresponding_cells): Handle value formats
3003 2012-12-28 Valek Filippov <frob@df.ru>
3005 * gnm-pane.c, shell-control-gui.c: Replaced deprecated
3006 gdk_window_get_pointer calls.
3008 2012-12-28 Morten Welinder <terra@gnome.org>
3010 * src/*.c: Eliminate use of printf.
3012 * src/sheet-style.c (sheet_style_range_foreach): Move handling of
3013 range offset here. This may need to move further.
3014 * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
3015 (diff_sheets_cells): Ignore completely empty cells.
3016 (xml_sheet_start): Change meaning of Old and New attributes to be
3017 index_in_wb and absent when workbook doesn't have the sheet.
3018 (xml_style_changed): Describe style differences.
3020 2012-12-27 Morten Welinder <terra@gnome.org>
3022 * src/ssdiff.c (diff_sheets): Compare styles too.
3024 * src/sheet-style.c (sheet_style_range_foreach): Add optional
3025 range argument. All callers changed.
3027 2012-12-24 Morten Welinder <terra@gnome.org>
3029 * src/ssdiff.c (def_cell_changed): Merge cell_added and
3030 cell_removed handlers into the cell_changed handler.
3031 (main): Add --xml option.
3033 * configure.in: ssconvert, ssindex, and ssgrep are no longer
3034 configurable. We need ssconvert for the test and it's silly
3037 2012-12-18 Morten Welinder <terra@gnome.org>
3039 * configure.in: Post-release bump.