1. 15 Jan, 2000 10 commits
    • 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
  2. 14 Jan, 2000 13 commits
    • 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
    • Jon K Hellan's avatar
      New function. (marshal_func): Convert exception info to string which is · 1bfc9942
      Jon K Hellan authored
      2000-01-14  Jon K Hellan  <hellan@acm.org>
      
      	* python.c (convert_py_exception_to_string): New function.
      	(marshal_func): Convert exception info to string which is
      	displayed in sheet. Did not remove traceback to stderr.
      	(gnumeric_apply): New function. Invoke a gnumeric function from
      	python.
      	(__register_function): Rename to gnumeric_register_function. No
      	need for funny "__" in a static function.
      	(gnumeric_register_function): Fix typo. Category should be
      	"Python", not "Perl".
      	(gnumeric_funcs): Register gnumeric_apply. Use METH_VARARGS
      	constant instead of 1.
      	(init_plugin): Convert exception info to string which is displayed
      	in dialog box. Did not remove traceback to stderr.
      
      	* gnumeric_startup.py (gnumeric_mid): Register as "py_mid" instead
      	of "mid" - no longer overrides built-in version.
      	(py_abs): New function. Example of invoking a gnumeric function
      	from Python.
      	(run_user_init_file): New function. Run user init file
      	~/.gnumeric/rc.py if present.
      1bfc9942
    • Jon K Hellan's avatar
      Fix typo Fix typo · 6c485a2f
      Jon K Hellan authored
      2000-01-14 Jon K Hellan  <hellan@acm.org>
      
      	* plugin.c (func_scm_apply): Fix typo
      	* gnumeric_startup.scm (home-gnumericrc): Fix typo
      6c485a2f
    • Jon K Hellan's avatar
      Fix typo · 32946ad8
      Jon K Hellan authored
      2000-01-14  Jon K Hellan  <hellan@acm.org>
      
      	* src/functions/fn-financial.c (help_disc): Fix typo
      
              * src/plugin.c (plugin_load): Include context when calling
      	init_plugin. "data" was freed to early
      32946ad8
    • Morten Welinder's avatar
      D*mn hpux. · d4c1ba47
      Morten Welinder authored
      d4c1ba47
    • Morten Welinder's avatar
      Fix version checks. Use base 1000. Someone else needs to fix Bonobo check. · 97919935
      Morten Welinder authored
      2000-01-14  Morten Welinder  <terra@diku.dk>
      
      	* configure.in (GTK+, libglade, gnome-print): Fix version checks.
        	Use base 1000.  Someone else needs to fix Bonobo check.
      97919935
    • Jody Goldberg's avatar
      - Bug fix for SUMIF - Support (but no UI) for hiding grid lines - Suppress · 4a550121
      Jody Goldberg authored
      - Bug fix for SUMIF
      - Support (but no UI) for hiding grid lines
      - Suppress some warnings in the autocorrect tool.
      
      2000-01-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-autocorrect.c (autocorrect_tool) : Suppress
      	  warnings.
      
      	* src/commands.h : Do not declare autocorrect_tool here.
      
      	* src/item-grid.c (item_grid_draw) : Add support for hiding the
      	  grid_lines.
      	* src/sheet.c (sheet_new) : Init show_grid.
      
      	* src/functions/fn-math.c (gnumeric_sumif) : Do not ignore empty cells
      	  if there is a result range that we need to stay in sync with.  Fix
      	  handling of inter-sheet references.
      4a550121
    • Jukka-Pekka Iivonen's avatar
      New tool added. Most things should work but not all have been completed. · 9639111b
      Jukka-Pekka Iivonen authored
      2000-01-14  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-autocorrect.c, src/autocorrect.glade,
       	src/autocorrect-exceptions.glade: New tool added.  Most things
       	should work but not all have been completed.
      
      	* workbook.c: Created `Data' menu and moved `Sort' into it.
        	Added `AutoCorrect' tool.
      9639111b
    • Daniel Veillard's avatar
      Made xml_probe silent, · b6be483d
      Daniel Veillard authored
      Fixed two erroneous g_free by xmlFree,
      Daniel
      b6be483d
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · 3feb5128
      Kjartan Maraas authored
      2000-01-14  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      3feb5128
    • Morten Welinder's avatar
      Fix version check. Need to fix all other version checks also. · 2ea07ec6
      Morten Welinder authored
      2000-01-13  Morten Welinder  <terra@diku.dk>
      
      	* configure.in (GTK): Fix version check.  Need to fix all other
       	version checks also.
      2ea07ec6
    • Nick Lamb /GIMP's avatar
      New screenshots for documentation, part 1/2 · 5bc16030
      Nick Lamb /GIMP authored
      No changes to live documentation yet.
      5bc16030
    • Morten Welinder's avatar
      Avoid zillions of g_mallocs and frees of the deallocation stuff. · 0a333163
      Morten Welinder authored
      2000-01-13  Morten Welinder  <terra@diku.dk>
      
      	* src/parser.y (gnumeric_expr_parser): Avoid zillions of g_mallocs and
       	frees of the deallocation stuff.
      0a333163
  3. 13 Jan, 2000 14 commits
    • Jody Goldberg's avatar
      Mice with middle scroll wheels frequently send just button release events, · 42ed60e8
      Jody Goldberg authored
      
      2000-01-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-view.c (horizontal_scroll_event,
      			    vertical_scroll_event) : Mice with middle scroll
      	  wheels frequently send just button release events, dont assume there
      	  was a button_press.
      42ed60e8
    • Jody Goldberg's avatar
    • Jody Goldberg's avatar
      Finish transition to EvalPosition. · b32e62dd
      Jody Goldberg authored
      b32e62dd
    • Jukka-Pekka Iivonen's avatar
      Killed warnings. · daa982c4
      Jukka-Pekka Iivonen authored
      2000-01-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/workbook.c, src/dialogs/dialog-autosave.c: Killed warnings.
      daa982c4
    • Jody Goldberg's avatar
      eval_expr now takes an EvalPosition rather than a FunctionEvalInfo. · d5ca094d
      Jody Goldberg authored
      
      2000-01-13  Jody Goldberg <jgoldberg@home.com>
      
      	* *.[ch] : eval_expr now takes an EvalPosition rather than a FunctionEvalInfo.
      
      	* src/workbook.c (workbook_set_title) : Moved to workbook_view_set_title.
      	(workbook_new) : Use workbook_view_set_size.
      d5ca094d
    • Sergey I. Panov's avatar
      src/functions(fn-eng.c fn-financial.c fn-logical.c fn-lookup.c fn-math.c · 0b2ea3c7
      Sergey I. Panov authored
      fn-sheet.c fn-stat.c fn-string.c):
           Applied patches from Valek Filippov <frob@df.ru> --- correcting format
           of the function descr. messages.
      0b2ea3c7
    • Jukka-Pekka Iivonen's avatar
      Implemented ``Auto Save'' tool. · c6cea719
      Jukka-Pekka Iivonen authored
      2000-01-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/dialog-autosave.c: Implemented ``Auto Save'' tool.
      
      	* src/dialogs/autosave.glade: New file.
      
      	* src/dialogs/autosave-prompt.glade: New file.
      
      	* src/workbook.c: Added Autosave tool.
      
      	* src/workbook.h: Added autosave paramters to the Workbook struct.
      
      	* src/dialog-solver: Fixed a constraint delete bug.
      c6cea719
    • Daniel Veillard's avatar
    • Jody Goldberg's avatar
      When an X app requests that a region that was cut we should be consistant · f5a62550
      Jody Goldberg authored
      and clear the region after the operation.
      f5a62550
    • Jody Goldberg's avatar
      - Remove have_selection cruft. Use application instead. · c2637d6a
      Jody Goldberg authored
      - Fix cut & paste to consistantly mark & clear X selection.
      - Add depend on gtk >= 1.2.2 in configure.in
      
      2000-01-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_clipboard_copy,
      	  application_clipboard_cut) : Use application_set_selected_sheet.
      	(application_set_selected_sheet) : New routine that manages exporting
      	  selection to X too.
      
      	* src/clipboard.c (x_selection_clear) : Something else now has the
      	  selection.  Clear ours.
      	(clipboard_export_cell_region) : Delete.
      	(find_local_workbook_with_selection) : Delete.
      	(workbook_selection_locator) : Delete.
      
      	* ./src/item-grid.c (item_grid_popup_menu) : Always enable paste,
      	  only enable paste special when we have a local cut.  This matches
      	  the behavior of the menus and toolbar.
      
      	* configure.in : Add a depend on libgtk+ >= 1.2.2 because 1.2.1
      	  did not have gtk_object_get.
      c2637d6a
    • Jody Goldberg's avatar
      Bug 5305 · 62e9b148
      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.
      62e9b148
    • Jody Goldberg's avatar
      - Remove have_selection cruft. Use application instead. · 9f8fd667
      Jody Goldberg authored
      - Fix cut & paste to consistantly mark & clear X selection.
      - Add depend on gtk >= 1.2.2 in configure.in
      
      2000-01-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_clipboard_copy,
      	  application_clipboard_cut) : Use application_set_selected_sheet.
      	(application_set_selected_sheet) : New routine that manages exporting
      	  selection to X too.
      
      	* src/clipboard.c (x_selection_clear) : Something else now has the
      	  selection.  Clear ours.
      	(clipboard_export_cell_region) : Delete.
      	(find_local_workbook_with_selection) : Delete.
      	(workbook_selection_locator) : Delete.
      
      	* ./src/item-grid.c (item_grid_popup_menu) : Always enable paste,
      	  only enable paste special when we have a local cut.  This matches
      	  the behavior of the menus and toolbar.
      
      	* configure.in : Add a depend on libgtk+ >= 1.2.2 because 1.2.1
      	  did not have gtk_object_get.
      9f8fd667
    • Ariel Rios's avatar
      We are now able to handle scheme booleans. (expr_to_scm): The warnings · f35534cf
      Ariel Rios authored
      2000-01-12  Ariel Rios  <ariel@arcavia.com>
      
      	* plugin.c (scm_to_value): We are now able to handle scheme booleans.
      	(expr_to_scm): The warnings related to OPER_NAME and OPER_ARRAY were
      	eliminated.
      f35534cf
    • Jody Goldberg's avatar
      Update spec file. · 2c546825
      Jody Goldberg authored
      2c546825
  4. 12 Jan, 2000 1 commit
    • Jukka-Pekka Iivonen's avatar
      UIINFO separators added to Tools menu. · 50d74d7a
      Jukka-Pekka Iivonen authored
      2000-01-12  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/workbook.c (workbook_menu_tools): UIINFO separators added to
       	Tools menu.
      
      	* src/dialogs/dialog-solver.c (constr_add_click): Made the solver
      	dialog to disapear when adding constraints.
      
      	* src/dialogs/dialog-solver.c (constr_delete_click): Implemented
       	the delete button of constraints.
      50d74d7a
  5. 11 Jan, 2000 2 commits
    • Jody Goldberg's avatar
      - Interbook references are workable now. They can only be produced by · d2cf16cc
      Jody Goldberg authored
        cutting and pasting a reference originally in one book into another.
      
      2000-01-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_detach_sheet) : Even books with only 1
      	  sheet can have inter-sheet references.  think inter-book...
      	(workbook_can_detach_sheet) : Delete we can always detach a sheet.
      
      	* src/expr.c (cellref_relocate) : We only need to range check
      	  references that are changing.
      
      	* src/workbook.c (workbook_expr_relocate) : Copying to the same
      	  logical cell in another sheet is still a copy.
      
      	* ./src/eval.c (cell_queue_recalc_list) : Handle cross workbook
      	  depends correctly.
      
      	* src/eval.c (sheet_get_intersheet_deps) : Delete it is now unnecessary.
      	(dependency_data_destroy) : invalidate dangling intersheet
      	  dependancies.
      d2cf16cc
    • Jody Goldberg's avatar
      fix typo. · beacfaa5
      Jody Goldberg authored
      beacfaa5