1. 16 Jan, 2000 9 commits
    • Morten Welinder's avatar
      New file. New file. · f9c9e6c0
      Morten Welinder authored
      2000-01-16  Morten Welinder  <terra@diku.dk>
      
      	* src/auto-format.c: New file.
      	* src/auto-format.h: New file.
      
      	* src/formats.c (cell_format_general, cell_format_numbers,
       	cell_format_currency, cell_format_account, cell_format_date,
       	cell_format_time, cell_format_percent, cell_format_fraction,
       	cell_format_science, cell_format_text): Make static.
      
      	* src/cell.c (cell_set_formula): Free the format.  Only set format
       	if the cell was previously blank.
      	(cell_has_assigned_format, cell_get_format): New functions.
      
      	* src/parser.y (gnumeric_expr_parser): Drop const for
       	desired_format.  On error, free the format.
      	(make_string_return): g_strdup the format.
      
      	* src/expr.c (expr_parse_string): Drop const for desired_format.
      
      	* src/functions/fn-financial.c (finance_functions_init): Add
       	result types for auto-format.
      
      	* src/functions/fn-date.c (date_functions_init): Add result types
       	for auto-format.
      
      	* src/functions/fn-math.c (math_functions_init): Add result types
       	for auto-format.
      
      	* src/Makefile.am (GNUMERIC_BASE_SOURCES): Add auto-format.c and
       	auto-format.h.
      
      	* src/main.c (gnumeric_main): Init and shutdown for auto_format.
      f9c9e6c0
    • Morten Welinder's avatar
      require 0.10. · 98320654
      Morten Welinder authored
      2000-01-16  Morten Welinder  <terra@diku.dk>
      
      	* gnumeric.spec.in (gnome-print): require 0.10.
      
      	* configure.in (gnome-print): require 0.10.
      98320654
    • Jon Kåre Hellan's avatar
      Allow calling Gnumeric builtins from Python. · e19ed5c7
      Jon Kåre Hellan authored
             * Python plugin update: Allow calling Gnumeric builtins from
               Python.
      e19ed5c7
    • Pablo Saratxaga's avatar
      updated es.po · 488b109c
      Pablo Saratxaga authored
      488b109c
    • Pablo Saratxaga's avatar
      updated es.po · d8fa1a4f
      Pablo Saratxaga authored
      d8fa1a4f
    • Arturo Espinosa's avatar
      Remove debugging messages -mig · 04ecc746
      Arturo Espinosa authored
      04ecc746
    • Miguel de Icaza's avatar
      New function. · d0072015
      Miguel de Icaza authored
      2000-01-16  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/sheet.c (sheet_redraw_range): New function.
      
      	* src/selection.c (sheet_selection_change): Just queue redraws for
      	the actual change on the selection.
      
      	* src/sheet.c (sheet_redraw_selection): Make this one take a Range
      	instead of a SheetSelection
      
      	* src/item-cursor.c (item_cursor_request_redraw): We now only
      	queue a redraw event for the exact area exposed.
      d0072015
    • Jody Goldberg's avatar
      Add a Changelog · d41efdfb
      Jody Goldberg authored
      d41efdfb
    • Jody Goldberg's avatar
  2. 15 Jan, 2000 30 commits
    • jpekka's avatar
      moved the *.xls files again. · 8dc7d50f
      jpekka authored
      8dc7d50f
    • jpekka's avatar
      moved datefuns.xls. · 03ba2173
      jpekka authored
      03ba2173
    • jpekka's avatar
      change log entry · 721793c7
      jpekka authored
      721793c7
    • jpekka's avatar
      59f285e1
    • jpekka's avatar
      861a1621
    • jpekka's avatar
      5721b8b7
    • jpekka's avatar
      6ad8ba9f
    • jpekka's avatar
      38f54125
    • jpekka's avatar
      d1f247ed
    • jpekka's avatar
      53bc5788
    • jpekka's avatar
      92c401ae
    • jpekka's avatar
      0a78495c
    • jpekka's avatar
      6f7d314d
    • jpekka's avatar
      0c9312da
    • Jukka-Pekka Iivonen's avatar
      Updated the LINEST test. · 8075ca90
      Jukka-Pekka Iivonen authored
      2000-01-16  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
              * samples/statfuns.xls: Updated the LINEST test.
      
              * samples/excel: Created a new directory for XL samples.
      
              * samples/excel/solver-01.xls: Added a new test file.
      8075ca90
    • Almer. S. Tigelaar's avatar
      Removed confdefs.h, this seems to be an autoconf leftover that accidently · 310e35df
      Almer. S. Tigelaar authored
      	2000-01-15 Almer. S. Tigelaar. <almer1@dds.nl>
      
      	* Removed confdefs.h, this seems to be an autoconf leftover
              that accidently got commited
      310e35df
    • Jody Goldberg's avatar
      Use cmd_clear_selection. · 1a96d682
      Jody Goldberg authored
      
      2000-01-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (clear_{all,formats,comments,content}_cmd) : Use
      	  cmd_clear_selection.
      
      	* src/sheet.c (sheet_clear_region) : Merge all types of deletion into
      	  this routine and add some bit flags to enable the different types.
      	(sheet_clear_region_content) : Delete.
      	(sheet_clear_region_comments) : Delete.
      	(clear_cell_format) : Delete.
      	(sheet_clear_region_formats) : Delete.
      	(sheet_move_range) : Adapt to changes in sheet_clear_region.
      
      	* src/selection.c (cb_sheet_selection_clear) : Delete.
      	(sheet_selection_clear) : Delete.
      	(cb_sheet_selection_clear_content) : Delete.
      	(sheet_selection_clear_content) : Delete.
      	(sheet_selection_clear_comments) : Delete.
      	(sheet_selection_clear_formats) : Delete.
      	(selection_get_ranges) : New function split out from selection_apply.
      	(selection_apply) : Use selection_get_ranges.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Use
      	  cmd_clear_selection.
      	* src/item-grid.c (context_clear_cmd) : Ditto.
      
      	* src/corba-sheet.c (Sheet_clear_region) : Adapt to new clear_region
      	  calling convention.
      	(Sheet_clear_region_content) : Use sheet_clear_region.
      	(Sheet_clear_region_comments) : Ditto.
      	(Sheet_clear_region_formats) : Ditto.
      
      	* src/commands.c (cmd_ins_del_row_col_{undo,redo}) : Reload the the
      	  edit bar just in case.
      	(cmd_set_date_time_{undo,redo}) : Ditto.
      	(cmd_clear{,_undo,_redo,_destroy}) : Implement.
      
      	* src/clipboard.c (paste_cell) : No need to flag the existance of
      	  formulas.
      	(paste_cell_flags) : Ditto.
      	(do_clipboard_paste_cell_region) : Don't recalc here.
      	(x_selection_received) : Recalc here.
      	(clipboard_paste_region) : Only use the X selection if the user does
      	  not pass in a CellRegion. Only use the clipboard_paste_callback_data
      	  if we are going through the X selection.
      1a96d682
    • Jody Goldberg's avatar
      Work around for bug 5306. · 30b26e6c
      Jody Goldberg authored
      2000-01-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (x_selection_to_cell_region) : Do not use ',' or ';' as seperators if
      	  the current locale uses them as decimal points.
      	(new_node) : Use g_strndup.
      30b26e6c
    • Jody Goldberg's avatar
      Bug 5305 · a06aa537
      Jody Goldberg authored
      2000-01-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (x_selection_handler) : Add some preconditions to
      	  make code more robust.
      
      	* src/application.c (application_clipboard_clear) : Release ownership
      	  of the selection when the clipboard is cleared.
      a06aa537
    • Jody Goldberg's avatar
      Use cmd_clear_selection. · 3588e489
      Jody Goldberg authored
      
      2000-01-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (clear_{all,formats,comments,content}_cmd) : Use
      	  cmd_clear_selection.
      
      	* src/sheet.c (sheet_clear_region) : Merge all types of deletion into
      	  this routine and add some bit flags to enable the different types.
      	(sheet_clear_region_content) : Delete.
      	(sheet_clear_region_comments) : Delete.
      	(clear_cell_format) : Delete.
      	(sheet_clear_region_formats) : Delete.
      	(sheet_move_range) : Adapt to changes in sheet_clear_region.
      
      	* src/selection.c (cb_sheet_selection_clear) : Delete.
      	(sheet_selection_clear) : Delete.
      	(cb_sheet_selection_clear_content) : Delete.
      	(sheet_selection_clear_content) : Delete.
      	(sheet_selection_clear_comments) : Delete.
      	(sheet_selection_clear_formats) : Delete.
      	(selection_get_ranges) : New function split out from selection_apply.
      	(selection_apply) : Use selection_get_ranges.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Use
      	  cmd_clear_selection.
      	* src/item-grid.c (context_clear_cmd) : Ditto.
      
      	* src/corba-sheet.c (Sheet_clear_region) : Adapt to new clear_region
      	  calling convention.
      	(Sheet_clear_region_content) : Use sheet_clear_region.
      	(Sheet_clear_region_comments) : Ditto.
      	(Sheet_clear_region_formats) : Ditto.
      
      	* src/commands.c (cmd_ins_del_row_col_{undo,redo}) : Reload the the
      	  edit bar just in case.
      	(cmd_set_date_time_{undo,redo}) : Ditto.
      	(cmd_clear{,_undo,_redo,_destroy}) : Implement.
      
      	* src/clipboard.c (paste_cell) : No need to flag the existance of
      	  formulas.
      	(paste_cell_flags) : Ditto.
      	(do_clipboard_paste_cell_region) : Don't recalc here.
      	(x_selection_received) : Recalc here.
      	(clipboard_paste_region) : Only use the X selection if the user does
      	  not pass in a CellRegion. Only use the clipboard_paste_callback_data
      	  if we are going through the X selection.
      3588e489
    • Morten Welinder's avatar
      Fix "=$10" error. · f5c4ec3c
      Morten Welinder authored
      2000-01-15  Morten Welinder  <terra@diku.dk>
      
      	* src/cell.c (cell_set_formula): Set the "Pending recomputation"
       	value earlier.
      f5c4ec3c
    • Almer S. Tigelaar's avatar
      Almer. S. Tigelaar. <almer1@dds.nl> · 05506d97
      Almer S. Tigelaar authored
      	* stf-separated.c, stf-fixed.c :
      	If a file's last line has _no_ line terminator but instead ends
      	with a \0 both the fixed and separated parse functions would skip
      	over this \0 and continue parsing past the buffer, this is fixed
      	now.
      
      	* dialog-stf.c :
      	Pressing the Back button on the main page would result in a
      	Page Cycle Error from the STF and another error from the Druid.
      	Fixed.
      
      	* stf.c :
      	No more memory mapping is done, this caused portability problems
      	and is now replaced with read and a dynamically allocated buffer.
      
      	* stf.c :
      	Added a check (stf_is_valid_input_data) which will check the data
      	and see if it _really_ is a valid text file/valid input data.
      
      	* stf-util.c, stf-util.h, stf-fixed.c, stf-separated.c :
      	References to the overkill (stf_is_line_terminator) function have
      	been replaced by *buffer != '\n'.
      
      	* dialog-stf-csv-page.c :
      	Attached a new signal to the Custom Checkbutton on the Separation
      	Customization page so that the text widget next to it will do nice
      	stuff like changing sensitivity and auto focus.
      
      	* dialog-stf-csv-page.c :
      	Added some gnome style headers
      	they weren't all there yet
      
      	* stf-preview.c:
      	Made the column headers in the preview gray to make them more
      	distinguishable from the cells that contain data.
      05506d97
    • Morten Welinder's avatar
      G_PRODUCT. · ec3c30c8
      Morten Welinder authored
      ec3c30c8
    • JP Rosevear's avatar
      Shutup CVS · fda49b7d
      JP Rosevear authored
      
      2000-01-15  JP Rosevear  <jpr@arcavia.com>
      
              * Shutup CVS
      fda49b7d
    • JP Rosevear's avatar
      Shutup CVS · 4ad9abe1
      JP Rosevear authored
      2000-01-15  JP Rosevear  <jpr@arcavia.com>
      
      	* Shutup CVS
      4ad9abe1
    • Morten Welinder's avatar
      Restore old value of failure. (dialog_goal_seek): Fix restoration on · f5111ec7
      Morten Welinder authored
      2000-01-15  Morten Welinder  <terra@diku.dk>
      
      	* src/dialogs/dialog-goal-seek.c (gnumeric_goal_seek): Restore old
       	value of failure.
      	(dialog_goal_seek): Fix restoration on cancel.
      f5111ec7
    • Morten Welinder's avatar
      New function. (gnumeric_product): Use it. · 34b00b9f
      Morten Welinder authored
      2000-01-15  Morten Welinder  <terra@diku.dk>
      
      	* src/functions/fn-math.c (range_bogusproduct): New function.
      	(gnumeric_product): Use it.
      34b00b9f
    • 5's avatar
      Renamed to be more obvious · 52dc699e
      5 authored
      2000-01-15    <miguel@gnu.org>
      
      	* stf.c (init_plugin): Renamed to be more obvious
      52dc699e
    • Morten Welinder's avatar
      Oops. · b0b3386c
      Morten Welinder authored
      2000-01-14  Morten Welinder  <terra@diku.dk>
      
      	* configure.in (GTK+): Really do use base 1000.
      b0b3386c
    • Miguel de Icaza's avatar
      Removed extern from he too. · b9ceda43
      Miguel de Icaza authored
      2000-01-14  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/mstyle.c: Removed extern from he too.
      
      	* src/commands.c (cmd_set_text): Kill extern from here.
      b9ceda43
  3. 14 Jan, 2000 1 commit
    • Jon K Hellan's avatar
      Make sheet->cells an array of arrays. · 910af087
      Jon K Hellan authored
      2000-01-14  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-write.h: (ExcelWorkbook): Make
      	sheet->cells an array of arrays.
      
      	* ms-excel-write.c (excel_cell_get): Make inline.
      	(excel_cell_get, new_sheet, new_sheet, free_sheet): Make
      	sheet->cells an array of arrays.
      910af087