1. 08 Jul, 2002 1 commit
    • Jukka Pekka's avatar
      Minor clean up. · aa4bea61
      Jukka Pekka authored
      2002-07-08  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
      	* numtheory.c: Minor clean up.
      aa4bea61
  2. 17 Jun, 2002 2 commits
  3. 11 Apr, 2002 1 commit
  4. 08 Mar, 2002 2 commits
  5. 23 Feb, 2002 1 commit
    • Kevin Breit's avatar
      Added a whole bunch of files. I seem to be only missing one more function · 74e7f29c
      Kevin Breit authored
      2002-02-23  Kevin Breit  <mrproper@ximian.com>
      
      	* C/number_theory/*.xml: Added a whole bunch of files.  I seem to be only missing one more function to write about.  Almost done, so the fun can start!
      
      	* numtheory.c: Changed @SEEALSO=BITRSHIFT to BITLSHIFT as it was linking to itself and it probably wanted to go to BITLSHIFT
      74e7f29c
  6. 21 Feb, 2002 1 commit
  7. 01 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      Use utf8 · f781be02
      Jody Goldberg authored
      2002-02-01  Jody Goldberg <jody@gnome.org>
      
      	* numtheory.c (gnumeric_phi) : Use utf8
      f781be02
  8. 21 Dec, 2001 1 commit
  9. 04 Jun, 2001 1 commit
  10. 22 May, 2001 1 commit
  11. 21 May, 2001 1 commit
  12. 09 May, 2001 1 commit
    • Jody Goldberg's avatar
      Round 3 of the great rangesel cursor cleanup · 79f8f44b
      Jody Goldberg authored
      Still some bugs but things are much closer
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_set_internal) : split this out into.
      	* src/sheet-merge.c (sheet_merge_find_container) : here.
      	* src/sheet-control-gui.c (scg_rangesel_changed) : and here.
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_read_selection_info) : Use sheet_set_edit_pos.
      
      	* src/selection.c (sheet_selection_extend) : merge into
      	  scg_cursor_extend.
      
      	* src/sheet-control-gui.c (scg_cursor_move_to) : rename from
      	  scg_cursor_move.
      	(scg_cursor_extend) : merge scg_cursor_extend_[hv]
      	(scg_cursor_move) : merge scg_cursor_move_[hv]
      	(scg_rangesel_extend) : merge scg_rangesel_extend_[hv]
      	(scg_rangesel_move) : merge scg_rangesel_move_[hv]
      	(scg_rangesel_start) : cleanup.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : fix handling
      	  of Home. Simplify the function pointers for move vs extend by
      	  merging horizontal and vertical versions.
      79f8f44b
  13. 24 Feb, 2001 1 commit
    • Chyla Zbigniew's avatar
      Export "file_opener" plugin service (+ "file_saver" for dif and html). Use · 6ba33eed
      Chyla Zbigniew authored
      
      * plugins/applix/applix-read.c,
      plugins/applix/applix.h, plugins/applix/boot.c,
      plugins/applix/plugin.xml,
      plugins/dif/dif.c, /plugins/dif/plugin.xml,
      plugins/html/boot.c, plugins/html/html.c,
      plugins/html/html.h, /plugins/html/latex.c,
      plugins/html/latex.h, plugins/html/plugin.xml,
      plugins/html/roff.c, /plugins/html/roff.h,
      plugins/lotus-123/boot.c, plugins/lotus-123/lotus.c,
      plugins/lotus-123/lotus.h, plugins/lotus-123/plugin.xml,
      plugins/oleo/boot.c, plugins/oleo/oleo.c,
      plugins/oleo/oleo.h, plugins/oleo/plugin.xml,
      plugins/plan-perfect/pln.c, plugins/plan-perfect/plugin.xml,
      plugins/sc/plugin.xml, plugins/sc/sc.c,
      plugins/sylk/plugin.xml, plugins/sylk/sylk.c,
      plugins/xbase/boot.c, plugins/xbase/plugin.xml,
      plugins/xbase/xbase.c, plugins/xbase/xbase.h,
      plugins/xml2/plugin.xml, plugins/xml2/xml2.c:
      Export "file_opener" plugin service (+ "file_saver" for dif and html).
      Use ErrorInfo where needed.
      Use GNUMERIC_MODULE_PLUGIN_INFO_DECL macro instead of
      gnumeric_plugin_version[] declaration.
      
      * plugins/numtheory/numtheory.c, plugins/numtheory/plugin.xml:
      Export "function_group" plugin service.
      
      * plugins/gb/plugin.c, plugins/gb/plugin.xml,
      plugins/gda/plugin-gda.c, plugins/gda/plugin.xml,
      plugins/guile/plugin.c, /plugins/guile/plugin.xml,
      plugins/perl/perl.c, plugins/perl/plugin.xml,
      plugins/python/Makefile.am, plugins/python/plugin.xml,
      plugins/python/python.c:
      Export "general" plugin service.
      Use ErrorInfo where needed.
      (init_plugin, can_deactivate_plugin, cleanup_plugin): Rename and
      signature changes.
      
      * plugins/excel/boot.c (excel_save_95, excel_save_98, excel_save, excel_probe,
      excel_load): Signature changes.
      
      * plugins/excel/ms-formula-write.c: Use accessor functions from
      func.h instead of accessing FunctionDefinition struct directly.
      6ba33eed
  14. 25 Jan, 2001 1 commit
    • Chyla Zbigniew's avatar
      Defined gnumeric_plugin_version variable containing Gnumeric version · 37665894
      Chyla Zbigniew authored
      
      
      * plugins/applix/boot.c plugins/dif/dif.c plugins/excel/boot.c
      plugins/gb/plugin.c plugins/gda/plugin-gda.c plugins/guile/plugin.c
      plugins/html/boot.c plugins/html/boot.h plugins/html/html.c
      plugins/html/html.h plugins/html/latex.c plugins/html/latex.h
      plugins/html/roff.c plugins/html/roff.h plugins/lotus-123/boot.c
      plugins/numtheory/numtheory.c plugins/oleo/boot.c
      plugins/plan-perfect/pln.c plugins/python/python.c plugins/sc/sc.c
      plugins/sylk/sylk.c plugins/xbase/boot.c plugins/xml2/xml2.c:
      Defined gnumeric_plugin_version variable containing Gnumeric version
      string for every plugin.
      Added user_data parameter to "probe", "open" and "save" functions.
      Changed PluginData to PluginInfo.
      Modified can_deactivate_plugin, cleanup_plugin and init_plugin
      functions to match new prototypes in plugin.h.
      Storing registered opener_id/saver_id in variables and using them
      while unregistering.
      
      * plugins/applix/Makefile.am plugins/dif/Makefile.am
      plugins/gda/Makefile.am plugins/html/Makefile.am
      plugins/lotus-123/Makefile.am plugins/numtheory/Makefile.am
      plugins/oleo/Makefile.am plugins/plan-perfect/Makefile.am
      plugins/sc/Makefile.am plugins/sylk/Makefile.am
      plugins/xbase/Makefile.am plugins/xml2/Makefile.am:
      Installing every plugin in separate directory, together with plugin
      descriptions (plugin.xml files).
      
      * plugins/applix/plugin.xml, plugins/dif/plugin.xml,
      plugins/gda/plugin.xml, plugins/html/plugin.xml,
      plugins/lotus-123/plugin.xml, plugins/numtheory/plugin.xml,
      plugins/oleo/plugin.xml, plugins/plan-perfect/plugin.xml,
      plugins/python/plugin.xml, plugins/sc/plugin.xml,
      plugins/sylk/plugin.xml, plugins/xbase/plugin.xml,
      plugins/xml2/plugin.xml:
      New files - plugin descriptions in XML files.
      37665894
  15. 15 Nov, 2000 1 commit
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
  16. 12 Sep, 2000 1 commit
  17. 07 Aug, 2000 1 commit
  18. 03 Aug, 2000 1 commit
    • Morten Welinder's avatar
      Handle large bit counts. Handle negative counts. (func_bitxor): New · 6de925bc
      Morten Welinder authored
      2000-08-03  Morten Welinder  <terra@diku.dk>
      
      	* numtheory.c (func_bitlshift, func_bitrshift): Handle large bit
       	counts.  Handle negative counts.
      	(func_bitxor): New function.
      	(gnumeric_nt_mu): New function from Pablo De Napoli
      	<pdenapo@mate.dm.uba.ar>.
      	(walk_factorization): Return an error code.  All callers changed.
      6de925bc
  19. 06 Jul, 2000 1 commit
  20. 28 Jun, 2000 1 commit
    • Jody Goldberg's avatar
      new function. · 93f11589
      Jody Goldberg authored
      
      2000-06-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-sheet.c (GNUMERIC_VERSION) : new function.
      
      	* src/workbook.c (workbook_do_destroy) : No need to release the
      	  clipboard here.  The Sheet does it for us.
      
      	* src/workbook-format-toolbar.c : Add Fill to the default money
      	  format.
      
      	* src/symbol.c : The only symbols are functions.  The global table
      	  should not be world visible.
      
      	* src/sheet.c (sheet_flag_status_update_cell) : Take a CellPos.
      	(sheet_get_extent_cb) : Use Cell::pos rather than adding an
      	  indirection.
      	(cb_set_cell_content) : Use StyleFormat.
      	(sheet_cell_set_value) : Call sheet_flag_status_update_cell.
      	(sheet_cell_set_value) : Ditto.
      	(sheet_destroy) : Prepare to clear out named expressions.
      	(colrow_move) : Handle changes in cell_relocate signature.
      	(sheet_move_range) : Ditto.
      
      	* src/sheet-autofill.c : Use StyleFormats.
      
      	* src/position.c (parse_pos_init) : Global position are permitted.
      
      	* src/parser.y : Large change.  Do not automaticlly look for function
      	  names or named expressions in the lexer.  The lexer returns STRING
      	  and QUOTED_STRING.  The parser then does the appropriate lookups to
      	  potentially convert to something else.  This allows us to have sheet
      	  names that are the same as functions.
      
      	* src/parse-util.c (cellref_name) : Add flag to optionally disable the
      	  addition of the sheet name.  This is useful when printing
      	  Sheet2!A1:A3 rather than Sheet2!A1:Sheet2!A3.
      
      	* src/number-match.c (format_create_regexp) : Handle fill formats.
      
      	* src/mstyle.c (mstyle_get_border) : Fix constness.
      
      	* src/mathfunc.c (combin, fact) : Moved these here from
      	  functions/fn-math.c
      
      	* src/main.c (gnumeric_main) : No more constants_init, or
      	  global_symbol_init.
      
      	* src/func.c () : Reorg.  Remove some dead code.  Begin adding
      	  workbook local function support, Begin adding volatile, and
      	  semi-volatile functions.  Move the use of SymbolTable internal
      	  in preparation for eliminating it.
      
      	* src/format.c (format_number) : Improve support for pound, yen, and euro.
      	  Remember to produce a number when we hit spacing.
      
      	* src/expr.c : Have ExprFunc refer directly to the FunctionDefinition
      	  We still use a SymbolTable internally, but that will be merged out
      	  later.
      
      	* src/expr-name.c : Major reorg.  Not complete.
      
      	* src/corba-sheet.c (fill_corba_value) : Adjust to changes in
      	  cellref_name signature.
      
      	* src/commands.c (cmd_set_date_time_undo) : No need to manually call
      	  update_cell_flag.  cell_remove, and cell_set_text do that for us.
      	(cmd_set_date_time_redo) : Ditto.
      	  Use StyleFormat.
      
      	* src/clipboard.c (paste_cell) : Take the ExprRewriteInfo as an
      	  argument.
      	(clipboard_paste_region) : Init the ExprRewriteInfo.  We need to do
      	  this here rather than in cell_relocate because we may be moving a
      	  region, not just a single cell, and references within the region
      	  should not be changed.
      
      	* src/cell.c (cell_relocate) : Take the relocation info as an
      	  argument.  Non NULL indicates a request to check bounds.  We can not
      	  do this at the cell level. becuase we may be moving a block rather
      	  than just a single cell, and references into the block should NOT be
      	  rewritten.
      	(cell_set_text_and_value) : Take a StyleFormat.
      	(cell_assign_value) : Ditto.
      	(cell_set_value) : Ditto.
      	(cell_set_expr_internal) : Ditto.
      	(cell_set_expr_unsafe) : Ditto.
      	(cell_set_expr) : Ditto.
      
      	* src/auto-format.c (do_af_suggest) : Expression now refers directly
      	  to functionDef.
      93f11589
  21. 21 May, 2000 1 commit
    • Jody Goldberg's avatar
      Rename the plugins to be more sensible. · 6fcdec54
      Jody Goldberg authored
      There is no need to have the title and the description
      explain that they are plugins.  The user knows that because
      the information is being shown in the plugin manager.
      6fcdec54
  22. 03 May, 2000 2 commits
  23. 27 Apr, 2000 1 commit
    • Morten Welinder's avatar
      Don't access memory that isn't ours to access. Constify. · b9b2b802
      Morten Welinder authored
      2000-04-27  Morten Welinder  <terra@diku.dk>
      
      	* src/plugin.c (plugin_load_plugins_in_dir): Don't access memory
       	that isn't ours to access.  Constify.
      	(plugin_data_last_modified): Constify.
      	(plugin_data_get_title): Constify.
      	(plugin_data_get_descr): Constify.
      	(plugin_data_get_size): Constify.
      	(plugin_data_get_user_data): Constify.
      
      
      2000-04-25  Morten Welinder  <terra@diku.dk>
      
      	* numtheory.c (gnumeric_ithprime): Up limit to 1000000.
      	(ithprime): Rework memory handling; up limit; optimize to not even
       	try even numbers.
      	(function_names): rename "nt_ithprime" back to "ithprime" as no
      	conflict is likely.
      b9b2b802
  24. 25 Apr, 2000 1 commit