1. 21 Dec, 1999 3 commits
    • 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
  2. 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
  3. 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
  4. 18 Dec, 1999 20 commits
  5. 17 Dec, 1999 6 commits
    • Jody Goldberg's avatar
      Fix a few bugs. Flag a few bugs. Start on the exception handling · 5784bf05
      Jody Goldberg authored
      * Fix a few bugs.
      * Flag a few bugs.
      * Start on the exception handling mechanism.
      * Move many typedefs into gnumeric.h to start the process
        of decoupling the headers.
      
      1999-12-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_cleanout) : Publicize.
      
      	* src/sheet.c (clear_cell_content) : Delete.
      	(sheet_clear_region_content) : Use sheet_clear_region but leave the
      	  styles in place.
      
      1999-12-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric.h : Move many of the typedefs here.
      
      	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort) : Tweak some
      	  const issues and minor logic problems at the boundaries.
      
      1999-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (command_context_gui) : New function.
      
      	* src/main.c (gnumeric_main) : Add a 'quit' flag for use in testing.
      	  It causes the app to exit immediately after loading all the selected
      	  books.
      
      	* src/file.c (workbook_import) : Bug 3977.
      
      	* src/corba-sheet.c (command_context_corba) : New function
      	  temporarily located here.
      	(Sheet_selection_copy) : Pass a CommandContext.
      	(Sheet_selection_cut) : Ditto
      	(Sheet_selection_paste) : Ditto
      	(Sheet_clear_region) : Ditto
      	(Sheet_clear_region_content) : Ditto
      	(Sheet_insert_col) : Ditto
      	(Sheet_delete_col) : Ditto
      	(Sheet_insert_row) : Ditto
      	(Sheet_delete_row) : Ditto
      	(Sheet_shift_rows) : Ditto
      	(Sheet_shift_cols) : Ditto
      
      	* src/item-cursor.c (item_cursor_do_action) : Ditto.
      
      	* src/item-grid.c (context_cut_cmd) : Ditto.
      	(context_cut_cmd) : Ditto.
      	(context_copy_cmd) : Ditto.
      	(context_paste_cmd) : Ditto.
      	(context_paste_special_cmd) : Ditto.
      	(context_clear_cmd) : Ditto.
      
      	* src/clipboard.[ch] (do_clipboard_paste_cell_region) : Take a
      	  CommandContext.
      	(sheet_paste_selection) : Ditto.
      	(clipboard_paste_region) : Ditto.
      
      	* src/selection.c (segments_intersect) : Return additional state 5
      	  to designate equality.
      	(selection_apply) : Use the equality state to simplify state selection.
      	(selection_is_simple) : Use a command context.
      	(sheet_selection_copy) : Ditto.
      	(sheet_selection_cut) : Ditto.
      	(sheet_selection_paste) : Ditto.
      	(sheet_selection_clear) : Ditto.
      	(sheet_selection_clear_content) : Ditto.
      	(sheet_selection_clear_comments) : Ditto.
      	(sheet_selection_clear_formats) : Ditto.
      
      	* src/workbook.c (copy_cmd) : Ditto.
      	(cut_cmd) : Ditto.
      	(paste_cmd) : Ditto.
      	(paste_special_cmd) : Ditto.
      	(insert_cols_cmd) : Ditto.
      	(insert_rows_cmd) : Ditto.
      	(clear_all_cmd) : Ditto.
      	(clear_formats_cmd) : Ditto.
      	(clear_comments_cmd) : Ditto.
      	(clear_content_cmd) : Ditto.
      
      	* src/dialogs/dialog-delete-cells.c (dialog_delete_cells_impl) :
      	  Ditto.
      	(dialog_delete_cells) : Ditto.
      
      	* src/dialogs/dialog-insert-cells.c (dialog_insert_cells_impl) :
      	  Ditto.
      	(dialog_insert_cells) : Ditto.
      5784bf05
    • Jody Goldberg's avatar
      Bug 3289 · cd117bfb
      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.
      cd117bfb
    • Jody Goldberg's avatar
      Fix a few bugs. Flag a few bugs. Start on the exception handling · 0acf0ed7
      Jody Goldberg authored
      * Fix a few bugs.
      * Flag a few bugs.
      * Start on the exception handling mechanism.
      * Move many typedefs into gnumeric.h to start the process
        of decoupling the headers.
      
      1999-12-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_cleanout) : Publicize.
      
      	* src/sheet.c (clear_cell_content) : Delete.
      	(sheet_clear_region_content) : Use sheet_clear_region but leave the
      	  styles in place.
      
      1999-12-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric.h : Move many of the typedefs here.
      
      	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort) : Tweak some
      	  const issues and minor logic problems at the boundaries.
      
      1999-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (command_context_gui) : New function.
      
      	* src/main.c (gnumeric_main) : Add a 'quit' flag for use in testing.
      	  It causes the app to exit immediately after loading all the selected
      	  books.
      
      	* src/file.c (workbook_import) : Bug 3977.
      
      	* src/corba-sheet.c (command_context_corba) : New function
      	  temporarily located here.
      	(Sheet_selection_copy) : Pass a CommandContext.
      	(Sheet_selection_cut) : Ditto
      	(Sheet_selection_paste) : Ditto
      	(Sheet_clear_region) : Ditto
      	(Sheet_clear_region_content) : Ditto
      	(Sheet_insert_col) : Ditto
      	(Sheet_delete_col) : Ditto
      	(Sheet_insert_row) : Ditto
      	(Sheet_delete_row) : Ditto
      	(Sheet_shift_rows) : Ditto
      	(Sheet_shift_cols) : Ditto
      
      	* src/item-cursor.c (item_cursor_do_action) : Ditto.
      
      	* src/item-grid.c (context_cut_cmd) : Ditto.
      	(context_cut_cmd) : Ditto.
      	(context_copy_cmd) : Ditto.
      	(context_paste_cmd) : Ditto.
      	(context_paste_special_cmd) : Ditto.
      	(context_clear_cmd) : Ditto.
      
      	* src/clipboard.[ch] (do_clipboard_paste_cell_region) : Take a
      	  CommandContext.
      	(sheet_paste_selection) : Ditto.
      	(clipboard_paste_region) : Ditto.
      
      	* src/selection.c (segments_intersect) : Return additional state 5
      	  to designate equality.
      	(selection_apply) : Use the equality state to simplify state selection.
      	(selection_is_simple) : Use a command context.
      	(sheet_selection_copy) : Ditto.
      	(sheet_selection_cut) : Ditto.
      	(sheet_selection_paste) : Ditto.
      	(sheet_selection_clear) : Ditto.
      	(sheet_selection_clear_content) : Ditto.
      	(sheet_selection_clear_comments) : Ditto.
      	(sheet_selection_clear_formats) : Ditto.
      
      	* src/workbook.c (copy_cmd) : Ditto.
      	(cut_cmd) : Ditto.
      	(paste_cmd) : Ditto.
      	(paste_special_cmd) : Ditto.
      	(insert_cols_cmd) : Ditto.
      	(insert_rows_cmd) : Ditto.
      	(clear_all_cmd) : Ditto.
      	(clear_formats_cmd) : Ditto.
      	(clear_comments_cmd) : Ditto.
      	(clear_content_cmd) : Ditto.
      
      	* src/dialogs/dialog-delete-cells.c (dialog_delete_cells_impl) :
      	  Ditto.
      	(dialog_delete_cells) : Ditto.
      
      	* src/dialogs/dialog-insert-cells.c (dialog_insert_cells_impl) :
      	  Ditto.
      	(dialog_insert_cells) : Ditto.
      0acf0ed7
    • Morten Welinder's avatar
      White-space mania. · e47470a4
      Morten Welinder authored
      1999-12-17  Morten Welinder  <terra@diku.dk>
      
      	* src/functions/fn-stat.c: White-space mania.
      
      1999-12-16  Andrew Chatham  <andrew.chatham@duke.edu>
      
      	* src/regression.h: Better comments for parts of extra_stat
      	* src/regression.c (linear_solve): Fixed adjusted R^2 bug (hopefully).
      	* src/functions/fn-stat.c (gnumeric_linest, gnumeric_logest) Added
      	beginning support for 3+ dimensional regressions in linest and logest.
      	* src/analysis-tools.c (regression_tool) Documented Excel bugs with
      	no-intercept regressions that I didn't/can't mimic.
      e47470a4
    • Morten Welinder's avatar
      Plug leak. · 7b7513b5
      Morten Welinder authored
      1999-12-16  Morten Welinder  <terra@diku.dk>
      
      	* src/func.c (tokenized_help_destroy): Plug leak.
      7b7513b5
    • Morten Welinder's avatar
      5b47725d
  6. 16 Dec, 1999 2 commits