1. 24 May, 2000 4 commits
    • Morten Welinder's avatar
      Style now needs to be initialised before formats. · 169f4952
      Morten Welinder authored
      2000-05-24  Morten Welinder  <terra@diku.dk>
      
      	* src/main.c (gnumeric_main): Style now needs to be initialised
       	before formats.
      
      	* src/number-match.c (format_match): Take a StyleFormat ** instead
       	of a char ** for the suggested format.  All callers changed.
      	(format_parse_t): rename member format to format_str and
       	introduce new member format, a StyleFormat *.
      	(format_match_define): Get a style at this point.
      
      	* src/datetime.c (datetime_value_to_serial_raw): Don't supply a
       	format return variable to format_match since we aren't interested
       	in the result.
      
      	* src/parse-util.c (parse_text_value_or_expr): Return a
       	StyleFormat * instead of a char *.  All callers changed.
      
      	* src/expr.c (expr_parse_string): Take a StyleFormat ** instead of
       	a char ** for the suggested format.  All callers changed.
      
      	* src/parser.y (make_string_return): Turn parser_desired_format
       	into a StyleFormat **.
      	(gnumeric_expr_parser): Take a StyleFormat ** instead of a char **
       	for the suggested format.  All callers changed.
      
      	* src/auto-format.c (auto_style_format_suggest): New function.
      
      
      	* src/sheet-style.c (sheet_style_optimize): Include adjacent
       	ranges in the list of styles to consider.  Handle intervening
       	styles better.  Don't stop searching for matching pairs just
       	because we merge -- only when the merge kills the slave.
      
      	* src/ranges.c (range_dump): Don't print "\n".  All callers
       	changed as needed.
      
      	* src/sheet-style.c (sheet_style_optimize, sheet_styles_dump):
       	Send all debugging output to stderr.  (As opposed to half stderr
       	and half stdout.)
      169f4952
    • Jody Goldberg's avatar
      Actually assign the format after we ref it. (cell_get_format) : Cells with · 45e0d807
      Jody Goldberg authored
      
      2000-05-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_set_expr_internal) : Actually assign the format
      	  after we ref it.
      	(cell_get_format) : Cells with format 'General' may appear to have
      	  a format via autoformat or via the text that was entered.
      45e0d807
    • Jody Goldberg's avatar
      get these into CVS so that they are backed up. · 56fd9381
      Jody Goldberg authored
      Doesn't do much yet.
      56fd9381
    • Valek Frob's avatar
      Updated russian translation and update.sh. · 2e66259e
      Valek Frob authored
      2e66259e
  2. 23 May, 2000 3 commits
  3. 22 May, 2000 4 commits
    • Jody Goldberg's avatar
      typo · 913554e0
      Jody Goldberg authored
      913554e0
    • Jody Goldberg's avatar
      New files. · 77d84d6c
      Jody Goldberg authored
      
      2000-05-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cmd-edit.[ch] : New files.
      
      	* src/workbook.c (cb_edit_select_*) : Use the cmd-edit utilities.
      	Make a 'select' sub menu of edit.
      
      	* src/sheet.c : Use the newly added CellPos in each Cell rather than
      	  mallocing a seperate struct.
      
      	* src/selection.c (sheet_select_all) : Move.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Make the
      	  selection commands accelerators.
      77d84d6c
    • Jon K Hellan's avatar
      New functions. Pack widget in eventbox and add eventbox to toolbar. This · c56a9a92
      Jon K Hellan authored
      2000-05-21  Jon K Hellan  <hellan@acm.org>
      
      	* src/gnumeric-util.[ch] (gnumeric_toolbar_insert_with_eventbox):
      	(gnumeric_toolbar_append_with_eventbox): New functions. Pack
      	widget in eventbox and add eventbox to toolbar. This lets a
      	windowless widget (e.g. combo box) have tooltips.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	Enable tooltips for combo boxes. We do this by using
      	gnumeric_toolbar_{insert|append}_with_eventbox instead of
      	gtk_toolbar_{insert|append}_widget.
      
      	* src/workbook.c (workbook_create_standard_toobar): Ditto
      c56a9a92
    • Jon K Hellan's avatar
      Disconnect list_unselect_cb, otherwise we get warnings during list · e700a091
      Jon K Hellan authored
      2000-05-21  Jon K Hellan  <hellan@acm.org>
      
      	* gtk-combo-text.c (gtk_combo_text_destroy): Disconnect
      	list_unselect_cb, otherwise we get warnings during list shutdown.
      	(list_select_cb): Change it to handle list::select_child instead
      	of listitem::select. Change signature accordingly.
      	(list_select_cb): Invalidate cached state if selecting cached
      	widget.
      	(list_unselect_cb): New callback. Handles unselect by re-selecting
      	if list is visible. This makes it impossible to deselect
      	interactively.
      	(cb_toggle): New callback. Handle <Ret> which by default toggles
      	the list item, and make it select instead.
      	(gtk_combo_text_add_item): Don't connect list_select_cb, that's
      	now done in gtk_combo_text_construct. Connect cb_toggle.
      	(gtk_combo_text_construct): Connect list_select_cb and
      	list_unselect_cb.
      e700a091
  4. 21 May, 2000 15 commits
    • Kenneth Christiansen's avatar
      Now 100% once again!! Ahh, that feels nice :) · a22391b8
      Kenneth Christiansen authored
      Kenneth
      a22391b8
    • Kenneth Christiansen's avatar
      update · ca727524
      Kenneth Christiansen authored
      ca727524
    • Jon K Hellan's avatar
      Remove label from invisible column title. · 6edf3f80
      Jon K Hellan authored
      2000-05-21  Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/dialog-zoom.glade: Remove label from invisible
      	column title.
      
      	* src/dialogs/plugin-manager.glade(.h?): Add accelerators to
      	notebook tabs.
      
      	* src/dialogs/autocorrect-exceptions.glade(.h?): Add accelerators to
      	buttons on notebook pages.
      
      	* src/dialogs/workbook-attr.glade(.h?): Ditto.
      6edf3f80
    • Jody Goldberg's avatar
      typo · b78ca656
      Jody Goldberg authored
      b78ca656
    • Jody Goldberg's avatar
      Remove mail header · f8d87615
      Jody Goldberg authored
      f8d87615
    • Jesus Bravo Alvarez's avatar
      Updated Galician translation · 1e3fd943
      Jesus Bravo Alvarez authored
      1e3fd943
    • Karl Eichwalder's avatar
      de.po: Update. · 589e2e70
      Karl Eichwalder authored
      589e2e70
    • Jody Goldberg's avatar
      A few delayed patches. · 2779b474
      Jody Goldberg authored
      These optimize paste, exit, sheet deletetion,
      and start the process for fixing a few things.
      
      2000-05-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_copy_cell_range) : Adjust signature to
      	  take a range.
      	(sheet_paste_selection) : Export in preparation for adding undo.
      
      	* src/commands.c (cmd_paste_copy) : Some initial work.  Not used or
      	  complete.
      
      	* src/parse-util.c (parse_text_value_or_expr) : Start passing in the
      	  current format so that we can eventually attempt to match it before
      	  trying all the others.
      
      	* src/sheet.c (sheet_formulas_unlink) : New function.
      	(sheet_destroy_contents) : Optimize.
      
      	* src/dialogs/dialog-plugin-manager.c : Make a bit prettier.
      	* src/dialogs/plugin-manager.glade : Ditto.
      
      2000-05-16  Jody Goldberg <jgoldberg@home.com>
      
      	* plugins/*/*.c : Rationalize the naming scheme.
      
      2000-05-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/eval.[ch] : Rename
      	  cell_queue_recalc      -> eval_queue_cell
      	  cell_queue_recalc_list -> eval_queue_list
      	  cell_unqueue_recalc    -> eval_unqueue_cell
      	(eval_unqueue_sheet) : New function.
      
      	* src/sheet.c (sheet_cell_remove_simple) : Add precautionary removal
      	  of cells from recalc list.  We should not need this in most
      	  instances, but the check is inexpensive so I'll play it safe.
      	(sheet_destroy_contents) : Batch cleanups rather than doing it cell by
      	  cell.
      
      	* src/cell.c (cell_make_value) : Fill in the implementation.
      
      	* src/clipboard.c (paste_cell_flags) : Remove some dead code.
      	  Merged in paste_cell and fixed handling of paste by value.
      
      2000-05-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (paste_cell) : No need to call cell_content_changed
      	  we can queue the recalc for the entire region later.  It is
      	  sufficent to make the cell as changed with sheet_cell_changed.
      	(paste_cell) : It is premature to redraw, we have no yet calculated
      	  spans.  Redraw and respan at the range level, not the cell.
      2779b474
    • Yukihiro Nakai's avatar
      ja.po: Update from Mitsuru Oka. · e000ba73
      Yukihiro Nakai authored
      e000ba73
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · 4fd0e0d6
      Kjartan Maraas authored
      2000-05-21  Kjartan Maraas  <kmaraas@gnu.org>
      
      	* no.po: Updated Norwegian translation.
      4fd0e0d6
    • Jody Goldberg's avatar
      Rename the plugins to be more sensible. · 6fcdec54
      Jody Goldberg authored
      There is no need to have the title and the description
      explain that they are plugins.  The user knows that because
      the information is being shown in the plugin manager.
      6fcdec54
    • Jody Goldberg's avatar
      typo · 3927c8f8
      Jody Goldberg authored
      3927c8f8
    • Jody Goldberg's avatar
      Release 0.54 · f3beffbe
      Jody Goldberg authored
      f3beffbe
    • Jody Goldberg's avatar
      remove some debugging that snuck in. · 09c9d5f0
      Jody Goldberg authored
      09c9d5f0
    • Valek Frob's avatar
      Updated russian translation. · 5b0b9501
      Valek Frob authored
      5b0b9501
  5. 20 May, 2000 14 commits
    • Jody Goldberg's avatar
      Bump reqs. libglade >= .13, gnome-print .20 · e14a5378
      Jody Goldberg authored
      
      2000-05-20  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Bump reqs.  libglade >= .13, gnome-print .20
      
      	* src/cellspan.c (cell_calc_span) : Do not overlap spans when using
      	  center across selection.
      e14a5378
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · 8d25d3b3
      Kjartan Maraas authored
      2000-05-20  Kjartan Maraas  <kmaraas@gnu.org>
      
      	* no.po: Updated Norwegian translation.
      8d25d3b3
    • Jody Goldberg's avatar
      Add strikethrough. ({bold,italic,underline}_cmd) : Handle accelerators · 95a55b89
      Jody Goldberg authored
      
      2000-05-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (change_selection_font) : Add strikethrough.
      	({bold,italic,underline}_cmd) : Handle accelerators too.
      95a55b89
    • Jody Goldberg's avatar
      We still need to partially clear the clipboard when short circuiting. · 48952473
      Jody Goldberg authored
      
      2000-05-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_set_selected_sheet) : We still need
      	  to partially clear the clipboard when short circuiting.
      48952473
    • Jeff Garzik's avatar
      Fix one-off bug in cell-name-to- column conversion code. · 78ae62da
      Jeff Garzik authored
      2000-05-20  Jeff Garzik  <jgarzik@mandrakesoft.com>
      
              * sc.c (sc_cellname_to_coords): Fix one-off bug in cell-name-to-
              column conversion code.
      78ae62da
    • Jody Goldberg's avatar
      improve message · dbd6999c
      Jody Goldberg authored
      dbd6999c
    • Leandro Noferini's avatar
      Missed Changelog · 0838259e
      Leandro Noferini authored
      0838259e
    • Leandro Noferini's avatar
      Modified italian translation · 8688f96f
      Leandro Noferini authored
      8688f96f
    • Jody Goldberg's avatar
      Chema bug 4 - undo unhide broken. · 55f23f4f
      Jody Goldberg authored
      Chema bug 6 - Clearing cell immediately beside a blocked span do not respan.
      Chema bug 7 - contents of spanning hidden rows/cols still visible.
      
      2000-05-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : Do not draw the contents of
      	  hidden spanning rows/cols.
      	* src/print-cell.c (print_cell_range) : Ditto.
      
      	* src/colrow.c (cb_row_col_visibility) : Be careful not to compare
      	  TRUE for equality.
      
      	* src/sheet.c
      	(sheet_update_cursor_pos) : warning suppression.
      	(sheet_row_col_visible) : Be careful not to compare TRUE for equality.
      	(sheet_clear_region) : respan both sides of a singleton row/col.
      	  Check for cells to either side even if there is no span,  if we are
      	  directly adjacent to a cell it would have no span even if it wanted
      	  one.
      55f23f4f
    • Jody Goldberg's avatar
      Still more Chema discovery. · 7355ba25
      Jody Goldberg authored
      2000-05-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_set_format) : Apply the format to a NEW style, not the current
      	   style which may be say .... the DEFAULT!!!
      7355ba25
    • Jody Goldberg's avatar
      Fix a few Chema bugs. · 6166dda7
      Jody Goldberg authored
      The cursor border was not being resized when rows/cols were hidden.
      Cell contents were not being re-rendered/sized when the format was
          cleared.
      
      2000-05-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_update) : Update cursor positions when visibility
      	  changes.
      	(sheet_clear_region) : When clearing formats we need to update the
      	  spans and sizes of the contents.
      	(sheet_update_cursor_pos) : New function.
      	(sheet_row_col_visible) : changing the status of a row/col changes visibility.
      
      	* src/sheet-view.c (sheet_view_update_cursor_pos) : New function split
      	  out from sheet_view_set_zoom_factor.
      	(sheet_view_set_zoom_factor) : Use sheet_view_update_cursor_pos.
      6166dda7
    • Jody Goldberg's avatar
      Doh! Fix the rest of the paste crashes. · 451b2fd3
      Jody Goldberg authored
      Doh!
      Fix the rest of the paste crashes.
      
      2000-05-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_copy) : Ref the format if one exists.
      451b2fd3
    • Jody Goldberg's avatar
      Fix warning when attempting to auto size rows after a font change · 56f885ff
      Jody Goldberg authored
      2000-05-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (cb_set_row_height) : Only set the height if it
      	  changed.
      56f885ff
    • Jody Goldberg's avatar
      Bug 11572 · 7c57a4f3
      Jody Goldberg authored
      2000-05-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_set_selected_sheet) : No need to
      	  clear the X selection if we already own it.
      7c57a4f3