1. 27 Oct, 1998 3 commits
  2. 26 Oct, 1998 1 commit
  3. 21 Oct, 1998 1 commit
  4. 20 Oct, 1998 2 commits
  5. 19 Oct, 1998 1 commit
  6. 14 Oct, 1998 2 commits
  7. 13 Oct, 1998 4 commits
    • Miguel de Icaza's avatar
      Add some missing variables. · d5c038f6
      Miguel de Icaza authored
      1998-10-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/item-grid.h: Add some missing variables.
      d5c038f6
    • Jakub Jelinek's avatar
      New functions. (item_grid_event): If x or y is out of canvas bounds, do · 718822fb
      Jakub Jelinek authored
      1998-10-13  Jakub Jelinek  <jj@ultra.penguin.cz>
      
      	* src/item-grid.c (item_grid_stop_sliding,
      	item_grid_sliding_callback, item_grid_start_sliding):
      	New functions.
      	(item_grid_event): If x or y is out of canvas bounds,
      	do sliding for both cell and formula selection.
      	For button release from formula selection, make cell
      	being edited visible afterwards.
      	(item_grid_button_1): If not extending selection with
      	shift, make cursor cell visible.
      
      	* src/gnumeric-sheet.c (move_cursor,
      	gnumeric_sheet_key_mode_sheet): Make cursor cell visible.
      
      	* src/sheet.c (sheet_select_all): Make home visible.
      	(sheet_make_cell_visible): New function.
      	(sheet_cursor_move, sheet_cursor_set): Don't make cursor
      	visible, caller has to do it himself if desired.
      
      	* src/sheet.h (sheet_make_cell_visible): New prototype.
      
      	* src/workbook.c (workbook_parse_and_jump): Make cursor
      	cell visible.
      718822fb
    • Tom Dyas's avatar
      Shut up CVS. · b6008a1f
      Tom Dyas authored
      b6008a1f
    • Miguel de Icaza's avatar
      It is amazing the number of times I duplicated this code. I wonder if I · cd222d42
      Miguel de Icaza authored
      1998-10-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/utils.c (col_name): It is amazing the number of times I
      	duplicated this code.  I wonder if I took prozac by accident.
      	This should fix the bug reported by Morten Welinder
      
      1998-10-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-view.c (vertical_scroll_event,
      	horizontal_scroll_event): Set the top column/row from the
      	adjustment as well.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_set_top_col,
      	gnumeric_sheet_set_top_row): Export these functions to improve the
      	scrolling behaviour.
      
      1998-10-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/utils.c (cellref_name): Fixed another of column name
      	decoding.  I wonder when I will learn.
      cd222d42
  8. 12 Oct, 1998 4 commits
  9. 09 Oct, 1998 1 commit
  10. 08 Oct, 1998 3 commits
    • Richard Hestilow's avatar
      Changed all g_new's to g_malloc's to get rid of compiler warnings. · abed4821
      Richard Hestilow authored
      1998-10-07  Richard Hestilow  <hestgray@ionet.net>
      
              * stat.c: Changed all g_new's to g_malloc's to get rid of compiler
              warnings.
              (stat_undivided_variance): now initializing result to 0.0
      abed4821
    • Miguel de Icaza's avatar
      Make sure the column is allocated (so that the column size change picks up · 0a16f723
      Miguel de Icaza authored
      1998-10-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-view.c (sheet_view_col_selection_changed): Make sure
      	the column is allocated (so that the column size change picks up
      	the column during the iteration).
      	(sheet_view_row_selection_changed): Same
      0a16f723
    • Miguel de Icaza's avatar
      New routine: loads a couple of default fonts to be used in Gnumeric. · 1e3d41ad
      Miguel de Icaza authored
      1998-10-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.c (font_init): New routine: loads a couple of default
      	fonts to be used in Gnumeric.
      
      	* src/item-bar.c (bar_draw_cell): Make the SELECTION cells display
      	with a bold font.
      	(item_bar_realize, item_bar_unrealize): reference and unreference
      	the gnumeric_default_bold_font.
      
      1998-10-07  Jakub Jelinek  <jj@ultra.linux.cz>
      
      	* src/item-grid.c (item_grid_button_1): Handle shift+click
      	on cells (removes last selection and selects from last base
      	to current mouse location).
      	(item_grid_event): Don't lock up if mouse is moved during
      	selection behind left or top margin of sheet canvas (later
      	on we should move the current view).
      
      	* src/cell.c (cell_formula_changed): Cast void * to something
      	reasonable.
      
      	* src/item-bar.c (draw_bar_cell): Switch from 2 state bars
      	to 3 state: whole column/row is selected in one of the current
      	selections, some cells are selected in one of the selections
      	or nothing is selected. Get rid of ci->selected, compute it
      	from the selections.
      	(item_bar_draw): Ditto.
      
      	* src/cell.h (selected): Ditto.
      
      	* src/sheet.c (sheet_init_default_styles, sheet_init_dummy_stuff):
      	Ditto.
      	(sheet_selection_row_extend_to, sheet_selection_col_extend_to):
      	Remove.
      	(sheet_all_is_selected): True if any of the selections covers whole
      	sheet.
      	(sheet_col_selection_type, sheet_row_selection_type): New functions.
      	(sheet_selection_set): New function.
      
      	* src/sheet-view.c (sheet_view_row_set_selection,
      	sheet_view_col_set_selection): Remove.
      	(sheet_view_col_selection_changed, sheet_view_row_selection_changed):
      	Handle shift+click and ctrl+click on whole columns/bars as well.
      	(sheet_view_col_size_changed, sheet_view_row_size_changed): Use
      	sheet_*_selection_type instead of ci->selected.
      
      	* src/item-bar.h (ItemBarSelectionType): Enum for the new 3 state
      	column/row titles.
      	(ItemBarClass): selection_changed takes modifier mask as argument.
      
      	* src/sheet-view.h (sheet_view_*_set_selection): Remove prototypes.
      
      	* src/sheet.h (sheet_selection_*_extend_to): Ditto.
      	(sheet_selection_set, sheet_*_selection_type): New prototypes.
      
      1998-10-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      1e3d41ad
  11. 07 Oct, 1998 3 commits
  12. 06 Oct, 1998 4 commits
    • Miguel de Icaza's avatar
      Cells from the clipboard do not have a Sheet parameter attached. · 85cff8c7
      Miguel de Icaza authored
      1998-10-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cell.c (cell_modified): Cells from the clipboard do not have
      	a Sheet parameter attached.
      
      	* src/sheet.c (sheet_cell_add): Check the computed style:  if the
      	computed style includes a format, then turn on the cell flag for
      	format is set to avoid the auto guess of cell content.
      	(sheet_style_compute): Now can return the flags of the style that
      	were not part of the default style.
      
      	* src/file.c (dialog_query_load_file, workbook_save_as): Put the
      	window close to the mouse.
      
      	* src/workbook.c (sheet_check_dirty, workbook_close): Do not
      	cancel without warning the user if the workbook has changed.
      	(workbook_new, workbook_can_close, workbook_window_destroy,
      	quit_cmd, close_cmd): Reorganized the code to suit the new code to
      	prevent inadvertent quits.
      85cff8c7
    • Adrian Likins's avatar
      gifs for documenting the button bar doc updates, some prelim info on file · 3ceff682
      Adrian Likins authored
      1998-10-06 Adrian Likins <adrian@gimp.or>
      
              * doc/images/*.gif: gifs for documenting the button bar
              * doc/editing.sgml, files.sgml, formulas.sgml, gnumeric.sgml,
              number-format.sgml, worksheet.sgml: doc updates, some prelim
              info on file loading/saving
      
      -adrian
      3ceff682
    • Adrian Likins's avatar
      Big pile of small gifs for the docs i should have committed last week. · a4546392
      Adrian Likins authored
      
      	Big pile of small gifs for the docs i should have
      	committed last week.
      
      	also, a new image or two.
      
      -adrian
      a4546392
    • Arturo Espinosa's avatar
      Strange, CVS did not catch this file · 550b6bd9
      Arturo Espinosa authored
      550b6bd9
  13. 05 Oct, 1998 3 commits
    • Arturo Espinosa's avatar
      Fix typos · 2b2ddc82
      Arturo Espinosa authored
      2b2ddc82
    • Miguel de Icaza's avatar
      New function, used to tag a modified cell in a sheet. · 4a1b760f
      Miguel de Icaza authored
      1998-10-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cell.c (cell_modified): New function, used to tag a modified
      	cell in a sheet.
      
      	* src/fn-math.c (gnumeric_average): Display error on division by
      	zero.  Make the code not depend on the types returned by
      	gnumeric_sum and gnumeric_count.
      	(callback_function_sum): Keep sum as integers as long as
      	possible instead of using floating point all the time.
      4a1b760f
    • Arturo Espinosa's avatar
      Updated hu.po file · 25c40394
      Arturo Espinosa authored
      25c40394
  14. 04 Oct, 1998 1 commit
  15. 03 Oct, 1998 7 commits
    • Miguel de Icaza's avatar
      Do not try to be smart about string content. Let the smartiness to other · eb3b3858
      Miguel de Icaza authored
      1998-10-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/fn-math.c (callback_function_sum): Do not try to be smart
      	about string content.  Let the smartiness to other layers.
      	(gnumeric_average): Handle division by zero on average routine.
      
      	* src/number-match.c (create_option_list): Small bug fix:  First
      	translate, then move the pointer ahead.
      
      	* src/cell.c (str_trim_spaces): Trim space routine was removing
      	everything after the first space instead of removing only the
      	trailing space.
      	(cell_draw): Free the original string, not the modified copy.
      
      	* src/sheet.c (sheet_set_text): Test if the format has been
      	manually set by the user before trying to do format matching.
      
      	* src/cell.h: New flag: CELL_FORMAT_SET, used if the user has
      	manually specified a format. FIXME: This information should be
      	saved and loaded.
      
      	* src/cell.c (cell_set_format): Set the CELL_FORMAT_SET flag
      eb3b3858
    • Nuno Ferreira's avatar
      .cvsignore added. · 717cf9c4
      Nuno Ferreira authored
      * .cvsignore added.
      717cf9c4
    • Nuno Ferreira's avatar
      Added some more keys to navigate the menus. · f70e669e
      Nuno Ferreira authored
      	* src/workbook.c: Added some more keys to navigate the menus.
      
      	* gnumeric.desktop: Added Portuguese translations.
      
          * po/pt.po: Updated.
      f70e669e
    • Nuno Ferreira's avatar
      Modified hack that patches libtool to work with srcdir != builddir · 1c304953
      Nuno Ferreira authored
      	* autogen.sh: Modified hack that patches libtool to work with
      	srcdir != builddir
      1c304953
    • Richard Hestilow's avatar
      added new function NVARIANCE for division by N instead of N - 1, fixed div · 6994b58a
      Richard Hestilow authored
      1998-10-02  Richard Hestilow <hestgray@ionet.net>
      
              * plugins/stat/stat.c: added new function NVARIANCE
              for division by N instead of N - 1, fixed div by 0 error if
              variance of a single value was taken, free'd up some mem leaks.
              (Thanks to Morten Welinder for noticing these)
      6994b58a
    • Richard Hestilow's avatar
      Added new statistics plugin · e38de134
      Richard Hestilow authored
      1998-10-02  Richard Hestilow <hestgray@ionet.net>
      
              * Added new statistics plugin
      e38de134
    • Jakub Jelinek's avatar
      fix, fore_color was assigned twice, and back_color never. · d75141a4
      Jakub Jelinek authored
      1998-10-02  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
      
      	* src/dialog-cell-format.c (apply_coloring_format): fix,
      	fore_color was assigned twice, and back_color never.
      
      1998-10-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/item-grid.h: ItemGridSelectionType: new enumeration type
      	used for item_grid->selecting to avoid shutting down entirely the
      	formula selection range on mouse release.
      d75141a4