1. 07 Jul, 2002 6 commits
    • jpekka's avatar
      Updated. · d32a33a1
      jpekka authored
      d32a33a1
    • Jon Kåre Hellan's avatar
      Added function ISOYEAR. · 315ef49c
      Jon Kåre Hellan authored
      * plugins/fn-date/plugin.xml.in: Added function ISOYEAR.
      
      * plugins/fn-date/functions.c (gnumeric_date, datedif_opt_yd, datedif_opt_md,
      gnumeric_year, gnumeric_month, gnumeric_day, gnumeric_weekday,
      gnumeric_days360, gnumeric_eomonth, gnumeric_workday, get_serial_weekday,
       networkdays_holiday_callback, gnumeric_networkdays): Replaced deprecated
      g_date_xxx with g_data_get_xxx.
      (gnumeric_isoweeknum): Cross reference ISOYEAR in docs.
      (gnumeric_isoyear): New function implementing new spreadsheet funtion
      ISOYEAR: The year an ISO 8601 week number refers to.
      
      * plugins/fn-financial/functions.c (annual_year_basis, days_monthly_basis,
       coupnum): Replaced deprecated g_date_xxx with g_data_get_xxx.
      
      * src/datetime.c (date_init, datetime_g_to_serial,
      datetime_g_days_between, datetime_g_months_between, datetime_isoweeknum,
      datetime_weeknum, days_between_BASIS_MSRB_30_360,
      days_between_BASIS_30E_360, days_between_BASIS_30Ep_360,
      days_between_basis, coup_cd): Ditto
      
      * src/sheet-autofill.c (autofill_compute_delta): Ditto.
      315ef49c
    • jpekka's avatar
      Updated. · 69f5aca4
      jpekka authored
      69f5aca4
    • jpekka's avatar
      Updated. · b96e8963
      jpekka authored
      b96e8963
    • jpekka's avatar
      Updated. · 04811f9a
      jpekka authored
      04811f9a
    • jpekka's avatar
      Updated. · 3591445a
      jpekka authored
      3591445a
  2. 06 Jul, 2002 1 commit
  3. 03 Jul, 2002 1 commit
  4. 01 Jul, 2002 1 commit
    • Morten Welinder's avatar
      Fix PERMUT. · 4d4f58b5
      Morten Welinder authored
      2002-07-01  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c (fact): Use table and avoid recursion.
      	(permut): New function.
      	(combin): Improve precision.
      4d4f58b5
  5. 27 Jun, 2002 2 commits
    • Jody Goldberg's avatar
      move frozen panes here. from here. · a27f4f0f
      Jody Goldberg authored
      
      2002-06-27  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-view.c : move frozen panes here.
      	* src/sheet.c : from here.
      
      	* src/sheet-control-gui.c (scg_resize) : freezing in in view now.
      	(scg_scrollbar_config) : ditto.
      	(gnm_canvas_update_inital_top_left) : ditto.
      	(scg_set_left_col) : ditto.
      	(scg_set_top_row) : ditto.
      	(scg_make_cell_visible) : ditto.
      	(scg_set_panes) : ditto.
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : ditto.
      	(cb_view_freeze_panes) : ditto.
      	* src/xml-io.c (xml_read_sheet_layout) : ditto.
      	(xml_write_sheet_layout) : ditto.
      a27f4f0f
    • Jon Kåre Hellan's avatar
      brag · 73839937
      Jon Kåre Hellan authored
      73839937
  6. 25 Jun, 2002 1 commit
  7. 23 Jun, 2002 1 commit
    • Jody Goldberg's avatar
      take a CellPos. (applix_read_cells) : tidy a smidge. (applix_read_impl) : · d1bcb69c
      Jody Goldberg authored
      
      2002-06-21  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c (applix_parse_cellref) : take a CellPos.
      	(applix_read_cells) : tidy a smidge.
      	(applix_read_impl) : start to support named ranges.
      
      2002-06-22  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : enable mem_func
      	  support.
      	(binary_ops) : use range_ctor for RANGE.
      
      2002-06-22  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.h : support constructed ranges.
      	* src/parser.y (parser_sheet_by_name) : ditto.
      	* src/expr-name.c (name_refer_circular) : ditto.
      
      	* src/expr.c (do_gnm_expr_unref) : support range_ctor and reorder to
      	  produce a better jump table.
      	(gnm_expr_equal) : ditto.
      	(do_expr_as_string) : ditto.
      	(gnm_expr_rewrite) : ditto.
      	(ets_hash) : ditto.
      	(ets_equal) : ditto.
      	(expr_tree_sharer_share) : ditto.
      	(expr_eval_real) : ditto and use gnm_expr_extract_ref.
      	(gnm_expr_extract_ref) : new.
      d1bcb69c
  8. 21 Jun, 2002 2 commits
    • Morten Welinder's avatar
      Import also dnbinom.c and dhyper.c · 8c491ccb
      Morten Welinder authored
      2002-06-21  Morten Welinder  <terra@diku.dk>
      
      	* import-R: Import also dnbinom.c and dhyper.c
      
      
      2002-06-21  Morten Welinder  <terra@diku.dk>
      
      	* functions.c (gnumeric_negbinomdist): Use R's distribution
      	function for better precision.
      	(gnumeric_hypgeomdist): Ditto.
      8c491ccb
    • Jody Goldberg's avatar
      do not free the clipboard here. It is too late. · bfa63387
      Jody Goldberg authored
      
      2002-06-21  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_finalize) : do not free the
      	  clipboard here.  It is too late.
      bfa63387
  9. 20 Jun, 2002 1 commit
  10. 19 Jun, 2002 3 commits
    • Jody Goldberg's avatar
      no need to unant, that is a view responsibility. · 753f052a
      Jody Goldberg authored
      
      2002-06-19  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_destroy) : no need to unant, that is a view
      	  responsibility.
      
      	* src/sheet-view.c (sv_weakref_notify) : new.
      	(sv_weak_ref) : new.
      	(sv_weak_unref) : new.
      	(sv_unant) : move here from sheet.
      	(sv_ant) : move here from sheet.
      	(sv_selection_copy): from selection.c
      	(sv_selection_cut) : from selection.c
      
      	* src/sheet-control.c (sc_view) : new.
      
      	* src/sheet-control-gui.c (scg_ant) : the animated cursors are now
      	  stored in the view not the sheet.
      	(context_menu_handler) : sync with the workbook control criteria for
      	  enabling paste special.
      
      	* src/selection.c (sheet_selection_copy) : start the process of
      	  migrating to SheetView and move this there.
      	(sheet_selection_cut) : ditto.
      
      	* src/item-cursor.c (item_cursor_do_action) : pass a SheetView.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : pass a
      	  SheetView.
      
      	* src/corba-sheet.c : untested patch to handle views.
      
      	* src/commands.c (cmd_ins_del_colrow_undo) : use the sheetview.
      	(cmd_ins_del_colrow_redo) : ditto.
      	(cmd_ins_del_colrow_finalize) : remove weakref on the view.
      	(cmd_ins_del_colrow) : add a weak ref to the view.
      
      	* src/application.c (application_init) : we store a view now, not just
      	  a sheet.
      	(application_clipboard_clear) : update all workbooks, not just this
      	  one, and store the view.
      	(application_clipboard_unant) : use the view.
      	(application_set_selected_sheet) : the selection is now view based.
      	(application_clipboard_cut_copy) : take a view and remove the crufy
      	  enable_paste_special flag.  That is handled locally.
      	(application_clipboard_is_empty) : handle SheetView.
      	(application_clipboard_is_cut) : ditto.
      	(application_clipboard_sheet_get) : ditto.
      	(application_clipboard_sheet_view_get) : ditto.
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : Use the
      	  current sheet not some magic sheet.
      
      	* src/sheet.c (sheet_new) : delete enable_paste_special.
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : paste special
      	  is for local copies, use the application data rather than a sheet
      	  local flag.
      753f052a
    • Morten Welinder's avatar
      Update to R 1.5.1. (pexp, pweibull): Use R's version. All callers changed · 5a222f6d
      Morten Welinder authored
      2002-06-19  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c: Update to R 1.5.1.
      	(pexp, pweibull): Use R's version.  All callers
      	changed to match new prototype.
      5a222f6d
    • Jody Goldberg's avatar
      update · 111345d1
      Jody Goldberg authored
      111345d1
  11. 17 Jun, 2002 1 commit
  12. 16 Jun, 2002 1 commit
  13. 15 Jun, 2002 5 commits
    • Andreas J. Guelzow's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=85383 new (el_init) : add signal · dd50e292
      Andreas J. Guelzow authored
      2002-06-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=85383
      	* widget-editable-label.c (cb_el_parent_set) : new
      	(el_init) : add signal connection
      	(editable_label_set_color) : update flags and always store new
      	  colors
      dd50e292
    • Andreas J. Guelzow's avatar
      add pixmaps change call to cmd_reorganize_sheets · 9e494a52
      Andreas J. Guelzow authored
      2002-06-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/application.c : add pixmaps
      	* src/commands.c (cmd_reorganize_sheets_undo) : change call to
      	  cmd_reorganize_sheets
      	(cmd_reorganize_sheets_redo) : ditto
      	(cmd_reorganize_sheets_finalize) : handle lock lists
      	(cmd_reorganize_sheets) : handle lock lists
      	* src/commands.h (cmd_reorganize_sheets) : change arguments
      	* src/workbook-control-gui.c : change calls to cmd_reorganize_sheets
      	* src/workbook.c (workbook_sheet_reorganize) : handle changed locks
      	* src/workbook.h (workbook_sheet_reorganize) : add arguments
      	* src/pixmaps/Makefile.am : add padlock_no.xpm and padlock.xpm
      	* src/pixmaps/padlock_no.xpm : new
      	* src/pixmaps/padlock.xpm : new
      
      2002-06-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-sheet-order.c (cb_toggled_lock) : new
      	(populate_sheet_list) : replace standard icon with toggleable lock item
      	(cb_add_clicked) : handle lock column
      	(cb_ok_clicked) : handle changes in lock status
      	(cb_sheet_order_destroy) : remove pixmaps
      	(dialog_sheet_order) : setup pixmaps
      9e494a52
    • Jody Goldberg's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=84500 remove debug spew. · ea0c4dd5
      Jody Goldberg authored
      
      2002-06-15  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=84500
      	* dialog-goto-cell.c (cb_dialog_goto_go_clicked) : remove debug spew.
      	(cb_dialog_goto_update_sensitivity) : only actiavte if entry is valid.
      	(dialog_goto_init) : editable_enters is too coarse do it ourselves.
      ea0c4dd5
    • Jody Goldberg's avatar
      add comment that we should not do the check if it is during destruction. · a92530e1
      Jody Goldberg authored
      
      2002-06-14  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_sheet_detach) : add comment that we should
      	  not do the check if it is during destruction.
      	(workbook_finalize) : Its too late to destroy the 3d depends here.
      	* src/dependent.c (workbook_deps_destroy) : do it here.
      
      	* src/parser.y (parser_sheet_by_name) : new utility function to
      	  support applix style absolute sheet references.
      	(sheetref) : parser_sheet_by_name.
      a92530e1
    • Jody Goldberg's avatar
      be more expressive and lenient when dealing with parse errors. · ba5b7590
      Jody Goldberg authored
      
      2002-06-14  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c (applix_read_cells) : be more expressive and lenient
      	  when dealing with parse errors.
      	(applix_get_line) : handle the 8bit character encoding.  TODO : add
      	  the 16 bit when we figure out what encoding all of this lives in.
      	(applix_get_sheet) : Flag the need to recompute spans.
      
      2002-06-14  Jody Goldberg <jody@gnome.org>
      
      	* src/parser.y (parser_sheet_by_name) : new utility function to
      	  support applix style absolute sheet references.
      	(sheetref) : parser_sheet_by_name.
      ba5b7590
  14. 14 Jun, 2002 1 commit
  15. 13 Jun, 2002 2 commits
  16. 12 Jun, 2002 2 commits
  17. 08 Jun, 2002 1 commit
    • Jody Goldberg's avatar
      libgsf has landed. · b1973fb4
      Jody Goldberg authored
      2002-06-07  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_open) : convert to libgsf.
      
      	* src/stf.c (stf_open_and_read) : convert to libgsf.
      	(stf_preparse) : ditto.
      	(stf_read_workbook) : ditto.
      	(stf_read_workbook_auto_csvtab) : ditto.
      	(stf_read_default_probe) : ditto.
      
      	* src/stf-parse.c (stf_parse_is_valid_data) : actually disable the
      	  wide char support if it is not available.
      
      	* src/gutils.c (gnm_extension_pointer) : copied from libgnome to
      	  decrease our dependence on it.
      
      	* src/gui-util.c (gnumeric_editable_enters) : modernize a bit.
      
      	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_grab) : suppress
      	  warning.
      
      	* src/file.c (gnum_file_opener_probe_real) : Use libgsf.
      	(gnum_file_opener_open_real) : ditto.
      	(gnum_file_opener_probe) : ditto.
      	(gnum_file_opener_open) : ditto.
      	(gnum_file_saver_save_to_stream_real) : disable, we can move this out
      	  of here when GsfOutput comes online.
      
      	* src/collect.c (string_range_function) : suppress warning.
      
      	* src/cell.c (cell_set_array_formula) : Adjust to the signature change
      	  for gnm_expr_new_array.
      	* src/sheet-autofill.c (autofill_cell) : ditto.
      
      2002-06-07  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : require libgsf.
      
      	* src/xml-io.c (xml_check_version) : move the sanity checking here.
      	(gnumeric_xml_read_workbook) : rather than here.  Support GsfInput.
      	(xml_probe) : and here.
      	(gnumeric_xml_write_workbook_to_stream) : delete.
      
      2002-05-31  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_grab) : actually
      	  return the result.
      b1973fb4
  18. 30 May, 2002 2 commits
  19. 29 May, 2002 3 commits
  20. 27 May, 2002 1 commit
  21. 21 May, 2002 2 commits