1. 20 Feb, 2002 3 commits
    • Morten Welinder's avatar
      Warning killers. · af8d771a
      Morten Welinder authored
      af8d771a
    • Morten Welinder's avatar
      Major constification. (-Wwrite-strings) · 3743f057
      Morten Welinder authored
      2002-02-20  Morten Welinder  <terra@diku.dk>
      
              * src/parser.y (yyerror): Constify.
      
              * src/xml-io.c (xml_node_set_print_unit): Constify.
              (xml_read_print_repeat_range): Constify.
      
              * src/summary.c (summary_item_name): Constify.
      
              * src/print-info.c (predefined_formats, render_ops): Constify.
      
              * src/expr-name.c (builtins): Constify.
      
              * src/complex.c (complex_to_string): Constify.
      
              * src/commands.c (cmd_set_text): Constify.
              (cmd_area_set_text): Constify.
      
              * src/mstyle.c (mstyle_to_string): Missing g_strdup added for
              sanity check, just in case.
              * src/summary.c (summary_item_as_text): Ditto.
              * src/value.c (value_get_as_string): Ditto.
      
              * configure.in (CFLAGS): Add -Wwrite-strings, if possible.
      
              * src/gui-util.c (gnumeric_dialog_raise_if_exists): Constify.
      3743f057
    • Morten Welinder's avatar
      New stuff. · 8320f8c8
      Morten Welinder authored
      2002-02-19  Morten Welinder  <terra@diku.dk>
      
      	* src/numbers.h (modfgnum, strtgnum, GNUM_FORMAT_[eEfg],
       	GNUM_DIG): New stuff.
      
        	* .../*.[cy]: All relevant strtod changed to strtognum; modf to
       	modfgnum; DBL_DIG to GNUM_DIG; formats changed to use
       	GNUM_FORMAT_...
      
      	* src/gutils.c (strtognum): If needed, define a version here.
      
      	* src/complex.c (complex_to_string): Use right format for
       	imaginary part.
      
      	* configure.in: Add support for --with-long-double.
      
      	* acconfig.h: Add WITH_LONG_DOUBLE.
      8320f8c8
  2. 18 Feb, 2002 2 commits
  3. 15 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      We can now make distcheck · f84a08c5
      Jody Goldberg authored
      Requires a GAL update, and a gtk+ update
      
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/item-cursor.c (item_cursor_tip_setlabel) : enable now that the
      	  canvas bug is fixed.
      
      	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : new.
      	(cb_vscrollbar_adjust_bounds) : new.
      
      	* src/gui-util.c (gtk_button_stock_alignment_set) : new.
      	(gnumeric_init_help_button) : new.
      
      	* src/gnumeric-canvas.h : Move declaration of
      	  GnumericCanvasSlideHandler here.
      
      	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : forward to the entry,
      	  not the GnumericExprEntry wrapper.
      	(gnm_canvas_key_mode_sheet) : ditto.
      
      	* src/formats.c (cell_format_classify) : handle general.
      
      	* src/file-priv.h : Inherit from GObject.
      
      	* src/complete-sheet.c (complete_sheet_finalize) : call class_peek
      	  here to avoid potential reference problems.
      
      	* src/commands.c (cmd_set_text) : doh!  fix multi-line text.
      	(cmd_autoformat) : const.
      
      	* src/cell.c (cell_relocate) : const.
      	* src/clipboard.c (paste_cell_with_operation) : const.
      	(paste_cell) : ditto.
      
      	* src/application.c (application_init) : add jimmac's expr-entry icon.
      
      	* src/Makefile.am : distribute the marshaller.list
      
      	s/GtkType/GType/
      	s/GtkSignalFunc/GCallback/
      	s/gtk_signal_connect/g_signal_connect/  + reformating.
      	s/GTK_CHECK_CAST/G_TYPE_CHECK_INSTANCE_CAST/
      	s/GTK_CHECK_TYPE/G_TYPE_CHECK_CLASS_CAST/
      	s/GTK_CHECK_CLASS_CAST/G_TYPE_CHECK_INSTANCE_TYPE/
      	s/GTK_CHECK_CLASS_TYPE/G_TYPE_CHECK_CLASS_TYPE/
      
      2002-02-11  Jody Goldberg <jody@gnome.org>
      
      	* src/stf.c (stf_init) : Make the names of the text import/export
      	  clearer.
      f84a08c5
  4. 10 Feb, 2002 1 commit
  5. 02 Feb, 2002 1 commit
  6. 01 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      cleanup the includes a bit and make the libole2 requirement specific to · cda21e74
      Jody Goldberg authored
      2002-02-01  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : cleanup the includes a bit and make the libole2
      	  requirement specific to the XL plugin.  Tidy up the gda, and gb
      	  tests to be consistent and more informative.
      
      	* src/main.c : remove ole debug flag.
      
      	* src/gnumeric-graph.c (gnm_graph_new) : return a GObject
      	  makes it easier to handle NULL.
      cda21e74
  7. 28 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      adjust to the new creation format. · 5b2b279e
      Jody Goldberg authored
      2002-01-28  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-object-toolbar.c :  adjust to the new creation format.
      
      	* src/workbook-edit.c (wbcg_edit_has_guru) : return the actual guru.
      
      	* src/workbook-control-gui.c : Explicitly use the STOCK items rather
      	  than just the stock icon names.  This enables the accelerators too.
      
      	* src/sheet-object-widget.c : cleanup.
      	  Use _init functions, no need to create a silly _new wrapper that calls
      	  construct.  Remove unused Sheet arguments.
      
      	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : new.
      	(gnm_canvas_key_mode_sheet) : be more careful about what how to handle
      	  keys when there is a guru up.
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config) :
      	  create the table.
      
      2002-01-27  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : cleanup the generated files.
      5b2b279e
  8. 25 Jan, 2002 4 commits
  9. 24 Jan, 2002 2 commits
  10. 23 Jan, 2002 2 commits
  11. 22 Jan, 2002 2 commits
  12. 15 Jan, 2002 1 commit
  13. 07 Jan, 2002 1 commit
  14. 06 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      post release bump. · 0bffe4df
      Jody Goldberg authored
      2002-01-06  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : post release bump.
      0bffe4df
  15. 05 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      set the expr entry flags for a new series too. · 1be76cfa
      Jody Goldberg authored
      2002-01-05  Jody Goldberg <jody@gnome.org>
      
      	* dialog-graph-guru.c (vector_state_fill) : set the expr entry flags
      	  for a new series too.
      
      	* src/workbook-control.c (wb_control_parse_and_jump) : rename from
      	  workbook_parse_and_jump to be consistent.
      
      	* configure.in : bump gal version req.
      1be76cfa
  16. 31 Dec, 2001 2 commits
  17. 29 Dec, 2001 1 commit
  18. 26 Dec, 2001 1 commit
  19. 22 Dec, 2001 1 commit
  20. 19 Dec, 2001 1 commit
  21. 16 Dec, 2001 1 commit
  22. 15 Dec, 2001 2 commits
  23. 13 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      back port some gnome2 work. · 9036243f
      Jody Goldberg authored
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	s/gnome-xml/libxml/
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/workbook-control-gui.c (wb_control_gui_focus_cur_sheet) : back
      	  port some gnome2 fixes.
      	(cb_notebook_switch_page) : ditto.
      
      	* src/workbook-edit.c (auto_complete_matches) : Use
      	  gtk_editable_get_position.
      
      	* src/plugin-loader.h (gnumeric_plugin_loader_get_type) : fix return type.
      
      	* src/plugin-loader.c : Use PL_GET_CLASS.
      
      	* src/item-bar.c (item_bar_translate) : delete useless.
      	* src/item-cursor.c (item_cursor_translate) : delete useless.
      	* src/item-edit.c (item_edit_translate) : delete useless.
      	(point_is_inside_range) : Use gtk_editable_get_position.
      
      	* src/gui-file.c (gui_file_import) : const.
      
      	* src/complete-sheet.c (free_search) : unused.
      	(complete_sheet_finalize) : protect.
      	(complete_sheet_destroy) : delete.
      
      	* configure.in : explicitly add gdk_pixbuf just in case gnome-print
      	  doesn't.
      
      	* src/sheet-autofill.c (sheet_autofill) : pass singleton_increment to.
      	(sheet_autofill_dir) : here.
      	(autofill_create_fill_items) : here.
      	(autofill_compute_delta) : and here. Use singleton_increment.  Handle
      	  singleton date fills.
      
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/gui-file.c (gui_file_import) : const.
      9036243f
  24. 10 Dec, 2001 1 commit
  25. 01 Dec, 2001 1 commit
  26. 29 Nov, 2001 1 commit
  27. 25 Nov, 2001 1 commit
  28. 19 Nov, 2001 1 commit
  29. 17 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      fix the return type. (wbcg_close_control) : don't close if we are being · f004191d
      Jody Goldberg authored
      2001-11-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (workbook_close_if_user_permits) : fix
      	  the return type.
      	(wbcg_close_control) : don't close if we are being reerence by another
      	  operation. Fix sense of comparision.
      	(wbcg_delete_event) : now that wbcg_close_control is fixed revert this
      	  to the correct meaning.
      
      	* src/io-context.c (io_context_destroy) : unref the control
      	(gnumeric_io_context_new) : ref the control so that it is not
      	  destroyed out from under us.
      f004191d