1. 14 Jun, 2000 15 commits
  2. 13 Jun, 2000 9 commits
    • Jody Goldberg's avatar
      - Initial version of formula guru · 489a4201
      Jody Goldberg authored
      - Some extensions to auto-fill
      - Slight reorg of Bonobo support.
      
      2000-06-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c : Enable the formula guru, make WorkbookPrivate hold
      	  the BonoboObject in the ENABLED_BONOBO case.
      
      	* src/workbook-edit.c (workbook_finish_editing) : Disconnect any gurus
      	  that may be up.
      	(entry_changed) : Do not autocomplete expressions.  Gurus play havoc
      	  with this.
      	(workbook_edit_auto_complete_init) : Delete unused.
      	(workbook_get_entry_logical) : New function.
      	(workbook_set_entry) : New function.
      	(workbook_edit_attach_guru) : New function.
      	(workbook_edit_detach_guru) : New function.
      	(workbook_editing_expr) : When a guru is up we are always editing an
      	  expression. TODO, tune this.
      	(workbook_edit_load_value) : Moved from Sheet, and renamed from
      	  sheet_load_cell_val.
      	(workbook_edit_init) : Handle gurus.
      
      	* src/sheet.c (sheet_destroy_cell_select_cursor) : Make clearing optional.
      
      	* src/sheet-vector.c (sheet_vector_new) : The vectors are
      	  BonoboObjects, destroy them correctly.
      	(sheet_vectors_shutdown) : Ditto.
      
      	* src/sheet-object.c (sheet_set_mode_type_full) : Silence warning.
      	(sheet_object_insert) : Renamed from sheet_insert_object and moved
      	  from sheet.c
      
      	* src/pixmaps.h : Enable the Formula guru.
      
      	* src/parser.y (arg_list) : Improve handling of empty arguments.
      
      	* src/gnumeric-sheet.c (selection_remove_selection_string) : Use
      	  workbook_get_entry_logical.
      	(selection_insert_selection_string) : Ditto.
      	(start_cell_selection_at) : Ditto.
      	(gnumeric_sheet_key_mode_sheet) : Ditto.
      
      	* src/workbook-private.[ch] : Make this into a Bonobo Object for now.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : Use
      	  workbook_new_with_sheets.
      	(embeddable_grid_new) : WorkbookPrivate is temporarily the bonobo
      	  object.
      
      	* src/history.c (history_menu_item_create) : Ditto.
      	(history_menu_locate_separator) : Ditto.
      	(history_menu_insert_separator) : Ditto.
      	(history_menu_remove_items) : Ditto.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) : Ditto.
      	* src/sheet-object-container.c (sheet_object_container_realize) : Ditto.
      
      	* src/workbook-view.c (workbook_view_set_paste_special_state) : Ditto.
      	(change_menu_label) : Ditto.
      
      	* src/file.c (workbook_try_read) : Workbook is now always just a
      	  GtkObject.
      	(workbook_import) : Ditto.
      
      	* src/formats.c (cell_format_date) : Add some new formats.
      
      	* src/format.c (find_decimal_char) : Restore constness.
      	(format_remove_decimal) : Fix the const correctly.
      
      	* src/commands.c (cmd_ins_del_row_col_redo) : Fix to use the new
      	  semantics.
      
      2000-06-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-autofill.c (fill_item_destroy) : Free the format.
      	(fill_item_new) : Handle filling by month and year.
      	(autofill_compute_delta) : Ditto.
      	(autofill_cell) : Ditto.
      
      	* src/formats.c (cell_format_is_number) : currently handle the single
      	  character currencies.
      	(cell_format_date) : year only formats.
      
      2000-06-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : Minor
      	  optimization.
      489a4201
    • Morten Welinder's avatar
      Change "_" to "-", fixing around 14183. · f574bc52
      Morten Welinder authored
      2000-06-14  Morten Welinder  <terra@diku.dk>
      
      	* src/history.c (history_item_label): Change "_" to "-", fixing
       	around 14183.
      f574bc52
    • Jody Goldberg's avatar
      - Initial version of formula guru · d69ee3cb
      Jody Goldberg authored
      - Some extensions to auto-fill
      - Slight reorg of Bonobo support.
      
      2000-06-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c : Enable the formula guru, make WorkbookPrivate hold
      	  the BonoboObject in the ENABLED_BONOBO case.
      
      	* src/workbook-edit.c (workbook_finish_editing) : Disconnect any gurus
      	  that may be up.
      	(entry_changed) : Do not autocomplete expressions.  Gurus play havoc
      	  with this.
      	(workbook_edit_auto_complete_init) : Delete unused.
      	(workbook_get_entry_logical) : New function.
      	(workbook_set_entry) : New function.
      	(workbook_edit_attach_guru) : New function.
      	(workbook_edit_detach_guru) : New function.
      	(workbook_editing_expr) : When a guru is up we are always editing an
      	  expression. TODO, tune this.
      	(workbook_edit_load_value) : Moved from Sheet, and renamed from
      	  sheet_load_cell_val.
      	(workbook_edit_init) : Handle gurus.
      
      	* src/sheet.c (sheet_destroy_cell_select_cursor) : Make clearing optional.
      
      	* src/sheet-vector.c (sheet_vector_new) : The vectors are
      	  BonoboObjects, destroy them correctly.
      	(sheet_vectors_shutdown) : Ditto.
      
      	* src/sheet-object.c (sheet_set_mode_type_full) : Silence warning.
      	(sheet_object_insert) : Renamed from sheet_insert_object and moved
      	  from sheet.c
      
      	* src/pixmaps.h : Enable the Formula guru.
      
      	* src/parser.y (arg_list) : Improve handling of empty arguments.
      
      	* src/gnumeric-sheet.c (selection_remove_selection_string) : Use
      	  workbook_get_entry_logical.
      	(selection_insert_selection_string) : Ditto.
      	(start_cell_selection_at) : Ditto.
      	(gnumeric_sheet_key_mode_sheet) : Ditto.
      
      	* src/workbook-private.[ch] : Make this into a Bonobo Object for now.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : Use
      	  workbook_new_with_sheets.
      	(embeddable_grid_new) : WorkbookPrivate is temporarily the bonobo
      	  object.
      
      	* src/history.c (history_menu_item_create) : Ditto.
      	(history_menu_locate_separator) : Ditto.
      	(history_menu_insert_separator) : Ditto.
      	(history_menu_remove_items) : Ditto.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) : Ditto.
      	* src/sheet-object-container.c (sheet_object_container_realize) : Ditto.
      
      	* src/workbook-view.c (workbook_view_set_paste_special_state) : Ditto.
      	(change_menu_label) : Ditto.
      
      	* src/file.c (workbook_try_read) : Workbook is now always just a
      	  GtkObject.
      	(workbook_import) : Ditto.
      
      	* src/formats.c (cell_format_date) : Add some new formats.
      
      	* src/format.c (find_decimal_char) : Restore constness.
      	(format_remove_decimal) : Fix the const correctly.
      
      	* src/commands.c (cmd_ins_del_row_col_redo) : Fix to use the new
      	  semantics.
      
      2000-06-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-autofill.c (fill_item_destroy) : Free the format.
      	(fill_item_new) : Handle filling by month and year.
      	(autofill_compute_delta) : Ditto.
      	(autofill_cell) : Ditto.
      
      	* src/formats.c (cell_format_is_number) : currently handle the single
      	  character currencies.
      	(cell_format_date) : year only formats.
      
      2000-06-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : Minor
      	  optimization.
      d69ee3cb
    • Morten Welinder's avatar
      Round properly. · 9ddd3c3c
      Morten Welinder authored
      2000-06-13  Morten Welinder  <terra@diku.dk>
      
      	* src/functions/fn-math.c (gnumeric_round): Round properly.
      9ddd3c3c
    • Jon Kåre Hellan's avatar
      My brag sheet · 58eef504
      Jon Kåre Hellan authored
      58eef504
    • Morten Welinder's avatar
      Round properly. · 47ed11e8
      Morten Welinder authored
      2000-06-13  Morten Welinder  <terra@diku.dk>
      
      	* src/functions/fn-math.c (gnumeric_round): Round properly.
      47ed11e8
    • Valek Frob's avatar
      Updated russian translation. · 18f0153f
      Valek Frob authored
      18f0153f
    • Jon K Hellan's avatar
      No automatic support in Glade/libglade for underline accelerators in · c68ce479
      Jon K Hellan authored
      2000-06-13  Jon K Hellan  <hellan@acm.org>
      
      	* print.glade(.h)?: No automatic support in Glade/libglade for
      	underline accelerators in buttons in action area. Remove them from
      	Print, Print Preview and option buttons.
      
      	* dialog-printer-setup.c (do_setup_margin): Convert from Excel
      	semantics for header/footer - measured from top/bottom of sheet -
      	to measuring from bottom of top margin/top of bottom margin.
      	(do_fetch_margins): And vice versa.
      	(do_setup_main_dialog): Silence warning.
      c68ce479
    • Jody Goldberg's avatar
      Make this compile again, and knock some of the dust off of it. · e9d085d3
      Jody Goldberg authored
      Someone else can extend it.
      e9d085d3
  3. 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
  4. 11 Jun, 2000 1 commit
  5. 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
  6. 09 Jun, 2000 4 commits