1. 06 May, 2018 1 commit
  2. 30 Dec, 2017 1 commit
    • Morten Welinder's avatar
      Arrays: code cleanup. · c5c51af8
      Morten Welinder authored
      This moves us closer to making array corners and elements part of GnmExprTop
      as opposed to the current state where they are in GnmExpr, but are only
      allowed at top level.
      
      Specifically, with this commit, we now query attributes of array
      corners and elements mostly with a texpr.  Mostly.
      
      A nice side effect is that many expr-impl.h includes can be removed.  We
      have too many of those.
      c5c51af8
  3. 30 Nov, 2017 1 commit
  4. 28 Feb, 2015 1 commit
  5. 26 Mar, 2013 1 commit
  6. 10 May, 2012 1 commit
  7. 28 Mar, 2012 1 commit
  8. 08 Jan, 2012 1 commit
  9. 22 Nov, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      rename enums · b8f3c912
      Andreas J. Guelzow authored
      2011-11-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/widgets/gnm-validation-combo-view.c: rename enums
      	* src/widgets/widget-font-selector.c: rename enums
      
      2011-11-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/dialogs/dialog-cell-format.c: rename enums
      	* src/dialogs/dialog-scenarios.c: rename enums
      
      2011-11-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/tools/analysis-anova.c: rename enums
      	* src/tools/analysis-chi-squared.c: rename enums
      	* src/tools/analysis-principal-components.c: rename enums
      	* src/tools/analysis-tools.c: rename enums
      
      2011-11-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/cell-draw.c: rename enums
      	* src/cellspan.c: rename enums
      	* src/commands.c: rename enums
      	* src/item-edit.c: rename enums
      	* src/mstyle.c: rename enums
      	* src/rendered-value.c: rename enums
      	* src/style.c: rename enums
      	* src/style.h: rename enums
      	* src/validation.c: rename enums
      	* src/validation.h: rename enums
      	* src/wbc-gtk-actions.c: rename enums
      	* src/wbc-gtk-edit.c: rename enums
      	* src/wbc-gtk.c: rename enums
      	* src/workbook-cmd-format.c: rename enums
      	* src/workbook-view.c: rename enums
      	* src/xml-sax-read.c: rename enums
      	* src/xml-sax-write.c: rename enums
      b8f3c912
  10. 02 Aug, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      Use formatting attributes whenever we format numbers. [#584380][#651561] · 08425f65
      Andreas J. Guelzow authored
      2011-08-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* configure.in: Disable GTK depreciation check
      	* src/cell-draw.c (cell_calc_layout): use gnm_rendered_value_get_color
      	* src/cell.c (gnm_cell_get_render_color): ditto
      	* src/gnm-format.c (gnm_format_layout): drop argument and change all
      	callers
      	(format_value_gstring): ditto
      	(format_value): ditto
      	(format_value_layout): new
      	* src/gnm-format.h (gnm_format_layout): drop argument and change all
      	callers
      	(format_value_gstring): ditto
      	(format_value): ditto
      	(format_value_layout): new
      	* src/rendered-value.c (gnm_rendered_value_new): include foreground
      	color in attributes list
      	(colour_selector_cb): new
      	(colour_from_layout): new
      	* src/widgets/gnm-format-sel.c (cb_generate_preview): use attributes
      	* src/workbook-view.c (wb_view_auto_expr_recalc): use
      	format_value_layout
      08425f65
  11. 29 Nov, 2010 1 commit
    • Andreas J. Guelzow 's avatar
      Permit data entry by-passing autocorrection. · 92f94a17
      Andreas J. Guelzow authored
      2010-11-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/commands.h (cmd_set_text): add autocorrect flag
      	* src/commands.c (cmd_set_text): add autocorrect flag, change
      	all callers
      	(cmd_set_text_full): add autocorrect flag, change all callers
      	* src/wbc-gtk-edit.c (wbcg_edit_finish): handle WBC_EDIT_ACCEPT_WO_AC
      	* src/wbc-gtk.h (WBCEditResult): add WBC_EDIT_ACCEPT_WO_AC
      	* src/wbc-gtk.c (cb_accept_input_wo_ac): new
      	(cb_accept_input_menu): connect cb_accept_input_wo_ac
      92f94a17
  12. 17 Jun, 2010 1 commit
  13. 29 Dec, 2009 1 commit
    • Jody Goldberg's avatar
      [slicers] Misc · d0559e77
      Jody Goldberg authored
          - print hidden col/row items in xls import
          - fix for new canvas and support blank
          - Start to implement the slicer dialog
          - Prep for creation
          - add buttons to combo
      
          - <Tab> cursor movement
          Have it work the same way when entering content as when just moving
          around
      d0559e77
  14. 25 Aug, 2009 1 commit
  15. 10 Jun, 2009 1 commit
  16. 08 Jun, 2009 1 commit
  17. 14 Dec, 2008 1 commit
  18. 08 Sep, 2007 1 commit
  19. 08 Aug, 2007 1 commit
  20. 11 Jun, 2007 1 commit
  21. 17 Dec, 2006 1 commit
    • Jody Goldberg's avatar
      implement combos and lists. · b177dcc0
      Jody Goldberg authored
      
      2006-12-16  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-widget.c : implement combos and lists.
      
      2006-12-16  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_sheet_realize_obj) : link in the content
      	  expression, and the linked cell for combo and list objects.
      	* ms-obj.c (ms_obj_read_biff8_obj) : read ListboxData which seems to
      	  contain the content expression.
      b177dcc0
  22. 02 Dec, 2006 1 commit
    • Jody Goldberg's avatar
      All callers changed. renamed from scenario_free_all. (scenarios_dup) : · 0fb55e5d
      Jody Goldberg authored
      
      2006-12-02  Jody Goldberg <jody@gnome.org>
      
      	All callers changed.
      	* scenarios.c (scenarios_free) : renamed from scenario_free_all.
      	(scenarios_dup) : renamed from scenario_copy_all.
      	(scenarios_insert_rows) : renamed from scenario_insert_rows.
      	(scenarios_insert_cols) : renamed from scenario_insert_cols.
      	(scenarios_delete_rows) : renamed from scenario_delete_rows.
      	(scenarios_delete_cols) : renamed from scenario_delete_cols.
      	(scenarios_move_range) : renamed from scenario_move_range.
      
      2006-12-02  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.c (gnm_expr_top_relocate) : don't init rinfo::from_inside
      	  for INVALIDATE_SHEET case, it's unnecesasry and the inputs are
      	  undefined.
      
      	* src/gnumeric-canvas.h : Remove scaling from GNUMERIC_CANVAS_FACTOR_X
      	  that was breaking text display in RTL.  We need a gtk patch for that
      	  to work.
      
      2006-12-02  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_dup_filters) : new.
      	(sheet_dup) : called from here.
      	* src/sheet-filter.c (gnm_filter_condition_dup) : new.
      	(gnm_filter_dup) : new.
      	(filter_field_apply) : take target_sheet to allow filtering a
      	  different sheet using the src data.
      	(gnm_filter_get_condition) : replace 'apply' boolean with
      	  'target_sheet'.
      	(gnm_filter_combo_foo_view_new) : move this internal and use
      	  gnm_cell_combo_foo_view_new.
      	(gnm_filter_add_field) : use offset to replace the effect of
      	  SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
      
      	* src/validation.c (gnm_validation_combo_foo_view_new) : move this
      	  internal and use gnm_cell_combo_foo_view_new.
      
      	* src/sheet-view.c (sv_update) : Use wb_view_selection_desc instead of
      	  putting a subset of the logic here.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Add a hook to
      	  popdown validate from list, or autofilter combos.
      
      	* src/sheet-object.h : remove SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
      	* src/sheet-object.c (sheet_object_draw_cairo) : ditto.
      	* component/gnumeric.c (go_gnm_component_print) : ditto.
      	* src/sheet-object-cell-comment.c (cell_comment_set_cell) : use offset
      	  to replace the effect of SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
      	* src/sheet-control-gui.c (calc_obj_place) : FROM_COLROW_END is gone.
      	(cell_offset_calc_pixel) : ditto.
      
      	* src/ranges.c (range_init_cellpos) : take only 1 cellpos and use for
      	  both ends.  All callers changed.
      
      2006-12-02  Jody Goldberg <jody@gnome.org>
      
      	* gnumeric.xsd : Make schema validate by
      	    - adding Attributes.
      	    - Add Autofilters.
      	    - Add Input Messages
      
      	* src/xml-io.c (xml_init) : Make the sax importer the default.
      	(xml_read_colrow_info) : update the max_outline_level.
      	* src/xml-sax-read.c (xml_sax_colrow) : ditto. [#380015]
      	(gnm_xml_file_open) : init State::filter
      	(content_ns) : add schema namespace.
      	(xml_sax_filter_end) : new.
      	(xml_sax_filter_start) : new.
      	(xml_sax_filter_condition) : new.
      	(xml_sax_filter_operator) : new.
      	(xml_sax_input_msg) : sync with logic in the DOM importer and do
      	  not generate an input msg if both title and msg are missing.
      
      2006-12-02  Jody Goldberg <jody@gnome.org>
      
      	* Makefile.am (libwidgets_la_SOURCES) : add
      	    gnm-cell-combo-foo-view.[ch]
      
      	* gnm-cell-combo-foo-view.h : new.
      	* gnm-cell-combo-foo-view.c : new.
      	  Implementation pulled from validation-combo and generalized to share
      	  between validation and autofilter.  It adds
      	    - autoscroll of the list
      	    - more keybindings in the list
      	    - RTL support for dropdown placement.
      	(gnm_cell_combo_foo_view_new) : create the specified GType (which need
      	  to imlement SheetObjectView and GnmCellComboFooView interfaces).
      	(gnm_cell_combo_foo_view_popdown) : new routine to allow an external
      	  entity to force the combo to populate and open. (eg the alt-down in
      	  a cell)
      	(gnm_cell_combo_foo_view_popdown): set the
      	  cursor in addition to selecting the desired row so that arrows move
      	  from the selected item rather than the 1st.
      
      	* gnm-validation-combo-foo-view.h : all we need to expose now is the GType
      	* gnm-filter-combo-foo-view.h : ditto.
      	* gnm-validation-combo-foo-view.c : split out the content into the new
      	  gnm-cell-combo-foo-view.[ch] and implement GnmCComboFooViewIface
      	(validation_view_set_bounds) : handle RTL placement of combo.
      	* gnm-filter-combo-foo-view.c : ditto.
      	(filter_view_set_bounds) : handle RTL placement of combo.
      
      2006-11-25  Jody Goldberg <jody@gnome.org>
      
      	* gnm-validation-combo-foo-view.c (gnm_validation_combo_foo_view_new) :
      	  rename from gnm_validation_combo_new_foo_view_new.
      	(gnm_validation_combo_foo_view_popdown) : new public interface split
      	  out of cb_cell_button_pressed.
      0fb55e5d
  23. 25 Nov, 2006 2 commits
    • Jody Goldberg's avatar
      rename from gnm_validation_combo_new_foo_view_new. · b498db40
      Jody Goldberg authored
      2006-11-25  Jody Goldberg <jody@gnome.org>
      
      	* gnm-validation-combo-foo-view.c (gnm_validation_combo_foo_view_new) :
      	  rename from gnm_validation_combo_new_foo_view_new.
      	(gnm_validation_combo_foo_view_popdown) : new public interface split
      	  out of cb_cell_button_pressed.
      
      2006-11-25  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-filter.c (gnm_filter_combo_class_init) : adjust to
      	  rename of gnm_filter_combo_foo_view_new.
      	* src/validation.c (gnm_validation_combo_class_init) : adjust to
      	  rename of gnm_validation_combo_foo_view_new.
      b498db40
    • Jody Goldberg's avatar
      add validation-combo.h · 131aee7a
      Jody Goldberg authored
      2006-11-24  Jody Goldberg <jody@gnome.org>
      
      	* 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 <jody@gnome.org>
      
      	* tools/xmlunzip : Add the 'macro enabled' formats from office12
      131aee7a