2006-12-17 Jody Goldberg * Release 1.7.6 2006-12-17 Morten Welinder * src/gnm-format.c (format_value_gstring): Don't pay attention to need_abs here. That breaks DOLLAR, somehow. 2006-12-17 Jody Goldberg * src/sheet-object-widget.c (sheet_widget_list_base_set_selection) : if the selection is greater than the number of elements select the last item. 2006-12-17 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=135966 * src/gnumeric-pane.c (gnm_pane_widget_register) : Callers can call gnm_pane_object_register themselves, but we need to interpose an event handler for all child widgets so that right click can always select the object. * src/sheet-object-widget.c (sheet_object_widget_new_view) : Call gnm_pane_object_register directly. 2006-12-17 Jody Goldberg * src/sheet-object-widget.c (cb_combo_model_changed) : set text column here. (sheet_widget_combo_create_widget) : accept loading with no model. 2006-12-17 Jody Goldberg * src/item-cursor.c (item_cursor_draw) : don't draw an autofill handle for hidden cursors. [#365960] 2006-12-16 Jody Goldberg * src/sheet-filter.h : add GNM_FILTER_OP_BOTTOM_MASK, and GNM_FILTER_OP_PERCENT_MASK. * src/xml-sax-read.c (xml_sax_filter_condition) : make bucket count a float. * src/xml-sax-write.c (xml_write_filter_field) : ditto. * src/xml-io.c (xml_read_filter_field) : ditto. * src/sheet-filter.c (gnm_filter_condition_new_bucket) : ditto. * gnumeric.xsd : ditto. 2006-12-16 Jody Goldberg * src/sheet-object-widget.c : implement combos and lists. 2006-12-15 Morten Welinder * src/rendered-value.c (gnm_rendered_value_new): Improve handling of invalid dates. * src/cell-draw.c (cell_calc_layout): Ditto. 2006-12-14 Morten Welinder * src/test-format.c: Remove. * src/rendered-value.c (gnm_rendered_value_new): If we get an error, force a variable field. This handles #### for negative dates. * src/gnm-format.c (format_value_gstring): Return error code. Handle errors from number formatting. (gnm_format_layout): Ditto. 2006-12-12 Morten Welinder * src/ssindex.c (main): Don't print debug stuff on stdout. That's where our output is supposed to go. * configure.in (set_more_warnings): Turn on ssindex by default. SuSE ships it and uses it, so we might as well start testing it more. 2006-12-11 Morten Welinder * src/sheet-object-widget.c (sheet_widget_button_set_label, sheet_widget_checkbox_set_label, sheet_widget_radio_button_set_label): Use go_str_compare and handle overlapping strings. 2006-12-11 Morten Welinder * src/sheet-object-widget.c (cb_adjustment_value_changed): Make action undoable. (sheet_widget_adjustment_init_full): Don't set signal handler here -- we need one signal per widget so we can figure out the invoking wbc. (sheet_widget_scrollbar_create_widget, sheet_widget_slider_create_widget, sheet_widget_spinbutton_create_widget): Set signal hanlder here. (cb_adjustment_widget_value_changed): Renamed from cb_adjustment_value_changed and changed to take a widget parameter. Add undo support. (widget_wbc): New function. (cb_checkbox_toggled): Get the wbc from the widget. 2006-12-10 Morten Welinder * src/clipboard.c (cb_clipboard_copy_range_undo): Take a command context as argument instead of faking it. * src/commands.c (cmd_so_set_value_undo): Supply the command context to the undo operation. 2006-12-09 Morten Welinder * src/sheet-object-widget.c (cb_checkbox_toggled): Make action undoable. * src/commands.c (cmd_so_set_value): New function. * src/clipboard.c (clipboard_copy_range_undo): New function. 2006-12-09 Jody Goldberg * src/sheet-object-widget.c : Add sax parsers. * src/xml-sax-read.c : s/gsf_state/xin/g to be consistent. (gnm_xml_file_open) : set the unknown handler. (xml_sax_unknown) : unknown nodes under Object are object types. (xml_sax_object_start) : split out into .. (xml_sax_read_obj) : here. Add a kludge to clean up the state->so even when called from the unknown handler. * src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser) : return TRUE for the updated interface. * src/gnm-so-filled.c (sof_sax_style) : new. (gnm_so_filled_prep_sax_parser) : new. (gnm_so_filled_class_init) : hook up the new function. * src/gnm-so-line.c (sol_sax_style) : new. (gnm_so_line_prep_sax_parser) : new. (gnm_so_line_class_init) : hook up the new function. * configure.in : bump goffice req to get the new GogStyle sax parser organization. * src/xml-sax-read.c (xml_sax_version) : be more discerning. 2006-12-07 Jody Goldberg * src/xml-io-version.h : time to modernize a bit. tack on some new versions. * src/xml-sax-read.c : gnumeric_1_0_dtd Use GSF_XML_NO_CONTENT and friends. (xml_sax_version) : new. (xml_sax_filter_condition) : The DOM filter has been swapping Value and ValueType. The SAX exported copied the code. The importer needs to use the incorrect layout to handle existing files. * src/xml-sax-write.c (xml_write_filter_expr) : warn about the the swapping of Value and ValueType. * gnumeric.xsd : comment on the swapping. 2006-12-07 Christian Neumair * src/widgets/gnumeric-expr-entry.c (cb_icon_clicked): Don't g_assert, always assume that gtk_container_class_list_child_properties returns a non-NULL value. 2006-12-05 Joseph Pingenot * src/tools/analysis-{tools,histogram}.[ch]: split out all histogram stuff in preparation for larger work with histograms. Nothing else should have changed at this point. * src/tools/Makefile.am: Added new files. * src/dialogs/dialog-analysis-tools.h: Added header include for analysis-histogram.h so that it compiles. * tools/check-files: complain if a filename line contains leading/trailing whitespace, and ignore the whitespace. 2006-12-05 Morten Welinder * src/xml-sax-read.c (gnm_xml_file_open): Do as little as possible while in C locale. Assign a default saver so the save button works right. * src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser): Read the comment text(!) and author. (cell_comment_class_init): Hook up cell_comment_prep_sax_parser. (comment_view_set_bounds): Do not scale triangle size. Flip triangle in rtl. * src/workbook-control-gui.c (wbcg_view_changed): Change back to using a workbook as data argument. Keep the old view in a weak pointer. Fixes #382643 (caused by the view disappearing and killing the signal handler with it). 2006-12-04 Jody Goldberg * configure.in : post release bump