1. 18 Jun, 2001 1 commit
  2. 12 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      Use wb_view_sheet_add. · 69b2fb32
      Jody Goldberg authored
      
      2000-11-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_sheet_attach) : Use wb_view_sheet_add.
      
      	* src/workbook-view.c (wb_view_sheet_add) : new function.
      	(wb_view_format_feedback) : Ditto.
      	(wb_view_auto_expr) : Store the display result.
      	(wb_view_auto_expr_value_display) : renamed
      	  from wb_view_auto_expr_value_set.
      	(wb_view_destroy) : clear out the new members.
      
      	* src/workbook-format-toolbar.c (workbook_feedback_set) : Calculate
      	  the style here.  This is transitory.  It will eventually move into
      	  the sheet view when that is split.
      
      	* src/workbook-control.c (wb_control_sheet_add) : Do this manually
      	  so that if the new sheet is the focus sheet for the view we can
      	  update the various feedback mechanisms.
      	(workbook_control_sheets_init) : rather than here.
      
      	* src/sheet.c (sheet_update) : prepare for having the wb_view handle
      	  the selection.
      
      	* src/Makefile.am : Add missing workbook-control.h
      
      	* src/workbook-view.c (wb_view_auto_expr) : When the expression
      	  changes, recalculate.
      
      	* src/workbook-control-gui.c (wbcg_auto_expr_value) : Mark as updating
      	  the ui.
      	(cb_auto_expr_changed) : test the updating flag here, don't set it.
      69b2fb32
  3. 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
      	  LC_NUMERIC.
      	* 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
      	  current.
      
      	* 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
      	  CommandContexts.
      
      	* 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
      	  s/SheetView/SheetControl/
      
      	* 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
      	  smoothly.
      
      	* 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
      	  file.
      	* 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
      	  directly.
      	(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.
      ffac72f5
  4. 22 Oct, 2000 1 commit
    • Jon K Hellan's avatar
      Now also for non bonobo case: Add button to replace font and size · d2400a46
      Jon K Hellan authored
      2000-10-22  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-format-toolbar.c (workbook_format_toolbar []): Now
      	also for non bonobo case: Add button to replace font and size
      	selectors in vertical mode.
      	(workbook_format_toolbar_orient): Show/hide font button mentioned
      	above.
      	(workbook_create_format_toolbar): Hide font button.
      
      	* src/workbook-format-toolbar.h: Update all toolbar item indexes.
      d2400a46
  5. 01 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Support underlining of text. · b23d8630
      Jody Goldberg authored
      2000-02-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (change_selection_font) : Add underline.
      	(underline_cmd) : New function.
      	(workbook_format_toolbar) : Add underline.
      	(workbook_feedback_set) : Ditto.
      
      	* src/xml-io.c (xml_read_style) : Restore underline style.
      	(xml_write_style) : Save the underline style.
      
      	* src/pattern.c (gnumeric_background_set_pc) : suppress warning.
      
      	* src/mstyle.[ch] : Add MSTYLE_FONT_UNDERLINE.
      	(mstyle_get_font_uline) : New function.
      	(mstyle_set_font_uline) : New function.
      
      	* src/cell-draw.c (draw_text) : new function to add underlines.
      	(draw_overflow) : Use draw_text.
      	(cell_draw) : Ditto.
      
      	* src/gnumeric.h : Add StyleUnderlineType.
      
      	* gnumeric.spec.in : Update the requirements.
      b23d8630
  6. 26 Feb, 2000 1 commit
  7. 22 Sep, 1999 1 commit