1. 23 Sep, 1998 5 commits
    • Miguel de Icaza's avatar
      I got too agressive with the test so no Strings + Numbers were being · d4cf4336
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-autofill.c (string_has_number): I got too agressive
      	with the test so no Strings + Numbers were being autofilled.
      
      	* src/workbook.c (workbook_setup_edit_area): Remove the CAN_FOCUS
      	flags form the accept and cancel buttons.  Bind the buttons.
      	(buttons): Neither Zoom-in and Zoom-out can take the focus.
      	(change_selection_font): New function to change the fonts of a
      	cell range.
      
      	* src/sheet.c (sheet_accept_pending_input): Renamed from
      	sheet_accept_pending_output.
      
      	* samples/: Added a new sample file: hypothetical-sales.
      d4cf4336
    • Miguel de Icaza's avatar
      Accept underscores in identifiers. · 2abd0f81
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y (yylex): Accept underscores in identifiers.
      
      	* src/xml-io.c (readXmlCell): Set the content of the cell even if
      	the file contains NULLS.
      
      	* src/style.c (style_font_new): Better tolerance to missing fonts.
      
      	* src/xml-io.c: Remove geometry setting: it has some bad side
      	effects.
      
      	* src/func.c (constants_init): Add a GNUMERIC_VERSION constant.
      2abd0f81
    • Arturo Espinosa's avatar
      Include samples in distrbution · 06767dfa
      Arturo Espinosa authored
      06767dfa
    • Arturo Espinosa's avatar
      Beginning of a test suite for Gnumeric · b033cbff
      Arturo Espinosa authored
      b033cbff
    • Daniel Veillard's avatar
      Set-up compression of output, Daniel. · 8933a113
      Daniel Veillard authored
      8933a113
  2. 22 Sep, 1998 7 commits
    • Miguel de Icaza's avatar
      Save colors. Save pattern. (readXmlStyle): return the value. Start with an · beff1ee5
      Miguel de Icaza authored
      1998-09-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c (writeXmlStyle): Save colors.  Save pattern.
      	(readXmlStyle): return the value.  Start with an empty style. Load
      	font.
      	(xmlGetColorValue): Use the style color allocation routines.
      	(readXmlCell): Load style. Merge styles if an element is missing.
      	Trim the cell tail content (spaces and newlines at the end).
      	Changed the use of all hash tables to use strings instead of
      	pointers.
      	(readXmlObject); Call sheet_object_realize on the object loaded.
      
      	* src/item-cursor.c (item_cursor_autofill_event): Commted out
      	debugging code.
      
      	* src/sheet-autofill.c (string_has_number): Bug fix: it was
      	assuming every string had a number at the end.
      
      	* src/workbook.c (workbook_new): Handle to destroy signal.  Add
      	Close option to file menu.
      
      	* src/style.c, src/style.h (border_equal): Colors in the
      	BorderStyler are now stored as StyleColors.
      
      	* src/sheet.c (sheet_shift_col): Small buglette fixes: we need to
      	advance our row walker here ;-)
      	(sheet_shift_row): Same error was here.
      beff1ee5
    • Arturo Espinosa's avatar
      oops forgot to add this file · 3659f22d
      Arturo Espinosa authored
      3659f22d
    • Arturo Espinosa's avatar
      Small doc updates -mig · f5b1ccd7
      Arturo Espinosa authored
      f5b1ccd7
    • Arturo Espinosa's avatar
      More beautification of the help output · 03ea0554
      Arturo Espinosa authored
      03ea0554
    • Arturo Espinosa's avatar
      Fixes to get Gnumeric released -mig · 6ce3e762
      Arturo Espinosa authored
      6ce3e762
    • Arturo Espinosa's avatar
      Update the fn-date as well · 36247c4a
      Arturo Espinosa authored
      36247c4a
    • Miguel de Icaza's avatar
      Changed the way we tag the function definitions before its too late. · de44bc98
      Miguel de Icaza authored
      1998-09-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/fn-math.c: Changed the way we tag the function definitions
      	before its too late.
      
      	* src/item-cursor.c (item_cursor_point): Made the thresholds for
      	the cursor a little better.
      
      	* src/dialog-cell-format.c: Small changes to the color
      	configuration code.
      
      	* src/expr.c (do_expr_decode_tree): When decoding a tree, include
      de44bc98
  3. 21 Sep, 1998 2 commits
    • Adrian Likins's avatar
      *src/fn-math.c: first stab at fleshing out the help blurbs here. -adrian · fea6e072
      Adrian Likins authored
      1998-09-21  Adrian Likins <adrian@gimp.org>
      
              *src/fn-math.c: first stab at fleshing out the help
      	        blurbs here.
      -adrian
      fea6e072
    • Miguel de Icaza's avatar
      When decoding a tree, include the argument separator. Also, loop properly · 70717960
      Miguel de Icaza authored
      1998-09-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (do_expr_decode_tree): When decoding a tree, include
      	the argument separator.  Also, loop properly trough the arguments
      	being decoded.
      
      	(function_call_with_values, function_def_call_with_values): New
      	functions: these ones are for the plugins so that a plugin can
      	invoke other functions in Gnumeric.
      
      	* src/fn-date.c (gnumeric_now): The serial number returned by
      	NOW() should be relative to 1900/1/1, not year zero.
      
      1998-09-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (eval_expr): Fix the way we computed expressions.
      
      	* src/eval.c (cell_eval): Maintain a CELL_ERROR flag to know if
      	the value is NULL due to an error or to the cell not being
      	evaluated.
      
      	* src/expr.c (funcion_call_with_values): Add a routine to allow
      	plugins to call other functions defined in Gnumeric.
      
      	* src/style.c: Handle the pattern property of the styles.
      
      	* src/style.h: Pattern style is now just a 4 bit quantity, instead
      	of a RefCounted structure.
      
      	* src/plugin.c: Include gnumeric-util.h
      70717960
  4. 20 Sep, 1998 2 commits
  5. 19 Sep, 1998 7 commits
  6. 18 Sep, 1998 5 commits
    • Tom Dyas's avatar
      Actually make multiple functions work. Support converting Python strings · a8b53eec
      Tom Dyas authored
      into gnumeric string values.
      a8b53eec
    • Tom Dyas's avatar
    • Tom Dyas's avatar
      Update to the new plugin API. · 1cb2421e
      Tom Dyas authored
      1998-09-17  Tom Dyas  <tdyas@vger.rutgers.edu>
      
              * plugins/sample/plugin-sample.c: Update to the new plugin API.
      
              * src/plugin.c (plugin_load,plugin_unload): Replaced g_print's
              with gnumeric_notice. Call new API function "can_unload" to see if
              a plugin is still in use.
      
              * src/plugin.h: New API function "can_unload". Removed refcount.
      1cb2421e
    • Tom Dyas's avatar
      Support for multiple Python-based functions has been installed. From · aca945d0
      Tom Dyas authored
      Python, do something like:
      
      import gnumeric
      
      # Simple function to add two numbers.
      def foobar(a,b):
        return a + b
      
      gnumeric.register_function("adder", "ff", foobar)
      
      Use Makefile.temp to compile the plugin for now until detection of Python
      path is put into configure.in. Python code will be
      loaded from ~/.gnumeric/main.py so stick the above Python code snippet
      in that file to see it run.
      aca945d0
    • Miguel de Icaza's avatar
      If there is a selection of columns or rows, change the sizes of all of the · f8ea4ab6
      Miguel de Icaza authored
      1998-09-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-view.c (sheet_view_row_size_changed,
      	sheet_view_col_size_changed): If there is a selection of columns
      	or rows, change the sizes of all of the columns.
      
      	* src/sheet.c (sheet_row_get_distance, sheet_col_get_distance):
      	optimized to be O(n) instead of O(n^2) using
      	(col_row_distance): new routine to compute distances.
      
      	* src/sheet-view.c (sheet_view_redraw_cell_region): Add the
      	scrolling offset to the x and y positions to draw properly
      
      	* src/xml-io.c (readXmlSheet): Call sheet_set_zoom_factor to
      	initialize the ->pixels field.
      f8ea4ab6
  7. 17 Sep, 1998 5 commits
  8. 16 Sep, 1998 7 commits