1. 02 Nov, 2001 6 commits
    • Jody Goldberg's avatar
      Verb level labels appear to work now. (wbcg_menu_state_update) : ditto. · 34f442d1
      Jody Goldberg authored
      2001-11-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (change_menu_label) : Verb level labels
      	  appear to work now.
      	(wbcg_menu_state_update) : ditto.
      	(wbcg_undo_redo_labels) : ditto.
      34f442d1
    • Morten Welinder's avatar
      Attemp better defs. · 8087c363
      Morten Welinder authored
      2001-11-02  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c (ML_NAN, ML_NEGINF, ML_POSINF): Attemp better
      	defs.
      
      	* src/analysis-tools.c (random_tool): Localise variables.  Don't
      	allow negative probabilities.  Plug leaks.
      8087c363
    • Jody Goldberg's avatar
      update · 5fa07dad
      Jody Goldberg authored
      5fa07dad
    • Jody Goldberg's avatar
      new. (sheet_style_find) : clarify the reference count semantics and fix · c5a3e40a
      Jody Goldberg authored
      2001-11-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (sheet_style_unlink) : new.
      	(sheet_style_find) : clarify the reference count semantics and fix
      	  leak.
      	(cb_style_unlink) : renamed from cb_style_unref, and convert to using
      	  link.
      	(rstyle_dtor) : handle the style links/refs too.
      	(rstyle_apply) : Use the link mechanism.
      	(cell_tile_dtor) : use unlink rather than unref.
      	(cell_tile_style_new) : ditto.
      	(cell_tile_matrix_set) : ditto.
      	(sheet_style_init) : link the default style into the sheet.
      	(cb_unlink) : renamed from cb_remove_func, and converted to link.
      	(sheet_style_shutdown) : default style is in the hash no need to clear
      	  in manually.  Disable the hash pointer while clearing so that we
      	  don't change the hash while unlinking.
      	(sheet_style_set_range) : use rstyle_dtor.
      	(sheet_style_set_pos) : use rstyle_dtor.
      	(sheet_style_default) : fix docs.
      	(sheet_style_apply_range) : move the unref in rstyle_dtor.
      
      	* src/mstyle.c : Add some optional ref/link count debugging.
      	(mstyle_new) : init link info.
      	(mstyle_copy) : ditto.
      	(mstyle_copy_merge) : ditto.
      	(mstyle_ref) : add debug.
      	(mstyle_destroy) : merge into.
      	(mstyle_ref) : here.  add debug. Check link_count == 0 on destruction.
      	(mstyle_ref_multiple) : replace with
      	(mstyle_link_multiple) : this.
      	(mstyle_link_sheet) : new routine that assigns a sheet and sets its
      	 link count to 1.  If the sheet is already linked copy it and assign
      	 that.
      	(mstyle_link) : increment the link count for an already linked style.
      	(mstyle_unlink) : unlink and unref if no longer in use.  TODO : this
      	  will unlink an dependent aspects of the style.
      c5a3e40a
    • Jukka-Pekka Iivonen's avatar
      Implemented. This function needs, however, coupdays, coupdaybs, and · 708608dd
      Jukka-Pekka Iivonen authored
      2001-11-02  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * fn-financial.c (gnumeric_price): Implemented.  This function
              needs, however, coupdays, coupdaybs, and coupdaysnc to be finished
              to work correctly.
              (gnumeric_yield): Implemented the case where the number of coupon
              periods is one.  The same comment above applies, however.
              (coupdaysnc): Added a stub.
      708608dd
    • Valek Frob's avatar
      Updated russian translation. · c9fcab42
      Valek Frob authored
      c9fcab42
  2. 01 Nov, 2001 11 commits
    • Jody Goldberg's avatar
      generalize and fix leak. (cb_add_clicked) : generalize. (cb_select_row) : · 2ab27ef1
      Jody Goldberg authored
      2001-11-01  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-autocorrect.c (cb_remove_clicked) : generalize and fix leak.
      	(cb_add_clicked) : generalize.
      	(cb_select_row) : generalize.
      	(autocorrect_init_exception_list) : new.
      	(exceptions_callback) : clean up slightly.
      	(ac_button_toggled) : simplify.
      	(ac_dialog_toggle_init) : new.
      	(dialog_autocorrect) : simplify.  Rather than saving the content
                and restoring on cancel, only store the new values on <OK>.
      
      2001-11-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-edit.c (entry_changed) : autocomplete is in the wbv now.
      	(wbcg_edit_start) : ditto.
      
      	* src/sheet-style.c (rstyle_apply) : fix some silliness in the new
      	  code, but more work to come.
      
      	* src/commands.c (cmd_set_text) : Yay! autocorrect is no longer tied
      	  to the gui.
      
      	* src/application.c (application_init) : Init autocorrection.
      
      	* src/workbook-view.c (wb_view_set_arg) : add do_auto_completion.
      	  Make this a per workbook-view, persistent attribute.  We still
      	  initialize from gnome-config, butthis should make things easier
      	  for users.
      	(wb_view_get_arg) : ditto.
      	(workbook_view_class_init) : ditto.
      2ab27ef1
    • Morten Welinder's avatar
      White space... · a383aea0
      Morten Welinder authored
      a383aea0
    • Morten Welinder's avatar
      Even more white space. · f98b359a
      Morten Welinder authored
      f98b359a
    • Morten Welinder's avatar
      White space... · 0ce2d2de
      Morten Welinder authored
      0ce2d2de
    • Morten Welinder's avatar
      Brag. · ff4d447d
      Morten Welinder authored
      ff4d447d
    • Morten Welinder's avatar
      Use value_peek_string. · 738b0e77
      Morten Welinder authored
      2001-11-01  Morten Welinder  <terra@diku.dk>
      
      	* fn-lookup.c (gnumeric_address): Use value_peek_string.
      
      	* fn-math.c (gnumeric_countif, gnumeric_sumif): Use
      	value_peek_string.
      
      	* fn-eng.c (val_to_base): Make this suck somewhat less.  Still a
      	lot to do.
      
      	* fn-information.c (gnumeric_countblank): Use value_area_get_width
      	and value_area_get_height.
      
      	* fn-string.c (gnumeric_text): Use value_peek_string.
      738b0e77
    • Jukka-Pekka Iivonen's avatar
      Added figures. · 44b472f8
      Jukka-Pekka Iivonen authored
      2001-11-01  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * filter.sgml: Added figures.
      44b472f8
    • Jukka-Pekka Iivonen's avatar
      Added Filter submenu. · c0f1addc
      Jukka-Pekka Iivonen authored
      2001-11-01  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/GNOME_Gnumeric.xml, src/worbook-control-gui.c: Added Filter
              submenu.
      c0f1addc
    • Jukka-Pekka Iivonen's avatar
      Fixed the help button. Pressing help does not kill the dialog any more. · a9921841
      Jukka-Pekka Iivonen authored
      2001-11-01  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * dialog-autosave.c (dialog_autosave): Fixed the help button.
              Pressing help does not kill the dialog any more.
      a9921841
    • Jukka-Pekka Iivonen's avatar
      Added figures. · 57015c72
      Jukka-Pekka Iivonen authored
      2001-11-01  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * autocorrect.sgml: Added figures.
      
              * autosave.sgml: Added a figure.
      57015c72
    • Jody Goldberg's avatar
      fix bone headed indexing scheme. (xbase_close) : release the fmt. · f0d6bd14
      Jody Goldberg authored
      2001-11-01  Jody Goldberg <jgoldberg@home.com>
      
      	* xbase.c (record_get_field) : fix bone headed indexing scheme.
      	(xbase_close) : release the fmt.
      	(xbase_field_new) : renamed to make sense and supply a style for dates.
      
      	* boot.c (xbase_field_as_value) : now that record_get_field is less
      	  bizzare use a sane indexing scheme here to.  Support dates.
      	  Use the field length so that strings don't magicly enclude the
      	  entire record.
      	(xbase_file_open) : use a nice sane indexing scheme here too.
      f0d6bd14
  3. 31 Oct, 2001 13 commits
  4. 30 Oct, 2001 10 commits
    • Morten Welinder's avatar
      Bah. · cc6dbe8a
      Morten Welinder authored
      cc6dbe8a
    • Morten Welinder's avatar
      Plug leak. (BC_R): Ditto. · d5853ee9
      Morten Welinder authored
      2001-10-30  Morten Welinder  <terra@diku.dk>
      
      	* ms-chart.c (BC_R): Plug leak.
      	(BC_R): Ditto.
      d5853ee9
    • Andreas J. Guelzow's avatar
      new routine testing whether a range is contained in another, similar to · 44a5ba1b
      Andreas J. Guelzow authored
      2001-10-30  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/ranges.c/h (global_range_contained) : new routine testing whether
      	  a range is contained in another, similar to range_contained.
      
      2001-10-30  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-solver.c : rewritten as a semi-modal guru using the expr-entry
      	  widget
      	* solver.glade : redesign dialog as semi-modal guru
      44a5ba1b
    • Andreas J. Guelzow's avatar
      *** empty log message *** · 570010d9
      Andreas J. Guelzow authored
      570010d9
    • Morten Welinder's avatar
      #include <config.h> Ditto. · 7422e006
      Morten Welinder authored
      2001-10-30  Morten Welinder  <terra@diku.dk>
      
      	* src/validation.c: #include <config.h>
      	* src/style-condition.c: Ditto.
      7422e006
    • Jukka-Pekka Iivonen's avatar
      Documented `Advanced Filter'. · 0d4f0e22
      Jukka-Pekka Iivonen authored
      2001-10-30  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * filter.sgml: Documented `Advanced Filter'.
      0d4f0e22
    • Jody Goldberg's avatar
      update · 94f7194c
      Jody Goldberg authored
      94f7194c
    • Jody Goldberg's avatar
      trivial optimization to speed col/row ins/del. · 1b6b04e7
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (colrow_move) : trivial optimization to speed col/row
      	  ins/del.
      
      	* src/sheet-style.c (rstyle_ctor) : store the sheet to look up partial
      	  styles and use sheet_style_find for complete styles.
      	(sheet_style_set_range) : signature change to rstyle_ctor.
      	(sheet_style_set_pos) : ditto.
      	(sheet_style_apply_range) : ditto.
      	(sheet_style_find) : new.
      	(sheet_style_shutdown) : unref the styles in the sheet hash.
      	(cb_accumulate_count) : new.
      	(cb_find_max) : new.
      	(sheet_style_most_common_in_row) : new utility for use in the XL
      	  exporter.
      1b6b04e7
    • Jody Goldberg's avatar
      new function. (ms_excel_read_dv) : new function. (ms_excel_read_sheet) : · fb332326
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_dval) : new function.
      	(ms_excel_read_dv) : new function.
      	(ms_excel_read_sheet) : call them here and remove warning.
      fb332326
    • Jody Goldberg's avatar
      re-enable compression. · e33c6346
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (gnumeric_xml_write_workbook) : re-enable compression.
      e33c6346