1. 14 Dec, 2002 1 commit
    • Jody Goldberg's avatar
      Tack on a 'shared' flag in alot of places to control the use of _REF/_AREA · 2084b6ab
      Jody Goldberg authored
      2002-12-13  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c : Tack on a 'shared' flag in alot of places to
      	control the use of _REF/_AREA vs _REFN/_AREAN
      
      	* ms-excel-write.c (excel_write_BOF) : bump generated BOF to look like
      	  MS excel 2k.
      	(vip_hash) : new.
      	(vip_equal) : new.
      	(excel_write_DV) : new.
      	(excel_write_DVAL) : new.
      	(excel_write_NAME_v7) : export names using shared formula conventions.
      	(excel_write_sheet) : export validation.
      	(write_workbook) :  add a XL9FILE flag.
      
      	* ms-excel-read.c (excel_read_DV) : several small tweaks
      	  1) string lengths are 2 bytes
      	  2) Use the option flags to enable/disable input msg and validation
      	  3) Parse expressions relative to the top left of the first range
      	  4) Parse as shared expressions
      
      2002-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/input-msg.c (gnm_input_msg_get_msg) : new.
      	(gnm_input_msg_get_title) : new.
      
      2002-12-12  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-style.c (cb_hash_to_list) : improve placement of debug
      	  info to ignore irrelevent ranges that were merged into something else.
      
      	* tools/import-foocanvas : do not install foocanvas
      
      	* src/sheet-style.c (sheet_style_get_validation_list) : new.
      	(cb_style_list_add_validation) : simple filter.
      	(cb_style_list_add_node) : generalize slightly to make the comparison
      	  routine dynamic.
      	(cb_hash_merge_horiz) : ditto.
      	(sheet_style_get_list) : adjust to the new generalized utilities.
      
      2002-12-13  Jody Goldberg <jody@gnome.org>
      
      	* dialog-cell-format.c (cb_validation_error_action_deactivate) : Use
      	  stock images directly.
      	* cell-format.glade : fix image discrepancy between menu and display
      	  of validation style error.
      2084b6ab
  2. 22 Nov, 2002 1 commit
  3. 18 Nov, 2002 1 commit
    • Morten Welinder's avatar
      Add a noinst_HEADERS. · 895d6897
      Morten Welinder authored
      2002-11-18  Morten Welinder  <terra@diku.dk>
      
      	* import-foocanvas (copy_subsystem): Add a noinst_HEADERS.
      895d6897
  4. 06 Nov, 2002 2 commits
  5. 05 Nov, 2002 6 commits
  6. 16 Sep, 2002 1 commit
  7. 03 Sep, 2002 2 commits
  8. 28 Aug, 2002 3 commits
    • Morten Welinder's avatar
      e1f184a8
    • Morten Welinder's avatar
      Handle manual fixes. · eb3ea177
      Morten Welinder authored
      eb3ea177
    • Jody Goldberg's avatar
      begin tighening the include requirements. ditto. ditto. ditto. ditto. · 14fe04af
      Jody Goldberg authored
      2002-08-28  Jody Goldberg <jody@gnome.org>
      
      	* dialog-about.c : begin tighening the include requirements.
      	* dialog-analysis-tools.c : ditto.
      	* dialog-autocorrect.c : ditto.
      	* dialog-autoformat.c : ditto.
      	* dialog-formula-guru.c : ditto.
      	* dialog-goto-cell.c : ditto.
      	* dialog-printer-setup.c : ditto.
      	* dialog-random-generator.c : ditto.
      	* dialog-search-replace.c : ditto. ditto.
      	* dialog-search.c : ditto.
      	* dialog-stf-export-private.h : ditto.
      	* dialog-stf-preview.c : ditto.
      
      	* dialog-stf.c (stf_dialog_druid_page_cancel) : convert to
      	  gtkmessagedialog.
      	* dialog-stf-export-sheet-page.c (stf_export_dialog_sheet_page_result)
      	  ditto.
      	* dialog-stf-export.c (stf_export_dialog_druid_page_cancel) : ditto.
      
      	* dialog-define-names.c (name_guru_in_list) : no need to be case
      	  insensitive here.
      
      	* dialog-simulation.c (simulation_ok_clicked_cb) : fix const.
      
      2002-08-28  Jody Goldberg <jody@gnome.org>
      
      	* src/func.c (function_marshal_arg) : begin work to support implicit
      	  iteration.
      
      2002-08-28  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-canvas.c : begin tighening the include requirements.
      	* src/gui-file.c : ditto.
      	* src/sheet-object-graphic.c : ditto.
      	* src/sheet-object-widget.c : ditto.
      	* src/xml-io.c : ditto.
      
      	* src/gutils.c (gnm_extension_pointer) : move to libgsf.
      	(gnm_iconv_close) : ditto.
      
      2002-08-28  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : prep for inclusion of libegg code
      	  bump libgsf version req.
      	* src/Makefile.am : ditto.
      
      	* README : update.
      14fe04af
  9. 27 Aug, 2002 1 commit
  10. 26 Aug, 2002 5 commits
  11. 17 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Use the newly minted Gnome Application Library (GAL) · cd111742
      Jody Goldberg authored
      2000-09-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c : Use the new Gnome App Libs (GAL)
      	  routines.
      	* src/workbook-view.c : Ditto.
      	* src/workbook.c : Ditto.
      
      	* src/main.c (gnumeric_main) : call e_color_init and e_color_shutdown.
      
      	* src/gnumeric-util.c (gnumeric_create_tooltip) :
      	  Rename from color -> e_color.
      	* src/style.c (style_color_new) : Ditto.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_realize) :
      	  Rename from cursor -> e_cursor.
      	* src/item-cursor.c (item_cursor_set_cursor) : Ditto.
      	* src/cell-comment.c (cell_comment_clicked) : Ditto.
      	* src/item-grid.c (item_grid_event) : Ditto.
      	* src/sheet-object.c : Ditto.
      
      	* src/color.c : Split the utilities into the gal library.
      
      	* src/Makefile.am : Remove cursors.[ch]
      
      	* configure.in : Handle the new Gnome App Lib (GAL)
      cd111742
  12. 12 Sep, 2000 1 commit
    • Morten Welinder's avatar
      Constify. Plug leak. · 569fdae4
      Morten Welinder authored
      2000-09-11  Morten Welinder  <terra@diku.dk>
      
      	* color-group.c (color_group_new_named): Constify.  Plug leak.
      
      	* color-palette.c (color_palette_new_with_vals): Constify.
      	(color_palette_new): Constify.
      569fdae4
  13. 11 Sep, 2000 1 commit
  14. 07 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Merge in the colour combo emhancements. · 36906fb2
      Jody Goldberg authored
      2000-09-06  Jody Goldberg <jgoldberg@home.com>
      
      	* color-group.c (color_group_new_named) : strdup the name if it is
      	  supplied by the user.
      	(color_group_class_init) : Use the destroy method.
      
      2000-09-03 Michael Levy  <mlevy@genoscope.cns.fr>
      
      	* color-group.c : Re-write of color-combo-group.c to allow
      	for arbitrary widgets to share a common color history.
      
      	* widget-color-combo.c :
      	Extracted all the code required to make the color table and moved it to a
      	new object (ColorPalette). Changed the ColorCombo so that it uses
      	the ColorPalette (and the shared color hsitory provided by the groupped
      	ColorPalettes).
      	All the code that refered to the creation of the color table was
      	removed, and when appropriate, moved to color-palette.c
      	Removed all mention of ColorComboGroups (as these no longer exist).
      
      	* color-palette.c : Extracted from widget-color-combo.c
      	(color_palette_new) : Creates a color palette.
      	(color_palette_get_current_color) : returns the current color.
      
      
      2000-07-30  Michael Levy  <mlevy@genoscope.cns.fr>
      
      	* color-combo-group.c : New GtkObject meant to group color combo boxes so
      	that their custom color histories are shared.
      	Includes functions to create and destroy the object, as
      	well as those required size, and navigate through the custom color history.
      
      	* widget-color-combo.c
      	(group_new_custom_color) : New function to handle the
      	new_custom_color signal emitted by the ColorComboGroup
      	(custom_color_history_setup) : New function which initialises a
      	combo box's custom color history with the one stored in the group
      	(color_table_setup) : Added call to custom_color_history_setup.
      	(cust_color_set) : Removed call to cust_color_row_shift and moved
      	it to group_new_custom_color. Also added call to
      	color_combo_group_add_color in order to notify group of change
      	(color_combo_new_with_vals) : Added mandatory group name to
      	function prototype. Also added call to color_combo_group_new_named
      	and connected the "new_custom_color" signal emitted by the newly
      	created group to group_new_custom_color
      	(color_combo_new) : Added mandatory group name to function
      	prototype.
      
      	* widget-color-combo.c (color_combo_new) : Added mandatory group
      	name to function prototype.
      36906fb2
  15. 10 Jul, 2000 1 commit
    • Jody Goldberg's avatar
      Bug 16860 A few portability problems. · 606075e1
      Jody Goldberg authored
      Bug 16860
      A few portability problems.
      
      2000-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/history.c (history_menu_item_create) : Fix.
      
      	* src/stf-parse.c (stf_parse_options_before_modification) : Simplify
      	  for irix compiler.
      
      	* src/print-info.c (print_info_new) : cellrange is a ValueRange.
      	(save_range) : Ditto.
      	* src/dialogs/dialog-printer-setup.c (do_setup_page_info) : Ditto.
      	(do_fetch_page_info) : Ditto.
      606075e1
  16. 03 Jul, 2000 1 commit
    • Jody Goldberg's avatar
      Add custom colour history row. · 51cf130e
      Jody Goldberg authored
      2000-07-02  Jody Goldberg <jgoldberg@home.com>
      	for Michael Levy <mlevy@genoscope.cns.fr>
      
      	* widget-color-combo.c (cust_color_row_shift) : new function.
      	(cust_color_set) : Call cust_color_row_shift.
      	(color_table_button_new) : Abstract this from.
      	(color_table_setup) : Here.
      51cf130e
  17. 28 May, 2000 1 commit
    • ERDI Gergo's avatar
      Create the stack widget with a stock pixmap · 4b83c2f8
      ERDI Gergo authored
      2000-05-28  ERDI Gergo  <cactus@cactus.rulez.org>
      
      	* gtk-combo-stack.[ch]: Create the stack widget with a stock
      	pixmap
      
      	* gtk-combo-box.c (gtk_combo_box_set_arrow_sensitive): new method
      	to make the dropdown button sensitive/unsensitive
      4b83c2f8
  18. 18 May, 2000 1 commit
    • Jon K Hellan's avatar
      New callback function. Sets focus to selected item, which also happens to · 7d93a24f
      Jon K Hellan authored
      2000-05-18  Jon K Hellan  <hellan@acm.org>
      
      	* gtk-combo-text.c (cb_list_mapped): New callback function. Sets
      	focus to selected item, which also happens to make it visible.
      	(gtk_combo_text_construct): Call
      	gtk_container_set_focus_hadjustment - this enables autoscroll and
      	keyboard scrolling. Connect cb_list_mapped.
      
      2000-05-15  Jon K Hellan  <hellan@acm.org>
      
      	* gtk-combo-box.h: Declare gtk_combo_box_set_display. It was
      	declared global in gtk-combo-box.c - apparently on purpose.
      
      	* gtk-combo-box.c: Make behaviour more like tearoff menus for
      	consistency: Make it possible to popup the original combo while
      	the tearoff menu is up.
      	(deactivate_arrow): New function. Set arrow button visual to
      	inactive. Code moved from gtk_combo_box_popup_hide_unconditional.
      	(gtk_combo_box_popup_hide_unconditional): See above.
      	(gtk_combo_box_popup_hide): Handle case where popup is hidden
      	while tearoff menu is up.
      	(gtk_combo_box_popup_display): Remove !torn_off assertion and
      	handle torn_off case.
      	(gtk_combo_popup_tear_off): Add set_position parameter, true if
      	tearoff window wasn't already up. Queue a resize to fix confusion
      	about size.
      	(gtk_combo_set_tearoff_state): Deactivate arrow button when
      	tearing off - because button now works as usual in torn off state.
      	(gtk_combo_tearoff_bg_copy): Remove #if 0 around it. Make comment
      	short and clear now that I understand what it's for. More info in
      	comment at point it is called from. Use allocation geometry
      	instead of requisition, in case tearoff window has been resized.
      	(cb_tearable_button_release): Remove some unnecessary
      	conditionals. Too much cut and paste?
      7d93a24f
  19. 09 Apr, 2000 1 commit
    • Jon K Hellan's avatar
      Put "cell_changed" signal back in. · 586e68b7
      Jon K Hellan authored
      2000-04-09  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook.[ch] (workbook_class_init): Put "cell_changed"
      	signal back in.
      
      	* src/sheet.c (sheet_load_cell_val): Ditto.
      
      2000-04-09  Jon K Hellan  <hellan@acm.org>
      
      	* gtk-combo-text.[ch]: Fix problem with mouseover: Mouseover from
      	last time popup was up persists if popup was last dismissed with
      	Escape.
      
      	* gtk-combo-text.h (_GtkComboText): Add member to remember which
      	entry widget we are caching.
      
      	* gtk-combo-text.c (gtk_combo_text_destroy): Disconnect
      	cb_pop_down.
      	(cb_enter): Remember which entry widget we are caching.
      	(cb_pop_down): New callback function. Forget cached entry widget.
      	(gtk_combo_text_construct): Note that we're not yet caching any
      	entry widget.
      	(gtk_combo_text_new): Connect cb_pop_down to pop_down_done.
      
      	* gtk-combo-box.c (gtk_combo_popup_tear_off): Add missing cast to
      	kill warning.
      	(gtk_combo_tearoff_bg_copy): It's not in use. #ifdef 0 it, and add
      	comment about when it would be needed.
      	(gtk_combo_popup_reparent): Add FIXME comment about code which
      	isn't used, but will be needed.
      586e68b7
  20. 07 Apr, 2000 4 commits
    • Morten Welinder's avatar
      Unref, not destroy. · 50c01e46
      Morten Welinder authored
      2000-04-07  Morten Welinder  <terra@diku.dk>
      
      	* widget-pixmap-combo.c (pixmap_combo_destroy): Unref, not destroy.
      50c01e46
    • Miguel de Icaza's avatar
      Replace ::finalize with ::destroy. · 83a05a64
      Miguel de Icaza authored
      2000-04-07  Miguel de Icaza  <miguel@gnu.org>
      
      	* widget-pixmap-combo.c (pixmap_combo_class_init): Replace
      	::finalize with ::destroy.
      83a05a64
    • Miguel de Icaza's avatar
      Fix leak. · 4ca3149b
      Miguel de Icaza authored
      2000-04-07  Miguel de Icaza  <miguel@gnu.org>
      
      	* widget-pixmap-combo.c (pixmap_combo_finalize): Fix leak.
      4ca3149b
    • Jody Goldberg's avatar
      Fix typo, did this ever work ? · 99490979
      Jody Goldberg authored
      
      2000-04-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/embeddable-grid.h (GridViewClass) : Fix typo, did this ever work ?
      
      	* src/workbook.c (workbook_move_sheet) : Mark the book as dirty when a
      	  sheet moved.
      	(insert_sheet_cmd) : Mark book as dirty when sheet is added.
      	(workbook_attach_sheet) : Add a precondition to avoid failing in the
      	  bonobo case.
      99490979
  21. 06 Apr, 2000 1 commit
  22. 29 Mar, 2000 1 commit
    • Jon K Hellan's avatar
      Add titles for torn off combos. · d6c91654
      Jon K Hellan authored
      2000-03-29  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	Add titles for torn off combos.
      
      	* src/workbook.c (workbook_create_standard_toobar): Ditto
      
      2000-03-29  Jon K Hellan  <hellan@acm.org>
      
      	* src/widgets/gtk-combo-box.h (gtk_combo_box_set_title): Declare
      
      	* src/widgets/gtk-combo-box.c (struct _GtkComboBoxPrivate):
      	New/renamed members: toplevel, tearoff_window: Popup's
      	toplevel when torn_off/not torn off. torn_off: Tearoff status
      	flag. Names are the same as in gtk/gtkmenu.c. tearable: The tearoff
      	"button". popup: The widget which gets torn off. This is actually
      	the event box.
      	(gtk_combo_box_finalize): Destroy tearoff window.
      	(gtk_combo_box_popup_hide): Turned into a wrapper which does
      	nothing if popup is torn off, and calls
      	gtk_combo_box_popup_hide_unconditional if it isn't.
      	(gtk_combo_box_popup_hide_unconditional): Contains the logic which
      	used to be in gtk_combo_box_popup_hide. If torn off, the popup is
      	reattached after hiding.
      	(gtk_combo_box_popup_display): Realize popup as well as toplevel.
      	(gtk_combo_toggle_pressed): Use
      	gtk_combo_box_popup_hide_unconditional.
      	(gtk_combo_box_key_press): New function. Dismiss popup on escape.
      	(gtk_combo_box_init): Various renamings. Connect key press handler.
      	(gtk_combo_get_parent_toplevel):
      	(gtk_combo_popup_tear_off): New function. Tear off the popup.
      	(cb_tearable_button_release): Toggle tearoff state.
      	(gtk_combo_box_construct): Make tearoff menu item no fill, no
      	expand.
      	(gtk_combo_box_set_title): New function. Set a title to display
      	over the tearoff window.
      d6c91654
  23. 25 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Restore the auto/clear behavior of the color combo boxes and improve their · dbddd078
      Jody Goldberg authored
      handling of defaults.
      
      Switch the font selector to use the gnumeric gtk-combo-text.
      
      Make the combo-text scrollable.  It still needs work on selecting the
      right list element if the value is entered directly.
      
      2000-03-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (change_font_in_selection_cmd) :
      	  Switch to the gnumeric gtk-combo-text.
      	(workbook_create_format_toolbar) : Pass in a default colour.
      	(fore_color_changed) : Handle the NULL indicator as auto colour.
      	  Hard code to black for now.
      	(back_color_changed) : Handle the NULL indicator as no background.
      dbddd078
  24. 22 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Fix span bugs. · a715add1
      Jody Goldberg authored
      2000-03-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_reposition_comments) : Merged from
      	  sheet_reposition_comments_from_row and
      	  sheet_reposition_comments_from_col.
      
      	(sheet_update) : New function.  Use the new update flags from
      	  SheetPrivate that are set in the col/row resize functions
      	  to do delayed resizing and updates.  This allows the resizing to be
      	  batched for an entire logical operation.
      	(sheet_{col,row}_set_size_pixels) : Set the update flags.
      
      	* src/workbook-cmd-format.c (workbook_cmd_format_{row,column}_auto_fit) : No need to
      	  worry about redraws.  Use sheet_update.
      	(workbook_cmd_format_{row_height,column_width}) : Ditto.
      
      	* src/sheet-view.c (sheet_view_redraw_cell_region) : No need to
      	  recalculate the spans,  Use the pre-calculated versions.
      	(sheet_view_col_size_changed) : Use sheet_update.
      	(sheet_view_row_size_changed) : Ditto.
      
      	* src/sheet-style.c (re_dimension_cells_cb) : Use cell_calc_dimensions.
      	(sheet_cells_update) : No need to redraw per cell and guess the bound.
      	  It is simpler and more correct to calc dimension per cell, and
      	  redraw the region BEFORE and AFTER to handle spans.
      
      	* src/cell.[ch] (cell_style_changed) : Delete.
      
      	* src/cell-draw.c (cell_draw) : continue syncing with print code.
      	  Be even more careful in the possible presence of style bugs.
      	* src/item-grid.c (item_grid_draw) : Ditto.
      	* src/print-cell.c (print_cell) : Ditto.
      
      	* src/analysis-tools.c (correlation_tool) : Use sheet_update.
      	(covariance_tool) : Ditto.
      	(ttest_paired_tool) : Ditto.
      	(ttest_eq_var_tool) : Ditto.
      	(ttest_neq_var_tool) : Ditto.
      	(ftest_tool) : Ditto.
      
      2000-03-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-private.h : Add status flags to accumulate state changes
      	  for later redraw.
      
      	* src/commands.c (cmd_format_redo) : Use sheet_update
      	  in case the row/col sizes changed due to font size changes.
      	(cmd_format_undo) : Ditto.
      
      	* src/widgets/gtk-combo-box.c (cb_state_change) : Only pseudo-prelight
      	  the display when over the arrow, not vice versa.
      	(gtk_combo_box_init) : Ditto.
      	(gtk_combo_box_set_display) : Ditto.
      
      	* src/sheet.c (sheet_row_get_distance_pts) : Enable reversed indicies.
      	(sheet_col_get_distance_pts) : Ditto.
      
      	* src/plugin.c (plugin_load) : Add more version checking to ensure
      	  that very old plugins that do not check their versions can not be
      	  loaded.
      
      2000-03-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : When
      	  forcing a scroll do a hard reset of the visible ranges.
      	(gnumeric_sheet_compute_visible_ranges) : Ditto.
      	(gnumeric_sheet_set_top_row) : Remove extraneous scroll.
      	(gnumeric_sheet_set_left_col) : Remove extraneous scroll.
      a715add1