1. 30 Dec, 1999 2 commits
  2. 29 Dec, 1999 8 commits
    • Jody Goldberg's avatar
      update · 64d678e7
      Jody Goldberg authored
      64d678e7
    • Michael Meeks's avatar
      delimit the important bit. · d18e6be4
      Michael Meeks authored
      d18e6be4
    • Jody Goldberg's avatar
      - Return enum from init_plugin. · 63577437
      Jody Goldberg authored
      - Suppress some warnings.
      63577437
    • Jody Goldberg's avatar
      - Initial usage of the new exception mechanisms. · f8206c57
      Jody Goldberg authored
      - Improve versioning of the plugins.
      - Some bug fixes.
      
      1999-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (command_context_gui,
      				gui_splits_array,
      				gui_plugin_problem,
      				command_context_gui_cast) : New functions.
      
      	* src/workbook.c (workbook_new) : Switch to using the workbook_view
      	  routines to manipulate the undo/redo and paste/paste_special menu
      	  items.
      
      	* src/func.c (function_iterate_argument_values) : Return an error
      	  for empty/missing arguments.
      
      	* plugins/*/Makefile.am : Define GNUMERIC_VERSION.
      
      	* plugins/*/*.c (init_plugin): Take a CmdContext for error reporting.
      	  Call plugin_version_mismatch to do some minimal version matching for
      	  plugins and the running application.
      
      	* src/Gnumeric.idl : Add PluginProblem.
      
      	* src/command-context.[ch] (gnumeric_error_splits_array,
      				    gnumeric_error_plugin_problem,
      				    command_context_vtbl_init) : New functions.
      
      	* src/plugin.c (plugin_version_mismatch) : New function.
      	  (plugin_load) : Hard code a GUI context for now.
      	                  Switch to using gnumeric_error_ routines.
      			  Pass a CmdContext to the init_plugin routines.
      			  Only produce an error if the plugin returns -1.
      			  Store the plugin filename.
      	  (plugin_unload) : Free the filename on exit.
      
      	* *.c : command_context_gui now takes a Workbook argument.
      	      : Switch from gnumeric_no_modify_array_notice
      	                 to gnumeric_error_splits_array in most places.
      f8206c57
    • Jody Goldberg's avatar
      Minor adjustment to the previous enhancement. · 9b84663f
      Jody Goldberg authored
      
      1999-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* csv-io.c (csv_parse_sheet) : Minor adjustment to the previous
      	  enhancement.
      9b84663f
    • Jody Goldberg's avatar
      Update cvsignores · 2b0ef502
      Jody Goldberg authored
      2b0ef502
    • Stephane Alnet's avatar
      Small fix to handle CRLF files. · 3a5d4754
      Stephane Alnet authored
      1999-12-28  Stephane Alnet <stephane@u-picardie.fr>
      
      	* csv-io.c (csv_parse_sheet): Small fix to handle CRLF files.
      3a5d4754
    • Peter Moulder's avatar
      Currently, two-digit years are converted to four-digit years (ccyy) by · 7b7d8e95
      Peter Moulder authored
      1999-12-28  Peter Moulder <reiter@netspace.net.au>
      
      	* src/number-match.c: Currently, two-digit years are converted to
      	four-digit years (ccyy) by assuming that cc is the same as in the
      	current wall date.  The problem with that is that on 1999-12-31,
      	entering any future dates in two-digit-year form will be
      	misinterpreted; while on 2000-01-01, any past dates entered in
      	two-digit form will be misinterpreted.  (I use the term
      	"misinterpreted" with the assumption that one is much more likely
      	to intend a date a few days away than 99 years away.)
      7b7d8e95
  3. 28 Dec, 1999 1 commit
    • Jody Goldberg's avatar
      Fix some boneheadedly simple errors with plugins and begin to adopt a standard · b65f5041
      Jody Goldberg authored
      convention to avoid such sillyness in the future.
      
      1999-12-27  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Re-enable the python plugin by default.
      
      	* src/plugin.c (load_all_plugins) : Search in a version specific
      	  directory.
      
      	* plugins/*/Makefile.am : Install in
      	      <prefix>/lib/gnumeric/plugins/${VERSION}
      	  to decrease the number of silly version problems.
      	  Adjust the plugin names to follow the convention
      	      libgnum_<name>.so
      	  to avoid problems like the python plugin 'libpython.so'
      	  depending on the python libraries with the same name.
      b65f5041
  4. 27 Dec, 1999 1 commit
  5. 24 Dec, 1999 1 commit
  6. 23 Dec, 1999 1 commit
    • JP Rosevear's avatar
      Use a gnome_dialog and stock icons (row_cb): Use · 24500712
      JP Rosevear authored
      1999-12-23  JP Rosevear  <jpr@arcavia.com>
      
      	* src/plugin-manager.c (plugin_manager_new): Use a gnome_dialog
      	and stock icons
      	(row_cb): Use gnome_dialog_set_sensitive instead of
      	gtk_widget_set_sensitive
      
      	* src/dialogs/dialog-analysis-tools.c (dialog_data_analysis): Use
      	stock ok item for ok button
      24500712
  7. 22 Dec, 1999 3 commits
  8. 21 Dec, 1999 6 commits
    • JP Rosevear's avatar
      Tidy and handle the case where the ranges don't intersect. · c03ad77a
      JP Rosevear authored
      1999-12-21  JP Rosevear <jpr@arcavia.com>
      
              * src/ranges.c (range_intersection) : Tidy and handle the case
              where the ranges don't intersect.
      
              * src/dialogs/dialog-cell-sort.c (dialog_cell_sort) : Use
              sheet_get_extent only if there are infinite ranges, so the user
              sees their manually selected range if possible.
      c03ad77a
    • JP Rosevear's avatar
      *** empty log message *** · 423c4b57
      JP Rosevear authored
      423c4b57
    • Michael Meeks's avatar
      Jon's color buglet fix. · 6f454db2
      Michael Meeks authored
      6f454db2
    • Jody Goldberg's avatar
      Implicit intersection is done. · 7e7b6e01
      Jody Goldberg authored
      Now all we need is implicit iteration for array formulas.
      I've added a comment on a possible heuristic to use to evaluate the
      which for of iteration to use.
      
      1999-12-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (expr_implicit_intersection) : New routine split from
      	  function_call_with_list.
      	(compare) : Handle intersection.
      	(eval_expr_real) : Ditto.  Add verbose comment on a possible heuristic
      	  for the final piece of this ugly evaluation mechanism, array
      	  interation.
      	(cell_ref_get_abs_col_row) : Adjust to take a CellPos.
      
      	* src/func.c (function_iterate_do_value) : Split the implicit
      	  intersection out into a new function.  Use intersection for
      	  strings as well as float & bool args.  Correct memory leak
      	  when intersetion was used.
      	(function_call_with_list) : Ditto.
      
      	* *.c : Adjust to change in EvalPosition to use CellPos.
      
      	* gnumeric.spec.in : Update the libglade dependancy.
      
      	* src/workbook.c (wb_edit_key_pressed) : Do not select the current
      	  cell address and do not move the cursor to the start of the cell
      	  address when F4 is hit.
      7e7b6e01
    • Jody Goldberg's avatar
      Bug 4606 · 2bc98e1e
      Jody Goldberg authored
      1999-12-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y : Clean up for byacc.
      2bc98e1e
    • Michael Meeks's avatar
      066d9913
  9. 20 Dec, 1999 2 commits
    • Jody Goldberg's avatar
      Quick fix for workbooks exiting (and leaking a bit) when an import · d4430e2f
      Jody Goldberg authored
      failed.
      
      1999-12-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (file_open_cmd) : Handle failed opens.
      	(file_import_cmd) : Handle failed imports.
      
      	* src/item-bar.c (item_bar_start_resize) : Add resize marker on the
      	  other side of the row/col being resized.
      	(item_bar_init) : Init the marker to NULL.
      	(item_bar_end_resize) : Clear the marker.
      d4430e2f
    • Kjartan Maraas's avatar
      Updated a bit · 9dcab1c0
      Kjartan Maraas authored
      9dcab1c0
  10. 19 Dec, 1999 7 commits
    • Jody Goldberg's avatar
      Fix typo · 9f913c7e
      Jody Goldberg authored
      9f913c7e
    • Michael Meeks's avatar
    • Jody Goldberg's avatar
      Bug 3289 · 276b98b5
      Jody Goldberg authored
      1999-12-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_cut) : Fix Typo.
      
      	* src/item-bar.c (item_bar_start_resize) : Don't bother setting the
      	  location of the line here.  Instead we set the correctly zoomed
      	  bounds of the static-dimension.
      	(item_bar_end_resize) : Clear the saved points.
      	(item_bar_init) : Init the guide and points to NULL;
      	(item_bar_event) : No need to call canvas to world.  We zoom manually.
      	(item_bar_get_line_points) : Delete.
      276b98b5
    • Michael Meeks's avatar
    • Michael Meeks's avatar
      rework pristine, fix silly print setup bug. · d7814074
      Michael Meeks authored
      rework pristine,
      fix silly print setup bug.
      
      1999-12-19  Michael Meeks  <mmeeks@gnu.org>
      
      	* configure.in: bump version to 0.46.
      
      	* src/dialogs/dialog-printer-setup.c (fill_hf): use print_hf_same,
      	since pointer comparison duff; since item is copied.
      
      	* src/print-info.c (print_hf_same): implement.
      	(print_hf_register): update to use it.
      
      1999-12-18  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/dialogs/dialog-printer-setup.c (do_setup_hf): Grab the
      	header & footer pointer from the sheet's print info if available.
      	(do_setup_hf_menus): only setup the dialog if non-null.
      
      	* src/print-info.c (print_info_new): kill load_formats.
      	init hf_formats. (print_init, print_shutdown): implement.
      
      	* src/main.c (gnumeric_main): add print_init / shutdown.
      
      1999-12-18  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/sheet.c (sheet_new): setup pristine.
      	(sheet_mark_clean, sheet_set_dirty, sheet_is_pristine): improve,
      	thanks to Morten.
      d7814074
    • Morten Welinder's avatar
      Correct allocation of BBD blocks, take in count the FAT blocks. · 9e57d5f2
      Morten Welinder authored
      1999-12-18  Morten Welinder  <terra@diku.dk>
      
      	* ms-ole.c (write_bb): Correct allocation of BBD blocks, take in count
      	  the FAT blocks.
      9e57d5f2
    • Morten Welinder's avatar
      Plug leaks. (xml_value_get): Return a g_malloc'ed string. All callers · b632c50b
      Morten Welinder authored
      1999-12-18  Morten Welinder  <terra@diku.dk>
      
      	* src/xml-io.c (xml_read_print_info): Plug leaks.
      	(xml_value_get): Return a g_malloc'ed string.  All callers
       	changed.
      	(xml_get_print_unit): Plug leak.
      	(xml_get_color_value): Plug leak.
      	(xml_read_sheet_object): Plug leak, I think.
      	(xml_set_value): Plug leak.
      	(xml_set_value_string): Plug leak.
      	(xml_set_value_int): Plug leak.
      	(xml_set_value_double): Plug leak.
      	(xml_set_color_value): Plug leak.
      	(xml_set_gnome_canvas_points): free/g_free mixup.
      	(xml_workbook_write): Plug leak.
      b632c50b
  11. 18 Dec, 1999 8 commits
    • Morten Welinder's avatar
      Unref fonts. (Found by Miguel.) · fb5e86c1
      Morten Welinder authored
      1999-12-18  Morten Welinder  <terra@diku.dk>
      
      	* src/item-bar.c (item_bar_destroy): Unref fonts.  (Found by
       	Miguel.)
      
      	* src/style.c (style_shutdown): Add code to warn of font ref leaks
       	on exit.
      fb5e86c1
    • Jody Goldberg's avatar
      Bug 3289 · 5769426d
      Jody Goldberg authored
      1999-12-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_cut) : Fix Typo.
      
      	* src/item-bar.c (item_bar_start_resize) : Don't bother setting the
      	  location of the line here.  Instead we set the correctly zoomed
      	  bounds of the static-dimension.
      	(item_bar_end_resize) : Clear the saved points.
      	(item_bar_init) : Init the guide and points to NULL;
      	(item_bar_event) : No need to call canvas to world.  We zoom manually.
      	(item_bar_get_line_points) : Delete.
      5769426d
    • Morten Welinder's avatar
      Unref fonts. (Found by Miguel.) · bc703438
      Morten Welinder authored
      1999-12-18  Morten Welinder  <terra@diku.dk>
      
      	* src/item-bar.c (item_bar_destroy): Unref fonts.  (Found by
       	Miguel.)
      
      	* src/style.c (style_shutdown): Add code to warn of font ref leaks
       	on exit.
      bc703438
    • Michael Meeks's avatar
      clean. · 213a7230
      Michael Meeks authored
      1999-12-18  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/corba-sheet.c (command_context_corba): clean.
      
      	* src/sheet-style.c (sheet_style_get_extent): implement.
      
      	* src/sheet.c (sheet_get_extent): Add union with style extent,
      	fix silly typo.
      
      	* src/ranges.c (range_is_infinite): Add new function.
      	(range_union): implement.
      213a7230
    • Morten Welinder's avatar
      New skeleton function. · 9e77fdd9
      Morten Welinder authored
      1999-12-18  Morten Welinder  <terra@diku.dk>
      
      	* src/functions/fn-financial.c (gnumeric_yieldmat,
       	gnumeric_yielddisc, gnumeric_oddlyield, gnumeric_oddfyield,
       	gnumeric_oddfprice, gnumeric_oddlprice, gnumeric_yield,
       	gnumeric_price): New skeleton function.
      9e77fdd9
    • Jody Goldberg's avatar
      Supress printing a '-' if the format includes a manual '-' even if the · 3b132bfd
      Jody Goldberg authored
      
      1999-12-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_number) : Supress printing a '-' if the format
      	  includes a manual '-' even if the negative is preceded by a \
      3b132bfd
    • Kjartan Maraas's avatar
      Added xgettext:no-c-format in comment to please msgfmt. · 256e262e
      Kjartan Maraas authored
      1999-12-18  Kjartan Maraas  <kmaraas@online.no>
      
      	* src/dialogs/print.glade.h: Added xgettext:no-c-format in
      	comment to please msgfmt.
      256e262e
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · 737131b1
      Kjartan Maraas authored
      1999-12-18  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      737131b1