1. 10 Nov, 2000 2 commits
    • Jody Goldberg's avatar
      update · 3e3d729a
      Jody Goldberg authored
    • Jody Goldberg's avatar
      Minor optimization to decrease flicker. · df3eb271
      Jody Goldberg authored
      2000-11-10  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-format-toolbar.c (workbook_format_toolbutton_update) :
      	  Minor optimization to decrease flicker.
      	* src/sheet.c (sheet_cell_calc_span) : Clarify the semantics of
      	  the various flags.
      	(cb_max_cell_width) : If the value used a dynamic format we need to
      	  rerender ignoring the current width.
      	* src/rendered-value.c (rendered_value_new) : renamed from
      	  rendered_value_new_ext and delete the old rendered_value_new.
      	  Extend slightly to flag whether or not to handle dynamic formats.
      	* src/render-ascii.c (cell_region_render_ascii) : Handle the style
      	  lookup localy.
      	* src/cell.c (cell_eval_content) : We need to manually render
      	  the value here, but no longer need to calculate the size
      	  seperately.  That is done automatically in the render.
      	(cell_render_value) : Handle style localy, and calculate the size.
      2000-11-09  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (workbook_control_gui_init) : move the
      	  autosave code here.
      	* src/workbook.c : from here.
  2. 08 Nov, 2000 1 commit
  3. 07 Nov, 2000 2 commits
  4. 06 Nov, 2000 1 commit
  5. 03 Nov, 2000 1 commit
  6. 02 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      Default the parse format to General. Eventually we can simply · 76e697fb
      Jody Goldberg authored
      2000-11-01  Jody Goldberg <jgoldberg@home.com>
      	* src/xml-io.c (xml_read_cell) : Default the parse format to General.
      	  Eventually we can simply cell_set_value to not guess that the
      	  display format == the parse format.  However, that will require
      	  changing all of the importers.  For now we can cheat, and supply
      	  General as the format.
      	* src/functions/fn-string.c (gnumeric_dollar) : use string_get_nocopy.
  7. 01 Nov, 2000 2 commits
    • Jody Goldberg's avatar
      Use sheet_clear_region to ensure that spans get regenerated in · c71dca7b
      Jody Goldberg authored
      2000-10-31  Jody Goldberg <jgoldberg@home.com>
      	* src/commands.c (cmd_set_text_undo) : Use sheet_clear_region to
      	  ensure that spans get regenerated in neighbouring cells.
      	(cmd_set_date_time_undo) : Ditto.
      2000-10-31  Jody Goldberg <jgoldberg@home.com>
      	* src/number-match.c (format_create_regexp) : Fix typo in regexp.
      	  Be careful to only match 1 or more digits as a number.
      2000-10-31  Jody Goldberg <jgoldberg@home.com>
      	* src/commands.c (cmd_ins_del_row_col_undo) : Correct target range.
    • Morten Welinder's avatar
      jody fixed =1e100 bugs. · e340ca50
      Morten Welinder authored
  8. 31 Oct, 2000 1 commit
    • Jody Goldberg's avatar
      Set LC_MONETARY and LC_NUMERIC. Ditto. (xml_workbook_read) : Ditto. · ffac72f5
      Jody Goldberg authored
      2000-10-31  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-view.c (wb_view_auto_expr) : Set LC_MONETARY and
      	* src/xml-io.c (xml_workbook_write) : Ditto.
      	(xml_workbook_read) : Ditto.
      2000-10-31  Jody Goldberg <jgoldberg@home.com>
      	* src/dialogs/*.[ch] : WorkbookControlGUI is now required for gui
      	  operations.  A WorkbookView is required to know which sheet is the
      	* src/xml-io.c : We now load/save WorkbookViews.
      	* src/xml-io-autoft.c : Adjust to signature changes.
      	* src/workbook.c : Split the View into WorkbookView.
      	  Abstract the Controler interface, and move the GUI specific
      	  implementation of the Controler into WorkbookControlGUI.
      	* src/workbook-view.c : Complete rewrite with correct semantics.
      	* src/workbook-private.h : Move all the GUI specific stuff into
      	  WorkbookControlGUI were it belongs.
      	* src/workbook-private.c (workbook_private_class_init) : Fix typo.
      	* src/workbook-edit.c : These are now WorkbookControlGUI specific.
      	  We should rename the functions eventually.
      	* src/workbook-format-toolbar.c : Ditto.
      	* src/workbook-object-toolbar.c : Ditto.
      	* src/workbook-cmd-format.c : Adjust to signature changes.
      	  and use WorkbookControlGUI were necessary.
      	* src/style.c (style_font_new_from) : Delete dead code.
      	* src/solver-lp.c : Adjust to signature changes.
      	* src/sort.c : Ditto.
      	* src/stf.c : Ditto. Make dialog conditional on gui-ness.
      	* src/sheet.c (sheet_new_sheet_view) : IS_SHEET checks for NULL.
      	(sheet_detach_sheet_view) : renamed from sheet_destroy_sheet_view
      	  and only take a SheetView as argument.
      	(sheet_new) : Do not create a view by default.
      	(sheet_update_zoom_controls) : foreach control.
      	(sheet_update_editpos) : ditto.
      	(sheet_update) : handle multiple views and controls.
      	* src/sheet-view.c : Commands take WorkbookControls rather than
      	* src/sheet-object-widget.c : Most things take WorkbookControlGUI
      	  rather than Workbooks.
      	* src/sheet-object-container.c (sheet_object_container_new_view) :
      	  Use the uic from the WorkbookControlGUI.
      	* src/sheet-control.c : New file. Unused so far.
      	  cp sheet-view.c sheet-control.c
      	* src/print.c : Make the GUI dependency explicit.
      	  At some point the setup dialog should be split out of here.
      	* src/main.c (gnumeric_main) : Explicitly create a WorkbookControlGUI
      	  only adding sheets if nothing was loaded.  Improve handing of exit
      	  request while loading.
      	* src/item-grid.c (item_grid_draw) : Filter the edit cell from here
      	  because we know which control to use.
      	(context_menu_hander) : Switch to WorkbookControlGUI.
      	(item_grid_popup_menu) : Ditto.
      	* src/item-edit.c : Everything takes a WorkbookControlGUI inplace of a
      	  Workbook now.
      	* src/item-cursor.c (item_cursor_target_region_ok) : dialog_run takes
      	  a WorkbookControlGUI.
      	(item_cursor_do_action) : All the commands take WorkbookControls.
      	* src/item-bar.c (item_bar_event) : item_grid_popup_menu takes a
      	  SheetView now.
      	* src/history.c : Take WorkbookControlGUI.
      	  Update all controls for each workbook.
      	* src/gui-clipboard.c : Use 'unsigned char'
      	* src/gnumeric.xml : More work to split commands from layout.
      	* src/gnumeric-util.c (gnumeric_no_modify_array_notice) : Delete.
      	(gnumeric_notice) : Take a WorkbookControlGUI.
      	(gnumeric_wb_dialog_run) : Ditto.
      	(gnumeric_dialog_run) : Ditto.
      	(gnumeric_dialog_show) : Ditto.
      	(gnumeric_set_transient) : Ditto.
      	(gnumeric_glade_xml_new) : Ditto.
      	(gnumeric_non_modal_dialog) : Ditto.
      	(gnumeric_inject_widget_into_bonoboui) : Ditto.
      	* src/gnumeric-sheet.c : SheetView now has a WorkbookControlGUI member
      	  to keep track of which control it is associated with. Use it.
      	* src/file.c : Adjust to lots of signature changes.
      	  We now load/save WorkbookView rather than Workbook.
      	  Add a placeholder struct IOContext so that we can consider doing
      	  smarter import/export and dealing with warnings and missing things
      	* src/eval.c (workbook_recalc_all) : After a recalc update all views.
      	* src/commands.c (undo_redo_menu_labels) : foreach control.
      	(command_undo) : ditto.
      	(command_redo) : ditto.
      	(command_push_undo) : change signature.  The workbookcontrol
      	  now acts as the command context.
      	* src/cmd-edit.c : Adjust to signature changes.
      	* src/clipboard.c : split the gui specific X handlers out into a new
      	* src/gui-clipboard.c :  here.
      	* src/cell-draw.c (cell_draw) : Do not test the sheet for whether or
      	  not to we are editing.  That is at the control level.  Test it in
      	  the rendering loop.
      	* src/bonobo-io.c : FIXME. adjusted to signature changes.  Totatly
      	  broken for now.  This needs a View rather than a Model and should be
      	  associated with something.
      	* src/application.c (application_workbook_list_add) : New function.
      	(application_workbook_list_remove) : New function.
      	(application_workbook_list) : New function.
      	(application_clipboard_copy) : foreach control.
      	(application_clipboard_cut) : foreach control.
      	(application_clipboard_clear) : foreach control.
      	(application_workbook_foreach) : renamed from workbook_foreach.
      	(application_set_selected_sheet) : FIXME. Disabled for now.
      	* src/about.c (cb_closed) : Associated the flag with the control
      	(dialog_about) : dialogs are associated with gui-controls.
      	* src/analysis-tools.c : change all dialog signatures to handle MVC
      	  split of workbook.
      2000-10-30  Jody Goldberg <jgoldberg@home.com>
      	* src/Makefile.am : Add new command-context,  io-context,
      	  workbook-view, workbook-control, workbook-control-gui files.
      	  Remove old command-context-gui, command-context-corba, and disable
      	  corba-* for now.
      2000-10-29  Jody Goldberg <jgoldberg@home.com>
      	* idl/gnumeric-graphs.idl : Remove studdly caps.  I wish people would
      	  make up their minds.
      	* idl/Gnumeric.idl : Remove Workbook::show.
      2000-10-29  Jody Goldberg <jgoldberg@home.com>
      	* BUGS : Update.
      	* NEWS : Update.
      	* TODO : Update.
  9. 23 Oct, 2000 1 commit
  10. 16 Oct, 2000 1 commit
  11. 11 Oct, 2000 1 commit
    • Jody Goldberg's avatar
      Generalized and moved from item-grid.c · 2074c922
      Jody Goldberg authored
      2000-10-11  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-util.c (gnumeric_create_popup_menu) : Generalized and
      	  moved from item-grid.c
      2000-10-10  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-util.c (run_popup_menu) : Delete.
      	(popup_menu_item_activated) : Delete.
      	(gtk_radio_button_select) : Delete.
      	* src/item-cursor.c (item_cursor_do_drop) : Use item_grid_popup_menu.
      	* src/sheet-object.c (display_object_menu) : Rename from create_popup_menu
      	  and display the menu.
      	(control_point_handle_event) : simplify with display_object_menu.
      	(sheet_object_canvas_event) : simplify with display_object_menu.
      	* src/gnumeric-util.c (gnumeric_popup_menu) : Do not pass the button
      	  number from the event that is poping up the menu.  That disables the
      	  ability to select a menu item via a different button.
  12. 24 Sep, 2000 1 commit
  13. 22 Sep, 2000 3 commits
  14. 21 Sep, 2000 2 commits
    • Morten Welinder's avatar
      gnome-print gripe · d79f2910
      Morten Welinder authored
    • Jody Goldberg's avatar
      no need to translate the money format. We generate it elsewhere. · cec33cc8
      Jody Goldberg authored
      2000-09-21  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-format-toolbar.c (workbook_cmd_format_as_money) :
      	  no need to translate the money format.  We generate it elsewhere.
      	(workbook_cmd_format_as_percent) : ditto.
      	* src/formats.c : Most format strings are NOT required to be
      	  translated anymore.  We store them internaly in the C locale.
      	(currency_date_format_init) : customize the currency symbol, and the
      	  day/month order.
      	* src/format.c (format_get_currency) : new function.
      	(format_month_before_day) : New stub.  How to do this portably.
      	(lookup_color_by_name) : new routine.
      	(lookup_color) : that was split from here.
      	(format_remove_decimal) : Fix a bit.  still broken for fmts with
      	  multiple cases.
      	(format_value) : no need to translate the format.
      	(translate_format_color) : new routine.
      	(style_format_delocalize) : new routine.  Add colour support.
      	(style_format_new_XL) : split from here.
      	(style_format_str_as_XL) : new routine.  Add colour support.
      	(style_format_as_XL) : split from here.
      2000-09-20  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-object.c (sheet_object_destroy) : If the current object is
      	  destroyed switch back to edit mode.
  15. 20 Sep, 2000 1 commit
  16. 19 Sep, 2000 3 commits
    • Morten Welinder's avatar
      isdigit takes unsigned chars, not chars. · 8e1c25c3
      Morten Welinder authored
      2000-09-19  Morten Welinder  <terra@diku.dk>
      	* src/workbook.c (workbook_sheet_name_strip_number): isdigit takes
       	unsigned chars, not chars.
      	* src/functions/fn-lookup.c (find_index_linear): Quiet warnings.
      2000-09-19  Morten Welinder <terra@diku.dk>
      	* applix-read.c (applix_read_colormap): isdigit takes unsigned
       	chars, not chars.
      	(applix_parse_style): Ditto.
      	(applix_read_impl): Ditto.
    • Morten Welinder's avatar
      Gripe. · c1c9fb44
      Morten Welinder authored
    • Jody Goldberg's avatar
      Woohoo! The last of the release critical bugs are done. · b121e5da
      Jody Goldberg authored
      2000-09-18  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c (sheet_row_size_fit_pixels) : PUTRID KLUDGE.
      	  Avoid the ugly row size changes when fitting the size.
      	* src/format.c (style_format_new_XL) : Implement translation.
      	(style_format_as_XL) : Ditto.
      	* src/number-match.c (format_match_init) : No need to compare to
      	  translated General.
      	* src/sheet.c (sheet_flag_status_update_cell) : Adjust signature.
  17. 17 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      GraphSeries is responsible for registering. · 8259d107
      Jody Goldberg authored
      2000-09-17  Jody Goldberg <jgoldberg@home.com>
      	* src/dialogs/dialog-graph-guru.c (cb_create_series_from_range) :
      	  GraphSeries is responsible for registering.
      	* src/history.c : Attempt to convert to the new bonobo ui handler.
      	* src/graph-series.c (graph_series_eval) : Support string and date
      	(series_get_name) : New function.
      	(impl_vector_scalar_value) : Use it here.
      	(impl_vector_date_value) : here
      	(impl_vector_string_value) : and here.
      	(cb_check_range_for_pure_string) : new function.
      	(graph_series_new) : Start guess whether a series is scalar or string.
      	(graph_series_servant) : Delete.
      	(graph_series_set_subscriber) : Take responsibility for registering
      	  with the remote Graph::Manager.
      	* src/gnumeric.xml : Remove bogus '/menu/File/open' placeholder
      	  Name the '/menu/File/FileHistory' placeholder.
      	* src/sheet-object-container.c (sheet_object_container_update_bounds)
      	  Fix off by 1 error here.
      	(make_container_item) : And here.
      	* src/sheet-object.c (sheet_object_add_view) : Renamed from
      	(sheet_object_remove_view) : Renamed from sheet_view_object_unrealize.
      	(control_point_handle_event) : Enable edit popup from control points.
  18. 14 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Use sheet_selection_full_rows and workbook_cmd_format_row_height. · 01af4e73
      Jody Goldberg authored
      2000-09-14  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-view.c (sheet_view_row_size_changed) : Use
      	  sheet_selection_full_rows and workbook_cmd_format_row_height.
      	(sheet_view_col_size_changed) : Use
      	  sheet_selection_full_cols and workbook_cmd_format_column_width.
      	* src/item-grid.c (context_row_height) : Use sheet_dialog_set_row_height.
      	(context_col_width) : Use sheet_dialog_set_column_width.
      	* src/workbook-cmd-format.c (sheet_dialog_set_column_width) : Split
      	  the gui into here.
      	(workbook_cmd_format_column_width) : And the action into here.  Use
      	  the appropriate commands to get undo support.
      	(workbook_cmd_format_column_auto_fit) : Use workbook_cmd_format_column_width.
      	(sheet_dialog_set_row_height) : Split the gui into here.
      	(workbook_cmd_format_row_height) : And the action into here.  Use
      	  the appropriate commands to get undo support.
      	(workbook_cmd_format_row_auto_fit) : Use workbook_cmd_format_row_height.
      	* src/selection.c (sheet_row_selection_type) : moved from sheet.c
      	(sheet_col_selection_type) : moved from sheet.c
      	(sheet_selection_full_cols) : new routine.
      	(sheet_selection_full_rows) : new routine.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Don't jump
      	  directly to the edit line with F2.  Start editing in sheet first.
      	* src/selection.c (selection_foreach_range) : Add the option of
      	  iterating the list backwards.
      	* src/workbook-cmd-format.c (cb_colrow_collect) : New function.
      	* src/workbook-cmd-format.c (workbook_cmd_format_column_width) : Fix.
      	(workbook_cmd_format_row_height) : Fix.
      	* src/sheet-object-graphic.c (sheet_object_graphic_update_bounds) :
      	  new function.
      	(sheet_object_filled_new_view) : Set the bounds when a new view is
      	  constructed.  DO NOT rely on the realized list, new objects are not
      	  added until AFTER construction.
      	* src/sheet-object.c (sheet_object_update_bounds) : delete.
      2000-09-13  Jody Goldberg <jgoldberg@home.com>
      	* src/expr.c (cellref_relocate) : Return more information so that we
      	  can differentiate relocating rows, cols, or both.
      	(cellrange_relocate) : Use the new information to extend the
      	  heuristic for when to relocate a range.  In the past we assumed that
      	  unless both ends of the range were moving we should not do the
      	  relocation.  It seems that there are other cases which will also
      	  relocate.  When inserting/deleting rows/cols or cutting a region
      	  that includes an entire side of the source region we should
      	  Sadly this patch is incomplete.  It relocates too much now.
      	  If you cut B2 and paste it into B3 the source region A1:B2 will
      	  resize to A1:B3 even though it should not.  At least ins/del row/col
      	  will now work.
      2000-09-12  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (create_bonobo_object) : Fixed.
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_new_from_oid) :
      	  Delete duplicate function.
      2000-09-11  Jody Goldberg <jgoldberg@home.com>
      	* src/commands.c (cmd_ins_del_row_col_{undo,redo}) : Insert/delete
      	  rows/cols clears the cut buffer.  Copies are preserved.
      	* src/sheet-object.c (cb_obj_create_button_release) :  remove the
      	  bonobo specific file handling.  That is to be done earlier
      	  or in a different place.  This routine is strictly for placement,
      	  not content.
      	(sheet_mode_clear) : Move the deactivation here for now.  Hopefully
      	  move it to a virtual.
      	* src/about.c (dialog_about) : suppress warning.
  19. 11 Sep, 2000 2 commits
    • Jody Goldberg's avatar
      forgot the ChangeLog · 8f32563c
      Jody Goldberg authored
    • Jody Goldberg's avatar
      The initial version of active objects. · ccdc4a78
      Jody Goldberg authored
      2000-09-10  Jody Goldberg <jgoldberg@home.com>
      	* src/xml-io.c (xml_read_sheet_object) : objects have their positions
      	  set after creation, not before.
      	NOTE : This routine is incomplete.  It does not handle all of the
      	  objects.  It is questionable whether or not it even belongs here.
      	  We may want to encapsulate the persistence on a per object basis.
      	(xml_sheet_read) : localize and improve variable naming.
      	* src/workbook.c : Add an ifdef around the GnomeUI handler in bonobo
      	  mode.  Move the object creation cruft into its own file.
      	(select_component_id) : new function.
      	(create_embedded_component_cmd) : simplify.
      	(create_embedded_item_cmd) : simplify.
      	(create_button_cmd) : Delete.
      	(create_checkbox_cmd) : Delete.
      	(create_line_cmd) : Delete.
      	(create_arrow_cmd) : Delete.
      	(create_rectangle_cmd) : delete.
      	(create_ellipse_cmd) : delete.
      	(cut_cmd) : simplify object handling.
      	(insert_object_cmd) : Use sheet_object_bonobo_new_from_oid.
      	(do_focus_sheet) : Handle object toolbar too.
      	(workbook_detach_sheet) : Before messing with the views go back to
      	  simple edit mode.
      	* src/workbook-object-toolbar.c (create_object_command) : new
      	(cmd_create_*) : Use here.
      	* src/workbook-edit.c (workbook_edit_set_sensitive) : Add the object
      	* src/sheet-object.c (sheet_release_coords) : delete.
      	(sheet_object_destroy) : simplify.
      	(SheetObject::end_popup) : remove.
      	(SheetObject::populate_menu) : rename from start_popup.
      	(SheetObject::new_view) : rename from realize.
      	(SheetObject::user_config) : New virtual.
      	(sheet_object_construct) : initialize dragging to FALSE.
      	(sheet_object_drop_file) : Moved.
      	(sheet_object_realize) : No need for SheetView::temp_item.
      	(button_widget_create) : delete.
      	(checkbox_widget_create) : delete.
      	(sheet_object_create_button) : delete.
      	(sheet_object_create_checkbox) : delete.
      	(create_object) : delete.
      	(cb_obj_create_motion) : rename from sheet_motion_notify.  Simplify.
      	  Rubber band a rectangle rather than the actual object.
      	  Keep track of whether or not a we have resized larger than the
      	  minimum 5x5 size.
      	(cb_obj_create_button_release) : rename from sheet_button_release.
      	  Change behavior to have the release do the realizing and bound
      	  setting.  Set the bounds to the current coord ONLY if we have moved
      	  enough, otherwise just use the default size of the object tranformed
      	  to the location of the original button press.
      	(shutdown_sheet_object_creation) : merge into button release.
      	(sheet_leave_notify) : Delete.
      	(sheet_button_press) : Delete.
      	(sheet_object_begin_creation) : Delete.
      	(sheet_finish_object_creation) : merge into button release and clear
      	  out all the cruft requiring removal of signals.
      	(sheet_mode_clear) : new function.  Does some object management.
      	(sheet_set_mode_type) : delete.
      	(sheet_set_mode_type_full) : delete content.  Split logical action into.
      	(sheet_mode_edit) : here.
      	(sheet_mode_edit_object) : here.
      	(sheet_mode_create_object) : and here.
      	(sheet_object_destroy_control_points) : be more pedantic a about
      	  checking that we have a valid view.
      	(sheet_object_stop_editing) : Adjust for new object editing semantics.
      	(set_item_x) : Merge this
      	(set_item_y) : and this.
      	(set_item_x_y) : into here.  And add the logic to call
      	(new_control_point) : Set the cursor here.
      	(update_bbox) : Recall that the bounding box excludes the far coords.
      	(control_point_handle_event) : No need to make object the current, if
      	  we are being called we are current.
      	(sheet_object_populate_menu) : rename from sheet_object_start_popup.
      	(sheet_object_end_popup) : delete.
      	(sheet_object_canvas_event) : adjust to function renaming.
      	(sheet_object_widget_event) : delete.
      	(sheet_object_widget_handle) : delete.
      	(sheet_object_start_editing) : delete, no need.  update_bbox does all
      	  of this.
      	(sheet_object_make_current) : delete.
      	(sheet_object_insert) : this was not what its name suggested.  It was
      	  a rather specialized bonobo utility.  Move it where it belongs.
      	* src/sheet-object-widget.c : Rewrite.
      	* src/sheet-object-item.c (sheet_object_item_new_view) : rename from
      	* src/sheet-object-graphic.c (sheet_object_graphic_new_view) :
      	  rename from sheet_object_graphic_realize.
      	(sheet_object_filled_new_view) : renamed from sheet_object_filled_realize.
      	(sheet_object_create_line) : No need to take position, do that later.
      	(sheet_object_create_filled) : Ditto.
      	* src/sheet-object-container.c (user_activation_request_cb) : Adjust
      	  to changes in sheet mode handling.
      	(sheet_object_container_new_view) : rename from sheet_object_container_realize.
      	(sheet_object_container_new_bonobo) : No need to take pos info, that
      	  is set later.
      	(sheet_object_container_new_object) : Ditto.
      	(sheet_object_container_new_file) : Moved and renamed from sheet_object_drop_file.
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) : No need
      	  to take position info.  Bounds are set later.
      	(sheet_object_bonobo_new_from_oid) : Move from sheet_object_insert
      	  which was much to generic a name and location for this.
      	* src/print.c (print_sheet_range) : Adjust to rename of the
      	  sheet_object list.
      	* src/pixmaps.h : Remove the pixmaps that moved to the object toolbar.
      	* src/item-grid.c (item_grid_button_1) : Handle object creation and
      	  finishing object editing directly, no more need for adding and
      	  removing handlers.  Adjust arg to be a Button event.
      	(item_grid_event) : Add a new cursor for object creation.
      	(item_grid_event) : Do not change to edit mode until we know why the
      	  button was pressed.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_object) :
      	(gnumeric_sheet_key_press) : Adjust to new mode scheme.
      	(gnumeric_sheet_key_release) : Ditto.
      	(gnumeric_sheet_filenames_dropped) : Ditto.
      	* src/gnumeric.h : Add fwd decl of SheetObject.
      	* src/gnumeric-sheet.h : delete GnumericSheet::mode .
      	* src/gnumeric-type-util.h : Rename GNUMERIC_MAKE_TYPE_WITH_PARENT
      	  to GNUMERIC_MAKE_TYPE_WITH_CLASS.  That makes more sense.
      	* src/eval.c (invalidate_refs) : Use dependent_set_expr.
      	(cell_eval) : New need to check generation If we are called we are out
      	  of date.
      	* src/dependent.c (dependent_eval) : moved from eval.c.
      	(dependent_type_register) : New routine.
      	(dependent_set_expr) ; Ditto.
      	(dependent_debug_name) : Use the new registry.
      	* src/dependent.h : Reorder flags, remove explicit types for graphs
      	  and checkboxes.  Those are handled by the virtual table.
      	* src/commands.c : s/PARENT/CLASS/
      	* src/cell.h : Reorder the CellFlags.
      	* src/bonobo-io.c (gnumeric_bonobo_obj_read) : Do not pass the
      	  position to sheet_object_containter_new_object.
      	* src/Makefile.am : Add workbook-object-toolbar.[ch]
      	  and graph-series.[ch]
      	  merge the libraries from the two idl files.
      2000-09-09  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-view.c (sheet_view_construct) : Init control points to NULL.
      	(SheetView::temp_item) : remove this.
      	* src/sheet.c (sheet_new) : Init the members associated with objects.
      	(sheet_destroy) : Destroy objects.
      	(Sheet::mode) : remove.
      	* src/gnumeric.xml : Add a label for the selection menu.
      	* src/sheet-object-container.c (sheet_object_container_realize) :
      	  Fix warning.
      2000-09-07  Jody Goldberg <jgoldberg@home.com>
      	* src/item-bar.c (colrow_tip_setlabel) : mark the size tooltips as
      	  containing pts.
      	* src/dialogs/row-height.glade :
      	* src/dialogs/col-width.glade : Ditto.
  20. 06 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Remainder of patch to handle non-cell dependents. · 01a95234
      Jody Goldberg authored
      2000-09-05  Jody Goldberg <jgoldberg@home.com>
      	* configure.in : Add test for pspell.
      	* acconfig.h : Ditto.
      	* s/cell.u.expression/cell.base.expression/
      	* s/cell.generation/cell.base.generation/
      	* s/cell.u.entered_text/cell.entered_text/  <- deprecated
      	* s/workbook.formula_cell_list/workbook.dependents/
      	* s/sheet_cell_expr_link/dependent_expr_link/
      	* s/sheet_cell_expr_unlink/dependent_expr_unlink/
      	* s/eval_queue_cell/dependent_queue_recalc/
      	* s/eval_queue_list/dependent_queue_recalc_list/
      	* s/eval_unqueue_cell/dependent_unqueue_recalc/
      	* s/eval_unqueue_sheet/dependent_unqueue_recalc_sheet/
      	* s/cell_add_dependencies/dependent_add_dependencies
      	* s/cell_drop_dependencies/dependent_drop_dependencies
      	* s/cell_formula_changed/dependent_changed/
      	* s/sheet_cell_expr_link/dependent_link/
      	* src/cell.c (cell_eval_content) : moved from eval.c
      	* src/eval.c (sheet_region_get_deps) : Take a Range rather than 4 int.
      	(drop_range_dep) : Use dependent_debug_name.
      	(dependency_range_ctor) : Take a CellPos as an arg rather than a Cell.
      	(handle_cell_single_dep) : Take an optional CellPos and a Dependent.
      	(handle_cell_range_deps) : Ditto. Do not check for singletons here.
      	(handle_tree_deps) : Ditto.  Call handle_cell_single_dep directly.
      	(cell_add_explicit_dependency) : Delete.
      	(get_single_dependencies) : Some const.
      	* src/cmd-edit.c (cmd_select_cur_depends) : Use dependent_list_filter
      	  to only show cell dependencies for now.
      	* src/dependent.c (dependent_list_filter) : new function.
      	(dependent_debug_name) : new function.
      	* src/history.c : Add a comment about File/Print Preview for
      	* src/workbook.c (cb_cell_rerender) : Only cells need this.
  21. 01 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Be more enthusiastic about merging and ordering. (col_row_equal) : new · 26a54532
      Jody Goldberg authored
      2000-08-31  Jody Goldberg <jgoldberg@home.com>
      	* src/colrow.c (col_row_get_index_list) : Be more enthusiastic about
      	  merging and ordering.
      	(col_row_equal) : new function.
      	(col_row_copy) : new function.
      	(col_row_size_list_destroy) : Typo.
      	(col_row_restore_sizes_group) : Handle restoring default size.
      	(col_row_set_sizes) : In special case of resizing all be smart.
      	  This needs improving.
      2000-08-30  Jody Goldberg <jgoldberg@home.com>
      	* src/number-match.c (compute_value) : AM/PM regexp matchs against the
      	  'a' or 'p' not 'pm'
      	* src/sheet.c (sheet_{col,row}_set_size_{pts,pixels}) : Set hard size
      	  even if the size does not change.
      	* src/xml-io.c (xml_read_cols_info) : Restore the default col size,
      	  and rationalize the variable names.
      	(xml_read_rows_info) : Restore the default col size,
      	(xml_sheet_write) : Save the default row/col size in pts.
      	  Flush the run length encoding of the row/col sizes.
      	(xml_write_colrow_info) : Use run length encoding to decrease the size
      	  of the generated xml.
  22. 30 Aug, 2000 1 commit
    • Jon K Hellan's avatar
      Wrapper around gnome_print_show which accepts iso8859.1. We use this until · 8d35ac15
      Jon K Hellan authored
      2000-08-30  Jon K Hellan  <hellan@acm.org>
      	* src/print-cell.[ch] (print_show_iso8859_1): Wrapper around
      	gnome_print_show which accepts iso8859.1. We use this until we
      	switch to UTF-8 internally.
      	* src/print-cell.c (print_text): Use print_show_iso8859_1.
      	* src/print.c (print_hf): Ditto.
      2000-08-30  Jon K Hellan  <hellan@acm.org>
      	* src/print.c (print_page, print_job_info_get): Header/footer are
      	measured from top/bottom of sheet, not from inside top/bottom
      	(print_page): Correct placement when centering horizontally or
      2000-08-30  Jon K Hellan  <hellan@acm.org>
      	* src/dialogs/dialog-printer-setup.c (get_printable_height):
      	Remove misleading comment.
  23. 28 Aug, 2000 2 commits
  24. 27 Aug, 2000 1 commit
  25. 21 Aug, 2000 1 commit
    • Jody Goldberg's avatar
      suppress warnings. Ditto. · 49e62434
      Jody Goldberg authored
      2000-08-21  Jody Goldberg <jgoldberg@home.com>
      	* src/corba-sheet.c : suppress warnings.
      	* src/dialogs/dialog-stf.c : Ditto.
  26. 18 Aug, 2000 1 commit
    • Jody Goldberg's avatar
      Do not write Useless 'Style' attribute. - Make Rows/Cols attributes of the · 7a889dfc
      Jody Goldberg authored
      2000-08-18  Jody Goldberg <jgoldberg@home.com>
      	* src/xml-io.c (xml_write_cell_and_position) : Do not write Useless
      	  'Style' attribute.
      	- Make Rows/Cols attributes of the Cell not the Content
      	- When storing Values store the value type, the parse format (if
      	  available) and the value as a plain string (eg $100.00 == 100)
      	* src/value.c (value_new_from_string) : New function.
      	* src/number-match.c (format_create_regexp) : Be more careful when
      	  handling decimals and thousands seperators.  This sucks, but it
      	  sucks less than before.
      	* src/formats.c (format_currency) : typo.
      2000-08-17  Jody Goldberg <jgoldberg@home.com>
      	* src/xml-io.c (xml_check_version) : New function.
      	(xml_probe) : Use it here.
      	(gnumeric_xml_read_workbook) : And here.
  27. 12 Aug, 2000 1 commit
    • Arturo Tena's avatar
      Fix libole2 test. · a87d1519
      Arturo Tena authored
      2000-08-07  Arturo Tena <arturo@directmail.org>
      	* configure.in : Fix libole2 test.
  28. 09 Aug, 2000 1 commit
  29. 08 Aug, 2000 1 commit
    • Jody Goldberg's avatar
      Handle blanks as 0. (callback_function_make_list) : Ditto. · c644804f
      Jody Goldberg authored
      2000-08-07  Jody Goldberg <jgoldberg@home.com>
      	* src/functions/fn-stat.c (callback_function_stat) : Handle blanks as 0.
      	(callback_function_make_list) : Ditto.
      	(callback_function_ttest) : Ditto.
      	(gnumeric_mode) : Explicitly ignore blanks.
      	(gnumeric_count) : Ditto.
      	(gnumeric_ztest) : Ditto.
      	(gnumeric_counta) : Ditto.
      	(gnumeric_percentile) : Ditto.
      	(gnumeric_quartile) : Ditto.
      	(gnumeric_prob) : DO NOT IGNORE BLANKS.
      	(gnumeric_ftest) : Ditto.
      	(gnumeric_ttest) : Ditto.
      	(gnumeric_frequency) : Ditto.
      	* src/functions/fn-logical.c (gnumeric_and) : Handle
      	  changes to function_iterate_argument_values.
      	(gnumeric_or) : Ditto.
      	* src/functions/fn-math.c (gnumeric_lcm) : Ditto.
      	(gnumeric_multinomial) : Ditto.
      	(gnumeric_seriessum) : Ditto.
      	* src/functions/fn-financial.c (gnumeric_mirr) : Use the old
      	  behavior of ignoring blanks.
      	(gnumeric_irr) : Ditto.
      	(gnumeric_npv) : Ditto.
      	* src/functions/fn-eng.c (gnumeric_improduct) : Handle
      	  changes to function_iterate_argument_values.
      	(gnumeric_imsum) : Ditto.
      	* src/func.c (function_iterate_argument_values) : Add ignore_blank
      	* src/collect.c (callback_function_collect) : Support new collect flag
      	(collect_floats) : change to function_iterate_argument_values.
      	(float_range_function2) : Use COLLECT_IGNORE_BLANKS.
      2000-08-01  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-autofill.c (fill_item_new) : It is legal to have 'D' and 'M'
      	  for day or month fields.
      2000-08-01  Jody Goldberg <jgoldberg@home.com>
      	For : John N S Gill <bmrg@gofree.indigo.ie>
      	* src/item-cursor.c (item_cursor_autofill_event) : Implement support
      	  for double click on autofill button.
  30. 31 Jul, 2000 1 commit
    • Jody Goldberg's avatar
      Convert most of the routines to take 'Scalar' rather than '?' which did · ebc1d288
      Jody Goldberg authored
      2000-07-31  Jody Goldberg <jgoldberg@home.com>
      	* src/functions/fn-date.c (date_functions_ini) : Convert most of the
      	  routines to take 'Scalar' rather than '?' which did not handle
      	  ranges or arrays.
      	* src/dialogs/dialog-function-wizard.c (formula_guru_arg_new) : Handle
      	* src/func.c (function_marshal_arg) : Add 'S' scalar.
      2000-07-28  Jody Goldberg <jgoldberg@home.com>
      	* src/global-gnome-font.c (global_gnome_font_init) : Adjust to
      	  signature change for gnome_font_family_list.