1. 10 Jul, 2002 1 commit
  2. 07 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      revamp extensheet handling and name import. Still does not work for XL95, · 3452c25e
      Jody Goldberg authored
      2002-03-07  Jody Goldberg <jody@gnome.org>
      	* ms-excel-read.c : revamp extensheet handling and name import.
      	  Still does not work for XL95, but things should be ok for >= 97.
      	  Getting closer to supporting external references.
      2002-03-02  Jody Goldberg <jody@gnome.org>
      	* ms-excel-write.c (write_externsheets) : Use unquoted.  This code
      	  needs some love.
      2002-03-02  Jody Goldberg <jody@gnome.org>
      	* ms-excel-read.c (ms_excel_read_formula) : avoid leaking when faced
      	  with bad input.
      	(ms_excel_read_formula) : ditto.
      2002-03-06  Jody Goldberg <jody@gnome.org>
      	* dialog-advanced-filter.c (advanced_filter) : Use eval_pos_init_sheet.
      	* dialog-solver.c (cb_dialog_solve_clicked) : fix leak.
      2002-03-07  Jody Goldberg <jody@gnome.org>
      	* src/position.c (eval_pos_init*) : handle the optional dependent.
      	* src/eval.c (link_expr_dep) : support the adjustment to EvalPos.
      	(unlink_expr_dep) : support the adjustment to EvalPos.
      	* *.c : directly include gnome-i18n.h, value.h and expr.h
      	  where necessary now that they are no longer included.
      	* src/func.h : here.
      	* src/position.h (EvalPos) : Pass in an optional Dependent.
      	* src/expr.h (FunctionEvalInfo) : remove the func_def.  Send in the
      	  ExprFunc wrapper instead.  That contains the func-def if desired.
      	* src/func.c (function_set_link_handlers) : differentiate signatures
      	  for link & unlink.
  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/gtk_signal_connect/g_signal_connect/  + reformating.
      2002-02-11  Jody Goldberg <jody@gnome.org>
      	* src/stf.c (stf_init) : Make the names of the text import/export
  4. 21 Dec, 2001 1 commit
  5. 17 Dec, 2001 1 commit
  6. 30 Nov, 2001 1 commit
  7. 23 Nov, 2001 1 commit
    • Andreas J. Guelzow's avatar
      Andreas: Fix problem in search & search/replace tool #64989 · 8b0e246d
      Andreas J. Guelzow authored
      	* Fix problem in search & search/replace tool #64989
      2001-11-23  Andreas J. Guelzow <aguelzow@taliesin.ca>
      	* src/search.h : add curr_sheet to _SearchReplace
      	* src/search.c (search_replace_verify) : use global_range_list_parse
      	  rather than parse_range
      	(search_collect_cells) : ditto
      	(search_collect_cells_cb) : callback for global_range_list_foreach in
      2001-11-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      	* dialog-search.c (search_clicked) : initialize sr->curr_sheet
      	(dialog_search) : change flags for expr-entry widget
      	* dialog-search-replace.c (ok_clicked) : initialize sr->curr_sheet
      	(dialog_search_replace) : change flags for expr-entry widget
  8. 14 Oct, 2001 1 commit
  9. 13 Oct, 2001 1 commit
  10. 11 Oct, 2001 1 commit
    • Morten Welinder's avatar
      New functions. · e1ecaf93
      Morten Welinder authored
      2001-10-11  Morten Welinder  <terra@diku.dk>
      	* src/search.c (search_filter_matching,
       	search_filter_matching_free): New functions.
      	* src/workbook-control-gui.c (workbook_control_gui_init): Plug leak.
      	(cb_edit_search): Delete.
      	(cb_edit_search): Use new dialog.
      2001-10-11  Morten Welinder  <terra@diku.dk>
      	* dialog-search.c (dialog_search): New dialog in new file.
      	* dialog-search-replace.c (dialog_search_replace_query): Remove
       	search from here.
  11. 06 Oct, 2001 2 commits
    • Morten Welinder's avatar
      Code cleanup. · 97046c8b
      Morten Welinder authored
      2001-10-06  Morten Welinder  <terra@diku.dk>
      	* src/workbook-control-gui.c (cb_edit_search_action): Handle
      	* src/search.c (search_replace_cell, search_replace_comment): New
       	functions, extracted from commands.c.
      	* src/commands.c (cmd_search_replace_do_cell): Use search_replace
       	and search_replace_comment.
    • Morten Welinder's avatar
      Implement search. · 13c62ab9
      Morten Welinder authored
      2001-10-06  Morten Welinder  <terra@diku.dk>
      	* src/workbook-control-gui.c (cb_edit_search): Implement search.
      	* src/search.c (search_collect_cells): New function, extracted
       	from commands.c.
      	(search_match_string): New function to check for match only.
      	* src/gui-util.c (gnumeric_keyed_dialog): Constify.
      2001-10-06  Morten Welinder  <terra@diku.dk>
      	* dialog-search-replace.c (dialog_search, dialog_search_notify):
       	New functions (and dialogs).
  12. 05 Oct, 2001 1 commit
  13. 24 Aug, 2001 1 commit
    • Chyla Zbigniew's avatar
      Replace mega-include <gnome.h> with something smaller. · ac93e10a
      Chyla Zbigniew authored
      * src/analysis-tools.c, src/application.c, src/bonobo-io.c,
      src/clipboard.c, src/cmd-edit.c, src/command-context.c,
      src/commands.c, src/corba-args.c, src/corba-workbook-factory.c,
      src/dates.c, src/dialogs/dialog-about.c,
      src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
      src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
      src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
      src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-consolidate.c,
      src/dialogs/dialog-define-names.c, src/dialogs/dialog-delete-cells.c,
      src/dialogs/dialog-function-wizard.c, src/dialogs/dialog-goal-seek.c,
      src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
      src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-paste-special.c,
      src/dialogs/dialog-search-replace.c, src/dialogs/dialog-sheet-order.c,
      src/dialogs/dialog-simple-input.c, src/dialogs/dialog-solver.c,
      src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-preview.h,
      src/dialogs/dialog-stf.c, src/dialogs/dialog-stf.h,
      src/dialogs/dialog-summary.c, src/dialogs/dialog-validate.c,
      src/dialogs/dialog-workbook-attr.c, src/dialogs/dialog-zoom.c,
      src/dialogs/utils-dialog.c, src/expr-name.c, src/expr.c,
      src/file-autoft.c, src/format-template.c, src/format.c, src/formats.c,
      src/func.c, src/global-gnome-font.c, src/gnumeric-util.h,
      src/gui-clipboard.c, src/gui-file.c, src/gui-gnumeric.h, src/gutils.c,
      src/history.c, src/item-bar.c, src/item-cursor.c, src/item-debug.c,
      src/main.c, src/normal-args.c, src/number-match-test.c,
      src/number-match.c, src/parse-util.c, src/parser.y, src/pattern.h,
      src/preview-grid.c, src/print-cell.c, src/print-info.c, src/print.c,
      src/search.c, src/selection.c, src/sheet-autofill.c,
      src/sheet-merge.c, src/sheet-object-bonobo.c,
      src/sheet-object-container.c, src/sheet-object-graphic.c,
      src/sheet-object-item.c, src/sheet-object-widget.c,
      src/sheet-object.c, src/sheet.c, src/stf-parse.h, src/stf.c,
      src/style-color.c, src/style.c, src/test-format.c, src/value-sheet.c,
      src/value.c, src/widgets/gnumeric-dashed-canvas-line.h,
      src/widgets/gnumeric-hscrollbar.c, src/widgets/gnumeric-toolbar.c,
      src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
      src/workbook-control.c, src/workbook-format-toolbar.c,
      src/workbook-object-toolbar.c, src/workbook-private.h,
      src/xml-io-autoft.c, src/xml-io.c:
      Replace mega-include <gnome.h> with something smaller.
  14. 21 Jun, 2001 1 commit
    • Morten Welinder's avatar
      #include <string.h> for strlen. · fbb769d8
      Morten Welinder authored
      2001-06-21  Morten Welinder  <terra@diku.dk>
      	* src/summary.c: #include <string.h> for strlen.
      	* src/search.c (calculate_replacement): Warning killer.
      	* src/regression.c: #include <stdlib.h> for abs.
      	* src/plugin-loader-module.c: #include <string.h> for strcmp.
      	* src/formats.c (cell_format_fraction): Avoid accidental use of
      	* src/complete.c: #include <stdlib.h> for abort.
      2001-06-21  Morten Welinder  <terra@diku.dk>
      	* fn-stat.c: #include <string.h> for memset.
      	* fn-lookup.c: #include <stdlib.h> for abs.
      	* fn-information.c (translate_table): Fix accidental use of
      	#include <stdlib.h> for abs and <string.h> for strcmp.
      	* fn-date.c: #include <string.h> for strcmp and <stdlib.h> for
  15. 04 May, 2001 1 commit
    • Jody Goldberg's avatar
      s/clipboard_release/cellregion_free/ s/range_copy/range_dup/ · 32bde6ee
      Jody Goldberg authored
      2001-05-04  Jody Goldberg <jgoldberg@home.com>
      	* src/commands.c (cmd_autofill) : Use sheet_range_contains_region.
      	(cmd_autofill_redo) : no need to test here.
      	(cmd_paste_cut) : test destination for validity and ensure that it
      	  does not slice up any merged regions or arrays.  Make the descriptor
      	  an argument so that other commands can use this one.
      	(cmd_ins_del_colrow_redo) : use colrow_max.
      	(cmd_area_set_text_redo) : use sheet_ranges_split_region.
      	(cmd_colrow_outline_change) : suppress warning.
      	* src/gui-clipboard.c (x_selection_to_cell_region) : simplify by using
      	  some of the convenience routines.
      	* src/gutils.c (gnumeric_sys_data_dir) : warning suppression.
      	(gnumeric_sys_lib_dir) : ditto.
      	* src/item-bar.c (item_bar_draw) : add missing warning.
      	* src/item-cursor.c (item_cursor_drag_event) : Don't assume the
      	  release came from the button that started the grab (think about
      	  multiple simultaneous button downs.
      	(item_cursor_selection_event) : ditto.
      	(item_cursor_do_drop) : changes to selection_first_range.
      	* src/parse-util.c (col_name_internal) : new routine split from
      	  col_name with better buffer handling.
      	(col_name) : used here.
      	(cols_name) : and in this new function.
      	* src/print.c (sheet_print_selection) : changes to
      	* src/print-info.c (print_info_new) : default even_if_only_styles to
      	  false.  This is probably what most people want.
      	* src/ranges.c (range_translate) : don't invert.
      	(range_height) : new util.  could probably be #define.
      	(range_width) : new util.  could probably be #define.
      	(range_is_infinite) : use range_is_full.
      	(range_is_full) : new util.
      	* src/search.c (calculate_replacement) : warning suppression.
      	* src/selection.c (sheet_selection_cut) : Use
      	  sheet_range_splits_region and selection_first_range.
      	(sheet_selection_copy) : Use selection_first_range and remove TODO
      	  about supporting not paste by content for partial arrays.
      	(selection_first_range) : Add optional error reporting if there are
      	  multiple selection ranges.
      	* src/format.c (format_get_currency) : diddle the logic to get
      	  undefined to work the way people expect for locale C.
      	* src/sheet-merge.c (sheet_merge_relocate) : remove some dead code.
      	(sheet_merge_add) : changes to sheet_range_splits_array.
      	* src/sheet-object-widget.c (sheet_widget_checkbox_construct) :
      	  changes to selection_first_range.
      	* src/sheet.c (sheet_delete_{cols,rows}) : changes to
      	(sheet_insert_{cols,rows}) : use sheet_range_splits_array.
      	(avoid_dividing_array_vertical) : delete.
      	(avoid_dividing_array_horizontal) : delete.
      	(sheet_is_pristine) : constness.
      	(sheet_mark_clean) : delete.
      	(sheet_clear_region) : changes to sheet_range_splits_array.
      	(sheet_ranges_split_region) : renamed from selection_check_for_array.
      	(sheet_range_splits_region) : new routine to check arrays and merged
      	(sheet_range_splits_array) : improve and add hooks to be used for
      	  overlapping checks.
      	(cb_check_array_vertical) : report the array being split.
      	(cb_check_array_horizontal) : report the array being split.
      	* src/stf-parse.c (stf_parse_region) : use cellregion_new.
      	(stf_parse_is_valid_data) : simplify.
      	* src/value-sheet.c (value_area_get_width) : warning suppression.
      	(value_area_get_height) : warning suppression.
      	(value_area_fetch_x_y : signedness.
      	(value_area_get_x_y) : signedness.
      	* src/value.c (value_array_resize) : signedness.
      	(value_array_set) : signedness.
      	* src/workbook-control-gui.c (wbcg_error_splits_array) : signature
      	(cb_insert_rows) : use selection_first_range
      	(cb_insert_cols) : ditto.
      	(sort_cmd) : ditto.
      	(cb_workbook_debug_info) : clean out some deadwood.
      	* src/workbook-edit.c (auto_complete_matches) : warning suppression.
      	* src/workbook.c (workbook_sheet_detach) : warning suppression.
      	(g_ptr_array_insert) : warning suppression, moved to gutils.
      	* src/xml-io.c (xml_write_attributes) : warning suppression.
      	(xml_read_selection_clipboard) : use cellregion_new and tidyup.
      	* src/clipboard.c (paste_link) : Only make the link sheet specific if
      	  we need to.
      	(clipboard_paste_region) : constness, support being able to paste
      	  content only as link or value.
      	(clipboard_prepend_cell) : check for arrays.
      	(clipboard_copy_range) : use cellregion_new
      	(cellregion_new) : new function
      	(cellregion_free) : renamed from clipboard_release.
      	(cellregion_to_string) : moved here from render-ascii.
      	src/cmd-edit.c (cmd_paste) : more protection. Merge in
      	(cmd_paste_to_selection) : handle changes to selection_is_simple and
      	  use selection_first_range
      	(cmd_shift_rows) : changes to cmd_paste_cut.
      	(cmd_shift_cols) : ditto.
      	* src/command-context-priv.h : change signature of splits array.
      	* src/command-context.h : ditto.
      	* src/command-context.c (gnumeric_error_splits_array) : ditto.
      	* src/application.c (application_clipboard_clear) :
      	(application_set_selected_sheet) : remove #warning, it is not portable.
      	* src/commands.c
      	* src/Makefile.am : remove render-ascii.[ch]  Move their content into
      2001-05-01  Jody Goldberg <jgoldberg@home.com>
      	* src/clipboard.c (clipboard_prepend_cell) : remove ugly
      	* src/workbook-edit.c (auto_complete_matches) : remove warning.
      	* src/xml-io.c (xml_write_attributes) : remove warning.
  16. 31 Jan, 2001 1 commit
    • Morten Welinder's avatar
      For regexps, validate the replacement string. (search_replace_compile): · e1c3eee6
      Morten Welinder authored
      2001-01-31  Morten Welinder  <terra@diku.dk>
      	* src/search.c (search_replace_verify): For regexps, validate the
       	replacement string.
      	(search_replace_compile): Detect whether replacement text is
       	literal (modulo case of letters).
      	* src/commands.c (cmd_search_replace): Take a wbcg so we can pop
       	up dialogs.
      	(cmd_search_replace_do_cell): Implement "Fail" error mode.
      2001-01-31  Morten Welinder  <terra@diku.dk>
      	* check-header-guards: Certain file names are exceptions no matter
       	what directory they are in.
  17. 27 Jan, 2001 1 commit
    • Chyla Zbigniew's avatar
      Making Gnumeric -Werror friendly (well, almost). · b3f070c4
      Chyla Zbigniew authored
      Making Gnumeric -Werror friendly (well, almost).
      * plugins/excel/ms-chart.c: Added "#if 0/#endif" around declarations
      of unused variables.
      * plugins/gda/plugin-gda.c (display_recordset): Removed unused
      variable, fixed some errors (that's why I use -Werror).
      * plugins/xml2/xml2.c (init_plugin): Used xml2_probe function.
      * src/search.c: Included "ranges.h".
      * src/style.c: Included "sheet.h"
  18. 24 Jan, 2001 1 commit
  19. 23 Jan, 2001 2 commits
    • Morten Welinder's avatar
      New function. Implements case preservation. · 04365f9d
      Morten Welinder authored
      2001-01-23  Morten Welinder  <terra@diku.dk>
      	* src/search.c (calculate_replacement): New function.  Implements
       	case preservation.
    • Morten Welinder's avatar
      I got this right-end condition wrong. Oh dear. · 14e3515d
      Morten Welinder authored
      2001-01-22  Morten Welinder  <terra@diku.dk>
      	* src/search.c (match_is_word): I got this right-end condition
       	wrong.  Oh dear.
      	* src/cell.c (cell_has_comment): Resurrect.
      	* src/commands.c (cmd_search_replace_do_cell): No need for the
       	sheet argument.
      	(command_push_undo): Remove duplicate call to update_after_action.
        	First check parameters, then use them.
      	(command_register_undo): New function, split from
      	(command_push_undo): Use command_register_undo.
      	(truncate_undo_info): Change to take a Workbook directly.  Caller
      	(cmd_search_replace): Use command_register_undo and eliminate
       	gross hack.
  20. 22 Jan, 2001 4 commits
    • Morten Welinder's avatar
      More search-and-replace features. · f8ed619c
      Morten Welinder authored
      2001-01-22  Morten Welinder  <terra@diku.dk>
      	* src/search.c (search_replace_verify): When relevant, check that
       	the range text is not empty.  Implement searching for whole words.
      2001-01-22  Morten Welinder  <terra@diku.dk>
      	* dialog-search-replace.c (dialog_search_replace): Handle the new
       	ignore-case and whole-word checkbuttons.  Handle the new
       	preserve-case checkbutton (though the actual replacement code does
       	not yet).
    • Morten Welinder's avatar
      When relevant, check that the range text is not empty. · aead02d0
      Morten Welinder authored
      2001-01-22  Morten Welinder  <terra@diku.dk>
      	* src/search.c (search_replace_verify): When relevant, check that
       	the range text is not empty.
      	* src/application.c (application_dpi_to_pixels): Fix prototype.
      	(application_history_update_list): Constify.
      	(application_display_dpi_get, application_display_dpi_set): Change
       	to using doubles, not floats.
    • Morten Welinder's avatar
      Search and replace should now be working for strings in an entire · 7121765e
      Morten Welinder authored
      2001-01-22  Morten Welinder  <terra@diku.dk>
      	* src/commands.c (cmd_search_replace_redo): hack: don't do
       	anything the first time around.
      	(cmd_search_replace_do_cell): Partially implement.
      	(cb_search_replace_collect): New function.
      	(cb_order_sheet_row_col): New function.
      	(cmd_search_replace_do): Partially implement.
      	* src/workbook-control-gui.c (cb_edit_search_replace): Activate
       	undo/redo support.
    • Morten Welinder's avatar
      Still work in progress, but some people report compilation problems. · 1bd036b8
      Morten Welinder authored
      2001-01-18  Morten Welinder  <terra@diku.dk>
      	* src/search.c (search_replace_verify, search_replace_string): New
      	* src/commands (cmd_search_replace_do_cell): new function.
  21. 17 Jan, 2001 1 commit
    • Morten Welinder's avatar
      New functions, partly from jpablo. · 5b5b8640
      Morten Welinder authored
      2001-01-17  Morten Welinder  <terra@diku.dk>
      	* src/commands.c (cmd_search_replace_undo,
       	cmd_search_replace_redo, cmd_search_replace_do,
       	cmd_search_replace, cmd_search_replace_destroy): New functions,
       	partly from jpablo.
      2001-01-17  Morten Welinder  <terra@diku.dk>
      	* dialog-search-replace.c (dialog_search_replace): Extract the
       	entered values.
  22. 11 Jan, 2001 1 commit