1. 30 Nov, 2017 1 commit
  2. 29 Jun, 2009 1 commit
  3. 04 Apr, 2009 1 commit
  4. 01 Apr, 2009 1 commit
  5. 16 Nov, 2007 1 commit
    • Jody Goldberg's avatar
      add G_BEGIN_DECL/G_END_DECL around the header content. · f85b4715
      Jody Goldberg authored
              reformat the guard decls
              Add a vim/emacs fmt line
              fix namespacing of preproc flags from configure.in that go into public headers
      
              2007-10-12  Jody Goldberg <jody@gnome.org>
      
              	* libspreadsheet-1.7.pc.in : Set the cflags to include the target, and
              	  subdir until we fix the header includes and rename /src.
              	  Add LIBDIR/include to cflags
              	  Add PluginDir.
      
      svn path=/trunk/; revision=16149
      f85b4715
  6. 24 Sep, 2007 1 commit
    • Jody Goldberg's avatar
      Don't leak a style when faced with an empty label. · 1d8a5180
      Jody Goldberg authored
      2007-09-24  Jody Goldberg <jody@gnome.org>
      
      	* ms-chart.c (BC_R(end)) : Don't leak a style when faced with an empty
      	  label.
      
      2007-09-24  Jody Goldberg <jody@gnome.org>
      
      	Merge in the win32 cleanup work
      	* src/Makefile.am : Add a libspreadsheet CFLAG -DGNUMERIC_INTERNAL to
      	  control dllimport/dllexport for win32.  Required some adjustment of
      	  built-sources.
      
      	* src/libgnumeric.h : Add 'GNM_VAR_DECL' and use it for extern data
      	  that will be publicly visible.
      
      	* src/libgnumeric.c : re-order and handle some of the renaming
      	  style_init -> gnm_font_init, and gnumeric_color -> gnm_color.
      	(gnm_get_option_group) : move the shared cmd line arg parsing in here
      	  rather than duplicating the handlers in all the client apps.
      	* src/main-application.c (gnumeric_arg_parse) : eg from here.
      	  Rather than using global variables, pass the arguments as
      	  parameters to clean things up.
      	* src/ssconvert.c (main) : Use it here.
      	* src/ssindex.c (main) : and here.
      
      	* src/print-cell.h : just include the necessary gtk headers.  Even
      	  this breaks WITH_GTK work.  Why isn't this ins glib ?
      	* src/print.h : Move the renamed internal (not dllexported)
      	  gnm_print_debug flag here
      
      	* src/style.c : s/StyleFont/GnmFont/ and clean up the associated
      	  method names.  Then move things into style-font.h for now.
      	  This clarifies how much we'll need to move to GOFont.
      
      	* src/print-cell.h : just include the necessary gtk headers.  Even
      	  this breaks WITH_GTK work.  Why isn't this ins glib ?
      	* src/print.h : Move the renamed internal (not dllexported)
      	  gnm_print_debug flag here
      
      svn path=/trunk/; revision=15905
      1d8a5180
  7. 10 Aug, 2007 1 commit
    • Jody Goldberg's avatar
      move the thread and stack init here, along with the call to · 60fd376a
      Jody Goldberg authored
      2007-08-10 Jody Goldberg <jody@gnome.org>
      
      	* src/libgnumeric.c (gnm_pre_parse_init) : move the thread and stack
      	  init here, along with the call to go_shell_argv_to_glib_encoding.
      	(gnm_pre_parse_shutdown) : new.
      
      	* configure.in : More cleanup on the python code in preparation for
      	  win32.
      
      svn path=/trunk/; revision=15748
      60fd376a
  8. 26 Jul, 2007 1 commit
    • Jody Goldberg's avatar
      Make show_splash and show_warnings properties, not global variables. · e6e277d2
      Jody Goldberg authored
      2007-07-26  Jody Goldberg <jody@gnome.org>
      
      	* src/io-context-gtk.c : Make show_splash and show_warnings
      	  properties, not global variables.
      	* src/libgnumeric.c : remove the globals from here.
      	* src/main-application.c : and move them locally here for the
      	  GOptions.
      
      svn path=/trunk/; revision=15705
      e6e277d2
  9. 03 Feb, 2006 1 commit
  10. 01 Nov, 2005 1 commit
  11. 21 Apr, 2005 1 commit
  12. 19 Apr, 2005 1 commit
  13. 18 Apr, 2005 1 commit
  14. 09 Apr, 2005 1 commit
  15. 14 Feb, 2005 1 commit
  16. 05 Jan, 2005 1 commit
  17. 22 Dec, 2004 1 commit
  18. 07 Nov, 2004 1 commit
  19. 29 Oct, 2004 1 commit
    • Jody Goldberg's avatar
      Handle *.123 · f7e6a0be
      Jody Goldberg authored
      2004-10-21  Jody Goldberg <jody@gnome.org>
      
      	* plugin.xml.in : Handle *.123
      
      2004-10-29  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-gconf.c (gnm_conf_init_extras) : typos in the broken
      	  gconf case
      
      2004-10-29  Jody Goldberg <jody@gnome.org>
      
      	* src/format.c (append_hour) : be XL compat
      
      2004-10-29  Jody Goldberg <jody@gnome.org>
      
      	* src/file-autoft.c : clean up the handling of translations
      	* src/format-template.c (format_template_new) : Name should be
      	  translatable, not translated.
      
      2004-10-29  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnm_action_new) : new
      	(gnm_action_free) : ditto
      	(gnm_app_add_extra_ui) : ditto
      	(gnm_app_remove_extra_ui) : ditto
      	(gnm_app_foreach_extra_ui) : ditto
      
      	* configure.in : enable the sample ui plugin
      	* plugins/Makefile.am : ditto
      	* plugins/python-loader/boot.c : ditto
      	* plugins/python-loader/py-console.c : ditto
      	* plugins/python-loader/python-loader.c : ditto
      
      2004-10-27  Jody Goldberg <jody@gnome.org>
      
      	* src/plugin-service.c : enable the ui service.
      	* plugins/gnome-db/plugin-gnomedb.c : Use the new interface for the ui
      	  plugin
      
      	* src/sheet-object-graph.c (sheet_object_graph_default_size) : be
      	  cheesy.  We're setting the bounds in so many places before this is
      	  called that it's not safe to use the defaults from GogRenderer.  Not
      	  a huge loss, those were pretty arbitrary.
      
      2004-10-26  Jody Goldberg <jody@gnome.org>
      
      	* src/libgnumeric.c (gnm_pre_parse_init) : Set the default
      	  datadir/libdir based on the packge for WIN32
      f7e6a0be
  20. 17 Jul, 2004 1 commit
    • Jody Goldberg's avatar
      strip unnecessary unportable includes ditto. · 3a4ec125
      Jody Goldberg authored
      2004-07-16  Jody Goldberg <jody@gnome.org>
      
      	* mps.c : strip unnecessary unportable includes
      	* parser.c : ditto.
      
      
      2004-07-16  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-paths.sh.in : Add version
      
      2004-07-15  Jody Goldberg <jody@gnome.org>
      
      	Some Seth UI feedback
      	* src/wbcg-actions.c : s/Launch Guru/Insert Chart/
      3a4ec125
  21. 21 Feb, 2004 1 commit
    • Jody Goldberg's avatar
      Some cut-n-paste for the without_gnome case · 619a5d91
      Jody Goldberg authored
      
      2004-02-21  Jody Goldberg <jody@gnome.org>
      
      	* utils/go-locale.c : Some cut-n-paste for the without_gnome case
      
      	* gui-utils/go-action-combo-text.c : some initial implementation
      
      	* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_foreach_elem) :
      	  handle mismatched numbers of elements and labels.
      	(gog_pie_view_render) : take the outline into account when sizing.
      
      	* graph/gog-style.h : add weak notion of centered image.  This needs
      	  to be stronger to specify alignement.
      
      	* graph/gog-style.c (gog_style_set_fill_image_filename) : new.
      	(cb_image_file_select) : Use it.
      
      	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon) :
      	supported centered images.
      
      	* graph/gog-renderer-gnome-print.c
      	(gog_renderer_gnome_print_draw_polygon) : support centered images.
      
      	* graph/gog-object.c (gog_object_get_children) : add a filter parm.
      	(gog_object_get_child_by_role) : new utility routine.
      
      	* graph/gog-legend.c (gog_legend_update) : set up the editor properly
      	  for fonts.
      
      	* graph/gog-graph.c (gog_graph_view_size_allocate) : typo.  Only
      	  effected manually created plots
      
      	* graph/gog-control-foocanvas.c (gog_control_foocanvas_draw) : make
      	  more resistent to out of memory situations.
      
      	* graph/go-data-simple.c : Add some quick and dirty constant vectors
      	  for double [], and char const *[].  These could certainly be more
      	  robust.
      
      	From Michael Devine <mdevine@cs.stanford.edu> :
      	* graph/goffice-graph.h : Add a first pass at 'radar' plots
      	* graph/gog-axis.c : ditto.
      	* goffice/graph/gog-chart.c : ditto
      
      2004-02-21  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-util.c (two_way_table_new) : store the destroy func.
      	(two_way_table_put) : patch leak and use the destroy func on things
      	  that are already in the table.
      
      	* ms-chart.c (BC_R(radar)) : connect the new engine
      	(BC_R(radararea)) : ditto.
      
      2004-02-21  Jody Goldberg <jody@gnome.org>
      
      	* dialog-stf-export.c : Major reorg to remove the gnomedruid, and
      	  GtkCLists
      
      	* dialog-about.c : rewrite.  Not so pretty, but getting better.  It's
      	  a decent test case for the an api to create a plot.
      
      
      2004-02-21  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=134627
      	* src/workbook-view.c (wb_view_selection_desc) : Display name of edit
      	  position after releasing Shift key, not the top left
      
      	* src/workbook-control-gui.c (cb_wbcg_drag_data_received) : disable
      	  the gnome-vfs portions.  They did not work anyway.  We can probably
      	  just #ifdef it in the future, I can't see an easy way to put that into
      	  a plugin.
      
      	* src/wbc-gtk.c (cb_font_name_changed) : quick and dirty enabling.
      	(cb_font_size_changed) : ditto.
      
      	* src/stf.c (stf_write_workbook) : remove the pointless wrapping of a
      	  pointer and just return the result directly.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=97216
      	* src/sheet-control-gui.c (scg_mode_create_object) : Go back to the
      	  primary sheet when creating an object
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=131588
      	* src/rangefunc.c (range_sum) : use long double if it is available
      
      	* src/mstyle.c (mstyle_new_default) : remove the gconf usage it did
      	  not belong here.
      	* src/style.c (font_init) : ditto.
      
      	* src/normal-args.c : deleted. content moved
      
      	* src/main-application.c : Move the arg handling into here, and #ifdef
      	  it rather than using external files.  It makes it easier to read.
      	  For the non gnome case we need to manually add gtk deps.  Now that
      	  we're not so dependent on gnome we can do more magic and move to a
      	  more abi-style approach with --convert and abi-commands in place of
      	  ssconvert
      
      	* src/libgnumeric.h : drop the arg handler stubs
      
      	* src/libgnumeric.c (gnm_shutdown) : gconf shutdown is handled
      	  internally now.
      
      	* src/hlink.c (gnm_hlink_url_activate) : conditionalize gnome depend.
      
      	* src/gutils.c (gnumeric_sys_data_dir) : Use g_build_path, just to be
      	  pedantic.
      	(gnumeric_sys_lib_dir) : ditto.
      
      	* src/gui-util.c (gnumeric_dialog_run) : Don't destroy the dialog
      	  until a stock response comes in (useful for druids)
      	(gnumeric_help_display) : conditionalize gnome.
      	(gnumeric_icondir) : new.
      	(gnumeric_load_image) : use it.
      	(gnumeric_load_pixbuf) : use it.
      
      	* src/gnumeric-gconf.c (gnm_app_get_gconf_client) : moved to here.
      	(gnm_conf_init_essential) : handle the font stuff here.
      
      	* src/gnumeric-gconf-priv.h : Clean up the default font keys and move
      	  them here.
      
      	* src/application.c : remove the gconf_client
      	(gnm_app_get_gconf_client) : move for now.
      	(gnm_app_release_gconf_client) : delete.
      
      	* src/Makefile.am : Further down the path of making gnome optional
      
      	* icons/Makefile.am : Add the new about box image, dunno where/how to
      	  use it yet.
      
      	* configure.in : corba is dependent on gnome for now.
      	  Move libgnome* into the gnome specific libs
      	  Add the new radar plot engine
      
      	* src/wbc-gtk.c (cb_show_menu_tip) : fix leak.
      619a5d91
  22. 17 Oct, 2003 1 commit
  23. 01 Sep, 2003 1 commit
    • Jody Goldberg's avatar
      An initial skeleton, because I accidentally deleted the last one. Useless. · 0f8c2eac
      Jody Goldberg authored
      2003-09-01  Jody Goldberg <jody@gnome.org>
      
      	* graph/plugins/plot_xy/gog-xy.c : An initial skeleton, because I
      	  accidentally deleted the last one.  Useless.
      
      	* graph/gog-style.c (gog_object_get_style) : fix leak.
      	(fill_init) : do not assign the style as part of the initialization.
      
      	* graph/gog-renderer-pixbuf.c (make_layout) : another failing attempt
      	  to get font sizes to change.
      
      	* graph/gog-renderer-gnome-print.c : An initial pass at font support.
      	  Untested, and unlikely to work out of the box.
      
      2003-09-01  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_graph_dim_editor_update) : If the
      	  parse fails, popup an error for vectors, and fall back to a string
      	  for scalars.
      0f8c2eac
  24. 12 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      jump to the new interface. · dc2319e8
      Jody Goldberg authored
      
      2002-10-12  Jody Goldberg <jody@gnome.org>
      
      	* src/func-builtin.c (func_builtin_init) : jump to the new interface.
      
      	* src/func.h : some renaming and api cleanup.
      	  The big one was
      	    s/ModulePluginFunctionInfo/GnmFuncDescriptor/
      	  Some extension of that structure to add additional fields (at the
      	  end) and api changes to use it pervasively.  This includes
      	  placeholders for function flags, and implementation and testing
      	  status.
      
      	  Some general cleanup with
      	    s/FunctionDefinition/GnmFunc/
      	    s/func_lookup_by_name/gnm_func_lookup/
      	    s/function_add_placeholder/gnm_func_add_placeholder/
      	    s/function_def_get_name/gnm_func_get_name/
      	    s/function_def_set_user_data/gnm_func_set_user_data/
      	    s/function_def_get_user_data/gnm_func_get_user_data/
      
      	  remove function_add_args vs function_add_nodes and replace them with
      	  a GnmFuncDescriptor based gnm_func_add
      
      2002-10-12  Jody Goldberg <jody@gnome.org>
      
      	* src/cellspan.c (row_calc_spans) : some simple optimizations
      	  to prune the length we check based on col/row maxima and sparseness.
      	  This can be significantly faster when we add per row maxima.
      
      	* src/symbol.c (symbol_install) : use g_warning and table_replace in
      	  case of a collison.
      
      	* src/format.c (format_number) : Make utf8 clean
      
      	* src/sheet-control-gui.c (scg_set_panes) : more initial work on
      	  supporting h/v only freezing.
      
      2002-10-11  Jody Goldberg <jody@gnome.org>
      
      	* src/libgnumeric.c (gnm_dump_func_defs) : add a flag to indicate
      	  dumping def or status
      	* src/func.c (function_dump_defs) : ditto.
      	* src/main-application.c (main) : add --func-state-dump
      dc2319e8
  25. 22 Apr, 2002 1 commit
  26. 16 Apr, 2002 1 commit
  27. 15 Apr, 2002 2 commits
    • Jon K Hellan's avatar
      Rename header guards after file rename. · c0b7d966
      Jon K Hellan authored
      2002-04-15  Jon K Hellan  <hellan@acm.org>
      
      	* src/libgnumeric.h: Rename header guards after file rename.
      
      	* src/main.[ch]: Add notes that the files are obsolete
      c0b7d966
    • Jon Kåre Hellan's avatar
      Declare WorkbookControlComponent and WorkbookControlStandalone. · 2ce4773c
      Jon Kåre Hellan authored
      * src/gui-gnumeric.h: Declare WorkbookControlComponent and
      WorkbookControlStandalone.
      
      * GNOME_Gnumeric.server.in.in: Add gnumeric-component /
      OAFIID:GNOME_Gnumeric_Factory
      
      * 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
      component.
      
      * src/main-application.c: New file: Main entry point for
      standalone application.
      2ce4773c
  28. 14 Apr, 2002 1 commit
  29. 18 Mar, 2002 1 commit
    • Morten Welinder's avatar
      Add code to share cells in workbook. · a5b08896
      Morten Welinder authored
      2002-03-18  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook-control-gui.c (cb_workbook_debug_info): Add code to
      	share cells in workbook.
      
      	* src/main.c: Add --debug_share=1 option.
      
      	* src/expr.c (expr_list_eq): New function.
      	(expr_tree_sharer_new, expr_tree_sharer_destroy)
      	(expr_tree_sharer_share): New functions.
      
      	* src/position.c (cellref_hash): New function.
      
      	* src/value.c (value_hash): New function.
      a5b08896
  30. 06 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      flag inter-{sheet,book} references. (link_cellrange_dep) : ditto. · 2f7c4efc
      Jody Goldberg authored
      2002-03-05  Jody Goldberg <jody@gnome.org>
      
      	* src/eval.c (link_single_dep) : flag inter-{sheet,book} references.
      	(link_cellrange_dep) : ditto.
      	(link_expr_dep) : collect the flags.
      	(dependent_link) : and assign them here.
      	(dependent_unlink_sheet) : delete and merge into.
      	(do_deps_destroy) : here.  And use the new inter-{sheet,book} flags to
      	  avoid removing internal links.
      
      	* src/sheet.c (sheet_destroy_contents) : depends are now handled
      	  outside this routine add a precondition.
      
      	* src/main.c : delete style_debugging.
      
      	* src/clipboard.c (clipboard_copy_range) : suppress warning.
      2f7c4efc
  31. 23 Jan, 2002 1 commit
  32. 27 Nov, 2001 1 commit
  33. 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
  34. 01 May, 2000 2 commits
    • Jody Goldberg's avatar
      ExprName -> NamedExpression ArrayRef -> ExprArray · 8d168628
      Jody Goldberg authored
      
      2000-05-01  Jody Goldberg <jgoldberg@home.com>
      
      	* ExprName -> NamedExpression
      	  ArrayRef -> ExprArray
      
      	change ExprTree to be a union of similar types and split
      	the elements into discrete types.
      	    ExprConstant
      	    ExprFunction
      	    ExprUnary
      	    ExprBinary
      	    ExprName
      	    ExprVar
      	    ExprArray
      
      	    expr->oper -> expr->any.oper
      
      2000-04-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/value.c (value_new_empty) : Don't allocate any memory.
      	(value_release) : Don't free any either.
      
      	* src/sheet-style.c (border_check) : Init outer_style to remove a
      	  warning.
      8d168628
    • Morten Welinder's avatar
      () -> (void). · 14e1f2ab
      Morten Welinder authored
      14e1f2ab
  35. 20 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Reorg cell contents and assignment. · bedb925b
      Jody Goldberg authored
      Fixs lots of usability details.
      
      2000-04-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c : Use the edit_pos as the example
      	  not the top left corner.
      
      	* src/functions/fn-stat.c (gnumeric_ftest) : Use eval_pos_cellref
      	  to help localize the strangeness.
      	(gnumeric_ttest) : Ditto.
      
      	* src/xml-io.c (xml_write_cell_and_position) : If this is an array
      	  expression and we are the top left then add attributes to indicate
      	  size of array.  Ignore the rest of the array.
      	(xml_not_used_old_array_spec) : New routinr to handle the old array format.
      	(xml_cell_set_array_expr) : store an array.
      	(xml_read_cell) : Handle the old and the new array formats.
      
      	* src/workbook.c (workbook_close_if_user_permits) : Accept input
      	  first.
      	(wb_edit_key_pressed) : Handle array formulas here.
      	(workbook_detach_sheet) : Do not recalc all if we are exiting.
      	(workbook_start_editing_at_cursor) : When we start editing an
      	  array formula display just the formula not all the extra {}()[][] crap.
      
      	* src/sheet.c (SheetPrivate) : Add a recompute_spans flag.
      	(sheet_calc_spans) : New routine.
      	(sheet_cell_calc_span) : New routine.
      	(sheet_range_calc_spans) : Renamed and extended from
      	  sheet_cells_update.
      	(sheet_update) : Use sheet_calc_spans when necessary.
      	  Update the location region when the edit_pos changes.
      	(cb_recalc_spans_in_col) : Renamed from cb_collect_cells_in_col.
      	  Recalcs spans directly, no need to collect first.
      	(cb_set_cell_content) : New routine to set expr, or expr_and_value.
      	(sheet_range_set_text) : Use cb_set_cell_content, and remember
      	  chosen format with the cell rather than overriding the assigned
      	  format.
      	(sheet_cell_set_text) : Renamed from sheet_set_text.  Be more specific
      	  about how spans, rendering and the rest are handled.
      	(sheet_cell_set_expr) : New routine.
      	(sheet_cell_set_value) : Ditto.
      	(sheet_load_cell_val) : When displaying an array formula add {%s}()[][].
      	(sheet_redraw_cell_region) : Honour spans when redrawing.
      	(sheet_redraw_partial_row) : New routine.
      	(sheet_redraw_cell) : Ditto.
      	(sheet_is_cell_array) : Use cell_is_array.
      	(sheet_range_splits_array) : Renamed from sheet_check_for_partial_array.
      	(sheet_cell_add_to_hash) :  Do not touch spans at this point.
      	(sheet_cell_insert) : Rename from sheet_cell_add made recalc span
      	  optional.
      	(sheet_cell_new) : New routine that does not touch spans.
      	(sheet_cell_remove) : Made redraw optional.
      	(cb_clear_cell_comments) : Remove the cell if there is no comment.
      	(sheet_clear_region) : Remove the cell if there are no comments or
      	  contents.  Flag an update of the status region.
      
      	* src/sheet-view.c (cb_colrow_resize) : New function.
      	(sheet_view_col_size_changed) : Resize all rows, irrespective of
      	(sheet_view_row_size_changed) : existing cells.
      	(sheet_view_redraw_cell_region) : This no longer honours spans.
      
      	* src/sheet-style.c (sheet_style_attach) : Removed call to redraw.
      	sheet_cells_update : rename to sheet_range_calc_spans and move to
      	  sheet.c.
      
      	* src/sheet-autofill.c (autofill_cell) : Use sheet_cell_set_value
      	  rather than set_text.
      
      	* src/selection.c (sheet_selection_changed_hook) : Delete.
      	(sheet_selection_extend_to) : Update the status region to display the
      	  new size.
      	(sheet_selection_cut) : Use sheet_range_splits_array.
      	(selection_check_for_array) : New routine.
      
      	* src/parser.y : Remove icky array formula parsing that conflicted
      	  with array entries.
      
      	* src/number-match.c (format_match) : Return a Value * rather than a
      	  double.
      
      	* src/mstyle.c (mstyle_set_font_size) : Do not allow font sizes < 1.
      
      	* src/main.c (gnumeric_main) : Do NOT create an empty workbook
      	  then delete it if things are successfully loaded.  This causes
      	  a global recalc.  Instead add a flag to disable exit when the
      	  number of workbooks go to zero.  Then only enable the flag AFTER
      	  we have attempted to load the initial workbooks.
      
      	* src/item-grid.c (item_grid_event) : Update the status_region when
      	  button-1 is release.  It should display the edit_pos.
      
      	* src/gutils.c : Move cell_name, col_name, col_from_name,
      	  parse_cell_name, parse_cell_name_or_range and parse_cell_name_list,
      	  to parse-util.c.
      
      	* src/gnumeric.h  : Add RenderedValue.
      
      	* src/gnumeric-util.c (gnumeric_char_start_expr_p) : Move
      	  to parse-util.c
      
      	* src/file.c (workbook_read) : Remove freese thaw usage.
      	  Move call to update AFTER mark clean.
      
      	* src/expr.c (eval_pos_init) : Take a cellpos.
      	(parse_pos_evalpos) : New routine.
      	(eval_pos_cellref) : There is some questionable code scattered in the
      	  functions.  This routing localizes the odd bits for correction.
      
      	* src/eval.c (cell_eval_content) : Use sheet_redraw_cell,
      	  and rendered_value_calc_size.
      	(cell_get_dependencies) : Improve constness.
      
      	* src/corba-sheet.c : Remove the freeze thaw operations.
      	(Sheet_cell_set_formula) : Deleted.
      	(Sheet_range_set_formula) : Delete.
      
      	* src/commands.c : Adjust so that registration of command auto
      	  calls redo.  Add misc checks for splitting arrays.
      
      	* src/clipboard.h : Move the CellCopy types here from cell.h
      
      	* src/clipboard.c (paste_cell) : Use cell_has_expr.
      	  Don't insert the new cell till after its contents are assigned.
      
      	* src/cellspan.c (cell_register_span) : Improve constness.
      	(cell_unregister_span) : Ditto.
      	(row_cell_get_displayed_at) : Delete.
      	(cell_calc_span) : Moved here from cell.c
      
      	* src/dialogs/dialog-stf.glade : Adjust the header background colour
      	  to match the purdy new icon.  Add the icon.
      
      	* src/cell-draw.c : Use the rendered_value routines.
      	  Improve constness.
      
      	* src/analysis-tools.c (set_cell) : Use sheet_cell_fetch.
      
      	*.*
      	    cell_set_* -> sheet_cell_set_
      	    cell_set_*_simple -> cell_set_
      	    Cell::{row,col} -> Cell::{row,col}_info
      	    cell_get_text -> cell_get_entered_text
      	    cell_get_content -> cell_get_entered_text
      	    cell_name -> cell_coord_name
      	    cell_get_formatted_val -> cell_get_rendered_text
      	    cell_get_content -> cell_get_entered_text
      
      	* src/cell.c :
      	(cell_dirty) : Renamed from cell_modified.  Use
      	  sheet_set_dirty.
      	(cell_formula_changed) : Make the queuing of the recalc optional.
      	(cell_cleanout) : Handle union of expression and entered_text,
      	  and remove the rendered value.
      	(cell_copy) : Ditto.
      	(cell_destroy) : handle cell_modified -> cell_dirty.
      	(cell_set_text) : Use parse_text_value_or_expr and store the prefered
      	  format.
      	(cell_set_text_and_value) : New routine.
      	(cell_assign_value) : New routine.
      	(cell_set_value) : Support formats.
      	(cell_set_expr_and_value) : New routine.
      	(cell_set_expr_internal) : Split from cell_set_expr.
      	(cell_set_expr) : Divide to allow for not queuing a recalc.
      	(cell_set_array_formula) : Use cell_set_expr_internal.
      	(cell_is_array) : New utility.
      	(cell_is_partial_array) : New utility.
      	(cell_has_expr) : New utility.
      	(cell_render_value) : Use rendered_value_*.
      	Move all comment routines into cell-comment.[ch].
      
      	* idl/Gnumeric.idl : Remove cell_set_formula, and range_set_formula.
      	  These were identical to set_text.  Made Workbook embeddable.
      bedb925b
  36. 30 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Fix Bug 7948 Fix · 94481728
      Jody Goldberg authored
      Fix Bug 7948
      Fix http://www.gnome.org/mailing-lists/archives/gnumeric-list/2000-March/0073.shtml
      
      2000-03-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c (cb_font_changed) : Use the size
      	  from the selector rather than the display size with is zoom and
      	  resolution dependant.
      
      	* src/main.c (has_gnumeric_been_compiled_with_guile_support) :
      	  A little test to circumvent the problems associated with the guile
      	  pluging requiring changes to gnumeric's main().
      94481728
  37. 24 Mar, 2000 1 commit
  38. 05 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      - Strike through - initial format dialog support for underline and · 7f8319da
      Jody Goldberg authored
      - Strike through
      - initial format dialog support for underline and strikethrough.
      - Printing of underlines and strikethroughs.
      
      2000-03-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c : Enable the underline and
      	  strikethrough elements. TODO : redo the preview for the font
      	  tab to support underlining and friends.
      
      	* src/dialogs/cell-format.glade : Rename the underline combo and
      	  strikethrough button.
      
      	* src/xml-io.c (xml_write_style) : Add strikethrough.
      	(xml_read_style) : Ditto.
      
      	* src/workbook-format-toolbar.c (workbook_feedback_set) : Only show
      	  the underline button for single underlines.
      
      	* src/sheet-view.[ch] : rename select_all -> select_all_btn.
      	  remove unused element.
      
      	* src/sheet-object.h : Remove silly self inclusion.
      
      	* src/print-cell.c : Support underlining and strikethrough.
      	  Move even closer into sync with drawing code.
      
      	* src/mstyle.c : Add strikethrough and cleanup includes.
      
      	* src/main.h : Add include for popt.h.
      
      	* src/item-grid.c (item_grid_draw_border) : No more need for BOTTOM or
      	  RIGHT.
      	(item_grid_draw_cell) : Delete, and merge with draw_cell.
      
      	* src/commands.c (cmd_set_text_undo) : Use cursor_set rather than
      	  cursor_move.
      	* src/corba-sheet.c (Sheet_cursor_move) : Ditto.
      	(gnumeric_sheet_key_mode_sheet) : Ditto.
      	* src/workbook.c (workbook_parse_and_jump) : Ditto.
      
      	* src/cell-draw.c : Clean includes, add support for strikethrough.
      7f8319da