1. 30 Aug, 2004 1 commit
    • Morten Welinder's avatar
      Destroy visibility_widgets. (wbcg_toggle_visibility): New function. · 95a7f3d0
      Morten Welinder authored
      2004-08-30  Morten Welinder  <terra@gnome.org>
      	* src/workbook-control-gui.c (wbcg_finalize): Destroy
      	(wbcg_toggle_visibility): New function.
      	(wbcg_copy_toolbar_visibility): Reinstate.
      	(workbook_control_gui_init): Initialize visibility_widgets.
      	* src/wbcg-actions.c (GNM_ACTION_DEF): Use new
      	* src/wbc-gtk.c (wbc_gtk_create_status_area): Add status bar to
      	visibility widgets.
      	(cb_toolbar_activate): Simplify.
      	(cb_add_menus_toolbars): Add toolbars to visibility widgets.
      	(wbc_gtk_set_toggle_action_state): Also look in toolbar actions.
      	Ick -- this gets uglier by the day.
      	* src/workbook-control-gui-priv.h (struct WorkbookControlGUI):
      	Replace statusbar member by visibility_widgets.
  2. 23 Jul, 2004 1 commit
    • Jody Goldberg's avatar
      change 'accept' into an enum and handle arrays and range fills here. · b1b8c29f
      Jody Goldberg authored
      2004-07-22  Jody Goldberg <jody@gnome.org>
      	* src/workbook-edit.c (wbcg_edit_finish) : change 'accept' into an
      	  enum and handle arrays and range fills here.
      	* src/parser.y : Add distinct productions for array elements with
      	  {1\2\3;4\5\6} vs {1,2,3;4,5,6}
      	(build_array) : add some error messages empty and asymetric arrays.
  3. 13 Jul, 2004 1 commit
    • Jody Goldberg's avatar
      Dump in the work from the trip · 5964be29
      Jody Goldberg authored
      2004-07-12  Jody Goldberg <jody@gnome.org>
      	* src/workbook-control-gui.c (wbcg_cur_sheet) :  new convenience
      	* src/wbcg-actions.c : tidy up a bit
      	* src/wbc-gtk.c (wbc_gtk_init_undo_redo) : tie sensitivity of repeat
      	  to undo.
      2004-07-11  Jody Goldberg <jody@gnome.org>
      	* src/commands.c (cmd_set_text_repeat) : new
      	  (missing validation support)
      	(cmd_area_set_text_repeat) :  new.
      	(cmd_ins_del_colrow_repeat) : new.
      	(cmd_clear_repeat) :  new.
      	(cmd_format_repeat) :  new.
      	(cmd_colrow_hide_repeat) :  new.
      	(cmd_group_repeat) : new.
      	(cmd_paste_copy_repeat) : new.
      	(cmd_autofill_repeat) : new.
      	(cmd_autoformat_repeat) : new.
      	(cmd_unmerge_cells_repeat) : new.
      	(cmd_merge_cells_repeat) : new.
      	(cmd_clone_sheet_repeat) : new.
      2004-07-09  Jody Goldberg <jody@gnome.org>
      	* src/GNOME_Gnumeric-gtk.xml : Add repeat as an accelerator
      	* src/commands.c (func) : add some hooks for repeat
      2004-07-09  Jody Goldberg <jody@gnome.org>
      	* src/expr.c (cb_bin_arith) : handle VALUE_EMPTY for implicit
      	  iteration with arithmetic operators.
      	* src/func.c (function_call_with_list) : Use value_get rather than
      	* src/sheet.c (sheet_foreach_cell_in_range) : check for empty values too
      2004-07-12  Jody Goldberg <jody@gnome.org>
      	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_info_at_point) :
      	  expand this to offer name and override creation.
      	* graph/gog-view.c (gog_view_info_at_point) :  expand this interface a
      	  bit. I'm still not happy with it.
      	* graph/gog-series.c :  keep a sorted list of overrides in place
      	* graph/gog-plot.c (gog_plot_foreach_elem) :  handle point overrides
      	* graph/gog-object.c (gog_object_emit_changed) :  handle updates for
      	  objects not yet connected to parents.
  4. 07 Apr, 2004 1 commit
    • Morten Welinder's avatar
      Show statusbar. (check_underlines): New code to debug underline · ffaa3e6b
      Morten Welinder authored
      2004-04-07  Morten Welinder  <terra@gnome.org>
      	* src/wbc-gtk.c (wbc_gtk_create_status_area): Show statusbar.
      	(check_underlines): New code to debug underline collisions.
      	(wbc_gtk_init): Show everything here.
      	* src/workbook-control-gui.c (wbcg_set_toolbar_visible): Update
      	menus too.
      	(wbcg_copy_toolbar_visibility): New function.
      	(show_gui): Call gtk_widget_show, not gtk_widget_show_all, so as
      	not to interfere with toolbar visibility.
      	* src/wbcg-actions.c (cb_view_standard_toolbar,
      	cb_view_format_toolbar, cb_view_object_toolbar,
      	cb_view_statusbar): Only do something when we're not already
      	updating the ui.
      	(var actions): Fix underline collissions.
  5. 05 Apr, 2004 2 commits
    • Morten Welinder's avatar
      Make it possible to hide the statusbar. · 4ea39cb0
      Morten Welinder authored
      	* Make it possible to hide the statusbar.
    • Morten Welinder's avatar
      Identify toolbars. · 561b9e08
      Morten Welinder authored
      2004-04-05  Morten Welinder  <terra@gnome.org>
      	* src/wbc-gtk.c (cb_add_menus_toolbars): Identify toolbars.
      	* src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible,
      	wbcg_set_object_toolbar_visible): New functions.
      	* src/wbcg-actions.c (cb_view_standard_toolbar,
      	cb_view_format_toolbar, cb_view_object_toolbar): New functions.
      	(var toggle_actions): Hook them up.
  6. 02 Feb, 2004 1 commit
    • Jody Goldberg's avatar
      people didn't like it so remove it to allow custom color selection to · 33f270ee
      Jody Goldberg authored
      2004-02-01  Jody Goldberg <jody@gnome.org>
      	* src/workbook-control-gui.c (wbcg_toolbar_timer_clear) : people
      	  didn't like it so remove it to allow custom color selection to work.
      	  With it in place the action was still insensitive when the
      	  color_changed fired so the activation was ignored.
      	* src/wbc-gtk.c (wbc_gtk_init) : connect the post_activate signal
      	  as a swapped_object to avoid calling it after we use an accelerator
      	  to quit.
      2004-02-01  Jody Goldberg <jody@gnome.org>
      	* gui-utils/go-color-palette.c (handle_color_sel) : destroy before we
      	  emit in case the custom dialog handler played with the wrapper
      	  actions (eg desensitized them)
      	* gui-utils/go-combo-color.c (cb_proxy_custom_dialog) : pop the combo
      	  down when the custom dialog goes up.
  7. 07 Jan, 2004 1 commit
    • Jody Goldberg's avatar
      The initial pass at GtkAction custom combos are mucho broken move this out · 164f0ac9
      Jody Goldberg authored
      2004-01-06  Jody Goldberg <jody@gnome.org>
      	The initial pass at GtkAction custom combos are mucho broken
      	* src/sheet.c (sheet_toggle_hide_zeros) : move this out of the macro
      	  in wbcg.
      	(sheet_toggle_show_formula) : ditto.
      	* src/sheet-object-graph.c (cb_save_as) : add jpg, and translate the
      	  error message now that string freeze is done.
      	* src/gui-util.c : restore DISABLE_DEPRECATED
      	(gnumeric_toolbar_insert_with_eventbox) : delete.
      	(gnumeric_toolbar_append_with_eventbox) : delete.
      	(gtk_button_stock_alignment_set) : delete.
      	(gnumeric_toolbar_new) : delete.
      	(gnumeric_inject_widget_into_bonoboui) : move the wbc-bonobo.c
      	(gnumeric_toolbar_get_widget) : delete.
      	(gnm_widget_disable_focus) : move here from workbook-format-toolbar.c
      	* workbook-format-toolbar.{c,h} : move contents into
      	* wbcg-actions.c : this new file
      	* wbc-gtk.c : or this new file
      	* wbc-bonobo.c : or this new file (WHICH DOES NOT COMPILE OR WORK)
      	  Should probably merge into workbook-control-component or something
      	  like that
      	* src/gnm-marshalers.list (VOID) : Use the stock marshallers in glib
      	  directly rather than adding our own wrappers.
      	* src/application.c : here
      	* src/GNOME_Gnumeric.xml : rename FileExit -> FileQuit to be consistent
      	* src/GNOME_Gnumeric-gtk.xml : new file for GtkAction
      	  You must be running in gnumeric/src
      	  I Repeat
      	  YOU MUST BE RUNNING IN gnumeric/src
      	  for anything to work right now.  I don't quite know how I want to
      	  handle the file yet (the bonobo approach was irritating) we'll see.
      	* configure.in :
      	- Add goffice/gui-utils
      	- Get rid of --with-bonobo
      	- Add --with-gnome
      	- Add --enable-bonobo-component
      	* plugins/Makefile.am : Adapt to that.
      	* src/Makefile.am : ditto, and add the new files.
      2004-01-05  Jody Goldberg <jody@gnome.org>
      	* src/commands.c (cmd_set_text_redo) : remove manual kludge.
      	* src/dependent.h (cell_eval) : move from here
      	* src/cell.h (cell_eval) : to here.  Add a new flag CELL_HAS_NEW_EXPR
      	* src/cell.c (cell_set_expr_internal) : set the flag here.
      	* src/rendered-value.c (rendered_value_new) : test it here.
      	* src/sheet-control-gui.c (scg_cursor_move) : don't scroll the other
      	  panes unless we absolutely have to.  Apparently we only fuxed normal
      	  cursor movement for http://bugzilla.gnome.org/show_bug.cgi?id=77303
      	  This fixes rangesel too.
      2003-12-29  Jody Goldberg <jody@gnome.org>
      	* * : Move everything to glib/gi18n.h in place of gnumeric-i18n.h
      	* gnumeric-i18n.h : delete
      	* configure.in : Looks like we're really requiring gtk/glib 2.3.1 at a
      	  minimum.  In reality it's probably closer to CVS at this point.  I'm
      	  kinda looking forward to the gtk freeze.
      2004-01-05  Jody Goldberg <jody@gnome.org>
      	* ms-excel-write.c (excel_write_SELECTION) : generalize a bit.
      	(excel_write_selections) : new wrapper to handle selectins for each pane
      	* ms-excel-read.c (excel_read_SELECTION) : we only care about
      	  selections in the primary pane.
      2003-12-24  Jody Goldberg <jody@gnome.org>
      	* ms-excel-write.c (excel_write_WRITEACCESS) : don't free memory we do
      	  no own.
      	(excel_write_COUNTRY) : init both fields.
      	(write_sheet_head) : pre biff8 it was part of the sheet record.  Its
      	  hard to tell if this should be part of every sheet or just the first.
      	  I've seen both.
      	(write_workbook) : biff8 puts the COUNTRY record in the workbook area.
  8. 21 Aug, 2003 1 commit
    • Jody Goldberg's avatar
      Axis are starting just barely to work. · 71a6a68f
      Jody Goldberg authored
      2003-08-19  Jody Goldberg <jody@gnome.org>
      	* graph/gog-renderer.c (gog_renderer_draw_rectangle) : handle outlines
      2003-08-20  Jody Goldberg <jody@gnome.org>
      	* ms-excel-read.c (excel_read_BOF) : finding a sheet not listed in the
      	  right place is a warning not a failure.
      	* ms-excel-write.c (excel_write_DV) : handle missing titles and msgs
      2003-08-09  Jody Goldberg <jody@gnome.org>
      	* ms-chart.c (BC_R(areaformat)) : use the new GogStyle extensions.
      2003-08-19  Jody Goldberg <jody@gnome.org>
      	* src/workbook-edit.c (wbcg_edit_attach_guru_main) : clear END-mode
      	(wbcg_edit_detach_guru) : ditto.
      	From John Gill :
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Enable support
      	  for END-mode keystrokes.  The transition keys do something a bit
      	  funky though, disabled by default.
      	* src/workbook-control-gui.c (wbcg_toggle_end_mode) : new.
      	(wbcg_set_end_mode) : new.  To handle display of 'END-mode' keys.
      2003-08-19  Jody Goldberg <jody@gnome.org>
      	* src/value.c : Add #UNKNOWN! to avoid problems.
      	* src/expr.c (bin_cmp) : split out of.
      	(gnm_expr_eval) : here, in preparation for support implicit iteration
      	  for operators.
      	* schemas/gnumeric-general.schemas.in : disable transition keys by
      	  default because they make the ctrl-arrow movement odd.
      	* src/sheet-object-graph.c (sheet_object_graph_read_xml) : be more
      	  lenient about invalid xml.
      	* src/sheet-object.c (sheet_object_read_xml) : produce better
      	  warnings for unknown objects, and recognize that a GnmGraph is a
      	  graph even though we don't call it that anymore.
  9. 13 Jun, 2003 1 commit
  10. 22 May, 2003 1 commit
    • Morten Welinder's avatar
      Extra argument here is a GdkScreen pointer. Supply that to · bc294c73
      Morten Welinder authored
      2003-05-22  Morten Welinder  <terra@gnome.org>
      	* src/workbook-control-gui.c (workbook_control_gui_new): Extra
      	argument here is a GdkScreen pointer.  Supply that to
      	workbook_control_gui_init.  All callers changed.
      	* src/workbook-control-priv.h (WorkbookControlClass): Add extra
      	parameter to control_new method.
      	* src/workbook-control.c (wb_control_wrapper_new): Add "extra"
      	argument here also and supply it to control_new.  All callers
      	* src/workbook-control-gui.c (workbook_control_gui_init): Make
      	static.  Take extra GdkScreen parameter and set the new screen
      	asap before we go creating pango contexts and gcs relating to the
      	default screen.  All callers changed.
  11. 03 Dec, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Use default desktop font of screen. · 0a0b311e
      Jon Kåre Hellan authored
      * src/item-bar.c (item_bar_calc_size): Use default desktop font of
      * src/workbook-control-gui.c: Add PivotTable verb.
      (settings_get_font_desc): New. Get Pango font desc from string.
      (cb_update_item_bar_font): New callback. Called from
      gtk_container_foreach for each notebook tab to update the item bars.
      (cb_desktop_font_changed): New callback. Called when desktop font
      has changed.
      (wbcg_get_gtk_settings): New. Gets GtkSettings - by screen if
      * src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
      Add font_desc.
  12. 18 Sep, 2002 1 commit
  13. 07 Aug, 2002 1 commit
    • Zbigniew Chyla's avatar
      New · 1d7891b3
      Zbigniew Chyla authored
      2002-08-05  Zbigniew Chyla  <cyba@gnome.pl>
      	* src/plugin-service.h
      	(PluginServiceUICallbacks, GNM_PLUGIN_SERVICE_UI_TYPE,
      	* src/plugin-service.c
      	(PluginServiceUIClass, struct _PluginServiceUI, plugin_service_ui_init,
      	plugin_service_ui_finalize, plugin_service_ui_read_xml, ui_verb_fn,
      	plugin_service_ui_activate, plugin_service_ui_deactivate,
      	plugin_service_ui_class_init): Implementation of the "ui" service.
      	(service_types): Added "ui".
      	* src/plugin-loader.h
      	(struct _GnumericPluginLoaderClass):
      	Added load_service_ui and load_service_ui methods.
      	* src/plugin-loader.c
      	gnumeric_plugin_loader_unload_service): Added support for ui service
      	* plugin-loader-module.h
      	(ModulePluginUIVerbInfo): New
      	* src/plugin-loader-module.c
      	* src/workbook-control-gui-priv.h
      	(struct _WorkbookControlGUI): Added custom_ui_components field
      	* src/workbook-control-gui.h
      	(register_xml_ui, unregister_xml_ui): New
      	* src/workbook-control-gui.c
      	(struct _CustomXmlUI, registered_xml_uis,
      	wbcg_add_custom_ui, wbcg_remove_custom_ui,
      	add_ui_to_workbook_controls, remove_ui_from_workbook_controls,
      	register_xml_ui, unregister_xml_ui): New
      	(workbook_control_gui_init): Initialize wbcg->custom_ui_components
      	hash table, add all registered uis to the workbook control.
      	(wbcg_finalize): Destroy wbcg->custom_ui_components
  14. 08 May, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Include "dialogs.h" to get prototype for dialog_search. · dc0a6dcd
      Jon Kåre Hellan authored
      * src/workbook-control-component.c: Include "dialogs.h" to get
      prototype for dialog_search.
      * src/bonobo-io.c (cleanup_stream): Return status.
      * src/workbook-control.[ch], src/workbook-control-priv.h
      (wb_control_edit_set_sensitive): New virtual, replacing
      workbook_edit_set_sensitive in workbook-edit. Made parameter names
      descriptive because it's now used far away from where it is
      * src/workbook-control-component.c (wbcc_edit_set_sensitive): Null
      implementation of new virtual.
      (workbook_control_component_init): Construct, but don't show, the
      edit area, to avoid warnings when range selecting.
      (workbook_control_component_ctor_class): Register
      edit_set_sensitive implementation.
      * src/workbook-control-gui.[ch] (wbcg_toolbar_timer_clear): Moved
      from workbook-edit, renamed and exported.
      * src/workbook-control-gui.h (cb_thaw_ui_toolbar): Moved from
      (wbcg_edit_set_sensitive): Implementation of new virtual
      wb_control_edit_set_sensitive, moved from workbook-edit and
      renamed from workbook_edit_set_sensitive.
      (workbook_control_gui_ctor_class): Register edit_set_sensitive
      * src/workbook-edit.c (toolbar_timer_clear, cb_thaw_ui_toolbar,
      workbook_edit_set_sensitive): Move to workbook-control-gui.
      (wbcg_edit_finish, (wbcg_edit_start, wbcg_edit_attach_guru,
  15. 05 May, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Add UI for the viewer component. · d621ff08
      Jon Kåre Hellan authored
      * src/GNOME_Gnumeric_Component.xml: Add UI for the viewer component.
      * src/Makefile.am: Add UI file for the viewer component.
      * src/gui-util.c (gnumeric_keyed_dialog): Use
      wbcg_set_transient instead of gnumeric_set_transient.
      * src/main-component.c (control_activated_cb): New signal handler
      to handle component activation/deactivation.
      (gnumeric_component_factory): Register activation/deactivation
      signal handler
      * src/workbook-control-component-priv.h
      (struct	_WorkbookControlComponent): Add bcontrol member for the
      * src/workbook-control-component.c (wbcc_set_transient_for): New
      function. Set a dialog transient for the bonobo shell which
      contains us.
      (bcontrol_get_wbcg): New function. Get the WorkbookControl from
      the BonoboControl. This is implemented by means of object data on
      the BonoboControl.
      (cb_file_summary): New function. Pop up the Properties dialog.
      (cb_edit_copy): New function. Copy the selection.
      (cb_edit_search): New function. Pop up the search dialog.
      (cb_help_about): New function. Pop up the "About Gnumeric" dialog.
      (verbs): Add them.
      (workbook_control_component_init): Zero the bcontrol field.
      (workbook_control_component_ctor_class): Override the wbcg
      set_transient method.
      * src/workbook-control-gui-priv.h (WorkbookControlGUIClass): Add
      set_transient virtual method.
      * src/workbook-control-gui.c (WBCG_CLASS, WBCG_VIRTUAL_FULL,
      WBGC_VIRTUAL): Define macros, analogous to macros in
      (wbcg_set_transient_for): New function. set_transient
      implementation for wbcg.
      (workbook_setup_sheets): Resize notebook from an idle handler to
      work around a display problem in the component. Explain why we had
      to do this.
      (workbook_control_gui_ctor_class): Add set_transient virtual method.
  16. 19 Apr, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Re-enable · 7d8300da
      Jon Kåre Hellan authored
      * src/bonobo-io.c (hack_xmlSAXParseFile): Re-enable
      * src/main-component.c: No longer a dummy. Remove DUMMY compile
      (load_workbook_from_stream): Remove.
      (dummy_add_interfaces): Rename to add_interfaces. Pass control to
      (gnumeric_component_factory): Make a real gnumeric component.
      * src/sheet-control-gui.c (scg_take_focus): Test if wbcg_toplevel
      != NULL.
      * src/workbook-control-priv.h: Virtualize menu_state.sheet_count.
      * src/workbook-control-component.c (wbcc_get_password,
      wbcc_progress_set, wbcc_progress_message_set, wbcc_init_state,
      wbcc_title_set, wbcc_format_feedback, wbcc_zoom_feedback,
      wbcc_edit_line_set, wbcc_edit_selection_descr_set,
      wbcc_auto_expr_value, wbcc_undo_redo_clear,
      wbcc_undo_redo_truncate, wbcc_undo_redo_pop, wbcc_undo_redo_push,
      wbcc_undo_redo_labels, wbcc_menu_state_update,
      wbcc_menu_state_sheet_prefs, wbcc_menu_state_sheet_count,
      wbcc_menu_state_sensitivity, wbcc_validation_msg): New no-op
      (wbcc_error_system, wbcc_error_plugin, wbcc_error_read,
      wbcc_error_save, wbcc_error_invalid, wbcc_error_error_info,
      wbcc_control_new, wbcc_sheet_focus, wbcc_claim_selection): New
      (workbook_control_component_init): New function.
      (workbook_control_component_ctor_class): Flesh out.
      (workbook_control_component_new): New function.
      * src/workbook-control-gui.c (wbcg_cur_scg, wbcg_sheet_remove,
      wbcg_sheet_rename, wbcg_sheet_focus, wbcg_sheet_move, cb_edit_cut,
      cb_sheet_remove): Use new name of from sheet_to_page_index and
      make public.
      (wbcg_sheet_add): Use virtualized menu_sheet_count.
      (workbook_control_gui_ctor_class): Virtualize menu_sheet_count.
  17. 15 Apr, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Declare WorkbookControlComponent and WorkbookControlStandalone. · 2ce4773c
      Jon Kåre Hellan authored
      * src/gui-gnumeric.h: Declare WorkbookControlComponent and
      * GNOME_Gnumeric.server.in.in: Add gnumeric-component /
      * src/Makefile.am: Add gnumeric-component to build, and new files.
      * src/workbook-control-gui.h (WORKBOOK_CONTROL_GUI_CLASS): Fix typo.
      * src/workbook-control-standalone.h: New file. wbcg class for
      standalone app - public header file. Dummy for now.
      * src/workbook-control-standalone.c: New file. wbcg class for
      standalone app - source file. Dummy for now.
      * src/workbook-control-standalone-priv.h: New file. wbcg class for
      standalone app - private header file. Dummy for now.
      * src/workbook-control-component.h: New file. Bonobo component
      class - public header file. Dummy for now.
      * src/workbook-control-component.c: New file. Bonobo component
      class - source file. Dummy for now.
      * src/workbook-control-component-priv.h: New file. Bonobo
      component class - private header file. Dummy for now.
      * src/main-component.c: New file. Main entry point for Bonobo
      * src/main-application.c: New file: Main entry point for
      standalone application.
  18. 15 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      We can now make distcheck · f84a08c5
      Jody Goldberg authored
      Requires a GAL update, and a gtk+ update
      2002-02-15  Jody Goldberg <jody@gnome.org>
      	* src/item-cursor.c (item_cursor_tip_setlabel) : enable now that the
      	  canvas bug is fixed.
      	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : new.
      	(cb_vscrollbar_adjust_bounds) : new.
      	* src/gui-util.c (gtk_button_stock_alignment_set) : new.
      	(gnumeric_init_help_button) : new.
      	* src/gnumeric-canvas.h : Move declaration of
      	  GnumericCanvasSlideHandler here.
      	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : forward to the entry,
      	  not the GnumericExprEntry wrapper.
      	(gnm_canvas_key_mode_sheet) : ditto.
      	* src/formats.c (cell_format_classify) : handle general.
      	* src/file-priv.h : Inherit from GObject.
      	* src/complete-sheet.c (complete_sheet_finalize) : call class_peek
      	  here to avoid potential reference problems.
      	* src/commands.c (cmd_set_text) : doh!  fix multi-line text.
      	(cmd_autoformat) : const.
      	* src/cell.c (cell_relocate) : const.
      	* src/clipboard.c (paste_cell_with_operation) : const.
      	(paste_cell) : ditto.
      	* src/application.c (application_init) : add jimmac's expr-entry icon.
      	* src/Makefile.am : distribute the marshaller.list
      	s/gtk_signal_connect/g_signal_connect/  + reformating.
      2002-02-11  Jody Goldberg <jody@gnome.org>
      	* src/stf.c (stf_init) : Make the names of the text import/export
  19. 29 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      move to new sheet widget layout. · b83b3724
      Jody Goldberg authored
      2002-01-29  Jody Goldberg <jody@gnome.org>
      	* ms-excel-read.c (ms_sheet_create_obj) : move to new sheet widget
      2002-01-29  Jody Goldberg <jody@gnome.org>
      	* src/workbook-control-gui.c (cb_notebook_switch_page) : fix changing
  20. 24 Jan, 2002 1 commit
  21. 15 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      simplify. No resize if there is a guru, or we are editing. (ib_set_cursor) · 66176ca9
      Jody Goldberg authored
      2001-11-15  Jody Goldberg <jgoldberg@home.com>
      	* src/item-bar.c (is_pointer_on_division) : simplify.  No resize if
      	  there is a guru, or we are editing.
      	(ib_set_cursor) : no need to be fancy, is_pointer_on_division
      	  does the majority of the work now.
      	* src/item-bar.c (item_bar_event) : ditto.
      	* src/cell-draw.c (cell_split_text) : split at hyphens.
      	* src/print-cell.c (cell_split_text) : ditto.
      	* src/rendered-value.c (rendered_value_calc_size_ext) : ditto.
  22. 05 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      Initial support for frozen panes. · 99073bd9
      Jody Goldberg authored
      2001-07-04  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-merge.c (sheet_merge_add) : Use sheet_redraw_range.
      	* src/sheet-control.c (sc_set_panes) : new virtual.
      	(sc_set_sheet) : renamed from sc_invalidate_sheet.
      	* src/sheet-control-gui.c (scg_primary_pane) : new function. Be very
      	  careful when using this.  It should not be necessary in most cases.
      	(scg_get_wbcg) : convenience routine.
      	(scg_redraw_all) : frozen panes.
      	(scg_redraw_region) : renamed from scg_redraw_cell_region, and frozen
      	  pane support.
      	(scg_redraw_headers) : merge in the code from gnumeric-sheet.
      	(scg_update_cursor_pos) : pane support.
      	(scg_resize) : ditto.
      	(scg_set_zoom_factor) : ditto.  Broken. needs to resize the panes.
      	(scg_scrollbar_config) : adjust to panes.
      	(scg_make_edit_pos_visible) : use scg_make_cell_visible.
      	(scg_colrow_select) : reorg a bit.
      	(vertical_scroll_offset_changed) : adjust to panes.
      	(horizontal_scroll_offset_changed) : ditto.
      	(cb_table_destroy) : ditto.
      	(scg_init) : init the top here.
      	(bar_set_left_col) : from gnumeric-sheet. Still needs work for panes.
      	(bar_set_top_row) : ditto.
      	(gnumeric_sheet_set_left_col) : ditto.
      	(gnumeric_sheet_set_top_row) : ditto.
      	(scg_set_left_col) : TODO.
      	(scg_set_top_row) : ditto.
      	(gnumeric_sheet_set_top_left) : new function split from.
      	(gnumeric_sheet_make_cell_visible) : here.
      	(scg_make_cell_visible) : adjsut to panes and do the real work here.
      	(scg_make_cell_visible_virt : wrapper for use as virtual.
      	(gnumeric_pane_new) : new function.
      	(gnumeric_pane_delete) : ditto.
      	(scg_set_panes) : ditto.
      	(scg_construct) : move the table attachments around and move the
      	  canvas groups into the panes.
      	(sheet_control_gui_new) : beef this up.
      	(scg_unant) : adjust to panes.
      	(scg_ant) : ditto.
      	(scg_cursor_visible) : ditto.
      	(scg_cursor_bound) : ditto.
      	(scg_adjust_preferences) : ditto.
      	(scg_compute_visible_region) : ditto.
      	(scg_create_editor) : ditto.
      	(scg_stop_editing) : ditto.
      	(scg_take_focus) : ditto.
      	(scg_sliding_callback) : adjust top panes, but is still much too
      	(scg_start_sliding) : ditto.
      	(cb_slide_handler) : ditto.
      	(cb_control_point_event) : ditto.
      	(new_control_point) : ditto.
      	(set_item_x_y) : ditto.
      	(set_acetate_coords) : ditto.
      	(scg_object_calc_position) : ditto.
      	(scg_object_view_position) : ditto.
      	(scg_rangesel_changed) : ditto.
      	(scg_rangesel_start) : ditto.
      	(scg_rangesel_stop) : ditto.
      	(scg_rangesel_move) : ditto.
      	(scg_rangesel_extend) : ditto.
      	* src/item-grid.c (sheet_object_begin_creation) : Use the group
      	  associated with the gsheet, not the scg, and use GNUMERIC_IS_SHEET
      	  in preference to != NULL.
      	* src/item-bar.c : Store the gnumeric-sheet rather than the scg so
      	  that we can get to the Pane.
      	* src/embeddable-grid.c (grid_view_activate) : Use scg_take_focus.
      	(grid_view_new) : Use sheet_control_gui_new in place of sheet_new_scg.
      	* convert to E_MAKE_TYPE
      	* Use IS_SHEET in preference to sheet != NULL
      	* sheet_range_calc_spans signature change
      	* src/clipboard.c (clipboard_paste_region) : special handling when
      	  pasting into a selection that consists of a single merged cell.
      	* src/application.c (application_set_selected_sheet) : Use IS_SHEET.
      	(application_clipboard_copy) : ditto.
      	(application_clipboard_cut) : ditto.
      	* src/Makefile.am :
      	    command-context-corba -> workbook-control-corba
      	* src/sheet.c : convert to using IS_SHEET in place of sheet != NULL in
      	  several places.
      	(sheet_is_frozen) : new function.
      	(sheet_freeze_panes) : implement.
      	(sheet_new) : init frozen pane data.
      	(sheet_range_calc_spans) : pass a pointer rather than copy of the range.
      	  and use sheet_redraw_range.
      	(sheet_apply_style) : use sheet_redraw_range.
      	(cb_sheet_get_extent) : premature optimization is evil.
      	(sheet_redraw_region) : rename from sheet_redraw_cell_region.
      	(sheet_set_edit_pos) : use sheet_redraw_range.
      	(sheet_move_range) : ditto.
      	(sheet_init_sc) : new routine.
      	(sheet_attach_control) : rename and task from sheet_new_scg.
      	(sheet_redraw_region) : renamed from sheet_redraw_cell_region.
      	* src/item-cursor.c (item_cursor_update) : increase the spacing for
      	  the autohandle.
      	* src/GNOME_Gnumeric.xml :
      	  - Use Control*colon and Control*semicolon
      	  - desensitize the graph guru for now.
      	  - Add freeze/thaw
      	* src/item-bar.c (item_bar_unrealize) : no need to double unref the
      	* src/print-cell.c (print_merged_range) : This is not being drawn on
      	  the screen, no need for all the fancy calcs to only draw the visible
      	  bits.  We will just clip it.
      	* src/print-cell.c (print_cell) : Use the calulated width, not the col
      	  width for splitting.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Use the scg_
      	  versions of things in preference to the gnumeric_sheet_ versions.
      	(gnumeric_sheet_new) : Store the Pane that this is associated with.
      	(gnumeric_sheet_bar_set_top_row) : moved to sheet-control-gui.c
      	(gnumeric_sheet_set_top_row) : ditto.
      	(gnumeric_sheet_bar_set_left_col) : ditto.
      	(gnumeric_sheet_set_left_col) : ditto.
      	(gnumeric_sheet_make_cell_visible) : ditto.
      	(gsheet_compute_visible_region) : handle panes.
  23. 17 May, 2001 1 commit
    • Jody Goldberg's avatar
      Use wbcg_rangesel_possible. ditto. ditto. ditto. (scg_colrow_select) : · 23c7efec
      Jody Goldberg authored
      2001-05-16  Jody Goldberg <jgoldberg@home.com>
      	* src/item-bar.c (is_pointer_on_division) : Use
      	* src/item-grid.c (item_grid_button_1) :  ditto.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : ditto.
      	* src/sheet-control-gui.c (scg_select_all) : ditto.
      	(scg_colrow_select) : ditto.
      	(scg_construct) : ensure we start with focus.
      	(scg_rangesel_possible) : move from here.
      	* src/workbook-control-gui.c (wbcg_rangesel_possible) : to here.
      	(cb_notebook_switch_page) : expand the logic slightly to correct gurus.
      	* src/workbook-edit.c (wbcg_edit_finish) : always check for rangesel.
      	* src/parse-util.c (gnumeric_char_start_expr_p) : improve handling of
  24. 12 Mar, 2001 1 commit
    • Jody Goldberg's avatar
      remove the use of the canvas to avoid label flicker. Add support for a · b18a8d20
      Jody Goldberg authored
      2001-03-11  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (workbook_setup_auto_calc) : remove the
      	  use of the canvas to avoid label flicker.  Add support for a status
      	(wb_control_gui_set_status_text) : new function.
      	* src/gnumeric.xml : Add Status control and reverse the order to work
      	  around probable bonobo bug.
      	* src/sheet-control-gui.c (horizontal_scroll_offset_changed) : Use
      	(vertical_scroll_offset_changed) : ditto.
      	(scg_scrollbar_config) : ditto.
  25. 24 Feb, 2001 1 commit
    • Jody Goldberg's avatar
      reorder to handle unmerging directly. (cmd_merge_cells_undo) : ditto. · ab441bef
      Jody Goldberg authored
      2001-02-23  Jody Goldberg <jgoldberg@home.com>
       	* src/commands.c (cmd_merge_cells_redo) : reorder to handle unmerging
       	(cmd_merge_cells_undo) : ditto.
       	(CmdMergeCells) : no need to inherit from CmdUnmergeCells.
       	(cmd_unmerge_cells_redo) : merge the 'internal' versions.
       	(cmd_unmerge_cells_undo) : merge the 'internal' versions.
      2001-02-22  Jody Goldberg <jgoldberg@home.com>
      	* src/style-border.c (style_border_vmargins) : remove unnecessary
      	  reference to next_sr.  sr.bottom == next_sr.top
      	  For normal borders horizontal always dominates vertical.
      	(style_border_hmargins) : Only cut corners for doubles if the corner
      	  is a double.
      	* src/sheet.c (sheet_cursor_set_full) : new function.
      	* src/selection.c (sheet_selection_set_internal) : Use it here.
      	  The trick is that when extending a selection to include merged cells
      	  it is possible that the edit cell is neither the base nor the move
      	  col/row.  When you then shrink the selection to the pre-extended
      	  state, without the merged region, you have lost track of the corner
      	  and can easily loose the edit_position.
      	* src/workbook-format-toolbar.c (toggled_from_toolbar) : delete this
      	  ugliness.  We don't need it anymore.
      2001-02-20  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (wbcg_ui_update_begin) : new utility
      	(wbcg_ui_update_end) : new utility
      	* src/workbook-format-toolbar.c (workbook_feedback_set) : Use them
      	(workbook_format_halign_feedback_set) : update center-across-selection
      	  in the bonobo case.
      	(do_modify_format) : rewrite to use the format from the edit cell and
      	  to support undo.
      	* src/format.c (format_toggle_thousands) : delete.
      2001-02-23  Jody Goldberg <jgoldberg@home.com>
      	* configure.in : post release version bump to 0.64.
  26. 04 Jan, 2001 1 commit
    • Jody Goldberg's avatar
      Some work on range selection · 4a320299
      Jody Goldberg authored
      2001-01-04  Jody Goldberg <jgoldberg@home.com>
      	* src/item-cursor.c (item_cursor_event) : animated cursors can no be
      	  dragged or resized.   NOTE : This introduces a small bug while
      	  fixing another.  The animated cursor is frequently drawn on top of
      	  the current selection cursor when it is first created.  As such the
      	  selection cursor does not receive all the events it should.
      	  Ideally the canvas would pass ignored events to the widget below, but
      	  that is not going to happen.  We can not just forward the events to
      	  the other cursor because it may have moved.  We would need to ensure
      	  that we only forward things in the areas that are overlapping.  Which
      	  is not easy.
      	(item_cursor_set_spin_base) : delete.
      	* src/item-grid.c (item_grid_button_1) : support shift-extending a
      	  range selection cursor.
      	* src/workbook-view.c (wb_view_selection_desc) : Add some safety.
      	* src/gnumeric-sheet.c (gnumeric_sheet_rangesel_cursor_extend) :
      	  Intelligently handle extension to full rows/cols and rename from
      	(start_cell_selection_at) : no need to set the base a second time.
      	(gnumeric_sheet_rangesel_cursor_bounds) : rename from
      	  gnumeric_sheet_selection_cursor_place and allow the specification of
      	  base and move coords.
      	(gnumeric_sheet_selection_cursor_base) : delete.
      	* src/item-bar.c (is_pointer_on_division) : no resizing while range
      	(get_element_from_pixel) : delete dead code.
      2001-01-03  Jody Goldberg <jgoldberg@home.com>
      	* src/item-bar.c (item_bar_event) : Call scg_colrow_select directly.
      	  and convert from using 'is_vertical' to 'is_cols' which is the
      	  convention everywhere else.
      	(cb_extend_selection) : ditto.
      	(colrow_tip_setlabel) : ditto.
      	(item_bar_marshal) : delete.
      	(get_row_name) : fortify a bit.
      	* src/sheet-control-gui.c (scg_colrow_select) : merge together from
      	  sheet_view_{col,row}_selection_changed and rewrite.
      	(sheet_view_construct) : remove handlers for the item-bar signal.
      	* src/commands.c (cmd_autofill_redo) : check for array violations.
      	  Clear the target range.  This will allow entire arrays to be filled.
      	(cmd_autofill) : Use the area that we will be filling rather.  Excude
      	  the area that will not change.
      	* src/sheet.c (sheet_{col,row}_get_info) : simplify.
      	* src/selection.c (walk_boundaries) : don't walk into hidden cols/rows.
  27. 01 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      new function. (sheet_object_position_pixels) : new function. · f4cc38b8
      Jody Goldberg authored
      2000-12-01  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-object.c (sheet_object_position_pts) : new function.
      	(sheet_object_position_pixels) : new function.
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/xml-io.c : Begin moving the sheet object xml io into virtuals.
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c : Add SHEET_FOREACH_CONTROL to help abstract the
      	  implementation of controls and simplify changes later.
      	(sheet_set_zoom_factor) : reposition objects not just comments.
      	(sheet_get_objects) : New function.
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-object.c : Move most (not yet all) of the GUI aspects into
      	  the sheet control.  Revamp the semantics of the sheet-object
      	new_view : now handles the sizing and realizing of objects.
      	Add support for persistance here.
      	Delete get/set bound.
      	* src/sheet-object-container.c : convert to new object management design
      	* src/sheet-object-graphic.c : Ditto.
      	* src/sheet-object-item.c : Ditto.
      	* src/sheet-object-widget.c : Ditto.
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) :
      	  sheet_object_construct now takes a default size.
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-control-gui.c : Move cell comment and sheet object
      	  placement routines here.  Rather than scattering them in non-gui
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/print.c (print_object_view_position) : Convert object position
      	  to points.
      	* src/selection.c (sheet_selection_redraw) : simplify.
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_object) : SheetObject
      	  editing is now specific to the SheetControl.
      	(gnumeric_sheet_key_press) : Ditto.
      	(gnumeric_sheet_key_release) : Ditto.
      	* src/selection.c (sheet_is_cell_selected) : Ditto.
      	(sheet_col_selection_type) : Ditto.
      	(sheet_row_selection_type) : Ditto.
      	* src/item-bar.c (item_bar_draw) : Ditto.
      	* src/item-grid.c (item_grid_draw_background) : Ditto.
      	(item_grid_button_1) : Ditto.
      	(item_grid_event) : Ditto.
      	(cb_obj_create_motion) : Move the object creation GUI here.
      	(cb_obj_create_button_release) : and add partial support for
      	(sheet_object_begin_creation) : Ditto.
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/cell.c (cell_copy) : Comments are no longer associated directly
      	  with cells.
      	* src/clipboard.c (paste_cell) : Ditto.
      	(clipboard_release) : Ditto.
      	* src/bonobo-io.c (gnumeric_bonobo_obj_read) : No need to set bounds
      	  or realize the object here.  That is handed at a higher level.
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      	* src/number-match.c (compute_value) : Use strtol to simplify things.
      	* src/func.c (tokenized_help_new) : translate the help text.
      2000-11-27  Jody Goldberg <jgoldberg@home.com>
      	* src/formats.c (currency_date_format_init) : quote the currency
  28. 10 Nov, 2000 1 commit
    • 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.
  29. 09 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      Initialize fully, add prepared_to_drag_flag. (item_cursor_selection_event) · a3602968
      Jody Goldberg authored
      2000-11-08  Jody Goldberg <jgoldberg@home.com>
      	* src/item-cursor.c (item_cursor_init) : Initialize fully, add
      	(item_cursor_selection_event) : Move most of the state change
      	  associated with BUTTON_PRESS into MOTION_NOTIFY.  And use the
      	  prepared_to_drag_flag flag to indicate a requirement to initiate a
      	  drag. Move most of the double click handling here.  The resone for
      	  these changes was that there was a race condition in the old
      	  version.  We were creating a new item cursor when we did a button
      	  press.  It started in exactly the same position as the current
      	  cursor.  2BUTTON_PRESS were sometimes being sent to the new cusor
      	  and sometimes showing up as PRESS events on the old with no RELEASE.
      	  This patch attempts to delay creating the new drag cursor until we
      	  are sure this is not a double click so that the proper event
      	  sequence is sent to the main cursor.
      	* src/border.c (style_border_unref) : Unref the colour.
      	(style_border_fetch) : unref the colour when needed.
  30. 27 Oct, 2000 1 commit
  31. 26 Oct, 2000 1 commit
  32. 25 Oct, 2000 1 commit