1. 24 Sep, 1998 2 commits
    • Miguel de Icaza's avatar
      New: · 169d1191
      Miguel de Icaza authored
      
      
      New:
      
      	- Bold button works properly (ie, it detects what sort of
      	  stuff you have and presses/unpresses accordingly).
      
      	- GNumeric now has operation modes: sheet and object.
      	  Using delete/backspace/edit-cut will let you kill
      	  objects.
      
      	- Lots of the bug fixes reported by Adrian/Federico.
      
      Here is the detailed changelog:
      
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c: Destroy the extra style.
      
      	* src/main.c (main): No need to init colors as they are auto-inited.
      
      	* src/style.c (font_compute_hints): At font creation time store a
      	couple of the font attributes for quick retrieval.
      
      	* src/sheet-view.c (sheet_view_construct): Do not allow this
      	button to have the focus either.
      
      	* src/item-bar.c (item_bar_draw): If the whole sheet is selected,
      	draw all of the columns in pressed presenstation
      
      	* src/sheet.c (sheet_is_all_selected): Return wheter all the sheet
      	is selected.
      
      	* src/utils.c (cell_name): Fixed cell name computation.
      	(parse_cell_name): Fixed parsing of the cell name.
      169d1191
    • Richard Hestilow's avatar
      Fixed hyphen vs hypen typo · c24d3268
      Richard Hestilow authored
      1998-09-23  Richard Hestilow  <hestgray@ionet.net>
      
      	* src/style.c: Fixed hyphen vs hypen typo
      c24d3268
  2. 23 Sep, 1998 10 commits
    • Miguel de Icaza's avatar
      At font creation time store a couple of the font attributes for quick · f7e3b6a2
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.c (font_compute_hints): At font creation time store a
      	couple of the font attributes for quick retrieval.
      
      	* src/sheet-view.c (sheet_view_construct): Do not allow this
      	button to have the focus either.
      
      	* src/item-bar.c (item_bar_draw): If the whole sheet is selected,
      	draw all of the columns in pressed presenstation
      
      	* src/sheet.c (sheet_is_all_selected): Return wheter all the sheet
      	is selected.
      
      	* src/utils.c (cell_name): Fixed cell name computation.
      f7e3b6a2
    • Arturo Espinosa's avatar
      Fix my spelling in this sample file · 4971d45c
      Arturo Espinosa authored
      4971d45c
    • Miguel de Icaza's avatar
      Do not complain if there was no target cell entered. · 9b5b5ac2
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/dialog-goto-cell.c (dialog_goto_cell): Do not complain if
      	there was no target cell entered.
      
      	* src/expr.c (eval_expr): Division of integers results in a
      	float.
      9b5b5ac2
    • Miguel de Icaza's avatar
      Added shortcuts to the File menu. · 8a52fa07
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c: Added shortcuts to the File menu.
      
      	* src/item-cursor.c (item_cursor_autofill_event): Do not allow
      	under-the-base coordinates.
      
      	* src/sheet-autofill.c: Its "january" not "jannuary".
      
      	* src/cell.c (cell_set_text): Enhanced number detection.
      
      	* src/item-cursor.c (item_cursor_drag_event): Handle sheet
      	boundaries.
      
      	* src/gnumeric-sheet.c (move_cursor_vertical,
      	move_cursor_horizontal): Handle sheet boundaries.
      
      	* src/item-grid.c (item_grid_event): Handle sheet boundaries.
      
      	* src/item-bar.c (item_bar_draw): Handle sheet boundaries.
      
      	* src/pixmaps/bold.xpm:  Oops.  Use the bold icon I created
      	yesterday.
      8a52fa07
    • Paolo Molaro's avatar
      Wed, 23 Sep 1998 12:52:20 +0200 Paolo Molaro <lupus@debian.org> · 7a2e17b5
      Paolo Molaro authored
      	* src/format.c: added #include <locale.h>
      
      	* src/pixmaps: added bold.xpm: this is from gwp, maybe
      	we need a better one:-)
      7a2e17b5
    • 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
  3. 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
  4. 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
  5. 20 Sep, 1998 2 commits
  6. 19 Sep, 1998 7 commits
  7. 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
  8. 17 Sep, 1998 5 commits