1. 09 Jul, 2003 1 commit
    • Jody Goldberg's avatar
      add spinbutton · f269c245
      Jody Goldberg authored
      2003-07-08  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_setup_icons) : add
      	  spinbutton
      
      	* src/pixmaps/Makefile.am : Add spin button and use the icons from
      	  glade for button and radio button.
      f269c245
  2. 24 Jun, 2003 1 commit
    • Morten Welinder's avatar
      New function. · 89181f43
      Morten Welinder authored
      2003-06-24  Morten Welinder  <terra@gnome.org>
      
      	* src/application.c (application_get_pixbuf): New function.
      
      	* src/pixmaps/Makefile.am (VARIABLES): Extra gnm_cursor_cross from
      	gui-util.c.
      
      	* src/sheet-control-gui.c (scg_set_display_cursor): Use
      	gnm_widget_set_cursor methods.
      
      	* src/item-grid.c (cb_cursor_motion): Use
      	gnm_pane_mouse_cursor_set.
      
      	* src/gnumeric-pane.h (GnumericPane): Replace cursor_type member
      	by mouse_cursor.
      
      	* src/gnumeric-pane.c (gnm_pane_release): Free mouse_cursor.
      	(gnm_pane_mouse_cursor_set): New function.
      
      	* src/gui-util.c (gdk_cursor_new_from_pixbuf)
      	[!HAVE_GDK_CURSOR_NEW_FROM_PIXBUF]: New function.
      	(CursorDef, cursor_cross_xpm, gnm_cursor_init1, gnm_cursor_create,
      	gnm_cursor_set_widget): Delete.
      	(gnm_widget_set_cursor_type): Rename from gnm_widget_set_cursor.
      	All callers changed.
      	(gnm_widget_set_cursor): New function.
      	(gnm_fat_cross_cursor): New function.
      
      	* configure.in: Check for gdk_cursor_new_from_pixbuf.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	Use application_get_pixbuf to get icons for color_combo_new.
      
      2003-06-24  Morten Welinder  <terra@gnome.org>
      
      	* dialog-sheet-order.c (dialog_sheet_order): Use
      	application_get_pixbuf to get icon for color_combo_new.  Don't
      	include all the pixbufs.
      
      2003-06-24  Morten Welinder  <terra@gnome.org>
      
      	* widget-color-combo.c (color_combo_construct, color_combo_new):
      	No longer eat a reference to the icon.  All callers changed.
      89181f43
  3. 22 Jun, 2003 1 commit
    • Jody Goldberg's avatar
      vary style by element handled in plot now. (gog_pie_plot_get_property) : · f0eddd3f
      Jody Goldberg authored
      
      2003-06-22  Jody Goldberg <jody@gnome.org>
      
      	* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_set_property) : vary
      	  style by element handled in plot now.
      	(gog_pie_plot_get_property) : ditto.
      	(gog_pie_plot_cardinality) : deleted.
      	(gog_pie_plot_foreach_elem) : doh!  USe the label we just calculated.
      	(gog_pie_view_render) : implement general extracted slices.
      
      	* graph/gog-theme.c (gog_theme_get_name) : new util.
      
      	* graph/gog-style.c : Implement the hooks for serialization but have
      	  not actually written them yet.
      
      	* graph/gog-series.c (gog_series_editor) : add a notebook wrapper to
      	  allow changing style and data.
      	(gog_series_init) : set GogObject::use_parent_as_proxy flag.
      	(gog_series_dataset_dims) new.
      
      	* graph/gog-plot.c (gog_plot_set_property) : handle the
      	  'vary_style_by_element' at this level.
      	(gog_plot_get_cardinality) : ditto.
      
      	* graph/gog-object.c (gog_object_emit_changed) : Add
      	  'use_parent_as_proxy' utility to make life easier for things like
      	  series that will not have individual views.  This will fire a
      	  changed signal from their plots.
      
      	* graph/gog-legend.c (gog_legend_parent_changed) : new.  ensure we get
      	  updated when chart cardinality changes.
      	(gog_legend_update) : new.
      
      	* graph/gog-label.c (gog_label_editor) : fix.
      	(gog_label_class_init) : fix.
      	(gog_label_dims) : added to handle the extension to dataset interface.
      
      	* graph/gog-guru.glade : remove frame wrapping the prop notebook.
      
      	* graph/gog-guru.c (prop_notebook_set_current_page) : new util.
      	  to cleanup the handling of prop pages.  Only show the border if the
      	  prop page is not a notebook.  This keeps the layout visually
      	  similar in both cases.
      	(cb_select_prop_page) : use it here.
      	(cb_attr_tree_selection_change) : and here.
      	(graph_guru_type_selector_new) : remove the useless notebook wrapping
      	  the type selector.  It gives us more space and forces an initial
      	  selection.
      
      	* graph/gog-graph.c (gog_graph_set_property) : add a 'theme-name'
      	  property to facilitate serialization.
      
      	* graph/gog-data-allocator.c (gog_dataset_dims) : extension to the
      	  dataset interface to facilitate serialization.
      
      	* graph/gog-chart.c (gog_chart_get_property) : new.  Needed a way to
      	  signal that the cardinality had changed, and a read only property
      	  with a notify handler seemed cleaner than a stand alone signal.
      	  Looking back at that decision, it seems ugly.  Might revisit this
      	  later.
      
      	* graph/gog-axis.c : hook up the dataset interface to prepare for
      	 serializing all the flags.
      
      	* graph/go-data-impl.h (GOData) : extend interface to require a
      	  'from_str' operation to allow serialization to xml.
      	* graph/go-data.c (go_data_from_str) : wrapper.
      
      	* graph/Makefile.am : Add gog-object-xml.[ch]
      
      2003-06-14    Jean Brefort <jean.brefort@ac-dijon.fr>
      
      	* graph/gog-style.c (gog_style_editor): move a bad placed g_signal_connect
      	* graph/gog-style.c (gog_style_copy): duplicate filename if useful
      	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon):
      	  added missing white spaces (purely cosmetic)
      	* graph/gog-renderer-pixbuf.c (go_color_to_artpix): removed static
      	* graph/gog-renderer-gnome-print.c (gog_renderer_gnome_print_draw_polygon):
      	  added image and gradient support
      
      2003-06-13  Jon K Hellan  <hellan@acm.org>
      
      	* graph/gog-style.c (gog_style_editor) : Use the new
      	color_combo_set_instant_apply flag.
      
      
      2003-06-22  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object.c (sheet_object_register) : register the graph
      	  types to allow loading.
      
      	* src/sheet-object-graph.c (sheet_object_graph_read_xml) : enable.
      	(sheet_object_graph_write_xml) : enable.
      
      	* src/graph.c (gnm_go_data_from_str) : new utility shared by vector
      	  and scalar that can parse, and handle delaying the parse until the
      	  data source is linked to a sheet to provide context.
      	(gnm_go_data_set_sheet) : ditto.
      	(gnm_go_data_scalar_from_str) : new requirement for interface.
      	(gnm_go_data_scalar_set_sheet) : use gnm_go_data_set_sheet.
      	(gnm_go_data_vector_from_str) : new requirement for interface.
      	(gnm_go_data_vector_set_sheet) : use gnm_go_data_set_sheet.
      
      	* src/application.c (application_history_add) : GObject::notify seems
      	  to prefer hyphens to underscores.
      	(gnumeric_application_class_init) : ditto.
      
      2003-06-18  Jody Goldberg <jody@gnome.org>
      
      	* src/hlink.c (gnm_hlink_cur_wb_activate) : jump to the target sheet,
      	  not the current sheet.
      f0eddd3f
  4. 09 Jun, 2003 1 commit
    • Jody Goldberg's avatar
      no more accel member. (dialog_tool_init) : no need to parse labels for · b2a9fdb6
      Jody Goldberg authored
      2003-06-09  Jody Goldberg <jody@gnome.org>
      
      	* dialog-analysis-tools.c (tool_destroy) : no more accel member.
      	(dialog_tool_init) : no need to parse labels for accelerators anymore
      	  just set the label's mnemonic widget.
      
      2003-06-09  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_finalize) : patch a leak.
      b2a9fdb6
  5. 06 Jun, 2003 2 commits
    • Morten Welinder's avatar
      Gripe. · 102ab9d3
      Morten Welinder authored
      102ab9d3
    • Jody Goldberg's avatar
      use connect_swapped to get rid of the unused argument · 3dba5fbc
      Jody Goldberg authored
      
      2003-06-05  Jody Goldberg <jody@gnome.org>
      
      	* dialog-plugin-manager.c (cb_pm_button_rescan_directories_clicked) :
      	  use connect_swapped to get rid of the unused argument
      	(cb_pm_button_directory_add_clicked) : merge in pm_add_dir
      	  and clarify the ownership of the lists and manually
      	  reload the directories for now.  Eventually we should
      	  just monitor the notify signal of something.
      	(cb_pm_button_directory_delete_clicked) : merge in pm_delete_dir
      	  and clarify the ownership of the lists and manually
      	  reload the directories for now.  Eventually we should
      	  just monitor the notify signal of something.
      	(cb_dir_changed_notification) : delete.
      
      	* dialog-paste-special.c (dialog_paste_special) : begin transition
      	  from modal dialog by moving the calls to cmd_paste_to_selection here.
      
      	* dialog-printer-setup.c : remove some deprecation.
      
      
      2003-06-05  Jody Goldberg <jody@gnome.org>
      
      	* src/plugin.c (gnumeric_extra_plugin_dirs) : clarify the ownership of
      	  the lists.
      	(plugins_init) : ditto.
      	(plugins_shutdown) : ditto.
      
      	* src/application.c (application_history_get_list) : const the output
      	  to be clear on the ownership semantics.  Add a 'force_reload'
      	  argument to force the list to reload and clip from the underlying
      	  gconf source.  Should not be necessary later when we clear up the
      	  relationship between application, and the config.
      	(application_history_update_list) : deleted.
      	(application_history_add) : new.  merge in some of the old
      	  application_history_update_list, and some of the history_menu stuff
      	  and emit a notifuy even on the newly created file_history_list
      	  property of the application.  We should do the same for other
      	  properties rather than requiring direct gconf connections.
      	(application_history_list_shrink) : delete.
      	(application_history_write_config) : delete.
      	(gnumeric_application_get_property) : new.
      	(gnumeric_application_class_init) : install the property.
      
      	* src/workbook.c (workbook_finalize) : Just call
      	  application_history_add directly rather than
      	  workbook_history_update that was a pointless layer of indirection.
      	  No need to directly call application_history_write_config
      	  history_add handles that.
      
      	* src/sheet-object-widget.c (sheet_widget_list_create_widget) : If
      	  we're going to throw in a stub widget, it might as well a treeview
      	  rather than a deprecated list widget.
      
      	* src/workbook.c (workbook_history_update) : delete the vast majority
      	  of this moving what little remained into.
      
      	* src/history.c : delete everything but history_item_label.
      	  greatly simplify the logic and move the majority of it into.
      	* src/workbook-control-gui.c : here.  While we're at it simplify our
      	  lives in preparation for turning the bonobo mess into virtuals on
      	  wbcg.  Use a simpler approach to creation and removal that let
      	    - monitors the application::notify::file-history-list rather than
      	      requiring explicit calls from a non-gui layer.
      	    - removes everything even the seperator then reinserts the new
      	      entries.
      	(wbcg_file_history_setup) : renamed from wbcg_history_setup.
      	(change_menu_label) : Use gtk_label_set_text with use_underline
      	  set to true in place of the deprecated parse_uline gunk.  While
      	  we're in here set the tooltip too.  Its a hack, setting the data
      	  directly based on knownledge of the implementation in libgnomeui.
      	  However, there aren't many choices other than fixing libgnomeui
      	  which is just too long a wait.
      	(cb_edit_paste_special) : move call to cmd_paste_to_selection in to
      	  the dialog like every other implemntation.
      	(wbcg_finalize) :  Use g_signal_handlers_disconnect_by_func in place
      	  of the deprecated gtk_signal_disconnect_by_func.
      	(workbook_setup_sheets) : Use gtk_notebook_set_show_border (FALSE) in
      	  place of the deprecated gtk_notebook_set_tab_border (0).
      	(workbook_control_gui_init) : use allow_grow, and allow_shrink
      	  properties in place of deprecated gtk_window_set_policy.  And
      	  g_idle_add, in place of deprecated gtk_idle_add.
      
      	* src/sheet-control-gui.c (context_menu_handler) :
      	  dialog_paste_special now calls cmd_paste_to_selection itself
      	  like all the other dialogs.
      
      	* src/gutils.c (g_slist_map) : constify to make life easier.
      
      	* src/gnumeric-pane.c : some minor property renaming in the custom
      	  canvas-items when we removed the deprecated gunk.
      	* src/item-bar.c : remove deprecated GtkArg gunk in favour of
      	  GObject::Param stuff.
      	* src/item-grid.c : ditto.
      
      	* src/gnumeric-gconf.h : Make the public GSLists const just to be
      	  absolutely clear about who owns what.
      
      	* src/gnumeric-gconf.c (gnm_gconf_set_plugin_extra_dirs) : make list
      	  ownership semantics absolutely clear.
      	(gnm_gconf_set_plugin_extra_dirs) : ditto.
      	(gnm_gconf_set_file_history_files) : ditto.
      	(gnm_gconf_add_notification_plugin_directories) : delete unused.
      	(gnm_gconf_set_autoformat_extra_dirs) : delete unused.
      
      	* src/gnumeric-gconf-priv.h : no need to publicly include gconf anymore
      3dba5fbc
  6. 22 Apr, 2003 1 commit
  7. 12 Apr, 2003 1 commit
    • Jody Goldberg's avatar
      fix the background transparency. Use g_type_class_peek_parent and tidy up · 523bc7d6
      Jody Goldberg authored
      
      2003-04-12  Jody Goldberg <jody@gnome.org>
      
      	* icons/chart* : fix the background transparency.
      	* *.c : Use g_type_class_peek_parent and tidy up upchaining a bit
      	  to be more consistent across all classes.
      
      	* schemas/Makefile.am :  no need to install or translate the
      	  plot-types file those are migrating to the plot plugins.
      523bc7d6
  8. 30 Dec, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Pass filename to cmd_context_get_password. · a877cea1
      Jon Kåre Hellan authored
      * plugins/excel/ms-excel-read.c (excel_read_workbook): Pass filename to
      cmd_context_get_password.
      
      * src/dialogs/Makefile.am (base_files): Add dialog-password.c
      
      * src/dialogs/dialog-password.c: Add.
      (cb_accept_password): Moved from workbook-control-gui.c.
      (dialog_get_password): New function with material taken from
      wbcg_get_password in workbook-control-gui.c.
      
      * src/application.c (gnumeric_application_setup_icons): Add
      Gnumeric_Protection_Yes_Dialog.
      
      * src/pixmaps/protection_yes_48.png: Add.
      
      * src/pixmaps/Makefile.am:  Add protection_yes_48.png.
      
      * src/workbook-control-gui.c (cb_accept_password): Move to
      dialogs/dialog-password.c.
      (wbcg_get_password): Most of it moved to dialog_get_password in
      dialogs/dialog-password.c.
      
      * src/io-context-gtk.c (icg_get_password): New function which
      implements CommandContext::get_password.
      (icg_class_init): Connect icg_get_password.
      
      * src/command-context-priv.h (CommandContextClass.get_password):
      Ditto.
      
      * src/command-context-stderr.c (ccs_get_password): Ditto.
      
      * src/workbook-control-component.c (wbcc_get_password): Ditto.
      
      * src/io-context.c (ioc_get_password): Ditto.
      a877cea1
  9. 05 Dec, 2002 2 commits
  10. 29 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      Add include for gsf-output.h (applix_write) : tidy up the constness. · 4152a7f6
      Jody Goldberg authored
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* applix-write.c : Add include for gsf-output.h
      	(applix_write) : tidy up the constness.
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW1) : make view const
      	(excel_write_state_new) : ditto.
      
      	* ms-excel-read.c (excel_prepare_autofilter) : new.
      	(excel_read_NAME) : handle autofilters.
      
      	* ms-escher.c (ms_escher_read_ClientTextbox) : store the text.
      
      	* plugins/excel/boot.c (excel_save) : make the view const not the
      	  output.
      	(excel_dsf_file_save) : ditto.
      	(excel_biff8_file_save) : ditto.
      	(excel_biff7_file_save) : ditto.
      
      2002-11-26  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
      	  utilities.
      
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : add auto
      	  filter.
      	(cb_auto_filter) : initial quicky implementation.
      	(cb_data_pivottable) : ditto.
      	(workbook_control_gui_init) : init the autofilter.
      
      	* src/value.c (value_equal) : new util.
      	(value_cmp) : new.
      
      	* src/style-color.c (gnumeric_color_init) : add green.
      
      	* src/stf.c : quiet a few warnings.
      
      	* src/sheet.c (sheet_new) : init filters and pivots.
      	(sheet_destroy_contents) : free the filters and pivots.
      	(sheet_range_calc_spans) : no one sets NO_DRAW so don't check for it.
      	(sheet_cell_calc_span) : ditto.
      
      	* src/sheet-view.c (sv_edit_pos_in_filter) : new.
      
      	* src/sheet-object.c (sheet_object_print) : no warning if the object
      	  does not print.
      	(sheet_object_clone) : nor is it a problem if it can not be cloned.
      
      	* src/sheet-object-widget.c (sheet_widget_button_set_label) : new.
      	(sheet_widget_checkbox_set_label) : new.
      	(cb_checkbox_config_cancel_clicked) :use sheet_widget_checkbox_set_label
      	(cb_checkbox_label_changed) : ditto.
      	(sheet_widget_radio_button_finalize) : free the label.
      	(sheet_widget_radio_button_set_label) : new.
      
      	* src/ranges.c (setup_range_from_value) : remove ugly release argument.
      	(setup_range_from_range_ref) : ditto.
      	(value_to_global_range) : take a GlobalRange as an arg.  No need to
      	  allocate the result.
      
      	* src/item-bar.c (item_bar_realize) : create a GC for filtered regions
      	(item_bar_unrealize) : free it.
      
      	* src/io-context.c (workbook_io_progress_set) : const the workbook.
      
      	* src/gnumeric.h : Add GnmFilter.
      	  Remove unused SPANCALC_NO_DRAW.
      
      	* src/file.c (gnum_file_saver_save_real) : view is const not output.
      	(gnum_file_saver_save) : ditto.
      
      	* src/file-priv.h (save) : view is const not output.  delete save to
      	  stream.
      
      	* src/consolidate.c (consolidate_set_destination) : adjust to less
      	  silly interface to setup_range_from_value.
      	(consolidate_add_source) : ditto.
      
      	* src/pixmaps/Makefile.am : add the pivottable icons
      	* src/application.c (gnumeric_application_setup_icons) : ditto.
      
      	* src/Makefile.am : add pivot table stub and auto filter
      	  implementation
      
      2002-11-28  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-name.c (sheet_names_get_available) : document.
      	(cb_get_names) honour is_hidden.
      	(expr_name_new) : init is_hidden.
      4152a7f6
  11. 06 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      enable excel97 · 558cefd3
      Jody Goldberg authored
      
      2002-11-05  Jody Goldberg <jody@gnome.org>
      
      	* plugin.xml.in : enable excel97
      
      	* ms-excel-write.c (excel_write_value) : use BIFF8 SST records.
      	(excel_write_state_free) : clean up SST here.
      	(excel_write_state_new) : shared routine for biff7 and biff8.
      	(excel_utf8_has_multibyte) : quicky utility.
      	(excel_write_SST) : initial basic implementation still needs unicode
      	  support.
      	(excel_write_BOF) : renamed from biff_bof_write and sync versions with
      	  XL 2k.
      
      2002-11-04  Jody Goldberg <jody@gnome.org>
      
      	* boot.c (excel_save) : prep for biff8 save, and double stream files.
      
      	* ms-excel-read.c (excel_read_XF) : fix rotation.
      	(excel_read_SST) : improve debug info.
      
      	* ms-excel-write.c (write_xf_record) : write the BIFF8 support.
      	(rotation_to_excel) : new.
      
      
      2002-11-06  Jody Goldberg <jody@gnome.org>
      
      	* src/item-*, src/*canvas* : convert to foocanvas
      
      	* src/application.c (gnumeric_application_setup_icons) : Use new
      	  scaled pngs for formula guru.
      	* src/pixmaps/Makefile.am : ditto.
      
      	* src/plugin.c (plugin_info_read) : add 'require_explicit_enabling' flag
      	  so that we don't auto enable specialized plugins.
      
      	* src/plugin-service.c (input_file_save_info_read) : delete.
      	(plugin_service_file_opener_read_xml) : don't call it here.
      	(gnum_plugin_file_opener_open) : And don't try to use it here.
      	  It is not useful to hard code the saver if the importer can handle
      	  multiple versions of the format.  Only the import process will know
      	  enough to be able to select the appropriate exporter.
      
      	* src/item-cursor.c (item_cursor_tip_setlabel) : simplify.
      	* src/auto-format.c : tidy up includes.
      558cefd3
  12. 04 Nov, 2002 1 commit
  13. 01 Nov, 2002 1 commit
  14. 15 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      support for recalc and iteration attributes. · b24361f0
      Jody Goldberg authored
      2002-10-14  Jody Goldberg <jody@gnome.org>
      
      	* dialog-workbook-attr.c : support for recalc and iteration
      	  attributes.
      
      
      2002-10-14  Jody Goldberg <jody@gnome.org>
      
      	* src/commands.c (update_after_action) : quick and dirty support for
      	  manual recalc.
      	(cmd_paste_cut_update_origin) : ditto.
      b24361f0
  15. 05 Oct, 2002 1 commit
  16. 02 Oct, 2002 1 commit
  17. 01 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      hook up the hyperlink dialog. · cd605b70
      Jody Goldberg authored
      
      2002-10-01  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_hyperlink) : hook up the
      	  hyperlink dialog.
      
      	* src/sheet-control-gui.c (context_menu_handler) : adjust to new
      	  calling convention for dialog_hyperlink.
      
      2002-09-30  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_setup_icons) : add the new
      	  icons.
      	* src/pixmaps/Makefile.am : add the new protection icons
      
      2002-09-30  Jody Goldberg <jody@gnome.org>
      
      	Patch from : dorami@bu.iij4u.or.jp
      	* src/gnumeric-canvas.c : re-enable IM support.
      
      2002-09-30  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_editline_focus_in) : give the entry a
      	  chance to handle the focus-in too.
      cd605b70
  18. 30 Sep, 2002 1 commit
  19. 20 Sep, 2002 1 commit
    • Jody Goldberg's avatar
      normalize the result range. · 018f2466
      Jody Goldberg authored
      2002-09-19  Jody Goldberg <jody@gnome.org>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_get_rangesel) : normalize the
      	  result range.
      
      2002-09-20  Jody Goldberg <jody@gnome.org>
      
      	* src/print.c : revert to gnome-2-0 versions of gnome-print
      
      	* src/application.c (gnumeric_application_setup_icons) : Add jimmac's
      	  new hyperlink icons.
      	* src/pixmaps/Makefile.am : ditto.
      
      	* src/Makefile.am : remove the extra BONOBO libs that is now handled
      	  correctly in configure.
      
      	* configure.in : Prep for graphs
      	    --with-graphs defaults to guppi, but can also be gtkextra-2
      	    tidy up the compile/link line by being smarter, and merging in
      	    the bonobo specific libs earlier
      	    Enforce a gnome-2-0 limit on the printing libraries
      018f2466
  20. 17 Sep, 2002 3 commits
    • Jody Goldberg's avatar
      fix typo. · c3c01347
      Jody Goldberg authored
      
      2002-09-17  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (application_workbook_list_remove) : fix typo.
      c3c01347
    • Jody Goldberg's avatar
      use NONE__POINTER rather than NONE_OBJECT so that we can remove the · 0e9a694d
      Jody Goldberg authored
      
      2002-09-17  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_class_init) : use
      	  NONE__POINTER rather than NONE_OBJECT so that we can remove the
      	  workbook during finalization.
      0e9a694d
    • Jody Goldberg's avatar
      no need to handle bonobo ness here. we have signals now so things can be · db10dc61
      Jody Goldberg authored
      
      2002-09-17  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_init) : no need to handle bonobo ness here.
      	  we have signals now so things can be moved elsewhere.
      
      	* src/gnm-marshalers.list : add NONE:OBJECT
      
      	* src/bonobo-io.c : copy over remnants from workbook-private.
      	* src/workbook-private.[ch] : delete
      
      	* src/application.c (application_workbook_list_add) : emit signal.
      	(application_workbook_list_remove) : emit signal.
      	(application_workbook_list) : move workbook list into Application.
      	(application_workbook_foreach) : ditto.
      	(gnumeric_application_class_init) : add signals.
      
      2002-09-17  Jody Goldberg <jody@gnome.org>
      
      	* src/print.c (sheet_print) : tweak so that things compile again.
      db10dc61
  21. 09 Sep, 2002 1 commit
    • Jody Goldberg's avatar
      convert to unicode. (autocorrect_set_exceptions) : convert to ucs4 · 090ff0e7
      Jody Goldberg authored
      2002-09-09  Jody Goldberg <jody@gnome.org>
      
      	* auto-correct.c (autocorrect_tool) : convert to unicode.
      	(autocorrect_set_exceptions) : convert to ucs4 internally.
      	(autocorrect_get_exceptions) : change the memory management semantics
      	  of the result.
      	(autocorrect_get_feature) : init the gconf cache as needed.
      	(autocorrect_store_config) : use a changeset.
      	(cb_autocorrect_update) : Use clear and load.
      	(autocorrect_init) : hook on to the application as data so to handle
      	  destruction in stead of requiring explicit removal.
      	(autocorrect_load) : handle the gconf lookup directly.
      
      
      2002-09-09  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-gconf.c : slim things down and cache the results
      	  locally.
      
      	* src/gutils.c (g_unichar_strchr) : new.
      	(g_unichar_strstr_utf8) : new.
      	(g_unichar_strlen) : new.
      	(g_unichar_strncmp) : new.
      090ff0e7
  22. 26 Aug, 2002 1 commit
    • Jody Goldberg's avatar
      Release 1.1.8 · b06322d1
      Jody Goldberg authored
      
      2002-08-25  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.1.8
      b06322d1
  23. 05 Aug, 2002 1 commit
    • Jody Goldberg's avatar
      move the cursor as expected when Enter is pressed while editing. · 4fa6cae9
      Jody Goldberg authored
      2002-08-04  Jody Goldberg <jody@gnome.org>
      
      	* gnumeric-expr-entry.c (cb_gee_key_press_event) : move the cursor as
      	  expected when Enter is pressed while editing.
      
      
      2002-08-04  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (workbook_setup_edit_area) : no need to
      	  handle activate.  That is too late to do the cursor movement
      	  correctly.
      
      	* src/libgnumeric.c (gnm_shutdown) : don't leak the clipboard on exit.
      
      	* src/cell.c (cb_cell_pool_leak) : new.
      	(cell_shutdown) : use it.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=88057
      	* src/dependent.c (dependent_unlink) : unlink from the correct
      	  position if we are unlinking a cell but the caller passed in a NULL
      	  position.
      4fa6cae9
  24. 08 Jul, 2002 1 commit
    • Jody Goldberg's avatar
      Add GnmHLink. · d6271c90
      Jody Goldberg authored
      
      2002-07-07  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric.h : Add GnmHLink.
      
      	* src/item-grid.c : include hlink.h
      	(item_grid_event) : a button release on an h-link activates it.
      
      	* src/Makefile.am : Add hlink.[ch]
      
      	* src/sheet.h : Lets take a break from architecture and add something
      	  simple like hyper-links.
      d6271c90
  25. 21 Jun, 2002 2 commits
    • Jody Goldberg's avatar
      do not free the clipboard here. It is too late. · bfa63387
      Jody Goldberg authored
      
      2002-06-21  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_finalize) : do not free the
      	  clipboard here.  It is too late.
      bfa63387
    • Andreas J. Guelzow's avatar
      new new (application_clipboard_clear) : emit "clipboard_modified" rather · eb4178dc
      Andreas J. Guelzow authored
      2002-06-21  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/application.h (gnumeric_application_get_app) : new
      	* src/application.c (gnumeric_application_get_app) : new
      	(application_clipboard_clear) : emit "clipboard_modified" rather than
      	  calling wb_control_menu_state_update on each control
      	(application_clipboard_cut_copy) : ditto
      	* src/libgnumeric.c (gnm_common_init) : remove debug spew, no need
      	  to keep an app pointer
      	(gnm_shutdown) : use gnumeric_application_get_app rather than a static
      	  app pointer
      	* src/workbook-control-priv.h : new clipboard_changed_signal field in
      	  WorkbookControl
      	* src/workbook-control.c (cb_wbc_clipboard_modified) : new
      	(wbc_finalize) : disconnect signal handler
      	(workbook_control_init) : new
      eb4178dc
  26. 19 Jun, 2002 3 commits
    • Jody Goldberg's avatar
      Use sv_weak_ref. (application_clipboard_clear) : Use sv_weak_unref. · 4c2722fd
      Jody Goldberg authored
      
      2002-06-19  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (application_clipboard_cut_copy) : Use sv_weak_ref.
      	(application_clipboard_clear) : Use sv_weak_unref.
      
      	* src/workbook-view.c (wb_view_sheet_add) : create the view before
      	  potentially looking for it.
      
      	* src/workbook-edit.c (wbcg_edit_finish) : Accept text with only a
      	  leading expr char as strings, we know they can not be expressions.
      
      	* src/parse-util.c (gnumeric_char_start_expr_p) : be more lenient
      	  about accepting leading '+' as the start of an expression.
      
      	* src/application.c (application_set_selected_sheet) : merge into.
      	(application_clipboard_cut_copy) : here.
      4c2722fd
    • Andreas J. Guelzow's avatar
      gobjectify gobjectify; replace app. with app-> throughout · e092b5ac
      Andreas J. Guelzow authored
      2002-06-19  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/application.h : gobjectify
      	* src/application.c : gobjectify; replace app. with app-> throughout
      	(application_init) : deleted
      	(gnumeric_application_init) : new
      	(gnumeric_application_class_init) : new
      	(application_display_dpi_set) : deleted
      	(application_use_auto_complete) : use gconf
      	(application_live_scrolling) : ditto
      	(application_auto_expr_recalc_lag) : ditto
      	(gnumeric_application_setup_icons) : new
      	(gnumeric_application_finalize) : finalize
      	* src/libgnumeric.c (gnm_common_init) : use new application object
      	(gnm_shutdown) : ditto
      	* src/commands.c (cmd_cell_range_is_locked_effective) : use range type
      	(cmd_dao_is_locked_effective) : new
      	(cmd_sort_redo) : check for locks
      e092b5ac
    • Jody Goldberg's avatar
      no need to unant, that is a view responsibility. · 753f052a
      Jody Goldberg authored
      
      2002-06-19  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_destroy) : no need to unant, that is a view
      	  responsibility.
      
      	* src/sheet-view.c (sv_weakref_notify) : new.
      	(sv_weak_ref) : new.
      	(sv_weak_unref) : new.
      	(sv_unant) : move here from sheet.
      	(sv_ant) : move here from sheet.
      	(sv_selection_copy): from selection.c
      	(sv_selection_cut) : from selection.c
      
      	* src/sheet-control.c (sc_view) : new.
      
      	* src/sheet-control-gui.c (scg_ant) : the animated cursors are now
      	  stored in the view not the sheet.
      	(context_menu_handler) : sync with the workbook control criteria for
      	  enabling paste special.
      
      	* src/selection.c (sheet_selection_copy) : start the process of
      	  migrating to SheetView and move this there.
      	(sheet_selection_cut) : ditto.
      
      	* src/item-cursor.c (item_cursor_do_action) : pass a SheetView.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : pass a
      	  SheetView.
      
      	* src/corba-sheet.c : untested patch to handle views.
      
      	* src/commands.c (cmd_ins_del_colrow_undo) : use the sheetview.
      	(cmd_ins_del_colrow_redo) : ditto.
      	(cmd_ins_del_colrow_finalize) : remove weakref on the view.
      	(cmd_ins_del_colrow) : add a weak ref to the view.
      
      	* src/application.c (application_init) : we store a view now, not just
      	  a sheet.
      	(application_clipboard_clear) : update all workbooks, not just this
      	  one, and store the view.
      	(application_clipboard_unant) : use the view.
      	(application_set_selected_sheet) : the selection is now view based.
      	(application_clipboard_cut_copy) : take a view and remove the crufy
      	  enable_paste_special flag.  That is handled locally.
      	(application_clipboard_is_empty) : handle SheetView.
      	(application_clipboard_is_cut) : ditto.
      	(application_clipboard_sheet_get) : ditto.
      	(application_clipboard_sheet_view_get) : ditto.
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : Use the
      	  current sheet not some magic sheet.
      
      	* src/sheet.c (sheet_new) : delete enable_paste_special.
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : paste special
      	  is for local copies, use the application data rather than a sheet
      	  local flag.
      753f052a
  27. 15 Jun, 2002 1 commit
    • Andreas J. Guelzow's avatar
      add pixmaps change call to cmd_reorganize_sheets · 9e494a52
      Andreas J. Guelzow authored
      2002-06-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/application.c : add pixmaps
      	* src/commands.c (cmd_reorganize_sheets_undo) : change call to
      	  cmd_reorganize_sheets
      	(cmd_reorganize_sheets_redo) : ditto
      	(cmd_reorganize_sheets_finalize) : handle lock lists
      	(cmd_reorganize_sheets) : handle lock lists
      	* src/commands.h (cmd_reorganize_sheets) : change arguments
      	* src/workbook-control-gui.c : change calls to cmd_reorganize_sheets
      	* src/workbook.c (workbook_sheet_reorganize) : handle changed locks
      	* src/workbook.h (workbook_sheet_reorganize) : add arguments
      	* src/pixmaps/Makefile.am : add padlock_no.xpm and padlock.xpm
      	* src/pixmaps/padlock_no.xpm : new
      	* src/pixmaps/padlock.xpm : new
      
      2002-06-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-sheet-order.c (cb_toggled_lock) : new
      	(populate_sheet_list) : replace standard icon with toggleable lock item
      	(cb_add_clicked) : handle lock column
      	(cb_ok_clicked) : handle changes in lock status
      	(cb_sheet_order_destroy) : remove pixmaps
      	(dialog_sheet_order) : setup pixmaps
      9e494a52
  28. 24 Apr, 2002 1 commit
    • Andreas J. Guelzow's avatar
      also clear CLIPBOARD clear selection only if PRIMARY is asserted elsewhere · c02d7568
      Andreas J. Guelzow authored
      2002-04-24  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/application.c (application_clipboard_clear) : also clear CLIPBOARD
      	* src/gui-clipboard.c (x_selection_clear) : clear selection only if PRIMARY
      	  is asserted elsewhere
      	(x_clipboard_bind_workbook) : set CLIPBOARD targets
      	* src/workbook-control-gui.c (wbcg_claim_selection) : claim PRIMARY and
      	  CLIPBOARD
      c02d7568
  29. 15 Apr, 2002 3 commits
    • Andreas J. Guelzow's avatar
      use get/set methods of gnumeric-gconf.h switch from gnome-config to gconf · 7d3c6bfa
      Andreas J. Guelzow authored
      2002-04-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-function-select.c : use get/set methods of gnumeric-gconf.h
      	* dialog-plugin-manager.c : switch from gnome-config to gconf
      	* dialog-preferences.c : add include
      
      2002-04-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/gnumeric-dialogs.schemas : new plugin schemas
      	* src/Makefile.am : add src/gnumeric-gconf.c and src/gnumeric-gconf-priv.h
      	* src/application.c : use get/set methods from src/gnumeric-gconf.h
      	* src/commands.c : change include
      	* src/error-info.c : switch to GSLists from GLists
      	* src/error-info.h : switch to GSLists from GLists
      	* src/gnumeric-gconf.h : new get/set methods
      	* src/gnumeric-gconf.c : new
      	* src/gnumeric-gconf-priv.h : formerly src/gnumeric-gconf.h
      	* src/gui-util.c : switch to GSLists from GLists
      	* src/gutils.h : some new g_slist functions
      	* src/gutils.c : some new g_slist functions
      	* src/libgnumeric.c : use get/set methods from src/gnumeric-gconf.h
      	* src/plugin-loader-module.c : switch to GSLists from GLists
      	* src/plugin-loader.c : switch to GSLists from GLists
      	* src/plugin-loader.h : switch to GSLists from GLists
      	* src/plugin-service.c : switch to GSLists from GLists
      	* src/plugin.c : switch to GSLists from GLists and use gconf
      	* src/plugin.h : switch to GSLists from GLists
      	* src/workbook-control-gui.c : use get/set methods from src/gnumeric-gconf.h
      7d3c6bfa
    • Andreas J. Guelzow's avatar
      add more preferences move autocorrect_init into src/main.c added defines · cc7c14df
      Andreas J. Guelzow authored
      2002-04-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/gnumeric-dialogs.schemas : add more preferences
      	* src/application.c : move autocorrect_init into src/main.c
      	* src/gnumeric-gconf.h : added defines and comments
      	* src/main.c : add autocorrect_init and autocorrect_shutdown
      
      2002-04-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-autocorrect.c : make exception lists into GSList (rather
      	  than GList)
      	* dialog-preferences.c : move gconf keys for fonts into
      	  gnumeric-gconf.h, synchronize gconf on destroy
      
      2002-04-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* auto-correct.[ch] : switch from gnome-config to gconf and make
      	  preserve autocorrect exceptions. Make exception lists into
      	  GSList
      cc7c14df
    • Andreas J. Guelzow's avatar
      add various new preferences fix capitalization switch gnome_config to · 8ee9621d
      Andreas J. Guelzow authored
      2002-04-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/gnumeric-general.schemas : add various new preferences
      	* schemas/gnumeric-dialogs.schemas : fix capitalization
      	* src/application.c : switch gnome_config to gconf
      	* src/gnumeric-gconf.h : new preferences
      
      2002-04-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-preferences.c : add more preferences
      8ee9621d
  30. 14 Apr, 2002 1 commit
    • Andreas J. Guelzow's avatar
      add history and n of sheets preferences add src/rangefunc-strings.[ch] · 34e8e758
      Andreas J. Guelzow authored
      2002-04-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/gnumeric-general.schemas : add history and n of sheets
      	  preferences
      	* src/Makefile.am : add src/rangefunc-strings.[ch]
      	* src/application.c : change file history handling to gconf,
      	  change app.history_list to GSList from GList
      	* src/application.h : change app.history_list to GSList from GList
      	* src/collect.c : add string functions
      	* src/collect.h :add string functions
      	* src/gnumeric-gconf.h : add history and n of sheets preferences
      	* src/history.c : change history_list to GSList from GList
      	* src/history.h : change history_list to GSList from GList
      	* src/main.c : add user-specified number of sheets to first workbook
      	* src/workbook-control-gui.c : add user-specified number of sheets
      	  to new workbooks
      	* src/workbook.c : change history_list to GSList from GList
      	* src/rangefunc-strings.h : new
      	* src/rangefunc-strings.c : new
      
      2002-04-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* functions.c (gnumeric_len) : port to utf8
      	(gnumeric_left) : ditto
      	(gnumeric_concatenate) : use string_range_function and
      	  range_concatenate
      
      2002-04-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* preferences.glade : move tabs to left on Jody's request
      	* dialog-preferences.c : add history pref and number of sheets
      	  pref
      34e8e758
  31. 05 Apr, 2002 1 commit
    • Jody Goldberg's avatar
      add insert image. · 28d5bb59
      Jody Goldberg authored
      
      2002-04-05  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_image) : add insert image.
      
      	* src/sheet-object.c (sheet_object_default_size) : add a default_size
      	  handler that can generate default sizes per instance rather than
      	  class.
      
      	* src/sheet-object-image.c (sheet_object_image_default_size) :
      	  implement.
      	(sheet_object_image_class_init) : register the deafult size handler.
      	* src/application.c  : add insert image.
      	* src/pixmaps/Makefile.am : add insert image.
      28d5bb59