1. 12 Apr, 2002 1 commit
    • Jon K Hellan's avatar
      introduce ENABLE_BONOBO variable and bonobo_suffix. · 76534be5
      Jon K Hellan authored
      2002-04-12  Jon K Hellan  <hellan@acm.org>
      
      	* configure.in (bonobo_msg): (re)introduce ENABLE_BONOBO variable
      	and bonobo_suffix.
      
      	* src/Makefile.am (uidir): Update to gnome-2 conventions.
      
      	* idl/GNOME_Gnumeric.idl
      	(GNOME::Gnumeric::Application.new_workbook): Fix syntax error.
      
      	* src/bonobo-io.c: #ifdef out the lot for now.
      
      	* src/gnumeric-graph.c: ditto.
      
      	* src/sheet-object-bonobo.c: ditto.
      
      	* src/sheet-object-container.c: ditto.
      
      	* src/sheet-object-item.c: ditto.
      
      	* src/main.c (main): #ifdef out gnumeric_bonobo_io_init for now.
      	(main): #ifdef out EmbeddableGridFactory_init.
      
      	* src/print.c: Remove bonobo-print-client.h include.
      
      	* src/sheet-object.c (sheet_object_register): #ifdef out bonobo
      	object registration.
      
      	* src/workbook.c (workbook_is_pristine, workbook_init,
      	workbook_new): #ifdef bonobo case to be the same as non bonobo for
      	now.
      	(workbook_persist_file_load, workbook_persist_file_save,
      	workbook_bonobo_setup): #ifdef out for now.
      
      	* src/workbook-control-gui.c (cb_launch_graph_guru,
      	insert_bonobo_object, cb_insert_component,
      	cb_insert_shaped_component): #ifdef out for now.
      	(verbs): #ifdef out GraphGuru, InsertComponent and
      	InsertShapedComponent for now.
      
      	* src/workbook-private.[ch]: #ifdef bonobo case to be the same as non
      	bonobo for now.
      
      2002-04-12  Jon K Hellan  <hellan@acm.org>
      
      	* dialog-graph-guru.c: #ifdef out the lot for now.
      76534be5
  2. 11 Apr, 2002 1 commit
  3. 09 Apr, 2002 1 commit
    • Morten Welinder's avatar
      Add -lintl when needed. · 953488db
      Morten Welinder authored
      2002-04-09  Morten Welinder  <terra@diku.dk>
      
      	* configure.in (bind_textdomain_codeset): Add -lintl when needed.
      
      	* src/workbook-control-gui.c: s/E_qual/_Equal/.
      
      
      2002-04-09  Morten Welinder  <terra@diku.dk>
      
      	* gnumeric-expr-entry.c (cb_entry_changed): Quiet.
      953488db
  4. 08 Apr, 2002 1 commit
  5. 07 Apr, 2002 1 commit
  6. 27 Mar, 2002 1 commit
  7. 26 Mar, 2002 1 commit
  8. 18 Mar, 2002 1 commit
  9. 17 Mar, 2002 1 commit
  10. 13 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      Generate GNOME_Gnumeric.server.in start to think about this. · 0e816f89
      Jody Goldberg authored
      2002-03-12  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : Generate GNOME_Gnumeric.server.in
      	* Generate GNOME_Gnumeric.server : start to think about this.
      
      	* src/expr-name.c (expr_name_unlink_deps) : handle delayed hash
      	  creation.
      	(expr_name_new) : dont init the hash table.
      	(expr_name_add_dep) : until here.
      
      	* src/sheet.c (sheet_destroy_contents) : free the primary array too.
      
      	* src/xml-io.c (cell_copy_new) : set comment to NULL.
      	* src/gui-clipboard.c (x_selection_to_cell_region) : ditto.
      	* src/stf-parse.c (stf_parse_region) : ditto.
      0e816f89
  11. 11 Mar, 2002 4 commits
  12. 10 Mar, 2002 3 commits
  13. 08 Mar, 2002 1 commit
  14. 06 Mar, 2002 1 commit
    • Jukka-Pekka Iivonen's avatar
      New directory created for tools. · d38098dc
      Jukka-Pekka Iivonen authored
      2002-03-06  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/tools: New directory created for tools.
      
              * src/tools/solver: Moved src/solver-lp.c into here and split it
              into two files: src/tools/solver/solver.c and
              src/tools/solver/reports.c.  A _major_ rewrite.
      
              * src/tools/solver/lp_solve: Integrated key parts of an LGPLed
              linear programming toolkit called LP Solve 3.2.  (The whole
              package can be found from ftp://ftp.ics.ele.tue.nl/pub/lp_solve).
              Major clean up for making it to look like GNOME code.  LP Solve is
              written by Michel Berkelaar and others.  Thanks for the great
              work!
      
              * configure.in: Added src/tools/Makefile, src/tools/solver/Makefile,
              and src/tools/solver/lp_solve/Makefile.
      
              * src/Makefile.am: Added tools subdirectory.
      
              * src/mathfunc.[ch]: Removed all solver related functions.
      
              * src/solver.h, src/sheet.c: solver_lp_new renamed as
              solver_param_new.  solver_lp_destroy renamed as
              solver_param_destroy.
      
              * src/xml-io.c: Solver related changes.
      
              * samples/solver/production-plan.gnumeric: A Solver sample file.
      d38098dc
  15. 02 Mar, 2002 1 commit
  16. 27 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      xmlNodeGetContent always returns a value now. That simplifies comments and · 85caf3c6
      Jody Goldberg authored
      2002-02-26  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_read_cell) : xmlNodeGetContent always returns a
      	  value now.  That simplifies comments and complicates content.
      	(xml_cellregion_read) : ditto.
      
      2002-02-26  Jody Goldberg <jody@gnome.org>
      
      	* ms-escher.c (ms_escher_get_data) : clarify the interface.
      	(ms_escher_read_BSE) : fix call to ms_escher_get_data.
      	(ms_escher_read_Sp) : ditto.
      	(ms_escher_read_ClientAnchor) : ditto.
      	(ms_escher_read_OPT) : ditto.
      	(ms_escher_read_container) : ditto.
      	(ms_escher_read_Blip) : support decompress and validate emf & wmf.
      
      	* ms-excel-util.c (excel_iconv_open_for_import) : recognize that
      	cp1200 makes no sense in that context and fall back to 8859-1.
      
      2002-02-24  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=72459
      	* ms-formula-write.c (write_node) : fix typo.
      85caf3c6
  17. 26 Feb, 2002 2 commits
  18. 25 Feb, 2002 1 commit
  19. 22 Feb, 2002 3 commits
    • Morten Welinder's avatar
      -lm for fabsl and friends. · 9f66b819
      Morten Welinder authored
      9f66b819
    • Morten Welinder's avatar
      Supply these. Use everywhere. · 394ac408
      Morten Welinder authored
      2002-02-22  Morten Welinder  <terra@diku.dk>
      
      	* src/numbers.h (floorgnum, ceilgnum, powgnum, expgnum, loggnum,
      	log10gnum, singnum, cosgnum, tangnum, asingnum, acosgnum,
      	atangnum): Supply these.  Use everywhere.
      
      	* configure.in: Check for the above.
      394ac408
    • Morten Welinder's avatar
      Check for ldexpl and frexpl. · b616f813
      Morten Welinder authored
      2002-02-22  Morten Welinder  <terra@diku.dk>
      
      	* configure.in: Check for ldexpl and frexpl.
      
      	* src/mathfunc.c (gpow2): New function.
      	(gnumeric_add_epsilon, gnumeric_sub_epsilon, gnumeric_fake_floor,
      	gnumeric_fake_ceil, gnumeric_fake_round, gnumeric_fake_trunc):
      	Make these gnum_float typed.
      
      	* src/numbers.h (frexpgnum, ldexpgnum): New stuff.
      b616f813
  20. 21 Feb, 2002 1 commit
    • Morten Welinder's avatar
      Constify. · 653bc803
      Morten Welinder authored
      2002-02-21  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook-control-gui.c (wbcg_validation_msg): Constify.
      
      	* src/cell.c (cell_is_zero): Use gnum_float.
      
      	* src/regression.c (LUPDecomp): Use gnumabs.
      	* src/solver-lp.c (solver_answer_report): Ditto.
      	* src/value.c (value_diff): Ditto.
      	* src/goal-seek.c: Ditto.
      	* src/rangefunc.c (range_avedev): Ditto.
      
      	* src/validation.c (validation_eval): Use gnum_float, modfgnum,
      	and gnumabs.
      
      	* src/numbers.h (GNUM_MANT_DIG, GNUM_MAX_EXP, gnumabs): New stuff.
      653bc803
  21. 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
  22. 18 Feb, 2002 2 commits
  23. 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
  24. 10 Feb, 2002 1 commit
  25. 02 Feb, 2002 1 commit
  26. 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
  27. 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
  28. 25 Jan, 2002 2 commits