1. 13 Jun, 2000 6 commits
  2. 12 Jun, 2000 5 commits
    • Vladimir Vuksan's avatar
    • Jon K Hellan's avatar
      New case insensitive hash and compare functions. We already have these in · 24995be8
      Jon K Hellan authored
      2000-06-13  Jon K Hellan  <hellan@acm.org>
      
      	* gtk-combo-text.c (strcase_hash, strcase_equal): New case
      	insensitive hash and compare functions. We already have these in
      	gutils.c, but this widget can't import gutils.h.
      	(gtk_combo_text_set_case_sensitive): New public function:
      	Specifies whether the text entered into the GtkEntry field and the
      	text in the list items is case sensitive.
      	(entry_activate_cb): New static function. Select corresponding
      	list item when user enters a choice in entry field.
      	(list_select_cb): Block entry_activate_cb when emitting "activate"
      	on entry. Otherwise, endless loop would result.
      	(update_list_selection): New function. Guts of
      	gtk_combo_text_set_text moved here, since it is also used by
      	entry_activate_cb.
      	(gtk_combo_text_set_text): See previous entry.
      	(gtk_combo_text_construct): Construct widget as case insensitive,
      	which is also the default for GtkCombo. Connect entry_activate_cb.
      
      	* gtk-combo-text.h (gtk_combo_text_set_case_sensitive): Declare
      	new function.
      	(struct _GtkComboText): Add 'case_sensitive' member.
      24995be8
    • JP Rosevear's avatar
      Adjust if the range to be sorted has a header. · 18bcb4e0
      JP Rosevear authored
      2000-06-12  JP Rosevear  <jpr@arcavia.com>
      
      	* src/workbook.c (sort_cmd): Adjust if the range to be sorted
      	has a header.
      
      	* NEWS: Update.
      
      	* src/ranges.h: New prototype.
      
      	* src/ranges.c (range_has_header): New function to determine if
      	a region has a header row.
      18bcb4e0
    • Jon K Hellan's avatar
      New static helper function. (double_line_draw): New function. Draw a · 4dee91bd
      Jon K Hellan authored
      2000-06-11  Jon K Hellan  <hellan@acm.org>
      
      	* gnumeric-dashed-canvas-line.c (hypothenuse): New static helper
      	function.
      	(double_line_draw): New function. Draw a double line. Even explain
      	in nice ASCII art how we do it.
      	(gnumeric_dashed_canvas_line_draw): Special case double lines by
      	punting to double line draw.
      
      2000-06-11  Jon K Hellan  <hellan@acm.org>
      
      	* dialog-cell-format.c (line_info[]): Add explanatory comment.
      	(draw_border_preview): Fix typos. Wrong symbolic define was being
      	used, but the numbers were the same, so the result was correct.
      4dee91bd
    • Jody Goldberg's avatar
      Add missing files and a ChangeLog · 6d46eb34
      Jody Goldberg authored
      6d46eb34
  3. 11 Jun, 2000 1 commit
  4. 10 Jun, 2000 6 commits
    • Chyla Zbigniew's avatar
      Updated Polish translation · 459849b6
      Chyla Zbigniew authored
      
      Updated Polish translation
      459849b6
    • Valek Frob's avatar
      Updated russian translation. · 604745aa
      Valek Frob authored
      604745aa
    • Karl Eichwalder's avatar
      add trans · ed9c7a36
      Karl Eichwalder authored
      ed9c7a36
    • Karl Eichwalder's avatar
      de.po: Update. · f3631408
      Karl Eichwalder authored
      f3631408
    • Miguel de Icaza's avatar
      Add LinuxExpo.sty file · 71201d00
      Miguel de Icaza authored
      71201d00
    • Jody Goldberg's avatar
      Cursors now use timer based scrolling too. · 1c9eb792
      Jody Goldberg authored
      2000-06-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_update) : Change sheet -> sheet-view.
      	(item_cursor_set_bounds) : Add a short circuit test and return TRUE
      	  if things changed.
      	(item_cursor_selection_event) : Take a SheetView.
      	(item_cursor_target_region_ok) : sheet -> sheet-view
      	(item_cursor_do_action) : Ditto.
      	(item_cursor_set_arg) : Ditto.
      	(item_cursor_class_init) : Ditto.
      	(item_cursor_set_bounds_visibly) : Make the cell visible before
      	  changing the bounds.
      	(cb_move_cursor) : New function.
      	(cb_autofill_scroll) : New function.
      	(item_cursor_handle_motion) : New function.
      	(item_cursor_drag_event) : Enable timer based scrolling.
      	(item_cursor_autofill_event) : Ditto.
      
      	* src/gnumeric-sheet.c (start_cell_selection_at) : item-cursor takes a
      	  sheet-view rather than a sheet.
      	(gnumeric_sheet_new) : Ditto. Only update if the bounds changed.
      
      	* src/item-edit.c : Take a SheetView rather than a Sheet.
      
      	* src/sheet-view.c (sheet_view_start_sliding) : Return a flag
      	  indicating whether or not the timer has been triggered.
      
      	* src/border.c (LineDotPattern) : Fixed const.
      1c9eb792
  5. 09 Jun, 2000 6 commits
  6. 08 Jun, 2000 16 commits
    • Jody Goldberg's avatar
      update · 567f3038
      Jody Goldberg authored
      567f3038
    • Jody Goldberg's avatar
      ok now I understand what those calls to gnome_canvas_get_scroll_offsets · cecea671
      Jody Goldberg authored
      
      2000-06-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_compute_visible_ranges) :
      	  ok now I understand what those calls to
      	  gnome_canvas_get_scroll_offsets where supposed to do.
      cecea671
    • Jody Goldberg's avatar
      Patch leak. · d6418a40
      Jody Goldberg authored
      
      2000-06-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (col_row_restore_sizes_group) : Patch leak.
      d6418a40
    • Jon K Hellan's avatar
      Silence run-time warning: Check for non-null list item from hash before · 560f646c
      Jon K Hellan authored
      2000-06-08  Jon K Hellan  <hellan@acm.org>
      
      	* gtk-combo-text.c (gtk_combo_text_set_text): Silence run-time
      	warning: Check for non-null list item from hash before casting to
      	widget.
      560f646c
    • Jody Goldberg's avatar
      Patch leak. · 87f72c55
      Jody Goldberg authored
      87f72c55
    • Jody Goldberg's avatar
      I hate typos. · 990a0113
      Jody Goldberg authored
      990a0113
    • Jody Goldberg's avatar
      Only autocomplete text that begins with an alphabetic · 69665bb8
      Jody Goldberg authored
      
      2000-06-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-edit.c (entry_changed) : Only autocomplete text that
      	  begins with an alphabetic
      69665bb8
    • Jody Goldberg's avatar
      update · 75f7d8d0
      Jody Goldberg authored
      75f7d8d0
    • Morten Welinder's avatar
      Leak fix. · 9c7495cf
      Morten Welinder authored
      9c7495cf
    • Jody Goldberg's avatar
      Do not make the edge visible, the scroll time will take care of that. · f4b6302b
      Jody Goldberg authored
      
      2000-06-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
      	  Do not make the edge visible, the scroll time will take care of
      	  that.
      	(sheet_view_{col,row}_size_changed) : Use the new undo wrappers.
      	(cb_colrow_resize) : Use the new undo wrappers.
      	(sheet_view_init) : Init the scroll timers.
      	(sheet_view_stop_sliding) : Based on the version from item_grid.
      	(sheet_view_start_sliding) : Ditto.
      	(sheet_view_sliding_callback) : Ditto.  Added callback support.
      	  tuned scroll parameters.
      
      	* src/number.h : Clear out unused cruft.
      
      	* src/item-grid.c : Move support for scroll timers into sheet-view.
      
      	* src/item-bar.c (get_element_from_pixel) : Renamed from
      	  get_col_from_pos.
      	(cb_extend_selection) : New function.
      	(item_bar_event) : Use the sliding scroll mechanism in sheet_view.
      
      	* src/item-cursor.c (item_cursor_selection_event) : Adapt to changes in
      	  item_grid_find_{col,row}.
      	(item_cursor_drag_event) : Ditto.
      
      	* src/sheet.c (sheet_foreach_colrow) : renamed and moved to.
      	* src/colrow.c (col_row_foreach) here.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_find_{col,row}) : Moved here
      	  and renamed from.
      	* src/item-grid.c (item_grid_find_{col,row}) : here.
      
      	* src/value.c (value_equal) : deleted.
      	(value_compare) : Moved and renamed from
      	* src/expr.c (compare) : here.
      	(expr_dump_tree) : Delete replicated function.
      
      	* src/colrow.c (col_row_size_list_destroy) :
      	(col_row_index_list_destroy) : New function.
      	(col_row_get_index_list) : New function.
      	(col_row_set_sizes) : New function.
      	(col_row_restore_sizes_group) : New function.
      
      	(col_row_save_sizes) : Moved from sheet.c
      	col_row_restore_sizes : Ditto.
      	cb_set_row_height : Ditto.
      	rows_height_update : Ditto.
      
      	src/commands.c (cmd_resize_row_col*) : Implement.
      f4b6302b
    • Morten Welinder's avatar
      Take advantage of sort_data_length and sort_permute_invert. · f73e172f
      Morten Welinder authored
      2000-06-08  Morten Welinder  <terra@diku.dk>
      
      	* src/commands.c (cmd_sort_undo): Take advantage of
       	sort_data_length and sort_permute_invert.
      
      	* src/sort.c (sort_data_length): Make public.
      	(sort_permute_invert): New function.
      f73e172f
    • ERDI Gergo's avatar
      Fixed a possible memory leak (callback data was not freed) · c66708d1
      ERDI Gergo authored
      2000-06-08  ERDI Gergo  <cactus@cactus.rulez.org>
      
      	* src/dialogs/dialog-printer-setup.c (unit_editor_configure):
      	Fixed a possible memory leak (callback data was not freed)
      c66708d1
    • Morten Welinder's avatar
      Remove left-overs. · d9e8be7d
      Morten Welinder authored
      d9e8be7d
    • Jon K Hellan's avatar
      Set zoom using gtk_combo_text_set_text. (change_zoom_in_current_sheet_cb): · 980b6a03
      Jon K Hellan authored
      2000-06-08  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook.c (change_displayed_zoom_cb): Set zoom using
      	gtk_combo_text_set_text.
      	(change_zoom_in_current_sheet_cb): Check that current sheet is non
      	NULL.
      	(workbook_zoom_feedback_set): Block callbacks while changing
      	displayed zoom.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	Drop the empty font name - that was needed in the option menu, but
      	not now we're using a combo box.  Ignore nameless fonts in
      	gnumeric_font_family_list. (We were displaying *two* blank lines
      	at the top - now we've got rid of both.)
      	(workbook_feedback_set): Set font size and font name using
      	gtk_combo_text_set_text, which also selects the item in the combo
      	list if present.  Get rid of hack to select font name in list -
      	this is now done in the widget.
      	(workbook_feedback_set):
      
      	* src/sheet.c (sheet_set_zoom_factor): Check that sheet isn't NULL.
      
      2000-06-08  Jon K Hellan  <hellan@acm.org>
      
      	* gtk-combo-text.[ch] (gtk_combo_text_set_text): New function. Set
      	displayed text, and select it in the list if present.
      
      	* gtk-combo-text.c (cb_remove_from_hash): New function. Remove
      	list item widget from hash when item is deleted.
      	(gtk_combo_text_add_item): Store list item widget in hash instead
      	of list item position. This way, it works even if items are
      	deleted.
      980b6a03
    • Ariel Rios's avatar
      Removal of unused code. Found some nasty problems that need to be addresed · ca016474
      Ariel Rios authored
      2000-06-07  Ariel Rios  <ariel@arcavia.com>
      
      * plugin.c: Removal of unused code. Found some nasty problems
      that need to be addresed urgently in ranges and arrays.
      
      * doc/guile-gnumeric.txt: Updated.
      ca016474
    • Morten Welinder's avatar
      Fix sorting. · 812617f7
      Morten Welinder authored
      812617f7