1. 10 May, 2001 2 commits
    • Jody Goldberg's avatar
      typo. Use the child not the parent node. (xml_write_selection_info) : Save · 35bb5752
      Jody Goldberg authored
      
      2001-05-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_read_selection_info) : typo.  Use the child not
      	  the parent node.
      	(xml_write_selection_info) : Save the real position.
      
      	* src/sheet.c (sheet_new_scg) : set cursor bound, not the details.
      	(sheet_cursor_set) : add some sanity checks.
      	(sheet_clone_selection) : use the real edit_pos.
      35bb5752
    • Jody Goldberg's avatar
      typo. · d50fba6d
      Jody Goldberg authored
      
      2001-05-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (cb_move_cursor) : typo.
      
      	* src/cmd-edit.c (cmd_shift_cols) : correct bound if shifting right.
      	(cmd_shift_rows) : correct bound if shifting down.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : If the
      	  first == last then it is likely we are uninitialized and we can
      	  start the search from the first the target may be contained in the
      	  current region without scrolling.
      
      	* src/sheet-control-gui.c (scg_construct) : resize is now called when
      	  attached and the zoom scg_set_zoom_factor is set.
      	(scg_set_zoom_factor) : resize.
      
      	* src/workbook-control.c (workbook_control_init_state) : cut-n-paste-o.
      d50fba6d
  2. 09 May, 2001 1 commit
    • Jody Goldberg's avatar
      s/scg_stop_range_selection/scg_rangesel_stop/ · 534405d6
      Jody Goldberg authored
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	s/scg_stop_range_selection/scg_rangesel_stop/
      
      	s/scg_set_cursor_bounds/scg_cursor_bound/
      	s/scg_cursor_vertical_extend/scg_cursor_extend_v/
      	s/scg_cursor_horizontal_extend/scg_cursor_extend_h/
      	s/scg_cursor_vertical_move/scg_cursor_move_v/
      	s/scg_cursor_horizontal_move/scg_cursor_move_h/
      	s/scg_cursor_vertical_extend/scg_rangesel_extend_v/
      	s/scg_cursor_horizontal_extend/scg_rangesel_extend_h/
      	s/scg_cursor_vertical_move/scg_rangesel_move_v/
      	s/scg_cursor_horizontal_move/scg_rangesel_move_h/
      
      	* src/sheet-control-gui.[ch] : Move the rangesel info from
      	  gnumeric-sheet into here in preparation for panes.
      	(scg_rangesel_extend_v) : merge content from
      	  gnumeric-sheet equivalent.
      	(scg_rangesel_extend_h) : ditto.
      	(scg_rangesel_move_v) : ditto.
      	(scg_rangesel_move_h) : ditto.
      	(scg_rangesel_start) : ditto.
      	(scg_rangesel_stop) : ditto.
      	(start_range_selection) : moved from gnumeric-sheet.
      	(scg_rangesel_possible) : renamed from
      	    gnumeric_sheet_can_select_expr_range.
      	(scg_rangesel_changed) : renamed from scg_range_selection_changed
      	  and make this the point that rationalizes the cursor points.
      	(scg_cursor_bound) : renamed from scg_set_cursor_bounds
      	  and make this the point that raionalizes the cursor points.
      	(scg_ant) : changes to item_cursor_set_bounds.
      	(scg_colrow_select) : rangesel support is now in scg.
      	(scg_select_all) : ditto.
      
      	* src/workbook-edit.c : cleanup includes.
      
      	* src/item-grid.c (item_grid_event) : rangesel support is now in scg.
      	(item_grid_button_1) : ditto.
      
      	* src/item-cursor.h : privatize the structure and class.
      
      	* src/item-cursor.c (cb_autofill_scroll) : changes to
      	  item_cursor_set_bounds_visibly signature.
      	(cb_move_cursor) : ditto.
      	(item_cursor_set_bounds_visibly) : changes to item_cursor_set_bounds
      	  signature.
      	(item_cursor_selection_event) : ditto.
      	(item_cursor_set_bounds) : simplify.
      
      	* src/item-bar.c (is_pointer_on_division) : rangesel support is now in scg.
      
      	* src/gnumeric-sheet.[ch] : move the rangesel logic up into scg.
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	From Juan Pablo Mendoza <pablo_juan@yahoo.com>
      	* src/sheet.c: (sheet_clone_colrow_info): Clone col and row
      	  default size.
      534405d6
  3. 08 May, 2001 2 commits
  4. 07 May, 2001 5 commits
    • Jody Goldberg's avatar
      More warning suppression. · 2469741e
      Jody Goldberg authored
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_get_data) : suppress warnings.
      	(ms_escher_read_ClientTextbox) : no side effects in precondition.
      
      	* ms-excel-read.c (ms_excel_formula_shared) : ditto.
      
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_event) : ignore events while editing.
      
      	* src/functions/fn-string.c (gnumeric_value) : s/free/g_free/
      	* src/parse-util.c (parse_cell_name_list) : ditto.
      
      	* src/parser.y (gnumeric_expr_parser) : reorganize slightly to improve
      	  readability.
      
      	* src/sheet.c (sheet_range_contains_region) : doh!.  forgot to invert
      	  logic when I renamed the function.
      2469741e
    • Morten Welinder's avatar
      "free" problems. · 32feac4f
      Morten Welinder authored
      32feac4f
    • Morten Welinder's avatar
      Gripe about side effects in asserts. · 931cf630
      Morten Welinder authored
      931cf630
    • Morten Welinder's avatar
      Constify. (dialog_cell_sort_ok): Plug leak. · c863e525
      Morten Welinder authored
      2001-05-06  Morten Welinder  <terra@diku.dk>
      
      	* dialog-cell-sort.c (order_box_get_text, string_pos_in_list):
       	Constify.
      	(dialog_cell_sort_ok): Plug leak.
      c863e525
    • Jody Goldberg's avatar
      fragment the selection just in case. (cb_unmerge_cells) : ditto. Thanks · df48a66b
      Jody Goldberg authored
      
      2001-05-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (cb_merge_cells) : fragment the
      	  selection just in case.
      	(cb_unmerge_cells) : ditto.  Thanks Juan Pablo.
      
      	* src/commands.c (cmd_unmerge_cells) : remove ugly hack cast.
      	(cmd_merge_cells) : ditto.  DO NOT DO THAT !
      
      	* src/sheet.c (sheet_range_splits_region) : implement the optional
      	  ignore feature for merged regions too.
      df48a66b
  5. 06 May, 2001 1 commit
  6. 04 May, 2001 3 commits
  7. 02 May, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Callback timer routine, re-enables the toolbars. · 1a5a3140
      Almer S. Tigelaar authored
      2001-05-02  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-edit.c (cb_thaw_ui_toolbar): Callback timer
      	routine, re-enables the toolbars.
      	(workbook_edit_set_sensitive): Add a ui timer to eliminate
      	toolbar flickering.
      
      	* src/sheet.c (sheet_menu_state_enable_insert): Clean-up.
      1a5a3140
  8. 01 May, 2001 3 commits
    • Morten Welinder's avatar
      CHITEST. · 62ea9136
      Morten Welinder authored
      62ea9136
    • Almer S. Tigelaar's avatar
      Seek for matching )'s for ('s and vice versa. (find_bracket): The meat for · e45a0e6b
      Almer S. Tigelaar authored
      2001-05-01  Almer S. Tigelaar  <almer@gnome.org>
      
       	* src/parser.y (yylex): Seek for matching )'s for ('s and
       	vice versa.
       	(find_bracket): The meat for the above functionality
       	(find_char): Split out from yylex, might be useful in other
       	places. Currently used to scan for matching quotes.
      	(gnumeric_expr_parser): If the ExprTree is null, assume that
      	an error has occurred, set a general "invalid expression" and
      	mark the whole expression. Also display more detail when both
      	the expression and error message are non-null.
      e45a0e6b
    • Morten Welinder's avatar
      Un-suckify. (wildcards_and_question_marks, parse_search_string): Constify. · 401c3250
      Morten Welinder authored
      2001-05-01  Morten Welinder  <terra@diku.dk>
      
      	* fn-string.c (gnumeric_left, gnumeric_right, gnumeric_lower,
       	gnumeric_upper, gnumeric_clean, gnumeric_proper): Un-suckify.
      	(wildcards_and_question_marks, parse_search_string): Constify.
      401c3250
  9. 30 Apr, 2001 2 commits
    • Morten Welinder's avatar
    • Morten Welinder's avatar
      Warning killer. · 5ef75629
      Morten Welinder authored
      2001-04-30  Morten Welinder  <terra@diku.dk>
      
      	* src/func.c (tokenized_help_find): Warning killer.
      
      	* src/value.c (value_new_array): Kill warnings.
      	(value_new_array_empty): Ditto.
      	(value_release): Ditto.
      
      	* src/print-cell.c (print_show): Use proper types.
      	(get_width_string_n): Ditto.
      
      	* src/number-match.c (gnumeric_error_init): Warning killer.
      
      	* src/parser.y (deallocate_all): Warning killer.
      
      	* src/item-bar.c (item_bar_draw): Avoid signedness problems.
      
      	* src/format-template.c (hash_table_destroy): Warning killer.
      
      	* src/colrow.h (struct _ColRowInfo): Make size_pixels an int.
      
      	* src/value-sheet.c (value_area_get_width, value_area_get_height):
       	Return an int, not a guint.
      
      2001-04-26  Morten Welinder  <terra@diku.dk>
      
      	* fn-string.c (gnumeric_mid): Un-suckify.
      	(gnumeric_find): Un-suckify.
      	(gnumeric_substitute): Warning killer.
      	(match_string): Warning killer.
      
      	* fn-information.c (translate_cell_format): Warning killer.
      
      	* fn-eng.c (val_to_base): Warning killer.
      
      2001-04-30  Morten Welinder  <terra@diku.dk>
      
      	* ms-summary.c (sum_name_to_excel): Fix index count.  Constify.
        	Make static.
      	(excel_to_gnum_mapping): Make static.
      5ef75629
  10. 29 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Mostly fix border printing. There are still some precedence issues with · 5655e1bd
      Jody Goldberg authored
      intersections of double lines.  However, nothing significant.
      
      2001-04-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style-border.c (print_hline) : handle offset of screen coords vs
      	  printer coords.
      	(print_vline) : ditto.
      	(style_borders_row_print) : sync with style_borders_row_draw and pass
      	  width to the line drawing to handle different coordinate types.
      
      	* src/ranges.c (range_translate) : warn if clipped not just if
      	  removed.
      
      	* src/clipboard.c (clipboard_prepend_cell) : store the source sheet if
      	  possible.
      	(paste_link) : Use the right sheets.
      	(clipboard_paste_region) : send enough information into paste_link.
      5655e1bd
  11. 28 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Catch fractions too. (render_number) : don't pass in so many copies of · 02b18e95
      Jody Goldberg authored
      
      2001-04-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (pre_parse_format) : Catch fractions too.
      	(render_number) : don't pass in so many copies of flags.  Just use the
      	  info struct.  Add a 'has_fraction' flag to disable rounding.
      	(do_render_number) : ditto.
      	(stern_brocot) : simple stern brocot tree.  Should really use an
      	  adaptive precision but I am lazy.
      	(format_number) : add fractions.
      
      	* src/commands.c (cmd_autofill_redo) : changing visiblity can triger a
      	  draw which requiresthat things be rendered and spanned.  Be sure to
      	  complete the action BEFORE changing visibility.
      02b18e95
  12. 27 Apr, 2001 1 commit
  13. 26 Apr, 2001 3 commits
    • Jody Goldberg's avatar
      Move the #define wrapper out here. · a0aaf6ad
      Jody Goldberg authored
      
      2001-04-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
      
      	* src/cell.c : prune some includes
      	(cell_default_halign) : rename to
      	* src/style.c (style_default_halign) : to simplify headers for systems
      	  that do not support fwd declarations of enums. H - cough - PUX
      a0aaf6ad
    • Morten Welinder's avatar
      Plug leak. · 31189ebc
      Morten Welinder authored
      2001-04-26  Morten Welinder  <terra@diku.dk>
      
      	* dialog-solver.c (dialog_solver): Plug leak.
      31189ebc
    • Jon Kåre Hellan's avatar
      Move dialog placement from BUGS to NEWS · 684c8743
      Jon Kåre Hellan authored
      684c8743
  14. 25 Apr, 2001 1 commit
  15. 22 Apr, 2001 1 commit
  16. 21 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      new function. (ms_excel_read_sheet) : called from here. · 00eb6d86
      Jody Goldberg authored
      2001-04-20  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_wsbool) : new function.
      	(ms_excel_read_sheet) : called from here.
      
      	* ms-excel-write.c (write_wsbool) : new function.
      	(write_sheet_bools) : called from here.
      
      2001-04-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wbcg_menu_state_sheet_prefs) : add some
      	  new prefs for outline mode.
      
      	* src/colrow.c (colrow_adjust_outline_dir) : new stub.  implement
      	  later.
      
      	* src/sheet-control-gui.c (scg_set_gutters) : delete.
      	(scg_resize) : split from.
      	(scg_set_zoom_factor) : here. change signature to use zoom associated
      	  with sheet.  No need to pass it in.
      
      	* src/sheet.c (sheet_col_row_gutter) : Use scg_resize.
      	(sheet_set_zoom_factor) : signature change.
      	(sheet_adjust_preferences) : Adjust signature to optionally call
      	  scg_resize.
      
      
      	* src/item-bar.c (compute_pixels_from_indent) : Support disabling
      	  outlines.
      
      2001-04-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_new) : init outline_symbols_{below,right},
      	  and display_outlines
      00eb6d86
  17. 19 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      clear old span when an expression is assigned. (sheet_cell_set_text) : · 02adb706
      Jody Goldberg authored
      
      2001-04-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_cell_set_expr) : clear old span when an
      	  expression is assigned.
      	(sheet_cell_set_text) : ditto.
      
      	* src/application.c (application_init) : add new icons.
      
      	* src/workbook-control-gui.c : Use the new icons.
      	* src/GNOME_Gnumeric.xml : ditto.
      02adb706
  18. 16 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      bump GAL version reqs. · 65b29b3b
      Jody Goldberg authored
      
      2001-04-16  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : bump GAL version reqs.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :
      	  Jump to updated interface.  Partially fix the shared group problems.
      65b29b3b
  19. 15 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      new virtual (workbook_control_gui_ctor_class) : connect it here. · b4e680c8
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wbcg_finish_editing) : new virtual
      	(workbook_control_gui_ctor_class) : connect it here.
      	(wbcg_sheet_remove_all) : be sure we are no longer editing.
      
      	* src/workbook-control-priv.h : new virtual.
      	* src/workbook-control.c : ditto.
      	* src/workbook-control.h : ditto.
      
      	* src/colrow.c (colrow_visibility) : One last potential NULL.
      
      	* src/graph-vector.c : some portability fixes.
      b4e680c8
  20. 13 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Take the easy way out. · 73d89ecc
      Jody Goldberg authored
      2001-04-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style.c (font_init) : rename fontmap -> fontmap2 for newer
      	  versions of gnome-print.
      73d89ecc
  21. 12 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      fix chema's spanning problem. · 5c3d4bf0
      Jody Goldberg authored
      
      2001-04-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cellspan.c (cell_calc_span) : fix chema's spanning problem.
      
      	* src/workbook-control-gui.c (workbook_menu_data) : Add an icon for
      	  the sort menu item.
      
      2001-04-9  Jody Goldberg <jgoldberg@home.com>
      
      	s/cmd_hide_selection_colrow/cmd_colrow_hide_selection/
      
      	* src/commands.c (cmd_colrow_outline_change) : new wrapper for
      	  colrow_hide that handled outline changes.
      
      	* src/workbook-control-gui.c (cb_insert_{cols,rows}) : cancel edit.
      	(cb_select_auto_expr) : return a value.
      
      	* src/colrow.c (cb_col_row_visibility) : Use get rather than fetch.
      	(colrow_find_outline_bound) : new function.
      	(cb_colrow_visibility) : turn this into a wrapper for.
      	(colrow_visibility) : this, and add honour_collapse flag.
      	  invert the search to go fro mthe end to the start in preparation for
      	  supporting the honour_collapse flag.  Insert the items into a sorted
      	  list in case we want to merge them some day.
      	(colrow_get_outline_toggle) : use new routine here too.
      
      2001-04-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : Doh!  The outline events are
      	  controled by the minor coordinate.
      
      2001-04-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c (gnumeric_main) : shut plugins down first.
      5c3d4bf0
  22. 06 Apr, 2001 1 commit
  23. 04 Apr, 2001 1 commit
  24. 31 Mar, 2001 2 commits
    • Almer S. Tigelaar's avatar
      Update to list bug 52240 · 184c44cf
      Almer S. Tigelaar authored
      2001-03-31 Almer S. Tigelaar <almer@gnome.org>
      
      	* BUGS: Update to list bug 52240
      184c44cf
    • Jody Goldberg's avatar
      Some improvements to blip loading. · 186ac28d
      Jody Goldberg authored
      and some tuning that greatly improves startup time.
      
      2001-03-30  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-container.c (ms_container_init) : Take a parent container.
      	(ms_container_finalize) : handle NULL blips smoothly.
      	(ms_container_get_blip) : check the container if we are empty.
      
      	* ms-escher.c (ms_escher_read_Blip) : always register a blip, even if
      	  it is NULL, otherwise the index gets confused.  Move the
      	  registration here.
      	(ms_escher_blip_new) : from here.
      	(ms_escher_read_ClientData) : replace blips we can't understand with
      	  rectangles.
      
      	* ms-chart.c (ms_excel_chart) : Pass in the charts container.
      
      	* ms-excel-read.c (ms_excel_workbook_new) : workbook have no parents.
      	(ms_excel_sheet_new) : Sheets are contained by workbooks.
      
      2001-03-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wbcg_sheet_remove_all) : clear the
      	  notebook BEFORE deleting it to avoid updating during destuction.
      
      	* src/cellspan.c (cell_calc_span) : Cells in hidden columns can not
      	  have spans.
      
      	* src/file.c (file_finish_load) : no need to manually respan this will
      	  happen via sheet_update.  This gives us a nice speed up.
      
      	* src/sheet.c (sheet_cell_calc_span) : don't reregister spans that
      	  have not changed.
      	(sheet_new) : init all flags to true to ensure things get updated.
      186ac28d
  25. 27 Mar, 2001 1 commit
    • Morten Welinder's avatar
      New function, extracted from cmd_search_replace_do. · 9afef623
      Morten Welinder authored
      2001-03-26  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook.c (workbook_cells): New function, extracted from
       	cmd_search_replace_do.
      
      	* src/sheet.c (sheet_cells): New function, extracted from
       	cmd_search_replace_do.
      
      	* src/cell.c (cell_has_comment_pos): New function for those cells
       	that aren't really there.
      
      	* src/commands.c (cmd_search_replace_do): Use workbook_cells and
       	sheet_cells.
      	(cmd_search_replace_do_cell): Change to take position instead of
       	cell.  Handle missing cells without crashing.
      9afef623
  26. 22 Mar, 2001 1 commit