CVSROOT:        /cvs/gnome
Module name:    gnumeric
Changes by:     jody    06/11/24 22:17:16

Modified files:
        .              : BUGS ChangeLog NEWS 
        plugins/excel  : ChangeLog ms-excel-read.c ms-excel-write.c 
                         ms-obj.c ms-obj.h 
        plugins/fn-date: functions.c 
        src            : Makefile.am clipboard.c commands.c expr.c 
                         gnumeric-pane.c mstyle.c mstyle.h 
                         sheet-control-gui.c sheet-filter.c 
                         sheet-object.c sheet-object.h sheet-view.c 
                         sheet-view.h sheet.c sheet.h validation.c 
                         validation.h value-sheet.c value.c value.h 
                         wbc-gtk.c wbcg-actions.c workbook-cmd-format.c 
                         workbook-view.c workbook-view.h 
        src/dialogs    : ChangeLog cell-format.glade 
        src/widgets    : ChangeLog Makefile.am 
        tools          : xmlunzip 
Added files:
        src            : validation-combo.h 
        src/widgets    : gnm-filter-combo-foo-view.c 
                         gnm-filter-combo-foo-view.h 
                         gnm-validation-combo-foo-view.c 
                         gnm-validation-combo-foo-view.h 
Removed files:
        src/widgets    : gnm-filter-combo.c gnm-filter-combo.h 

Log message:
2006-11-24  Jody Goldberg <[EMAIL PROTECTED]>

* src/Makefile.am : add validation-combo.h

* src/mstyle.c (gnm_style_get_validation) : constify the result.  We
should not modify it while it's part of a style.

* src/sheet-control-gui.c (cb_collect_objects_to_commit) : handle
no-view case.
* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : ditto.

* src/sheet-object.c (sheet_object_clear_sheet) : Handle
so::sheet == NULL (eg when data validation combo is cleared from
wbv::finalize after content_destroy clears the sheet list)
Drop the return flag, nothing was using.

* src/validation.c (gnm_validation_combo_new) : new.
(gnm_validation_combo_class_init) : new.
(gnm_validation_combo_finalize) : new.
(gnm_validation_combo_init) : new.
(validation_ref) : allow the reffing of const objects.
(validation_unref) : ditto, this should really be split into a const
and non-const version.  We can do that for all unref routines.

* src/value.h : create new struct GnmValueIter.
* src/value.c (gnm_value_get_type) : Make GnmValue a glib boxed type.
* src/value-sheet.c (value_area_foreach) : rework to use GnmValueIter.
All callers changed.

* src/workbook-view.h : s/::current_format/::current_style/
and make it const.  We have a ref to it, so it's not going away
_but_ we should never change it.
Add validation_combo.  For the sheet object corresponding to an
in cell data validation combo.

* src/workbook-view.c (wb_view_style_feedback) : renamed from
wb_view_format_feedback all callers changed.  Add a creation
and removal of data validation in cell combo.
(wb_view_finalize) : clear the validation combo if it exists.
(workbook_view_new) : init the combo.

2006-11-24  Jody Goldberg <[EMAIL PROTECTED]>

* tools/xmlunzip : Add the 'macro enabled' formats from office12

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnumeric&who=jody&date=explicit&mindate=2006-11-24%2022:16&maxdate=2006-11-24%2022:18

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to