1. 26 Mar, 2002 21 commits
    • Jody Goldberg's avatar
      release 1.1.2 · eb18597b
      Jody Goldberg authored
      eb18597b
    • Jody Goldberg's avatar
      Release 1.1.2 · 833a1292
      Jody Goldberg authored
      833a1292
    • Jody Goldberg's avatar
      Release 1.1.2 · d561d491
      Jody Goldberg authored
      2002-03-25  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.1.2
      d561d491
    • Jon Kåre Hellan's avatar
      Fix leak/unininitialized memory problem. · 25e10fcf
      Jon Kåre Hellan authored
      * smob-value.c (make_value, scm_value_new_bool,
      scm_value_new_float, scm_value_new_string): Fix
      leak/unininitialized memory problem.
      
      * plugin.c (func_scm_apply): Remove. It called scm_c_eval_string
      on the contents of the first argument cell. This is a big security
      hole.
      (plugin_init_general): Don't export spreadsheet function
      scm_apply, which used to be bound to func_scm_apply.
      25e10fcf
    • Jody Goldberg's avatar
      typo · f8e7c62a
      Jody Goldberg authored
      f8e7c62a
    • Jody Goldberg's avatar
      update · aabf8914
      Jody Goldberg authored
      aabf8914
    • Jody Goldberg's avatar
      new from libwv-7.1 (makekey) : ditto. (verify_password) : tweaked from · 412bda88
      Jody Goldberg authored
      2002-03-26  Jody Goldberg <jody@gnome.org>
      
      	* ms-biff.c (wvMD5StoreDigest) : new from libwv-7.1
      	(makekey) : ditto.
      	(verify_password) : tweaked from libwv.
      	(skip_bytes) : new.
      	(ms_biff_query_set_decrypt) : new.
      	(ms_biff_query_new) : support encryption.
      	(ms_biff_query_next) : ditto.
      	(ms_biff_query_destroy) : ditto.
      
      	* ms-excel-read.c (ms_biff_bof_data_new) : Use the un-decoded data.
      	(ms_excel_read_sheet) : comment that it seems like bytes 12 & 16 are
      	  not encrypted.
      	(biff_boundsheet_data_new) : stream start pos seems un-encrypted.
      412bda88
    • Morten Welinder's avatar
      Mostly fix general format. · 2565ab2d
      Morten Welinder authored
      2002-03-26  Morten Welinder  <terra@diku.dk>
      
      	* src/rendered-value.c (rendered_value_new): Just peek directly
      	into the approx_width structure -- everyone else does that.  Take
      	worst case of "e", signs, and decimal points into account.
      
      	* src/style.h (StyleFont): Change floats to doubles.  Add more
      	approx_width fields.
      
      	* src/style.c (style_font_get_width_pts): Remove.
      2565ab2d
    • Jukka-Pekka Iivonen's avatar
      Bug fix: a boolean variable should not be able to be -TRUE ;-) · 91d4a03a
      Jukka-Pekka Iivonen authored
      2002-03-26  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * api.c (w_lp_solve_set_bool): Bug fix: a boolean variable should
              not be able to be -TRUE  ;-)
      91d4a03a
    • Morten Welinder's avatar
      Translate pixels to points · b9290e69
      Morten Welinder authored
      2002-03-26  Morten Welinder  <terra@diku.dk>
      
      	* src/style.c (style_font_new_simple): Translate pixels to points
      b9290e69
    • Jon K Hellan's avatar
      Free Value after it has been cloned. · eaf62e4c
      Jon K Hellan authored
      2002-03-26  Jon K Hellan  <hellan@acm.org>
      
      	* plugins/guile/plugin.c (scm_gnumeric_funcall): Free Value
      	after it has been cloned.
      
      	* plugins/guile/smob-value.c (make_new_smob): Make the Value
      	inside the smob a clone of v.
      	(get_value_from_smob): Also clone when returning Value from smob.
      eaf62e4c
    • Morten Welinder's avatar
      Fix misplaced #endif. · ecad73aa
      Morten Welinder authored
      2002-03-26  Morten Welinder  <terra@diku.dk>
      
      	* src/style.c (style_font_new_simple): Fix misplaced #endif.
      ecad73aa
    • Jody Goldberg's avatar
      tweak · 26f49137
      Jody Goldberg authored
      26f49137
    • Morten Welinder's avatar
      Fix general display of floats. Oops. · 25e18525
      Morten Welinder authored
      2002-03-26  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (format_value): Fix general display of floats.
      	Oops.
      
      	* src/value.c (value_release): Use the fact that VALUE_TERMINATE
      	is an error value.
      
      
      2002-03-26  Morten Welinder  <terra@diku.dk>
      
      	* fn-stat.c (gnumeric_prob): Fix argument order.
      25e18525
    • Andreas J. Guelzow's avatar
      /home/aguelzow/tmp/cvszg8eLh · fffbe756
      Andreas J. Guelzow authored
      fffbe756
    • Morten Welinder's avatar
      Use pools for ints and bools also. · be7172be
      Morten Welinder authored
      be7172be
    • jpekka's avatar
      Improved comments. · 39ed9a61
      jpekka authored
      39ed9a61
    • jpekka's avatar
      GPL clause. · b2235ddb
      jpekka authored
      b2235ddb
    • Jukka-Pekka Iivonen's avatar
      Moved the parser part into parser.c. · 2b8ca739
      Jukka-Pekka Iivonen authored
      2002-03-26  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * mps.c: Moved the parser part into parser.c.
      
              * mps.h, parser.c, Makefile.am: New files.
      2b8ca739
    • Andreas J. Guelzow's avatar
      use a single gconf variable of type list of strings rather than a list of · 08f7446a
      Andreas J. Guelzow authored
      2002-03-26  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-function-select.c (dialog_function_load_recent_funcs) :
      	  use a single gconf variable of type list of strings
      	  rather than a list of gconf variables.
      	(dialog_function_write_recent_func) : ditto, read the maximum
      	  length of the list fom gconf.
      
      2002-03-26  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* schemas/ : new directory for schema files
      	* schemas/gnumeric-dialogs.schemas : file for gconf configuration
      	  variables used by the gnumeric dialogs
      08f7446a
    • Stanislav Visnovsky's avatar
      Updated Slovak translation. · 1d2bf151
      Stanislav Visnovsky authored
      2002-03-26  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
      	* sk.po: Updated Slovak translation.
      1d2bf151
  2. 25 Mar, 2002 13 commits
    • Andreas J. Guelzow's avatar
      new delete unused variable · 931c63a5
      Andreas J. Guelzow authored
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gui-util.[ch] (focus_on_entry) : new
      	* src/workbook-control-gui.c (cb_file_summary) : delete unused
      	  variable
      
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dao-gui-utils.c (focus_on_entry) : renamed to cb_focus_on_entry
      	* dialog-analysis-tools.c (error_in_entry) : use focus_on_entry
      	* dialog-goal-seek.c (focus_on_entry) : removed
      	* dialog-tabulate.c (focus_on_entry) : removed
      	* dialog-summary.c : use gnumeric_textview_[gs]et_text
      931c63a5
    • Morten Welinder's avatar
      Strip signs when conditional formats are in use. · c63a5910
      Morten Welinder authored
      2002-03-25  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (format_value): Strip signs when conditional
      	formats are in use.
      c63a5910
    • Andreas J. Guelzow's avatar
      removed remove placeholder removed analysis-tools.glade · 40bb499a
      Andreas J. Guelzow authored
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* analysis-tools.glade : removed
      	* mean-tests.glade : remove placeholder
      	* Makefile.am : removed analysis-tools.glade
      
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* POTFILES.in : removed analysis-tools.glade
      40bb499a
    • Morten Welinder's avatar
      Typo fix. · df1fb5ec
      Morten Welinder authored
      df1fb5ec
    • Andreas J. Guelzow's avatar
      implement cmd_change_summary constify arguments (summary_item_free) : make · 3a704695
      Andreas J. Guelzow authored
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.[hc] : implement cmd_change_summary
      	* src/summary.[hc] : constify arguments
      	(summary_item_free) : make public, handle NULL argument
      	(summary_item_copy) : new
      	(summary_item_by_name) : new
      	(summary_item_as_text_by_name) : new
      	* src/workbook-control-gui.c (cb_file_summary) : delete unused
      	  variable, add argument to dialog_summary_update
      	* src/workbook.c (workbook_set_filename) : update summary dialog
      
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* summary.glade : make entry ids match summary names
      	* dialog-summary.c : make changes undoable and dialog
      	  modeless
      	* dialogs.h (dialog_summary_update) : add switch
      3a704695
    • Morten Welinder's avatar
      Set the range. (Fixes #76187.) · 2b3066f7
      Morten Welinder authored
      2002-03-25  Morten Welinder  <terra@diku.dk>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_rangesel_start): Set the
      	range.  (Fixes #76187.)
      2b3066f7
    • Morten Welinder's avatar
      Make the value field a gnum_float at intended. · dc6c408e
      Morten Welinder authored
      2002-03-25  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (StyleFormatEntry): Make the value field a
      	gnum_float at intended.
      dc6c408e
    • Morten Welinder's avatar
      Call g_set_prgname. (main): Call value_init and value_shutdown · 93855e52
      Morten Welinder authored
      2002-03-25  Morten Welinder  <terra@diku.dk>
      
      	* src/main.c (main): Call g_set_prgname.
      	(main): Call value_init and value_shutdown appropriately.
      
      	* src/value.c (value_terminate_err): New value.
      	(value_terminate): Replace this function by the value
      	VALUE_TERMINATE.  All callers changed.
      	(value_hash): Be smarter about arrays.
      	(value_new_float): Use chunk allocator.
      	(value_release): Release floats properly.
      	(value_init, value_shutdown): New functions.
      
      	* src/gutils.c (gnm_mem_chunk_destroy): Add new argument for leak
      	tracking.
      93855e52
    • Morten Welinder's avatar
      Fix for empty cells. · a932dba7
      Morten Welinder authored
      2002-03-25  Morten Welinder  <terra@diku.dk>
      
      	* fn-string.c (gnumeric_concatenate): Fix for empty cells.
      a932dba7
    • Jody Goldberg's avatar
      tweak include path · 99a62eb3
      Jody Goldberg authored
      99a62eb3
    • Andreas J. Guelzow's avatar
      change arguments in call of dialog_summary_update · d7998cae
      Andreas J. Guelzow authored
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* workbook-control-gui.c : change arguments in call of
      	  dialog_summary_update
      
      2002-03-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-cell-comment.c : fix typo
      	* dialog-summary.c : port to gnome 2 and make into a guru
      	* dialogs.h : change arguments to dialog_summary_update
      	* summary.glade : port to gnome 2
      d7998cae
    • Jody Goldberg's avatar
      tidy · 6b907e59
      Jody Goldberg authored
      6b907e59
    • Morten Welinder's avatar
      typo · 86554745
      Morten Welinder authored
      86554745
  3. 24 Mar, 2002 6 commits
    • Christian Rose's avatar
      Added missing files. Updated Swedish translation. · cfb36315
      Christian Rose authored
      2002-03-25  Christian Rose  <menthos@menthos.com>
      
      	* POTFILES.in: Added missing files.
      	* sv.po: Updated Swedish translation.
      cfb36315
    • Andreas J. Guelzow's avatar
      use default font · 1a6731c3
      Andreas J. Guelzow authored
      2002-03-24  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-stf-preview.c (stf_preview_draw_text): use default font
      1a6731c3
    • Morten Welinder's avatar
      Brag. · 3a20c715
      Morten Welinder authored
      3a20c715
    • Morten Welinder's avatar
      New functions implementing a sane and fast chunk allocated. (Maybe use · 89915325
      Morten Welinder authored
      2002-03-24  Morten Welinder  <terra@diku.dk>
      
      	* src/gutils.c (gnm_mem_chunk_new, gnm_mem_chunk_destroy,
       	gnm_mem_chunk_alloc, gnm_mem_chunk_alloc0, gnm_mem_chunk_free):
       	New functions implementing a sane and fast chunk allocated.
        	(Maybe use Evolution's later.)
      
      	* src/dependent.h (struct _GnmDepContainer): add members
       	range_pool and single_pool for allocation.
      
      	* src/dependent.c (link_single_dep): Allocate from pool.
      	(unlink_single_dep): Free using pool.
      	(link_range_dep): Allocate from pool.
      	(unlink_range_dep): Free using pool.
      	(do_deps_destroy): Destroy pools.
      	(gnm_dep_container_new): Allocate pools.
      	(cb_dep_hash_invalidate): Don't free at all -- we're about to dump
       	both pools anyway.
      
      	* src/cell.c (cell_new): New function.  (About time.)
      	(cell_copy): Use cell_new.
      	(cell_destroy): Free from pool if we allocated that way.
      	(cell_init, cell_shutdown): New functions.
      
      	* src/xml-io.c (cell_copy_new): Use cell_new.
      	* src/sheet.c (sheet_cell_new): Use cell_new.
      	* src/main.c (main): Initialise and shutdown cells.
      89915325
    • Jukka-Pekka Iivonen's avatar
      Wrote. · 33336a8e
      Jukka-Pekka Iivonen authored
      2002-03-24  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * solver.c (restore_original_values) : Wrote.
      33336a8e
    • jpekka's avatar
      A small speed up. · 31703c24
      jpekka authored
      31703c24