1. 23 Apr, 2001 3 commits
  2. 22 Apr, 2001 3 commits
    • Jody Goldberg's avatar
      update · 18e37379
      Jody Goldberg authored
      18e37379
    • Jody Goldberg's avatar
      Should fix undo/redo and make the outline behaviors more intuitive. Also · e96f8e98
      Jody Goldberg authored
      implements the event handling side of the fix for frob's magic test case.
      
      2001-04-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_colrow_outline_change) : Extend logic to support
      	  having collapse buttons at the start or end of the range.  Fix a few
      	  for behaviors.
      
      2001-04-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (colrow_visibility) : Don't toggle the visibility of
      	  collapsed regions even if we are only hiding things.  It will make a
      	  mess of undo.
      e96f8e98
    • Ole Laursen's avatar
      Updated Danish translation · fb1ecf29
      Ole Laursen authored
      fb1ecf29
  3. 21 Apr, 2001 4 commits
    • Keld Jørn Simonsen's avatar
      Translations from keld · f53486e8
      Keld Jørn Simonsen authored
      evolution/po/da.po galeon/po/da.po ghex/po/da.po
      glade/po/da.po gnome-applets/po/da.po gnome-core/po/da.po
      gnome-pim/po/da.po gnumeric/po/da.po
      Tag: nautilus-1
      nautilus/po/da.po
      f53486e8
    • Keld Jørn Simonsen's avatar
      Translations from keld · f00a2dcb
      Keld Jørn Simonsen authored
      achtung/po/da.po gal/po/da.po galeon/po/da.po
      Tag: gedit-1-0
      gedit/po/da.po
      No tag
      gnome-applets/po/da.po gnome-core/po/da.po gnumeric/po/da.po
      gtkhtml/po/da.po
      Tag: nautilus-1
      nautilus/po/da.po
      f00a2dcb
    • 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
    • Jon K Hellan's avatar
      Today, gda plugin compiles again with CVS libgda. Bump required version to · 798c5fdb
      Jon K Hellan authored
      2001-04-21  Jon K Hellan  <hellan@acm.org>
      
      	* configure.in (have_gda): Today, gda plugin compiles again with
      	CVS libgda. Bump required version to 0.2.4.
      798c5fdb
  4. 20 Apr, 2001 4 commits
    • Rodrigo Moya's avatar
      sync up with CVS gda. · 96042e86
      Rodrigo Moya authored
      
      2000-04-24  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* plugin-gda.c : sync up with CVS gda.
      96042e86
    • Jon K Hellan's avatar
      Make gda plugin optional. Check for suitable versions - present CVS · 4bedc933
      Jon K Hellan authored
      2001-04-20  Jon K Hellan  <hellan@acm.org>
      
      	* configure.in : Make gda plugin optional. Check for suitable
      	versions - present CVS version doesn't compile.
      4bedc933
    • Jody Goldberg's avatar
      update · f158f122
      Jody Goldberg authored
      f158f122
    • Jody Goldberg's avatar
      Fix lots of silly leaks · e4904df8
      Jody Goldberg authored
      2001-04-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) :  fix leak.
      
      	* src/workbook.c (workbook_sheet_rename) : fix error message.
      	(workbook_sheets) : constness.
      	(workbook_sheet_count) : ditto.
      	(workbook_sheet_index_get) : ditto.
      e4904df8
  5. 19 Apr, 2001 5 commits
    • 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
    • Jody Goldberg's avatar
      s/xml2/xmlSax/ to correspond with naming convention. · b3854a62
      Jody Goldberg authored
      
      2001-04-18  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c : s/xml2/xmlSax/ to correspond with naming
      	  convention.
      b3854a62
    • Jody Goldberg's avatar
      fix. · 04097024
      Jody Goldberg authored
      
      2001-04-18  Jody Goldberg <jgoldberg@home.com>
      
      	* fn-database.c (find_cells_that_match) : fix.
      04097024
    • Jody Goldberg's avatar
      New icons · f607d679
      Jody Goldberg authored
      f607d679
    • Jody Goldberg's avatar
      cleanup and remove warnings in the C locale case. · 5929cebb
      Jody Goldberg authored
      
      2001-04-18  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-util.c (excel_iconv_win_codepage) : cleanup and remove
      	  warnings in the C locale case.
      
      	* ms-excel-write.c (write_sheet_tail) : split WINDOW2 code out of here
      	(write_window2) : and move it here.  Then comment it up and extend the
      	  logic.
      
      2001-04-17  Jody Goldberg <jgoldberg@home.com>
      
      	* plugin.xml : Disable the excel97 save method until it potentially
      	  does more than screw up.
      
      2001-04-15  Vlad Harchev <hvv@hippo.ru>
      
              * ms-excel-util.h ms-excel-util.c :
              added framework for doing portable recoding between charsets,
              and also functions for finding appropriate Windows codepage
              for current locale.
      
              * ms-excel-read.c ms-excel-write.c :
              Properly perform charset conversion for all textual data when doing
              export or import of .xls files.
      5929cebb
  6. 18 Apr, 2001 9 commits
    • Jon K Hellan's avatar
      Remove commented out stuff. (cb_name_guru_value_focus): Remove to · 227922d6
      Jon K Hellan authored
      2001-04-18  Jon K Hellan  <hellan@acm.org>
      
      	* dialog-define-names.c (name_guru_init): Remove commented out stuff.
      	(cb_name_guru_value_focus): Remove to eliminate warning.
      227922d6
    • Jon Kåre Hellan's avatar
      Really remove widget_is_focus. · fd6830c5
      Jon Kåre Hellan authored
      fd6830c5
    • Jon K Hellan's avatar
      Use value of item_cursor from after GnumericSheet method has been invoked. · 2cae788e
      Jon K Hellan authored
      2001-04-18  Jon K Hellan  <hellan@acm.org>
      
      	* src/sheet-control-gui.c (scg_rangesel_cursor_extend,
      	scg_rangesel_cursor_bounds, scg_rangesel_horizontal_move,
      	scg_rangesel_vertical_move, scg_rangesel_horizontal_extend,
      	scg_rangesel_vertical_extend, scg_rangesel_cursor_extend): Use
      	value of item_cursor from after GnumericSheet method has been
      	invoked.
      2cae788e
    • Morten Welinder's avatar
      Leak fix. · d3d9cc90
      Morten Welinder authored
      d3d9cc90
    • Jon K Hellan's avatar
      Don't call widget_is_focus. This makes selecting a range from the cell · 44d1c366
      Jon K Hellan authored
      2001-04-18  Jon K Hellan  <hellan@acm.org>
      
      	* gnumeric-expr-entry.c
      	(gnumeric_expr_entry_set_rangesel_from_range): Don't call
      	widget_is_focus. This makes selecting a range from the cell work
      	again.
      	(widget_is_focus): Remove.
      44d1c366
    • Jon Kåre Hellan's avatar
      Brag · 4ffbc588
      Jon Kåre Hellan authored
      4ffbc588
    • Jon K Hellan's avatar
      Change return type to GnumericExprEntry. (workbook_set_entry): Change type · eb52c908
      Jon K Hellan authored
      2001-04-18  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-edit.[ch] (workbook_get_entry,
      	workbook_get_entry_logical): Change return type to
      	GnumericExprEntry.
      	(workbook_set_entry): Change type of entry argument to
      	GnumericExprEntry.
      
      	* src/gnumeric-sheet.c (move_cursor): Move to scg::scg_move_cursor
      	(cursor_horizontal_move): Move to scg::scg_cursor_horizontal_move
      	(cursor_horizontal_extend): Move to
      	scg::scg_cursor_horizontal_extend
      	(cursor_vertical_move): Move to scg::scg_cursor_vertical_move
      	(cursor_vertical_extend): Move to scg::scg_cursor_vertical_extend
      	(selection_remove_selection_string,
      	selection_insert_selection_string): Remove. GnumericExprEntry
      	widget now handles this.
      	(start_cell_selection_at): Rename to start_range_selection_at.
      	(start_cell_selection): Rename to start_range_selection.
      	(gnumeric_sheet_start_cell_selection): Rename to
      	gnumeric_sheet_start_range_selection.
      	(gnumeric_sheet_stop_cell_selection): Rename to
      	gnumeric_sheet_stop_range_selection. Remove clear_string parameter
      	and selection string manipulation.
      	(rangesel_horizontal_move): Make non-static, rename to
      	gnumeric_sheet_rangesel_horizontal_move, remove selection string
      	manipulation.
      	(rangesel_vertical_move): Make non-static, rename to
      	gnumeric_sheet_rangesel_vertical_move, remove selection string
      	manipulation.
      	(rangesel_horizontal_extend): Make non-static, rename to
      	gnumeric_sheet_rangesel_horizontal_extend, remove selection string
      	manipulation.
      	(rangesel_vertical_extend): Make non-static, rename to
      	gnumeric_sheet_rangesel_vertical_extend, remove selection string
      	manipulation.
      	(gnumeric_sheet_key_mode_sheet): Use movefn's from scg instead of
      	from GnumericSheet.
      
      	* src/gnumeric-sheet.h (gnumeric_sheet_start_cell_selection):
      	Rename to gnumeric_sheet_start_range_selection.
      	(gnumeric_sheet_stop_cell_selection): Rename to
      	gnumeric_sheet_stop_range_selection. Remove clear_string
      	parameter.
      	(gnumeric_sheet_rangesel_horizontal_move,
      	gnumeric_sheet_rangesel_vertical_move,
      	gnumeric_sheet_rangesel_horizontal_extend,
      	gnumeric_sheet_rangesel_vertical_extend): Declare.
      
      	* src/gnumeric-util.[ch] (gnumeric_entry_at_subexpr_boundary_p):
      	Rename to gnumeric_expr_entry_at_subexpr_boundary_p and move to
      	gnumeric_expr_entry widget.
      
      	* src/item-grid.c (item_grid_button_1, item_grid_event): Use scg
      	methods instead of methods from GnumericSheet.
      
      	* src/sheet.[ch] (sheet_stop_cell_selection): Rename to
      	sheet_stop_range_selection.
      
      	* src/sheet-control-gui.c (scg_colrow_select): Use scg methods
      	instead of methods from GnumericSheet.
      	(scg_stop_editing): Add call to scg_stop_cell_selection.
      	(scg_range_selection_changed): New function. Notify ExprEntry that
      	the expression range has changed.
      	(scg_move_cursor): Moved here from GnumericSheet.
      	(scg_rangesel_cursor_extend): Add call to
      	scg_range_selection_changed.
      	(scg_rangesel_cursor_bounds, scg_rangesel_horizontal_move,
      	scg_rangesel_vertical_move, scg_rangesel_horizontal_extend,
      	scg_rangesel_vertical_extend): New functions. Call GnumericSheet
      	counterpart and notify ExprEntry.
      	(scg_cursor_horizontal_move, scg_cursor_horizontal_extend,
      	scg_cursor_vertical_move, scg_cursor_vertical_extend): Moved here
      	from GnumericSheet.
      	(scg_get_sel_cursor_pos): New function. Return selection cursor
      	position.
      
      	* src/sheet-control-gui.h (scg_range_selection_changed,
      	scg_move_cursor, scg_rangesel_cursor_bounds,
      	scg_rangesel_horizontal_move, scg_rangesel_vertical_move,
      	scg_rangesel_horizontal_extend, scg_rangesel_vertical_extend,
      	scg_cursor_horizontal_move, scg_cursor_vertical_move,
      	scg_cursor_horizontal_extend, scg_cursor_vertical_extend,
      	scg_get_sel_cursor_pos): Declare.
      
      	* src/sheet-control-gui.[ch] (scg_stop_cell_selection): Rename to
      	scg_stop_range_selection. Notify ExprEntry that range selection
      	has stopped.
      
      	* src/sheet-object-widget.c (cb_checkbox_config_focus): Call
      	gnumeric_expr_entry_select_absolute.
      	(sheet_widget_checkbox_user_config): Use GnumericExprEntry. Attach
      	it to the scg.
      
      	* src/workbook-control-gui.c (cb_notebook_switch_page): Use new
      	function name sheet_stop_range_selection.
      
      	* src/workbook-control-gui-priv.h (struct
      	_WorkbookControlGUI::struct edit_line): entry and temp_entry are
      	now GnumericExprEntries.
      	(struct _WorkbookControlGUI): Remove select_abs_col,
      	select_abs_row, select_full_col, select_full_row and
      	select_single_cell.
      
      	* src/workbook-control-gui.c (wbcg_finish_editing,
      	wb_edit_key_pressed, cb_autofunction, workbook_setup_edit_area,
      	auto_complete_matches): Entry must now be cast to GtkEntry.
      	(workbook_control_gui_init): select_abs_col, select_abs_row,
      	select_full_col, select_full_row and select_single_cell no longer
      	exist.
      
      	* src/workbook-edit.c (workbook_finish_editing, entry_changed,
      	workbook_start_editing_at_cursor): entry must now be cast to
      	GtkEntry.
      	(workbook_start_editing_at_cursor): Attach scg to
      	ExprEntry. wbcg->select_abs_col and select_abs_row no longer
      	exist.
      	(workbook_edit_select_absolute): Move to ExprEntry widget.
      	(workbook_edit_toggle_absolute): New function. Probably remove it
      	again.
      	(workbook_edit_init): Remove redundant 'g_assert != NULL'. Use
      	GnumericExprEntry widget.
      
      2001-04-18 Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/dialog-define-names.c (struct NameGuruState):
      	Change type of expr_text to GnumericExprEntry.
      	(name_guru_set_expr, name_guru_update_sensitivity,
      	name_guru_set_expr, cb_name_guru_add): expr_text must now be
      	cast to GTK_ENTRY.  (cb_name_guru_value_focus): Use
      	gnumeric_expr_entry_set_absolute. w argument is now expected
      	to be a GnumericExprEntry.  (cb_name_guru_set_focus): New
      	function. Make anted selection go away when a widget other
      	than expr_text receives focus.  (name_guru_init): Create a
      	GnumericExprEntry and insert in the dialog. Attach it to the
      	current sheet. Connect cb_name_guru_set_focus to dialog's
      	set-focus signal, and remove the focus-in handler from
      	name_value.
      
      	* src/dialogs/dialog-function-wizard.c (struct ArgumentState):
      	Change type of entry to GnumericExprEntry.
      	(formula_guru_set_expr): Change type of new_entry to
      	GnumericExprEntry. Cast to GTK_ENTRY where necessary.
      	(formula_guru_set_expr, cb_formula_guru_rolled_entry_changed,
      	cb_formula_guru_entry_changed, formula_guru_init):
      	ArgumentState->entry must now be cast to GTK_ENTRY.
      	(formula_guru_set_rolled_state): Change type of new_entry to
      	GnumericExprEntry. Cast to GTK_ENTRY where necessary.
      	(formula_guru_arg_new): Create a GnumericExprEntry instead of
      	a GtkEntry and insert in the dialog. Attach it to the current
      	sheet.  (formula_guru_init): Create a GnumericExprEntry for
      	rolled_entry and insert in the dialog. Attach it to the
      	current sheet.  (dialog_formula_guru): Value returned by
      	workbook_get_entry must now be cast to GTK_ENTRY.
      
      	* src/dialogs/formula-guru.glade: Remove 'rolled_entry'
      	GtkEntry. A GnumericExprEntry is now added at runtime instead.
      
      	* src/dialogs/names.glade: Remove 'expr_text' GtkEntry. A
      	GnumericExprEntry is now added at runtime instead.
      eb52c908
    • Jon K Hellan's avatar
      New expression / range selection widget. · 41739096
      Jon K Hellan authored
      2001-04-18  Jon K Hellan  <hellan@acm.org>
      
      	* gnumeric-expr-entry.[ch]: New expression / range selection
      	widget.
      41739096
    • Jody Goldberg's avatar
      implement. · 203ab6fe
      Jody Goldberg authored
      	* src/workbook-control-gui.c (wbcg_init_state) : implement.
      
      2001-04-16  Jody Goldberg <jgoldberg@home.com>
      
      	s/workbook_control_sheets_init/workbook_control_init_state/
      
      	* src/commands.c (command_setup_combos) : new function to initialize
      	  the undo/redo combos into a known state.
      	* src/workbook-control.c (workbook_control_sheets_init) : called here.
      
      	* src/workbook-control.c (wb_control_change_view) : new virtual.
      	(workbook_control_set_view) : called here.
      203ab6fe
  7. 17 Apr, 2001 3 commits
  8. 16 Apr, 2001 2 commits
    • 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
    • Fatih Demir's avatar
      Check this in · f732bb7b
      Fatih Demir authored
      f732bb7b
  9. 15 Apr, 2001 7 commits
    • Almer S. Tigelaar's avatar
      Within all functions where the ItemGrid is a variable, s/item_grid/ig, · 57f9f587
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
              * src/item-grid.c : Within all functions
              where the ItemGrid is a variable, s/item_grid/ig,
              s/grid/ig.
      57f9f587
    • Jody Goldberg's avatar
      Hide merged cells. (item_grid_draw_merged_range) : calculate the size the · e6dbc465
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : Hide merged cells.
      	(item_grid_draw_merged_range) : calculate the size the same way we do
      	  it in cell_draw.
      e6dbc465
    • 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
    • Jody Goldberg's avatar
      The encoding does not appear to be utf8, switch to latin1 · fb8065fe
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* da.po : The encoding does not appear to be utf8, switch to latin1
      fb8065fe
    • Jody Goldberg's avatar
      warning. · d4c146f6
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml2UnknownAttr) : warning.
      d4c146f6
    • Almer S. Tigelaar's avatar
      Add detailed parser error messages. · fa7e253a
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/parser.y : Add detailed parser error messages.
      
      	* src/workbook-edit.c (workbook_finish_editing) : Abort
      	if the expression is invalid and return a boolean indicating
      	success or failure.
      
      	* src/expr.c (expr_parse_string): Set error message to the
      	result of gnumeric_expr_parser.
      
      	* src/parse-util.c (parse_error_init) : Properly initialize
      	begin and end character.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Don't
      	change the cursor position if workbook_finish_editing failed.
      	(move_cursor): Idem.
      
      	* src/item-grid.c (item_grid_button_1): Idem.
      fa7e253a
    • Almer S. Tigelaar's avatar
      Remove grid gc. (preview_grid_unrealize) : Idem. · 021cb3d3
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid.c
      	(preview_grid_realize) : Remove grid gc.
      	(preview_grid_unrealize) : Idem.
      
      	* src/item-grid.c
      	(item_grid_realize) : Use gc.fill, gc.cell
      	and gc.empty instead of fill_gc, etc.
      	(item_grid_unrealize) : Idem.
      	(item_grid_draw_merged_range) : Idem.
      	(item_grid_draw_background) : Idem.
      	(item_grid_draw) : Idem.
      021cb3d3