1. 12 Oct, 1998 1 commit
    • Jakub Jelinek's avatar
      Add base_col and base_row arguments. Move cursor to that location, so that · 4ded61c3
      Jakub Jelinek authored
      1998-10-07  Jakub Jelinek  <jj@ultra.penguin.cz>
      
      	* src/sheet.c (sheet_cursor_set): Add base_col and
      	base_row arguments. Move cursor to that location, so
      	that it really reflects base of the selection.
      
      	* src/sheet.h (sheet_cursor_set): Ditto.
      
      	* src/clipboard.c (x_selection_received): Callers changed.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_set_selection): Ditto.
      	(move_cursor): Ditto.
      
      	* src/item-cursor.c (item_cursor_autofill_event): Ditto.
      	(item_cursor_init): Fix a typo.
      4ded61c3
  2. 09 Oct, 1998 1 commit
  3. 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
  4. 07 Oct, 1998 3 commits
  5. 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
  6. 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
  7. 04 Oct, 1998 1 commit
  8. 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
  9. 02 Oct, 1998 4 commits
    • Vincent Renardias's avatar
      Use the std. format for country-dependant locales. · a1823a91
      Vincent Renardias authored
      * Use the std. format for country-dependant locales.
      a1823a91
    • Adrian Likins's avatar
      guess what? doc updates.. mainly info on formatting cells. · d67bf3db
      Adrian Likins authored
      1998-10-01 Adrian Likins <adrian@gimp.org>
      
              * src/*.sgml: guess what? doc updates.. mainly
      	  info on formatting cells.
      
              * src/images/number-format-*.jpg: more images
      
      -adrian
      d67bf3db
    • Adrian Likins's avatar
      some more images for the docs... · 77614479
      Adrian Likins authored
      mostly shots  for the cell format dialog..
      
      -adrian
      77614479
    • Miguel de Icaza's avatar
      Removed unused variables · e5d027e2
      Miguel de Icaza authored
      1998-10-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/item-grid.c (item_grid_event): Removed unused variables
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_start_cell_selection,
      	gnumeric_sheet_selection_extend,
      	gnumeric_sheet_selection_cursor_place): New routines for letting
      	the user use the mouse to select a cell range.  Invoked from
      	item-grid.c
      
      	* src/item-grid.c (item_grid_event): Clean and reorgranize the
      	event handler, remove unused variables.
      
      	* src/gnumeric-sheet.c (selection_expand_horizontal): -1 now means
      	"shrink the selection", which means Left/Up keys shrink.
      	Right/Down expand.
      	(selection_expand_vertical): likewise.
      
      	* src/format.c (format_number): Fixed memory leak: this is a
      	pretty bad construction: g_string_append (s, alloc_string()).  I
      	just did not see it coming.  Taking metal note of this.
      
      	* src/number-match.c (format_create_regexp): Fixed memory leaks.
      	The strings returned by create_option_list need to be released.
      
      	* src/style.c (style_color_new): Important bug fix:  The key I was
      	passing was a GdkColor, but our hash table stored StyleColors
      	inside.
      
      	* src/format.c (append_year): Better fix, suggested by Morten
      	Welinder <terra@diku.dk>
      e5d027e2
  10. 01 Oct, 1998 5 commits
  11. 30 Sep, 1998 8 commits