1. 02 Mar, 2015 1 commit
  2. 08 Jan, 2014 1 commit
  3. 26 Mar, 2013 1 commit
  4. 07 Aug, 2012 1 commit
    • Andreas J. Guelzow 's avatar
      Add Repeat Export menu item. [#594154] · f71ca51a
      Andreas J. Guelzow authored
      2012-08-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      	* component/Gnumeric-embed.xml.in: add Repeat Export menu item
      	* src/GNOME_Gnumeric-gtk.xml.in: add Repeat Export menu item
      	* src/gui-file.c (gui_file_export_repeat): new
      	* src/gui-file.h (gui_file_export_repeat): new
      	* src/wbc-gtk-actions.c (cb_data_export_repeat): new
      	(DataExportRepeat): new
  5. 03 Aug, 2011 1 commit
  6. 02 Aug, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      Clarify the distinction beween open/save and import/export. · f529412d
      Andreas J. Guelzow authored
      2011-08-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
      	* component/Gnumeric-embed.xml.in: add data import/export menu items
      	* src/GNOME_Gnumeric-gtk.xml.in: ditto
      	* src/HILDON_Gnumeric-gtk.xml.in: ditto
      	* src/application.c (gnm_app_create_opener_filter): distinguish between
      	file history and file-open/import
      	(gnm_app_history_get_list): adjust call to gnm_app_create_opener_filter
      	* src/application.h (gnm_app_create_opener_filter): add argument
      	* src/gui-file.c (gui_file_open): distinguish between "open" and "import"
      	(gui_file_save_as): distinguish between "save as" and "export"
      	* src/gui-file.h (gui_file_open): add argument
      	(gui_file_save_as): add argument
      	* src/stf.c (stf_read_workbook): set save info
      	(stf_read_workbook_auto_csvtab): ditto
      	(stf_init): separate mime types
      	* src/wbc-gtk-actions.c (cb_file_open): adjust call to gui_file_open
      	(cb_data_import_text): ditto
      	(cb_data_import_other): new
      	(cb_data_export): new
      	(cb_data_export_text): new
      	(cb_data_export_csv): new
      	(cb_file_save_as): adjust call to gui_file_save_as
      	(actions): connect the above new actions
      	* src/wbc-gtk-impl.h (_WBCGtk): delete duplicate field
      	* src/wbc-gtk.c (wbc_gtk_init): and do not initialize it
      	* src/workbook-priv.h (_Workbook): new field
      	* src/workbook.c (workbook_get_file_exporter): new
      	(workbook_dispose): finalize file_saver and file_exporter
      	(workbook_set_saveinfo): handle a wider range of savers
      	* src/workbook.h (workbook_get_file_exporter): new
      2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      	* plugin.xml.in: add mime-type
      2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      	* plugin.xml.in: correct mime types
      2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      	* plugins/excel/plugin.xml.in: use TM symbol
  7. 14 Jun, 2009 1 commit
  8. 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
  9. 08 Sep, 2007 1 commit
  10. 08 Aug, 2007 1 commit
  11. 16 Jul, 2007 1 commit
  12. 04 Mar, 2005 1 commit
  13. 16 Feb, 2005 1 commit
    • Jody Goldberg's avatar
      pull down from gnumeric · 41c10f5e
      Jody Goldberg authored
      2005-02-16  Jody Goldberg <jody@gnome.org>
      	* utils/go-file.c (go_url_check_extension) : pull down from gnumeric
      	* gui-utils/go-gui-utils.c (go_gtk_button_new_with_stock) : renamed
      	  from go_gtk_button_new_with_stock_image.
      	(go_libglade_new) : use go_sys_data_dir.
      	(go_gtk_widget_disable_focus) : renamed from go_widget_disable_focus.
      	(go_pango_measure_string) : renamed from go_measure_string.
      	(go_gtk_window_set_transient) : renamed from go_window_set_transient.
      	(go_gtk_nonmodal_dialog) : renamed from gnumeric_non_modal_dialog.
      	(go_gtk_file_sel_dialog) : renamed from gnumeric_dialog_file_selection.
      	(go_gtk_select_image) : renamed from gui_image_file_select.
      	(gui_get_image_save_info) : pulled in from gnumeric.
      	(go_atk_setup_label) : renamed from gnm_setup_label_atk.
      	(go_help_display) : pulled down from gnumeric and made generic.
      	(go_gtk_help_button_init) : ditto.
      	(go_gtk_url_is_writeable) : ditto.
      	(go_gtk_dialog_run) : pulled from gnumeric
      	(go_gtk_notice_dialog) : ditto.
      	(go_gtk_notice_nonmodal_dialog) : ditto.
      	(go_gtk_query_yes_no) : ditto.
      	* gui-utils/Makefile.am : Add libhtml_stub
      	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_init) : init the
      	(gog_renderer_pixbuf_get_pango_context) : use the stored calculated
      	  dpi rather than gconf
      	(gog_renderer_pixbuf_update) : store the dpi
      	* goffice.c (libgoffice_init) : init the paths.  We may want to expand
      	  this at some point to allow cmd-line or env-var override.
      	(go_sys_data_dir) : new.
      	(go_sys_icon_dir) : new.
      2005-02-16  Jody Goldberg <jody@gnome.org>
      	* src/libgnumeric.c (gnm_pre_parse_init) : set the path for the new
      	  gnumeric-functions message catalog
      	* src/gnumeric-gconf.c : Add an ifdef to silence the gconf warnings
      	* src/io-context.[ch], src/io-context-priv.h : move into goffice/app
  14. 08 Feb, 2005 1 commit
  15. 27 Aug, 2004 1 commit
    • Jon Kåre Hellan's avatar
      Define responses GNM_RESPONSE_SAVE_ALL, GNM_RESPONSE_DISCARD_ALL. These · 3cc9493e
      Jon Kåre Hellan authored
      * src/workbook-control-gui.c (wbcg_close_if_user_permits): Define
      are negative, to work with druid logic in gnumeric_dialog_run.
      * src/gui-file.c (gui_wb_view_show): New. Factored out of
      gui_file_read. Show  view in a wbcg. Use current or new wbcg
      according to policy.
      (gui_file_read): Use it.
  16. 16 Aug, 2004 1 commit
    • Jon Kåre Hellan's avatar
      is_save parameter to gui_image_file_select no longer needed. · aae4927e
      Jon Kåre Hellan authored
      * src/wbcg-actions.c (cb_insert_image): is_save parameter to
      gui_image_file_select no longer needed.
      * src/sheet-object-image.c (soi_gdk_pixbuf_save): New. Callback
      which writes via gsf.
      (soi_get_image_fmt): New. Get a format descriptor for the original
      data in a SheetObjectImage.
      (soi_free_image_fmt): New. Free a format descriptor.
      (soi_cb_save_as): New. Choose file name and format and save
      (sheet_object_image_populate_menu): New. Put a "save as" entry in
      the object's context menu.
      * src/sheet-object-graph.c (soi_cb_save_as): Choose image format
      from a list.
      * src/gui-file.h (GnmImageFormat): Struct which describes an
      (image) file format.
      * src/gui-file.c (gui_image_file_select): Split the parts common
      to save and open into new function gui_image_chooser_new. Drop
      is_save parameter to _select.
      (gui_get_image_save_info): The parts of _select which have to do
      with saving go here. Add a format chooser.
      * graph/gog-style.c (cb_image_file_select): is_save parameter to
      gui_image_file_select no longer needed.
  17. 23 Feb, 2004 1 commit
  18. 20 Feb, 2004 1 commit
  19. 18 Feb, 2004 1 commit
    • Morten Welinder's avatar
      New function. · db18d31c
      Morten Welinder authored
      2004-02-18  Morten Welinder  <terra@gnome.org>
      	* src/gui-file.c (gui_image_file_select): New function.
      	* src/wbcg-actions.c (GNM_ACTION_DEF): Use gui_image_file_select.
  20. 25 Aug, 2003 1 commit
    • Andreas J. Guelzow's avatar
      enable DataImportText add format argument (file_opener_find_by_id): new · acd5749a
      Andreas J. Guelzow authored
      2003-08-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      	* src/GNOME_Gnumeric.xml: enable DataImportText
      	* src/gui-file.c (gui_file_open): add format argument
      	(file_opener_find_by_id): new
      	* src/gui-file.h (gui_file_open): add format argument
      	* src/workbook-control-gui.c: enable DataImportText
      	(cb_file_open): add argument to gui_file_open
      	(cb_data_import_text): enable and implement
  21. 05 May, 2003 1 commit
    • Andreas J. Guelzow's avatar
      add argument to call of wb_view_new_from_input · 002c067b
      Andreas J. Guelzow authored
      	* src/bonobo-io.c (gnm_persist_stream_load): add argument
      	  to call of wb_view_new_from_input
      	* src/charset.c: new file
      	* src/charset.h: new file
      	* src/file-priv.h: (_GnmFileOpenerClass): add argument to
      	  declaration of open method
      	(_GnmFileOpener): add encoding_dependent field
      	(gnm_file_opener_setup): add argument
      	* src/file.c (gnm_file_opener_open_real): new argument to pass
      	  to open call
      	(gnm_file_opener_setup): new argument to be used for
      	  initialization of added field
      	(gnm_file_opener_new): add argument to call of
      	(gnm_file_opener_new_with_enc): new function
      	(gnm_file_opener_is_encoding_dependent): new function
      	(gnm_file_opener_open): new argument
      	* src/file.h (GnmFileOpenerOpenFuncWithEnc): new type
      	(gnm_file_opener_new_with_enc): new function
      	(gnm_file_opener_open): new argument
      	(gnm_file_opener_is_encoding_dependent): new function
      	* src/gui-clipboard.c (table_cellregion_read): add argument
      	  to call of wb_view_new_from_input
      	* src/gui-file.c (file_format_changed_cb_data): new type
      	(make_format_chooser): only make option menu
      	(gui_file_read): new argument to be passed to call of
      	(file_format_changed_cb): new callback
      	(gui_file_open): add encoding selector to load file dialog
      	* src/gui-file.h (gui_file_read): new argument
      	* src/history.c (file_history_cmd): add argument to call of
      	* src/main-application.c (main): add argument to call of
      	* src/plugin-service.c (gnm_plugin_file_opener_open): new
      	(gnm_plugin_file_opener_new): add argument to call of
      	* src/stf.c (stf_open_and_read): new argument
      	(stf_preparse): handle encoding conversion
      	(stf_read_workbook_auto_csvtab): new argument to be passed to
      	  the call of stf_parse
      	(stf_init): setup encoding
      	* src/workbook-view.c (wb_view_new_from_input): new argument to
      	  passed to the call of gnm_file_opener_open
      	(wb_view_new_from_file): new argument to be passed to the call
      	* src/workbook-view.h (wb_view_new_from_input): new argument
      	(wb_view_new_from_file): new argument
      	* corba-application.c (capp_workbook_open): add argument
      	  to call of wb_view_new_from_file
      	* Makefile.am: add src/charset.[ch]
  22. 28 Jan, 2003 1 commit
  23. 05 Dec, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Renamings: · 4afde1db
      Jon Kåre Hellan authored
      GnumFile  -> GnmFile
      gnum_file -> gnm_file
  24. 13 Nov, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Remove FileImport. · 33cacb4e
      Jon Kåre Hellan authored
      * src/GNOME_Gnumeric.xml: Remove FileImport.
      * src/gui-file.h (gui_file_import): Remove.
      * src/gui-file.c (make_format_chooser): Include an "Automatically
      detected" menu item for NULL in file opener/saver list.
      (gui_file_open, gui_file_import): Merge into one function, named
      gui_file_open. Default to automatically detecting format.
      * src/workbook-control-gui.c (cb_file_import): Remove.
      (workbook_menu_file[]): Remove cb_file_import.
      (verbs[]): Remove FileImport.
      * NEWS: Brag
      * BUGS: Update
  25. 27 Jun, 2002 1 commit
    • Jody Goldberg's avatar
      add missing break. · c7e7774e
      Jody Goldberg authored
      2002-06-26  Jody Goldberg <jody@gnome.org>
      	* src/expr.c (do_gnm_expr_unref) : add missing break.
      2002-06-26  Jody Goldberg <jody@gnome.org>
      	* src/gui-util.c (gui_file_open) : move the magic directory selector
      	  for here.
      	(gnumeric_dialog_file_selection) : to here, so that it works for other
      	  situations too.
  26. 13 Apr, 2002 1 commit
    • Jody Goldberg's avatar
      move the really broken bonobo stuff here. · c2671493
      Jody Goldberg authored
      2002-04-12  Jody Goldberg <jody@gnome.org>
      	* src/workbook-private.c :  move the really broken bonobo stuff here.
      	* src/sheet-control-gui.c (scg_object_update_bbox) : Use fabs to
      	  handle inversion.
      	(scg_mode_edit_object) : Be a touch more anal.
      	* src/style.c (get_substitute_font) : add more font mappings.
      	* src/item-grid.c (ig_obj_create_finish) : no need to moneky with the
      	  internals of scg.  Setting the mode clears the new object.  Setting
      	  the sheet adds a ref, so there are no worries that it will go away.
      	* src/gnumeric-canvas.c : rip out the drag and drop support.
      	* src/workbook-control-gui.c : move it here.
      	(cb_insert_image) : silence a warning.
      	(cb_edit_cut) : at least make the object deletetion undoable.
      	(workbook_close_if_user_permits) : reorder to conform to HIG.
      2002-04-08  Jody Goldberg <jody@gnome.org>
      	* src/sheet-control-gui.c (scg_object_stop_editing) : unref the
      	  current object.
      	(scg_mode_edit_object) : ref the current object.
      	* src/item-grid.c (ig_obj_create_finish) : Use
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : Use
      	  sc_mode_edit to handle objects that are still being created.
      2002-04-06  Jody Goldberg <jody@gnome.org>
      	* src/sheet-control-gui.c (scg_object_update_bbox) : abs the dif when
      	  checking for middle ctrl points.
      2002-04-01  Jody Goldberg <jody@gnome.org>
      	* src/gui-util.c (gnumeric_toolbar_new) : minor clean up.
      	  one init is sufficient.
  27. 10 Jul, 2001 1 commit
    • Lutz Müller's avatar
      Add a menu item "Send" to the file menu. If this one is clicked, pop up an · 51e7bf1e
      Lutz Müller authored
      2001-07-10  Lutz Müller <urc8@rz.uni-karlsruhe.de>
              * src/workbook-control-gui.c: Add a menu item "Send" to the file menu.
              If this one is clicked, pop up an Evolution-Composer with current
              workbook attached.
              * src/file-priv.h: New virtual function for GnumFileSaver:
              Introduce GnumFileSaverSaveToStreamFunc. Keep a mime type.
              * src/file.[c,h]: Implement save_to_stream and mime_type detection.
              * src/gui-file.[c,h]: Reduce copy & paste by introducing
              (make_format_chooser) and (check_multiple_sheet_support_if_needed).
              New function: (gui_file_save_to_stream) which asks for the desired
              mime type.
              * src/bonobo-io.c: This file saver doesn't support save_to_stream.
              * src/stf.c: This one either.
              * src/xml-io.[c,h]: Implement save_to_stream.
              * src/plugin-service.c: Pass NULL for save_to_stream.
  28. 18 Jun, 2001 1 commit
  29. 05 Jun, 2001 1 commit
    • Chyla Zbigniew's avatar
      New function, some code moved from gui-file.c. · 7aba8116
      Chyla Zbigniew authored
      * src/gnumeric-util.[ch] (gnumeric_dialog_file_selection): New
      function, some code moved from gui-file.c.
      * src/workbook.[ch] (workbook_get_filename): New accessor function.
      * src/gui-file.h
      (gui_file_open): New function.
      (gui_file_import): Removed fname argument.
      * src/gui-file.c
      (gui_file_import): Create and open file selector, using
      gnumeric_dialog_file_selection to display it. Use one dialog to select
      file and file format, we don't need glade file anymore. Optionally
      show all registered openers as importers.
      (gui_file_save_as): Uses gnumeric_dialog_file_selection. Take
      workbook's current saver if current_saver is NULL (previously we've
      been loosing this information), use
      gnumeric_option_menu_get_selected_index instead of playing with
      (gui_file_open): New function, some code moved from
      (gui_file_save): Always call wb_view_preferred_size.
      (do_save_as): Take GnumFileSaver as argument.
      (cb_select, handle_ok, saver_activate, fill_save_menu,
      make_format_chooser, file_dialog_delete_event, fs_key_event,
      fs_set_filename): Removed.
      * src/workbook-control-gui.c
      (cb_file_new): Just call gui_file_open.
      (cb_file_import): Call gui_file_import.
      (workbook_control_gui_init): Initialize current_saver with NULL.
  30. 21 May, 2001 1 commit
    • Chyla Zbigniew's avatar
      Cleaned up file i/o interface. · 33d35aa2
      Chyla Zbigniew authored
      Cleaned up file i/o interface.
      * src/Makefile.am: Added file-priv.h.
      * src/file.[ch]:
      Made GnumFileOpener and GnumFileSaver GtkObjects with virtual probe,
      open and save methods.
      New GnumFileOpener methods: get_id.
      New GnumFileSaver methods: get_id, fix_file_name.
      New functions: register_file_opener, register_file_opener_as_importer,
      unregister_file_opener, unregister_file_opener_as_importer,
      register_file_saver, register_file_saver_as_default,
      unregister_file_saver, get_default_file_saver,
      get_file_opener_by_id, get_file_saver_by_id,
      get_file_savers, get_file_openers, get_file_importers.
      * src/file-priv.h: New file with definitions of structs:
      _GnumFileOpener, _GnumFileOpenerClass, _GnumFileSaver,
      * src/workbook.h
      (struct _Workbook): Added file_saver_sig_id field.
      (workbook_get_file_saver): New accessor function.
      * src/workbook.c
      (cb_saver_destroy_event, workbook_destroy, workbook_set_saveinfo):
      When setting new file_saver, connect to its "destroy" signal and
      set file_saver to NULL in signal handler. Disconnect when changing file
      saver or destroying the workbook.
      (workbook_get_file_saver): New accessor function.
      * src/workbook-view.[ch]
      (wb_view_set_attributev): Renamed to wb_view_set_attribute_list and
      (wb_view_save_as, wb_view_save, wb_view_open, wb_view_open_custom): New
      methods (some code moved from file.c).
      * src/gnumeric-sheet.c (gnumeric_sheet_filenames_dropped):
      Use wb_view_open() instead of workbook_try_read()+file_finish_load().
      * src/gui-file.c
      (gui_file_import): Use get_file_importers(). Use
      wb_view_open_custom() instead of file_opener_open() + manual creation
      of wb_view, error checking, etc.
      (is_saver_registered): Removed.
      (saver_activate): Don't check if saver is really registered.
      (file_saver_is_default_format): Use get_default_file_saver() instead
      of strcmp(extension, "gnumeric") hack.
      (do_save_as): Use gnum_file_saver_fix_file_name().
      Adjusted everything to file.h, workbook.h, workbook-control.h.
      * src/gui-file.h (gui_file_import): Signature change, now function
      returns gboolean.
      * src/gutils.[ch] (g_list_index_custom): New function.
      * src/history.c (file_history_cmd), src/main.c (gnumeric_main),
      src/workbook-control-gui.c (cb_file_open): Use wb_view_open()
      instead of workbook_read().
      * src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
      * src/plugin-service
      Created GnumPluginFileOpener and GnumPluginFileSaver classes (derived
      from GnumFileOpener and GnumFileSaver respectively). Moved contents of
      plugin_service_file_saver_save_func into
      gnum_plugin_file_opener_probe, gnum_plugin_file_opener_open,
      gnum_plugin_file_saver_save methods (slightly modified).
      (plugin_service_file_opener_read): Read "open" and "import" attributes
      of <service> tag.
      plugin_service_file_opener_cleanup): Register/unregister created
      file opener (GnumPluginFileOpener object) as normal opener and/or
      importer depending on "open" and "import" XML attributes.
      plugin_service_file_opener_cleanup): Register/unregister created
      file saver (GnumPluginFileSaver object).
      * src/plugin-service.h
      (struct _PluginServiceFileOpener):
      Added can_open and can_import fields.
      (struct _PluginServiceFileSaver):
      * src/plugin-loader-module.c
      (struct ServiceLoaderDataFileOpener, struct ServiceLoaderDataFileSaver),
      * src/stf.c
      (stf_read_workbook, stf_write_workbook): Signature change
      (don't return gboolean).
      (stf_init): Adjusted to file i/o interface changes.
      (gnumeric_xml_get_opener, xml_probe):
      (gnumeric_xml_read_workbook, gnumeric_xml_write_workbook): Signature
      change (don't return gboolean).
      (xml_init): Adjusted to file i/o interface changes.
  31. 04 Jan, 2001 1 commit