1 2014-03-12 Morten Welinder <terra@gnome.org>
3 * src/style-conditions.c (gnm_style_cond_get_alternate_expr): New
5 (gnm_style_cond_canonicalize): New function.
7 * src/ssconvert.c (convert): only print "Using exporter ..." if
8 --verbose is given, and print it to stderr.
10 2014-03-11 Morten Welinder <terra@gnome.org>
12 * src/sheet.c (cb_set_markup): Don't mess directly with
13 cell->value. We need to trigger a re-render. Fixes #726086.
15 * src/wbc-gtk-edit.c (wbcg_edit_finish): Also supply the markup
16 for the pre-validation assignment.
18 * src/sheet.c (sheet_cell_set_text): Put markup on the value
19 before assigning it to the cell.
21 2014-03-10 Morten Welinder <terra@gnome.org>
23 * gnumeric.xsd: Update valign/halign attributes. Update print
26 * src/sheet-filter.c (gnm_filter_condition_new_single)
27 (gnm_filter_condition_new_double): Add preconditions.
29 2014-03-07 Morten Welinder <terra@gnome.org>
31 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Fix warning.
33 2014-03-05 Morten Welinder <terra@gnome.org>
35 * src/expr.c (gnm_expr_top_is_volatile): New function.
37 * src/workbook-view.c (workbook_view_new_from_input): Queue all
40 * src/dependent.c (workbook_queue_volatile_recalc): New function.
41 (dependent_is_volatile): New function.
43 * src/sheet.c (sheet_range_set_expr_cb, sheet_range_set_text):
44 Don't set the initial range here.
46 * src/expr.c (gnm_expr_top_first_funcall)
47 (gnm_expr_contains_subtotal, gnm_expr_top_get_ranges)
48 (gnm_expr_top_referenced_sheets): Rewrite in terms of
50 (gnm_expr_top_get_boundingbox): Set initial range here.
52 * src/expr-name.c (expr_name_check_for_loop, cb_expr_name_in_use):
55 2014-03-03 Morten Welinder <terra@gnome.org>
57 * configure.ac: Post-release bump.
59 2014-03-03 Morten Welinder <terra@gnome.org>
63 2014-03-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
65 * src/wbc-gtk.c (cb_bnotebook_page_reordered): provide undo
67 2014-03-02 Morten Welinder <terra@gnome.org>
69 * src/wbc-gtk.c (cb_workbook_debug_info): New debug flag
71 (wbcg_sheet_order_changed): Mark ui as being updated.
72 (cb_bnotebook_page_reordered): Ignore during UI update.
74 * src/expr-name.c (gnm_named_expr_collection_dump)
75 (gnm_named_expr_collection_sanity_check): New function.
77 * src/application.c (gnm_app_sanity_check): New function.
79 * src/expr-name.c (gnm_named_expr_collection_new): Don't use the
80 string inside the GOString as a hash key. It can change.
81 (gnm_named_expr_collection_foreach): As a consequence of the
82 above, the first argument to the handler for
83 gnm_named_expr_collection_foreach changes to something
84 unspecified. All callers changed.
86 * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
89 * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
90 when encountering strangeness.
92 2014-02-28 Morten Welinder <terra@gnome.org>
94 * src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
95 If row/column canvas is not visible, ignore them.
96 (scg_gtk_paned_set_position): Don't allow negative position.
99 * src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
102 2014-02-27 Jean Brefort <jean.brefort@normalesup.org>
104 * src/item-grid.c (item_grid_draw_region): fix background filling for
105 rtl sheets. [#725276]
107 2014-02-25 Morten Welinder <terra@gnome.org>
109 * src/gui-util.c (kill_popup_menu): Avoid criticals inside gtk+.
110 (gnumeric_create_popup_menu): Drop return value from handler.
112 * src/xml-sax-write.c (xml_write_objects): Sort sheet objects that
113 are cell comments by position.
115 2014-02-24 Morten Welinder <terra@gnome.org>
117 * src/xml-sax-write.c (xml_write_geometry): Don't output a 0x0 size.
119 * src/colrow.c (colrow_equal): Don't use floating-point equality
120 here. Allow a difference of 1e-5 pt for size.
122 2014-02-23 Morten Welinder <terra@gnome.org>
124 * src/sheet.c (gnm_sheet_resize_main): When expanding a sheet,
125 fill in the new areas with most common styles for the rows to the
126 left of the new columns or the columns above the new area.
128 2014-02-19 Morten Welinder <terra@gnome.org>
130 * plugins/fn-math/functions.c (gnumeric_log2): Use gnm_log2.
131 (gnumeric_log): Use gnm_log2 and gnm_log10 as appropriate.
133 * src/mathfunc.c (gnm_log2): New function.
135 2014-02-18 Morten Welinder <terra@gnome.org>
137 * src/ssdiff.c (xml_style_changed): Report differences for
140 2014-02-17 Morten Welinder <terra@gnome.org>
142 * src/ssconvert.c (convert): Add --resize option.
144 2014-02-16 Jean Brefort <jean.brefort@normalesup.org>
146 * src/item-grid.c (item_grid_realize): fix persistence of
147 hyperlink tips. [see #724108]
149 2014-02-16 Morten Welinder <terra@gnome.org>
151 * configure.ac: Post-release bump.
153 2014-02-16 Morten Welinder <terra@gnome.org>
157 2014-02-16 Morten Welinder <terra@gnome.org>
159 * src/func.c (function_dump_defs): Update boilerplate.
161 2014-02-11 Morten Welinder <terra@gnome.org>
163 * configure.ac: Post-release bump.
165 2014-02-11 Morten Welinder <terra@gnome.org>
169 2014-02-07 Morten Welinder <terra@gnome.org>
171 * src/wbc-gtk-edit.c (wbcg_edit_finish): Disallow array formula
172 entry on top of merged cells. Fixes #723600.
174 2014-02-06 Jean Brefort <jean.brefort@normalesup.org>
176 * src/sheet-object-component.c (destroy_cb), (gnm_soc_user_config):
177 a better fix to previous issue.
179 2014-01-30 Morten Welinder <terra@gnome.org>
181 * src/wbc-gtk.c (cb_add_menus_toolbars): Tentatively request small
184 * src/item-cursor.c (item_cursor_draw): Make the ant animation
185 smoother (when not using the fallback). Avoid using hard light
186 for ant-ing -- that doesn't work for the same reason as alpha not
187 working. Always use phase=0 for non-ant stipples.
188 (GnmItemCursor): Use the canvas item's visibility flag instead of
191 2014-01-29 Morten Welinder <terra@gnome.org>
193 * src/wbc-gtk.c (wbc_gtk_init): Add style classes for toolbar zones.
195 * src/item-cursor.c (cb_item_cursor_animation): Do a run-time
196 check for bad clipping somewhere in gtk+ or theme land.
198 2014-01-28 Jean Brefort <jean.brefort@normalesup.org>
200 * src/sheet-object-component.c (gnm_soc_user_config): release the new
201 component reference to the workbook.
203 2014-01-27 Morten Welinder <terra@gnome.org>
205 * src/func.c (function_dump_defs): Undo wiki change.
207 2014-01-21 Morten Welinder <terra@gnome.org>
209 * src/item-cursor.c (cb_item_cursor_animation): Drastically lower
210 the amount of work we do for ant-ing. Fixes #381011, patch from
212 (ic_reload_style): Ignore alpha component of ant colours.
214 2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
216 * src/graph.c (gnm_go_data_vector_load_len),
217 (gnm_go_data_vector_load_values): accept 3D values for vector data.
220 2014-01-16 Morten Welinder <terra@gnome.org>
222 * src/wbc-gtk.c (cb_adjust_foreground_attributes): Renamed from
223 cb_darken_foreground_attributes and change to take non-white
224 background into account.
226 2014-01-12 Morten Welinder <terra@gnome.org>
228 * src/mathfunc.c (expmx2h): Split out from dnorm.
229 (dhyper): Round the chosen "p" to float to improve accuracy of
232 2014-01-11 Morten Welinder <terra@gnome.org>
234 * src/mathfunc.c (pow1p): Improve accuracy.
235 (R_D_nonint): Fix rounding problem.
236 (ebd0): New extended version of bd0.
237 (dpois_raw, dbinom_raw): Use ebd0.
238 (dbinom_raw): Handle x==n and x==0 much better.
240 2014-01-08 Morten Welinder <terra@gnome.org>
242 * src/wbc-gtk-actions.c (cb_file_sendto): Simplify using
245 * src/mathfunc.c (dpois_raw): Detect underflow in direct formula.
247 * src/gui-file.h: Namespace improvements. Also make gui_file_read
248 return the WorkbookView instead of a boolean.
250 2014-01-01 Morten Welinder <terra@gnome.org>
252 * src/sf-dpq.c (dlnorm): Go crazy with accuracy.
254 2013-12-31 Morten Welinder <terra@gnome.org>
256 * src/sf-dpq.c (pfuncinverter, discpfuncinverter): Extract from
259 2013-12-30 Morten Welinder <terra@gnome.org>
261 * src/mathfunc.c (dnorm): Improve accuracy for x>5 (normalized).
263 (dpois_raw): Avoid going through logs, if possible.
265 2013-12-25 Morten Welinder <terra@gnome.org>
267 * src/item-grid.c (cb_cursor_come_to_rest): Clear ->tip_timer when
268 we return FALSE so we don't try to remove the source later.
270 2013-12-22 Morten Welinder <terra@gnome.org>
272 * src/gui-util.c (gnm_widget_measure_string): New function
273 allowing the elimination of all gtk_style_context_get_font calls.
275 2013-12-19 Morten Welinder <terra@gnome.org>
277 * src/sf-gamma.c (qfactf): Squeeze a few extra bits out of this,
278 especially when |x|<<1. Ditto for x<-1.
280 2013-12-17 Morten Welinder <terra@gnome.org>
282 * src/sf-gamma.c (complex_gamma): Turn a complex division into a
285 2013-12-14 Morten Welinder <terra@gnome.org>
287 * src/sf-gamma.c (complex_igamma): New function.
289 2013-12-12 Mario Rugiero <mrugiero@gmail.com>
291 * */*.c: Fix some leaks and null dereferences pointed out by
294 2013-12-12 Morten Welinder <terra@gnome.org>
296 * src/parser.y (array_row): Avoid overrunning string when multiple
297 missing closing parentheses are detected. Fixes #720353.
299 2013-12-11 Morten Welinder <terra@gnome.org>
301 * src/gui-util.c (gnumeric_popup_menu): Use the screen from
302 gdk_event_get_screen, not from ->screen. This might fix #720182.
304 * src/*.c: Use accessor function for GdkEvent when convenient.
306 2013-12-07 Morten Welinder <terra@gnome.org>
308 * src/application.c (gnm_app_init): Don't allocate a
309 GtkRecentManager if we are not in gui mode.
311 * src/position.c (gnm_cellref_hash): Avoid undefined signed integer
313 * src/dependent.c (deprange_hash): Ditto.
315 2013-12-04 Morten Welinder <terra@gnome.org>
317 * src/sf-gamma.c (gamma_error_factor): Add extra term.
319 2013-12-07 Morten Welinder <terra@gnome.org>
321 * src/sf-gamma.c (qgammaf): Avoid losing the least significant bit
322 of the argument for [-1.5;-0.5].
324 * src/complex.c (complex_fact): Avoid infinite recursion for 0 <
325 Re z < 1/2. Avoid some overflow.
327 2013-12-02 Morten Welinder <terra@gnome.org>
329 * src/sf-bessel.c (bessel_y): Use the J series when possible.
331 2013-12-07 Morten Welinder <terra@gnome.org>
333 * src/sf-bessel.c (bessel_j): Use the taylor series in the
334 parameter range where that makes sense.
336 * src/sf-gamma.c (gnm_lbeta3): Improve accuracy.
339 2013-11-30 Morten Welinder <terra@gnome.org>
341 * src/sf-gamma.c (pochhammer): Drop give_log arguments. Extend to
344 2013-11-28 Morten Welinder <terra@gnome.org>
346 * configure.ac: Post-release bump.
348 2013-11-28 Morten Welinder <terra@gnome.org>
352 2013-11-25 Morten Welinder <terra@gnome.org>
354 * src/sf-gamma.c: Move lgamma_r and lgamma fallbacks to here from
357 2013-11-19 Morten Welinder <terra@gnome.org>
359 * src/print.c (print_page): Fix check for missing object. Fixes
362 2013-11-18 Morten Welinder <terra@gnome.org>
364 * src/sf-trig.c: Split out trigonometric functions from mathfunc.c
366 2013-11-15 Morten Welinder <terra@gnome.org>
368 * src/mathfunc.c (reduce_pi_half): New function.
370 2013-11-14 Morten Welinder <terra@gnome.org>
372 * src/mathfunc.c (gnm_sinpi, gnm_cospi): New functions.
373 (bessel_i, etc, qfactf, lgamma_r): Use gnm_sinpi and gnm_cospi.
375 2013-11-13 Morten Welinder <terra@gnome.org>
377 * src/mathfunc.c (lgamma_r): Fix fallback. Didn't work for x<10.
379 2013-11-13 Jean Brefort <jean.brefort@normalesup.org>
381 * src/sheet-object.c (sheet_object_view_button2_pressed),
382 (sheet_object_view_class_init): implement double click for graph sheets.
385 2013-11-12 Morten Welinder <terra@gnome.org>
387 * src/wbc-gtk.c (cb_sheet_label_button_press): Don't stop signal
389 (cb_bnotebook_page_reordered): New function.
390 (wbc_gtk_create_notebook_area): Attach a handler for reordering.
392 * src/mathfunc.c (gnm_cot): Work around gcc/glibc bug.
394 2013-11-06 Morten Welinder <terra@gnome.org>
396 * src/mathfunc.c (gnm_acoth): Improve accuracy for |x| near 1.
398 2013-11-06 Jean Brefort <jean.brefort@normalesup.org>
400 * src/workbook-view.c: add more introspection related comments.
401 * src/workbook.c: ditto.
403 2013-11-03 Morten Welinder <terra@gnome.org>
405 * src/mathfunc.c (bessel_i, etc.): Do argument reduction for
406 sin/cos before scaling by pi.
408 2013-11-01 Morten Welinder <terra@gnome.org>
410 * src/mathfunc.c (dpois_raw): Handler x=0 as in newer R.
411 (gnm_gamma): Protect against unnecessary overflow at top of range.
413 2013-10-31 Morten Welinder <terra@gnome.org>
415 * src/mathfunc.c (qgamma): Flip tail for high values of p. This
416 avoids accuracy problems since any cdf is completely flat in terms
417 of floating point values when going sufficiently far into the
421 (J_bessel): Extend xlrg_BESS_IJ to match current R.
422 (permut): Route this into pochhammer.
423 (qfact): New function. Tabulate 0! through 50000! using quad
424 precision arithmetic.
425 (combin, fact, pochhammer): Improve accuracy using qfact.
427 2013-10-22 Morten Welinder <terra@gnome.org>
429 * src/func.c (function_call_with_exprs): Move flags argument into
432 2013-10-19 Morten Welinder <terra@gnome.org>
434 * src/hlink.c (_gnm_hlink_init): New function.
435 * src/libgnumeric.c (gnm_init): Use _gnm_hlink_init.
437 2013-10-07 Morten Welinder <terra@gnome.org>
439 * configure.ac: Post-release bump.
441 2013-10-07 Morten Welinder <terra@gnome.org>
445 2013-10-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
447 * src/cmd-edit.c (cmd_paste): chceck for locked cells
449 2013-10-03 Morten Welinder <terra@gnome.org>
451 * src/item-cursor.c (item_cursor_draw): Drop expose area
452 optimization that may not be correct with current gtk. See bug
455 2013-09-29 Morten Welinder <terra@gnome.org>
457 * src/main-application.c: Include <io.h> for win32.
459 * src/wbc-gtk-actions.c: Include gutils.h for win32.
461 2013-09-25 Morten Welinder <terra@gnome.org>
463 * src/gnumeric.css: Use lighter green for function marker.
465 2013-09-01 Morten Welinder <terra@gnome.org>
467 * configure.ac: Post-release bump.
469 2013-09-01 Morten Welinder <terra@gnome.org>
473 2013-08-29 Morten Welinder <terra@gnome.org>
475 * src/sheet-control-gui.c (scg_find_pane): Check for NULL pane.
478 2013-08-28 Morten Welinder <terra@gnome.org>
480 * src/mathfunc.c (gnm_gamma): Improve precision for large
482 (gnm_yn): Not needed anymore.
483 (bessel_i): Don't mark error strings for translation.
485 2013-08-27 Morten Welinder <terra@gnome.org>
487 * configure.ac: Post-release bump.
489 2013-08-27 Morten Welinder <terra@gnome.org>
493 2013-08-26 Morten Welinder <terra@gnome.org>
495 * src/sheet-style.c (cell_tile_dump): New function for debugging.
496 (internal_style_list): Add fast pre-optimization to bring down the
497 number of entries before we start messing with hashes. Fixes
500 2013-08-22 Jean Brefort <jean.brefort@normalesup.org>
502 * src/wbc-gtk.c (wbcg_data_allocator_editor): initialize
503 GraphDimEditor::changed. See bug 706591 comment #2.
505 2013-08-19 Morten Welinder <terra@gnome.org>
507 * configure.ac: Post-release bump.
509 2013-08-19 Morten Welinder <terra@gnome.org>
513 2013-08-15 Morten Welinder <terra@gnome.org>
515 * src/dependent.c (dep_hash_destroy): Relink the changed dep.
518 * src/sheet.c (sheet_destroy_contents): Also get rid of solver
519 parameters. See bug 705913, comment 6.
521 2013-08-13 Morten Welinder <terra@gnome.org>
523 * src/gnm-style-impl.h (_GnmStyle): Switch ->deps to a GPtrArray.
525 2013-08-12 Morten Welinder <terra@gnome.org>
527 * src/sheet-object-widget.c (sow_create_widget): New function.
528 Add sheet-object class to widgets.
530 2013-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
532 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): set
534 (sheet_widget_button_draw_cairo): also scale line thickness
535 (sheet_widget_checkbox_draw_cairo): scale button size
536 (sheet_widget_radio_button_draw_cairo): scale button size
538 2013-08-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
540 * src/sheet-object-widget.c (draw_cairo_text): add 'scale'
541 argument and change all callers
543 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
545 * src/sheet-object-widget.c (get_font): add fall-backs
547 2013-08-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
549 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
551 (draw_cairo_text): add h-vcenter argument and change all callers
553 2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
555 * src/sheet-object-widget.c (cb_range_destroyed),
556 (sheet_widget_scrollbar_create_widget),
557 (sheet_widget_spinbutton_create_widget),
558 (sheet_widget_slider_create_widget): avoid crashing after destroying a
559 SheetWidgetAdjustment associated widget. [see Gtk+ bug #705692]
561 2013-08-09 Morten Welinder <terra@gnome.org>
563 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): Use
565 (get_font): New function extracted from draw_cairo_text.
567 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
569 * src/sheet-object-widget.c (draw_cairo_text): use GtkStyleContext
572 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
574 * src/sheet-object-widget.c (draw_cairo_text): add arguments to
575 allow multi-paragraph with a highlighted line. Change all callers
576 (sheet_widget_list_draw_cairo): use draw_cairo_text
578 2013-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
580 * src/sheet-object-widget.c (sheet_widget_frame_draw_cairo): use
581 cairo version for Gnuemric too.
582 (sheet_widget_button_draw_cairo): ditto
583 (sheet_widget_scrollbar_draw_cairo): ditto
584 (sheet_widget_spinbutton_draw_cairo): ditto
585 (sheet_widget_slider_draw_cairo): ditto
586 (sheet_widget_checkbox_draw_cairo): ditto
587 (sheet_widget_radio_button_draw_cairo): ditto
588 (sheet_widget_list_draw_cairo): ditto
589 (sheet_widget_combo_draw_cairo): ditto
591 2013-08-08 Morten Welinder <terra@gnome.org>
593 * src/parse-util.c (r1c1_get_index): Handle integer overflow.
594 Reduce crazy relative offsets.
596 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
598 * src/sheet-object-widget.c (draw_cairo_text): add arguments and
600 (sheet_widget_frame_draw_cairo): new
601 (sheet_widget_button_draw_cairo): new
602 (sheet_widget_scrollbar_horizontal_draw_cairo): new
603 (sheet_widget_scrollbar_vertical_draw_cairo): new
604 (sheet_widget_scrollbar_class_init): connect the above
605 (sheet_widget_spinbutton_draw_cairo): new
606 (sheet_widget_spinbutton_class_init): connect the above
607 (sheet_widget_slider_horizontal_draw_cairo): new
608 (sheet_widget_slider_vertical_draw_cairo): new
609 (sheet_widget_slider_draw_cairo): new
610 (sheet_widget_slider_class_init): connect the above
611 (sheet_widget_list_draw_cairo): new
612 (sheet_widget_list_class_init): connect the above
613 (sheet_widget_combo_draw_cairo): new
614 (sheet_widget_combo_class_init): connect the above
616 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
618 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo,
619 change all uses of this macro
620 (draw_cairo_text): new
621 (sheet_widget_checkbox_draw_cairo): new
622 (sheet_widget_radio_button_draw_cairo): new
624 2013-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
626 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid using
627 gtk_offscreen_window_new without a default screen (see bugs #705638
630 2013-08-07 Morten Welinder <terra@gnome.org>
632 * src/ssconvert.c (main): Initialize gtk+ without opening any
635 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
637 * src/sheet-control-gui.c (scg_show_im_tooltip): handle rtl sheets
639 2013-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
641 * src/sheet-control-gui-priv.h (_SheetControlGUI): add fields
642 * src/sheet-control-gui.c (scg_init): init new fields
643 (scg_im_destroy): new
644 (scg_finalize): call scg_im_destroy
645 (cb_cell_im_timer): new
647 (scg_show_im_tooltip): new
648 (scg_class_init): init new field
649 * src/sheet-control-priv.h: add field
650 * src/sheet-control.c: add virtual
651 * src/sheet-control.h: add virtual
652 * src/sheet-view.c (sheet_view_edit_pos_tool_tips): new
653 (sv_update): call sheet_view_edit_pos_tool_tips
654 * src/sheet.c (sheet_col_get_distance_pixels): the defaults need to be
656 (sheet_row_get_distance_pixels): new
657 * src/sheet.h (sheet_row_get_distance_pixels): new
659 2013-08-03 Jean Brefort <jean.brefort@normalesup.org>
661 * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
662 nodes in guppi graphs. [Debian #718594]
664 2013-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
666 * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
669 2013-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
671 * src/sheet-control-gui.c (context_menu_handler): add argument to
672 dialog_cell_format call
673 * src/wbc-gtk-actions.c (cb_format_cells): add argument to
674 dialog_cell_format call
675 (cb_data_validate): ditto
677 2013-07-30 Morten Welinder <terra@gnome.org>
679 * src/xml-sax-read.c (xml_sax_style_border): Make sure we have a
680 colour. Fixes rest of #705031.
682 2013-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
684 * src/func.c (gnm_func_lookup_prefix): do not include placeholders
686 2013-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
688 * gnumeric.desktop.in: add ODS files
690 2013-07-23 Jean Brefort <jean.brefort@normalesup.org>
692 * src/graph.c (gnm_go_data_vector_load_values): really load all
693 values for multiple ranges.
695 2013-07-19 Morten Welinder <terra@gnome.org>
697 * src/style-conditions.c (gnm_style_cond_is_valid): Even stricter
698 check: the enum has a hole in the middle. Fixes #704562.
700 2013-07-19 Jean Brefort <jean.brefort@normalesup.org>
702 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fix text wrap when
704 * src/gnm-so-path.c (gnm_so_path_draw_cairo): ditto.
706 2013-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
708 * src/gnm-so-path.c (gnm_so_path_class_init): add new property
709 (gnm_so_path_set_property): ditto
710 (gnm_so_path_get_property): ditto
712 2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
714 * src/gnm-so-path.c (so_path_view_set_bounds),
715 (cb_gnm_so_path_changed): a better fix for the text position.
717 2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
719 * src/gnm-so-filled.c (so_filled_view_set_bounds),
720 (cb_gnm_so_filled_changed): fix text wrap. [#704417]
721 * src/gnm-so-path.c (so_path_view_set_bounds),
722 (cb_gnm_so_path_changed): fix text wrap in paths too.
724 2013-07-16 Morten Welinder <terra@gnome.org>
726 * src/sheet.c (sheet_foreach_cell_in_range): Avoid overflow when
727 computing range size. Fixes #704325.
729 2013-07-15 Morten Welinder <terra@gnome.org>
731 * src/mstyle.c (gnm_style_cmp): Borders can be NULL; deal with
734 * src/expr.c (gnm_expr_new_range_ctor): Undo previous change.
736 * src/dependent.c (link_range_dep, unlink_range_dep): Protect
737 against oversize range.
739 2013-07-12 Morten Welinder <terra@gnome.org>
741 * src/expr.c (gnm_expr_range_op): When constructing a range, make
742 sure it falls within the sheet.
743 (gnm_expr_new_range_ctor): Don't optimize to range if the two
744 parts are on different sheets. Fixes #704109.
746 2013-07-10 Morten Welinder <terra@gnome.org>
748 * configure.ac: Post-release bump.
750 2013-07-10 Morten Welinder <terra@gnome.org>
754 2013-07-10 Morten Welinder <terra@gnome.org>
756 * src/value.c (parse_criteria): Patterns should anchor at the end
757 (#703770) and be case insensitive (no bug#).
759 2013-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
761 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): do not try
762 to create an image of unknown type
764 2013-07-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
766 * src/graph.c (gnm_go_data_vector_load_len): use consistent
768 (cb_assign_val): quieten warning about signed/unsigned comparison
770 2013-07-03 Morten Welinder <terra@gnome.org>
772 * src/graph.c (gnm_go_data_vector_load_len): Improve handling of
774 (cb_assign_val): Ditto.
776 2013-07-02 Morten Welinder <terra@gnome.org>
778 * src/sheet-style.c (struct ISL): Use guint64 for areas of ranges.
779 (cb_style_list_add_node): Ditto.
780 (verify_hashes): Ditto.
781 (internal_style_list): Ditto.
783 * src/expr-name.c (expr_name_set_is_placeholder): Rearrange the
786 2013-07-01 Morten Welinder <terra@gnome.org>
788 * configure.ac (long double): Crude use -lm for long double
789 function checks. Fixes #703397.
791 2013-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
793 * src/expr.c (gnm_expr_list_copy): new
794 * src/expr.h (gnm_expr_list_copy): new
796 2013-06-26 Morten Welinder <terra@gnome.org>
798 * src/style-conditions.c (gnm_style_cond_is_valid): Check sanity
799 of ->op before using it. Fixes #703143.
801 2013-06-26 Jean Brefort <jean.brefort@normalesup.org>
803 * src/gnm-so-path.c (gnm_so_path_new_view): return NULL if there is no path.
805 (gnm_so_path_copy): fixed copy with multiple paths.
807 2013-06-25 Morten Welinder <terra@gnome.org>
809 * configure.ac: Post-release bump.
811 2013-06-25 Morten Welinder <terra@gnome.org>
815 2013-06-24 Morten Welinder <terra@gnome.org>
817 * src/xml-sax-read.c (xml_sax_solver_start): Ensure we have a
818 sheet. Fixes #703006.
820 2013-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
822 * src/gui-clipboard.c (x_clipboard_get_cb): take care of the case
825 2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
827 * src/mstyle.c (gnm_style_set_pattern): don't accept GNM_SHEET_PATTERNS as
828 a valid pattern. [#702833]
829 * src/pattern.c (gnumeric_background_set): ditto.
831 2013-06-21 Morten Welinder <terra@gnome.org>
833 * src/item-grid.c (item_grid_draw_region): Plug leak.
835 * src/item-bar.c (ib_reload_style): Plug leak.
837 2013-06-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
839 * src/wbc-gtk.c (show_gui): protect against excessively large
840 preferred widow sizes
842 2013-06-14 Morten Welinder <terra@gnome.org>
844 * src/sheet-object-graph.c (dim_start): Don't crash on NULL desc.
846 * src/workbook.c (workbook_sheet_delete): Debug.
847 (workbook_dispose): Also clear style here. Styles can have
848 dependents now. Fixes #702218.
850 2013-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
852 * src/sheet-view.c (sv_sheet_r1c1_changed): check for NULL selection
854 2013-06-12 Morten Welinder <terra@gnome.org>
856 * src/sheet-merge.c (gnm_sheet_merge_add): Ensure range is sane.
859 2013-06-04 Morten Welinder <terra@gnome.org>
861 * src/ssdiff.c (xml_style_changed): Teach this a bit about links.
863 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
865 * src/sheet-control-gui.c (scg_comment_display_filter_cb): new
866 (scg_comment_display): adjust background and fontcolor if necessary
868 2013-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
870 * src/item-grid.c (cb_cursor_come_to_rest):
871 gnumeric_position_tooltip needs the tooltip size, so load the text
874 2013-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
876 * src/item-grid.c (item_grid_button_released): do not trigger hyper link
879 2013-05-27 Morten Welinder <terra@gnome.org>
881 * src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
882 and we aren't very good at it.
884 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
886 * component/Gnumeric-embed.xml.in: add accelerator
887 * src/GNOME_Gnumeric-gtk.xml.in: add accelerator
888 * src/wbc-gtk-actions.c (cb_edit_goto_cell_indicator): new
889 (EditGotoCellIndicator): new
890 * src/wbc-gtk.c (cb_post_activate): do not interfere with EditGotoCellIndicator
891 (wbcg_focus_current_cell_indicator): new
892 * src/wbc-gtk.h (wbcg_focus_current_cell_indicator): new
894 2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
896 * component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
897 * src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
898 * src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
899 * src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
901 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
903 * src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
904 behave the same as far as cell selection is concerned. This fixes
906 (item_grid_button_released): ditto
908 2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
910 * src/sheet.c (sheet_get_extent): add argument to indicate whether
911 to include hidden cells
912 (cb_sheet_get_extent): handle hidden cells setting
913 (sheet_get_printarea): do not include hidden cells
914 * src/sheet.h (sheet_get_extent): add argument and change all
917 2013-05-26 Morten Welinder <terra@gnome.org>
919 * src/mathfunc.c (ptukey_wprob): Use as many intervals as needed.
920 Termiate when contributions vanish.
922 2013-05-24 Morten Welinder <terra@gnome.org>
924 * src/mathfunc.c (R_ptukey): Accelerate handling of right tail of
926 (pfuncinverter): Handle lack of dfunc (poorly).
928 2013-05-23 Morten Welinder <terra@gnome.org>
930 * src/mathfunc.c (ptukey_otsum): Split integration of a single
931 interval out from out from R_ptukey.
932 (R_ptukey): Split the interval nearest 0 into a sequence of
933 intervals over which the integrand looks a lot more like a
934 polynomial. This fixes accuracy problems for low degrees of
937 * src/sheet-style.c (internal_style_list): Fix critical.
939 2013-05-22 Morten Welinder <terra@gnome.org>
941 * src/mathfunc.c (R_ptukey): Even more C, even less Fortran.
943 2013-05-21 Morten Welinder <terra@gnome.org>
945 * src/mathfunc.c (R_ptukey): More C, less Fortran.
947 2013-05-19 Morten Welinder <terra@gnome.org>
949 * src/mathfunc.c (ptukey_wprob): Sanitize handling of integration
951 (pnorm2): Get rid of mu and sigma arguments. Improve accuracy.
953 2013-05-18 Morten Welinder <terra@gnome.org>
955 * src/mathfunc.c (pnorm2): New function.
956 (R_ptukey): New function imported from R with local improvements.
958 2013-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
960 * src/print.c (gnm_create_widget_cb): by default observe
963 2013-05-14 Morten Welinder <terra@gnome.org>
965 * src/rangefunc.c (gnm_range_multinomial): Add range check.
966 (gnm_range_geometric_mean): Handle two FIXMEs.
968 2013-05-13 Morten Welinder <terra@gnome.org>
970 * src/*.c: Mark gobject property strings as P_(...).
972 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
974 * src/commands.c (cmd_merge_data_redo): unref merge_contents
976 2013-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
978 * src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
979 rather than gnm_cell_assign_value
981 2013-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
983 * src/sheet-utils.c (gnm_sheet_guess_data_range): also check
986 2013-05-05 Morten Welinder <terra@gnome.org>
988 * src/dependent.c (style_dep_eval): New function. Re-clear the
989 rendered value here. Fixes #699647.
991 2013-05-03 Morten Welinder <terra@gnome.org>
993 * src/wbc-gtk.c (create_undo_redo): Add Ctrl-Shift-z as alternate
994 accelerator for redo. Fixes #699579.
995 (wbc_gtk_create_notebook_area): Mark the button notebook as non
998 * src/sheet.c (sheet_range_set_text_cb): Add redraw.
1000 2013-05-01 Morten Welinder <terra@gnome.org>
1002 * src/print-info.c: Add gsf includes to make things work with
1003 libgsf 1.14.24. Redhat #957851.
1005 2013-04-29 Morten Welinder <terra@gnome.org>
1007 * src/xml-sax-write.c (cb_write_cell): Ignore completely empty
1010 2013-04-26 Morten Welinder <terra@gnome.org>
1012 * configure.ac: Post-release bump.
1014 2013-04-26 Morten Welinder <terra@gnome.org>
1018 2013-04-26 Morten Welinder <terra@gnome.org>
1020 * src/gnumeric.css (GnmItemBar): Make red labels for selected
1021 row/column items the default.
1023 2013-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1025 * src/wbc-gtk-actions.c: rename some items in the statistics menu
1027 2013-04-24 Morten Welinder <terra@gnome.org>
1029 * src/func.c (gnm_func_convert_markup_to_pango): Add a target
1030 widget parameter. All callers changed.
1032 * src/sheet-control-gui.c (scg_init): Ditto comment.timer and
1033 delayedMovement.timer.
1035 * src/item-cursor.c (gnm_item_cursor_init): Ditto
1038 * src/application.c (_gnm_app_flag_windows_changed): Ditto for
1039 windows_update_timer.
1041 * src/item-edit.c (GnmItemEdit): change type of blink_timer to
1042 guint to match glib. Use 0 as undefined since (guint)-1 is a
1045 * src/gnm-pane.c (gnm_pane_init): Ditto sliding_timer (nee
1048 2013-04-23 Morten Welinder <terra@gnome.org>
1050 * src/mstyle.c (gnm_style_link_dependents): Fix segfault.
1052 * src/item-edit.c (gnm_item_edit_init): Set ->blink_timer to avoid
1053 critical. Fixes #698680.
1055 * src/gui-file.c (gui_file_save_as): For export, change extension.
1058 2013-04-22 Morten Welinder <terra@gnome.org>
1060 * src/gui-file.c (gui_file_read): Re-take focus if the read fails.
1061 Somehow fixes #625687.
1063 2013-04-20 Morten Welinder <terra@gnome.org>
1065 * src/go-data-slicer-field.c
1066 (go_data_slicer_field_set_field_type_pos): Add precondition for
1069 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1071 * src/print-info.c (render_title): new
1073 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1075 * src/sheet.c (sheet_range_set_expr_cb): don't try to empty empty
1077 (sheet_range_set_text): ditto
1079 2013-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1081 * src/sheet-control-gui.c (scg_comment_display): use spacing rather
1084 2013-04-22 Morten Welinder <terra@gnome.org>
1086 * src/sheet-control-gui.c (scg_comment_display): Display by-line.
1088 2013-04-19 Morten Welinder <terra@gnome.org>
1090 * src/sheet-control-gui.c (scg_comment_display): Abandon the text
1091 view approach. Fixes #689283.
1093 * src/wbc-gtk.c (wbc_gtk_init_borders): Show also in vertical
1095 (wbc_gtk_init_color_fore): Ditto.
1096 (wbc_gtk_init_color_back): Ditto.
1098 2013-04-17 Morten Welinder <terra@gnome.org>
1100 * src/wbc-gtk.c (wbc_gtk_init): Add also a vertical font chooser
1103 * src/wbc-gtk-impl.h (_WBCGtk): Rename font_name member to
1106 * src/wbc-gtk.c (wbc_gtk_init_font_name): Show the font button
1107 only for horizontal toolbars.
1109 * src/gui-file.c (file_saver_format_changed_cb): New function to
1110 change the extension when the format is changed.
1111 (gui_file_save_as): Don't try to hide the extension -- it
1112 interferes with the file chooser's completion. Fixes #695839.
1114 2013-04-16 Morten Welinder <terra@gnome.org>
1116 * src/wbc-gtk.c (wbcg_update_action_sensitivity): Turn on context
1117 menu for graph sheets. Fixes #685446.
1118 (sheet_menu_label_run): Disable resize for graph sheets.
1120 * src/value.c (parse_criteria): Anchor only at start. Fixes
1122 (parse_criteria): Handle criteria "=" and "<>" (with no value
1123 after the operator) special. These test for empty and non-empty
1124 values. Fixes #686156.
1126 * src/gutils.c (gnm_regcomp_XL): Split argument "full" into
1127 "anchor_start" and "anchor_end". All callers changed.
1129 2013-04-15 Morten Welinder <terra@gnome.org>
1131 * src/application.c (add_icon): Plug leak.
1133 * src/number-match.c (format_match_decimal_number): Try also major
1134 non-locale currencies. Fixes #577768.
1136 2013-04-13 Morten Welinder <terra@gnome.org>
1138 * src/mathfunc.c (pochhammer): Improve precision a bit.
1139 (binomialcf): Lower cfSmall by 10^3. This helps
1142 * configure.ac (GETTEXT_PACKAGE): Add version number so that
1143 doesn't prevent multiple versions from co-existing.
1145 * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
1146 dirty. Callers already appear to handle this when needed
1147 and not when not wanted. Fixes #697927.
1149 2013-04-12 Morten Welinder <terra@gnome.org>
1151 * src/mathfunc.c (gnm_owent): Fix a==1 special case. Part of
1153 (pnbinom): Allow prob==1 (already fixed in R) and n==0 (now
1155 (fact): Use table for n<=1; rewrite using pochhammer otherwise.
1157 2013-04-11 Morten Welinder <terra@gnome.org>
1159 * src/parse-util.c (rangeref_parse): Parse Sheet!#REF and return a
1160 reference with invalid_sheet. Fixes #683494.
1162 * src/complex.c (complex_to_string): Drop format arguments. All
1163 callers changed. Make up a format with enough precision for round
1164 tripping. Fixes #697634.
1166 2013-04-09 Morten Welinder <terra@gnome.org>
1168 * src/complex.c (complex_from_string): Make this handle embedded
1169 spaces systematically.
1170 (is_unit_imaginary): Delete.
1172 2013-04-09 Morten Welinder <terra@gnome.org>
1174 * src/complex.c (complex_pow): Use Goffice's copy.
1176 2013-04-05 Morten Welinder <terra@gnome.org>
1178 * src/wbc-gtk.c (cb_screen_changed): Re-use the css provider for
1179 new screens. Add hack for pre-GTK 3.4.
1181 * src/mathfunc.c (gnm_owent): New function.
1183 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
1185 * src/graph.c (gnm_go_data_vector_load_len): correctly evaluate array
1186 fucntions used as vectors. [697281]
1188 2013-04-04 Jean Brefort <jean.brefort@normalesup.org>
1190 * src/graph.c (gnm_go_data_vector_load_values),
1191 (gnm_go_data_vector_get_str): fix values and strings loading in case of
1194 2013-04-03 Morten Welinder <terra@gnome.org>
1196 * src/wbc-gtk.c (cb_sheet_tab_change): Use g_object_set to set
1197 attributes of the tab.
1199 * src/sheet-control-gui.c (sheet_control_gui_new): Create a
1200 GnmNotebookButton, not an EditableLabel.
1202 2013-04-02 Morten Welinder <terra@gnome.org>
1204 * src/wbc-gtk.c (cb_wbcg_drag_motion): Fix test for notebook tab
1206 (cb_wbcg_drag_leave): Ditto.
1208 2013-03-27 Morten Welinder <terra@gnome.org>
1210 * src/gnumeric-conf.c (gnm_conf_get_detachable_toolbars): Fix the
1211 key we look up. When did that change?
1213 2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
1215 * src/sheet-object-widget.c (sheet_widget_list_create_widget):
1218 2013-03-26 Morten Welinder <terra@gnome.org>
1220 * src/item-edit.c: Theme the in-cell edit background color.
1222 * src/gnumeric-fwd.h: Merge most of gnumeric.h and gui-gnumeric.h
1224 src/gui-gnumeric.h: Remove.
1226 * src/pattern.c (gnumeric_background_set): Insist that ctxt is
1227 non-NULL if there is a selection.
1228 (gnumeric_background_set_gtk): Delete. Make callers use
1229 gnumeric_background_set.
1231 * src/preview-grid.c (preview_grid_draw_background): Always
1232 provide a context to gnumeric_background_set.
1233 * src/item-edit.c (item_edit_draw): Ditto.
1235 * src/item-cursor.c (ic_reload_style): Use class, not state, to
1236 separate the different cursor types. Separate autofill colouring
1239 2013-03-25 Morten Welinder <terra@gnome.org>
1241 * src/item-cursor.c (gnm_item_cursor_class_init): Change type of
1243 (ic_reload_style): Theme some of the cursor colors.
1245 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): Take GOColor,
1248 * src/item-bar.c: Rename: ItemBar to GnmItemBar.
1250 * src/gnumeric.css: use deprecated px-free syntax for padding, so
1251 gtk+ 3.2 can deal with it.
1253 * src/wbc-gtk.c (cb_screen_changed): Install error handler so we
1254 can suppress deprecations.
1256 * src/sheet-control-gui.c (cb_select_all_btn_draw): Fix drawing of
1259 * src/item-bar.c (ib_reload_style): Load fonts from style.
1261 2013-03-24 Morten Welinder <terra@gnome.org>
1263 * src/item-grid.c (item_grid_draw_region): Draw the background at
1264 the right coordinates!
1266 2013-03-23 Morten Welinder <terra@gnome.org>
1268 * src/item-bar.c (ib_draw_cell): There's no point in going to and
1269 from GOColor here. Just use the color as-is.
1271 2013-03-19 Morten Welinder <terra@gnome.org>
1273 * src/application.c (install_icons): Install also the icon themed
1274 icons. No idea why we have both.
1276 * src/wbc-gtk.c (wbc_gtk_setup_icons, add_icon): Remove.
1278 * src/Makefile.am (SUBDIRS): No longer enter pixmaps.
1279 (embedded_imgs): Add the rest from pixmaps.
1281 * configure.ac: No longer create src/pixmaps/Makefile
1283 * src/gui-util.c (gnumeric_load_image, gnumeric_load_pixbuf): Make
1284 these work for resources and absolute paths.
1286 2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
1288 * src/sheet-control-gui.c (cb_collect_objects_to_commit): fixed
1289 not sizeable objects bounds after dragging when zoom is not 100%.
1291 2013-03-18 Morten Welinder <terra@gnome.org>
1293 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Disable the
1294 filter. It takes just long enough to be irritating.
1296 2013-03-17 Morten Welinder <terra@gnome.org>
1298 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Don't show the
1299 style since we're not picking it explicitly.
1300 (cb_font_filter): Fix leak.
1302 2013-03-14 Morten Welinder <terra@gnome.org>
1304 * src/wbc-gtk.c (gnm_font_action_create_tool_item): Add filter to
1305 ignore non-scalable fonts.
1307 2013-03-11 Morten Welinder <terra@gnome.org>
1309 * src/wbc-gtk.c (wbc_gtk_init_font_name): New implementation.
1311 2013-03-10 Morten Welinder <terra@gnome.org>
1313 * src/ssconvert.c (list_them): Skip savers/openers that require
1314 interaction. (We don't have any yet.)
1316 * src/stf.c (stf_read_workbook): Set error when we fail due to
1318 (stf_init): Mark the configurable saver/opener as interactive.
1320 * src/ssconvert.c (convert): Fix error handling. Fixes #695529.
1322 2013-03-09 Morten Welinder <terra@gnome.org>
1324 * configure.ac: Post-release bump.
1326 2013-03-09 Morten Welinder <terra@gnome.org>
1330 2013-03-06 Morten Welinder <terra@gnome.org>
1332 * src/wbc-gtk.c (list_actions): Handle a null group.
1334 2013-03-03 Morten Welinder <terra@gnome.org>
1336 * src/libgnumeric.c (gnm_pre_parse_init): Don't call deprecated
1337 g_thread_init if compiled with later than glib 2.32.0.
1339 2013-03-02 Jean Brefort <jean.brefort@normalesup.org>
1341 * src/gnm-pane-impl.h: remove alignments.
1342 * src/gnm-pane.c (gnm_pane_header_init): dittO;
1343 * src/gnm-plugin.c (plugin_service_ui_read_xml): fixed a C++ type comment.
1344 * src/item-bar.c (item_bar_calc_size): force recalc when indent changed.
1345 * src/sheet-control-gui-priv.h: remove all tables by one grid.
1346 * src/sheet-control-gui.c (cb_table_destroy), (scg_set_panes),
1347 (set_resize_pane_pos), (idle_resize), (cb_canvas_resize),
1348 (sheet_control_gui_new), (scg_finalize), (scg_adjust_preferences),
1349 (scg_mode_edit): ditto.
1350 * src/wbc-gtk.c (cb_show_sheet), (cb_sheet_label_button_press),
1351 (cb_sheet_visibility_change), (wbcg_sheet_add),
1352 (wbcg_sheet_remove), (wbcg_sheet_focus),
1353 (wbcg_sheet_order_changed), (wbcg_sheet_remove_all),
1354 (wbcg_get_nth_scg): ditto.
1356 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
1358 * src/gui-file.c (gui_file_open): GtkTable to GtkGrid.
1359 * src/print.c (gnm_create_widget_cb): ditto.
1360 * src/sheet-object-graph.c (sheet_object_graph_guru): ditto.
1362 2013-03-01 Morten Welinder <terra@gnome.org>
1364 * src/mathfunc.h: Make sure the "q" functions take "p" as their
1365 first argument, not "x".
1367 2013-03-01 Jean Brefort <jean.brefort@normalesup.org>
1369 reviewed by: <delete if not using a buddy>
1372 * src/sheet-object-widget.c (sheet_widget_button_user_config),
1373 (sheet_widget_adjustment_user_config_impl),
1374 (sheet_widget_checkbox_user_config),
1375 (sheet_widget_radio_button_user_config):
1376 * src/wbc-gtk.c (wbc_gtk_init):
1378 2013-02-28 Morten Welinder <terra@gnome.org>
1380 * configure.ac: remove the DISABLE_DEPRECATED defines even from
1381 development versions. We now get the information through gcc
1383 (solver): Make solver code unconditional. Feel free to not
1384 distribute the relevant plugins.
1386 2013-02-26 Morten Welinder <terra@gnome.org>
1388 * src/ssconvert.c (convert): Avoid segfault. Fixes #694741.
1390 2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
1392 * src/number-match.c: more introspection warnings.
1394 2013-02-23 Morten Welinder <terra@gnome.org>
1396 * */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
1398 2013-02-21 Morten Welinder <terra@gnome.org>
1400 * src/sheet-style.c (sheet_style_foreach): Take a GFunc, not a
1401 GHFunc. All callers changed. Impose a robust ordering.
1402 (sh_all_styles): New function replacing sh_foreach.
1404 2013-02-20 Morten Welinder <terra@gnome.org>
1406 * src/sheet-object-graph.c (dim_start): Survive malformed xml.
1408 2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
1410 * configure.ac: make configure --with-python fail when some
1411 dependency is missing.
1413 2013-02-17 Morten Welinder <terra@gnome.org>
1415 * configure.ac (set_more_warnings): Improve support for clang.
1417 2013-02-16 Morten Welinder <terra@gnome.org>
1419 * *.c: Clear up confusion between GtkStateType and GtkStateFlags.
1420 (Most cases a matter of 0 vs. 0.)
1422 2013-02-16 Jean Brefort <jean.brefort@normalesup.org>
1424 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed
1425 default value for stf export format.
1426 * src/dependent.c: fix introspection warnings.
1427 * src/sheet-style.c: ditto.
1429 2013-02-15 Morten Welinder <terra@gnome.org>
1431 * configure.ac (libspreadsheet_gtk_reqs): Explicitly require gtk
1432 3.2.0 just like goffice.
1434 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Adjust to
1437 2013-02-14 Morten Welinder <terra@gnome.org>
1439 * src/gnm-so-path.c (so_path_view_set_bounds): Use G_MAXDOUBLE,
1440 not MAXDOUBLE. Fixes #693761.
1442 2013-02-10 Morten Welinder <terra@gnome.org>
1444 * src/sheet-style.c (cb_unlink): gnm_style_unlink_dependents
1445 doesn't belong here. We handle everything in rstyle_apply.
1447 2013-02-08 Morten Welinder <terra@gnome.org>
1449 * src/sheet-style.c (rstyle_apply): Take extra range argument and
1450 link/unlink style dependents. All callers changed.
1451 (sheet_style_shutdown): Set default style for whole sheet to
1452 ensure style dependents get cleared.
1454 2013-02-07 Morten Welinder <terra@gnome.org>
1456 * src/sheet-style.c (cell_tile_optimize): Implement
1457 ptr-matrix-to-matrix optimization and use it to simplify things.
1459 * src/dependent.c (GnmStyleDependent): New type of dependent.
1460 When triggered, the cells in which it resised will be rerendered
1463 * src/mstyle.c (gnm_style_link_dependents)
1464 (gnm_style_unlink_dependents): New functions to manage style
1465 dependents due to conditional formatting.
1467 2013-02-06 Morten Welinder <terra@gnome.org>
1469 * src/sheet-style.c (vector_apply_pstyle): Turn loop structure
1470 inside-out in anticipation of future changes.
1472 (col_indicies, row_indicies): Alignment of the corners of apply_to
1473 is only relevant if we are within the tile.
1475 2013-02-06 Morten Welinder <terra@gnome.org>
1477 * src/sheet-style.c (tile_is_uniform): Extract from
1479 (vector_apply_pstyle): Don't return a value.
1480 (cell_tile_apply): Use tile_is_uniform.
1482 2013-02-05 Morten Welinder <terra@gnome.org>
1484 * src/sheet-style.c (sheet_style_get): Simplify with "while"
1485 instead of crazy "goto".
1486 (cell_tile_apply): Simplify the covers-whole-tile case.
1488 * src/sheet.h (Sheet): Remove max_width and max_height members.
1491 * src/dependent.h (GnmDependentClass): Add pos handler.
1493 * src/dependent.c (dependent_pos): Use pos handler.
1494 (dummy_dep_eval): New null handler for GnmDependentClass::eval.
1496 2013-02-04 Morten Welinder <terra@gnome.org>
1498 * src/dependent.c (dependent_pos): Make global.
1500 * src/position.c (eval_pos_init_dep, parse_pos_init_dep): Use
1503 * src/ssconvert.c (run_tool_test): Add code for running the
1505 (convert): Run an analysis tool if requested. (For testing.)
1507 2013-02-02 Morten Welinder <terra@gnome.org>
1509 * src/sheet-style.c (rstyle_ctor): Split into rstyle_ctor_style
1510 and rstyle_ctor_pstyle. All callers changed.
1512 2013-01-18 Morten Welinder <terra@gnome.org>
1514 * src/mathfunc.c (gnm_matrix_new, gnm_matrix_free)
1515 (gnm_matrix_is_empty, gnm_matrix_from_value, gnm_matrix_to_value):
1517 (gnm_matrix_multiply): Renamed from mmult and changed to use above.
1518 (gnm_matrix_eigen): Change to take GnmMatrix arguments.
1520 2013-01-15 Morten Welinder <terra@gnome.org>
1522 * src/stf.c (stf_read_workbook_auto_csvtab): Fix crash for text
1523 import from command line.
1525 2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
1527 * configure.ac: renamed configure.in and update obsolete macros.
1528 * configure.in: ditto.
1530 2013-01-14 Colin Watson <cjwatson@ubuntu.com>
1533 distutils.sysconfig.get_python_inc(plat_specific=True) to Python
1536 2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
1538 * src/sheet-control-gui.c (sheet_control_gui_new): typo.
1539 * src/sheet-object-graph.c (cb_graph_size_changed): do not remoe
1540 twice the top and bottom margins when displaying a graph
1543 2013-01-10 Morten Welinder <terra@gnome.org>
1545 * src/func.c (gnm_func_lookup_or_add_placeholder): Drop copy_name
1546 argument and assume TRUE. Drop scope name and assume NULL (which
1547 is what all callers should have used). All callers changed.
1548 (gnm_func_add_placeholder): Ditto.
1549 (invent_name): Downcase the preferred name.
1550 (gnm_func_add_placeholder_full): Eliminate GNM_FUNC_FREE_NAME.
1551 (gnm_func_add): Initialize arg_names_p.
1553 * src/gnm-plugin.c (plugin_service_function_group_activate):
1554 Upgrade existing placeholder functions as needed.
1556 * src/func.c (gnm_func_upgrade_placeholder): Rename from
1557 gnm_func_upgrade_placeholder. Take GnmFunc argument, not name.
1559 2013-01-10 Morten Welinder <terra@gnome.org>
1561 * src/func.c (gnm_func_add_placeholder_localized): New function.
1562 (gnm_func_add_placeholder_full): Extract from
1563 gnm_func_add_placeholder. Handle localization better.
1564 (gnm_func_set_localized_name): New function.
1565 (gnm_func_free, gnm_func_get_name): Use
1566 gnm_func_set_localized_name.
1568 * src/parse-util.c (std_func_map): Improve handling of unknown
1571 * src/func.c (gnm_func_group_remove_func): Factor this out from...
1572 (gnm_func_free): ...here.
1574 2013-01-09 Morten Welinder <terra@gnome.org>
1576 * src/symbol.c: delete.
1578 * src/func.c: rewrite to use GHashTable instead of symbol.c
1579 (gnm_func_lookup_prefix): Take extra argument indicating whether
1580 to search translated names. Caller changed.
1582 * src/parse-util.c (std_func_map): Lookup translated name as
1584 (parse_util_init): Add enviroment magic to turn on translated
1585 functions names. This is not ready for prime time and should be
1586 controlled by a user preference eventually.
1588 * src/mathfunc.c (gnm_matrix_eigen): Silence warning. Document a
1591 2013-01-07 Morten Welinder <terra@gnome.org>
1593 * src/mathfunc.c (gnm_matrix_eigen): Detect underflow of the
1594 pivot. Use gnm_hypot where possible.
1596 2013-01-04 Morten Welinder <terra@gnome.org>
1598 * src/gui-clipboard.c (gnm_x_claim_clipboard): Take a GdkDisplay
1599 as argument. Keep track of displays.
1600 (gnm_x_disown_clipboard): New function.
1602 * src/application.c (gnm_app_clipboard_clear): Use
1603 gnm_x_disown_clipboard to make things multi-head safe.
1605 2013-01-03 Morten Welinder <terra@gnome.org>
1607 * src/collect.c (collect_floats): Fix handling of
1608 COLLECT_IGNORE_ERRORS.
1609 (collect_strings): Ditto.
1610 (callback_function_collect): Handle new flag COLLECT_ZERO_ERRORS.
1612 2013-01-01 Morten Welinder <terra@gnome.org>
1614 * src/mstyle.c (gnm_style_set_from_pango_attribute): Don't use
1615 deprecated goffice stuff.
1617 * src/cellspan.c (cell_register_span, cell_calc_span): Remove
1619 * src/gnm-pane.c (control_point_leave_notify): Ditto.
1620 * src/gnm-plugin.c (plugin_service_solver_activate): Ditto.
1621 * src/wbc-gtk.c (wbc_gtk_create_edit_area): Ditto.
1623 * src/application.c (gnm_app_history_add): Kill warning.
1625 2012-12-31 Morten Welinder <terra@gnome.org>
1627 * src/sheet-style.c (sheet_style_resize): Double off-by-one.
1630 * src/ssdiff.c: Introduce --highlight mode.
1632 2012-12-30 Morten Welinder <terra@gnome.org>
1634 * src/ssdiff.c (main): Add option to send output to a file.
1636 2012-12-29 Morten Welinder <terra@gnome.org>
1638 * src/ssdiff.c (diff): Use C locale.
1639 (ignore_cell): Ignore arrays, except for the corner.
1640 (output_cell): New function taking proper care of value types,
1642 (xml_cell_changed): Use output_cell.
1643 (compare_corresponding_cells): Don't use entered_text here either,
1644 although it's harmless.
1645 (output_cell, compare_corresponding_cells): Handle value formats
1648 2012-12-28 Valek Filippov <frob@df.ru>
1650 * gnm-pane.c, shell-control-gui.c: Replaced deprecated
1651 gdk_window_get_pointer calls.
1653 2012-12-28 Morten Welinder <terra@gnome.org>
1655 * src/*.c: Eliminate use of printf.
1657 * src/sheet-style.c (sheet_style_range_foreach): Move handling of
1658 range offset here. This may need to move further.
1659 * src/ssdiff.c (cb_diff_sheets_styles_2): From here.
1660 (diff_sheets_cells): Ignore completely empty cells.
1661 (xml_sheet_start): Change meaning of Old and New attributes to be
1662 index_in_wb and absent when workbook doesn't have the sheet.
1663 (xml_style_changed): Describe style differences.
1665 2012-12-27 Morten Welinder <terra@gnome.org>
1667 * src/ssdiff.c (diff_sheets): Compare styles too.
1669 * src/sheet-style.c (sheet_style_range_foreach): Add optional
1670 range argument. All callers changed.
1672 2012-12-24 Morten Welinder <terra@gnome.org>
1674 * src/ssdiff.c (def_cell_changed): Merge cell_added and
1675 cell_removed handlers into the cell_changed handler.
1676 (main): Add --xml option.
1678 * configure.in: ssconvert, ssindex, and ssgrep are no longer
1679 configurable. We need ssconvert for the test and it's silly
1682 2012-12-18 Morten Welinder <terra@gnome.org>
1684 * configure.in: Post-release bump.