1 2015-03-30 Jean Brefort <jean.brefort@normalesup.org>
3 * src/graph.h: add support for absolute anchoring of sheet objects.
4 * src/item-grid.c: ditto.
5 * src/sheet-control-gui.c: ditto.
6 * src/sheet-filter.c: ditto.
7 * src/sheet-object-cell-comment.c: ditto.
8 * src/sheet-object-component.c: ditto.
9 * src/sheet-object-graph.c: ditto and make graphs not anymore resize with
10 cells by default. [#684450]
11 * src/sheet-object-image.c: make images don't resize with cells by default.
12 * src/sheet-object.c : add support for absolute anchoring of sheet objects.
13 * src/sheet-object.h: ditto.
14 * src/workbook-view.c: ditto.
15 * src/xml-sax-read.c: ditto.
16 * src/xml-sax-write.c: ditto.
18 2015-03-30 Morten Welinder <terra@gnome.org>
20 * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
22 2015-03-23 Morten Welinder <terra@gnome.org>
24 * src/sstest.c (rand_fractile_test): Plug leak.
26 2015-03-21 Morten Welinder <terra@gnome.org>
28 * src/sstest.c (rand_fractile_test): Add support for
29 non-continuous distributions.
31 * src/mathfunc.c (qgeom): Update to current version in R.
33 * src/gnm-random.c (random_geometric): Don't add one.
34 r.{d,p,q}geom all use the version with support {0,1,2,3,...}
36 2015-03-20 Morten Welinder <terra@gnome.org>
38 * src/sstest.c (test_random_randbinom): New test.
39 (test_random_randbetween): New test.
40 (test_random_randexp): New test.
41 (test_random_randpoisson): New test.
42 (test_random_randgeom): New test.
43 (test_random_randnegbinom): New test.
44 (test_random_randlog): New test.
45 (test_random_randdiscrete): New test.
46 (test_random_randgamma): New test.
47 (test_random_randtdist): New test.
48 (test_random_randuniform): New test.
49 (test_random_randfdist): New test.
50 (test_random_randcauchy): New test.
51 (test_random_randbeta): New test.
52 (test_random_randchisq): New test.
53 (test_random_randhyperg): New test.
55 * src/gnm-random.c (random_logarithmic): Fix. See #746449.
57 2015-03-19 Morten Welinder <terra@gnome.org>
59 * src/func.c (dump_samples): New function to dump all sample in
60 help documentation to csv format.
62 * src/sf-gamma.c (qbetaf): Return zero as result when a+b is a
63 non-positive integer, but neither a nor b is.
65 2015-03-07 Morten Welinder <terra@gnome.org>
67 * src/xml-sax-write.c: Use new go_xml_out_add_double.
69 * src/sheet-object-widget.c
70 (sheet_widget_adjustment_write_xml_sax): Use new
71 go_xml_out_add_double.
73 * src/sheet-object-image.c (gnm_soi_write_xml_sax): Use new
74 go_xml_out_add_double.
76 2015-03-05 Morten Welinder <terra@gnome.org>
78 * src/sheet-object-image.c (sheet_object_image_set_image): Drop
79 copy_data argument and simply assume it.
81 2015-03-04 Morten Welinder <terra@gnome.org>
83 * configure.ac: Post-release bump.
85 2015-03-04 Morten Welinder <terra@gnome.org>
89 2015-03-03 Morten Welinder <terra@gnome.org>
91 * src/xml-sax-write.c (gnm_xml_file_save_full): Back down on the
92 version we write and document why we can't easily increase that
95 2015-03-02 Morten Welinder <terra@gnome.org>
97 * src/xml-io-version.h (GnumericXMLVersion): Add new dtd version.
99 * src/xml-sax-read.c (xml_sax_wb): Bring dtd list up to date.
100 (xml_sax_version): Bring version list up to date.
102 2015-03-01 Morten Welinder <terra@gnome.org>
104 * src/sheet-object-widget.c
105 (sheet_widget_list_base_set_selection_value): Plug leak.
107 2015-02-28 Jean Brefort <jean.brefort@normalesup.org>
109 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): ensure that the
110 pixbuf stores the image type.
112 2015-02-28 Morten Welinder <terra@gnome.org>
114 * src/sheet-object-image.c (SheetObjectImage): Just keep the
115 image, not the bytes in addition.
116 (gnm_soi_class_init): Use property "image" of type GOImage instead
117 of "image-data" weirdness.
118 (gnm_soi_draw_cairo): Remove non-functional fallback.
119 (gnm_soi_default_size): Ditto.
121 2015-02-27 Morten Welinder <terra@gnome.org>
123 * src/sheet-object-image.c (gnm_soi_get_property): Use a boxed
124 type for image data. Create image data if needed.
125 (SheetObjectImage): Use a properly allocated GByteArray.
127 * src/sheet-object-widget.c
128 (sheet_widget_adjustment_user_config_impl): Widgets must have
129 changed names at some point. Adjust for that.
131 2015-02-25 Morten Welinder <terra@gnome.org>
133 * src/sheet-object-widget.c (sheet_widget_list_base_set_sheet):
135 (SOW_MAKE_TYPE): Don't evaluate unless we have a sheet for the
138 2015-02-23 Morten Welinder <terra@gnome.org>
140 * src/sheet-object-widget.c (sheet_widget_radio_button_get_value):
143 2015-02-21 Morten Welinder <terra@gnome.org>
145 * src/commands.c (cmd_so_set_adjustment_adj): horizontal is a
146 gboolean, not a double.
148 * src/sheet-object-widget.c
149 (sheet_widget_adjustment_write_xml_sax): Save with sufficient, not
151 (sheet_widget_adjustment_set_horizontal): Take advantage of this
152 new-fangled orientation for scrollbars.
154 2015-02-20 Morten Welinder <terra@gnome.org>
156 * src/sheet-object-widget.c: Make checkbox' "active" writable.
157 (cb_button_released): Set value to FALSE here(!)
159 2015-02-18 Morten Welinder <terra@gnome.org>
161 * src/commands.c (cmd_search_replace_do_cell): Don't report and
162 error just because a cell with text format fails to produce an
163 expression. That's expected for text format.
165 2015-02-17 Morten Welinder <terra@gnome.org>
167 * src/sheet-object-image.c (gnm_soi_get_property): Plug leak.
169 2015-02-11 Morten Welinder <terra@gnome.org>
171 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't bother
172 writing duplicate style so version 1.2 and earlier can read it.
174 2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
176 * src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
177 that can't be convered to valid numbers.
179 2015-02-10 Morten Welinder <terra@gnome.org>
181 * src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
183 2015-02-06 Morten Welinder <terra@gnome.org>
185 * src/sheet-object-widget.c (sheet_widget_adjustment_set_link)
186 (sheet_widget_button_set_link, sheet_widget_checkbox_set_link)
187 (sheet_widget_radio_button_set_link)
188 (sheet_widget_list_base_set_links)
189 (sheet_widget_adjustment_set_details): Only link if we have a
192 2015-02-04 Morten Welinder <terra@gnome.org>
194 * configure.ac: Post-release bump.
196 2015-02-04 Morten Welinder <terra@gnome.org>
200 2015-01-30 Morten Welinder <terra@gnome.org>
202 * src/sheet-object-widget.c
203 (sheet_widget_adjustment_set_horizontal): Make this public.
205 2015-01-23 Morten Welinder <terra@gnome.org>
207 * configure.ac: Post-release bump.
209 2015-01-23 Morten Welinder <terra@gnome.org>
213 2015-01-20 Morten Welinder <terra@gnome.org>
215 * src/gui-util.h (gnumeric_filter_modifiers): Drop reserved bits.
218 2015-01-19 Morten Welinder <terra@gnome.org>
220 * src/gutils.c (gnm_icon_dir): Remove.
222 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
225 * src/sheet-object-image.c (gnm_soi_new_view): Load unknown-image
228 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf):
231 * src/gnm.gresource.xml: pre-process xpm files. gdkpixbuf will
232 otherwise dump them in temporary files in order to load them.
234 * src/workbook.c (workbook_update_graphs): New function.
236 * src/workbook-view.c (workbook_view_new_from_input): Update
239 2015-01-14 Morten Welinder <terra@gnome.org>
241 * src/xml-sax-read.c (xml_sax_cell_content): When we fail to parse
242 an expresssion, make it a string instead of dropping it on the
245 2015-01-13 Morten Welinder <terra@gnome.org>
247 * src/xml-sax-read.c (xml_sax_cell_content): When we discover a
248 missing shared expression, define a dummy version so we don't get
251 2015-01-09 Morten Welinder <terra@gnome.org>
253 * src/value.c (value_compare_real): Rewrite. Handle errors and
254 sort them later than other values. This fixes #742601.
256 2015-01-01 Morten Welinder <terra@gnome.org>
258 * src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
259 names, not stock ids.
261 * src/gnm-pane.c (update_control_point_colors): Avoid
262 gtk_style_context_get_background_color.
263 * src/item-cursor.c (ic_reload_style): Ditto.
265 2014-12-30 Morten Welinder <terra@gnome.org>
267 * src/rendered-value.c (gnm_rendered_value_new):
268 GNM_HALIGN_DISTRIBUTED is justify+center. Fixes #726155.
270 2014-12-27 Morten Welinder <terra@gnome.org>
272 * src/colrow.c (colrow_set_visibility): Don't create columns/rows
273 unless we really have to.
275 2014-12-25 Morten Welinder <terra@gnome.org>
277 * src/sheet-object-graph.c (sog_cb_open_in_new_window): Fix
280 * src/gnm-graph-window.c: Avoid GTK_STOCK_xxx completely.
282 * src/wbc-gtk-actions.c (SheetDirection): use proper icon.
284 * src/wbc-gtk.c (cb_sheet_direction_change): New function to fix
285 icon on sheet direction changes.
287 * src/wbc-gtk-actions.c: Eliminate many uses of GTK_STOCK_...
289 2014-12-24 Morten Welinder <terra@gnome.org>
291 * src/wbc-gtk.c (wbcg_show_save_dialog)
292 (wbcg_close_if_user_permits): Constant propagation.
294 * src/gui-util.c (gnumeric_message_dialog_create): Slightly less
295 GtkStock usage. (Maybe kill whole function? Only two users.)
297 2014-12-22 Morten Welinder <terra@gnome.org>
299 * icons/fake-index-theme: we need actions directories too.
301 2014-12-21 Morten Welinder <terra@gnome.org>
303 * src/item-bar.c (ib_reload_sizing_style): Add fallback for font
306 2014-12-20 Morten Welinder <terra@gnome.org>
308 * src/sheet.c (sheet_insdel_colrow): Fix handling of too-big
309 count in delete, such as used from sheet resize.
311 2014-12-19 Morten Welinder <terra@gnome.org>
313 * src/libgnumeric.c (gnm_pre_parse_init): Use putenv for win32
314 (before g_setenv is available).
316 2014-12-16 Morten Welinder <terra@gnome.org>
318 * src/sstest.c (test_insdel_rowcol_names): Use column name, not
321 * src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
324 2014-12-15 Morten Welinder <terra@gnome.org>
326 * src/sheet-style.c (sheet_style_insdel_colrow): Rename from
327 sheet_style_insert_colrow and handled deletion too.
329 * src/sheet.c (sheet_insdel_colrow): Merge from sheet_insert_rows,
330 sheet_insert_cols, sheet_delete_rows, sheet_delete_cols. Simplify
333 * src/dependent.c (dependent_has_pos, dependent_move): New
336 2014-12-14 Morten Welinder <terra@gnome.org>
338 * src/sheet.c (sheet_colrow_add): Make sure the slot we use is
341 2014-12-11 Morten Welinder <terra@gnome.org>
343 * src/dependent.c (style_dep_debug_name): Include position too.
345 * src/sheet.c (sheet_colrow_add): Merge from sheet_col_add and
347 (colrow_move): Change parameterization slightly.
349 2014-12-06 Morten Welinder <terra@gnome.org>
351 * src/sheet-control-gui.c (scg_unant): Destroy item cursors. We
352 want them visually gone and g_object_unref does not guarantee
355 * src/sheet.c (sheet_insert_rows, sheet_insert_cols): Clear style
356 dependents. A later step clears and re-applies style completely
357 for the moved area. Fixes #741197.
359 * src/sheet-style.c (sheet_style_clear_style_dependents): New
362 * src/sheet.c (sheet_insert_rows, sheet_insert_cols)
363 (sheet_delete_cols, sheet_delete_rows): Plug leaks.
365 * src/command-context.c (gnm_cmd_context_error_splits_array): Plug
367 (gnm_cmd_context_error_splits_merge): Plug leak.
369 2014-11-15 Morten Welinder <terra@gnome.org>
371 * src/sheet-control-gui.c (scg_object_unselect): Avoid crashing if
372 the wbc is already gone.
374 2014-11-09 Morten Welinder <terra@gnome.org>
376 * src/gui-clipboard.c (text_to_cell_region): Guard against NULL
377 data. Might fix Redhat #1160975.
379 2014-10-28 Morten Welinder <terra@gnome.org>
381 * src/style.c (find_font): Accept NULL font name.
383 2014-10-27 Morten Welinder <terra@gnome.org>
385 * src/sheet.c (sheet_destroy_contents): Plug leak from fuzzed
388 2014-10-27 Jean Brefort <jean.brefort@normalesup.org>
390 * src/item-cursor.c (cb_item_cursor_animation): use
391 goc_canvas_invalidate_region() for ants walking. Avoid drawing
392 outside of a draw event.
394 2014-10-26 Morten Welinder <terra@gnome.org>
396 * src/value.h (VALUE_IS_CELLRANGE, VALUE_IS_ARRAY): New macros.
398 (GnmValue): Drop type union member. C99 requires that this be
399 accessed in a structure. We have v_any for that.
401 2014-10-25 Morten Welinder <terra@gnome.org>
403 * src/expr-impl.h (GNM_EXPR_GET_OPER): Redefine in a way that
404 ought to survive both gcc's aliasing analysis and valgrind's
407 2014-10-24 Morten Welinder <terra@gnome.org>
409 * src/xml-sax-write.c (xml_write_selection_info): Plug leak.
411 2014-10-21 Morten Welinder <terra@gnome.org>
413 * src/mstyle.c (gnm_style_dump_color): Also dump auto flag.
415 2014-09-25 Morten Welinder <terra@gnome.org>
417 * configure.ac: Post-release bump.
419 2014-09-25 Morten Welinder <terra@gnome.org>
423 2014-09-25 Morten Welinder <terra@gnome.org>
425 * src/sheet-filter.c (gnm_filter_condition_new_single)
426 (gnm_filter_condition_new_double): Fix preconditions. See
429 2014-09-23 Morten Welinder <terra@gnome.org>
431 * src/libgnumeric.c (gnm_pre_parse_init): Mess with gobject so it
432 doesn't spew deprecation warnings by default.
434 2014-09-11 Morten Welinder <terra@gnome.org>
436 * src/style.c (gnm_translate_underline_from_pango): Survive
437 PANGO_UNDERLINE_ERROR.
439 2014-06-09 Morten Welinder <terra@gnome.org>
441 * configure.ac: Post-release bump.
443 2014-06-09 Morten Welinder <terra@gnome.org>
447 2014-05-28 Morten Welinder <terra@gnome.org>
449 * src/sheet-control-gui.c (resize_pane_pos): Improve the situation
450 when we drag the handle into the col/row canvas.
452 * src/sheet-view.c (sv_freeze_panes): Add debug code.
454 * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
455 handler. Fixes #730884.
457 2014-05-27 Morten Welinder <terra@gnome.org>
459 * src/gnm-pane.c (gnm_pane_header_init): Hold references to
460 col/row canvas. Fixes #730857.
461 (gnm_pane_dispose): Release references.
463 2014-05-23 Morten Welinder <terra@gnome.org>
465 * configure.ac: Post-release bump.
467 2014-05-23 Morten Welinder <terra@gnome.org>
471 2014-05-23 Morten Welinder <terra@gnome.org>
473 * src/clipboard.c (clipboard_copy_ranges_undo): New function. We
474 need better building blocks for commands; this is one such.
476 2014-05-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
478 * src/commands.c (cmd_hyperlink_undo): use posiitons rather than cells
479 (cmd_hyperlink_redo): ditto
480 (cmd_hyperlink_finalize): ditto
481 (cb_cmd_hyperlink_find_cells): ditto
483 2014-05-20 Morten Welinder <terra@gnome.org>
485 * src/gutils.c (gnm_hash_table_foreach_ordered): New function.
487 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): Don't write
488 outline and fill colours that are auto, even for the 1.0 format.
490 * src/mstyle.c (gnm_style_link_dependents): Speed up certain large
491 conditional format ranges.
493 2014-05-14 Morten Welinder <terra@gnome.org>
495 * src/ssindex.c (ssindex): Use gnm_object_has_readable_prop.
497 * src/gutils.c (gnm_object_has_readable_prop): New function.
499 * configure.ac (scrollkeeper): Test if we have it.
501 2014-05-05 Morten Welinder <terra@gnome.org>
503 * src/wbc-gtk.c (toolbar_context_menu): Remove
504 HAVE_GTK_HANDLE_BOX_FLOAT_WINDOW. That has been unconditionally
505 false for years and is unsupported in gtk+.
507 2014-04-30 Morten Welinder <terra@gnome.org>
509 * configure.ac: Post-release bump.
511 2014-04-30 Morten Welinder <terra@gnome.org>
515 2014-04-23 Morten Welinder <terra@gnome.org>
517 * src/complete.c (complete_idle): Avoid abort().
519 * src/wbc-gtk.c (cb_update_idle): Clear ->idle when we cancel the
522 2014-04-22 Morten Welinder <terra@gnome.org>
524 * src/style-color.c (gnm_color_new_name): Remove. All calls
525 replaced with calls to gnm_color_new_go.
527 * src/sheet-style.c (sheet_style_init_size): Plug leak.
529 * src/style-color.c (gnm_color_shutdown): Free the auto colours.
531 2014-04-21 Morten Welinder <terra@gnome.org>
533 * src/gnumeric.css (GnmNotebook): Set padding for top and bottom
534 only in the hop of fixing #728465.
536 2014-04-13 Morten Welinder <terra@gnome.org>
538 * configure.ac: Post-release bump.
540 2014-04-13 Morten Welinder <terra@gnome.org>
544 2014-04-11 Morten Welinder <terra@gnome.org>
546 * src/item-bar.c: Get colours when we draw; only get sizing
547 relevant information at odd times, in particular when parent
548 widgets may be insensitive, such as during a load-onto-pristine.
551 2014-04-10 Morten Welinder <terra@gnome.org>
553 * src/item-bar.c (ib_reload_style): Add debug code.
555 2014-04-09 Morten Welinder <terra@gnome.org>
557 * src/number-match.c (format_match_datetime): Plug leak on certain
560 2014-04-02 Morten Welinder <terra@gnome.org>
562 * src/sf-gamma.c (pochhammer): Plain floor is good enough for
565 2014-03-30 Morten Welinder <terra@gnome.org>
567 * src/application.c (gnm_app_remove_extra_ui): Remove from global
570 2014-03-28 Morten Welinder <terra@gnome.org>
572 * src/main-application.c (main): Move Ubuntu hack earlier.
574 2014-03-27 Morten Welinder <terra@gnome.org>
576 * src/main-application.c (main): Attempt to banish ubuntu's
577 overlay scrollbar which don't work.
579 2014-03-21 Morten Welinder <terra@gnome.org>
581 * src/style-conditions.c (gnm_style_cond_eval): Make "Contains..."
582 case insensitve and allow wildcards.
584 * src/gutils.c (gnm_excel_search_impl): New function, extracted
587 * src/style-conditions.c (generate_end_match): Use case
588 insensitive comparison. Pull negation into the operator.
589 (gnm_style_cond_eval): "Start with..." and "Ends with..." are case
592 2014-03-18 Morten Welinder <terra@gnome.org>
594 * src/gui-util.c (kill_popup_menu): One more try at really killing
595 the context menu after we're done with it.
597 * src/item-grid.c (item_grid_realize): Plug leak.
599 2014-03-18 Morten Welinder <terra@gnome.org>
601 * configure.ac: Post-release bump.
603 2014-03-18 Morten Welinder <terra@gnome.org>
607 2014-03-18 Morten Welinder <terra@gnome.org>
609 * src/wbc-gtk.c (cb_screen_changed): Plug leak by unloading css
610 providers from screens on exit.
612 * src/sheet-style.c (cell_tile_dump): Less debug chatter.
614 2014-03-17 Morten Welinder <terra@gnome.org>
616 * src/mathfunc.c (gnm_log2): Remove. Use libm's log2.
618 2014-03-16 Morten Welinder <terra@gnome.org>
620 * src/expr.c (gnm_expr_eval): Survive dynamic deps in conditional
621 formats. I'm not positive we do things right, but this avoids
624 * src/cell.c (cell_set_expr_internal): Don't change an existing
627 2014-03-15 Morten Welinder <terra@gnome.org>
629 * src/style-border.c (gnm_border_shutdown): New function to help
630 debug leaks. Shutdown border_none here.
632 * src/style-color.c (gnm_color_shutdown): Not here.
634 2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
636 * src/item-grid.c (item_grid_realize), (cb_cursor_come_to_rest): move
637 the tooltip where it will not immediatly be destroyed after creation.
640 2014-03-14 Morten Welinder <terra@gnome.org>
642 * src/xml-sax-write.c (xml_write_style): Don't write a font name
643 if we don't have any.
645 2014-03-14 Jean Brefort <jean.brefort@normalesup.org>
647 * src/gui-util.c (gnm_canvas_get_position): fix tooltip position. [#725941]
649 2014-03-13 Morten Welinder <terra@gnome.org>
651 * src/style-conditions.c (gnm_style_cond_eval): New function
652 extracted from gnm_style_conditions_eval. Make "equal" case
653 insensitive. Fixes #726246.
655 * src/ssconvert.c (convert): Show resize message only if verbose.
657 2014-03-12 Morten Welinder <terra@gnome.org>
659 * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
661 (gnm_style_cond_canonicalize): New function.
663 * src/ssconvert.c (convert): only print "Using exporter ..." if
664 --verbose is given, and print it to stderr.
666 2014-03-11 Morten Welinder <terra@gnome.org>
668 * src/sheet.c (cb_set_markup): Don't mess directly with
669 cell->value. We need to trigger a re-render. Fixes #726086.
671 * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
672 for the pre-validation assignment.
674 * src/sheet.c (sheet_cell_set_text): Put markup on the value
675 before assigning it to the cell.
677 2014-03-10 Morten Welinder <terra@gnome.org>
679 * gnumeric.xsd: Update valign/halign attributes. Update print
682 * src/sheet-filter.c (gnm_filter_condition_new_single)
683 (gnm_filter_condition_new_double): Add preconditions.
685 2014-03-07 Morten Welinder <terra@gnome.org>
687 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
689 2014-03-05 Morten Welinder <terra@gnome.org>
691 * src/expr.c (gnm_expr_top_is_volatile): New function.
693 * src/workbook-view.c (workbook_view_new_from_input): Queue all
694 volatile expressions.
696 * src/dependent.c (workbook_queue_volatile_recalc): New function.
697 (dependent_is_volatile): New function.
699 * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
700 Don't set the initial range here.
702 * src/expr.c (gnm_expr_top_first_funcall)
703 (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
704 (gnm_expr_top_referenced_sheets): Rewrite in terms of
706 (gnm_expr_top_get_boundingbox): Set initial range here.
708 * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
711 2014-03-03 Morten Welinder <terra@gnome.org>
713 * configure.ac: Post-release bump.
715 2014-03-03 Morten Welinder <terra@gnome.org>
719 2014-03-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
721 * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
723 2014-03-02 Morten Welinder <terra@gnome.org>
725 * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
727 (wbcg_sheet_order_changed): Mark ui as being updated.
728 (cb_bnotebook_page_reordered): Ignore during UI update.
730 * src/expr-name.c (gnm_named_expr_collection_dump)
731 (gnm_named_expr_collection_sanity_check): New function.
733 * src/application.c (gnm_app_sanity_check): New function.
735 * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
736 string inside the GOString as a hash key. It can change.
737 (gnm_named_expr_collection_foreach): As a consequence of the
738 above, the first argument to the handler for
739 gnm_named_expr_collection_foreach changes to something
740 unspecified. All callers changed.
742 * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
745 * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
746 when encountering strangeness.
748 2014-02-28 Morten Welinder <terra@gnome.org>
750 * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
751 If row/column canvas is not visible, ignore them.
752 (scg_gtk_paned_set_position): Don't allow negative position.
755 * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
758 2014-02-27 Jean Brefort <jean.brefort@normalesup.org>
760 * src/item-grid.c (item_grid_draw_region): fix background filling for
761 rtl sheets. [#725276]
763 2014-02-25 Morten Welinder <terra@gnome.org>
765 * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
766 (gnumeric_create_popup_menu): Drop return value from handler.
768 * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
769 are cell comments by position.
771 2014-02-24 Morten Welinder <terra@gnome.org>
773 * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
775 * src/colrow.c (colrow_equal): Don't use floating-point equality
776 here. Allow a difference of 1e-5 pt for size.
778 2014-02-23 Morten Welinder <terra@gnome.org>
780 * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
781 fill in the new areas with most common styles for the rows to the
782 left of the new columns or the columns above the new area.
784 2014-02-19 Morten Welinder <terra@gnome.org>
786 * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
787 (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
789 * src/mathfunc.c (gnm_log2): New function.
791 2014-02-18 Morten Welinder <terra@gnome.org>
793 * src/ssdiff.c (xml_style_changed): Report differences for
796 2014-02-17 Morten Welinder <terra@gnome.org>
798 * src/ssconvert.c (convert): Add --resize option.
800 2014-02-16 Jean Brefort <jean.brefort@normalesup.org>
802 * src/item-grid.c (item_grid_realize): fix persistence of
803 hyperlink tips. [see #724108]
805 2014-02-16 Morten Welinder <terra@gnome.org>
807 * configure.ac: Post-release bump.
809 2014-02-16 Morten Welinder <terra@gnome.org>
813 2014-02-16 Morten Welinder <terra@gnome.org>
815 * src/func.c (function_dump_defs): Update boilerplate.
817 2014-02-11 Morten Welinder <terra@gnome.org>
819 * configure.ac: Post-release bump.
821 2014-02-11 Morten Welinder <terra@gnome.org>
825 2014-02-07 Morten Welinder <terra@gnome.org>
827 * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
828 entry on top of merged cells. Fixes #723600.
830 2014-02-06 Jean Brefort <jean.brefort@normalesup.org>
832 * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
833 a better fix to previous issue.
835 2014-01-30 Morten Welinder <terra@gnome.org>
837 * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
840 * src/item-cursor.c (item_cursor_draw): Make the ant animation
841 smoother (when not using the fallback). Avoid using hard light
842 for ant-ing -- that doesn't work for the same reason as alpha not
843 working. Always use phase=0 for non-ant stipples.
844 (GnmItemCursor): Use the canvas item's visibility flag instead of
847 2014-01-29 Morten Welinder <terra@gnome.org>
849 * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
851 * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
852 check for bad clipping somewhere in gtk+ or theme land.
854 2014-01-28 Jean Brefort <jean.brefort@normalesup.org>
856 * src/sheet-object-component.c (gnm_soc_user_config): release the new
857 component reference to the workbook.
859 2014-01-27 Morten Welinder <terra@gnome.org>
861 * src/func.c (function_dump_defs): Undo wiki change.
863 2014-01-21 Morten Welinder <terra@gnome.org>
865 * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
866 the amount of work we do for ant-ing. Fixes #381011, patch from
868 (ic_reload_style): Ignore alpha component of ant colours.
870 2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
872 * src/graph.c (gnm_go_data_vector_load_len),
873 (gnm_go_data_vector_load_values): accept 3D values for vector data.
876 2014-01-16 Morten Welinder <terra@gnome.org>
878 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
879 cb_darken_foreground_attributes and change to take non-white
880 background into account.
882 2014-01-12 Morten Welinder <terra@gnome.org>
884 * src/mathfunc.c (expmx2h): Split out from dnorm.
885 (dhyper): Round the chosen "p" to float to improve accuracy of
888 2014-01-11 Morten Welinder <terra@gnome.org>
890 * src/mathfunc.c (pow1p): Improve accuracy.
891 (R_D_nonint): Fix rounding problem.
892 (ebd0): New extended version of bd0.
893 (dpois_raw, dbinom_raw): Use ebd0.
894 (dbinom_raw): Handle x==n and x==0 much better.
896 2014-01-08 Morten Welinder <terra@gnome.org>
898 * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
901 * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
903 * src/gui-file.h: Namespace improvements. Also make gui_file_read
904 return the WorkbookView instead of a boolean.
906 2014-01-01 Morten Welinder <terra@gnome.org>
908 * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
910 2013-12-31 Morten Welinder <terra@gnome.org>
912 * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
915 2013-12-30 Morten Welinder <terra@gnome.org>
917 * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
919 (dpois_raw): Avoid going through logs, if possible.
921 2013-12-25 Morten Welinder <terra@gnome.org>
923 * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
924 we return FALSE so we don't try to remove the source later.
926 2013-12-22 Morten Welinder <terra@gnome.org>
928 * src/gui-util.c (gnm_widget_measure_string): New function
929 allowing the elimination of all gtk_style_context_get_font calls.
931 2013-12-19 Morten Welinder <terra@gnome.org>
933 * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
934 especially when |x|<<1. Ditto for x<-1.
936 2013-12-17 Morten Welinder <terra@gnome.org>
938 * src/sf-gamma.c (complex_gamma): Turn a complex division into a
941 2013-12-14 Morten Welinder <terra@gnome.org>
943 * src/sf-gamma.c (complex_igamma): New function.
945 2013-12-12 Mario Rugiero <mrugiero@gmail.com>
947 * */*.c: Fix some leaks and null dereferences pointed out by
950 2013-12-12 Morten Welinder <terra@gnome.org>
952 * src/parser.y (array_row): Avoid overrunning string when multiple
953 missing closing parentheses are detected. Fixes #720353.
955 2013-12-11 Morten Welinder <terra@gnome.org>
957 * src/gui-util.c (gnumeric_popup_menu): Use the screen from
958 gdk_event_get_screen, not from ->screen. This might fix #720182.
960 * src/*.c: Use accessor function for GdkEvent when convenient.
962 2013-12-07 Morten Welinder <terra@gnome.org>
964 * src/application.c (gnm_app_init): Don't allocate a
965 GtkRecentManager if we are not in gui mode.
967 * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
969 * src/dependent.c (deprange_hash): Ditto.
971 2013-12-04 Morten Welinder <terra@gnome.org>
973 * src/sf-gamma.c (gamma_error_factor): Add extra term.
975 2013-12-07 Morten Welinder <terra@gnome.org>
977 * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
978 of the argument for [-1.5;-0.5].
980 * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
981 Re z < 1/2. Avoid some overflow.
983 2013-12-02 Morten Welinder <terra@gnome.org>
985 * src/sf-bessel.c (bessel_y): Use the J series when possible.
987 2013-12-07 Morten Welinder <terra@gnome.org>
989 * src/sf-bessel.c (bessel_j): Use the taylor series in the
990 parameter range where that makes sense.
992 * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
995 2013-11-30 Morten Welinder <terra@gnome.org>
997 * src/sf-gamma.c (pochhammer): Drop give_log arguments. Extend to
1000 2013-11-28 Morten Welinder <terra@gnome.org>
1002 * configure.ac: Post-release bump.
1004 2013-11-28 Morten Welinder <terra@gnome.org>
1008 2013-11-25 Morten Welinder <terra@gnome.org>
1010 * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
1013 2013-11-19 Morten Welinder <terra@gnome.org>
1015 * src/print.c (print_page): Fix check for missing object. Fixes
1018 2013-11-18 Morten Welinder <terra@gnome.org>
1020 * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
1022 2013-11-15 Morten Welinder <terra@gnome.org>
1024 * src/mathfunc.c (reduce_pi_half): New function.
1026 2013-11-14 Morten Welinder <terra@gnome.org>
1028 * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
1029 (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
1031 2013-11-13 Morten Welinder <terra@gnome.org>
1033 * src/mathfunc.c (lgamma_r): Fix fallback. Didn't work for x<10.
1035 2013-11-13 Jean Brefort <jean.brefort@normalesup.org>
1037 * src/sheet-object.c (sheet_object_view_button2_pressed),
1038 (sheet_object_view_class_init): implement double click for graph sheets.
1041 2013-11-12 Morten Welinder <terra@gnome.org>
1043 * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
1045 (cb_bnotebook_page_reordered): New function.
1046 (wbc_gtk_create_notebook_area): Attach a handler for reordering.
1048 * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
1050 2013-11-06 Morten Welinder <terra@gnome.org>
1052 * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
1054 2013-11-06 Jean Brefort <jean.brefort@normalesup.org>
1056 * src/workbook-view.c: add more introspection related comments.
1057 * src/workbook.c: ditto.
1059 2013-11-03 Morten Welinder <terra@gnome.org>
1061 * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
1062 sin/cos before scaling by pi.
1064 2013-11-01 Morten Welinder <terra@gnome.org>
1066 * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
1067 (gnm_gamma): Protect against unnecessary overflow at top of range.
1069 2013-10-31 Morten Welinder <terra@gnome.org>
1071 * src/mathfunc.c (qgamma): Flip tail for high values of p. This
1072 avoids accuracy problems since any cdf is completely flat in terms
1073 of floating point values when going sufficiently far into the
1077 (J_bessel): Extend xlrg_BESS_IJ to match current R.
1078 (permut): Route this into pochhammer.
1079 (qfact): New function. Tabulate 0! through 50000! using quad
1080 precision arithmetic.
1081 (combin, fact, pochhammer): Improve accuracy using qfact.
1083 2013-10-22 Morten Welinder <terra@gnome.org>
1085 * src/func.c (function_call_with_exprs): Move flags argument into
1088 2013-10-19 Morten Welinder <terra@gnome.org>
1090 * src/hlink.c (_gnm_hlink_init): New function.
1091 * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
1093 2013-10-07 Morten Welinder <terra@gnome.org>
1095 * configure.ac: Post-release bump.
1097 2013-10-07 Morten Welinder <terra@gnome.org>
1101 2013-10-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1103 * src/cmd-edit.c (cmd_paste): chceck for locked cells
1105 2013-10-03 Morten Welinder <terra@gnome.org>
1107 * src/item-cursor.c (item_cursor_draw): Drop expose area
1108 optimization that may not be correct with current gtk. See bug
1111 2013-09-29 Morten Welinder <terra@gnome.org>
1113 * src/main-application.c: Include <io.h> for win32.
1115 * src/wbc-gtk-actions.c: Include gutils.h for win32.
1117 2013-09-25 Morten Welinder <terra@gnome.org>
1119 * src/gnumeric.css: Use lighter green for function marker.
1121 2013-09-01 Morten Welinder <terra@gnome.org>
1123 * configure.ac: Post-release bump.
1125 2013-09-01 Morten Welinder <terra@gnome.org>
1129 2013-08-29 Morten Welinder <terra@gnome.org>
1131 * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
1134 2013-08-28 Morten Welinder <terra@gnome.org>
1136 * src/mathfunc.c (gnm_gamma): Improve precision for large
1138 (gnm_yn): Not needed anymore.
1139 (bessel_i): Don't mark error strings for translation.
1141 2013-08-27 Morten Welinder <terra@gnome.org>
1143 * configure.ac: Post-release bump.
1145 2013-08-27 Morten Welinder <terra@gnome.org>
1149 2013-08-26 Morten Welinder <terra@gnome.org>
1151 * src/sheet-style.c (cell_tile_dump): New function for debugging.
1152 (internal_style_list): Add fast pre-optimization to bring down the
1153 number of entries before we start messing with hashes. Fixes
1156 2013-08-22 Jean Brefort <jean.brefort@normalesup.org>
1158 * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
1159 GraphDimEditor::changed. See bug 706591 comment #2.
1161 2013-08-19 Morten Welinder <terra@gnome.org>
1163 * configure.ac: Post-release bump.
1165 2013-08-19 Morten Welinder <terra@gnome.org>
1169 2013-08-15 Morten Welinder <terra@gnome.org>
1171 * src/dependent.c (dep_hash_destroy): Relink the changed dep.
1174 * src/sheet.c (sheet_destroy_contents): Also get rid of solver
1175 parameters. See bug 705913, comment 6.
1177 2013-08-13 Morten Welinder <terra@gnome.org>
1179 * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
1181 2013-08-12 Morten Welinder <terra@gnome.org>
1183 * src/sheet-object-widget.c (sow_create_widget): New function.
1184 Add sheet-object class to widgets.
1186 2013-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1188 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
1190 (sheet_widget_button_draw_cairo): also scale line thickness
1191 (sheet_widget_checkbox_draw_cairo): scale button size
1192 (sheet_widget_radio_button_draw_cairo): scale button size
1194 2013-08-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1196 * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
1197 argument and change all callers
1199 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1201 * src/sheet-object-widget.c (get_font): add fall-backs
1203 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1205 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1207 (draw_cairo_text): add h-vcenter argument and change all callers
1209 2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
1211 * src/sheet-object-widget.c (cb_range_destroyed),
1212 (sheet_widget_scrollbar_create_widget),
1213 (sheet_widget_spinbutton_create_widget),
1214 (sheet_widget_slider_create_widget): avoid crashing after destroying a
1215 SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
1217 2013-08-09 Morten Welinder <terra@gnome.org>
1219 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
1221 (get_font): New function extracted from draw_cairo_text.
1223 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1225 * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
1228 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1230 * src/sheet-object-widget.c (draw_cairo_text): add arguments to
1231 allow multi-paragraph with a highlighted line. Change all callers
1232 (sheet_widget_list_draw_cairo): use draw_cairo_text
1234 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1236 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
1237 cairo version for Gnuemric too.
1238 (sheet_widget_button_draw_cairo): ditto
1239 (sheet_widget_scrollbar_draw_cairo): ditto
1240 (sheet_widget_spinbutton_draw_cairo): ditto
1241 (sheet_widget_slider_draw_cairo): ditto
1242 (sheet_widget_checkbox_draw_cairo): ditto
1243 (sheet_widget_radio_button_draw_cairo): ditto
1244 (sheet_widget_list_draw_cairo): ditto
1245 (sheet_widget_combo_draw_cairo): ditto
1247 2013-08-08 Morten Welinder <terra@gnome.org>
1249 * src/parse-util.c (r1c1_get_index): Handle integer overflow.
1250 Reduce crazy relative offsets.
1252 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1254 * src/sheet-object-widget.c (draw_cairo_text): add arguments and
1256 (sheet_widget_frame_draw_cairo): new
1257 (sheet_widget_button_draw_cairo): new
1258 (sheet_widget_scrollbar_horizontal_draw_cairo): new
1259 (sheet_widget_scrollbar_vertical_draw_cairo): new
1260 (sheet_widget_scrollbar_class_init): connect the above
1261 (sheet_widget_spinbutton_draw_cairo): new
1262 (sheet_widget_spinbutton_class_init): connect the above
1263 (sheet_widget_slider_horizontal_draw_cairo): new
1264 (sheet_widget_slider_vertical_draw_cairo): new
1265 (sheet_widget_slider_draw_cairo): new
1266 (sheet_widget_slider_class_init): connect the above
1267 (sheet_widget_list_draw_cairo): new
1268 (sheet_widget_list_class_init): connect the above
1269 (sheet_widget_combo_draw_cairo): new
1270 (sheet_widget_combo_class_init): connect the above
1272 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1274 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
1275 change all uses of this macro
1276 (draw_cairo_text): new
1277 (sheet_widget_checkbox_draw_cairo): new
1278 (sheet_widget_radio_button_draw_cairo): new
1280 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1282 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
1283 gtk_offscreen_window_new without a default screen (see bugs #705638
1286 2013-08-07 Morten Welinder <terra@gnome.org>
1288 * src/ssconvert.c (main): Initialize gtk+ without opening any
1291 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1293 * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
1295 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1297 * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
1298 * src/sheet-control-gui.c (scg_init): init new fields
1299 (scg_im_destroy): new
1300 (scg_finalize): call scg_im_destroy
1301 (cb_cell_im_timer): new
1302 (scg_find_pane): new
1303 (scg_show_im_tooltip): new
1304 (scg_class_init): init new field
1305 * src/sheet-control-priv.h: add field
1306 * src/sheet-control.c: add virtual
1307 * src/sheet-control.h: add virtual
1308 * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
1309 (sv_update): call sheet_view_edit_pos_tool_tips
1310 * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
1312 (sheet_row_get_distance_pixels): new
1313 * src/sheet.h (sheet_row_get_distance_pixels): new
1315 2013-08-03 Jean Brefort <jean.brefort@normalesup.org>
1317 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
1318 nodes in guppi graphs. [Debian #718594]
1320 2013-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1322 * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
1325 2013-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1327 * src/sheet-control-gui.c (context_menu_handler): add argument to
1328 dialog_cell_format call
1329 * src/wbc-gtk-actions.c (cb_format_cells): add argument to
1330 dialog_cell_format call
1331 (cb_data_validate): ditto
1333 2013-07-30 Morten Welinder <terra@gnome.org>
1335 * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
1336 colour. Fixes rest of #705031.
1338 2013-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1340 * src/func.c (gnm_func_lookup_prefix): do not include placeholders
1342 2013-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1344 * gnumeric.desktop.in: add ODS files
1346 2013-07-23 Jean Brefort <jean.brefort@normalesup.org>
1348 * src/graph.c (gnm_go_data_vector_load_values): really load all
1349 values for multiple ranges.
1351 2013-07-19 Morten Welinder <terra@gnome.org>
1353 * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
1354 check: the enum has a hole in the middle. Fixes #704562.
1356 2013-07-19 Jean Brefort <jean.brefort@normalesup.org>
1358 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
1360 * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
1362 2013-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1364 * src/gnm-so-path.c (gnm_so_path_class_init): add new property
1365 (gnm_so_path_set_property): ditto
1366 (gnm_so_path_get_property): ditto
1368 2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
1370 * src/gnm-so-path.c (so_path_view_set_bounds),
1371 (cb_gnm_so_path_changed): a better fix for the text position.
1373 2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
1375 * src/gnm-so-filled.c (so_filled_view_set_bounds),
1376 (cb_gnm_so_filled_changed): fix text wrap. [#704417]
1377 * src/gnm-so-path.c (so_path_view_set_bounds),
1378 (cb_gnm_so_path_changed): fix text wrap in paths too.
1380 2013-07-16 Morten Welinder <terra@gnome.org>
1382 * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
1383 computing range size. Fixes #704325.
1385 2013-07-15 Morten Welinder <terra@gnome.org>
1387 * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
1388 that. Fixes #704004.
1390 * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
1392 * src/dependent.c (link_range_dep, unlink_range_dep): Protect
1393 against oversize range.
1395 2013-07-12 Morten Welinder <terra@gnome.org>
1397 * src/expr.c (gnm_expr_range_op): When constructing a range, make
1398 sure it falls within the sheet.
1399 (gnm_expr_new_range_ctor): Don't optimize to range if the two
1400 parts are on different sheets. Fixes #704109.
1402 2013-07-10 Morten Welinder <terra@gnome.org>
1404 * configure.ac: Post-release bump.
1406 2013-07-10 Morten Welinder <terra@gnome.org>
1410 2013-07-10 Morten Welinder <terra@gnome.org>
1412 * src/value.c (parse_criteria): Patterns should anchor at the end
1413 (#703770) and be case insensitive (no bug#).
1415 2013-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1417 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
1418 to create an image of unknown type
1420 2013-07-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1422 * src/graph.c (gnm_go_data_vector_load_len): use consistent
1424 (cb_assign_val): quieten warning about signed/unsigned comparison
1426 2013-07-03 Morten Welinder <terra@gnome.org>
1428 * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
1430 (cb_assign_val): Ditto.
1432 2013-07-02 Morten Welinder <terra@gnome.org>
1434 * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
1435 (cb_style_list_add_node): Ditto.
1436 (verify_hashes): Ditto.
1437 (internal_style_list): Ditto.
1439 * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
1442 2013-07-01 Morten Welinder <terra@gnome.org>
1444 * configure.ac (long double): Crude use -lm for long double
1445 function checks. Fixes #703397.
1447 2013-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1449 * src/expr.c (gnm_expr_list_copy): new
1450 * src/expr.h (gnm_expr_list_copy): new
1452 2013-06-26 Morten Welinder <terra@gnome.org>
1454 * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
1455 of ->op before using it. Fixes #703143.
1457 2013-06-26 Jean Brefort <jean.brefort@normalesup.org>
1459 * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
1461 (gnm_so_path_copy): fixed copy with multiple paths.
1463 2013-06-25 Morten Welinder <terra@gnome.org>
1465 * configure.ac: Post-release bump.
1467 2013-06-25 Morten Welinder <terra@gnome.org>
1471 2013-06-24 Morten Welinder <terra@gnome.org>
1473 * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
1474 sheet. Fixes #703006.
1476 2013-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1478 * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
1481 2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
1483 * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
1484 a valid pattern. [#702833]
1485 * src/pattern.c (gnumeric_background_set): ditto.
1487 2013-06-21 Morten Welinder <terra@gnome.org>
1489 * src/item-grid.c (item_grid_draw_region): Plug leak.
1491 * src/item-bar.c (ib_reload_style): Plug leak.
1493 2013-06-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1495 * src/wbc-gtk.c (show_gui): protect against excessively large
1496 preferred widow sizes
1498 2013-06-14 Morten Welinder <terra@gnome.org>
1500 * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
1502 * src/workbook.c (workbook_sheet_delete): Debug.
1503 (workbook_dispose): Also clear style here. Styles can have
1504 dependents now. Fixes #702218.
1506 2013-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1508 * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
1510 2013-06-12 Morten Welinder <terra@gnome.org>
1512 * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
1515 2013-06-04 Morten Welinder <terra@gnome.org>
1517 * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
1519 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1521 * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
1522 (scg_comment_display): adjust background and fontcolor if necessary
1524 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1526 * src/item-grid.c (cb_cursor_come_to_rest):
1527 gnumeric_position_tooltip needs the tooltip size, so load the text
1530 2013-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1532 * src/item-grid.c (item_grid_button_released): do not trigger hyper link
1535 2013-05-27 Morten Welinder <terra@gnome.org>
1537 * src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
1538 and we aren't very good at it.
1540 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1542 * component/Gnumeric-embed.xml.in: add accelerator
1543 * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
1544 * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
1545 (EditGotoCellIndicator): new
1546 * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
1547 (wbcg_focus_current_cell_indicator): new
1548 * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
1550 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1552 * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
1553 * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
1554 * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
1555 * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
1557 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1559 * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
1560 behave the same as far as cell selection is concerned. This fixes
1562 (item_grid_button_released): ditto
1564 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1566 * src/sheet.c (sheet_get_extent): add argument to indicate whether
1567 to include hidden cells
1568 (cb_sheet_get_extent): handle hidden cells setting
1569 (sheet_get_printarea): do not include hidden cells
1570 * src/sheet.h (sheet_get_extent): add argument and change all
1573 2013-05-26 Morten Welinder <terra@gnome.org>
1575 * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
1576 Termiate when contributions vanish.
1578 2013-05-24 Morten Welinder <terra@gnome.org>
1580 * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
1582 (pfuncinverter): Handle lack of dfunc (poorly).
1584 2013-05-23 Morten Welinder <terra@gnome.org>
1586 * src/mathfunc.c (ptukey_otsum): Split integration of a single
1587 interval out from out from R_ptukey.
1588 (R_ptukey): Split the interval nearest 0 into a sequence of
1589 intervals over which the integrand looks a lot more like a
1590 polynomial. This fixes accuracy problems for low degrees of
1593 * src/sheet-style.c (internal_style_list): Fix critical.
1595 2013-05-22 Morten Welinder <terra@gnome.org>
1597 * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
1599 2013-05-21 Morten Welinder <terra@gnome.org>
1601 * src/mathfunc.c (R_ptukey): More C, less Fortran.
1603 2013-05-19 Morten Welinder <terra@gnome.org>
1605 * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
1607 (pnorm2): Get rid of mu and sigma arguments. Improve accuracy.
1609 2013-05-18 Morten Welinder <terra@gnome.org>
1611 * src/mathfunc.c (pnorm2): New function.
1612 (R_ptukey): New function imported from R with local improvements.
1614 2013-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1616 * src/print.c (gnm_create_widget_cb): by default observe
1619 2013-05-14 Morten Welinder <terra@gnome.org>
1621 * src/rangefunc.c (gnm_range_multinomial): Add range check.
1622 (gnm_range_geometric_mean): Handle two FIXMEs.
1624 2013-05-13 Morten Welinder <terra@gnome.org>
1626 * src/*.c: Mark gobject property strings as P_(...).
1628 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1630 * src/commands.c (cmd_merge_data_redo): unref merge_contents
1632 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1634 * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
1635 rather than gnm_cell_assign_value
1637 2013-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1639 * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
1642 2013-05-05 Morten Welinder <terra@gnome.org>
1644 * src/dependent.c (style_dep_eval): New function. Re-clear the
1645 rendered value here. Fixes #699647.
1647 2013-05-03 Morten Welinder <terra@gnome.org>
1649 * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
1650 accelerator for redo. Fixes #699579.
1651 (wbc_gtk_create_notebook_area): Mark the button notebook as non
1654 * src/sheet.c (sheet_range_set_text_cb): Add redraw.
1656 2013-05-01 Morten Welinder <terra@gnome.org>
1658 * src/print-info.c: Add gsf includes to make things work with
1659 libgsf 1.14.24. Redhat #957851.
1661 2013-04-29 Morten Welinder <terra@gnome.org>
1663 * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
1666 2013-04-26 Morten Welinder <terra@gnome.org>
1668 * configure.ac: Post-release bump.
1670 2013-04-26 Morten Welinder <terra@gnome.org>
1674 2013-04-26 Morten Welinder <terra@gnome.org>
1676 * src/gnumeric.css (GnmItemBar): Make red labels for selected
1677 row/column items the default.
1679 2013-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1681 * src/wbc-gtk-actions.c: rename some items in the statistics menu
1683 2013-04-24 Morten Welinder <terra@gnome.org>
1685 * src/func.c (gnm_func_convert_markup_to_pango): Add a target
1686 widget parameter. All callers changed.
1688 * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
1689 delayedMovement.timer.
1691 * src/item-cursor.c (gnm_item_cursor_init): Ditto
1694 * src/application.c (_gnm_app_flag_windows_changed): Ditto for
1695 windows_update_timer.
1697 * src/item-edit.c (GnmItemEdit): change type of blink_timer to
1698 guint to match glib. Use 0 as undefined since (guint)-1 is a
1701 * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
1704 2013-04-23 Morten Welinder <terra@gnome.org>
1706 * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
1708 * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
1709 critical. Fixes #698680.
1711 * src/gui-file.c (gui_file_save_as): For export, change extension.
1714 2013-04-22 Morten Welinder <terra@gnome.org>
1716 * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
1717 Somehow fixes #625687.
1719 2013-04-20 Morten Welinder <terra@gnome.org>
1721 * src/go-data-slicer-field.c
1722 (go_data_slicer_field_set_field_type_pos): Add precondition for
1725 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1727 * src/print-info.c (render_title): new
1729 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1731 * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
1733 (sheet_range_set_text): ditto
1735 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1737 * src/sheet-control-gui.c (scg_comment_display): use spacing rather
1740 2013-04-22 Morten Welinder <terra@gnome.org>
1742 * src/sheet-control-gui.c (scg_comment_display): Display by-line.
1744 2013-04-19 Morten Welinder <terra@gnome.org>
1746 * src/sheet-control-gui.c (scg_comment_display): Abandon the text
1747 view approach. Fixes #689283.
1749 * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
1751 (wbc_gtk_init_color_fore): Ditto.
1752 (wbc_gtk_init_color_back): Ditto.
1754 2013-04-17 Morten Welinder <terra@gnome.org>
1756 * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
1759 * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
1762 * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
1763 only for horizontal toolbars.
1765 * src/gui-file.c (file_saver_format_changed_cb): New function to
1766 change the extension when the format is changed.
1767 (gui_file_save_as): Don't try to hide the extension -- it
1768 interferes with the file chooser's completion. Fixes #695839.
1770 2013-04-16 Morten Welinder <terra@gnome.org>
1772 * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
1773 menu for graph sheets. Fixes #685446.
1774 (sheet_menu_label_run): Disable resize for graph sheets.
1776 * src/value.c (parse_criteria): Anchor only at start. Fixes
1778 (parse_criteria): Handle criteria "=" and "<>" (with no value
1779 after the operator) special. These test for empty and non-empty
1780 values. Fixes #686156.
1782 * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
1783 "anchor_start" and "anchor_end". All callers changed.
1785 2013-04-15 Morten Welinder <terra@gnome.org>
1787 * src/application.c (add_icon): Plug leak.
1789 * src/number-match.c (format_match_decimal_number): Try also major
1790 non-locale currencies. Fixes #577768.
1792 2013-04-13 Morten Welinder <terra@gnome.org>
1794 * src/mathfunc.c (pochhammer): Improve precision a bit.
1795 (binomialcf): Lower cfSmall by 10^3. This helps
1798 * configure.ac (GETTEXT_PACKAGE): Add version number so that
1799 doesn't prevent multiple versions from co-existing.
1801 * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
1802 dirty. Callers already appear to handle this when needed
1803 and not when not wanted. Fixes #697927.
1805 2013-04-12 Morten Welinder <terra@gnome.org>
1807 * src/mathfunc.c (gnm_owent): Fix a==1 special case. Part of
1809 (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
1811 (fact): Use table for n<=1; rewrite using pochhammer otherwise.
1813 2013-04-11 Morten Welinder <terra@gnome.org>
1815 * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
1816 reference with invalid_sheet. Fixes #683494.
1818 * src/complex.c (complex_to_string): Drop format arguments. All
1819 callers changed. Make up a format with enough precision for round
1820 tripping. Fixes #697634.
1822 2013-04-09 Morten Welinder <terra@gnome.org>
1824 * src/complex.c (complex_from_string): Make this handle embedded
1825 spaces systematically.
1826 (is_unit_imaginary): Delete.
1828 2013-04-09 Morten Welinder <terra@gnome.org>
1830 * src/complex.c (complex_pow): Use Goffice's copy.
1832 2013-04-05 Morten Welinder <terra@gnome.org>
1834 * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
1835 new screens. Add hack for pre-GTK 3.4.
1837 * src/mathfunc.c (gnm_owent): New function.
1839 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
1841 * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
1842 functions used as vectors. [697281]
1844 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
1846 * src/graph.c (gnm_go_data_vector_load_values),
1847 (gnm_go_data_vector_get_str): fix values and strings loading in case of
1850 2013-04-03 Morten Welinder <terra@gnome.org>
1852 * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
1853 attributes of the tab.
1855 * src/sheet-control-gui.c (sheet_control_gui_new): Create a
1856 GnmNotebookButton, not an EditableLabel.
1858 2013-04-02 Morten Welinder <terra@gnome.org>
1860 * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
1862 (cb_wbcg_drag_leave): Ditto.
1864 2013-03-27 Morten Welinder <terra@gnome.org>
1866 * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
1867 key we look up. When did that change?
1869 2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
1871 * src/sheet-object-widget.c (sheet_widget_list_create_widget):
1874 2013-03-26 Morten Welinder <terra@gnome.org>
1876 * src/item-edit.c: Theme the in-cell edit background color.
1878 * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
1880 src/gui-gnumeric.h: Remove.
1882 * src/pattern.c (gnumeric_background_set): Insist that ctxt is
1883 non-NULL if there is a selection.
1884 (gnumeric_background_set_gtk): Delete. Make callers use
1885 gnumeric_background_set.
1887 * src/preview-grid.c (preview_grid_draw_background): Always
1888 provide a context to gnumeric_background_set.
1889 * src/item-edit.c (item_edit_draw): Ditto.
1891 * src/item-cursor.c (ic_reload_style): Use class, not state, to
1892 separate the different cursor types. Separate autofill colouring
1895 2013-03-25 Morten Welinder <terra@gnome.org>
1897 * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
1899 (ic_reload_style): Theme some of the cursor colors.
1901 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
1904 * src/item-bar.c: Rename: ItemBar to GnmItemBar.
1906 * src/gnumeric.css: use deprecated px-free syntax for padding, so
1907 gtk+ 3.2 can deal with it.
1909 * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
1910 can suppress deprecations.
1912 * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
1915 * src/item-bar.c (ib_reload_style): Load fonts from style.
1917 2013-03-24 Morten Welinder <terra@gnome.org>
1919 * src/item-grid.c (item_grid_draw_region): Draw the background at
1920 the right coordinates!
1922 2013-03-23 Morten Welinder <terra@gnome.org>
1924 * src/item-bar.c (ib_draw_cell): There's no point in going to and
1925 from GOColor here. Just use the color as-is.
1927 2013-03-19 Morten Welinder <terra@gnome.org>
1929 * src/application.c (install_icons): Install also the icon themed
1930 icons. No idea why we have both.
1932 * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
1934 * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
1935 (embedded_imgs): Add the rest from pixmaps.
1937 * configure.ac: No longer create src/pixmaps/Makefile
1939 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
1940 these work for resources and absolute paths.
1942 2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
1944 * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
1945 not sizeable objects bounds after dragging when zoom is not 100%.
1947 2013-03-18 Morten Welinder <terra@gnome.org>
1949 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
1950 filter. It takes just long enough to be irritating.
1952 2013-03-17 Morten Welinder <terra@gnome.org>
1954 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
1955 style since we're not picking it explicitly.
1956 (cb_font_filter): Fix leak.
1958 2013-03-14 Morten Welinder <terra@gnome.org>
1960 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
1961 ignore non-scalable fonts.
1963 2013-03-11 Morten Welinder <terra@gnome.org>
1965 * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
1967 2013-03-10 Morten Welinder <terra@gnome.org>
1969 * src/ssconvert.c (list_them): Skip savers/openers that require
1970 interaction. (We don't have any yet.)
1972 * src/stf.c (stf_read_workbook): Set error when we fail due to
1974 (stf_init): Mark the configurable saver/opener as interactive.
1976 * src/ssconvert.c (convert): Fix error handling. Fixes #695529.
1978 2013-03-09 Morten Welinder <terra@gnome.org>
1980 * configure.ac: Post-release bump.
1982 2013-03-09 Morten Welinder <terra@gnome.org>
1986 2013-03-06 Morten Welinder <terra@gnome.org>
1988 * src/wbc-gtk.c (list_actions): Handle a null group.
1990 2013-03-03 Morten Welinder <terra@gnome.org>
1992 * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
1993 g_thread_init if compiled with later than glib 2.32.0.
1995 2013-03-02 Jean Brefort <jean.brefort@normalesup.org>
1997 * src/gnm-pane-impl.h: remove alignments.
1998 * src/gnm-pane.c (gnm_pane_header_init): dittO;
1999 * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
2000 * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
2001 * src/sheet-control-gui-priv.h: remove all tables by one grid.
2002 * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
2003 (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
2004 (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
2005 (scg_mode_edit): ditto.
2006 * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
2007 (cb_sheet_visibility_change), (wbcg_sheet_add),
2008 (wbcg_sheet_remove), (wbcg_sheet_focus),
2009 (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
2010 (wbcg_get_nth_scg): ditto.
2012 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2014 * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
2015 * src/print.c (gnm_create_widget_cb): ditto.
2016 * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
2018 2013-03-01 Morten Welinder <terra@gnome.org>
2020 * src/mathfunc.h: Make sure the "q" functions take "p" as their
2021 first argument, not "x".
2023 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
2025 reviewed by: <delete if not using a buddy>
2028 * src/sheet-object-widget.c (sheet_widget_button_user_config),
2029 (sheet_widget_adjustment_user_config_impl),
2030 (sheet_widget_checkbox_user_config),
2031 (sheet_widget_radio_button_user_config):
2032 * src/wbc-gtk.c (wbc_gtk_init):
2034 2013-02-28 Morten Welinder <terra@gnome.org>
2036 * configure.ac: remove the DISABLE_DEPRECATED defines even from
2037 development versions. We now get the information through gcc
2039 (solver): Make solver code unconditional. Feel free to not
2040 distribute the relevant plugins.
2042 2013-02-26 Morten Welinder <terra@gnome.org>
2044 * src/ssconvert.c (convert): Avoid segfault. Fixes #694741.
2046 2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
2048 * src/number-match.c: more introspection warnings.
2050 2013-02-23 Morten Welinder <terra@gnome.org>
2052 * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
2054 2013-02-21 Morten Welinder <terra@gnome.org>
2056 * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
2057 GHFunc. All callers changed. Impose a robust ordering.
2058 (sh_all_styles): New function replacing sh_foreach.
2060 2013-02-20 Morten Welinder <terra@gnome.org>
2062 * src/sheet-object-graph.c (dim_start): Survive malformed xml.
2064 2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
2066 * configure.ac: make configure --with-python fail when some
2067 dependency is missing.
2069 2013-02-17 Morten Welinder <terra@gnome.org>
2071 * configure.ac (set_more_warnings): Improve support for clang.
2073 2013-02-16 Morten Welinder <terra@gnome.org>
2075 * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
2076 (Most cases a matter of 0 vs. 0.)
2078 2013-02-16 Jean Brefort <jean.brefort@normalesup.org>
2080 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
2081 default value for stf export format.
2082 * src/dependent.c: fix introspection warnings.
2083 * src/sheet-style.c: ditto.
2085 2013-02-15 Morten Welinder <terra@gnome.org>
2087 * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
2088 3.2.0 just like goffice.
2090 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
2093 2013-02-14 Morten Welinder <terra@gnome.org>
2095 * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
2096 not MAXDOUBLE. Fixes #693761.
2098 2013-02-10 Morten Welinder <terra@gnome.org>
2100 * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
2101 doesn't belong here. We handle everything in rstyle_apply.
2103 2013-02-08 Morten Welinder <terra@gnome.org>
2105 * src/sheet-style.c (rstyle_apply): Take extra range argument and
2106 link/unlink style dependents. All callers changed.
2107 (sheet_style_shutdown): Set default style for whole sheet to
2108 ensure style dependents get cleared.
2110 2013-02-07 Morten Welinder <terra@gnome.org>
2112 * src/sheet-style.c (cell_tile_optimize): Implement
2113 ptr-matrix-to-matrix optimization and use it to simplify things.
2115 * src/dependent.c (GnmStyleDependent): New type of dependent.
2116 When triggered, the cells in which it resised will be rerendered
2119 * src/mstyle.c (gnm_style_link_dependents)
2120 (gnm_style_unlink_dependents): New functions to manage style
2121 dependents due to conditional formatting.
2123 2013-02-06 Morten Welinder <terra@gnome.org>
2125 * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
2126 inside-out in anticipation of future changes.
2128 (col_indicies, row_indicies): Alignment of the corners of apply_to
2129 is only relevant if we are within the tile.
2131 2013-02-06 Morten Welinder <terra@gnome.org>
2133 * src/sheet-style.c (tile_is_uniform): Extract from
2135 (vector_apply_pstyle): Don't return a value.
2136 (cell_tile_apply): Use tile_is_uniform.
2138 2013-02-05 Morten Welinder <terra@gnome.org>
2140 * src/sheet-style.c (sheet_style_get): Simplify with "while"
2141 instead of crazy "goto".
2142 (cell_tile_apply): Simplify the covers-whole-tile case.
2144 * src/sheet.h (Sheet): Remove max_width and max_height members.
2147 * src/dependent.h (GnmDependentClass): Add pos handler.
2149 * src/dependent.c (dependent_pos): Use pos handler.
2150 (dummy_dep_eval): New null handler for GnmDependentClass::eval.
2152 2013-02-04 Morten Welinder <terra@gnome.org>
2154 * src/dependent.c (dependent_pos): Make global.
2156 * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
2159 * src/ssconvert.c (run_tool_test): Add code for running the
2161 (convert): Run an analysis tool if requested. (For testing.)
2163 2013-02-02 Morten Welinder <terra@gnome.org>
2165 * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
2166 and rstyle_ctor_pstyle. All callers changed.
2168 2013-01-18 Morten Welinder <terra@gnome.org>
2170 * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
2171 (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
2173 (gnm_matrix_multiply): Renamed from mmult and changed to use above.
2174 (gnm_matrix_eigen): Change to take GnmMatrix arguments.
2176 2013-01-15 Morten Welinder <terra@gnome.org>
2178 * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
2179 import from command line.
2181 2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
2183 * configure.ac: renamed configure.in and update obsolete macros.
2184 * configure.in: ditto.
2186 2013-01-14 Colin Watson <cjwatson@ubuntu.com>
2189 distutils.sysconfig.get_python_inc(plat_specific=True) to Python
2192 2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
2194 * src/sheet-control-gui.c (sheet_control_gui_new): typo.
2195 * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
2196 twice the top and bottom margins when displaying a graph
2199 2013-01-10 Morten Welinder <terra@gnome.org>
2201 * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
2202 argument and assume TRUE. Drop scope name and assume NULL (which
2203 is what all callers should have used). All callers changed.
2204 (gnm_func_add_placeholder): Ditto.
2205 (invent_name): Downcase the preferred name.
2206 (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
2207 (gnm_func_add): Initialize arg_names_p.
2209 * src/gnm-plugin.c (plugin_service_function_group_activate):
2210 Upgrade existing placeholder functions as needed.
2212 * src/func.c (gnm_func_upgrade_placeholder): Rename from
2213 gnm_func_upgrade_placeholder. Take GnmFunc argument, not name.
2215 2013-01-10 Morten Welinder <terra@gnome.org>
2217 * src/func.c (gnm_func_add_placeholder_localized): New function.
2218 (gnm_func_add_placeholder_full): Extract from
2219 gnm_func_add_placeholder. Handle localization better.
2220 (gnm_func_set_localized_name): New function.
2221 (gnm_func_free, gnm_func_get_name): Use
2222 gnm_func_set_localized_name.
2224 * src/parse-util.c (std_func_map): Improve handling of unknown
2227 * src/func.c (gnm_func_group_remove_func): Factor this out from...
2228 (gnm_func_free): ...here.
2230 2013-01-09 Morten Welinder <terra@gnome.org>
2232 * src/symbol.c: delete.
2234 * src/func.c: rewrite to use GHashTable instead of symbol.c
2235 (gnm_func_lookup_prefix): Take extra argument indicating whether
2236 to search translated names. Caller changed.
2238 * src/parse-util.c (std_func_map): Lookup translated name as
2240 (parse_util_init): Add enviroment magic to turn on translated
2241 functions names. This is not ready for prime time and should be
2242 controlled by a user preference eventually.
2244 * src/mathfunc.c (gnm_matrix_eigen): Silence warning. Document a
2247 2013-01-07 Morten Welinder <terra@gnome.org>
2249 * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
2250 pivot. Use gnm_hypot where possible.
2252 2013-01-04 Morten Welinder <terra@gnome.org>
2254 * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
2255 as argument. Keep track of displays.
2256 (gnm_x_disown_clipboard): New function.
2258 * src/application.c (gnm_app_clipboard_clear): Use
2259 gnm_x_disown_clipboard to make things multi-head safe.
2261 2013-01-03 Morten Welinder <terra@gnome.org>
2263 * src/collect.c (collect_floats): Fix handling of
2264 COLLECT_IGNORE_ERRORS.
2265 (collect_strings): Ditto.
2266 (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
2268 2013-01-01 Morten Welinder <terra@gnome.org>
2270 * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
2271 deprecated goffice stuff.
2273 * src/cellspan.c (cell_register_span, cell_calc_span): Remove
2275 * src/gnm-pane.c (control_point_leave_notify): Ditto.
2276 * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
2277 * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
2279 * src/application.c (gnm_app_history_add): Kill warning.
2281 2012-12-31 Morten Welinder <terra@gnome.org>
2283 * src/sheet-style.c (sheet_style_resize): Double off-by-one.
2286 * src/ssdiff.c: Introduce --highlight mode.
2288 2012-12-30 Morten Welinder <terra@gnome.org>
2290 * src/ssdiff.c (main): Add option to send output to a file.
2292 2012-12-29 Morten Welinder <terra@gnome.org>
2294 * src/ssdiff.c (diff): Use C locale.
2295 (ignore_cell): Ignore arrays, except for the corner.
2296 (output_cell): New function taking proper care of value types,
2298 (xml_cell_changed): Use output_cell.
2299 (compare_corresponding_cells): Don't use entered_text here either,
2300 although it's harmless.
2301 (output_cell, compare_corresponding_cells): Handle value formats
2304 2012-12-28 Valek Filippov <frob@df.ru>
2306 * gnm-pane.c, shell-control-gui.c: Replaced deprecated
2307 gdk_window_get_pointer calls.
2309 2012-12-28 Morten Welinder <terra@gnome.org>
2311 * src/*.c: Eliminate use of printf.
2313 * src/sheet-style.c (sheet_style_range_foreach): Move handling of
2314 range offset here. This may need to move further.
2315 * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
2316 (diff_sheets_cells): Ignore completely empty cells.
2317 (xml_sheet_start): Change meaning of Old and New attributes to be
2318 index_in_wb and absent when workbook doesn't have the sheet.
2319 (xml_style_changed): Describe style differences.
2321 2012-12-27 Morten Welinder <terra@gnome.org>
2323 * src/ssdiff.c (diff_sheets): Compare styles too.
2325 * src/sheet-style.c (sheet_style_range_foreach): Add optional
2326 range argument. All callers changed.
2328 2012-12-24 Morten Welinder <terra@gnome.org>
2330 * src/ssdiff.c (def_cell_changed): Merge cell_added and
2331 cell_removed handlers into the cell_changed handler.
2332 (main): Add --xml option.
2334 * configure.in: ssconvert, ssindex, and ssgrep are no longer
2335 configurable. We need ssconvert for the test and it's silly
2338 2012-12-18 Morten Welinder <terra@gnome.org>
2340 * configure.in: Post-release bump.