1. 23 Sep, 1998 3 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
    • Daniel Veillard's avatar
      Set-up compression of output, Daniel. · 8933a113
      Daniel Veillard authored
      8933a113
  2. 22 Sep, 1998 3 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
      Small doc updates -mig · f5b1ccd7
      Arturo Espinosa authored
      f5b1ccd7
    • 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 1 commit
  5. 19 Sep, 1998 5 commits
  6. 18 Sep, 1998 2 commits
    • 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
    • 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 4 commits
  8. 16 Sep, 1998 4 commits
    • Miguel de Icaza's avatar
      Fix bug. Destroy the ith cursor, nor cursor 0 over and over. · ab910476
      Miguel de Icaza authored
      1998-09-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cursors.c (cursors_shutdown): Fix bug.  Destroy the ith
      	cursor, nor cursor 0 over and over.
      
      	* src/sheet-autofill.c (type_is_compatible,
      	autofill_create_fill_items):  Better type compatible routine.
      	This is required for the list fill type.
      	(autofill_init): startup the autofill code.  It registers a number
      	of default lists (weekdays and months for now).
      
      1998-09-16  Tom Dyas  <tdyas@vger.rutgers.edu>
      ab910476
    • Tom Dyas's avatar
      Changed where the Remove button was made sensitive so that it actually · e3e94c92
      Tom Dyas authored
      1998-09-15  Tom Dyas  <tdyas@vger.rutgers.edu>
      
              * src/plugin-manager.c: Changed where the Remove button was made
              sensitive so that it actually sync's with the list selection.
      e3e94c92
    • Miguel de Icaza's avatar
      Use the new accelerator setup from gnome-app-helper. · e3d90915
      Miguel de Icaza authored
      1998-09-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c: Use the new accelerator setup from
      	gnome-app-helper.
      e3d90915
    • Arturo Espinosa's avatar
      Autofill lists work: · ef0634ee
      Arturo Espinosa authored
      
      
      Autofill lists work:
      
      	Integers, Floats, Formulas and constant strings works.
      
      Todo:
      
      	Lists of known strings and strings with numbers embedded
      
      Miguel.
      ef0634ee
  9. 15 Sep, 1998 1 commit
    • Arturo Espinosa's avatar
      Got cursors working. · ca8fa0ac
      Arturo Espinosa authored
      
      
      Got cursors working.
      
      Use the cursors properly on the spreadhseet (gives good feedback
      on what is going to happen).
      
      More work on autofill.
      
      miguel.
      ca8fa0ac
  10. 14 Sep, 1998 1 commit
    • Arturo Espinosa's avatar
      Color attributes in formats work (ie, you can get colored cells now); · 4ec6073e
      Arturo Espinosa authored
      
      
      Color attributes in formats work (ie, you can get colored cells now);
      
      My first -futile attempts- at getting various different cursors working on the
      spreadsheet (we need a cross and various other cursors for a better emulation
      of Excel).
      
      The beginning of autofill, but I really need to see Excel live before implementing
      this.
      
      Miguel.
      4ec6073e
  11. 11 Sep, 1998 2 commits
  12. 10 Sep, 1998 3 commits
  13. 09 Sep, 1998 1 commit
    • Arturo Espinosa's avatar
      Ok, finally objects are fully editable. · 5837f657
      Arturo Espinosa authored
      
      
      Ok, finally objects are fully editable.
      
      We need support for saving the graphical objects.  It should be
      pretty simple, as things are kept nicely on a list of SheetObjects
      which can be dumped and restored from disk easily.
      
      Miguel.
      5837f657
  14. 08 Sep, 1998 1 commit
  15. 07 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      Color style is now a single color · c15908cc
      Miguel de Icaza authored
      1998-09-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.h: Color style is now a single color
      
      1998-09-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-object.c: New file.  The support for adding graphical
      	objects to the spreadhseet is here.  The main entry point is
      	sheet_set_mode_type which hooks to the signal handlers for object
      	creation.
      
      	Various routines for per-view creation, destruction are provided.
      c15908cc
  16. 05 Sep, 1998 3 commits
    • Miguel de Icaza's avatar
      Add unary '+' · d31d1eaf
      Miguel de Icaza authored
      1998-09-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y: Add unary '+'
      
      	* src/gnumeric-sheet.c: Add keybinding for Control-Enter which
      	fills the selection with the current text.
      
      	* src/sheet.c (sheet_set_text): New function: sets the contents of
      	an arbitrary cell to the text as if it were typed by the user.
      	(sheet_fill_selection_with): Fill the selection with a string.
      d31d1eaf
    • Arturo Espinosa's avatar
      Fix various pending small buglettes -mig · 76e414be
      Arturo Espinosa authored
      76e414be
    • Arturo Espinosa's avatar
      Ok, the new display engine is now in place. · 47d3133f
      Arturo Espinosa authored
      
      
      Ok, the new display engine is now in place.
      
      The design bug with the exposures has now been fixed.
      
      Now, back to more mundane tasks.
      
      Miguel.
      47d3133f
  17. 04 Sep, 1998 1 commit
  18. 03 Sep, 1998 2 commits